News for hackers. Stuff that matters.

marcandre

Re:How to defer US taxes on Thursday March 19, 2026 @03:21PM (#47444515)
Magical thinking! You may as well recommend the government prints more money and give it to everybody...

In FY2025, the U.S. federal deficit was $1.78 trillion, with total revenue at $5.23 trillion, so clearly it's a majority of revenue.

Re:Get free Claude max 20x for open-source maintainers on Friday February 27, 2026 @05:55PM (#47187023)
It won't need to be cancelled, it won't charge $200 to unwilling customers, don't spread false rumors. They'll even pause whatever plan we already are on and paid for.
Re:Get free Claude max 20x for open-source maintainers on Friday February 27, 2026 @02:29PM (#47184506)
I don't get these negative comments for them giving free credits. Either it's "Not many people fit these criteria" or "A ploy for more customers". It can't be both, and I believe it's neither. It's a nice gesture, in line with Github Copilot and JetBrains. Disclosure: I have free Copilot and just applied for 20x Pro.
Or from any browser: https://wa.me/<phone number, just the digits, starting with country code>
Re:1D Conway's Life glider found, 3.7B cells long on Wednesday December 03, 2025 @06:51PM (#46141951)
Yes. It lives in a standard 2D grid, but it starts on a single line.
Re:Chezmoi introduces ban on LLM-generated contributions on Wednesday October 22, 2025 @10:45AM (#45669911)
The part you are quoting is being removed. The policy used to state "If you contribute un-reviewed LLM generated...", now simply states "If you use an LLM to make any kind of contribution then you will immediately be banned without recourse."
Re:Chezmoi introduces ban on LLM-generated contributions on Wednesday October 22, 2025 @10:41AM (#45669849)
Did you read the policy? "If you use an LLM to make any kind of contribution..."
Re:Has Brazil Invented the Future of Money? on Wednesday July 23, 2025 @07:08AM (#44657829)
The devil in the details. Pix allows you to give your account nb, but also email or phone to locate. Vendors can produce a QR code which embeds the destinator as well as the amount to be paid. Pix feels quicker than IBAN to IBAN. Very importantly, Pix is available even without a bank account. Opening a bank account is quite challenging and expensive for non-residents, among others.
Re:My Bank Keeps on Undermining Anti-Phishing Education on Thursday July 17, 2025 @01:32PM (#44595848)
You are missing the point. He (hopefully) won't trust the callerID to be the bank, but he will trust a "random" callerID to not be his bank/important.
Re:Life Expectancy in Europe Compared to the US on Friday June 27, 2025 @07:03AM (#44395766)
Europeans smoke more than Americans
Re:How Airbnb Measures Listing Lifetime Value on Friday April 04, 2025 @07:41PM (#43588898)
Hosts can cancel, but they are subject to their cancelation penalties (according to the level they've chosen for guests) plus there is an automatic "review" added stating that "This host cancelled a booking X days in advance". Unless X is very big, I run away from those listings.
Re:More than 40% of postdocs leave academia, study reveals on Tuesday January 21, 2025 @06:09PM (#42786368)
Of course. The number of professors in academia remains more or less constant. So each university professor should have, over the course of all their career, a single student that will end up in academia. All the other students have to quit at some point.
Re:How to Make LLMs Shut Up on Sunday December 22, 2024 @05:02AM (#42485437)
That is such an over-simplistic criteria! Proof by the absurd: pass your code through an obfuscator / simplifier and the output won't be affected.
Re:Breaking Down OnlyFans' Economics on Friday September 13, 2024 @02:16PM (#41533679)
> it feels like you could have said the same towards people buying pricy concert tickets when there's royalty free music abundantly available.

The analogy holds. Most people don't pay concert tickets for the music itself. It's the experience, the crowd, the physical presence of the artists, etc.

Re:Breaking Down OnlyFans' Economics on Friday September 13, 2024 @02:14PM (#41533658)
I think OP's point is that people aren't (directly) paying for Pornhub, although I realize some people are paying some site that make porn, but the amounts remain smaller than what people pay directly on OF.
Re:Don't DRY Your Code Prematurely on Thursday May 30, 2024 @12:31PM (#40525627)
I'd love examples where DRY can really hurt performance. Typically what matters most in terms of performance is the algorithm used, and that won't change.

More importantly, cleverer people than me said "premature optimization is the root of all evil"

Re:Show HN: I wrote a symmetry game with a daily puzzle on Thursday May 16, 2024 @06:25AM (#40376812)
Same. Tutorial having only contiguous cases made things quite unclear. I thought the starting point / endpoint where important to define the reflection axis and where it was, but no, only the axis gets defined
Re:Elixir Nitpicks on Wednesday February 07, 2024 @09:46AM (#39289182)
A nitpick of mine is how filtering with `for` is not explicit.

  arg = [1, 2, 3]
  # This doesn't crash:
  for {key, value} <- arg, do: ...
  # But this will:
  Enum.map(arg, fn {key, value} -> ... end)
Re:Elixir Nitpicks on Wednesday February 07, 2024 @09:29AM (#39288968)
Interesting. In our codebase we do this all the time. A quick search revealed 280 occurrences of `some_var = some_var |> ...`.

I also find the pin operator much more readable, as the meaning of `{foo, ^bar} = result` doesn't require to know the context. `foo` is being assigned, `bar` is being matched on. No need to know the code before this line to interpret it.

Re:Speeding Slows You Down (By a Lot) on Saturday January 27, 2024 @01:28PM (#39158295)
You meant "That number feels too low"
Re:Sex, aggression, and humour: responses to unicycling on Tuesday January 23, 2024 @09:34AM (#39103801)
If only the traffic regulations, and roads were actually designed for bikes. Check the amazing "Not Just Bikes" channel on Stop signs, intelligent traffic lights, and read on Idaho stop. Let's not take existing regulations like the "absolute truth and ultimate way of being". Jaywalking used to be illegal, and in my country at least, pot went from being a crime to being sold by state stores.
Re:Sex, aggression, and humour: responses to unicycling on Tuesday January 23, 2024 @09:30AM (#39103743)
You forgot not signaling when turning and changing lanes...
Re:Flying kites deliver container-sized power generation on Thursday January 18, 2024 @06:17PM (#39049336)
How heavy would this turbine be? Much energy might be wasted just to keep it floating in the air...
In Spain, not only are that vast majority of properties sold through agents (anywhere from 3 to 10% commission, and there's a transfer tax of 10% on top of it all) but even apartment rentals are almost all done through agents and renters used to pay directly that fee, but the law changed and it has to be absorbed by the owner.
Re:Julia Evans: Git rebase, what can go wrong on Monday November 06, 2023 @02:31PM (#38167606)
The classic example where this fails is when needing to revert something. An atomic commit for the migrations + some atomic commits for the implementation mean you can easily revert the implementation, and leave the migration intact (as should be) and add a reverse migration.
Re:Hogfish ‘See’ with Their Skin, Even When They’re Dead on Wednesday August 23, 2023 @12:22AM (#37231854)
Very interesting. I don't understand why it mentions this to be a brand new discovery, since the presence of opsins in the skin of animals for mimetism has been known for some time, e.g. https://www.nationalgeographic.com/science/article/octopuses... (2015)
I am not the OP, but I suspect the point about keywords vs map might be why was Keyword favoured over Map, i.e. why does `foo(a: 1)` compile as `foo([a: 1])` and not `foo(%{a: 1})`.

Nice writeup on why the dot <3

Re:Why SQLite Does Not Use Git on Sunday July 23, 2023 @07:21AM (#36834339)
Do you mean it can rewrite branch pointers that pointed to intermediate commits? How?
Re:Ask HN: Who wants to be hired? (July 2023) on Monday July 03, 2023 @04:54PM (#36578698)

  Location: Canada
  Remote: Yes (only)
  Willing to relocate: No
  Technologies: Elixir, Phoenix, LiveView, Javascript / TypeScript, Ruby, Rails, ...
  Résumé/CV: https://cv.marc-andre.ca
  Linkedin: https://www.linkedin.com/in/marcandre/
  Email: lets-talk [at] marc-andre.ca


  * 30 years of professional programming experience in small companies, last 10 fully remote, last 2 in Elixir.
  * Fervent FOSS contributor: in the top-100 contributors of Elixir, Ruby, Rails, RuboCop, etc.
  * Self-taught; academic background in maths & physics
Looking for contract work, up to 20h/week, in Elixir, backend or fullstack.
Re:Why are ships always female? on Tuesday June 27, 2023 @11:21AM (#36494175)
There's also "embarcation", "barque", and old types of boats like "caravelle", "carafe", "flute", "trirème", all feminine.

Not all boat names in french are masculine. Some famous ones that are feminine: https://fr.wikipedia.org/wiki/La_Dauphine_(vaisseau) https://fr.wikipedia.org/wiki/Grande_Hermine_(Nef) https://fr.wikipedia.org/wiki/La_Cordeli%C3%A8re

Older »