Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grayrest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
481.
▲
by
grayrest
15y ago
As a Vimmer, I'm in the slow process of transitioning. I actually write plugins for the languages I use and the API in Sublime is actually really great. The main thing holding me up from daily use is that the bugs in Vintage make me crazy a
482.
▲
by
grayrest
15y ago
With today's Nightly I'm getting ~20fps on a 3.4 GHz Core i7 iMac but with drops into the 7fps range on some video transitions. Surprisingly, I get roughly the same perf with a current Aurora as well but the drops only go down to ~12fps. Tr
483.
▲
by
grayrest
15y ago
Is F# in the past 5 years? I remembered it as being a bit older.
484.
▲
by
grayrest
15y ago
I thought the answer was going to be state.
485.
▲
by
grayrest
15y ago
Missing: - Text Objects - :help text-object - Not a true motion, but ctrl-i/o are very handy. :help ^i - Remember that % searches forward on the same line to matching bracket so d% at the beginning of a function call deletes the entire call
486.
▲
by
grayrest
15y ago
I don't mean to disparage backbone. It's simple in both design and implementation. I had my own KVO system I was using on a project when you announced backbone and I wrote a 10 line patch to add computed attrs and dropped my system for your
487.
▲
by
grayrest
15y ago
I've been following ClojureScript with mild interest but letting the clojure enthusiasts make the cowpaths. What I haven't seen is how clojurescript significantly improves DOM interaction. I agree that the core problem of client side develo
488.
▲
by
grayrest
15y ago
> Backbone.js is the best client side MVC framework I’ve used, but there are certainly others. Sproutcore is much more powerful. If you haven't checked out 2.0, you really should. I've been following it for years and always thought they
489.
▲
by
grayrest
15y ago
I respectfully disagree. I've been a Vim user for 10 years. I've written half a dozen plugins and customized another 15 or so in addition to writing several syntax/indent files. I decided to take a look at Sublime last week when I noticed t
490.
▲
by
grayrest
15y ago
I first heard of this in Bram Cohen's (bittorrent) PyCon keynote in 2004 (?). He basically started bittorrent the company this way.
491.
▲
by
grayrest
15y ago
Any discussion of Vim that lacks mention of text objects is under serving the editor. Text objects and repeat are by far the best features of the editor.
492.
▲
by
grayrest
15y ago
Here's one that didn't work for a trip I'll be making later this month: http://www.google.com/flights/#search;f=LGA;t=MYR;d=2011-09-... No flights. However: http://www.google.com/flights/#search;f=LGA;t=ATL;d=2011-09-... http://www.goo
493.
▲
by
grayrest
15y ago
I noticed text objects, %, `, ctrl-i/o, and ctrl-r missing from my most common set of edit commands. That's actually pretty good since t/f are implemented and you can fake a lot of text objects with those. Also, the underlying ace undo/redo
494.
▲
by
grayrest
15y ago
Much of your difficulty/effort is due to lack of familiarity. The rule is basically if you see an identifier followed by a space, it's a function call that ends with the line, outdent, or postfix control flow statement. An identifier follow
495.
▲
by
grayrest
15y ago
The random comma in the yui example can be eliminated fairly easily. It being there is due to Coffeescript not being able to support the following call style when I initially wrote the shim. YUI.module = function(o, f) { var n
496.
▲
by
grayrest
15y ago
> Out of interest, how does coffeescript scale, and can it start to get unreadable? It works well enough if your API design fits the language's expectations. This generally means your function calls take arguments in the order: normal a
497.
▲
by
grayrest
15y ago
The optional parens is something I personally go back and forth on. I went through a phase where I always left them off but have been moving back towards using them most of the time. The holdout is for calling things that take functional ar
498.
▲
by
grayrest
15y ago
To me the most convenient thing about it is the auto-declaring variables and proper loops. Whether the sugar is worth it or not comes down to taste. I used Python as my primary language from 2001-2007 before switching to Javascript/Coffeesc
499.
▲
by
grayrest
15y ago
Graphic Design Grids (GDG) are about creating a unified layout with a rigid horizontal and vertical rhythm. The CSS Grid Layout (CSSG), on the other hand, are more about creating a flexible 2d layout. You can make CSSG do the same thing as
500.
▲
by
grayrest
15y ago
The 'fr' unit is "fraction of available space" and comes from the w3c proposal. I believe the second example is incorrect in that the 1fr column should be 7md wide.
501.
▲
by
grayrest
15y ago
It's a simple expression evaluator evaluating a + 2 * b with a = 1 and b = 2. The fun part is that it's all done using only the one recursive Evaluate function with everything else being driven by the type system and pattern matching. The e
502.
▲
by
grayrest
15y ago
> Incentives can be cash, equity, profit sharing, flexible hours, encouragement and recognition, kick-ass equipment, a steady supply of new tech toys to play with, paid time and travel to conferences, etc. Autonomy, autonomy autonomy...
503.
▲
by
grayrest
15y ago
Doesn't really make a difference past your first job. GPA is the same unless you're trying for a government job. The most common thing I'm asked these days is what's on my github account.
504.
▲
by
grayrest
15y ago
GPU acceleration isn't going to make a difference here. Bespin started as Canvas-based and moved to Ace's DOM based rendering because there wasn't a significant performance advantage to keeping it on canvas. Mozilla and the ajax.com guys ha
505.
▲
by
grayrest
15y ago
If you're willing to go through a build step, it's fairly easy to get everything into a single document. Sproutcore does it today with no special configuration. There are tricks to getting large amounts of content to load in a performant ma
506.
▲
by
grayrest
15y ago
There are a LOT of in-browser scheme-like variants.
507.
▲
by
grayrest
15y ago
The js team at mozilla mentioned that they had a jagermonkey version running internally as part of a test for the embedding api updates they're working on.
508.
▲
by
grayrest
15y ago
The killer feature for me is that you can patch the builtin apps. The WebOS OSS community is actually pretty cohesive and have their own market with a subcategory for system patches. You install it like any other app and it runs patch in th
509.
▲
by
grayrest
15y ago
It was but it got dropped in the doc update for 0.4 or thereabouts. I was hoping he'd take it out for a while because it complicates the disambiguation of braceless object literals but it seems most people like it, so meh.
510.
▲
by
grayrest
15y ago
Brendan mentioned that he was wanting to keep # for something else and just adopt the coffeescript -> as the short form. (x) -> x (x) -> (x * x) (x) -> { for(let i = 0; i < x; i++){ consol
More ›