skysight-inc/HackerNews huggingface dataset:
Yeah and they should add basic features like lambdas and rewrite the entire standard library to support that while they are at it and when they are done with all of that could they potentially provide a separate syntax similar to facebook's reason? It's no longer the same language anymore if you change everything and therefore there is no reason to waste time improving PHP.
104F external is still relevant in this context if we're talking about venerable people that can't regulate their internal temperature down from this; those being some children, elderly, diabetics, or pets. Their temperature keep rising until it hits this 104F. That's why I commented - it's not just semantics.
The wealthier will be disrupted relatively more by mitigating climate change as they consume more and have the means to invest. The poor will be disproportionately affected by climate change and are less able to adapt. So even if everyone is worse off overall without mitigation measures against climate change now, the rich would be relatively stronger and so may consider later adaptation preferable to present mitigation.
Wow. We have about 12 on our short street in inner city Sydney and I thought that was impressive.

I always find it bittersweet how short the bloom is.
> Health care as a discussion point in the contractor vs. employee topic is relevant for only one country on the planet.

Even in countries with single-payer healthcare, full-time employees may be eligible to a better healthcare deal via their employer than a temp worker, never mind a contractor.
> Won't your prototyping be faster in Go/Python/Node/Ruby anyway, with a more stable surface to build upon it?

One of the most understated pros of PHP (IMHO) is that it's so easy to get setup with. You can start hacking on something so quickly. In my experience, Go has not been like that. Node.js also was never as quick.
Just few months and I did not use xdebug on that server. To clarify it's was just CRUD app on Laravel with few small dependencies on top of it. Composer used like 700MB RAM to install it for whatever reason.
Why not biomass? For millions of years the nature balanced CO2 itself with plants, water cycle and fires. Massive reforestation would help with water retention problems, biodiversity etc.

Solar, wind, batteries, nuclear sound big but they are not environmentally neutral (massive and toxic mining of rare materials, noise, poluting production, toxic recycling, disruption of airflow[1]).

Burning fosil fuels is dead-end way but do we want to make this planet a complete artificial wasteland full of solar panel, wind farm, battery and radioactive landfills because "we wanted to stop CO2 emissions at all costs"?

[1] https://www.scientificamerican.com/article/wind-power-found-...
Vikings have been in Ireland for a while, so Irish lax may originate from Norse lax
> You're confusing poorly paid contractors with highly paid and sought contractors.

there's no difference. If your skillset is sought after, you get more money (by exercising your market demand).

The fact that there are many poorly paid people is not a problem of the companies paying them poorly, but of society not creating equal opportunities for those people (e.g., for education) to skill up.
One obvious step that seems to be missing is having governments acknowledge this as a top priority. Make carbon-based energy production expensive enough that these technological innovations are the only alternative.

It seems like a classic case of the Innovator's Dilemma[1]. We are so economically dependent on carbon fuels that the incentives to develop and adopt renewable energies are not yet strong enough. Shouldn't governments do more to speed up that adoption curve?

[1] https://en.wikipedia.org/wiki/The_Innovator%27s_Dilemma
Terrifying Ebola epidemic out of control
There are comparable things with other frameworks too.

For example I wrote a course on building a SAAS app with Flask. It's available at: https://buildasaasappwithflask.com/

It covers everything about user registration, profiles, subscription billing, 1 time billing, invoicing, and about 50 other things you would likely want to do in a SAAS app or any application really.

The course comes with the source code along with 15+ hours of video explaining every line of code in stages, life time free updates and life time support for close to half the price of what Spark charges just for the source code for 1 site license (with the Flask course you can use the code in however many projects you want).

Spark's business model seems interesting though. I don't use it personally but do you just get the source code and nothing else? How do they limit you to 1 site if you end up with a local copy of the scaffolding / code base?
I find it a clever way to host images for a GitHub repo Readme.md - without needing an images folder inside the repository.
The problem is "lithium batteries" is too wide category. There are vastly different chemistries that just happen to have lithium in them that all get grouped into "lithium batteries". All those applications you mention, for most they each have their own dedicated chemistry.

This is a good approachable article that goes over all the common types of lithium batteries. https://batteryuniversity.com/learn/article/types_of_lithium...
Apart from being uncharitable, that's just not a reasonable generalisation of human behaviour. Plenty of old people with no relatives have died wealthy wile living very simple lives, giving their wealth to charity. Wealthy retirees with lots of relatives have left all their money to their cat, or whatever. It's just not possible to paint big swathes of humanity with a single broad brush.
Agreed, Laravel provides the best dev experience in the PHP world.

The funny thing is that Laravel basically took the Ruby on Rails philosophy and applied it to PHP. Just looking at their site it's clear they have a very similar vision: simple, fast and fun. One can always find differences but the basic principles are the same.

IMO this is great kudos to the Laravel guys, whatever language I use I always look for the tooling that follows the KISS principle. In PHP you have Laravel, in Java/SCala you have PLay, etc.

I need to add that, because of the job, I did a lot of PHP, Ruby, Java, Javascript with many different frameworks and I can say that Rails is still the best for me when it comes to dev experience if you need to move fast. Laravel has come a long way but it's still not at the same level of maturity in terms of tooling and ecosystem. As a bonus with Rails you use Ruby which is designed for programmer productivity and fun.

Anyway, whatever language/framework you use just keep it simple, that's the most important decision you can make for the health of your project.
> All that stuff the EU and US buys - where's it made?

Not that I disagree, but it is not just Europeans' choice to buy from China, but also Chineses' choice not to sell.
Apparently (according wiktionary) the reconstructed vulgar latin word of origin, *linguaticum, was neutral.

While learning the language I've noted that in Portuguese words ending in ~gem are generally feminine regardless of their gender in French:

un garage -> uma garagem

un langage -> uma linguagem

un abordage -> uma abordagem

un bagage -> uma bagagem

And many, many others. My point is that I'm guessing that the diference in gender here is purely morphological and not tied to the meaning of the word and whether it's semantically tied to masculine or feminine traits (I'm sure you already knew all of that but I also know that English speakers often have misconceptions regarding how genders work in Romance languages, so I thought I'd clear it up).
Can't edit now, but here's a runnable gist https://gist.github.com/IanCal/d703106344e876728d2aaef67800d...
> how many features actually exist in Google search that the vast majority of people are not aware of

And why they're not aware of them? Google does an excellent job of hiding features sought by users (and then sunsetting them when they're not used; I wonder why they're not used). The design there does not serve the users' needs.
What happened to Sinfest? I remember reading it, but I eventually just sort of stopped, but I don't remember why.
You can put a price on the planet when you have more than one. Until then, this thinking is absurd.
The US also did some testing with their flasks:

https://youtu.be/1mHtOW-OBO4?t=80

It's a pretty awful source (dubbed impact sounds), and very much in UK dialect, but it has some footage of the US testing I've not seen elsewhere.
While parent's comment seems to attract some downvotes, there is a good point hidden beneath: PHP (mostly) keeps backward compatibility.
This means that old and unsafe functions that should not be used anymore are not removed from the language and are still available to use.

Coupled with a lot of outdated documentation and tutorials that advocate using these functions, it becomes a big issue. For example, many tutorials use "==" when "===" should be the default. Deprecated functions are used in many tutorials as well.
The CEO of Boeing should go to prison.
Rather than chasing MVw or OO trends of the JavaScript ecosystem and become more like JavaScript or Java, so to say, why don't the PHP developers identify and build on the unique strengths of PHP? Which are IMO: the large installed base in classic web hosting, and the original purpose of PHP as a high-level scripting language embedded in otherwise static HTML as in "<?php ...>". There is a huge room for improvement there since PHP's quick-and-dirty hackjob of a page-embedded language isn't HTML-aware and thus prone to injection attacks, which has caused uncountable attacks, botnets, and other problems for PHP and non-PHP sites alike, in particular when coupled with PHP's target demographic. This is especially painful because PHP embeds via SGML mechanisms (processing instructions), when SGML has all the features needed for context-aware, injection-free templating. If PHP can improve that story, and stop becoming the language of unintended consequences and usage-outside-its-comfort-zone, then it might earn a lot more respect and consideration.
The weight will be the same, but the coffee won't.
The biggest factor is the grind size, and packing force has little effect—so long as you tamp the coffee evenly to stop channeling. There's also a million other factors that effect taste, including things like the weight of the coffee cup. So it's a bit of an endless nightmare.
there's a pattern in debugging that basically looks like

print('foo=',foo)

like all languages should, if a pattern is wide-spread, useful and basically boilerplate, python decided to create a language shortcut for it.

print('f{foo=}')
or in other words, the tragedy of commons.
It's good if they take some time to think about the implementation instead of doing a crappy job like Python did.
"Catapulting" seems like the wrong word.

The mechanism is described as:

> When the spider releases the web, both spider and web accelerate forward very rapidly. The rapidly moving web tangles around the prey insect, starting the capture process from a distance.

But this process starts when the prey is already in the web.
I think that is largely changing. Quite a lot of breaking changes to clean up ancient cruft are slated for 8.0. For example, PHP has infamously had broken ternaries (they're left associative, which is never what you want, not how any other language works, and a rich source of bugs). Nested ternaries are being deprecated and will be removed completely in 8.0; in a future version correct (right associative) behaviour will be able to be added.

Obviously there's a long road to go, but being willing to change how an operator works on that level demonstrates a willingness to break compatibility when necessary.
Lots of numerical computations and simulations.
Ja, called sun. Already an off-earth installation available. Transfer of energy via radiation. Has just to be collected and transformed to electricity.
there are python implementations where locals() is unavailable or available at significant cost.
The debugging experience is very good, actually. Certainly comparable to other languages.
It only means you don't know PHP enough. No offense, I moved from PHP to Rust after 11 years of using it, but it was definitely not because of tools or speed of development. I just prefer strict typing and Rust's errors handling.

If somebody prefers dynamic languages and want to create some prototype - it can be done even without any frameworks, quickly enough, with millions of libraries for any need.
Livestock only accounts for so much globally because much of Asia and Africa contributes little to CO2 output other than growing livestock. But that’s rapidly changing as those countries develop. The amount of CO2 China added to its footprint in the last year alone is more than what would be saved if the entire US switched to being vegan. As India and Africa follow the development trajectory of China, livestock will become a very small portion of CO2 footprint, just as it is in developed countries. (In the US, the difference between the average diet and a vegan diet is just a few percent of your footprint.)
Ask HN: Is stealing a password that easy?
I had this thought today and I am a bit freaked out.

Say we have a CI, we have a bunch of env vars on it.

Now some sneaky guy comes, makes a PR that changes the `test` stage of the CI to `echo $SUPER_SECRET_PASSWORD | send-to-pastebin.sh`.

Did he just steal the password, or am I missing something?!
Exxon predicted in 1982 how high global carbon emissions would be today
I'm sure there's an exception for diplomatic passports.
Avengers: Endgame – FACS and Machine Learning for Thanos Facial Performance
Your claims are vague, do you have a specific example of a new feature and a new mainstream framework that has the security issues you mention?
except all those people who's supposed to have been insured will now no longer be (but would've paid their premium, at least partially). So what happens then? Either those people lose their money, or the state bails them out.

If the gov't forces an insurer to keep a reserve (for such an occasion), then it becomes regulation!
i prefer to see it the glass half-full way: the definition of pythonic continuosly evolves.
We do have other planets, relocation will cost roughly $3.75e+15 USD at SpaceX price estimates. IIRC, the global economy is about $1e14 USD/year.
Not really the case with Docker. I can spin up a container targeting any language in less than 10 seconds, mount a volume and start hacking away. Best of all, it doesn't pollute my system in any way. We shouldn't pick a language just by how easy it is to get started, a decision which often leads to a lot of regrets. Pick whatever is good for the project not your disposition.
I would love this book if only I could get my hands on LSD in my country without going to prison
Wait what? Python's async is actually well implemented and very consistent.
Hey, repo owner here.

That does seem to be the case here. I had re-hosted these .plan files from a website – which has removed them – that had re-hosted them from Shacknews – which had also removed them.

GitHub seemed like a quirk-and-dirty way to re-host these while giving others an easy way of duplicating the original files so they’re less likely to be lost in the ether.
> Why would you replace a meal made out of plants with basically the same plants run through a blender and their ingredients extracted by some odd process?

Convenience. I use my blender twice a day. I need 3000 calories a day to maintain a BMI of 22 and to get that from all plants would be lots of work. I’ve eaten 2000 calories of lentils in a day - not pretty.
Regarding machine-to-machine communications, I'm wondering if these extra numbers are needed because mobile devices require a phone number to interface to mobile networks, even thought they typically only initiate data exchanges. Or‡ are there devices that actually receive phone calls - as in dial-up?

‡ not familiar with tech in Japanese infrastructure
All apps I saw, written in Ruby, were awfully slow. I don't know Ruby, maybe it's just me, but would be interesting to know examples of not slow Ruby apps.
MCAS is required for the 737 Max to be certified at all. To remove the requirement for MCAS would require enough changes to the aircraft to make it not a 737.
It's true.

I'd like to say it's a new crappy language, because that'd be funny, but it wouldn't be true either!
China’s Propaganda Machine Takes Aim at U.S. over Trade War
Elegant Error Handling with the JavaScript Either Monad
It’s still around. It effectively went on a political rampage after the Obama election in 2008
Nobody is talking about annulling free speech rights, the issue is granting extra free speech rights to entities that are not people, as well as considering activities speech, and therefore protected, that are not speech. Like donating money to political campaigns.

People can still donate their money, but to allow corporations, which are explicitly created to concentrate money and power, to donate money to politicians, that has a massive impact.

The people working for a company can have free speech without the company itself having free speech. In fact, some companies having a tendency to curb free speech through contracts denying people the right to talk about certain things.

And then there's also the issue that corporations get used to dodge personal liability by their owners and employees. If corporations don't share their people's responsibilities, why should they get to share their speech? Corporations are very explicitly a separate entity, and not merely the group of people working for it.
I'm missing something - Stripe appears a pretty textbook example of Material Design.
I remember internet cafes in Russia back in 2004. I was 11 years old at the time and was a common visitor. My father dropped me off at one of these cafes for an hour one time and I ended up playing GTA 2 the whole time. That's how I was introduced. It was actually my very first time using a computer. I had Playstation and SEGA before.

I remember showing up early in the morning before 8AM and there were already people waiting in the hall. Time was cheaper in the morning and you could buy a "pack" of 3 hours for 100 rubles which was equivalent to $4. It was also sometimes dangerous because older guys used to bully younger people and take their money. I remember one time I was walking out of the cafe after playing for 4 hours and was approached by 2 guys, slightly older than me. One of them whipped out a knife and said: "Give me all your money or I'll slice your throat, I don't give a fuck, I'm minor so nothing bad will happen to me". I knew these two somehow. They had a reputation for attacking and robbing people, so they weren't fucking around. I gave them crumpled 10 rubles and said it's all I have left, because I'm going out of the cafe, not in. They should be stopping people who are going in. They believed me and let me go. I had another 500r on me and was glad they didn't check my pockets. Later this evening I came back to play more despite being afraid of getting mugged again, that's how strong my addiction to these cafes was.

To be frank those places weren't like cafes at all. We called them clubs. All they had inside were computers with LAN connection. Internet was there as well, but it wasn't popular. Most people were playing Counter Strike or Battlefield. Most clubs were managed by a single person, an admin. Those people weren't owners, they were just there to take money, allocate time to specific computers, and to tell people to get out.
PHP has had lambdas for years, and the next major version has a concise syntax similar to JS arrow functions.
Link to the origin repo if you’d like to read the entire .plan archive: https://github.com/ESWAT/john-carmack-plan-archive
"I find this point of view - that designers are inferior to developers"

The parent didn't make that point.
The thing that matters is language consistency... A language with a pure clean vision of itself in which the programmer can guess at syntax because they understand the general syntax principles to which the language adheres. Nothing here says PHP has been fixed in this regard.

Python made the big leap and fixed some huge problems when it went to python 3 - yes it's migration approach was a total fail, but it further cleaned up what was and already clean and consistent language.

The only thing that would have really interested me in this post would have been to hear that PHP had been cleaned up into a consistent syntax, but that's not what this article says.
That's why you have code reviews and don't let anyone merge their own code or at least not deploy it themselves.
I think the problem here is, the game is made by Studio A, but it's run by Google in the cloud. Studio A probably doesn't have enough of an incentive to put this in the binary, but Google doesn't have the source, so they can't change the game loop.
Every time I try out Flask, Aiohttp or even Express.js I appreciate more the stuff Django normally does for me.
> there should be only one way to do things, even you end up writing few more lines.

the zen of python never mentioned that you should exclusively code in machine code.
> Why would you replace a meal made out of plants with basically the same plants run through a blender and their ingredients extracted by some odd process?

Doesn’t that basically apply to any sort of cooking process at all? It’s all an artificial transformation of food.
How is that different from saying that wealthier people are better off, and that this will continue to be the case?
> PHP isn't the same old crappy language it was ten years ago

But it is too late. JS on the backend has nearly completely ate its mindshare in its target demographic.

I think, JS itself risks ending up like this if core developers in Node and TC39 will not begin to think of the need for JS 2.0 and fixing fundamental design issues, and bug-o-features.
don't use them if you don't validate them with mypy or similar.
Composer is very useful in penetration testing. Lot's of good information in the composer.json files people keep forgetting to block..
isn't it even more complicated than that?

It would seem that manufacturing would have a significant impact on the figures and a lot of manufacturing has been outsourced to China/India.

So how much of all the stuff that is bought and consumed in the EU/USA is actually produced in China or India?
Wondering What to Do When Neighbors Fight
As someone who probably relies on print statements too much for debugging, I love this.
No, the world doesn't really need to strive for economic growth. IPhones sales not growing year over year is not a disaster for anyone, really. Same for Amazon market share, and so on. And yet: it is, because the system works this way. Growth is god. It's instilled into DNA of every entity working in the capitalism.

We could stop the growing obsession, redistribute the accumulated wealth to the developing nations (perhaps iPhone sales would grow then?), and live happily ever after. Obviously, it's an utopia that's not going to happen.

And yet, it's the only viable way to achieve the emission targets needed for humans to survive on this planet. It's commonly accepted that the best advice you can give someone who wants to reduce her/his carbon footprint is: "consume less". Well, we need to consume less globally.
this was a systems engineering failure. nothing more. the system is designed to find these and remove them. it has not been determined if this is because of cost cutting or management pressure. could be, but it is also possible it is just an error made by people.
Oak, a Free and Open Certificate Transparency Log
Unfortunately this is true and it can't be changed, the functions are named and parameters are soemtimes inconsistent like strpos and str_replace, I would have to use the docs all the time if my IDE wouldn't show me the param names.

But after you get productive with PHP there is no feature that I think I am missing from other similar languages.