HNHacker News
TopNewBestAskShowJobs

olivergregory

68 karma · joined April 20, 2023

submissionscomments
olivergregory··on U.S. Small Biz Can't Ship to the EU Anymore
Living in Belgium, my country has people producing stuff. But does it have a small business producing that one specific item I absolutely require for my project? It’s very likely it doesn’t. If I extend my search to the whole of EU, yes, probably one or two small businesses make those. Are there sufficient people in Belgium to buy this item if I wanted to create a small business to do so? No.

This tax is probably closing a loophole, but it’s badly designed and hurts small businesses more than anything because small businesses are the most likely to send to other countries to build their initial base. This tax reduces the discovery of what people do in ways no other tax did before.

olivergregory··on Codix: Code indexing and refactoring tools for AI agents
I built codix because AI coding agents waste a lot of tokens grepping and guessing their way through codebases. They search for symbols by name, get imprecise results back, and sometimes just hallucinate definitions that don't exist.

codix indexes your code into a local SQLite database using tree-sitter, then provides precise symbol lookups, reference finding, and relationship queries (callers, callees, implementations, supertypes).

It also supports refactoring: `codix rename` finds every occurrence of a symbol across the codebase using AST analysis (not text search), shows you a dry-run diff, and applies it with --apply.

    cd your-project
    codix init
    codix find UserService
    codix callers save
    codix impls Repository
    codix rename save persist          # dry-run
    codix rename save persist --apply  # apply
It supports Go, Java, JavaScript/TypeScript, Python, and Rust. The index auto-refreshes on every query, so it's always current.

The output is designed to be token-efficient for agents, but it works fine for humans too. Adding it to your agent is one line in CLAUDE.md or AGENTS.md.

MIT licensed, written in Rust, ~5k lines. Contributions welcome — especially for new language plugins.

olivergregory··on One Formula That Demystifies 3D Graphics
Don't you mean Thales?
olivergregory··on Hardening Firefox – a checklist for improved browser privacy
I litterally gained one hour off my charged battery when I switched these two settings off, just a week ago, and I keep my browser up to date. So not for me.
olivergregory··on Hardening Firefox – a checklist for improved browser privacy
That’s the extension Privacy Badger.
olivergregory··on Hardening Firefox – a checklist for improved browser privacy
Set the browser.ml.chat.enabled and browser.ml.enabled to false as they intensively use the processor and drain the battery. All that to just find the best name for your tab groups. I prefer to have my laptop last one more hour instead.
olivergregory··on Show HN: FilterQL – A tiny query language for filtering structured data
It seems nice. However is there any way to query arrays within the datastructure itself? Or go deeper in the hierarchy, such as "model.cost"?
olivergregory··on It is time to 'Correct the Map'
Calls it "correct the map", manages to write "Belguim" instead of "Belgium".
olivergregory··on Can you block it? A simple Ad Block Tester
NoScript does the job. Not a single ad in sight.
olivergregory··on Marine Le Pen banned from running in 2027 and given four-year sentence
She allowed the law to pass by not voting against. There was enough abstention for her voice to matter.

She stole money from the EU, an act she did after being voted MP. She couldn’t have done it if she had not been elected. So, basically she was elected, stole money and she still should not be barred from the next presidential election after she allowed that ban law to be voted?

She chose the path, she should face the consequences.

olivergregory··on ToS;DR
The grades are explained at the bottom of the page.

Regarding Startpage, It's not mandatory to show the cookie banner if you don't track. Startpage doesn't track you at all, so it's grade A.

Wikipedia has that all the bad things happen to your account except for the tracking, but you can still use Wikipedia without using an account. I agree that it's a B.

I'm not familiar enough with Tor to answer that grade.

olivergregory··on Calling women 'household objects' now permitted on Facebook
Yes, but not by CNN, even though they should have known better.
olivergregory··on Calling women 'household objects' now permitted on Facebook
He's an opportunist, always has been, always will be. Opportunists don't have sides: they roll all the times.
olivergregory··on Billionaires emit more CO₂ in 90 minutes than most people do in a lifetime
It's not about the effectiveness: it's about the message.
olivergregory··on Tax the Rich – European Citizens' Initiative
Saying it won't make it real. It's a myth, it's been debunked several times. The myth persists.
olivergregory··on Tax the Rich – European Citizens' Initiative
They won't leave.

For 50 years in the US, the maximum tax rate was right below 80%. That didn't make the country poorer, on the contrary: that was the time the US asserted itself as the main planetary superpower. "The rich will leave" is a myth. Probably some opportunists like Elon Musk will, but he's just the (extremely) vocal minority. Most recently in Norway after a targeted tax, out of 230k+ millionnaires and billionnaires, a lot vocally said they would leave while only 30 actually did, which was just marginally over the usual migration rate for that category of people.

So even though no one ever proved that "the rich will leave" (while the opposing has been shown numerous times) over the last century, the simple workaround is to make the tax global or at least as wide as possible, which is what is attempted here.

olivergregory··on Tired of Bookmark Chaos? Try This New Tool
I don't see any browser extension. Is that in the pipe?
olivergregory··on Ask HN: What's the oldest file on your computer?
An install file for Firefox.
olivergregory··on I created 3,800+ Open Source React Icons (Beautiful, Rounded Style)
I don't get how I can download all (free) icons locally, to use in another framework than react. Anyone could bulk download without having to favorite each icon independently?
olivergregory··on Show HN: Zebrapuzzles.com – Daily Logic Puzzles
Slig, I don't know how to reach you other than here.

Today's hardest puzzle (#110 @ 2024-03-23) says that "Theodore's favorite player is Italian".

The list comprises of the following players: Di Stefano (Argentina then Spain), Maradona (Argentina), Ronaldinho (Brazil), Ronaldo (Brazil or Portugal, depends on who the game speaks about), Rooney (England).

That's roughly what I don't like with your implementation: the grids cannot be solved by themselves. Some external knowledge is required, and in this case, the knowledge is incorrect. Basically, the hint here should say: "Theodore's favorite player is <whoever the AI thinks is Italian>".

olivergregory··on Show HN: Zebrapuzzles.com – Daily Logic Puzzles
It's very nice. I couldn't finish the hardest difficulty: I must be missing something.

I've found some issues: - when refreshing, all progress is lost, including previously solved puzzles. I guess that you could store the current state of the daily puzzles in a cookie or on the drive. -

And I've some suggestions: - maybe add a grid like this one[0] in a tool or something to help us solve the hardest puzzles. I don't know if it's relevant, but i feel it is. I didn't need to use this kind of grid until the hardest puzzle, but again, I couldn't finish it, so I'm not sure it's useful. - make the coloring of the grid optional: they're distracting when solving the puzzle, I think

Anyways, very nice! I can't wait for tomorrow's puzzles :)

[0]: https://murdle.com/

olivergregory··on Show HN: Zebrapuzzles.com – Daily Logic Puzzles
I wish it was possible to manually check the clues since I'm writing them down on paper.
olivergregory··on Dune: Part Two Is the Best Sci-Fi Film of the Decade
Yes, that's correct. The 2 starts there.
olivergregory··on It Is Somebody's Moral Imperative to Leak "Coyote vs. Acme" to the World
Doesn't copyright apply the moment of release? Since it's not released, it's not copyrighted. The rest would indeed apply, of course, but I'm not sure about copyright.
olivergregory··on 6 months in, journalist-owned tech publication 404 Media is profitable
I don't know if I want to subscribe. But what I do know is that I don't the price, but to know the price I must first provide my e-mail address. Nope! Give me the price before I give you my e-mail address.

Edit: Oh, it's behind JavaScript. I disable it all the times. Well, whatever.

olivergregory··on Committing Without Git
Reminds me of this simplified git-like project[0] once featured here. I learned a lot about git with this project.

[0]: https://www.leshenko.net/p/ugit/

olivergregory··on Meta’s approach of ‘pay for your privacy’ is wrong
Well, the deal is indeed they advertise to me. But they may not tell "you pay with your privacy or your money". That's the law. There are other forms of advertising that are not based on my private data. Those forms of advertising pay less? That's the problem of Meta, not mine.
olivergregory··on A Database for Game Engines
I selected Java as programming language and got a lot of engines that are not usable in Java. But the two main Java engines, LWJGL & LibGDX, that are present in the database were not on the list.
olivergregory··on The successful campaign to convince people the USA and not the USSR beat Hitler (2014)
I can only speculate that it's a combination of several factors: 1. older French people told stories of how Americans freed their cities in France (because US was on Germany's West front) 2. USSR had become a big bad evil with the Cold War 3. US and French movies mostly focus on the fights the US/France did.
olivergregory··on Incidents of AIs going rogue and killing all the humans
The number on the page is wrong:

https://www.brusselstimes.com/430098/belgian-man-commits-sui...