skysight-inc/HackerNews huggingface dataset:
This is my opinion.

Some hints why I think PHP is not great:

* property type declaration in doc-strings
* bad documentation
* verry verbose for a dynamic language
* a lot of inconsistencies
* automatically loading of classes is a hack (psr4) which doesn't support importing functions without specifying it in a global project file
I have some contacts in the industry and, as far as I know, sustainable waste processing is expensive and people are always trying to avoid it even if legally mandated. It is down to government regulation to force businesses to process waste in certain ways.

I think you'd have to find what your government legally requires in a certain waste management area and work within those parameters
today, the plan is 'certify the process', not the product. people are assumed to be faulty.
Grafton NSW. And Casino. Also heaps in Brisbane. The curse of University of Queensland students, Jacaranda flowers means exams time. All through the city and the riverbank.

They send chemical cues and flower en masse but with temperature changes are also note breathing flowers out of season with leaves, worrisome.
I'm sensing some sarcasm but that unironicly sounds like a good idea to me.
I actually see no reason to use PHP over other languages except if the project already has a large codebase in PHP.

In all other cases I keep thinking: "Have you seen Django yet?" And probably you can substitute ROR, Node, ASP.NET Core etc
I think of cre-lox recombination

https://en.wikipedia.org/wiki/Cre-Lox_recombination
Maybe according to OPs perception, the reasons destroying the middle class and upward mobility are a combination of: competition pressure centered around places with strong "second place" (Job) opportunities, decades of civic mal-planning, treating symptoms (for some) rather than root causes (for all) and regressive tax/compensation structures

But I am not sure what that actually means. And I am not a native speaker.
But that's why I said the test stage. Supposedly there is a step that runs for every single PR.

A lot of open source project have something like that too, where it's a lint checker or unit test runner or whatever.
I'm surprised to not to see inertial storage there

And by no means is the "duck curve" or storage an impediment for adoption. I will not go as far as identifying it as a "core" issue here.
Tldr: Became absurdly preachy and political.
It's open source and I haven't heard anything negative about it. Only downside is that using a VPN at the same time is probably (?) impossible.
Why not use multiple stages in your docker file?
If carbon emissions dropped to zero today, there is enough carbon in the atmosphere to permanently raise the temperature and potentially enough to kick off nasty positive feedback loops like permafrost methane.

Assuming we could hit zero today is of course wildly optimistic. Even reaching an equilibrial state of carbon inflow and carbon outflow would mean approximately halving emissions, rather than tinkering around the edges.
In Hebrew the word for language (שפה) is also feminine. And apparently from this comment thread...in many languages that's the case.
I used to read Megatokyo back then but stopped visiting regularly as updates slowed, and eventually I stopped altogether.

It's interesting that there's a different business model open to webcomics now, than there was back then, with Patreon (And similar sites).

I back a number of webcomics that way (Gunnerkrigg court, Questionable Content, Wilde Life, Girl Genius Online) but it only really suits webcomics that get regular updates, as you're generally paying by the month.

It'll never make them super-rich, I'd guess, but can provide a decent amount of monthly regular income.
>the increased sensitivity and fragility of younger generations?

Can you cite your source for this assertion? Thanks!
Cowspiracy has been debunked over and over again
also it's good to know that bill invest on GMO, at least now we know what this side of the picture is.
That's certainly been an option that's been considered. Not sure what the current status of that is. The main downside is that it gives a very arbitrary barrier.

And maybe it should be hourly rate rather than yearly revenue, because a client might have no idea what a contractor's year looks like. You don't want clients to be forced into additional commitments until they've hired you for enough hours.
I had the same expirience and I am totally with you. At work we use modern C++ which I enjoy, but I have the same liberating and comfortable feeling when I turn back to my small C projects at home.

But I also think that huge C Projects can turn into a hell easily.
That applies to basically French and Norse loan words from the Middle English period. It doesn’t apply to the large number of Latin and Greek loanwords or anything more recent.
Pain now or in the near term always seems far more severe than pain in the further future. Let's suppose that unrestrained global warming will reduce agricultural production to the point where it's no longer viable to grow any meat (or maybe 1% as much). Alternatively we could reduce our meat consumption in the near future by 90%, as part of a broad sustainability program, and be able to maintain that level of meat production indefinitely.

That's the sort of tradeoff we might be looking at.
I think the point is that if you use a "new mainstream framework", you lose the traditional unique strengths of PHP by using it essentially the same way as you would any other language, so you might as well use a different language.

So instead of trying to be like other languages but with worse syntax and weird quirks, PHP could try to improve on the things that make it different and lead to its initial popularity.
Yes, it's showing the oldest son of a early matlab's employee.

https://blogs.mathworks.com/steve/2006/10/17/the-story-behin...
>> (In the US, the difference between the average diet and a vegan diet is just a few percent of your footprint.)

I can believe that but could you please source it?
I will try, I seem to be rate-limited to hell and back.

From Heinlein's Time Enough for Love, the implication being that old Bill Shakespeare was an unnaturally long-lifer like Lazarus Long:

> “Don’t praggle me, boy; I’ll quang you proper. Shakespeare and I never let grammar interfere with expressing ourselves. Why, he said to me once—”

> “Oh, stop it! He died three centuries before you were born.”

> “He did, huh? They opened his grave once and found it empty. The fact is, he was a half brother of Queen
Elizabeth and dyed his hair to make the truth less obvious. The other fact is that they were closing in on him, so he switched. I’ve died that way several times. Ira, his will left his ‘second-best bed’ to his wife. Look up who got his best bed and you’ll begin to figure out what really happened. Do you want to try to define ‘love’?”

It's no less far-fetched than all of the other theories that people keep tossing out to try to strip Shakespeare of the authorship of his plays.
My post was unclear, it's fair that base JS doesn't have an import system; I was talking about ES6 imports.

And yes I'm aware why requests isn't in the stdlib, but that doesn't make it "correct". And chardet should definitely be in the stdlib. I mean, ffs, `mimetypes` is in the stdlib. urllib3 is more contentious but honestly? It probably should be as well.
Cani you please elaborate a bit how python Async await is crappy ? Not defending anything but I'm curious. Is it in the language or its implementation ? I've found the loop choices and relationship with dbus loop or other internal libraries cumbersome on Linux but that is implementation.
Or it could just be that there was never a lot of evolutionary pressure for the "stay fit while old" traits. Being healthy for long enough to reproduce and provide some care for your progeny was usually good enough from the evolutionary standpoint, so the frailty-at-old-age genes weren't actively selected against.
they cost more than that !
(and note they run the same code as the aircraft, in most cases)
From zero to main(): Bare metal C
As far as I'm concerned the bridges have burned a long time ago and I definitely can't see myself giving PHP a second chance. That being said, if I'm wrong and PHP has really managed to become a decent language (or at least something that's not completely insane) its defenders should focus on actually showing what modern PHP code looks like.

Is performance that much of a big deal for most people? In a world where Ruby on Rail exists I find that hard to believe. Server are cheaper and vastly more powerful now than in PHP's infancy, I'm sure that for the vast majority of use cases PHP's performance (whatever it is) is good enough.

The infamous "Fractal of Bad Design" wasn't about that, it was about the ridiculously inconsistent and error-prone API, the insane defaults, the counter-intuitive behaviour of '==', the headless chicken development roadmap where maintainers would add features because they were popular in other programing languages without trying to figure out if they had their place in PHP,...

Surely a lot of this has turned into technical debt? Even assuming that "modern" PHP managed to come up with better ways to deal with all of this, I assume that these obsolete functions and operators still linger for backward compatibility? If so how do you avoid them?

Again, I personally don't really care, but if you want to win new converts who haven't been as scarred by PHP as I have been I think that's where you should focus your efforts. Maybe somebody should write a point-by-point rebuttal to the "fractal of bad design" article?
No, because estimating anthropometry is not gait analysis. It's about working out the relative lengths of your skeletal structure, which is unique in every individual and cannot be concealed by movement.
It is more or less obligatory to do it this way; if you tried to avoid generalizing to an infinite version, you would have to qualify various arguments with something like "assuming sufficient resources...", which amounts to the same thing.

No finite state machine is strictly Turing-complete, but the category of those that would be, but for the resource limitation, is an extremely useful one.
Firefox 66:

import('/modules/mon-module.js')
SyntaxError: dynamic module import is not implemented

So no network access, and of course no FS access.

Hence, doesn't work in the browser. You need a lib or a bundler.
Exactly my point. Thanks for explaining it much better than I could.
I look forward to seeing how this feature will work on my phone with no google play services installed.
I am all for renewable energy but what worries me the most is that our world population in out of control. At what point do we factor this in and start doing something about it? Even with renewable sources of energy can we sustain such growth? I understand nobody wants the government telling them how many kids they can have but I just don't see how we can keep on going this way, and I think a decrease in the population rate would help the climate out as well maybe even more so than renewable energy.
How much of the China's footprint is generated for manufacturing stuff for the developed nations?

We may have 100% clean energy locally only because we've outsourced the dirty one.
People also dim their displays to save battery, making it look like the backlight is broken.

Win some, lose some.
That would break too much things and the benefits will not be enough. They could add some new things, deprecated the old things and keep them all but then you get a manual twice as big. All the changes in PHP feel pragmatic, like better SQL support, better cryptography support, better defaults, better performance and less on cool looking syntax or latest cool features.

IMO pragmatic is good, especially when you have to use an existing code base and you have to upgrade it to the latest supported version you don't want a Python 3 migration story(I migrated a medium project to latest version and the only problem was a cryptographic function that was used to generate some random looking strings that was deprecated, I replaced with the new safer function and done , my project is now compatible with the older and the new version).
Yep. Laravel is basically PHP on Rails. They do a great job with it too.
My point exactly: it's not because it's common practice that it's right. And of course spamming with bots is worse than inflating views but neither should be done. Not a holier than you attitude but expect employees for this be companies to have the same attitude and inflate their work hours or fake work copy pasted from the web and take credit for it maybe: does that sound right ?
One fundamental step that we could take tomorrow is ending the subsidies and tax breaks on oil, and reassigning them to renewable energy sources.

Why we haven't done this already: special interests controlling our government.
Of course I have seen stuff like this. How much seaweed needs to be produced, won't this have other ecological repercussions? Why is this presented as a kill-all-worries innovation?

A much simpler and less crazy solution is simply to have more grass-fed beef. Their manure and body shade can help recreate green pastures in desertic regions, and this would be pretty much CO2-neutral. It's just more expensive, so nobody does it.

Solutions are here, and they're not that hard. People just don't want to implement them because it impacts their profits and abilities to eat tasteless meat 3 times a day for next to nothing.
Removing CO2 is not geoengineering in my book. That is reversing what we did and I'm all for that.

Geoengineering is for example emitting particles to atmosphere to lower amount of sunlight hitting earth. This will cause sky to change color, lower yield of crops and possibly other unknown consequences. That I would rather live without. That is last resort think, not first think to do.

We don't even have carbon tax, plane fuel is not taxed etc. and we already talk about geoengineering. This is crazy.
And yet ~everything in https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ is still true.

All that's happened is that the language is even more complex, has even more baggage.
Since 2000, China has gone from a per capital PPP GDP of $3,000, about the same as the US in the 1880s, to $17,000, about the same as the US in the 1960s or 1970s. In the process, it has added 6 gigatons of carbon output, more than the entire US footprint. Carbon output was the way to a modern, decent life for a billion Chinese. India and Africa are still stuck where the US was a century ago (and their carbon output is correspondingly low). Economic development is necessary for them.
In Yiddish it would be something like "lux" as in "deluxe" or "bucks". In contemporary Israeli Hebrew, that vowel doesn't exist so it would be pronounced somewhere between the "ucks" in "bucks" and the "olks" in "yolks" or "folks".
I wouldn't take offense, it's rare for our personal pet technologies to make it into high level documents. These are just Gates' opinion of the best ones after all.

But I would put my money on reflow batteries in the long run if they weren't so far behind, simply the decoupling of storage capacity from power density feels like an engineering perfect storm to me. I was lucky enough that my pet technology made it in =)

Why do you think inertial storage might be superior? I've talked to a fair number of people working on it and it sounds totally doable but I'm unclear that it actually costs less per joule stored or why it would. Granted a flywheel costs less per unit mass and compressed air is cheap, but on a capacity and fabrication basis? Maybe. I don't think I'd call it a shoo-in though and wouldn't invest in it myself.
The difference between natural and artificial is the difference between substances we've been exposed to, and thus evolved to deal with, for millions of years, and ones which are completely new to us, and we are essentially beta-testing on our bodies.

Of course, the official meaning of the world "natural", as it relates to the list of ingredients on a package, has been diluted to be meaningless, as you say.
I haven't read the estimates, but that would be relocation only, correct? Assuming that's true, you need to add the costs of terraforming on top of that.
Show HN: A proxy that reduces bloat
It can be changed.

You have some syntax to opt into a later release (e.g. doing `<?php(version=8)` at the start of a script.

In a major release, you then get rid of a load of cruft.
Harare has its fair share too. Walked through the leaves going to school.
>Buddha is not enlightened until we all are. I used to think he was a different person and I still do, only sometimes

This gives me a Mahayana bad taste in my mouth. (THERAVADA PERSPECTIVE)
It helps that he was his own manager and didn't had anyone else to convince that this was a good idea :-P
Right, it's good that we have the very beginnings of an understanding of how the process might work. In mice. Applications to humans are, if previous track records are anything to go on, five to twenty years out and uncertain.

Meanwhile, gullible people with poor reading comprehension will see the headline, or hear the badly interpreted third-hand reporting on the study during the science puff piece section of the nightly news. Some fraction of the hypochondriatic will take it up as gospel, and begin preaching it, and the sum total is a contribution to the mountain of medical misinformation that is floating around in the popular consciousness.
for sign up use stripe test card 4242 4242 4242 4242, with any future expiry and any cvc
FYI - not the ham company
> But I think the problem is that people care about today a lot more then they care about tomorrow

Absolutely, and to change that, you need to ask why this is the case.

There are many reasons for that. Some people are selfish, some are merely short-sighted. This needs to be fixed by changing the mindset.

But to me the (by far) biggest problem is that too many people simply cannot afford to think otherwise.

Climate change in X years means nothing to someone living in, or close to poverty today. "Green" means nothing to someone hungry today, and it would be absurd and apathetic to expect otherwise. And a very large share of the global population today are poor.
This is concerning an award winning puzzle game in which you can manipulate even the most basic rules of play:

https://en.wikipedia.org/wiki/Baba_Is_You
I don’t think it’s the number of people the problem, but rather the demand for resources a few people from the Western world create.
I'm not remotely surprised that Baba Is You is Turing Complete. I shudder at the thought of a Turning Machine running on it, though. It sounds like the worst possible self-modifying code hell.
Ask HN: Mac, iPhone and iPad Backup?
I'm probably asking for too much, but I'd like to see if I really do.

I want to have a backup system that is preferably free and at most a fixed price. I'm willing to buy a Raspberry Pi with an external HDD, if that is what's needed.

So far I saw the following options for Mac: Time Machine, Arq, BackupPC and Borg. Though, I wonder whether BackupPC is actually encrypted.

What I wonder even more is if there's a backup option that allows me to also backup my iphone and ipad, preferably with the same program. I haven't looked into it yet.

What are your backup solutions concerning a household that only eats the forbidden fruit?
This is only true of contractors in high skill roles. Sure, most of us on HN could demand a rate which compensates for the lack of worker protections and additional overhead (on the worker side) of being a contractor. Uber drivers cannot.

Contractors for low skill work is exclusively a means to avoid the overhead of having an employee and all the worker protections that entails. The "contractor" has no negotiating power, and no protections normally given to employees. For the Uber "contractors" it's the worst of both worlds while Uber get to have their cake and eat it too.
All I'm saying is that new capacity to meet an increased demand has an environmental impact even if it is solar.

More broadly my point is we cannot expect developing countries to simply stop developing. That's not an acceptable short term cost, as I pointed out when I said lives are at stake. I'm pointing out some complexities in the issue. How you can get from that to me saying poor people should suffer in the cold confuses me.
So much of the web is powered by PHP. Wikipedia (MediaWiki software) and Facebook are two of the largest footprints of usage. And of course, WordPress. PHP has a lot of firepower behind it.
Thanks, modern JavaScript is much more better & profitable than not_a_crappy_language_anymore today.

If you're 60, you can still use PHP for legacy projects, but no sense to learn it now and kill your career. Market matters.
I don't mean to attack you. It's just that there is a large gap between well-engineered and easy to use.

I am 100% certain you're a better developer than I, and that lightning is not a result of poor engineering. But if a layman can't pick it up and use it in under 5 minutes, it's unworkable (if you're targeting laymen).

Crypto is full of genius engineers, and product folks, but I think there is (and always has been) a usability crisis.

Thanks for your work on both Linux and Lightning. I look forward to the day you can point to this comment on HN as being ridiculously dated.
Imagine having the purest ideals of helping people when entering medical profession, only to end up burned out, going through motions, knowingly but hopelessly harming your own patients, leading you to substance abuse to cope with that as the system is set up to drive you to the brink of collapse. I am wondering what kind of sociopaths designed medical profession guidelines, maximizing unintended damage, depriving doctors of any quality off-time for their own recovery.
> why don't the PHP developers identify and build on the unique strengths of PHP? Which are IMO: [...] the original purpose of PHP as a high-level scripting language embedded in otherwise static HTML as in "<?php ...>".

I really don't think that's a strength of PHP. It's very bad at that, and that's not been a focus of the language for decades. PHP, even with the work you suggest, is always going to be inferior compared to something like Liquid, Jinja, or Twig.

It's arguably true that PHP should focus on improving the things that make people use it, but nobody is using it because of that. Even the ability to run PHP on shared hosting is increasingly irrelevant as we move past that being a useful feature.
Hmm...somewhere in Scotland other than where I grew up. For me gotten only existed in US movies, and "I'll gotten gains".
> certain constructs cannot be used in a constexpr context

yet. endgame is to make mostly everything constexpr-able. constexpr dynamic_cast, try/catch, and virtuals are coming in C++20 for instance and there are papers to get constexpr memory allocations in C++23.
With newer codecs the CPU becomes a factor indeed. This mostly makes JS/WASM polyfills for these formats unattractive.

However, using native decoders with proper SIMD optimizations shouldn't be too bad. dav1d achieves 100fps in full HD on SSE3 CPUs and A11. Only mass-market Android phones are really worrying, so it may be possible to do content negotiation that is aware of trade-off between the device and network speed.
A Laravel or Symfony app operates out of the public/ directory, so composer.json shouldn’t need any blocking typically - it’d be outside the web root.
"For my birthday I got a humidifier and a de-humidifier... I put them in the same room and let them fight it out." --Steven Wright
That's not an either-or question. Both population growth and per-human resource demand need to decrease for our society to survive the next 100 years.
the auto industry doesn't have this equivalent either, its just tesla. They'll eventually just claim everything is beta and take no responsibility for anything not working.