HNHacker News
TopNewBestAskShowJobs

tommiegannert

1,472 karma · joined July 14, 2021

Helped bring Spotify to life. Helped keep Google ads ML systems learning. Currently building a database system on my own.

https://www.linkedin.com/in/tommiegannert/

https://github.com/tommie/

https://tommie.github.io/

submissionscomments
tommiegannert··on Hyrumtoken: A Go package to encrypt pagination tokens
Huh. Anyone know why the nonce isn't baked into the box upon sealing?

It's the same in the original: https://nacl.cr.yp.to/secretbox.html

tommiegannert··on Why your house is a terrible investment
It was also a very simple way of making people save money for retirement: the bank would require you to slowly pay off the loan, so in the end, at least you'd own a house. In a world gaining population, you also have a speculative aspect, but it was a good idea even without that. At least it protected the real value of your savings.

With laxing repayment requirements, volatile markets, and easier access to other investment types, times have changed. If you know where you want to live, it's still an easy way to save money, but a stock market index fund is equally simple to use.

tommiegannert··on Why is it so hard to find a job now? Enter Ghost Jobs
HR: Always hire people who are (strictly) better than yourself.
tommiegannert··on Origin private file system
> To summarize how the OPFS differs from the user-visible file system:

> * The OPFS is subject to browser storage quota restrictions, just like any other origin-partitioned storage mechanism (for example IndexedDB API). You can access the amount of storage space the OPFS is using via navigator.storage.estimate().

> * Clearing storage data for the site deletes the OPFS.

> * Permission prompts and security checks are not required to access files in the OPFS.

> * Browsers persist the contents of the OPFS to disk somewhere, but you cannot expect to find the created files matched one-to-one. The OPFS is not intended to be visible to the user.

> * It also has a set of synchronous calls available (other File System API calls are asynchronous) that can be run inside web workers only so as not to block the main thread.

tommiegannert··on Perceptually lossless (talking head) video compression at 22kbit/s
Now that we're moving towards context-specific compression algorithms, can we please use WASM as the file header for these media files, instead of inventing something new. :)
tommiegannert··on Breaking CityHash64, MurmurHash2/3, wyhash, and more
Thanks! Bookmarked. This could be a really useful resource when testing for e.g. thundering herd issues in data structures, while not being in control of the hash function.
tommiegannert··on The almost-lost art of rosin potatoes
Hmm. The state of California would probably argue that both the potatoes and the rosin has turned into cancer-generating zombie paste, at temperatures where using rosin for cooking makes sense.
tommiegannert··on The electrostatic world of insects
The same question scales outwards. Are there forces taking over from gravity at galactic scale? Like, perhaps the galaxy filaments and voids come about due to something we can't even comprehend. It seems unlikely that humans just happen to be working with the force at the largest "scale."

How complicated would it be for a small insect to explain gravity, if they're not normally affected by it in their daily routine?

I recently thought about something similar: it seems like at certain scales, things turn into spheres, based on applicable forces. And then there are in-between regions with chaos. Atoms seem mostly round. Humans are not. If planets and stars are at the next spherical scale, are there even larger structures out there that once again show spherical nature, once you're past galaxies, clusters and filaments?

tommiegannert··on PeaZip 10.0.0 Released
> PeaZip is written in FreePascal compiler, a powerful Open Source cross-platform programming language highly compatible with Delphi and ObjectPascal, and Lazarus ide IDE is required to compile, build, and edit the source code.

Cool. Not many active Pascal projects out there anymore.

tommiegannert··on Walking in short bursts consume 20-60% more energy than walking continuously
I was walking through the narrow tourist traps that are the Venetian streets the other week. Lots of stores with shiny pins, bracelets, caps, hats and T-shirts. I realized then why I don't like stores: they're too cluttered. Doesn't even have to come down to decisions; just the visual impact makes me want to leave.

Perhaps this is what makes Apple stores work. Even webshops tend to have only a few products visible at a time.

tommiegannert··on Anthropic Claude 3.5 Sonnet and Haiku
Non-X post: https://www.anthropic.com/news/3-5-models-and-computer-use
tommiegannert··on Man locked out of Google Drive and loses 9 year old photos after SIM Swap attack
> Because those same humans have made it so that they cannot be reached, do not have to care about your problems, and do not have to ever deal with any level of accountability for the real human distress they have caused by building systems in a way that permits a user to be locked out without recourse.

As a former Googler: no, it's because Google policy forbids employees from helping others, if it's not going through proper customer support channels. For privacy and privacy liability reasons. Yeah, it sucks when a friend asks you to look into something and the only thing you can do without risk getting fired is saying "talk to customer support."

tommiegannert··on AI engineers claim new algorithm reduces AI power consumption by 95%
Plus the 2^-l(m) correction term.

Feels like multiplication shouldn't be needed for convergence, just monotonicity? I wonder how well it would perform if the model was actually trained the same way.

tommiegannert··on [dead]
Probably load bearing. If you remove them, the whole thing crumbles. Before attempting it, I suggest adding multiple support accounts.
tommiegannert··on How do you choose where to be?
Successive approximation. The more I move, the better I know what my family likes. Each new move feels slightly less radical than the previous. Both because you're becoming used to the feeling of being an outsider, and because you're honing in on something you like.

That said, also consider the psychological aspect. Perhaps you have a personality that never feels at home, always looking for greener pastures somewhere else. I do. Not sure what to do about it, but it could be that moving won't help, because it's the dream of change that drives you, not an actual dislike for where you are now.

tommiegannert··on Daemonization in Unix programs is probably about restarting programs
We've had init and inittab for decades. Daemonization was never a necessity.

Service managers don't daemonize anything, because they never have to release control to their parent. Just like init always did.

The only thing that's changed with systemd is that inittab now has a dependency management, and richer syntax.

tommiegannert··on HBO Documentary Suggests Bitcoin Creator Satoshi Nakamoto Is Peter Todd
Journalists are supposed to know that (since they are journalism experts,) and use domain experts for their analysis.
tommiegannert··on Ask HN: What type of Auth are you using on your side projects?
I use Traefik with OpenID Connect for everything, and Google as IdP. It's few enough people that I simply add them manually to traefik-forward-auth's settings in Docker Compose.

https://github.com/thomseddon/traefik-forward-auth

tommiegannert··on Depth Pro: Sharp monocular metric depth in less than a second
Tagging along... If I wanted to do 3D reconstruction of a village from "smooth" street video, what's the best hobby tool today?

Gaussian splatting had me amazed, but of course, I'd like a mesh, so there would have to be post-processing to optimize the splats into surfaces, and then reconstruct surfaces.

tommiegannert··on Seven things I wish I would not hear as an autist
> 3. Smoke alarm replace-battery beeping

I swear the battery runs out more often at night than day. My wife sleeps through it, I become wide awake after the first beep. The beeps are 38s apart, so it takes a while to locate which one is bad.

I'm currently designing an add-on circuit for the MCP145010 chip to start blinking the LED before the darn beep.

8. As my dad was emptying the last drops of yoghurt from the Tetra Brick at breakfast, he used to tap it incessantly at the bottom. I had to ask him to stop every time. Breakfast!

9. Tea sieve against cup. Nails tapping on a cell phone screen.

tommiegannert··on Ask HN: Should you reply STOP to unwanted texts?
I'm receiving email spam for my business ("Nice product! What does your Go-To-Market strategy look like? ..."), and they often include 'if you don't want more emails from me, just reply "remove me."'. I assume this is either to create a sunk cost, to validate that the email address works, or to avoid me hitting the Report spam button in GMail.

The fact that I'm not replying even after your second attempt should be a strong indicator that I want you to remove me. If you send me three mails, I'll mark your email as spam and block you.

tommiegannert··on Octopuses seen hunting together with fish
The study: https://www.nature.com/articles/s41559-024-02525-2

Sampaio et al., Multidimensional social influence drives leadership and composition-dependent success in octopus–fish hunting groups

I was curious about the the 3D reconstruction of the scenes.

> We manually tracked individuals in the videos using the software Computer Vision Annotation Tool. We annotated three frames per second, which yielded a time resolution of 0.33 s for animal movement.

> We then used another software developed to incorporate the previously tracked animals in each camera in the ‘colmap’ habitat models and camera paths, ‘multiviewtracks’ or ‘mvt’ [29]

> [29] Francisco, F. A., Nührenberg, P. & Jordan, A. High-resolution, non-invasive animal tracking and reconstruction of local environment in aquatic ecosystems

Seems it was specifically developed to track fish. Cool project.

Links to https://github.com/matterport/Mask_RCNN and https://github.com/pnuehrenberg/multiviewtracks.

tommiegannert··on Rewriting Rust
Thanks for the suggestion. It does avoid a nested if-statement, so agreed it's useful.
tommiegannert··on VitePress: Vite and Vue powered static site generator
I used VitePress for a site, but gave up because the themeing is limiting. IIRC, it bugged me that Vue components weren't full-class citizens in pages: you have to define the components in a theme.

So I switched to Nuxt (the common Vue SSR solution). Tried using Nuxt Content for Markdown support, but didn't like that they invent their own page directory, instead of using Nuxt's normal pages directory. Made it difficult to mix Markdown and normal Nuxt pages in a navigation menu. So I wrote my own Markdown translation module using remark/rehype.

Still happy with Nuxt, though.

tommiegannert··on Teacher caught students using ChatGPT on their first assignment. Debate ensues
At some point, schools were filled with students who wanted to go there. As more and more years in school become mandatory, you'll see more and more students doing the least amount of work. They don't want to be there. It's always been like this, we've just scaled it up by a lot (at least in Europe) lately.

The burden of proof of abilities will keep going up as more advanced tools are developed.

Employers will find new metrics to judge people based on. That's probably where coding interviews came from. Perhaps we'll go back to nepotism, or a social networking "achievements" web site; LinkedIn but with verified credentials. Maybe we'll all have to be published in a journal to show our abilities.

tommiegannert··on Rewriting Rust
> Rust doesn't have syntax to mark a struct field as being in a borrowed state.

> ast_nodes: Vec<&'Self::source str>,

Oh, that would be neat to replace the https://github.com/tommie/incrstruct I wrote for two-phase initialization. Unlike Ouroboros and self_cell, it uses traits so the self-references can be recreated after a move. Whether it's a good idea, I don't know, but the magic Ouroboros applies to my struct feels wrong. But I say that as someone coming from C++.

> if let Some(x) = some_var && some_expr { }

Coming from Go, I was surprised that something like

    if let Some(x) = some_var; expr(x) { }
isn't a thing.
tommiegannert··on We fine-tuned Llama 405B on AMD GPUs
Am I reading that right that the 7900 XTX is on a par with 3090, and 4090 is twice as fast?
tommiegannert··on Several people detained in Switzerland over death in a 'suicide capsule'
Speaking of, here is a little short on that: https://www.youtube.com/watch?v=X9MAf245Yag (suicide topic.)
tommiegannert··on Maker Pipe – Structural Pipe Fittings for DIY Builders
The "discounted" bundle is such an anti-pattern. I'm saving the price of one fitting, out of 20. So if the bundle has even one fitting that I have no use for, the whole deal falls apart, and I should have bought them individually instead. Anyone with the volume to make use of all connectors would probably want to negotiate a better deal anyway.
tommiegannert··on Ask HN: Is it wrong not wanting career progression beyond senior?
The managers above you are judged by them climbing higher. So if they can coach you into a larger role, they'll look better. There's no incentive from the manager side to leave you alone, unless you've made enemies.

As long as you work somewhere with ladder mobility and some churn, the opportunists will rise, and they'll want/need you to rise too.

← PreviousPage 3 of 22Next →