Live data from Hacker News

Ask HN: What rabbit hole(s) did you dive into recently?

news.ycombinator.com

61–70 of 443 posts

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#61
How the public transport services in my local area are run! There's a lot to it: route planning, scheduling, ticketing... and a large amount of digitalization too.

It's interesting to discover that a lot of 'facts' about public transport people take for granted just aren't true. The names and liveries by which vehicles go often don't actually correspond with their actual operators and owners. The company that's named on your ticket might not actually get any money from your purchase - or they might make money from passengers who don't pay at all, due to a myriad of subsidy schemes run by different levels of government.

Waves of privatization and re-nationalization with political motivations at every turn have produced a system which is amazingly efficient in some ways, and appallingly wasteful in others. Workforce strikes are obvious to the general public, but what's not obvious is who the negotiating parties even are, with various trade unions (and unions of unions) competing against various management groups (and groups of groups).

Some things are pleasantly surprising. Without any fanfare, digital systems for vehicle tracking have been introduced with remarkable efficiency. Then, for me, there's the astonishment of discovering that not only is every timetable published in a consistent, nation-wide data format, but one that has been utilised in production for twenty years!

It all makes me realise how limited the public discourse about public transport and 'green' mobility policies are in my region. It is simply impossible to grasp the true consequences of any given proposal in the meagre columns that they're given in the newspapers and the two-minute reports in which they feature on the television. Diving into this rabbit hole has led me to respect the complexity of the field much more than I did before, and fills me with both hope and despair on topics which I had hitherto scarcely lent a thought.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#62
post #6

I switched to Neovim from Sublime Text after trying copilot in Sublime, feeling sad, and then watching The Primeagen and his glorious mustache for too long. Ostensibly I wanted to be able to code on the production server like a miscreant with the same tools as my laptop. However I just wanted to regain command of my dev environment after years not coding. I also reorganized the furniture in my office and got weirder…

i've been attempting to switch to neovim off and on for about a year now. VS Code is so much much easier to get started with though. And adding support for a new language is just an extension-install away.

That’s fair. I can’t use vs code on the server was my logic. But also it was a hacking challenge.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#63
Over the last little while, I've fallen down the Nix rabbit hole.

I don't currently use it in any serious projects aside from tinkering about with it, but it has been a lot of fun to learn and study.

Between the Nix package manager, the associated language, etc., there has been a lot to learn about, and it's been good fun. I have nixOS on my spare Thinkpad for toying with, and I have Nix on my main Debian systems, if I want to pull something from nixpkgs.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#64
USB! I’ve tried and failed couple times in understanding how USB works under the hood, from electrical, to protocol, then classes, and also Power Delivery. This time around things seem to make more sense now. It started out as an ambitious goal to emulate an FTDI USB DMX converter with the ESP32-S2/S3, but realizing that might be too big a goal, so I’m starting small. I want to be able to make a custom device class on the ESP32, and write a driver with libusb.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#65
post #6

I switched to Neovim from Sublime Text after trying copilot in Sublime, feeling sad, and then watching The Primeagen and his glorious mustache for too long. Ostensibly I wanted to be able to code on the production server like a miscreant with the same tools as my laptop. However I just wanted to regain command of my dev environment after years not coding. I also reorganized the furniture in my office and got weirder…

Neovim — as good for a mid-life crisis as a Porsche, and a fair bit cheaper.

True. My friend is selling electrified retromodded Porsches. I want one but I am poor.

However I can salve my ego spending a day flipping through neovim colour themes.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#66
post #38

A quick and dirty, shallow one, that I just opted to brute force out of curiosity. An online game I play includes an optional two player Russian Roulette type feature (non-fatal). I got to wondering if there was an optimal betting percentage to use, if you set aside some money as a betting seed. So I spent time coding up a really ugly brute force "just run lots of games and see". Pretty much the answer is you'll lose…

You might find the Kelly Criterion interesting and/or useful for optimal bet sizing. This rabbit hole goes deeeep

https://en.m.wikipedia.org/wiki/Kelly_criterion

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#67
So, I was looking at some performance issues which seemed to be stemming from linux networking stack. We eBPF with docker/k8s a fair bit as a PaaS, and I ended up getting into the weeds with linux sys/procfs and kernel tracing. One thing led to another and after quickly dispatching the perf issue, I was supposed to be on a planned week long holiday which turned into a deep dive into linux kernel + networking.

Intermediate step - I feel pretty confident with the gory details of the kernel code now. can possibly build a custom kernel, boot qemu with both a simple C+assembly bare metal kernel, or the self compiled kernel. I feels like the clouds have cleared and I can see the sun. - Incidentally the kernel source code is pretty well documented, but one thing which is missing is a much smaller list of files which are most important. true pareto here. 20% files carry the weight. You also need to know the subsystem you want to touch. Chances are that subsystem is much lesser number of files.

Finally - Got to reading about kernel packet handling. at the L2/L3/L7 level. from nic hardware to userspace. Turns out that eBPF [hello old friend!] has a networking avataar called XDP which is pretty recent [And now I feel the itch to apply this to some of our networks. Particularly, baremetal servers on equinix metal + aws ec2 + azure can be peered with either VPP/Bird to make a p2p connection which is a factor more performant than the vpc interconnect/gateways which are provided off the shelf.

I might extend the holiday by a few days. and I would love to talk to people who have hands on experience with any of this. Its hard to contain my excitement tbh.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#68
post #39

This past month, I’ve been reevaluating my dev environment and workflow. My goals are to reduce RSI, be more efficient, as well as learn all my tools as deeply as possible. And have fun! - I’ve ditched VSCode and gone all-in on NeoVim. I’ve spent a bunch of time watching Primeagen, etc., tweaking my vid config and learning how to navigate as efficiently as possible. - Switched from QWERTY to Colemak-DH to hopefully r…

Congratulations on learning Colemak! I made that journey myself and haven't regretted it once since. I did have to relearn QWERTY, frustratingly, but luckily it isn't nearly as difficult as learning a layout for the first time, and I can now switch between them relatively easily. (For me, a few years on, I now type at 100-120 WPM on Colemak; I was also at 70 WPM four weeks after starting.)

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#69
post #58
post #47

Earlier quoted context omitted.

What did you find is the most reasonable explanation?

Pilot suicide by a long shot. There is no other alternative theory that comes even close. What was interesting is to see them piece the theory together from the very fragmentary and little evidence (what is even more mind-blowing to know how little evidence there was to play with given we are talking about a 747). The true mystery left is how did he execute the suicide and why. How did he dispatch the co-pilot? (Ther…

did you chance upon @MentourPilot on youtube and his breakdown of the MH370 investigation + recent update? If not, I am afraid you may have another hour to spend, but its very likely you have already seen this.

Re: Ask HN: What rabbit hole(s) did you dive into recently?

#70
post #62

Earlier quoted context omitted.

i've been attempting to switch to neovim off and on for about a year now. VS Code is so much much easier to get started with though. And adding support for a new language is just an extension-install away.

That’s fair. I can’t use vs code on the server was my logic. But also it was a hacking challenge.

Why not really? Remote editing through ssh is vscode's superpower!
Post reply on HN