MurphyA/hacker-news huggingface dataset:
by stringsandchars | 2025-04-14 13:25:56+00:00
Aside from my doubts about the way this is measured, is it even a good strategy to simply chase the currently "most popular" languages?

A few years ago I shared an office with three aged graybeards who sat in a corner and spent 3 half-days per week silently working on legacy COBOL systems. I thought they were something of a joke, and said so when a person with insight into their invoicing was present. They corrected my impression.
by drweevil | 2025-04-14 13:26:04+00:00
I have a pair of 10x50 Carl Zeiss Jena (East Germany) binoculars. Good optics, physically still in good shape. Bought them in an optical shop in East Berlin in the early '80s.

My partner came with a snow shovel that belonged to her grandparents. It's probably my favorite they-don't-build-'em-like-that-anymore object. I'm guessing it's mid last century, '40s, '50s. It's still solid af and easily better than anything I could get at Home Depot nowadays.
by immibis | 2025-04-14 13:26:41+00:00
bugs* ironic

It depends on whether you approach programming from a perspective of writing piles of obviously correct abstraction layers (the total effect of which is to leak so much the solution ends up being wrong anyway), or from the direct unabstracted perspective of actually making the computer do what you want it to do (which does not preclude the solution from using abstractions).

I call them the Uncle Bob vs Casey Muratori school, after Casey's lectures such as "Clean Code, Horrible Performance": https://www.youtube.com/watch?v=tD5NrevFtbU
by wyclif | 2025-04-14 13:26:43+00:00
If anyone here has only worked in the EU and wants to see what the US layoff process is supposed to be on a good day, just watch the movie Margin Call and the scene where Eric Dale is called into the office by HR to be fired.

There's a scene where they put a folder in front of him with a brightly-coloured sailboat on the cover labelled "LOOKING AHEAD." It's exactly as grim as it sounds.
by Der_Einzige | 2025-04-14 13:26:59+00:00
Sorry, but I DO have business investing in early stage startups. I called huggingface being this big back in 2019. And given your first sentence, I'm going to 100% call this out as projection on your part.

Folks who work in AI/ML know how to invest in the space! You're welcome to ignore the fact that Unsloth is objectively going to pop off (likely be acquired by huggingface) and anyone who invests in it will come out ahead.
by throw310822 | 2025-04-14 13:28:01+00:00
But isn't the most important reason the simple fact that with those tariffs a hundred million Americans would not be able to afford an iPhone any more?

Go explain your voters- that voted you because you promised to improve their life and make them rich- why they cannot afford one of their most beloved items anymore (while Chinese and European still can!)

Which is the same reason for the continued postponing of the TikTok ban: it would cause a collapse in government rating such as it's probably never been seen before.
by ggus | 2025-04-14 13:28:38+00:00
Bolsonaro termed "far right" seems to be on the mark though. The guy praises military dictatorship, with many military figures in his government. He targeted the press and judiciary as enemies of the nation, and so on.

Lula hasn't nationalized industries, hasn't seized wealth, or even tried to, so "far left" doesn't seem to be as fitting. Where are the burnt churches?

Now, about corruption, I'm pretty sure neither shine, but that's Brazil for you. Wasn't the Bolsonaro family found to have bought around 50 properties in cash? Smells about as corrupt as the other side, sadly.
by thatguy0900 | 2025-04-14 13:29:18+00:00
"The news, met with disbelief from patrons and staff, followed a closely watched visit by the US secretary of homeland security, Kristi Noem, in March. Touring the library, Noem said “USA number one!” and then hopped over the black tape separating the two countries and said “51st state” when she landed in Canada. She repeated the joke – echoing Donald Trump’s recent fixation on annexing Canada – three times."

Absolute insanity, clown behavior
by KMnO4 | 2025-04-14 13:29:22+00:00
The UI changed in the latest update but it’s not that hard.

Ask: previously was chat, and just tries to answer questions. Does not have the capability of editing your code directly (although if it provides a snippet, you can always click to apply it to the code).

Manual: previously was composer in standard mode. Can edit code across multiple files, but only works one prompt at a time. So if you ask it to edit tests, it will do that and then wait for your next input.

Agent: previously composer with agent mode enabled. Same as manual, but can figure out next steps and automatically execute them. For example, it can edit the tests, then run the CLI command to run the tests, then edit the code again if there are test failures, and repeat.

I find agent to be most helpful when you know the end goal but you need to be clear about what you want. Tell it things like “run the tests to make sure they’re working” and “search the codebase for where this class is used”.

I find manual best for when you know what small steps to do. Like, “create a helper class for managing permissions”, followed by “write tests for the profile view that checks permissions”, followed by “refactor the profile view to use the helper class”.
by slau | 2025-04-14 13:29:51+00:00
Because you'll still need UX experts for each platform. And people who know how to get through the App Store review. And expertise to handle each platform's quirks, push notification implementation limitations, etc.

Things like ReactNative or <insert cross-platform app dev toolkit here> miss exactly the same point that CEOs firing engineers over LLMs or vibe coders do: the code was _never_ the problem. It's all the domain expertise that allowed you to produce said code.

Do you know how often I use an app that was clearly built for Android, but also happens to run on iOS? Most likely once, and then never again. Because all the conventions are wrong, and it requires more effort than what I'm willing to give it.

Granted, I haven't played around with Flutter so maybe I'm unaware of how good these cross-platform solutions have become, but still.
by lizknope | 2025-04-14 13:29:55+00:00
Why didn't I get any money from my startup? - A guide to Liquidation Preferences and Cap Tables

https://www.reddit.com/r/startups/comments/a8f6xz/why_didnt_...

I've posted this before but it's a great read. Even if you have millions of shares, the dilution and later investors could still leave you with nothing.

I worked for 2 startups, both failed, but I never got to see the cap table.
by duxup | 2025-04-14 13:30:04+00:00
I don't go to the doctor a often as I should. I went recently and I could sense my doctor gear up for a sales pitch on catching up on my vaccines (it wasn't behind as much as it was time for a new TDAP. I stopped them and told them they didn't have to sell me on them I was cool with it.

It's sad doctors have to spend their time on things that are clear benefits to people (and the people around them) like that.
by 542354234235 | 2025-04-14 13:31:03+00:00
It depends on how you were uploaded. If they scanned your brain and recreated it, that would be a copy. But what if they scanned your brain once a week and each week, replaced a billion neurons with cloud-based ones? There would never be a time where there were two “yous” and whatever personality changes that came from having faster and more accurate digital neurons would be spread out over several years, much like children growing into adults.
by roetlich | 2025-04-14 13:31:08+00:00
Well I personally almost never use linked lists, don't like them. But Zig seems to think otherwise, they have two implementations in the standard library.

I don't know much Zig, I just wanted to ask how to use the type that the article talks about?

Let's use the very simple example from the article. Let's say I want to extract this code into a function:

while (node) |n| { const user: *User = @fieldParentPtr("node", n); std.debug.print("{any}\n", .{user}); node = n.next; }

1. How does that look, what's the type signature of this function? 2. What happens if I put in a list doesn't contain users? Do I get a simple to understand compile time error, or can I segfault because I'm accessing bad memory?

And I don't think that would need any generics, since the list type isn't generic, right?
by andai | 2025-04-14 13:31:16+00:00
I appreciate this, though the hard rule seems to be doing more harm than good. For example, one 5-letter word became 6 words, because 5-letter words aren't allowed!

So while the vocabulary is kept low, the writing style becomes harder to process, at least for me. I wonder if there's a way to win on both fronts, to make it maximally comprehensible for all involved.

I'd argue "use normal words that everyone knows" (even if they are 5 letters!) would be included in such a strategy.

Edit: Okay now I made it further in and I'm being asked to keep several different perspectives in my head simultaneously, perceiving different events at different rates of time... I think I need a diagram... or a microdose...
by trelane | 2025-04-14 13:31:16+00:00
I am always skeptical of claims that some workers are just lazy bums skimming money.

I don't think most folks graduate college and think, "You know what sounds amazing? Sitting at a desk doing nothing five days a week!"

I expect most of the time they have good reason to be "unproductive," and would respond positively to those reasons getting addressed, or you're not capturing their contributions accurately with whatever metrics you're using to find "slackers."
by drdrek | 2025-04-14 13:31:17+00:00
Don't get sucked into blind rage over nothing. Why do most employees nowadays prefer cash over options in startups? because for every successful startup where the secretary got a vineyard there are 99 when the startup limps along for 12 years and then closes without a sale. Generational wisdom turned into "Dont get suckered for low wage and options, get a high wage and invest in the S&P".

Will there be lucky founders that become very rich? absolutely. Founders are generally very risk aggressive and are willing to go boom or bust. But for an average person that just want a good life why risk lower living standards for a low change of riches?

If you are very risk aggressive you can push for more equity, but expect your salary to be much lower than your peers. Most veteran SE will advise against it.
by lou1306 | 2025-04-14 13:31:54+00:00
> Using a stricter language helps with reducing some classes of bugs, at the cost of reduced flexibility in expressing a solution and increased effort creating the software.

First of all, those languages do not "help" "reducing" some classes of bugs. They often entirely remove them.

Then, even assuming that any safe language with unsafe regions (Rust, C#, etc) would not give you comparable flexibility at a fraction of the risk... if your flexible, effortless solution contains entire classes of bugs, then there is no point in comparing "effort". You should at least take into account the effort in providing a software with a high confidence that those bugs are not there.
by shit_game | 2025-04-14 13:32:03+00:00
This should have been something that everyone saw coming, but it can be hard to imagine what's happening before it does, particularly when you yourself aren't incentivised to - companies with access to your phone through an app (and the phones of the people around you) are going to spy on you, and that data will (almost assuredly) not be secure. It's probably going to be abused. It's absolutely going to be sold.

I just went to delete my Lyft account (which I haven't used in several years), but I'm unable to do so without first accepting their new terms of service, which I don't/won't. There doesn't seem to be any means of contacting Lyft outside of their app or website, both of which require that I agree to those afore mentioned terms before contacting them. This seems illegal in at least some US jurisdictions, but

This seems foreboding of some very dangerous situations for marginalized or targeted groups in the future.
by stego-tech | 2025-04-14 13:32:04+00:00
It sucks.

The runway they give you is generous, sure. I got two and a half months on payroll and another six of severance and COBRA. I got the same spiel: not about merit, bosses shocked and surprised, free to apply to internal roles…

It still sucks, because the very first thing you do, the thing we’re all trained to do, is to think: “What did I do wrong?” And in the weeks ahead, you’re going to look back at the body of your work, the output you created, and you’re going to realize that you did nothing wrong.

Rather, you were just inconvenient to keep. It was little more than a decision of personal politics, not objective merit. An inconvenient line on a spreadsheet to a leader somewhere who wanted to steal your ideas for themselves, or who couldn’t stand sharing power with an undesirable element within the company. Or maybe they remembered that time you shot down their idea, or have a report showing you were active in the “wrong” chat channels. Maybe you weren’t in the hub they wanted to prioritize, or maybe you were too involved in politics for their liking.

Or maybe they just felt that your premium wages would be better spent on a fleet of underpaid, overworked Indian professionals with tenuous contracts.

It could be any of those. It could be all of those. But you’ll know, deep down, that the decision made wasn’t remotely objective, and therefore had no place in an objective institution like a business. Your leaders gave into vibes, and felt you were an acceptable casualty.

At some point you’re likely to feel rage. Hang onto that, and use it to temper your future. A future where you won’t make such petty decisions. Where you’ll stand up for your workers. Where you’ll build a better working environment that treats humans with dignity and respect, where layoffs are a last resort after a reorg, after everyone whose role actually got eliminated had their skills and output shifted to new, valuable roles instead of shown the door.

The rage is acknowledgement that you deserved better, and by extension your colleagues, peers, family, and friends.

Realizing no current business is any different than the others because they’re all run by MBA bros from consulting firms who lack any original thoughts for themselves is, in a sense, liberating. You finally see that there is no “better” out there, and certainly no objectivity or meritocracy. That everything thus far has been a temporary illusory reprieve from that reality.

But once you see it, once you acknowledge it, you can finally join others in building such a future together.
by arandomusername | 2025-04-14 13:32:25+00:00
You said Trump dismantled social nets. Your AI slop doesn't mention any social nets that were dismantled.

Please tell me, what social nets could one rely on before Trump that they cannot now?

> but it doesn't include stuff like people's pension plans being dependent on economy being in "number go up" state, which is not the case now.

Sounds like a ponzi scheme.
by dogleash | 2025-04-14 13:33:08+00:00
> is it not accepted

I haven't been fired, if that's what you mean.

But I also just read an article calling out my non-committal cowardice.

I'm OK-enough at managing up these days that you could weasel word around and say it doesn't apply to me. But it's a failure pattern of management that I've seen happen to more than just myself.
by shagie | 2025-04-14 13:33:20+00:00
Most states have a WARN act that covers even more. For example, California - https://edd.ca.gov/en/jobs_and_training/Layoff_Services_WARN...

While federal law has:

Plant closings involving 50 or more employees during a 30-day period.

California law has:

Plant closure affecting any amount of employees. Layoff of 50 or more employees within a 30-day period regardless of % of workforce. Relocation of at least 100 miles affecting any amount of employees. Relocation of a call center to a foreign country regardless of the percentage of workforce affected.
by boomlinde | 2025-04-14 13:34:32+00:00
@fieldParentPtr is not type safe. It assumes that the given pointer is to a field of the given name in the inferred type. Zig can detect at compile time whether the inferred type has a field of that name of the same type as the pointer child. So far, so good: type safe.

The lack of safety stems from the fact it doesn't know that the assumption that the pointer has that parent is true. Here's a very simple illustration. It'll compile.

const T = struct { field: i32 = 0, }; pub fn main() void { var nonfield: i32 = 0; _ = @as(*T, @fieldParentPtr("field", &nonfield)); }

`nonfield` doesn't have a parent T. The use of @fieldParentPtr here causes what the official reference calls "unchecked illegal behavior"; it isn't checked even in the safe build modes.
by schuyler2d | 2025-04-14 13:34:49+00:00
Against the Day is by far my favorite. It has the same sweep-of-history as Gravity's Rainbow and some others of his epics but I think it's the one where I actually feel for the characters more than them being mostly a vehicle for the historical braiding.

Probably the best to lead into Shadow Ticket too since that is pre-WWI.
by pjmlp | 2025-04-14 13:34:58+00:00
Kotlin's fame is mostly due to Kotlin Virtual Machine, aka Android.

So as long Android stays around, Kotlin will keep its relevancy.

Same with Swift and iDevices, especially since Metal was the only thing that Apple still bothered to implement in Objective-C first, with Swift bindings.

Now Ruby, well outside Rails I hardly see any demand for it on the circles I move on.
by dijit | 2025-04-14 13:35:44+00:00
this matches my experience actually.

I thought I didn't like Apple computers, but in hindsight I remember feeling that the eMac/G5's that I was using at school were clunky and slow compared to the contemporary Windows XP machines.

This was 2005- so XP on period correct hardware was extremely lean in comparison.

I think the latency was a pretty substantial reason for this in retrospect. I did not have nearly the same experience in 2012 when I bought my first Macbook Pro. (which I purchased because it was a UNIX that could run Microsoft Office and our VPN software... and I've been a MacOS user on/off ever since).
by gsf_emergency_2 | 2025-04-14 13:35:48+00:00
trying to explain a vacuum cleaner to someone who has never seen one

if you don't specify that someone is actually yourself, it makes grad students seem too bourgeois.*

*Meshing Rainer Weiss' dictum[0] with Anglo-Saxon dictum [1] we have the post-PG (unintentional extremist[2]) dictum:

Make it possible or make it accessible.

In 4-letter-words

Make it real or show it's easy

Usually, both the reading and writing of papers violate these dictums. (The trying to explain to yourself in babytalk, day after day, is naturally kosher.)

[0] there are only 2 games worth playing: the opening-game and the end-game

[1] do something worth writing about or write something worth reading

[2] https://note.com/tokyojack/n/n64147f0ff2f3
by solardev | 2025-04-14 13:36:02+00:00
I have a Jura automatic espresso machine that I've used every day, multiple times a day, for many years now. I bought it used and didn't really expect it to last, figuring I'd upgrade in a few months. But several years and cross country moves later, it's still as reliable as the day I got it, even with all the moving parts and built up coffee dust and moisture. I've brought it to a few workplaces and coworkers were also impressed by it and used it throughout the week.

It's an incredible piece of Swiss engineering and such a stark contrast to the world of disposable personal electronics I'm used to. Best $800 I ever spent on a machine.
by rqtwteye | 2025-04-14 13:36:03+00:00
"I have seen people (one was a VP of Engineering) escorted out of the building, sent in a cab to home along with a security guard (this was in India), not allowed access to computer or talk with other employees. "

Some companies are just paranoid. My company has now had several rounds of layoffs, people were kept on for a few months, got severance and everything went as harmonious as layoffs can be.

The cruelty the way some companies and now Musk with DOGE are doing it is simply not necessary and reflects a lot on the character of leadership. To me it looks like they are deeply insecure and hate their people.
by danielktdoranie | 2025-04-14 13:36:05+00:00
So as most of you may know, Marathon started out on the Mac in November 1994. Marathon was the Mac gamer's Doom or Duke Nukem. Mac gamers buying copies of Marathon helped contribute to making Bungie the financially successful company the are today.

Sadly Bungie (game publisher) seems to have forgotten that it was Mac gamers who helped Bungie to become so popular. The new Marathon re-boot is only being released for Windows PC, XBox, and PS5. No Apple Silicon native release.

I have created a petition to send to Bungie to address their decision.

I humbly ask you please sign the petition and share it if you can.

Thank you.
by KittenInABox | 2025-04-14 13:36:11+00:00
I noticed reading this and there is yet to be a study on if this affects patient outcomes, which is where the real meat is, IMO.

One of the experiments is described as: "In their first experiment, the researchers created two fictitious profiles of dermatologists and randomly varied different attributes, such as race, gender, school attended, online ratings and political affiliation. Asked which dermatologist they were more likely to visit, both Republican and Democratic respondents preferred a doctor who shared their political beliefs."

It makes sense to me that a conservative person who is anti-abortion, wary of early sexual education or birth control, concerned about their child being exposed to gender transition or whatever other politics would want to see a doctor who simply would never suggest those things. It also makes sense to me that a progressive trans/gay person or supportive parent of a transgender/gay child would seek out progressive doctors who wouldn't try to convince them to detransition/conversion therapy or something.
by sarven | 2025-04-14 13:36:44+00:00
Today, checking the time is easy. We have smartphones, watches, computers, and even ovens. Everyone understands years, time zones, and UTC. It all seems straightforward. However, time can be unexpectedly complex in IT systems, leading to rare and tricky issues.

Different systems face various time-related problems, often involving precision and synchronization. In this article, I’ll focus on one unusual case that has occurred only 27 times in history.
by no_news_is | 2025-04-14 13:36:53+00:00
No, you didn't. This doesn't match the original text.

0:47 Added in text: "Okay, here's the text prepared for reading aloud."

0:58

Original: "Okay, yes, it's a dumb idea,"

Audio: "Okay, yes, it's a bit of a strange idea"

1:08

Original: "Or do you, say, list off to the left some? What I want to ask you is: Can you find out? Hell no. You can see that, sure."

Audio: "Or do you drift off to the left a bit? The question is, can you figure it out? No, you can't. You can see that."

---

It appears you are using "Variational Lossy Autoencoder (VLAE)" as the basis for your website[1], which might be good for simplifying more complex things but defeats the purpose here. It's using more than four letters in words, and censoring out "dumb" and "hell"?

Why don't you try pointing that another explanation of the theory of relativity without this limitation? Seems like that'd be a more interesting exercise.

[1a] https://www.pdftomp3.com/shared/67e178f428779824db2e06c6 [1b] https://pdf-reader-storage-f55b8c51173224-staging.s3.us-east...