Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wting
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
wting
12y ago
He prefers a tiling windows manager at the application level rather than within tmux. People make a big deal out of tmux's split screens, but my workflow is much more flexible with xmonad and GNU screen (with the caveat that it require
92.
▲
by
wting
12y ago
If I had to overly generalize, programmers tend to fall into the "builder" and "curiosity" camps. I grew up using a Borland C++ compiler that didn't list which line numbers were missing semi-colons. I didn't mi
93.
▲
by
wting
12y ago
It may also be a product of age / experience. If you were involved in the 90's tech industry, it's very hard to forget MS's era of "embrace, extend, and exterminate". I view Apple's closed ecosystems with
94.
▲
by
wting
12y ago
In other words, comments should explain why something was done and now how.
95.
▲
by
wting
12y ago
I worked on Domino--it's a mail server that uses DB2.
96.
▲
by
wting
12y ago
From what point of view? Is it useful for learning about memory? No. Is it useful for learning about OOP or generics? No. Is it useful for learning algorithms (compared to Python / Java)? No. Is it useful for learning about concurrency
97.
▲
What To Know When Debating Type Systems
(cdsmith.wordpress.com)
2 points
by
wting
12y ago
|
1 comments
98.
▲
by
wting
12y ago
In the past Go has had trouble with garbage collection lag due to a global mark and sweep implementation[0]. Was this not an issue with Disqus's new implementation? [0] https://groups.google.com/forum/m/#!msg&
99.
▲
by
wting
12y ago
This is nitpicky, but Python threads are kernel threads. It's the GIL that restricts CPython to a single core. OTOH goroutines are green threads multiplexed onto kernel threads (aka N:M thread model).
100.
▲
by
wting
12y ago
A large reason why the naive, imperative quick sort performs well in practice is that it takes advantage of memory locality but the Haskell one doesn't.
101.
▲
by
wting
12y ago
Haskell is used in the NYTimes special features group that deploys 60+/yr web apps. http://www.infoq.com/presentations/haskell-newsroom-nyt tldw: - RoR shop, too slow and can't afford to scale simply by spinn
102.
▲
by
wting
12y ago
Static typing is a boon when refactoring large codebases, even with >90% test coverage. I'm migrating an in house ORM to SQLAlchemy. Lack of compiler support and/or static code analysis makes the transition more difficult than
103.
▲
by
wting
12y ago
Python is fast enough, until it isn't and then there are no simple alternatives. If your problem is numerical in nature, you can call popular C modules (numpy, etc) or write your own. If your functions and data are pickleable, you can
104.
▲
by
wting
12y ago
My own resume is a forked from this: https://github.com/afriggeri/cv PDF: https://github.com/afriggeri/cv/blob/master/cv.pdf?raw=true
105.
▲
by
wting
12y ago
I've tried switching to tmux a few times but it never stuck because my workflow involves multiple terminals attached to different windows of the same session. However this isn't allowed in tmux without some hackery / wrapper
106.
▲
by
wting
12y ago
You find another job ASAP. Organizational and culture problems will not be fixed by one new employee. What happens is the competent people bail, leaving behind the less talented and/or less motivated which creates a positive feedback c
107.
▲
by
wting
12y ago
I think people are rediscovering the benefits of static typing for performance and correctness reasons. The latest generation of statically typed languages[0] all have some level of type inferencing which helps. If Python is fast enough for
108.
▲
by
wting
12y ago
Disclaimer: I work at Yelp. Yelp started out as finding a referral for doctors, and recently Yelp has added public data to their respective hospital pages: http://officialblog.yelp.com/2013/03/study-yelp-ratings-wo
109.
▲
by
wting
12y ago
There's a lot of parallel conversations on Reddit / HN / etc. for various articles. Would about pulling high rated, top-level conversations from multiple sources for a quick digest? Sort of like Google News for commentary.
110.
▲
by
wting
12y ago
This is a pretty big release that solves a lot of problems associated with cabal hell: - new sandbox implementation! - temporarily ignore upper bound requirements - dependency freezing - parallel builds - no re-linking unless a
111.
▲
Cabal 1.20 Released
(blog.johantibell.com)
6 points
by
wting
12y ago
|
1 comments
112.
▲
by
wting
12y ago
Now you have the bug occur if someone forgets an equal since this is always true: if (llama = false) So use Yoda conditionals instead: if (false == llama) Is that really an improvement over the original? As I've state
113.
▲
by
wting
12y ago
> I think the most readable code has no shortcuts and no tricks. I'll take unambiguous over concise or 'beautiful' any day. Ambiguity and conciseness are orthogonal concepts. Mathematics and formal proofs are very unambigu
114.
▲
by
wting
13y ago
Amazon pays $95k for new grads. SDE3 is around $120k.
115.
▲
by
wting
13y ago
Many languages besides Haskell have option types (Rust, Scala, OCaml, Java 8): http://www.oracle.com/technetwork/articles/java/java8-option... Using option types produces more robust code and prevents null po
116.
▲
by
wting
13y ago
To expand, Go's type system is relatively rudimentary. The lack of option types[0] leads to this fairly common, verbose Go pattern: func DoFoo(Foo foo) Cat { bar, err := GetBar(foo) if (err != nil) { return nil }
117.
▲
by
wting
13y ago
Use `list()` to force eager evaluation with Python 3 map / filter.
118.
▲
by
wting
13y ago
I had a similar project in a programming for performance class at UT Austin. We had access to TACC supercomputers and were tasked with finding the CPU's L1 cache size via trial and error. We were testing it by using matrix multiplicati
119.
▲
by
wting
13y ago
Another thing that gets overlooked is the built-in faucet at the top to rinse off hands such that every tank of water gets used twice: http://demenglog.com/wp-content/uploads/2014/01/toilet-seat-...
120.
▲
by
wting
13y ago
> Does the tank on the B100 always have enough hot water for you? Yup, it was enough for my pregnant wife when she was staying at home.
More ›