HNHacker News
TopNewBestAskShowJobs

jbaiter

759 karma · joined September 23, 2012

[ my public key: https://keybase.io/jbaiter; my proof: https://keybase.io/jbaiter/sigs/HEEy5nsGmL_m1SoMcnQYA1mpRbXwkvPRtl6aL0kmS-I ]
submissionscomments
jbaiter··on Stargate Project: SoftBank, OpenAI, Oracle, MGX to build data centers
"They respect local laws and culture" - I think people from Xinyang probably have a very different perspective on that........
jbaiter··on Ask HN: How can I realistically change careers?
Thank you for writing this, I really needed to hear this perspective.
jbaiter··on Luigi Mangione's account has been renamed on Stack Overflow
> Any healthcare system must deny healthcare. No healthcare system existing anywhere on this planet provides infinite healthcare to everyone. Denying healthcare is not violence.

Nobody argues against that, but United Healthcare had a denial rate of more than 30%, which is the highest among the major health insurance companies in the US. Coupled with the fact that they make profits off of those denials, it's hard not to call this non physical violence with the aim to generate more capital for share holders and executives.

> In any economic system, units of economic organizations must sometimes dissolve, and people must be laid off. This is unavoidable. Laying people off is not violence.

Again, absolutely agree. But it can be argued that doing so without any regard for individuals, their history with the economic unit and personal circumstances, is non-physical violence. Look at e.g. European employment laws for how this can be mitigated (not without some drawbacks ofc).

> In any society, debts are expected to be paid off. If people could just stop paying their debts, nobody would make any loans anymore. Forcing people into bankruptcy is not violence.

In every just society, the debtor has a responsibility as well to not lend money to people who cannot afford it. Giving somebody a loan they cannot afford and then bankrupting them is definitely non-physical violence.

> I suggest thinking about why these things happen, what would be alternative, and so we put up with these.

You put up with these because the US is a violent society with little regards for individual lives. Great for entrepreneurs and people with access to capital, not so great for much of the rest.

The alternatives have of course their own share of problems, but don't act as if the system is the only reasonable one.

jbaiter··on The Impact of Jungle Music in 90s Video Game Development
This series of mixes by Lee Gamble is a great romp through jungle history, highly recommended: https://soundcloud.com/leegamble/sets/jungle-as-particle-acc...
jbaiter··on Making Pop Rocks from scratch (is complicated) [video]
Claire Saffitz's is probably my favorite channel for all things baking, such high quality productions with a care for detail, thanks for sharing that!
jbaiter··on Ask HN: What are you working on (August 2024)?
A small tool to align two versions of a video with each other, that have the same video (e.g same cut of a show or movie), but different audio tracks, so that the audio track from one can be merged into the other. The primary use case is to merge native BluRay rips that only have native language audio with dubbed audio from DVD or VHS rips. Should help simplify my media collection and cut down on storage.

Uses the scenedetect Python library to locate scene breaks and then uses perceptual hashing to find points for alignment. Also will include a small webapp to debug and adjust things manually in difficult cases.

jbaiter··on SQLite FTS5 Extension
Ah, that's great, didn't know about that :-) It seems to use a similar edit-distance algorithm under the hood, and the docs explicitely mention integration with the FTS extension, so this is probably the way to go!
jbaiter··on SQLite FTS5 Extension
One thing you could do: FTS5 has the `fts5vocab` virtual table [1] that has all the terms. You could provide a user-defined function that computes the levenshtein distance between your query terms and the terms in that table, obtain candidate terms that way and build a big query that searches for all those lexically close terms.

[1] https://www.sqlite.org/fts5.html#the_fts5vocab_virtual_table...

jbaiter··on SQLite FTS5 Extension
Not by default, no. But you could kind of implement it by providing a custom tokenizer that emits multiple terms for the same position in the document, with different variants of the same token. This would not be "proper" fuzzy search, but might be enough depending on the use case.

See https://www.sqlite.org/fts5.html#synonym_support for more details on the different approaches for implementing synonyms in custom tokenizers.

jbaiter··on SQLite FTS5 Extension
I'd go as far as claiming that the WASM port of SQLite with FTS5 enabled makes SQLite the best general purpose client-side search engine currently on the market. And with the option to further customize it with custom tokenizers and auxilliary functions, you can do pretty advanced stuff with it, rivalling Lucene (not completely though, e.g. FTS5 does not store offsets, so highlighting is more expensive than in Lucene).
jbaiter··on Medieval
The horse in the circle of fire is also a quote from Phillipe Garrel's "La Cicatrice Intérieure", a rather obscure surrealist film from the 70s (starring and scored by Nico/Christa Päffgen!) https://www.youtube.com/watch?v=5JYiADaKJ3A
jbaiter··on Fuzzify: A tiny library for fuzzy search
Not for strings, no. The default algorithm would be Levenshtein edit distance and friends (i.e. what this library uses). If you want to get fancy, you could even go for something like Levenshtein automata (which are used by Lucene to implement fuzzy search across terms).
jbaiter··on DIY Book Scanner
Writing the software for an earlier version of this was one of the first open source projects I ever did, with an early 0.1x release of React, fond memories So great to see the project is still alive.
jbaiter··on My Kushy New Job (2010)
Utrecht is beautiful
jbaiter··on Java Panama Vector API Integrated with Apache Lucene
From Solr 8 on you need a Java 11 runtime.
jbaiter··on Nginx 1.25.0: experimental HTTP/3 support
I found that most of the time it was worth the time to invest a few hours/days into implementing the missing feature with Lua/OpenResty, if there wasn't already an Open Source extension available on GitHub.
jbaiter··on 210k works in the Public Domain, searchable
See also https://digitale-sammlungen.de, 1.2 million works from the Bavarian collections. Unfortunately not Public Domain :-/
jbaiter··on Show HN: I spent my vacation writing a modern JVM assembler
Yeah, I had to write a small bytecode patcher from scratch the other day and was amazed at the quality of the writing in the spec. Took me all but 2h to implement what I wanted, with no real prior knowledge of JVM bytecodes and class file structure.
jbaiter··on The Miseducation of Maria Montessori
Have a similar (n=1, usual caveats apply) experience with one of my partner's nephews. Incredible kid, very creative, very excited about all kinds of things. Then he gets enrolled in primary school, within 3 months all the joy is sucked out of this kid, loathes going to school, doing homework is a daily struggle. His parents moved him to a Waldorf/Rudolf Steiner school for the next year, and within a few months the old personality is back, excited to go to school, etc. Two years in, he's among the best in his class according to his teachers, has become class president, etc. Now, I'm not a huge fan of the whole Waldorf/Steiner anthroposophy shtick, but the results in this individual case have me convinced that their approach has some merit.
jbaiter··on Java BitSet performance-flicker mystery
Have you tried setting up a JMH benchmark? This should allow you to see if the JIT is the cause of your slowdowns. Also, running it under a profiler (I recommend async-profiler[1]) should give you a good idea of where the slowdown occurs which might help you pin it down further.

[1] https://github.com/jvm-profiling-tools/async-profiler

jbaiter··on Ask HN: Firefox connection problems after enabling DoH?
What worked for me was disabling HTTP3 support with the 'network.http.http3.enabled' key in about:config and then restarting Firefox. Seems like it's stuck in the 'SocketThread', repeatedly doing this:

  2022-01-13 08:20:53.075936 UTC - [Parent 4106991: Socket Thread]: V/nsHttp Http3Stream::OnReadSegment count=333 state=4 [this=7f6e295623a0]
jbaiter··on DIY Book Scanner
Hey Mark, hey Daniel, Johannes here, thanks for the praise, you're making me blush :D. The inspiration was mutual, I remember the time working on spreads and with you guys very fondly, learned a lot from it.

I'm still active in the "digitizing books" sector, albeit now officially employed at a library and more concerned with what we can do with the books after they're scanned :-)

jbaiter··on Breakfast at Bäckerei Frank (2014)
As a German (Bavaria), it's definitely not the best way and not normal around here. Butter or Obatzta (seasoned soft cheese) is the way to go.
jbaiter··on Remote workstations for discerning artists
Judging from the GIF, they're using AWS NICE DCV: https://docs.aws.amazon.com/dcv/latest/adminguide/what-is-dc...
jbaiter··on Every software system used at Gitlab
Thanks a lot for taking the time to answer! I hope my criticism didn't come off too strong, overall I love working with GitLab, the parent just struck a chord with one of my pain points. Glad to see you're working on it!
jbaiter··on Every software system used at Gitlab
In GitLab? Maybe we're using an outdated GitLab version here, but I can't find it. And it doesn't seem to be mentioned in the offical Reviewing documentation: https://docs.gitlab.com/ce/user/project/merge_requests/revie...

If you mean the "collapsing" feature, this is really not equivalent, since the state does not persist between multiple review sessions.

jbaiter··on Every software system used at Gitlab
Yeah, this is definitely one of GitLab's weakest points at the moment and seriously impacts day-to-day work here as well. Simple features like ticking off files you've already reviewed are missing and even mid-sized MRs are a pain to review even on a beefy machine.
jbaiter··on Former Mayor of Munich Explains How Microsoft Undermined Linux
> - lack of manpower in the dev department, mostly caused by abysmal pay compared to the free market

Abso-fucking-lutely. IMO this is the main factor why most government IT in Germany is in such a disastrous state. Not just abysmal pay, but also coupled with:

a) Limited-term contracts (usually 2 years)

b) Ludicrous academic requirements: You only get pay grade E13 (which is ~40k€/year) with a Diplom or a Master's Degree, so there's no way to hire motivated talent that the rest of the market is more likely to ignore

c) In the case of Limux, Munich has one of the highest costs of living in all of Germany. You earn the same amount of money for a position, no matter if you live in Munich or somewhere in the middle of nowhere with half the cost of living.

d) Since this year there's now also a requirement that a candidate must not have worked under a limited-term contract for the government before. You can imagine how that works out, when most government jobs of the last decade were mostly limited-term.

jbaiter··on It's VHS vs. Beta all over again, but worse
> We think there is a fundamental misconception about piracy. Piracy is almost always a service problem and not a pricing problem. If a pirate offers a product anywhere in the world, 24 x 7, purchasable from the convenience of your personal computer, and the legal provider says the product is region-locked, will come to your country 3 months after the US release, and can only be purchased at a brick and mortar store, then the pirate's service is more valuable. Gabe Newell

And it's true. Pirating games has never been as unattractive as it has been today due to Steam's monopoly and ubiquity. TV and Movies on the other hand are getting worse every year, with Netflix focusing on their originals and everybody else doing their own streaming services.

jbaiter··on Statement on NPM Package Vulnerability in v5.0.2-5.1.0 of Copay Bitcoin Wallets
Funny thing is: They did actually lock down the version numbers of dependencies, they just didn't bother to check the updated dependencies: https://github.com/bitpay/copay/commit/6cc4b757f6fbd111b9716...
← PreviousPage 2 of 4Next →