Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jgh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
211.
▲
by
jgh
9y ago
Other than the verbosity the new versions of C++ are so much nicer to work with than C++03. C++17 is even better, constexpr if simplifying templates, structured bindings (though I wish there was an ignore option), optionals, if the C++ sta
212.
▲
by
jgh
9y ago
Because there is context beyond "simple facts". A "simple fact" doesn't necessarily mean what the person presenting it thinks it means. There are other factors that go into this "simple fact" that may or
213.
▲
by
jgh
9y ago
Maybe? I'll take a look at it!
214.
▲
by
jgh
9y ago
since optional is a thing now and the standards committee isn't afraid of verbosity maybe we can get std::value_or_error ;)
215.
▲
by
jgh
9y ago
No because I almost never use exceptions myself (unless consuming them). The only time I would really use it is if for some reason the constructor could fail, but usually in those cases there are better ways of designing the class. Otherw
216.
▲
by
jgh
9y ago
Thanks for the clarification, good to know.
217.
▲
by
jgh
9y ago
Interesting point, that makes me think they're really tackling two birds with one stone here: "sustainability" and increasing revenue because people will have to buy legos more often.
218.
▲
by
jgh
9y ago
It wasn't even Satoshi who came up with the proof of work mechanism, it's from Hashcash which was invented in the 90s. What he did do though was have the good sense to connect the two concepts!
219.
▲
by
jgh
9y ago
I think gp's definition is still too broad. Consensus is not an inherent property of blockchains, for example. You can make blockchains without any consensus at all, or with some central authority prescribing reality. A blockchain i
220.
▲
by
jgh
9y ago
Thanks for this article. I'm looking at adding payments to a small project I've been making so this is really helpful stuff to think about.
221.
▲
by
jgh
9y ago
There are index funds for pretty much anything you can build an index out of. Hell, there are index funds on an endless downward spiral[1]. Intentionally. [1]: https://finance.yahoo.com/chart/VXX
222.
▲
by
jgh
9y ago
Sure but naked pointers and manually managing allocation and deallocation force you to learn about how memory works in C++! Abstracting that stuff away is great for safety, but maybe less great for learning fundamentals.
223.
▲
by
jgh
9y ago
I really like the idea of google open sourcing stuff but it seems like they always do it in the worst way possible.. Maybe I'm looking at the wrong projects. For example WebRTC is buried in Chromium (so is QUIC iirc) and to build eit
224.
▲
by
jgh
9y ago
I was looking at your pics and was like "I think I went to high school with this guy". Turns out I went to high school with you.
225.
▲
by
jgh
9y ago
So does USD by that measure.
226.
▲
by
jgh
9y ago
Yeah I definitely used unnecessarily harsh language. Lesson learned: read thoroughly before being a jerk ;)
227.
▲
by
jgh
9y ago
Fair enough but it could be that CMake isn't the right tool across the board. It works well for the projects I've used it for. Maybe one day I'll come across a case that makes me hate CMake though who knows ;)
228.
▲
by
jgh
9y ago
It lets you generate makefiles in a less verbose way. Like if you have a lot of files in a project or a bunch of targets Makefiles can get a bit unwieldy by themselves. I've only ever used it for C++, but I don't see why it (or so
229.
▲
by
jgh
9y ago
So I'm going to reply here because I think this is a good one (of the replies I've gotten) to express my thoughts a little bit more clearly: 1) I was wrong about what was going on in that thread. I sort of scanned it at first and
230.
▲
by
jgh
9y ago
CMake is so nice compared to vanilla makefiles. I wonder if it can be used this way with Javascript.
231.
▲
by
jgh
9y ago
Yes I was wrong in that comment. I re-read the twitter thread and apologized for it in a different reply chain to Pieter.
232.
▲
by
jgh
9y ago
After re-reading that thread I can see why you were frustrated with the people arguing over minutiae. So I apologize for that.
233.
▲
by
jgh
9y ago
GC lottery depends on where you were born and countries with a certain amount of immigration do not get to participate in the lottery. India almost certainly is one of those countries that doesn't get to participate. Others are Mexico
234.
▲
by
jgh
9y ago
H1B is an awful visa as far as work visas around the world go.
235.
▲
by
jgh
9y ago
I'm not nearly as successful as you but have similar frustrations with the US immigration system. I'm a co-founder of a company that has employed a couple dozen Americans for a few years now and decided to leave the US when it be
236.
▲
by
jgh
9y ago
I wonder if this thread will turn out the same way threads on abuse/harassment of women on HN tend to. That is, people flag/downvote, doubt the stories, or blame the victims.
237.
▲
by
jgh
9y ago
This seems to be the case with a lot of cryptocurrencies. They spread themselves too thin before they've even begun solving the core problems they need to solve. It would be enough to get a DAG-based distributed ledger/coin runn
238.
▲
by
jgh
9y ago
Blindly brushing aside criticism as "FUD" is not a good investment strategy. There are lots of technical concerns around IOTA and maybe they can overcome them, and maybe they can't. But the cryptocurrency community's re
239.
▲
by
jgh
9y ago
I haven't used Hulu since they phased out the free tier, but I see in the article that Hulu generates $1bn in advertising sales per year. Do you still have to watch ads on the paid tiers?
240.
▲
by
jgh
9y ago
I don't know what it is about Atlassian's branding but it always feels uncomfortably corporate to use any of their software. I'm worried that if I start using Atlassian software I'm going to have to buy inexpensive busi
More ›