HNHacker News
TopNewBestAskShowJobs

sergioisidoro

1,483 karma · joined March 2, 2016

[ my public key: https://keybase.io/sergioisidoro; my proof: https://keybase.io/sergioisidoro/sigs/rzcajPfW372x9poJalOA1yA0aFSVXvPrEDnYkvV1v-o ]
submissionscomments
sergioisidoro··on React 19 Breaks Async Composability
From the discussion:

> My favorite way to do data fetching is as close to the place where I am using the data. React made it possible up until this change.

Well, yes, but we are nowadays in a situation where every component interacts directly with the state, or makes calls to the API (eg with the overuse of query), going against one of the architecture principles of react. It's like we're not building components, we're building component sized micro-ui.

sergioisidoro··on Instead of “auth”, we should say “permissions” and “login”
Sorry, I meant I use 401, not 402.

And I use those terms in all error messages, documentation, and code. Otherwise I respect the standard.

sergioisidoro··on Instead of “auth”, we should say “permissions” and “login”
The problem goes way beyond any singular ecosystem and extends to the most basic standards as well.

For me one of the most confusing things about this topic is the use of "Unauthorized" in 402 [1], when the dictionary definition is about not having permission and authority to do an action [2].

So in my projects I usually use:

- 402 - Unidentified (identification) ou Unauthenticated (Authentic identity)

- 403 - Forbidden (permission)

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

[2] https://www.merriam-webster.com/dictionary/unauthorized

sergioisidoro··on Keeping your data from Apple is harder than expected
From the news article I understood that this was an experimental setting, where participants were asked to perform actions in order to prevent data sharing with apple. From the news article I also interpreted that it is indeed "possible" (in the technical sense), but zero of the participants managed to get it right.

Being a software engineer / computer researcher / highly technical person (which puts them / us in a technical competent bubble), it might have been an actual surprise that zero participants managed to perform the task successfully. Add to that that they might have sourced participants from the student community in a technical university, and I don't see why their surprise is "theatrical"

Edit: As expected, quoting the original article: "The participants were recruited using the following methods: (1) posts on the university’s official LinkedIn page and (...)

Participants represented a wide variety of educational and professional backgrounds, including Computer Science and IT, Architecture, Business Administration, Art and Design, Industrial Engineering, Economics, Research and Development, and unemployed participants (...)"

sergioisidoro··on Reflections on Distrusting xz
It's a bit ironic that after a trust attack this person ends the article sayin

> I do have a xz-unscathed fork which I've carefully constructed to avoid all "Jia Tan" involved commits.

He may be fully legitimate, and perhaps a famous person in OSS (which I was unfamiliar with), but still ironic :)

sergioisidoro··on Redis' license change and forking are a mess that everybody can feel bad about
It must be hard to see another company make profits from a product you have the IP of. However, availability of Redis in major cloud providers is also a reason for Redis' success.

And is it really a good idea to put your entire business strategy relying on hosting an OSS solution, when container technologies are more relevant than ever, and when you have major players who can leverage economies of scale against you?

Hosting is a DevOps service, not a Software service. It's appealing because of the SaaS economies, but I think OSS companies should try to be a bit more innovative if they want to monetise open source solutions and their assets...

sergioisidoro··on Freenginx: Core Nginx Developer Announces Fork of Popular Web Server
To the best of my knowledge, Finnish government hasn't made any attempts at interfering with software development built in Finland, or spying on software users. The same cannot be said of Russia.

I'm not saying Russian people cannot make safe and secure software, just saying that people living in Russia have historically been targets of pressure.

* and to be honest, the USA and China do not have the cleanest of records either.

sergioisidoro··on Freenginx: Core Nginx Developer Announces Fork of Popular Web Server
This might be a controversial opinion, but with the current Russian invasion of Ukraine and tensions between East/West, forking a project like Nginx to be maintained by a Russian company, by a person living in Russia, raises additional questions, especially considering how security critical nginx is when it comes to accessing all traffic of services. I'm thinking here as well about the case of Pavel Durov and his struggles with Russian government.

From the post it seems their intention are good, and towards better secured software, and against business interfering with security. But the part where they say "I no longer able to control which changes are made in nginx within F5" might be a good thing. Should a single person have that much control over a critical piece of infrastructure?

sergioisidoro··on Bython: Python with braces. Because Python is awesome, but whitespace is awful
True. But I would say their use is one order of magnitude less than a block delimiter.
sergioisidoro··on Bython: Python with braces. Because Python is awesome, but whitespace is awful
An interesting note about braces is how US-keyboard centric they are. Typing a braces in many keyboard layouts requires 3 keys presses (or AltGr)

Not having braces makes python very easy to teach where the keyboard layouts do not favour those characters accessibility.

sergioisidoro··on Getting started as an alternative app marketplace in the European Union
I'm not sure if you can call a company with one million downloads in the previous year a startup anymore...
sergioisidoro··on Bruno: Fast and Git-friendly open-source API client (Postman alternative)
I found Bruno after Insomnia adopted the Postman strategy of being cloud first, with a disastrous migration - I momentarily lost all my local projects after an update.

I've been using it for a while and I really like the offline first + git collaboration aspect of it. Only missing Websockets functionality at the moment.

sergioisidoro··on Getting started as an alternative app marketplace in the European Union
> Do either of the following: (1) Provide Apple a stand-by letter of credit in the amount of €1,000,000 from a financial institution (...) (2) be a member of good standing in the Apple Developer Program for two continuous years or more, and have an app that had more than one million first annual installs on iOS in the EU in the prior calendar year.

Ok, so that's a no for startups.

sergioisidoro··on JPEG XL and the Pareto Front
It's so frustrating how the chromium team is ending up as a gatekeeper of the Internet by pick and choosing what gets developed or not.

I recently come across another issue pertaining to the chromium team not budging on their decisions, despite pressure from the community and an RFC backing it up - in my case custom headers in WebSocket handshakes, that are supported by other Javascript runtimes like node and bun, but the chromium maintainer just disagrees with it - https://github.com/whatwg/websockets/issues/16#issuecomment-...

sergioisidoro··on Macaroons Escalated Quickly
So, are Macaroons are like a "blockchain", where each block is an attenuation (ie reducing permission and scopes) of the permission of the original token? So a bearer can get a token, reduce its scope (without talking to the server) and pass it down to other less privileged entities. That's cool!

I kind of had to look into the paper linked to really understand what they are. I feel the article could have given a bit more context on it :)

sergioisidoro··on Everyone hates the electronic medical record
Your link is broken. I believe you wanted to link the Apotti wiki page

https://fi.m.wikipedia.org/wiki/Apotti_(potilastietoj%C3%A4r...

sergioisidoro··on Is There Any Benefit to Multivitamins?
It's frustrating that all these are about risk of cancer and cardiovascular disease, and then generate these blanket statements like "stop wasting money".

Admitting that most people might not need supplementation that much, and that the industry is making money to make you pee fancy urine, Not everything is about preventing problems. Supplementation is also about having more energy and quality of life.

sergioisidoro··on When Optimising Code, Measure
I could think of a nice corollary for this: If it's not worth measuring, it's not worth optimising.
sergioisidoro··on Hertz to sell 20k EVs in shift back to gas-powered cars
I rented a car on a holiday a while ago. I wanted to try electric or plug in hybrid. The car we chose was not available and he said the plug-ins didn't have the charging cable. The guy kept pushing for a brand new car they had, that was also hybrid. I said sure

It ended up being an SUV that even being hybrid consumed more gas than an average non hybrid sedan.

I had a feeling they didn't want me to rent an electric, or the clerk was pushing me away from it.

sergioisidoro··on Austerity Is an Antidemocratic Strategy to Boost Capital
From a European perspective, I would not say it's antidemocratic if parties who are pro-austerity get elected while being transparent about their policies.

However in my opinion, there is a great lack of "class consciousness" from the people who vote for these parties, in a sort of Stockholm syndrome, or because people easily fall prey to the sensationalist idea that you can apply household economics to macro-economics.

sergioisidoro··on Ask HN: What are good books/blogs to read for a first time CTO?
An Elegant Puzzle: Systems of Engineering Management, by Will Larson
sergioisidoro··on Candela P-12 taking off – Electric hydrofoiling passenger vessel [video]
That video has the title "extreme weather". That's a very liberal use of the word "extreme"
sergioisidoro··on Candela P-12 taking off – Electric hydrofoiling passenger vessel [video]
I'm wondering if this solution lands too much in between usable options.

Long sea passages might have rougher weather which is not great for hydrofoils and might be too long for battery ranges. In short passages in inland bodies of water (with better wave conditions for hydrofoils and friendlier to battery ranges), do you have enough distance to start gliding in order to get the benefits of hydrofoil?

sergioisidoro··on Gut epithelial barrier damage caused by dishwasher detergents and rinse aids
For me the word remnant confuses me.

I interpreted it as "leftovers of a significant amount" not a "significant amount of leftovers", meaning that it was used in high quantities, but only remnants (in non significant amounts) were found.

sergioisidoro··on Gut epithelial barrier damage caused by dishwasher detergents and rinse aids
Ok, this is posed to generate some sensationalist headlines. Do we get these concentrations with regular use in a dishwasher? Does it have cumulative exposure effects? Does it even reach the gut lining after digestion enzymes and acids?

From the summary it seems that they only investigated the dose dependent toxicity.

sergioisidoro··on Olive oil soars, and thieves go after century-old trees in the Mediterranean
A note that food oil prices are going up because of the war in Ukraine, which has reduced the availability of sunflower seed oil significantly, putting pressure in the Olive oil supply.

In normal conditions, Ukraine would be the world largest producer of sunflower seed oil.

sergioisidoro··on Omegle 2009-2023
In that article she was 11 when using Omegle. She was using internet without appropriate supervision. That's almost like allowing a kid to drive a car, leading to an accident, and then trying to ban cars because they are dangerous to kids.

The internet is a great place, but it's an adult place. You can find absolutely horrible (adult) things on wikipedia that a kid should not be learning about at the age of 11. And I don't think we want to close wikipedia.

The responsibility of internet platforms is needed, but it's not an excuse for parental neglect.

sergioisidoro··on Hard-to-swallow truths they won't tell you about software engineer job
"Nobody gives a f** about your clean code"

Absolutely false. And you'll know this as soon as you need to change or maintain your own code.

Even if you're a purely cynical person who does not care about your team members, or the future developers (and you're just optimising for business outcomes) you have the incentive to save yourself a lot of pain, as well as embarrassment when customers ask you for something and you need to say no.

I would, at minimum, rephrase that point to "Do clean code for you (and for your colleagues), not for some abstract virtue of writing clean code"

sergioisidoro··on Images from the 2023 Nikon Small World Photomicrography Competition
We posted the same comment at the exact same moment.
sergioisidoro··on Images from the 2023 Nikon Small World Photomicrography Competition
The 16th place, "Carbon Nanotubes" really struck me as being generated by some AI. It has many of these hallmark "hallucination"-like features that we find in AI images.

Am I not able to distinguish between reality and AI anymore?

← PreviousPage 2 of 8Next →