MurphyA/hacker-news huggingface dataset:
by ringeryless | 2025-04-03 06:51:44+00:00
No tariffs on Russia, interestingly enough.

All actions by this administration point to Trump working in cahoots with Putin, which we were told was "a hoax".

The White House dressing down of Zelensky, and this week Russias investment chief in the US, and just scads of obvious daily reminders that Trump has no bad words for his pal. Odd.

Tariffs on our friends and allies while he speaks of dropping sanctions on Russia and meanwhile levies no tariffs upon goods from Russia, zero. Odd.
by askonomm | 2025-04-03 06:51:44+00:00
I have found that unless your job is making simple CRUD apps and you really don't care about quality at all, yes, you will be less productive. The amount of tiny problems slipping through is immense, and it is known that code reviews are ineffective at noticing all the bugs, as well as it not having any idea of the general code style or conventions, inability to learn if I tell it, and so forth. In the end I spend at least as much time as I would spend coding the thing myself just massaging the AI to make a somewhat working thing, and that at the expense of much, much worse quality. And, I myself am also miserable, since I'm basically spending my entire day communicating to a kindergarten child and teaching it, over and over again, except that a child eventually learns, AI doesn't. That's horrible. I don't want to spend my days doing that.

Companies I work at tend to value quality and correctness over productivity, as ultimately low quality and incorrect software makes for unhappy clients who we have to service out of our own pockets later on anyway as part of the warranty we provide for our software, ending up costing us a lot more in money and reputation. But, like I said, I'm also not seeing any productivity gain, not unless you throw every good practice out of the window and pretend to be the only dev in the team as the AI will willfully rewrite large chunks of the app and destroy your colleagues work in the process.

And for what? So that you can be a manager? What is your moat in the end of this? Will you advertise on your resume the ability to manipulate AI via text prompts as your skill? I suppose if you want to be a manager, maybe that's appealing. I don't. I want to actually make things, and be an active and intellectual part at making those things, not just a manager monitoring butts in (virtual) seats.
by nottorp | 2025-04-03 06:51:45+00:00
> This is why in some European countries, that $1 item from China with free shipping can end up costing $10, because you're paying $0.25 in VAT or import taxes, and $10 to the shipping courier for doing the paperwork.

Not the big China exporters, not any more. They all include taxes in the price on your country specific web site, ship to their warehouses inside the EU, handle taxes and your local courier just delivers.

Now if you're talking DHL yes, they have you fill forms upon forms and charge you for the forms you didn't ask for. But if that happens, no one will have time to process all the forms so private imports from China will simply ... halt for a while. Until Temu/AliExpress/etc sort out for the US the same system they use in the EU.

If in the US, I'd hold on any direct purchases from China for 3-6 months.

> So it is even worse, you either pay $25 per shipment, or 30% - whichever is higher. Then later it moves up to $50 per shipment, or 30% - whichever is higher.

Hah. That's DHL commission territory :) Definitely hold from direct purchases until Temu sorts it out for you.
by pbmonster | 2025-04-03 06:51:56+00:00
> I got an x220 jumping onto the hype but it was too small and too slow to use. ven though I'd maxed out the RAM, replaced the solder paste and was running a lightweight i3 environment.

That's my only personal laptop, to the last detail. What are you doing that makes it feel slow?

I might upgrade to a x270 for the USB-C charging and a full-HD display, but only when this one dies. Which might take another decade...
by spookie | 2025-04-03 06:52:48+00:00
The one thing I hope Americans think about is to believe in democracy, and discuss with others on the other side of the aisle. Really, most have voted the way they did for real, valid reasons. And recognizing them is the path to heal your country. Only through understanding will democracy prevail.

Do not spiral into dividing your own country. That is the real goal of authoritarian regimes.
by thaumasiotes | 2025-04-03 06:53:07+00:00
> but I remember reading something about an aboriginal fire ritual that had been practised by indigenous people in Australia for something like 12000 years

In Australia they're very proud of asserting things like that, but obviously there is no evidence it's true. On the other hand, there's lots of evidence that that doesn't happen.

> Because these traditions were passed down orally or through generational practice they have gradually been lost which is sad.

The fact that this mechanism of loss exists is already sufficient to prove that a tradition can't last 10,000 years.
by District5524 | 2025-04-03 06:53:31+00:00
Exactly. Calculation for actual figures is based on trade deficit, everything else is just a fat lie. "White House officials said its levies were reciprocal to countries, such as China, which it said charge higher tariffs on US goods, impose "non-tariff" barriers to US trade or have otherwise acted in ways the government feels undermine American economic goals" (from BBC) Non-tariff barrier usually means regulation US exporters don't like, including data protection, EU not wanting to buy junk food from the US, most of which apply to EU companies the same way anyway... There is no point in asking for a reduction of these tariffs, and will probably never happen.
by lurk2 | 2025-04-03 06:53:50+00:00
> The 1st (because the actual basis was often protected speech unrelated to the asserted premise of removal)

This sounds like you are talking about the students who were detained and deported. Were any of them sent to El Salvador? My understanding is that they had their student visas revoked on the basis of 8 USC 1182(a)(3)(C)(i):

> An alien whose presence or activities in the United States the Secretary of State has reasonable ground to believe would have potentially serious adverse foreign policy consequences for the United States is deportable.

I don't know the specifics of the cases pertaining to the students, but from a plain reading this doesn't seem altogether unreasonable. I think it's obvious that this is being done at the behest of Israel, but it doesn't seem explicitly illegal.

> 5th (because of denial of due process) [...] 8th (because of conditions in the prison where they are sent) [...] and 13th (because the prison involves involuntary servitude, and they were condemned to it without a criminal conviction)

I couldn't find clarification as to what section of the prison the deportees are being held in. I understand that the prison is set up such that lower-level offenders are required to work or study almost every waking hour of the day, whereas gang members are segregated and not permitted to leave their cells at all. The key issue here seems to be due process, which is in turn dependent on a court ruling on the application of the Alien Sedition acts being improper.
by Malcolmlisk | 2025-04-03 06:54:18+00:00
As a 13 owner (only thinkpad 13, nobody talks about it but I think is one of the best pieces of hardware I have ever owned) this would be fantastic. I would love to have my 13 for life. I don't know if my 13 is able to be upgraded like a desktop PC like other thinkpads, but adding a carbon fiber chassis would be like fresh air.
by bell-cot | 2025-04-03 06:54:30+00:00
Guess: If properly stored (physically), good-quality paper documents and photographs will last for centuries. But as soon as you digitize them - you're now chained to the treadmill of maintaining/upgrading/migrating digital archiving systems. Compared to keeping the old-fashioned Archive Storage Room dry (and fire-free), that's 100X the labor and expense. Forever.
by charlie90 | 2025-04-03 06:54:32+00:00
>They pay like crap.

Then raise the wages. Yes that means products get more expensive, but so be it. The economy will find a new equilibrium. White collar workers will see their purchasing power decrease, but factory workers will see it increase.

>No American sees their kid growing up and thinks, "I hope my child will one day work long hours at a factory."

Maybe its just me, but I think theres something seriously wrong with society if people have existential dread over the thought of having to produce the things they consume. If the production of it is so unethical, it shouldn't be consumed at all.
by tyg13 | 2025-04-03 06:54:35+00:00
> Is the critical difference here that the array access happens outside of the "for" expression?

Precisely: this means that `d[k]` is guaranteed to execute before the check that `k < 16`. In general, if you have some access like `d[k]` where `k` is some integer and `d` is some array of size `N`, you can assume that `k < N` on all paths which are dominated by the statement containing `d[k]`. In simpler terms, the optimizer will assume that `k < N` is true on every path after the access to `d[k]` occurs.

To make this clearer, consider an equivalent, slightly-transformed version of the original code:

int d[16]; int SATD (void) { int satd = 0, dd, k; dd = d[k=0]; do { satd += (dd < 0 ? -dd : dd); k = k + 1; dd=d[k]; // At this point, k must be < 16. } while (k < 16); // The value of `k` has not changed, thus our previous // assumption that `k < 16` must still hold. Thus `k < 16` // can be simplified to `true`. return satd; }

Now consider a slightly-transformed version of the correct code:

int d[16]; int SATD (void) { int satd = 0, k = 0; k = 0; do { satd += d[k] < 0 ? -d[k] : d[k]; // At this point, k must be < 16 k = k + 1; } while (k < 16); // The value of `k` has changed -- at best, we can assert // that `k < 17` since its value increased by 1 since we // last assumed it was less than 16. But the assumption // that `k < 16` doesn't hold, and this check cannot be // simplified. return satd; }

It's important that this is understood in terms of dominance (in the graph-theoretical sense), because statements like "k < 16 can never be false because it's used in d[k] where k == 16" or "the compiler will delete checks for k < 16 if it knows that d[16] occurs" which seem equivalent to the previously-stated dominance criterion simply are not. It's not that the compiler is detecting UB, thus deleting your checks -- it's that it assumes UB never occurs in the first place.
by arp242 | 2025-04-03 06:54:42+00:00
> Even Obama failed to deliver to the American people. He was too focused on drone strikes.

I agree how Obama continued Bush's "war on terror" was a disappointment, but to state that as the reason for his relatively limited accomplishments is profoundly unserious. The Mitch McConnell's strategy was to do anything Obama did for no other reason than to make him look bad, because McConnell realised that Obama had the potential to be the most consequential president since FDR, with broad public support.

They used every trick in the book to hold up votes, to not schedule votes, voting against popular policy they themselves supported just a few years ago out of principle, etc.

I don't know how anyone could have forgotten this; the Republican party was not serious good faith participant in the democratic process long before Trump came along.
by ikt | 2025-04-03 06:54:43+00:00
I wouldn't put 100% of the blame on the Democrats, here in Australia we are frequently voting for the least worst option not the best, and I'm not sure how the Democrats weren't the least worst option when compared to the other option

but for some reason a whole heap of people decided to stay home this time and this is the result, hope they still feel happy with their decision
by wolframhempel | 2025-04-03 06:55:10+00:00
I believe there are two kinds of skill: standalone and foundational.

Over the centuries we’ve lost and gained a lot of standalone skills. Most people throughout history would scoff at my poor horse-riding, sword fighting or my inability to navigate by the stars.

My logic, reasoning and oratory abilities on the other hand, as well as my understanding of fundamental mechanics and engineering principles would probably hold up quite well (language barrier notwithstanding) back in ancient Greece or in 18th century France.

I believe AI is fine to use for standalone skills in programming. Writing isolated bits of logic, e.g. a getRandomHexColor() function in JavaScript or a query in an SQL dialect you’re not deeply familiar with is a great help and timesaver.

On the other hand, handing over the fundamental architecture of your project to an AI will erode your foundational problem solving and software design abilities.

Fortunately, AI is quite good at the former, but still far from being able to do the latter. So, to me at least, AI based code editors are helpful without the risk of long term skill degradation.
by munksbeer | 2025-04-03 06:55:19+00:00
> You have a narcissistic asshole in the White House who got elected because the Democratic Party fumbled the ball.

It don't want to sound too persnickety, but there is always at least one losing side in an election. It doesn't have to mean they dropped the ball, it could just mean people preferred the other option. Hindsight bias is wonderful, but you have no idea what would have happened if they'd run with a different agenda, they may have had a worse result.
by tauchunfall | 2025-04-03 06:55:23+00:00
>It will be good enough to produce 90% of the solution with very little input, and 90% is more than enough to go to market, so it will.

What backs up this claim? And when will it reach it?

We could be very well reached a plateau right now, which means looking at previous trends in improvements does not allow us to predict future improvements. If I understand it correctly.
by roywashere | 2025-04-03 06:55:29+00:00
My new company of about 100 persons uses ThinkPads as their 'standard issue' laptops. Which I guess is great. I have a T480 privately. But modern ThinkPads are not as great as before, and I was just thinking about if the Framework might make a nice 'standard issue' laptop for the company. I guess it might be just fine!
by fieldcny | 2025-04-03 06:55:37+00:00
Software is the connective tissue of the world, generating mediocre quality results (which will be the best outcome if you don’t really understand what you are looking at) is not just lazy it can be dangerous, do the worlds best engineers make mistakes? Of course they do, but that’s why building high quality software is collaborative process you have to work with others to build better systems. If you aren’t, you are wasting your time.

As of now (and this could change, but that doesn’t change the moral and ethical obligations), software engineers are richly rewarded specifically because they should be able to write and understand high quality code, the code written is the foundation of how our entire modern world is built.
by sumitjami | 2025-04-03 06:56:00+00:00
Location: Nurenberg, Germany Remote: Yes Willing to relocate: No, hybrid Technologies: Python, rust, aws, gcp, openstack, git, s3, distributed systems, postgresql, kafka, cassandra, clickhouse, redis, valkey, rpm, etc Résumé/CV (python): - https://box.thejamga.de/cloud/index.php/s/6oqg4H96ZnA6YGW Email: <IN CV>
by 255kb | 2025-04-03 06:56:07+00:00
I’ll second this. It seems that a lot of people assume it’s possible (or easy?) to make a living from open-source projects.

It’s probably due to a few famous projects being massively successful (think Vue.js), but I believe it’s directly tied to the project's size (audience), the maintainers' activities (conferences, etc.), and the type of audience. This last point is important—individuals are more likely to donate, while companies often need months of convincing, and it usually doesn't work, or they expect their logo everywhere with analytics (CTR, etc.) to justify it, which is basically advertising.

I have a sizeable seven-year-old open-source project (Mockoon) and, over its lifetime, I’ve received low four figures in donations, which is awesome, but far from enough to make a living from it.

Now, I’m creating a cloud version of the software, which has started generating revenue. It’s a lot of work, but leveraging the open-source success and sell something seems like a safer path.
by ncallaway | 2025-04-03 06:56:58+00:00
The problem is that we don't have those same systems for getting an ID.

There's no "government comes to you" to give you an ID. And, many Democrats would love to make it easier to get an ID, but the Republicans often deliberately make it harder to get an ID.

They shut down offices and reduce hours of locations, so people have to travel farther and take more time off work. They increase the bureaucratic requirements and hurdles, so people are more likely to need to take multiple trips.

I personally wouldn't have a problem with making a voter ID a requirement to vote, if we could also agree to make it as easy as you describe to get an ID. The problem is the GOP wants to require getting a voter ID and simultaneously make it harder to get an ID.
by askonomm | 2025-04-03 06:57:28+00:00
The interesting part here is how it differs for you and me. I work on quite complex systems most of the time, and I write things much faster myself. AI needs so much hand holding that it's equivalent to trying to sprint while carrying a backpack filled with bricks. And also, it changes the way I think, which is really scary to me. I very quickly stop thinking about what a good solution to a problem is, and instead start thinking about how to convince AI to come up with a good solution to a problem. I basically become a manipulator, not a creator. A Steve to a Wozniak. If I wanted that I'd have gone into sales or management instead.

I also wonder what is the end of this relying-on-AI cycle? You need good problem solving skills to be able to use AI to make somewhat working solutions. The more you depend on AI, the worse become your problem solving skills. And then what. Since you're no longer capturing knowledge into your own brain, your moat as a problem solver is also slowly disappearing, no? And once the job market figures out you actually can't do anything outside of an AI, or the tech has moved on, and what you knew before you started using AI has become irrelevant, who will even hire you anymore?

I see this a lot with juniors entering the job market nowadays, unable to problem solve (many don't even know how to copy and paste text), and sure enough, they get fired a lot.
by oever | 2025-04-03 06:57:36+00:00
I recently tried to buy a ThinkPad with trackpoint and a high-resolution screen. The X1 AMD G5 is available with Linux but the 2880x1800 version is only available with Windows. Initially, I thought there was no 2880 version, because the OS selection comes before the screen selection in the Lenovo configuration tool. Once Linux is selected, the 2880 version disappears.

It's not been delivered yet, but I'm sure installing Linux will not be a problem.

A ThinkPad with ~14" 4k OLED touchscreen and trackpoint and AMD processor is what I was looking for, but those do not seem to exist.
by stonogo | 2025-04-03 06:58:20+00:00
Any policy made with a lack of understanding this profound is a bad idea. Because they just ran this through a spreadsheet instead of paying any attention, among the tariffs are some uninhabited islands and another region whose only population is a US military base.

The highest tariffs are applied to countries like Madagascar, from which the US imports less than half a billion dollars of goods per annum. A drop in the bucket. Another silly example is the Falkland Islands, whose annual exports to the US don't even hit thirty million dollars. The formula they hit upon is what a high school student would come up with, and is not informed by any actual plan.
by tpm | 2025-04-03 06:58:34+00:00
What is not true? A driving license may be a defacto ID, but it is not a dejure, designated national ID card. It's a different system. In the EU countries the ID cards are backed by a more-or-less central civil register.

(as an aside, it would be very funny to me if the they used the driving license for electronic signing of official communication with the authorities like we use it in some countries in the EU).
by lordofmoria | 2025-04-03 06:58:34+00:00
What? Note for any juniors reading this: DO NOT TRY THIS AT HOME.

Does the author enjoy writing code primarily because they enjoy typing?

Are they not able to have the mental discipline to think and problem solve whilst using the living heck out of an AI auto complete?

What's the fun in manually typing out code that has literally been written, copied, copied again, and then re-copied so many times before that the LLM can predict it?

Isn't it more dangerous to not learn the new patterns / habits / research loops / safety checks that come with AI coding? Surely their future career success will depend on it, unless they are currently working in a very, very niche area that is guaranteed to last the rest of their career.

I'm sorry, this is a truly unnatural and absurd reaction to a very natural feeling of being out of our comfort zone because technology has advanced, which we are currently all feeling.
by samus | 2025-04-03 06:58:35+00:00
The excemptions outlined in the JEP still allow people to do pretty much whatever they want as granular as they want. They can even wholesale revert to the old behavior. I really don't see the issue.

> And, likewise, if the JVM never sees a write instruction to a certain field, except once in the constructor, it should be able to treat it as if the field were final, and avoid reloading it after method calls. If it loads a class with an instruction that writes that field, it has to recompile all those methods.

Right now, many opportunities for this optimization cannot be used because `final` for non-static fields cannot be relied upon. If such a field modification happens, then it's far more difficult to locate all the code that is the result of constant propagation from that field's original value. The impact of changes in the other scenarios is quite limited in comparison.

> None of this should be news to the JVM engineers.

I know how JIT compilers work, and the OpenJDK team knows as well of course. Which is exactly why they pursue this change. Deoptimizing and recompiling simply sucks for performance because this is time the application could spend on far better things.
by gambiting | 2025-04-03 06:59:06+00:00
I think the problem there is that in Pakistan where they do this they can reasonably assume that everyone in that remote village is a Pakistani citizen - they probably don't need to see your birth certificate to get you an ID, right? In US they want to see proof that you are a citizen and you are who you say you are, which is what (some) people have an issue with, even if you sent buses with all equipment on them to random american towns people just might not have the right documentation on them to pass the checks.

But yes, I agree, it is a pathetic problem for a 1st world country to have - just sort it out.