MurphyA/hacker-news huggingface dataset:
by number6 | 2025-05-01 07:48:12+00:00
If they had bought American floodlights they had saved 255k in tarrifs. So if they had paid 200k for the floodlights they would have still been better of.

One could argue, that there might be no American Floodlight Company - well here is the incentive to build one.

Secondly the money isn't lost, it goes to the state. Like a tax, but it is called differently. With this 255k more the state can now subsidise the local floodlight industry.

If anything of the above comes to fruition... That's a different matter...
by satvikpendem | 2025-05-01 07:48:15+00:00
> I can't trust that Apple is honest about their privacy commitments

This is a funny comment for me to read. Did anyone honestly think that Apple was touting privacy as anything other than a competitive advantage for revenue maximization? They've had things like iAd, their services revenue has grown massively as hardware sales plateau, and they are nowhere near as "private" in certain countries either.
by teekert | 2025-05-01 07:48:17+00:00
Honestly it's the first thing I install on Gnome. It's just annoying that it's not on by default and I don't understand what the devs have against it. I use the Tailscale, Nextcloud, ProtonVPN and Solaar indicators.

I could understand if they "rethought" how indicators work, but why make everyone jump through the hoop of installing an extension? (At least that is how it is on Arch and NixOS, Ubuntu may be different).

Other than this, I absolutely love Gnome, I feel 0 need to tweak (other than before mentioned), some nicer tiling would be nice thought ;) Also: Requiring an App Indicator seems a bit harsh on the more minimal DEs. Are there any apps that are like a window but with your indicators or something?
by JumpCrisscross | 2025-05-01 07:49:22+00:00
> Most people do need those things, because assuming there's no civilisation spanning project to literally rewrite 90% of the web, without them their sites would break

Sites most people visit do not require backwards compatiblity. And aside from like Google Docs, I doubt most folk are doing anything with WASM (outside plugins).

Look, in a world where Google subsidises browser development, this isn't an issue. We don't need to compromise. But if that funding stream disappears, you do have to compromise. And I'd argue a simple browser doing away with some of the more-complicated stuff would be (a) maintainable and (b) popular enough to pay itself back.
Super Lightweight Data Management
by snappr021 | 2025-05-01 07:50:00+00:00
AI Prompt: Regenerate “Datalite” Interface with All Features Create a fully functional single-page HTML application called Datalite using only vanilla JavaScript, standard CSS, and HTML — no frameworks or libraries. The interface should support: Multi-file Upload & Tabs Allow uploading multiple CSV or JSON files Display each dataset as a tab in the left sidebar, sorted alphabetically Switching tabs shows the corresponding editable table Editable Table View (per dataset) Render a full HTML table with inline contentEditable cells Include a filter row at the top using contentEditable table headers Always show a sticky blank row at the bottom that adds new entries dynamically Changes persist in memory and to localStorage Relationship Detection (Heuristics) Detect one-to-many and many-to-one relationships heuristically by matching: {tableName}_id → id Shared key values across tables Store relationships and persist them DBML-style Diagram View Render a schema diagram using floating draggable HTML blocks on an infinite canvas Each block shows the table name and its fields Allow the user to toggle the diagram view on/off Report Builder Panel (on right) Show a live business-style report when any table row is clicked Include the selected record and all related child records in clean, sectioned formatting Add a toggle to switch between the styled view and raw JSON Include child tables (and grandchildren, etc.) using relationship chains State Persistence Save all uploaded files, relationships, and edits to localStorage Auto-load on refresh Resizable Panels Allow the user to drag and resize: Sidebar (tabs) Table view (center) Report panel (right) Export Functions Add an "Export CSV" button for the currently active tab Add a "Clear Storage" button to reset the app Requirements:

No libraries (no Tailwind, Bootstrap, React, etc.) Single relatix.html file Fully working out-of-the-box Mobile and desktop friendly Style should be minimal and clean (standard CSS only)
by logifail | 2025-05-01 07:51:13+00:00
> FBI investigated Clinton because of her emails.

Correct, and this was the outcome:

[FBI director James Comey said] "Clinton had been 'extremely careless' but recommended that no charges be filed because Clinton did not act with criminal intent, the historical standard for pursuing prosecution"

Is '[not] acting with criminal intent' really the standard we think we want to hold our elected officials to?
by pavlov | 2025-05-01 07:51:25+00:00
So why not make them in the country? Let’s see…

If you start building a factory in the US now, it will take years and you’ll be paying high tariffs on the equipment, high tariffs on the raw materials, high wages for unexperienced workers… And all of this in a political environment so unstable that your investment might be pointless six months from now if/when the president flip-flops again.

World-class industrial strategy.
by devnullbrain | 2025-05-01 07:51:52+00:00
That's the point.

If you say browser developers need money from the search giant to compete in browser development, you are saying that - right now - you can't compete in browser development without it.

That is a cartel.

We only have four major browsers because only four players can play on a fair playing field. There are people who have been paid millions to create and perpetuate this system. Web developers worrying about feature development without it is their KPI. None of this is a coincidence, none of this is a natural law.
by xp84 | 2025-05-01 07:53:16+00:00
The battery being connected with a proprietary plug is a very smart decision? They couldn’t have used USB-C? Is this like Lightning? Because they admitted after 8 years of fighting it that usb-c made a lot more sense there too.

For me that part is just proof that they are determined, even after you spend $3.5k, to nickel and dime you: the only way to get increased battery life is either to buy additional hundred plus dollar (so, marked up 10x from their cost) batteries from Apple, or to daisy-chain the heavy battery to your own heavy battery (or to the darn wall.)
by Mashimo | 2025-05-01 07:54:14+00:00
If that was the goal, then why did Trump pull out of Trans-Pacific Partnership (TPP)?

As far as I understood it, it was meant to work closely with a lot of east Asias counties to counter the influence of China and to promote trade.

Now the US kinda pissed of a lot of those countries, and china stepped in to trade with them.
by WickyNilliams | 2025-05-01 07:54:39+00:00
I honestly think you are vastly overestimating how much buyer's regret there is, or even any sense of Brexit being wrong. Brexit wasn't wrong, it's everything else that was wrong!

The politicians didn't enact it decisively enough. The EU punished us. The media lied about it. The "remainiacs" did everythig in their power to stop it. etc etc

To many, Brexit is their political identity and it is a politics of blame and grudges
by Timshel | 2025-05-01 07:55:00+00:00
I think the point is kind of moot.

I doubt they own any part of their manufacturing at the moment. Unless manufacturing already exists in the US (which I doubt here), I don't believe company this size has any chance to move manufacturing to the US

The GamerNexus video already mentioned elsewhere explore those issues: https://www.youtube.com/watch?v=1W_mSOS1Qts.
by spaceman_2020 | 2025-05-01 07:55:26+00:00
This has been the most annoyingly infuriating part of the manufacturing conversation.

People simply don't understand the scale and complexity of modern supply chains. By one estimate, it will take $40T to move all of China's existing manufacturing capacity and supply chains to the US, and it will take 20+ years if you're really motivated.

People still think that order goes in and a factory makes the finished goods. In reality, individual parts can move across borders dozens of times before they're ready to be placed into a bigger product.

Heck, I remember reading that Ford cars built in Canada cross the Canada-US border 11 times before they're finished
by matheusmoreira | 2025-05-01 07:55:43+00:00
> But will it be able to "productize" them and drive large scale adoption?

Hopefully not. There shouldn't be a "dominant" browser in the "market", there should be a huge mess of choices available. If there is a "dominant" browser, corporations will cut corners and target it directly. They shouldn't be able to get away with that. Browser diversity means they cannot afford to single out users as irrelevant and unworthy of support. They should have no choice but to support them all.
by brnt | 2025-05-01 07:56:18+00:00
People don't realize is that public transport works if it's a network. The denser the network, both in time and space, the better the options is.

Here in the Netherlands there's actually fewer routes than a 100 years ago (country was full of local 'intertown' trams then). Housing stock has expanded a few times over since the war, but rail routes (light of heavy) stayed put. It's ridiculous to build a 5000 home neighborhood and not plunk down some steel bars! Or at least reserve the space. Meanwhile, bus services are down YoY in frequency, reach. They now basically only serve as a last resort for those that really have no other options and thus can be forced to deal with incredible transit durations.

Even cycling, which in denser cities can absorb some of the commuter traffic, is not encouraged as part of mixed transport. Tax law is such that one modality can be compensated.

The Netherlands has none of the geology to deal with that Switzerland has, so I don't know what excuse there is. All energy went into cycling I suppose. Not bad, but it's about the network, and never about the one modality.
by timewizard | 2025-05-01 07:58:18+00:00
I thought a majority of Chinese businesses are state owned. Their neighbors understand the stakes though and have demonstrated eagerness to have low US tariff rates. I assume their customs agencies will be on the lookout for this relabeling strategy.

It's going to occur, as it already does occur, for all kinds of reasons, but it's not going to be as simple as you make it out to be. There is a limited capacity to perform this work meaning the costs may not even be competitive with the US tariff in the long run.
by progbits | 2025-05-01 07:58:27+00:00
> "One of the things that we've noted is that you'll have a person in Poland applying with a very complicated name," he recounted, "and then when you get them on Zoom calls it's a military age male Asian who can't pronounce it."

Why not simply pretend they are from South Korea?

Tinfoil: Maybe these ones are supposed to fail so everyone feels like they are so clever in stopping them.
by xpe | 2025-05-01 07:59:18+00:00
I agree, but I might phrase it a little bit differently. I recommend thinking about corporate stances as actions and interests, not moral intentions. Don’t expect a corporation to do things for moral reasons. Trust them only to the extent that their actions are in their self interest. To be fair, some organizations do have charters and interests that make them more palatable than others.

One takeaway to startups that hope to stand for something even after tremendous growth and leadership changes: you have to build governance and accountability structures into your organizational DNA if you truly want specific values to persist over the long run.
by rasz | 2025-05-01 08:00:03+00:00
I would make Witkoff sit on his ass in hotel for 8 hours while my team one room over wirelessly breaks into his phone and gets into those Signal chats.

https://news.sky.com/story/trumps-fixer-was-made-to-wait-eig...

His personal PC? Send Big Ballz his way to do some upgrades

https://www.npr.org/2025/04/15/nx-s1-5355896/doge-nlrb-elon-...

maybe a free Starlink dish

https://www.nytimes.com/2025/03/17/us/politics/elon-musk-sta...
by koliber | 2025-05-01 08:00:07+00:00
I love this article. It seems like it is lifted directly from a series of LinkedIn posts I shared about my experience with North Korean job scammers. I also wrote a quick guide on how to protect yourself. Link to LinkedIn post in the blog post below.

https://koliber.com/articles/how-to-avoid-hiring-a-north-kor...

It’s a bit more in-depth and offers a few other ways to identify the fake devs.
by zamadatix | 2025-05-01 08:02:29+00:00
This is more about Apple lying under oath about both delaying the court and being aware what they were doing was not actually complying with the previous order. Additional factors are it does not list a fine, relies on longstanding general anti-trust legislation rather than new tech specific laws, and there isn't a wide swath of other regulatory rulings against Apple coinciding with the previous one.

Between all of this, it'll be a lot harder to come to the comments to defend Apple for not getting fined twice in a row for the same issue despite lying under oath and intentionally delaying proceedings, even if you vehemently disagree with the original ruling.

Google tends to be the one with more sympathy in the US lately as they've gotten much more of the regulatory stick in court.
by vishnudeva | 2025-05-01 08:02:59+00:00
Great work on the website, it looks well designed.

You need to consider the exploitative nature of something like this carefully. On the technical side, we understand the limitations of something like this, and that we'd never take it seriously. But what about people who don't understand the tech (which is most people)? What about children and teenagers?

I see from your comment history that it's possible the issues with this app and your previous "Free AI Girlfriend" website might be not be clear to you. I urge you to spend some time reading about this, it's very clear that you're talented and skilled. I wish you all the best!:)

Starting point reading material: https://www.spiegel.de/international/zeitgeist/artificial-in...
by timewizard | 2025-05-01 08:02:59+00:00
It offsets the cost of cheaper Chinese labor and material costs. With the goal of making "made in the USA" products price competitive where they were not before.

In the abstract this possibly makes more jobs in the USA for manufacturing these items. It also keeps the entire process conducted in US Dollars that stay entirely within our borders which is theoretically better for currency stability and value.
by Mr_Minderbinder | 2025-05-01 08:03:38+00:00
People have always complained whenever YouTube changed its layout but I think the Polymer skin crossed a threshold of awfulness that caused people to start actively fighting against it by creating their own interfaces or finding workarounds on a scale we never saw with prior changes. I would take ANY of the pre-Polymer designs over Polymer which is truly in a league of its own, exemplifying everything wrong with corporate Web-design.
by gloosx | 2025-05-01 08:03:46+00:00
Let’s be honest: neither Apple needs $18 billion a year, nor does Mozilla need $450 million annually to develop a web browser. Microsoft or Apple could afford 100 lives of browser development without a Google penny. And Mozilla corp was already making millions in “Royalties” 20 years straight.

Yes, Mozilla would probably lose those royalties, but at this point browsers are good. Not a single browser needs a billion $ development budget each year to keep working – it is stable, fast, feature-complete. No one’s asking for major changes anymore. Keeping them running doesn’t require billion-dollar budgets, and we can probably use latest Chromium build for free forever even if random asteroid destroyed the whole Google HQ tomorrow.

But of course — we are devastated. A few corporate bozos lost billions, others now need to figure out where to burn them next. Very sad. Not a dry eye in the house.
by koliber | 2025-05-01 08:03:54+00:00
Look at their LinkedIn profile. All the scammers had non-existent profiles in their resumes.

Call their phone number. All the scammers had non-working phone numbers in their resumes.

I wrote an article about this based on my experience: https://koliber.com/articles/how-to-avoid-hiring-a-north-kor...
by dayvigo | 2025-05-01 08:04:06+00:00
One has to be deliberately obtuse to pretend to not see how ridiculous it is to make having a third-party application that shows little icons in the corner of the screen a hard requirement for a cloud file sync application.

I use Linux and don't have a taskbar, a topbar, a sysbar, nor anything similar. I've never seen the need for one when I can manage my windows in other ways and have more screen real estate available. What does that have to do with syncing my files?
by bigbadfeline | 2025-05-01 08:04:42+00:00
> "by not being registered to vote or by not voting, indicated they were at least OK with him winning"

Ah the favorite pastime of the Left - blaming the people. In fact not voting indicates only one thing - NOT being OK with any of them winning, it's a legitimate and very important choice to have, too bad neither of the losers is willing to draw any conclusions.
by awesomekling | 2025-05-01 08:04:52+00:00
This is awesome! Really great write-up, and solid work by Jessie :^)

The Ladybird codebase is generally very defensive, but like every browser, our JavaScript engine is slightly less so (in the pursuit of performance.)

There are architectural lessons to learn here beyond just fixing the bugs found. We've since replaced these allocations (+ related ones) with callee-specific stack memory instead of trying to be clever with heap allocation reuse.

We're also migrating more and more of our memory management to garbage collection, which sidesteps a lot of the traditional C++ memory issues.

As others have mentioned, sandboxing & site isolation will make renderer exploitation a lot less powerful than what's demonstrated here. Even so, we obviously want to avoid it as much as possible!
by saagarjha | 2025-05-01 08:05:00+00:00
This is generally a bad idea, even if you ignore the obvious overhead from doing so. At some point you are going to create a "real" string out of the thing you have, and it is not going to behave like you expect if you just blindly use the array's properties to compute them. Nor will they really have well defined semantics unless you are careful about what the "characters" you're storing in strings are.
by TheOtherHobbes | 2025-05-01 08:05:31+00:00
They're different application types - friends + family relationship reinforcement, social commenting (which itself varies across various dimensions, from highlighting usefulness to unapologetically mindless entertainment), social content sharing and distribution (interest group, not necessarily personal, not specifically for profit), social marketing (buy my stuff), and political influence/opinion management.

Meta and X have glommed them all together and made them unworkable with opaque algorithmic control, to the detriment of all of them.

And then you have all of them colonised by ad tech, which distorts their operation.
by red_admiral | 2025-05-01 08:05:36+00:00
If I were working at Mozilla, I'd be refreshing my CV right now.

The Firefox team is in an unenviable position. They need money to pay their staff, they're reliant on a single source that's about to dry up, and their userbase is as far as I can tell heavily biased towards techy types who don't want integration with Pocket and similar.

I'd personally like to see something like Supermium gain market share, especially for 'techies' - built on Chromium but (if possible) keeping support for Manifest V2.
by elsjaako | 2025-05-01 08:06:40+00:00
The same reason teenagers might use Instagram DMs to communicate about school projects - It's just the platform he's familiar with.

Or the same reason I have Whatsapp - communication in my social groups happens there, and if I don't have it I get left out.

Your explanations assume there is some deeper meaning, looking at the tradeoffs for each communication platform, and then coming to some rational conclusion. I don't think there's much evidence for that.

The people around trump just happen to be used to using signal to communicate, and if Pete doesn't get on board he gets left out.
by thom | 2025-05-01 08:07:18+00:00
This doesn't seem like a big deal. They use what appears to be a widely supported library for their tray icon, and if you don't want that:

"The Dropbox app can also run in headless mode, once you meet the essential system requirements [64 bit, supported filesystem, Glibc 2.27+]. This runs without a graphical user interface. You can install the app, then control Dropbox using the Linux Command Line Interface (CLI)."
by wkat4242 | 2025-05-01 08:11:16+00:00
> Marriage should be made less artificially blown up with meaning and divorce should not be stigmatized. Instead, if done with a healthy frequency, people divorcing when they notice it is not working, should be applauded, for looking out for their own health.

> At the same time people also should learn how to make relationships in general work.

And most importantly, knowing when to do the one or the other.

I think this thought that divorce is bad comes from religion which would end up having to care for abandoned kids (especially when contraception didn't exist so having kids wasn't as much of a choice)

I don't really hear it so much here in Europe except from very religious people. Most people are totally ok with divorce, many aren't even married (I myself never married and I had a gf for 12 years from a Catholic family who also didn't mind at all) and a lot of them are even polyamorous :) I have a feeling that would not go down so well in rural America.
by vineyardmike | 2025-05-01 08:11:39+00:00
> an LLM is regularly asked to produce a valid block of code top to bottom, or repeat a section of code with changes, when that's not what we do.

Eh, it's mostly what we do. We don't re-type everything every time, but we do type top-to-bottom when we type. As you later mentioned, "next edit" models really strike that balance, and they're like 50% of the value I derive from a tool like Cursor.

I'd love to see more diff-outputs instead of "retyping" everything (with a nice UI for the humans). I suspect that part of the reason we have these "inhuman" actions is because of the chat interface we've been using has lead to certain outputs being more desirable due to the medium.
by DemocracyFTW2 | 2025-05-01 08:11:40+00:00
> * TODO what about Ideographic Description Characters?

I've never encountered them other than rendered with widths like any other CJK character, i.e. with (nominally) double width. There may be software that makes an effort to render IDSes (Ideographic Description Sequences) as existing or generated ideographs (or whacha may call those), but I have yet to see one. There may however, and IMO more likely, be situations where you want to grant the user an input of exactly one, or up to a certain number of CJK characters e.g. for the purpose of searching and grant them the ability to use IDSes for unencoded characters or incompletely known characters. But in that case you're clearly leaving the boundaries of what is Unicode and enter into the grammar of your search engine's customized search strings. Meaning that you probably don't need to handle IDC separately at all other than treating them like any other fullwidth CJK codepoint.
by fifticon | 2025-05-01 08:15:02+00:00
Maybe we could give Trump the northern part of Greenland, as visible on this map? As you can all see, the northern part of Greenland is HUGE, which is why I think it is the best part to give him. The small insignificant SOUTHERN part however, he doesn't have to deal with, we can leave it to the greenlanders (appropriate, given that they are already called greenlanders.) Heck, we might even call the northern part HUGELAND! /s :-)