@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.
#bergen - nordisk by nature.

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

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.

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 😄

forteller, to investing
@forteller@tutoteket.no avatar

I don't love the idea of my money going to fund the companies destroying the world, but most mutual funds seems to do that, and the banks, who knows what they do?

So I've started a bit of my money in solar panel infrastructure trough . They show me exactly where my money goes, and to what: Installing rooftop solar!

I'm supposed to get my money back w/interest, but there's ofc a risk. But the risk from investing in world destroyers is worse, IMO.

https://trine.com/just-invested/270283

fm_volker,
@fm_volker@mastodon.social avatar

@forteller Interesting...I just don't have that much faith in the IT (being in IT myself)...waiting 5+ years for a loan to mature...I'll probably have forgotten about Trine by then and they'll just go walk-about with my "forgotten" pocket change over there. Let me sleep over it...

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.

fm_volker, to apple
@fm_volker@mastodon.social avatar

How to make Steve Jobs rotate in his grave (video of Apple Mail UI). #uifail #apple

Video of Apple Mail UI changing as the moues pointer approaches an icon.

dabeaz, to random
@dabeaz@mastodon.social avatar

Thought: It'd be kind of interesting if your editor made some kind of droning sound, the intensity of which was proportional to the number of bugs present.

fm_volker,
@fm_volker@mastodon.social avatar

@dabeaz How about playing a beep every time you execute a line with a warning (in the IDE, or from analyser)?

Now that sounds like a fun project!

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…

simontatham, to random
@simontatham@hachyderm.io avatar

My Blu-ray of Dune Part 2 was delivered. The polythene wrapping on the case was rather tight, so I had to use the point of a knife to get into it.

I thought that approach lacked artistry, but I didn't let that stop me.

fm_volker,
@fm_volker@mastodon.social avatar

@simontatham But was it a slow knife?

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.

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? 😄

jpmens, to random
@jpmens@mastodon.social avatar

"Bill could let Trump shut down news outlets"

who is this Bill chap?

I've always wanted to do that

fm_volker,
@fm_volker@mastodon.social avatar

@jpmens Bill Posters, as in in … Will Be Prosecuted.

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
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?

tomayac, to homeassistant
@tomayac@toot.cafe avatar

🌐 I'm embarrassingly bad at this, so hoping for help: if I want to access my #HomeAssistant 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 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.

tomi, to proxmox

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

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

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 #YAML 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 #fediverse. 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 #fediverse #homeassistant #Proxmox #yaml

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.

jpmens, to random
@jpmens@mastodon.social avatar

deleted_by_author

  • Loading...
  • fm_volker,
    @fm_volker@mastodon.social avatar

    @jpmens 🍿

    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

    larsmb, to random German
    @larsmb@mastodon.online avatar

    Die 2x fermentierte (zusammen mit Bananen) Kidavoa von ist extrem lecker und einzigartig und mir ist etwas unklar, warum es diese nur als Kuvertüre und nicht als Schokolade gibt.

    fm_volker,
    @fm_volker@mastodon.social avatar

    /me takes notes.

    @larsmb

    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

    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 ...

    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.

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