Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
manwe150
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
601.
▲
by
manwe150
7y ago
I agree it’s hard to believe it could be faster. But we expect there must be _some_ cut off where more registers is worse, it’s just a question of where. But more-than-one being usually worse seems surprising to me too. I expect it’s unlike
602.
▲
by
manwe150
7y ago
My mental model comparison says that the cost of those may potentially be about the same, with no clear winner over many benchmarks. I’ve even seen recently a claim that using two registers was measured to be slower than stack memory return
603.
▲
UGlass: An AR module on your glasses
(hackaday.io)
2 points
by
manwe150
7y ago
|
0 comments
604.
▲
by
manwe150
7y ago
Do you own a house? Those come with non-trivial continuing expenses and time investment to maintain (or more expenses to have someone else manage the work.) I assume a mansion would only scale up in expenses from there. Plus taxes go up too
605.
▲
by
manwe150
7y ago
Nope, the bugfix is only $50. The other $49950 is for knowing which line to change. (adapted from old joke from https://allthetropes.fandom.com/wiki/Percussive_Maintenance ) And in practice, it also "buys" you
606.
▲
by
manwe150
7y ago
2014, but I find it interesting the title focuses on the completion percentage. Instead, it seems it could have equally been that graduation at the online class was more than 10 times that of his average semester (also from the article). Ne
607.
▲
by
manwe150
7y ago
I wonder if you could scale it so that the goal behaviors were also a market equilibrium. So no complicated prohibitions for going public, but each additional report (aided easily by going public) would cut into your own earnings some perce
608.
▲
by
manwe150
7y ago
We got approximately the same numbers (your clock speed is likely to be much higher). User/system time is quasi-bogus, since it’s a high core count system (although still a bit concerning). I accounted for possible cache effect by runn
609.
▲
by
manwe150
7y ago
I helped work on getting that number from ~400ms to ~150ms maybe 18 month ago for the v1.0 release. FWIW, a big part of it was shedding a couple excess C libraries with bad load times (usually now lazy loading them when required instead). T
610.
▲
by
manwe150
7y ago
It says something like "without interference, some execution path has proven to be as fast as x". This probably isn't exactly what you wanted to know (e.g. expected time), but is likely to be much faster to compute for some t
611.
▲
by
manwe150
7y ago
Isn’t part of the problem here copyright, so Congress would need to make it legal? I thought that’s what killed the Google Books effort anyways. That said, I thought the Internet Archive is still engaged in an ambitious project to scan many
612.
▲
by
manwe150
7y ago
I don’t think that’s really contradictory though. I’ve lived through many cases of the sprinklers being set off accidentally (frozen pipe burst, rc-helicopter blade impact, and idiots using it as a clothes hook) and “some water” isn’t the p
613.
▲
by
manwe150
7y ago
I was surprised there has been no mention that stores will happily offer to sell you khaki pants in many different colors, including red and blue. Eg: https://m.kohls.com/product/prd-3386796/mens-dockers-signatu...
614.
▲
by
manwe150
7y ago
Isn’t that 5% inflation over 5 years? Seems high as that’s about double the US target, but within reason assuming some confirmation bias (increase price gap and reduce duration) and other market lag.
615.
▲
by
manwe150
7y ago
I was trying to find a year on it and couldn’t, but agree it seems newer. FWIW, it’s not required to be able to run any setup code in the child to do arbitrary setup. For instance, WinNT makes that very hard, but has a larger syscall interf
616.
▲
by
manwe150
7y ago
Mainly only the address space is copied, other resources usually become shared, except threads (which don’t get resumed in the child).
617.
▲
by
manwe150
7y ago
That's probably a tricky question, since CPython is also essentially the spec. PyPy talks a bit about this: http://doc.pypy.org/en/latest/cpython_differences.html#diffe... That's true, since Python has r
618.
▲
by
manwe150
7y ago
Excitingly, we soon may be able to have both (if you can compile your C code with a C++ compiler). Coroutines are in the working draft for the C++20 spec, so they may soon be provided by the runtime (and thus integrate into all of the other
619.
▲
by
manwe150
7y ago
I'll bite, but how do you know it converges to 1/e if no one has figured out why? Your description sounds close to the wikipedia description of the first round of that movie ( https://en.wikipedia.org/wiki/13_T
620.
▲
by
manwe150
7y ago
Not exactly a systems language, but Python has deterministic destruction (due to the use of reference counting) of non-cyclic data structures. Edit: Oh, and if you don’t think that’s enough, note that Rust doesn’t guarantee destruction to e
621.
▲
by
manwe150
7y ago
I think you're trying to imply this is bad, but for a happier angle on it, let's add to the list of things we're using up: time. We have a giant sun that's only going to be here once. Don't waste the finite time tha
622.
▲
by
manwe150
7y ago
Is it though (a good sandbox, I mean)? A modern OS already tries very hard to be a sandbox that can run anything. What does Wasm bring to the table for iOS? I also feel like this is just a weird year for software, because we've got Was
623.
▲
by
manwe150
7y ago
Did you do each of these after a clean reboot, or are we looking at possible caching effects from the kernel? If any part was in cache, then we might be just comparing shared memory against IPC, and that's an obvious performance win, b
624.
▲
by
manwe150
7y ago
That's been true since 2012 ( https://lists.macports.org/pipermail/macports-announce/2012-... )
625.
▲
by
manwe150
8y ago
Probably true, but there is in fact the apropos readdir function, which does have a readdir_r variant to address thread safety issues (now apparently deprecated due to other unrelated design issues). So it seems the joke’s on us. Getting AP
626.
▲
by
manwe150
8y ago
Is it required that “rise” and “fall” be boolean/digital operations? I think it would be more reasonable to characterize them as analog/continuous. That could then lead to infinite variations in rates, even just with a single char
627.
▲
by
manwe150
8y ago
I’ve found that I could wear a bandanna under my helmet to cover my ears (and absorb sweat or keep warm, depending on the season), and significantly reduce the wind noise—specifically so I could listen to audiobooks more comfortably.
628.
▲
by
manwe150
8y ago
The article states that this matter is at “temperatures of around 1 million degrees Celsius”. This seems incredible, if true. Is my expectation of how temperature works in a near-vacuum simply flawed? Google seems to say the average tempera
629.
▲
by
manwe150
8y ago
But the copy only has to move n items, but was constructed with m items, where n < m (and usually n << m). Where n is the max size of the queue and m is the total number of items that will ever be enqueued. On the other hand, an ar
630.
▲
by
manwe150
8y ago
Only if you eagerly shift all elements on every operation. If you allocate extra space, and only shift every N operations (N being the max size of the list), it’s O(n/n), eg O(1) amortized. As mentioned already, you can represent it as
More ›