skysight-inc/HackerNews huggingface dataset:
"also the fact that you need to check if dictionary key exists, else you get an exception when trying to get the keys value."

dictionary.get(...) is specifically for avoiding the exception, you should just get None if the key doesn't exist. Unless I'm misunderstanding you and your complaint lies elsewhere.

Don't get me wrong, there are plenty of things that are stupid/annoying with python, this comment however reads more like "python is bad because I can't write perl in it". I think that's why people are flagging it.
Most languages that use braces also encourage you to indent the things enclosed by the braces to make it easier to read. However, people sometimes make mistakes. For instance I've seen this quite a number of times

if (a)
somestatement;
someotherstatement;
athirdstatement;

Which is of course horribly misleading unless you're careful because the second statement isn't actually conditional on a. Python forces the indent to match the semantics.
https://blog.pickmysolar.com/how-many-solar-panels-does-it-t...

From a pro-Tesla site. It would take 75 solar panels to charge a single Tesla in a day. Max theoretical efficiency on Mars is roughly 1/15th of Earth norm, not taking into account Martian weather, and assuming you are always somehow directly facing the sun the entire Martian day. Take weather and the day-night cycle into account, and it takes about a Martian year to charge one Tesla.

Google is your friend. A single search on Boring Co shows at least a dozen articles about their misrepresentative claims, so I assume the Google personalization filter is effecting both of our search results.
It was made by Mark Rober a former engineer at JPL who worked on the Mars Rover projects.
I manage the IT for a school. As we've gone more and more away from DVDs (thanks, Apple), teachers have been asking me to rip their old DVDs. Tried doing that, but a lot of the DVDs did not rip perfectly, so that the ripped video ended up having a lot of corruption. I'm not entirely clear why software could not play the ripped DVDs and just deal with the jitter and corrupted data, but playing from a DVD drive could deal with it. It was weird. Googled a bit, couldn't find much information other than the fact that CDs and DVDs can deteriorate over time.

My question is not necessarily related to OP. But can anyone tell me why my ripped DVDs could not play in DVD software properly when there was jitter or corrupted data, but it could play properly when in the DVD drive? When I got lucky, the ripped DVDs would play fine. Otherwise, it was play fine for a few minutes until it ran into the first bit of corruption. Confused the heck out of me.
Burglar traps are definitely not legal. Where are you getting your information?
Love it or hate it, python is here to stay for a really long time.
Do you think the bomb maker could be held liable if the package were to be opened in a moving car that subsequently crashed because of glitter getting in the driver's eyes? I'd be a little nervous about doing this myself.
Also puts pressure on users to switch to chrome so that they avoid this hassle.
And beyond that, the other reason I attribute malice to Taleb is that he is just such an asshole. D'Souza of course, he's a political hack, but I feel that Taleb could have easily made his points without so obviously willfully misconstruing what Silver actually said, and without the Trump-esque name calling. If he's so smart he should let his ideas state on their own without using the cheap "let's have a Twitter war for views" tactic, which was obviously intentional.
Anyone else found it unsatisfactory that there was nothing about forwarding the footage of the thieves to the police?
>You can't extrapolate that model to the USA, where there are more firearms than citizens

I agree unarmed police may be a stretch, but countries like Switzerland (where every home has a gun) or Estonia (which has CCW laws similar to some US states) don't see the same level of police shootings even with armed police.
At least it's technically possible for Signal. Try getting hold of iMessage's source.
I don’t have ADHD but I can relate to feeling that deep knowledge is inaccessible to me. My issue has always been around some kind of internal optimization function that is always asking “how will this help me”?

A solution that’s worked well for me is to only study deeply when I have a concrete need.

For example, when I felt my work suffering because I didn’t deeply understand z-index, it was easy to sell my brain on reading the complete z-index spec.

One of my hobbies is music, and I’m just starting to feel the limitations imposed by not understanding music theory deeply. That means it’s a good time for me to study music theory.

Some people feel compelled to learn things. I feel compelled to do things, and if I can’t do something as well as I want to for lack of knowledge, then I know I’m ready to learn things.
Reminds me of those public "do not call" lists. Guess what - they get called more often.
The video is well worth your time. The device works very well, and the fart spray has a purpose, in that it encourages the thief to ditch the package as soon as possible, enabling him to recover and reload it.
Petition your EU lawmakers and make your browser reject cookies from all sites that are not on your whitelist.

I used to do that and it worked pretty well, but now it's impossible thanks to those dialogs. Blocking third party cookies still works, since it only breaks a small portion of the websites I visit.

Blocking cookies won't really stop the surveillance by the way. It stops only one way of tracking you.
Countering Chinese Accounting Control Fraud and Predation Against U.S. Investors
I'd love to know how that compares to the false-negative stats...
There's only one way to find out.
The article mentions that he built this in the first place because the police told him that there was nothing they could do even with footage
Apple iBooks is making it easy for publishers to earn commission
Humans interpreted censorship as damage and routed around it long before they encoded that into the internet. Dissent seems like an inherent, impossible to isolate part of the human condition. They can create bubbles all they like, but some people will break out and keep the ladder down.
Homer: "Alexa, please order: peanut, butter cookie, d'oh!"
SpaceX docks at the ISS... (technically berths at the ISS).
Continuous Integration and OTA Update Flow Using Google Cloud Build and Arduino
Ah, got it. Your basic point is that C++ params can use two layers of indirection (pointer-to-ref, ref-to-pointer, pointer-to-pointer, etc.), while doing so in Python is clunky. Makes sense.
ah yes sorry, second amendment.
> is NOT an object property

But it is an object property, just like everything else attached to "this".

That "this.foo" is not "this.#foo" that's because "foo" is a different key than "#foo".
AnthonyLevandowski launches automated driving sys withhands-free trip across US
How about the old classic -- a Groucho Marx moustache and a pair of glasses? ;)

Or maybe a Theresa May paper mask...
In the video, Rober mentions that he previously brought his security camera footage to police (the camera monitoring his house, not the camera in the prank box), but that they said it wasn't worth their time to pursue such cases.
I’m also reminded of the less venerable, but still sort of “instant classic” feeling, choice in the design of Golang, where publics are named with a starting uppercase letter, while privates are named with a starting lowercase letter. (Definitely wouldn’t be a choice that would be backward-compatible with existing JS, but neither would prefixed-underscore privates.)
I know "theft traps" are not legal (even ultimately harmless ones, like the paintball idea mentioned above), but for some reason it feels bizarrely backwards (or ironic?) that a proportionately harmless response to a thief (caught in the act) would be more likely to see prosecution than the act of theft itself.
I think it would be healthy for these companies to be more like CloudFlare and get out of the business of determining how "good" a customer is when deciding to provide services. Aside from credit score and legitimacy of proceeds banks can't deny services based on how "good" a company or person is in real life. Once you begin qualifying your users based on their social score, I think we're going down a perilous road when it comes to basic services like these.

To add to this, I think YouTube is okay with having a ToS and denying service to people who violate their ToS (now uniformity of application of the ToS is a different subject). Using the service is not a platform and can't in and of itself create harm. Cash is not harmful. Using cash to buy a gun and using the gun in violence is harmful. Just because cash is a transaction enabler does not mean we deny access to cash to criminals.
I agree with the OPs points but disagree with the degree to which the author has used them as a means to "hate" a language. I generally avoid Python too but saying you hate the language because of a bunch of contrivances mostly wrought from inexperience and holding too strongly to C like languages is poor form.

Versions:
Ok? Versioning and fragmentation is a hard problem. Backwards compatibility is a hard problem. Moving fast and never breaking anything is a nearly impossible problem. Python sucks at it, lots of things suck at it. There are many examples of other languages (.NET Core, for example), platforms, frameworks, etc that all suffer from this. It can be a reason to avoid those things but probably not one to base a loathing on.

Also, lots of people still use Perl. Lots of people still love Perl. I don't know why.

Installation:
This screams "windows only" user. Path'ing, local dependencies, and package management is relatively common and you should force yourself to be comfortable with those concepts. Just saying "I should be able to just run one thing and be done forever", albeit ideal, is naive and never going to happen.

Syntax:
Yep. Spacing blows and you're always going to have stupid issues with it. I hate Python's spacing. Someone ought to create a custom interpreter that allows for using braces.

Includes:
Most of these complaints sound like they're coming from someone largely silo'd in the C/C++ world of wanting to know everything. "With C, you can just look in /usr/include/*.h" - the author is admitting he's unhappy because Python isn't C.

Quirks:
General complaints about other languages... and using those complaints to somehow sour Python? The quirks he does list for Python aren't even strange - they're pretty useful.

Local Names:
OP probably could have just included this in quirks rather than having another point. I'm pretty sure there's actually a means of avoiding this type of import issue by some silly Python pathing shenanigans.
Means vs ends.

When you talk about launch costs, you care about the cost to get “the stuff you really want in orbit”.

The formal term for that stuff is “payload”. So cost per kg of payload is the relevant figure of merit.

The mass of the space shuttle is not payload. It is a means of delivering payload. As such, you do not get credit or establish launch efficiency by launching it.

It is not inefficiency to launch without carrying the space shuttle; just the opposite.
Yeah, that's essentially what it is. For example, you can build event-sourcing by tapping in to the log-shipping facilities that postgresql offers (set wall to logical, and assign a replication slot to it)
To the extent that "alt-right" has any meaning at all, it seems quite wrong and perhaps disingenuous to suggest that a crowdfunding site focusing on the "Intellectual Dark Web" (IDW) would be "alt-right" in any sense.

Edit: Of course when I say something might "seem" disingenuous, I'm not blaming parent in any way for it! But this is a sort of claim that is sometimes made in an arguably insincere manner, as part of some partisan controversy or another, and it's important to be able to point this out.
Or paper bags.
In America, burglars have been known to sue in such cases.
Yep everyone who does not agree with the extreme left’s radical views is a nazi and a white supremacist. /s.

Yawn. You are not fooling anyone with this tired trope.
You’re awesome!
Introducing Rancher's New Multi-Tenant Prometheus Support
Callstats.io Announces First Network Assessment Test for WebRTC Communications
But that figure differs, even for SpaceX, if you are carrying a spacecraft or cargo in a capsule. Or humans.

Space Shuttle was a spacecraft that was much more capable than coupling on 2nd stage. So of course the price point per cargo carried is completely different. It doesn't make any sense to compare it that way. What you can compare is the price of the rocket launch and complete payload delivered to orbit, and that includes the vehicle.

If you only care about economics for satellite launches for example, then yeah, it is much cheaper. But so are many other systems, so why pick Space Shuttle for comparison?
> Saying "this is not something their readers follow suit on" - only if you're a reader who doesn't understand probability.

But overwhelming majority of people don't.
In a world where the share holder care that should trigger an investigation. I don't want to own shares in a company where management randomly does shitty things completely against the guidelines they've codified.

But, we live in a world where I guess the share holders nod their heads at inappropriate times when growth is on the line.
This has got to be a joke. Hasn't it?
The author was expressing apparently advanced philosophy that is missing from normal discourse, so I can understand why it goes over most peoples' heads.

"Instead, epistemically uncertain events are ignored a priori and then FiveThirtyEight assumes wild fluctuations in a prediction from unforeseen events are a normal part of forecasting. Which should lead us to ask ‘If the model is ignoring some of the most consequential uncertainties, are we really getting a reliable probability?’"

We don't know what we don't know. Any probabilistic model is constructed with a snapshot of the perceived variables. If the model-maker is not able to conceive of variables, then they will not be in the model, which could have asymmetric effects on accuracy of the model.
>With the spread of misinformation and rage using messaging apps that have literally resulted in people getting killed by mobs (see for example https://www.nytimes.com/interactive/2018/07/18/technology/wh...) maybe we should re-evaluate our belief that making it impossible for governments to see what is spreading through messaging apps is an unmitigated good?

People get killed by mobs in China[1] as well, a country which backdoors all major social networks (Weibo etc) + at network edge (great firewall).

https://en.wikipedia.org/wiki/Human_flesh_search_engine
"This morning the Political Privacy Act was rushed through. MPs are now exempt from all face-recognition systems. The vote was unanimous..."
It takes time, delayed gratification in this era of instant gratification is tough.
A Facebook Post Opened the Door to a Sex Abuse Scandal in a Small Town
A brief introduction to C++ Concepts
Even more confidence-inspiring: before the election, they had discussed what a path to victory for Trump would look like, and their most likely path is what ended up happening: the midwest went for Trump, in a correlated manner, which is exactly what other forecasters had failed to account for properly.

If your model can help you predict how it's going to fail, I'm fairly impressed.
The shuttle isn't really designed to put basic stuff in space so it's not quite a fair comparison. Better comparison would be other, similar rockets.
I've been told that without more people doing it, fuzzing your browser like that makes you more identifiable. Know if that's true?
> free speech alternative to patreon

Already done, it was called Hatreon, it didn't last long at all. https://hatreon.net/

Sure, you can throw up an alternative to Pateron, using crypto even to bypass payment processors, but then all you're dealing with 24/7 is alt-right, Nazis and insane people and getting a lot of unwanted attention from the 'powers that be', you could even be accused of directly supporting and financing terrorism, not worth it IMO.
> I've heard that interviews at all the FAANG companies are all difficult (as an aside, why is Microsoft never in that list??)

I always assumed it was because they're not headquartered in Silicon Valley.
Pretty much every entity detector that I have used operates on a similar principle. Not sure whats new here.
at the same time :)
Good. Really hoping it takes off and people abandon Patreon in droves. Also hoping there is a decent , decentralized twitter alternative that gains widespread mass adoption. Time to abandon these ideologically run extreme leftist corporations.
Wanna name a supposedly easy language and let’s see if we can come up with a list of things about it that are kinda difficult?
It's originally Greek, I believe. (My OED is being unhelpful.) A name for the underworld; no punishments, but an eternity of playing Yahtzee with your great aunt in the grey mist.
hmm, you might be right. Over lifetime of the Space Shuttle program, money spent equates to $1.7 billion (2017 dollars) per Shuttle launch. https://www.businessinsider.com/spacex-falcon-heavy-launch-c...

Incremental cost of each Shuttle flight was $18,000 per kg to LEO (see https://en.wikipedia.org/wiki/Criticism_of_the_Space_Shuttle...). Price per KG of a FH launch is about $1411 to LEO https://en.wikipedia.org/wiki/Falcon_Heavy.

So on incremental costs its about 12 times cheaper per kg to LEO

Or if you think thats still not fair, and want to treat the shuttle orbiter itself as payload - a bit abstract, but lets go with it - the shuttle launch comes out as about $4400 per kg of orbiter-and-payload, so Falcon Heavy is still 3 times cheaper than that.

edit: And its still not really a fair comparison because Shuttle could do more and carried people etc. But there it is.
Bad luck - sounds like your friend ran into the Bullingdon Club on a night out....

Very little of the UK is like that and I'm pretty sure I could find equivalent examples in the US!
As Tomte said, remember that flags are done by users.

Also, when enough users flags the story it gets a penalty and drops in the order, then it gets a [flagged] tag and then it is killed. The numbers of users for each step is not public, it is part of the secret sauce, and may change from time to time without warning. And also the mods can remove the penalty/flag/dead.

https://news.ycombinator.com/item?id=18706174 "I hate Python. I hate it with a passion" (hackerfactor.com) I'm neither know why it was flagged. Perhaps the title is too linkbaity. Perhaps python fanboys get angry. Some claims are not accurate. I think it's a little too controversial, but I don't agree with the flag.

https://news.ycombinator.com/item?id=18696389 "The “Yellow Vests” Show How Much the Ground Moves Under Our Feet" (criticallegalthinking.com) It's too political and about an event outside USA. Both reason will case the article to accumulate flags from two sets of users. In my opinion it's a big event but it's not something new. People don't like to pay more taxes, and government will use any excuse to add more taxes, the word has always be this way. Also, I'm from Argentina, so a big riot from time to time is not surprising :(. I classified this article in the "ignore" bin, no upvote, no flag, no vouch, just ignore it. (My only action is perhaps to go to the comments threads and upvote a few gray comments (that are not offensive or extremely wrong). I think that there are too many downvotes and it's better to minimize the amount of gray comment to have a nice civil conversation.)
The term "alt-right" is used so frequently by the left that it has lost any meaning. But if it is meant to refer to far-right extremist movements, I don't think that should apply to either Peterson, Harris or Rubin.
I'm honestly really shocked by how casually people seem to steal these parcels, like what the hell?
Values based brands/icons for licensing
So, I've been thinking about service/marketplace where people could create and market icons that represent values. Kind of a values based trademark marketplace.

- Like I won't share your email.

- we don't use child labor.

- If I lie or misrepresent the truth I'll appoligize and set the record straight. (politicians)

Companies and politicians could license these icons and if they break the licensing contract they lose the license and can't use the icon.

If the brand is outside the control of the company it makes it harder for the companies to break promises.

You could follow icons with values you share and find companies and representatives you share values with.

Obviously this is something much bigger than something I could do, but is this something that would help the shit storm of lying and changing/confusing licensing terms, etc.?

It could start with just icons that correspond with sections of terms of service agreements. which are easy to verify but makes it really easy for consumers to identify icons that represent values you desire.

Are there values you find important that you would like companies and/or politicians share(live up to) with you?
Space Shuttle did launch satellites:

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

Edit:

"The original plan, ridiculous as it was in hindsight, was for STS to be the sole US launcher of all payloads.

However, after the loss of the Orbiter Challenger only seconds into mission STS-51-L, US policy was changed to only allow the Shuttle to launch scientific and military payloads that required human presence. This destroyed any economic rationale for making STS self supporting or a revenue generator.

The first 4 missions were test flights, so omitting them, you can see that 11 of the 21 "operational" missions before the policy change carried commercial satellite payloads, often multiple, up to 3 comsats per mission. A total of 18 commercial satellites were deployed from the Shuttle. "

https://space.stackexchange.com/a/10352

SpaceX also does cargo missions to the space station (crew happening next year) which is probably a better $/kg comparison to the space shuttle for some missions:

https://en.wikipedia.org/wiki/Commercial_Resupply_Services#S...

Sure the Shuttle had unique capabilities and the Falcon rockets aren't better in all ways, but the Shuttle was originally supposed to be a cheap and reusable way for the US to do the majority of its space launches and that turned out to not be its strong suit.
This architecture isn't necessary for most apps. It meets a specific need with serious constraints that have to be considered before making use of it.
Of course that's fake fibre aka fibre to the green cabinet in your street. The UK allows that to be marketed as fibre despite the large difference in performance to a real fibre connection.
Russian 2016 Influence Operation Targeted African-Americans on Social Media
> Being 95% typechecked (or 95% statically checked) turns out to be a lot like being 0% typechecked.

That's just not realistic. All practical languages (even Rust and Haskell) fail for "division by zero", and most (all?) (again even Rust and Haskell) offer escape hatches for their otherwise rather strong static checks. Still (some) people see a lot of value in _more_ static (type/contract) checking.
Right now the only thing that seems clear is that dependent typing adds significant mental burden on the programmer to more thoroughly specify types, and to do so absolutely correctly

It's basically the opposite of this.

If a language has dependent types, you can continue to use it in the same way as a language with does not have dependent types.

BUT, there's a lot of programming patterns that previously couldn't be implemented in a type-safe way, that now can be. This also gives a ton of opportunities for libraries to implement abstractions that weren't expressible before.

Dependent types are not that complicated, actually, and they don't add any burden to programs that don't use them.