HNHacker News
TopNewBestAskShowJobs

SethTro

982 karma · joined July 11, 2018

submissionscomments
SethTro··on Blasting the Air in Front of Hypersonic Vehicles with Lasers Reduces Drag (2020)
From 2020.

Love the optimism that AGM-183A Would be in production in 2022.

Narrator: they would not.

SethTro··on Nvidia Announces Financial Results for First Quarter Fiscal 2027
Looks like a beat on expectations but that the stock is down slightly after hours
SethTro··on Dark Castle
User input doesn't seem to work. Other classics on the site do work but not Dark Castle (at least for me)
SethTro··on Grid: Free, local-first, browser-based 3D printing/CNC/laser slicer
I've used kiri:moto for several simple CNC projects!

This probably won't scroll to the correct place on the page but there's some images of my project at https://hcc.haus/propmania/#2024-palm-torches and https://static.cloudygo.com/static/Prop%20Making/2024%20Palm...

I used it instead of the terrible closed source Easel App for a CARVEY hobby CNC. For metal milling I find Fusion 360 is necessary.

SethTro··on Project Euler
Yes, the other name in the problem is my sister's name :)
SethTro··on Project Euler
I'm glad you enjoyed! It was a real game I played when driving around.
SethTro··on Project Euler
I wrote Problem 371, https://projecteuler.net/problem=371 , as a high school student in 2012!

I'm so happy to have spent twenty years of my life learning math and solving problems on Project Euler and elsewhere.

SethTro··on NVIDIA DGX Spark In-Depth Review: A New Standard for Local AI Inference
Article doesn't seem to mention price which is $4,000 which makes it comparable to a 5090 but with 128GB of unified LPDDR5x vs the 5090's 32GB DDR7.
SethTro··on Trillion-Scale Goldbach Verification on Consumer Hardware -novel Algorithm [pdf]
Is that for [0, 10^12] or for 10^18 + 10^12? Is the 3.75 hrs total core hours or system time?

I wrote https://github.com/sethtroisi/goldbach in the last four hours and I think it's 10-100x faster than your code

  time ./goldbach -t8 -K 1024 -e 100''000''000''000
  real 0m44.133s
  user 3m32.193s
  sys 0m0.092s

  time ./goldbach -t12 -K 1500 -e 1''000''000''000''000
    267468893942 = 267468891139 + 2803 (407)
    926868341768 = 926868338701 + 3067 (437)
    599533546358 = 599533542901 + 3457 (481)
  real 2m3.909s
  user 16m0.729s
  sys 0m37.960s

I know of at least another 4x I could improve it but I've been nerd sniped enough for the night.

I wouldn't trust it 100% but it finds all terms in https://oeis.org/A025018 and https://oeis.org/A025019 and I can verify in https://sweet.ua.pt/tos/goldbach.html

SethTro··on Trillion-Scale Goldbach Verification on Consumer Hardware -novel Algorithm [pdf]
I don't see any benchmarks on your github.

How long does it take for you to test up to 10^9? 10^12?

SethTro··on Trillion-Scale Goldbach Verification on Consumer Hardware -novel Algorithm [pdf]
> Goldbach states: every even number ≥ 4 is a sum of two primes. The naive check for an even n tries many primes p and hopes that n − p is prime. Our idea is simpler: fix a small set of primes Q = {q1, . . . , qK} (the “gear”), and for each even n only test p = n − q with q ∈ Q

I don't see how your idea is different from the naive check. As far as I can tell you are basically saying do the naive check but only up to p > 250-300?

SethTro··on You too can run malware from NPM (I mean without consequences)
That's the magic part, they aren't
SethTro··on You could have invented Fenwick trees
Totally agree with the title. I discovered Fenwick trees as part of solving a Project Euler, then from the problem forum I found out someone had invented this in the 90s and other people had imagined it much earlier.
SethTro··on Sonos CEO steps down after app update debacle
The board likely kept him till most of the bad PR had subsided so the new CEO can have a friendlier reception.
SethTro··on I got almost all of my wishes granted with RP2350
This has 2 of the 3 features (float support, faster clock) + more POI that was keeping me on ESP32. For projects that need wifi, and can tolerate the random interrupts, I'll stick with ESP32.
SethTro··on Phind-70B: Closing the code quality gap with GPT-4 Turbo while running 4x faster
> Phind-70B is significantly faster than GPT-4 Turbo ... We're able to achieve this by running NVIDIA's TensorRT-LLM library on H100 GPUs
SethTro··on Ink/Stitch: An open-source machine embroidery design platform based on Inkscape
I've had a ton of success convetring simple drawing to fabric with Ink/stitch on a Brothers pe 770. So glad we have one in our makerspace. Things like this this eye https://i.imgur.com/0egzvbc.jpeg or names for shirts
SethTro··on Sheryl Sandberg to Leave Meta Platforms Board After 12 Years
https://archive.is/TH2Pr
SethTro··on Grok is an AI modeled after the Hitchhiker’s Guide to the Galaxy
I'm excited to see what prompt they used. I'll be looking here and few other places over the next month. https://github.com/jujumilk3/leaked-system-prompts
SethTro··on Despite spooky Consumer Reports' testing, metals in chocolates aren't scary
From my reading the disagreement is about how often or much chocolate people consume. The thresholds (MADL, EU) are in µg/day and the Consumer Reports numbers are in µg/serving.

Arstechnica somewhat bridges this gap at the end with quotes including "at these intake levels", "A single serving", "from time to time", "indulging during holidays".

SethTro··on The HP Printer USB Sticker Trick Also Works for Thermaltake PSUs
Wildly in my experience (at least at the hobby level) it's the connector that $3 and the IC that's $0.08
SethTro··on Faster Sorting Beyond DeepMind’s AlphaDev
AlphaDev discussion(318 comments): https://news.ycombinator.com/item?id=36228125

Deepmind's commit to abseil: https://github.com/abseil/abseil-cpp/commit/74eee2aff683cc7d...

I'm curious if any of the mimicry work has been upstreamed. I don't see any mentions in gcc, LLVM, or abseil but I may not know where to look.

SethTro··on The SHA256 for this sentence begins with: one, eight, two, a, seven, c and nine.
I ran the python version for over an hour and found this eight digit example

The SHA256 of this sentence begins with 0, zero, 0, seven, five, 9, nine, and 5 wow!

SethTro··on The SHA256 for this sentence begins with: one, eight, two, a, seven, c and nine.
Took less than a minute to find a seven digit example in python

The SHA-256 of this sentence begins with 0, three, 9, four, 8, four, and 1 amazing!

The SHA256 for this sentence begins with 0, 4, five, 5, eight, 6, and 7 amazing!

Suffix extensions (hence the "amazing!") are several times faster to try than throwing away the entire sha256 state for each attempt.

SethTro··on The longest word you can type on the first row
Awkward, now the third now doesn't return anything

$ awk '/^[;qjkxbmwvz]*$/ { print length(), $0 }' /usr/share/dict/words | sort -nr | head 4 xxxv 3 xxx 3 xxv 2 xx 2 xv

SethTro··on The longest word you can type on the first row
For Dvorak with a little assist from unix

First row

$ awk '/^[,.pyfgcrl]$/ { print length(), $0 }' /usr/share/dict/words | sort -nr | head

3 pry / ply / fry / cry

Second row

$ awk '/^[aoeuidhtns]$/ { print length(), $0 }' /usr/share/dict/words | sort -nr | head

15 tendentiousness

14 assassinations

13 instantaneous

13 insidiousness

Third row

$ awk '/^[;qjkxbmwvz]*$/ { print length(), $0 }' /usr/share/dict/words | sort -nr | head

4 xxxv

3 xxx

3 xxv

2 xx

SethTro··on Data centres account for between 1.5% and 2% of global electricity consumption
Article is paywalled and archive.ph is in an infinite CAPTCHA loop so feel free to reply with their numbers.

Global Electrical Consumption = 25,000 TWh Data centers @ 2% of global usage = 25,000 * 0.02 = 500 TWh Cryptocurrency estimated usage in 2022[1][2] = 100-140 TWh

Crypto uses 100 / (500 + 100) = 16% of the power usage of data centers + crypto. Surprising and disappointing.

[1] https://digiconomist.net/bitcoin-energy-consumption [2] https://www.nytimes.com/interactive/2021/09/03/climate/bitco...

SethTro··on Show HN: LLMs can generate valid JSON 100% of the time

   print(guided)
   # What is the IP address of the Google DNS servers?
   # 2.2.6.1
correctly formatted wrong answers are still wrong answers.
SethTro··on AOL pulls Nullsoft file-sharing software WASTE (2003)
It was 10 years ago but I'm very sure it was "quote the raven", "whip the llama" is too funmy for me to not remember if that has been it. I searched the source and didn't see it but can't find a source control system copy to search over all the history.
SethTro··on AOL pulls Nullsoft file-sharing software WASTE (2003)
We used WASTE in college. At the time I looked through the code and I'm 99% sure there was an Edgar Allan Poe easter egg related to "quote the raven" in there.
Page 1 of 5Next →