IsoKiero

joined 2 years ago
[–] IsoKiero@sopuli.xyz 22 points 2 days ago

the terrorists are actually the lesser evil

"One man's terrorist is another man's freedom figher."

[–] IsoKiero@sopuli.xyz 7 points 3 days ago

And Finnish version. Also available in English.

[–] IsoKiero@sopuli.xyz 5 points 4 days ago (1 children)

I think it was some XMPP related server I ran quite a few years ago which had 'i_have_read_the_manual = 0' or something similar buried into default configuration file. And it would just silently exit if that variable was not set properly.

Maybe we need more things like that.

[–] IsoKiero@sopuli.xyz 13 points 6 days ago* (last edited 6 days ago)

Don't know what Elmos minions are doing, but I've written code at least equally unefficient. It was quite a few years ago (the code was in written in perl) and I at least want to think that I'm better now (but I'm not paid to code anymore). The task was to pull in data from a CSV (or something like that, as I mentioned, it's been a while) and it needed conversion to XML (or something similar).

The idea behind my code was that you could just configure which fields you want from arbitary source data and on where to place them on the whatever supported destination format. I still think that the basic idea behind that project is pretty neat, just throw in whatever you happen to have and have something completely else out of the other end. And it worked as it should. It was just stupidly hungry for memory. 20k entries would eat up several gigabytes of memory from a workstation (and back then it was premium to have even 16G around) and it was also freaking slow to run (like 0.2 - 0.5 seconds per entry).

But even then I didn't need to tweet that my hard drive is overheating. I well understood that my code is just bad and I even improved it a bit here and there, but it was still so very slow and used ridiculous amounts of RAM. The project was pretty neat and when you had few hundred items to process at a time it was even pretty good, there was companies who relied on that code and paid for support. It just totally broke down with even a slightly bigger datasets.

But, as I already mentioned, my hard drive didn't overheat on that load.

[–] IsoKiero@sopuli.xyz 2 points 1 week ago
  1. VM running on a proxmox host. Tips: make sure you know your backups are in a state you can restore data from them.
  2. Nightly backup via proxmox to Hetzner Storage box with 2 day retention. I'd like a local copy too but I don't currently have hardware for it.
  3. Don't know. Personally I have a DNAT rule on firewall and my instance is directly open to the internet. You might not want that and I might not recommend it, but right now, for me, it works. I'd need to look in a VPN solution for android I could replace the current 'open for all' situation.
[–] IsoKiero@sopuli.xyz 9 points 1 week ago

And don't you dare to forget wear a very nice suit and say thank you to everyone you see.

[–] IsoKiero@sopuli.xyz 1 points 1 week ago

Actual shortage. Performance drops significantly when zfs doesn't have enough memory. It might have been an option to tweak configuration for zfs pools, add SSD for caching and so on, but I needed to change drive configurations anyways for other reasons so for me it was easier to drop zfs and switch to software raid.

[–] IsoKiero@sopuli.xyz 2 points 1 week ago (3 children)

How much RAM your system has? Zfs is pretty hungry for memory and if you don't have enough it'll have quite significant impact on performance. My proxmox had 7x4TB drives on zfs pool and with 32 gigs of RAM there was practically nothing left for the VMs under heavy i/o load.

I switched the whole setup to software raid, but it's not offically supported by proxmox and thus managing it is not quite trivial.

 

Pörssisähkön hinta alkaa olla yhtä relevantti keskustelunaihe kuin vallitseva säätila, tai ainakin siitä valittaminen on. Tässä kun olen tuskaillut kotiautomaation laajentamisen suunnittelua niin ensin tulee vastaan lompakko ja toisena tuo pörssin lyhyt aikaväli jolla voi todellista hintaa vastaan tehdä liikkuja.

Omassa mökissä on 90-lukulaista lattialämmitystä karkeasti 4kW, lämminvesivaraajassa muutama kilowatti ja pari ilmalämpöpumppua (toinen autotallissa).

Etenkin noiden lattialämmitysten kanssa tahtoo kuitenkin olla ongelma että ne reagoivat hyvin hitaasti suuntaan taikka toiseen. Ja toinen ongelma on, että ainakin toisessa lattialämmityspiirissä lattian lämpötilan anturi on hyvin lähellä vastuksia, joten "mittarilämpötila" nousee paljon nopeammin kuin koko lattialaatan keskimääräinen lämpö. Ja lisäksi tuohon lattialämmön tehokkuuteen, tai ainakin sen tunteeseen, vaikuttaa merkittävän paljon ulkoilman lämpötila.

Eli tuo 24h mitä sähkön hintaennustetta saa eteenpäin (ja senkin vain sykäyksissä) on valitettavan lyhyt pätkä minkä varassa tehdä päätöksiä, joko automaatilla tai manuaalisesti. Lyhyet piikit saa toki suodatettua pois, samaten kuin halvat yötunnit saa näppärästi hyödynnettyä kun päivällä voi antaa tilojen huoletta jäähtyä sillä oletuksella että illasta voi taas pistää täyden pöhinän päälle.

Mutta ettei yhtälö olisi liian helppo, jotta tästä kokonaisuudesta saisi parhaan hyödyn irti niin tuota lämmön varaamista/lämmityksen katkaisua pitäisi tehdä paljon pidemmällä kuin 6 tunnin syklillä.

Ja siihen löytyi netistä linkin mukainen sivusto. Ihan hirvittävän syvälle en ole tuohon paneutunut, mutta ainakin kevyehköllä pintaraapaisulla vaikuttaa ihan lupaavalta. Ja lisäbonuksena vielä avointa lähdekoodia.

[–] IsoKiero@sopuli.xyz 5 points 2 weeks ago

Robbers roast (rosvopaisti) in Finland. I suppose other countries have something similar, but it's a piece of meat cooked in a ground oven. First dig up a small hole, line it with rocks, keep bonfire going in the hole for couple of hours, scrape the coals out and put meat wrapped in parchment paper, wet newspapers and foil in to the hole, fill it with sand and set up a new bonfire on top of the sand. Throw onions, garlic, carrots and whatever you like to accompany/season the meat while you're at it. Things like potatoes or sweet potatoes doesn't really work as they just turn into a mush, at least unless you individually wrap them, but the process isn't consistent enough, just cook whatever sides you want separately.

With meat include pieces of fat on top of it and season however you like. It's traditionally made out of lamb, but I prefer cow (or moose if it's available). Pork works just fine too. The whole process takes 10-12 hours, so it's not for your wednesday dinner, but it's very much worth the effort.

When the weather is good and you do it right the meat just breaks down and you'll almost need a spoon to eat it. Absolutely delicious. And as you have bonfire going for all day you can cook sausages on a stick and have a 'few' beers while feeding the fire. It's an experience with absolutely delicious food in the end.

Just be careful that you don't pass out on all the beer while cooking and miss the fun part.

 

Suomen Teollisuussijoitus (Tesi) teki kuitenkin viime vuoden syksyllä ison selvityksen suomalaisten yhtiöiden pärjäämisestä aikana, jolloin turvallisuuspolitiikassa on nähtävissä nopeita käänteitä.

Tesi tunnisti yhteensä 368 puolustusalan yritystä, joista noin 144 on voimakkaasti kasvavia yhtiöitä. Yhtiöiden liikevaihto kasvoi vuoden 2021 ja vuoden 2022 välissä lähes 84 miljoonaa euroa.

[–] IsoKiero@sopuli.xyz 13 points 2 weeks ago

Advertisers, stock prices, inverstors and other stuff like that. As in "losing money".

[–] IsoKiero@sopuli.xyz 5 points 2 weeks ago

I mostly use battlestar galactica ship names for my own hardware, but it's been mixed with boring '.mydomain.foo' names as well. I should rename a bunch of stuff around and include them in my DNS.

 

Väistykää Ainot, Einot ja Väinöt! Nyt tulevat Iduli, Tepionni ja Cruella.

Ne ovat nimilautakunnan viime vuonna hyväksymiä etunimiä, samoin kuin Eikkara, Jiipee, Kangasmustikka, Oleva, Piina ja Ragimund.

Lapsiparat.

 

Viestisovellus Signal aikoo lähteä Ruotsista, mikäli maan hallituksen suunnittelemat muutokset viestipalveluihin menevät läpi, uutisoi Ruotsin yleisradioyhtiö SVT.

Lakiesityksessään Ruotsin hallitus haluaa velvoittaa viestisovelluksia, kuten Signalia ja Whatsappia, tallentamaan kaikki sovelluksen kautta lähetetyt viestit.

Esityksen tarkoituksena on, että esimerkiksi poliisi voisi pyytää rikoksesta epäiltyjen henkilöiden viestihistoriaa nähtäville jälkikäteen.

Signal-säätiön puheenjohtaja Meredith Whittakerin mukaan lakimuutos tarkoittaisi sitä, että sovelluksen olisi luotava niin sanottu takaportti viranomaisten käyttöön.

– Jos tämä toteutuu, lähdemme Ruotsista, hän sanoo Ruotsin yleisradioyhtiö SVT:lle.

 

Youtubelinkki on Technology Connections -kanavalle. Voi olla että menee vähän huti c/suomen ohjeistuksista, mutta silläkin uhalla että QuentinCallaghan tai tieluohan ampuvat viestin alas, yksi eniten arvostamiani youtube-sisällöntuottajia puhuu siitä miten algoritmit muokkaavat meitä ihmisinä ja että miksi algoritmeista vapaat alustat ovat tärkeitä.

Ainakin omalla kohdalla osui ja upposi. Instagramin syötteitä tulee rullattua aivan liikaa ja vaikka niitä miten yrittää hallita niin aika-ajoin saan itseni kiinni milloin mistäkin kaikukammiosta johon en ole tietoisesti ryöminyt.

Fediverse onneksi maadoittaa tilanteen aika hyvin ja taas tuli yksi potku takapuoleen miksi erilaisten somesisältöjen seuranta pitäisi siirtää aivan johonkin muualle kuin mitä nykyään tulee käytettyä. IG:n pudotus tulee olemaan kohtuullisen helppo mutta youtuben puolella on paljon laadukastakin tavaraa mitä tulee seurattua ja sille ei valitettavasti ainakaan vielä ole varteenotettavaa vaihtoehtoa. Nebula yrittää puskea vastaan ihan hyvin, mutta ei sekään mikään taikakonsti ole, niinkuin ei ole mikään muukaan vaihtoehtoisista alustoista.

Itse taidan ainakin toistaiseksi jatkaa samaa rataa ja pitää mielessä että ne "suositellut sinulle" -linkit on ensisijaisesti sille alustan ylläpitäjälle tapa "pakottaa" jatkamaan selaamista eikä mikään "hei sinua saattaisi kiinnostaa asia x" suosittelu.

Raha puhuu, kysymys alkaa olla lähinnä siinä että onko ihmiskunta kokonaisuudessaan riittävän valveutunut asialle vai huudellaanko jatkossa vain tekoälylle että generoi minusta 10 vuotta ja 20 kiloa kevyempi valokuva ja lähtetä se sosiaaliseen mediaan tykkäyksiä tavoittelevalla otsikolla.

 

Osapuolten mukaan hyväksytty palkkaratkaisu tuo teknologiateollisuuden työntekijöille kolmen vuoden aikana yhteenlaskettuna 7,8 prosentin palkankorotukset.

 

Iltalehtilinkki, jutun leipä suunnilleen tässä:

Valtiovarainministeri Riikka Purra (ps) ihmetteli sunnuntaina viestipalvelu X:ssä lakanaa, joka nähtiin viime torstaina lukion abiturienttien penkkariajelulla Helsingissä.

Lakanassa oli teksti ”ei riemulla rajaa, kun Purran leikkaukset Mäkkärin kassalle ajaa”. Lakanaan oli myös piirretty kärttyisä Purra ja apeamielinen McDonald’sin työntekijä.

Purra kirjoitti aluksi luulleensa, että lakanassa vastustettiin ajatusta siitä, että leikkausten takia joutuisi ostamaan ruokaa McDonald’sista laadukkaamman ravintolaruoan sijasta.

Lakanan todellinen viesti aukesi Purralle vasta myöhemmin.

– Mutta siis siinä ollaankin huolissaan siitä, että pitäisi mennä töihin Mäkkäriin. Siis noin 19-vuotiaat abit ovat huolissaan töiden tekemisestä hampurilaisravintolassa. Tai irvailevat ajatuksella – minulle, joka siis olen ollut Mäkkärissä töissä.

– Mistä tuollainen ylimielinen asenne hyviä nuorten työpaikkoja kohtaan tulee? Onneksi tunnen muunkinlaisia nuoria, Purra ärähti.

Ja jatkuu toisessa jutussa: Riikka Purra hermostui penkkarilakanasta – Nyt puhuu lakanan suunnitellut opiskelija:

– Musta tuntuu, että Riikka [Purra] itse oikeasti ymmärsi, mitä siinä haettiin ja halusi tahallisesti käsittää väärin.

Mäkinen katsoo ministerin ymmärtäneen siis lakanan viestin väärin. Mitä teoksella sitten haluttiin sanoa?

– Tietenkin siinä kritisoidaan leikkauksia opiskelijoiden tuista, Mäkinen sanoo.

Hän huomauttaa, etteivät opiskelijat missään tapauksessa kritisoi työntekoa itsessään.

– Meistä kaikki on kyllä tehnyt töitä ja tekee jatkossakin. Enemmän kyse on siitä, että moni joutuu nyt oikeasti miettimään, voiko opiskella ollenkaan. Mietitään, täytyykö pitää välivuosi töitä tehden, jotta on varaa opiskella, Mäkinen sanoo.

 

So, I've been pushing my photos to local immich-instance and I'll need some kind of file storage too soon, total amount of data is roughly 1,5TB.

Everything is running on a proxmox server and that's running somewhat smoothly, but now I'd need to get that backed up offsite. I'm running a VPS at Hetzner and they offer pretty decently priced S3 storage or 'storagebox' which is just a raw disk you can connect via SMB/NFS and others.

Now, the question is, how to set up automated backups from proxmox to either of those solutions? I suppose I could just mount anything to the host locally and set up backup paths accordingly, but should the mount drop for whatever reason is proxmox smart enough to notice that actual storage is missing and not fill small local drive with backups?

Encryption would be nice too, but that might be a bit too much to ask. I have enough bandwidth to manage everything and after initial upload the data doesn't change that much, the only question is what is the best practise to do it?

 

In my house I have 3 circuits of floor heating elements, each is connected to single phase (230V) 16A fuse and on one of them I have Heatit Z-TRM3 connected via z-wave to my home assistant. Others are manually controlled dumb thermostats.

That thing works, but at least the particular one I got causes a lot of interference to the z-wave network, so I'm a bit hesistant to add any more of those.

Features I must have:

  • Option for a floor temperature sensor. Each thermostat has separate pipe going to the floor and the floor sensor is easy enough to replace, but it is a must have option
  • Air temperature sensor. 2/3 of the heating elements are in a concrete slab and that means that measured temperature of the slab very slowly affects the air temperature, so I need both. ESP32 or equivalent as a separate sensor might be a decent workaround, but I'd rather have both on a single unit.
  • Obviously the 230V 16A capability as that's what they're wired on and even if I don't have 3kW elements on the floor it's what's needed to meet the code
  • Manual controls on the device itself. Should my raspberry pi running home assistant kick the bucket or some other major issue with the automations happens, I still need an option to control the device. And that's a strict requirement, no bluetooth apps on the phone or anything, I must have manual buttons or some other way to control the thing without home assistant or any other smart device.
  • And addition to previous one: No cloud requirement. Allowing the device to the internet for a setup is fine, but in the long run it must be happy in a isolated network without internet connectivity

For the communication I don't really care. I currently have only wifi/z-wave as an option, but if there's something on zigbee which ticks all the boxes I can invest in a usb-dongle or a hub.

Price is obviously a concern, but it's hard to set any strict boundaries. I won't throw a 1000€ for a thermostat, but anything even remotely reasonable goes.

What are your suggestions for a situation like this?

view more: next ›