Live data from Hacker News

Things that used to be hard and are now easy

jvns.ca

21–30 of 316 posts

Re: Things that used to be hard and are now easy

#21

I've only been using desktop Linux for 15 years, but it is vastly easier to use it as a daily driver than it used to be. It still has its problems--just yesterday I sunk an hour into an elusive bug. But when I was doing that, I remembered that such things used to be nearly constant and aren't any longer.

As an i3 user, basically going without a DE, I recently tried to breathe new life into an old core 2 duo laptop that was in very good shape and basically just used to browse the web and play spider solitaire. It was on Windows 7, and I don't think upgrading to 10 would have been worth it with that CPU and 2gb of RAM.

I picked Debian, and put the different DEs through its paces. I started with those that should have been more lightweight, but ultimately found that only kde of all things gave an acceptable user experience while not feeling overly slow.

I don't remember which was which, I tried mate, cinnamon, lxqt And maybe something else I'm forgetting now. One of them was really slow to react to the multimedia keys, and then would appear to buffer the keystrokes from the key repeat like it's the MS-DOS days, ie you press brightness up, nothing happens, so you hold the key, and when it finally starts adjusting the brightness you immediately let go of the key but it still goes on and on to maximum brightness. Then another one couldn't be convinced to behave in a consistent way when it comes to screen brightness wrt (un)plugging mains power and using the brightness keys. It was something like: unplug, screen goes brighter as I manually adjusted it way down before on mains power (sitting in dark room), and the default setting for battery happened to be higher. Annoying but ok, but then if you touch the brightness controls again it first goes up again and then very low and whatnot. Like, there might be some very clever intentions behind this that I didn't catch right there, but then I doubt the non-tech-savby person this was intended for would get what kind of 4D chess magic was going on there. It just felt like it was spazzing around. Then the third one installed and had all its icons missing and the font rendered way too large. That's just the three most blatant issues I ran into. Installed KDE last and everything was sane and usable, to my surprise.

Granted, some of the issues, especially the icon/font one are probably just packaging mistakes on debians side; I don't know how often people really install multiple DEs in parallel, so this might be untested territory, but still, showed me once again that as much as I like Linux, I'm never gonna claim it's the year of the Linux desktop for probably another decade, and only would encourage curious tinkery friends to actually try Linux as a daily driver if they do more than just browse the web, and then probably never use anything besides KDE or Gnome 3 at least for a start.

Re: Things that used to be hard and are now easy

#22
post #14

Earlier quoted context omitted.

But it's the only reason Discord, Slack, VS Code, and other apps exist on operating systems other than Windows/MacOS.

Tbh the world would've been better off if these apps didn't exist. Especially VS Code.

> Tbh the world would've been better off if these apps didn't exist. Especially VS Code.

You're confusing "I personally don't like X" with "the world is better off without X".

Re: Things that used to be hard and are now easy

#23
post #8

> Building cross-platform GUIs, with Electron How about no. I so want this abomination of a technology uninvented.

I really don’t care at all about the resource usage or speed of Electron apps in 2022. Any semi-modern PC has no problem running Electron apps. Download sizes aren’t an issue with modern internet speeds. It doesn’t make sense to try to optimize for people with the slowest systems when everything is only getting faster.

A fast CPU and plentiful RAM isn't a license to not optimize your code. A fast internet connection isn't a license to not optimize your binary size.

Re: Things that used to be hard and are now easy

#24
post #18
post #8

> Building cross-platform GUIs, with Electron How about no. I so want this abomination of a technology uninvented.

Then create an open source cross-platform GUI framework/toolkit that's technologically superior to Electron and also at least as easy and convenient to use and deploy, and people will dump Electron in droves. I mean, please do ! I would be delighted about an efficient, cross-platform, cross-language, convenient GUI toolkit. But I'm not holding my breath, and I'm tired of people complaining about Electron without offe…

Cross-platform GUIs shouldn't exist. That's it. They always inevitably are worse then native ones.

Re: Things that used to be hard and are now easy

#25
Personally, I disagree that parsing was hard before and made easy with PEG parsing.

For decades it has been easy and common to implement parsers by hand.

From what I can tell, universities and textbooks just overcomplicated the process by teaching parser generators.

I have done a few studies of various open source ecosystems now and (edited: other than CPython) I haven't seen PEG parsers really used in anything but toy implementations of things.

Re: Things that used to be hard and are now easy

#26
post #19

Would be interested in also seeing a "things that used to be easy but are now hard list". Feels like basic stuff is harder now: * Privacy online * Google search for niche or exact matches * Browsing without captchas and blockers, especially if you don't adhere to big tech's rules for the internet * Sending emails without worrying about spam filters being way too aggressive * SEO before it got hacked to hell * Barrier…

Installing Windows without a Microsoft account

Re: Things that used to be hard and are now easy

#27
I really like that XKCD comic about identifying birds in a photo, so it's unfortunate that it didn't age that well. How could we rewrite that comic to today's tech? I was thinking something like:

A: I want to create an app that scans good feedback of our brand online...

B: there's a li rary for that, consider it done

A: ... and understand if they are actually being sarcastic.

B: I'm gonna need 5 years and a lab of experts.

Re: Things that used to be hard and are now easy

#28
> Things that used to be hard and are now easy:

> Concurrency, with async/await (in several languages)

The number of times I've been bitten by the very specific semantics around async/await in JavaScript makes me wonder if I've hit some kind of a ceiling in trying to grok it.

Coming from the world of threads, I've found Kotlin's structured concurrency approach the best of the lot I've used so far, even if it isn't with out its quirks: https://kotlinlang.org/docs/composing-suspending-functions.h...

Re: Things that used to be hard and are now easy

#29
post #8

> Building cross-platform GUIs, with Electron How about no. I so want this abomination of a technology uninvented.

I really don’t care at all about the resource usage or speed of Electron apps in 2022. Any semi-modern PC has no problem running Electron apps. Download sizes aren’t an issue with modern internet speeds. It doesn’t make sense to try to optimize for people with the slowest systems when everything is only getting faster.

Even in the sort of modern systems available to wealthy developers try to run more than two Electron apps at a time and tell me if you don't feel the slugginess

Re: Things that used to be hard and are now easy

#30

Earlier quoted context omitted.

I really don’t care at all about the resource usage or speed of Electron apps in 2022. Any semi-modern PC has no problem running Electron apps. Download sizes aren’t an issue with modern internet speeds. It doesn’t make sense to try to optimize for people with the slowest systems when everything is only getting faster.

Even in the sort of modern systems available to wealthy developers try to run more than two Electron apps at a time and tell me if you don't feel the slugginess

> try to run more than two Electron apps at a time and tell me if you don't feel the slugginess

I run more than two Electron apps at a time and everything is fine.

Unless you’re running ancient hardware with 4GB of RAM and trying to load up many intensive applications (Electron or otherwise) it’s not a problem. If anything gets “sluggish” then you’re probably swapping, but it’s difficult to actually reach that point with just two Electron apps.

Post reply on HN