HNHacker News
TopNewBestAskShowJobs

dhon_

334 karma · joined January 20, 2014

submissionscomments
dhon_··on Chrome is adding `window.ai` – a Gemini Nano AI model right inside the browser
Is Multicast networking suitable for distributing something like this on a large scale?
dhon_··on Meta Llama 3
I've noticed Gemini exhibiting similar behaviour. It will start to answer, for example, a programming question - only to delete the answer and replace it with something along the lines of "I'm only a language model, I don't know how to do that"
dhon_··on TinySSH is a small SSH server using NaCl, TweetNaCl
I suspect the average openssh-server user just uses it for remote terminal access and copying files. Reducing the attack surface by dropping features and outdated standards is certainly valuable.
dhon_··on Affordable Wheel Based Refreshable Braille Display
What about "printing" braille characters on a continuous rotating reusable tape?

Those silicone "popper fidget" toys come to mind as something that are flexible, could be cheaply mass produced, and could hold a given state at the "print" head. It might be possible to embed small metal ball bearings inside that are moved between the outer & inner surface to increase tactility.

The print head just needs enough actuators to change the state of a given column of dots as the tape is rotating past, and a feed motor to move the tape.

dhon_··on John Locke's recipe for Pancakes (2021)
I don't like sifting flour. I add the wet ingredients slowly to the dry and mix well while it's thick to a smooth consistency before slowly adding the rest of the wet ingredients.
dhon_··on Show HN: Checkmate Champ – a training tool for chess tactics
Gotham Chess is entertaining, but Levy's not doing so much beginner content these days. I like Eric Rosen's "speedrun" series. He's got an authorised speedrun account on chess.com (meaning that his opponents do not receive a penalty for the games) and he has a very calm style and takes time to explain the positions. Very educational.
dhon_··on Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
What is "world" in this context? I assume it's all users on that machine, but the term "store" feels like it might be online?
dhon_··on Show HN: Dobb·E – towards home robots with an open-source platform
Rosbag is just a capture of published Ros topics which can include point clouds, image/video data, imu, pose etc
dhon_··on Shshsh is a bridge connects Python and shell
What are the similarities/differences to plumbum? https://plumbum.readthedocs.io/en/latest/
dhon_··on Mashing Enter to bypass full disk encryption with TPM, Clevis dracut and systemd
I'm imagining a scene in a Bond movie where 007 casually bypasses encryption by mashing the enter key. Actually I don't think even movie studios would think that looks realistic.
dhon_··on Asynchronous Rust on Cortex-M microcontrollers
You can run multiple executors at different interrupt priority levels (with multiple tasks per executor), which allows tasks on the higher priority executor to interrupt other tasks. Here's an example https://github.com/embassy-rs/embassy/blob/main/examples/nrf...
dhon_··on ChatGPT has no inner monologue or meta-cognition
I just watched a Ted talk by Sal Kahn (founder of Kahn academy) where he talks about giving their chat bot an internal monologue. It's light on details but might be a starting point.

https://youtu.be/hJP5GqnTrNo?t=735

dhon_··on A low latency guitar effects processor suitable for running on a Raspberry Pi
Surface mount soldering is not too hard. I can't view the BoM on mobile, but from the photos the soldering looks achievable for someone with experience soldering through hole. Take a look at the document here https://github.com/monome/norns-shield/tree/main/bom - if it's mostly 0805 sized components you should be fine. Even a few 0603 would be okay if you have good vision and a steady hand.
dhon_··on Six doctors swallowed Lego heads (2022)
This man apparently had a lego piece stuck in his appendix for 40 years after swallowing it on a dare https://metro.co.uk/2005/02/17/lego-removed-from-body-591849...
dhon_··on You can hook your MIDI keyboard up to a website with Firefox 108
I would argue it also lowers the barrier to entry for experimenting with new techniques for generating/processing audio. For example, you could pretty quickly create a page that has touch controls for adjusting parameters, uses a neural network for generating MIDI data, and then outputs that MIDI to a VST running on your computer.
dhon_··on Pico-8 CPU
I have the original handheld console Pocket Chip[1] which came with PICO-8. My son is now enjoying it as a learning tool for game development, but it's quite slow to boot up and there are no more software updates Next Thing Co. is no longer around.

Clockwork Pi (who make the DevTerm) is creating a sort of spiritual successor, the uConsole[2] and they've just started taking preorders. I don't know if it comes with PICO-8, but you could always load the FOSS TIC-80[3] instead. I like that they've included key caps to the buttons as the typing experience on the Pocket Chip was terrible.

1. https://en.wikipedia.org/wiki/CHIP_(computer) 2. https://www.clockworkpi.com/uconsole 3. http://tic80.com/

dhon_··on Leap: Neovim’s Answer to the Mouse
I've worked a little with commercial eye tracking software. It's typically paired with an infrared sensitive camera and IR lighting because the pupil stands out more against the iris under IR light. It also benefits from a rectilinear camera lens and/or software calibrated lens distortion.

Environmental challenges like lighting conditions, glare, whether the user has glasses or hair obscuring their eyes need to be controlled. If the user is looking downwards towards the screen, their eye appears more closed making it hard to accurately find the iris location.

You also need an accurate measure of the position of the head/eyes relative to the camera. So dedicated hardware like a depth camera might be needed for high precision tracking. Depth cameras come with their own set of issues.

The resolution of even a high-res camera versus the change in pupil location for small eye movements means that by the time you crop out the eyes, you might only be working with a very small image (<100pixels or less). Even with subpixel hinting, there's not a lot of detail left. Small errors here and in the head tracking location can cause large errors in the screen position estimation.

dhon_··on Facts about State Machines
Unrelated to javascript, but in the robotics industry there is a trend towards Behaviour Trees. https://www.behaviortree.dev/ is a C++ library that was originally designed for controlling robots via ROS, but it appears to be decoupled from the ROS ecosystem so it could be used for other projects.

There is a basic UI available for editing the tree https://github.com/BehaviorTree/Groot

dhon_··on You can't buy a Raspberry Pi right now
These are really great as a router/firewall. Multiple Ethernet ports, a low power (fanless) x86-64, battery backup for RTC (which is missing from a lot of SBCs), good connectivity for storage and wifi modules.

I do wish it had video out as that would simplify setup & diagnostics for me, but the serial console is fine.

dhon_··on Dear Chess World
Well it sure has generated a lot of attention...
dhon_··on Show HN: A Little Tool to Visualize Guitar Chords
Great looking site, well done.

Are the chords all hand coded? What determines which notes are included? For example some G-shape chords (using CAGED system) are missing the low E & A strings, while some are missing the high E.

It would also be nice to see all 5 CAGED versions of the chord, rather than just 4.

dhon_··on Learn to sew your own outdoor gear
This is a cool project. I wonder swapping the laser for a sharpie/pen plotter would make it more accessible to a wider audience? I imagine that you could cut it accurately enough if the designs were drawn onto the fabric?
dhon_··on I love my GPD Micro PC
I carry a folding bluetooth keyboard when I'm on call and just use my phone to SSH to another system. It's a great setup in a pinch. Decent battery life, built in 4G and close to a full sized keyboard which is much easier for typing than these micro PCs.

I've also used my phone connected to a screen/keyboard/mouse through Samsung Dex and it was a very desktop like experience for my use case. Although it's rare that I'd have the required equipment and not be carrying a full sized laptop.

dhon_··on Why should I have written ZeroMQ in C, not C++ (2012)
Is there something like zeromq (or build on it) that has guaranteed delivery?
dhon_··on 10mbps over 1km on a single pair of wires
You might be better off with directional wifi antennas if appropriate for your application.
dhon_··on Physicists are building neural networks out of vibrations, voltages and lasers
Fascinating, thank you for sharing!
dhon_··on Physicists are building neural networks out of vibrations, voltages and lasers
This reminds me of the method of calculating Fourier transform by refracting light through a prism and reading off the different frequencies. You get the "calculation" for free.
dhon_··on Results of 500 MicroSD Benchmarks on SBCs
We use a Supercapacitor UPS hat to supply enough power for a controlled shutdown due to concerns over SD card corruption (you get around 1 minute). It's been reliable on systems that regularly lose power over a period of around 5 years. The hat we use (Juice4Halt) is more expensive than the SBC though, so that is probably a non-starter for a lot of people.
dhon_··on I Can’t See You but I’m Not Blind
I think to say they had any colour at all in my mind might be pushing it. The way I imagine it is more like the concept of a ball and table. The imagery, while clear to me, seems fuzzy somehow if I try to resolve details. Yet I know the objects themselves are not fuzzy.

I can imagine the things you describe in a beach scene, and on the surface I feel like it's an accurate depiction of the scene. But if I try to describe it in detail it starts to fall apart and the description would be vague compared to my wife.

dhon_··on I Can’t See You but I’m Not Blind
Not diagnosed, but it seems to just fit my experience so well.
← PreviousPage 2 of 3Next →