HNHacker News
TopNewBestAskShowJobs

johtso

900 karma · joined June 6, 2011

[ my public key: https://keybase.io/johtso; my proof: https://keybase.io/johtso/sigs/YxYSihnl8rZY30JJDe9RtNmh8OE7Kkem6MSXJtz_IPo ]
submissionscomments
johtso··on The Password Game
I keep getting illegal move on the chess problem.. although my move is not illegal.

  [Variant "From Position"]
  [FEN "3k4/1p3Bp1/p5r1/8/P3P1N1/5Pp1/1P1r4/2R4K b - - 0 1"]
  
  1... Rgd6
When I put Rgd6 I get "d6 (Illegal move)"
johtso··on Show HN: I built an AI language teacher to get you speaking
what model? is it running one of the smaller models client side?
johtso··on Show HN: I built an AI language teacher to get you speaking
What are you using for the speech-to-text? One thing that I really liked about Whisper was that I could mix english and Spanish and it would just work.. like "what does "una palabra española" mean?" and it would just work. Doesn't seem to work with this though.
johtso··on A birder's quest to see 10k species
But on the other hand, our knowledge and classification of the natural world is built on the shoulders of the "obsessive"s.

Most areas of naturalism require digging deep and obsessing over minutiae to unearth new discoveries.

johtso··on Mastering Monero: The future of private transactions [pdf] (2019)
Really not sure what you're trying to say here. People use Bitcoin for anonymous transactions and jump through various hoops to try and achieve this goal (for example using tumbling services). It seems perfectly valid to say Monero is better for anonymous transactions than Bitcoin. I'm not sure why it matters what it was "made for". All that matters is what it is used for in practice. This does not seem like a misleading statement.
johtso··on Unrelated Words Puzzle
I thought Deutsche Mark..
johtso··on The world’s oldest ultramarathon runner is racing against death
This is one of the things I love about rock climbing. It really seems like an activity that people can gracefully continue into their later years (if you're lucky enough to stay able bodied enough).

Activities that are hard on your body, and 100% physical, can be really unforgiving when it comes to the aging process.

With rock climbing you can kind of shift your focus.. maybe do more trad climbing instead of sport or bouldering. Focus on different types of climbs, maybe more technical slabby climbs where you're on your feet more. You can still feel like you're genuinely participating in the activity you love, even if you can't do exactly the same things you did before to the same extent.

johtso··on Hue Light Hack
I mean, I'm sure there's worse out there.. but the fact that I have to wait for my phone to connected via bluetooth before I can turn on my lights is such bad UX, often taking multiple attempts to connect to all the lights.

Just let me flick the switch, and then turn the lights on as and when you manage to successfully connect, don't make me wait.

johtso··on Effective Immediately: A central hub for people who've been recently laid off (2020)
At least in the UK, there are no benefits if you have savings.
johtso··on Guess the Game
Similar concept to this which has you guessing game cover art. https://www.gamedle.wtf/#
johtso··on Show HN: Ermine.ai – Record and transcribe speech, 100% client-side (WASM)
Have you tried https://speechmatics.com/ ? I think they have a specially tuned medical version, and quite a generous free allowance.
johtso··on Better World Books
What a funny coincidence, I literally just placed an order with them today through Abebooks for an old book on ferns and mosses not knowing who they were and was pleasantly surprised when I got the confirmation email that described their mission.
johtso··on Our Shift to Usage-Based Pricing
Good point. I could imagine someone with an impairment might take longer to navigate the service and would thus be charged more.
johtso··on Cerebras-GPT: A Family of Open, Compute-Efficient, Large Language Models
Not exactly sure why it would be surprising that it can come up with a convincing idiom when it can produce remarkably good _poetry_
johtso··on Thoughts on Svelte
I'd say pull that logic out of your components and put it in some central place like an XState machine exposed to your components through Context.
johtso··on Thoughts on Svelte
Sounds like the prop shouldn't be getting passed to the component then if the component isn't using it to render itself? Maybe it should be getting sent straight to your "store" perhaps? Let the components take care of the rendering, let your "store"/"state machine"/whatever take care of the side effects.
johtso··on Thoughts on Svelte
Yeah, the first time you realise you can set the disabled state of a button using `state.can('submit')` it feels like magic!
johtso··on Choose what to dream tonight
Highly recommend the film Waking Life. Fantastic rotoscoped film, dreamy and through provoking. First time I had a lucid dream was the night after watching it.

https://www.youtube.com/watch?v=edrGozs6W_I

johtso··on Show HN: Public transportation signage based on bloom filters (rough mockup)
I mean to be fair, they're being used as symbols here so the fact that they're latin alphabet doesn't make a particularly big difference. Replacing the letters with very easily distinguishable non-language symbols would probably be better though.
johtso··on Banshees of Inisherin: The Game
hold down the key rather than mashing
johtso··on Anki-fy your life
I've also never used anki for anything related to my work / programming.

What I have used it for:

  Memorising how to identify plants and their latin names
  Memorising the technical terms for different morphological features of plants so that I could efficiently use a vegetative identification key without constantly flicking to the glossary
  Memorising foreign language vocabulary
johtso··on Writeout.ai – Transcribe and translate any audio files
Are you using whisper.cpp? You really want to be using that if you care about speed. You should be able to get better than real-time transcription on an M1.
johtso··on Introducing react.dev
Pull all your business logic out in to XState machines. Keep your React components as just dumb renderers.
johtso··on Introducing react.dev
The sexiest example I've seen is in the XState docs.. not sure what they're using to get the types into the tooltips.. https://stately.ai/docs/xstate/running-machines/react#usemac...
johtso··on Duolingo Max, a learning experience powered by GPT-4
Well, if you read it with a Northern English accent like a Mancunian accent it's pretty close!
johtso··on Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
It just desperately needs some debouncing..
johtso··on How Python virtual environments work
Isn't pip + requirements.txt insufficient for repeatable deployments? You need to pin all dependencies not just your immediate project dependencies, unless you want some random downstream update to break your build. I guess you can do that by hand.. but don't you kind of need some kind of a lock file to stay safe/sane?
johtso··on TypeScript Magic
Isn't this a branded type / newtype / opaque type / nominal type?

Edit: Ah I see, this only affects tooltips/autocomplete, doesn't actually change the behaviour of the type.

If you want to do that you need to do something like:

  type UserId = number & { __type: 'UserId' };
johtso··on Ask HN: Small scripts, hacks and automations you're proud of?
"going through the iterative process of getting it functioning and fixing bugs was pretty invigorating."

Damn right it is! Writing scrapers is definitely the gateway drug of programming. It's such an exciting feeling to step across the boundaries from "passive user at the mercy of the UI" to "I can do anything if I can conceptualise it (and break it up into steps)".

johtso··on Launch HN: Defer (YC W23) – Zero-infrastructure background jobs for Node.js
This is fantastic! I was hoping it would "just work" and seems like it does! Unless I missed it I think the docs should explain this. It would definitely be a selling point for me compared with having to run a local server like with Temporal.
← PreviousPage 4 of 10Next →