skysight-inc/HackerNews huggingface dataset:
> There's no colors/faker/left-pad drama.

Yet. Composer packages have the same attack surface as NPM packages, the only thing that is different is that there are (outside of frameworks like Drupal and Symfony) no automated post-install scripts that get executed during a "composer install".

The fundamental difference is that lots of what is popular in the NPM world isn't needed in the Composer world at all due to PHP's extensive stdlib (meaning, less people having to maintain trivialities like left-pad and thus less potential for people to get hacked/sell out/get burned out in frustration).

Furthermore, most highly popular PHP projects have extensive corporate, consulting or foundational backing - Symfony, Drupal, PHPUnit, Laravel, Typo3, MediaWiki, Wordpress to name the biggest players - and each of these provides to developers what the stdlib is missing, so there are strict QA and release procedures to prevent a repeat of the current colors/faker events.
There are definitely parts of PHP and its ecosystem that have been trying to copy Java. On the flip side, PHP is quite similar to Java when it comes to its value proposition, so I can appreciate why the devs have chosen that path. Like Java, PHP is stable and slow-moving. It takes backward compatibility seriously, and it has a huge community. PHP is to small-time "webmasters" and lifestyle businesses what Java is to governments and large corporations.

If you want to build something once and get passive income out of it for the better part of a decade, PHP has your back. Pinboard is a prime example of this business model.

If you're a fast-moving startup who will replace your entire codebase every six months, you might be better served by JS.
>Martin Ruby, 48, Facebook’s head of public policy for the Nordic and Benelux regions, said he was sorry “if we made the wrong calls in this case”

Ah, the good old "we apologize because we're having to, but we did nothing wrong" non-apology.

>“The problem is that these evil people are sitting there and changing the format on them,” he told DR. “It’s a perpetual battle.”

Sooo all they need to do is run it through handbrake/ffmpeg again and the scanner stops detecting that video? Oh no. Does that mean FB needs to buy/license Apple's CSAM scanning technology to improve their detection to 100%?
This is so depressing.. and Facebook has the same exact issues with their Ad Manager. I doubt there will be a way to fix these issues.
I started the switch last summer. Haven't looked back since. Python gives the veneer of simplicity (ie the Flask hello world script, 5 lines of code approx?). On top of that the 5 different ways of doing x, or just wanting concurrency. Quickly Python becomes verbose. My current webapp is one executable that uses the standard net/http server and the autocert package for Letsencrypt.
Don't laugh but I also find decaf quite strong. I don't know if it's because decaf fools my system somehow or there is another chemical ingredient in decaf that makes me feel weird. But I don't drink decaf either (I do like the taste).
Javascript is what PHP should be since day 1.
> Why would I choose PHP when starting a greenfield project?

Because you don't know better. If all you have is a hammer, everything looks like a nail.

Ruby + Rails is miles ahead of PHP + Laravel. If you want more static typing (which I currently believe is a good thing) I really like Kotlin (+ KTor or + Javalin). If you are okay without OO and like static typing Haskell + IHP is pretty complete. If you are okay with learning about low-level stuff, Rust + Actix is really nice.

All of this may require learning new things, and coming from PHP that's a good thing. PHP and JavaScript are not languages that help you become a better programmer. They are messy and lack important features (sum-types).
So Dutch police want people to "gebruik responsible disclosure". Sounds good. (Gebruik means use.)
> What is so good about stupidity that it has to be exposed so free to the public or what is so special about it that it can't be distinguished from intelligence ?

The problem is: who gets to define “stupidity” and “intelligence” and the exact limits of what speech is allowed or not. We already have provable examples of people who were considered some of society’s biggest idiots while alive but ended up having a deep and lasting impact to society in the long term (Socrates is a notable example). It’s also guaranteed that this power would be abused to prevent legitimate political discourse almost immediately after granted. There is no such thing as perfect, consistent enforcement. It’s always subject to the human biases of today.
That applies to Ruby and Python as well.
> I don't get the positivity surrounding nuclear power and the claim that antipathy is akin to antivax idiocy.

Climate change is a (existential?) threat to humanity. There is only so much renewable energy generation capacity that can be constructed in any given year. If you shutdown a nuclear power plant, the demand it was servicing does not magically go away. So you need to something to meet that demand: that may be renewable, but if not enough can be constructed, then it could also mean running fossil fuels more.

So if you want to actually treat climate change as an important problem, why would you shutdown non-emitting source of power that you already have?

Keep the existing nuclear plants, shutdown the fossil fuel-based generators, and use the renewable power you're building to offset the retirement of the latter.

Once all your carbon-emitting generators are retired then consider shutting down the non-emitting nuclear generators.

At no point in the above process are new nuclear plants built.
>>Packagist, now with over 3 million registered versions and more than 300.000 packages

I see PHP continues to import all of the problem of npm into the PHP community, I moved away from php about the time packagist started to gain ground.
If worth matters to you you should be reassured that in the Ethereum style fork of 2016 no matter which side you agreed with you owned your coins in both chains (unless you were a hack victim or hacker). No one was punished for "choosing wrong."

The concern about forks happening willy-nilly at the expense of users is sometimes legitimate in smaller chains or maybe even chains like Ethereum which do not incentivize decentralized node services and as a result has majorly centralized nodes, but for Bitcoin and more nascent protocols which understand this problem the concern over arbitrary forks is thankfully frivolous.
Sotheby's Metaverse
I’m shocked that the original author didn’t think to put “series b” in quotes instead of as separate words. Doing that returns a table format of every databricks round as the second result.

In general, “term” is like the old +term format which we all used to use back when we thought search was good until google killed the +.

In reality the Web has gotten worse with far more bad spam actors and our search habits have changed partially because google steered us towards more natural language style queries away from the old style queries many people used to use in this community.

In other words, we got used the convenient of free form text without special operators, and when the webspam increased we feel that having to go back and futz with the query using these operators means search has degraded.
I would have said it's the organization that earn tons of money and don't give a cent to developers if they can avoid it who should think about the structure they have created and profited from and now realize open source doesn't exist in abundance like air.
Why would one pick PHP over Java except because "you already know PHP"?

> If you're a fast-moving startup who will replace your entire codebase every six months, you might be better served by JS.

Noooooo... :)
> Why would I choose PHP when starting a greenfield project?

For me, the answer is Laravel.
> I'm curious what is the value proposition of the latest PHP version(s).

I think more and more people have started to realise that typed languages make better, more reliable software. The incremental additions to PHP's type system are just a move towards this, I think and can be seen in other languages such as Typescript.

I'm just not a fan of dynamically typed languages anymore, even for small scripts.

> Why would I choose PHP when starting a greenfield project?

I think it depends on your greenfield project, but there are many domains where problems are just solved related to e-commerce or shuffling around content online.

To this point, PHP benefits just from the fact that it has been around for so long, and will continue to be supported far into the future.

Many PHP frameworks like Symfony have LTS releases that will ensure software is supported years into the future, with strong support from agencies.
I'm trying to get into japanese green teas. They are plenty artisanal for me, at least the good stuff is. Temperature and time control when brewing is close to coffee pour over brewing, maybe not quite there. Water quality matters just as much - I'm adding minerals to osmotic filtered water, just as I did with coffee. When done properly they taste wonderful, although this is subjective of course. Caffeine content is much lower than coffee, unless you go into matcha tea, which is even more artisanal and expensive (per gram). And if you love spending money, making it can be even more expensive than coffee (per gram, not per cup) - it's not really difficult to spend over $30 for a 50 gram bag. And some even say it's healthy.

tl;dr: try japanese green coffee.
Ultimately, the title rules cannot be coded into programming logic and fully documented; they’re a mix of predictable (No Studly Caps) algorithms, submitter’s edits, and moderator’s edits. Human judgment calls are expected - for example, titles should be edited to be succinct when necessary, but never to present the submitter’s opinion. Criteria will not always be applied consistently, each submitter and moderator is a different person, and not everything is seen and fixed when it’s slightly or greatly wrong.
I always felt like Fiber was a warning shot to all of the ISPs trying to constrain what/how/where customers could do while extracting as much money as possible.

In other words, if they keep this behavior up, Google will begin to compete as well as advocate (fight for the regulation, laws, etc) for other, smaller, new ISPs to enter the market. Or fight harder on the net-neutrality front. Or potentially worst of all for the incumbent/monopolistic ISPs, fight to make them dumb-pipes.

Then again, maybe it's just another google product/service destined from conception for the graveyard...
> and other stacks (Beans, CGI, etc) required a manual reboot

Hey, now! Don't go lumping CGI in with those. :) CGI had the same "instant code refresh" as PHP since before PHP even existed. It even had a better "shared nothing" approach since you were guaranteed to start an entirely new process for every request.
Although I've stopped replying to comments like yours 10 years ago, when the same sediment was prevalent at reddit and the nuclear-pushing thinktanks made their first steps in the new online world of consensus manipulation, I think it's a good time to remind you that nuclear power is still dangerous, Chernobyl happened right in Germany's back yard and the term "green energy" isn't some kind of take on Cherenkov radiation or fluorescence.

Luckily, a large part of Europe's population, mostly the older ones, vividly remember the horror or the nuclear clouds moving over their countries, the scarce and delayed information received about the accident, the ambiguous and conflicting information about the contamination of crops and food supplies.

Between global warming and cancer, I choose global warming.
So did Germany and most of Europe. France and Britain need large nuclear reactors for breeding weapons materials, so there's no way around that.

All the bullshit justifications with safer new reactor technologies - keep them to yourself. If anything, besides more expensive, nuclear reactor designs have been getting bolder and bolder. Molten salts reactors are pushed as a safe alternative; a joke that would make any chemist shudder.

This is just a reminder that we still exist and our opinions haven't changed, our willingness to express them in an online world dominated by corporate indoctrination however, has.
> the lives of most people are so uneventful that that's actually true.

That's probably true. The issue is that people with something to hide, need the other people to hide their mundane stuff so that the people with things to hide, don't stand out.
Middle Age Doesn’t Happen ‘Just Like That’
> It evolved a lot, but I don't see it outside of simple backends for websites.

I'd say that something like MediaWiki, Wordpress or Drupal exceeds the definition of "simple backend".

Personally, I even tend to write shell scripts in PHP simply because the language is far more sane than Bash (and god forbid naked old sh) and I don't have to fight whitespace with Python.
They don't have to make it a public vote. I'm fine to do this work myself for a week or so, and then enjoy crap-free searches. Or link my votes account to someone who I trust and use their opinion.

Idk why everyone is praising public anything, because local communities and knowledge webs worked fine pre-internet. Most of the bullshit came with globalization.
There is very little room for EU telcos to do any sort of inspection of packets, beyond maybe identifying if its streaming traffic or regular traffic (there are some subscriptions which give you free streaming traffic). Storing personal information is a big no-no, and anyone can at any time request a dump of all identifyable information a telco has about you. While I understand that private relay will give telcos less actional information, its not that much to work with to begin with.
> Javascript is what PHP should be since day 1.

ReasonML or ReScript is what JS should have been since day 1.
We don't assume bad intent and we strive towards reform - not punishment.
Not sure about Ruby, but Python is a pretty popular choice. There are tons of open source projects that are used by big players for data processing and complex backends.
On keeping a personal journal and getting started
You can write JavaScript via Typescript, and you now have one of the best and most popular languages there is (including sum types). There are still a lot of warts, but it’s actually a really nice language IMO.
The risk of a nuclear accident affecting a large amount of land is very small - of the thousands of plants in the world, only a couple have affected more than a few square kilometers.

If you consider the affected area/MW to wind or solar it's clearly a net win. And there isn't a need to build nuclear plants in more densely populated areas than others.
And now you can wait for them to be used by (std) libs. This kind of features are hard to bolt on later on.
How the hell would this be a surprise? Women and ‘minorities’ (not an accurate term, but popular) are boosted in all such job positions. My cousin is the same age as me, we went to the same school, same degree, work in the same city, but it’s as if she has a rocket strapped to her arse when it comes to landing jobs. She didn’t even graduate before taking a positing as a project manager for a construction firm. I’m stuck in a delivery van.
> But is that proof that all of them died of covid?

All was never even the hypotheses, that is a strawman argument. The hypotheses is that this incident, of thousands of bodies floating down the river and buried on the sand bars, is a striking, once in a century phenomena given the numbers. If this was normal we would have seen such numbers prior to covid.

The major reason, as you had noted as well, is the breakdown of the infrastructure for dealing with deaths by a state that is not competent enough to prevent them. Some state did far better than others. You had mentioned two, Tamil Nadu and Kerala.

Note that the population of UP + Bihar is the same order of magnitude as a middle sized European countries. One does not need other states to contribute if these two are badly hit.
PHP's garbage collector is ARC, unlike any other dynamic language that I know of.

ARC is more performant but can introduce memory leaks via circular references, which is probably not a big problem for short-lived scripts anyway.
> I've tried to remove single-line dependencies only to have the PR rejected by the creator of the tiny library who happens to contribute to the parent library.

So fork it and throw out everything you don't like.
An interesting "application" are zip quines, where a compressed archive decompresses to itself. https://research.swtch.com/zip

I recently built a zip quine that was simultaneously a valid PDF to show off, and the most fun part was making the CRC32 check succeed. If the checksum had been based on a cryptographic hash function, it would've been essentially impossible, but fortunately CRC32 can be reversed simply by solving a system of linear equations.
The key takeaway is that they built constraints on the wrong place (prospects vs clients), so they are revisiting their pricing and constraints. It's a good example of listen to your customers.
I like the idea of a live image, and have watched some Smalltalkers being amazingly productive, but I hope the next iteration of image-based IDEs think about some advances such as multi-images, round trips to text, and better scripting around the creation, destruction, and interaction of multiple VMs. Having checkpoints would be a nice touch. Image deltas and stare copying would be nice.
> Masks don't protect you from others.

It makes no sense. Of course they do. They don't protect that much but they are certainly better than nothing. It is about surgical masks. N95 masks are designed to protect yourself. Masks also protect others, and if both you and others have masks, you are doubly protected.

> Get vaccinated and boosted.

Yes

> Airline travel is one of the most common ways people get infected.

Are you sure about that? Do you have sources? From what I've seen Airline travel is surprisingly not that bad. From a late 2020 study, bars and clubs are the worst, followed by restaurants, followed by gyms and churches, I don't know if it is still the case.

> Even switching to non-recycled air...

Recycled air goes through HEPA filters, which are much more efficient than even N95 masks. Intuitively I'd say that we should have more recycled air, to trap as many virus particles as possible in these filters instead of having them linger around the cabin.

> Dining is generally safe as long as there's a decent distance between tables

It is more complicated than that and it depends a lot on air currents. I wouldn't consider dining indoors as "safe". Not something worth panicking about, and in general, I don't think it is worth going beyond the official recommendations, but if you are high risk, I would avoid it.
The first photograph successfully fixed to a substrate was in the 1820s, and the commercially viable daguerreotype came in the 1830s, so photography had been around a while in the 1890s.
id this why js devs rewrite everything in typescript now?
(Repeating myself) PHP's garbage collector is ARC.
Haha, that's it. Thanks! Funny that it even has its own knowyourmeme page.
It's a blessing and a curse. Makes it amazingly easy to start with, which is how many PHP developers started (with perhaps folder root index.php rewrites and that's it), but later it makes it confusing, especially if "it always worked" for you, when you want to do dynamic routing.

I see the same pain for some next.js devs these days, even though it does allow parameters in roues in [name].js file form, I saw some people generating routers from file trees and finding it an acceptable compromise. Well, each to their own, I guess.
It's not fun sir. What's the point of those $$$ mark for variables ? Make no sense at all.

Easy adoption for all levels of programmers is what make it work for enterprise applications now.
How is it possible to do this professionally without getting shot or run over?

The first few victims I get. But after it becomes an identified pattern and makes the news people are gonna be on somewhat of a lookout or at least have it in the back of their mind that it's possible and the odds of your victim seeing the trap before you've got it complete go way up.

Sure you can try and profile people and avoid the car with five dudes in it and go for the middle aged lady in the car with a real estate agency sticker on the door but even then you can only point a gun at so many people before someone's knee-jerk reaction is to either hit the skinny pedal and GTFO or whip out their own piece. This seems like the kind of crime you can only commit 5-10x before you get unlucky and it goes off the rails.
> Can PHP compete with languages such as Go, Python or Ruby in the future?

No. I expect no seriously large projects are started in PHP anymore.
No, just in terms of features and syntax. Too bad you can't remove all the bad stuff from php, or any old tech.

This was one of my requests to that new search engine posted here a few days ago.. Filter on minimum version of technology. Should actually just be a field in stackexchange.. packages/languages references + version. And a marker to set if the information is obsolete.
use swoole/openswoole with php - async away.
Sotheby's is a well-known, respected auction house.

> With the sole aim of encouraging crypto collectors and the NFT community to express themselves creatively ... unique, non-binary avatar traits inspired by quintessential Hackatao past drops and the cryptoverse. ... Queens+Kings are avatar NFTs composed of multiple NFTs.

I honestly don't know what to make of this.
Same period as "Hunger" by Knut Hamsun https://en.wikipedia.org/wiki/Hunger_(Hamsun_novel)
Share-nothing architecture, good, stable ecosystem build around Composer, Laravel and Symfony and as you said a lot of devs.

Otherwise, I think differences in syntax etc. are rather subjective and everyone has their preferences. For example, I really like PHP "arrays" because it removes cognitive load of choosing between different data structures. When writing business rules 90% of time I don't really care about optimization or memory, but about readability and communication.

Overall, PHP is rather dumb language and I love it for being dumb.

Python package management currently is a nightmare, but projects like Poetry seem on a good track to make it better. JavaScript is better than Python at package management, but it has issues with many small packages maintained by random people. Java ecosystem also seems quite a lot more complex, especially when you compare Composer and Maven. Compilation aspect also changes the way you work.

I have no experience with Ruby, C#, .NET etc.
It's straightforward to call sync functions from async ones. Are you referring to the fact that those sync functions could block and cause the async code to perform worse? I admit it's a few more lines of code to write a script that runs async code.

I've worked on several projects recently where async was used throughout and haven't had issues. There are many async libraries now, like ones to utilize GCP services, make HTTP calls, connect to Redis, etc.