skysight-inc/HackerNews huggingface dataset:
It's that you trusted that what you read came from a human being. Back in the day I used to spend hours reading Evolution vs Creationism debates online. I didn't "trust" the veracity of half of what I read, but that didn't mean I didn't want to read it. I liked reading it because it came from people. I would never want to read AI regurgitation of these arguments.
Show HN: Reference impl of inertia scrolling in vanilla JavaScript
Hello.

In order to implement a high-performance, double-ended virtual list in a cross platform way for a personal project, I had to code my own scroll routines. Scroll anchoring is not available on Safari[1], so prepending elements to a DOM node causes scroll shifting. I tried working around it for days, but solutions were super fragile and inconsistent. Even in browsers that do have scroll anchoring, the behavior is not perfeclty consistent and performance still suffers from repaints caused by on-the-fly scroll compensation done by the browser.

So I decided to use css animations, specifically transform animations, coupled with absolutely positioned elements to have full control of the list behavior. This is not something out of the ordinary to do. But the real challenge was approximating the native scroll feeling on iOS.

I found very little online content regarding how to go about implementing inertia. The general solution was to apply a friction constant after having the deltas yielded by the calculated velocity/acceleration. But iOS also has this mechanism were acceleration increases as you scroll repeatedly. Also, deceleration seemed to be dynamic according to the samplings I made.

The final code [2] is quite trivial, but arriving at this state took quite too many tests, since it's a very very delicate mechanism. Hence, I'm sharing the routines here to help future web-searchers save time in case they happened to fall in this rabbit hole too. There's some avenues for adjusments, the current constants/dynamics found on the code were the ones which simply appealed the most to me. Interestingly, I even came to dislike how iOS accelerates too much on repeated flicks and ended up prefering my own dynamics, go figure.

[1] https://caniuse.com/css-overflow-anchor

[2] https://gist.github.com/jonsecchis/18c4d5de214467f5f94cffb0b...
They would be out of jobs.

You're being downvoted because you're correct—HN is an eco chamber for zealous regurgitation of opinions of the academy and media—institutions that have decayed. It's been happening slowly for awhile, but now things are starting to come apart at the seams.
Sprig: Build a game, get an open source console
I had a similar experience -- their (age 2 & 5) favorite thing? Was it the rides, meeting all the characters? No. The parking lot tram.
> It is "cringe", because you have degraded SQLite to nothing but an overly verbose key value store.

Honestly I kind of agree with this. It feels like the main benefit over a key-value store at that point is just automatic management of secondary indexing.

That said, most users of SQLite all along have used it as a local library, and the same arguments apply to all those use cases... and yet, SQLite exists and has all these features which "seem unnecessary" in that context. So they must have value?
Declaration of Delightful Documents
> But if you go to a shitty concert, you don't get your money back. If you buy a shitty album, you can't get your money back. And you can't get the band to "make it better" for you.

The difference is whether "shitty" is subjective or actually defective.

Like, if you don't like the music, that's on you, someone else might like it.

And, I've certainly been to concerts / movies / events where there have been "experience-breaking" technical difficulties and they've (partially or fully) refunded the tickets.
100K people that don't know that clipboard managers exist as a system application/and or are limited on what they can install at work.. But are also probably sharing all their clipboard history with the addon creator. :facepalm:
I don’t think we’re going to solve climate change, we’re just not moving in that direction, like you said there’s unwillingness. Going anti-climate is not going to foster democracy though, the people who are working to end democracy are also advocating for ignoring climate change.

My opinion is that we need more democracy. The people who are most impacted by climate change, the poor and the youth, have the least influence on the issue. If they had a bigger voice, we’d be making different decisions.
I see this as a pruning process and an inevitable part of science.

But I would further argue against what others were saying about personal ethics. Science must remove the human as much as possible from the process.
Comments moved to https://news.ycombinator.com/item?id=41673317, which is currently on the front page.
But the book and movie are set in the 1930s, though I guess 1930s through a 1960s sensibility.
If humanity is to mature, we should be an open book when it comes to incentives and build a world purposefully with all incentives aligned to the outcomes we collectively agree upon.

https://fs.blog/great-talks/psychology-human-misjudgment/

Charlie Munger's Misjudgment #1: Incentive-caused Bias
https://www.youtube.com/watch?v=h-2yIO8cnvw

https://fs.blog/bias-incentives-reinforcement/
Proof-of-work in its current form needs to die.

If it is based on proof-of-work it needs to be something useful.

If someone can prove proof-of-work won't work without wasted work then we need to make some sacrifices to make it workable. Because we cannot allow slow as molasses and/or extremely wasteful for all future.

If it is based on proof-of-stake there needs to be a fair distribution model.

I have some ideas for both, especially the first but I want to give them some more thought :-)
> At the time (20+ years ago) it didn't occur to me that anybody would intentionally modify images of gels to promote the results they claimed

Fraud I suspect is only tip of the iceberg, worse still is delusion that what is taught is factually correct. A large portion of mainstream knowledge that we call 'science' is incorrect.

While fraudulent claims are relatively easy to detect, claims that are backed up by ignorance/delusion are harder to detect and challenge because often there is collective ignorance.

Quote 1: "Never ascribe to malice that which is adequately explained by incompetence"

Quote 2:"Science is the belief in the ignorance of experts"

Side note: I will not offer to back up my above statements, since these are things that an individual has to learn it on their own, through healthy skepticism, intellectual integrity and inquiry.
Once You Get the Message, Hang Up the Phone
> My opinion is that we need more democracy. The people who are most impacted by climate change, the poor and the youth, have the least influence on the issue. If they had a bigger voice, we’d be making different decisions.

But that isn't democracy then, right? Equal votes is the problem, when younger and future stakeholders should have a greater vote and say vs those who will not be around much longer or the wealthy (who generate outsized emissions [1] and a component of their wealth are fossil fuels based [2]). Unaccounted carbon emissions from consumption are our time's bread and circus, racking up the credit card and dumping the liability on future humans.

Imagine telling anyone over 60-70 or anyone near the top of the wealth spectrum they shouldn't get a vote in climate related matters. So instead, you have to just wait for them to age out, while you make whatever progress you can day by day. Or a version of a representative democracy where the longer you'll be here, the greater the vote you get. "No taxation without representation." if you will. The future having to pay for the past's lack of will to reduce carbon emissions is taxation, and the cost is going to be enormous [3] [4] [5].

[1] https://www.oxfam.org/en/press-releases/richest-1-emit-much-...

[2] https://www.euronews.com/green/2023/06/23/only-the-super-wea...

[3] https://apnews.com/5949adfa46b84ee9aa28369f9c050e18

[4] https://apnews.com/article/climate-change-damage-economy-inc...

[5] https://advocacy.consumerreports.org/wp-content/uploads/2024...
Yes this has basically been the modus operandi of the gates foundation and it took them 10 years to make a dent on Malaria. They still have no clue how to “efficiently” reduce famines.

They won’t touch American housing problems with a 10ft pole. That should tell you something.

Go to Berkeley, tell them a Billionaire wants to build housing for the homeless in their neighborhood. See what happens.

It’s a hard pill to swallow but the best thing billionaires can do is let us tax them and then butt out go fly rockets. The political problems is upto the rest of us.
Sounds like Eric Weinstein'a take (which I appreciate) on theoretical physics research.
A just had a quick look at the ez80 it and it seems like it's pipelined, so the instructions per clock will be a lot better than the z80. A 20MHz ez80 is probably one order of magnitude improvement than the oftentimes 4MHz z80.

Wikipedia says three times faster at the same clock speed. So 20*3/4=15 give or take.

As an aside, last time I did napkin math estimation on the 8-bit AVR it was faster than a 68000 at the same clock speed. The 68k took 4 clocks to do register to register, AVR is mostly one clock so could do most 32 bit operations as fast or faster using multiple instructions.
> TSMC’s executives found the idea so absurd that they took to calling Mr. Altman a “podcasting bro,” one of these people said.

This is very heartwarming.
> After each attack, the museum must close for a while

This was the National Gallery in London, which I believe doesn't charge for admission because it's a public institution. But ... did the National Gallery actually close after these incidents, when just one painting was attacked and not actually damaged? That would seem to be an overreaction. In any case, I think a lost revenue justification for the damages along these lines seems kinda silly.

Rather the judge seems to have believed that the damage is to society overall:

> our culpability is at level A. You did reconnaissance and planning and talked to a journalist. Your harm is at category 1, which means extreme harm to society.

> There is nothing peaceful or nonviolent about throwing soup. Throwing soup in someone’s face is violent.

I think the problem with a legal system that treats throwing soup as violence and not damaging a painting as causing damage is that this flattening perspective only incentivizes activists to go big or go home. If you're going to be sentenced as if you did damage even when you did not ... then you may as well try to destroy the painting next time. If you're going to be treated by the legal system as if you committed a violent crime when you threw soup at an enclosed painting ... then maybe next time you should actually commit real violence. Note, it sounds like being convicted of battery in the UK only gets you up to a maximum of 6 months. So you could physically accost people and get a much shorter sentence than these soup-throwers.

https://criminalinjurieshelpline.co.uk/blog/punishment-sente...
Wait until you find out about copywriters.
But if the NIH had done that in 2016, they wouldn't be in the position they're in now, would they? How many people do we need to check? How many figures do we have to scrutinize? What a mess.

This is the core problem with science today. Everyone is trying desperately to publish as much, and as fast, as they can. Quantity over quality. That quantity dictates jobs, fellowships, grants, and careers. Dare I saw we have a "doping" problem in science and not enough controls. Especially when it comes to "some" countries feverish output of papers that have little to no scientific value, cannot be replicated, full of errors, but at least it's published and they can get a job.

For a long time the numbers have been manipulated and continue to be so, seemingly due to national pride.

https://en.wikipedia.org/wiki/List_of_countries_by_number_of...

https://www.science.org/content/article/china-rises-first-pl...

Scholars disagree about the best methodology for measuring publications’ impact, however, and other metrics suggest the United States is still ahead—but barely.
I would like to know how does AI help us in solving the climate crisis! I have read some articles about weather predictions getting better with the help of AI, but that is just the monitoring, I would like to see more actual solutions.

Do you have any recommendations?

Thanks!
Even TND appears to be very regionally specific and may have important differences across development in autism. The most exciting thing are differential findings of density of dendrites vs neuron cell bodies. We haven't looked at that so much in autism and when we take that into account, suddenly a bunch of new regions pop up.
Doctored neuroscience papers. I'm shocked.
Similarly, ambitious and difficult experiments that don’t pan out should also be richly rewarded. You just did all of science the service of clearly marking that tempting path with a big “don’t bother” sign, thus saving resources and pointing the ship a little closer to the direction of truth.
To be fair, they never go for unprotected paintings, they mostly go for maximum outrage and visibility.

I've talked to a Femen a few years ago (a Russian, exiled in France), asked why they go for visible but ultimately non-actionable acts, and basically her response was something like 'We want to shock the most bigoted, idiotic persons you know, so that they will talk about us to people without strong opinions at their family diners. You can't have real change even with strong words like "women are raped in their own bed" (it was waaaaay before Peniquot) if nobody is opposing you. We create an opposition to make our voice louder'. Or something like that, I mostly remember the last sentence.
It was the teachers themselves who told me, but sage advice in general. You're quite right that teaching does tend to an attract a crowd that are out to lunch.

Still, the portfolio is public knowledge, so we can also verify what they say. In this case a stopped watch is still right sometimes.
I “rented” a movie on Apple TV last night. I’m quite confident I won’t be paying again in 30 days :)
Network Traffic Analysis of ICMP "Love" Noise Storms
"Programs are meant to be read by humans and only incidentally for computers to execute."

From the preface to the first edition of Structure and Interpretation of Computer Programs by Abelson & Sussman (which predated Code Complete by a decade).

It's a maxim I live by although my employers always seem to insist on the computers executing part for some reason.
I was not making that argument. ¯\_(ツ)_/¯
Yes, the top chain in the talk page is exactly what I’m referring. And, as expected, the fair critique of the article for violating wiki guidelines has been shot down by passionate editors who want to push their narrative.
The irregularities of many real-world problems will keep even humans of low intelligence employable in non-AGI scenarios. Consider that even if you build a robot to perform 99% of the job of, say, a janitor, there's still that last 1%. The robot is going to encounter things that it can't figure out, but any human with an IQ north of 70 can.

Now, initially this still looks like it's going to reduce demand for janitors by 99%. So it's still going to cause mass unemployment, right? Except, it's going to substantially reduce the cost of janitorial services, so more will be purchased. Not just janitorial services, of course. We'll deploy such robots to do many things at higher intensity than we do today, and as well as many things that we don't do at all right now because they're not cost effective. So in equilibrium (again, the transition may be messy), with 99% automation we end up with an economy 100x the size, and about the same number of humans employed.

I know this sounds crazy, but it's the historical norm. Today's industrialized economies already have hundreds of times the output of pre-industrial economies, and yet humans mostly remain employed. At no point did we find that we didn't want any more stuff, actually, and decide to start cashing out productivity increases as lower employment rather than more output.
People like you, the author, and me all share this sentiment. It motivates us to seek out authentic voices and writing that’s associated with specific humans.

The commodity end of the writing market may well have been automated, but was that really the kind of writing you or the author or I ever sought out in the first place?

I can get mass-manufactured garments from Shein if I want, but I can also still find tailors locally if it’s worth it to me. I can buy IKEA or I can still save up for something made out of real wood. I can “shoot a cinematic digital film” on my iPhone but the cineplex remains in business and the art film folks are still doing their scrappy thing (and still moaning about its economics). I can lap up slop from an academic paper mill journal or I can identify who’s doing the thinking in a field and read what they’re writing or saying.

And the funny thing is that none of those human-scale options commands all that much of a premium in the scheme of things. There may be less human-scald work to go around and thus fewer small enterprises plying a specific trade, but any given one of them just has to put food on the table for a number of humans roughly proportional to the same level of output as always.

It seems to me that there’s no special virtue in the specific form that the mass publishing market took over the last century or however long: my local grocery store chain’s division producing weekly newspaper circulars probably employed more people than J Peterman has. But there was and remains a place for quality. If anything—as you point out—the AI schlock has sensitized us to the value we place on a human voice. And at some level, once people notice that they miss that quality, isn’t there a sense in which they become more willing to seek it out and pay for it if necessary?
I also watched almost all episodes of PBS Spacetime. Some of them multiple times. I'm so happy that Spacetime exists and also that Matt was recruited as a host (in place of Gabe). Highly recommended channel, superb content!
I think so, but they do rerank the results. The only major engines that run their own indexes are Google, Bing, Yandex, and Baidu.
I mean, if you want conspiracy theories, Exxon and Arco actually launched the solar panel industry and invested tons of money into them. It wasn't until OPEC (government controlled oil suppliers) undercut the oil market in the 70s that they divested them. (Arco's solar business ended up getting sold off to Siemens).

I think it's a bit misguided to believe that oil companies are solely using corruption to drive their influence, but then that they would also care about what in particular they are selling. If their profits came only from backroom deals, you'd think they would choose a cheaper and easier product to trick consumers into buying!
The Website of Everything (2005)
Time for someone to crack their knuckles and do a Power Broker-style MTA Open Data mashup :-)

https://en.wikipedia.org/wiki/The_Power_Broker
> it's incredibly authoritarian to have to affirmatively prove that one is not committing a crime to the government

Nit: it's oppressive and quasi totalitarian, not authoritarian.
The Architecture of London Pubs (1966)
OK, thank you for your response, I learned something today.
AMD Unveils Its First Small Language Model AMD-135M
REI in the US is sort of like that.
Has anyone here worked with Sam Altman? What's he like?
Nuclear physics had just "cracked open" and there were lots of highly promising prospects to pursue. You can't recreate that historical situation by switching from agile to scrum, or from scrum to agile.
Ask HN: High quality (non course) videos explaining/discussing something
I would like to use the hive mind of HN to collect videos you think are of high production quality it does not have to be purely educational videos stating well explained/animated opinions for example politics would be fine too. I do not want to limit it to English only, maybe the are some nuggets we would miss out on, that can be enjoyed with English subtitles. If for example youtube channels have a high level of quality consistently a channel instead of a single video is fine as well. Well done presentations/TED talks etc. are welcome too.

I will start with some of my favorites:

1. Mostly maths and well known by now and some videos are even better than others but I think the channel as a whole deserves attention. 3Blue1Brown https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw

2. Principles for Dealing with the Changing World Order by Ray Dalio https://www.youtube.com/watch?v=xguam0TKMw8

3. (German) David Kriesel: Traue keinem Scan, den du nicht selbst gefälscht hast https://www.youtube.com/watch?v=7FeqF1-Z1g0
Uhh... it makes it worse.

We don't have all of the data because in the US companies are not generally required by law to disclose their emissions. But of those who do, it's been disastrous. Google was on track to net zero, but its recent investment and push on AI has increased their emissions by 48%.

https://www.cnn.com/2024/07/03/tech/google-ai-greenhouse-gas...
5 Days with Elon Musk on X: Deepfakes, Falsehoods and Lots of Memes
Oh for sure. I use it as smart(ish) autocomplete to avoid typing everything out/looking up in docs everytime but the thought of prompt engineering to make an app is just bizarre to me. It almost feels like it has more friction than actually writing the damn thing yourself.
I'm not sure it isn't a reflection of the rise of neoliberalism.
It's amazing how hard communication can be! My simple sentence, "Finland is a NATO ally; but sure Canada makes sense too." has three interpretations - all reasonable IMHO:

1. cgh's: 'Finland is ok because they are in NATO; Canada, who in contrast are not in NATO, also makes sense.'

2. yours: 'Finland is an ally of NATO, not a member.'

3. mine: 'Canada may have 'close economic and cultural ties' (from the parent comment), but Finland is a member of the NATO alliance. Canada still makes sense (no comment on their NATO membership, which is a fact).'

I think some is context: In what I read, 'NATO ally' is a somewhat common term for members of NATO (an alliance, of course), and I instinctively used it. It's hard to remember that other people read their own materials.
What's an IDE and how does it refactor hundreds of semantically unrelated identifiers in one go?
I think in that vein sports betting is also regulated, although I don't know the exact regulations, I do know that you still need a license.
It should still take the same ip as its reserved based on the mac address which won't change after a factory reset.
I've been following this project pretty closely and even though it is based on the prototype Commodore 65, I kind of wish they had just gone with the superior aesthetics of the classic c64 for the outer shell even if that would have been less accurate. And the extra long spacebar, just ugh.
It could also have a chilling effect on a lot of breakthrough research. If people are willing to put out what they mostly think is right, it might set back progress decades as well.
These are what I miss most about my years living in Japan. I made them for my kids a few weeks ago and they adored them. You can buy plastic-lined seaweed sheets to fold the rice into, so opening them is almost the same experience as onigiri from a Japanese conbini. For a filling, I just mixed together some tuna, salt, and mayo.
Some really nice example visualizations from Matt Yarri and Julia Lynn at the MTA: https://www.linkedin.com/posts/matt-yarri_some-of-the-data-w...

https://new.mta.info/article/introducing-subway-origin-desti...
Scientists uncover genetic predisposition to anxiety