Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ahoge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
271.
▲
by
ahoge
13y ago
Yes, a style guide "ruins" diversity. That's the whole point.
272.
▲
by
ahoge
13y ago
> Would you use these crystals in your kitchen if they were called “super delicious umami crystals?” I use those crystals in my kitchen and they are labelled "monosodium glutamate" (Ajinomoto). A pound of that easily lasts me
273.
▲
by
ahoge
13y ago
You only need a tiny dash of MSG. If you got a pound of that stuff, it will last you ages.
274.
▲
by
ahoge
13y ago
> If you think MSG is fine, try eating a tablespoon of it with nothing else. If you think salt is fine, try eating 10 tablespoons of it with nothing else.
275.
▲
by
ahoge
13y ago
> I wonder if Google will ever end up in legal trouble for such a policy. Why would they? On what basis? Also, even Microsoft doesn't want anyone to support old versions of IE. Microsoft wants to sell Windows licenses, remember?
276.
▲
by
ahoge
13y ago
> Sadly, this is the nature of so-called "Open Source" at Google. What's up with those scare quotes? Angular is open source (MIT), not "open source".
277.
▲
by
ahoge
13y ago
> It's being designed as a javascript replacement. Yes, it is. But I'm not sure why you're viewing that as something negative. It addresses the kind of problems everyone encounters when they try to write bigger applicati
278.
▲
by
ahoge
13y ago
> browsers that don't support Dart in the browser (which is all of them except Chrome) All but Dartium. Even Chrome doesn't support it natively yet. > Dart's type system is basically just the Closure JsDoc system use
279.
▲
by
ahoge
13y ago
> Ctrl+Shift+i Try Ctrl+Shift+C. It jumps straight into select/inspect mode. Prior to Firefox 25 this would open Firebug. Now it opens Firefox's dev tools (also select/inspect mode). I rebound Firebug's shortcut to
280.
▲
by
ahoge
13y ago
If it must be one of those 3 options, I'd probably go with TypeScript running in Node. Scala is another option you might want to look into. For scaling, see: http://12factor.net/
281.
▲
by
ahoge
13y ago
> Why mandate how the benchmark is implemented? Otherwise you won't be able to compare the results. For example, the Benchmarks Game [1] specifies how the algorithms in those benchmarks should work. For some of the benchmarks, the
282.
▲
by
ahoge
13y ago
Java 6.0 comes with JSR 223 ("scripting for the Java platform"). It's a framework for hosting scripting engines. 6.0+ is shipped with a JavaScript engine based on Mozilla's Rhino. http://en.wikipedia.org/
283.
▲
by
ahoge
13y ago
> [1999's] slow Java Java 1.2 (1998) used a JIT and a generational collector. It was probably faster than today's Ruby, Python, or PHP. What was slow was start up. Applets in particular were really horrible since they complet
284.
▲
by
ahoge
13y ago
Of course there is some variation. There are always some bigger features which take their sweet time. However, there is always a constant stream of smaller fixes and improvements. Also, if there are ~86 releases per decade, those features a
285.
▲
by
ahoge
13y ago
I know you tried to be funny, but this "150" actually means something very specific. It's +125 of those steps. That's way more meaningful than +7 major releases. Just look at other software. Sometimes it takes 1 year. So
286.
▲
by
ahoge
13y ago
You know that there is a point to it, right? Now there are always 4 versions: fresh nightly builds, dev, beta, and stable. Every ~6 weeks dev becomes beta and beta becomes the new stable version. This way you get a higher degree of parallel
287.
▲
by
ahoge
13y ago
> Then there's Dart, which is kind of their version of CoffeeScript/TypeScript/etc. From my point of view, it's just the next logical step after GWT and Closure. The annotations are baked into the language's sy
288.
▲
by
ahoge
13y ago
Favicion caching is extremely aggressive in Firefox. In the past, visiting the URL of the favicon and pressing Ctrl+F5 was enough. Nowadays, you have clear your cache [1] and then restart your browser. [1] Tools -> Options -> Advanced
289.
▲
by
ahoge
13y ago
I'm only interested in cross platform stuff. Whichever part of the stack it is, it must work on Windows, Mac, and Linux.
290.
▲
by
ahoge
13y ago
> many more That's not the same as several times more. If I remember correctly, it was something along the lines of 500% more. It's a crazy amount of fructose. And there usually is very little fiber (which you'd get with
291.
▲
by
ahoge
13y ago
> Their problem is that they regularly eat thousands of extra calories. Which is so much easier with fructose. It gets in the way of feeling full and it has lots of kcal. Nowadays, we consume several times more fructose than we did 10
292.
▲
by
ahoge
13y ago
> If your intention is to create reusable components [...] This isn't like Bootstrap, mind you. It's a set of building blocks for one particular website. > Also, there's the obvious anti-pattern of using # as the hre
293.
▲
by
ahoge
13y ago
Subtree root node, descendent, modifier, and not CSS. A modifier changes one or several aspects to make it more suitable for a different purpose. You can stick subtrees into the leafs of other substrees. There is no overlap or interweavin
294.
▲
by
ahoge
13y ago
Right, so what's the problem if it looks fine? The only problem is that you used an ID. > "do not reuse" Why not? If someone wants to reuse something, they probably have a good reason. Why would you get in their way? You
295.
▲
by
ahoge
13y ago
> But that's based on your own system, which may be non-obvious to other developers. Yes, conventions are like that. You have to read the docs. > [...] this kind of naming convention isn't a native part of CSS. That'
296.
▲
by
ahoge
13y ago
> The fact that [IDs] cannot be reused in a single page is what makes IDs so useful. This isn't enforced by browsers. They will happily render all elements with the same ID and apply the same styles to all of them. This kind of thi
297.
▲
by
ahoge
13y ago
Preprocessors help with organization. I have one partial for each of my legos, for example. They also allow you to do things like cache busting or sprite sheet generation. Personally, I think it's totally worth it.
298.
▲
by
ahoge
13y ago
> Reuse of what, exactly? Selectors? Properties? Building blocks or legos. You create a library of these and then you just use them. Soon, you reach a point where implementing new features/views doesn't require any new CSS. Yo
299.
▲
by
ahoge
13y ago
Well, that's the definition of a cargo cult. Following some rules without actually knowing why. If you use IDs because some person on the internet said "Use IDs, for the love of God", you're cargo-culting. Thing is, I kn
300.
▲
by
ahoge
13y ago
> Some CSS framework methodologists suggest that using IDs is a bad idea. The reasoning behind this is that IDs carry such a higher specificity [...] No, the primary reason is that IDs prevent reuse. If you want to build a library of r
More ›