And finally you can chat via ChatGPT about the flashcard. Currently I haven't got streaming set up so you have to wait a while for it to generate. For now its bearable.
39
The app automatically
1. translates the sentence into hiragana and English.
2. writes out the definition.
3. provides the right way to pronounce the word (pitch accents).
4. provides some general usage info (formal/casual etc).
5. shows other definitions with example sentences.
1
39
Flashcard app is coming along nicely. Basically I want to be able to add words I come across when reading and then create a card that provides a definition for the word. Words can have multiple definitions depending on the context so its important to pull out the right one.
1
58
Decided to scratch an itch and build my own personal flash card app to learn Japanese. I could have done this in Anki but wanted to brush up on React, Electron and using LLMs.
Even in its basic state, its going to save me soooooo much time on the card creation side of things.
1
147
In 9 years of writing Ruby code I've never known of this way to interpolate strings into text using the `format` method.
How did I miss this one?
I've only ever used
name = "Adam"
"Hi there #{name}"
Perhaps its just because I've never needed it until now.
Is this captha test by OpenAI for real? I've got to do a puzzle _10_ times?
Get it wrong once and it makes you start all over again.
😡😡😡
83
I'm getting up to speed with Hotwire and building a toy app to create a resume.
One thing I've realised is it's easy to go overboard with Turbo Streams where just using good ole Turbo Drive (TurboLinks) will do the job faster.
E.g.
1
2
114
Replying to @adamlogic
Are your team members technical? If so you might want to see if the Zed editor will suffice as its advertised features look like they could be useful in this case.
67
Even after 20 years of living in Japan sights like this still surprise me. 2 hr food course and help yourself free flow drinks. Beer and even spirits 😱. It would be total bedlam if you did this in the UK.
1
169
Make your Rails console life easier in development by adding a few custom helper methods.
No more writing User.where(...) to grab your user.
Just create a me() method to return it.
And if it doesn't exist, create a user using your git email address.
Do peeps just write the majority of their apps using LiveView or only for those seeeeexy parts of the app?
youtube.com/watch?v=P5mtclwl…
1
Sorry but the Weekend's The Lights just sounds so much like Rod Stewart's "Young Turks"
youtube.com/watch?v=EbZP13Eb…











