Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sho_hn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
571.
▲
by
sho_hn
1y ago
We first shipped support for wp-fractional-scale-v1 in Plasma 5.27 in early 2023, support for it in our own software vastly improved with Plasma 6 (and Qt 6) however.
572.
▲
by
sho_hn
1y ago
I see where you are coming from and it makes sense. I will also say though that in the most common cases where people request mixed scale factor support from us (laptop vs. docked screen, screen vs. TV) there are also other form factor diff
573.
▲
by
sho_hn
1y ago
Right, but most users of terminal emulators typically don't use bitmap fonts anymore and haven't for quite some time (just adding this for general clarity, I'm sure you know it).
574.
▲
by
sho_hn
1y ago
The "It did" was about the mechanism (Wayland did tell the clients the scale and expected them to render acccordingly). Yes, fractional wasn't in the core protocol at the start, but that wasn't the object of discussion (
575.
▲
by
sho_hn
1y ago
90% is still nonsense even in desktop Linux, tho.
576.
▲
by
sho_hn
1y ago
You're overthinking things a bit and are also a bit confused about how font sizes work and what "scaling" means in a windowing system context. You are thinking taking a bunch of pixels and resampling. In the context we'r
577.
▲
by
sho_hn
1y ago
It's in Wayland in the same way everything else is, i.e. fractional scaling is now a protocol included in the standard protocol suite. > Because what is probably 90% of wayland install base only supports communicating integer scales
578.
▲
by
sho_hn
1y ago
The way it works for your terminal emulator example is that it figures out what makes sense to do for a value of 1.785, e.g. rasterizing text appropriately and making sure that line heights and baselines are at sensible consistent values.
579.
▲
by
sho_hn
1y ago
Oh, ok. Yeah, this I agree with, and I think plenty of people do - having integer-only scaling in the core protocol at the start was definitely a regretable oversight and is a wart on things. > When you say you supported this for quite s
580.
▲
by
sho_hn
1y ago
The end-user UIs don't ask you to calculate anything. Typically they have a slider from 100% to, say, 400% and let you set this to something like 145%. This may take some getting used to if you're familiar with DPI and already kno
581.
▲
by
sho_hn
1y ago
The part where we got Wayland because we lost a magic caste of rockstar engineers who could call XRRGetOutputInfo/XRRGetCrtcInfo.
582.
▲
by
sho_hn
1y ago
This is nonsensical myth-making. Despite the clickbait title, the APIs called in those code samples are very basic and not some forgotten wizardry.
583.
▲
by
sho_hn
1y ago
In KDE Plasma we've supported the way you like for quite some years, because Qt is a cross-platform toolkit that supported fractional on e.g. Windows already and we just went ahead and put the mechanisms in place to make use of that on
584.
▲
by
sho_hn
1y ago
Nate (the author of the blog post you linked), who I know personally very well, is a QA/product person focused on integration and fit and finish issues. What he means to say is that as a polished product, this is now available in the f
585.
▲
by
sho_hn
1y ago
What you want is exactly how fractional scaling works (on Wayland) in KDE Plasma and other well-behaved Wayland software: The scale factor can be something quirky like your 1.785, and the GUI code will generally make sure that things nevert
586.
▲
by
sho_hn
1y ago
It's actually a somewhat bad and uninformed post, or perhaps the mistake (unclear whether knowingly or not) is to disprove a claim made by uninformed people. No one with a good grasp of the space ever claimed that it wasn't possib
587.
▲
by
sho_hn
1y ago
> doing the "draw at 2x scale and then scale down" dance that was popularized by OSX and copied by Linux Linux does not do that. > It's strange that Wayland didn't do it this way from the start It did (initially fo
588.
▲
by
sho_hn
1y ago
> They idealize Japan through fetishized objects. If you showed the picture of that same coffee shop in Philippines or some south east asian country, nobody in the West would care. I think you're mostly right on the money on that, b
589.
▲
by
sho_hn
1y ago
Shoplifters was a recent international success and is maybe the most accessible. My favorites of his are After the Storm and Maboroshi , though. All of them feature wonderful characters and quiet adult moments. On the arthouse circuit,
590.
▲
by
sho_hn
1y ago
> Also not related to America at all. I'm honestly convinced it's a bit more prevalent in America, and I've explored this in earnest conversations with American friends. I don't mean to villify it either, as it makes
591.
▲
by
sho_hn
1y ago
I tend to react a bit allergic to the Japan-everything fetishizing so prominent on Hacker News (although I've come to realize that it's mostly Americans holding up an example of everything they feel they lack domestically, and i
592.
▲
by
sho_hn
1y ago
Super awesome project. As an embedded engineer who grew up in the arthouse/program cinemas of Berlin, I wish I had heard about this two years ago. Would have loved to help out.
593.
▲
by
sho_hn
1y ago
I know, but they've invested some effort into e.g. a custom Linux kernel config and vminitd+RPC for this, so the optimizations specific to running containerized Linux apps are new.
594.
▲
by
sho_hn
1y ago
> I’d also guess if given a choice and unless there are technical limitations that prevent it from being so, even the devs in your shop would rather prefer to switch to a usable daily driver OS to get things done. On the contrary, our de
595.
▲
by
sho_hn
1y ago
> Is it winning if you are the only one playing the game? Depending on what you mean with "the game", I'd say even more so. MS/Apple used to villify or ridicule Linux, now they need to distribute it to make their own
596.
▲
by
sho_hn
1y ago
I'd say that's a fairly web development-centric take. I work at an embedded shop that happily puts a few million cars running Linux on the road every year, and we have hundreds of devs mainly running Linux to develop for Linux.
597.
▲
by
sho_hn
1y ago
So both of the other big two desktop OSs now have official mechanisms to run Linux VMs to host Linux-native applications. You can make some kind of argument from this that Linux has won; certainly the Linux syscall API is now perhaps the mo
598.
▲
by
sho_hn
1y ago
In fact, Apple once did a version of Aqua that did an overengineered materials-based rasterization at runtime, including a physically correct glass effect. It was too slow and was later optimized away to run off of pre-rendered assets with
599.
▲
by
sho_hn
1y ago
vminitd is the most interesting part of this.
600.
▲
by
sho_hn
1y ago
Right, I agree the sentiment isn't new, I'm mostly just trying to explain that way of thinking. But yeah, the tension between placing a value on doing things just in time vs. reducing the labor by using tools or assets has surely
More ›