HNHacker News
TopNewBestAskShowJobs

dlisboa

2,301 karma · joined June 28, 2012

Hi there! You can reach me at, diogo at dlisboa.com
submissionscomments
dlisboa··on Doomscrolling ourselves to death
I’m equally surprised how many people read extremely low quality pop fiction nowadays. Especially those romantic/erotic books. Those were the kind of book you’d be laughed at for reading back in the day.

Reading non-fiction about some current topic isn’t that bad in comparison.

dlisboa··on Git Submodules as a Package Manager
I think you’re underselling it. You’ve listed several projects with many thousand man hours in development.

It’s telling that in Python there have been multiple package managers over the years to fix the broken status quo. Typescript/Javascript notwithstanding, in other languages and environments you get the one tool that’s been there for over a decade without competitors.

Very few languages have suffered from the same package manager issues as JS/TS and Python.

dlisboa··on Zed DeltaDB
Indirectly, maybe 8 years after Electron was first started, and not for the company that first invested in Electron.

My point yet again: only companies with money to burn can take that gamble.

dlisboa··on Zed DeltaDB
> But both of those lead to Electron, and Atom, and ultimately VSCode

You just gave an example of 3 unprofitable projects.

That's pretty much my point: great that we got all of this stuff out of it but in any company not propped up by massive amounts of VC money you can't pay tens of millions of dollars in engineering salary for no immediate gain.

dlisboa··on Zed DeltaDB
There should be a concept called "engineering privilege".

I see some companies do things that are widely out of their core product and engineers there just having fun with a bunch of different stuff with seemingly no commitment to bring in revenue. They'll re-invent/re-write things constantly, write a new compiler/package manager for their chosen language, create new frameworks, new open source projects unrelated to their companies, etc.

It must be awesome to be able to work in these conditions and still get paid. I'm not hating on it, it's how we get a lot of the good stuff we use.

dlisboa··on Solod: Go can be a better C
> C is great when you need to do manual memory management.

Is it still, today? There are other manual memory languages today with better safety records and ergonomics. Plus a host of new and better features.

I think C is really great if you need C. For libraries, for knowledge, for size, for compatibility, for "simplicity", for fun, for whatever.

But other than having a strong reason to want C, on a purely language feature comparison, it's not great.

dlisboa··on Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model
It's not "prohibitively" expensive if they managed to pay for flights to the US, hotels and then buy several pieces of hardware. They definitely had more than enough money to buy whatever they wanted in Brazil. It is, however, much more expensive than it should be, which leaves a bad taste in our mouths and means people will find other ways of acquiring some items.
dlisboa··on Goodbye Visa and Mastercard: 130M Europeans switching to sovereign payment
> Bought something online and didn't receive your product? With PIX you're SOL, with Visa/Mastercard you get a chargeback.

Visa/Mastercard aren't handling chargebacks, the banks are. With PIX the way to get a chargeback is the same: if you've been victim of fraud you open a claim with the bank, they'll review it, then possibly give you a charge back within a week. This review process might take longer or be denied, which requires a lawsuit.

But it's only less risky for banks to chargeback immediately on Visa/Mastercard because they make so much money from credit card fees that they can afford it.

dlisboa··on Goodbye Visa and Mastercard: 130M Europeans switching to sovereign payment
A "Pay with PIX" button is just a QR code. You reach the payment page, the merchant website generates a QR code, you open up your bank app, scan the QR code, confirm the merchant and the purchase, the merchant website runs a spinner for like 10 seconds while it confirms it in the background, and then you get a confirmation of your purchase with an order number.
dlisboa··on Removable batteries in smartphones will be mandatory in the EU starting in 2027
External battery banks are a better reducer of e-waste as they'll work for all devices and not just the one cell phone.
dlisboa··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
That's not cynical. Trump has done the world a great benefit by transparently saying out loud what was hidden US policy for decades.
dlisboa··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
In the matter of drone production, which was my point, it doesn’t change the calculus. It is evident that short of regime change or popular upheaval Iran can produce or import drones indefinitely and the only thing that can stop it is a ground invasion.

The US Navy or any navy can’t destroy that production from the air.

The evidence is pretty clear on that. We see that is already the case in Ukraine or with Hezbollah and Ansar Allah.

dlisboa··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
Some of them. These were the stated objectives as per general Tommy Franks:

* Depose's Saddam government

Accomplished.

* Identify, isolate, and eliminate Iraqi WMDs

Failed. They were never there.

* Find, capture, and drive out terrorists from Iraq

Failed. Iraqi-based terrorism increased in the aftermath.

* Collect intelligence related to terrorist networks, and to "the global network" of WMDs

Failed. North Korea tested its first nuclear weapon in 2006, years after the invasion. The US accuses Iran of trying for them to this day. Chemical weapons were used by ISIS.

* End sanctions

Accomplished.

* Deliver humanitarian support to the Iraqi people, including the displaced

Failed. There were more displaced people due to the war than before and a higher need for humanitarian support which took years to complete.

* Secure Iraq's oil fields and resources, "which belong to the Iraqi people"

Accomplished. Somewhat, US and UK based companies, plus China, now runs a lot of their oil fields. Iraqi GDP per capita is one of the lowest in the region.

* Help the Iraqi people "create conditions for a transition to a representative self-government"

Arguable. Parts of the country want to secede and have armed groups. Representation and turnout is not amazing, but I guess not even in Western countries it is.

dlisboa··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
That'll never happen.
dlisboa··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
> A US CSG could simply sit in the Hormuz strait shoot down any incoming missiles and keep it open.

They can't even do that in their own bases. Most of US defenses have been severely overestimated due to propaganda. They hadn't been tested and when they were they've shown themselves lacking.

dlisboa··on Why the US Navy won't blast the Iranians and 'open' Strait of Hormuz
> A blanket comparison of Russia's attempts to eliminate Ukraine's industry with US Navy's ability to eliminate Iran's is ... questionable. We've flown 1000s of uncontested sorties over Ukraine, and Russia has been relegated to knocking down apartment buildings with Iran's own drones.

Russia has literally taken over the industrial heart of Ukraine in the east and southeast regions. With boots on the ground, tanks, everything. They claim it as their land. And yet they can't stop Ukraine from building drones.

That's far more than the US/Israel have done or are willing to do. It's extremely realistic that they do not have the capacity to destroy Iran's drone making capabilities, ever.

dlisboa··on Missile defense is NP-complete
Production is not a hard problem. Iran, a heavily sanctioned country, already has drone production in other countries. That's assuming no other country would want to sell them their own drones to boost their domestic industry, like Turkiye has been doing for Ukraine.

Most of the Iranian drones are quite sophisticated for what they need to do. On a pinch they could replace many of the non-critical components for cheaper parts. They don't need composite materials if they were simply trying to outproduce. Meaning their production facilities could be much simpler than they are currently and still sustain enough output to matter.

dlisboa··on Missile defense is NP-complete
You're making the same argument I am. If Iran had a small increase in accuracy they could hit targets that'd disable a lot of Israel military and civilian infrastructure. A lot of stuff is getting through. To counter that Israel has to achieve a perfect interception record. The balance is throughly on the side of offensive drone/missile warfare.
dlisboa··on Missile defense is NP-complete
> that could be 100 billion USD in deferred revenue, if we assume that LNG is not going anywhere from wherever it's sitting underground, and will be simply extracted and sold later

That's not how revenue works at all.

dlisboa··on Missile defense is NP-complete
A trillion seems large but it's not that absurd. The drone that shut down 17% of Qatar's LNG capacity is said to have caused 20 billion USD worth of annual lost revenue. They said it'll take up to 5 years to rebuild so that could be 100 billion USD in lost revenue, plus whatever it costs to do the rebuild.

A trillion dollars worth of damage seems possible if spread over some years for some countries in the Gulf where shutting down a desalination plant would cause depopulation.

dlisboa··on Missile defense is NP-complete
Israel is similiarly lucky that it is surrounded by neighbors with US bases that can intercept missiles and drones before they get to it. All of its more competent enemies are very far away. In a different scenario there'd be no motivation for a country like Iraq or Jordan to help.

They can afford to try to destroy Iran's offensive capabilities because in-between countries allow their airspace to be used.

Wars are usually between neighbors. If a neighbor has a huge stockpile of drones they can launch a first salvo that'll overwhelm whatever defensive capabilities the other country has before they even get to the point of destroying launchers/manufacturing.

Threats of massive drones strikes are the closest deterrent a country can get to nuclear weapons without developing nuclear weapons. If Iran had 5 million drones instead of 50 thousand this war wouldn't even be happening.

dlisboa··on Missile defense is NP-complete
Very few countries lack the technological capabilities to produce these kinds of drones.

What most countries don't have is, for lack of a better term, the resolve Iran has shown. Venezuela could have built drones and resisted just the same, but it's internally divided enough that it was possible to strike a deal with an inside faction and have a coup from within.

dlisboa··on Missile defense is NP-complete
There is an assumption here that the value in improving defenses is the same as improving offensive weapons. That is not the case in the assymetry that drones provide and Russia is the first example.

Russia has not been able to improve AA capabilities to the point where it's "safe", for any definition of the word, neither has Israel. Israel and Gulf states often tout over 90% interception rate yet it's really at the mercy of Iran to not target their most vulnerable sites. If Iran was routinely targeting desalination plants and refineries it wouldn't matter if it was 99%: one hit is all it takes. Similarly Russia cannot keep Ukraine from targeting their oil infrastructure.

Air defenses need to be 100% to prevent physical, economic and moral damage. That is an impossibility.

dlisboa··on Humans 40k yrs ago developed a system of conventional signs
Humans today perhaps. People tend to underestimate our abilities in nature because we’ve evolved to be able to shape it. In reality humans had generationally transmitted oral knowledge of food, plus are the only animals that can transform food at will, including from “toxic” to consumable.
dlisboa··on MacBook Neo
It was $999 back then. They could be made cheaper today. Those were Intel chips.
dlisboa··on Government grant-funded research should not be published in for-profit journals
A solution to a problem that doesn't change the current state of affairs, which by your definition makes it a simple solution, is not an actual solution.

There are plenty of simple solutions to real problems whose only blocker is upsetting the status quo. "We have no housing...let's build more housing" is, in fact, a very simple solution. That it doesn't happen has nothing to do with it the solution itself.

dlisboa··on MacBook Neo
I wish more would be done on weight. The 12 inch Macbook was very lightweight, just 2 pounds. Today there's no Apple product that gets close to that: an iPad with the added accessories weighs more and it's still an iPad. The Macbook "Air" is not airy, this Macbook Neo weighs the same as an Air.
dlisboa··on Trump's global tariffs struck down by US Supreme Court
You have to see there's a hefty dose of hypocrisy in this, right? American might has been used, quite extensively, to impose unfavorable conditions to local companies in their own soil in favor of American companies. Multiple American multi national corporations have used exploitative labor conditions in underdeveloped countries to prop up their own margins. The American government has used multiple coercive tools to de-industrialize many nations and has, in the 21st century, an explicitly paternalistic attitude towards the Western Hemisphere with literal stealing of their resources.

I understand and even respect when someone says "I'm American so I wish to maintain the status quo where the US can undercut other nations but they can't undercut us". But if there's some rose tinted view of how the US is actually the morally aggrieved one, I just can't bear it.

dlisboa··on Facebook is cooked
I don't see it as misleading at all. You're leaving out half the world and implying it's doing fine. Regular Facebook usage in Brazil is also non-existent and it's the 5th or so biggest Internet market. China doesn't have it. I'm not sure about India usage. So if FB isn't popular in the US, EU, China, Brazil, etc, that's an extreme amount of market loss.
dlisboa··on U.S. had almost no job growth in 2025
A great example of what seems to be the current ethos for the generation (I realize Handey isn't of this generation). Very much "nothing matters as we'll all die anyway, who cares about what comes after". I don't fault the sentiment, to be clear, it's just an indication of the socio-economic situation that fostered it.
← PreviousPage 3 of 17Next →