HNHacker News
TopNewBestAskShowJobs

JamesTRexx

71 karma · joined January 16, 2026

submissionscomments
JamesTRexx··on LineageOS 23.2
Mine does have OneUI 8 already indeed, and I'm not that worried about it because I don't expect there will ever be an alternative OS for it. I don't use it for much else than occasionally calling and messaging and have disabled what spyware I could, so it's fine enough for me. Also, I don't have any un-unistallable telecom provider crap on it. :-)
JamesTRexx··on LineageOS 23.2
I enjoyed LineageOS for years on my Samsung S4 until it finally broke from a fall. It's a shame there was no image to install on my new Xcover 7, but not unexpected as it was a newly released phone. But I doubt there will be an alternative/stripped Android available for this model as I haven't seen anything supporting a Xcover version anywhere. Best I can hope for is eventually a support for rooting and de-installing unwanted bloat with an app manager.
JamesTRexx··on uLauncher
Same here since my new phone. I wanted a very simple interface and have no need for widgets and don't like a grid of toy icons. I just saw the pro version has folders but I don't have a lot of programs installed so the flat list is managable.
JamesTRexx··on I write games in C (yes, C) (2016)
I'm pulling apart and rewriting so far a little in C a personal fork of OpenTTD 12.2. I began on it a few years ago for the first time for the heck of it after patching for realtime, began again while adding features I wanted until I hit a bad enough snag, and now began again by first extracting most used functions and profiling with Valgrind inbetween.

Things I noticed are inconsistent coding styles, overly complex processes, unused(!) functions, inefficient data use, nothing surprising with a project worked on by various people in their spare time and their own ideas on how to code. And this isn't even talking about later versions. To me it's an example of how unrestricted access to bling features causes a mess.

Eventually I want it converted to C (C23), split apart in seperate functions with a decent source code organisation, and simplified processes to make it easier to understand what's going on and extend fuctionality. For this I need it simplified as possible and weed out the layer of complexity caused by C++ first. Going to take plenty of time, but I'm still having fun doing it (most of the time anyway :-p ).

I'm not advocating anything, but it's satifying to me to bring clarity to code and see small improvements to performance during the process at the same time. It also gave me an opportunity to develop a unique syntax style that visualises parts of the code better for me.

JamesTRexx··on SectorC: A C Compiler in 512 bytes (2023)
Would and how much would it shrink when if, while, and for were replaced by the simple goto routine? (after all, in assembly there is only jmp and no other fancy jump instruction (I assume) ).

And PS, it's "chose your own adventure". :-) I love minimalism.

JamesTRexx··on Start all of your commands with a comma (2009)
Whenever I see "my" as a prefix, it feels like such a childish "my first Sony" thing. I hate official sites using that.
JamesTRexx··on Start all of your commands with a comma (2009)
,sudo make me a sammich

Like so?

JamesTRexx··on Listen to Understand
I am alone, not lonely. And enjoy it well enough.
JamesTRexx··on Modernizing Linux swapping: introducing the swap table
I use zswap, which is a non-fixed intermediate layer between RAM and swap and worked great on my old laptop which had a max of 4GB RAM. Even use it now on my current 32GB laptop.

Full compression would be nicer, but I'd also like to see ECC emulation (or alternative) as a cheaper alternative to the real hardware, although with current prices that might be less so.

JamesTRexx··on Listen to Understand
Solid advice for as long as one can stand only listening. My experience is as mentioned in the post, people are egocentric and don't bother listening. That's why I stopped telling others how I feel or how things are after a while, and only superficially pay attention to them. Saves me some energy as well.
JamesTRexx··on Outsourcing thinking
What is that saying again, a person is smart, a group is dumb?

That's the risk involved with opinions and conclusions.

JamesTRexx··on Apple to soon take up to 30% cut from all Patreon creators in iOS app
Well, I certainly won't sell my fiction to Apple for them to turn it into a series in the future.

Unless they pay me 30% of all hardware and software revenue because popularity is a vehicle to sell more under the Apple brand.

JamesTRexx··on The only moat left is knowing things
I see the same point when it comes to fiction writing. Tested (via duck.ai) a while ago with creating fiction stories in less than 500 characters and it came up with generics and repeats that even went above the limit. Tried again just now with 5o mini, and although it waxed poetically, there were cracks and gaps, still felt rather generic, and certainly failed at twists and humour.

It can write about a spark, but the content has no spark.

JamesTRexx··on Thirty Years of the Square Kilometre Array
If you have to ask, you know the answer. :-p
JamesTRexx··on Thirty Years of the Square Kilometre Array
"Makes it so clear what it is."

Well.., I've been more busy with writing code lately so that the first question coming to mind was, how many bytes is an array of one square kilometer? And I assume it's a two-dimensional array.

JamesTRexx··on A list of fun destinations for telnet
I think I was the only one in the operations team who knew how to use telnet to check connections and existence of adresses on company and outside email servers. As well as other low level tools to diagnose problems with Windows PCs and servers. There just weren't any gui tools like that.
JamesTRexx··on Refusing to Use Twitter
Stopped only now? I cleared my tweets the day it fell into Handsome Musk's claws and left a note explaining not wanting to support that dubious guy with a link to my Mastodon account. Never looked back.
JamesTRexx··on Text Is King
Actually, analogue and digital versions. Both have their pros and cons.
JamesTRexx··on Text Is King
Someone else also mentioned advertising, yet even when I disable uBlock and allow everything with eMatrix (on Pale Moon), I see nothing of that. Maybe it's the excellent karma I have there.
JamesTRexx··on Text Is King
Text is my favourite minimalistic medium. I keep a minimum eye on regular news through teletext and tech news via Slashdot and here because there are barely any distractions from the core content.

It's also very flexible in that I can immediately return to a previous sentence without needing intermediate steps like rewinding a video or audio format. I can copy parts into another document for reasons. It's easier to search. This is also what makes learning from a book so much better than video (besides not needing batteries for it).

JamesTRexx··on Some C habits I employ for the modern day
"lots of klunky, ugly things" I wonder how much of that is caused by too complex thinking. It seems that simplicity is very difficult for most people.

"You don't have to use unneeded features" True, but that doesn't work in practice, for example the intentions to use only limited C++ features in new projects, that end up bogged down with the other features anyway because of "new toy to play with" effect. What isn't there can't be used and keeps the language lean and clean (and not mean ;-) ).

JamesTRexx··on Adoption of EVs tied to real-world reductions in air pollution: study
Decent public transport makes all the difference. Luckily we have good transport here in the Netherlands and I haven't needed a car in 10 years. Also, the trains here have been running 100% on renewable energy since 2017.
JamesTRexx··on BU-808: How to Prolong Lithium-based Batteries (2023)
After the first battery of my Samsung S4 expanded at the end of its life in less than 2 years, I found a utility that didn't work perfectly but could limit charge anywhere between 30 to 100% most of the time, and it prolonged the lifetime of the couple of later batteries during the 10+ years I used the phone with a limit around 66%.

I was glad to see my new Samsung XCover 7 has a built-in option to limit charge to 80%, although a flaky usb cable could sometimes overcharge to 100%. And also has a removable battery.

JamesTRexx··on Some C habits I employ for the modern day
As I see it, the problem with languages trying to replace C is that they not only try to fix fundamental flaws, but feel compelled to add unneeded features and break C's simplicity.
JamesTRexx··on Some C habits I employ for the modern day
Two things I thought while reading the post: Why not typedef BitInt types for stricter size and accidental promotion control when typedeffing for easier names anyway? I came across a post mentioning using regular arrays instead of strings to avoid the null terminatorand off-by-one pitfalls.

I still have a lot of conversion to do before I can try this in my hobby project, but these are interesting ideas.

JamesTRexx··on Gas Town's agent patterns, design bottlenecks, and vibecoding at scale
"our industry has lost its sense of whimsy"

The first thing I thought as I read his post and saw the images of the weasels was that he should make a game of it. Maybe name it Bitborn.

JamesTRexx··on Why medieval city-builder video games are historically inaccurate (2020)
I'm all for more realism in an FPS game, but then the realism also has to apply to the NPCs, who have unlimited ammo, can see through walls or worse, shoot through them, who have no fear and thus not hide or not long enough, don't sneak around, don't have imperfect control over their actions.

I don't have a perfect game setup and am constantly hampered by needing to do two different things like locomotion and handling with only my left hand, thus using cheats is standard for me to compensate for the imbalance. Also, sometimes I just want to enjoy a walk through the environment without constant fighting (Far Cry 2, 5).

JamesTRexx··on The super-slow conversion of the U.S. to metric (2025)
This is why men are superior to women, we can always count to one higher. (or two including the tip, as someone suggested with the fingers) :-p ducks
JamesTRexx··on EmuDevz: A game about developing emulators
The music and touch of humour reminds me of early adventure games I played. Ahh, nostalgia. Busy with other things so I'll use the excuse of only programming in the One And Only True Programming Language C (I wish there was a capital version of the capital letter for that) to stop before needing to type one keyword of javascript. :-p
JamesTRexx··on Ask HN: Do you have any evidence that agentic coding works?
I've used Mistral via duck.ai for my hobby project a few times to convert C++ code snippets to C, which it did well and made it more clear what the code was actually doing.
← PreviousPage 2 of 3Next →