Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laureny
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
laureny
13y ago
The kind of BASIC he was referring to matters little: his point that learning one bad language can forever ruin a developer is absurd.
62.
▲
by
laureny
13y ago
Any language that lets you omit braces for single statements is prone to this bug, which includes C++.
63.
▲
by
laureny
13y ago
> Dijkstra always contended GOTOs were harmful! - The bug here has nothing to do with GOTO. - Dijkstra said a lot of stupid things, this is one of them. Parsimonious use of GOTO is fine and sometimes leads to clearer code (exiting deeply
64.
▲
by
laureny
13y ago
That's a rare problem among developers. The more common problem is that developers make mistakes. All of them. Static analysis, regression tests and turning on all the warnings you possibly can should be mandatory, especially for such
65.
▲
by
laureny
13y ago
> Duck duck is barely usable ... but they don't spy on you. 1. You don't know that. 2. No search engine ever spied on you when they started.
66.
▲
by
laureny
13y ago
> not ask to be notified when it completes This is trivial to add (Guava offers it as ListenableFuture), but either way, it's a library concern, not a language one, so I don't think it makes sense to pit Java and Scala over thi
67.
▲
by
laureny
13y ago
I'd like to see the Scala code too. I've played with both and in the end, both codes are pretty complex, just complex in different ways. It's a complex problem with a lot of edge cases and tricky error cases that need to be h
68.
▲
by
laureny
13y ago
Since the author hints that they migrated to Go templates, this article is more about when you should render templates client side vs/ server side than an opinion against AngularJS.
69.
▲
by
laureny
13y ago
> Or use a better language ;-). E.g. in Scala You might want to watch Paul Phillips' recent talk: http://www.youtube.com/watch?v=4jh94gowim0 You will probably start changing your mind about whether Scala is a "
70.
▲
by
laureny
13y ago
I tried many keys but not that one, I feel stupid :)
71.
▲
by
laureny
13y ago
It would really be neat to support a simple key to flap instead if having to click (especially since soft taps, tapping on the trackpad on Mac instead of actually clicking, does not seem to work).
72.
▲
by
laureny
13y ago
Take a look at the technologies that were used to bootstrap all these startups: - Google: C++ - Microsoft: assembly - Apple: assembly - eBay/PayPal: Java/C++ Like I said, there is simply no room in the early years of a start up to
73.
▲
by
laureny
13y ago
> Look at the greatest companies that have come out of Silicon Valley over the last several decades, Facebook started on PHP and Google on C++. The software innovations that these companies brought to the world didn't happen in the
74.
▲
by
laureny
13y ago
> To enjoy startups you have to love technology. In my experience, if you love technology and tinkering, you should absolutely not work at a startup. In the first years, a startup's main objective is results, results, results. Now
75.
▲
by
laureny
13y ago
Good luck writing a test that makes sure that the CSS animations get properly triggered on select browsers.
76.
▲
by
laureny
13y ago
> but 'separation of concerns' and 'loose coupling' have been central to every design decision I've made. I'm guessing no design decision you've made has ever involved assembly language. Bill Gates obv
77.
▲
by
laureny
13y ago
> This once again makes it clear that Bill Gates, although incredibly smart and successful, was never a visionary. He became successful because he was a visionary. He saw in 1978 that the future was in software, not in hardware (Apple we
78.
▲
by
laureny
13y ago
> static_assert(sizeof(Quote) == 28, "Quote size wrong"); A good reminder that trying to "let the types do the work" in C++ is an oxymoron. If you're so keen on algebraic data types, there are languages much bett
79.
▲
by
laureny
13y ago
> That was predictable, Bitcoin is a huge source of chargebacks and fraud. It's also a potential huge competitor for PayPal.
80.
▲
by
laureny
13y ago
True, they would only get fried if they used electronic components.
81.
▲
by
laureny
13y ago
> It'd be completely impractical, of course, but a whole lot of fun. And at the end of the ride, you want to take a selfie and email it to all your friends but you can't because your phone is fried.
82.
▲
by
laureny
13y ago
It certainly does if your keys are not strings but objects.
83.
▲
by
laureny
13y ago
A todo list that only lives on one machine is a terrible todo list. This is 2014.
84.
▲
by
laureny
13y ago
I'd say the latter is much more likely to be misspelled since you abbreviated it arbitrarily. It's easy to write it prodDB or proddb, or was is productionDb? Using actual English names actually minimizes the risks of mistakes. And
85.
▲
by
laureny
13y ago
It's still pretty bad. A lot of red tape, a steep initial cost and then ongoing taxes left and right which make America's social security look like a waiter tip. The amount of coverage that business owners need to provide for thei
86.
▲
by
laureny
13y ago
> But, I can’t imagine working for somebody else. I wish my wife understood that. She's understood it long enough to let you pursue the dream of your life at great costs for her, maybe now it's time for you to do some sacrifice
87.
▲
by
laureny
13y ago
tl;dr: if you run operations in parallel, they go faster, and if you put this code in a library, you can parallelize stuff in one line of code.
88.
▲
by
laureny
13y ago
> 3. A book about how to make great conversation. There's an app for that: http://refresh.io . Better than a book since it customizes its data to the people you meet.
89.
▲
by
laureny
13y ago
I was at that water fight. I was headed to a party afterwards so I stopped at a liquor store to buy a sixpack. The lady at the counter looked at me very weird, asking me repeatedly if I was okay. I didn't think much of it and just answ
90.
▲
by
laureny
13y ago
More ›