HNHacker News
TopNewBestAskShowJobs

matdehaast

532 karma · joined September 28, 2016

[ my public key: https://keybase.io/matdehaast; my proof: https://keybase.io/matdehaast/sigs/bVixwtMdXbUG3YY_rdEK8RW0jK3WXzVZ5NU4n7JpolE ]
submissionscomments
matdehaast··on Anthropic officially bans using subscription auth for third party use
Spotify are probably reacting to https://annas-archive.li/blog/backing-up-spotify.html where basically the whole archive was downloaded
matdehaast··on Building a high-performance ticketing system with TigerBeetle
Not from Tigerbeetle, but having looked at his code this is what I saw https://news.ycombinator.com/item?id=45896559
matdehaast··on Building a high-performance ticketing system with TigerBeetle
Thanks for the code and clarification. I'm surprised the TB team didn't pick it up, but your individual transfer test is a pretty poor representation. All you are testing there is how many batches you can complete per second, giving no time for the actual client to batch the transfers. This is because when you call createTransfer in GO, that will synchronously block.

For example, it is as if you created an HTTP server that only allows one concurrent request. Or having a queue where only 1 worker will ever do work. Is that your workload? Because I'm not sure I know of many workloads that are completely sync with only 1 worker.

To get a better representation for individual_transfers, I would use a waitgroup

  var wg sync.WaitGroup
  var mu sync.Mutex
  completedCount := 0

  for i := 0; i < len(transfers); i++ {
    wg.Add(1)
    go func(index int, transfer Transfer) {
     defer wg.Done()

     res, _ := client.CreateTransfers([]Transfer{transfer})
     for _, err := range res {
      if err.Result != 0 {
       log.Printf("Error creating transfer %d: %s", err.Index, err.Result)
      }
     }

     mu.Lock()
     completedCount++
     if completedCount%100 == 0 {
      fmt.Printf("%d\n", completedCount)
     }
     mu.Unlock()
    }(i, transfers[i])
   }

  wg.Wait()
  fmt.Printf("All %d transfers completed\n", len(transfers))
This will actually allow the client to batch the request internally and be more representative of the workloads you would get. Note, the above is not the same as doing the batching manually yourself. You could call createTransfer concurrently the client in multiple call sites. That would still auto batch them
matdehaast··on Building a high-performance ticketing system with TigerBeetle
I'm a bit worried you think instantiating a new client for every request is common practice. If you did that to Postgres or MySQL clients, you would also have degradation in performance.

PHP has created mysqli or PDO to deal with this specifically because of the known issues of it being expensive to recreate client connects per request

matdehaast··on Migrating from AWS to Hetzner
I've had billing issues, and they have let it be resolved a couple of weeks later.
matdehaast··on Leaked Apple M5 9 core Geekbench scores
Interesting, on Geekbench they have very different scoring

365: 2515/12552 M4: 3763/14694

https://browser.geekbench.com/processors/amd-ryzen-ai-9-365 https://browser.geekbench.com/v6/cpu/11020192

matdehaast··on Leaked Apple M5 9 core Geekbench scores
Think you are mistaken. The M4 beats the Ryzen AI 365 in both single and multicore benchmarks
matdehaast··on Leaked Apple M5 9 core Geekbench scores
I'm talking specifically about their mobile lineup, not desktop. And more specifically the performance to power efficiency the M series is getting. It is more than 2 generations behind.
matdehaast··on Leaked Apple M5 9 core Geekbench scores
If you read the first half of the sentence then yeah.... The complete sentence clarifies "with their mobile lineup"
matdehaast··on Leaked Apple M5 9 core Geekbench scores
And therein lies the problem. Apple has managed to push a hardware advantage into something that makes a difference.
matdehaast··on Leaked Apple M5 9 core Geekbench scores
It feels like Intel and AMD are asleep at the wheel with their mobile lineup. I've been looking at non-apple equivalents that have similar performance/power as the M lineup and it seems they all lag about 20%+.

For $800 the M4 Air just seems like one of the best tech deals around.

matdehaast··on GCP Outage
Not just GCP, most of Googles services are out of action
matdehaast··on OpenAI Close to Finalizing Its $40B SoftBank-Led Funding
I think OpenAI has caught the non tech mind share. I noticed just this week that my friend group and girlfriend no longer say we will Google something, but rather let me ask ChatGPT…
matdehaast··on Enum of Arrays
I spent 2 seconds clicking on your bio and saw this account was created 4 hours ago.

Makes me wonder why you felt the need to create a burner account.

This isn't to say anything one way or another about you, its just my 2 second of reading about you.

matdehaast··on MacKenzie Scott donates over $2B in 2024 to 199 organizations
I find it a very interesting approach to what she is doing.

The problem with most philanthropic organizations is that they come to rely on a constant stream of money. I've heard the Gates Foundation have to be very intentional with how they deploy capital. Because whole ecosystems come to rely on that money in an unsustainable way. So when they have met their goals or decided its not working and pull funding, those that relied on the funding basically collapse overnight. Which could lead to even worse outcomes.

With her approach, I do wonder if this will occur with many of the organizations she is giving large amount of money to.

EDIT: Reminds me of the saying "Give a person a fish and you feed him for a day. Teach him how to fish and you feed him for a lifetime".

matdehaast··on .NET 9 Is Out
Memory usage for that synthetic web server benchmark is massive! 90% reduction
matdehaast··on Good money, no team tactics and cute dogs: the rise of pro cycling freelancers
Lifetime Grand Prix are the biggest right now. They have a series of 7 races that they are doing great media on. Start with Unbound, it’s the most prestigious
matdehaast··on One-time purchase alternatives to popular subscription tools
Jetbrains does this well. Pay for a year and then you fallback to that license/version forever
matdehaast··on Region-specific Machines pricing
I've been using it for years with high bursty loads from users. Never had an issue with network stuff between my user and hetzner....
matdehaast··on PlanetScale performs layoff and prioritizes profitability
This seems like a smart move. I know some will be frustrated with losing a free tier. But ultimately businesses need to make money and charging for it is part of that.
matdehaast··on Post Mortem on Cloudflare Control Plane and Analytics Outage
Some days things just go badly. The only thing you can change is how you respond. Well done to you and the team for getting through this.

I for one am and will always be a cloudflare customer

matdehaast··on Flexport will lay off 20% of the company starting Friday, leaked memo says
AFAIK there was a hiring freeze mandate from the board and the previous CEO ignored this. Hence was fired...

The new CEO had to rectify the situation. Its a horrible situation but at the end of the day, it was going to happen

matdehaast··on Twitter Down?
Same for me
matdehaast··on Flexport will lay off 20% of the company starting Friday, leaked memo says
To be fired in the latest layoff a few weeks later.... Not sure what you want them to do?
matdehaast··on Tax prep companies: $90M lobbying against free tax-filing
This is literally how it works in South Africa. It’s called auto assessment. You get sent a form to confirm all correct and click submit online. 99% it has all the correct information
matdehaast··on Postgres Audit Tables Saved Us from Taking Down Production (2021)
Heap used to bring out so many great engineering deep dives. I do miss them publishing more
matdehaast··on Linux has achieved a 3% desktop market share
Have you used Figma? Feels like sketch got stuck in the Stone Age quickly once Figma made a performant browser based design tool
matdehaast··on Simulation Testing for Liveness
Great blog post as always. Worth diving into their other posts to fully understand what the Tigerbeetle team is doing.
matdehaast··on Launch HN: June (YC W21) – Product Analytics for B2B SaaS Companies
June is quite cold in the southern hemisphere ;)
matdehaast··on Launch HN: Fuse (YC W19) – Unified API for financial data aggregators
This is really cool! We currently locked into contract with one of the aggregators but can't wait to try this.
Page 1 of 5Next →