Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grayrest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
541.
▲
by
grayrest
16y ago
Proper front end engineering PRODUCES measurable, testable, predictable, reproducible and stable solutions. If you're calling yourself an engineer, you should be able to build a full application client side with separation between the busin
542.
▲
by
grayrest
16y ago
Also, when this is used, it's likely to be quite small - the gap between the tail of the '5' and its upper curve is slight. I think it will have a tendency to resemble a '6' at smaller resolutions. Someone realized this. If you look at th
543.
▲
by
grayrest
16y ago
That's widely considered a side effect of the system: http://en.wikipedia.org/wiki/Plurality_voting_system#Effect_...
544.
▲
by
grayrest
16y ago
> Surely there are lots of people and teams out there writing Java in ways that aren't insanely stupid. This is true. I know of a number in Java and a lot more in JVM languages. To be clear, this isn't about my work since I rarely have
545.
▲
by
grayrest
16y ago
> No one is forcing you to use other people's best practices This is only true if you only work on your own code or you call all the technical shots. Part of working with other people is coming into agreement on how things are done. Whe
546.
▲
by
grayrest
16y ago
> What does too much global state mean? Is having singletons in your application inherently wrong, because they introduce global state? I don't think so. I do. If you have an hour, the following talk by Rich Hickey (clojure) covers phil
547.
▲
by
grayrest
16y ago
> Can you name a language beside assembly, c and (in some cases) c++ that executes faster than java, in any significant way in anything but very uncommon circumstances? The VM is great, but the Java community's "best practices" are insa
548.
▲
by
grayrest
16y ago
I know Brendan Eich has mentioned that he would like to bring python-like generators into the language. They're in Mozilla's engine, were in ES4, and they're a ES Harmony strawman. http://wiki.ecmascript.org/doku.php?id=strawman:generators
549.
▲
by
grayrest
16y ago
All the outcry over this I've read is basically a complaint that you can't ship one codec for HTML5 video, which you've never been able to do. That's what the whole argument over the video tag has always been about. The only difference this
550.
▲
by
grayrest
16y ago
The AutoComplete widget is awesome! Check Ryan Grove's 150 slide deck covering its capabilities: http://www.slideshare.net/yaypie/introducing-yui-3-autocompl...
551.
▲
by
grayrest
16y ago
I've always been under the impression that the reason Flash is embedded in Chrome was for security reasons (faster time to patch+auto patch) and not ideology ones. All the outcry over this I've read is basically a complaint that you can't s
552.
▲
by
grayrest
16y ago
If you're coding, you're in the air conditioning when it's 95°F and out in the mornings/evenings. I spent 9 months in Austin starting in February and it's not that bad. I grew up in Atlanta (85-95°F and 80% humidity) and summertime was abou
553.
▲
by
grayrest
16y ago
You only need to know a few basic pure motions, mostly for moving around: h/j/k/l, gg, G, <count>G, 0/^, $, <C-o>/<C-i>, <c-d>/<c-u> The more important motions are %, f/t and the text-objects (:help f
554.
▲
by
grayrest
16y ago
I've switched over to CoffeeScript for all projects where I get to choose. It's an all around better language than js if you tend towards the functional side. Iteration/comprehensions work like they should[1], destructuring simplifies extra
555.
▲
by
grayrest
16y ago
I have a DI as well (with an undervolt/overclock kernel) and while the stutters are quite short, they're definitely there. As an easy example, scrub left/right quickly using the optical joystick on the stock home screen. If you're looking f
556.
▲
by
grayrest
16y ago
Programming for both is hard in different ways. With web programming, you can generally throw together arbitrary designs quickly but once it works, you have the second half of the work ensuring it works everywhere. With device programming,
557.
▲
by
grayrest
16y ago
> YUI, while a bit too verbose for my taste, is very well-designed YUI2 or 3? I hated 2 but I think 3 is the best general purpose JS library out there. It works particularly well in coffeescript.
558.
▲
by
grayrest
16y ago
I consider text objects and the f/t motions to be the core Vim editing motions. I'm always annoyed that vim intros go through teaching the w/e/b motions when you can easily get by with f<space>/t<space>/T<space> and
559.
▲
by
grayrest
16y ago
It's a tradeoff between compatibility with existing JS versus perf/capability enhancements. The ECMAScript committee goes back and forth on this topic. The biggest stride in that direction was strict mode, which is intended to catch most of
560.
▲
by
grayrest
16y ago
They don't mention that they're tracing. I think they're just optimistically optimizing functions in hot loops.
561.
▲
by
grayrest
16y ago
> I remember Mike Pall saying something similar in an LTU thread some time ago. He did and the mozilla guys pointed out how this wasn't the case. The languages are very similar but JS has some weird semantics due to how things are scope
562.
▲
by
grayrest
16y ago
I was mystified at this. I can't imagine a way to measure weight with accelerometer that doesn't involve spinning around in circles or jumping up and down on springs.
563.
▲
by
grayrest
16y ago
Kris Zyp (author, maintainer) has switched to RQL in his newest versions of persevere. https://github.com/kriszyp/rql
564.
▲
by
grayrest
16y ago
http://golang.org/doc/effective_go.html#channels
565.
▲
by
grayrest
16y ago
> Syntax doesn't really matter in terms of performance - what matters is compiler optimizations. Yes and no. Slight semantic differences can close off optimizations. There was a great discussion on LtU that pulled in a lot of JIT develo
566.
▲
by
grayrest
16y ago
From the linked page: > Other Python libraries exist which attempt to do similar things, of course; PyCells and Cellulose are two. However, only the Trellis supports fully circular rules (like the temperature conversion example above),
567.
▲
by
grayrest
16y ago
In Python: http://pycells.pdxcb.net/ As I mentioned in the Python spreadsheet thread (where I'm assuming this was found), this package has worked for everything I've tried to do with it but I do not believe it's maintained. Does anybody k
568.
▲
by
grayrest
16y ago
I did a number of wow theorycrafting spreadsheets (Dorkiest pursuit on Earth!) and found I got more mileage out of the row/column level formulas, named cells, and imports than I did out of the Python integration, which was opposite of what
569.
▲
by
grayrest
16y ago
You don't even need to leave Python: http://pycells.pdxcb.net/ It's worked for the various things I've done with it, but as far as I know it's not maintained.
570.
▲
by
grayrest
16y ago
One of the more unique programming approaches I've come across is the Leo editor, which was written to support literate programming but also functions as an outliner. When you're working with Leo, you work with a tree of text nodes instead
More ›