jimmies

Joined 12 years ago

Karma
3,973
Submissions
545
Member since
Mar 8
basically a doctor
View on Hacker News

Recent submissions

Comment · 5 months ago
> Anh em ơiiii, vực nào sâu thăm thẳm? —“Brothers, what abyss is deep?” Vực nào sâu bằng cái ly này! —“What abyss is deeper than this glass?” Hò zô ta nào! —“Haul it up!” Kéo cái ly này lên! —“Lift this glass high!”

It’s a pity that the writer didn’t elaborate on the origin of this “chant.” It’s a parody of a chant that’s originally for pulling cannons up the abyss of Dien Bien Phu. The battle alone killed at least 15,000 Vietnamese but brought decisive victory for the Vietnamese in its struggle to gain freedom from the French in 1954.

Comment · 1 year ago
Alternative way to see it: The author had either a $50 solution, or a $50 solution that comes with a discounted hotair rework station for $150…

I learned it from Superfastmatt. He needed a piece of plastic that retails for $1500 for his van, so he said: “either I have a $1500 solution or I have a $1500 solution but I get a free fancy 3D printer in the end…” that stuck with me.

Comment · 1 year ago
I used all my brain cells to make a bash script my doorbell, I did not have brain cells left to envision ever needing ssh on it.
Comment · 1 year ago
A couple of years ago, I lived in an apartment and made a doorbell repurposed from an Amazon Dash button. Basically I have a daemon that sends a message each time a button press is detected to my homebrew mqtt server.

Then I have a bash script that runs on the raspberry pi board that has a speaker installed, something of this sort to play the doorbell chime:

  while [ true ]; do
    mosquitto_sub --exit-after-first-message /my-topic
    play_wav my-file.wav
  done
One day, when I was out and about, I got a call from my neighbor saying the doorbell was making noise non-stop and bothering him. Turns out the mqtt server crashed, the mosquitto_sub command exits right away... We had a good laugh about it as we are both software engineers.
Comment · 2 years ago
Wan <—> Wired Lan + Wireless Lan

If you have a beefy wireless Lan that can pull 1.5 Gbps then the two Lan connections combined can still saturate the Wan pipe.

Comment · 2 years ago
Comment · 2 years ago
If your input is Russian mixed with English, it might still be actually faster to do a first pass to process all the ASCII English range first with the aforementioned techniques, then do Russian later in the second pass: imagine you’ll have way less if branches to do.
Comment · 2 years ago
For banks that insist on doing SMS-based 2FA, I use a less well-known Google Voice number that only I know and don't give to my normal contacts. That number does nothing other than to receive 2FA codes, doesn't forward its messages and calls to any other numbers.

My reasoning is that it would not be trivial to guess the phone number from my account/name, and to guess my name from phone number (unless someone hacks into the bank's db, in which I'm in troubles anyways). Furthermore if someone was able to figure out that link, it would not be trivial to do SIM swap on Google Voice, it would not be trivial to attack the Google Voice app. Two or three stars have to line up for someone to sim-swap that GV number.

But some stupid bank go further to ban GV numbers. In which case I just don't bank with them.

Comment · 3 years ago
Lol, they botched the first example - that it translates “Our goal is to create a more connected world” to Vietnamese: It has a glancing typo at the end of the sentence “hơn” instead of “hơ.” Also it really messed up the pronounciation: It read “Chúng tôi” as “Chúng ta” - they are totally different words phonetically. The pronunciation also sounds like it’s made by someone who is mentally sick. So they botched in both translation and pronunciation.

That’s so embarrassing - especially for something to show how good their stuff is (although I think it’s probably not the ai’s fault) - just shows how sloppy their people are.

I know they have plenty of Vietnamese engineers there. Did the PR dept just throw this final version of the video out without reviewing with them?

Comment · 3 years ago
A quick glance to the history of the article, I see it was edited by multiple usernames and IP address at different times. How did you come to the conclusion that it was self authored?
Comment · 4 years ago
Yes! I'm very grateful and thankful for the opportunity that I have got from HN.

I was nor I'm the best position in my life when the job offer came. The opportunity boosted my confidence really turned my life around.

Comment · 4 years ago
I am planning to move email to iCloud+.

- Provides custom domain support.

- Is cheap ($1 for 3 email addresses).

- Has email web interface and imap access.

- Seems to support contacts and calendar sync via carddav, caldav - standard stuff I can sync my other devices with.

- Apple is reputable enough with security.

Drawbacks:

- No standard two-factor authentication like Google, needs an iPhone/mac for two-factor.

- Migrating Google Photos/shared will be a pain in the ass.

Comment · 4 years ago
Can you elaborate on that? Let's say I'm [email protected], what username could I give to gmail?
Comment · 4 years ago
You can use the reader mode to get over the website shenanigans.
Comment · 5 years ago
Perhaps because it's not easy to do so?

Now you have to have a database of a million phones from Shenzhen that you need to keep track of whether it has your bands. Who's gonna pay for their QA and know what phone manufacturers are doing what with their phones?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton