Live data from Hacker News

If you're happy with OpenBSD, probably any computer is good enough

muezza.ca

241–250 of 357 posts

Re: If you're happy with OpenBSD, probably any computer is good enough

#241
post #198

Earlier quoted context omitted.

> Is virtually every single company and developer wrong? Virtually every company and developer opts for simpler development and worse runtimes. Is that "wrong"? I'm not sure how to answer that. You could probably make a case either way.

Yeah, if you're needlessly burning dinosaurs in a warming planet it's wrong.

[dead]

Re: If you're happy with OpenBSD, probably any computer is good enough

#242
post #220

Earlier quoted context omitted.

Question is, if you want to do cross platform UI what choice do you have?

There are a few options depending on your application type. Fltk is old and ugly, but may work for you. There are others that come from the world of game UIs. Things like sdl2, Nuklear, and dear imgui. I’ve also seen some vulkan based frameworks (mostly from the rust community)

Point isn't to make some hacky game ui, it's to make application UI on par with Web, feature and stability wise.

Re: If you're happy with OpenBSD, probably any computer is good enough

#243

Earlier quoted context omitted.

It is web designers and JavaScript devs not wanting to acknowledge that desktop dev and C++ exist. I use an old 2008 iMac running Linux frequently and it runs remarkably well. Firefox and MS Edge are certainly the apps that bring it down from a memory perspective ( it only has 6 Gigs ). Electron apps like MS Teams are right up there though and make it chug even more than the browsers do. To be fair, I have dozens of…

Not wanting to acknowledge they exist, or not wanting to do them because they find them less proeuctive? Different issues.

Less productive.

I started with C++, did that for about 5 years, then got sucked into web where I've been for about 20 years. In a funny turn of events, my company has adopted C++ and now I'm writing C++ again. I don't hate it, but 15 minutes to compile/boot a server or 5 minutes to run some tests is kind of unpleasant. And the occasionally UB bug or dangling pointer. It's just really outdated. Enough so that I don't want to relearn how to build a GUI in C++. I'll wait a few more years for Zig or Carbon to mature.

Re: If you're happy with OpenBSD, probably any computer is good enough

#244
Dell Optiplex 3020 w/ i5 but running FreeBSD to build prototypes. Runs alright. I have used OpenBSD on a Pentium box for similar projects before and the support was good too. So *BSDs are now among my considerations when it comes to get usage out older machines.

Re: If you're happy with OpenBSD, probably any computer is good enough

#245

Earlier quoted context omitted.

It's bloat caused by stuff like Electron, and people choosing to write desktop apps in HTML + JavaScript/TypeScript + some framework. If people even used a framework like Qt (a really mature and well-maintained desktop framework the favored framework of KDE Plasma, etc.), their memory usage would be so much lower. (I'm not counting the memory used by Qt's shared .so / dynamic library files.)

Is virtually every single company and developer wrong? Or is Qt actually not that good, forcing people to use Electron despite it's resource usage? I find it far easier to believe that Qt and GTK have fallen behind rather than the whole world is under a grand delusion and didn't know Qt exists.

Plus Qt isn't free, if I'm not mistaken.

Re: If you're happy with OpenBSD, probably any computer is good enough

#246

What I found is that you can get an old computer to work great with an old OS right up until you open the Web browser and start visiting Web sites.

There are some hacky ways of getting a little distance on modern OS's, like using terminal based browsers. I'm thinking Links/Elinks but that will only get you so far and so long as the security certificates are available.

I think at that point you're getting away from "good as new!" to more doing it because you can.

Re: If you're happy with OpenBSD, probably any computer is good enough

#247

What I found is that you can get an old computer to work great with an old OS right up until you open the Web browser and start visiting Web sites.

"browservice" will render web pages server-side and then deliver them to your browser as an image with simple javascript.

It works in virtually all "old" browsers and can be very useful for older computers.

https://github.com/ttalvitie/browservice

For very old web browsers, WRP works similarly but replaces the javascript with an imagemap.

https://github.com/tenox7/wrp

Re: If you're happy with OpenBSD, probably any computer is good enough

#248

Earlier quoted context omitted.

Is virtually every single company and developer wrong? Or is Qt actually not that good, forcing people to use Electron despite it's resource usage? I find it far easier to believe that Qt and GTK have fallen behind rather than the whole world is under a grand delusion and didn't know Qt exists.

It is web designers and JavaScript devs not wanting to acknowledge that desktop dev and C++ exist. I use an old 2008 iMac running Linux frequently and it runs remarkably well. Firefox and MS Edge are certainly the apps that bring it down from a memory perspective ( it only has 6 Gigs ). Electron apps like MS Teams are right up there though and make it chug even more than the browsers do. To be fair, I have dozens of…

[deleted]

Re: If you're happy with OpenBSD, probably any computer is good enough

#249
post #168

Earlier quoted context omitted.

We now have 1TB microSD cards.

I still finding it hard to trust 1TB worth of important data stored in that medium. I'm half joking but still, only half joking. The other half is dead serious.

It is always a bad idea to store any amount of important data on a single medium.

Seen too many (including myself at some point) have all their data in one external HDD and pass it around friends with a caution to be safe with their data.

I've lost most of my photo and video collection due to two HDD failures between 2017-2020.

Re: If you're happy with OpenBSD, probably any computer is good enough

#250

Earlier quoted context omitted.

It's bloat caused by stuff like Electron, and people choosing to write desktop apps in HTML + JavaScript/TypeScript + some framework. If people even used a framework like Qt (a really mature and well-maintained desktop framework the favored framework of KDE Plasma, etc.), their memory usage would be so much lower. (I'm not counting the memory used by Qt's shared .so / dynamic library files.)

Is virtually every single company and developer wrong? Or is Qt actually not that good, forcing people to use Electron despite it's resource usage? I find it far easier to believe that Qt and GTK have fallen behind rather than the whole world is under a grand delusion and didn't know Qt exists.

It is more of the learning curve. Lot more people are familiar with the JS web stacks than
Post reply on HN