News for hackers. Stuff that matters.

stolksdorf

Re:Show HN: Rad Type - Can we make gamepad typing fast? on Wednesday April 30, 2025 @12:14PM (#43847288)
Working on my end, thanks!
Re:Show HN: Rad Type - Can we make gamepad typing fast? on Tuesday April 29, 2025 @12:01AM (#43828585)
Really great stuff, having demos for the progressions was a very nice touch

I had some ideas/modifications, so I sketched up a version in autohotkey and really liked playing around with it for a bit:

-> Pressing in the joystick also switches to alt mode, instead of having a separate button. Works really well, just need to tune the timing/tolerances a bit. It felt way more intuitive.

-> Right bumper => space, Left Bumper => backspace

-> Right Trigger fully down => jumps cursor to start of next word (left trigger start of prev).

-> Right Trigger partially down => moves cursor that much to start of next word (eg. half way down, halfway through current word)

-> Holding a trigger down while using the other one selects the text. This one is a bit awkward to use, needing to "undo" the initial press and not really having a way to unselect if you selected too much. Will need more experimentation to see if it's a good idea.

This leaves the buttons available for new line, key swap (numbers, symbols, etc.), confirm/exit; And dpad for direct arrow key control.

Thanks for sharing!

Bug Report: I could not get the Gamepad Mapping Settings to work. No changes registered, no errors in dev console. Win10 chrome.

I also struggled with this when watching it. It's frustrating because I am really enjoying the show, it makes me feel like a kid again, but I have such a strong desire for consistent and cohesive world-building.

The trick/explanation/excuse I've been using is that we know our characters are explorers and experts, so maybe the life on this planet isn't as "alien" or "unknown" to the characters as it seems to us.

I've had survival training, I know how to identify certain useful plants or recognize tracks from animals in ecosystems I don't live in, so I tell myself that it must be like that from their perspective. Which lines up, seeing as the character's don't seem to react that strangely or shocked to most of what they see. Even one of them says that their goal is to not only survive, but _thrive_ here until rescue.

Highly recommend it, the trailer gives a good sense of the vibes without giving away too much.

It's relatively new, but I've been using Coda.io to build a lot of interesting ideas out. I've built some fantasy leagues, a very powerful task tracker/organizer, and do all of my trip planning using it.

Definitely check out their templates, https://coda.io/templates

Re:Random JSON data generator on Thursday May 01, 2014 @05:21PM (#7682770)
http://stolksdorf.github.io/JsonGen/ Enjoy.

Eerily similar syntax to submitted one. I could roll this into a npm module rather quickly.

Re:A useful Caps Lock key on Friday December 27, 2013 @09:11AM (#6970638)
I've been using it for about 1.5 years, and it's been mostly consistent between applications; Notepad being the only one I've noticed with odd characters it includes in the ctrl+arrow movements. I really like the approach using Autohotkey because it becomes universal on my system, so capslock can select words in chrome, IM apps, etc. I don't have to worry that the app supports that feature.
Re:A useful Caps Lock key on Friday December 27, 2013 @12:31AM (#6969504)
I've used Autohotkey (Windows) to remap my capslock to select the word my cursor is currently in. Essentially pressing ctrl+left, then ctrl+shift+right. I too have become so use to this that using other people's keyboards is frustrating. I've taken this a couple steps further, shift+capslock selects the current line and ctrl+capslock activates Sublime's multicursor feature.