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

Fizz Buzz in 4 lines of CSS: https://susam.net/css-fizz-buzz.html

Uncategorized
1 1 7

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • Hello programmer types,

    Uncategorized retrocomputing programming dev
    2
    0 Votes
    2 Posts
    10 Views
    @prokyonid I'm in roughly the same place, and I've found the 6502/6510, specifically the Commodore 64, has the most/best learning resources and tools, by far. And, its small size and consistency (you'll never have to learn about different video or sound cards, every 64 has a VIC-II and a SID) means a human can reasonably learn and reason about the whole machine.I'll try my hand at other CPUs, eventually, but for now the 64 is the right balance of simplicity and well-documented.
  • 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
    6 Views
    Hello, hachyderm.io! I'm Artur Manuel, better known as @amadaluzia across other platforms.I've been on Mastodon in the past under @amadaluzia@bsd.cafe, and recently moved in because I was self-consious about my status as a *BSD user. If you aren't sure who I am from that tag alone, I have a webpage that describes who I am that can be found in the following URL.https://amadaluzia.is-a.devYou should expect long posts from me, as I generally like to write long posts for the sake of detail. If you want short form posts, wait for a while until I have a reason to make a short post, which can be pretty hard to find. Otherwise, you'll at least have something to read. :DAside from the basic Mastodon tags, I'll add my interests as well. I hope we can get along!#introduction #mastodon #linux #cybersecurity #programming #tech #foss #privacy
  • 0 Votes
    4 Posts
    19 Views
    @rperezrosario I assumed programmer+fediverse=Linux, because that's my feed. But, also, over the three+decades I've been working in tech, I've seen more and more devs being Linux first devs, to the point where the company I work for now has been almost entirely Linux users among the dev team. I don't keep close tabs on everyone, but when it comes up, it's more Linux than anything else, with MacOS second. Everything cloud and web is Linux native, so it's all easier on Linux.