MurphyA/hacker-news huggingface dataset:
by lesuorac | 2025-04-09 12:17:52+00:00
> > historically very popular

> When? Not for a long time. Slavery and witchcraft were historically very popular ...

The wikipedia article places it as 16th to 19th century which is a longer time period than Globalism was popular.

If the end of my post wasn't clear, I'm not a fan of Mercantilism but one does need to understand the other side. Although a big critique I have of Globalism is that the gains from trade are not evenly dispersed automatically so countries like the US really need to raise the top tax rate and increase (or at least not lower) redistribution otherwise you get high income equality.

Also, slavery and witchcraft are still practiced to this day although maybe not globally popular.

> > when you buy stuff you're losing wealth

> That's a incredible failure of understanding. I can't believe that's the basis of mercantilism. Why would anyone buy something?

Economic theories like Mercantilism are on the country level so individuals would still buy stuff because they're not practicing Mercantilism.

On the country level, yeah you don't buy stuff. If your citizens love coffee and your climate doesn't support growing coffee beans then you get a South America colony so now your climate does support growing coffee beans.

Somebody's answer to the house example is pretty good to read as well - https://news.ycombinator.com/item?id=43630218

> Many transactions are better with people who happen to be outside the borders of your country - why wouldn't they be?

At the macro-level sure. However, if the USA had continued to practices mercantilism post-WW2 then we wouldn't have complaints about the lack of manufacturing.

The industrial plants in China would've never been built by US investment because that's literally handing money away to another country. If China doesn't have a factory its irrelevant if their labor is cheaper; the only labor with access to a factory is the USA.
by sidibe | 2025-04-09 12:18:23+00:00
The tariffs are already showing dents in Trumps personality cult. More Republicans are standing up to him over this in the Senate, house will follow as it becomes harder to deny he's not a great businessman or negotiator.

Retaliating is the correct move from other countries, groveling to this kind of leader will just lead to getting bullied more in the future. And unlike with Russia you can almost count on him losing power if you push back.
by udev4096 | 2025-04-09 12:18:48+00:00
Yes, why would I not? I, unlike you, do not intend to have a shallow knowledge on things I wanna know about. In a few years, it's going to get worse and no one would have deep expertise on anything (especially junior engineers) if they keep using LLMs. DDG is still far better than Google although I have started to see more ads on DDG searches which is quite annoying
by GeeksGeek | 2025-04-09 12:19:07+00:00
MIT class of '75 in course 18 (math - 3 years) and class of '76 course 6.3 (CS - fourth year). I stayed for that 4th year because the job market and grad school pool were awful. Was unemployed when graduated in June '76. Took advantage of that to take a cross-county motorcycle tour. Finally got a job in mid-September. That company went belly-up 6 weeks later. Remained unemployed until January '77. With the dream job that really launched my career. I wish I had more encouraging words for you, but what worked for me was - stick to what you love - eventually it'll work out. But don't be afraid to do what it takes to survive. I made ends meet by working as a bartender - moonlighting during that first job, and then as main income for a few more weeks until I got that wholly unexpected call from a headhunter that changed everything.
by yanis_t | 2025-04-09 12:21:19+00:00
CSP is great in mitigating a whole bunch of security concerns, and it also forces some good practices (e.g. not using inline scripts).

I recently implemented a couple of tools to generate[1] and validate[2] a CSP. Would be glad if anybody tries it.

[1] https://www.csphero.com/csp-builder [2] https://www.csphero.com/csp-validator
by pdimitar | 2025-04-09 12:21:22+00:00
Yes and no.

Yes: if you are an expert in the area. In this case I needed something fairly specific I am far from an expert in. I know both Elixir and Rust quite well but couldn't quickly figure out how to be able to wrap a Rust object in just the right container(s) data type(s) so it can be safely accessed from any OS thread even though the object at hand is `Send` but not `Sync`. And I wanted it done without a mutex.

No: because most programming languages are just verbose. Many times I know _exactly_ what I will write 10 minutes later but I still have to type it out. If I can describe it to an LLM well enough then part of that time is saved.

Mind you, I am usually an LLM hater. They are over-glorified, they don't "reason" and they don't "understand" -- it baffles me to this day that an audience seemingly as educated as HN believes in that snake oil.

That being said, they are still a useful tool and as good engineers it's on us to recognize a tool's utility and its strong and weak usages and adapt our workflows to that. I believe me and many others do just that.

The rest... believe in forest nymphs.

So yeah. I agree that a significant part of the time it's just quicker to type it out. But people like myself are good at articulating their needs so with us it's often a coin toss. I choose to type the code out myself more often than not because (1) I don't want to pay for any LLM yet and (2) I don't want to forget my craft which I love to this day and never did it just for the money.
by bayindirh | 2025-04-09 12:22:33+00:00
Finance can be fast if wanted, and I don't think there' s a deliberate delay in Wise's animation.

In my country, we have a similar system, and before my bank sends me a push notification about the outgoing transfer, the push notification for incoming transfer pops up for most of the time. The delay between push notifications rarely goes above 2 seconds.

Ours has an upper limit to prevent abuse of the system, but you can't beat instant, actually.
by anenefan | 2025-04-09 12:22:37+00:00
I could write a lot about how I found it - but everyone is different. Instead I'll mention that in the 90s there was a study New Scientist reported in regard to a simple experiment involving the influence of fructose on fat / weight gain -- one lot of rats were fed a diet striped of fructose, along with iirc a couple of other sets of rats on differing diets. The ones with less fructose didn't put on as much weight as those on higher fructose diets. Around 2010 iirc Harvard was starting to publish research into the role fructose plays. [1] [2] There's also one good paper on how fructose increases villi length but I'm unable to find the reference I had in mind, the only one a search turned up was behind a pay wall. ( Edit: [3] [4] in regard to pay walled [5] Dietary fructose improves intestinal cell survival and nutrient absorption)

The main thing IMO with adopting dextrose (glucose) is availability and price. I'm happy enough to pay $3 aud per Kg for dextrose though I hope it doesn't go up any more. (Imported product, Aussie dollar has slipped)

Minor issues are fiddling with recipes that rely on sucrose and the stiffer structure on heating it forms - sometimes it's never quite the same. However the web more often than not has suggestions to get close enough.

[1] https://www.health.harvard.edu/heart-health/abundance-of-fru... [2011]

[2] https://www.sci.news/medicine/high-fat-plus-fructose-diet-li... [2019]

[3] https://nutritionreview.org/2021/09/how-fructose-in-the-diet...

[4] https://www.eurekalert.org/news-releases/925793

[5] https://www.nature.com/articles/s41586-021-03827-2

Edit - 3, 4 and 5 along with fixing a typo for clarity.
by Moto7451 | 2025-04-09 12:22:59+00:00
Some people even got OS X running on these as a discounted albeit limited Mac. More practically you could do this in order to run “XBox Media Center” (aka Kodi) as it was named back then.

The reverse was also true when Apple released what was more or less the Apple TV interface as the Front Row app and some Macs even shipped with an IR remote. The same IR remote worked with several Macs of the time.

Eventually everything went to streaming and the software to support locally networked libraries became a side feature and eventually discontinued.
by tim333 | 2025-04-09 12:23:46+00:00
>strategic error in terms of who really holds more cards in the trade battle, specifically with China.

I'm not sure who has cards is the problem so much as launching an unnecessary trade battle in the first place.

If you really wanted to onshore industrial production you could have announced sane policy in advance to give people time to build factories in the US etc. without a trade war needed.
by sarchertech | 2025-04-09 12:24:07+00:00
You’re not understanding the point.

1. No other industry makes senior people perform “work sample” tests in interviews with the exceptions I mentioned above.

2. There is absolutely no comparison between whiteboard sessions in interviews and in reality.

I have never once had a whiteboard session where someone says “I’m going to give you a system to design. I have built 100 of these systems before, so I have fairly specific things I’m gonna to look for. But I’m not going to tell you exactly what those are. You have 45 minutes in which to do it. No you can’t think about it over lunch. No you can’t spend 30 minutes reading up on it. No we can’t do another session tomorrow.”

If you think this is anything remotely like designing a system in real life, I definitely don’t want to work anywhere you have.

>expected to showcase your skills

Yeah that’s my point. Other industries don’t do this for senior people because they realized it’s not actually predictive enough to be worth it.
by noduerme | 2025-04-09 12:24:27+00:00
This is a hard take, just because we all build on stacks. When we trust that Math.Abs() is going to work in some language, or that some socket library is going to do what it says on the tin, we're standing on the shoulders of giants. I also avoid frameworks as much as possible, but by frameworks I mean anything I'd rather roll myself in a scripting language, particularly when learning and keeping up with the framework seems like more of a hassle. But for the layers and layers of underlying software and hardware behind me writing REST calls and async functions?

Also, there are higher level libraries that are sometimes good, because why reinvent the wheel every time you make something? Pixijs is one I use a lot. Also, Chart.js. Jquery. Moment.js. Good ol' Bootstrap 4 alpha's CSS handles a ton of use cases, and I never need to think about it again. There's very little in those that I haven't at one time or another rolled myself, but having a toolkit that you know and doesn't change much saves you a lot of time. The danger is more getting into libraries that aren't already dead, and are still in active development ;)
by malfist | 2025-04-09 12:24:49+00:00
I'm not sure impartiality is actually all that great. At least the way it's currently done.

Look at Elon's sieg heil during the inauguration. "Impartial" journalism referred to it as an "awkward hand gesture" or just talked about the controversy it caused. Very, very few journalist called a spade a spade, because that's taking a side.
by ksec | 2025-04-09 12:25:03+00:00
Once your Tabs go over certain number of active tabs. There are people with hundreds of Tabs. And Safari doesn't do Tab Sleep. Instead it put those tabs in the background as active but low priorities, works well when they fit within Memory and some paging. Stop working when it is above that. Tab Overview will also cause every single Tab to be re-rendered.

Video Playing is also another problem especially with Youtube. Having Youtube Tabs opened in the background also causes memory pressure issues.

On Desktop, Chrome and Firefox is so far ahead of Safari.
by vdupras | 2025-04-09 12:25:04+00:00
/5d chess mode on

What if Trump wants and expect some kind of coup attempt ("losing power"), a kind of Reichstag fire, in order to consolidate it?

Trump's action appear self-destructive when you consider them in the context of normalcy, but if you consider that he intends to catapult the US outside normalcy, these actions might make sense.
by _aavaa_ | 2025-04-09 12:25:35+00:00
> The truth is that a Department of Government Efficiency is a really good idea.

Lost me on this “truth”.

Yes, it is important to have oversight and ensure funds are spent well and on what they should be spent on. But DOGE is not that, it’s so clearly incompetent at that. It’s Musk and a bunch of techies thinking they know best how to do things.

They act, as par for the course for tech, that the first time they have an idea is the first time anyone’s had it. A department of government efficiency already exists, it’s called the Government Accountability Office.
by 1970-01-01 | 2025-04-09 12:25:38+00:00
>Don’t Be Afraid To Get Your Hands Dirty..code is just code

All the other topics bring great wisdom, but 'go touch the code' is no longer the responsible thing for senior devs. Junior devs working on minor things, sure. However, senior devs should be rigorously following a process to 'getting their hands dirty'. When senior devs are tinkering with business critical or life critical code, they are usually unaware that the weight of responsibility of everything the software does is now theirs. That's why process exists.

https://en.wikipedia.org/wiki/Software_safety#Process_adhere...
by VonTum | 2025-04-09 12:27:22+00:00
It is uncanny how well this describes me. I've been trying all kinds of things, like website blockers, timeouts, breaks, etc. nothing's stuck.

And it's all about "getting in the zone". Once I'm there, things fly, but the sputtering engine of editing 3 lines then alt-tabbing to youtube for 20 minutes makes progress very slow.

It's weird, I know exactly what to do, or what to look into, but just "don't want to?"

I have noticed one thing, namely evenings are my golden hours. I'm trying to do all of my shopping, chores, etc during regular working hours, and then actaully working 5pm-?am. Maybe this will fix it.
by theandrewbailey | 2025-04-09 12:28:18+00:00
CSP tells the browser where scripts and styles can come from (not just inline, but origins/domains, too). Let's pretend that an attacker can inject something into a page directly (like a SQL injection, but HTML). That script can do just about anything, like steal data from any form on the page, like login, address, or payments, or substitute your elements for theirs. If inline resources are forbidden, the damage can be limited or stopped.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP
by lapcat | 2025-04-09 12:28:22+00:00
> I think China's response is a huge gamble that the psychosis can be broken with careful application of pain - before that pain hurts China even more.

Politically, as a dictatorship, China can withstand pain longer than the US, which is not (yet) a dictatorship, and even if Trump himself can't be moved, Congressional Republicans are nervous about the 2026 midterm elections.

> most people in the US who backed Trump are debtors and consumers who are going to see prices go through the roof. But there is no guarantee they will blame their leader.

The people who love Trump are never going to be moved, but Trump's victory in 2024 required nonpartisan swing voters who were frustrated with the economy under Biden as well as hard-core supporters. If the economy actually gets worse rather than better under Trump, then the swing voters can easily swing the other way in 2026 and 2028.
by watwut | 2025-04-09 12:28:46+00:00
Not doing what China does is a massive gamble too - Trump and America will bully for more and will lie while doing it.

Yes, conservatives will blame everyone but the perpetrators inckuding themselves. But, it does not matter, because if they will get what they want, they will come back for more and cause more harm.

Nice work blaming the victims and trying to push them into passive acceptance of what is done by perpetrators. In reality, when you bully, others have choice between letting it or retaliating. And letting it happen has huge risks. Everyone else is opening themselves to more bullying ... but that is better for Trump, so you do not care about those risks.
by dumbfounder | 2025-04-09 12:28:49+00:00
Yes they will. Why do you think they won’t? They certainly can. You just use RAG to look up the latest news based on the keywords you are using. You can use search on the back end and never surface a list of results unless the LLM decides that is a good idea. It curates that the reusits for you. Or gives you the singular site you need with context. That is better for most searches.
by Festro | 2025-04-09 12:29:10+00:00
I think the nuance here is that I mean there is no true free action of choosing. The choice is always controlled by something outside of my control, either a random chance or determined by my memories/experiences/biases etc.

I'm saying that 'free' is essentially meaningless, it can't be defined in this context.

If my will is a process whereby I come to a decision between options, but my decision is constrained by random or determined factors, there's no room for any personal freedom, I, my will, is controlled completely by those factors and is not free.
by noduerme | 2025-04-09 12:29:24+00:00
Rolling your own, though, does come down to hammering in the extra nails... and hoping that whoever's doing the job knows where to put those supports in place. If you have someone who looks into the future and sees what issues might come up in a few years, then it's way cheaper than relying on frameworks. If you don't, then you're stuck with some janky software that no one else can fix. I think this is why the larger the scale, the more likely companies are to rely on frameworks which themselves are janky, but at least well understood.
by neonsunset | 2025-04-09 12:29:31+00:00
https://dictionary.cambridge.org/dictionary/english/abuse

Rustacean, Gopher... this is an embarrassing way of looking at it.

And, speaking of, Go is not a memory safe language when you reach for its concurrency primitives as it very easily lets you violate memory safety (as opposed to Rust, .NET and JVM, where instead you get logic bugs but not memory safety ones).
by fhd2 | 2025-04-09 12:29:38+00:00
My solution is to _only_ chat. No auto completion, nothing agentic, just chats. If it goes off the rails, restart the conversation. I have the chat window in my "IDE" (well, Emacs) and though it can add entire files as context and stuff like that, I curate the context in a fairly fine-grained way through either copy and pasting, quickly writing out pseudo code, and stuff like that.

Any generated snippets I treat like StackOverflow answers: Copy, paste, test, rewrite, or for small snippets, I just type the relevant change myself.

Whenever I'm sceptical I will prompt stuff like "are you sure X exists?", or do a web search. Once I get my problem solved, I spend a bit of time to really understand the code, figure out what could be simplified, even silly stuff like parameters the model just set to the default value.

It's the only way of using LLMs for development I've found that works for me. I'd definitely say it speeds me up, though certainly not 10x. Compared to just being armed with Google, maybe 1.1x.
by dpb001 | 2025-04-09 12:30:34+00:00
We had the variety that was able to grab onto the edges exposed by the seams in our vertical cedar siding and so had holes at random places in the wall, far away from perching locations. Owl and crow decoys plus reflective discs dangling in the wind seemed to help but it’s hard to do A/B testing for this. The house was due for another coat of stain and after that they’ve stayed away - the new color is less tree-like so maybe that helps.
by apwell23 | 2025-04-09 12:30:44+00:00
> You built and shipped a critical service for a (larger) org. > You wrote a famous tool > You contribute to a popular open source tool > You wrote a book that is often mentioned

all this will brand you as 'super nerd' and limit your career earning potential unless you are planning to become a principal engineer at google . don't be know for nerdy shit.
by idiotsecant | 2025-04-09 12:31:45+00:00
Transactions are non-reversible in the same way cash is. Are you equally worried about me paying rent in cash? Buying a hamburger with cash? It's not a big deal, and mostly a UX issue as argent and others have shown.

I like the idea of my money being my money and not just mine as long as my government isn't annoyed with me. I don't much care if other people are afraid of it. That's a great thing about crypto. You are free not to participate, unlike the corpo-fiat systems.
by hombre_fatal | 2025-04-09 12:31:48+00:00
They are using Zola (Rust SSG) but I think they're serving from Worker + KV: https://github.com/mre/endler.dev/blob/32016d0f204911bc9a8a4...

They have a history of using static hosting (GH Pages) but prob decided it wasn't necessary when they switched to CF. And whipping up your own lil scheme using compute is more fun and it let them mirror the request to their analytics service.

I don't blame them: I'm so used to infinite free tiers especially from CF that without seeing my blog saturate the worker limit, I wouldn't have considered it.
by hemc4 | 2025-04-09 12:32:23+00:00
I do search from openai app with search option tunred on. It has better filtering than Google which shows all the irrelevant and low quality links like fake news as well. Quality of the search matter. Google does not have a way for me to mark what all websites i don't want in my search results so we need to rely on a more authentic source to filter all the chaos on the internet.
by emilfihlman | 2025-04-09 12:32:27+00:00
This game is somewhat stupidly implemented in that for clue "exercise in a pool" the guess swimming doesn't count, as the answer is swim.

But more importantly we can see here that actually just getting user input with a keyboard is actually made stupidly hard on mobile, and getting a reasonable result actually requires reimplementing the virtual keyboard, which often sucks because it has a tremendous amount of complexity!

This is something that really should be fixed.
by immibis | 2025-04-09 12:32:31+00:00
Now that I've recognized this pattern I see it everywhere: someone invents part of a solution, probably including some cool technology, then hails that as the solution and insists everyone else is wrong for not getting it.

The classic one is some FOSS people inventing a protocol where servers can talk to clients, and declaring a problem solved, when in actual fact, most people don't have a server. Mastodon is this, but so is XMPP.

HTTP took off because there were servers you could fetch things from with HTTP, not because it theoretically allowed you to fetch things from servers.

Paper euros aren't cool because I can "have money". They're cool because I can go to the grocery store and trade them for something to eat. My bank card isn't cool because I can "have money". It's cool because I can go and swipe it and not have to count paper euros. If you want cryptocurrency to be cool, you're going to have to get it integrated into grocery stores, which is, of course, impossible because it can only process 7 transactions per second. You also need a way to convert my paychecks into cryptocurrency, but this is basically solved with crypto exchanges now.