Live data from Hacker News

Using aligned word vectors for instant translations with Python and Rust

instantdomainsearch.com

31–38 of 38 posts

Re: Using aligned word vectors for instant translations with Python and Rust

#33
post #31

This webpage use a significant amount of CPU constantly for no apparent reason (as far as I can see it is mostly a static webpage). What the hell ? Is it mining crypto in the background ?

At a quick glance it seems like some React component is constantly re-rending.

Quick glance in this case: took a couple second snapshot on the Performance tab and saw a lot of React related calls.

Re: Using aligned word vectors for instant translations with Python and Rust

#34
post #11
post #9

Earlier quoted context omitted.

> That said, is there something wrong with the translations offered? I think in French hello = "bonjour" and hi = "salut"... not sure where "bonjours" and "salutations" came from.

The Italian "auguri" means "best wishes"; "chiamatemi" means "call me". Neither is a plausible translation of "hello". The obvious one, "ciao", is missing.

I thought Hello was invented with the telephone. Prior to that, English greetings were good morning/evening. What do Italians and French say when they pick up the phone? Allora?

Re: Using aligned word vectors for instant translations with Python and Rust

#35

Earlier quoted context omitted.

No, bonjours exists (it's simply the plural form of bonjour used as a noun) but the contexts it is used are very very infrequent so it's weird to find it in that list.

Compare "I said my hellos and goodbyes." in English. It's definitely a word, just so uncommon as to be largely irrelevant in most practical contexts.

It's very clearly semantically related though? I don't understand the complaint here.

Re: Using aligned word vectors for instant translations with Python and Rust

#36
post #28

Can something like this be done to compare/translate subsequences COVID genetic code to SARS and other virus genetic codes. Would be interesting how much overlap there is. And would further the research into where it came from. Full genome of COVID-19 is available: https://www.snapgene.com/resources/coronavirus-resources/?re...

Bioinformaticists have been able to do that with traditional algorithms for years (dynamic programming gets you a long way to compute an edit distance for example). It is probably the first thing that was done once the COVID-19 genome was made public. A quick googling gave me that summary of the results: https://www.news-medical.net/health/How-Does-the-SARS-Virus-...

Great article, thank you

Re: Using aligned word vectors for instant translations with Python and Rust

#37

Can something like this be done to compare/translate subsequences COVID genetic code to SARS and other virus genetic codes. Would be interesting how much overlap there is. And would further the research into where it came from. Full genome of COVID-19 is available: https://www.snapgene.com/resources/coronavirus-resources/?re...

It sounds like you're thinking of "sequence alignment", which is a pretty standard bioinformatics tool.

BLAST (=Basic Local Alignment Search Tool) is one common version, and the NIH'S NCBI has a variety of nice online tools here: https://blast.ncbi.nlm.nih.gov/Blast.cgi

Note that it does take a little bit of background knowledge to interpret:some motifs are just really common, others are shared.

Re: Using aligned word vectors for instant translations with Python and Rust

#38
post #31

This webpage use a significant amount of CPU constantly for no apparent reason (as far as I can see it is mostly a static webpage). What the hell ? Is it mining crypto in the background ?

Sorry, this page had a useEffect/setState render loop. We are running react@experimental with concurrent mode, and missed the error. Rolling out a fix now. Thanks!
Post reply on HN