Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xerxes901
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
xerxes901
6mo ago
I plugged my iPhone 16 into my usb-C docking station the other day to charge it and was pretty surprised to discover it just started mirroring my phone screen. Keyboard worked too!
2.
▲
by
xerxes901
8mo ago
Put a script in /etc/systemd/system-generators/ that does something like if grep "logging = syslog" /etc/stupid-service/stupid-service.conf >/dev/null; then printf "[Uni
3.
▲
by
xerxes901
8mo ago
Yeah parsing config files with regular expressions that may or may not properly handle quoting or line continuations etc is… not a great idea in my opinion. But of course in this particular case, because systemd makes the /dev/log
4.
▲
by
xerxes901
8mo ago
> As a trivial example, you can dynamically depend on other services depending on system configuration (as PostgreSQL does) Depending on what you want to do, a generator might be appropriate: > Their main purpose is to convert configu
5.
▲
by
xerxes901
8mo ago
Something like the stm32mp2 series of MCUs can run Linux and act as a PCIe endpoint you can control from a kernel module on the MCU. So you can program an arbitrary PCIe device that way (although it won’t be setting any speed records, and I
6.
▲
by
xerxes901
9mo ago
Was expecting some real unproductive and entitled whining based on the title, but was pleasantly surprised - someone actually investigating and debugging their wayland issues rather than putting their head in the sand and screaming “X11 FOR
7.
▲
by
xerxes901
9mo ago
Hm. I found this (that memory must be stable wherever a SEH exception could be thrown) surprising, because I thought the unwind information generated by the compiler should be able to reconstruct all the correct variable values during stack
8.
▲
by
xerxes901
10mo ago
I have no idea whether the text was generated from an LLM, but “slop” it absolutely is not - it’s clearly a very logically ordered walkthrough about a very thorough debugging process. If you call anything that comes out of a model “slop” th
9.
▲
by
xerxes901
10mo ago
That’s exactly what it was. He discovered the customer was using a version of ffi that had this “use-after-free” (ish) bug, but the question “is this actually what my customer was seeing or is there _another_ bug lurking” still needed to be
10.
▲
by
xerxes901
1y ago
I personally know and have (tangentially) worked with the guy and none of what you’ve said is true. > Look at his CV. Tiny (but impactful) features ///building on existing infrastructure which has already provably scaled t
11.
▲
by
xerxes901
1y ago
Thanks for clarifying, and implementing this essential feature!
12.
▲
by
xerxes901
1y ago
Question: what actually reads /etc/pooper to configure the character? I can’t work out how that file’s contents ends up as module parameters and I’d love to know!
13.
▲
by
xerxes901
1y ago
I don’t know what you’re basing this on. Good psychiatrists absolutely “call themselves doctors” and definitely seek to exclude or treat organic causes of psychiatric symptoms. All the psychiatrists I know absolutely understand there’s a li
14.
▲
by
xerxes901
2y ago
> In order to proceed, you’ll need a PC with a 64-bit CPU — and that might mean you have to buy a new PC if you don’t want to lose your EA games. Uh, can’t imagine too many people reading this are playing Origin-era EA games on a Pentium
15.
▲
by
xerxes901
2y ago
> Which means your changes have to go through the Ruby team first. Any additional changes would also need to go through them … I do want to pick on this specifically - people can and should be patching open source projects they depend on
16.
▲
by
xerxes901
2y ago
/proc/PID/root is a view of that process’s mount namespace. Also you can use nsenter(8) to run a command (or even a shell) under another process’s mount, pid, network, etc namespace.
17.
▲
by
xerxes901
2y ago
This is in fact exactly what Ruby’s Fibers and the async fiber-scheduler gem do
18.
▲
by
xerxes901
3y ago
I don't work on YJIT but I _think_ i know the (or maybe an) answer to this. The code for a JIT'd ruby method isn't contiguous in one location in memory. When a ruby method is first compiled, a straightline path through the me
19.
▲
by
xerxes901
3y ago
This doesn’t really change your conclusion, but I think that’s the wrong file. This is the real doas afaict: https://github.com/openbsd/src/blob/master/usr.bin/doas/doas... Still just a tidy 10
20.
▲
by
xerxes901
3y ago
This is essentially what systemd-resolved with the nss-resolve NSS module is right? It’s possible to use /etc/nsswitch.conf to entirely disable the built-in DNS resolution in glibc if you want.
21.
▲
by
xerxes901
3y ago
> a per-thread GIL with an explicit mode to share particular objects This is like Ruby's Ractors and I haven't really seen that be super successful so far. The "Objects" that need to be shared are things like class de
22.
▲
by
xerxes901
3y ago
I winced when I saw the phrase "multithreaded fork" but then I realised this is the _other_ kind of fork, not the fork(2) syscall.
23.
▲
by
xerxes901
4y ago
The problem is that with perf the stack trace is collected by the kernel (when the interrupt from the performance counters fires), and the kernel doesn’t implement dwarf unwinding of user space code. It _could_, but the kernel folks have ma
24.
▲
by
xerxes901
4y ago
Hope these people never send any emails, I hear they can be searched for a long time too.
25.
▲
by
xerxes901
4y ago
In the specific case of confluent-kafka-go I’ve had to make extensive use of the second F. Trying to get the major improvements I’ve made into upstream has been… challenging. Of course that F comes with a substantial maintenance cost. I’ve
26.
▲
by
xerxes901
4y ago
I think this is something git rerere is supposed to help with
27.
▲
by
xerxes901
4y ago
Nothing infuriates me more than googling for a problem I’m having and finding a relevant issue that’s been closed by a bot as “stale”. I _get_ that I don’t have any right to free maintenance, but the stale bot paints some veneer of process
28.
▲
by
xerxes901
5y ago
Sorry I missed this message - I think the best write up of it is from the issue thread: https://github.com/docker/roadmap/issues/7#issuecomment-1044...
29.
▲
by
xerxes901
5y ago
Oh hey, I’m the Konstantinos mentioned at the end. The excellent work done by the Asahi Linux folk on discovering demonstrating the incredislow MacBook nvme flush is what prompted me to dig into this for Docker. Nice to see the fixes make i
30.
▲
by
xerxes901
5y ago
Heh, yeah this doesn't look like it makes a lot of sense... I'll go shake a few trees internally and point this out.
More ›