MurphyA/hacker-news huggingface dataset:
by vitorgrs | 2025-04-15 06:47:57+00:00
Shein biggest thing is actually AI/ML. As far I remember, what they really invested is on the service per see. Shein gather data from consumers on internet, on what's the latest trends/art, and just create clothes. And they do this like, always.

There's no "Summer" or "Winter" season clothes. They just update them continually.
by db48x | 2025-04-15 06:48:39+00:00
If only version control had been invented earlier.

Some of the in–progress versions of the stories are quite hilarious. In the earliest drafts of the story of Beren and Luthien, Beren sets off to cut a Silmaril from the Iron Crown of Morgoth and is more or less immediately captured by one of Morgoth’s lieutenants, Tevildo. Who is a talking cat. With a whole castle full of talking cats that mostly laze about on the terraces but occasionally waylay passersby and make them serve as scullery maids. Christopher Tolkien calls him “the appalling Tevildo”.

By many changes small and great Tolkien went from Tevildo, Prince of Cats to Sauron, Lord of the Rings. If you ever write a book, keep that in mind when you hesitate to cut or rewrite what seems like your best ideas.
by pheelicks | 2025-04-15 06:49:16+00:00
Happy to share a project I've been working for the last few months: A5, a global, equal-area, millimeter-accurate geospatial index. If you you've come across S2 or H3 in the past, it has much in common, except that it uses pentagons for the cell shapes, and the underlying platonic solid it is based on is a dodecahedron (rather than cube, or icosahedron as are commonly used).

There are a number of visual examples on the website to show how it works, along with example use cases.
by DyslexicAtheist | 2025-04-15 06:50:32+00:00
for now I get a kernel panic due to NoScript.

But does this support recursion? I'd like to run JSLinux in my browser and then point its Browser to https://www.bellard.org/jslinux/ which then starts another JSLinux which opens the browser on JSLinux which ...

JSLinux isn't another Linux but a landmark of postmodern philosophy, and OP most def forgot to credit Baudrillard.

crazy cool.
by threeseed | 2025-04-15 06:51:09+00:00
I've seen countless interviews of Trump supporters who believe that China is the one paying for it. Which I can completely understand because if it is a cost on them it would be typically be called a tax.

That said the overwhelmingly majority are shocked but believe it's all just a negotiating tactic:

https://www.cbsnews.com/news/poll-trump-tariffs-13-04-2025/
by lucb1e | 2025-04-15 06:51:16+00:00
Perhaps you could contribute a version in a language that uses more descriptive names, something like BitPacker.WriteInt64 for >Q if I'm guessing correctly what that means (I'd equally need to check the docs to know what format these letters represent, but I don't find it too confusing when you know it's simply some binary / byte array version of the same thing)
by simianwords | 2025-04-15 06:51:18+00:00
Answering my own question after some research. It looks like OpenAI decided not to introduce 4.1 in ChatGPT UI because 4.1 is not necessarily a better model than 4o because it is not multi modal.

Now you can imagine introducing a newer "type" of model like 4.1 that's better at following instructions and better at coding to bring a sort of overhead thats already too much with the given options.

OpenAI confirmed somewhere that they have already incorporated the enhancements made in 4.1 to 4o model in ChatGPT UI. I assume they would delegate to 4.1 model if the prompt doesn't require specific 4o capabilities.

Also one of the improvements made to 4.1 is following instructions. This type of thing is better suited for agentic use cases that are typically used in the form of an API.
by anothernewdude | 2025-04-15 06:51:33+00:00
I doubt anyone is seriously arguing the tariffs as implemented are the solution.

On the other hand, if you're thinking all opposition to the tariffs need to agree then you're deluding yourself (not trying to be antagonistic here, but it's dangerous to be blind to alternatives.)

For instance, a smaller tariff on completed Luxury goods and a removal of the Temu exception could've easily been the play and potentially could've been done without much fanfare (by someone who wasn't Trump obviously)
by ungreased0675 | 2025-04-15 06:51:42+00:00
Some people may feel that their economy was already destroyed when manufacturing was moved to China. Ever drive around Ohio, West Virginia, Indiana, etc? So many dead towns, thanks to jobs moving elsewhere.

I think ending the pipeline of landfill fodder from Temu is a great thing. That kind of consumerism is like eating a diet of pure sugar. Feels good for a second, but bad for the consumer, environment and economy.
by Nursie | 2025-04-15 06:52:06+00:00
Yeah the outcomes here are insane -

Here in Australia I can order a $10 (AUD) item from aliexpress and get free shipping from China. But as a consumer or small busines, if I want to send anything bigger than a letter within Australia it's likely to cost me way more than $10 just for the postage.

It doesn't make sense and it must distort retail trade in China's favour. I'm honestly not surprised the US withdrew from that treaty, I think it needs reworking.
by palata | 2025-04-15 06:52:33+00:00
> That doesn't mean I have to like the technical characteristics.

I didn't say you have to like them. But if you claim they are insecure, I feel like it's my right to note that you may be wrong.

> A counter-point might be that my credit card doesn't require Google Play Services either.

That is not exactly a counter-point in a discussion between a mobile app doing NFC and a mobile app using QR codes, is it?

> I'd be sceptical of anything like TWINT catching on in the UK, because NFC payments are already ubiquitous and also really easy to use.

That's another question. My original point was that non-US banks should not depend on Google Play Services or Apple Pay (which at least until very recently was the only way to pay with NFC on iPhones, wasn't it?).
by aitchnyu | 2025-04-15 06:53:18+00:00
Is there any political tool to prevent rampant rule breaking and making the disliked rulebreaker specially vulnerable? Rule breaking is common and apocrypal form of strike involve following the rules to the letter and paralyzing the business. The prevailing principle is "you cant defend yourself by pointing to other rulebreakers" while reality is "its legal if a hundred businessmen do it".
by philipswood | 2025-04-15 06:53:38+00:00
Do you feel guilty about using a compiler?

An assembler?

A chip die you didn't design and tape out yourself?

What about a library?

A framework?

An external service or product?

I've looked up opcodes on a little insert and hand entered the hex digits on a little hex keyboard.

I can't say I've ever felt guilty when using MS-Dos debug to "assemble" the opcodes instead. Or MASM or turbo assembler.

What you feel is what you feel. And that might not be rational, but if your feeling is valid about using LLMs, surely the same arguments should apply to using a framework or library?

Maybe you could try moving your focus from the code to the product. Even if you use tools to produce it - the product design and quality are still yours. You chose what tools to use and how to evaluate the product quality and design.
by FirmwareBurner | 2025-04-15 06:54:39+00:00
USA is the worldwide exception when it comes to SW industry, not the rule.

The US tech industry is reaping the benefits of being the WW2 and cold war victor, the first to the punch in SW development and online capitalization, a homogenous single language market with the top economy in the world and owning the world reserve currency, meaning they can print and throw ungodly sums of money at any app that helps with mass data collection, data which is more valuable to advertisers because the US consumer has the highest purchasing power in the world by a long margin, and subject to less linguistical, financial and legal fragmentation and gov oversight than the EU.

It's a positive reinforcing feedback loop where more money helps creates even more money, like a snowball rolling downhill. It's not something Italy or any EU as a whole can replicate. We can replicate the same SW tech/concepts here, but not the scale and monetary effects that the same tech has in the hands of the US. US is basically playing the game with the infinite money glitch, and the crazy US salaries are a second order effect of that.
by eastbound | 2025-04-15 06:55:47+00:00
In France, we ran an NGO whose music festival got a bit big… a million or two of beer sales. Tax office came in and put that part of the NGO under the business rules, ie we paid and received VAT, paid the corporate tax at the normal rate, etc. We ended up putting the entire charity under the business rule because it was more profitable (saving VAT on all providers, while our donations were exempt of VAT).

I’m surprised USA doesn’t have a rule that industrial/commercial sections of any org is liable to all corporate tax laws.
by lucb1e | 2025-04-15 06:56:00+00:00
What's the difference between storing a random number and storing the OTP secret? It's all ones and zeroes in a database

If you store the OTP secret in an HSM, then you can do the same when generating a random number. I'm not aware of anyone actually doing that though (I surely won't have seen even 1% of what's out there, but as a security consultant I get around at least a little bit)
by iury-sza | 2025-04-15 06:56:45+00:00
There's an Apple TV+ series called Extrapolations with a plot of a dystopian future heavily affected by climate change. One of the plotlines involve humans successfully developing the technology to communicate with humpback whales.

So, the story involves an animal DNA archivist interacting with what's presented as the last living humpback whale, focusing on its isolation etc. It turns out the research lab's goal is to trick the whale by faking mating signals, aiming to get it to reveal information about whale history and culture. It's essentially data mining the animal.
by forgotoldacc | 2025-04-15 06:57:23+00:00
> Proper jeans aren't really washed more than once a month or at all.

I've had a lot of people say this to me. I've known their policy on washing jeans without them ever having to tell me, though.

People become noseblind to their own stench. Unfortunately, it's not easy to ignore the stench of someone else wearing pants with a month of sweat and fecal bacteria soaked into them. I know lots of people also only wash their coats once a year, and trust me, being more resistant to stinking isn't the same as being completely immune to stinking.

Wash your clothes. The idea of not washing them is a meme and it's incredible how many people have fallen for it lately.
by mc3301 | 2025-04-15 06:57:27+00:00
Or people just become satisfied with lower quality. Hand-crafted chairs from a woodworker used to be the only way to get a chair. You'd get an amazing, life-long chair with no flaws. Now that chairs are cheaply made in factories, we can have multiple different chairs with many flaws. And just toss them out and go on to the next one when needed. But... those sturdy beautiful fine-wordworker-made chairs are still being built. They are just more rare, expensive, and special than ever before.
by vanschelven | 2025-04-15 06:57:52+00:00
* It's certainly production-ready; the installed base for serious use (visiting at least weekly, deployed somewhere) is in the hundreds and we have users with ~1M events daily. Obviously, I'm using it myself in all my production projects.

* "feature complete" depends on your feature-set :-). It's very much focused on Error Tracking; APM is not on the roadmap. But within the feature-set of Error-Tracking, I'd like to think it's best-of-class.

* Comparison with GlitchTip: Bugsink is built from the ground up with self hosting in mind. You'll first notice the difference when going through the installation instructions (getting started is literally faster than signing up for a SaaS solution) but it also shows e.g. in the required maintenance.

* One-band: yes, but I've incorporated and I'm serious about it.
by bwb | 2025-04-15 06:57:54+00:00
Some great recommendations and thoughts from Douglas W. MacDougal:

My father showed me a comet through his binoculars after dinner when I was six. I remember seeing that ghostly wisp from another time, suspended in space, hung among the stars. Years later, as a middle school student in Florida, our librarian displayed a copy of Newton’s Principia on a stand in the library. It was laid open to pages of intriguing, complex-looking geometrical drawings, including Newton’s dramatic illustration of a comet. I flipped through it every time I passed by, amazed to discover that things I saw in the sky could be known through the language of mathematics, a fact that still endlessly inspires me.
by NoPicklez | 2025-04-15 06:58:32+00:00
Initially I was against it in your first paragraph but I started to agree. People do go out of their way to leave a bad review, the others are left enjoying the product (most of the time).

The only moral issue is perhaps that the method doesn't disclose what people are unhappy about to the public, who might be looking at the reviews. However, you're not preventing people from leaving a negative review with criticism, you're simply providing a way for feedback to be provided directly back to the developer which is good and there's no issue with that.
by maeil | 2025-04-15 06:59:30+00:00
Sonnet 3.7 non-reasoning is better on its own. In fact even Sonnet 3.5-v2 is, and that was released 6 months ago. Now to be fair, they're close enough that there will be usecases - especially non-coding - where 4.1 beats it consistently. Also, 4.1 is quite a lot cheaper and faster. Still, OpenAI is clearly behind.
by jillesvangurp | 2025-04-15 07:00:10+00:00
I adapted code for Java back in the day from here: https://github.com/j256/two-factor-auth/blob/master/src/main...

A bit longer but most of it is just boilerplate Java stuff to deal with polymorphism and a base32 implementation. I recall, stripping most of that away in our internal adapted version of that.

Key points:

- generate a 16 character base32 secret and stuff it in a totp link. otpauth://totp/Alice:alice@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Alice

- stuff that in a QR code and show it to the user so they point their phone authenticator app at it to store the secret. We used a js library for this.

- store the secret with the user account in a secure way (we used aes encryption for this)

- when verifying, use the secret, a timestamp in seconds after the epoch divided by 30 (simple normalization step applied on the client as well) and use the user provided number to construct a sha1 hmac and grab the last digits and prepend with zeros. The calculated string should be the same as what the user typed from their token app as long as their clock is in sync.

- we actually implemented a grace period by calculating the before and after code as well so the user isn't screwed over if the number rotates while they were tapping out the code.

While relatively easy to implement, we ran into a lot of friction rolling this out to normal users. Basically non technical people find this stuff super confusing and we had to hand hold quite a few people through the process and we also had to deal with people that lost their secret, or kept on using the wrong code (for a different account). The UX of this stuff is just terrible. Be prepared to deal with a lot of support overhead if you choose to roll this out. A non trivial percentage of users will manage to lock themselves out of their accounts.
by ungreased0675 | 2025-04-15 07:01:09+00:00
This isn’t true, because the subsidized stuff from China drove medium-quality choices out of the market.

Try to buy some nicer jeans or T-shirts. The choices are stuff made as cheaply as possible, brand name stuff made as cheaply as possible but marked up like it isn’t, and actual quality clothes at 15x the price of the cheapest stuff. Most of the US clothing manufacturers have pivoted to the high-end just to survive or moved production overseas and are coasting along on their brand reputation.
by Kerollmops | 2025-04-15 07:01:22+00:00
Right. We released a lot of new versions of the engine to improve the indexing part of it. V1.12 is improving the document indexing a lot! Have you tried the latest version v1.14 we released yesterday?

While Meilisearch is capable of limiting it's resident (actual mallocs) memory. However, it requires a bare minimum (about 1GiB).
by chrismorgan | 2025-04-15 07:01:47+00:00
Over time, these performance characteristics are very likely to change in Iterator’s favour. (To what extent, I will not speculate.)

JavaScript engines have put a lot of effort into optimising Array, so that these sorts of patterns can run significantly faster than they have any right to.

Iterators are comparatively new, and haven’t had so much effort put into them.
by fnordpiglet | 2025-04-15 07:01:53+00:00
Ok fair enough - effectively there needs to be an authorization propagation channel that is systematic and bypasses the LLM and probabilistic layers through to each endpoint through the server. The issue isn’t the MCP server and client themselves but that there’s no clear and defined way to pass authZ through to the other side. AuthN should be handled at the interface and the AuthZ propagation is the crucial missing piece. Right?
by jjcob | 2025-04-15 07:02:03+00:00
> ordering a 75-cents part from the other side of the planet is a massive waste of resources

Is it really that bad? Is it better to package the part in retail packaging, ship them in bulk to international warehouses, ahead of time, store them for months, then put them in a new package when someone orders them, and mail them through a local postal service.

Versus just stuffing the part in a tiny envelope and sending it directly to the customer? No re-packaging and storage required.
by joelthelion | 2025-04-15 07:02:33+00:00
> In 2025, the engineer probably beats Gemini. Sure, great. But in 2030, who wins this hypothetical?

I don't think we need to wait for 2030. Today, using aider/cursor and Gemini-pro-2.5, I'm pretty sure a team of two or three senior developers with great domain knowledge would be competitive with a team of 10 average devs. Being a small, close-knit team has a lot of advantages. And LLMs can help close the productivity gap.
by mitthrowaway2 | 2025-04-15 07:03:50+00:00
(Although sometimes these projects are built overnight, between departure of night and morning trains [1])

The Hokuriku shinkansen started construction in 1989 and opened reaching Nagano by 1997, just eight years later and in time for the 1998 Nagano Olympics. Of course they've built more extensions to it since then, most recently to Fukui just last year.

The Tokaido Shinkansen was on the drawing board in the late 1930s, and opened in 1964, after having been interrupted by the war and shelved for many years. A project starting today and opening in 2050 would be about that speed of development, although with the then-novel technology all being proven already one would hope things could be done a bit faster now.

[1] https://m.youtube.com/watch?v=_BYW4YYqG5A
by buzer | 2025-04-15 07:04:00+00:00
Let's say currently it costs $15 to make thing 1m units of X in China and $50 to make 10k of them in the USA. USA could be scaled to make 50k of them for $40 and 100k for $30. 1m could cost like $25. There are people for who are ready to pay more for local products so the current production volume makes sense, but majority of people will go for cheaper option when given the chance so it doesn't make sense to scale up the production currently. If the import cost of the item goes above local production cost and there is still enough demand for the item, it can make sense to scale up that production even if you cannot compete with the China made things internationally.

Of course that assumes your own costs (like raw materials) do not increase at least on the same scale and that you can rely on the situation being long-term thing (i.e. will last years rather than weeks) as costs include your CapEx on things like new machines.
by nottorp | 2025-04-15 07:04:22+00:00
Temu/Aliexpress/etc are for buying very cheap clothing. 2 out of 3 items fit and 1 out of 3 is decent quality. That's still cheaper, depending on what tariffs your country is charging.

I wouldn't buy something where a warranty would be useful from them.

Ok, maybe very niche hobby products, but then I wouldn't expect a warranty.
by vineyardmike | 2025-04-15 07:05:14+00:00
Well, the author did cite Levels, which is pretty reliable. A quick search shows that >150k seems accurate for a lot of the top tech companies (eg. Google).

I absolutely know people individually who made 150k+ out of college. Sorry europeans, but Bay Area salaries are definitely a large multiple of European salaries, even entry level.

A lot of this is possible because these companies make a lot of money, and a lot of money per employee, and that trickles down to new-hire salaries. It doesn't seem like there are many wildly profitable European companies in tech, at least not ones that can really drive up salaries like this. It's too bad, because Europe broadly has really strong talent, but I imagine there is a constant pressure pulling people away for more money.
by roshin | 2025-04-15 07:05:38+00:00
If what Trump says is any sign to how MAGA explains it, then the answer is: if you don't want to pay those large fees, buy local. Sure the cost will go up, and significantly so in the "short term" (however long that is ...), but in the long term we will have more local manufacturing.

disclaimer: I personally don't agree with that, so no need to argue against me. Just answering OP's question, because I feel that it is important to understand the other side.
by andreldm | 2025-04-15 07:06:18+00:00
The problem wasn’t running the containers with plain podman, they worked. Auto restart is something podman delegates to quaqlet/systemd, I tried to migrate my docker-compose files to quadlet’s config, the containers were up, supposedly listening to the bound ports but connecting simply didn’t work. I tried rootless, slirp4netns and pasta, nothing worked, then I gave up, some other day I might try again.
by grues-dinner | 2025-04-15 07:07:40+00:00
> In fact, many towns just sprang up around train stations.

And this is how the Japanese system works so well. The trains don't make money, but the massive improvements to land value near stations does and the train companies own that land.

They get to make money, society gets the personal and economic benefits of a functional public transit system.

Passenger trains on their own fundamentally do not make money for the operators in most cases, except perhaps specialty routes like airports: the value is distributed into society, but doesn't all come back as ticket prices. So any system where a train company is just a train company will either need heavy subsidy or will slowly wither away under "efficiency" drives.

What they do have is a huge pile of capital intensive resources that are juicy targets for vampiric extraction and captive markets that are slow to extract themselves when exploited (and slow to come back).
by z3ratul163071 | 2025-04-15 07:07:42+00:00
I've created exactly this for myself: https://v3rtical.tech/public/sshot.png

It runs locally, but it uses API keys for various LLMs. Currently I much prefer QwQ-32B hosted at Groq. Very fast, pretty smart. Various tools use various LLMs. It can currently generate 3 types of documents I need in my daily work (work reports, invoices, regulatory time-sheets).

It has weather integration. It can parse invoices and generate QR codes for easy mobile banking payments. It can work with my calendars,

Next I plan to do the email integration. But I want to do it properly. This means locally synchronized, indexable IMAP mail. Might evolve into actually usable desktop email client (the existing ones are all awful). We'll see...