MurphyA/hacker-news huggingface dataset:
by neilwilson | 2025-05-20 14:44:48+00:00
It’s amazing how everybody misses the wood for the trees.

Where else is China et al going to sell all the stuff they can produce via their physical overinvestment that was driven by the “export led growth” mantra?

There is no untapped source of demand anywhere in the world. There isn’t the income. All they could do is produce less and cause their economies of scale to go into reverse.

So instead they sell stuff for accounting entries, which are then used on the asset side of their currency area balance sheet to justify issuing more of their own currency and maintain the circulation.

They could, of course, just buy the time currently used for producing excess exports and maintain the circulation in any case. But that would cause lots of people who are hard of accounting to get very upset.

So instead they continue with financial mercantilism, allowing everybody there to pretend that they are productively engaged, not metaphorically digging holes and filling them back in again.

And that would continue, thanks to those nations supplying the accounting entries and receiving all that nice output, but for somebody getting elected on the US side who actually believes the “lack of saving” line and decided to do something about it. To the loss of the US people.

Quite why he think that saying the US isn’t paying enough for Canadian lumber or Chinese cars is good for anybody is beyond me.

Another win for the Emperors New Clothes.
by palmotea | 2025-05-20 14:45:14+00:00
>> Claims about "helping the world" are highly subjective and often bullshit

> It seems you are making the point that using technology to punish subjective politics is the right way?!

My point was to not trust claims that so-and-so is "helping the world," is a vague but positive description that is abused and often collapses on further scrutiny (especially because the speaker may have different subjective interests, what's "helping the world" to him can be "harming the world" to you).

Your response was weird. I was talking about something that I specified clearly, but you took it as I was speaking about something else.

> Using sanctions in retributions to unfavourable opinions might seem against the spirit of US Constitution in other contexts...

No. What are you smoking?

> Why not let arguments do their work in open debate? The ICC isn't a bunch of loonies or Saddam's Baath party. These are reasonable people, with dissident opinions, for sure. But reasonable.

Ok then. I claim authority over you and your friends, but you never consented. I'm not a loony, why don't you recognize my authority over you and engage with me in open debate?

That's "why not."
by jeroenhd | 2025-05-20 14:45:59+00:00
I suppose it kind of depends. I agree with the curl team here that this is a case of garbage in/garbage out, but I can imagine this going wrong with a binary protocol like HTTP2 on the front and a text protocol like HTTP 1.1 behind a reverse proxy. The \r\n will make it to the proxy as a separate header, but will be turned into two headers on the upstream.

That said, this would be a (reverse) proxy vulnerability, not one in curl.
by 7thaccount | 2025-05-20 14:46:03+00:00
Dilbert was such a revolutionary comic strip in a lot of ways. Here are a few things related to Scott Adams and Dilbert that have stood out to me over the years. Apologize in advance if any of this sounds like it came from an LLM. Me and most of my family just like to info dump on subjects of interest.

I didn't understand it much as a kid, but later read an old copy of his book on how offices and office culture works (basically each chapter is Scott describing office did functionality with a liberal sprinkling of related Dilbert comics) and literally almost everything was 1:1 with the company I was at, only it was a good bit toned down of course. The beauty was that it was somehow generally applicable anywhere a company gets above a certain amount of employees. There was a lot of good information there such as how the company tries to get you to poop on yourself in your performance review in order to justify not giving you a raise or firing you (see - you yourself said that you needed improvement in working with others). There are many other insights as well that I found useful in my career. A lot of it is common sense, but it helped me come to terms with the irrationality of the corporate world. Every few years I reread it and find it more applicable than before.

He later wrote a book on why he thought Trump beat Hillary and it also had a ton of insights I didn't think about as I'm not a marketer. Anyone on Hilary's campaign team should read it. Of course it doesn't cover how Hilary was painted as some kind of evil queen from a fairy tale since the 90s. Scott kinda acts a bit nuts in this book though as he goes off on frequent tangents about being a trained hypnotist and how he recognized that Trump was doing the same thing. One of the many examples was that both of them went on SNL, but Trump attempted to act presidential, while Hilary was attempting to act more like the common person and it just didn't work and came off unprofessional. He also flew in a plane that looked like Air Force One and gave press conferences with a little fake Oval office desk.

Adams also came up with the term "confuseopoly" to describe companies that make it so hard to compare products and companies that you have to purchase on vibes. Economics textbooks use it now along with his blog example of trying to buy a truck. I see this dark pattern everywhere now.

I hadn't really thought about the twitter angle you talk about, but did notice his blog started changing back in 2016ish. I just attributed it to him running out of ideas for the comic and finding that grifting made him more money. I guess you really can see some of the shift in reading the more recent books, which is sad.
by lubesGordi | 2025-05-20 14:46:03+00:00
'Heapdump' is a term I learned from debugging android applications 15 years ago. Its just a snapshot of the java processes memory. Its going to contain plaintext. Now why those heaps are available at an open http endpoint is another matter, and is the interesting point. I'm guessing the client code had that endpoint hardcoded somewhere or they saw a request to it. I'm not seeing how they could know anything about the back end or how the messages are stored from this. Did I miss something?
by akkartik | 2025-05-20 14:46:15+00:00
Whatever works! I mostly use LÖVE, and it supports both. Some reasons to run it from the terminal rather than simply double-clicking or a keyboard shortcut in the OS:

* While I'm building an app I want to run from a directory rather than a .love file.

* I want to pass additional arguments. Though I also extensively use drag and drop for filenames.

* I want to print() while debugging.
by ryandrake | 2025-05-20 14:46:34+00:00
Out of all the many industries out there, I don't understand why we keep glorifying and romanticizing manufacturing and trying to "bring it back." Depending on what you are manufacturing, it can be a very boring, stressful, stinky, physically taxing, or dangerous job. And it really doesn't pay well. It may have paid well 70 years ago, but it doesn't today, and you can't turn time back.

A lot of customer service and telemarketing jobs have gone offshore. Nobody is romanticizing about bringing them back. Same with textiles and clothing. Nobody is calling for a return of sewing sweatshops. So why does manufacturing win elections?
by alabastervlog | 2025-05-20 14:46:54+00:00
Hell, last I checked PHP is still king of the server-side Web scripting languages, as far as real-world speed. Like, fast enough that you've gotta be pretty careful in Java or Go or whatever, or you'll end up slower than PHP.

The way you make a scripting language fast is by getting the hell out of it and into C or C++ as fast as possible, and PHP's library ecosystem embraces that harder than just about any other scripting language, is the reason (I think).

[EDIT] My point is mainly that Node's performance isn't really that impressive, in the field of "languages one might use to write server-side Web code". It beats absolute slugs like Python and Ruby handily, but past that... eh. And really, in its speed category you'd probably do just as well using either of those and paying a little more attention to things like network calls and database access patterns.
by corimaith | 2025-05-20 14:47:09+00:00
Current Account Balance = Trade Balance + Net Income + Net Transfers = Savings - Investment. As trade balance is usually the largest part of the current account, a trade deficit is usually the current account deficit, which means savings is less than investment. The difference between the two, aka the deficit thus must bridged via foreign financing, of which 50% is done by the US Gov via IOUs such as treasuries. So there is a relation between the gov debt and overall debt, in the Twin Deficits Hypothesis.
by jerf | 2025-05-20 14:47:18+00:00
Using the function color concept was an example of a place where this problem can occur, not the actual problem.

The problem is that if you think statically, you can say "oh, just use the 'clean' subset". But the world is not static. If you think dynamically, you can see the full Node ecosystem as a fairly powerful attractor; why would I write a deno library that only works on deno when I can write a node library that works on both? Well, if I'm writing in the Node ecosystem, why not use the whole thing?

This is a general effect; it is very hard for people to set up long-term ecosystems that are "too close" to existing ecosystems. Generally the new thing will either get pulled in (as in this case) or ignored (as in the many cases of 'hey Typescript seems to have worked pretty well, let me do a Typescript-like gloss of this other language', which generally just get ignored). There are successes, like Typescript (JS is in general a special case because being the only language in the browser for so long it was both a language and a compile target; most other attempts to "Typescriptify" a language flounder on the fact that few if any other languages have that situation), Elixir (managed to avoid just being absorbed by Erlang, IMHO kind of a similar situation where the 'base langauge' for the ecosystem was not really the best), and the occasional Lisp variant that bubbles up (though like Clojure, usually with a story about where it can be run), but in general this is very hard to pull off, harder in some ways than simply starting a brand new language ecosystem, which is itself no picnic.
by pmyteh | 2025-05-20 14:48:26+00:00
Because of the tight loading gauge in Britain, trying to cram two decks in would make it very small. It's been tried (once[0]) and they weren't able to make it fully double-decker, quick to load/unload, or especially comfortable.

I agree that they're fine in countries with larger bridges and tunnels -- Amtrak's Superliners are palatial in size -- but not for us. (Except probably for the Channel Tunnel rail link, which is built to French gauge).

[0]: https://en.wikipedia.org/wiki/SR_Class_4DD
by debugnik | 2025-05-20 14:48:27+00:00
I had switched back to Windows after years of issues with Linux drivers, I needed a new PC, and I needed CUDA for college and tinkering.

Now, it's been barely a couple of months since I reinstalled Ubuntu, and a couple of weeks since I found out the latest release runs even worse, so this is new to me. I don't plan to use Windows at home ever again, so I could sell my GPU and buy AMD, but so far I'm simply disappointed.
by VikingCoder | 2025-05-20 14:48:28+00:00
Please help me figure out the best way to share code between Github repositories...

I love C#, and I acknowledge Github as the king of source control.

I make a new Repository a couple times a week, and use Visual Studio Code to clone it, and open a terminal and "dotnet new gitignore" and then use dotnet to make new projects all over the place...

On multiple machines, even. On a VM on my NAS. On my Windows machine. On my Windows laptop. On a VPS.

And I'm happy.

But how in the holy hell am I supposed to share code from one repository to another?

I want to make VikingCoderLib as a C# library (classlib), and drop in all of my favorite Extensions for generics and strings, and etc.

And then make another classlib for some of my Protocol Buffer utilities. And another classlib for setting up a terminal.js console for an app. And...

What's the best way to do that?

Submodules?

They really seem to suck. I can't easily make changes here, and use them there, without it being a huge pain in the rear.

Am I doing this wrong? Am I missing something?
by neilwilson | 2025-05-20 14:48:36+00:00
Only if you have a single supplier.

For imports to be useful you need multiple suppliers all of whom have to have capacity to expand if one of the supplier lets you down.

Same as in business.

Industrial policy should decide domestic vs external production on that basis.

As the world moves to trade blocs the case for trade between trade blocs falls - precisely because the risk of getting left high and dry increases
Ask HN: Did you build or buy your customer analytics?
by lane_g | 2025-05-20 14:49:37+00:00
We're building an embedded analytics tool for SaaS teams that want to give users self-serve dashboards without spending weeks on dev time or budget.

My last startup grew to 50k+ monthly users and we ended up outsourcing a clunky analytics portal that cost over $4k and took 8 weeks to launch. It was frustrating to maintain and never felt like part of our product.

We're trying to solve that pain for others, especially smaller teams without extensive development resources.

Hoping to hear from folks who’ve had to ship customer-facing analytics:

Did you build in-house or use a tool (like Explo, Luzmo, etc.)? Why?

What were the biggest tradeoffs or frustrations?

How did you handle multi-tenancy, branding, or performance?

What do your users actually expect from analytics inside your product?

What's still missing from current solutions?
by fellowniusmonk | 2025-05-20 14:49:39+00:00
tech meetups were pretty vibrant pre-covid, we were one of the biggest users of meetup.com and r/austin was one of the most active city subreddits, idk why they haven't come back.

I'm curious what crab bucket community you were part of, that's not what I've seen. I do think capital factory is truly awful at fostering community and takes a lot of energy out of the ecosystem.

The biggest issue Austin has always had is outside of "trilogy mafia" and bazaar voice and maybe now homeaway there isn't really an active investor class, it's was a lot of tire kickers playing investor wasting people's time, even in the era of cheap money I knew many startups that couldn't get any funding until they flew out to CA.

Supposedly a lot of engineers moved here from other states during that period, maybe that's the problem?

idk, I know a lot of artists left, many have come back but not all.
by soulofmischief | 2025-05-20 14:49:42+00:00
Thanks for sharing. I also tend to view learning in terms of manifolds. It's a powerful representation.

> I'm personally pretty convinced that, in a high enough dimensional space, this is indistinguishable from reasoning

I actually have journaled extensively about this and even written some on Hacker News about it with respect to what I've been calling probabilistic reasoning manifolds:

> This manifold is constructed via learning a decontextualized pattern space on a given set of inputs. Given the inherent probabilistic nature of sampling, true reasoning is expressed in terms of probabilities, not axioms. It may be possible to discover axioms by locating fixed points or attractors on the manifold, but ultimately you're looking at a probabilistic manifold constructed from your input set.

> But I don't think you can untie this "reasoning" from your input data. It's possible you will find "meta-reasoning", or similar structures found in any sufficiently advanced reasoning manifold, but these highly decontextualized structures might be entirely useless without proper recontextualization, necessitating that a reasoning manifold is trained on input whose patterns follow learnable underlying rules, if the manifold is to be useful for processing input of that kind.

> Decontextualization is learning, decomposing aspects of an input into context-agnostic relationships. But recontextualization is the other half of that, knowing how to take highly abstract, sometimes inexpressible, context-agnostic relationships and transform them into useful analysis in novel domains

Full comment: https://news.ycombinator.com/item?id=42871894
by elwebmaster | 2025-05-20 14:50:20+00:00
There is a difference between applications and hired. Certainly a number larger than 0 do get hired, which in itself is a problem, but the bigger issue is that they are clogging the recruitment pipeline and preventing legitimate candidates from getting an interview. They are also wasting HR time. Ultimately this leads to HR prioritizing direct outreach, referrals and other application methods that are less open to scammers. It’s a lose-lose for everyone except North Korea and the few enablers they have on the ground in the US.
by wsc981 | 2025-05-20 14:50:22+00:00
I don't mind submodules much. I mean when I first used them I thought it was sucked, but now I use it all the time for personal projects. I like to make small Lua libs or fork existing Lua libs and include those in a lib directory in my LÖVE / LÖVR projects. Works fine for me.

Perhaps the only thing that sucks a bit about submodules, might be if you work with multiple people and some reference of a submodule is updated and you need to go into the submodule directory to update the reference locally. But I think that's the only thing, no big deal. I don't think you deal with this issue much when you work by yourself on a solo project, on a single machine.
by mdrzn | 2025-05-20 14:51:38+00:00
Seems very interesting tho. Maybe pre-generate the three "prompts" that you show when I open the page, and load them from cache when I select them? At least I can see how it should work.

edit: in 2d the map loads, in 3d it doesn't load. But when it works in 2d it's VERY COOL!

Here's my example: https://mused.com/map/sim/3129/roman-civil-wars-of-the-1st-c...
by metadat | 2025-05-20 14:51:41+00:00
Corresponding discussion:

The Days They Changed the Gauge (1966) - https://news.ycombinator.com/item?id=8371773 (2014, 15 comments)

And a related discussion:

Why BART uses a nonstandard broad gauge - https://news.ycombinator.com/item?id=32031131 (2022, 253 comments)

The BART discussion was where I first learned about the North American 2-day gauge change. A truly inspiring feat for so many engineers to come together across such a large amount of land area to Make It Happen.
by vrighter | 2025-05-20 14:51:44+00:00
If I have to spend all that time planning on how to phrase my stuff to the chatbot, then I might as well think about the code I'm about to write and write it myself. That way I don't have to keep reviewing code I didn't write. Even if the chatbot says it's going to do this or that particular approach, that has absolutely no bearing on the generated code. Every single line must be carefully scrutinized anyway.

Reading code is a lot harder than writing it. Describing it to a "junior programmer" and then reading and scrutinizing the code is even harder. Especially because of the edge cases that you don't know if the chatbot tackled them, and if not where to fix them. Special cases tend to be subtle, so you'd need to be extra careful when trying to understand the code (which you didn't write).

And if, when coding, you think that coding is the boring part, then you are doing it wrong :)
by giancarlostoro | 2025-05-20 14:52:13+00:00
I made a similar editor using Lazarus... since it has syntax highlighting components... I guess that's cheating. The more I think about it though, I wonder if Freepascal could produce a nice GUI for Neovim.

I did try to build one in Qt in C++ years ago, stopped at trying to figure out how to add Syntax Highlighting since I'm not really that much into C++. Pivoted it to work like Notepad so I was still happy with how it wound up.

https://github.com/Giancarlos/qNotePad
by franktankbank | 2025-05-20 14:52:15+00:00
I see several trains go by per day on my pretty sleepy tracks. You have no clue the amount of semis that would need to be built to accommodate your proposal, they just do not wait in the wings. Do you think all the bulk shipments are being done for fun and someone isn't waiting for 5000 gallons of HCL and 2000 tons of coal?
by dec0dedab0de | 2025-05-20 14:52:22+00:00
Well I purposely wrote it in a hand-wavy immature way because I don't really understand it. But I did say "if we ever needed to." So whatever the equivalent of declaring bankruptcy is for a country.

Though I would like to amend my nonsense from "a citizen" to "actually in the country" I am imagining cutting off foreign governments and oligarchs, not humans that are actually living here.

Basically, if there was a bad war or something, and we needed to cut ties with most of the world. It's better to be left with the goods than the cash. Because cash has no intrinsic value.
by mkbehbehani | 2025-05-20 14:52:25+00:00
Cool idea, can only use 2D at the moment. Looks like the 3D tile quota is exhausted: "message": "Quota exceeded for quota metric '3D Tiles root requests' and limit '3D Tiles root requests per day' of service 'tile.googleapis.com' for consumer 'project_number:1016378558728'."

https://tile.googleapis.com/v1/3dtiles/root.json?key=AIzaSyB...
by psunavy03 | 2025-05-20 14:52:47+00:00
The fact that you think random middle managers are all that psychopathic really says more about you than it does some hypothetical middle manager.

Are their psychopaths and Machiavellian schemers in management? Certainly. Are they the majority? Almost certainly not, unless you're working for absolutely the wrong company.

As the Brits would say, "cock-up before conspiracy."
by wpm | 2025-05-20 14:53:03+00:00
There is plenty to pay for public transit, education, and healthcare. There always has been, locked away in stock market value owned by precious few people.

On healthcare, we already pay way more than any other developed nation for far worse outcomes, we're literally WASTING money on it to make some shitheel health insurance CEOs a little richer.

FOH with this woe is us bullshit, boo hoo it's so hard to police the world (something we also overpay for). We could have been taking care of each other the entire time, there is nothing stopping us but lies and attitudes like yours the lies beget.
by flarecoder | 2025-05-20 14:53:50+00:00
I'm the original author of the Spring Boot feature for heapdumps: https://github.com/spring-projects/spring-boot/pull/5670.

It seems that users commonly misconfigure Spring Boot security or ignore it completely. To improve the situation, I made this PR: https://github.com/spring-projects/spring-boot/pull/45624.

When the PR was created in 2016, endpoints were marked as "sensitive" and, for example, the heapdump endpoint would have to be explicitly enabled. However, Spring Boot has evolved over the years, and only the "shutdown" endpoint was made "restricted" in the later solutions. My recent PR will address that weakness in Spring Boot when users misconfigure or ignore security for a Spring Boot app so that heapdumps won't get exposed by default.
by smokel | 2025-05-20 14:54:01+00:00
There are clearly some frustrated voices in this thread. I try not to take the downvotes personally.

I hope to eventually learn how to engage more constructively with such responses. When someone claims to understand how a system works, yet behaves in a way that contradicts that understanding and then blames the system for not meeting their expectations, I question whether their insight is as deep as they suggest.