skysight-inc/HackerNews huggingface dataset:
> You could say that about smoking as well; it wouldn't make it less addictive, though

At the end of the day it's not addictive enough that people can not decide to stop it by themselves. Smokers can get rid of their habits by using nicotine patches until they are ready to completely off, and smartphone users can do many other things instead of checking their smartphones if they so wish.

Note that everything is addictive to some degree, that is precisely why people talk about "hobbies", "passions" and so on: music, sports, games, movies, and even work if you are really into something that is intellectually stimulating and rewarding. At the end of the day we all decide what addiction we prioritize versus others.
CI services take care of this, as long as you configure permissions correctly.

Travis has secret variables you store in travis.yml. You send the cleartext to Travis, which encrypts it with a private key known only to Travis and sends back to you. You store the ciphertext in the travis.yml, optionally scoped by stage. When travis CI scripts expand the variable, it censors it.

You are correct that a PR could implement something like `send-to-pastebin.sh`. The way to mitigate that risk is to configure travis CI to only run CI against protected branches, and to not provide any secrets to test stages.

It is really only a problem if your test stage requires and includes secret environment variables. I have only seen this in private organizations where the test stage does things like spin up a test S3 bucket. For open source, you would want to use mock S3. The only stage that would need secrets would be release/deploy, for which you can make sure only you can run the command.

Basically: If your open source repository has a test stage that requires secrets, and your CI server injects secrets as environment variables into that test stage, then you need to be extremely careful who can create code that runs in that stage. The best solution is to not have secrets in the test stage at all.
They will power the infrastructure of the new Nord Stream 2 pipeline build against EU interests, obviously. That and strip mined Hambach forest.
When there's more retirees and elderly people than younger workers to support them, how do you think our economic systems are going to survive?
Find hidden friends and communities for any Facebook user
The person who’s most committed to a plane’s safe operation is almost always going to be the person who dies if something goes wrong. That’s just kind of how human psychology works.
Calorie restriction is different to starvation (at least as usually used). When I'm actually starving, I do feel strangely energetic. Your body takes time to switch into starvation mode and during that time you do feel lethargic. IIRC it takes about 6-8 hours of not eating to enter starvation mode.
That was a semi-sarcastic reference to NIMBY. Specifically, I believe that the same people who state that nuclear waste sites are Perfectly Safe™ would actually reject that idea if the potential problems would affect them personally (figuratively, if the site was in their neighbourhood).
Interesting theory, but in order for economic growth to occur someone has to be there to buy the goods that these machines will be producing. Fewer humans alive to buy goods with fewer jobs equals a shrinking economy, regardless of how the goods are produced.

At that point we would probably start looking at other economic systems anyway.
Thank you!

Agreed that political activity is really really hard and often fruitless. But when it's important enough we still have to try.
pathlib is nice
Some people... So what. Some people actually believe in flat earth theory.
RSS Search Engine on Product Hunt
Seems like a good way to earn yourself a Terms-of-Service ban.

If this considered an abuse-of-services now, the terms could be updated to clarify.

The finger print of big chunks of base-64 encoded blobs in Google Docs could be easy to spot.

If Google cares to notice this and take action, they can and will.
No, the film was an adaptation of a classified ad that was popularized by a YTMND page.
> So what? What do you propose, concretely?

I did say:

> I’m afraid is already outside of our control.

so you could say I'm a defeatist, as in I know of no workable and ethical solution. I am just laying out of the facts as I think they are happening.
The sad thing is that nothing else has come along to fill the niche that PHP fills. Here are the key advantages of a PHP like language:

1. Low barrier to entry. An HTML document is pretty much a valid PHP program. You can add as much or as little code execution as you want to it. While at a certain point you should probably use templating (to handle things like escaping automatically, etc) but a low barrier to entry really helps get people on.

2. PHP has a stateless functional core. All the system functions are part of the web server binary. There's no loading some giant object tree just to print something to the screen. This is huge because of...

3. Resource management for serving HTTP requests is, to me, basically ideal in that you create a bunch of stuff, spit out a result and then tear everything down. It's hard to leak resources this way. No garbage collection oddities to deal with. The Java equivalent to this was the servlets API (years ago) but it doesn't share the same issues;

4. No multithreading on a per-request basis so you don't have to deal with race conditions at all in user code;

5. An opcode cache sufficiently closes the gap on code performance in the vast majority of cases at little to no cost to the end developer; and

6. Typically you can just hit reload on your browser and immediately find out if something works. That's really nice.

Big things missing from PHP:

1. A good type system. I use Hack at work (Facebook) and this solves a lot of problems; and

2. Cooperative multitasking via async/await semantics (again, Hack has this).

I'm a big fan of PHP not making breaking changes (badly) like Python did. You can't fix the inconsistent argument ordering in standard functions ("is it needle, haystack or haystack, needle?") but it basically doesn't matter at this point. I use an IDE that tells me the correct order anyway so who really cares? The way to handle that is to create new versions that are consistent.

Hack has these collections: vec, keyset and dict. These essentially replace array (side note: PHP maintaining insertion order on array is such a hugely useful feature). They have a consistent set of library functions (in C\, Vec\, Keyset\ and Dict\).

One other thing that I found hugely useful when I first did PHP was preg_replace_callback. I found this so useful that when I did Java after that I basically write a version of this function.

So anyway, there are a ton of legacy problems with PHP but nothing else has that same set of desirable characteristics IMHO and I really wonder why not.
The meme predates the film.

Nedm is another meme.

I officially am a boomer spotcorrecting ancient memes
>"councils quote"

Yeah ... I've not investigated that yet. But I have seen some of our local recycling facilities and they seem to be operating rather than secretly filling shipping containers.

It does trouble me visiting my town's rubbish dump, there is so much usable stuff in the skips, so much waste.

Presumably China now refusing other country's trash is shedding new light on these issues.

I think we have to fix our entire economic systems in order to solve this, and I don't think that's going to work readily because people will always exploit others for financial/political gain at the expense of the environment. We're going to have to seriously curtail individual freedoms that allow people to make excessive use of resources. We can't do that under our current market-based systems.

Take a simple example, fleece fabric is great, cheap, used widely but is a massive source of microplastic pollution - we're going to have to make it expensive, and stop people from throwing it away, and use the income to do proper filtration and recycling.

We're going to need to start treating fraud wrt environmental issues as akin to manslaughter - actually put businessmen in jail who are responsible (knowingly, or unknowingly through negligence) for things like shipping recycling abroad and not confirming it is recycled, or lying about car MPGs, or failing to filter effluent, or allowing runoff to poison water sources, ....

We probably need something akin to a global one-child policy as well. We can't go on increasing population and just expect resources to stretch. Things are going to break much harder with population rates left as they are.

I better stop ... /rant
Also, it seems many people didn't realise that the work from physical stretch goals grows quadratically, rather than linearly: the more stretch goals you meet, the more products you need to create, and the more people those products need to be sent to.

Stretch goals always sound awesome, but people running a Kickstarter should be very conservative with them. The focus should be on the primary product, not the stretch goals, and stretch goals can get in the way of the primary product.

Reaper Miniatures had a spectacular Kickstarter with their Bones line, that was famous for the amazing value brought by the enormous number of stretch goals they met, but it worked for them, because their stretch goals were more of the same: more miniatures; and because clearly they did the math: every stretch goal they met was spaced further apart, and about half the stretch goals were not free stuff, but extra options to buy.

After this, everybody went nuts with the stretch goals, but many people messed up and ruined the main product with all the stretch goals.
You could make a similar article about Ruby, Python, or Node.js. None of these are bad languages, but you can't write a perfect language, because languages are designed to be used day in and day out by people. I like Python and I've found that some of the things I really like about Python are the same things other people dislike about it.

PHP has a lot to like about it - otherwise it wouldn't be as popular as it is.
One thing to keep in mind is that every Model S and X car is built to order. Whereas the Model 3 is mass produced up front. Parts availability for a mass produced car at a run rate of nearly 500k units/year (by the end of 2019) is going to be very different than parts availability for a made-to-order car selling 50k units / year.

Tesla has to scale their service capacity tremendously. But they know this, and talk about it a lot with investors. At the end of 2016 they had made a cumulative 170k cars, by 2017 it was 272k, 2018 it was 526k, and by the end of 2019 it will be nearly 1 million.

They have a technically sophisticated product which would ordinarily result in a tremendous number of service calls for things which aren't even technically repairs. I think the huge base of YouTube videos and forum posts helps saved them a lot in this regard, as I will turn to Google searches for answers before calling Tech Support.

Tesla does have a very unique service model. They have entire states which legally bar them from operating service centers. They do mobile service in your driveway. They will text back and forth with you to help resolve an issue, and remote access your vehicle logs to diagnose a problem. The car will pre-order parts at your local service center if it detects certain anomalies.

I am sure that a minority of owners will experience Tesla "service hell". But I doubt very much that the Model 3 will turn out to be a lemon. So I think the rating will stand the test of time, particularly with OTA updates continuously making the car better in many measurable ways on a practically monthly basis.
Don't see why you would need a whole site to do what you can run off an instagram account
> Through immediate independent investigations, all three companies observed that user accounts were compromised using legitimate credentials including passwords, app passwords, API keys, and personal access tokens.

Part of your backup strategy depends on external services. Not necessarily in your case, but people who only have their backups externally on a service could be affected.

> all the projects I have ever worked on are on other several machines and/or hard drives

And depending on your strategy, since they're so distributed it could mean they're outdated repos. If not, and they pull automatically, they could be affected.

Local backups also have issues. The disk might die, the data might be corrupted or any other myriad of things could happen.

> People who've lost important data because they didn't back it up properly, and people who haven't yet.

Is there such a thing as a perfect backup strategy?
I cut my teeth on data warehousing in the mid 1990's and I remember when a 1TB database was considered a really big deal. As in, it required very expensive hardware and software an a ton of custom engineering. Now we have thumbnail sized microSD cards that size.
> 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).

In this scenario linux is unworkable since a cli is probably too much for a layman. But that's why people built gnome and other window managers on top of the "unworkable" but useful core.

All we have to do is wait for some people to build that nice pretty layer on top - but the core must be an efficient tool
SpaceX invested in SolarCity? Didn't know that... And I found the white knight buy out of SolarCity by Tesla already sketchy compliance wise considering the shareholder structure.
Not necessarily. As a UK professor in numerical analysis, being an FRS is practically a given. I'd be more proud of the MATLAB one if it was me.
You can now use Python Scrapy with the latest versions of Python 3 for web scraping. Here's an example https://youtu.be/qj6H38Xwvu0

It even works on Windows.
Unfortunately people have started taking the pre-existing components of the Blockchain, like Merkle Trees, and calling them "blockchain" too. See "permissioned blockchain".
You’ve got it backwards

https://knowyourmeme.com/memes/safety-not-guaranteed?full=1
This is a fair point. But couldn't there be a different engine to technological progress?
Having children is a very multi-factor decision, so I doubt anyone forgoes for just that one reason, and a pretty impersonal one at that. Still, it has to factor in, even at a subconscious level for those who go childless or have fewer children.

Actually I'd argue that you can see this in action in birth rates right now in the USA and across most of the developed world. Having children is expensive. The standards for care and education keep getting higher. The available time for childcare is decreasing. It takes more and more education to be a fully participating adult member of society. That's a clear market signal to have less children and people are responding. The birthrate continues to fall and is below replacement in many countries, including the USA.

As a species, we appear to be regulating ourselves to prevent a catastrophic overshoot.
It’s still weird and great, just not public and you’re not cool enough to get invited.

Greatest open secret of the last 5 internet years: Real social media happens in private chatrooms and group “texts”. People are tired of posting publicly.
Cynical version rings truer to me. But the number of different sources they claimed is surprising.
Fantastic, a big thanks for doing this. Google probably has the most to benefit from, but I suspect there is something more structural that is leading to poor management decisions.

"Well, AMP was an interesting experiment. Now it is time to shut it down and take the lessons learned back through a proper standards process."
OCD is already heavily mis-used. Attaching more meaning to it isn't likely to improve anything.
An auto-completing editor is a big help when using PHP. :)
Not saying "hi" to women as a way of making women feel more welcome. Makes sense.
Location: Morocco (now)

Remote: Yes (Will match your timezone)

Willing to relocate: Temporarily

Technologies: NodeJS, ReactJS, MongoDB, Redis, AWS, SQL based databases, Solidity/Etheureum

Résumé/CV: https://drive.google.com/open?id=1a1s7be2Fw--L97v2hq8_7iE17y... - My experience is mostly a mix of freelance work and own built project. I also have a Master's Degree in Big Data.

Email: ledevzl@gmail.com
Scientists discover why grocery store tomatoes don’t taste like anything
This is a really fun and easy experiment you might like:

https://www.cs.cmu.edu/~zhuxj/astro/html/spectrometer.html
Dark Themes and features like Apple’s Night Shift are accessibility features. People need the option of working at night or in dark rooms (like a
film editing bay) without being blasted by bright blue and white light; and they need the text to remain readable without causing eye-strain.
Encrypt Your Mail Server for Free
Correlation is not causation. Countries with aging populations are ones that have undergone the demographic transition. They have low growth because they are already highly developed and the opportunity for increasing productivity is low, not because they have too many old people.
> Does anybody actually remember phone numbers these days ?

Yup, all the ones I knew as a kid in the 80s and early 90s, and haven't used for 2 decades.
Most (but not all) white LEDs have a specific property: the LED itself is creating pure blue light. To create the appeareance of white light, a part of the blue light is then converted to wavelengths in the green-red region via a phosphor coating. But, especially in cheaper configurations, it still leaves a pronounced blue emission line shaping the spectrum like this:

0
0 00000
0 00000000000
0000000000000000

With some coatings, the blue line completely vanishes, creating a light distribution close to an incandescent lamp, but others have a very pronounced line. In the light (sorry) of the report, it sounds reasonable to require a certain minimum "spectrum quality" for lightbulbs beyond a certain power output.
It's the other way around, the film is based on a classified ad, which many years earlier was a YTMND meme/fad.
NEDM is also a classic YTMND meme. https://doom.fandom.com/wiki/NEDM

It has a complicated origin, but a lot of YTMND was organic and weird like that.
My one wish for receipts, at least restaurant receipts, is larger print. You can't read the totals on most of them. Especially, in restaurants with low light.
2nd chance queue.

https://news.ycombinator.com/item?id=19862701#19871817

Tracked down through Algolia:

https://hn.algolia.com/?query=second%20chance%20submissions&...
Ask HN: Should algorithmic news like GPT-2 and clickbait be banned?
I've been thinking about this a lot lately but algorithms like GPT-2 scare the hell out of me:

https://openai.com/blog/better-language-models/

(if you're out of the loop on that one)

I'm excited about it in some ways. It might mean we can build real models from content and build real understanding but the option for Google spam and fake news is too frightening.

I think I'm generally OK with A/B testing.

I'm actually a bad writer and sometimes titles are rough. If you A/B test a bunch of them via something like Mailchimp you can come up with a better title but of course I don't have nefarious intentions.

Maybe a middle path could be to implement some sort of public key system / validation for actual humans.

This would also solve the fake news problem we currently have but it would also mean people need to actually use keys responsibly.

The idea being that every blog post, email, etc you send off needs to be signed.

Google could just flat out DROP content by anything created by GPT-2 as it's not validated by a chain of trust that goes back to a human.

The reason I'm leaning towards making it illegal is that humans are just too naive.

I have family members who have sent out images that are clearly photoshopped because they not technically literate enough to understand that they're fake.

When something like GPT-2 can write 5-10 pages of content and it looks completely legitimate I think we might be in a world of hurt.
I'm itching to get my hands dirty with Rust, but, approaching this from a web developer background (hence minimal low level language experience), I have no idea where to start. I have a Raspberry Pi3 sitting on my desk, perhaps I should start there.

Congrats to the Rust Core Team!
I talked about not using it years ago on my YouTube channel and got a rash of shit. I've shown how to replicate that site in minutes as well.
I remember 12 digit IP addresses all the time
True, that could work, and the two frames are probably very similar, so wouldn't even require that much more bandwidth. As someone here pointed out, however, the game controller is connected to the cloud directly, so the display doesn't even know of the inputs until the roundtrip is already done.
> I shudder at the thought of a Turning Machine running on it

A mechanical bf interpreter in Opus Magnum[1]. Self modifying code hell appears to result in a much more compact machine... at the cost of sanity.

[1] https://www.youtube.com/watch?v=Ll0qHlx_qLg

(baba is you is an amazingly elegant game)
The issue with arguing that environmental factors such as poverty can lower IQ
Not sure anyone will see this but this article is partly trash. When your post is titled "things you are not using in python3 but probably should" and the first section is on f-strings... I was tempted to close the tab then , but i followed thru and did find some interesting things.

But seriously f-strings? people have been talking about these for years now, it's not new is it?
Maybe FRP (functional reactive programming) can give more abilities to reason when designing networked shooters and internal simulation in games. Just like React had revolutionized GUIs (it's not FRP library, but has ideas from it). With FRP, it's even possible to build "tickless" game logic. However, for now it has limited practicability and I never seen something complete that was built with FRP.
Another useful feature of 3.7+ (also available as a backport by the same name) I’ve not seen mentioned is: ContextVars

The gist is you get a single interface for any type of threadlocal storage that also works with coroutines (asyncio). I use it pretty consistently for context logging of long running processes in our systems. However it has implications on other concurrency paradigms usages as well.

https://docs.python.org/3/library/contextvars.html
Subsidized day care and paid parental leave doesn't make up for just how much work it is to raise a child in modern times (unlike the old days where you just hoped they survived the first few years, and pretty quickly didn't bother investing much more work into them and left them to fend for themselves).

Before the "nuclear family" became a thing, people lived with their extended relatives, and raising children wasn't as much work.
amorningfilledwith400billionsuns:

https://web.archive.org/web/20180625031725/http://amorningfi...
I find VS Code to be just about the only electron-based editor I can use without getting frustrated with typing latency. It's usually not noticeable unless the process is chugging for unrelated reasons.
The current is moving in the opposite direction now. Female genital mutilation is now legal in America because federal courts have decided that it's better than abuse of the commerce clause: https://www.nytimes.com/2018/11/21/health/fgm-female-genital...
Racist? The Ethiopian copilot had less than 300 hours total time. In the US, 1500 hours is required. Lion Air’s history of deficient processes is also not a function of race. Pilot standards are much lower in other non-American/non-European countries.

The fact that the US flies more and has fewer accidents isn’t “racist” nor lucky.