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

The software that takes one developer 30 days to create, cannot be developed by 30 developers in 1 day.

Uncategorized
1 1 16

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    1 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
    10 Views
    My favourite experience regarding Wii homebrew so far has to be NetBSD. I wanted to use my Wii as a computer for a while now, and NetBSD being available as an operating system you can install and get going on an SD card and a Wii with the HBC is definitely the highlights of my Wii homebrew experience. I don't use my Wii much at the moment, as I don't even have a monitor I can use for my Wii yet, but I have used it for a while on a TV and it was nice.Networking is a bit hard, at least on the Wii however. I tried to get WiFi included in as a Wii image of NetBSD to burn, this was during my time on FreeBSD, and I just couldn't compile it. I was doing something weird where I would alternate between GCC and clang but that would have been a waste of time once it got to booting.Other than that, it was nice writing a fetch program entirely written in C using vi and man pages to get by. It was a nice break from writing things without an LSP to help, although I still love using modern features many editors provide, obviously excluding AI, so I will stick with that. I also found that Lua existed on it which definitely helped whenever I didn't want to write C.First *BSD post in a while, as I forgot to talk about the time I used NetBSD. I'll probably talk about Linux more at some point but I wanted to talk about *BSD a little again. Try NetBSD if you get the chance!#netbsd #homebrew #wii #tech #computers #programming
  • 0 Votes
    2 Posts
    10 Views
    @treyhunner I work for a big tech with a lot of LLM availability. It actually *has* helped my Python programming. We are also forced to use it for text generation for things like quarterly goals, employee reviews and more. It is useful but requires a critical user and is never a shortcut. That said, as a human, I value process over product, and I think LLM represents everything wrong about capitalism and how it regards human beings.
  • 0 Votes
    1 Posts
    9 Views
    Yeah ok so my experiment was successful, and my toy raytracer now runs on JIT-compiled "shaders" lmao#programming #rust #raytracing #retro