MurphyA/hacker-news huggingface dataset:
by teitoklien | 2025-07-17 14:09:20+00:00
So you think everything and everyone across the world is making a politically coordinated event to lie about reality ?

I don’t even vote for the republicans and since when has couches been equated to real things reported widely by media, politicians, citizens, watchdog groups become completely irrelevant because a politician you hate/dislike agreed with those things.

This is not a football match or he said she said, it’s happening and if you have to resort to calling a sitting vice president as “couch**” to deny reality instead of being able to clearly state no one innocent is being jailed for simple disagreements on facebook. then no you probably subconsciously know it’s happening too and need to depend on slander to deny reality.

it is especially ironic considering there are uk citizens getting police visits for saying things far less rude than what you said about US vice president.

You can disagree with ones politics but if you want to defend your ability to have that freedom (to disagree with ruling parties) it does require you to defend the freedoms and rights of people you disagree with politically too…
Show HN: A Git(1) implementation written in Python
by xqb64 | 2025-07-17 14:09:28+00:00
This is a Python port of the git(1) clone that can be found in James Coglan's amazing book, "Building git".

I've definitely had a blast putting it together, and I also learned a lot, both about git and about Python.

I highly recommend the book if you're up for a challenge. I'd say it's in the same ballpark as "Crafting interpreters", "Writing a C compiler", and I imagine "Building a debugger" (still haven't gone through this one, but it does look promising if you're like me and love this sort of thing).

P.S.

I'm always on the lookout for similar "from scratch" books (and other types of resources, more generally), so please shoot if you're aware of any that I'm not.

Thanks
by hn_acker | 2025-07-17 14:09:40+00:00
> You can't go to court (usually) on a hypothetical. You usually need someone who has been actually affected. That can't happen until the law actually takes effect (September).

I think a Texas college or a student of one could bring a facial challenge to this law before it goes into effect. The following two excerpts of S.B. 2972 [1] (the second one consisting of spliced fragments) should be enough to demonstrate that the law would inevitably, not hypothetically, restrict a student's freedom of speech:

> "Expressive activities" means any speech or expressive conduct protected by the First Amendment to the United States Constitution or by Section 8, Article I, Texas Constitution

`Each institution of higher education shall adopt a policy detailing... rights and responsibilities regarding expressive activities at the institution. The policy must... prohibit... engaging in expressive activities on campus between the hours of 10 p.m. and 8 a.m.`

[1] https://legiscan.com/TX/text/SB2972/2025
by afavour | 2025-07-17 14:10:26+00:00
> But 16 year olds are not mature enough to decide whether they want to drink or smoke.

I think the biggest thing 16 year olds are lacking is impulse control. A great many are curious about the world and capable of seeing the big picture of politics... but will also get blackout drunk at the drop of a hat. So I see voting at 16 (something that's pretty boring and with little immediate benefit or dopamine hit) vs drinking and smoking as being quite different.
by crtasm | 2025-07-17 14:10:33+00:00
That is saying that last night the detectives were accused, not that they visited the woman last night.

Also note it doesn't say who is making this accusation about the detectives, the article is not designed to inform you but to provoke a reaction.

Also consider that they will be carefully selecting what posts of hers to quote rather than telling you everything she wrote that lead to the complaint.

Do you actually know what she wrote?
by sometimes_all | 2025-07-17 14:10:53+00:00
The branches are worse. Staff rotates _constantly_. Most of the new ones don't know anything, including most straightforward things people go to branches for. Almost everyone from the tellers to the branch manager is mandated to upsell/cross-sell something or the other, and in the most non-transparent way possible (so that the right people get the commission). Need a bank locker? Jack up your savings account balance. Need a credit card? Get a unit-linked insurance plan, else don't waste our time. A couple of tellers will start calling random people to sell things (in direct violation of central bank rules).
by Mtinie | 2025-07-17 14:11:02+00:00
Considering that on paper these businesses all have employees serving as CISO, EVP-, SVP-, and many, many Directors of Security, I find it highly unlikely that the accumulated experience of the people and their teams results in decisions like this. It's hard to distinguish incompetence from malice in many situations but calling them "naive" seems to be indirectly excusing customer-hostile behavior.

It doesn't make any sense to me because it's expensive to make sure your company's services are secure, but it's also expensive to not be secure. Perhaps it's less expensive to not worry about it because the loss-of-customers impact on revenue are still under the cost of doing it right. If that's the case it's a sad state for all of us.
by pfisherman | 2025-07-17 14:11:11+00:00
I was around for the dot com boom and bust, and this does not feel similar. The issue with the internet was that much of the value came from network effects that were not there in the late 90s and early aughts when personal computing was desktop boxes with 56k dial up connections. Very much, “if you build it, they will come.” It was the mass rollout of cable modems and then smart phones that changed the math.

There is no cart before the horse here. AI is coming for you, not the other way around. The pessimistic takes are underestimating the impact by at least a couple orders of magnitude. Think smart phones as a lower bound.

I have no idea what capacity people here work with AI, but given my view and experience the pessimistic takes I commonly see on here do not seem realistic.
by tsimionescu | 2025-07-17 14:11:18+00:00
That is irrelevant. If a 5-year old wins some competition, they will pay taxes on that money. That doesn't mean we should give 5-year olds the vote, does it? Also, plenty of non-tax related laws apply to children - why should they not get to vote on Education or Healthcare, for example?

Also, while some 16-year olds work and pay taxes, the majority do not. So a blanket right to vote is not justified even by this strange criterion.
by n4r9 | 2025-07-17 14:11:41+00:00
The doorcam footage is clearly in broad daylight, it's dated February, and further down the article it says:

> At around 1.30pm last Tuesday ... a detective sergeant and another officer knocked at her door

You've made some edits to your post since I replied, so...

> but even with that you think its acceptable if it’s daytime for police to knock on doors due to facebook posts

It's handled on a case by case basis. The police will generally notify someone if they're the subject of a harrassment complaint, and it's not uncommon for them to visit either to give a verbal warning or to advise them on the law. That's... just how the system works in the UK and has done for a long time. Police in the UK are often in and around the community, working with it and giving out advice where it may help to prevent crimes.

Perhaps the police were too keen to visit in person this time. Perhaps they felt pressured to demonstrate a response by the fact that the complainant was linked to the council. That's another issue entirely. But this single incident is not the sign of a steep decline into authoritarianism that you want it to be.
by swat535 | 2025-07-17 14:12:45+00:00
> The general population wants larger phones because they are addicted to their screens.

I would rephrase that to: The general population wants a larger phones because phones are defacto PCs these days. They can watch movies, browser the news, listen to music, FaceTime, Maps, ..

Outside of business applications likes Word / Excel, phones basically handles 90% of people's requirements for "computers".
by Galanwe | 2025-07-17 14:13:26+00:00
My experience of working with economists, is that they are very good at creating _explicative models_. Models that can explain what happened using past, present, and future data/insights.

But these are very rarely good _predictive models_, which is an entirely different field.

Economists also have a tendency to lack practitioner thinking, misunderstand or grossly average actor motives, and more generally like to model every actor as an optimization problem, which rarely reflect real world scenarios.

All in all, I'm not really putting any weight on what economists models could predict of the future, though I think they have value in explaining the dynamics of past events.
by speeder | 2025-07-17 14:13:58+00:00
Risking a lot by commenting on this... but what he defended was that possession of images should not be illegal, only the act itself should be illegal.

He used as an example of how the law was bad, that if you witnessed someone doing the act, and filmed it to hand over as evidence to the police, you would end in jail too, something that is obviously unfair.
by sagarkava | 2025-07-17 14:14:07+00:00
Chatterbox is great for local/private TTS with Resemble AI.

voice agent SDK is broader it's full real-time voice infra with STT, LLM, TTS, memory, and RAG built in. You can plug in Resemble, ElevenLabs, etc., and deploy across web, mobile, and telephony with <80ms latency.
by tsimionescu | 2025-07-17 14:15:07+00:00
The rule for voting is very simple: if you are legally allowed to make decisions for yourself, you are allowed to vote (with a minor exception of certain kinds of criminal convictions). Children and people who are mentally impaired to a severe degree are not allowed to make legal decisions, and are thus not allowed to vote.

What you're proposing is nothing but an absurd over-representation for parents of small children, who will be able to vote twice or even more.
by Supernaut | 2025-07-17 14:15:22+00:00
In the EU, inflation surged in the wake of the double-whammy of COVID and Russia's invasion of Ukraine. The standard economic prescription for high levels of inflation is to raise interest rates, and that is what the ECB did. Inflation duly sank back again and the level is now hovering around the ECB's ideal of 2%.

I agree that this doesn't match the definition of a scientific experiment, in that there is no control group within the bloc to which the higher interest levels were not applied. Nonetheless, it seems to be a textbook example of an economy proving to be manipulable in exactly the way that economic theory suggests it will be.
by clarionbell | 2025-07-17 14:15:48+00:00
Expanding the electorate to include children with brains still undeveloped is a bad move. There is plenty of evidence that teenagers, including those who already can vote, have trouble grasping complex issues. Yes, that happens in other age groups too, but not at such rates.

Think of all the dumb, stupid things you did when you were 16 and about all the things your friends did. That's the kind of people that are given the vote. How can that improve the state of democracy? How can that lead to better policy? When you increase the number of voters by the most impressionable and unstable section of the population?
by navark | 2025-07-17 14:15:57+00:00
It's too bad that none of these reforms have succeeded. English has become the Lingua Franca due to the influence of the British Empire and American culture, along with it's ability to incorporate loanwords, but not because of it's spelling. Helping my kids learn how to read struck me by how insane English spelling really is.

I recently found out that Theodore Roosevelt had signed an executive order to adopt new spelling rules from the Simplified Spelling Board in 1906, but backtracked when the press began mocking it. If it had been a better organized release it could have succeeded but now it's a cautionary tale.

The future timeline extends out forever, if humanity is going to continue to primarily use an English-rooted language we need to make intentional improvements or we will be stuck with increased entropy, see the introduction of emoji's into text for example.
by EPendragon | 2025-07-17 14:16:19+00:00
I mean it was a realization for me, although I wouldn't call it profound. To your point, it was closer to obliviousness, which led me to learn more about Open Graph Protocol details and how Robots Exclusion Protocol works.

I try to write about things that I learn or find interesting. Sharing it here in the hopes that others might find it interesting too.
by Havoc | 2025-07-17 14:17:02+00:00
Those criteria you list make for independent monetary policy making. Not at all the same thing as world reserve currency.

You don’t see oil markets trading in New Zealand dollars. Or half the world holding large amounts of Aussie dollar in their forex reserves. Or a bunch of Canadian gov bonds. Or benchmark their rates against the US in reporting.

If the US prints more half the world carries the pain but US gets all the benefit. Lose reserve currency status and that so called exorbitant privilege goes up in smoke. Along with the financial system built on it
Show HN: I Wrote a 680-Page Interactive Book on Data Structures and Algorithms
by EliasY | 2025-07-17 14:17:07+00:00
Hello HN! I’m Elias.

I’ve been an educator in Engineering and Computer Science for some years, and I'm always looking for ways to make learning more engaging and hands-on. A few months ago, I started experimenting with the idea of a book that changes and evolves as you interact with it. It started with a chapter on sorting but that snowballed into a 22-chapter interactive book.

My objective in writing this book, was to introduce a more interactive format for technical books that doesn't require internet access, that is lightweight, comprehensive, cross-platform, and can provide a better active learning experience.

Some unique features of the book include:

* 22 Chapters of condensed theoretical treatment spanning 680 pages, on simple and complex data structures and algorithms, paired with over 300 interactive visualizations.

* Code snippets presented in the book can be interacted with, and feature a visual debugger that shows how variables change as the program runs. You can also play, pause, rewind, and step through each snippet.

* There are a variety of solved problems under each topic accompanied by an embedded minimalist python IDE. You can solve problems directly in the book, view multiple solutions with each solution paired with interactive visualisations and code playback.

The book is currently out and available here: https://cartesian.app

Students can also DM me on Twitter (@ElijahYilma) to get an additional 35% discount.

Past Discussion on Reddit: https://www.reddit.com/r/SideProject/comments/1liga56/i_wrot...

I’d love any feedback or improvements you may have, and more importantly, which topics you would like to see covered in this format (CS and non-CS).
by dec0dedab0de | 2025-07-17 14:17:31+00:00
And I think that's where the reasoning behind only allowing one line lambdas came from. I believe I read a thread a long time ago where GVR didn't even want to include lambdas at all, if I have time I might look for it and edit in a link.

At it's core, I think it's fair to say Python is about forcing the user into formatting their code in a readable way. It's gotten away from it over the years for practicality reasons, and to increase adoption by people who disagree on which ways are more readable.

Sometimes I wish they would take nested comprehensions away from me, I am too lazy to avoid them in the heat of the moment, and I get a thrill out of making it work, even though I know they're disgusting.
by jasonthorsness | 2025-07-17 14:18:17+00:00
By having more targeted results than Google or Stack Overflow AI is reducing my stupidity in the “lack of knowledge” sense (not knowing about a given function; library; feature).

Regarding critical thinking: the article hedges “In Dr Gerlich’s study, for example, it is possible that people with greater critical-thinking prowess are just less likely to lean on ai” and I think this all just remains to be seen, and will hit different age groups and people at different life stages in different ways.
by belter | 2025-07-17 14:18:22+00:00
The comments here are focusing on the code description by the author, of code he did not post, and the confusing explanations of the author, while ignoring the incorrect but demonstrative test case from AWS.

If you talk about documentation, and in this thread there have been many mentions of it, without citing specific paragraphs, we could start with this one from here [1]:

"Using async/await (recommended)"

"...The async keyword marks a function as asynchronous, and the await keyword pauses the execution of the function until a Promise is resolved..."

Or

"Using callbacks"

"...The function continues to execute until the event loop is empty or the function times out. The response isn't sent to the invoker until all event loop tasks are finished. If the function times out, an error is returned instead. You can configure the runtime to send the response immediately by setting context.callbackWaitsForEmptyEventLoop to false..."

[1] https://docs.aws.amazon.com/lambda/latest/dg/nodejs-handler....

It actually seems, the most likely that happendd here, were random disconnects from the VPC, that neither the author or AWS support were able to contextualize.
by daniel-payne | 2025-07-17 14:19:05+00:00
Thanks for reading my article.

Sorry, I should have made myself clearer, I did not mean the UI that you use to create flows with, both systems are drag and drop flow creators. The issues I come across is visualizing what is going on inside of a system once it is created and up and running. I normally would like to have a dashboard showing me what is going on inside of a system. The node-red comes with Dashboard 2 ( a vue based set of components) for displaying whats going on in a live system. But I could not find a similar tool for n8n.

But then n8n has things I am missing from node-red, especially wrappers around LangGraph. I have to code those manually, in a node-red function node and it's not a simple task :(
by NoGravitas | 2025-07-17 14:19:28+00:00
My only gripe with the Mudita Kompakt is that one of the reasons I need a smartphone is to run those little apps without which you cannot navigate the modern world - 2FA, corporate proprietary 2FA, parking, bank (my bank lets you deposit checks through the app, but not through the website, else I would only use the website). And a lot of those require the Play Integrity API at some level, unfortunately.
by bediger4000 | 2025-07-17 14:19:45+00:00
This is a telling decision. Free tax filing should be the norm. The nearly mandatory, third-for-profit-party tax software is so obviously detrimental to both citizens and government. Block and Intuit making fortunes is prima facie waste, which DOGE putatively exists to eliminate.

From this one item, we can see that DOGE does NOT exist to reduce or eliminate waste, but rather has another motivation. Because it is secretive, unaccountable, and not elected, we can easily predict DOGE will diverge further and further from its putative purpose. Because its real purpose isn't known, we will have to infer that from its actions.

Less obvious, DOGE will become a huge problem. It's possible US citizens will dispose of it in just as undemocratic a fashion as it was created
by TimTheTinker | 2025-07-17 14:19:48+00:00
The example given in TA seems to be a straightforward case of institutional naivety (banks doing stupid stuff that confuses customers and makes them prone to potential identical-appearing phishing attacks) -- for which the only solution is for decision makers to be convinced that something needs to change.

I don't know of anything that can convince a group of leaders making money and doing fine to change besides fear. Perhaps the US with its lawsuit-happy culture helped propel such changes more quickly than in Western Europe.
by ezst | 2025-07-17 14:19:52+00:00
> a real victim complex

that, a thousand times. Combined with a severe lack of objectivity. If you can't see the flaws and can't be critical of your own product, what room/hope is there for improvement? Matrix is a never ending story of over-promises under-delivered, taking feedback in bad faith, and, yeah, playing the victim.

I'm amazed that Matrix did manage to capture so much attention for so long while at it. There were there at the right time but with the wrong tech/product/abstraction/competences, sucked all the air out of the "federated personal instant messaging that you can host yourself"-room, and I am still sour that they possibly contributed to the current sad sate of affairs and worst case of consolidation there has ever been in this space (there was a time when WhatsApp wasn't so ubiquitous, facebook messenger, skype, … sucked, GTalk had some amount of interop, and we had a shot at not having our instant messaging in walled gardens).
by imtringued | 2025-07-17 14:19:57+00:00
I think you're misunderstanding the essence of the problem. If you use tendons, you'll need a neural network in your control loop that can learn continuously so that it compensates rope stretch and changes in friction through wear and tear.

A lot of problems in robotics reduce down to continual learning. Essentially all system identification tasks become obsolete the moment you have a self learning system and yet we have an AI industry preaching that AGI is around the corner without this "crutch".
by Eji1700 | 2025-07-17 14:20:05+00:00
Meh chicken/egg. Giving people organized power is proven over and over again to lead to problems. It’s why we have political science and centuries of “how do we stop everyone from saying fuck it and killing each other”

The police having a state mandated monopoly on violence only adds to the problem but the core issue is still there, and it’s hard to do checks and balances that just don’t erode to either regulatory capture, rampant bureaucracy, over efficient streamlining, or more often than not some mix of all three
by camtarn | 2025-07-17 14:20:16+00:00
I think the article answers this pretty well. The bill has text about not being construed as restricting any first amendment rights while simultaneously banning all 1A activity within certain hours. That just seems like a really stupid contradiction, and one that's likely to rile people up, compared to a drafting which just says "here are a list of protest activities which are allowed in the day and banned at night", which I feel was the intent of the bill.
by BruceEel | 2025-07-17 14:20:39+00:00
I find the alignment with the ecliptic plane puzzling. The fact that it's within 5 degrees tolerance, apparently, the chance of that is ~0.2% according to Dr.Loeb. It makes me wonder whether it's possible the object is not interstellar after all but rather some very far out solar system body flung inwards at high speed by something massive (e.g. passing star) thousands of years ago...
by jerf | 2025-07-17 14:20:41+00:00
The sad thing is that this isn't even a one-off. Education has been repeatedly rocked by "someone had a whacky idea and now it's the law of the land". The original "New Math", and several things after it labelled "New Math". "Whole word" reading, and a whole zoo of related "what if we took how we've been successfully teaching reading and just hypothesized that something else might work better maybe" initiatives. The concept of "learning modes", which everyone believes is real but science strongly suggests don't exist very strongly at all. The solution to every educational problem being to push standardized testing even harder. Just over and over.