MurphyA/hacker-news huggingface dataset:
by Someone | 2025-04-21 12:44:12+00:00
My guess/intuition is that the first player to move can win. I see two strategies that may work:

- use your queens ‘from the outside in’ to give check, forcing your opponent to take the queen giving check. In the long run, isolate an enemy queen in a corner, effectively removing it from play and giving you a surplus queen. Then, keep exchanging queens.

- use your queens to give check, forcing the queens near the enemy king to take them. Once the enemy king is isolated, it cannot move anymore, so giving check becomes dangerous. Black will have to either take the queen giving check or move a queen into the line of sight.
by wpietri | 2025-04-21 12:44:18+00:00
I can also recommend bulk roasted unsalted peanuts. They have some advantages: they're cheap, they don't crumble, so you can always have a few in your coat pocket, and they take some work from the crows. They'll enjoy the challenge, and you'll enjoy watching.

I once lived in territory of some ravens, and it was a deep pleasure to gradually become friends with one. It took maybe a year of consistent effort, but eventually he'd come hang out with me outdoors. I would say bits of Poe's "The Raven" to him, and when his turn came he'd respond with soft, friendly mutterings. He especially liked to visit when we'd grill and eat outdoors, as there was nothing he liked better than some some bone with bits of meat and gristle left on it.
by throwaway277432 | 2025-04-21 12:44:36+00:00
>chore: change to MIT license

What does "chore" mean in this context? Is the license just leftover from some MS open source template? If so there is perhaps some leeway, and the author maybe just didn't realize he needed to use the original MIT license file including the notices and not just a template one grabbed from the internet.

Any other explanation for such a "relicensing" would be extremely worrisome.
by TuringNYC | 2025-04-21 12:45:11+00:00
>> solar panels are cheap

I want solar panels, but i'm also a skeptic on the cost, and not enough time has passed to prove how things will go. While I agree the metered cost may now favor solar -- what is the TCO for the average resident? Some things on my mind:

1. Everything seems inexpensive at first, before you have to pay for servicing. Just like with cars, HVAC systems, plumbing systems, or any complex system where you are at the mercy of repair companies that are highly local. With plumbers in our area, you cannot even effectively get multiple quotes because there is a "visit fee" of $125, which gets credited to repairs if you choose the provider.

2. Roofs in general are expensive to maintain and repair. Here on the costs, i've never seen even a minor repair be under 1k. Major roof replacements cost 5 to 15k for average homes. This might be a greater-metro-NY issue though. Part of it is the liability insurance of workers being on the roof, so I'm not saying the cost is unjustified -- just that it is really expensive.

3. What happens when these solar panels need to be serviced? Many of these solar shops are fly by night, looking to cash in on govt incentives. Will they be around to service malfunctioning or panels? What will repair costs be? Who guarantees the warranty? As an example, here in NJ even minor tweaks on a leaking showerhead will cost $500 to $1000. I can only imagine what a broken solar panel will cost.

4. I realize this is a very selfish opinion -- but just from a systems boundary perspective, traditional energy complexity is all upstream and I consume the end-product. Solar energy complexity is all local and I take the risk.
by masklinn | 2025-04-21 12:46:06+00:00
The JS version actually desugars to something much more primitive, and less convenient: in JS a template tag receives one parameter which is an array of n+1 strings, and then n parameters for the interpolated values, and has to iterate alternatively on both sequences.

You can do that in python by accessing the `strings` and `values`, but I expect most cases will simply iterate the template, yielding a unified typed view of literal strings and interpolated values.
by api | 2025-04-21 12:46:53+00:00
But does this, at least for those who choose to use it as leverage, free up more brain power for other newer or different things?

> If I dropped most of us here into a pre-technology wilderness we'd be dead in short order.

I hear this all the time and I'm not convinced. People are incredibly resourceful under pressure. When your amygdala calmly informs your neocortex "learn, work hard, or die" the effect can be pretty profound.

People would quickly form tribes and communities and those with relevant skills would teach others. Some people would absolutely fail to adapt, but I'm not convinced it would be as many as we think.

The greatest danger in a collapse scenario would be other humans, since one path some would choose is "rob and kill other people." But that's a different sort of problem.
by mjburgess | 2025-04-21 12:47:38+00:00
No one's talking about pre-crime. I'm talking about crime.

It's a crime to conspire to murder; to commit fraud; to arrange an act of terrorism; and so on. And in all relevant cases, social media was used in court after-the-fact just as evidence.

So we're talking about activity on social media which are crimes themselves, just being used as evidence after other crimes have been committed.

This is the problem with the propaganda being put out there at the moment, none of it is true -- and all of it is in the service of disgusing the content of actual court cases.

People on the far-right like to use the phrase "posting to social media" when they mean "using online communication platforms to arrange a violent riot with the intent to murder people". And they like to pretend this evidence collection is happening before those actions -- when its after, and presented in court.
by hydrogen7800 | 2025-04-21 12:48:25+00:00
I imagine there are lots of folks here who could answer this question. I like to assume that no individual engineer/developer/product manager is so unscrupulous as to make this sort of kafkaesque nightmare into a reality, but somewhere along the line from concept to implementation, some individual needs to demand, create or at least suggest such hostility to the user. My question is, how does this usually go? Is it a vague implicit target set by management that can only be achieved by abusing the user, giving both the engineers and managers a plausible deniability? "I'm just following orders". Or are there folks during the development phase suggesting and promoting these awful "features"? I'm guessing the answer will be unsatisfying to me, that no individual or group of individuals is really responsible, and it's just the incentive structure of the system that's emerged over time. Which just begs the deeper, but more complicated question, how did we get here?
by lr4444lr | 2025-04-21 12:48:45+00:00
I will never forget his sympathy for the motives of the terrorists who massacred staff at Charlie Hebdo:

“If my good friend Dr Gasparri says a curse word against my mother, he can expect a punch,” Francis said while pretending to throw a punch in his direction.

He added: “It’s normal. You cannot provoke. You cannot insult the faith of others. You cannot make fun of the faith of others.”[0]

[0] https://www.independent.co.uk/news/world/europe/charlie-hebd...
by kllrnohj | 2025-04-21 12:49:24+00:00
Nuclear is politically dead, maybe, but it's absolutely the technology we need right now and should be using a hell of a lot more than we are. Solar and wind are great, but they need massive grid storage systems that we don't really have great options for. Nuclear is the consistent, safe power that everyone should be using as their core power solution, with solar & wind augmenting it.
by 542354234235 | 2025-04-21 12:49:37+00:00
But it has already been argued successfully that giving biometrics is analogous to giving blood, hair, fingerprints, standing in a lineup, providing a writing sample, or wearing certain clothes, all of which you can be compelled to do. To argue against being compelled to do or provide biometrics without using testimonial arguments would be going against a lot of case law and precedent.

There is a specific precedent where you being compelled into providing biometrics can be inadmissible, and that is where you are compelled to unlock the phone, since doing so, even with biometrics is akin to providing testimony that the phone is yours, you know how to unlock it, which finger to use, etc. (see United States v. Brown, No. 17-30191 [1]). But that doesn’t actually prevent them using your biometrics to unlock the phone, so its pretty niche.

[1] https://law.justia.com/cases/federal/appellate-courts/ca9/17...
by ZeroGravitas | 2025-04-21 12:49:48+00:00
In the US greenhouse gasses are down across a variety of absolute metrics:

https://ourworldindata.org/co2/country/united-states#what-ar...

In the electricity grid specifically they peaked around 2006 and are 15% below 1990 due to switching from coal to gas and introducing renewables

What you say is broadly true globally but western nations are mostly on the downslope and the globe as a whole is slowing and hopefully going negative soon.
by SillyUsername | 2025-04-21 12:49:59+00:00
IMHO YES!

Just like the industrial revolution impacted barrel makers (coopers).

Except we aren't yet reaping the full rewards or skills realignment yet, so we've still to have the car making impact (which was post revolution, but replaced manual labour with machines as their ability grew and relative cost shrunk).

We even have our own Luddites :D
by brianberns | 2025-04-21 12:50:26+00:00
This idea comes from a functional pearl called "Power Series, Power Serious" [0], which is well worth reading.

I implemented the same thing myself in F#. [1]

[0]: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&d...

[1]: https://github.com/brianberns/PowerSeries
by skydhash | 2025-04-21 12:50:43+00:00
Having the wrong information can be more detrimental than having no information at all. In the former case, confident actions will be take. In the latter case, the person will be tentative wich can reduce the area of effect of bad decisions.

Imagine the lambda person confronted with this:

sudo rm -rf /

What is the better situation, having no understanding of what it does or believing that another action will take place?
by chii | 2025-04-21 12:50:47+00:00
Yep. This is called a commercial license.

What people who want such things really are after is the leverage to dictate a form of morality - if you dont have money, you are allowed to use the project for free, and give back advertising/clout. But if you have money, or could get a lot of money for said project, then they want their pay day.
by kordlessagain | 2025-04-21 12:51:34+00:00
While the author claims "semantics beat syntax every day of the week," the entire article focuses on syntax preferences rather than semantic differences.

Pipelining can become hard to debug when chains get very long. The author doesn't address how hard it can be to identify which step in a long chain caused an error.

They do make fun of Python, however. But don't say much about why they don't like it other than showing a low-res photo of a rock with a pipe routed around it.

Ambiguity about what constitutes "pipelining" is the real issue here. The definition keeps shifting throughout the article. Is it method chaining? Operator overloading? First-class functions? The author uses examples that function very differently.
by kasey_junk | 2025-04-21 12:51:40+00:00
I live in a locale that has cheap energy, in fact one that makes solar a pretty bad deal. Depending on the real generation numbers of the panels it would take about 20 years for me to payback that level of generation.

So saying most people have an 80 year payback period just feels wildly off (depending on the assumptions in the calculation I think that implies less than a penny per kWh generated).
by wat10000 | 2025-04-21 12:52:01+00:00
Regex can be good but you need to be willing to bail out when it’s not appropriate.

For something like locating IP addresses in text, using a regex to identify candidates is a great idea. But as you show, you don’t want to implement the full validation in it. Use regex to find dotted digit groups, but validate the actual numeric values as a separate step afterwards.
by clejack | 2025-04-21 12:52:02+00:00
You say you're 19. I take it you don't watch the news or at least not the U.S. news (which is understandable)? I have some bad news for you my aspirational friend. Things are changing very fast.

It seems as if we're quickly losing the freedom to have the wrong ideas. This was certainly a thing when Dems were in office, but now it has been amplified into an Orwellian form. And as far as immigration goes, if you don't have the right aesthetic or your social media doesn't look right, you may have a problem here as well.

Good luck.
by RHSeeger | 2025-04-21 12:52:24+00:00
I tend to use regular expressions more commonly on the command line (looking for content in files, especially log files) than I do in code. But, that being said, I do use them in both cases. They're a tool and can be used well. But, like any other programming, you need to make sure your code is readable. Which (generally) means avoiding any really complex regular expressions.
by fp64 | 2025-04-21 12:53:02+00:00
This is one of the reasons I hate python, it allows for so many weird things that are only borderline standardised, if at all. When I started with python decades ago, I was also all hype, list comprehensions and functional patterns everywhere, and why not monkey patch a third party library on runtime? Now I regularly see such code written by the new junior devs, painful to maintain, painful to integrate into a larger code base, most certainly failing with TorchScript, and plainly convoluted for the sake of appearing smart.

If you want to code it Haskell, have you considered using Haskell?
by jxf | 2025-04-21 12:53:53+00:00
In distant times (before Microsoft's Satya era) I was the maintainer of a popular OSS product that scratched an important itch for specialist people who were doing work in the early cloud days. It solved my own problems, and I didn't want to make a business out of it, so I was content to release it as OSS.

A Microsoft director who ran a portfolio of product teams reached out to ask about a "collaboration". I said I'd be happy to send them my consulting agreement. There was a little grumbling about the rate but I just reiterated that it was my rate. After a lot of legal back and forth, they signed, I answered a bunch of questions for them in a 2-day workshop, and they paid.

If they want you badly enough, they'll pay. Don't work for free.
by tgv | 2025-04-21 12:54:54+00:00
> free up more brain power for other newer or different things?

That's wildly speculative. So speculative, it cannot be taken serious as an argument. The brain is flexible, but not unlimited. Quite a few functions seem to prefer a specific part of the brain. In fact, I don't know of any that is free floating, but that might be because it's hard to find.

But what the brain above all requires is training. Without it, all that power is laid to waste. You can't learn a new language without actually learning it, nor can you do something new without actual training. You can't be intelligent without training your intelligence, and put real effort into it. Relying on a computer for the answers keeps you dumb. Use it, or lose it, as they say.

And what is that new thing that our brains are going to do? You don't know. And since you don't know, why throw it around like it will offset the harm that can come from using AI? Are you already that dependent on it?
by tialaramex | 2025-04-21 12:54:59+00:00
Because we're talking about electricity the total power usage for the US is mostly stable.

It's not declining like the UK (efficiencies mean total electricity production is down about 25% this century despite population growth) but it's growing only a tiny fraction, like maybe 2% in a decade - much less than the amount of new solar and wind.

So it's definitely shifting, the biggest shift is away from coal. Coal is awful, it's too expensive and it's incredibly polluting, some of that shift is towards gas, which is also a fossil fuel but has the advantage that it burns cleaner and is often cheaper - but as we see in this data lots of the shift is to "green" sources.
by florbnit | 2025-04-21 12:55:09+00:00
> People just want to know why it's x and not something else or how a letter can have value.

The way I was taught it and the way that worked now for my now 3 year old is just to say pirates buried a number under the X, and that we need to guess what they buried. If the concept of a number being hidden is a barrier to understanding for anyone they have seriously bad teachers.
by mxmilkiib | 2025-04-21 12:55:38+00:00
reminds me of the end section of the "magnetic forces do no work" video by Angela Collier

https://youtu.be/fHG7qVNvR7w?t=27m4s

I love the entire rant/communication, but it ends with a classical view from a David Griffiths AIP interview, regarding a project by Jacob Barandes

bit closer https://youtu.be/fHG7qVNvR7w?t=29m46s
by croemer | 2025-04-21 12:56:01+00:00
TFA thinks that logarithmic x-axes are misleading. That's just not true here. I looked at the preprint and it's the right way to display data over such a large range.

The whole point is that below a threshold, you can increase training by a factor of 10 or 100 and there's barely any change. But at the threshold, the same relative increase suddenly produces big improvements.
by Zambyte | 2025-04-21 12:56:16+00:00
That's not in the terms of the license, that's in the preamble as a stated goal. Read sections 4-6. They're not that long and don't really have much legalese.

In practice, the goal is met because someone is likely to request the source for AGPL software. Publishing the code is not a requirement of the license though.
by lolinder | 2025-04-21 12:56:16+00:00
The anger over cloud hosting came from a specific set of Open Source companies that produced cloud software with the intention of earning money by selling hosting. Mongo, Elastic, and Hashicorp were the big ones. These companies failed to realize that the licenses they chose were incompatible with the business model they chose and then blamed the resellers for their own failure to plan.

It was particularly problematic for the FOSS companies because each of these players' plans was to resell the Big Three clouds and live off of the margin, so the instant that the cloud providers decided to just directly compete in the hosting space the original company physically couldn't compete on price.

The moral of the story is that if you're releasing cloud software as FOSS you can't plan your business around the idea that you'll be the only hoster.
by em-bee | 2025-04-21 12:56:22+00:00
As a maintainer, it is my duty to come across as unbiased and factual as possible

i disagree with that. factual? sure, but unbiased? why? it's your project, and you have every right to be biased towards it. on the contrary, i expect you to, and i actually believe that not being biased towards your own project is very difficult so that i don't expect many people to be able to not be biased.
by toddmorey | 2025-04-21 12:56:36+00:00
"Given that the sample was primarily undergraduate students, many participants were unreachable or had moved away from the city three years after initial testing, and therefore a small subset of 13 participants (4 women, 9 men; mean age: 28.46 ± 3.93 years old; Table 1) came back for a follow-up assessment"

I'd file this under more research needed.
by Sayrus | 2025-04-21 12:56:52+00:00
According to EIA[1] and Wiki[2] fossil fuel electricity production has been rather stable or going slightly down on the last three years. However, US electricity is a small part of the US Energy Consumption. When you take those into account[3], renewables fall from 50% of the energy mix to less than 20% (10% if you don't include nuclear) but overall Fossil fuel usage is stable. The trend is going down if you take a longer time period.

[1] https://www.eia.gov/electricity/Annual/

[2] https://en.wikipedia.org/wiki/Electricity_sector_of_the_Unit...

[3] https://www.eia.gov/totalenergy/data/monthly/pdf/sec1_3.pdf
by SnazzyUncle | 2025-04-21 12:56:54+00:00
They could you know arrest the person and search the phone under suspicion, or get a court order. They don't need mass surveillance. Maybe they should do their job and actually investigate it, which they don't do.

You can always justify more infringements on personal liberties under the guise of stopping crime, protecting the children, stopping the terrorists. That doesn't mean we should.

What we shouldn't be doing is using resources to find people saying naughty words on facebook (which is literally what they do).

This was literally posted here like last week, I suggest you read it:

https://www.privacyguides.org/articles/2025/04/11/encryption...
by Maxious | 2025-04-21 12:57:00+00:00
Very possible, from the in repo documentation (which credits Spegel yet again) https://github.com/Azure/peerd/blob/main/docs/design.md it seems like there was a particular engineer at Microsoft who was working on Azure Container Registry who found it useful to integrate Azure Container Registry.

If they contributed it upstream, would we be discussing a blog post "how dare evil megacorp submit a PR that only implements their API! embrace extend extinguish!"? Probably.
by Mindwipe | 2025-04-21 12:57:11+00:00
> But it seems that more and more releases are straight-to-streaming, and/or sometimes simultaneous with the theatrical release

If anything, it's less and less. Studios are pulling the PVOD date further and further out for successful titles generally (Universal excepted). All the talk from Cinemacon was going back to a 60 day+ exclusive theatrical window.
by rad_gruchalski | 2025-04-21 12:57:29+00:00
I don’t know, to me it’s always fighting the llm to remember as much of the previous context as possible. Instead of moving forward with my thoughts, I seem to fight the llm forgetting what it said five minutes ago. And fact checking. The best example of fact checking, I asked chatgpt once about some istio cli features. It hallucinated available cli commands. But they were very convincing.
by SnazzyUncle | 2025-04-21 12:57:32+00:00
Is the "far right" in the room now with you now? When have you dealt with any of the "far right". How do you know they really exist? Most of the people I've encountered on the far right have been losers that literally live with their mother or edgy teenagers trolling people online.

It is you my friend that has been propagandised. They always point at a scary person and then say that they need to take away your rights and your privacy.

> It's a crime to conspire to murder; to commit fraud; to arrange an act of terrorism; and so on. And in all relevant cases, social media was used in court after-the-fact just as evidence.

Why should I lose privacy and my ability to speak freely because someone else committed an unrelated crime?

Why does this require mass surveillance, when they can get a warrant to search their electronic devices?

The answer is I shouldn't.

> So we're talking about activity on social media which are crimes themselves, just being used as evidence after other crimes have been committed.

Some of this activity that are crimes is making edgy comments on twitter while drunk and then deleting it the next day. That is illegal under the communications act of 2003.
by energy123 | 2025-04-21 12:57:42+00:00
The main reason to value privacy and data protection is that a liberal government cannot be guaranteed to survive.

No liberal can guarantee that they won't be replaced with a genocidal authoritarian, so systems need to be designed with that possibility in mind.

Something as "innocent" as a census can be weaponized by a future authoritarian government.

https://www.abc.net.au/listen/programs/rearvision/the-dark-s...