calamityjanitor
@calamityjanitor@lemmy.world
- Comment on I vibe coded a driver to monitor and control the temperatures and fans in my Aoostar WTR PRO. 4 days ago:
I’ve always geeked out about fan curves and monitoring, though I readily admit for most PCs leaving the default BIOS curve works fine enough.
- Comment on I vibe coded a driver to monitor and control the temperatures and fans in my Aoostar WTR PRO. 4 days ago:
I just used the free chat with Claude, it created and tracked the files in its own webchat thingy. Being a kernel module, I was happy to manually check, copy/paste, compile, then run the code for each iteration.
Porting postmarketOS to a phone sounds like it may require some amount of manual running and explaining results back to the chat. Ultimately the output only starts to get functional when it hits reality and needs to keep adapting to feedback.
I wrote a blog on the process that more focuses on the journey and technical details of the controller chip.
- Comment on I vibe coded a driver to monitor and control the temperatures and fans in my Aoostar WTR PRO. 4 days ago:
I used a very similar method in a similar situation to albb0920. They describe it as vibe coding too.
The exact chip that handles everything is undocumented, but similar ones in the same series have datasheets. A maintained version of the linux driver handily collated all of the available datasheets and configurations used by different motherboards. Between that and my microcontroller/hardware experience, that side of things wasn’t too bad.
What I didn’t know anything about was writing an Illumos driver. I used the chatbot with a free claude account, compiling and running the code manually myself. I was impressed that it was able to build out the boilerplate and get something going at all. Course it took a few tried to get something that compiled and worked somewhat correctly. At some points I needed to look through the generated code and point out exactly what what wrong, but at least it would address it.
Code running in the context of the kernel is definitely not something I would have autonomously executing by a LLM. The end result is absolutely not something I would want put into the official Illumos source.
- Submitted 4 days ago to selfhosted@lemmy.world | 13 comments
- Comment on Asus Co-CEO: MacBook Neo Is a 'Shock' to the PC Industry 1 week ago:
This from the company that started the netbook trend with the $400 eeePC in 2007…
- Comment on New OS on ugreen DH4300 2 weeks ago:
Looks like it has an ARM CPU, a RK3588. Similar ballpark to a Pi 5 in CPU performance.
Installing another OS would be technically possible but not easy, you’d need a Linux kernel with the RK3588 drivers already in it. Then there are differences between it and other RK3588 SBCs that could cause problems.
Much like you wouldn’t want to install anything other than raspbian on a Pi, you’d be best off with ugreen’s OS even if others are technically possible.
- Comment on Extreme wealth inequality is baked in to the system 4 weeks ago:
Nah I’m built different. Image
- Comment on Help Wanted: Accessing a Service With the Same FQDN Inside and Outside Local Network 4 weeks ago:
Sorry I might have misunderstood, you mentioned giving others access externally and it working fine. Normally, if you’ve set up the service to be publicly accessible on the internet, you can just visit the same site through the public DNS record and your public IP. At home or elsewhere, it’s all the same internet.
So either you’ve done something odd, or you’re talking about different, more private, internal only services?
- Comment on Help Wanted: Accessing a Service With the Same FQDN Inside and Outside Local Network 4 weeks ago:
Can you live with the services routing out and back into your public IP? If it all works for external users on the internet, doing nothing special should mean it works for you too?
- Comment on Samsung to halt SATA SSD production, leaker warns of up to 18 months of SSD price pressure, worse than Micron ending consumer RAM 2 months ago:
In my head I thought one could make relatively cheap high capacity in 2.5" SATA form factor by having more NAND chips of lower capacity. You give up speed and PCB space but that’s fine since bandwidth and IOPS are limited by SATA anyway and there’s plenty of space compared to M.2.
Turns out to not shake out that way, controller ICs that support SATA aren’t coming out any more, and NAND ICs are internally stacked to use up channels while not taking up PCB space.
There are some enterprise options, but they’re mad expensive.
- Comment on Samsung to halt SATA SSD production, leaker warns of up to 18 months of SSD price pressure, worse than Micron ending consumer RAM 2 months ago:
I have 4x 6TB HDDs in my NAS. Around 5 years ago I decided to simply replace any dead drives with 6TB ones instead of my previous strategy of slowly upgrading their size. I figured I could swap to 8TB 2.5" SATA SSDs that had just started to exist and would surely only get cheaper in the future…
- Comment on Why don't compasses have just two Cardinal directions (North, East, -North, -East)? 3 months ago:
I think the idea of directions came before the idea of negative.
- Comment on Which SBC for TV streaming? 3 months ago:
Back in the day I used a raspberry pi 3 for 1080p h.264 and steam link / moonlight. Problem was omxplayer plays up to 1080p60 beautifully, but anything else would struggle. Eventually ‘upgraded’ to an old laptop to easily YouTube/netflix in the browser too.
- Comment on CopyParty is kind of a great file server 3 months ago:
I fucking love copyparty. It starts simple enough but then the millions of options and configs let you twist it into exactly what you need.
As someone that runs a server OS that doesn’t support docker, it is very refreshing to see a single binary project. It has a focus on being administrator friendly thats really fallen out of fashion these days.
- Comment on Hardware raccomandation for new selfhoster 4 months ago:
I think it would be fine. Friend of mine has Immich on a N100, like you mentioned, the initial ML tasks on a big library takes over 24 hours but once it’s done it doesn’t need much. I don’t have experience running next cloud but the others you mentioned don’t need much RAM/CPU.
ZFS doesn’t need much RAM, especially for a two disk 4TB mirror. It soaks up free RAM to use as a cache which makes people think it needs a lot. If the cache is tiny you just end up hitting the actual speed of the HDDs more often, which sounds within your expectations. I dare say you could get by with 8 GB, but 16GB would be plenty.
I’d only point out if you’re looking for it to last 10 years, a neat package like the ugreen might bite you. A more standard diy PC will have more replaceable parts. Would be bigger and more power hungry though.
- Comment on Its a solar powered phone / webserver! Made from a pixel 6a, solar panel, and hopes/dreams. 4 months ago:
That is fricking sick dude!
- Comment on How long do we have before PCs get locked bootloaders and corporations ban installation of "non-approved" software? (for context: Google is restricting sideloading worldwide on Android ETA 2027) 6 months ago:
It’s called secure boot and it’s been around for over 10 years now.
- Comment on Apparent issues with ZFS on RPi 5 7 months ago:
Ah kay, definitely not a RAM size problem then.
iostat -x 5Will print out per drive stats every 5 seconds. The first output is an average since boot. Check all of the drives have similar values while performing a write. Might be one drive is having problems and slows everything down, hopefully unlikely if they are brand new drives.zpool iostat -wWill print out a latency histogram. Check if any have a lot above 1s and if it’s in the disk or sync queues. Here’s mine with 4 HDDs in z1 working fairly happily for comparison: Here’s mine with 4 HDDs in z1 working fairly happily for comparisonThe
init_on_alloc=0kernel flag I mentioned below might still be worth trying. - Comment on Apparent issues with ZFS on RPi 5 7 months ago:
After some googling:
Some Linux distributions (at least Debian, Ubuntu) enable init_on_alloc option as security precaution by default. This option can help to prevent possible information leaks and make control-flow bugs that depend on uninitialized values more deterministic.
Unfortunately, it can lower ARC throughput considerably (see bug).
If you’re ready to cope with these security risks 6, you may disable it by setting init_on_alloc=0 in the GRUB kernel boot parameters.
I think it’s set to 1 on Raspberry Pi OS, you set it in
/boot/cmdline.txtI think.[Exhaustive ZFS performance tuning guide](openzfs.github.io/openzfs-docs/Performance and Tuning/Workload Tuning.html)
- Comment on Apparent issues with ZFS on RPi 5 7 months ago:
sync=disabled will make ZFS write to disk every 5 seconds instead of when software demands it, which maybe explains your LED behavior.
Jeff Geerling found that writes with Z1 was 74 MB/sec using the Radxa Penta SATA HAT with SSDs. Any HDD should be that fast, the SATA hat is likely the bottleneck.
Are you performing writes locally, or over smb?
Can try
iostatorzpool iostatto monitor drive writes and latencies, might give a clue.How much RAM does the Pi 5 have?
- Comment on How does AI use so much power? 8 months ago:
OpenAI noticed that Generative Pre-trained Transformers get better when you make them bigger. GPT-1 had 120 million parameters. GPT-2 bumped it up to 1.5 billion. GPT-3 grew to 175 billion. Now we have models with over 300 billion.
To run, every generated word requires doing math with every parameter, which nowadays is a massive amount of work, running on the most power hungry top of the line chips.
There are efforts to make smaller models that are still effective, but we are still in the range of 7-30 billion to get anything useful out of them.
- Comment on After Israel and USA's bombing, wouldn't any supposed nuclear bombs go off if there were any? 8 months ago:
You can read IAEA’s press releases for each attack. They go through the precise function and nature of each building and access the potential danger. Though they haven’t updated for the US’s latest bombing.
- Comment on Happy anniversary of the day absolutely nothing happened at nowhere square! 9 months ago:
lol. Nicholas Kristof was in Beijing at the time, his contemporaneous article was critical of China and the CPC, but said “There is no massacre in Tiananmen Square, for example, although there is plenty of killing elsewhere.” The original article is paywalled, but here is a 2004 interview where he repeats that no one died in the square, and sticks to his death toll estimate of 300-800.
The Chinese Red Cross deny saying that, so I mean insert your own conspiracy for that one. No idea who the Swiss Ambassador was at the time, the reference is to a book.
- Comment on Happy anniversary of the day absolutely nothing happened at nowhere square! 9 months ago:
The Clearing the Square section recounts the timeline of the military entering the square and it being totally empty by 6am. I guess you could count the three soldiers killed by the crowd, but that’s not what most people mean.
- Comment on Happy anniversary of the day absolutely nothing happened at nowhere square! 9 months ago:
This is why I find this stuff so bewildering, even Wikipedia says no one died in the square. It was hectic around Mudixi, with buses of soldiers being torched and the burnted bodies being strung up. People there were absolutely shot at and killed.
It was an insane week with a lot happening, many different groups with their own motives, and so many details unclear. It’s weird that anti China rhetoric insists on something that didn’t happen, pushing a false narrative that’s so easy to dispell and distracts from the real violence and politics of the time.
- Comment on getting 522 error Cloudflaired + Jellyfin + fail2ban 9 months ago:
My understanding is that it’s technically against their TOS but loosely enforced. They don’t specify precise limits since they probably change over time and region. Once you get noticed, they’ll block your traffic until you pay. Hence you can find people online that have been using it for years no problem, while other folks have been less lucky.
Basically their business strategy is to offer too-good-to-be-true free services that people start using and relying on, then charging once the bandwidth gets bigger.
It used to be worse, and all of cloudflare’s services were technically limited to HTML files, but selectively enforced. They’ve since changed and clarified their policy a bit. As far as I’ve ever heard, they don’t give a toss about the legality of your content, unless you’re a neo Nazi.
- Comment on getting 522 error Cloudflaired + Jellyfin + fail2ban 9 months ago:
I’m guessing the cloudflared daemon isn’t connecting to jellyfin. You want to use
http://. Also isjellyfinthe hostname of the VM? Usinglocalhostor127.0.0.1might be better ways to specify the same VM without relying on DNS for anything.Personal opinion, but I wouldn’t bother with fail2ban, it’s a bit of effort to get it to work with cloudflare tunnel and easy to lock yourself out. Cloudflare’s own zero trust feature would be more secure and only need fiddling around cloudflare’s dashboard.
- Comment on The Pebble Has Been Brought Back 11 months ago:
It runs basically the same PebbleOS, so they’ll work with any app that works with the original Pebbles. They plan to keep using the community app hosting at apps.rebble.io. There’s also GadgetBridge that’s compatible. Eric mentioned on HN the intention for an official open source library that can be used to make other companion apps too.
- Comment on The Pebble Has Been Brought Back 11 months ago:
Yeah the mobile app is open source too github.com/pebble-dev/mobile-app
- Comment on Why can't we go back to small phones? 1 year ago:
I had a 5 II too, used lineageOS for years, worked great. Doesn’t totally solve the battery or fingerprint reader. My screen got the dreaded green lightsaber too. Nail in the coffin was Australia turning off 3G so it can’t make calls anymore. (Wasn’t officially sold here so they didn’t bother loading it with VoLTE profiles)