skysight-inc/HackerNews huggingface dataset:
> Suppose someone bought a car, and found out that the car vents were spewing somewhat toxic that has a slight chance to kill them. If they needed to go to work in it to put food on the table, can you see how someone might say they had no choice but to use it?

It's funny to read this here because that's exactly what happened to me. I was driving a diesel car with a damaged firewall, which meant carcinogenic diesel exhaust fumes came through the floor and vents. I had absolutely no budget for a car, as I was paying for expensive medical insurance and bills. I had no choice but to drive it with the windows down. My clothes would smell of diesel after driving. I took it multiple times to the dealership until they found the problem, and they said it would be more costly to repair it than to buy a new car.

Fortunately, I eventually bought a new car. But I still might get lung cancer in the future.
Everything was/is run as the apache user. PHP tried to make it secure by restricting the folders a script was allowed to access but over the years so many ways to break had been found that a fastcgi process per user showed its the best solution.

I think the system was called basedir restriction.
In China yes it is, it is against the law to do it and China is not a place where rule of law exists
How do you expose your services via an ingress when it needs to be behind a nat (via your home router/gateway)? Thanks!
Ha! My boy (almost 3) may be playing with his legos for whole afternoon, but the moment I peek in the general direction of my laptop, he wants to bang on the keyboard. Not any keyboard (tried that), but my keyboard specifically.

And when it comes to "it depends on the kid", oh dear. I try to practice stoicism whenever I remember about it, and logically I try to remember that I should be grateful for his fussiness and rebelliousness, since they give me occasions to practice my stoicism. But it sure does feel a bit like stockholm syndrome sometimes.
That may have been a trans-atlantic joke. Pronounciation: Root 66. Network rooter. Joe Root made yet another duck.
I'm no Python insider, but Google has quite a lot of projects based on Python 2, including build scripts for recently released software, so I'm guessing they could at some point maintain their own Python 2 branch (which, again, I'm guessing is much less work than porting a huge amount of script code over to 3 for no material benefit).
I run a very small GKE cluster with two 1vCPU preemptible nodes. Costs me a few bucks per month.
As you say, this is not a regex parser, but some readers may not know the theorem that the regular languages are exactly those which can be parsed by a Turing machine with constant memory, and parenthesis count can have log n bits.

In fact, any Turing machine using o(log log n) space recognizes a regular language (so there is an equivalent machine using O(1) space).
I think it's a lot safer than smoking, there's probably a lot safer methods, but vapings efficacy vs other quit methods is just too good to discard for even slight health risks vs smoking. Only Juul/Pax has a hidden Big Tobacco interest, the rest are either overt or companies that are dedicated to vapor only. Almost all the innovation came from outside Big Tobacco, but all that is coming to an end with FDA'S regulations of Vaping. No new products so I left, since I exclusively designed hardware.

Most vapor products can be used with eliquid that has varied levels of nicotine and most shops were (2012-2017) very active in promoting customers to reduce their nicotine level to 0, so addiction to the devices can be self regulated if that is your goal.
> Products built in haskell don't seem to have dramatically lower maintenance costs. They don't tend to have features that other products don't have.

That is your anecdote, mine is the opposite. Using Haskell at my place of work we have lower maintenance costs than other competitors that use Python. We also have features they don't have, such as checked purity (a guarantee that a financial calculation is reproducible) and transparent batching/caching/provenance (made possible by Haskell's expressiveness). None of this would be possible in Python or Java.

Language/notation, is IMHO critical for the ability to think using the right abstractions. To take your argument to the extreme, we should all be still using machine code, because tools don't matter.
So how do I go about finding out if someone is convicted of anything?

I just googled how to get someone's criminal record and the answer is basically: you can only get your own criminal record, because of privacy. If someone else, for example an employer, wants your criminal record, you have to get it yourself and give it to them.

I know a few people who are easily 10x more powerful than I am. In your experience, how can I best approach them to have them give me a copy of their criminal record?
Yes that's basically what happened at BA.

Some other airlines did the same around 2009, but in a more pilot friendly way. For example at KLM the pilot's pay decrease to help the airline through the crisis was combined with a big increase in profit sharing bonus. At that time there was no profit to share, but now everyone is happy with the big bonuses.
I strongly suspect that it is somewhat harmful and dangerous but I am convinced that most vape products are much less harmful than cigarettes. I mean they are talking about 5 deaths. Cigarettes kill 500,000 per year.

Some people are literally going to see a headline like this and use it as a reason to go back to cigarettes. I think they should put declarations like this in context. They have no reason to believe that it's anywhere near as dangerous as cigarettes.
> Not to mention paid FOSS developers at places like RedHat, who want to keep supporting their LTS and enterprise customers...

Well RedHat annouced a long time ago that RHEL 8 will drop support for Python 2 [0], so at least it appears they also want to leave Python 2 behind. RHEL7 is already receiving security fixes only [1], which doesn't look like a huge "support" effort to me. Especially, behavior bugs and ports of Python 3 features to python 2 won't be done.

[0] https://www.phoronix.com/scan.php?page=news_item&px=RHEL-8-N...

[1] https://access.redhat.com/support/policy/updates/errata#Main...
I couldn't find any repo that lists all the interesting features of newer ES releases, so I collected individual ES release feature list examples into a single repo (and I intent to keep it updated). Let me know if you find it useful or see any mistakes. Feel free to fork.
If the airlines and pilots existed in isolation then maybe. If they were paid 1M, I'd think they're overpaid and the tickets should be cheaper instead. There definitely is a threshold compared to all other salaries / cost of living / economy where the pay would become irrational - regardless of demand.
Pretty amazing to be on a 7+ figure salary and negotiate remuneration increase including being given ownership of the assets with the alternative being you'll be unmotivated doing the work or quit and take key employees with you. Absolutely standard though. Utterly unremarkable by contrast.
Anna Karenina, by Tolstoy
It isn't clear to me that they're "definitely accountable". The monitoring could be in place for reputation reasons. Apple probably doesn't want negative headlines across the western press about how their phones are made with slave labour, or what ever.
> Imagine writing a game. Everything works nice and dandy with your ASCII format and now your boss approaches you and wants to distribute the game for the asian market!

You just make sure all translated text is in UTF-8, and use Google Noto fonts for those languages. All game engines I know render UTF-8 text without problems if you supply a font that has the needed glyphs.

Source: I'm and indie game developer and have recently localized my game to Chinese. The game is a mix of RPG and roguelike, so it has a lot of text (over 10000 words). I used SDL_TTF to render text. Precisely: TTF_RenderUTF8_Blended() function. The only issue I had is with multiline/wrapped text. SDL_TTF doesn't break lines on Chinese punctuation characters (.,;:!?) so I would search+replace strings at runtime to add a regular space characters after those.
Diamond Theory: Symmetry in Binary Spaces
I wonder if they would have saved themselves five years of grief if they had done this five years ago.
I think the main thrust is respect the code and understand why it was there. Don't start with the possible initial feeling that a particular piece of code or guard is not needed. If you do find that it's not needed, remove it or fix it.
Ask HN: Is Ruby on Rails dying?
From what I can tell, even Google is moving to python 3 (some of their previously python 2 only tools (like repo) have gained ‘experimental’ python 3 support) this year, so they’re probably not going to be doing the work.
> Can't just create an API and invent AWS with them.

Actually...

That sounds surprisingly doable.
If we're talking managed, DigitalOcean maybe? (The master server part is free, you pay for compute etc of the nodes)

You could possibly do it cheaper on AWS with RI discounts, but you'd have to setup the cluster yourself to avoid the ~$140/mo fee.
Using NodePort and Traefik ingress controller.
This thread [1] might give you some idea of the complexity involved in a similar issue.

OTOH, if you see RAX being zeroed before using EAX, it is likely to be about breaking false deps.

1: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86314
It's as if they wanted to make PM look bad so that customers would rather opt for an Email provider that the NSA can spy on...
> You started with conflating whatever happened to Epstein with felon disenfranchisement

I have articulated a justification for that comparison. You making an actual point would be referencing that justification and attempting to debunk it. That's how you make actual points.

> Somewhere in the middle you made up a definition of 'ostracism'.

I made one up? MIT refusing to accept donations from someone is not my definition of ostracism. It is the definition of ostracism. You may believe that that ostracism is justified, but the word's meaning is quite clear.

> Now you're saying a person convicted of sexual abuse of a minor should raise no questions when he brings women half his age to an MIT fundraising meeting.

I did not, in fact, say that.
Your PhD is insanely impressive :) Ras' work on Program Sketching is stellar. Your new company looks very exciting. Hope your hiring goes well, it will be fun to see what kinds of verification you can do on smart contracts.
Hmm, a lot depends on how you define "great", Augustus (Octavian) was by some measure the man who brought about "pax romana" after Julius Caesar's death, peace & prosperity which lasted for several decades.
There is (was?) a similar project in Germany based on OpenStreetMap: https://wiki.openstreetmap.org/wiki/DE:Rollstuhlfahrer-Routi...

The idea was awesome: make the routing algorithm take steps and other impediments into consideration for wheelchair drivers.

I don't know how far they came, but when I read about it I thought that OpenStreetMap is the perfect tool for this.
Would suit James Cameron perhaps
Thank you. So a Lambda always starts as a node program? I just sort of assumed that it could be any executable.
Volunteers can of course step up, nothing is preventing anybody. But you shouldn't expect it will happen. Why would anybody voluntarily work on fixing bugs in obsolete software?

People getting paid to work on Python (like at Red Hat) are not considered volunteers.
Microsoft’s first PowerToys for Windows 10 now available to download
It will never extinguish. Maybe kill most humans, not all humans.
The Conquest of Bread, Peter Kropotkin

https://en.wikipedia.org/wiki/The_Conquest_of_Bread

It was written in the backdrop of massive industrialisation.

Many argue that it predicted both:

(1) the problems with capitalism and massive state protection of private property that go along with it, as well as

(2) the atrocities that would occur if most production was centralised, as in the USSR.

Anarchism, Libertarian Socialism and the anti-authoritarian left is definitely an overlooked branch of the political spectrum
I'm talking about the categorization of ethics with mathematics. You can tell some story putting them both together it doesn't make the category make any sense.

I think the bayesian way is more beautiful. Does that mean now I have to insert beauty into the description? No.
I don't believe this is a new announcement, the date has been known for years.
I thought this was obvious, but that's only because I use a Lemote Yeeloong with OpenBSD, because it's the only maintained system that's simple to install. I'm not much for Gentoo.

One issue I ran into was no pre-built packages for newer releases, so when I updated to 6.5 I had to downgrade to 6.3 to get any packages. Sans that, it's also unfortunate that Common Lisp implementations don't tend to support a MIPS that isn't under GNU/Linux; the GNAT compiler for Ada also isn't available. I can get GNU APL though, so that's nice.

Since some are wondering, I bought mine about eight years back for a few hundred dollars and even back then the website that supplied mine soon ran out of stock.

This article has reminded me that I'd intended to make pictures and descriptions of my Lemote Yeeloong available on my website months back, which is a great option for my 2019-09-09 article, so I'll do so.

Owning this machine has been a nice way to not use x86(_64) for everything and it's made me intent on my software working properly on less common machines and operating systems. My choices of language have likely already betrayed that, but I eventually intend to write implementations of my own and I'll ensure my Lemote Yeeloong is well supported. I also must remember that OpenBSD may not support it forever, although I could perhaps take over if it's ever necessary.

I could write more concerning this, but this seems sufficient.
But does it run TaOS?
This seems to be the correct answer.

Vaping nicotine should be used only as part of a plan to cease smoking.

That’s the only sound advice, if people choose to ignore it then that’s on them. It’d still way less damaging than cigarettes.
They did step up, even extended the time they were planning to step up by years, but it has to end somewhere.
Rwtxt, a minimalist, notetaking/wiki web app, written in Go
> Shared hosting providers

Like Google App Engine lol. GAE Standard Environment doesn't support Python 3.
Precisely this ... the problem in the UK media is this is being portrayed as "Evil high paid pilots holding the company hostage and ruining your holiday!".
> Our energy consumption has historically only increased

From what I can tell, energy consumption per capita is lower today than 30 years ago in many developed countries, including the US. While the rest of the world is far from reaching those levels of use, it may point to a cap in the need for more power.
not sure why, from my experience as senior rails developer I still get daily offers to work with rails. I'm kind of biased since ruby is my favorite programming language, I moved from RoR development away and spent 4 years working with Python, node.js and Go professionally, and I'm just happy to be able to write ruby back.
Resolver One¹ /was/ an interesting take on a programmer's spreadsheet. Reading about it again still feels a little exciting.

I remember loads of people talking about it at PyCon, ƛdon, and -- I think -- AngloHaskell(Haskell confs often feel like ~50% quants to me). Don't really recall anyone actually using it for real work though.

1. https://en.m.wikipedia.org/wiki/Resolver_One
This is incorrect. https://cloud.google.com/appengine/docs/standard/python3/
Cheapest would probably be somewhere around 10$.
Three VPS with 4GB ram somewhere.

Im running mine with three VPS and 8GB ram.
Just for personal services and learning/fucking around purposes.
During residency they are dealing with patients dying in front of them. The stress is already there. I don't see why being sleep deprived is a benefit.
CD quality isn't that good (sample rate is fine, bitrate isn't) and it definitely has compression artifacts at the low end but that's a nitpick. That said, the biggest problem with the CD is that good CD transports are few and far between and pretty much all CD players have garbage-tier DAC implementations.

edit: to be clear, a CD will have far more resolution and technical capacity available than a vinyl ever will, I'm just saying that CDs have their own issues and aren't perfect.
The data includes "a nine-digit ZIP code, date of birth, phone number, and email address". That's just asking for identity fraud.
By posting this you're practically caving to the mass media. In the long term, it's best for everybody that you ignore them. Never pay the ransom or they will become more powerful.
Ugh? Many systems still run COBOL today. Python 2 is likely to be around for a long time. Since the stuff is open source, wouldn't it be nicer if it was possible to fix a bug if needed? Not saying that it should be actively worked on. But maybe one person could be appointed to look over bug fix pull requests (which shouldn't be that frequent these days).
Some of them may be on HN though?
I don't think the main problem is to change the version of Python, but the version of all the related libraries, which many of them depend on 2.7 version.

I know many of the big ones are already on 3.x for a long time, but I wonder how long will it take to replace and upgrade all the small ones if it did not happen already...

BTW I don't know how necessary was to break compatibility between 2.7 and 3, the pain of this transition comes from that decision
If there’s one positive thing in all this it’s that we can stop pretending that vaping is safe. I hope this will save a lot of lives.
I am gonna have to call BS on this report. Everyone knows that google including gmail is blocked in China, so why would they try to get a hold of their google oauth? Additionally, I just went onto one of the mentioned websites at random, turkistantimes.com and guess what, the site is hosted in the America, in Houston!

So either that Xinjiang province is not behind the great firewall, or that Xinjiang has far greater internet freedom than the rest of China, so which one is which? You can't really have both in this case.
I've got two translations of Meditations, one was fairly easy to digest (Hayes), the other was terrible.
I don't have a stake in this and don't know much about the background, so pardon if this comment is out of touch. Is this the first notice of this date? January 1 is just 16 weeks away, which seems like an awfully short notice for ending security updates of a very popular language.

EDIT: I see now that they mention that 2020 has been the plan since 2014, which seems reasonable.
> until the burden of evidence favours another opinion over yours, be prepared to hold and defend your opinions stridently

It might seem obvious, but this part is extremely important and can be very difficult to live by because it encourages (healthy) disagreement and conflict. "Strong opinions, weakly held" is explicitly _not_ about giving in to a majority opinion or because the opinion is coming from a position of higher authority. It's essentially the scientific method. It does not mean you should agree with other peoples' opinions just because they said it louder and/or more often than you did.

I've witnessed senior engineers and managers misunderstand this mantra and (mis)use it to punish ICs who disagreed with ideas of other more/tenured engineers but lacked evidence for being "better".

If you intend to use this framework as a value in your organisation, make sure you and everybody else understand what it means (_especially_ your engineering managers).
But Python's strings are not UTF-32, they are sequences of Unicode code points, not code units in some encoding. I don't remember how they're stored internally; that's an implementation detail not relevant to the programmer who uses Python.

Whether the use of Unicode code points instead of some Unicode encoding is a good thing or not, that I don't know.
> vaping being a safer alternative

A safer alternative to what? Smoking cigarettes? There's absolutely no question that it is.

One is a plant product (smoke is bad to inhale) that naturally contains a number chemicals that you probably don't want to be consuming. On top of this, there are additional additives (which vary by manufacturer) that also have significant health effects. Overview (https://en.wikipedia.org/wiki/List_of_additives_in_cigarette...) and more details (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2040350/).

The other is almost entirely a mixture of Propylene Glycol and Vegetable Glycerin.

...except when it isn't, as seems to be happening here. The safety of vaping is entirely dependent on what's in the liquid you're vaporizing; always keep that in mind when purchasing it.

Also, do bear in mind that it's probably not fantastic for your health to be chronically inhaling anything other than highly purified air, no matter how benign it may seem. Relative to smoking cigarettes (or any other plant product), it's much safer. Relative to not vaping at all, there are likely to be at least some health risks, even if they haven't been clearly established yet.

> Is there any known experience similar to vaping/smoking of today that has really minimal health consequences but maybe isn't as addictive?

If you're asking about drugs with similar effects to nicotine that are less addictive, I'm not aware of any. You could always purchase vaping liquid that doesn't contain any nicotine though.
The biggest problem is having a place to organise.

The Python foundation is threatening to sue anyone continuing something called Python 2, or even a similar name.

Finding volunteers who are willing to get sued to work on Python will be hard.
Increase your copper intake to increase your Cu-Zn Super Oxide Dismutase enzymes[1] which will help neutralise the free radicals. Increase Vit C to gram level (ascorbic acid mixed in milk is good), this is a base for many enzymes and will also help reduce the free radicals in the body. Damage to sperm can be reversed at this level.
The liver metabolises nicotine into an alkoid called Cotinine which is thought to be the main reason people smoke. Other studies have suggested other chemicals are also linked to addiction found in tobacco because rat studies have shown rats will prefer water sources without nicotine in, when given a choice. Tobacco also increases the level of copper in the blood stream, helping to make smokers go grey more quickly than peers. Water only fasting will reduce tobacco cravings within a few days, which then also gives the body a chance to clean itself up more quickly because White blood cell counts will remain elevated in the lungs for as much as 5 years after giving up smoking. No studies on vapours yet.
Whilst its been shown that brain pathways take 42 days to rewire themselves which is the period of time thought to remove the addiction from the brain, the liver is more involved in the brain and addiction pathways than the medical profession will care to admit. Another easy way to give up smoking is consuming raw Ox liver. The enzymes in the liver like catalase, ceruloplasmin and others will remove the stress and desire to smoke plus will give you an immediate energy boost. The risk of consuming raw ox liver periodically throughout the day is from parasites, but the raw liver makes you feel very good and alive if you ever need a pick me up.

[1] https://en.wikipedia.org/wiki/Superoxide_dismutase
[2] https://en.wikipedia.org/wiki/Cotinine
Correction: DeSoto County is in MS.
Legal challenges for remote teams and solutions