Hacker Newsnew | past | comments | ask | show | jobs | submit | ajitid's commentslogin

Also would like to add that he has a YouTube channel as well https://youtube.com/@statquest



This is almost definitely the problem they're facing although I think that description is a little bit odd. It's missing the operative word: "portals". It's the XDG desktop portals service that is involved here. What you need to ensure is that you have a desktop portal provider set up that provides org.freedesktop.impl.portal.FileChooser. What's kind of neat about the way xdg-desktop-portals is architected, you can pick and choose different implementations for different services. This is especially useful outside of desktop environments where you might need to use e.g. the wlr provider for screenshots and screen capture, but you still want e.g. KDE file dialogs.

It's unfortunate that the documentation for XDG desktop portals (and generally, setting up a complete desktop setup when using compositors like labwc or Sway) is relatively poorly documented. I have my feelings about the pervasiveness of DBus services everywhere but overall I like desktop portals.


Apparently yes. I tried installing xdg-desktop-portal-gtk at first, but that didn't work. xdg-desktop-portal-kde did.

But now I get issues that are likely due to problems with downloading language server binaries and running them, as the parent comment indicated. When I open a Rust project it says "Language server rust-analyzer-2024-07-08 (id 1) status update: Failed to load workspaces."

Also, it dumps core every time I quit. :)


For the commenters here: do we have something like VimR [1] for OSes other than the Mac that provides a file explorer sidebar with smaller font size (probably sans)?

[1]: https://github.com/qvacua/vimr


This assumption breaks if you use macOS. Windows uses (or used to use) Apply button in its settings. Macintosh OSes were reactive from the start. Which means that checkboxes have immediate-ness on Macs.


As a non-Mac user I really want to know why one would prefer Homebrew on Linux.

My assumption is OS package manager would always have more packages compared to Homebrew, and I don't know if Homebrew on Linux even supports GUI packages or not.


Seems like I cannot delete this non-"Show HN" post.

Here's the updated submission: https://news.ycombinator.com/item?id=35373349


Ever tried gluing Go with either Python or JavaScript? I'm interested in learning what libraries are there to glue them and how complicated and slow they could be.


I've used gopy[0] recently to access a go library in Python. It surprisingly Just Worked, but I was disappointed by some performance issues, like converting lists to slices.

[0] https://github.com/go-python/gopy


The gulf between the world Python was written to address and the world we live in continues to grow. Python's native memory layout is actively hostile to any sort of performance on modern systems, so it's going to continue to have the problem that interacting with a faster runtime will require a ton of copying.

I've never been impressed by the claim that you can just drop in other faster languages into Python; the costs of communication are so staggeringly high that you have to write around it to have any gain, and by the time you've moved effectively your entire task into the underlying faster language, Python's gain is often quite minimal. NumPy works to some extent because it can fire off huge tasks from a single Python call, a lot of less numerical code can't do that, and I think the ML community still generally underestimates and fails to understand how much performance they leave on the floor in the Python portions of their code, at least based on my interaction with them.


Hi folks!

Telltail [1] lets you copy text from one device onto another. If you've used or ever known about Apple's Universal Clipboard, it is quite like that. It uses Tailscale [2] to achieve this.

I must tell you that setting it up requires you to have some familiarity with the terminal (which already comes installed on your computer).

I've written a blog post about it which you can find here [3]. The instructions to install it are here [4].

It is a personal project of mine and is not affiliated to or promoted by any org.

[1]: https://github.com/ajitid/telltail-center

[2]: https://tailscale.com

[3]: https://hemarkable.com/prose/telltail

[4]: https://guide-on.gitbook.io/telltail


TIL, thanks! I didn't the look of em dash in the middle of a sentence but I didn't know any other option.


Can you share this piece of code?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: