News for hackers. Stuff that matters.

wwee

Re:Time to Upgrade Your Monitor on Thursday June 18, 2020 @04:17AM (#23560938)
I find this article resonates with me on many points. Particularly, high DPI and high refresh rates are not gimmicks, they have meaningful impact in making the user experience better. It's something that Apple has been pushing for years, from Retina to ProMotion. Sure, not everyone will appreciate the difference (Some people are happy with Macbook Airs, some need Threadrippers), but that doesn't mean it's not a meaningful difference for many users.

One area that I disagree though:

> The idea of a 4k monitor is NOT to get more pixels but to get the pixel-perfect, high-density UI rendering. Otherwise, a normal 1440p display would work better.

Not in my experience. Sure, 2x scaling is ideal for sharpness. But there's a tradeoff with screen real estate. I regularly switch between a 1440p monitor at work to a 4k monitor @1.5x scaling at home. Fonts are still noticeably sharper on the 4k monitor.

4k @1.5x scaling is not pixel-perfect, but definitely sharper than 1440p.

Re:Regexes vs. Combinatorial Parsing (2019) on Wednesday May 27, 2020 @10:54PM (#23332891)
I found this article[1] to be a great introduction to Pratt Parsing as well, it even ties into how it's actually a Shunting Yard algorithm in disguise[2].

[1]https://matklad.github.io/2020/04/13/simple-but-powerful-pra...

[2]https://matklad.github.io/2020/04/15/from-pratt-to-dijkstra....

Re:Learning Rust in 2020 on Wednesday May 13, 2020 @12:41AM (#23163537)
As someone who already programs in multiple high-level languages, I feel that the Rust book hits the sweet spot for me. It doesn't go over basic programming concepts which I already know, and focuses on fundamental, unique concepts of Rust. I feel that the scope is pretty close to perfect as well, it doesn't try to cover every single detail. (The Rustonomicon serves as Part 2 for me)
Re:Linux on the Desktop as a Web Developer on Sunday May 10, 2020 @04:46PM (#23136014)
My frustration with Linux (Ubuntu in particular, maybe a distribution with ZFS solves this issue) is that upgrades tend to be like Russian roulette. You have no idea if something will go wrong and reverting tends to be a pain.

Worse still, fixes tend to take a long time to land.

As an example, fractional scaling from NVIDIA cards is broken in 20.04 (what's new): https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/187340... and there is no fix in sight.