Recent submissions

Comment · 2 years ago
I'm making a video game, and I want to map a joystick position to a rotation (of a sword). I have a set of keyframes for certain joystick positions, and I want to interpolate between the three nearest ones to create a continuous function from joystick position to sword rotation.
Comment · 2 years ago
Comment · 2 years ago
A game called 4D Golf came out recently if you want to try interacting with the physics of minigolf in 4 spatial dimensions.
Comment · 3 years ago
For crypto, isn't assembly used to help prevent timing attacks? I don't know if that can be done in pure Rust.
Comment · 3 years ago
As someone who's doing some accessibility programming but has no background in the field, I do have a random question to throw your way if you are game.

Our team is developing voice control for a website. This is mainly requested by sighted users who want to use the site hands-free. But we also have an accessibility mode for better screen reader support.

We think voice control might be appreciated by screen reader users too, but we aren't sure how well it would work with a screen reader.

Are there common pitfalls we should be wary of?

One thing we're worried about is that the voice from the screen reader might interfere with the detection of the user's voice.

I know general dictation and voice control software already exists, so my initial assumption that screen reader users would benefit might be wrong. If the existing tools are good enough, perhaps this whole question is moot.

Comment · 4 years ago
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
A bit off topic, but I'd caution against using business tactics in chess.

> While the opportunities Rockefeller capitalized on are unlikely to come about again, they show how chess strategies can translate into business acumen.

India's youngest billionaire Nikhil Kamath played chess when he was younger, and he used his chess background much as this article does to promote his business acumen.

Just yesterday, he played in a charity simul against 5-time world champion Viswanathan Anand. He was the only player to defeat Anand, an obvious sign of computer assistance.

That's what can happen now that computers are better than humans at chess. Maybe one day they will outclass us at business too?

Comment · 5 years ago
I'd recommend Megalobox 2: Nomad as a rare gem, much more so than its first season. It takes a classic underdog story then asks: What happens after the hero wins?

It's an adult story. A story of homelessness, of community; of addiction, of compassion; of parenthood, of adolescence. And there's some boxing.

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
You can already put CSS in an SVG favicon. That's one way to adapt a favicon to a user's native dark mode/light mode preference.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton