MurphyA/hacker-news huggingface dataset:
by maximumgeek | 2025-04-03 03:57:57+00:00
This is just an ad without any context?

Search could be better? Yes, yes it could.

I search for words, can even indicate I want search results with a keyword included and it will be ignored. And then I have to sift between what is the search result, and what is an ad.

And if I get another quora answer....

But, this post? it was a waste. We do some hand wavy stuff, come try us.
by saturn8601 | 2025-04-03 03:59:05+00:00
How do you slog through something you truly hate?

More than a decade ago I was hired as an intern at Colgate-Palmolive as a software developer. Turns out they were(are?) one of the largest SAP deployments in the US. The entire company revolved around SAP. Due to lack of college graduates knowing SAP, they took great pains to treat me extremely well and train me (a CS major) in ABAP using SAP Netweaver.

My project was more ambitious than the rest of the group because I had enough courage and bravado to be assigned a project like that. In fact I made it a point to be 'brave' and make myself look really good in front of the upper level managers. I tried to know everyones name, even in other departments and to be super polite and humble around any sort of manager there. When I finally got some tasks to do, I was so miserable that I finished multiple days without getting anything done. I felt so depressed thinking that I slogged through four years of CS for this?

In the end I managed to finish last in the cohort and Colgate took the rare(at the time)decision to not extend me a full time offer. I felt like a complete failure because I didn't put in 100% and I felt like I let my mentor down.

At the same time I know that I truly hated it. To this day seeing pictures of SAP GUI gives me anxiety and makes my stomach turn. How do you overcome something like that and push on? It does not always seem like a sure thing. I sometimes think what if I had pushed through and gotten the offer? I'd probably still be at Colgate like my mentor was.

With the benefit of hindsight I have learned to be super appreciative and thankful for them treating me so well but im glad circumstances led me to not ending up there. But really who knows if it would have been better in the long run? Whenever I see Colgate it actually evokes positive memories of that time. But the biggest thing I learned was to not bite off more than you can chew and if you don't truly love what you are doing there is another path out there.
by jsight | 2025-04-03 03:59:24+00:00
That Wayfair scenario is very familiar to me. I had a really similar experience with them delivering a table and chairs. They stayed for a shockingly long time to assemble them. I figured it was just really hard to assemble. That was somewhat true.

However, when I looked at them, I was shocked at how shoddy the work was. Cross braces were installed backwards. Seat bottoms had huge gaps from the underlying support. Some screws were literally just missing, with parts that would just flop. A lot of this stemmed from not paying attention to the instructions, which specified really specific sequences for putting in the screws, leveling, then tightening. Those steps were obviously engineered to minimize misalignment, but this crew thought they knew better... sigh

I didn't ask for a new crew, as I didn't trust them to send a better crew. Instead I just spent a good evening redoing quite a bit of the work.
by hattmall | 2025-04-03 04:01:43+00:00
How does having less friends actually benefit you though? It just seems dumb, because presumably you were friends for some reason.

I don't see how cutting them out creates a positive. It's like "Javy thinks men can become women", now I have one less person to play disc golf with.

What's the point of that? People can have different opinions, it's not their only character trait.
by tgma | 2025-04-03 04:02:39+00:00
The terminology makes all the difference, though. You cannot just handwave it away. A US National is not removable by the discretion of U.S. Secretary of State, but a LPR can be found deportable based on that. The law could not be more clear. This is not a First Amendment concern. You don't have to commit a crime or to be charged with one. Even your mere presence is enough to trigger the statute. You can debate if Rubio should exercise that right and vote for a different President to elect a different cabinet to execute the law differently, or to elect a different Congress to change the law, but to say he does not have the right or that it is vague is preposterous. It is just that some people are not aware of the details and may have a different expectation compared to the status quo.

If you don't like that status quo, that's fair enough, but that's not a proof of non-resilience. The system is supposed to operate based on some approximation of will of the people and it has been quite resilient in approximating it.

As for me, allow me to be skeptical of you having a coherent, well-thought-out alternative of an immigration system with all the consequences and corner cases covered, especially if you are not familiar with the basic terminology of the current one.
by jay_kyburz | 2025-04-03 04:03:07+00:00
I had quick scan of the comments but I didn't see anybody else make the point, so here is my 2c.

I believe the problem is the two party systems and how our government is set up, people vote for one tribe or the other. There is no _value_ to being educated on individual issues because ultimately you simply have to choose between 2 people who are affiliated with a party.

How awesome would it be if individuals could vote on specific issues, perhaps only after proving they have a working knowledge of the subject matter.
by jprx | 2025-04-03 04:03:18+00:00
Yes!

Our labs include building your own real spectre attack against the kernel, bypassing ASLR and building ROP chains with various side channels, finding and exploiting backdoors in a RISC-V CPU by building a hardware fuzzer, and more.

(source: I designed the Spectre lab plus a few others)

All our labs are fully open source for anyone to try: https://github.com/MATCHA-MIT/SHD-StarterCode

If you give them a try, please do let us know what you think! We genuinely want these activities to be fun and approachable (we designed them like a big CTF) and welcome feedback from the community.
by keiferski | 2025-04-03 04:04:31+00:00
My thought is that if someone aligns exactly with X political ideology, they aren’t really thinking for themselves and are just adopting whatever their tribal group believes about X subject. I see this all the time - collections of beliefs that otherwise have nothing to do with each other, but are adopted by the same people because “that’s what X group thinks about it.” This is very rarely a conscious thing.

This becomes even more obvious when you look at how these collections of beliefs have changed over time, which to me just shows how they aren’t based on any fundamental intrinsic personality traits but are trendy and groupthink-based. Ditto for geographic differences.

So I don’t think being a centrist implies one is not tribal, rather that the degree to which your beliefs on a variety of issues align with the “default” of a group implies how tribal you are.

In other words, a politically thoughtful and independent person probably has a basket of opinions that don’t fit into neat left or right, liberal or conservative, etc. categories.
by billfruit | 2025-04-03 04:04:38+00:00
But software engineers are tasked with solving business problems. Ofcourse writing code is part of it. But other things too, for example communicating with users to understand requirements better, which lead to a reduction in scope, which reduced the code to be written.

Or sometimes it is found that a good solution can be devised but which satisfies about 80 percent of the requirements, and it may be prudent to attempt to negotiate to remove the 20 percent requirements which cannot be satisfied.
by boneitis | 2025-04-03 04:04:47+00:00
This is the asterisk that always stands out to me with the raving posts about how great people's dinosaur Thinkpads are.

Yes, if I don't have to keep multiple browser windows, video calls, Slack, and whathaveyou open, then I too can get by with an ancient Thinkpad. If it is enough for you, then all the power to you. I am sincerely supportive of the fact that you can stick it to today's consumerist, disposable tech industry.

Here I am on my T480s with 40 GB memory (8 is soldered) and the highest tier CPU for the Thinkpad gen (apparently these are soldered on too), and it's a drag. I'm trying to scrape by until I can start thinking about saving up for a new Framework.
by ggm | 2025-04-03 04:05:18+00:00
We even have aspiring leadership in Australia who see this as a win win and have proposed offering JV in uranium, lithium and rare earths. Murdoch press backs the idea, even when criticism of Trump is overt they always go to "we need him more than they need us" because of 50+ years of Defense posture which assumes we're insured by US forces.
by qingcharles | 2025-04-03 04:05:56+00:00
This is standard. Hollywood is horrible, though. It's not usually the best stuff that bubbles to the top. And even when the good stuff does get visibility, everyone wants a piece of it (especially if they are put up some $$ or other benefit) and meddles incessantly with the production, from the script, to the casting, to the marketing.

In the music biz we used to call this "write a word, take a third." I've never asked what the Hollywood equivalent is. Every production gets enshittified.

There are mountains of supremely talented people in Hollywood, but an equal amount of totally untalented chucklefucks with money and connections to screw everything up.

Maybe the AI will put production back into the hands of the talent. Their scripts will go unmolested by talentless moneyed hacks.
by skydhash | 2025-04-03 04:06:14+00:00
> And now it's "they are never separated, and this holds true for whatever systems"

What I described as separation is a a decomposition into modules which are linked together through a contract. CSS has cascading and selectors, while JS has the DOM API. Otherwise, it would still be attributes on tags.

BEM is just a development technique, not a technical requirement or capability. Without cascading, we would probably have components and inheritance.

> Remember how you started with how every UI system and framework was somehow this separtaion of style and presentation and structure and interactivity?

On Android and iOS, you have XML for layout. QT and GTK have support for CSS like styles. I remember at least one of the have supported XML for layout definition. They're not required, but they make it easier to build the UI as it almost always have a tree structure.
by rf15 | 2025-04-03 04:07:00+00:00
European here. I'm on the left, but I don't hang out much with people from the left: they're really often driven by ideology and cannot for the life of them come up with working political plans to push the needle. They're completely rejecting the complexity of compromise and gradual change towards the ideal, convinced that any act that isn't absolute is a betrayal of their values.
by lotharcable | 2025-04-03 04:07:43+00:00
I use a trackball almost exclusively. I will go back to mice for first person shooters. Mice can move faster and have easier time with pointer accuracy. This is where the sensor on a trackball is very important as it helps a lot with tracking, but mice will always have a edge if you are competitive. For stuff like Cyberpunk that isn't so hard core I have a fine time with my trackball.

Trackballs come in all sorts of different sizes, shapes, and layouts. Which works best is kinda up to your own physiology. That being said i find the thumb-style tend to work out a bit better for sitting on a sofa and plopping it down in random locations. It doesn't need a hard surface, being sideways or odd angles isn't going to bother it.

Another advantage for the trackball is you don't need much room for it. Just need enough room for it to sit on something without falling off.

If I have somewhere flat then I prefer to have the big center ball trackballs. Having a bigger ball with more mass is nice as more energetic movements doesn't cause it to rattle around and it is nice to be able to use multiple fingers.

Laptop trackpads are probably the worst devices ergonomically. It doesn't really matter how nice of quality they are as it is the size and position of them that make them bad to use. It is the repetitive twisting and bending of the wrists to reach them that make them bad.

If you have a very nice trackpad that is on the side of the keyboard then they probably can be very nice, though. I haven't tried them so I can't say anything from experience.
by rdtsc | 2025-04-03 04:07:55+00:00
Above they are still called targets though.

> Every morning, officers recalled, the Ukrainians and Americans gathered to survey Russian weapons systems and ground forces and determine the ripest, highest-value targets

> Given the delicacy of the mission, was it unduly provocative to call targets “targets”?

It's about "the delicacy" of the mission not them moving or not moving. It could have been "potential targets" or "moving targets" instance otherwise.

> “If you ever get asked the question, ‘Did you pass a target to the Ukrainians?’ you can legitimately not be lying when you say, ‘No, I did not,’” one U.S. official explained.

The un-named "US official" spelled it out for us eventually so we don't have to guess and read between the lines.
by JamisonM | 2025-04-03 04:08:14+00:00
Is this an American thing? No one has ever in my life asked me "Who did you vote for?"

I have had plenty of people behave in a way that made it clear they assumed I agreed with them on political matters/issues that would have us voting the same way (sometimes correctly, sometimes incorrectly) but I have never been asked this question. Is it common or is it a contrivance in service of the article?
by godelski | 2025-04-03 04:08:17+00:00
Here's a less pedantic version:

An academic researcher isn't hired to do research, but publish papers.

Similar to TFA, I think the issue is more about alignment than anything. Goodhart's Law creeps up slowly and can destroy any business or industry. Both can also stay off alignment for an uncomfortable amount of time. In our research example, I think it is clear we want our researcher to actually be doing research and that paper publication is a (measurable) natural result of that work, but it should be a bit more obvious to see that there are ways to increase your publication rate without increasing your research rate (or even increase your publication rate at the cost of your research rate). (Obviously I disagree with TFA's point)
by frfl | 2025-04-03 04:08:52+00:00
Where does one find a replacement battery for a thinkpad that doesn't die after 6 months?

I spent $100 on what I thought was a legit and reputable local middleman for laptop batteries (of course they just buy from China), but even then first battery was half dead on arrival, and second free replacement was dead in around just under a year with rapid capacity decline after 6 months.
by kirrent | 2025-04-03 04:09:13+00:00
I lived on a catamaran around 2000 onwards as a kid. Solar panels were surprisingly widespread, particularly on multis with outboards (and therefore limited ability to make power through alternators). Obviously the $/W sucked, but people also didn't have as many power draws. One big drawback was older generations of solar panel had terrible performance in partial shading. A stay or rope shadow passing over the panel was a big issue because of fewer bypass diodes, simpler battery chargers, and so on. That sort of thing is a bigger issue for a yacht with less clear space for panels.

So there were a lot of diesel powered yachts generating power throughout the day. Something that was pretty common back then as an adjunct (and much rarer now) were small wind generators. Seemingly you could choose between noise and power output because the fancier ones made a racket and the quieter ones always seemed to be on boats idling their engines all the time anyway. When we entered anchorages, we'd make sure to avoid being near the loud ones. I can't imagine what it would have been like living with one.

Hydrogenerators weren't very common (they're a bit more common now) but my dad was given an old 12V tape drive motor by a friend and I remember him letting us help him build a towed generator. The tape drive motor sat on the back of the boat connected to about 20m of rope going to a dinghy propeller on a piece of stainless rod to try keep it underwater. Drilling a hole through the motor shaft with a handheld drill was the most time consuming part of the build. We called it toady (short for towed generator) and watching the input Ammeter on the battery bank go all the way up to 6A on a cloudy day felt like magic. It's part of what made me want to be an electrical engineer as a 10 year old.

Given all that, on a 19ft outboard powered yacht in 2002 a generator probably was the best solution for one voyage.
by nextos | 2025-04-03 04:09:16+00:00
IBM-era ThinkPads were great, but Lenovo has been progressively diluting the brand, trying to copy Apple, and releasing way too many models to be able to pay attention to detail. Still, they are often the best x86 machines, but competition from Framework is more than welcome.

Something that I find particularly annoying are persistent issues with noisy cooling systems. Some models are great, but others have poorly thought fans and overly aggressive firmware. Software fixes can only remedy part of the problem. I wish they stayed closer to their original ethos of high-quality utilitarian computers.

Something like the 25th and 30th Anniversary Editions should be in their main stock product line, i.e. stop messing with keyboards please. The original was fine.
by k5jhn | 2025-04-03 04:10:09+00:00
Location: Seattle, WA

Remote: OK (hybrid preferably)

Willing to relocate: N

Technologies: Python, PostgreSQL, Docker, Bash, AWS, GCP, Terraform, REST APIs, Django, FastAPI, Redis, Typescript, Javascript, React, Node, Kubernetes, Apache Kafka

Résumé/CV: https://docs.google.com/document/d/1Zr_QfXABmW9HD10Tb1N1gMS0...

Email: alexkosj@gmail.com
by ChuckMcM | 2025-04-03 04:10:17+00:00
Heh, I've got a T440 [T420i, see edit] I'm running FreeBSD on. Definitely tank status. It is even one of the 'rare' HD ones.

EDIT: I just turned it over to check and its a T420i Type 4177-X07 pretty much solid as a rock. I also discovered it would run with 16GB of RAM so there's that.
by sydbarrett74 | 2025-04-03 04:10:57+00:00
A rebirth of mercantilism. Peter Navarro is a huge fan of it, and in his heterodox fever dreams, laments that most of the world abandoned it several centuries ago. In his mind, a net surplus of currency is every bit as important as having a strong military. People like Lighthizer have drunk the coloured sugar-water.
by s1artibartfast | 2025-04-03 04:12:03+00:00
Exactly, and that is the problem that needs to be fixed. Paying more for the same things doesn't solve a spending problem. It makes it worse. You could completely eliminate international trade and still have a debt problem. You just slowly sell the country and economy to lenders until there is nothing left.

Edit: when you run a deficit, you trade worthless paper for real goods and services. If you don't take on debt, they have nothing to do with it but spend more and buy more goods. If you limit debt, you get negative interest rates in real terms
by ellejarina | 2025-04-03 04:12:10+00:00
Exa Labs Inc. | Onsite San Francisco CA | Full time | Multiple Roles

Exa is a search engine built for AIs. We enable developers to filter the internet's content with complex queries in order to bring the world's knowledge into their AI apps.

Please apply here https://exa.ai/careers

•Frontend Engineer

•Full Stack Engineer

•Backend Engineer

•ML Research Engineer

•Sales Engineer

•Account Executive

•Designer

•Sales Development Representative (SDR)
by hattmall | 2025-04-03 04:12:24+00:00
Or... Trump isn't evil, he loves America and is doing the things he said the President should do since the 1980s. People who blanket think Trump is evil are victims of propaganda. People who voted for him are the ones paying attention.

Trump on Oprah in 1988 https://youtu.be/SEPs17_AkTI?si=odkWs3urOu0xq2nX
by neilv | 2025-04-03 04:12:41+00:00
One of the few things I'd change about the X220 is the strange 2-piece lid. (What looks like a cosmetic flourish in the lid is actually a seam.)

Two of the four used X220 units I've bought arrived with the lid end piece wiggling, because it was no longer firmly attached to the main piece.

The X200 and almost every other ThinkPad managed just fine with a 1-piece lid, including being rugged against drops, so I don't know why the change.
by tzs | 2025-04-03 04:12:59+00:00
> The formula simply reflects the premise that, in a fair system, trade deficits would average out to zero.

I don't see why you would expect that.

Consider a rich country that mostly exports expensive manufactured technological things. It imports one of the natural resources it needs for this from some poor country that is mostly poor farmers and the poor laborers who extract that natural resource they export.

Its hard to see a way for the rich country to not have a trade deficit with the poor county. Even with what the poor country makes from exporting their natural resources they are unlikely to be able to afford the items the rich country makes.

Or consider two countries that are both rich and have about the same population but have different tastes. Say in country X 90% of the population likes big SUVs and trucks and only 10% like small cars. In country Y it is 90% who like small cars and only 10% like the big ones.

A car maker that has factories in both countries could find it more efficient to have an SUV/truck factory in X that makes the trucks for both countries and a small car factory in Y that makes the small cars for both countries than to have both an SUV/truck and a car factory in each country.

But since the big SUVs and trucks cost more than the small cars Y is going to have a trade deficit in cars with X.
by shw1n | 2025-04-03 04:13:14+00:00
it was meant as a visual specifically for Paul Graham's article here: https://www.paulgraham.com/mod.html

I should probably generate a new one or just remove since it appears to have sent this message to multiple people

But yeah I don't think it's entirely tribalism, but I do largely agree with PG's essay, though I'd understand a contesting of his statement that "the left and right are equally wrong about half the time"
by btilly | 2025-04-03 04:13:27+00:00
Voting for a party explicitly demonstrates at least acceptance of if not outright support for its platform. You don't get to absolve yourself of support for kicking puppies because the FooBar party also includes a modest tax cut in its policy agenda that you really want.

Virtually no independent thinker is going to support either major party's platform, for the simple reason that both parties have a collection of inconsistent policies that are an incoherent ideological mishmash. Therefore you do not so much vote FOR a party as you instead hold your nose and vote AGAINST the other one.
by deterministic | 2025-04-03 04:15:16+00:00
Monads in Haskell is just a way to combine two functions into one when the output of the first function doesn't match the input of the 2nd function.

That's all there is to it.

It is not a way to "box values". Yes you can use it for that if the functions you combine happens to operate on "boxed values" (like Maybe) but that has nothing to do with the fundamental idea of what a monad is.

And yes there are "monad rules" that ensures that combining the functions "makes sense". But people sometimes use monads in Haskell that doesn't actually follow those rules. But it works fine anyways for whatever they are doing.