Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nwallin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
116 ms
·
1051.
▲
by
nwallin
8y ago
Yes, it's a way better language than it used to be. * They added smart pointers that actually work. (std::unique_ptr and std::smart_ptr) Invoking delete is considered a code smell in C++11, and new is considered a code smell in C++14.
1052.
▲
by
nwallin
8y ago
Because we exist. Quantum field theory (QFT) does a great job describing the electromagnetic, strong and weak nuclear force, and has done a spectacular job describing reality in ways too numerous to count. But it has two principal failings.
1053.
▲
by
nwallin
8y ago
Have you given Firefox another shot during the past year? I agree that it used to be terrible, (as in bloated and buggy and slow) but the work they've been doing with servo and quantum has really, really paid off. It really is a whole
1054.
▲
by
nwallin
8y ago
Do they have a new version based on lambdas? The syntax of that is painful. I splatter my code with this: // WTFPL class Finally { std::function<void()> f; public: Finally(std::function<void()> f) : f{f
1055.
▲
by
nwallin
8y ago
Hydrogen is soluble in most metals. It will just diffuse right into it, like air flowing through a foam filter. Added bonus: if the metals in question form chemical bonds with hydrogen, (titanium in particular) it will happily do so, even i
1056.
▲
by
nwallin
8y ago
Radioactive decay of long lived elements in the core. There's a square cube relation between surface area and volume. Smaller planets have much more surface area compared to volume than larger planets. So it takes a lot longer for heat
1057.
▲
by
nwallin
8y ago
The other resolution to Fermi's paradox is much simpler and much less interesting. Maybe interstellar travel is as difficult as all our scientists tell us it is. No civilization has colonized the Galaxy because it's simply too dif
1058.
▲
by
nwallin
8y ago
That's a low power laptop cpu, not a workstation cpu.
1059.
▲
by
nwallin
8y ago
A cynic could interpret the first bullet point to mean "a married woman gets $1 million from her husband" and "a married man needs to work overtime in order to come up with the million dollars he needs to give to his wife&quo
1060.
▲
by
nwallin
8y ago
Both. Do not expect a college to teach you how to write good code; they won't. You can write terrible code and still get Cs/Bs. ("Cs get degrees") It's up to you to learn how to write good code. If you want to progr
1061.
▲
by
nwallin
8y ago
> assuming you have some way to change the state of one with out breaking the entanglement, This isn't possible. Not only is it quantum mechanically impossible to change the state of one without breaking the entanglement, it is quan
1062.
▲
by
nwallin
8y ago
Electric heaters are more efficient than traditional air conditioning units. Transferring heat from inside a 80F house to the 110F air outside is not very efficient, only about 30-60%. On the hand, an incandescent light bulb is a ~99% effic
1063.
▲
by
nwallin
8y ago
> Not every workload is memory bandwidth bound like his "make -j16" compile. He actually did `make -j32`, not 16. Which is going to absolutely devastate the cache. `make -j<number of cores x 2>` was a good rule of thumb b
1064.
▲
by
nwallin
8y ago
It's actually 120V/~208V. If you're feeling frisky, you can confirm this by going around between random pairs of outlets in your house and comparing the right slots from two different outlets until you find a pair of them tha
1065.
▲
by
nwallin
8y ago
Terrible pro tip: get in the car, start it, immediately start driving, but floor the accelerator and use the brake to travel at the speed you want. You'll have a warm passenger compartment in 1-2 minutes. It's absolute hell on the
1066.
▲
by
nwallin
8y ago
You're correct when you say that the difference isn't in diesel vs gasoline. But for better or for worse, US regulations (read: California Air Resource Board (CARB) regulations, not federal/EPA regulations) are much more stri
1067.
▲
by
nwallin
8y ago
Organic food IS food which is treated with various chemicals to kill living things. But the list of various chemicals are arbitrarily defined as "natural", putting them in the same list as other safe, natural chemicals like ricin,
1068.
▲
by
nwallin
8y ago
The problem with those algorithms is that they define "work" as "how many multiplications do I have to do?" Addition and memory accesses are defined by the analysis to be free. And you end up doing 4-5 times as many floa
1069.
▲
by
nwallin
9y ago
Community colleges do not offer bachelor's degrees. They only offer associate's degrees, which are a 2 year program, and do not confer the same expected income potential as a bachelor's degree. That's what this article i
1070.
▲
by
nwallin
9y ago
There are plenty of simpler sources of high quality randomness. The important bit is whitening. Virtually all measurements of anything are not as precise as the number of bits used to represent the sample. Virtually any sensor measuring rea
1071.
▲
by
nwallin
9y ago
If you stick $3.6m in a mutual fund and assume 5% returns, (which is extremely conservative) you'll maintain $180k indefinitely. Unless you waste it all on hookers, blow, and Lamborghinis you'll live pretty comfortably for life.