HN user

marcandre

225 karma

@malafortune on twitter @marcandre on github

Posts0
Comments76
View on HN
No posts found.

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.

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.

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."

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.

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.

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.

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.

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.

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"

ElixirNitpicks 2 years ago

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)
ElixirNitpicks 2 years ago

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.

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.

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.

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.

  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.