Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grayrest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
511.
▲
by
grayrest
15y ago
Not really. The talk that tweet is about was on the module loading system and was a demo of Dave Herman's experiment of adding a hook to the module system. The traceur compiler transforms js extended with various js.next proposals into (ugl
512.
▲
by
grayrest
16y ago
Working fine in Chrome 12.
513.
▲
by
grayrest
16y ago
My theory is that it depends on when/where you normally work. If you have a tendency to code at night or in dark rooms, dark on light is very bright. At least, that's why I go light on dark.
514.
▲
by
grayrest
16y ago
We use Skype to communicate at work and pretty much curse Skype 5 every time we use it. My personal favorite interface feature is that double clicking someone when you're video chatting between multiple people MINIMIZES that person. I've wa
515.
▲
by
grayrest
16y ago
Main gotcha is listed in the "Garbage Collection" section of the readme: https://github.com/laverdet/node-fibers
516.
▲
by
grayrest
16y ago
The primary reason to use FF is that you like a particular addon, you like FF's expose over Chrome's, or you like how FF does the location bar (which is why I use FF). There's not a ton of differentiation between the two any more.
517.
▲
by
grayrest
16y ago
Readability has a LOT of hand tuned heuristics for figuring out the most likely content of the page, but the primary indicator on whether a tag with text in it is part of an article or not is the number of commas in the tag. It's my favorit
518.
▲
by
grayrest
16y ago
I'm pretty close to mattfoster's master.
519.
▲
by
grayrest
16y ago
If anybody's interested, here's my considerably less extravagant Zsh prompt[1]. It shows the current directory along with what top level directory you're in on the right prompt along with VCS info. The left side shows backgrounded jobs mark
520.
▲
by
grayrest
16y ago
You'd have to bench it, but the only thing I could think of that'd be faster is the standard +num coercion that's also used in the code snippet. Unfortunately, that does generate NaNs. Edit: Double checked the spec (it's quite readable) and
521.
▲
by
grayrest
16y ago
Bitwise operations coerce the value to a int32. If a value cannot be reasonably coerced to an int (e.g. 'foo'), you get zero. It's basically the same as parseInt(x,10) but is generally faster, you don't need to remember the radix, and you d
522.
▲
by
grayrest
16y ago
They all either are or can be strict supersets of CSS3. What separates stylus is that you can write valid, non-superset CSS3 and invoke the appropriate functions/mixins: @import css3 #transparent { opacity: 0.6; }
523.
▲
by
grayrest
16y ago
Not really. The prefixes allow vendors to do experimental stuff without creating (as much) of a backwards compatiblity problem before things standardize. If you don't like it, use a preprocessor: * http://sass-lang.com/ * http://lesscss.
524.
▲
by
grayrest
16y ago
I'd prefer to give them the benefit of the doubt, but this after breaking the web application cache for homescreen items in iOS 4.2 is a disturbing trend.
525.
▲
by
grayrest
16y ago
No, I'm running a NC. The mobile networking component is still part of the image I'm using even though there is no cellular data antenna.
526.
▲
by
grayrest
16y ago
The way I think of it is "is this function call (including arguments) the last item on the line". If the answer is yes, you can drop the parens otherwise you have to keep them. E.g. foo bar baz 2 # is foo(bar(baz(2))) foo b
527.
▲
by
grayrest
16y ago
It's slow. Animations and web page scrolling are ~15fps and controls in many apps take ~200ms to respond. Also, there's a problem with the 3g network component that prevents the nook from sleeping unless it's in airplane mode. A lot of this
528.
▲
by
grayrest
16y ago
A minor style point, but you can drop the parentheses here. They're only needed when you're assigning the result of the comprehension since = has a higher precedence. I go back and forth on whether it's better to remember this or to just pu
529.
▲
by
grayrest
16y ago
The designers in my office are all http://dribbble.com/ fans but they're all web designers and not print. I personally like http://notcot.org/ for designy stuff as well, which hasn't been mentioned in the comments so far.
530.
▲
by
grayrest
16y ago
I prefer coffeescript for the reduced line noise, particularly around lambdas, loops/comprehensions, and object literals. I find the shorter lines and reduced line count* allows me to notice api flaws more easily, so I tend to do my api des
531.
▲
by
grayrest
16y ago
What's he using to pull out the articles? I had a hacky version set up using the Readability algorithm but never bothered to make it public.
532.
▲
by
grayrest
16y ago
If you're going to use a tool to do your spriting, you might as well go all the way and data-uri inline your images. Spriting is a leaky abstraction that only exists today because the recipe for getting them working in old IE is complex eno
533.
▲
by
grayrest
16y ago
It's not a mistake. That's what Tesla Coils were meant to do. Tesla was a great proponent of wireless power transmission and actually believed it would be possible to transmit enough power to move a ship. The reason it doesn't exist current
534.
▲
by
grayrest
16y ago
performance of eval() This will probably not happen, the general consensus is that eval is basically considered harmful and you should use new Fuction(argname, argname, argname, code) to do the same thing. ES5 strict mode places a number
535.
▲
by
grayrest
16y ago
I don't disagree and I'm not trying to argue with the article or anything. I was just hoping to point people interested in the topic towards things that took me a while to realize/run across. As for Io's efficiency, I think that's more abou
536.
▲
by
grayrest
16y ago
A couple points on the metaprogramming space (these aren't about the article, but the article reminded me of them): 1. Macros aren't unique to lisp. They're most developed and used in the lisp family, but you don't need to have a homoiconic
537.
▲
by
grayrest
16y ago
Enyo is NOT a C++ platform. There's a C++ "plugin development kit" that's been out for a couple months now and AFAIK that doesn't change when Enyo gets introduced. I didn't really look, not particularly interested in WebOS C++ development.
538.
▲
by
grayrest
16y ago
The only really interesting part of .net to me is the F# language, which is ocaml for .net with sugary monad support. The language itself was recently open sourced, there's a VS vim plugin written in the language, and there's at least some
539.
▲
by
grayrest
16y ago
The wonderful and terrible thing about front end development is that it's hacks built on hacks. Really pushing what browsers can do requires the acceptance of this and the willingness to put in even more hacks so you can package a relativel
540.
▲
by
grayrest
16y ago
Alas, not in the US. I'd at least like to hold to the reduced standard of practicing software engineering if you're going to call yourself an engineer.
More ›