Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
f00zz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
f00zz
6y ago
I prefer to pay once for the finished product, as opposed to paying regularly through something like Patreon. Maybe I'm cheap. Also, in the case of literature I'm not paying just the author. Editors and proofreaders make all the d
182.
▲
by
f00zz
6y ago
Eh, artists have bills to pay. I try to buy e-books to support my favorite sci-fi authors, but it feels a bit silly that downloading the epub from libgen is literally less hassle than buying it on Google Play.
183.
▲
by
f00zz
6y ago
> a big can of worms I'm all for nuclear rockets, but it's a bit hard to believe that people will accept a flying nuclear reactor when you remember the controversy over Cassini's comparatively puny RTG.
184.
▲
by
f00zz
6y ago
Good point, thanks. (Though I've just checked gcc's definition of std::clamp and it looks like __glibcxx_assert(!(__hi < __lo)); return (__val < __lo) ? __lo : (__hi < __val) ? __hi : __val; so order of argum
185.
▲
by
f00zz
6y ago
For what it's worth, I once wrote a game that had a configuration file parser written in bison/flex (I actually finished that game).
186.
▲
by
f00zz
6y ago
There was an attempt to control the population of Zika-carrying mosquitoes in Brazil by introducing supposedly sterile GM mosquitoes. The GM mosquitoes ended up breeding [0]. I'm all for killing them all, but it doesn't seem easy.
187.
▲
by
f00zz
6y ago
It gets a bit confusing when the order of arguments is different depending on the library. For instance, with std it's std::clamp(val, min, max), but with Qt it's qBound(min, val, max) (for some reason I think the order of argumen
188.
▲
by
f00zz
6y ago
This sounds a bit hyperbolic when you have Microsoft doing pie-in-the-sky research on topological quantum computing, Google and IBM research teams arguing over quantum supremacy, etc.
189.
▲
by
f00zz
6y ago
> getting out of the planet instead of fixing it https://www.tesla.com/megapack
190.
▲
by
f00zz
6y ago
[edit: retracted]
191.
▲
by
f00zz
6y ago
Thanks!
192.
▲
by
f00zz
6y ago
There's no population bomb. Let's please lay Malthus to rest already. According to some projections, world population will peak sometime in the 2040s and then start to decline.
193.
▲
by
f00zz
6y ago
> 1 or 2 This is already the case in most of the world, including many developing countries.
194.
▲
by
f00zz
6y ago
Commercial scale cell-cultured meat can't arrive soon enough.
195.
▲
by
f00zz
6y ago
If your project uses CMake, you could * add the structopt repository as a git submodule to your project * add something like `add_subdirectory(structopt)` to your top-level CMake script * add structopt to your target_link_libraries and you&
196.
▲
by
f00zz
6y ago
Not really erased, maintainers must have a local copy of the history and can just force push
197.
▲
by
f00zz
6y ago
There was a module that used CUDA to accelerate operations in the Linux kernel a few years ago (but the author knew better than to try to mainline it). I think it was this one: https://github.com/wbsun/kgpu/
198.
▲
by
f00zz
6y ago
People said similar things about Japan before they took the lead in DRAM development back in the 1980s.
199.
▲
by
f00zz
6y ago
Note that places where the local currency is actually collapsing aren't seeing much cryptocurrency adoption. In Argentina people just buy USD. In Zimbabwe people were using equities in the local stock market as hedge against inflation
200.
▲
by
f00zz
6y ago
> go through another bubble I don't know. I remember a few years ago when people on reddit would get excited when some cafe in Bratislava or wherever started accepting bitcoin, or when Steam started accepting bitcoin. Now cryptocurr
201.
▲
by
f00zz
6y ago
I have a detailed report on HackerOne (with some proof-of-concept code), but visibility of the report is set to private. Not sure if it's possible to change it to public, to be honest. Anyway, the issue is fixed in recent firmware vers
202.
▲
by
f00zz
6y ago
> horrid, HORRID code Heh, I once found a "feature" in a kernel driver in my Xperia (with a SoC from the company with a name starting in M) that allowed you to read arbitrary kernel memory from userspace, by passing the appropr
203.
▲
by
f00zz
6y ago
That mindset seems to be pretty common across the developing world, unfortunately.
204.
▲
by
f00zz
6y ago
Wasn't there a US import ban on Toshiba products for a few years back in the 80s, apparently because they sold parts to the Soviet Union?
205.
▲
by
f00zz
6y ago
I'd argue that, at least in Sao Paulo, favelas are the result of overly strict zoning and building codes.
206.
▲
by
f00zz
6y ago
The commit history is surprisingly long. The actual test evolved from return !!(~~i >> 0 & 1) to return !!(~~i & 1); to const n = Math.abs(value); return (n % 2) === 1;
207.
▲
by
f00zz
6y ago
I notice there's an isEven as well. I wonder if they're mutually recursive.
208.
▲
by
f00zz
6y ago
gcc has had those (as a non-standard C extension) for a while. Too bad it never made it into the standard. https://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html#Nes...
209.
▲
by
f00zz
6y ago
Yeah, using lambdas as nested functions is pretty common.
210.
▲
by
f00zz
6y ago
Yeah, just a century ago the reserve currency was the pound sterling, a century before that the franc, a century before that the Dutch guilder. I guess people in those times also expected the status quo to last forever.
More ›