MurphyA/hacker-news huggingface dataset:
by stephen | 2025-05-09 22:51:07+00:00
> Microservices are a design pattern for organisations as opposed > to technology ... breakout into multiple teams

I agree, but just saying "multiple teams" has led many eng directors to think "I have two squads now --> omg they cannot both be in the same monolith".

When both squads are 5 people each.

And the squads re-org (or "right size") every 9 months to re-prioritize on the latest features.

Five years go by, 7 team/re-org changes, all of which made sense, but thank god we didn't microservice on the 2nd/3rd/4th/5th/6th team boundaries. :grimmacing:

We should stay "stable, long-lived teams" -- like you need to have a team that exists with the same ownership and mandate for ~18 months to prove its a stable entity worth forming your architecture around.
by alabastervlog | 2025-05-09 22:51:38+00:00
We were probably doomed to see a major public debt crisis eventually when we cut taxes going into two extremely-expensive long wars under W Bush, the “probably” was upgraded to an “almost certainly” when we cut taxes again under Trump, then Covid happening removed the “almost” from that.

Now we appear to be trying to move the timing of the crisis from 20+ years out, to less than a decade out.
by bsrkf | 2025-05-09 22:52:43+00:00
I always thought it was more akin to a C++ than a C alternative, and reading https://en.wikipedia.org/wiki/D_(programming_language) seems to rather confirm this notion:

"originated as a re-engineering of C++" "influenced by Java, Python, Ruby, C#, and Eiffel" "design by contract, ranges, built-in container iteration concepts, and type inference" "array slicing, nested functions and lazy evaluation." "Java-style single inheritance with interfaces and mixins" "function overloading and operator overloading" "supports five main programming paradigms" (including OOP) ... et cetera

Though it does support things like in-line assembly and the like, I'm sure most C programmers would pass on it, as a C-alternative, based on those factoids.
by ruraljuror | 2025-05-09 22:53:13+00:00
The actual behavior of go seems much closer to your ideal scenario than what you attribute to it. Although it is more nuanced, so both are true. In go, a module is a collection of packages. When you go get a module, the entire module is pulled onto the host, but when you vendor only the packages you use (and i believe only the symbols used from that package, but am not certain) are vendored to your module as dependencies.
by watwut | 2025-05-09 22:53:38+00:00
> no one trusts them keep the currency market-stable, because they're autocracies.

Oh boy, I have some news about US and its trust. China seems more trustworthy right now, which is kind of achievement in the US side.

USA cant be trusted to ve stable nor to keep its contracts. Whether Euro collapses into the same state remains to be seen.
by rs186 | 2025-05-09 22:54:18+00:00
I don't think there is any point in debating this, because apparently you are in the camp of "dependencies are ok", with or without a good reason, when a different camp is "avoid dependencies unless you really have to". You just provided an example of why dependencies explode like this.

> And because you can't see a reason there is none?

Somehow every other JS based parser doesn't do fancy serialization, as far as I can tell. You can come up with reasons of why one might need it, but as a user of the parser, I want the footprint to be small, and that's a requirement. In fact, that's one of the reasons I never used swc parser in my serious projects.
by jraph | 2025-05-09 22:54:51+00:00
The normal way to invite people to a CryptPad document is to give them the shared link. No need to register or involve emails. Then, they just need to follow the link and it should just work. CryptPad is specifically designed with nontechnical users in mind, because if you want something to be secure, it needs to be simple, and it is not desirable for privacy to be limited to technical users only.

What did you want to achieve?
by CountSessine | 2025-05-09 22:54:57+00:00
I agree with you, but I also think you have this idea that trade is currently governed by largely linear and symmetric rules in Ricardian harmony, and that just isn’t the case.

Every industrialized exporting country in the world has optimized for exporting to the US, and there’s plenty of govt policy involved. Trade barriers are the norm, not the exception. If other countries optimize their trade rules, regulations, and money supply to optimize for a sizeable trade surplus with the US, they can change their policy to reduce the surplus.
by Lammy | 2025-05-09 22:55:11+00:00
And here's a citation — Engineering Report: Rapid Transit for the San Francisco Bay Area, June, 1961: https://www.bart.gov/sites/default/files/docs/50-years/1961-...

“The San Francisco Downtown element of the Bay Area regional rapid transit system consists of a four-track, two-level subway beneath Market Street and a two-track, single-level subway beneath Post Street.”

“At Montgomery Street, the Market Street subway joins the San Francisco approach to the Trans-Bay Tube. The subway extends up Market Street to about Van Ness Avenue where it swings lo the south to become the Peninsula Line in Mission Street. The lower level of the subway provides through regional service by joining the Peninsula and the Trans-Bay Lines. The upper level is built to accommodate local rapid transit trains at a future time and will be utilized initially by the streetcars of the San Francisco Municipal Railway.” (emphasis mine)

And the flow map of estimated 1975 passenger counts makes it clear why they would want to double up on platform capacity along that stretch: https://www.bart.gov/sites/default/files/docs/50-years/1961-...

Imagine if we got this BART: https://i.imgur.com/hon9nEf.jpeg (1956)
by LexiMax | 2025-05-09 22:56:02+00:00
I'm not trying to downplay the inordinate amount of media coverage transfolk are getting.

However, effective propaganda needs an audience willing to listen and accept the things they're being told. I don't think that propaganda turns good people hateful. Instead, I believe it gives people predisposed to certain hateful beliefs a socially acceptable excuse they can repeat for feeling the way they do.
by ldubost | 2025-05-09 22:56:13+00:00
Hi,

I'm from the CryptPad team.

This is an interesting feedback.

Note that you can also invite people by sending them a link to a document and then connect to them from the user sidebar. They don't really need an account to access documents.

The main reason for the lack of simpler invitation using email is that we don't really want users to give us the mail of other users to invite. This goes against the "privacy" we are promising users.

Ludovic
by Geee | 2025-05-09 22:56:54+00:00
Yes, definitely. "remote operator" is a human or an LLM which is able to make high-level decisions (i.e. what to do in a novel weird situation), but doesn't directly pilot the vehicle. Generally speaking, on-board compute is fast and stupid, and remote compute or a human is slow and smart.

I don't think that cars will have SOTA level LLMs running locally for a long time, and it seems that they actually need that kind of intelligence for full autonomy. However, it might also be totally fine if the passenger makes the difficult high-level decisions through a voice interface.
by Daishiman | 2025-05-09 22:57:09+00:00
Your critique doesn't match the reality of Python users.

There is a single datetime library. It covers 98% of use cases. If you want the final 2% with all the bells and whistles you can download it if you wish. There is a single JSON library. It's fast enough for almost anything you want. If you want faster libraries with different usability tradeoffs you can use one but I have never felt compelled to do so.

Same thing with CSV, filesystem access, DB api, etc. They're not the best libraries at the time of any script you're writing, but the reality is that you never really need the best, most ergonomic library ever to get you through a task.

Because of this, many big complex packages like Django have hardly any external dependencies.

If anything you're not the one getting stuck with date APIs; it's the Python core devs. Maintainers of other packages are always free to choose other dependencies, but they almost invariably find that the Python stdlib is good enough for everything.
by pkulak | 2025-05-09 22:57:10+00:00
You can't really say a language with a garbage collector (Swift) is an alternative to one without (Rust, C++, etc), because a lot of the time, the reason someone is using a non-GC language is because they don't want a GC.

EDIT: Yes, ref. counting is garbage collection, before the replies blow up. haha
by pedalpete | 2025-05-09 22:58:17+00:00
Though BRICS may seem insignificant atm, it is off to an impressive start.

Could the world have two competing currencies? Possibly.

But the one way to guarantee that adversaries (I don't care who your adversaries are, I'm using that as a non-denominational term) don't get the upper hand, is to use a currency they can't control or manipulate.

ATM the US dollar, can be manipulated by the Fed, but also by the collaboration of other countries, and holders of debt, as recently shown by the US bond activity.

I know many on HN are going to hate to hear this, but a single, global, trust-less currency cannot be manipulated against any single group. So bitcoin may just be the answer here.
by hayst4ck | 2025-05-09 22:58:19+00:00
I watched it and I found him less convincing than Dalio's Principles of a changing world order, which I found to be extremely intuitive although not at all rigorous.

Ezra gave Rogoff a lot of push back and Rogoff came off as a guy who intuitively understands things but doesn't rigorously understand them so he looked kind of foolish multiple times. Rhetorically he was poor and if I hadn't already gone in agreeing with his general consensus, I would probably have been left fairly unconvinced. Of course, the curse of knowing a lot is that your knowledge of what you don't know is much larger than other people's knowledge so it's harder to confidently present things because you can think of exceptions or why they might not be true or how things could be much worse or much better than what seems most likely.
by nulld3v | 2025-05-09 22:59:32+00:00
Many languages have had this feature for a long time. Ruby, ~~Rust,~~ Kotlin, etc... It hasn't been an issue at all.

I like that most languages seem to have reached consensus on backticks or other similarily awkward characters for this feature. Typing these identifiers is like hitting a speed bump, which seems to be enough to make devs avoid them except for very specific use-cases.
by ackfoobar | 2025-05-09 22:59:48+00:00
I don't use Swift not because I think it's not useful outside Apple, but because I believe its developer experience is poor. Some stories that formed my opinions:

https://news.ycombinator.com/item?id=9947193

https://news.ycombinator.com/item?id=42803489

Granted, my perception may be wrong, but trying it to know for sure costs time. Swift has not earned my time investment.
by ajross | 2025-05-09 22:59:53+00:00
I don't think that's correct. The "overall result" was originally a marked effect, and the one after correction was pretty much noise. Yes, it pointed in the same direction, but without a notable impact.

It's like trying to convince your parents to let you stay home by faking a temperature on the thermometer, then when caught repeating the measurement and shouting about how it actually shows 98.9°F and you really do have a fever!

Consensus was and remains that public debt and GDP growth correlate very poorly if at all, and the book that claimed the opposite was simply wrong.
by Fire-Dragon-DoL | 2025-05-09 23:01:31+00:00
Sorry I should have been more specific, I was trying to invite a user to a team (can't remember the right terminology) so that they could read and write into a directory, creating as many document as they wanted.

We are a small team of 5, but I'm the only tech-able person, other older users felt extremely disoriented.

Which is frustrating, because to me Cryptpad did everything we needed in a very, very secure way (all encrypted)
Ask HN: What's the best framework for building Mac/Windows desktop apps in 2025?
by anoojb | 2025-05-09 23:01:36+00:00
I'm a PM now, but I spent most of my developer career building backend APIs in C# and Python. I also spent some time building mobile apps with C# with a cross-platform framework.

I'd like to build a few toy desktop apps this year. I don't have a problem trying out Typescript Javascript, but I'm reticent to build on top of Electron given performance and bloat issues for such simple apps.

Would prefer something that's Python based but most of my research show bindings for something like GTK or Qt which feels scary.

I'm sure Flutter is useful, but I'm not very interested in something that's declined so precipitously.

The most promising option I've tried is Lynx and it seems interesting but wary of getting caught in some nasty corners with Rust since I'm not very familiar there. Curious if others have experience here? Would prefer to stick with something that uses web based technologies for front-end, but recognize that wanting real CSS/JS and also being performance-minded is not simpatico.

I recognize I might be being irrational and too opinionated. Should I just go with Electron or Lynx?
by favorited | 2025-05-09 23:01:59+00:00
Many of these features have convoluted-sounding names like "global-actor isolated conformances" or "control default actor isolation inference," but they are changes that make actually using the language simpler.

People aren't expected to really learn that there is a "feature" called global-actor isolated conformances, but at some point they'll try to make a UI type conform to `Equatable,` and instead of an error saying you can't do that, they'll get a fixit about needing to specify the conformance as `struct MyUIType: @MainActor Equatable` instead.

I bet 99% of codebases won't use "method and initializer key paths," but there's really no reason why you should be able to get a key path to a property, but not a method. It just hadn't been implemented yet, and the language is more consistent now.

Personally, I think raw identifiers are kinda dumb, but that just means I won't use them. IMO there isn't really more cognitive overhead when using the language because it's possible to use spaces in function names now.
by pessimizer | 2025-05-09 23:02:09+00:00
It did change the overall result. The claim was that there was a tipping point when government debt went higher than annual GDP that would cause growth to suddenly plunge. Turned out here was no discontinuity, it was almost entirely an artifact of motivated reasoning and their failure to use Excel.

The pretend claim the debt police went with later is that the paper somehow proves debt is inversely related to growth in some way. This is not an interesting claim, and certainly not proved by showing that low-growth countries are often also high-debt countries.

edit: there is absolutely no reason to think that government debt is related to GDP. That's why they resort to making statistical, associative arguments. The balance of payments is the important number, and it's an accounting identity that if holding the balance of trade steady, when government debt goes down, private debt must go up. The only thing you can be sure of when government spending goes down is that systemic investments by governments are being neglected, in favor of individuals borrowing money for personal consumption. Hello Temu.
by dathinab | 2025-05-09 23:02:10+00:00
the problem is if you put library dependencies in their own sandbox you have a different kind of interface (much more limited) for libraries

like e.g. if we look at sandbox boundaries we have:

- some in language permission enforcement (e.g. Java Security Manage) -- this approach turned out to be a very bad idea

- process boundaries, i.e. take the boundary the OS enforces and lock it down more (e.g. by stuff like pledge, cgroups etc.) -- this approach turned out okayish

- VM boundaries (e.g. firecracker VMs) -- tourned out well

- emulation boundaries (e.g. WASM) -- mixed history, can turn out well especially if combined with worker processes which lock themself down

but what that means in practice is that wanting the reliably sand box library dependencies will most likely lead to more or less IPC boundaries between the caller and the libary

what that means is practice it's unsuited for a lot of thing

e.g. for most utility lib it's very unsuited

e.g. for a lot (but not all) data structure libs its unsuited and might be a huge issue

e.g. you can apply it to a web-server, but then you are basically reinventing CGI, AGI which okay but can quite compete with perf.

e.g. but you can't apply it to some fundamental runtime engine (e.g. tokio), worse you now might have one copy of the engine running per sandbox... (but you can apply it to some sub-part of tokio internals)

People have tried this a lot in various ways.

But so far this always died off in the long run.

Would be nice if the latest push based around WASM would have some long term success.
by insane_dreamer | 2025-05-09 23:02:23+00:00
Unless they’ve gotten a lot better in the past decade I’m not missing a bunch.

But yes in terms of sheer quantity of graduates and and research papers China wins out but what matters is the quality. The US has problems with lousy and even outright false papers but in China it’s endemic.

And to your point, the reason people come to the US from Peking or Tsinghua to do their pHd or postdoc is because of the high quality research, which is why cutting it is so detrimental
by schmidtleonard | 2025-05-09 23:02:54+00:00
Also, I bet VCs are far _more_ aware than the average Joe of the wide body of worthwhile but uninvestable ideas. After all, they are responsible for saying "no" to them and gently redirecting them to government/patronage/charity while asking to keep in touch in case the field becomes investable (because that's the story of how their boss got rich).

"Value capture problems don't exist because capitalism is perfect" is the kind of misconception that can only survive far away from the actual process of finding investments and making returns.
by s1artibartfast | 2025-05-09 23:02:59+00:00
I am not defending the current situation, I am opposing people acting as judge jury and executioner, in the name of their own justice. Individuals going out and shooting people on the street is not an appropriate "stick" in a functional society, or one that seeks to prevent sliding deeper into dysfunction. What I reject is the idea that anyone who doesn't accept your definition of justice should have a target on their back. That is not a power I will grant, even under veiled threats of death and national destruction.

I have never voted republican in my life, am appalled by the current lawlessness, and generally support healthcare reform. We should be allies with many mutual interests, but here you are making an enemy.
by Hilift | 2025-05-09 23:02:59+00:00
The FDR administration two of the Treasury architects of Bretton Woods were Russian agents. One of them, FDR's chief economist, had his US passport and US citizenship revoked. He lived the remainder of his life in Columbia, presumably helping with their "monetary policy success".

Don't forget Nixon shock though. That was basically undoing Bretton Woods, but in an incompetent fashion that was amplified by low interest rate induced inflation, and produced "stagflation". https://en.wikipedia.org/wiki/Nixon_shock

The smartest guy we had was probably Lawrence Summers.
by strongpigeon | 2025-05-09 23:04:09+00:00
Agreed about Paul Hudson. He also just seems like a genuinely nice guy. I was kind of shocked to receive an email from him out of the blue last weekend (well, from GitHub, but with his name in the "From" field). Turns out it was about a PR [0] to one of my packages where he fixed typos in the README.

[0] https://github.com/visfitness/reorderable/pull/2
by RossBencina | 2025-05-09 23:04:37+00:00
> Languages with comprehensive standard libraries have an advantage

I don't see the advantage. Just a different axis of disadvantage. Take python for example. It has a crazy big standard library full of stuff I will never use. Some people want C++ to go in that direction too -- even though developers are fully capable of rolling their own. Similar problem with kitchen-sink libraries like Qt. "batteries included" languages lead to higher maintenance burden for the core team, and hence various costs that all users pay: dollars, slow evolution, design overhead, use of lowest common denominator non-specialised implementations, loss of core mission focus, etc.
by CountSessine | 2025-05-09 23:04:46+00:00
Because Trump himself isn’t really that smart?

Like I said, he takes the advice of the last person who talks to him. He’s very suggestible. The best parts of his presidency, so far, have been when he follows the plan in project 2025, which you may not agree with, but is at least sane and coherent. The worst bits are when he adlibs, like the stupid tariff escalation with China.

Ultimately the biggest problem with Miran’s plan is that now that Trump is tearing up these trade agreements, no one has any reason to believe that the new one is worth the paper it’s printed on. He has no integrity and no one signs agreements with people who have no integrity.
by FrankWilhoit | 2025-05-09 23:04:51+00:00
Zoom out. Remember all the technologies that have been backed into wrong-way-first. Future humans, leave aside aliens, will be unable to distinguish between the engineering drawings of anything that has moving parts and the cartoons of Rube Goldberg. Remember Haldane (the quote is also attributed to Jeans, Hoyle, Eddington, and various others): "The Universe is not only queerer than we suppose, but queerer than we can suppose."

(The one thing that they will have, even if to their distaste, is powers of 2.)

ETA: If Turing was trying to make a distinction between the finiteness of the symbol for (say) the square root of three, versus the infinitude of the process that must be executed to evaluate it, that would be not so much disreputable as nonsensical. He was fond of setting up straw men; let us suppose that this was one of them.
by Fire-Dragon-DoL | 2025-05-09 23:04:57+00:00
Hi! Thank you for answering this.

We are essentially a group of people (home-owner association but for condos, in Canada). None of these are tech people, they also might not own a computer, but just a tablet and a phone.

The main issue was trying to invite them to a team. I had all their email addresses already, because our main form of communication is email, but I had to go to them one by one and ask them for a link (ID? I can't remember) to give to me so that I could invite them.

Essentially, I get the privacy concern, but I already had all their email addresses, so it was protecting data and making a workflow more complicated, for a use-case we didn't have.
by KomoD | 2025-05-09 23:05:13+00:00
> and any knowledge of java

Neither does using jd-gui, you just launch it... also why would someone use a Java class decompiler if they don't have any knowledge of Java?

> which should be enough for majority of use cases

I don't see how it is, it's enough for something super small, but even something like... a small Minecraft mod will easily exceed 3 classes.