Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
junon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
721.
▲
by
junon
2y ago
Definitely not always true. I smoke, I hate it, I've tried to quit several times. The smoke smell has never repulsed me but I find it to smell terrible. Many people I know who smoke are the same. It's a constant reminder that you&
722.
▲
by
junon
2y ago
There's no "prompt". That's not how TTYs work. Make has no idea the program is waiting for any input.
723.
▲
by
junon
2y ago
isatty() is spoofed in e.g. Make via PTYs. It's a light check at best and lies to you at worst.
724.
▲
by
junon
2y ago
It seems to require the cloud to print remotely. I don't want to have to use an SD card or whatever nonsense each time I need to start a print, nor use the tiny slow touch screen to do what I need.
725.
▲
by
junon
2y ago
Good for you. Kind of a non sequitur, though, and gaslight-ey at that.
726.
▲
by
junon
2y ago
If prompt is the default, mistyped scripts will hang rather than exit 1 if they have stdin open. I think that causes more problems than it solves.
727.
▲
by
junon
2y ago
I highly doubt this was the reason. There have been a number of Chinese clones of their peripherals that I think they're trying to lock down. This sucks though. Hopefully some good open firmware exists when this eventually bites me.
728.
▲
by
junon
2y ago
Do you mean 298 KHz? I thought the 6502 on the NES was slightly over 1MHz
729.
▲
by
junon
2y ago
Very cool, thanks for the info :)
730.
▲
by
junon
2y ago
Pretty sure the use of "Einstein" here is symbolic, not literal.
731.
▲
by
junon
2y ago
Very cool. Having done a bit of NES dev I can imagine this wasn't super straightforward to make performant for the graphics, given you can typically only have a few sprites on a row before the NES starts to 'dissolve' them (n
732.
▲
by
junon
2y ago
A 20% reduction of bytes on the wire is not losing. 99.9999999% of the data sent across the network in that Datacenter will never be read by humans directly. Why put it into a textual form?
733.
▲
by
junon
2y ago
I don't know why I feel the urge to point this out but you missed an angle bracket :D
734.
▲
by
junon
2y ago
Makes me wish Cap'n Proto was more prevalent and developer friendly. It ticks quite a few of my boxes.
735.
▲
by
junon
2y ago
Compression is a performance killer for intra-DC communication. You typically avoid it at all costs when doing RPC within the same AZ/DC. Thus, the only thing you can do after that to improve performance is to reduce bytes on the wire.
736.
▲
by
junon
2y ago
What a delightfully arrogant article, to the point I believe it to be satire (stopped reading at section headers, perhaps I missed the punchline). TOML is by far the most stripped down and easy to understand configuration format I've e
737.
▲
by
junon
2y ago
Thanks for the information! > Passing buffers by virtual memory remapping is expensive, so we use memcpy everywhere. Curious if you could expand on this a bit; memcpy still requires that two buffers are mapped in anyway. Do you mean that
738.
▲
by
junon
2y ago
That's very true, though AFAIK they aren't used much in modern processors. It's usually PIPT or VIPT (I think I've seen more references to the latter), VIPT being prevalent because the logical address and the cache can b
739.
▲
by
junon
2y ago
Technically yes, you can do copy-on-write semantics, which marks both the original and "copied" page as read-only, and the first write to either virtual page causes a page fault in the kernel (access violation) prompting a physica
740.
▲
by
junon
2y ago
Same cache-line. CPU caches come after virtual memory translations / TLB lookups. Memory caches work on physical addresses, not linear (virtual) addresses. Memory access -> TLB cache lookup -> PT lookup (if TLB miss) -> L1 cac
741.
▲
by
junon
2y ago
This seems like needless pedantry.
742.
▲
by
junon
2y ago
RISC-V is the new hotness but it has limited usefulness in general purpose osdev at the moment due to slower chips (for now) and the fact not a lot of ready-to-go boards use them. I definitely think that's changing and I plan to target
743.
▲
by
junon
2y ago
Would love to see this with boids simulations :D
744.
▲
by
junon
2y ago
That implies AArch64 support which many hobby OSes don't have, usually because the introductory osdev material is written largely for x86. But yes, raspi is a good platform if you are targeting arm. As I'm also designing an OS, my
745.
▲
by
junon
2y ago
Yes, SPIRV does pretty much exactly this. Not for Python I'd imagine, maybe someone has leveraged the ast package for it though. There's nothing particularly special about graphics programs. It's just that until Vulkan and Me
746.
▲
by
junon
2y ago
That is the case with most of them. Sync just wouldn't have worked.
747.
▲
by
junon
2y ago
That's a poor people tax. Not a deterrent.
748.
▲
by
junon
2y ago
Yes, they do. At least back when I was at ZEIT, docker definitely used iptables directly. I know this because I was patching them as part of our infra that managed Docker at the time.
749.
▲
by
junon
2y ago
Curious, why the non-async requirement?
750.
▲
by
junon
2y ago
Score is based on the interrogator, a human. If you read a Markov chain bot's text you'd guess it was a bot probably 80-100% of the time. With a real human, you'd guess it was a bot maybe 0-30% of the time, depending. I'
More ›