Email or username:

Password:

Forgot your password?
Top-level
Cybarbie

@blacklight @rrwo @szescstopni @Threadbane NoSQL is even older than that. As for SQL sadly I have used most of them. SQL has its place, like anything. The key difference between the way say some webshit like facebook is built and Voyager comes down to the way the project is managed. There is no move fast and break things with a nuclear power plant. It's the old school SSADM with endless reams of docs, specs, ERDs and dusty old process Very high detail, labor intense, expensive software cycle.

10 comments
John Socks replied to Cybarbie

@nf3xn @blacklight @rrwo @szescstopni @Threadbane I agree. In the old days I worked coding assembly language for medical instruments that would be in the field for decades. Certainly compared to today a lot of care was put into 64k. But as you say that's more about problem domain than technology

(I have also spun up MySQL instances for really trivial things, like organizing files at home.)

John Socks replied to John

@nf3xn @blacklight @rrwo @szescstopni @Threadbane Ha! I remember one of the last times I used a SQL database for a trivial purpose .. garage temperature recording.

I guess it cracked me up at that point how ridiculous it was to have a full unix(ish) stack and SQL to run a thermometer.

As an added bonus this pi zero and the one in the kitchen communicated, doing data replication for fault tolerance.

It's still funny to me.

stfn :raspberrypi: :python: replied to John

@John @nf3xn @blacklight @rrwo @szescstopni @Threadbane ah yes, for my first temperature measurement I also used a Zero W with a Postgres db and a pythons script writing to it every minute. Now I use an RPi Pico sending data by MQTT to a server which ingests those messages to InfluxDb, which is read by Grafana.

John Socks replied to stfn :raspberrypi: :python:

@stfn @nf3xn @blacklight @rrwo @szescstopni @Threadbane That sounds cool and much more modern. My boards answered my questions, which were basically about how the temperature cycle looked in my house with no heat or cooling (not present anyway) running.

Before running the test I had not really internalized that the coldest part of the night is not midnight ;-)

Fabio Manganiello replied to John

@John @stfn @nf3xn @rrwo @szescstopni @Threadbane we often forget that there's actually a very lightweight way of running SQL that doesn't require any server, it can also fit into memory, and even into a WASM frontend - SQLite :)

It may not come with all the bells and whistles of a full-blown RDBMS (no stored procedures and triggers AFAIK), but it definitely solves the use cases of (I'd say) 90-95% of the applications out there.

I've actually got the db of my Matrix server (~20GB) fully running on SQLite, and I've been impressed by its versatility and performance.

@John @stfn @nf3xn @rrwo @szescstopni @Threadbane we often forget that there's actually a very lightweight way of running SQL that doesn't require any server, it can also fit into memory, and even into a WASM frontend - SQLite :)

It may not come with all the bells and whistles of a full-blown RDBMS (no stored procedures and triggers AFAIK), but it definitely solves the use cases of (I'd say) 90-95% of the applications out there.

Sébastian Le Merdy replied to John

@John this is a very interesting project: do you have some links or details about hardware and software that you have used to achieve it?

John Socks replied to Sébastian Le Merdy

@seblm I think my method was a little idiosyncratic. If I remember correctly I used a DHT11 temperature sensor, and wrote c code to take a reading and insert it in the database. I just set that c code up as a cron job. I used shell scripts and cron jobs to do my data replication, database dumps and rsyncs if I remember correctly.

There are lots of ways to skin the cat, and if you search for raspberry pi DHT11 (or DHT22) there will be lots of examples.

Threadbane replied to John

@John @nf3xn @blacklight @rrwo @szescstopni
In 1984 I was getting radiation for lymphoma and the machine that was delivering the dose, some sort of Roentgen device I think, was computer controlled. During one of the treatments (everybody left the room of course), I reached over and turned the screen toward me and as the commands scrolled by the hair on the nape of my neck stood up. It was a BASIC *interpreter* running off an 8" floppy! AIEEEE!! 8^)

John Socks replied to Threadbane

@Threadbane @nf3xn @blacklight @rrwo @szescstopni

Ouch, yeah.

I came in at the start of the floppy era. Before that we actually shipped clinical instruments with ROM boards only, and updates were shipping a new board. Part of our department was still doing that.

There was this big consciousness that, even with floppies, you never knew they would reach their destination, and out of date software might live for many many years.

Go Up