News for hackers. Stuff that matters.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Dnguyen on Thursday June 15, 2023 @11:43AM (#36342132)
I wish the RAM could be a bit more, at least 1G or 2G, so I can have a database on there without having to ship my data to the cloud. Then the system can really run isolated as much as possible, for security and privacy.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by wongarsu on Thursday June 15, 2023 @12:05PM (#36342545)
SQLite would still be a good option. It's incredibly lightweight, and if you set the database to WAL mode it also works well for database file accessed by multiple applications on the same device.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Narishma on Thursday June 15, 2023 @12:01PM (#36342455)
It has 16GB of flash. Can't you put your database there?
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by lostgame on Thursday June 15, 2023 @02:35PM (#36344731)
This. Back in the day when we lacked RAM, especially on *nix based systems, it's absolutely normal to use the disk/flash as pseudo-RAM. This was just...a normal part of computing at the time, heh.

Of course, applications would respond shit slow this way, but in the case of a DB it'd be more than fine, no?

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by wilonth on Thursday June 15, 2023 @09:52PM (#36349952)
Dude database is supposed to be on disk not RAM.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by Dnguyen on Sunday June 18, 2023 @01:04AM (#36377486)
Yes, I understand the content of the database is supposed to be on disk. But for the database to function and do its thing, it needs space in RAM. Like page swap and cache.