News for hackers. Stuff that matters.

Arkanosis

That's nice!

That may not seem like an obvious use-case when only thinking about a piano, but since it's mapping MIDI keys to commands, I guess it should be able — or at least no very far from being able — to map ergonomic MIDI controllers to actions that are not as ergonomic with the usual keyboard / mouse / trackball / touchpad most people use.

I wrote what I believe is a similar tool but with completely different goals initially: https://github.com/Arkanosis/smhkd ; I use it with a cheap MIDI controller (namely the KORG nanoKONTROL2) and was considering using another one with motorized faders (namely the Icon Platform M).

MIDI controllers are great for all kinds of non-musical things like: - setting the volume / balance / solo / mute for speakers / multiple headsets and mixing multiple applications (eg. using pactl); - setting the zoom level / brightness for camera / webcam (eg. using v4l2-ctl) ; - setting the source / brightness for monitors (eg. using ddcutil)…

That would either mean you can tell the device to lie (which makes it useless), or that you don't own the device you use (which makes it unacceptable).
Re:How Gzip Work on Tuesday September 17, 2024 @01:37PM (#41570374)
On top of enabling indexing, it reduces the amount of data lost in the event of data corruption — something you get for free with block-based compression algorithms like BWT-based bzip2 but is most of the time missing from dictionary-based algorithms like LZ-based gzip.

I don't think many people use that last property or are even aware of it, which is a shame. I wrote a tool (bamrescue) to easily recover data from uncorrupted blocks of corrupted BAM files while dropping the corrupted blocks and it works great, but I'd be surprised if such tools were frequently used.

Re:The Future of Synapse and Dendrite on Tuesday November 07, 2023 @03:59PM (#38182743)
It's great. I've been using it as a single-user Matrix homeserver for a little more than one year now and haven't had any issue with it whatsoever. It's taking around 100 MiB of resident memory and consuming 0% of the CPU on my small server; I've used chat /clients/ that use ten times more than that.
Re:A new home and license (AGPL) for Synapse and friends on Tuesday November 07, 2023 @03:41PM (#38182536)
I understand that pre-fork code is under the ASL, not the AGPL, so anybody can use it within derivative works under any license — no CLA needed.
I've been using UNIX-like machines (mostly Linux) since the mid-2000s and single-user machines have always been the exception rather than the norm everywhere I've been.

Even at home, I've set up multiple accounts for myself (main one, one for closed-source programs, one for gaming I can share with other people…) and for my family (to each their preferences, wallpaper and so on). Having two or three user sessions running at the same time is not uncommon. I'm probably the exception here, but I don't think Podman targets the regular home user anyway.

It's not obvious to me how Podmansh would revolutionize that, but I guess it's nice, I'll try it for sure.

My understanding is still imperfect, but I'll try to provide some info:

Not all messages are encrypted with the same key, so if all of your clients are not connected at the same time, and the same is true for the sender, they can't exchange their keys. When that happens, each client can only decrypt the subset of the messages for which it has the keys. Also note that clients only exchange their keys with other verified clients.

If you look at the “session_id” attribute of the JSON source of the messages, you'll see that for a given session (ie. when the sender is logged in a client), all the messages are decrypted (which means you have the key for that session) or none of them are (which means you haven't received the key for that session yet).

My (imperfect) understanding is that this is because of how end-to-end encryption works: you not only need to receive the messages (which are stored on the server, so you don't have to worry about them as you can retrieve them when you want), but also the keys to decrypt these messages (which are only stored on the clients, so whether or not they are available depends on you).

Possibly, one of your clients has the keys needed to decrypt one of the messages, but you're using another client which doesn't. Things go back to normal when both are connected at the same time and can share the keys, or when the client of the sender is connected and still has the keys.

If you don't keep your clients connected all the time, you can use a secure backup on the server, so the clients can retrieve the encrypted keys from the server and decrypt them locally.

Not having the keys happens more often if one the parties uses short-lived sessions (like logging exclusively in a private browser window, for example).

This article helped me with understanding a little: https://gerstner.it/2021/02/matrix-and-e2e-encryption-or-how...

Thank you for your answer.

1: That's a relief :)

2: I've just joined `#conduit:fachschaften.org`; we'll see if I can help somehow.

Hi Timo!

I've been using Conduit for 10 months now and I love it. Thank you so much for it!

I've two questions:

- Is there any concern to have with regards to its future when you finish university? You seem to be by far the most active contributor and I'm worried the project is still dependent on how much time you can afford to put into it;

- What is the best way for a Rust / Linux developer to do a first impactful contribution to Conduit? With 155 open issues on GitLab at the moment and no problem really standing out for me as a user, I don't know where to start :p

Thanks!

BTW I hope you land a great job; I'd happily recommend you where I work, but we don't have any office near Dortmund unfortunately… Feel free to reach out to me if Dortmund / remote is not a requirement.

I've been running it for 10 months now. Very smooth experience (both installation and usage).

I'm the only user on my server and I've not joined any very active room, but so far its impact on my small VPS performance has been negligible.

I've used quite a few different window managers (WM) in the past, and I'm mostly sticking to awesome today, which shares with i3 the benefit of being highly configurable (even scriptable), which undoubtedly makes me much faster at navigating my windows than any other WM…

The exact monitor / window / new program to run I want to look at is always exactly one keystroke away, an so are moving, resizing, bringing to top and so on.

This did not happen by just installing this WM, though. I've had to tailor it to my specific needs, and that's still an ongoing process, as needs change over time. The WM makes it possible, but there's still work on the user side.

Also, I feel like the (real) benefits can easily be dwarfed by the inefficiencies of what's in the windows you're dealing with. What's the point of being able to open an app without leaving the home row of your keyboard or instantly focus on the right app window if the first thing you need to do to use that app is to grab a mouse and click in ten difference places? You get most of the benefits of i3, awesome and other similar WMs when you combine them with keyboard-driven programs.

Same here! I have no arthritis of any kind, but these are very thin gloves that do not get in the way when typing (unlike most other gloves) and still make a huge difference wrt cold hands. Got two additional pairs for my parents; they love them as much as I do.
Shoe lacing. Then I found out Ian's fantastic website:

https://www.fieggen.com/shoelace/grannyknot.htm

Small, but life-changing discovery.

Unexpectedly (to me at least), this might be the most enjoyable Wordle-like I've tried so far!
Re:Vectorized and performance-portable Quicksort on Saturday June 04, 2022 @01:21PM (#31622933)
Pushing them out of the CPU, I don't know, but some SIMD instruction sets on some CPUs have side effects that can negatively affect the performance of other operations. For example, the use of AVX2 / AVX-512 can cause some Intel CPUs to lower their base frequency, thus reducing the performance of simultaneous operations that are not using SIMD.
Re:France ends gas heaters subsidies on Thursday March 17, 2022 @07:05AM (#30709754)
Developer in France here. No, it's not, not by a long shot.
Re:Steam Deck reports are here on Friday March 04, 2022 @06:04PM (#30561818)
If you want to ((use open-source drivers OR use wayland) AND play demanding games), that's true, AMD hardware is probably a better choice, but: - if you're fine with the proprietary Nvidia drivers and Xorg, Nvidia hardware works great; - if you play less demanding games, Intel hardware works great.
Re:Req – An HTTP Scripting Language on Wednesday March 02, 2022 @03:32AM (#30525166)
That seems so obvious, now that you said it. Thanks for sharing :)
Re:Req – An HTTP Scripting Language on Tuesday March 01, 2022 @03:44PM (#30519735)
It's sans-serif, hence the difference.

What's extremely interesting is that on my laptop, HN is 12px when Firefox is full screen, but 13.33px when Firefox only uses the left or right half of my screen.

Re:Less secure apps and your Google Account on Tuesday March 01, 2022 @09:22AM (#30514443)
From the client's point of view, it's like a password. Just not your password. (edit: talking about app passwords, unrelated to oauth or stuff like that)
Notepad++, PSPad.

7-Zip, LZ4, Zstd.

Re:Using Ansible and Nomad for a homelab (part 1) on Sunday February 27, 2022 @11:20AM (#30489758)
I've barely scratched the surface of Nebula lately, but how could a vendor add nodes to your Nebula network if they don't have your CA's private key?
> the Jabras allow you to walk really far away; almost the entire house I've heard

I guess it depends on the size of the house and the thickness of the walls; maybe also of the BT quality of the device it's paired to.

Anyway, I indeed have no issue going to another room in the office or in the small apartments I'm working / gaming from. After two (thin) walls between the devices, the sound quality starts to deteriorate, so I don't have very high expectations across a large house.

I've spent countless hours weighting the pros and cons of many models back in 2018, and ended up buying the Jabra Evolve 75 for myself. I've been so happy with it that I bought it for my significant other, who enjoys it as much as I do.

Sound quality is good over USB and more than OK over BT; it's fairly comfortable; BT range is good; ANC is good (I use it in noisy open offices and public transportation); I've never run out of battery during my work day, despite using it sometimes for hours; there's a sturdy transport case that allows me to take it with me everywhere (and I move a lot). I'm using it mostly over BT with Linux, Windows and Android and it's very easy to pair.

That's an expensive item, but I've been using it pretty much every day for almost 4 years now and it's showing no signs of wear, so I'd say that for me at least it's worth it.

I must stress out that this is a very good work / gaming headset, but while it's very decent for music listening over USB, I wouldn't recommend it for a primarily audiophile usage (especially not over BT). Also I wouldn't recommend it for sports.

There have been new models since 2018, so I'm not sure if this is still the best value in 2022. On paper, the Jabra Evolve 2 85 looks great, but I haven't tested it myself. I'd definitely welcome an upgrade over the Evolve 75 with better sound quality over BT — it's really not that it's bad, but the difference with USB is very noticeable. It could also be more comfortable while wearing glasses, but I've yet to see a model that is.

I haven't spent that much time weighting the options for this one, so I don't really feel like I can recommend this model over others, but here it is:

  https://www.amazon.fr/gp/product/B01FWIJ25S
I'd say the right one really depends on your needs. In my case space was an issue, so I took a really small one. It's OK for 1 / 2 people, but I wish I could put a little more cutlery in it.

Anyway, I'd definitely recommend any model over not having one.

Gator Frameworks Clamp-On Studio Monitor Stand: https://gatorframeworks.com/products/frameworks-clamp-on-stu...

I've spent countless hours weighting the pros and cons of many stand models, and this one checks all the boxes except one (you can only tilt it in one way); no other model I've seen comes close. Also, they feel very solid: I use them with the 10 kg Edifier R2000DB (awesome bookshelf speakers, BTW) and it's not moving at all.

The list could be very long, but here are a few things which I have started using lately and which have proved more useful than expected:

- A dish draining rack: that's very inexpensive and I'm wasting way less time and space than before arranging dishes.

- A vertical desktop file sorter: exactly the same thing, but for papers.

- Thin, fingerless gloves I can type with: while this has not solved my dry hands problem in winter, it has helped a lot.

- Monitor and speakers stands: that has bought me a lot of desk real estate.

- Pan lids: cooking is faster, smells less, and consumes less energy; also some food is less dry.

And the thing I've been using for a few years now, but which has been waaaay above my expectations:

- A headset with ANC and multipoint Bluetooth: a real life changer for work, gaming and phone calls; the most expensive item in this list, but definitely worth the price for me.

Re:How FreeDOS Grew Up and Became a Modern DOS (2021) on Saturday January 29, 2022 @12:50PM (#30128506)
Major French computer store LDLC (and its subsidiary materiel.net) sells modern laptops with FreeDOS preinstalled (so you don't have to buy Windows). I wonder if that's something others do as well.
Re:How Not to Support Desktop GNU+Linux, Zoom Edition on Friday January 21, 2022 @10:03AM (#30024413)
I assume GP was thinking of Nvidia having started to work on the GBM API, available starting with nvidia 495.44: https://www.nvidia.com/Download/driverResults.aspx/181274/en...

Older »