skysight-inc/HackerNews huggingface dataset:
Java enums also have functions.
If they didn't we would need to write separate helper classes.

Can you give a reason why we should not have them?
Very much this. "The average person won't ..." is a huge fallacy. This also applies to repair (that knowledgeable people are able to do it is enough because they can sell it as a service at economically viable prices).
That is a good point.
I had not thought about that before.

FreeBSB was released Novembet1993
Linux had its first release

Linux was initially released on September 1991
Per Wiki, I am not sure if this is accurate.
He did announce it then, but it was not open source.
Yggdrasil had their first December 8, 1992
Slackware had its first release July 17 1993

I knew about Yggdrasil because I was using it back then.
In February 1993.

All to say that Linx appears to have just barely makde it to market
ahead of FreeBSD but that may not relevant at all.

Why did Linux get such a huge following and FreeBSD not.

I am quite curius

https://itsfoss.com/25-years-linux/
https://en.wikipedia.org/wiki/Linux
https://en.wikipedia.org/wiki/FreeBSD
Isn't Go like 10 years old now?
Can you have the same identity if you change your number/carrier?

Can you use it not on the smartphone?

Can you use it without cellular data Eg with Wi-Fi only?

Can you throw out the SIM card and still send/receive messages?

If the answers is 'no' then it is a carrier lock-in.
"I'd be happy if we used a bit of gas."

Gas alone does not produce electricity. Gas power stations do. This means building enough gas power stations to cover power requirements of the entire country, then having them sitting most of the time idle there, "just in case".

This is the core of the problem: wind and solar need to be massively backed up. You cannot rely on them supplying even 5 per cent of their nominal capacity if the weather turns against you.

Such a massive backup is eye-wateringly expensive, too. And it consumes concrete and steel, two elements whose production is carbon-intensive.
> coal as a percentage of their electricity production went down from 45% to 25% in 10 years.

Couldn't it go to 5% by using nuclear?
ARISE and SERAI also have the same letters and different positional info. In the dictionary I used, SERAI was the optimal 5 letter word to start with.
Another, separate response. A digression, really.

Some people appear to tick all three of these:

- My viewpoint is a scientific one

- The liability rules for chemical plants is fine

- The same rules would be too strict for nuclear plants

IMO anyone can combine any pair of those, but considering all three to be true is… very puzzling to me.
> People didn't actively go seek out a new version.

Yes, they did. Have you read the article ? That's how npm works: it always pulls the latest version.

You can't use tools you don't understand and blame someone else if it doesn't work as you expect it to.
No it's not usually "the fine article". That is just a euphemism.

TFA originates from RTFM, which stands for "read the fucking manual". And it is "fucking" and not "fine", because people would be frustrated by noobs not reading manuals.
enums in PHP! I've been waiting a long time for this
Say you depend on foo@1.0.0, and some of your dependencies themselves depend on foo@1.0.1, foo@1.0.2, and foo@1.03. When you install you'd get 4 copies of nearly the exact same library. On the other hand, if everyone of those packages used a tilde or caret, they'd all depend on foo@1.0.3.

That's the benefit, but it's not worth it in my opinion. Pin your dependencies and use a package-lock.json for transitive dependencies.
Here you go https://www.youtube.com/watch?v=WJj_NMhYwf0
In the past I built a few things on Google App Engine. Honestly one of my greatest regrets in life. I ported a few to PHP so I won't get screwed again when I need to change hosting provider. Still need to port some and am dreading doing it but it will be for the better.
> A lion could not domesticate a flock of sheep. It would just fall on the sheep and slaughter them, on the first day.

What a simplistic view of lions. I agree that lions don't really have the capacity to domesticate a flock of sheep, but to suggest that they're mindless killing machines that would meaninglessly mass slaughter sheep the first chance they got is weird. They're complicated creatures with rich emotional lives, and I've personally seen them plenty of times pass up opportunities to kill because there was no point. Interestingly, there's also lots of youtube footage of lions and other big cats attempting to care for other animals (albeit typically ineptly).
Electron applications almost never use native controls. As such, this part of the argument does not matter. Given that, there is GTK, QT and whatever Java thing is in now that you can use to make cross-platform applications that function perfectly fine without being a super-heavy disaster.
I don't get how this could be used as an attack, unless whatever is displaying the tweet is vulnerable somehow? What kind of "reset code" are we talking about and why would just displaying it be harmful? Executing it I can understand, but just displaying?

Edit: I think I just figured it out, it's referring to "password reset code" that you can get if you try the "forget my password" option on login pages (not "code" as in "software code"), displaying that code would allow others to (possibly) set their own password for your account, would make sense as an attack vector in this case. Duh.
1M Comic Books in Boxes
Were they nomads? I'm not sure that there is too much evidence for that, is there?
PayPal won't delete an account I didn't knowingly consent (I'm sure there was some hidden terms hiding behind some dark UX pattern) to being created unless I prove my identity with information that isn't already recorded on the account. At least, not visible to me.

All that's there is a name and bank account link, I told them 'I am Oliver Ford' and that I'm happy to provide a secret shared by way of reference attached to a penny transfer to that linked account; but no - I must provide a copy of my passport and proof of address (which they don't know, and I can edit on the site anyway), obviously.
Lol. Touche

It might be a fabrication, but then its fantasy and not deliberate. You see, it really is the other way around with respect to my comment. My suspicions about the past are what drives me politically.

Obviously we are better than our forefathers in many things - listing them would be trite. But, on the whole, are we better off (never mind better)? These pictures were taken before industrialized genocide, world wars, atomic weapons, the mass adoption and molding of our cities around the automobile.

Right now every living creature on earth is on a knife’s edge of total destruction through nuclear or environmental disaster. If this is, on the whole, industrial progress I don't want it.
Good way of thinking about it
This seems to depend on a lot.

I rarely see "No results found".

That is a completely valid result in my opinion.

I often see pages that doesn't contain my search string.

Sometimes is is something trivial like

query: "something about x y and z"

result contains: "... something about x. Y and Z however..."

which is understandable.

Often though I have no clue how a result got there. Maybe it is linked to using a certain text (link bombing)? I don't know.
Ask HN: Which Single-Sign-On Providers Have Apple's “Hide My Email” Feature?
Recently discovered Apple has a "Hide My Email" feature[0] that lets you provide a randomly generated email address to websites/apps that you log into (as opposed to letting them access your real email address).

I was wondering what other providers have this feature.

[0] https://support.apple.com/en-us/HT210425
Or Hypercorn https://gitlab.com/pgjones/hypercorn if you want HTTP/1, HTTP/2, and HTTP/3.
I doubt that german power plants are even built for that occasion.

Power plants are built according to the requirements of their location and history shows we fail in getting all the risk

Not to mention corruption and botching.

Which company would you trust to built and operate these power plants?

Vattenfall, Shell, Siemens, Facebook, Apple?
That seems inherently discriminatory based on age and based on what they choose to do with their time and what little money is had by thkse who would otherwise qualify.
Oh, that's still a dick move. I guess I interpreted too much customer friendliness into it.

Still arguably better than the ink cartridge thing though, I guess.

Pretty cool what custom ink stuff you can do with it!
I now avoid Amazon for this reason. I'll search for something like "4k HDMI capture card" and half the results are 1080p (and don't say 4k or a synonym anywhere) and a tenth do DisplayPort. I end up having to open every linked product and use my borwser search to confirm that my requirements are actually present.

Same with any sort of requirement like "plastic" a colour...

It just wastes my time so I shop elsewhere.

I think a much better UX would be saying: No results but consider searching for "4k capture card" or "HDMI capture card".
Slow change is good for small projects that you want to build once and use for decades without much maintenance.
I have read many comments here and in other places saying that Apple makes the green SMS bubbles annoying and hard to read. But from looking at this screenshot, I don't get that vibe at all. They don't look more annoying than the blue ones. In fact, I'd say in the top part of both screenshots, the blue ones look like they have less contrast than the green ones.

https://cdn.arstechnica.net/wp-content/uploads/2022/01/scree...
If you don't like those hard-coded character constants, lack of newlines, and compiler warnings, here's a C quine on similar lines:

#include<stdio.h>
int main(){
char q='"',n='\n',b='\\';
char*f="#include<stdio.h>%cint main(){%c char q='%c',n='%cn',b='%c%c';%c char*f=%c%s%c;%c printf(f,n,n,q,b,b,b,n,q,f,q,n,n,n);%c}%c";
printf(f,n,n,q,b,b,b,n,q,f,q,n,n,n);
}
Not related but in Italy, not too far from my city there is Cesenatico. A small turistic sea city of 26K inhabitants with a skyscraper (from late sixties). https://www.google.it/maps/@44.2011112,12.4049907,3a,90y,144...
It's a solitarie brute tall building but segnale the city center from very far like a Lighthouse
To try to be nice is to rally against nature itself. If you strive to be nice then you are automatically at odds with the driving force of nature. You want to make the world a nice place? Then by definition there can be no losers and if there are no losers there is no evolution. If there is no evolution, there is no life, only a slow descent bck to maximum entropy. So the ultimate question is not "do you want to be nice?" but "do you prefer life over non life?". Is the pain of existence worth it? some say yes, some say no, both are valid opinions. Personally I say yes. But I wouldn't blame a person for being anti life and working actively to destroy it.
It's not. It's a mess of OOP mind-castles, very much like Java used to be before streams. Nothing to do with the excellent typed functional-ish programming model of TS or Kotlin.
100% this. I started off working with uwsgi and I had problem after problem while gunicorn has always been rock solid for me.

In hindsight I wonder if it’s just experience in the experience that has led to this differing experience or if the products are actually meaningfully different in their configuration and behavior that this is consistent for others.

Thanks for sharing, this made me feel better that I had so many issues with alternatives.
Replace "Venmo" with "Coinbase" and you could have the exact same scenario in the future. "Oops, sorry we messed up, the fraudster's transaction got rejected and he didn't actually send you $50 in BTC like we said he did. What, you already initiated a payment of $50? Tough luck".

This is a Venmo problem, not a "fiat currency" problem.
> Myocarditis is seen much more commonly in people who become infected with COVID-19 than in people who are vaccinated. A preliminary study from the United States.

Recent data from Ontario has effectively ended this debate. Myocarditis is definitely more common from dose 2 moderna than from covid in young boys, and the same is probably true for Pfizer mostly because we don't actually know how many people have caught covid.

https://youtu.be/xzVoS-1TIWI
Germans fear nuclear power because of actual events. All people in their 30s have parents that were confronted with a situation similar to what we have now during the pandemic. They had to keep their children indoors and fear for their health. There were regular reports on radiation in the news, playgrounds were closed etc. "No milk, no mushrooms, no playing outside" https://www.gettyimages.de/detail/nachrichtenfoto/closed-off...
Understand the privacy need. But could that also meant the history will have a black hole as well. One of the major issue of the History is full of kings and queens but not US the ordinary folks. How to balance that ?
Isn't ARC over a GC evident in PHP with its opcode cache? I don't think I have run into a PHP dev who thinks PHP has a GC
> competitive orienteering, but on mountain bikes

I guess your a talking about MTBO competitions (Mountain Bike Orienteering Sport) and ISMTBOM maps (IOF's International Standard for MTBO Maps).

If so, I'm not sure is there (or is it not) for Garmin Watch devices, but there is OpenOrienteering Mapper[0] — an Android app (and Linux, macOS, Windows, etc.) designed for orienteering mapping, which may be used also for orienteering competitions as digital map with GPS tracking.

[0] https://www.openorienteering.org/apps/mapper
I just installed this! Thanks for the suggestion!

Don't forget to use ungoogled chromium if possible

The only downside is you will have to load unpacked extensions instead of using the Chrome "store" and you will have to manually install Chromium updates from the same site:

https://chromium.woolyss.com/
There are still a few things I'd like to fix before really feeling confident in publishing it to the index, but I guess I might as well because it does already provide some value.
Not only that, but it was also his government that took the decision to phaseout all nuclear power.
I'm a fan of PHP and have been for years for several reasons:

1. Low barrier to entry;

2. Hard to leak resources since the model is to tear down everything after a request finishes;

3. Stateless API core which means the efforts of creating an environment for a request for (2) is extremely low. Compare this to, say, the bootstrap time for Python or Java (which is why those generally don't follow the request teardown model);

4. Almost no multithreading.

This makes it great for servicing HTTP requests IMHO.

I need to compare it to Hack/HHVM though since I used that for years and it's still playing catch up with features Hack has had for years eg:

1. Hack has had the async-await model for years;

2. The type system is actually really good. It made me appreciate how nullability being part of the type system is incredibly useful. Plus it's had generics for years; and

3. Better inbuilt collection types with less odd coercion behaviour (ie dict, keyset, vec).

I find PHP hate in 2022 to be tired. Look at something like Laravel and PHP is completely fine. The sins of the past and even the odd inconsistencies still left in the language (eg needle and haystack param ordering) don't really matter.
One thing during that area is tooth health. Almost everyone had severe issues with their teeth. Rotten black teeth were not an uncommon thing back then. People were aware of that and avoided opening their mouth.
> You can tell how Gunicorn is old by looking at example showing only 4 workers :)

I've seen folks run a $90,000 / month business through their SAAS app using gunicorn on a 2 CPU core box (4 workers).

Nothing wrong with being efficient!
What a perfect example of https://xkcd.com/1053/

And the humility that it recommends.

Have a nice day!
That's still $30 a month when other MVNOs will give you 4GB for $15
Death by swine fever is a totally new scenery in the human race. Now some hog viruses could have an small opportunity to jump to us.
Thank you for saying that. I'm still shocked how deep such "mental illusions" can go. But it's also dangerous thing to say, because it triggers "internal contradiction" error in most people and you get to experience people's justifications and/or attacks as a form of defense. One of those things that are invisible now but will be shocking from historical perspective.
They're more pleasing because artists and graphic designers used RYB pairings for decades, these pairings all over the place in analog and digital media, people are more used to them. Even Adobe still uses an RYB wheel in their software, RGB only for color grading (it still deviates slightly from a normal RGB color distribution).

RYB is more culturally relevant because artists and designers "produce" culture based on it.
Freeze is a complete overstatement. If you want to hate NFTs then the minor technical hurdles which smaller platforms already alleviate will not your most sustainable route.
I started my career in PHP ~15 years ago trying to do OOP in PHP 4.x. That was "fun".

In the meantime I switched to other stacks but I've been keeping a distant eye on how PHP was evolving and I still am involved with PHP projects to a certain degree, though rarely at code level.

I really appreciate the effort put into fixing most of the things I hated about the language, though at times it felt like the language and some of the frameworks were trying too hard to copy the Java ecosystem, all while Java itself was starting to modernize.

I'm curious what is the value proposition of the latest PHP version(s). Why would I choose PHP when starting a greenfield project? I know one of the easiest answers is that there's a huge amount of developers worldwide that know PHP, but apart from this obvious reason is there anything else that would make someone choose PHP ahead of other stacks?
>This means building enough gas power stations to cover power requirements of the entire country, then having them sitting most of the time idle

If you assume:

* We dont already have the infrastructure.

* Power cant be imported.

* Power usage cant be timeshifted.

* Power cant be stored in batteries.

* 10 day periods without wind and sun are routine.

Then yes, it might get expensive.
Brain booster trivia questions – on Geography
Syntax sugar is nice. It helps PHP sidestep the age-old criticism about its crappy API, although the crappy API is still there if you want to use it.

What's really great about PHP these days is the development environment. Composer is a rock-solid package manager. Most frameworks and important libraries are gravitating toward shared standards defined by PSRs. Thanks to those shared standards, the APIs are stable and easy to understand. There's no colors/faker/left-pad drama. Everything just works out of the box and keeps on working. Everything is extensively documented. And somehow the runtime keeps getting faster without breaking backward compatibility.
That's reason why I think the push to follow event-driven (reactive) approaches in ecosystems like Java is doomed to fail (okay, that may be a bit harsh) because there is lot of existing blocking code. It will take a long time until all of the old libraries catch up. It kind of splits the whole ecosystem into half. Specifically in Java I think it's fine we are relying on blocking APIs (and threads). For most stuff it scales properly, doesn't feel unnatural and is easier to understand. I say this as a big fan of JavaScript, I just don't see the approach being introduced after the fact as a good idea.
s/Germans/people everywhere/.

> A disaster, say critics.

Not a disaster, say others.

> Nuclear power entails hardly any carbon emissions and offers consistent baseload supply, unlike intermittent renewables.

The opposition to nuclear power generation was not based on carbon emissions, so this is a Red Herring.

> bureaucracy and bottlenecks are slowing the rollout of renewables

So, that seems to be the main problem. The German government knew it was facing the deadline but neglected to prepare for it.
Basically Mastermind. We had Logik instead: https://cs.wikipedia.org/wiki/Logik_(hra)

But in Mastermind, you for example aren't told which pins are in correct positions, whereas in Wordle you are told that.
Finally find something useful for those fpga boards I collected last 2 years. Great!
Maybe for absolute newcomers to coding… perhaps it could be used as a component of a learning/training platform?
Some of those are actually hilarious. Like peak 80s shoulder pad fashion, only even more extreme:

https://www.boredpanda.com/blog/wp-content/uploads/2017/12/s...
How many American 16/17 year olds can afford a car? Perhaps more than I realized.

In Britain the insurance cost is so high it's prohibitive for many teenagers. Although based on a quick search, it's significantly less than the average American teenagers pay. Perhaps that shows the lack of alternatives Americans have -- "Teenagers pay an average of $371 a month for an individual car insurance policy" yet "Nationwide, 76.3% of high school students aged ≥16 years reported having driven during the 30 days before the survey".

In the UK, "people in the 17-to-19 age group ... pay ... an average cost of £752 a year" ($1000/year, $85/month), yet only ~20% of licensed school/university students use a car to get to education. (I can't find statistics just for 17-18 year olds. Driving to "high school" would be extremely rare, maybe 1% -- it's not even mentioned in the surveys.)

Nowadays, many people in Denmark using bicycles to carry a child have upgraded to e-bikes. Larger bikes (e.g. "Christiania cycle") to carry multiple children have been electric a while longer, although these are expensive.
PHP uses a garbage collector since version 5.3 that was released around 2009/2010.
You may be interested in sutom https://sutom.nocle.fr a hybrid wordle/motus for French that recently popped up
> Its concept of "one endpoint is one script" is one of its biggest killer features that no other language has been able to deploy in such an accessible manner.

I don't see that as its biggest killer feature. In fact most projects built on PHP using a framework won't use the feature, as every request will be routed through a front controller. This has been true for at least a decade.

I think the killer feature of PHP is its shared-nothing architecture, tear-down at every request (or every x requests if you're using php-fpm) which has proved remarkably successful as it is so resilient.
Thats a solved problem, even for non web related programming. I save in vim, and autorun my binary (multiple languages) in under 1 sec, and see the result an a vim split.

For web dev, there are countless "watchers" that auto restart on a file change. I pick any other language then PHP, on any day. Its a hot mess, and even now in PHP8.X multiple things are still broken (and will probably always be), its just a sad language to work with.
Nuclear waste is a non-issue; I wish we could have one article about nuclear power without someone bringing it up since there is really nothing left to discuss about it.

The reason it's a non-issue is there is so little of it. All the nuclear waste ever produced could fit in one Amazon warehouse. In the worst case it could be stored onsite with 10 layers of protection and it still wouldn't be a significant expense.

Also, because the most reactive waste will decay the fastest, it quickly gets less dangerous with time.
Free daily start up ideas for when you run out
Yeah, I think it helps that we're very intentionally lean (we currently have just 2 engineers servicing about 100,000 paid subscribers, which is a bit too lean for comfort for me, but at least makes us think very hard about introducing complexity).