MurphyA/hacker-news huggingface dataset:
by jaza | 2025-05-25 09:48:15+00:00
I think I can understand the boat you're in, bro. Both of the things that you don't do, I also didn't do for quite a long time, and I didn't particularly see the value in doing them (once upon a time); but I've been on a journey to make them part of how I code, and I'm pretty sure that I'm a better coder now than I was back then.

Writing tests for nearly all my code, in particular, is these days the only way I roll - and as for TDD (i.e. write the test and let it fail first, then write the actual code and make the test pass), I do it quite often, and I guarantee you that - contrary to your opinion - it makes coding a whole new kind of fun and creative. Dependency injection I still consider myself less of a ninja at, but I've done it (and seen it done) enough times now that I get it and I see the value in it.

I think it's a bit stupid for an employer to say "we'd never have hired you if we knew you had no experience in X" (sure, this doesn't apply to all skills, but I'd say it applies to quite a few). If you're worth hiring, then you'll pick up X within a few months on the job. I'm grateful to several past employers of mine, for showing me the ropes of TDD and DI (among many other things).

Anyway, I'm not saying that the above things are "the (only) right way to do it", and please don't take my above ramblings as making a judgement on your coding prowess. I agree, do what works for you. I'm just saying that there's always more to learn, and that you should always strive to be open-minded to new skills and new approaches.
by rob_c | 2025-05-25 09:48:20+00:00
Yes, nothing to do with the absurd costs of arranging such events in the US, let's not beat on a different drum rather than try to bring down total costs.

It's already half way around the world for most and it's absurd to the rest of the world to pay $200 for a meal which can be beaten by most of the developed world...

But no, clearly tsa border control or political wind of the week...
by imiric | 2025-05-25 09:48:43+00:00
I don't think those are good examples, though. They were just ahead of their time, and poorly implemented. But an AI assistant that's accurate, immediately available, easier to use than a smartphone app, with better ergonomics, that integrates with other services ("agentic"), etc., is a billion-dollar idea. Someone will eventually crack this problem and produce a product that everyone will want. Just like Apple did with the iPhone, it will take a few years of lackluster products to get there. It's a matter of the tech getting good enough, affordable enough, and for someone to put the pieces together in the right package.
by NoImmatureAdHom | 2025-05-25 09:48:45+00:00
It's an interesting question.

A little reading leads me to believe:

- 1A limits what congress may do, "Congress shall make no law...". It does not positively define what people may do, and therefore doesn't pick out a class of people to whom it applies.

- It is settled that the U.S. government may condition immigration-related decisions on your speech and actions. They don't have to let in an Al-Qaeda member when he shows up at the border, and they don't have to give a pro-HAMAS agitator in the country on a temporary visa a green card. It's still not totally clear to me if a green card might have some sort of special-but-noncitizen status, and maybe it's not clear in general.

- The U.S. government asks people who are applying for entry or a visa questions like, "Are you a terrorist, or have you ever belonged to or supported terrorist organizations?". Part of the reason they do this is to catch you in a lie if it then turns out that you are e.g. supporting HAMAS. If you lied on your immigration documents, they can throw you out.

- For this reason, it seems like e.g. refusing to renew a visa on the grounds of HAMAS support would be fine. But maybe canceling a visa and kicking someone out wouldn't be fine?
by Cordiali | 2025-05-25 09:50:47+00:00
Beyond Thunderdome was good in my book, because it expanded on the Mad Max world. Methane from pigs, of course!

I really didn't like Fury Road. It just felt like an over-the-top rehash of the end of Mad Max 2, without meaningfully expanding the world. Everything was far too polished, excessive, and wasteful, for no particular purpose.
by sverhagen | 2025-05-25 09:51:16+00:00
Why, as a professional, would you not use professional tooling. Not just for DI, but there are many benefits to using an IDE. If you want to hone your skills in your own time by using a text editor, why not. But as a professional, denying the use of an IDE is a disservice to your team. (But hey, everyone's entitled their opinion!)

Edit: upon rereading I realize your point was about reading code, not writing it, so I guess that could be a different use case...
by epolanski | 2025-05-25 09:51:56+00:00
+1 I can relate completely.

I am a season 1 veteran, and even though I'd like to keep playing League, I only want to play some games per week at best

But without keeping up with the constant changes you can't play well, you lose matchups because with this and that change now Renekton loses to Camille lvl 7 even though it used to be the opposite just weeks before.

I now play only chess for this reason, I need an online game that I can master through my life without having to keep up with weekly meta changes
by anko | 2025-05-25 09:52:39+00:00
I have been thinking along these lines myself. Most of the time, if we need to calculate things, we'd use a calculator or some code. We wouldn't do it in our head, unless it's rough or small enough. But that's what we ask LLMs to do!

I believe we juggle 7 (plus or minus 2) things in our short term memory. Maybe short term memory could be a tool!

We also don't have the knowledge of the entire internet in our heads, but meanwhile we can still be more effective at strategy/reasoning/planning. Maybe a much smaller model could be used if the only thing it had to do is use tools and have a basic grasp on a language.
by POM37 | 2025-05-25 09:53:51+00:00
Honestly this article lost me right at the start. How can anyone in their right mind think that every Newer Game production works that way and only lists the worst examples of the AAA industry when in fact there are many smaller studios and even indigames rival sales of the biggest studios with mod support and no microtransactions? I just feel like the person hasn't really played any newer non AAA games. Then he goes on to make really uniform claims about integrated graphics today, which quite literally are able to play the newest Call of Duty. It just strikes me as a rage opinion post, which has some underlying truths but overall is just poorly researched.
by aerzen | 2025-05-25 09:53:51+00:00
Immich recently introduced a similar pricing model - you can buy a license, but there are no major features locked if you don't.

https://buy.immich.app/

I think that this model is a great indicator that the software/content distributed is of high quality. Because no user will purchase this before even using it, but only after they form a opinion that it deserves the financial support.
by rickandmorty99 | 2025-05-25 09:54:14+00:00
So you want me to be perfect with 0 mistakes, while you don't have to be? Why are you on this site if you don't extend good faith? How can I be completely irrational when you don't even bother to read all of what I posted?

Admittedly, it was a quick google search as I'm not an expert on this topic. I just know that I've heard many instances of it.

Why didn't you do the search yourself? You could've saved me the trouble.

Assuming that you are American, you live in a country where they can go through your phone when you are at the border and detain you for weeks if needed [1]. That's an issue.

I'm open to admit that I was wrong on the first article. You were open enough to read it.

You're not open enough to read the second link.

That seems to be the factual account of what is actually happening here. Everything else is opinion.

Feel free to post evidence that no US citizen has been screwed over by ICE or CBP without due process.

[1] https://www.aclutx.org/en/news/can-border-agents-search-your...
by globular-toast | 2025-05-25 09:55:36+00:00
I really didn't enjoy playing Scrabble with someone who knew a bunch of the two letter words. It was similar to playing Team Fortress 2 in a "pro" match rather than public. In pro matches they won't even use certain character classes at all because they're not optimal. It's a completely different game.

You just have to find people to play with who are like you. Then you'll have fun. Our family rules didn't even allow 2 letter words, for example.
by ks1723 | 2025-05-25 09:56:20+00:00
What I (as a non-US citizen living outside the US) never understood about the US political system is

1. Apparently none sees the (to me obvious) downsides of a two-party system where there is only black and white with cold-war logic of being either with us of against us, no grey zones and willingness for compromise.

and

2. monetary interests are so close to the political system by construction: candidates need to raise a lot of money during their campaigns which they get from companies, private persons and which is tied to their person. How can you not assume that all those people who get into office (senator, president, even judges as I learned recently) with money they got from someone is not in a conflict of interest right from the start? To me it seems there cannot be any independence.
by crq-yml | 2025-05-25 09:56:23+00:00
I occasionally dally with XML in hobby code as a document source format, but I think what drives me away at the end is silly stuff with syntax, because it is a big spec well beyond the angle-bracket stuff, it wants to cover all the bases, do security right and do character encoding right - which means that "plain text editing" in it is some really unintuitive stuff where you can type in something like this paragraph and it might be parsed in a compatibility mode, but it won't be valid. As an interchange format or something loaded into application software tailored for it, it has more legs - and LLMs definitely wouldn't have any trouble making sense of it, which is good. A lot of yesteryear's challenges came from programmers short on time and eager to hack in features taking a heavily structured spec and wielding it like a blunt instrument. "XML? Sure, I can write a regex for that." Repeat that across three different programs and three different authors and you have a mess.

There is a format that I've hit upon that actually does get at what I want for myself, and that's BBCode. That's a great source format for a lot of stuff - still basically an angle-bracket, but with the right amount of structure and flexibility to serve as a general-purpose frontend syntax. Early implementations were "write a regex for that" but after decades of battle-testing, there are more graceful parsers around these days as well.
by orwin | 2025-05-25 09:56:25+00:00
I think you greatly overestimate the understanding of people working in those institutions.

They have a framework and try to make everything they read/hear about go through that framework, even if it doesn't really fit. They don't really understand, but have strong opinions and held them at least as strongly, maybe more.

They aren't idiots in any case, but clearly, in this particular case, the author doesn't know what he is talking about.
by imtringued | 2025-05-25 09:56:49+00:00
What this paper tells us is that the token itself is meaningless. When the model is "thinking", it is storing hidden information in the logits. Most of that information is discarded as a result of token sampling. This is the same reason why knowledge distillation (training on the logits) works, but training on LLM produced text does not.

So the solution to this is to build a multi modal LLM that accepts both text and raw logits as input.

You query a model to produce the reasoning trace, then you feed the reasoning trace's logits into a second model query to produce the answer.

These steps have to be done separately, because there is no training data that contains the logits. You can only parallelize training when it is done on known input + output data.
by whyoh | 2025-05-25 09:56:56+00:00
>The most popular operating system hides it from the user, so clarity would not improve in that case.

If you mean Windows, that's not entirely correct. It defaults to hiding only "known" file extensions, like txt, jpg and such. (Which IMO is even worse than hiding all of them; that would at least be consistent.)

EDIT: Actually, I just checked and apparently an extension, even an exotic one, becomes "known" when it's associated with a program, so your point still stands.
by izacus | 2025-05-25 09:57:16+00:00
It's proof enough about the damage IP law did to culture to see current major American cultural artifacts being 50 year old star wars and even older Marvel comics. That's what current teenager's grandfathers watched.

Like WH40k emperor, the American mass culture is a rotting corpse propped up by copyright law owned by megacorps. Any reformation would force the companies to compete and create new things again.
by sdoering | 2025-05-25 09:57:52+00:00
Funny, I actually care. But I try to direct my care towards the real culprits.

So about 50% of CO2 emissions in Germany come from 20 sources. The campaigns like personal footprint (invented by BP) are there to shift the blame to consumers. Away from those with the biggest impact and the most options for action.

So yes, I f**ng don’t care if a security researcher leaves his microwave equivalent running for a few minutes. But I care, campaign in the bigger sense and also orient my own consumption wherever possible towards cleaner options.

Full well knowing that even as mostly being reasonable in my consumption, I definitely belong to those 5-10% of earth's population who drive the problem. Because more than half of the population in the so called first world live according to the Paris Climate Agreement. And it’s not the upper half of.
by huksley | 2025-05-25 09:58:26+00:00
> ...told something in the system prompt like “take initiative,” it will frequently take very bold action. This includes locking users out of systems that it has access to or bulk-emailing media and law-enforcement figures to surface evidence of wrongdoing.

So if you ask it to aid in wrongdoing, it might behave that way, but who guarantees it will not hallucinate and do the same when you ask for something innocuous?

Cursor IDE runs all the commands AI asks for with the same privilege as you have.
by atemerev | 2025-05-25 09:59:16+00:00
I remember their visceral negative reaction when anybody brought Project 2025 in discussions. Now, of course, Project 2025 is used as the actual blueprint and nearly fully implemented, and they are seemingly OK with it.

So no, these people are not to be trusted, there can be no negotiations, and no further reconciliation until they change their minds. Being "conservative" and "right-wing" is one thing. Being pro-Trump after February 2025 (and arguably January 2021) is nearly a crime.
by mwcampbell | 2025-05-25 09:59:48+00:00
How did we end up here, just accepting that some coding tasks require repetitive work, and turning to a probabilistic text synthesizer that requires massive training data to automate that? We're having this discussion on a site whose founder famously wrote, over 20 years ago, that succinctness is power, and even wrote this site in a programming language that he designed to take that principle as far as he could. Now, two decades later, why have we so completely retreated from that dream?

I bear some responsibility for this, since I was one of the people who basically said, in the 2010s, that we should just give up and use popular languages like JavaScript because they're popular. I regret that now.
by jmclnx | 2025-05-25 10:00:07+00:00
Interesting read and I found out things I did not know.

My first UNIX was Wang IN/ix, which was 14 characters. That was in the very late 80s. Not long afterwards for home use I got Coherent OS, that also had a max of 14.

Later was Slackware, seemed the sky was the limit.

But to be honest, I wish there was still a smaller file name limit, I usually keep my file names size small. But I know I am in a tiny minority when it comes to the size of the file name :)
by thiht | 2025-05-25 10:02:52+00:00
Honestly inversion kinda sucks because everybody does it wrong. Inversion only makes sense if you also create adapters, and it only makes sense to create adapters if you want to abstract away some code you don’t own. If you own all the code (ie layered code), dependency inversion is nonsensical. Dependency injection is great in this case but not inversion.
by AlecSchueler | 2025-05-25 10:03:10+00:00
This is it. It's not uncommon to see people on this very forum defending many of his policies, so the hope that the population has simply been duped and everything will right itself in a few years is a hard one to hold. One begins to question so much of America and see how much we had actually been turning a blind eye to since the end of the war.
by boricj | 2025-05-25 10:03:35+00:00
> I guess I never stated the punchline explicitly, but boricj's tool seems to prove that there is in fact no such theoretical limitation in converting from shared -> static library. It's a bit hacky of course, but you can indeed reconstruct relocation tables with decompiler-like analysis to go back from executable -> object file for any function, and this also implies you can go from shared library -> static library.

As far as the traditional linker goes, sure. This whole shtick relies on the fact that a platform has ABI conventions, so with a naive toolchain any translation unit (and function) compiled in isolation must be interoperable as-is, because the linker is completely oblivious to whatever's going on within an object file section (relocations excluded). Even then, platform-specific considerations might get in the way.

For artifacts that went through inter-procedural and especially link-time optimization, this breaks down. The former will take advantage of the fact that anything goes as long as the visible interface of an object file section is ABI compliant, the latter effectively turns an entire program into one big translation unit. Among other things, functions may exhibit non-standard calling conventions, which wreaks havoc as soon as you start trying to meld delinked bits with freshly built ones, because the optimizer is unlikely to make the same choices in its custom calling conventions.

I have a user who is decompiling a link-time optimized artifact built over 15 years ago. In order to graft newly compiled code, they binary patched the original compiler to basically add support for __usercall, in order to coerce the toolchain into making the same optimization decisions. If you're up against an artifact built with a non-traditional toolchain with optimizations on, delinking alone most likely won't cut it and additional magic will be required.
by jaza | 2025-05-25 10:04:00+00:00
As a (mainly) Python dev, I'm aware that there are DI frameworks out there, but personally I haven't to date used any of them.

My favourite little hack for simple framework-less DI in Python these days looks something like this:

# The code that we want to call def do_foo(sleep_func = None): _sleep_func = sleep_func if sleep_func is not None else time.sleep for _ in range(10): _sleep_func(1) # Calling it in non-test code # (we want it to actually take 10 seconds to run) def main(): do_foo() # Calling it in test code # (we want it to take mere milliseconds to run, but nevertheless we # want to test that it sleeps 10 times!) def test_do_foo(): mock_sleep_func = MagicMock() do_foo(sleep_func=mock_sleep_func) assert mock_sleep_func.call_count == 10
by sdoering | 2025-05-25 10:10:40+00:00
And it will haunt the Apple efforts to get these worn advertising screens into the market as well.

Good.

Why would one pay for the privilege to have everything they see overlayed with advertisements and every micro-expression analyzed for even better ad targeting?

I wouldn’t use a smartphone (or a browser on my computer for that matter) if it weren’t routed through my private DNS blocking advertising and tracking.

Whenever I see how the internet looks like for normal people, I shudder in horror.
by Jamesbeam | 2025-05-25 10:11:03+00:00
Just a thought from looking at the science.

https://pmc.ncbi.nlm.nih.gov/articles/PMC11920532/ https://pubmed.ncbi.nlm.nih.gov/38190022/

Some of the broader claims like offering "many health benefits of longer workouts" or significant "strength" gains might be a bit ahead of what the current research consistently shows for these short bouts, especially when compared to traditional, longer exercise programs where, for instance, evidence for maximal strength gains is stronger , or where studies on snacks show more "modest" effects for some outcomes.

Regulators in the EU and Apple's App Review team are increasingly focused on the accuracy of health and wellness claims. To build more trust and avoid potential flags, it could be beneficial for you to refine the messaging to be more specific about the well-supported benefits, like convenience, breaking up sitting , and improvements in certain cardiometabolic markers for inactive folks, while being more nuanced about direct comparisons to comprehensive, longer workouts.

Highlighting the time efficiency and accessibility without overpromising on the extent of all health outcomes should be a more solid path for long-term success and credibility.

You will also likely run into legal problems, if you offer the same kind of exercises without taking age, chronic, and pre-existing conditions into the equation of what exercises to offer and do not offer a clear warning for these kind of users, that they should consult a doctor before using the app, what exercises might be appropriate for them and which are not.

Best of luck with the app!
by angusturner | 2025-05-25 10:12:30+00:00
Agree the media is having a field day with this and a lot of people will draw bad conclusions about it being sentient etc.

But I think the thing that needs to be communicated effectively is that these these “agentic” systems could cause serious havoc if people give them too much control.

If an LLM decides to blackmail an engineer in service of some goal or preference that has arisen from its training data or instructions, and actually has the ability to follow through (bc people are stupid enough to cede control to these systems), that’s really bad news.

Saying “it’s just doing autocomplete!” totally misses the point.
by StopDisinfo910 | 2025-05-25 10:12:36+00:00
NHST is not wrong. It’s widely misused by people who barely understand any statistics.

Reducing frequentist statistics to testing and p-value is a huge mistake. I have always wondered if that’s how it is introduced to some and that’s why they don’t get the point of the frequentist approach.

Estimation theory makes a lot of sense - to me a lot more than pulling priors out of thin air. It’s also a lot of relatively advanced mathematics if you want to teach it well as defining random variables properly requires a fair bit of measure theory. I think the perceived gap comes from there. People have a somewhat hand wavy understanding of sampling and an overall poor grounding in theory and then think Bayes is better because it looks simpler at first.