skysight-inc/HackerNews huggingface dataset:
>> Unicode stdio?

> Mostly, `io` should handle this in both 3/2. You might need to help it get the right encoding in 2.

Does io handle stdio? I was referring to standard input and standard error/output. How do you read/write Unicode in a cross-2/3 way from/to standard input/output/error without adding your own translation layer?

>> Unicode file paths

> This is going to be a mess in any language, because file paths really aren't text.

Sorry I need to be more clear. That general mess is not the aspect of it I was referring to. I'm specifically referring to a 2/3 compatibility mess.

I meant that, for example, to have any semblance of Unicode handling, in Python 2 you do os.listdir(u"."), whereas in Python 3 you do os.listdir(b"."). I know how to handle it in both Python 2 and Python 3 in a way that's Good Enough (TM), but how do I even get that with cross-compatible code? I'd need to write a translation layer of sorts for every single I/O function I might use.

>> Unicode sys.argv

> I think I'd say "do whatever 3 does".

Hmm okay thanks, I'll need to try to see what the implications are again. I think the problems I recalled from this may have been just been a result of the other issues, not sure.

I can't "forget about 2" though, it's still on Ubuntu LTS systems and there are still packages in 2 that haven't been ported to 3.

>> I feel like Python 3 completely wrecked strings instead of making them better.

> A clear separation of text and binary is needed in the long run, and makes other operations much clearer and saner. The pain you're feeling is introduced from the OS not having the same clarity.

Again, I think this is "cleaner" in theory, not in practice. What happened to the string_escape/unicode_escape nonsense I pointed out with the new system? Any rebuttal to that one? ;-)
Where to Find Remote Jobs
Most likely some other company would buy anything valuable before it could be given away for free.
If Tesla stock is at lower multiples it would become an interesting take-over target so I wouldn't worry about this
Well the Cat Ladder owner is of course liable for any damages caused. That's incentive enough to ensure people attach them firmly.
Ok it's maybe just my random perception of the language evolving in unsync with my (moderate) skills in it.

I just had the feeling there's more "stuff" that you need to know.
For me, in Denver, it means that it is 5:30 and nobody else is open yet.
Certainly I'm not saying that this is the algorithm to use in all cases. It's not even obvious how you would implement the sentinel algorithm in a language like Python, not in idiomatic code anyway.

The point is that the book is written from the perspective of an actual programmer writing actual code and thinking about how it will run. Granted, he's writing in a pixie assembly language for an imaginary machine, but still, the thought process is similar to writing real code. He doesn't just figure out the big-O and call it a day, he works out the low-level details. The lesson in this case is that a lot of extra work can be done in a loop, even for the simplest of algorithms.

Now you might think, that's a truism, duh, any programmer knows that loops need to be fast. But what can I say? I read that section and spent a few hours thinking about it (even writing out some old-timey flowcharts), and I came out the other side writing better, faster code.
"Psychogenic" seems like an awfully implausible explanation. Two dozen diplomats from two countries, with similar stories, with similar injuries as identified by a doctor - and it's psychogenic?

If I asked a thousand people on the street "Do you remember when you were debilitated by a strange noise and suffered mental problems for days afterwards?" What percentage would experience the psychogenic trauma? Is that the idea? That the diplomats just had this trauma "suggested" to them and therefore believe in it?
Much (most?) of the costs associated with current fusion reactors stems from the fact they are essentially large science experiments. They have wider operational parameters. They are riddled with sensors. Commercial reactors will be built for very specific narrow operating regimes. They will not need all the sensors. They will not be science experiments. They will be far far cheaper than current reactors.
I question that CW. If that were true, the competitors would be making sporty sedans like Tesla. But almost none are. The competitors—the Bolt, Kona, etc., are all totally different form factors.

The alternative, potentially better, theory is that everyone is reacting to the same incentives and market structures. Governments are pushing electric vehicles through subsidies and mandates. Meanwhile, exploding use of portable electronics has led to massive improvements lithium ion battery technology. Tesla has targeted a flashy niche market, expensive sports sedans, but has largely avoided trying to compete in the markets where the sales really are: crossovers and SUVs. (Every year, Toyota sells as many RAV4s as all the vehicles Tesla has ever sold.)
Elon Musk wants to colonise Mars and make the world carbon neutral. He ain't no financial charlatan, due to the size of his ambition his companies are always going to be maxed out on their lines of credit. If this Tesla gig turns into a roaring success then you can be Elon Musk would be similarly looking at financial annihilation on some go-to-Mars project.

From this perspective the roll out of Model 3 was to be sooner rather than later. The 3 is an extremely good product that makes the S/X models appear dated, so it is a single model company really.

For the save the world vision to work that means selling as many Model 3's as possible and encouraging all other marques to be going carbon neutral too, with electric power being table stakes.
It's more something I do on the side - Deepmode is something I started building for myself and then decided I should try to turn it into a real product for others to use too. I'm not an expert but I've been doing a lot of reading in this area to make the product better and understand peoples needs.
Are there historical examples of this happening in other companies? It's scary to think the answer to ops question is not immediately obvious.
it wasn't software. the design of MCAS was done by systems engineers. they tell software what to write. it is called requirements.

people make mistakes. the system / process is supposed to find them. if the process was not followed, that is negligence. until we know more, it was simple an error that was not caught by the process.

i am distressed that the CEO did not stand up and say "it wan't the MAX design team. it was the Boeing Company. everyone of us working together. and we will make it right"
evidently, litigation is the biggest concern.

those systems engineers, and aeronautical engineers, and mechanical engineers, and software engineers were doing the best job they could. they care about the flying public, and feel responsible for these incidents. i would expect there are some on leave right now, because they perceive the honest mistakes they made as killing those passengers.
Oh I play that line too! It was used in the 80s by GM John Nunn to score many victories (yes, I know, it's old).
Perhaps my wording is incorrect, but you’re 100% capturing what I was trying to get at. Thanks for the clarification!
I think Porsche Taycan is a bigger threat as it will target Tesla's high profit margin cars. I would assume people who spend 80-120k for cars would prefer Porsche dealerships and service, while Tesla sales and service centers are inundated with $40k buyers issues.

I checked EQC, it still felt like a compliance/test vehicle compared to Taycan, which Porsche has been testing in several continents under extreme weather conditions for over a year now.
I'm curious whether Tesla mortgages are sufficiently concentrated that there are specific instruments that collateralize large portions of them, and you could buy credit default swaps on those.

I mean, if the value of the underlying asset is suddenly reduced, you'd expect delinquencies to rise markedly.
> More people would rather roll with an MVP as the final product than build something from scratch that's more robust, resilient, and efficient.

Well, yeah, of course. It's expensive to reinvent the wheel.
A bit later in the thread the poster also states a pretty good explanation:

> A lot of FUD from the media said Elon stated they will only have 10 months left before cash balance is zero. No where in this letter stated such a thing and Elon just used an arbitrary number(in this case the newly raised capital) to express the point that 2.4 billion may seem like a lot of money, but we shouldn't take it for granted. In fact their cash balance is most likely over 4 billion.

> This letter to me shows the maturity of a company. Elon is telling his team that just because I can raise 2.4 billion whenever I want doesn't mean money is falling from the sky. Everyone must continue to be vigilant about cost cutting, and we must prove to our investors that we will take cost cutting seriously.

> From Q1 conference call, Elon alluded that the reason why he is against raising capital all the time is because he wants to focus on cost cutting as the primary objective. So his letter does not seem anything out of the ordinary.
> So no, the sky is not falling.

> https://www.reddit.com/r/teslamotors/comments/bq50s8/elons_a...

So it sounds to me that Elon musk does not want Tesla to burn money like Uber. He says they most certainly could, but he would rather focus on cost cutting. This seems to be a very mature reaction, something every mature company does. This makes Tesla less and less like a startup and more like a mature company. Granted, they are not there yet but I believe they could be there very soon.

Elon Musk also always makes things “hardcore”, or more extreme then a normal company would do. Instead of cost cutting over years, he wants it done fast but might underestimate the time it actually takes to achieve his goal. We have seen that move from him many times, when a released the model 3, he gave a very very optimistic release timeline. While he missed it, it was still a lot faster then his original plan to release it in 2020 and still faster then a lot people estimated. While this doesn’t always work out (like his autopilot goals), by setting such hard goals and deadlines, things move much faster then they normally would. Only time can tell if his cost cutting plan actually works but he has shown that such extreme actions can often lead to much better results because everyone wakes up and doesn’t just put it on goals for the next 3 to 5 years list.

That being said, I am not really worried about Tesla. They have shown that they are able to get a lot more money if necessary and their demand is still going strong. The competition doesn’t look very promising (the audi E-Tron is often compared to the 2013 model S, and while it is most certainly superior in some aspects, I believe Tesla is still a few years ahead from the competition).
Remote Dev Jobs
Requests depends on urllib3 which would also have to go into the stdlib. It also contains a CA bundle which the core devs don’t want to do. It also likely the internal implementation doesn’t follow core dev standards and practices, a common problem with integrating external libs. Finally there’s a risk it would slow or discourage new feature development by tying it to the core release cycle.

A better approach might be to add a core of basic requests-like features built from the stdlib’s existing resources. That would be beneficial to many users and if they need more then there’s always Requests.
Thus the error is that 1962 should be 1960. That’s it.

===
http://xurl.es/ycomjob
I guess whoever buys up that aspect of Tesla when the shareholders sell it to pay them and the company's debts off.

If someone does it I would imagine they would charge for it. Considering Tesla is considered a luxury brand there would probably be a decent business there.
what happened to the delorean motor company?
Well, that quote is really very little of Machiavelli. ;)
Is anyone still buying car? May be it's a huge necessessity in US but most of the cities are fairly packed and have good public transport and improving

Yes and people still watch TVs even if you haven’t owned one in 15 years....

But just a little googling. 80 million worldwide.

https://www.statista.com/statistics/199974/us-car-sales-sinc...
They will have to fix the simulator first. As I understand it they can't currently simulate the handling of the aircraft under MCAS failure modes. If they correct the simulator and require pilots to train for the handling of MCAS failures then I have to problem with the reintroduction of the max on the same type certificate. From what we are hearing in the press it sounds like Boeing is still pressing for nothing more that a dumb iPad lesson. If the FAA falls for that they will loose all credibility in my eyes.
I'm not sure that this is true in some parts of Europe. Some of the inhabitants of those places are descended from the people that first inhabited it when the ice sheets pulled back.
You're correct, it's not different. A lot of those jobs (construction, plumbing / steam-fitting, railworkers, auto plant workers) are unionized too.
Boeing 757 and 767 share a common type rating as well. I believe that differences training is required to move from one to the other, but I’m not 100% sure.
json processing languages peaked with jq's language.

https://stedolan.github.io/jq/manual/
Well kudos to you for having the right theory! I would have never assumed this behavior on modern CPUs.

That trick might still be useful in the embedded space - I had to try it on my samr21-xpro too (with only an 8kiB array and slightly modified code - http://codepad.org/aPOZraI2)

samr21 (Cortex M0+)

naive search
found: 0, took 1714 ticks
found: 0, took 1713 ticks
found: 0, took 1714 ticks
found: 0, took 1714 ticks
found: 0, took 1714 ticks
found: 0, took 1713 ticks
found: 0, took 1714 ticks
found: 0, took 1713 ticks
found: 0, took 1714 ticks
found: 0, took 1714 ticks
average: 1713 ticks

knuth search
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
found: 0, took 1372 ticks
average: 1372 ticks
It is called a 'bum gun'. =) So much better than paper!
Surprised just how clean this article is.

Actual writing. Real groundwork. Relevant outlinks. No referral links (they totally could have sneak that in on the ONE amazon link).

Solid...anyone know what melmag is?
It's so sad that undoing horrible laws and ineffective prohibitions must come down to dollars and cents, rather than the innate freedom we all should have.

Land of the fee, home of the slave.
Linux has no stable ABI :-)
What happens to Tesla cars on the road if Tesla the company is gone? Who do the cars phone home to? Who can perform maintenance and repairs?

Edit: Why did people downvote this question lol
Well depending under what they've been diagnosed, most likely PDD-NOS which the NOS stands for not otherwise specified which was a catch all branch of the ASD spectrum that has been removed from the DSM.
It's still a condition under the ICD but the ICD being international tends to severely lag behind the DSM.
So if they were diagnosed after 2013 they likely were diagnosed with F84.1 Atypical Autism.

Asperger's is still on the DSM but might also be moved to its own category since it's the only "distinct" classification in the ASD where there isn't clear ~4:1 ratio (or higher) of males to females.
The extreme dimorphism of autism and it's comorbidity with other x chromosome related syndromes including FXS is quite distinctive and Asperger's does not usually exhibits this.
> Actually users do. Not all users, but your sweeping statement isn't true of all users either. Experience and reading reports tell me that many if not most users actually upgrade, especially when there's a significant security issue and especially when upgrading is easy. 2.7.14 to 2.7.15 was a problem for no one.

Sure, some people definitely upgrade. But there's a big difference between requiring someone to actively hear and heed your warning and having them automatically upgrade whenever they create a newer project. Or even just prompting them to upgrade like NPM does for package vulnerabilities.

> For the users who don't upgrade, they're not likely to upgrade a third party / split off thing any more than the core language.

That's not the point. If your standard library is a package, any new project will automatically download the latest version of the standard library. If I have a vulnerability in an npm package, I simply push a new version and people will automatically download that new version when they create a new project. If there is a vulnerability in the Python standard library, users will continue to have that vulnerability until they actively patch it.

> Sucks for whom? I've been out of the Node ecosystem for several years, is there a pfs module that uses promises (either built-in or as an external lib)? If so users can use that if they want. Does it suck for the maintainer? I don't see how if those functions are small and don't really need any maintenance.

Not a canonical one. They're starting to add a new promise based API, but now we have two different APIs doing the same thing. What if we come up with a newer way to do async? Do we add yet another API?

> What would suck is if all the existing programs that wrote some fs-using code a long time ago and haven't had to touch it now suddenly need to go update it to satisfy people's fashions.

That's a bit of a straw man. With packages, you can still support multiple versions. It's just that fs would no longer be tied to Node. You could make a newer fs package, fs 2.0 or whatever, that uses promises. The older one would still be supported, of course, but it wouldn't be stuck in Node.
Like China could do anything about it.
This is kind of a weird critique though. It's like, it's not enough for a movie critic to think some movies are bad and they should have been made better. They have to hate the whole concept of movies.
I am surprised nobody mentioned theax Lange attack 1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. d4 exd 5. 00

It leads to pretty wild position but unfortunately it was studied a lot and with perfect play Black gets a drawing position.
Downvoting because "real men drive". Come on, grow up.
You need to provide a physical address to pay with a credit card.
This seems to be similar to any of the digital media companies that used DRM on all of their content that suddenly could not be played when they shut down the service.
> Interesting to see the old Soviet Union TLD is still in use.

Weird to see a proper institution on that domain. The .su itself is quite alive and available for registration. It's mostly used as a “quirky knockoff tld,” in the spirit of .io and such.
To the extent that territory licensing forces Netflix's position, that still doesn't justify the customer-hostile behavior. I don't expect my comment to change Netflix's behavior, but rather to highlight the hypocrisy of casting themselves as a modern solution while dragging us backwards.

And yes, obviously the totalitarian matrix is interconnected. GeoIP is a symptom of that cancer - the legacy status quo attempting to make the Internet conform to its preconceived notions. Which is why I pointed the way towards the Internet-first solution.
Their are plenty of cars like Aston Martin Rapid E, Mercedes-Benz EQC, Audi E-Tron, and Jaguar I-Pace aiming up market.

Tesla is maintaining a brand halo by keeping a reasonable minimum range, but the base Model 3 is relatively inexpensive compared to many competitors.
Any kind of illness, including a mental illness, is a weakness.
Since I’m in your old boat (so to speak), what additional evidence suggests that the Ethiopian flight was not saveable by a crew who flew the airplane away under the stick shaker, reduced thrust, and then fixed the trim at altitude? (I’m not saying that is easy or even “par”, but it does seem like they had a salvageable situation until they turned the stab trim back on after correctly putting it in cutout and then left it on and let it run the trim nearly full nose down.)
Underlying psychological traits could explain why political satire tends to
If you want to call the candidates from the left party in the US right-wing, sure (when you look at it on a global scale, you might have a point there).

But as I said, while The Economist supports free trade and free markets, they are not laissez-faire, but support sensible regulation, anti-trust, action on climate, etc.

> "The Economist considers itself the enemy of privilege, pomposity and predictability." [1]

> Is The Economist left- or right-wing?
Neither. We consider ourselves to be in the "radical centre" [2]

[1] https://web.archive.org/web/20090228231949/http://www.econom...

[2]
https://www.economist.com/the-economist-explains/2013/09/02/...

https://web.archive.org/web/20190329063026/https://www.econo...
Also, I think the facilities are lacking for case-insensitive comparisons in Python 2, so I guess this is one thing they improved. Still don't know how to do it "correctly" when writing Python 2-compatible code.
Criminal prosecution of the owner because he decided that running cocaine was the best way to finance his company.
This is a pretty niche case imo. If you really want a stand-alone dole, you can forego the use of Cargo.toml and instead use std::env::args to get command line arguments.

If it really matters, then do it right (in whatever language makes the most sense).
So much this... There are texts written with military contexts in mind from which you can extrapolate non militaristic lessons (The Book of Five Rings, for instance). The Art of War is not one of them. It's not surprising to see it quoted a lot though. I'll leave with a quote from Naggum; whether one thinks it's fair to Gates matters less in this context than if there's agreement that the outlined problem exists:

"the problem I see is not that Bill Gates has shaped the world of useless
trinkets in software, but has also managed to spread his competitiveness
and his personal fear of losing to imaginary competitors to businesses
and homes everywhere, so now everybody is _afraid_ of losing some battle
which isn't happening, instead of getting about their own lives."

https://www.xach.com/naggum/articles/3141310154691952@naggum...
This. I established relationships with a couple designers and would subcontract work to them. In turn, they eventually started referring me clients. It worked out nicely.
Traditional car companies must be damn scared to have to publish this FUD.

Tesla cannot be possibly dying out. Don't you see Tesla cars everywhere in the US? yes they are spending money, buying things to grow as they are so incredibly successful they cannot satisfy demand. Dying out? you make me laugh.

If you spend 10M dollars buying equipment that in a year is worth 100M dollars, you are not dying out.
> The point is that the book is written from the perspective of an actual programmer writing actual code and thinking about how it will run.

Sure, I don't dispute that in the least. All I'm saying is that if you want to argue that TAOCP is not dated you could have chosen a better example.
I tend to agree, but there's a limit. Accepting a job where the payout promised requires an almost 50% property tax raise? You can't possibly claim surprise when those promises are reneged on.
Would this not be just like any other software that becomes abandon-ware? Use it if you want, but just know there's no recourse if it doesn't work. Also, this would be a good example of why right-to-repair should be allowed.
For clarity, is the attack you're referencing a castle to the opposite side of the opponent and then using your two rooks on the opponents side to push down the pawns?
Does this increase the reputation of Uber? In the past people contrasted amazon reinvestment of profits to uber’s expenses. Now Amazon is following uber eats...