skysight-inc/HackerNews huggingface dataset:
If cow farts contribute to greenhouse gas emission throughout the world currently [0], what would happen if humans begin to emit ever more gas as a consequence of a significant increase in gas-producing diets (e.g. pea-based, etc.)??? (Only half-joking of course!)

[0] = https://www.cattlefeeders.ca/project-clean-cow-reducing-catt...
maybe my esp8266 2500 lumens led strip alarm clock wasn't such a good idea :O
Top E-commerce KPIs to track in your site
You say the companies "lie". Perhaps a good example would be Elon's "funding secured" tweet? You asked why customers accept it?

Customers accept that Elon lied on Twitter because they love the products the company makes more than they don't love Elon lying on Twitter.

I would further posit that customers love Tesla because, by and large, Tesla does not lie about its products' capabilities, even if they ultimately fail to deliver the product they want to, or are overly ambitious on delivery dates, or overly optimistic of what's theoretically possible. You don't set off to build a mass market EV in 2006 without a great deal of starry-eyed optimism.

I don't want to go down the rabbit hole with "throwayEngineer" but IMO Elon tweets a huge amount about his products, and the vast majority of those tweets are factual, exciting, and/or funny.

OP says these companies "lie" as if it's the only thing they do, or that if a company "lies" how can that be a good thing? That's an obtuse question used as a rhetorical trick, and I think it's an uninteresting discussion.

The reality is that all companies do a vast array of things, and yes, sometimes, they tell lies. Whether Apple and Tesla are more egregious examples of "companies that lie" than say Exxon or Boeing, I doubt it.

I personally believe Apple and Tesla do not intentionally devise schemes on how to best lie to their customers, while I have much less of a problem imagining Exxon or Boeing doing exactly that.

The reason for that disparity, is a more interesting topic. I think it's because I love Apple and Tesla products more than I love Exxon or Boeing products, and we treat the things we love differently than things we are ambivalent about, including painting over the flaws, and believing they have good intentions.
Was it loading any Flash or it was a Flash app provided by the website that you could upload your content to?

I know of a certain adult website which hosts "webteases", which are basically interactive/choose your own adventure slideshows. The content was originally provided with Flash, but now they reworked it to use HTML5 and most of the content seems to work because it was using the website provided framework for the content.
If you like this, you may like Lea Verou's CSS3 Patterns Gallery library. https://leaverou.github.io/css3patterns/

(make sure you allow the cross site request of http://bytesizematters.com/bytesize.js which is hosted on another of her domains if nothing is displaying)
There's https://warcreate.com/, but it's for Chrome. I don't know details of it, but aren't both browsers use the same API for extensions? Then probably it's possible to port it, or to install right away.

It creates .warc files, which are supported by Internet Archive. I don't know if it integrates uploaded .warc files to Wayback Machine, but Archive Team uses this format to upload manually archived sites to Internet Archive.
I always wondered, in a world where

1. people seem to hate writing (old?) PHP, and

2. there are a good dozen languages that were created solely because people hate this other language Javascript, which both compile to Javascript and have the semantics of Javascript, just not the syntax or stdlib of Javascript;

...why we didn’t end up with languages compiling to PHP, targeting the Zend VM, or whatever you’d have to do to get the PHP module in Apache to interpret non-PHP code.
"genetic line" -- I mean, it's not like you're the pharoh pumping out 100s of children while subjugating those eunuchs.

Also, in a world of 10 billion peoople, it's not like any given individual has much precious DNA to pass on.

I have one daughter and I'd love her to have a sibling, but for various reasons I don't think it's going to happen, which kind of makes me sad, but not because I won't pass down my "line".
"Clever" "marketing" language like this is not unique to Laravel, most frameworks use language like it for tag-lines on their homepage. Pyramid, a framework for Python, even goes with the same "artisan" language. They're just trying to be fun, inspiring, etc

From the home page of a few other frameworks:

Django:
"The web framework for perfectionists with deadlines."

Flask:
"Web development, one drop at a time"

Express:
"Fast, unopinionated, minimalist web framework for Node.js"

Pyramid:
"You need a Python web framework that supports your decisions,
by artisans for artisans."

Why is it clean? Build an application with Laravel and you'll find out. :) The documentation and community are excellent. I've used many frameworks across many different languages, and (imo) it really is very nice to work in.

It's funny how the most negativity comes from people with very little experience, or at least recent experience, in the thing that they don't like.
Webfaction is pretty amazing. Setting up and getting started with them is quick and easy. Although GoDaddy has acquired them and webfaction will be shutting down by the end of August. They will be migrating all the customers to GoDaddy.
The $_GET/$_POST pattern is rare in modern applications (anything built in the last 5 years) and is rightly recognized as an antipattern. Similarly many of the older obsolete functions have been either removed or fallen out of fashion.

You are absolutely right that the path to this has been fixing the path of least resistance. Laravel and other frameworks have made it easy to get variables using their preferred methods (and automatically sanitizing input). Learning resources (tutorials, docs) utilize the OO functions and many of the older functions were deprecated and have been removed for years. If you look at one of the more infamous functions, mysql_real_escape_string (https://www.php.net/manual/en/function.mysql-real-escape-str...) that was removed entirely in PHP 7. If you look at the more modern mysqli, they've chosen to have both escape_string and real_escape string, but one is an alias to the other. Similarly, sane defaults have become the norm, especially since most developers are using containers or VMs/vagrant to program. The one major outstanding issue is the api naming is still inconsistent.

On a sidenote, the PHP docs are great with pages showing examples and notes talking about potential issues. When I switched to python I couldn't believe how bad the docs were in comparison.
I'm not the person you're responding to, but I think the only way to fight climate change is by changing to an economy that doesn't rely on increasing production, and accepting a lower standard of living.

I see people blaming climate change on overpopulation, but this isn't really the truth - a majority of the world's energy usage comes from first world countries.
People do adapt, situation does get better. You can afford a mortgage, that is huge. Most people are not lucky to have their own shelter and they are renting.

Noone said child is an economical decision. It is the worst economical decision in fact.
I’m going to chime in here and say that I stayed with PHP through the roughest years.

I’ve only seen positive changes in the time since then.

I’ve made a good living from writing code and I don’t see any reason that has to change.
They pay that in California at peak times.

If you can generate power during those peak times instead, and net meter it against your off-peak use, you can do very well.
To pay for a social safety net.
I'm sort of sad that Python has reinvented .h files.
Mostly off-topic, but related: this is one of the major reasons email needs to finally go away. It was never intended to be the backbone of peoples lives in the way it has become.

Access to my email account probably gives you more access to my life and identity than my SSN [0].

I long for the day that we [1] all get assigned a public/private keypair instead of SSNs. That won't fix everything, but it's a huge step above a shared secret that is limited to 9 digits [2].

[0]: Even without signing up for a bunch of services, it's basically impossible at this point (at least in the US) to not have an email address associated with your bank account, car loan, mortgage, credit card, or even just watching TV.

[1]: "We" meaning "US citizens" or anyone else with a similar system.

[2]: I realize you also need info about the person and not just their number, but also apply that to keypairs.
No one is saying we shouldn't have new generations. We should stop growing the population. This means the number of births and the number of death each year would be about the same.

The max population of the earth is debatable, but the fact that there is a limit is not. A static population society will have to be generated.
As far as fewer inventions, why focus on giving everyone a good education? Then we would have more than enough people to give us the technology needed to survive.
Here's another example: the political leadership in North Korea is really bad. There's huge human-rights violations there. I don't think I need to go into any great detail about just how awful North Korea is.

Do I need to stock up on firearms and start a militia, and then travel to NK to overthrow the leadership there, because there's a real chance of Kim Jong Un taking over the world?

No.
Lying is different from overly optimistic and promising ideas that did not pan out.

It depends on where you come from, if you are skeptic, its lying. If you are a bit charitable towards Musk or Jobs, its just some idea that did not pan out.

If we live long enough, you would find, success is an exception. So, the older I get I do not buy the hype, but I do not call people with a decent results track record as liars. They might have failed at delivering and thats about it.
Because personality is somewhat heritable and because some personality traits, such as Agreeableness, tend to cause people to want more kids we should expect that this trend will reverse itself given enough time.

http://hopefullyintersting.blogspot.com/2018/05/falling-fert...
> The report distinguished between acute exposure of high-intensity LED light, and "chronic exposure" to lower intensity sources.

I can't say I'm convinced that LEDs are a hazard. This study doesn't really say anything new. Cooler/brighter lights are more similar to daylight. Staring into the sun is bad for you, emulating sunlight at night keeps you up.

> ANSES recommended buying "warm white" LED lighting

This line shows LEDs aren't even really the hazard. It's akin to saying a substance was found that prevents cancer and the article saying that its sunscreen.
For bigger overhauls they do send people out for community outreach. For example in Oakland, CA they’re rolling out a three year paving plan and bike plan. This involved reaching out to community organizations that deal with underserved groups, setting up booths at various popular events and sending out email and social communications, articles in the local newspapers and informal surveys. That said Oakland has “equity” as a key city-wide goal so they may do more reaching out than many cities.
Intels 10nm is nowhere as good as TSMC 7nm.
Nothing's preventing you from having all the kids you want.
I'm familiar with the usage stats on wordpress, lol.
I can't say that this is a good thing, but if it suits your needs, have at it.

I see no reason to start any greenfield project in 2019 in PHP unless you literally only know or ever want to learn PHP.
I could be wrong in terms of the entire language and it's ecosystem could have changed in the 18-20 years since I deliberated interacted with it last...
We have a lot of things since mod php, so there's many other options, most of which don't involve PHP, so I suppose true fans will build their web apps in forth, I dunno...
Even in European countries with generous support systems, subsidized day care, free university and paid parental leave the birthrate has plummeted (below the US in most instances).

So I am not sure that it is the cost, just rather a re-orientation of values that has been slowly taking place with the advent of birth control, plentiful food, etc. Human beings were all about the next generation for survival reasons by genetic design even if they didn't want to be.
I would be interested to read more about this. Do you have some sources for those claims one could read?
Little unsure how this is new findings:

> "exposure to an intense and powerful [LED] light is 'photo-toxic' and can lead to irreversible loss of retinal cells and diminished sharpness of vision,"

This is the reason we have light and laser safety standards to ensure that people aren't being exposed to dangerous levels of light...
كلمات ابتهال يا منقذي ادهم سليمان مكتوبة كاملة
Why do you say that it will only affect particular regions? Do you mean people around equator are not that much affected by blue light?
Oh this is interesting. This behavior is fairly common knowledge among cat people: if you have an adult cat that's being persistently hyperactive and displaying increased hunting/pouncing in a manner that's out of character for your cat, you need to take your cat to the vet for a checkup, your cat probably has dental problems and isn't eating.

What I'd like to know is why this reaction isn't more common among humans. I'm a fat person who's tried calorie restriction and all it does is make me tired and depressed. I suspect there's a good reason for that, and it has a lot to do with why I'm a fat person in the first place.
Flight sim dev's employee arrested for attempting to smuggle jet fighter manuals
I still feel that investing in more political activity will achieve little, as that activity will get drowned in the noise. I'll think more about it though - I just recalled a good argument for your position: the NRA. From what I hear, the NRA is a small minority, but their success comes from being the only ones bothering to organize and push for their point of view.
And overall power usage. I think I probably know more shortcuts and optimizations on macOS than most people at Apple.
Its a $50K+ product, so its only really an option for someone who would be willing to shell out for a slate or other high end roof. So, a small market. On top of that high end roofs last a long time (100 years) compared to asphalt shingles, so not many retrofit jobs are likely. New high end homes would be an option, but they would need building partners that would offer it in their menu of options. Doesn't sound like they have one.

Its really a headscratcher as to how they thought this would work out.
The article specifically calls out LED filament bulbs, but those bulbs aren't designed to actually output blue light to the user, they output the light that the phosphor coating on top should output, which is usually yellowish at 2800K. Are they talking specifically about LED bulbs and displays that still use separate RGB LEDs?
OnePlus Warp Charge 30 Car Charger Announced: Features, Specs, Price
Wow. Looks like I never ran into this bug because I have one too few App Shortcuts set up (only two custom ones, as opposed to 3+).

And this has been in place since Sierra?! Wow!

I'm not convinced that Apple actually knows about this bug, but what does that say about their software testing...
I love Make in concept and kind of hate it in practice. There is sooo much incidental complexity and so many warts to work around. I think it's a concept that is ripe for a new approach that thoughtfully keeps the good, ditches the bad, and maybe even adds some useful capabilities that aren't already there.

But of course I'm immediately skeptical of this idea a la https://xkcd.com/927/ (Standards). For instance, maybe this is what npm and all the rest thought they were doing. Certainly Rake in the ruby world tried to do this, and I never really liked it, so clearly they missed the mark somehow, at least for me. But then when I feel discouraged about the ability to improve on things, I think about how I felt this way when I first heard about Git. Why would you implement a new source control system when we already have subversion? Sure, svn has its frustrations and warts, but this new thing is just gonna have its own frustrations and warts and now we'll just have another frustrating warty thing and we haven't really gained anything. And this is totally true! Git is super frustrating and warty. Except that it's also way better than subversion, much faster and far more flexible. It was a revelation when I started using it. So I think back to Linus when he was thinking about creating git and think that he probably didn't have this discouraged uncertainty about improving things; he just had ideas for a better way and he went out and did it. (And yes, I know it was influenced by bitkeeper and other DVCs exist, so it's not like he invented the concept, but my point stands.)

So maybe someone could make a better Make?
I hold out hope that one day we can get to a point where humans can leave the earth in a better state than when we entered it. We certainly have the intelligence to do so. So I am not throwing in the towel just yet. Of course, there is an optimal population number somewhere between 0 and infinity.
What are some programming languages that no longer use major design patterns?
To quote Paul Graham:
"In the OO world you hear a good deal about "patterns". I wonder if these patterns are not sometimes evidence of case (c), the human compiler, at work. When I see patterns in my programs, I consider it a sign of trouble. The shape of a program should reflect only the problem it needs to solve. Any other regularity in the code is a sign, to me at least, that I'm using abstractions that aren't powerful enough-- often that I'm generating by hand the expansions of some macro that I need to write."

This was written 17 years ago. Since then, how many languages have cropped up that don't need to utilize most design patterns?

[0] http://www.paulgraham.com/icad.html
It is worthwhile considering that smart is just one type of adaptiveness in certain roles within a high-functioning culture. Noone understands how the whole create a culture that enables a safe and predictable life over a large land over all ages, but we do know that extremely smart people only create a small part of living culture. However, as the collapse of Rome showed once its going away its going away fast.

The unfortunate aspect of some smart people is that we lack the wisdom to understand that the theories we fall in love with are just shadows of the reality. Even when ideas at their extreme fail we stick to them as if they are an appendix; e.g. capitalism in the extreme even after it has robbed us of meaning, communism even after it caused large-scale hunger and suffering wherever it was implemented.

The problem with the anti-human "environmental" attitude is that it misses the forest for the trees by viewing people as foreign elements in the biosphere. It is as such a theory that anyone but some smart people can spot as unadaptive to reality.
So... If they imported the same parts and sold locally without first exporting for assembly.. they'd pay tarrifs on the parts?

This is funny. Also a reminder that while any given engineering-with-tax policy might make sense, the totality adds up to a mess.
I wonder if and how much modern dating(apps) in the US has contributed to this?
Not as much exposed due to more natural light
Does this mean we can finally outlaw blue headlights? (Note: I am joking, but I wish it were true.)
I agree with your parent. When I started with (Python) webdev some years ago I picked Flask, but nowadays I use Django, as it has superb documentation and useful things built-in. In particular I miss the user-management, authentication and authorization in Flask.

Personally I consider Django without any additional apps less complex than Flask with apps (or "plugins" in Flask jargon) to handle basic stuff like auth.

If performance is a concern, both of them are insufficient and I would rather pick another language like Rust, Go or even Java.
Show HN: Short, Random Clips on Repeat from Rambalac's Walking in Japan
Typing delay is a pet peeve of mine. This is why I have stuck with Sublime and Vim even though there are more powerful editors out there like VsCode or PyCharm.

If you want a fast editor, switch to Sublime 3.
Benefits to Outsourcing Your Forms
Based on how we've set up social security, yes this is a problem.
There are XP patches. I wonder if that CVE page is autogenerated and doesn't include out-of-support operating systems.

https://support.microsoft.com/en-us/help/4500705/customer-gu...
>Tesla actually just won the "Most Loved Brand" rating from Auto Trader

I suspect this rating will probably do a 180 soon. Tesla cars (all of them) aren't that old. Just wait until a lot of owners are thoroughly in the used bracket and problems like [1] and [2] start rearing their head.

[1] - https://carbuzz.com/news/tesla-owners-are-furious-and-nothin...

[2] - https://www.thedrive.com/news/27945/a-single-component-can-b...
indeed. this is largely legacy, but good luck changing that. I can't say that i miss it much, but then I don't work for either of these 2 entities. I'm familiar with what you are speaking about, so I don't think the lack of respect stems from a general ignorance of what you are referring to. It's rather people who have interacted with PHP in the past and didn't enjoy the experience.
The Facebook www code is written in Hack, which started off as a PHP-compatible language / stdlib, and then dropped PHP compatibility when it was holding them back.

Having worked with both, any one of the major additions (XHP, good type annotations, sane collection types, etc) makes my development experience 10x better; going back to vanilla PHP now just makes me sad...
How disingenuous. Choosing not to have children is not the same as death by climate catastrophe or death by any other means.
Oh whoops, I basically wrote the same comment without reading yours. In any case, here here!
The relevant XKCD from January 2013 addressed the bandwidth of a station wagon full of tapes. It then shifted into microSD cards, whose density works out to 160 terabytes per kilogram. But those seem to have been 64Gb cards at the time (see label on milk jug). https://what-if.xkcd.com/31

If you upgrade to 1Tb cards, that's about 2.5 petabytes/kg.
It seems to me that climate change can only be stopped using unpopular decisions. And unpopular decisions can't be applied globally in a heterogeneous world. I think it is called "the tragedy of commons".
I’m sorry, but this “Full Stack” meme makes me mad/sad
I'm a UI designer titzer, do you hate me?
Interesting theory that is contrary to any actual observable evidence. Look at any country with an aging and shrinking population.
You seem to have forgotten "practicality beats purity"
Frightened flyers do not sleep on planes. Who is going to supervise the pilot, assess the nervousness of the crew, wonder what that bing-bong means, and listen for strange engine noises if we are asleep? We would have to tear our eyes away from the "is this nightmare almost over" diagram of the plane's progress.