Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kyllo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
601.
▲
by
kyllo
12y ago
Here's the reason, it's because of how iteration works in Ruby with "everything is an expression" semantics: http://lucumr.pocoo.org/2012/10/18/such-a-little-thing/ In Ruby iteration
602.
▲
by
kyllo
12y ago
To go along with that--methods that have immutable/pure functional semantics, meaning they return a modified copy of the structure, with no side-effects, rather than mutating a shared object.
603.
▲
by
kyllo
12y ago
Everything in that list made me think "make Ruby less like Perl and more like Clojure" until I saw "kill symbols" and did a double-take. Symbols are awesome, they are perfect for map/hash keys. Symbols are from Lisp
604.
▲
by
kyllo
12y ago
Yehuda Katz uses it for production code for skylight.io, he's also a core Rust contributor though.
605.
▲
by
kyllo
12y ago
This isn't the first time I've read about a top employer asking a highly-desired employee why they'd never applied in the past, and receiving as an answer, "oh, I didn't think I'd make it through your intervie
606.
▲
by
kyllo
12y ago
C was supposed to be replaced by C++ a long time ago, but a lot of systems programmers, particularly in open source, have reverted back to vanilla C because C++ is too complicated or provides abstractions that are not needed for the problem
607.
▲
by
kyllo
12y ago
Cycling on roads is extremely dangerous. Every single person I know who commutes by bicycle has been hit by a car at least once. One of my colleagues was killed cycling to work when he was hit by a semi truck. Another woman was recently kil
608.
▲
by
kyllo
12y ago
And it's not as if you need class-based OOP to have modularity, for that you just need modules.
609.
▲
by
kyllo
12y ago
I agree and I also wouldn't call most of what software developers do "engineering" either. There are so many people with "engineer" in their titles who really just develop applications and websites. What ever happen
610.
▲
by
kyllo
12y ago
That's what is called "leadership without (formal) authority." If you are knowledgeable, helpful and approachable, your teammates will naturally gravitate toward you when they are in need of guidance. This sort of organic lea
611.
▲
by
kyllo
12y ago
I've noticed a slight backlash against the IPA style and its overpowering bitterness lately. A lot of craft breweries are now selling lots of other styles, like Pilsners, subtler pale ales, wheat beers, and maltier red and brown ales,
612.
▲
by
kyllo
12y ago
Wine is fundamentally different from liquor, but he's probably referring to fortified wine, which is cheap wine with neutral grain spirits added to it.
613.
▲
by
kyllo
12y ago
Yeah, I wonder why Rust needs to have statements at all--why can't it just have "everything is an expression" semantics? Why aren't declaration statements in Rust just expressions that evaluate to the value being bound t
614.
▲
by
kyllo
12y ago
Agreed that it's a matter of taste. After working with Ruby and Clojure I don't even want statements or void functions to be a thing. I prefer the "everything is an expression" paradigm.
615.
▲
by
kyllo
12y ago
The total number of professional Java developers in the world is estimated at 9-10 million. So if you're a large corp that has a lot of positions to fill you are going to be tempted to hire for Java devs. But unless you're offerin
616.
▲
by
kyllo
12y ago
Thank you for the helpful response. There are a lot of other little things I don't like about Chrome, so once this little issue with Firefox is fixed I want to switch back to it. Good to know that there is a bug filed for it!
617.
▲
by
kyllo
12y ago
For sure. The talent/cost relationship is a curve and you want to find an optimum point somewhere in the middle rather than maximize or minimize on one axis only. Exclusively hiring Java devs at below-market salary, as a lot of Fortu
618.
▲
by
kyllo
12y ago
The only reason I don't use Firefox anymore is because it doesn't automatically pick up changes in my proxy settings, whereas Chrome does. So with Chrome I can have tabs open on my laptop at work, then bring it home and continue t
619.
▲
by
kyllo
12y ago
Rational, yes. Prudent, no. As a corporation, developer salaries is not where you want to be trying to save money in your budget, because having your software produced by low-quality talent is cause you to spend much more money on maintaini
620.
▲
by
kyllo
12y ago
IMHO the hardest part of programming is identifying and fulfilling the ephemeral requests of users who aren't sure what they want until they see the thing they told you to build for them and realize it's not what they had in mind.
621.
▲
by
kyllo
12y ago
Don't be afraid of blowing the interview at Amazon. It's a massive company that's very hungry for developer talent, so if you can code I'm sure you can eventually find some team that will take you. Definitely keep practi
622.
▲
by
kyllo
12y ago
Why do I have to do this in two different languages? "Oh I'll prototype it in python and then switch to Haskell when I want it to be safe." What? This has always sounded a little crazy to me, too. I did recently have a succ
623.
▲
by
kyllo
12y ago
Right, but I don't think this sort of type "conversion" (e.g. some function with type signature like this in Haskell) escapeQueryString :: ByteString -> Query is really adding or throwing away type information, it
624.
▲
by
kyllo
12y ago
Casts don't only throw types away, they can also add type information to otherwise untyped input, such as reading data from a file or an HTTP request payload.
625.
▲
by
kyllo
12y ago
China is huge but US imports are pretty well diversified at this point. Today we import a whole lot from Vietnam, India, Malaysia, etc. It's mainly the consumer electronics sector that would be hit hardest. The lower-tech manufacturing
626.
▲
by
kyllo
12y ago
Lately I have been trying to avoid using weasel words. I'd rather err on the side of painting with too broad a brush than weaken my statements with a bunch of qualifiers that add no meaning. Having said that, I really can't think
627.
▲
by
kyllo
12y ago
I wish I could upvote this more than once. American insecurities about China seem to come from people who don't understand how unenviable China's position is. The country is authoritarian, polluted, crowded, and corrupt. People in
628.
▲
by
kyllo
12y ago
"我有頭痛" sounds very Taiwanese. This usage of 有 is an artifact of Taiwanese / Minnan dialect. The Standard Mandarin (普通话) way to phrase that sentence is just "我头疼" or "我头很疼". Also like you said, 疼 sounds a l
629.
▲
by
kyllo
12y ago
I didn't say that union types are a key concept in abstract algebra, and I'm not a mathematician by any means, although I vaguely understand that a disjoint union is a thing in set theory. What I'm saying is that languages th
630.
▲
by
kyllo
12y ago
I like how there are two ways to say "I have a headache" in Japanese, and they are written with the exact same Chinese characters, but are pronounced completely differently: 頭が痛い (atama ga itai) 頭痛がする (zutsuu ga suru)
More ›