Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zeekay
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
zeekay
11y ago
(reduce + (map (partial + 2) (range 10))) ...reads great in my opinion. Surprised no one else has brought it up.
2.
▲
by
zeekay
11y ago
Ranges are inclusive, so: sum $ map (+2) [0..9] Nitpick, but it confused me for a second.
3.
▲
by
zeekay
12y ago
At least on OS X, Firefox is as well behaved as you might expect when forcefully triggering an infinite loop on beforeunload.
4.
▲
by
zeekay
12y ago
I've also found the lack of parametric polymorphism a huge pain point. Type safety is constantly sacrificed to allow for code-reuse and nicer APIs, leading to really awful code using type switching at best, inscrutable amounts of refle
5.
▲
by
zeekay
12y ago
Personally I'd prefer .dev for local development ala http://passingcuriosity.com/2013/dnsmasq-dev-osx/ . Let's petition Apple to make this default in OSX. Game, set match.
6.
▲
by
zeekay
12y ago
A better ls! I love the git integration.
7.
▲
by
zeekay
12y ago
I concur. I was in a similar situation at the beginning of the year. Started a new company with a couple friends, and it's rekindled my passion for programming and forced me to grow not only as a developer, but in numerous other areas
8.
▲
by
zeekay
12y ago
Would be extremely appealing if it borrowed more inspiration from Jade than Haml.
9.
▲
by
zeekay
14y ago
Not much different, really. The biggest practical difference is that Python generators implement the iterator protocol which means it's possible to easily iterate over them with for loops, etc.
10.
▲
by
zeekay
14y ago
There is some history of irc channels associated with HN, consider visiting ##hackernews or #startups on irc.freenode.net instead.
11.
▲
by
zeekay
14y ago
I've noticed that, and have been taking advantage of it. Any downside to using `this`, besides potential scoping issues?
12.
▲
by
zeekay
14y ago
Speaking of McIllroy, reminded of this relevant story: http://www.leancrew.com/all-this/2011/12/more-shell-less-egg... .
13.
▲
by
zeekay
15y ago
I found this is an attractive and well thought-out resource for understanding vim motions: http://naleid.com/blog/2010/10/04/vim-movement-shortcuts-wal... .
14.
▲
by
zeekay
15y ago
With a bit more background (on lambda calculus) I think this would make an interesting intro to lambda calculus for Python developers.
15.
▲
by
zeekay
15y ago
I have experienced OSX's "swappiness", having gone as far as disabling dynamic paging in an attempt to avoid it. Upgrading memory was the only real solution. A little bit of research would reveal a lot of other people have run into the same
16.
▲
by
zeekay
15y ago
Using jslint has saved me a lot of time (I lint everything on write in vim using syntastic). Syntax errors can pass silently leading to difficult to find bugs. Using strict mode helps with this as well. I have also started to prefer Chrome
17.
▲
by
zeekay
15y ago
I usually just provide a default argument to get: dispatch.get('two', default_strategy)
18.
▲
by
zeekay
15y ago
Who wants to begin work on CoffeeScript-for-Dart? Possibly call it Arrow or Bolt, although I'd find Dash endlessly amusing.
19.
▲
by
zeekay
15y ago
I'm not about to remove Gentoo from my older servers, but I'm probably never going to install it again. Not having to compile everything is a huge win. The Arch build system is fantastic. It's easier to create/maintain your own packages. Ar
20.
▲
by
zeekay
15y ago
I prefer the crippled lambda. If you need more than a simple expression, you should write another function anyways. The restriction leads towards easier to read/maintain code.
21.
▲
by
zeekay
15y ago
I've found uwsgi is great for multiple site hosting. There are numerous ways to configure uwsgi for this purpose, one of my favorites: http://projects.unbit.it/uwsgi/wiki/VirtualHosting . Newer versions of uwsgi also have a feature called
22.
▲
Using PyPy to speed up MyHDL simulations
(myhdl.org)
6 points
by
zeekay
15y ago
|
0 comments