HNHacker News
TopNewBestAskShowJobs

kirbyfan64sos

412 karma · joined March 9, 2015

submissionscomments
kirbyfan64sos··on Help Improve Gnome
> I think one version of Ubuntu GNOME obscured the login screen. I installed it, saw no login screen, clicked everywhere, but nothing happened. Just stared at a desktop wallpaper. If I recall, I eventually figured out that I had to swipe up a little arrow at the bottom of the screen, but using a mouse. Why?

You can press any key to go past that screen.

kirbyfan64sos··on Slack’s free plan change is causing an exodus
...Zulip, the author of this blog post?
kirbyfan64sos··on Clip control on the Apple GPU
I'm a bit confused as to why X11/wayland would be a huge issue here? The Mesa docs do say X11-only, but they're referring to running the driver on macOS (hence the XQuartz reference), where Wayland basically doesn't exist.
kirbyfan64sos··on Do not ship work in progress: An open letter
The page literally addresses this:

> We thank all the distribution package maintainers for backporting patches that improve security, fix bugs, etc. who coordinate with upstream. Often times this means creating or pulling patches to fix issues with inactive/abandoned/unresponsive upstream projects. These distribution package maintainers are doing a tremendous job and their work is not the subject of this letter.

> This letter wants to address the cases where actively-developed features, huge changes, etc. of active upstream projects are being included without the knowledge of the project maintainers or end users.

kirbyfan64sos··on Ask HN: When do you think Wayland will be broadly supported?
https://gitlab.freedesktop.org/mstoeckl/waypipe
kirbyfan64sos··on Google Launches Carbon, an Experimental Replacement for C++
The official webisite (https://github.com/carbon-language/carbon-lang) goes into better detail, but the gist is that you can basically #include C++ libraries and use their APIs as-is, without needing to resort to unsafe blocks or having to write more idiomatic wrappers.
kirbyfan64sos··on Show HN: Qboard, a drawing app with Vim-style keybindings
Oh this looks very nice! One thing I might wish for is to use Escape to close the help dialog, but really that's just because I'm still opening the help dialog a lot.

Very smart UX choices here.

kirbyfan64sos··on Ask HN: What is your default font for coding and terminal?
JetBrains Mono! Used to use Roboto Mono, because I liked how close it was to a standard sans-serif font, but JB Mono is similarly spaced and has the advantage of built-in ligatures and such.
kirbyfan64sos··on Music for Programming
Worth adding that Mili's world.execute(me) (https://www.youtube.com/watch?v=ESx_hy1n7HA) is the quintessential programming song, for self-evident reasons.
kirbyfan64sos··on Wayland is not ready as a 1:1 compatible Xorg replacement just yet
Back when this article was first posted, I wrote a rebuttal of some of the key points: https://refi64.com/posts/dont-boycott-wayland.html

Since then, the situation has largely pretty much improved, in particular both OBS and Zoom have support for the screen sharing portals.

kirbyfan64sos··on Rust without the async (hard) part
If your program is mostly synchronous, you can manually create the async runtime and just use block_on to call async functions from a sync context: https://tokio.rs/tokio/topics/bridging#a-synchronous-interfa...
kirbyfan64sos··on Please don't unofficially ship Bottles in distribution repositories
> The correct decision, in my opinion, would have been to break it up into a stable GUI / configuration system and a daily updated "core engine", similar to how antivirus software updates its detection lists.

The effort required to implement this in practice is pretty sizable, and antivirus software ships out signature updates at a much higher frequency than Bottles would be.

> 10kb code change? re-download all dependencies and all assets!

Any unchanged files are not redownloaded.

kirbyfan64sos··on Apple announces new flagship M2 processor
I ordered mine in February as well, and after being delayed so many times the estimates were landing in July...it actually shipped out, and it arrived around a week ago. Was debating just cancelling and getting something else, but after using it, I'm very glad I didn't.
kirbyfan64sos··on Apple announces new flagship M2 processor
Do note that supply-chain issues plagued later orders of the M1 Pro/Max MBPs, so I wouldn't be surprised if it would take a decent bit of time to actually get an M2 Pro/Max, even after it actually gets announced in a few more months.
kirbyfan64sos··on Apple announces new flagship M2 processor
> Somewhat disappointed that AV1 isn't supported in hardware

Given that the M2 is based on the A15, which doesn't have AV1, this was kind of expected. I'd imagine that, due to their general cycle, AV1 would come to iPhones first if/when it arrives.

kirbyfan64sos··on Python 3.11 beta vs. 3.10 benchmark
AFAIK, it depends on your bottlenecks.

In terms of actual compute speed, Python is still significantly slower, and although 3.11's changes will help quite a bit, V8 is also just insane.

In terms of I/O speed, uvloop (https://magic.io/blog/uvloop-blazing-fast-python-networking/) can beat Node quite handily, so if you're more concerned with being able to handle requests than doing anything major during those requests, Python might be comparable.

kirbyfan64sos··on Ansible 2.13
https://github.com/itamae-kitchen/itamae or its statically-linked, mruby-based counterpart https://github.com/itamae-kitchen/mitamae
kirbyfan64sos··on Ask HN: Have we screwed ourselves as software engineers?
I use DigitalOcean's managed k8s to host quite a few services over the last few years.

There's definitely some complexity and learning curve involved, but it comes with some nice advantages for my particular use case:

- Low vendor lock-in: I actually migrated to DO from a different hosted k8s, and I was able to reuse the majority of my configuration. - Reproducibility: your projects are derived from the resources you upload, so it's hard to end up with a setup that you can't easily reproduce (or migrate!) elsewhere. - High flexibility: I can do some relatively strange things with e.g. routing without k8s batting an eye. There isn't really ever a point of "oh no, I've found something I can't really, do". - I've found it to be cheaper than cloud managed services once you're hosting as much as I am.

More generally, I like the...standardized(?) style. It feels like a sort of "build your own cloud", but the blocks you use look like everyone else's, despite the total product looking a bit different for everyone. I can use k8s managed, in a business setting, or fully self-hosted, and the essentials still work the same way.

A lot of bad experiences wrt complexity I hear come from running the cluster yourself, but nowadays, distributions like k3s make this, dare I say, pretty easy. If you want to use. VPS, DO managed k8s is very nice.

kirbyfan64sos··on Keycloak: Open-Source Identity and Access Management
Do note that Authentik, being a Python project, still uses a decent amount of RAM IMO.

I think Keycloak 18 should use less memory? Might be worth a try.

kirbyfan64sos··on Python’s “type hints” are a bit of a disappointment to me
> There is no way to get typing like dataclasses without writing your own mypy plugin. The syntax is simply not expressive enough to do it. This means that if you want to be productive with a library like Pydantic, you also have to add the mypy plugin to your dependencies and add it to your mypy config. Otherwise, no typing.

This would be solved by PEP 681, which originates from (and is already used in) pyright: https://peps.python.org/pep-0681/

> 3. To this day, there is still no way to express optional keys. Not "Optional" keys, but keys that can be left out of your dictionary. The closest you can get is this weird hack where you can set `total=False` in your TypedDict, which makes all keys optional.

This is solved by PEP 655, which introduces NotRequired: https://peps.python.org/pep-0655/

It's implemented in mypy 0.930: https://mypy-lang.blogspot.com/2021/12/mypy-0930-released.ht...

> I really wish Python learned from Typescript, but it's too late at this point

Personally, I feel like it's partly just entirely different styles: Python relies on a mix of nominal and duck types, whereas JavaScript is much more focused on structural typing. As a result, there are a lot of things like TypedDict that are absolutely essential for JS to even function but a decent bit less so in idiomatic Python code (keeping a significant amount of dicts around uses much more memory than objects, I recall a PyCon talk explicitly mentioning this too).

kirbyfan64sos··on Ask HN: How does Apple achieve both secrecy and quality for a release?
They don't do as well with hardware, due to lack of wide testing: https://twitter.com/marcan42/status/1504449580595040258

> Since they want to keep new hardware support a secret, they work on it in parallel on another branch / whatever. So all the betas only include a subset of the changes going into the real release. And then when the -RC drops, they merge major changes, especially around boot/HW.

kirbyfan64sos··on Assume your devices are compromised
Worth noting that Chromium upstream has support for the portals now, so this should be mostly fixed for that specific scenario.
kirbyfan64sos··on Netlify Is Down
What features exactly do you have under "comparable" here?
kirbyfan64sos··on Consumer prices rose 8.5% in March – highest since 1981
I think the article's own title is incorrect?

> Headline CPI in March rose by 8.5% *from a year ago*

Another notable piece:

> core inflation appeared to be ebbing, rising 0.3% for the month, less than the 0.5% estimate

which matches the other commenter mentioning that the gas prices were a massive contributor to this.

kirbyfan64sos··on The failure of the idea of X resources
> And if you ever suggest removing a broken chair, you get a thousand angry emails flaming you because people are emotionally attached to the chair despite it having exposed nails that stab up into the rear end of anyone who sits in it? And if you push back you get absurd comments like "oh the nails are only on the left side, just lean constantly on your right buttock and you won't get stabbed by the nails"

This is one of the greatest comments I have ever seen.

kirbyfan64sos··on Bubblewrap: Unprivileged sandboxing tool for Linux
Bubblewrap is indeed most often used without SUID nowadays; in particular, SUID is generally only used if unprivileged user namespaces are unavailable.
kirbyfan64sos··on The end of the nice GTK button
That's...strange, I just had it successfully tested yesterday. Are you actually testing with a GTK4-compatible theme?
kirbyfan64sos··on A statically typed scripting language that transpiles to Posix sh
You might find Cue interesting: https://cuelang.org/

It's a bit overambitious IMO, but it tries taking a relatively different approach to the problem that I find to be quite interesting.

kirbyfan64sos··on The end of the nice GTK button
Posted in another comment:

> This is an unfortunately very common misconception: you can still set GTK_THEME on libadwaita apps, it's only the gsettings configuration that doesn't work (due to implementation constraints, unfortunately).

kirbyfan64sos··on The end of the nice GTK button
This is an unfortunately very common misconception: you can still set GTK_THEME on libadwaita apps, it's only the gsettings configuration that doesn't work (due to implementation constraints, unfortunately).
← PreviousPage 2 of 3Next →