Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
senkora
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
331.
▲
by
senkora
2y ago
The comma is a decimal point
332.
▲
by
senkora
2y ago
Agreed. A good set of unit tests partitions the input space into parts, and then provides an existence proof that the program is correct for an example chosen from each part. A good formal proof does the same, but provides a universal proof
333.
▲
by
senkora
2y ago
Relevant SMBC: https://www.smbc-comics.com/comic/2011-10-09 TL;DR: Pandas and koalas are the most ethical source of meat.
334.
▲
by
senkora
2y ago
Just to add to this: NYC generates a lot of its electricity from natural gas power plants, which produce both electricity and waste heat. The steam system captures the waste heat and puts it to good use. As a result, the steam system is ext
335.
▲
by
senkora
2y ago
Thank you for the response. I still don’t understand why it would be necessary for C++ to default to non-explicit constructors when C at the time did not have constructors and did not have constructor-like struct initialization that mimicke
336.
▲
by
senkora
2y ago
I don't understand. When does a C89 struct display implicit conversion behavior that would justify making C++ class constructors implicit by-default? For example, the following code does not compile with either -std=c89 or -std=c++98,
337.
▲
by
senkora
2y ago
+1. I'm less familiar with Frisco but its neighbor Plano is similar and has a comprehensive development plan for the next 20 years available online: https://planocompplan.org/DocumentCenter/View/1951/Exec
338.
▲
by
senkora
2y ago
> Haven't been able to successfully run SimCity on modern hardware I’m a bit surprised by this. Have you tried running the DOS version with DOSBox, or the SNES version with an SNES emulator?
339.
▲
by
senkora
2y ago
Agreed. I like to compile most translation units with -O3 and then only compile the translation units that I want to debug with -O0. That way I can often end up with a binary that's reasonably fast but still debuggable for the parts th
340.
▲
by
senkora
2y ago
It seems like this depends on whether you specify -ffast-math when linking or only when compiling: https://stackoverflow.com/a/68938551 My understanding is that if you don't specify -ffast-math when linking then y
341.
▲
by
senkora
2y ago
Wiki: https://en.wikipedia.org/wiki/Progress_Quest
342.
▲
by
senkora
2y ago
One thing that I learned about constellations when playing around with Stellarium: the 88 modern constellations are defined with nice round number coordinates, but in terms of the Earth's position in 1875. Since the Earth has shifted s
343.
▲
by
senkora
2y ago
Be careful with crunches. Depending on the source of your lower back pain, crunches can make the pain worse. You can give them a try, but definitely stop if you don’t see improvement or if it seems to be getting worse.
344.
▲
by
senkora
2y ago
In the novel Ender's Game, the Command School training takes an interesting approach. Ender is able to see the full battlefield (modulo fog of war) because of ubiquitous faster-than-light sensor technology. But he doesn't control
345.
▲
by
senkora
2y ago
Too late. Avoid Asus like the plague.
346.
▲
by
senkora
2y ago
The threadiverse is definitely less popular than mastodon, but I think it has a lot of potential. Here are a few good instances for the curious. You can quickly browse the main pages and see if the content appeals to you: - https:/&#x
347.
▲
by
senkora
2y ago
Oh wow. I'd read that post before but didn't make the connection to this one. Well worth a read as well: https://www.deepsouthventures.com/i-sell-onions-on-the-inter...
348.
▲
by
senkora
2y ago
Well, that's horrifying. Presumably the value is being copied whenever it is converted from a const char * to a std::string? The right thing (TM) would probably be to refactor some of the std::string's into std::string_view's
349.
▲
by
senkora
2y ago
This also tripped me up. I didn't think to try cabbage . I did think to try brassica which is my preferred way of referring to the species.
350.
▲
by
senkora
2y ago
You know, I never considered that almost all plants we eat are angiosperms (flowering plants, monocots + dicots). I immediately went looking for exceptions and found a few: - fiddlehead ferns - pine nuts - juniper berries - gingko nuts - no
351.
▲
by
senkora
2y ago
> To allow for compact filenames of bdists that work with more than one compatibility tag triple, each tag in a filename can instead be a ‘.’-separated, sorted, set of tags. Is his second point about compressed tag sets right? I would
352.
▲
by
senkora
2y ago
I once TA’d an intro to unix class where I had to help a lot of students this way. I would vocalize e.g. “find -name '*png'” as “find space hyphen name space single-quote asterisk png single-quote enter”. I found that saying it ex
353.
▲
by
senkora
2y ago
Well, I left out the part where I voted for progressive candidates in the primaries.
354.
▲
by
senkora
2y ago
+1, great book. Their recommended strategy is to 1) wait until technology improves and we have a better understanding of how to solve the fundamental problems of Mars colonization, then 2) go big and build a large settlement that has the sc
355.
▲
by
senkora
2y ago
I live in NYC, vote reliably for the Democrats, and will certainly consider voting for the Republican if Hochul succeeds in killing congestion pricing.
356.
▲
by
senkora
2y ago
See also WordTex: https://tomwildenhain.com/wordtex/
357.
▲
by
senkora
2y ago
Long time fans seem to think either 2, 4, or 6 is the best. The series has changed a lot over its run and different people like different things. (I personally prefer 4, because I don’t like one-unit-per-tile and because I feel like 4 had t
358.
▲
by
senkora
2y ago
Supposedly construction restarted last month on the Jeddah Tower: https://www.newsweek.com/jeddah-tower-saudi-arabia-construct... I give that one decent odds on being built. Certainly much better than this one in Oklahoma.
359.
▲
by
senkora
2y ago
Arguably, opinion is split: https://news.ycombinator.com/item?id=40481808
360.
▲
by
senkora
2y ago
> The EU General Court’s ruling said in its judgement Wednesday, June 5, 2024, that the U.S. fast food giant failed to prove that it was genuinely using the Big Mac name over a five-year period for chicken sandwiches, poultry products or
More ›