Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pubby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
301.
▲
by
pubby
9y ago
I'm a little confused at where you're coming from. Do you program microcontrollers or something? Since when has recursion or the ability to allocate memory been an issue? 30 years ago, maybe? I understand lisp isn't trivial t
302.
▲
by
pubby
9y ago
Men and women have different potential. A woman can put in the same work in the same facility and not reach the level of a man. There's nothing she can do about. People from different climates/backgrounds have different advantages
303.
▲
by
pubby
9y ago
See r-trees, interval trees, and ball trees.
304.
▲
by
pubby
9y ago
>its possible it could end up impacting something and potentially contaminating it with Earth organisms. I dunno about you, but I would be really, really excited if other planets became infested with Earth organisms. I mean, that's
305.
▲
by
pubby
9y ago
Always check for ticks after spending time outdoors in the summer. Here's a tip: if you have body hair, use your hands to check in addition to your eyes. It's easier to feel them than it is to see them.
306.
▲
by
pubby
9y ago
It's only undefined behavior if you use regular variables and regular increments. If you use the standard atomic functions/classes with std::memory_order:relaxed, it's legal, and provides what you want.
307.
▲
by
pubby
9y ago
It's shuffling the order of its 256-byte sprite buffer each frame to implement sprite flicker, which is done because the NES can only render 8 sprites per scanline.
308.
▲
by
pubby
9y ago
A few people claim to have stayed awake for most of their life: https://en.wikipedia.org/wiki/Th%C3%A1i_Ng%E1%BB%8Dc https://en.wikipedia.org/wiki/Al_Herpin I think they're lying, but it'
309.
▲
by
pubby
9y ago
I don't think artists will ever give them up.
310.
▲
by
pubby
9y ago
What modern systems even map memory to 0x0? Doing so breaks the C standard, among other things.
311.
▲
by
pubby
9y ago
Humira doesn't cure diseases; it only treats them. Many drug companies have stopped funding cures because biologics like humira are just too profitable. Why charge a one time fee when you could bill someone for life?
312.
▲
by
pubby
9y ago
Spectre allows one process to extract the memory of another process (assuming certain conditions are met). I would not call that boring.
313.
▲
by
pubby
9y ago
There's an indirect jump instruction. It's not very good though, and has a notorious bug with addresses ending in 0xFF.
314.
▲
by
pubby
9y ago
Perhaps the bees died to some other cause (e.g. a mistake related to the cold), and the owners, fearing bankruptcy, embarrassment, smashed their own hives in a last-ditch effort to save themselves.
315.
▲
by
pubby
9y ago
They require garbage collection.
316.
▲
by
pubby
9y ago
MMIX was such a stupid idea by an otherwise genius person. So much effort and knowledge was put into TAOCP and yet it's wasted on the vast amount of people who aren't interested in learning a fantasy assembly language. I can'
317.
▲
by
pubby
9y ago
It's all 65c816 machine code, which is well documented. You'd run the ROM through a disassembler and use an emulator to find out what everything does. Most (all?) of the disassembly work has already been done though, as SMW is ver
318.
▲
by
pubby
9y ago
I don't see how this is relevant to anything at all. >there's no common pattern among all the ALU ops, for example, and there seems to be plenty of undefined/unused gaps: Presumably there is a pattern and that is why the g
319.
▲
by
pubby
9y ago
>When the values are sorted (modulo empties and wrapping) you don't need to store the probe length. You just maintain the invariant that things are sorted. Maybe I'm missing some detail of your implementation, but mine sure don
320.
▲
by
pubby
9y ago
I was actually working on a blog post about this a few months ago, but never published it because I wasn't happy with it. Here it is, anyway: https://goo.gl/W1KZ2t What I found in testing was that linear probing beat e
321.
▲
by
pubby
9y ago
1) The linearly-probed robin hood variant is just a sorted array. That's it. It's just a sorted array. I haven't seen an article explain it so succinctly though. 2) The linearly-probed robin hood variant is only faster than r
322.
▲
by
pubby
9y ago
Not to disgrace the author (it's a good article), but I've spent a lot of time studying hashtable performance recently and I groan whenever I see benchmarks against libraries like std::unordered_map or libcuckoo. No shit your hash
323.
▲
by
pubby
9y ago
As someone not knowledgeable about hardware, I really enjoyed reading Agner Fog's message board where he and others discuss creating a new open source instruction set: http://agner.org/optimize/blog/read.php?i
324.
▲
by
pubby
10y ago
None of those ideas solve the problem of campaign financing being legalized bribery, the problem of politicians lying and flip-flopping to gain votes, or the problem of wealth, power, and the establishment deciding who can't win by m
325.
▲
by
pubby
10y ago
Sounds a bit like Space Station 13.
326.
▲
by
pubby
10y ago
Ah yes, the Google+ strategy.
327.
▲
by
pubby
10y ago
I'm sure he improved some, but keep in mind that work and practice are not the same thing. You have to be actively trying to improve if you want to improve. See for example all the webcomic artists that have been around for 4+ years ye
328.
▲
by
pubby
10y ago
He's the founder, so I guess it is a marketing post.
329.
▲
by
pubby
10y ago
The installation is the most challenging part but it really just boils down to "Can you follow directions?" Best simple/minimal install: use XFCE without a login manager. This gives you a very nice "default" environ
330.
▲
by
pubby
10y ago
>It should be possible for all of them. It's not, which is why OSS cannot be relied upon for business. What's with this entitlement? It really rubs me the wrong way. Don't look a gift horse in the mouth, etc etc.
More ›