Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
md8z
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
331.
▲
by
md8z
5y ago
If you know the technical details of how that was done in Windows then please help get that implemented. AFAIK those win32 APIs were not changed to take floating point, so there is some other kind of heuristic or something going on there, a
332.
▲
by
md8z
5y ago
Sadly I think you will have to accept some of those apps will just never have Windows-style DPI scaling, sorry. It's the same thing with various older apps on Windows that will just not get updated because they use Win32 API functions
333.
▲
by
md8z
5y ago
It's not hard to copy an API specification, but actually implementing the API and changing drawing in every app, toolkit and compositor to support floating point is what is going to be complicated and will take time. Edit: The decision
334.
▲
by
md8z
5y ago
"Gnome (and Wayland) is broken, and this API must be changed." Again I would say no, that's wrong, it's just not currently meant to run on your hardware. If you know how to change this API then please help. AFAIK there i
335.
▲
by
md8z
5y ago
I think you might be thinking of Cairo when used with one of the print backends, not GTK. GTK2 did not use float coordinates or support fractional rendering. See for example here: https://developer-old.gnome.org/gtk2/2.
336.
▲
by
md8z
5y ago
I think that is just as good an answer for the "why not" as it is for the "why" :)
337.
▲
by
md8z
5y ago
Or it could just be a drunk person running their mouth and a nervous exec getting spooked. No need to overanalyze every word of conversation to look for red flags.
338.
▲
by
md8z
5y ago
I'm not sure how to answer that question, you don't have to do anything you don't want to do. GTK and its apps currently use integer coordinates, so in order to change that it needs to be changed to use floating point, and al
339.
▲
by
md8z
5y ago
That is working as intended, and either you don't have a graphics card that is good enough to drive your monitor, or you're using CPU-rendered apps that will always be slow at higher resolutions. This is a problem with a lot of ch
340.
▲
by
md8z
5y ago
I used to consult for this kind of thing several years ago, I don't any more. The field has really just coalesced around K8s. I don't think there is much space for innovation anymore.
341.
▲
by
md8z
5y ago
I'm sorry I don't understand what you're asking for specifically, the source is the cgroups API. Check the documentation I posted earlier, particularly this line: "Because the resource control interface files in a given
342.
▲
by
md8z
5y ago
Well I think you are supposed to just use systemctl to see what the configuration looks like.
343.
▲
by
md8z
5y ago
I mean if you want to run existing configurations on your setup. Those aren't going to work. You can just install Nix on void though. I had some users too but it still wasn't really worth it. I can't suggest it as a busines
344.
▲
by
md8z
5y ago
Well you have to understand that my mental picture from your past description is FreeBSD running in KVM on NixOS running on managed GCP/AWS, which is a somewhat confusing and convoluted architecture to me and I'm not sure what it&
345.
▲
by
md8z
5y ago
Unfortunately I think you probably will have to work on it if you want to not break existing configurations, so maybe NixOS is not for you. You could try alpine possibly? But with that you will have to do the same with init.d, so it's
346.
▲
by
md8z
5y ago
"Nix works on more than just linux." IIRC the GP comment was asking about NixOS, not Nix. If you have everything already going through managed K8s or firecracker then I don't understand what you are using NixOS for. You could
347.
▲
by
md8z
5y ago
I'm not sure what you mean it's not true, AFAIK that constraint was the main issue with getting Docker moved over to cgroupsv2. (Edit: some background here https://github.com/opencontainers/runc/pull/
348.
▲
by
md8z
5y ago
With cgroupsv2 there seems to be very little benefit to doing that since the container runtime needs to sit at the top of the process tree anyway, so I'm not sure I understand what the purpose of that would be or why you would want tha
349.
▲
by
md8z
5y ago
The man pages are the reference manual. You might want to search for "systemd service tutorial" or something like that, there's a lot of blogs that explain how to make a simple service.
350.
▲
by
md8z
5y ago
The symlinking is one of the things systemd actually gets right on traditional distros. The files in /usr/lib are immutable data files shipped by the packages that you're not supposed to edit. The symlinks to them in /et
351.
▲
by
md8z
5y ago
If you have a parser for systemd unit files then you might have a chance to get that to work. If the whole reason you're doing it is to migrate back to upstart's syntax then it seems that would be not so useful, you might as well
352.
▲
by
md8z
5y ago
Those would probably be not so great matches for NixOS because they don't support the container stuff that systemd does, you would be throwing all that out.
353.
▲
by
md8z
5y ago
What's the limitation stopping you from using perf in the same way as you would before? I've never had the need to try to do that.
354.
▲
by
md8z
5y ago
The "expansion port" appears to be a sunken USB-C port that you can plug any old USB-C cable into.
355.
▲
by
md8z
5y ago
I mean if you have to transfer files from your computer or connect a keyboard just to do something on the phone. That's really inconvenient, I've tried to use my Pinephone that way and it's unpleasant. The other platforms hav
356.
▲
by
md8z
5y ago
Yeah but that kind of defeats the purpose of having a phone, doesn't it? :) I've seen some neat code editors on iOS/Android that do some fun things like: - Have a special keyboard that contains only symbols for the target lan
357.
▲
by
md8z
5y ago
Right, and the ones that require root to install are steam, vscode and kicad. Kicad is probably in the worst situation because it uses a PPA. Please double check your links before posting, it will save us both time. It's also not reall
358.
▲
by
md8z
5y ago
Am I missing the broader picture here? This seems to be a lot of fanfare for something which is around 1000 lines of code to set up a minimal Wayland server: https://github.com/MirServer/ubuntu-frame The more impressiv
359.
▲
by
md8z
5y ago
I don't know, that just seems to me to defeat the purpose of having a touchscreen. I've tried to use those mobile VNC clients and the experience is really bad. It's something I would use if I really had to access some importa
360.
▲
by
md8z
5y ago
This isn't about vector graphics. There is always going to be a rasterized buffer, that's unavoidable. Even more so as apps are moving to newer rendering APIs like Vulkan and Metal. Apps doing custom rasterization is probably goin
More ›