Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
deivid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
deivid
9mo ago
This is really well written, thanks for sharing. I didn't understand the point of using Unikraft though, if you can boot linux in much less than 150ms, with a far less exotic environment
32.
▲
by
deivid
9mo ago
I wanted to add all kind of exercises, but I'm not sure what's a good way of presenting a deployment exercise. On libbcc specifically, I'm not sure it's worth it, CO-RE / BTF is where things are heading, and any rea
33.
▲
by
deivid
9mo ago
Thanks for sharing my site! I've been thinking about building a platform like this for a while, and it was quite fun to build. Let me know if you have questions or ideas for new exercises.
34.
▲
by
deivid
9mo ago
Downsizing from a 27" 5k to a 24" 4k, could not find anything besides a new company called JAPANNEXT (they are French)
35.
▲
by
deivid
9mo ago
It's an interesting idea. I'm butchering TCC (tiny c compiler) for a side project/experiment, and using arenas sped it up 2x. This of course requires the memory limit to be specified in advance, but for my situation that'
36.
▲
by
deivid
9mo ago
IMO eBPF is best viewed as a mechanism that allows you to load "arbitrary" code in specific kernel paths, while guaranteeing that the kernel won't hang or crash. That's it. Though I said "arbitrary" because the
37.
▲
by
deivid
10mo ago
I'm not sure it'll be a serious project, but the main goal is to use it in CI or dev, where setting up postgres is kind of a pain. I got it to work already by setting up the global context in single-user mode (like postgres --sing
38.
▲
by
deivid
10mo ago
Building postgres server as a library. Some early success, but initdb and in-process restarts are much harder than expected
39.
▲
by
deivid
10mo ago
I've been writing on my blog for 9 years. Still feel the same blockers you do on every new post. For me, the main motivation is that I enjoy reading other people's blogs, and hopefully my posts give someone ekse a similar enjoymen
40.
▲
by
deivid
11mo ago
These screens look amazing, but $1500-2500 is a bit much. Any other screens with this monichrome CRT style?
41.
▲
by
deivid
11mo ago
I've had this project idea in my list for a while, I even implemented thr software side (an option rom for the pci card) but the hardware side is quite difficult to get started. My plan was to get an FPGA with a hard pci core to do thi
42.
▲
by
deivid
1y ago
Well it was released on Linux in 2007, so it's meant Kernel Virtual Machine for at least 18 years See: https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine
43.
▲
by
deivid
1y ago
Really nice post, some months ago I also wrote about linux boot, but a bit more focused on the IO side (what's on disk, how is it loaded), here: https://blog.davidv.dev/posts/booting-x86-64/
44.
▲
by
deivid
1y ago
This is amazing! I am also a little bit obsessed with fast-booting kvm for per-request isolation, and have managed to get Linux to pid1 in 3.6ms, I am starting to go a little insane because I don't know how to measure the rest of the C
45.
▲
by
deivid
1y ago
C at least has const ptr. In go I've seen pointers mutated 7 levels down the callstack. And of course, the rest of the sphagetti depended on those side effects. C is so limited that you would try to avoid mutation and even complex data
46.
▲
by
deivid
1y ago
you probably should set the serial port speed
47.
▲
by
deivid
1y ago
FDroid owns the keys for any app submitted without reproducible builds. But I believe they would prefer 100% reproducible builds and to own no keys
48.
▲
by
deivid
1y ago
Fdroid need to build the apps themselves to ensure they match the upstream source. They've moved away from owning the keys by recommending reproducible builds, however reproducible builds are hard and many app authors don't do it
49.
▲
by
deivid
1y ago
Have you noticed context issues in the translated values? Just translating literally does not always work. I am building an Android application and facing this issue. I've been thinking about going down the rabbit hole and linking each
50.
▲
by
deivid
1y ago
I want it to work, but I gave up on it as my main device for now. I developed a few apps for Ubuntu Touch, but it's always very far behind Ubuntu. They are about to release 24.04. I will probably continue developing my apps, but it
51.
▲
by
deivid
1y ago
It's been a while, but building this was an interesting experience. At the time, it was pretty far outside my comfort zone and I had a looming deadline (dad's birthday). Writing the software to work "as I intended" turne
52.
▲
Revamping an Old TV as a Gift (2019)
(blog.davidv.dev)
74 points
by
deivid
1y ago
|
33 comments
53.
▲
by
deivid
1y ago
I had this old patchset: https://github.com/DavidVentura/scrcpy/tree/dev Which added vnc support directly onto scrcpy, so I could leave a tablet plugged in to my headless server and access the tablet remotely
54.
▲
by
deivid
1y ago
Mine no longer allows website login without phone 2FA. Considering finding a new bank.
55.
▲
by
deivid
1y ago
Have you tried scrcpy? https://github.com/Genymobile/scrcpy I ran this with a custom fork to expose the device screen as a VNC server for years, no problems
56.
▲
by
deivid
1y ago
From my experience with firecracker, you need to send a signal to the VMM that can be used to indicate the process is "ready" (and the snapshot can be taken). I assume that every runtime must be forked to add such signal right bef
57.
▲
by
deivid
1y ago
Great post. Not sure if 200ms is fast though, you can definitely boot from zero to pid1 in <10ms. I guess it depends on the workload, if you are snapshotting an already-loaded Python program, the time savings are huge, but if it's a
58.
▲
by
deivid
1y ago
The models[0] are open and great, I find them so useful that I ended up making an Android app[1] just to have them available also outside of Firefox. [0]: https://github.com/mozilla/firefox-translations-models/ [1
59.
▲
by
deivid
1y ago
Some years ago I got hit by the retro TV bug and made one for my dad's 50th birthday [0]. It's fairly simple to put a Pi inside a tv and hook it up, but it does feel almost like the real thing [0]: https://blog.davidv.d
60.
▲
by
deivid
1y ago
Great article, I went through something similar with TrainMore in The Netherlands, where they replaced an NFC key fob with a similarly refreshing QR code (but this one rotates every 30 seconds) In my case, I didn't make a native app be
More ›