Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dividuum
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
dividuum
2y ago
After recently reading about Fracint somewhere and now seeing this, it very likely confirms that this was the program my dad downloaded from CompuServe and used to render images over night on our 286. Thanks for the link :)
62.
▲
by
dividuum
2y ago
Even if your userspace is pretty fast, some necessary initialization happening before the kernel is even loaded means the you probably never get lower than 6-8 seconds. There is a lengthy EEPROM issue thread about that for the Pi4: https:&
63.
▲
by
dividuum
2y ago
> Although Apple has included a matrix accelerator in its devices since 2019, it used a proprietary instruction set inaccessible to developers, who officially could only use Apple-provided numerical libraries. How does that work? Does th
64.
▲
by
dividuum
2y ago
Right. Out of curiosity I looked into what code gperf generates and it seems it would end up O(1) for misses (it's always three lookups into a generated table) and O(L) for hits, as a potential hit has to be confirmed by essentially a
65.
▲
by
dividuum
2y ago
Seriously: Their reason is basically "argv[0] is bad because security snake oil software is garbage": 1) Oh no, the only protection is looking at argv[0]. What kind of clown software is that? Software that notably runs on an alrea
66.
▲
by
dividuum
2y ago
> Supposedly on the Pi 5, the SoC could be put to sleep while RP1 remains active [..] You mean "echo +60 > /sys/class/rtc/rtc0/wakealarm && halt"?
67.
▲
by
dividuum
2y ago
Sure
68.
▲
by
dividuum
2y ago
Built the same thing, but with a slightly different focus: Have the result as small as possible, so assuming you can trust your browser you can audit the received HTML file prior to entering your password: https://github.com/
69.
▲
by
dividuum
2y ago
It turned on write protection. It was a while ago, so I don’t remember exactly, but things got weird as the OS assumed writes got persisted while in reality they just got completely ignored. Was a fun experiment.
70.
▲
by
dividuum
2y ago
For anyone curious: https://github.com/BertoldVdb/sdtool is a tool to for that. I may or may not have bricked a card while toying around with in on a Pi :)
71.
▲
by
dividuum
2y ago
I don't see how that would work. The memory access causing the page fault still blocks, but now another thread handles paging in the requested data. So without coordination between those two, nothing really changes. Sounds easier to ju
72.
▲
by
dividuum
2y ago
I'm still waiting for a tesa data storage device!
73.
▲
by
dividuum
2y ago
The software decoder is fast enough: See https://forums.raspberrypi.com/viewtopic.php?p=2145762#p2145...
74.
▲
by
dividuum
2y ago
That’s incorrect: Both have hardware support for decoding H265 up to 4K. The difference is H264: the Pi4 still has a hardware decoder (up to FullHD) while the Pi5 doesn’t and will use software decoding as it’s more than fast enough. As it i
75.
▲
by
dividuum
2y ago
There's a 90' style website for longer bike trips between (mostly) German cities: https://radweit.de/ . Each trip is often one A4 page and cuts up the complete track into individual map segments neatly arranged so
76.
▲
by
dividuum
2y ago
> A more advanced system would aim to have trains as close together as cars are on a freeway. https://en.wikipedia.org/wiki/European_Train_Control_System#...
77.
▲
by
dividuum
2y ago
While most users probably don't realize that they contribute to Wifi crowd sourcing, AFAIR using locations services is opt-in on iOS. So "without their consent" doesn't seem true. The info popup also explicitly mentions
78.
▲
by
dividuum
2y ago
> I've thought about switching to Pi4/5 for this. Based on your experience, would you recommend that platform? Their kernel fork is well maintained and if there is a reproducible problem it usually gets fixed quite quickly. Ove
79.
▲
by
dividuum
2y ago
In general DRM/KMS can be quite confusing a there seems little userland documentation available. I assume you get the DMA buffers from the HDMI input somehow? If so, you should be able to use drmModeAddFB2WithModifiers to create a DRM
80.
▲
by
dividuum
2y ago
OP only refers to bytecode. There's nothing wrong with executing Lua when provided to the VM via source code. The only reason to allow the VM to load bytecode directly is 1) a very minor improvement in loading time, as the interpreter
81.
▲
by
dividuum
2y ago
What does that have to do with OctoPrint? Edit: Whoops. I'm stupid. Nevermind.
82.
▲
by
dividuum
2y ago
Not sure that’s needed. Sending SIGSTOP (or using cgroup freeze) and letting the linux memory management do its job should do most of that already.
83.
▲
by
dividuum
2y ago
> Russia does not have landlords. Virtually all apartments available for rent belong to moms and pops who happen to have a surplus so they're renting out. Also known as "being a landlord"? Maybe I'm missing something!
84.
▲
by
dividuum
2y ago
linux-vdso.so.1 isn't a real library you'll find anywhere in the file system and it's not referenced within the ELF file, so libtree doesn't know about it. Instead it is mapped into the address space of a newly started p
85.
▲
by
dividuum
2y ago
I took a look at a bunch of stripe customer ids I have stored and at least mine look very random on first glance. I assume their blog post uses demo keys or something similar.
86.
▲
by
dividuum
2y ago
The GPU uses Mesa and KMS/DRM nowadays. Hardly secret.
87.
▲
by
dividuum
2y ago
I think you can add a metatable to _G with an __index function. This should be called when accessing undefined local variables (as they end up trying to access the global scope _G) and you can thrown an error.
88.
▲
by
dividuum
2y ago
Not sure that’s possible. I’m pretty sure it is not safe to assume „parses in wuffs“ -> „is safe in any other decoder“. I’m using wuffs to check user upload (see my recent response in another thread) but I still generate out linear RGBA
89.
▲
by
dividuum
2y ago
Really surprised this topic didn't come up anywhere. I couldn't find anything in the linked repositories either. I guess there's no self-modifying code due to it being mapped into the address space from a cartridge?
90.
▲
by
dividuum
2y ago
I consider the approach of using virus scanning inherently flawed: They rely on heuristics and rules to essentially create a blacklist. And they add a ton of complexity (more code -> usually more bugs) which is not something you want if
More ›