skysight-inc/HackerNews huggingface dataset:
Show HN: Random Caplocks Prank
I was building a program that needed to allow a user to set a hotkey but the program lives in the taskbar so there's no UI. I decided what I would do is enable the caplock key when they click "Set Hotkey" and then they can disable the caplock key (or set it to its initial state, rather) to indicate they have finished.

That project is still going but I got sidetracked by the idea that I could just build a program to randomly enable the caplock key every once in a while.

This isn't a program designed to calculate child malnutrition or do anything to stop genocide etc but I was able to do it in a few hours and learn some new tricks.

I hope this isn't too stupid for HN.
> you're essentially telling users: "We know better than you." That arrogance doesn't go unnoticed. Respect your users' autonomy

IMHO, that assessment and corresponding answer applies perfectly not only to Momentum scrolling but also to most of the current trends in UX design. I wonder how we got into this worship of aesthetics to the detriment of everything else.
You can't do a drowned rat study without drowning rats.

You can eat all kinds of things without torturing the animals - if you have no alternative please explain clearly why, why eating meat is important enough, and convince - actually absolutely nobody, nobody in power cares about animal suffering in our food system.
There’s so much waste with every household owning a car. A lot of this could be avoided with affordable mass transit options like high speed trains and subways instead.
Nodezator is a generalist Python node editor
In France, the most recent report [1] by the Cour des comptes, our official accounting organ, still gives nuclear power as slightly cheaper than solar and wind.

I trust your data, but the situation here is different, most reactors are already built, and "only" need maintenance and fuel replacement.

I still stand by what I said in my previous comment about emissions per watts, etc.

[1] https://www.ccomptes.fr/sites/default/files/2021-12/20211213...
Ctrl+F hijacking, even if it provides a useful app search feature is something I despise. Browsers should have an alternate Shift+Ctrl+F or something that can be used in those cases. I just discovered Shift+Cmd+F that does something on Firefox.
>Biology and evolution by definition is determined by those who reproduce offspring

Not true. If my brother reproduces, then about half of my genes are still getting passed on. If my cousin reproduces, 12.5% of my genes are still getting passed on. If the argument is that pure gene selection will determine the outcome, then you can’t treat genetics as some simplistic binary.
The demo simply uses the luxy.js plugin: https://min30327.github.io/luxy.js/

This is mentioned in the first sentence of the article: "Momentum (aka. smooth or interia) scrolling plugins (example here), while marketed as enhancements, are a plague upon the internet."

The article author did not create these plugins.
I consider that first link, Accounting for Computer Scientists, as the canonical guide for computer scientists as to wtf double entry accounting is and why it's the right way to do it.
> The ISS is crawling with bacteria

I have read that the smell must be quite peculiar, it's not like you can clean that thing.
Most likely they are trying to degoogle.

https://en.m.wikipedia.org/wiki/DeGoogle
Gen Z may be immune because they can't read anything longer than the single-word subtitles on a TikTok. Which drive me insane.
Since no other pedants have chimed in yet, I'm required to point out that 20 years is five olympiads, which is the timespan in between six Olympic games.
>Banks can lend up to an allowed multiple of their cash or equivalent reserves

And what is the current reserve requirement in the US? Zero.

https://www.federalreserve.gov/monetarypolicy/reservereq.htm

Edit: Whoops, someone beat be to it below.
Yes exactly. With assets liabilities and equity having a left and right entry, they were following the convention when posting a journal entry to the ledger, left entries must equal right entries. (Debits must equal credits). Because A=L+E, we get assets to the left and liabilities to the right.
If you like that there is https://www.piratepx.com/ which is even more minimal (though less data), I also built something even MORE minimal (only API calls) https://github.com/teamcoltra/ninjapx but I'm certainly not recommending it. It is super simplistic (also the readme is embarrassing)
Outlook for web hijacks ctrl+r.

Don't fuck with the standard key combos.

Stop surprising users by taking away functionality from other applications.
Only a few applications behave like that because of defective coding hamster browser is a good scroller .Tilt scrolls are available in iPad and this helps old people like me to scroll quickly read me there is an automatic scroll also which is very good
Drm free digital video purchase doesn't seem to be a thing, but buying DVDs / blu rays and ripping them to a Plex / jellyfin server has gotten pretty approachable.
Prediction markets to estimate reproducibility of scientific research (2015)
The beginnings of what I've been waiting for?

https://news.ycombinator.com/item?id=39306077
Awesome project, good luck!
That was after Nokia acquisition from Trolltech.

https://blogs.kde.org/2009/01/14/cute-harmony-qt-goes-lgpl/
When companies move from Go it is usually because of GC.

Tho point of Rust is to be safe language without GC. Even if not perfect, best thing about Rust is borrow checker and border between safe/unsafe. You can use several other languages, like Ocaml, if you want Rust with GC.
I *really* wanted basically "google class without the frigging camera."

Being able to overlay an 80x24 terminal over one of my eyes (and drive it with a bluetooth keyboard or whatever) would've been fantastic for me.

Unfortunately for me, this is enough of an outlier desire that it doesn't seem likely anybody will ever want to sell me that at a price point I can convince myself of.
> What matters is the service plan offered by the cloud provider and the performance indicators they are contractually obligated to meet

Indeed, and those indicators are specified in the contract, not in the headline product description. There are a lot of people unhappy that those indicators in this contract are not specific enough. Those people shouldn’t buy these contracts.

(Also, if you use your 1Gbps port at full speed at the most peak time for bandwidth utilisation, for 37 hours in a month, and not at all outside of that, assuming 20 cents a megabit with 95th percentile billing, the costs you’ve incurred to your provider are $200. Also it doesn’t matter at all what you do after those 37 hours, the costs to the provider are the same. You doing 300TB in a month costs the same as you doing 16TB, if you do the 16TB the ‘wrong’ way.)
So what if it's an emergency
Nothing in the language, though the permissions mechanism of the system may disallow it. Unless the compiler is running with root permissions.

C is not a safe language. The more abrasive among fans of the language would say "skill issue" and "git gud" if you want to avoid footguns.
What a horrible, anti-social attitude. I hope you aren’t working on anything important.
Fossil footprints in Kenya suggest two different ancient human relatives
Definitely follow the lead of one of the most reviled companies going.
When asked to build web pages, LLMs include manipulative design practices
I'm not sure you can still limit a company to their origin country if they are so international and things like US holidays impact a lot of marketing activities (ad spend, promotions etc.).
Whats the issue with getting them once they are needed?
I used GIMP earlier today. So thank you all involved!

After so many years I keep going back to it for quick edits.
I don't know. I actually asked myself this very thing while typing the above comment, but I'm too busy/lazy to look it up.

One issue I can see with this, though, is that if the malware is already present on your system and can run things, nothing would prevent it from hijacking the modules or the boot image before they're signed.
Interesting but that's still not a totally fair comparison because the you of 30 years ago might have found them harder.
I don't disagree, but once again "French theory" takes a bullet for things they did not write or said. Or at least, postmodernism is equated with French theory when few French author actually wrote anything about those subjects.

I understand the criticism of most of Postmodernism, because they reject Marx historical materialism, because a part of it is new-age trash and unactionable, and its authors were grandiloquent, pretentious shit (even the one i like the most, Baudrillard, seems to be an insufferable human being), but the simple act of rejecting meta-narratives is such an interesting idea, it posit that all action (or social struggle) as necessarily local, limited, and partial, but nonetheless effective. A moto of postmodernism would be "act locally, and don't worry about any grand plan, even if those exist, they won't work".
I mean... Fraud is defined by intent.

You can argue negligence over mistake. But fraud definitely requires intent.
I think this graph from Wikipedia is better, as it goes back to 1990 [1].

Renewables have increased significantly, but much of that is displacing nuclear power. The remainder, plus a small increase in natural gas, his displaced hard coal and a small amount of lignite. Presumably hard coal is more expensive.

The overall trend is coal is reducing, but it's a poor show compared to Great Britain [2].

[1] https://en.wikipedia.org/wiki/Electricity_sector_in_Germany#...

[2] https://en.wikipedia.org/wiki/Electricity_in_Great_Britain#/...
What matomo does is mask parts of the IP address (you choose how much).
How come on HN the comments which are tangential to the main topic always get voted to the top?
Is o1 even that good? It's doesn't even rank first on LMArena..
Alien samples won’t have carbon-14, which is created in the atmosphere.
Wonderful! Instabuy. Just grabbed the last Krüller CD from amazon.
Generational differences I guess. MP3s did not become a thing until way after I was out of college. I used my weekly lunch allowance to buy a CD for that week. Most CDs of back catalog content was $9-$15. The >$20 prices weren't that common for typical releases. Of course some special release with multiple discs were priced higher.

Where did I put them? I just had stacks of them like everyone else. Now, they are just in boxes labeled CDs. Most of the time, they were in a CD player in the car, in the disc changers, in the Walkman, etc. Lots of people would toss the case, and put the disc/liners in a flip book to reduce space.

When you are into music, you deal with it. Like drummers. Where would you even put the drum set? What a silly question honestly.
The article does talk about a bit why using negative amounts for this is a bad idea.
And took up exactly the same amount of space.
Why wouldn’t they just buy name and address in bulk from one of the many providers that has essentially all of our info?
Doh, it's by Jim Crace, should have mentioned that.
In "traditional" engineering, there are a lot of old code bases still in use that few people (if any) have a solid understanding of. I've seen code comments dating to the 70s. Often the code was "documented" in internal reports. Many of these reports are now lost. These reports are often incomplete or unclear when they can be found. Plus, what you read in the ancient reports may not be current.

The job ad will probably not directly say anything about code archaeology. If the job ad mentions some sort of in-house simulation software, and the organization is 50+ years old, I'd say it's a coin toss as to whether you'll have to be this sort of software archaeologist from time to time.
The bank will tell you there's a credit because to them, it's a credit. Your bank account is a loan from you to them - they owe you that money. When your account goes up, their debt to you goes up... thus it's a credit to them, and a debit to you.
They were also a bit far from the Americas, which might have contributed to the economic boom of Europe more than the faster spreading of new ideas via books, no?
Surely is key. The "key" plate in printing is the main plate with the most detail in the color separation, and it's typically black, hence key equals black.
> they actually did the math on the economics

No they didn't. Approximately 0% of small business owners have time to sit down and do math. They keep buying diesel because that's what they've always bought. They've learned the hard won lesson that change is hard and change is costly. Few small business owners are going to be on the bleeding edge.

They'll switch when EV's are the default choice.
Shopify Live Globe 2024
> So if i am building my own house i should also spend thousands of dollars more to make it accessible? If my house isnt accessible do i also spit disabled people in the face?

not hiding the scrollbars on your website doesn't cost you thousands of dollars so I don't really see the equivalence
It may be harder to had them or more expensive. And the fact you suddenly need them also mean there are low chances you'll be able to do the work yourself.

Like: build a house on only one floor so no stairs => no need for elevators later on. But it requires more floor space.
Stripe isn't a bookkeeper/accountant. Something like http://Pilot.com is though.

stripe on bookkeeping: https://stripe.com/guides/atlas/bookkeeping-and-accounting
You can't avoid this. It is either your client or bank's client. And no bank will take the burden to account every $0.2 transaction for you, spending its own computing power. It just a quite expensive thing to do. That is why banks often separate the main ledger and retail ledger[s]. Each system tuned for a different performance profile.
Money never moves instantly : light speed is a limit (and also something can always happen to the message(s).
Related:

Live on the Las Vegas Sphere, powered by Unreal Engine https://x.com/tobi/status/1862484893890224527
That doesn't really help if the website removes the parts of the page that are outside the current screen from the DOM.
Thank you for your digital archeology.
Some platforms have a field called sa_len.
Show HN: AI Podcast and Book Summarizer
Please Provide Feedback! it's free, only a login is required.

Speech API is available and works but not available for free, as I can't afford it.

Upload a YouTube URL or a Book to summarize.

Updates in upcoming days...
- Ability to share the summaries with others via email
- customizing the reading page
- listen to summaries
- app for iOS, and Android to listen/read summaries anywhere.

let me know if these updates are useful or if you want any other features.

Thanks for your time.
Some people are wired to find disrespectful complaints and unconstructive criticism genuinely upsetting (which is unfortunate in a bunch of ways, but OTOH the same personality traits often also make for somebody who's fantastic at handholding polite newbies through learning something).

I am excellent at finding such things either hilarious or grounds to say "well, if you're going to be like that, I can't say I care about your opinion, piss off" and moving on to the next complaint in the hopes I can get useful feedback out of that one.

But there's a fair swathe of newbies where I have to step back and let other people help them instead, because if I try I'll end up accidentally driving them off and feeling like a dickhead afterwards :D

(I have tried and failed repeatedly at "Not Being a Bastard," so I've settled for leveling up in "Being a Self Aware Bastard" instead; at least that reduces how often I end up causing *un*intentional offence ;)
Go deserves to get TypeScripted. Another effort in this vein is Go+

https://github.com/goplus/gop
That's essentially what it is.

You can determine the size by looking at sa_family.

Some platforms also have an sa_len field.

It's still unsafe if you allocate for the "base" type of struct sockaddr then try to use it for something larger, but that generally is not done. People usually allocate for the exact type they want, and only pointers to the structure are passed around, often opaquely.
Were these APIs just free and open? Open to subscribers or to anyone?

Because I'd be happy to pay a bit more to have api access to a service I use, perhaps because I'm using some 3rd party software etc. For example, now I'm using offical apps for Reddit and Twitter, whereas in the past I used great third party apps (Apollo and Tweetbot) which were an order of magnitude better. Sure, they never showed the ads. But just let me pay with money instead of using a shitty app and seeing ads?
Twitter closed API access long before musk arrived. It used to be fully open. I think perhaps they were trying to make the API a little less useless, but it would never return to its full glory (maybe for data ingest, but certainly not read).

Any platform that relies on serving ads will not have a full-featured API, because it's an obvious way to ignore ads (and maintaining the API costs you money).

API isn't free.
I think there is a bit of exaggeration here.

The maximum temperature at Pau today was 22° Celcius (71°F) and in the next 10 days the max temperature will be around 14°C/57°F, except Saturday 30 (19°/66°), Sunday 1 (21°/70°) and Wednesday 6 (16°/61°).

The Guardian reports a temperature of 26.9C/80°F at 4am on Tuesday. Maybe, but at 4am tomorrow the temperature will be 9°C/48°F
At least on my iPad here, when the screen is scrolling, and you touch the screen, it stops. On the demo page, it doesn’t. Who would want that, or think that was better? If I encountered that, I’d go away from that website and never go back.
Using the wrong names for things is one of our most astonishing superpowers, and the most pervasive one: Every last one of us has it!
If that's practical experience that you need, I remember reading some studies comparing the reliability and efficiency of nomad vs k8s under load (spoiler: they do not look very good for k8s).

If that's popularity that you need, then sure, nobody ever got fired for choosing kubernetes.
Development ceased at the end of 2000, when Qt was released under the GPL, removing the perceived need for the Harmony Project to exist. In January 2009 Qt itself was made available under the GNU LGPL, along with the previous license options.
100%

As insidious as data harvesting is, I am even less of a fan of the pearl clutching / performative cynicism that is so popular these days.

Why yes, when I say “good morning” to the barista who hands my my coffee, it is possible that the shop is recording me and will use my voice in an elaborate voice cloning scam to get grandma to transfer her life savings to Nigeria.

But breathlessly alerting me to this impending disaster and soberly advising me to never use my voice in public is not going to impress me.
Charles, it's been there for a decade or more.
It's not trying to fix Go, it's trying to be a new programming language. It just happens to compile to Go, and allows Go interop.
Spotify recently reported record profits, but at what cost?

After raising prices, cutting payouts to artists, and laying off a significant number of employees, Spotify managed to post a $499M profit.

It just doesn’t sit right with me when a company thriving financially decides to cut jobs and squeeze artists even further.

The only thing that’s kept me on Spotify is the family plan—I didn’t want the hassle of setting things up again for my elderly parents. But the prices have shot up fast.

Here’s a comparison of current family plans:

* Spotify: $19.99 (for 6 people)

* Pandora: $17.99 (for 6 people)

* Apple Music: $16.99 (for 5 people)

I remember when I first signed up, the Spotify family plan was just $12.99. Hard to believe how much it’s increased in just a few years.

Recent News

* Spotify Rakes in $499M Profit After Lowering Artist Royalties Using Bundling Strategy | Headphonesty || https://www.headphonesty.com/2024/11/spotify-reports-499m-op...

* Spotify to lay off 17% of employees — read the full memo CEO Daniel Ek sent to staff members || https://www.nbcnews.com/tech/tech-news/spotify-lay-17-employ...
And single entry bookkeeping is even "easier". Doesn't mean it's a good idea.
This didn't come through pwas. We've had ajax for ages before they became a thing and mpa also had opaque state for modals/detail views etc.

Blaming SPAs for such things is like blaming the ocean for a hurricane... Sure, you'd have less hurricanes without the ocean, but it's ultimately not the reason for them
> That said, the whole IP thing is weird to me. Not only are we allowed to log IPs directly for security reasons, we even have to log IPs in certain cases (newsletter subscriptions).

The point of designating something as PII isn't that we then _never_ store or use it, it's to carefully consider if we actually need it or not (and what protections we can add for the values we do need to store/use).

We're meant to stop the practice of just collecting and storing all data, without consideration for the harms that causes.
> Gratitude goes a long way.

It sure does.

And lack of gratitude goes a long way in the wrong direction. Big time demotivator.
Intentionally broken scroll on mobile?

It's like Poe's Law but for insipid web UX.
Llama.cpp guide – Running LLMs locally on any hardware, from scratch
Snack-sized Golang insights and tips
In humans, memes are a stronger driver of fertility than genes. It is a self correcting problem, but that's because having more children than you can support is an antimeme. Even if they survive and reproduce, they won't pass on the "large family" trait.
Typically not a literal pcap. Not just wireshsrk running persistently everywhere.

There are systems you can buy (eg by Pico) that you mirror all traffic to and they store it, index it, and have pre-configured parsers for a lot of protocols to make querying easier.

Think Splunk/ELK for network traffic by packet.
I’m 42 with a full-time job and am at 103 books read so far this year.

The tricks are to put a lot of time in it and always have a surplus of interesting books on hand. I spend around $2k a year on Kindle books (if I talk to someone and they mention a book they like, I’ll usually just buy it) and make reading a daily habit.

I read on average an hour a day on weekdays and two or more hours on weekends. Reading is one of the things I enjoy the most and has been for my entire life.
Their option to colocate a Raspberry Pi (or similar form factor) for $5/month is also interesting as a VPN exit node.
If you thought Catch 22 was funny this book will split you in half. I had to take it at only a few pages a day and re-read them a few times. I will say though, I might be misremembering how good it was, it's been a few years. I'm going to make a go of it again. I remember feeling at the time that I was reading the diary of a sort of "4chan patient zero".
I don't know about changing tone but I have used Adobe Podcast editor and it allows you adjust the words and rearrange what you said so you can cut "umms" and stuff. I know they are constantly adding features so I don't know if you can improve cadence and stuff but worth looking at if you have adobe stuff
If I see a helicopter that crashed down on a tree, I can say something is wrong even if I don't have license for flying.
Look up Corvil devices by Pico.

Commonly used in finance.

https://www.pico.net/corvil-analytics/
I don't want Google using my data to train their models among other things.