Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alinajaf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
361.
▲
by
alinajaf
15y ago
> Applying blind is like the shotgun approach because the relationship between you and the candidate company is nonexistent and has no context. I don't know, in my (albeit limited) experience this has worked every time. Once a year in a
362.
▲
by
alinajaf
15y ago
It would be significantly more interesting if they were 6 _qubit_ bytes.
363.
▲
by
alinajaf
15y ago
> 1. Git saves 'entire' snapshots of a directory on each commit. Every time I've tried to explain this to someone who doesn't understand how gits content addressable data-store works, I've been met with disbelief or mockery. These days
364.
▲
by
alinajaf
15y ago
Though I will say that mass assignment is about as rookie a rails mistake as you can make, I won't be leaving github. They've delivered so much value over the past four years for me that I can forgive them this and I'd still have (a little)
365.
▲
by
alinajaf
15y ago
> Is there not a single rails developer who isn't totally full of themselves? Can you give an example? I've only been doing ruby for a while but so far all the ruby developers I've met are hard-working, smart programmers who give a disp
366.
▲
by
alinajaf
15y ago
> I've found it occasionally helpful, but it will in no way fix procrastination -- in fact you can procrastinate (by e.g. reading through top 100 random stories on reddit) In my (ahem) friends experiments with modafinil he reported the
367.
▲
by
alinajaf
15y ago
Someone brought this up last time we talked about this on HN so I thought I would mention it here. Modafinil is technically a _stimulant_, not a cognitive enhancer (like piracetam).
368.
▲
by
alinajaf
15y ago
Hm... so am I! shameless plug: http://japanalicious.com Although it's still a major work in progress.
369.
▲
by
alinajaf
15y ago
If you found this interesting, Hofstadters "Godel, Escher Bach" (and his second, IMHO more readable book "I am a Strange Loop") explore these ideas in great detail
370.
▲
by
alinajaf
15y ago
Just to satisfy my curiosity, have you upgraded to 1.9.3 yet?
371.
▲
by
alinajaf
15y ago
> precisely because running a modern Ruby stack requires so much education Education about what? Can you give some specifics here? I'm genuinely curious as my day-to-day ruby development is pretty smooth and I haven't been doing it very
372.
▲
by
alinajaf
15y ago
OK it's mad funny, but what's so hard about `alias bx 'bundle exec'` in your .(bash|zsh)rc file?
373.
▲
by
alinajaf
15y ago
That particular hack is among my favourite. I think I learned it from Steve Losh. It means that if I'm editing away and I notice some repetitive task I keep running into, I can quickly open up my vimrc, create a mapping and then source it a
374.
▲
by
alinajaf
15y ago
This is identified in K&R C on Page 1 about pointers, though its subtle. I'm paraphrasing, but I believe the explanation is that `int a* = 5;` is a mnemonic, i.e. that dereferencing the pointer a will evaluate to 5. Must have read that
375.
▲
by
alinajaf
15y ago
Paring helps to alleviate this guilt to some degree. By hashing out technical decisions with at least one other reasonably intelligent person and coming to an agreement, you can have just a little bit more confidence than if you were workin
376.
▲
by
alinajaf
15y ago
+1, I'm also none the wiser having read the OP and the comments here. I'm quite used to a fully server side model so I'm currently experimenting with a few side projects to see just how much I can put into the client without going anywhere
377.
▲
by
alinajaf
15y ago
> Also seems motivated by the desire to keep Rails relevant, but without actually trying to evolve Rails towards being more useful for client side driven apps. IME, there isn't a smoother way to implement a bunch of RESTish json endpoi
378.
▲
by
alinajaf
15y ago
Haven't had much experience of brainstorming in a group session, but I find it immensely useful individually. Any time I'm stuck for ideas for blog posts, web-based projects, libraries etc, I timebox 20 minutes and spit as many ideas out in
379.
▲
by
alinajaf
15y ago
RE: javascript injection, it's totally optional and in years of doing rails dev work I've never used it (I presume you're talking about the 'remote' option). Actually, the vast majority of my rails stuff recently has been RESTish (or at lea
380.
▲
by
alinajaf
15y ago
I'm an extremely happy ruby user but have nothing against python, it's just that the languages operate at such a similar level of abstraction that it seems like a bit of a waste to spend time learning python when I could be learning C or Ha
381.
▲
by
alinajaf
15y ago
If you understand gits internal model, it's a content-addressable data store. This happens to lend itself well to version control, but the fact that it's used for version control is somewhat incidental. It would be good if there were some w
382.
▲
by
alinajaf
15y ago
This sounds awesome, thanks for mentioning it here. Mail sent.
383.
▲
by
alinajaf
15y ago
Interesting, did not know about grapheme clusters. More info on unicode.org: http://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries
384.
▲
by
alinajaf
15y ago
Not sure why you're being downvoted, but I tend to agree. I've found that my backbone apps are a lot nicer to deal with when I think of my views as potentially re-usable components. It takes a bit of forethought but you end up with much nic
385.
▲
by
alinajaf
15y ago
The way I've done this in the past is: 1. Initialize views without models, hidden. 2. Make your 'top-level' view bind to a collections 'reset' event that fires once the model is loaded. At that stage you can give instances of the loaded mod
386.
▲
by
alinajaf
15y ago
I don't. I do my thinking in the code because I can edit fast enough to keep up. I test out ideas as they come to me, delete them, refine them in the code itself rather than think up abstractions and then translate them into code in a secon
387.
▲
by
alinajaf
15y ago
Nice! I think I might add that to my .vimrc. The only thing I'd add about macros is that I generally use them for multi-line transformations (i.e. they usually end with `j`). This means you can record your macro and the run `n@q` where n=th
388.
▲
by
alinajaf
15y ago
I need to do more of this. At the moment I'm relying on visual mode way too much (i.e. select what I like, then delete it).
389.
▲
by
alinajaf
15y ago
After around 5 years of using vim, I'm at the point now where everything in this article and comment thread is already in muscle memory. My only advice would be similar to whats in other comments: * Learn to touch-type * Learn new features
390.
▲
by
alinajaf
15y ago
Like HAML before it, coffeescript is more like 'piglatin with shortcuts' to me, i.e. you have to mentally make a transformation on the javascript you were going to write while simultaneously stripping away unnecessary crud. This is somewhat
More ›