Recent submissions

Comment · 3 months ago
Comment · 4 months ago
Browser warning: www.catb.org uses an invalid security certificate.
Comment · 4 months ago
I calculated it long ago but I can't find the original notes. It can be extrapolated from the default 74 ticks a day (and the distance represented by 1 tile) to ((33 ticks per cpu second) * 86400) in my patch, and I think it came about a tile size of around 8 metres or so. Too long ago to be sure, but I found a time speedup of 4x compared to realtime was a good compromise. It made transport by slow vehicles viable to keep factories running, or a lot less were needed to keep up deliveries. The newer setting for minutes per tick made realtime possible eventually. I had it set to 11, I think.

It was also quite easy to limit production (or passengers) in the code from 06:00 to 20:00 a day for a little extra realism with either emptying a station during the night or have no traffic servicing buildings. Even weekends are possible. Warehouses would be a nice addition.

Comment · 4 months ago
> Separating locomotives from trains next? Someone wrote a patch for version 8 or 9 years ago which enabled coupling and decoupling, although one needed to set it up in a specific order to avoid failing couplings or train crashes. It's a shame the devs never picked it up.

> And then, finally, hump yards? I doubt a hump yard will ever be a feature because as far as I see it, it would need a complete overhaul of the way orders are set up and handled. Right now it's one semi-static order list for the whole train and a sorting yard needs dynamic order lists per locomotive and each wagon.

Comment · 4 months ago
I made version 12.2 my programming hobby project. First time I tackled it years ago was to have it run at real time instead of the default fast pace (even with the day length patch). Worked great including a feature to really schedule routes and have working yards for vehicles to wait. But when I wanted to change internal mechanics to add other features I hit the spaghetti code wall several times (and the code after 12.2 is just more complex with every version bump).

Took a break from it for a while and picked it up again, this time by not doing anything much feature-wise but pulling the code apart and de-C++-ing it. Bit by bit building a categorised code tree with single functions per file, deconstructing classes to plain functions and data structs, with the goal to convert from C++ to clear C. And then one day consolidate code to have for instance the same diagonal road options as current train tracks.

Might be pointless and take a long time to finish, but it's comforting to turn something overly complex into simple, small pieces and also create a unique code formatting style to visualise elements of a line of code for easier reading. Another fun part is reading about data design and coming up with a custom data container to replace the std::vector uses.

Comment · 4 months ago
I already have the NS Flex free weekend subscription (with 1st class addition) and it's the only way for me to travel longer distances. It's also just about the only available public transport in the neighbourhood because I live in a polder.

Nearest train station is a 35 minute walk, nearest supermarkets are almost an hour walk. One advantage, before Covid and I had groceries delivered, mandatory walking back and forth three times a week to the village did wonders for losing weight.

Comment · 4 months ago
Just about obligatory mention of Pale Moon here. Have had a relatively clean internet experience for years with the old Firefox uBlock extension in combination with eMatrix. *Includes a disclaimer because I don't use Youtube and other assorted "social" media websites.

Only need Firefox ESR for a handful of websites giving me no option when specifying a Linux/Mozilla user agent instead of the native one for those doesn't work.

Comment · 5 months ago
Why not (uint8_t) ( float * (256/255) ) * 255?
Comment · 7 months ago
I've been an audiophile for a few years during early twenties because it was fun to check out new and used equipment every weekend in the store I frequented, listened to various great music, and read reviews in various magazines. I had enough disposable income to afford a nice set of highly regarded yet less hyped brands, and even once helped out set up a set with a pricetag of a good house.

Life changed and eventually gave up on the hobby while still being drawn to music and the technology behind audio. Then a "golden" kick out the door of one employer meant I could build the speaker set I had in mind based on Siegfried Linkwitz's knowledge. The total cost for the speakers was about 2000,- but it did take between 2000 and 3000 for a fully active setup with two subwoofer towers and two 3.5 way main towers, all open baffle.

I have never heard a more perfect three-dimensional soundstage before and after, and it still sounds like the artists are actually playing in the livingroom even from other parts of the house. This was kind of Siegfried's message about good sound, the speakers are what make it (electronics are more than good enough at low prices) as long as they're made on scientific grounds, and not another heavy set of hyped monkey coffins. I have reached my audiophile end goal without forking over a fortune. Also fun, I came across one of the only two or three Yamaha CD-1 players made for Europe back then as a trade-in, one rarity I kept as souvenir of those early years. ;-)

Comment · 7 months ago
4chan doesn't need age checks, everyone knows there are only five year olds on it. :-p
Comment · 7 months ago
That was the whole point of me drinking in the evening, to decline my cognitivity of the idiotic world I had to deal with during the day.

Unfortunately it doesn't work as well nowadays while the world became more idiotic.

Comment · 7 months ago
Religion is just one of the excuses/covers used to grab more power and/or shiny baubles by psychopatic people. And there are the ones who just want to see others suffer no matter what. Most of the people that are left don't feel like lifting a finger unless it directly endangers their own comfortable life.

Call me cynical, but I haven't seen any improvement in human nature in 50 years.

Comment · 7 months ago
Thanks!
Comment · 7 months ago
True. Seems self-preservation is strong in our genes and can manifest in strong greed or prefering to avoid (direct) conflict with the greedy.

Humans are not always social creatures on all social fronts.

Comment · 7 months ago
I don't worry about decisions. Once they're made, they're made and life continues unless there's a good reason and possibilty later to change it. I just like to know where the world as a whole is headed to (before the inevitable supernova event, I'm just curious).

There was also nothing important coming to mind. Family and friends is a small group and I have every bit of confidence they'll do just fine without me. I just hope they'll have a fun party as a final goodbye to me. :-)

Besides, death is the ultimate "What, me worry?" as there is nothing left. Can't even experience the void we enter ( unfortunately because I'd like to experience my brain not thinking about anything at all for once :-p ).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton