MurphyA/hacker-news huggingface dataset:
by yen223 | 2025-04-10 23:49:29+00:00
This comment proves my point about how "all the Haskell" hinders mainstream adoption of a thing. It's very easy for folks to miss the point of the thing!

Lenses and more generally optics are a lot more powerful than just dot-accessors. They are closer in spirit to XPath or jq, except that they are general enough to work on most data structures, not just XML or Json.
by cye131 | 2025-04-10 23:51:14+00:00
R especially dplyr/tidyverse is so underrated. Working in ML engineering, I see a lot of my coworkers suffering through pandas (or occasionally polars or even base Python without dataframes) to do basic analytics or debugging, it takes eons and gets complex so quickly that only the most rudimentary checks get done. Anyone working in data-adjacent engineering work would benefit from R/dplyr in their toolkit.
by refulgentis | 2025-04-10 23:51:58+00:00
Sure: I cant think any of the above would say "yeah cool make a LinkedIn competitor part time"

(I worked at Google 2016-2023. Open source and video games were approved, anything else wasn't even worth the trouble of asking. i.e. it was well known to be "no" and a great signal to your manager you were unhappy)

We also have the benefit of _knowing they lied_: they were hired as a contractor to build it, and weren't at big tech.

By way of analogy: you're right, of course a German could hold up 3 fingers to order 3 beers. In practice, it is a tell.
by epolanski | 2025-04-10 23:52:13+00:00
I feel like one very important factor in mortality is simply cultural.

The things that stand out more to me are:

- Russians tend to be much more prone to risky, dangerous or violent behavior. From reckless driving, silly behavior to unhealthy relationships with alcohol and drugs you really get lots of extremes. Those extremes further fuel tragedies and thus more of this behavior.

- at the same time, Russians are culturally less individualistic. In some sense we in the west care less for the state and more about ourselves. In Russia this balance is slightly different. This impacts the value and care people have for their own lives.

- Russians are a traumatized population imho. WW2 is still a major collective trauma. Another very major source of trauma is corruption. Most Russians I've met are borderline resigned that things can't get good. They can get better, happier for some time, but it's like there's always a huge cloud looming on their lives. I believe their culture of corruption and centuries of endless autocracies makes them negative further pushing violent, risky and unhealthy behaviors.
by fliellerjulian | 2025-04-10 23:53:19+00:00
Yeah Totally get that! for some people, sending a solid CV and letting the work speak for itself should be enough.

Openspot is more for folks who feel like their resume doesn’t tell the whole story. Maybe they’re career-switching, self-taught, or just want to show a bit more of who they are, not just what they’ve done.

That said, we’re working to make the process super lightweight — upload your resume, we generate a profile in under a minute. So it’s more of a bonus layer if you want to stand out, not a whole extra job search on top of everything else.
by smurpy | 2025-04-10 23:53:34+00:00
I've gravitated to the use of a 43" 4K TV as my main monitor (and have a few others scattered about for auxiliary purposes) and when hacking hard have a full screen emacs window split into lots of panes, vertically and horizontally a la Mondrian. I am confused about how others get anything done without a similar configuration! This new feature seems like it will be great fun.
by ryandrake | 2025-04-10 23:54:01+00:00
> c) not related to/competitive with the company's business.

Is a loophole big enough for a train to go through. BigTech can, and will, with a straight face, claim almost anything as "related to" something they are working on--because they work on everything. I have worked at two BigTechs and had to basically stop working on side projects because they both emphatically threatened (during onboarding) that they will aggressively claim IP ownership of moonlighting projects.

Anyone considering doing potentially commercializable side projects should do their due diligence. Even if you're right and they can't claim it, do you have the $$$ to fight their army of lawyers?

EDIT: The loophole's actual wording is:

"Relate at the time of conception or reduction to practice of the invention to the employer’s business, or actual or demonstrably anticipated research or development of the employer"

Which I think we can all agree is pretty broad. Be careful out there!
by sksxihve | 2025-04-10 23:54:18+00:00
> Don't tell these founders not to build their thing.

Where did I tell them not to build it?

> We're all actively discriminating against those who don't have the faculty or propensity to code or engineer as they would lower the productivity of our software teams. Discrimination here is healthy for the good of the whole.

That's not what hiring discrimination is, companies aren't required to hire someone who is not capable of doing a job. That's why you'll see requirements like "ability to lift 50lbs".

> Some are unjust and we can do things about them.

Yeah, like laws against discriminating based on age, race, disability, etc..
by Workaccount2 | 2025-04-10 23:55:24+00:00
It seems very likley that Apple will license this in some form. They already are testing with ChatGPT and Gemini, but I don't think OpenAI is going to be able to undercut Google on price. And how it looks right now they might not be able to beat them on performance either.

Deep down though I can feel Apple must have some level of aversion to this. They have been trying to untangle themselves from Google for so long.
by ataridreams | 2025-04-10 23:55:59+00:00
Well on behalf of the chemists and materials scientists of the world I apologize! It was certainly not the chemists who had to be "ordered...to halt discharges of all fluorinated compounds into the river." But as a chemist my hunch is that simple non-structured per fluorinated small molecules are probably as biologically inert as silicones in vanishingly small doses. They just are even less degradable. And certainly the ick factor of fluorine vs carbon stabilized strings of molecular sand. (yes i like hearing myself write). I am blanket skeptical of most studies showing toxicity of compounds designed to be inert. It's usually the parts per mass animal vs parts per mass water that animal ingests bait and switch. Water is toxic in unrealistically high doses. https://chatgpt.com/share/67f85773-0ba8-8004-ab27-3b051513f4... (never embarrassed if my strong opinion is shown to be wrong by the way).

I will check out the book. I will say we love irony... and we had a lot of fun... so who cares ;). We're not going to be as successful as our parents. Wanh. Eff it all and pass the joint. But yes perhaps if less commodified, we would have given more thought the spirit instead of buying in hook line and sinker, and the next gen wouldn't be stuck with "Paul American." On the other hand we did escape barely from the coming Facebook/Insta techno-soulp0calypse. So we're here now to pull up our saggy "genes" (unintentional typo but stuck with it... to much pot) and fight!
by bawolff | 2025-04-10 23:56:32+00:00
> Take the episode "San Junipro" for example? Isn't there some hope and opportunity in it? And yet, this episode (one of the best in my opinion) only works because the hope can shine against a black background.

Arguably though that episode is a bit of an outlier. I think its the most hopeful (relatively speaking) of all the black mirror episodes i've seen.
by Spooky23 | 2025-04-10 23:56:36+00:00
I use it and ChatGPT. I think they are pretty close. Gemini has gotten a lot better, and I think it’s superior on the deep research side. NotebookLM is incredible.

For more general things, ChatGPT is still better imo, but that gap is shrinking, at least for what I do. Their analysis plugin is super useful to me.

I will say that it’s hard to evaluate as some of my habits may drive behavior.
by ViktorRay | 2025-04-10 23:57:15+00:00
I disagree with the premise of this article.

Sometimes an extremely pessimistic vision of a possible future CAN change things...by making it so people are determined to fight to prevent that possible future from ever happening.

The novel 1984 by George Orwell was published in 1948. It is an extremely pessimistic vision of a possible future for mankind....and many of us over the generations who read it really really did not want to live in such a future and acted accordingly.

Black Mirror's pessimism could be similar.

Also in Black Mirror technology in of itself is never portrayed as inherently bad in any episode. It is the people and the way they choose to use the technology that leads to the horror. In that way every Black Mirror episode has that element of optimism. If only each new piece of tech in reality could ever be introduced so we maximize the positives rather than the negatives.
by netsharc | 2025-04-10 23:58:28+00:00
We're off-topic, but here's hoping the tariffs U-turn is the death knell of the Trump admin.. but heck, there's probably been hundreds of such events in his last term, and he's still freaking president. Even if he goes, then we'd end up with President JD Coachfucker.

But global players losing trust in the USA and pulling out of bonds, costing billionaires their shirts is hopefully a big enough "last straw".
by fn42 | 2025-04-10 23:58:55+00:00
Interesting idea, thanks for sharing.

Some feedback from using:

- It said to use amex blue cash for 3% back at costco, but costco only accepts visa

- It said to use amex blue cash for 3% back at harbor freight but this card only gets 1% at this store, the BofA customized cash rewards (added to my wallet) is the only card I have found that gives 3% back on home improvement stores

- It said to use amex blue cash for 3% back at BJ's, even though the BJ's rewards card is in my wallet which gives 5% back at this store
by itishappy | 2025-04-10 23:59:08+00:00
You're just handing off responsibility for sanitization to the user instead of the library author.

With t-strings the rendering function is responsible for sanitization, and users can pass unrendered templates to it.

With f-strings there's no concept of an unrendered template, it just immediately becomes a string. Whoever is creating the template therefore has to be careful what they put in it.
by makeitdouble | 2025-04-10 23:59:19+00:00
Not daily, but a decent amount I think.

Image search and text recognition have become way better than Google Lens ever was. In-place translation is also nice, and I use to check idioms, and other grammarly-esque things.

I think it's good at language related things and transformations, not great at anything else (I wouldn't ask it to create anything new TBH). I can't even get it reliably spun Google docs from my prompts from the standard web/app interfaces.

Similar to FactolSarin, it's baked into my Google account and subscriptions so I don't really need it to be stellar and wouldn't pay for it as a single product.
Ask HN: Best developer guides to modern AI
by aristofun | 2025-04-10 23:59:26+00:00
Similar questions pop up here regularly. This one is with certain angle.

Any software engineers working or seriously playing with modern llm and generative models — please share your personal top 5 resources that you think are good for fellow developers to ramp up to speed and start using them in production with some basic general understanding of how they work.

Books, blogs, courses, lectures, anything.

No scientific or math heavy articles. No philosophy or history, no debates or controversy.

Purely practical guides, books, courses that teach, show, explain modern ai landscape from software developer perspective.

Something like Kleppman’s book, but for ai.

Thank you.
by idonotknowwhy | 2025-04-10 23:59:32+00:00
Have you tried Deepseek-R1?

I run it locally and read the raw thought process, find it very useful (can be ruthless at times) seeing this before it tags on the friendliness.

Then you can see it's planning process to tag on the warmth/friendliness "but the user seems proud of... so I need to acknowledge..."

I don't think Gemini's "thoughts" are the raw CoT process, they're summarized / cleaned up by a small model before returned to you (same as OpenAI models).
by kagakuninja | 2025-04-10 23:59:35+00:00
In the Foundation books, he revealed that robots were involved behind the scenes, and were operating outside of the strict 3 laws after developing the concept of the 0th law.

>A robot may not harm humanity, or, by inaction, allow humanity to come to harm

Therefore a robot could allow some humans to die, if the 0th law took precedence.
by leobuskin | 2025-04-11 00:00:59+00:00
As I understand, it may help a bit with logging performance, not sure, still trying to understand the template abilities.

So, right now, you have two options to log:

1. `logger.debug(f'Processing {x}')` - looks great, but evaluates anyway, even if logging level > `logging.DEBUG`;

2. `logger.debug('Processing %s', x)` - won't evaluate till necessary.

What would be the approach with t-strings in this case? Would we get any benefits?
by epolanski | 2025-04-11 00:01:20+00:00
Me too I also dislike the cherry picked and wrongly built narrative, see the nuclear one.

> In contrast, France ran from the past towards the future, overcoming public fears of nuclear disasters, now getting 70% of its electricity from nuclear power.

France has put a single reactor online in the last 25 years, it has closed reactors and cancelled building new ones for some time.

The problem has always been financial with other sources becoming simply cheaper, more competitive and easier/quicker to put online.
by gibbitz | 2025-04-11 00:01:24+00:00
I took this to be more about Alabama having 1/30th the population and a similar number of patents. The Soviet Union was 1/6th of the Earth and Alabama is less than 1/100th the size. If rural bias were to be involved in the choice here it would be to suggest that what those with the bias think of as underpopulated or backwater is more vibrant populus and intelligent than the largest part of the country formerly known as the country vilified as super scientists during the cold war.

To your point, Alabama was chosen to make that point because the numbers are contrary to that stereotype. The stereotype is not fair (they rarely are). But there's another way to look at this.

All of the American South was delt a hard blow in the Civil War and rebuilding afterwards as well as the subsequent industrialization and the fall of cotton, the dustbowl and then the fall of manufacturing has been hard on that region as well. Russia emerged from the end of the Cold War having faced a similar war of attrition but for them this started not long after the end of their own Civil War and a World War. In the same period of time those people met many more hardships but to come out into capitalism only to have oligarchs steal the country's wealth and resources puts them far behind even what Americans could see as an unfortunate part of our own country with similar hardships.
by nunez | 2025-04-11 00:01:47+00:00
I was there. Nope.

Waiting ages for basic serif pages to load over your 56k (or 128k connection if you were rich and had ISDN)? Nope.

Downloading tracks from KaZaa/WinMX/Limewire/Napster for a million hours only for them to be some warped shit that the studios planted? Nope.

Getting malware just for existing? Early software firewalls that burned CPU cycles/crashed your PC? That were the only option because hardware firewalls were stupid expensive and not at all practical for residential use? Nope.

Norton Antivirus? ABSOLUTELY NOPE.

Blue screens when you looked at IE or Navigator the wrong way? Nope.

Flash? Lol, nope.

WAP? The 2004 kind? Lol, hell nope.

"This page is best viewed on Internet Explorer", i.e. IE4/5/6 or it's basically unusable? Nope.

Having to actually go seven or eight o's into the Gooooooooooooooooooooooogle footer to find what you were looking for? Def nope.

Almost everything about using the Internet is better today IMO. Faster, prettier, more secure and more cross-platform.

You have to work hard to get hit with a virus these days, especially on iOS/macOS or Linux, though it's much harder on Android these days too. Also, I loved wasting my life on /., but Reddit is so much better, even after the API-pocalyse.

I definitely miss open messaging platforms though. AIM for life.
by quintes | 2025-04-11 00:04:12+00:00
Thanks it sounds like you’ve got a game plan.

My last caution is to avoid the post function. On LinkedIn at least in my network it’s everyone posting typical self promotion but I’m seeing more political leaning content and mostly dare I say it - left leaning - which means I can’t say anything - but also means I know where my network stands on issues. That’s interesting but only serves to promote those agendas.
by xwolfi | 2025-04-11 00:04:26+00:00
Well I can accept that argument, it's interesting, but I think I want to disagree. I'm not American, I'm French and I live in China, and in both countries I know so well, the population seem to have many spectrums: young vs old, moderates vs angry, rich vs poor, nature-driven vs success-driven, tired vs energetic etc. So with all those dimensions, France ended up with 12 parties at the presidential election, from royalists to anarchists, going through greens, communists, centrists etc. China ended up with one.

France embraced the chaos and made it a point of pride, while China finds it absolutely terrifying and unproductive - but my point is that the population is exactly the same, scarily similar, in all its funny diversity, but the system is not a mirror of it, just an awkward model built on compromises: France wants to maximize representability and China wants to maximize order.

The US system is pragmatic: need to win, need to give the people a feeling of choice but not give them any sort of real power of structural change, and they split on a strange line, for most of the world, that I have even trouble to describe myself. I think Trump pleases people there because he pretends to be a structure reformist, which sounds fresh.

It's not the people who can't be diverse politically exactly, it's more complex.
by cstrahan | 2025-04-11 00:05:44+00:00
> You therefore get code that locally looks good, even if it has security mistakes. Instead of one source of error - the developer interpolated - you now have three.

Could you give examples of this?

> The developer forgot to interpolate

What would this look like? The only way to get dynamic/user input into a template is either through interpolation or concatenation.

Before:

f"..html_str..." + user_provided_str # oops! should have: html_str + sanitize(user_provided_str)

After:

t"...html_template..." + user_provided_str # oops! should have: t"...html_template...{user_provided_str}"

Does this really leave us worse off?

Unless you're referring to something like this:

Before:

html = "love > war" # oops! should have been: html = "love &gt; war"

After:

html = "love > war" # oops! should have been: html = t"love &gt; war"

But then the two scenarios are nearly identical.

> the developer chose the wrong interpolation

What kind of interpolation would be the "wrong interpolation"?

> or the interpolation itself got it wrong.

Isn't that analogous to sanitize(user_provided_str) having a bug?
by fliellerjulian | 2025-04-11 00:05:48+00:00
That’s a fair comparison, but we’re aiming for something much deeper than just a pretty landing page.

Openspot is about curated professional identity. It lets people showcase not just what they do, but who they are — through video, audio, projects, and real storytelling. It’s built to help people stand out in a world where resumes are starting to look the same (especially with AI).

We’re also bringing in discovery tools for recruiters, so it’s not just a personal page — it’s a real alternative to the resume-black-hole problem.
by cadamsdotcom | 2025-04-11 00:05:52+00:00
Marketing should use their imagination!

Imagine putting dice and random objects (cups, forks..) on a table, pointing your phone at them and asking it to invent a new game for your friends. Tell it to use these objects and also use the live camera as a gameplay element.

Or recognizing bird or plant species.

Or helping a blind person go hiking, helping avoid tree roots and describing the beautiful scenes they’re in.

So much possibility!
by saghm | 2025-04-11 00:06:26+00:00
Not only do I really l talk to my cats, but they talk to me too! We're about equal in our abilities to understand each other; sometimes one of my cats might just run around for a bit yell-meowing and it's not clear why, but I'm sure they feel the same way when I occasionally get upset at things. Other times, like when one of them starts whine-meowing when I'm putting their wet food into a bowl, I know _exactly_ what's she's saying even if it doesn't actually cause me to get it done any faster.
by ksec | 2025-04-11 00:06:40+00:00
>Hopefully the movement to make it illegal under a certain age gathers momentum.

Same here. With tech's growing influence on everyday's life.

>> A 2021 report from the same group showed a significant rise in the number of 8- to 12-year-olds with a smartphone, from 24% in 2015 to 43% in 2021.

I am thinking if the 8 - 10 age group skew this figures. I would expect 11-12 to have a smartphone at 60+% rate. Partly because at that age it is hard to resist peer pressure that their friends all have one.

Normally I am against government making decisions for us. But this case it makes it easier. At least the government could mandate all schools to limit Smartphone usage under certain age.
by hnburnsy | 2025-04-11 00:07:41+00:00
Nike Sales DTC versus Total

Fiscal Year | DTC Sales (in billion USD) | Total Sales (in billion USD) | DTC as % of Total Sales ----------- | -------------------------- | ---------------------------- | ---------------------- 2020 | 12.4 | 37.4 | 33% 2021 | 16.4 | 44.5 | 37% 2022 | 18.7 | 46.7 | 40% 2023 | 20.3 | 47.6 | 43% 2024 | 21.5 | 48.2 | 45%
by bawolff | 2025-04-11 00:08:01+00:00
Huh, i guess i both agree and disagree with this article.

I disagree that black mirror has to save the world. Art doesn't have to literally save the world to be useful, it just has to add to the conversation. The fact we are talking about it proves that it has.

On the other hand, i've never really liked black mirror that much. It feels polemical to me. Its unrelenting pessimism robs it of nuance, which makes it feel flat to me. To be clear it doesn't have to be happy, it can still be grim and dark, but when every character is a terrible character, it undermines the story

Take the episode "nosedive" where everyone is obsessed with social media ratings. Compare it to other people who copied it (meow meow beans in community, or majority rule in the orvile). I think the other tv shows did it better and honestly made technology look worse, because they had characters that weren't cartoon villians.

Maybe the part i don't like about black mirror is not that it showd technology stripping people of their hummanity but that all its characters already lack humanity so there is nothing to strip, which is kind of boring.
by lmm | 2025-04-11 00:08:07+00:00
> is tricking the compiler into producing the behavior you described not the expected and intended behavior?

It might be what that programmer intended and expected, but they should not expect it. E.g. the current compiler might check for 0, and a future more optimized compiler might optimize out that check (because it knows the Option is not None) and then e.g. perform an out-of-bounds array access (if you were using that NonZeroU8 as an index into some kind of 1-based array).