News for hackers. Stuff that matters.

zxter

Re:Write for One Person on Sunday June 14, 2026 @11:16PM (#48536175)
One thing I've noticed is that information is often either too basic or too advanced. The hardest resources to find are the ones that bridge that gap. Writing for a specific person often produces exactly that kind of explanation, which is probably why these posts end up helping so many others as well.
Actually, I’m not overcomplicating things—just overexplaining because you mentioned it might be a stupid question.

Your example is valid, and I acknowledged that it’s correct in my first reply. I also added that, in these types of keyboards, there could be special logic to compensate for missing keys or provide additional features for comfort or ergonomic reasons. This means the keys need to communicate with each other and send the final keystroke afterward.

I also noted that almost all keyboards are not entirely "dumb" and include at least a processing unit to scan the matrix—something you agreed they should have—as well as to handle USB or Bluetooth communication. This processing unit can easily be used for the reasons I mentioned above, without requiring extra hardware or additional software/drivers on the OS side. This approach offers a modular, OS-agnostic way to create a custom solution for comfort or ergonomic needs.

Re:Bayleaf · Building a low-profile wireless split keyboard on Thursday March 06, 2025 @11:41PM (#43287407)
First, for an operating system to process input, it must continuously scan the keyboard matrix to detect keypresses. This adds extra load to both the OS and the CPU. Additionally, every OS must implement the same logic with the same parameters. Since there are many types of keyboards, each OS would need to know every keyboard's matrix layout.

However, before addressing that, like keyboards other HID peripherals are not directly part of the hardware. They connect to computers via USB or Bluetooth, and to do so, keyboards must have an internal chip, "a brain" even just for communication, let alone scanning keyboard matrix. This is similar to how a mouse processes sensor data internally rather than relying on the computer to interpret it. As a result, they can be used on almost any smart device with USB or Bluetooth.

Since we already have this extra chip, "brain", we can add personalized custom logic to simplify our lives and give our hands and wrists a break. This is similar to how gaming mice reduce DPI when the aim button is pressed or how old joysticks had an auto-fire button.

Shh! The computer doesn’t need to know ;)

Re:Bayleaf · Building a low-profile wireless split keyboard on Wednesday March 05, 2025 @01:27PM (#43270335)
When you have two halves of a keyboard recognized as separate keyboards by the computer, then just like you said. For example, if you press shift on the left half and u on the right, the computer first sees the shift and then the u. It then types a capital U.

But in my case, let's say I don't have any numbers on the keyboard. Instead, I use modifier keys to create a layer for numeric values. So, when I press a modifier on the left, the computer won't notice. Then, pressing what would normally be the U key on the right sends a 7 instead. The computer just sees a 7 being pressed.

Re:Bayleaf · Building a low-profile wireless split keyboard on Wednesday March 05, 2025 @08:40AM (#43266232)
There’s no issue with a computer recognizing two keyboards, but smaller keyboards often lack all the keys found on a standard one. So, you’ll need to use modifiers to create the keystroke and then send it to the computer. If you press a modifier on one half, the other half needs to be aware of it to send the final keystroke. Creating a layout with these modifier-based key combinations is just a small part of the many tricks you can pull off with custom firmware. While the computer thinks it’s connected to a standard keyboard, you can do some really deep customization on the keyboard side.
Re:Uses for an old Android device on Tuesday August 09, 2022 @04:20AM (#32395425)
You can use a plug with timer or even a smart plug that device itself turns on and off when battery level reaches certain levels.
Re:Firefox Release 89.0 on Tuesday June 01, 2021 @11:09AM (#27355553)
It does. As you said they are small and maybe you don't notice, but for some of us, it may mess up our muscle memory. I believe parent poster's honesty because in every update, trying to change back new UI elements is really annoying. Worse, some of them cannot be reverted. You have to adjust yourself to a libre software's changes.
Re:1984: The Hitchhiker's Guide to the Galaxy on Thursday April 08, 2021 @10:10AM (#26738858)
> Adams never revealed the origin of 42.

Actually Stephen Fry claims that Douglas Adams told him. But it seems he is taking it to the grave to honor his vow.[0]

[0] https://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker%27...?

Re:Get Started with Tmux on Sunday April 04, 2021 @07:05AM (#26688456)
Try the defaults until you get the basics. Look at the help file what you can do and what you need. After that you may want to implement seamless navigation between tmux panes and vim splits[0]. It really isn't a must but hey, it is very convenient for starters since they don't have any muscle memory for switching different splits.

After that maybe try to do same with AwesomeWM and that would be the ultimate navigation setup.

[0] https://github.com/christoomey/vim-tmux-navigator

Re:Digital banking, now halal on Friday September 18, 2020 @12:04PM (#24518490)
Can you elaborate?
Re:The best Parts of Visual Studio Code are proprietary on Tuesday August 04, 2020 @04:53AM (#24048003)
This feels like free to play but pay to win kind of games, or cheap base game to release to poison, countless expensive DLCs. But instead of money, it is freedom.

Just because of this I prefer open source projects from smaller developers that are built with labor of love, instead of from big corporate businesses that will eventually try to use you for any kind of profit.

Since topic is similar, I would like to recommend onivim 2 [0] for who prefer vi bindings. It is almost out of alpha and in pretty usable stage. Currently they are integrating open-vsx. Project is open source with dual license and it is currently very cheap for who wants to support, or free to build from source to try.

[0] https://www.onivim.io/

Re:Adventures in booting Linux on Raspberry Pi 4 on Sunday June 28, 2020 @10:58AM (#23669148)
If this was in portraid mode, it could have been a wonderful live wallpaper changing with respect to time of the day!
Very cool idea, since this is a niche product why not adding a small qr code for the articles? By this way this could totally be printable. You read articles from paper while commuting etc. Mark the ones you find interesting. At the end of the day you could visit them via you phone if you really want to see them live.
Good advice! Maybe a few shoutouts to your future children.
Submitting PR to WinGet's repo for changing the name to AppGet, also crediting original author.
Please consult a doctor before taking lamp form. You could easily reach toxic levels.
Tnen check out historysearch [0] If I remember correctly they index your history so it could include your history. You don't even need to bookmark.

Of course I cannot vouch for their respect for privacy.

[0] https://historysearch.com/

Pinboard [0] has this feature with additional price. Just bookmark and you are done. Later you can text search in their content.

[0] https://www.pinboard.in/

Re:Ask HN: How do you manage your bookmarks? on Tuesday January 21, 2020 @12:50PM (#22109344)
When you try to bookmark a page, it shows recommended tags based on the other users' tags. So I can safely answer yes.
Re:PyPy v7.2 Released on Saturday October 19, 2019 @04:14PM (#21300526)
Yes it was discouraged previously. It became an implementation detail in 3.6 but is wasn't guaranteed. But now it is guaranteed in version 3.7:

> Changed in version 3.7: Dictionary order is guaranteed to be insertion order. This behavior was an implementation detail of CPython from 3.6. [0]

[0] https://docs.python.org/3.7/library/stdtypes.html#typesmappi...

Re:PyPy v7.2 Released on Saturday October 19, 2019 @01:08PM (#21299497)
I am waiting 3.7 compatibility for dict insertion order which I rely in my last project. I know I could use workarounds but now it is safe and stable and I am not in a hurry. Until then waiting in CPython.
Re:Project Trident Ditches BSD for Linux on Saturday October 19, 2019 @12:52PM (#21299404)
BSD is mostly overcautious about security that leaves it behind others hardwarewise and softwarewise. For some people that is ok, (who has old but enough hardware or needs to run good enough and settled down software) for others this might be a deal breaker like this case apparently.
So... what is next? Mentioning/linking patreon profile in YouTube videos could also be bannable if one disable ads in their videos?
Re:The Panic Sign on Friday May 13, 2016 @04:02AM (#11689218)
Slightly off-topic: About the weather sign at the beginning; there is a tower in Istanbul that was initially build in 1749 to watch for fire and report with baskets (daytime) and lights (night).

Now it is is still in use today as a watch-tower as well as for signaling weather forecast and maritime navigation information to the ships on the Golden Horn at night.

source: https://en.wikipedia.org/wiki/Beyazıt_Tower

Re:Fallout 4 Service Discovery and Relay on Monday November 23, 2015 @12:49AM (#10613090)
With this we can prioritize healing items and auto use them when on low health!
Re:Ask HN: What are some alternatives to HN? on Tuesday February 18, 2014 @02:32AM (#7256881)
Thank you in advance. If you send me an invite to the e-mail in my profile I'll be happy.
Re:My Biggest Vim Productivity Boost on Tuesday May 21, 2013 @03:10AM (#5742282)
but then you can't yank and paste between buffers since you will be using seperate vims.

you can try dwm.vim (https://github.com/spolu/dwm.vim) if you have spare keybindings.

if you are still not convinced and want to use screen, i recommend tmux since you can split both horizontal and vertical.

Re:Oracle makes move to kill open source MySQL on Monday September 03, 2012 @10:15AM (#4470423)
I also agree. But at least they sold it to Sun, not Oracle.
Re:Suggest HN: Hacker news circle on Google+ on Friday July 01, 2011 @09:14AM (#2718169)
emkimp (invite needed) thanks in advance