HNHacker News
TopNewBestAskShowJobs

agubelu

826 karma · joined April 14, 2021

format!("{}@{}", "agu", "borrego.dev")
submissionscomments
agubelu··on PHP Is Legacy, in 2024
For context, this is the blog post in question:

https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

agubelu··on Teen behind hundreds of swatting attacks pleads guilty to federal charges
The USA is the only first-world country I'm aware of where many people are happy to argue that a 2+ victim shooting (in any context) is NOT a mass shooting.
agubelu··on SQL style guide by Simon Holywell
> Try to only use standard SQL functions instead of vendor-specific functions for reasons of portability.

Hard disagree here. "Let's do/not do this, in case we decide to change databases in the future" is one of the greatest lies we tell ourselves. You're just making your life harder now and in the near future, for the nebulous promise of "seamlessly replacing your database backend if needed".

In 95% of cases, it's not needed, and you're getting all of the downsides for no benefit. And if it's needed in a late stage of your application's life, changing a bunch of SQL functions will be just one tiny problem among many bigger ones.

agubelu··on Trump wins presidency for second time
Now that you cite the BBC, there are quite sizable communities of UK citizens living in Spain after retirement (ie permanently, without a short or medium-term intention of going back) and they consistently refer to themselves as "expats".
agubelu··on Trump wins presidency for second time
It's quite funny how people talk about "immigrants", but when they are themselves the ones living in another country, then they are "expats".
agubelu··on NixOS is not reproducible
I'm not saying that it doesnt. We use both Nix and NixOS at work.

I'm just saying that, if the goal is mainstream adoption, the core team should acknowledge that people will use Nix as a means to an end, and not for the sake of using it as they do.

agubelu··on NixOS is not reproducible
I think one of the issues with Nix's community is that they see using Nix as a goal on its own, not as a means to an end.

99.5% percent of people don't use Docker because they have a passion for writing dockerfiles, or because they find the ideas behind Docker elegant. They use it as a tool to help build other things. Meanwhile, the Nix community keeps pushing out these ideas about how Nix _works_ ("reproducible builds!", "lazy evaluation!") but they don't seem to particularly care about making Nix easy to use for the majority of the population out there who may want to use Nix as tool and don't care about its technical merits.

On top, I think most projects would benefit from having more functional programming advocates in them. Nix suffers from the opposite problem: it would benefit from having _less_ passionate FP people in it. Nix the language is pretty inscrutable for lots of people.

agubelu··on NixOS is not reproducible
The reproducibility crisis in science has nothing to do with the supporting software itself not being reproducible.
agubelu··on NixOS is not reproducible
This is one of my main gripes with Nix. When something it's hard or unintuitive it's not Nix's fault, it's a skill issue on your part because you just "don't get it". It gets tiring quick.
agubelu··on The IPv6 Transition
I fail to see how mandating ISPs to implement and use IPv6 is equivalent to "putting laws on what you can put inside of Ethernet"
agubelu··on Grandmaster-level chess without search
It doesn't work that way. There are many positions with lots of moves that are reasonable, but many others with only 1-2 sensible moves. It would make lots of obvious blunders that an amateur human would never make.
agubelu··on What is considered ‘moderate drinking’?
The belief that drinking one or two cups of red wine a day is good for your health is still deeply ingrained in many Mediterranean cultures. I think it's worth spreading awareness of the fact that the threshold for "healthy" alcohol consumption is probably much lower, if not zero.
agubelu··on Generation Never-Called-in-Sick
I think "sick time" or "sick days" is a very US-centric thing. In good chunks of the EU, medical leaves (approved by a doctor) are a legally protected concept.
agubelu··on What happens if someone votes by absentee/mail-in and dies before Election Day?
The same thing as if someone votes and then gets ran over by a car as they walk out of the polling station. If the vote was legally emitted, it's counted.
agubelu··on I Am Tired of AI
> blockchain and no-trust decentralization has so much promise

I've been hearing this for the past 5 years, yet nothing of practical use based on blockchains has materialized yet.

agubelu··on The ambition of Microsoft Flight Simulator 2024
Yes, I was thinking of stuff like BeyondATC or SayIntentions. As another comment pointed out, MS of all companies seems particularly well positioned to pull this out if they wanted to and it could be a very strong selling point for hardcore simmers, or even as a learning tool for more casual players.
agubelu··on The ambition of Microsoft Flight Simulator 2024
Something I would have loved to see, especially in this era of AI, is improvements to the ATC system. But it seems we're stuck with the one from FS2020, which in turn is largely the same it was 20 years ago.

Not everyone can or wants to go to VATSIM for realistic ATC coverage, but the default one is just dreadful. Obvious phraseology mistakes, happily vectoring you towards terrain, asking you to descend 20k ft. in 2 minutes, and the only way to communicate with it is via a list of pre-determined options.

agubelu··on Tupperware files for bankruptcy as demand slides
Here in Spain, any sort of food container is generally referred to as "a tupper", but I don't know a single person who buys Tupperware-branded "tuppers". There are cheaper and easier to find alternatives everywhere.

Plus, people are becoming aware that plastic containers suck and they prefer buying glass container for home use, since they're easier to clean and don't get permanently stained.

agubelu··on Master Hexagonal Architecture in Rust
Hiding your logic and intent behind 10 layers of abstraction is also spaghetti code.

Hell is full of single-implementation abstractions.

agubelu··on UK rail minister got engineer sacked for raising safety concerns
As someone who just had to travel from Euston yesterday, thanks a lot for this!
agubelu··on Swift is a more convenient Rust
> In fact, Swift treats enums as more than just types and lets you put methods directly on it

You can do the exact same thing in Rust:

  impl Coin {
      fn valueInCents(&self) -> u8 {
          match self {
              Self::Penny => 1,
              Self::Nickel => 5,
              Self::Dime => 10,
              Self::Quarter => 25,
          }
      }
  }
agubelu··on State of S3 – Your Laptop is no Laptop anymore – a personal Rant
They surely weren't forced to create laptops with no other ports than USB-C
agubelu··on Thoughts on the Durov Arrest
A legal authority (judge) issues a legal request, which must be complied with to the best of your ability. If you don't comply, you're acting unlawfully and thus you're detained by law enforcement (police).

It's a pretty straightforward logic.

agubelu··on DEFCON found vulnerabilities in voting machines–but there's no time to fix them
> Thats great for a country of 44 million, not so great with a country the population of 333 million spread across multiple time zones.

> You would have numerous problems implementing this system across a country with 4 primary time zones(lets ignore the lone two states with separate time zones for now).

You have mentioned timezones twice but haven't really explained why or how they would be an issue. Spain has two timezones, early results are withheld until polls close in the westmost timezone. The EU spans across multiple timezones as well, and elections to the European Parliament follow the same principle.

> Lets set aside the issues involved with transmitting data electronically (sounds like just a distributed electronic system).

Data is transmitted electronically and made publicly available on a per-ballot-box basis. Representatives of political parties with obviously competing interests are present during the counting process (and any member of the public who wishes to can attend it as well) and keep their own tally. If they find out that it diverges from the published results, they can ask for a re-count, which is possible because the physical votes are preserved. In fact they are treated as evidence and follow proper chain of custody by the national police.

> What are you talking about? The last several elections were typically decided within 12-24 hrs of the polls closing on the east coast. Where are you getting your "days" from? Maybe you are just reading Spanish news that is days behind in covering American news?

I distinctly remember live following the 2020 presidential election, going to sleep after all polls closed in the US, and waking up 8 hours later with the race still undecided. How is this possible with a fully electronic system? Why is it not near-instant? This is what I haven't understood yet and would love to be explained.

From Wikipedia (emphasis mine):

> On the morning of November 7 at approximately 11:25 a.m. EST, roughly three and a half days after polls had closed, ABC News, NBC News, CBS News, the Associated Press, CNN, and Fox News all called the election and Pennsylvania's 20 electoral votes for Biden

agubelu··on DEFCON found vulnerabilities in voting machines–but there's no time to fix them
We use traditional paper ballots in Spain, and we have the full results within 2-3h of polls closing.

The trick is using a distributed system. Each ballot box is opened, counted and tallied at the same time. The results (along with the votes themselves for posterior re-counting if needed) are sent to local electoral authorities who input the updates into a central system in real time. It essentially takes as long as it takes to count the fullest ballot boxes in big cities.

Funny that you mentioned speed as an argument for electronic voting, though. I never understood how the US uses it, yet it takes them days to get the full results.

agubelu··on The AI Scientist: Towards Automated Open-Ended Scientific Discovery
I worked with some people who were actively working on this last year, focusing on CS research.

The biggest issue was validation. We could get a system to spit out possible research directions automatically, but who decides if they're reasonable and/or promising? A human, of course. Moreover, we gave different humans the same set of hypotheses to validate and they came back with wildly different annotations.

agubelu··on Ask HN: Why does ChatGPT love the word "eager" so much?
Another giveaway of GPT content for me are overusing importance adjectives like "crucial" or "essential", and of course an extreme overuse of enumerations.
agubelu··on There Is No Antimemetics Division (2018)
The concept of an antimeme has been living rent free in my head (which is quite ironic) ever since I first read this piece back then. Easily my favorite tale from the SCP universe.
agubelu··on I Quit Spotify
Sort of related: "Why Spotify's "grand strategy" will fail"

https://youtu.be/yDWgOwb8kj4

agubelu··on The unexpected poetry of PhD acknowledgements
> They feel like they’ve been drafted a hundred times in the head of the author, but then put down on the page in a hurry, the clock ticking on their deadline.

This is so spot on it hurts. The acknowledgements in my own thesis were drafted and re-drafted over and over in my head for months, and then written down the day before submission.

← PreviousPage 3 of 7Next →