MurphyA/hacker-news huggingface dataset:
by dfabulich | 2025-04-03 19:20:11+00:00
iOS Safari only allows push notifications for web apps added to the Home Screen, (as PWAs sometimes do), and that hasn't changed with the new Declarative Web Push. Most developers aren't familiar with this, and neither are users, and so it's very, very hard to educate users on how to allow you to push notifications.

Here's how it works.

First, users have to figure out how to add your web app to the home screen. There's no "Install" button that you can put in your web UI; users just have to know how. You can, of course, explain how, in your web page, but it's quite tricky. I'll explain it below; it takes like eight or nine steps.

First, the user has to click the Share button, the box with an arrow on it under the URL bar. On iPad, it's in the URL bar. It doesn't have the word "Share" on it, so if you use the word "Share" to describe it, users will get confused.

Also, the Share button may not be visible on the screen if the user has scrolled at all, because Safari collapses Safari's bar by default, but you can bring it back by scrolling back up to the top of the screen, or asking users to set up push notifications on a special page of your site that's too short to scroll.

Once they've clicked that, they need to find the "Add to Home Screen" button. On iPhone, "Add to Home Screen" is not visible by default either. The Share sheet is only half the height of the screen, and you have to scroll it to reveal more sharing options. One of the sharing options is "Add to Home Screen."

Once they've clicked that, they have the option to rename your app to whatever they want. You can control the default, but you can't prevent them from giving it a cute nickname, which they may forget later. Then, they can click the Add button.

When they click it, the sheet disappears. As far as the user can see, nothing useful has happened. But something has happened. There's a new app icon on their home screen. Not their first home screen, of course… it's probably their last home screen or something. There's no way for users to know which screen it's on. Or, they can search their iPhone for your app, if they can remember what it's called.

Anyway, once your web app has been added to the home screen, you have to tell your users to re-launch your app from that home-screen app launcher. It boots up slowly, slower than Safari, because it's running a whole separate process from Safari. (Also, JS in general just runs slower in home-screen web apps; only Safari is allowed to do JIT just-in-time compilation of JS.)

Finally, once they launch your app from your home screen, you can request permission to push. They have to click a button in your web UI (any click is fine), and then you can pop-up an iOS push permission request. If the user says no, you've missed your only chance; users have to go find your app in iOS Settings to turn on push.

Once users agree to push notifications in your home-screen web app, finally, finally, you can now send push notifications.
by richardw | 2025-04-03 19:20:15+00:00
One thing I think I’ve found is: reasoning models get more confident and that makes it harder to dislodge a wrong idea.

It feels like I only have 5% of the control, and then it goes into a self-chat where it thinks it’s right and builds on it’s misunderstanding. So 95% of the outcome is driven by rambling, not my input.

Windsurf seems to do a good job of regularly injecting guidance so it sticks to what I’ve said. But I’ve had some extremely annoying interactions with confident-but-wrong “reasoning” models.
by arghwhat | 2025-04-03 19:20:34+00:00
The case for the local guy is not calculated correctly for EU VAT, leading to the misunderstanding. The cost of the input increases proportionate to VAT, with the VAT refund cancelling this out exactly.

Let's assume as you did that the actual input has the same real cost to manufacture (ignoring e.g. local labor cost differences, fuel cost differences, government incentives, etc.), and that your example therefore needs exactly 80 USD worth of real, untaxed input in both cases.

The US producer buys this for 80 USD out of pocket as there's no VAT to pay, adds 20 USD profit and sells it for 100 USD. An importer adds 20% VAT, making it 120 USD.

The local producer has to pay VAT so their price for the same thing is 96 USD out of pocket. They get 16 USD VAT back from the government next time they file VAT (irrespective of what they sell), i.e. the "relief" undoes the VAT entirely. They add 20 USD profit making the price 100 USD, add 20% VAT, and what do you know, same 120 USD price tag.

In both cases the final consumer price is 120 USD, and after VAT is cleared the input seller gets 80 USD, the producer itself gets 20 USD profit and the government at the point of consumer sale gets 20 USD VAT.

If the local guy exports the goods to the US the VAT is refunded, making both prices 100 USD. Input seller earns the same, profits remain 20 USD, but no VAT is earned.

This is also why all companies only discuss prices excluding VAT, as the VAT is purely symbolical if it's not a consumer sale.
by nipah | 2025-04-03 19:20:55+00:00
If you don't believe in God, actually you NEED to buy this, or buy into some other methaphysical eternalism that is as hard to prove as truly random events. The universe either started randomly or it was created, and the existence either existed eternally or it was created (both prospects are also problematic in some level, but at least it is something better than thinking you can not have a position on this and also assume that determinism is trivially true).
by Swizec | 2025-04-03 19:21:09+00:00
> And realism can range from "users don't want to troubleshoot" to "some users are near-violently anti-tech and won't read errors", depending on context.

No dude, I have things to do and your little software is a tiny roadblock in my day. I dont want to become a fellow expert in your niche, do the thing and get out of my way.

Building UI for work and for consumers is completely different. I’ve done both, user attitudes are veeeery different. Building an ecommerce page is also very different to building an engagement trap for users to sit in.

Problems start when engineers/designers/producters don’t understand their users and their goals. Or when the user is not also the customer (this is the worst)
by justonenote | 2025-04-03 19:21:34+00:00
We have messed up the terms.

We already have AGI, artificial general intelligence. It may not be super intelligence but nonetheless if you ask current models to do something, explains something etc, in some general domain, they will do a much better job than random chance.

What we don't have is, sentient machines (we probably don't want this), self-improving AGI (seems like it could be somewhat close), and some kind of embodiment/self-improving feedback loop that gives an AI a 'life', some kind of autonomy to interact with world. Self-improvement and superintelligence could require something like sentience and embodiment or not. But these are all separate issues.
by mynameisvlad | 2025-04-03 19:21:43+00:00
I've been slowly moving everything over from Tailscale to Netbird and aside from some shenanigans with Tailscale taking over the entire CGNAT route, it works wonderfully!

Tailscale is still running for now, but I'm getting closer and closer to decommissioning it and switching entirely to Netbird.
by kiwicopple | 2025-04-03 19:21:54+00:00
yes, you can edit the migrations. The steps are for adding a new column, for example:

1/ Add a new column to the declarative file

2/ Generate a new migration: `supabase db diff -f my_new_migration`

3/ Review/edit the generated migration

Docs are here:

https://supabase.com/docs/guides/local-development/declarati...
by 8note | 2025-04-03 19:21:54+00:00
labour participation rate is the number you want to be looking at - unemployment excludes people who have given up looking

anectdotally, you dont see people dropping out of universities en masse because businesses are desperate for workers and willing to make it worth students while to put off or skip the education.

you see that in and out in tech/software dev, but not across industries
by necovek | 2025-04-03 19:21:56+00:00
Again, you are making assumptions: I have read it in full, and I have experience with construction as well.

> someone may ask you to split a floor in half

Yes, I've seen it done plenty times. It's especially common with old houses which might have 4-5m high ceilings around here and people do introduce new floors in between.

Similarly, with pillars being carrying structures, it is feasible to go and turn 3 floors which are 4m high each into 4 floors ~3m high.

But while that's a way to interpret my "original ask" (and all of your examples like hidden floors and such), my intent was clear — in software, you literally go and introduce a whole new thing between the two things that were tighly coupled. Like actual structures above a certain floor.

If your implication was followed in software (i.e. try to predict the future and introduce hidden floors, service floors and such) — and it sometimes is — we really end up with worse, more complex software that has technical debt built in from the start. IOW, that's exactly not the way to build software.

Again, this does not discount the complexity of civil engineering — it is freaking hard! But my point is that it is DIFFERENT and that same approaches do not necessarily work.
by mingus88 | 2025-04-03 19:21:58+00:00
You are right, but the choice to attempt a historically accurate reproduction is also subject to interpretation.

It simply can never be perfect. Down to the acoustics of the venue, there will always be aspects of a performance that are lost to time and can never be reproduced. And how can we even know, since no recordings exist (and if they did, that recording would introduce its own artifacts).

How many people dance to a boureé today? Can any performance of one really be be accurate outside the context of dance? Sitting politely in a huge recital hall is no at all accurate

And even then, the music falls on modern ears. We hear and understand music completely differently than ancient people did. Can we even consider anything to be accurate, since Art is experienced?

I love renaissance music, and listen to as many recordings as I can where the performer uses a vihuela, theorbo, lute, etc. It's a totally nerdy pursuit. But it’s only “accurate” to a point

The bottom line for me is that Art is subjective. Do it in the way that satisfies your urge to create. As soon as it leaves your body, it belongs to the rest of us to interpret and experience. There are no right or wrong ways to express yourself.
by anon6362 | 2025-04-03 19:22:06+00:00
The root cause is the IEEPA (1977) which was vaguely worded to supposedly shrink executive authority under TWEA (1917) which allowed essentially unlimited executive authority "emergencies" to be declared for an unspecified amount of time. IEEPA was used to block TikTok, which still may get blocked, and used to set these arbitrary tariffs. IEEPA needs to be fully abolished. (And we also need to bring back the Tillman Act (1907) and get an amendment to overturn CU.)
by JohnFen | 2025-04-03 19:22:06+00:00
> Decades of USA taking it in the can trade wise appears to be over, for now.

Except that the US hasn't been. Global trade has made the nation wealthier than ever. People who aren't wealthy have been taking it in the can, of course, but that's not because of global trade and these changes aren't going to fix that.

All that's going to happen is that if you aren't already very wealthy, you're going to get poorer.
by unleashit | 2025-04-03 19:22:10+00:00
The evidence is tell me how many tech companies, especially startups, have a large ratio of over 40s? If age discrimination were better enforced, the OP might have a very different (and more fair) market to try your experiment. Until that happens, the OPs observation that they are under compensated vs. other workers of a similar skill set would be where I'd put my money.
by carlosjobim | 2025-04-03 19:22:27+00:00
I think you fail to account for just how little a salary needs to be increased for it to be interesting to switch jobs for the people who are making the lowest wages. In Europe, people compare wages with single digit differences per hour when deciding for switches in jobs and careers.

And low paid workers in the service sector aren't low skilled and costly to get going. They're intelligent and honest, and would be fine workers in manufacturing if given the opportunity. They're working in the service sector because those jobs couldn't be off-shored.
by archon1410 | 2025-04-03 19:22:34+00:00
> Political elites tend to be highly coherent

Coherence might not the word you're looking for. The policies of political parties and groups are born out of historical circumstances and the diverse coalitions they represent. Political elites are "coherent" in the sense that you can expect them to consistently follow the party line, and thus infer all of their views just by knowing one of their views.

The party line, i.e. platform of the Democratic and Republican parties, or any other large political party in the world, is, by itself, nothing coherent though. Many of their policies and claims do not make any more sense besides each other than they would make against each other. Realignments on issues are pretty common across the world. What is left-wing in one part of the world at one point of time might be rightist across space and time.
by brightlancer | 2025-04-03 19:22:38+00:00
> learned there are still plenty of people that were unhappy the south lost the civil war and want to remedy that

Did you peel that back to the next layer? Did they want to reintroduce slavery? Or did they want independence from a distant government?

I knew folks in the South who thought some of the craziest racist things and probably would've been OK with slavery (I did hear them promote segregation).

At the same time, the vast majority folks I knew who defended the Civil War or wanted secession didn't want slavery or segregation, but local (and often less) government. Did they misunderstand the role of slavery in the Southern secession? Usually. Does that change their _current intent_? No.

The latter group (which was much larger) should be engaged with on the issue of local government and secession, especially in the context of folks in Blue States who've been rattling about secession under Trump.
by ncallaway | 2025-04-03 19:22:45+00:00
> If you're unemployed and living on whatever odd jobs and government assistance you can get, tariffs won't make one bit of difference in your life.

That government assistance is also being threatened (often by adding work requirements to it), and those odd jobs can also go away or become much more scarce if the economy goes over the edge.

Finally, the cost of everything will go up, which will hit those that are scraping by with odd jobs and government assistance the hardest.

I hope it doesn’t happen, but when you assert things are as bad as they can get, that just doesn’t match the situation you described. They can get worse.
by jrockway | 2025-04-03 19:22:46+00:00
It's kind of the opposite problem as well; huge well-funded companies bringing down open source project websites. See Xe's journey here: https://xeiaso.net/blog/2025/anubis/

One may posit "maybe these projects should cache stuff so page loads aren't actually expensive" but these things are best-effort and not the core focus of these projects. You install some Git forge or Trac or something and it's Good Enough for your contributors to get work done. But you have to block the LLM bots because they ignore robots.txt and naively ask for the same expensive-to-render page over and over again.

The commercial impact is also not to be understated. I remember when I worked for a startup with a cloud service. It got talked about here, and suddenly every free-for-open-source CI provider IP range was signing up for free trials in a tight loop. These mechanical users had to be blocked. It made me sad, but we wanted people to use our product, not mine crypto ;)
by mmooss | 2025-04-03 19:22:52+00:00
> There will be more of a hit as we transition to domestic manufacturing, but it will generate jobs, investment, and keep money in our economy.

That's not how it works. It protects inefficient companies, reduces competition, and lets them pocket more of consumers money. I'm sure they will 'share' it with their labor force.

The US is and has been fully employed without it, so it can't really add jobs. The US has plenty of investment, and it will cut foreign investment - many of those factories are owned by foreign companies. It shifts the workforce to less productive work which will hurt the economy as well.

It will keep money out of our economy too. Economics doesn't work by keeping money in your pocket.

> There will be more of a hit ... but it will generate jobs, investment, and keep money in our economy.

Have you heard of 'trickle-down economics'? That was the theory that if we cut taxes on the wealthy, they will spend/invest more and it will 'trickle down' to everyone else. Guess what happened? Only the first step - the certain one - ever happened. The magical future never did.

It's the same here. It's just a hit for the benefit of a few; that's it. No economist thinks protectionism boosts the economy.

> In addition, other countries could simply loosen their restrictions and tariffs.

The DARVO idea that others are somehow blocking US investment - which dominates the world - has no foundation. Poor countries, of course, don't want their entire economy controlled by some trader on Wall Street.
by ike2792 | 2025-04-03 19:23:11+00:00
> There are a significant number of citizens who don't use credit, don't have bank accounts, don't have cars, work at off the record jobs that pay in cash or check (to cash a check all you need is someone you trust enough who has a bank account and then you can do a third party endorsement and let them cash it for you).

Do you know of any statistics on this? I knew a lot of people like this when I was growing up in the rural midwest in the 90s but it would have to be a lot more difficult to get by this way now.
by bill_joy_fanboy | 2025-04-03 19:23:18+00:00
That may be your lived experience, but it doesn't match the data.[1]

The working class is shifting to Trump because his rhetoric matches what they want to see: trade restrictions, protections on domestic labor, and the return of good/stable manufacturing jobs.

Trump is almost certainly not the best representation of the American worker, but he's winning because he, at least, tells them what they want to hear.

[1] https://www.npr.org/2024/11/14/nx-s1-5183060/why-working-cla...
by shw1n | 2025-04-03 19:23:28+00:00
> If that hypothesis is true, then probably the best thing for society is to provide cultural structures that let us indulge than impulse in non-harmful ways, instead of, say, giving it to religions that also tell us to murder gay people.

I agree with this take a lot, and actually tried to imagine what Religion 2.0 could be based on this premise
by csbartus | 2025-04-03 19:23:41+00:00
SEEKING WORK | Europe | Remote

I wear multiple hats: Researcher / Senior Software Architect and Engineer / Design Engineer and recently Junior AI Engineer.

I can help you with your AI software engineering strategy and implementation with a focus on correctness: https://www.osequi.com/studies/list/list.html

- Résumé/CV: https://osequi.com/

- Email: bartus.csongor@gmail.com
by Teever | 2025-04-03 19:23:42+00:00
Can you recommend sites that have postings for EU startup jobs? I recently received EU citizenship so I'm thinking of making my way over to Europe in the next year or so.

How much is language a barrier for these kinds of jobs? I'm a native speaker of English and think that I can become proficient with French again within 3-6 months of immersion.
by crackrook | 2025-04-03 19:23:43+00:00
The hypothesis is that knowing a person's voting activity helps one to predict that individual's values. I don't think the parent is claiming that the values that might be revealed by a 10 minute conversation are a predictor for voting activity. I think there's a distinction, since people can - and, in my perspective, often do - misrepresent or misidentify their true values in their conversations with strangers. I am assuming that people act on their true values, not necessarily those that they advertise, when they fill out ballots.
by hxorr | 2025-04-03 19:23:48+00:00
Here's what happened to the thinkpads I've owned... R51 - sold R50p - died (bad VRAM) X201 - Ethernet chip died, speakers died, bad keyboard - sold X230 - died X230 - sold in relatively good health X1 carbon gen 4 - best laptop I've owned out of all of the previous thinkpads by far

People go on about thinkpad reliability, but I've had two straight up die on me...

To be frank, I don't get the hype for the older models. They're slow and clunky. The newer chiclet keyboards are fine once you get used to them.
by NoSalt | 2025-04-03 19:23:48+00:00
I have a Lenovo ThinkPad T61 that I absolutely LOVE! It is running the latest Xubuntu (24.04) with no problems. I have maxed out the RAM, installed an SSD, and even upgraded the CPU. I like it even more than my Dell E5440. No, I cannot play Minecraft on it that well, but it is a SOLID laptop and it feels good to hold and type on.
by geocar | 2025-04-03 19:23:51+00:00
You're going to regret this.

The thing you need to be doing is testing your migrations, and some dumbass on your team is going to generate the migration during CI and load it into your database as a merge step, and you won't realise what a mistake this was until possibly years later.

The good news, is you might be able to pay someone an enormous amount of money to unfuck things. Not good for you, I mean, obviously. Good for whoever you just bought a car.
by nipah | 2025-04-03 19:23:54+00:00
This is a strawman, but it also could be the case of it being something supernatural. You don't have the skill to enter in a serious discussion about that either, so calling it "magic" is the unique thing will help you here (as people are usually scared of things they can't explain).

But it would be the case that the universe is non-computable, and if this is the case, even without "magic", you would not be able to reproduce certain kinds of things (even not conscious ones) with a computer.
by 9rx | 2025-04-03 19:23:55+00:00
> cma's question was to me

I clearly replied to your comment, not cma's.

> You are inserting your interruption into that.

There are no interruptions in a threaded discussion. cma can reply to your comment in parallel. I do appreciate you bringing your misunderstandings to light, though.

> let them speak for themselves

He can if he so wishes.

> or at least I am not interested in dissecting their comment's meaning with you.

Oh?

- "cma's question was to me"

On an open public forum all comments are written for all users by default. Only through dissecting meaning with me would you be able to determine this to be the case. Why lie?
by AlexandrB | 2025-04-03 19:24:07+00:00
I don't see how that follows. Avant-garde music of this type is basically an NFT already. All of its value is in the novelty, none is in the aesthetics. The meaning of the piece is completely externalized to the identity of its author and the history of its composition and cannot be derived from observing the piece itself. That describes NFTs to a tee! The only thing missing the layer of cryptography on top.