@fm_volker@mastodon.social avatar

fm_volker

@fm_volker@mastodon.social

Unprofessional takes on CompSci and other things. Sub-tooter at https://fediscience.org/@selabhvl.
https://λ.foldr.org/~vs/ forthcoming. Relapses into #FreeBSD.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

jpmens, to random
@jpmens@mastodon.social avatar

"The content of this PR has been created entirely using a custom fine-tuned AI model."

https://github.com/spring-projects/spring-boot/pull/39754

fm_volker,
@fm_volker@mastodon.social avatar

@jpmens 🍿

dabeaz, to random
@dabeaz@mastodon.social avatar

Kid apparently has to give some kind of "TED" talk in English class today. I asked if it could be combined with something from Chemistry class, say thermite. Apparently not. So, what's the freaking point then?

fm_volker,
@fm_volker@mastodon.social avatar

@dabeaz There was a chart sailing through here a day or two ago detailing statistics about types of death in Shakespeare’s works…maybe useful in another year or two?

tomi, to proxmox

(Link to the original blog post with a proper layout)

It’s a pity that doesn’t report CPU and other temperatures to .

I had several freezes of my old laptop that runs Proxmox due to a stuck CPU fan. I googled a bit and found an elegant solution for temperature reporting: a command_line sensor.

Nevertheless, it took several hours to configure it correctly (I forgot how to deal with ssh keys and similar).

This is the end result:

home assistant cpu temperature sensor chartThe procedure:

  1. I installed the ‘Terminal & SSH’ add-on in to home assistant.
  2. I created SSH keys, put them into /config/.ssh folder, and copied to my proxmox server. Read these instructions. I’ve put something like this in my HA Terminal addon:
$ mkdir /config/.ssh$ ssh-keygen <em># generated ssh keys and when asked, i enter the folder /root/config/.ssh</em> $ ssh-copy-id -i /root/config/.ssh/id_proxmox root@MY_PROXMOX_IP <em># copy keys to my prox server</em>$ ssh root@MY_PROXMOX_IP <em>#try out if I can log on without password prompt, then exit</em>
  1. I had to find out where my proxmox stores temperatures. I ssh’ed to my proxmox again, browsed folders and looked into files which one store temps. My AMD laptop stores it in /sys/class/thermal/thermal_zone0/temp.

It could be also …/thermal_zone1, 2, 3 or similar.

  1. Then I pulled temperature data via SSH to HA terminal:
$ ssh -i /config/.ssh/id_prox -o StrictHostKeyChecking=no -q root@YOUR_PROXMOX_IP cat /sys/class/thermal/thermal_zone0/temp

The command returned 52000.

Edited my configuration.yaml and added the sensor. This is a working code (as of Apr. 2024). I used tips from here (deprecated sensor) and here.

##################

Temperature proxmox

##################
command_line:
– sensor:
name: temperature_cpu
command: “ssh -i /config/.ssh/id_prox -o StrictHostKeyChecking=no -q root@YOUR_PROXMOX_IP cat /sys/class/thermal/thermal_zone0/temp”
value_template: “{{ value | multiply(0.001) | round(1) }}”
unit_of_measurement: “°C”

After 20 restarts of Home Assistant, it finally shows the proxmox CPU temp.

Bonus: here is a picture my homelab proxmox ‘server’ with external fans (because CPU fan is not working).

https://blog.rozman.info/wp-content/uploads/2024/04/20240415_081455-1024x576.jpgBonus #2: A hypothesis: Fediverse is causing global warming! 😉 😉

When I publish a blog post, the WordPress Activitypub plugin delivers the post to the . This causes the CPU to heat to 75C+. I know it now, because I can track its temp. in HA.

The hypothesis is confirmed.

temperature chart of the CPU, a spike is detected at blog publish time, because of activitypub pluginhttps://blog.rozman.info/proxmox-server-temperature-tracking-in-home-assistant/

#2

image/jpeg
image/png

fm_volker,
@fm_volker@mastodon.social avatar

@tomi Wouldn't it make more sense to run SNMP instead and get the whole shebang from the host OS in one go?

fm_volker,
@fm_volker@mastodon.social avatar

@po3mah @tomi I see. I tried that integration just today, and was a bit underwhelmed that it only delivers "VM up Y/N" -- or are there different integrations? I used proxmoxve.

bagder, to random
@bagder@mastodon.social avatar

Daniel's weekly report April 6, 2024

https://lists.haxx.se/pipermail/daniel/2024-April/000058.html

xz, c-ares, GHA, regressions, crypto, email, tracing config

fm_volker,
@fm_volker@mastodon.social avatar

"I was offered 2000 USD funding to the curl project, via a crypto currency and
an elaborate setup. I told them we happily accept funding but only as "real
money". They then declined to fund us." -- good riddance!

#curl @bagder

tomayac, to homeassistant
@tomayac@toot.cafe avatar

🌐 I'm embarrassingly bad at this, so hoping for help: if I want to access my from remote based on some sort of dynamic DNS address, what port openings, forwarding rules, Windows firewall settings, etc. do I need to adjust and at what component to make this work based on the setup in the slide: https://docs.google.com/presentation/d/115ovKcq2rSqks2f_MeV7NDqrkS3rxB_XqvqJD-HIQFs/edit?usp=sharing&resourcekey=0-LEm6we2P2x7_a13YbbALmA. Thanks in advance for your expertise!

fm_volker,
@fm_volker@mastodon.social avatar

@tomayac Not 100% sure how you have configured the Nest/why your wifi is in the .86.-subnet and not in the .1. that falls out of the router?
I hope you didn't accidentally configure a double-NAT. Short checklist:

  • make sure that HA has an IP that is pinned down on the DHCP-server (is that the router or the Nest?)
  • start with forwarding 8123 from the router to HA:8123, that should be enough.

1/n

fm_volker,
@fm_volker@mastodon.social avatar

@tomayac It's true that for outgoing traffic double-NAT is not a problem (except conceptually annoying ;-). But if you have it, then incoming you'd need two forwarding rules, one from the Huawei to the Nest, and another one from the Nest to HA, because you can't reach HA directly from the router.

fm_volker, to random
@fm_volker@mastodon.social avatar

@root42 "Vergänglichkeit des Digitalen: Wie das ZKM Karlsruhe elektronische Kunst sichert" https://www.tagesschau.de/multimedia/video/schnell_informiert/video-1311734.html

Dein Traumarbeitsplatz? 😄

xahteiwi, to random
@xahteiwi@mastodon.social avatar

There's a special place in hell for someone who thinks it's a good idea for a Cancel button to pop up a confirmation dialog, of which the two available options are OK and Cancel.

fm_volker,
@fm_volker@mastodon.social avatar

@xahteiwi That place is already taken. I don't even ...

jonny, to random
@jonny@neuromatch.social avatar

I actually think it would sort of rock if someone made it structurally unsafe to default host things on amazon by selectively making renting s3 buckets obscenely expensive by pointlessly scraping from them all the time

fm_volker,
@fm_volker@mastodon.social avatar

@jonny Or at least it would force people to develop adequate strategies (rate limiting etc) that would also be useful in different settings, because even if the data is not in S3, the cost has to be SOMEWHERE, maybe behind/on your uplink, and you'd need to defend there as well.

arstechnica, to random
@arstechnica@mastodon.social avatar

Rejected chips, hidden microSD cards plague the USB stick market

Your stash of freebie USB sticks is perhaps even less reliable than you thought.

https://arstechnica.com/gadgets/2024/02/rejected-chips-hidden-microsd-cards-plague-the-usb-stick-market/?utm_brand=arstechnica&utm_social-type=owned&utm_source=mastodon&utm_medium=social

fm_volker,
@fm_volker@mastodon.social avatar

@arstechnica 16TB are just 3 SD-cards in a trenchcoat.

fm_volker, to random
@fm_volker@mastodon.social avatar

Does anyone know what Apple's software engineers are actually doing at work? Here's how you win a free "Force Quit" of System Preferences:

  1. in System Preferences/Accounts, open the Add Exchange Account dialog
  2. at the password-prompt, use Spotlight to open Sonoma Passwords to look up the passwords
  3. In Passwords, copy the password into the clipboard.
  4. Oh, the Exchange-dialog was a modal, go back to Internet Accounts.
  5. The Exchange dialog is gone, System Prefs locks up hard 1/n
fm_volker, to homeassistant
@fm_volker@mastodon.social avatar

#homeassistant is rejecting pull-requests that touch config options on projects that still use the old configuration.yaml-way, insisting on a #refactoring first.

Ii will be interesting to see how this is going to play out for them long-term. That's probably the only way to muster the required effort for refactoring the codebase, but I wonder how many necessary updates won't get done.

I'm trying to recall if we ever had something similar in the #FreeBSD ports-tree...don't think so. 1/n

fm_volker, to macos
@fm_volker@mastodon.social avatar

The latest MacOS (Sonoma) Calendar-vs-Exchange fsckery is really taking a toll on (my) productivity: calendars just don't sync, workarounds on SoMe do not really seem to work.

Not sure if this gives me plausible deniability for skipping a meeting or two...

It's about time the Apple and Microsoft get a slap on their wrists there.

#Macos #exchange

jwildeboer, (edited ) to random German
@jwildeboer@social.wildeboer.net avatar

"Immer gleich mit Quellcode da —GNU slash Antifa" #AntifaSticker

fm_volker,
@fm_volker@mastodon.social avatar

@jwildeboer "Immer gleich ... -- GNU Liiih Nux Slash Antifa" reimt sich besser 😄

fm_volker, to homeassistant
@fm_volker@mastodon.social avatar

on is such a mess -- so many different options: ZHA, , and now I've discovered the -way!

The good thing is that you can cover different use cases, but OMG there must be soo much churn & duplication! I hope there are also synergies, like I learned from Z2M how to OTA "manually" via ZHA.

Next task: look around if anyone's made a chart comparing the different options.

fm_volker,
@fm_volker@mastodon.social avatar

@larsmb I wanted to go with ZHA — again, after switching to a new RPi4. But surprisingly, this time in HAOS, ZHA falls over the Raspbee 2 TTY, whereas the DECONZ-add on (also a container) has absolutely no issues.

larsmb, to random
@larsmb@mastodon.online avatar

Whenever a platform or system only offers the "see less often" or "remind me later" options rather than a "No thanks", I assume the UX was done by a (potential) rapist.

Thanks for coming to my TED talk.

fm_volker,
@fm_volker@mastodon.social avatar

@larsmb Harsh.

phocks, to til
@phocks@bne.social avatar

#TIL certain decimal numbers like 0.1 cannot be exactly represented in binary and that's why we sometimes get strange answers in JavaScript and other programming languages when we try to do arithmetic with decimals. eg. Why does 0.3 + 0.6 = 0.89999999999999991 🤯https://www.exploringbinary.com/why-0-point-1-does-not-exist-in-floating-point/

fm_volker,
@fm_volker@mastodon.social avatar

@larsmb @secupriv @phocks I’m wondering if advertising this more widely within HA could have a broader educational effect…let me see if i can write up something to that effect after the holidays. Or is this mentioned anywhere already? Is there maybe already a comparison operator with a given epsilon…

forteller, to random
@forteller@tutoteket.no avatar

How hard would it be to make your own digital photo frame, where multiple people can easily share photos that show up in the "frame"?

Would you need a single board computer and a server and tons of knowledge about databases, or could you just install an app on an old tablet, for example?

#askfedi

fm_volker,
@fm_volker@mastodon.social avatar

@forteller Write up the actual requirements (when/who should be able to delete photos? should this work remotely or just in proximity? ...) and I'll turn this into a Bachelor-project next year at #HVL :-)

(Because I dabble in server-less stuff.)

But I would almost assume that some solution already exists somewhere, and an ESP32 might almost be enough, I'd guess.

jwz, to random
@jwz@mastodon.social avatar

The War on Screen Savers Continues Apace.

RHEL 10 will no longer support XScreenSaver:

With this, we've decided to remove Xorg server and other X servers (except Xwayland) from RHEL 10 and the following releases. Xwayland should be able to handle...
https://jwz.org/b/ykGb

fm_volker,
@fm_volker@mastodon.social avatar

@jwz I always thought of XScreenSaver being part of the demo-scene anyway.

fm_volker,
@fm_volker@mastodon.social avatar

@jwz Okay, I'll bite: people might like it to look at the pretty pictures, not for locking their screens.

juergen_hubert, to random
@juergen_hubert@thefolklore.cafe avatar

I was just robbed for the first time in my life.

Next to a grocery store, two young men asked me if I could change €20 for them. I rummaged in my wallet, and one of the guys distracted me by rummaging in his wallet and discussing what kind of change he needed.

Then the other guy ripped all my banknotes out of my pocket, and they ran away. Since it was dark, I didn't notice any useful details. I reported this to the police, but don't expect to see those €300 again.

fm_volker,
@fm_volker@mastodon.social avatar

@juergen_hubert Ooooph 😕 Scary. At least no knife involved…

forteller, to norge Norwegian
@forteller@tutoteket.no avatar

Er det egentlig greit at har nedetid overhode? Og spesielt har 9 timer nedetid, slik de skal ha fra i kveld kl 22 til i morgen kl 7? Alle er avhengige av BankID til alt!

fm_volker,
@fm_volker@mastodon.social avatar

@forteller Wow, spicy! Norway's central SSO-solution #BankID (https://status.bankid.no) down for maintenance tomorrow night for whopping 9 hours.

I'm wondering if they really mean the whole platform, or if you will still be able to log in with the code-generator brick...

It's definitely "slow time" for users, but undoubtedly plenty will get bitten by this. And of course all several million users don't get any warning, unless you go to the web-page and check for announcements...

juergen_hubert, to random
@juergen_hubert@thefolklore.cafe avatar

Ich habe auf meiner lokalen Facebook-Gruppe für #Oldenburg gesagt, wo man lokal die #COVID -Impfung bekommen kann.

Warum habe ich das gemacht? 😩

Es hat sich eine wahnsinnige Menge Wut und Hass während der Pandemie angesammelt. Und das geht jetzt auch nicht wieder weg, und trägt zur Radikalisierung der Gesellschaft bei.

Eine Sammlung von Facebook-Kommentaren, die Ablehnung, Witzeleien, und Haß gegenüber der COVID-Impfung ausdrücken.
Eine Sammlung von Facebook-Kommentaren, die Ablehnung, Witzeleien, und Haß gegenüber der COVID-Impfung ausdrücken.
Eine Sammlung von Facebook-Kommentaren, die Ablehnung, Witzeleien, und Haß gegenüber der COVID-Impfung ausdrücken.

fm_volker,
@fm_volker@mastodon.social avatar

@juergen_hubert Cringe 😕

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • ngwrru68w68
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • tacticalgear
  • InstantRegret
  • cisconetworking
  • cubers
  • tester
  • anitta
  • modclub
  • Leos
  • normalnudes
  • JUstTest
  • All magazines