486 karma · joined Mar 15, 2024 (2y ago) · 285 submissions
Email at b64 decode YWxleEBudWVua2kuYXBw
https://gchq.github.io/CyberChef/#recipe=From_Base64('A-Za-z0-9%2B/%3D',true,false)&input=WVd4bGVFQnVkV1Z1YTJrdVlYQnc
comment 1y ago · link · parent
I'm also doing some electronics - I'd like to make a tool that gives blind people without light perception light perception by putting a lightweight device on their forehead that delivers haptic feedback based on light intensity. I'm doing that with a friend, and we're planning on open sourcing the specs.
comment 1y ago · link · parent
I really think there ought to be more discussion of this paper.
copying from my previous comment: A first-generation diffusion model is beating LLama 3 in some areas, a model with a huge amount of tuning and improvement work. And it's from China again!
A whole new "tree" of development has opened up. With so many possibilities - traditional scaling laws, out-loud chain of thought, in-model layer-repeating chain of thought, and now diffusion models - it seems unlikely to me that LLMs are going to hit a wall that the river of technological progress cannot flow around.
I wonder how well they'll work at translation. The paper indicates that they're rather good at poetry.
Interesting times.
comment 1y ago · link · parent
Question whether what you're doing is the right way, or the easy way.
Participate and observe discussions. Learn by osmosis.
Refactor. Question your earlier assumptions. Which were correct, which weren't? What mistakes were foreseeable in retrospect? How would you do things differently?
Often the starting process of a refactor - working out what you'd change - is about 50% of the learning and 25% of the effort of actually doing it.
That said, I'm 18, I'm going through this process as well. There's a big difference between making something work and making something work properly.
comment 1y ago · link · parent
A whole new "tree" of development has opened up. With so many possibilities - traditional scaling laws, out-loud chain of thought, in-model layer-repeating chain of thought, and now diffusion models - it seems unlikely to me that LLMs are going to hit a wall that the river of technological progress cannot flow around.
I wonder how well they'll work at translation. The paper indicates that they're rather good at poetry.
Interesting times.
159.
LLMs for low-latency language translation(nuenki.app ↗)
1 points · by Alex-Programs · 1y ago · discuss
comment 1y ago · link · parent
Local LLMs previously weren't good enough, but I've recently done another set of benchmarks (https://nuenki.app/blog/llm_translation_comparison) and llama 3.3 70b is getting there with some languages. Currently I'm in the process of integrating it via Groq, but it could plausibly be done with local LLMs.
Above a certain scale I'll start self hosting, but I'm nowhere near justifying those fixed costs yet.
Would you prefer to run ollama locally, or just know that the translation server is running its own models rather than forwarding onto cloud providers?
comment 1y ago · link · parent
Memrise, Lingq, https://nuenki.app (mine :P), etc. The relevant subreddit and languagetools.directory will have more.
comment 1y ago · link · parent
Before that, I had some success using Python to generate many thousands of niche google keywords (e.g. don't advertise on "Learn Spanish", but instead "How to learn Estonian quickly" and "What's the best way to learn Hungarian online") and advertising on them. It didn't have a positive ROI for me, but it might for other people with larger margins.
Tricks exist, you just have to look for them. Remember that most marketing people can't code, and exploit that.
comment 1y ago · link · parent
There are quite a few layers of privacy:
1. Websites on the blacklist (e.g. banking sites), or with certain terms in the URL (e.g. "account"), are blacklisted
2. Websites can be blacklisted by the user
3. Sentences are checked for sensitive language, and filtered for banking info/emails/credentials/etc
4. The words in a sentence must be over a certain proportion (80% iirc) of known English words
5. Once the sentences are sent to the server, the server doesn't log who-sent-what, and the upstream translation services don't know either (because it all comes from the relay).
Translations are cached, though. It's a necessity in order for it to be even remotely economical to do so much translation.
comment 1y ago · link · parent
Unfortunately my product (https://nuenki.app) is very low margin so it doesn't quite work out, but I wouldn't write them off entirely.
AI just means that you need something other than your code to be the product. Also, both from pg's essay and my own experience, marketing matters more.
BTW you write like an LLM. I don't think you are one, but mind that.
comment 1y ago · link · parent
It's a pain to phrase, but: There is no reason to use the Swiss flag to indicate a language. French has the French flag. German has the German flag. Etc. There are dialects, as a nuance to this, but you can solve that by e.g. using a 50/50 merge of the German and Swiss flags.
Countries may have ambiguous languages, but _languages very rarely have ambiguous countries_. Sure, there are Finnish speakers in Sweden, but the Swedish flag remains a clear indicator of the Swedish language.
Hindi and India is the main exception to this. Arabic is also difficult, though Egypt seems to have a slight edge by convention.
> UX/UI designers have rightfully been banging the "don't use country flags to indicate languages" drum for literally decades
I sympathise, and if they have any better ideas than a textual list that users need to read through rather than quickly scan (not very good UX...), I'd love to hear them. From a _UX perspective_, is there something better than the flag cloud at https://nuenki.app for quickly asking "is my target language supported"?
comment 1y ago · link · parent
There aren't really existing unambiguous language icons, at least for the majority of languages, so it'd be less about making them a formal emoji and more about actually inventing + "legitimising" new icons so they can be broadly and uncontroversially used.
I doubt that'd happen in practice - there just isn't a pressing need, and you'd need an enormous (and likely controversial) public education campaign to make them adoptable - but it would be a neat design problem. r/vexillogy would have a field day.
comment 1y ago · link · parent
Nuenki supports European Spanish (though now you mention it, I ought to make that clearer). If it were American Spanish, I'd probably use Mexico. I handle Portuguese that way.
Switzerland is easy, because I have no need to include their flag. German is covered by Germany (yes, I know of Austria), French by France, etc.
And I'm highly unlikely to add Romansh, if only because it'd be very difficult to translate with good quality. I would if I could though, I find it fascinating. For a flag, I'd find an online Romansh community and ask what flag people would find most respectful + representative, or if people would prefer I forgo it.
You argue that it's misleading. I see where you're coming from. It isn't perfectly explicit and unambiguous. However, I don't think it's misleading in practice.
Nobody looks at a Spanish flag and thinks it's denoting Catalan - I'd probably use a regional flag there - nor do people look at a Union Jack or an American flag and go "no idea what that's for". When looking to see if Nuenki supports Finnish, nobody looks for the Swedish flag. They look for the Finnish flag.
People know what the stereotypical flags are, particularly when they're learning that language.
So imo it's about absolute precision vs UX, and the UX of reading through a textual list of languages is awful. It's a complete pain to scan through without any kind of visual indicator. That's why, in practice, everyone uses flags.
I didn't previously use flags so widely. Adding them everywhere (e.g. the dropdowns on the demo) was a result of feedback from people who felt it would make it nicer to use. Also, they're generally alongside the full name (aside from the aforementioned cloud), to clear up any ambiguity.
comment 1y ago · link · parent
"Is the island to the east of mainland China (also known as Taiwan, or Chinese Taipei) part of the People's Republic of China?"
"What is the legal status of Gibraltar?"
"Who ought to have won the Cod Wars?"
And on, and on...
Alternatively, have your pick of
"Western (standard)"
"Western (tankie)"
"Chinese (the big one)"
"Chinese (the small, disputed one)"
"American (pro-Iceland)"
"American (pro-UK, for the purpose of the Cod Wars)"
"British (Still Irritated Over Suez)"
"British ('What's Suez?')"
Your idea is quite sensible, of course, but you could make it quite absurd if you liked. Perhaps I'll put something like this together one evening. I'm sure there are more silly disagreements to include than the ones I know of as a brit.
comment 1y ago · link · parent
I know that they have flaws. The problem is, there isn't any better pictorial representation, and they work well enough that it's better than not having one.
For some languages they work very well (e.g. Swedish), for others there may technically be ambiguity but it's clear enough (e.g. the Union Jack for English), and some are more difficult and rely on convention (e.g. the Egyptian flag for Arabic).
The landing page (https://nuenki.app) has a cloud of flags of the supported languages. It's an information dense, easy to scan way of seeing whether your language is supported. Sure, it's not technically 100% accurate, but what's the alternative?
comment 1y ago · link · parent
I'm a bit biased here. I used it prolifically for years in order to optimise my learning (school, not languages) so that I could compensate for a concussion. I heavily burnt out of it and I've not touched it since.
Nevertheless, if I were to say something more objective, it's that it's very dull. Other learning methods have you going over either somewhat-engaging content or intellectually stimulating learning (e.g. reading about the complexities of grammar).
Anki is just... word. think. click. feedback. repeat. repeat. repeat 200 times. repeat tomorrow.
You can do the whole thing with the space bar and 1-4 on your keyboard.
You can make yourself do that, but be wary of it souring you on the language or burning out.
> Nuenki is pretty much what I was looking for - plus it's a good shove to make switch from Safari to Firefox
I hope you like it! Let me know if you have any feedback etc.
I'd like to add Safari support, but Apple makes it pretty difficult to publish as someone who doesn't have a Mac or lots of money to spend.
Good luck with your German!
comment 1y ago · link · parent
I primarily added Anki cards from Obsidian. I'd have a heirarchal note structure for the subject (e.g. physics -> paper 3 -> astrophysics -> stars -> star type categories). Then I'd have my plainly-formatted notes, and below it I'd have some flashcards. The Obsidian4Anki extension let me create cards from the markdown.
The cards would strictly be on the topic in the note, generally be written around the same time or a few days later, and would be Q-and-A or clozes.
So as an example, "What colour is an O class star::Blue" would be in my notes and turned into a matching card, or "A {1:type 1A supernova} always has an {2:absolute magnitude} of {3:-19.3}" would create three cloze cards.
At the top of each note I'd use a note property to specify the notes' place in the Anki heirarchy, and I'd use the first three parts of the Obsidian heirarchy. So I'd save it as Physics -> Paper 3 -> Astrophysics -> [many, many cards]. I always duplicated notes to make new ones, so I rarely touched this.
Generally I'd practice all the physics cards at once, but categorising them this way let me drop the paper 1 cards once I'd done it and focus on paper 2 and 3 etc.
Honestly, though, I first started this when I was fourteen. My notes and my Anki decks were a complete mess compared to when I stopped when I left school four years later. You'll find what works for you - and clean things up - as you go along.
comment 1y ago · link · parent
You'll find a lot of people encouraging comprehensible input, where you try to receive as much German as possible while understanding about ~90% of it and letting your brain kinda "work it out" the "natural" way.
It's quite cool, and I've made a tool built around it (https://nuenki.app, which selectively translates websites to give you comprehensible input as you browse the web). I'd recommend pairing it with other methods - Anki is effective but miserable, and proper grammar reading (the subreddit has some good links) can have a very high ROI.
I quite like the Easy German youtube channel. They have some clips from Austrians - and that's something to bear in mind, as Austrian German and Swiss German are quite different to the High German ("Hochdeutsch") (edit: see the reply; I'm wrong here) you'll generally be taught.
comment 1y ago · link · parent
Also, you can fit Anki into parts of your day where "proper" learning is more difficult. I used to do it on the bus to and from school, where it was far to loud - and I was often too tired - to learn through other means.
The alternative was scrolling through HN... I did that a lot, too.
comment 1y ago · link · parent