HNHacker News
TopNewBestAskShowJobs

jbaudanza

2,059 karma · joined July 22, 2010

www.hiworker.com www.captionpop.com

jon@jonb.org

meet.hn/city/kr-Seoul

Socials:

- x.com/jbaudanza - github.com/jbaudanza

Interests:

AI/ML, Mobile Development, Open Source, Programming, Startups

---

submissionscomments
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
Yeah certainly, the SVG animation should be playable at any speed.

If you're learning to write, I'd recommend looking up the official stroke order. You can just google "Hangul stroke order" and find plenty of guides. And then, just practice writing in a notebook a lot.

jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
Thanks! I added this to the training data.
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
That's an interesting idea. Velocity is something that can be derived from the x, y inputs that the model already has. So, if the velocity contained useful information, I would expect the model to be able to learn this during the training phase. The pressure, on the other hand, was new information that the model didn't have before.
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
The text embedding structure is very specific to Hangul. Someone that knows more about Chinese than me could probably design a suitable text embedding structure that would work well. I’m happy to collaborate if you want to fork my project and try.
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
Thank you for the feedback. I’ll incorporate this into the new training run.

I’m sorry about your father. Reproducing his handwriting would be a beautiful project. What kind of samples do you have from him?

jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
Oh thank you, good catch. "쀍" is definitely not a common character in my training set. I'll add it to the next run!
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
Ah yes, I'm well aware! My company (hiworker.com) makes AI products for ship building and construction companies that have a large foreign workforce. We have some customers in Ulsan. It's a beautiful place, I love visiting.
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
Thank you, you're right! It definitely seems to have a problem when the end of the string ends with 다. It seems to work if you end the sentence with "다." instead of "다". I'll look into this more. There should be plenty of "다" data in the training set, maybe there's something deeper going on.

PS: I saw your feedback report. 화이팅! :)

jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
I think this would work well for Chinese, but you’d probably need to modify the text embedding system. Let me know if you’d like to try, happy to collaborate.
jbaudanza··on Show HN: Happy Hangul Day! An RNN for Generating Korean Handwriting Strokes
> Nice! Did you find any weird/funny case while training the model? [I remember autotranlation/readers inventing stuff a few years ago.]

Mostly, it was me trying things the naive way, running into problems, and then solving them, usually by copying what Alex Graves did in 2013 (but not always!)

For example, to make things simple I first built the model to simply predict the next x, y direction of the pen. This worked for simple pen strokes, but I noticed the model had a difficult time turning corners.

To fix this, I changed the model to instead predict an Mixture Density Network (Same as Graves). This is explained better in his paper, but essentially, instead of predicting one x, y direction, you predict 10, and then randomly sample one of those predictions. Also instead of predicting scalar x, y values, you predict a parameters for a gaussian distribution, and then sample from that.

It always amazes me how much randomness is involved in intelligence.

> If you get someone to make a few samples and photos, it would be very nice.

I'm in Seoul, if you know anyone who would be interested in collaborating, please send me a note! jon@jonb.org

jbaudanza··on Fuckarounditis (2011)
I had the same problem. I think a lot of people reading this will have weak hamstrings. I think it's a natural consequence of desk work.

Adding in some Romanian Deadlifts really forced me to focus on my hamstrings when doing lifts. It helped me breakthrough some plateaus with the conventional deadlift.

jbaudanza··on OpenAI Audio Models
3) Whisper really needs to be paired with Silero VAD, otherwise the hallucination problem makes it almost unusable.
jbaudanza··on Auntie PDF – an open source app built using Mistral OCR
I have a question about Mistral OCR. If I give the model a PDF that is 90% text, is it actually performing OCR on an image representation of the text? Or is it smart enough to extract the text directly and only use OCR on images?
jbaudanza··on Show HN: Ricotta – Language Learning to Replace Anki
I really like this concept, and am working on a similar product for my own self-study.

I would like to see more language support. For me, I'd like to study Korean

The UX around card navigation needs some work. It took me a long time to figure out that after I chose a smiley face, that I was moving to a new card. This was especially true if the next card is similar to a previous card.

jbaudanza··on OpenAI DevDay 2024 live blog
Interesting choice of a 24kHz sample rate for PCM audio. I wonder if the model was trained on 24kHz audio, rather than the usual 8/16kHz for ML models.
jbaudanza··on Ask HN: Advice that changed your life?
Righty tighty, lefty loosey
jbaudanza··on Enhanced noise suppression in Jitsi Meet
This looks interesting.

Most devices have noise suppression built in. Do you use RNNoise in tandem with the hardware noise suppression, or do you disable it?

Also, are there any plans to implement this with react-native on mobile? And if so, how would you implement this, since audio worklets and WebAudio aren't available.

jbaudanza··on Ask HN: What lifestyle choices have led to improved cognitive function/memory?
Yes! I’ve had the same experience with spaced-repetition. I’ve used Memrise.com to learn a large set of Korean vocab words.

I’ve found it’s improved my general recall ability, not just for things I’ve scheduled into a spaced-repetition program.

It’s like the program trains my brain on how to recall things, and then I can use that skill on anything.

I’ve also found that if I slack off my training schedule, my general recall ability gets worse too.

Also, alcohol for sure impacts my memory. I find even one drink will make it harder to recall things

jbaudanza··on Flutter is better than React Native in all the ways that don’t matter
I know this is theoretically true, but I've never found this to be the case in practice.

Coinbase, in fact, has made it a rule that all things must be put in useMemo. https://attardi.org/why-we-memo-all-the-things/

Facebook is working on an experimental compiler called React Forget that will transparently memoize everything for you.

https://www.reddit.com/r/reactjs/comments/rcn5ks/react_forge...

jbaudanza··on Flutter is better than React Native in all the ways that don’t matter
I've been using react native heavily for the past 18 months.

Because there's no JIT, Javascript is slow on mobile, especially on Android. I spend a lot of my creative energy trying to optimize the render function. I often times wonder if I should have chosen Flutter instead.

Each framework has its bullshit you don't discover until it's too late. So, I'm sure if I had chosen Flutter I'd be complaining about something else.. but boy am I tired of stuffing things into useMemo, useCallback, and stressing about the identity of things in dependency arrays.

There's some exciting stuff coming up this year with React/React Native: Hermes, React Native "New architecture", react concurrency mode (although I still don't 100% understand what this is). I hope one of these things improves the current situation.

jbaudanza··on MBT LAW – Anti-tank weapon being used in Ukraine
Yeah. And with the soft-launch system, they can be hidden away in any house or enclosed space.
jbaudanza··on We memo all the things (2020)
From the useMemo docs: https://reactjs.org/docs/hooks-reference.html#usememo

You may rely on useMemo as a performance optimization, not as a semantic guarantee. In the future, React may choose to “forget” some previously memoized values and recalculate them on next render, e.g. to free memory for offscreen components. Write your code so that it still works without useMemo — and then add it to optimize performance.

I think about this section a lot. If they actually changed useMemo to sometimes "forget" values, it would break so many useEffect dependency arrays (including my own).

jbaudanza··on We memo all the things (2020)
The situation is much more severe with react-native, which doesn’t have a JIT compiler available.
jbaudanza··on Repairs of leaning San Francisco skyscraper on hold
So, is this thing going to fall over and kill everyone or what? Someone with engineering experience, please explain why this is hyperbolic and downvote me away.

I don't know anything about construction. But I do know that bureaucrats love to kick the can down the road, rather than deal with things directly. In this case, that would mean forcing some of San Francisco's wealthiest, and most-influential to demolish their luxury homes.

jbaudanza··on Global minimum corporate tax: 130 nations to support U.S. proposal
Imposing taxes on a legal entity always seemed fishy to me.

Politically, it sounds great to say, "Make the corporations pay their share!", but who exactly are we targeting with these taxes? Is it the rich executives? Why not just raise taxes on the rich directly?

I suspect in most cases the tax burden is just shifted onto the lower-income workers or the customers somehow.

jbaudanza··on Ask HN: What Are You Learning?
Came here to say this. I trained for about 7 months before Covid shut everything down. I figured maybe I would just focus on lifting from here on out.

Then, 6 weeks ago someone stole my laptop from me while sitting in a cafe in San Francisco. Without thinking, I chased him down and was able to wrestle my laptop back from him. Without the BJJ, I probably would have just yelled at him. Anyway, I'm back at the BJJ studio!

jbaudanza··on Postgres to TypeScript Interfaces and Enums
No worries! I enjoyed checkout out your implementation!

I think such a tool would be complicated to implemented. I was thinking maybe of integrating with tagged template literals somehow. Maybe something like:

  db.query(sql`SELECT COUNT(*) FROM users`)
And then some tool could parse the AST to find all the SQL and generate types.
jbaudanza··on Postgres to TypeScript Interfaces and Enums
I really like the idea of building TypeScript off of SQL types. But my ideal tool would be able to infer types from queries, not schemas. For example.. if I did:

   await db.query("SELECT user_id, COUNT(*) AS count FROM comments GROUP BY user_id");
I would like a TypeScript object that looks like:

  Array<{ user_id: number, count: number }>
jbaudanza··on California unveils online tool for vaccine verification
At first pass, this seems to be using the same `shc:/` system that is being used in Quebec. This was discussed here: https://news.ycombinator.com/item?id=27354815

I have no idea if this is a good idea or not. I think we'll probably end up fighting about this for a year and then it won't matter anymore. But, the nerd in me is very excited to get a QR code with a JWT with my vaccination records.

jbaudanza··on LibreTranslate – “Building the coolest translation software ”
This is really cool! I was looking at all the supported modals, and it looks like they are all either to or from English. Does this mean that if I go from say, Korean to Japanese, it must use English as an intermediary? https://www.argosopentech.com/argospm/index/
Page 1 of 7Next →