[-] JustEnoughDucks@feddit.nl 7 points 1 day ago

And you are often paying 140-200 for a pi nowadays to make it have the same usability as a laptop (pi, power supply, sata hat, data drive because SD cards simply fail after a while under server IO) while you can get cheap used laptops for 0-100.

So unless you are running it for more than half a decade (which rarely happens with selfhosters for a main server), you are probably spending more in total on the pi.

[-] JustEnoughDucks@feddit.nl 5 points 4 days ago

I would be interested in how things like MATLAB and octave compare to R and python. But I guess it doesn't matter as much because the relative time of those being run in a data analysis or research context is probably relatively low compared to production code.

31

Hello,

I am making an open source privacy-first fitness band for myself and I am writing the firmware now as someone relatively inexperienced at firmware development (I am an electronics engineer by trade). I get it done but sometimes I run into concept issues, especially when I start overthinking, like now that I need help with.

I have a macronix SPI NOR flash on-board that I want to use as offline activity saving, backup at low battery, etc... I am dreaming up the data structure for it. Here is the values I need to save to not lose information and what will be required for my supported features in the Bluetooth Physical Activity Monitor Service:

struct memory_map_nor {
    time_t timestamp;
    uint16_t sub_sess_id;
    uint32_t steps: 24;
    uint8_t bpm;
    float16_t spo2;
    uint16_t pulse_inter_beat_interval;
    uint16_t cadence;
    uint16_t speed;
    uint16_t activity_level;
    uint16_t activity_type;
    uint16_t temp;
};

So from this datastructure, it has a total of 28 bytes of data. This has to fit on a 256 byte page, which means 9 "rows" of data can be written per page, 144 per sector, 2304 per 64 bit block, and 147456 in total for a 32Mbit NOR.

But, I am getting confused while reading about memory structures in "normal" processors that need to read everything in 4/8-byte words via the parallel interfaces. This means that conventionally, everything has to be padded to neat structures that are divisible by 4 (32-bit) for QSPI reading. In that case, I would either have to add another 32 bits of data or pad 32 bits to every "row", making a neat 8 data "rows" per page.

OR, because I am only using single lane SPI, would this not matter and I could shove an extra datapoint in each page. The difference is 147456 data rows vs 131072 data rows. At 3s polling rate, that is 5.12 days vs 4.55 days. For my application, the difference might be useless anyway, but the band goal battery life is 2 weeks or so.

Again, maybe I am overthinking this and can just pad the data to make everything neat and fit well. Anyone have any opinions? Thanks!

[-] JustEnoughDucks@feddit.nl 120 points 3 months ago

I am always confused why they don't just sabotage the efforts? Like it would be so easy and they definitely aren't paying attention...

1

My girlfriend bought a cafe and they had a cast iron waffle iron that had, in some places, 5mm of grime built up over 2 years, never once been cleaned. Even the hinges were full of old crusted on batter and grease.

I spent hours with a grill scraper scraping every individual pin.

I have gotten to or past the seasoning in many places except in between all of the pins is hell to try to scrape the old baked on grease away. I have tried sodium carbonate soaks, a wire brush and a wire brush on a drill, a few different scraping tools, and I have only gotten about half out of those grooves. Miles better than before, but still not perfect enough to season and put back in the cafe.

[-] JustEnoughDucks@feddit.nl 99 points 5 months ago

A Volkswagen id4 was the best choice I had from work (Belgian companies give company cars for personal use as perks because of tax benefits).

I completely disagreed to all terms involving internet access in the vehicle, but I have no doubt they are tracking me without my consent too...

[-] JustEnoughDucks@feddit.nl 84 points 7 months ago* (last edited 7 months ago)

Here in Belgium there used to be big government subsidies for solar panels 5-10 ago.

Now the same wattage battery + solar setup without any government subsidies is a good chunk cheaper than that time with the large subsidies.

Pretty cool and shows the power of government renewables subsidies. A huge percentage of houses in Belgium have solar panels now.(and electricity still costs 0.30€/kWh average because of fossil fuel energy lobbies)

Now that there is a local industry around it, most renovations and almost all new builds include them.

[-] JustEnoughDucks@feddit.nl 234 points 7 months ago* (last edited 7 months ago)

Well the entire multiplatform astroturfing campaign from people who call themselves leftists worked! Democrats stayed home instead of voting.

Now Palestine will be completely flattened with 0 resistance at all, and redoubled support and bombs for Israel! Way to go! You really showed your support for Palestine by helping this happen!

They will probably come back saying "it wasn't our fault, we just pointed out the truth" while they shouted that a vote for Harris was a vote for genocide [so don't vote for harris] from every platform that they used.

28
submitted 8 months ago* (last edited 8 months ago) by JustEnoughDucks@feddit.nl to c/rimworld@lemmy.world

I played rimworld on and off casually for a few years. <100 hours in the game. I could never make it to the spaceship though I did have a pretty good colony or two.

Sorry here is the rant of my recent colony I tried playing for hours and hours:

I bought ideology and came back to rimworld because it sounded fun and wanted a simple tribal start. Everyone said arid shrublands is easy so sure. i picked pheobe on normal difficulty because I was looking for a relaxed time. Everyone says arid shrublands is the easiest.

Holy shit. 4 animals on the entire map + 1 herd of elephants. Almost no trees whatsoever, and researching is so damn slow that I have only had stonecutting and complex furniture done in 2 years. Electricity by itself would take 3-4 years of non-stop research...

Meanwhile, there is no way to heat or cool anything because campfires make a room boil (and there is no wood) and passive coolers don't work (and there is no wood). I have a giant cactus farm, but don't worry, somehow it takes 2 seasons to fully grow when it says 15 days on the card and it is 100% fert. So that doesn't help much. So there is no way to cool except to go into the mountains. Fine, except oh wait, when it is 60C outside, it is still 50C in the heart of the mountain when everything has doors...

I have half the map covered in agriculture and the heat is so intense (35-60C and never ever ever drops below that) means that I have to use every bit of spare wood for cooking and every single day is a fight to have enough food. I have to rotate out cooks because they will pass out in the kitchen.

Then I am hit with heatwave after >70C heatwave. Crippling and incapacitating all of my colonists for a week at a time until everyone is starving. Don't even think of cooking during a heatwave. Then it will get to over 80 in the room to cook one meal and the colonist will instantly go down. Not to mention the frequent heat storms during the heatwave to set everything on fire, but of course there I'd no technology like "a bucket of water" so my colonists have to let it all burn or die of heatstroke trying to pat it out lovingly with their bare hands.

2 raiders in 3 years, 0 chance to supplement my 5 colonists in any way at all. Each of those 2 raids had the people instantly killed, so no chance to recruit.

I can't hunt because my tech is so bad and my colonists are so slow that shooting an elephant once means they charge across the map and wipe out all 5 colonists in 30s

I can't raid because every single day is a fight for food for the day and the colonist tech is so bad they would get destroyed instantly.

I can't research armor because that would take years and years and I need to sink every minute in every day trying to get electricity so the next heatwave doesn't wipe me out.

Pretty much I am stuck in the most difficult fight for my colony every minute of every day and it simply isn't fun at all. Not eventful at all either. There is no story, just a slow grind of no technology and brutal, never ending heatwave conditions. This is what I assumed desert would be like, not arid shrublands...

That isn't even mentioning the weekly "mad hare"... some world that this is, 1 mad rabbit will beat 2 people, 1 with a spear and one with a revolver. What on earth. Then I am down to 3 people for at least 3 days while they recover. No way they will go down my completely open spike corridors either, they will just wait outside until I need someone to harvest agave outside of the walls where 1 single scratch takes your colonist down to 20% movement speed and it can just run them down...

/rant

Sorry, I hear people say that arid shrublands are the easiest biome, but holy hell would I disagree. If your farm isn't churning out rice within the first few days, you are simply completely dead.

[-] JustEnoughDucks@feddit.nl 101 points 9 months ago

To be fair, it could have just as easily been:

"You know, my shift is almost over (so I really want to pack my shit and get out of here)" to which anon had a good response.

[-] JustEnoughDucks@feddit.nl 62 points 9 months ago

Even the most passive, neutral reporter in the world in any other case could/would say

"Young Palestinian creator who shared glimpses of daily life during war killed by Israeli airstrike."

That is just 100% fact without a shadow of any doubt at all. The airstrike created the shrapnel that killed him, launched by Israel.

[-] JustEnoughDucks@feddit.nl 71 points 11 months ago

A physical keyboard has entered the chat

71

Hey everyone,

I am completely stripping my house and am currently thinking about how to set up the home network.

This is my usecase:

  • home server that can access the internet + homeassistant that can access IoT devices

  • KNX that I want to have access to home assistant and vice versa

  • IoT devices over WiFi (maybe thread in the future) that are the vast majority homemade via ESPHome. I want them to be able to access the server and the other way around. (Sending data updates and in the future, sending voice commands)

  • 3 PoE cameras through a PoE 4 port switch

  • a Chromecast & nintendo switch that need internet access

Every router worth anything already has a guest network, so I don't see much value in separating out a VLAN in a home use case.

My IoT devices work locally, not through the cloud. I want them to work functionally flawless with Home assistant, especially anything on battery so it doesn't kill its battery retrying until home assistant polls.

The PoE cameras can easily have their internet access blocked on most routers via parental controls or similar and I want them to be able to send data to the on-server NVR

I already have PiHole blocking most phone homes from the chromecast or guest devices.

So far it seems like a VLAN is not too useful for me because I would want bidirectional access to the server which in turn should have access from the LAN and WiFi. And vice versa.

Maybe I am not thinking of the access control capability of VLANs correctly (I am thinking in terms of port based iptables: port X has only incoming+established and no outgoing for example).

I figure if my network is already penetrated, it would most likely be via the WiFi or internet so the attack vector seems to not protect from much in my specific use case.

Am I completely wrong on this?

20
submitted 1 year ago* (last edited 1 year ago) by JustEnoughDucks@feddit.nl to c/selfhosted@lemmy.world

I got immich with SSO up and running. It runs like a dream compared to Photoprism and is simple enough for me, but also has necessary features like user accounts.

There is one thing I couldn't find in the docs:

I already have a library of 5000 photos and 150 videos on my server that sync to my phone with Syncthing to 4 different directories (one for each phone I took the photos on) in Immich. Right now I have that directory as an external library, but I don't think this is the "right way."

My goal:

  • No duplicates between phone app and desktop app
  • Don't have to re-upload every image from my phone as my network is 100/30 mbps
  • Am able to manage my photos from the Immich app and web app (deleting photos that will propagate between devices)

Can I just map the "Upload" folder to that syncthing photo base folder and get parity between my phone and my server? Or do I have to re-upload everything from my phone? Or am I waiting for a feature that doesn't quite exist yet? I noticed some feature discussions about photo hashing and de-duplication.

I tried asking in a discussion on the repo, but nobody answers those much.

[-] JustEnoughDucks@feddit.nl 80 points 1 year ago

Even musk paying 30% in taxes is such a misnomer too. He accrued like 80 billion in assets during that time and just borrows money tax-free based off that imaginary asset valuation and can essentially have unlimited tax-free money as his assets appreciate...

Props to littlejohn

80
submitted 1 year ago* (last edited 1 year ago) by JustEnoughDucks@feddit.nl to c/linux_gaming@lemmy.ml

For the past few months or so, steam precaching has been out of control. I have to download between 10 and 30 GB of shader precache data per day. That is extremely ridiculous. Steam's shader caches are quite often almost as large as the game itself. For example: the image here is a game that is ~7GB for the full game, downloading 10GB of shader precache. If I download an average of 30GB of shaders per day, then that is almost 1TB of data downloaded written per month just in shaders...

Not to mention that games I play regularly like CS2 get a precache update literally every 2 days that is 5-10GB and if I manage to cancel it, there is 0 difference in performance at all.

Also fossilize replay that takes 20%-50% CPU load, sometimes for an hour and is the single highest user of disk IO on my entire system. I would be concerned about SSD wear if it was during the early times of ssd just because of the massive amount of writes.

I'm all for downloading shader precaching, but at normal intervals of after updates, not just randomly every few days when there hasn't been a game update in months or years. I don't want to delete all of my games because I only have 100/30 internet, so it would take me a long time too redownload games.

Has anyone else been seeing these ridiculous intervals and datasets of shader cache? Could there at least be a selective pre-caching setting only for games that I play regularly so I am not caching shaders for games that I haven't played in 2 years?

[-] JustEnoughDucks@feddit.nl 420 points 2 years ago

Well this article is pretty disingenuous...

  1. The distribution "managed by a single person" depends on hundreds of people working on different sofware to keep up. It's not "one person doing better than the thousands of Microsoft employees combined" implication they are pushing

  2. Windows 11 beat the linux distros by up to 20% in 1% lows which are argued as much more important by most tech reviewers. It wasn't consistant at all which means that there was a giant margin of error.

I love linux and linux gaming has gotten radically better, but I am tired of tech "journalism" literally just cherrypicking, misleading, clickbait trash.

[-] JustEnoughDucks@feddit.nl 65 points 2 years ago* (last edited 2 years ago)

Bezos pledged 40 billion (maybe 20, can't remember) I believe in 2019.

To date he has actually donated less than $200 million of it IIRC to any climate-related funds.

It's just a bold face lie, not even taking his own charity scams into account.

Edit: also side rant: I have gotten a lot of wallstreetbets armchair investors in the past saying "b-b-but muh liquid vs assets, he would crash amazon stock."

Bezos has liquidated a minimum of $12 billion per year without even a slight blip in amazon stock. PLENTY to fulfil his pledge. People don't understand the scale of sold shares. The stock market is completely speculative bs. If he liquidated every stock of amazon in a short time after an anouncement like this, investors would absolutely speculate that it would recover, the price would lower for a week or so while every hedge fund in existence rushes to buy every single stock that they have and voila, it would magically recover within a month and bozo would not be a complete lying scumbag. It would probably cause him to be audited though which is every bilionaire's nightmare because they have all done such shady things and dodges so many taxes for so many years. At least if the IRS had any balls.

8

I just started playing rimworld a week ago.

My first colony all died. I was researching drug policy and starting geothermal and blowback weapons, I was getting raided every couple of days and had 0 wind so I had to prioritize those. Suddenly, the plague infects 5 of my 6 people. 2 people survive with the least skills. Cassandra: Adventure difficulty. I followed all of the healing and rest guides and 1 person with the plague survived. This first time I got a few turtles and had major problems with 300+ turtles eating all of my food and unable to slaughter them as fast as they were spawning

I started a new colony also with Cassabdra: Adventure difficulty. I just reached the exact same point. Drug policy not done, this time not even geothermal or blowback done (so I would say early game). Plague. This time only 2 out of 6 die. Not bad. I survived.

NOPE: 2 days later, nuclear fallout and everyone has to stay inside for what? Months? Luckily I have only 1 turtle so I have 1000 rice and 1000 various meats built up in my much larger freezer with a open door chimney. Should be able to wait it out.

NOPE: the second day of fallout I had a multi-day solar flare knocking out all of my fridges.

Luckily the power came back before all of the meat spoiled and I got a mad muffalo for extra food.

I still don't know how to protect my chickens in the pen because I can't set a zone, but they seem to by chance sleep under the roof every few days and reduce their radiation. I don't have the available power or components to switch to indoor farming with sunlamps (and hydroponics not researched yet) so I might be screwed if my food runs out.

I read online "plague is a very unlucky roll early-mid game" and I got it twice in a row lol. Plus a toxic fallout immediately after. Sometime this game just decides to come and get you.

1
submitted 2 years ago* (last edited 2 years ago) by JustEnoughDucks@feddit.nl to c/selfhosted@lemmy.world

Hey lemmings,

I have a headless server that works beautifully. B450 with 2700X and 32GB of micron 3200MHz RAM.

I am currently running Debian 12 Bookworm on it. I am at kernel 6.1, but in preparation for 6.2 or 6.3 being backlogged, I want to buy an Arc A380 for transcoding since they are only 150€ here. Software was fine for a single video stream, but I bought a new house and will have 4 camera streams running. Plus I want to dabble in AV1 transcoding for media or storage of my camera streams

Currently there is neither X nor Wayland installed since it is exclusively with SSH that I do all of my work on it. After I install the GPU, I was wondering if it is possible to not even install X or Wayland since I will literally never use a display on it?

Would I still be able to do Jellyfin and Frigate transcoding without an X server? If I have to get one, does it matter if I choose X or Wayland for hardware transcoding?

Thanks!

view more: next ›

JustEnoughDucks

joined 2 years ago