HNHacker News
TopNewBestAskShowJobs

zxzax

603 karma · joined April 19, 2021

submissionscomments
zxzax··on Initial preview of GUI app support for the Windows Subsystem for Linux
The pull request probably wouldn't be accepted because it's a major change and no other Mutter contributors are interested in reviewing such a patch or dealing with the (far-reaching) effects of it. GNOME is just the nonprofit open source project and it doesn't really allocate resources or have resources to spare -- it's got to be a volunteer who works on this who has enough resources to do it in a way that doesn't mess it up for everyone else, maybe that's Canonical who can do it, I don't know. There is also the option of implementing it first in one of the forks (Elementary, Budgie, etc), testing it out for a while, and then submitting it later after it's known that it works and doesn't break everything. Getting upstream to accept a 10,000 line patch is not easy under any circumstances.

There are other window managers that don't support server side decorations, I don't know why people always single out GNOME. Weston is important too, it's not often used directly but it's used as a base for other implementations -- if your app is busted and has no decorations on the reference implementation it can hardly be called a working Wayland app. Server side decorations do have a use case but they're not equivalent to client side decorations. I used to think they were until I tried to implement them in a window manager, now I see server side decorations as mostly a broken concept unless it's in very specific circumstances. The toolkits and apps have to implement client side decorations if they want to ensure the correct behavior everywhere, it's unavoidable.

zxzax··on Initial preview of GUI app support for the Windows Subsystem for Linux
For apps that don't care about decorations, the toolkit is supposed to handle it. Inside Electron would be the safest place to implement a fallback for applications that don't care about decorations. That way you can be sure it will work on any window manager that doesn't provide decorations, not just GNOME... I don't want to retread more of the discussion that was in the github issue, but one way to do it is to have Electron hook into GTK and draw the GTK decorations, like Firefox does.

GNOME is an open source project, asking them to reconsider a position doesn't make sense -- the default response to every feature request is "no" unless someone volunteers to implement it. And honestly I see very little chance that the current GNOME volunteers are going to implement server side decorations in Wayland unless someone outside the project steps up to do the work. Maybe Canonical would pay for it? It's a major change for something that no GTK/GNOME apps would even use, and it wouldn't really benefit those small applications... they would still have to draw their own decorations to handle any other window manager that doesn't implement decorations, such as Weston.

zxzax··on Ask HN: Moving from a product org to a consulting org: What should I know?
Writing lots of boilerplate is an opportunity to build new libraries, frameworks, code generators, and other tooling; use that as something extra you can share with your colleagues and sell to clients, or use it to build an open source portfolio. Some companies might let you do it under your own name, others will want you to use their Github org.

If you find a technology you really like that's popular with clients, it may be that you get to use that with every client and then you can gain deep expertise in that. Don't be too picky here, this is an opportunity to get access to a lot of customers to find out what technology is really in demand. Contract-to-hire is also a valid thing that happens if you find a client with full-time positions open that you really like working for; you may have to negotiate with the consulting org for a finders' fee. Some orgs are not okay with this though, so I would only suggest it if you know it will work, or if you have a backup plan for another job in case it fails.

Extra advice I can give is that the relationships involved when doing consulting is pretty different; in my experience, unless the clients are all big IT firms, you likely won't have strong engineering management guiding any projects, and the client may not even be able to help you out with technical issues at all. It's on your team as technical experts to get in, figure out what is going on, and then get out. There are a number of ways to deal with this but the number one rule is: cover your ass with clients! I've seen lots of projects go south because of bad communication and failure to manage customer expectations.

zxzax··on Initial preview of GUI app support for the Windows Subsystem for Linux
You are responding to the same person who wrote that comment, with their own comment :)
zxzax··on Initial preview of GUI app support for the Windows Subsystem for Linux
I don't think GNOME adding SSD would really help, considering a lot of Electron apps tend to use CSD to integrate with the target platform [0] [1] [2] [3]. Likely those apps should be fixed to correctly use CSD when applicable on all platforms, including GNOME.

[0] https://code.visualstudio.com/assets/home/home-screenshot-wi... [1] https://a.slack-edge.com/a084c/marketing/img/downloads/scree... [2] https://pureinfotech.com/wp-content/uploads/2019/12/microsof... [3] https://www.chip.de/ii/1/1/4/4/7/3/5/4/0/ea621fe64b8418e9.jp...

zxzax··on Initial preview of GUI app support for the Windows Subsystem for Linux
For the curious, see this comment from the electron contributor on how to enable it: https://github.com/electron/electron/pull/26022#issuecomment...
zxzax··on Linux: Don't get me started on “executives”
Hmm, I think you're probably right, and I was overthinking it, thanks :)
zxzax··on Linux: Don't get me started on “executives”
I don't think I understand that analogy in terms of kernel code, can you give an example of what seat belts and bullet proof glass are in this context? Does that mean that previously in places where they only had CRCs, they added firewalling and cryptographic signing?
zxzax··on Linux: Don't get me started on “executives”
So does that mean there is a significant difference between, for example, a malicious USB device versus a damaged USB device, from the kernel point of view? It seems that both would be sending incorrect data that the kernel should catch, right?
zxzax··on Linux: Don't get me started on “executives”
I'm not a kernel developer so I don't understand the details of this part:

>People forget that only a few years ago have we decided that the kernel now has to protect userspace programs from malicious hardware. That's a major shift in thinking, now data that we used to blindly trust can not be trusted at all.

How come this wasn't being done already? Wouldn't you want drivers to do safety checks on everything, in case of a hardware failure? Or does this refer to something else, besides safety checks?

zxzax··on The Motivation Behind Systemd
That still doesn't make it monolithic. It's not exactly rare for an open source project to have no API spec. If you want to replace a part you just look at the code and then implement that API.

If you ask me a lot of systemd is actually pretty easy to swap if you're interested, most is separated out into clean d-bus APIs.

zxzax··on Gnome 40 – The anti-desktop desktop
What you're describing doesn't match the GNOME HIG. Buttons should actually be on the bottom for dialogs that require you to read through and then make a choice: https://developer.gnome.org/hig/stable/dialogs.html.en

The buttons should only placed in the headers for other dialogs that require more explicit actions before the dialog can be dismissed, such as the file selection dialog.

zxzax··on Gnome 40 – The anti-desktop desktop
The situation with Glade is not because of malicious intent, please don't assume bad faith. No GTK developers are happy that Glade has basically been deprecated in GTK4, it was a necessity due to technical reasons. Note that it's only GTK4 that it doesn't work for, Glade is still a reasonable choice for GTK3 applications.

There is a replacement for GTK4 being developed, it turns out starting from scratch for the new builder format is easier than trying to refactor everything in Glade.

← PreviousPage 14 of 14