HNHacker News
TopNewBestAskShowJobs

tboerstad

260 karma · joined July 2, 2014

submissionscomments
tboerstad··on Mysterious explosions keep happening in Iran
The Natanz nuclear facility, which had an explosion on July 2nd, is the same site which was struck by Stuxnet in 2010.
tboerstad··on Hypermodern Python
You really nailed this, imho. Awesome work.

What is the reason for requiring Python >=3.7?

tboerstad··on Swarm satellites probe weakening of Earth’s magnetic field
Fascinating information, today I learned. Out of curiosity, do you work in the industry?
tboerstad··on SpaceX NASA returning human spaceflight to United States today (canceled)
I'm watching the livestream now. Some of the UX the astronauts are using are large touch screens.

I hope they practiced on tablets

tboerstad··on Show HN: Faster Integer Parsing
Always fun to see the optimization improvements step by step, especially when the input is clearly defined and there aren't a lot of edge cases.

Awesome that SIMD is such a good fit to this problem, you don't have to jump through a ton of hoops to get it to work.

Really beautiful layout/presentation as well, I hope it won't be another 6 years until your next post!

tboerstad··on Auto-vectorization for the masses (2011)
Do you have a code example of the constexpr operator[] you mention? I am having a hard time following it.

MSVC has an auto-vectorizer, with /Qvec-report:2 it will give you information on why it doesn't auto-vectorize a specific loop.

It's well documented, though I'm not particularly fond of it. Here is an example where the auto-vectorizer works: https://godbolt.org/z/crTLUY

Here is the documentation: https://docs.microsoft.com/en-us/cpp/parallel/auto-paralleli...

tboerstad··on Float Toy
Thanks for that bit of information, pun intended. I hope I'll never have to rely on it in production.
tboerstad··on I made a smart watch from scratch
Quoting the OP from the reddit thread:

"I picked the MCU for a couple of reasons:

-Very low power transmit/receive for the bluetooth (<4mA). I get around a week of battery life

-Cheap

-High speed on the SPI bus. The display writes are limited by the SPI bus. It requires a 9-bit word (additional bit is used for data/command). So being able to run the SPI bus at 48MHz is clutch.

-Has PMIC integrated into chipset. I don't need to include additional circuitry for a buck-boost regulator or a lipo charger since the dialog part has it all built in!

-Cheap"

tboerstad··on I made a smart watch from scratch
This is nicely done, beautiful aesthetics. There are multiple phases (HW, SW, Mechanics) which would be impressive enough on their own. Kudos!

Love the little gifs to explain how it's done, especially the stenciling of the PCB.

I'm curious, how/why did you choose the DA14683 chip?

tboerstad··on Inca civilization was better at skull surgery than Civil War doctors
I thought chemotherapy was discovered as a side effect of chemical warfare during World War II?

My source is “The Emperor of all Maladies”

tboerstad··on Mastering Chess and Shogi by Self-Play with General Reinforcement Learning
Stockfish plays like an ambitious amateur in the first game, giving away a piece for two pawns on move 13.

Perhaps this move was justified though, as later in the same game Stockfish gets a position which is at worst drawn, likely winning. Moves later however, around move 40, Stockfish gets its own knight trapped and the game is over.

This is not the kind of chess we normally see from Stockfish.

tboerstad··on Why is this Go faster than the equivalent Java?
Wow, this is beautiful C++ code! High level abstractions, not hiding any of the nitty gritty details, parallelism and all, yet very readable. Well done!
tboerstad··on 100M games played
Thanks a lot for a great service! Did not know it was just a single developer, I'd much rather donate to this than pay for ICC. In fact I just did.
tboerstad··on Motion sensing using the doppler effect
That sounds like a lot of fun! Could you recommend any textbooks for learning more about this kind of stuff?
tboerstad··on Poor UI Design Can Kill – Air Inter Flight 148, a Harsh Lesson Learned
This same example, along with many others, are covered in Don Norman's classic "The Design of Everyday Things".
tboerstad··on Fourier Image Filtering
Came here to ask for the same thing. Considering phase is very important when designing filters, and just looking at the magnitude can overly simplify what happens.

Just look at what happens when you use only the magnitude or only the phase information to reconstruct an image: http://www.imagemagick.org/Usage/fourier/

tboerstad··on My year with a distraction-free iPhone
Maybe you could set up a google number, and send text messages instead of email. Apparently google can forward the text message to your email.

https://support.google.com/voice/answer/160203?hl=en

← PreviousPage 2 of 2