Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

A tale in 3 pictures.

Uncategorized
46 41 0

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    2 Views
    Commitin programming crimes }:->Few weeks ago I seriously looked to the mine OpenHAB installation and asked a question for myself: "Am I really need it?" Look, I have a few ZigBee devices, which are connected to the my server with the help of ZigBee2MQTT. Thusly, all necessary values and knobs are accessible through the MQTT topics.And I'm using the OpenHAB (big Java application which eats ton's of RAM and constantly swapping) just to:1) Read values from MQTT topic2) Read weather forecast from Open-Meteo through simple REST API endpoints3) Store all the data to the PostgreSQL DB.4) Display these data in the nice Web page which works only in browsers with JS engine.So, basically, I trade tons of RAM and processing power just for a nice web-page with few indicators. While retrieving data from my ZigBee devices processed by the another service.After that thought, I started to think about replacing this monster with small hand-written program, which will not eat 700 MB of RAM. Just Nginx, small FastCGI script on C, which will read values from DB and display them on the simple HTML page. And another small daemon (also written in C) which will take data from MQTT topic (and from REST API of Open-Meteo) and will write them to the DB. And possibly some PGSQL procedures to analyze these data.At least I'll have fun #programming #C #smarthome #selfhosting
  • 0 Votes
    1 Posts
    7 Views
    Did a guest spot in a business class on Monday and happened to talk gpts with them too.While my programming students may be trying LLM's, they easily see the mistakes and risks to their own understanding.The business students, all 100% on board with the autocomplete, didn't even have thoughts that it wasn't always right or leading them on paths that didn't make sense.I went back to the programming students and reminded them that is how a lot of the users think of tech, the search result is always trustworthy, the feed is safely curated. Now they understand the world better.#programming #college #diploma #business
  • 0 Votes
    1 Posts
    11 Views
    In 2025 AI still requires you to watch it do it's work and catch it early before it goes fully off the rails, like driving a Tesla. That's impossible in the github UI. It doesn't help that the MS engineers are shit a prompting ("tests are failing, please fix" is way way too vague) but the whole idea of doing it through github is doomed from the start.
  • 0 Votes
    1 Posts
    15 Views
    Have you heard of @nlnet? They financially support organisations & people that contribute to an open internet for all since 1997 (& they historically contributed to the early internet in Europe in the 1980s!).If you're working on a project that "helps fix the internet through open hardware, open software, open standards, open science and open data", you can apply for a grant on their website:https://nlnet.nl/#opensource #foss #oss #tech #technology #programming #coding #openinternet