skysight-inc/HackerNews huggingface dataset:
You only get an exception if and when something in the bowels of your implementation bangs into a low-level operation that has one of these checks in it. For example:

>>> import subprocess
>>> subprocess.call([2])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
AttributeError: 'int' object has no attribute 'rfind'

In the case of `object() + object()`, that check is in `object.__getattribute__`

My point is that the checks are a property of a definition of those (possibly built-in) classes; the language doesn't provide any facility to talk about types as such. Nothing in the language knows that the argument to subrpocess.call should be a list of strings, it just happily executes until it hits what is essentially:

>>> (2).__getattribute__('rfind')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'int' object has no attribute 'rfind'

And `__getattribute__` throws an exception. This is the best case scenario. Worst case it never hits something that these primitive types are aware is not ok, and it just does the wrong thing. There's no way to specify typing invariants in a way the language understands -- you just have to put in the manual check yourself. This is what I mean when I say strong types aren't part of the language.

But if you add static types to the mix (say via mypy):
If it were actually checking what should be the types involved in the code you wrote you'd get something like this:

error: List item 0 has incompatible type "int"; expected "Union[bytes, str, _PathLike[Any]]"

...which is what mypy reports when run on that code. Python isn't checking the type of the argument subprocess.call ever, not even at runtime. If you're lucky, eventually you hit some code that has an explicity sanity check in it and it raises an exception.

There's an interesting point in the design space that you see with julia[1], and also with mechansims like racket's contracts[2], where the types aren't checked statitcally, but they are checked at runtime, unlike the example above with subprocess, where you only get the error deep in the implementation when something actually explodes. I think you could sensibly say that the "strength" is actually a property of Julia, rather than its libraries, but not in Python, the "strength" isn't part of the language per se.

The only differece with a "weakly typed" language is that those basic libraries have a much more footgun-like design -- again, not really about the language per se.

[1]: https://docs.julialang.org/en/stable/manual/types/
[2]: https://docs.racket-lang.org/reference/contracts.html
Star Performer Created a ‘Toxic Culture’ at Silicon Valley Community Foundation
> militarizing the police

That's where the right-left model breaks. This is not an extreme right wing thing, it's statist authoritarianism. Can be embraced by both sides, extreme or not.
This is a company when dozens of senior leadership have left the company. So yes, confirming he's just "on vacation" is relevant as the assumption could be he left too.

Btw - I don't believe he is "on vacation". It's something else, but probably doesn't matter in the end.
Nuclear waste is supposed to be disposed of in an underground, geologically stable repository by law [1] but because of repeated government incompetence the project has yet to be completed.

So now all nuclear waste across the country sits in pools instead of being disposed of properly.

This should be trivial to fix but I suppose the government would rather wait for a disaster to happen than to deal with it proactively

[1] https://en.wikipedia.org/wiki/Yucca_Mountain_nuclear_waste_r...
We live in the era were you can get a Billion Bytes for a dollar. We also live in an era where finding someone who can manipulate bits to improve performance is either 1)A Micro-Op 2) Extremely fringe work, or 3) prohibitively expensive to be worth it.
I was also surprised that apparently Kossula's account went unpublished due to a 1930s version of political correctness. http://www.vulture.com/2018/04/zora-neale-hurston-barracoon-...
Assume that the median bootcamp price is something like $15K. Can you get an ASL interpreter for 3 months and 5hr days at that rate?

If it turns out that this can be done, I'll concede that the bootcamp was in the wrong and my arguments in this case were incorrect.
From Samsung to Seed Packets
Trump is the President of the United States. He's one of if not the most powerful person on the planet. If he doesn't deserve coverage, who does?

The news media covered the "furor" over Obama's tan suit. They're damn well going to cover any real scandal involving Trump. It's their job.

If this news doesn't interest you then don't read it.
Syfy has canceled the Expanse, but its producers want to find it a new home
The fact that even the pythonistas are now adopting types suggests that verbosity is much less of a concern than a bunch of spaghetti code that cannot be tested, understood, or refactored. You have to squint really, really hard to think that the people who chose type-less languages over Java ten years ago actually made the right choice. Personally, when diving into codebase its "verbosity" has never been an actual issue. Nor has lack of "expressive power." Of much greater concern is how well modularized it is, how well the modules are encapsulated, and how well the intentions of the original authors were captured. Here verbosity and types in particular have been absolutely invaluable. I suspect in the end this is why serious development at scale (involving many programmers over decades) will never occur in "highly expressive" languages like lisp and to a lesser extent, ruby etc. It is simply not feasible.
Meet Locus Alliance, an in-person outreach program for the crypto community
I'm fascinated to know how you think that's in opposition to "winner take all."
I’m confused. Is it 90% savings vs regular power (awesome) or 90% vs “emergency” power (ok)?
And what's acceptable changes over time. I have no doubt that 100 years from now they'll look back and think many things that we feel are acceptable are immoral and shameful.
It does not. It's about unsupervised learning and unlabeled data. It's the next frontier. Automated feature engineering for triangulated datasets is the real target.
There is "hard" and "soft" magic in fantasy, just as there's "hard" and "soft" science in SF. A story with magic in the premise still needs that magic to have rules and limitations, even if they're not communicated to the reader - even the soft magic of myth and fairy tales needs to have some sense of internal logic.
> The case i'm considering here is one of explicit agreement. E.g. checking a checkbox.

So a fictional case? No site I have ever seen explicitly asks you to agree to view its ads.
And now it takes a year to do basic sewer repairs on my NYC Street. What happened!
It's not the fastest in all of the tests, but it is the one highlighted in all of them.

Take a look at the array size 500 results for example. It is slowest for Reduce. Or take a look at 5000. There it is second fastest for Reduce, and slowest for Map, Filter, and Find.
Show HN: Open Source Crypto Tracking App with Exchange APIs and Watch Addresses
Hi Everyone,

I wrote an open source crypto tracking app, Coin Stacks, which has some cool features I'd like to show off.

For a long time I've felt, and heard from the community "why should I trust my data with you" when it comes to all these portfolio tracking apps. My solution to that problem, for myself, and everyone else was to simply not host any servers, and make it open source.

https://play.google.com/store/apps/details?id=com.nebulights...

https://github.com/babramovitch/CoinStacks

The app works by calling out directly from the app to the exchanges a user wants information from, including any balances they have on them if you add your API keys.

For Watch Addresses it connects directly to various public block explores. It lets you know which one you're connecting to before you submit the address.

With the combination of watch addresses and exchange balances, you can get automatic balance updating without having to constantly change how many coins you own manually.

It was quite an interesting technical problem to solve, potentially dealing with dozens of different APIs, but I think I set things up in an easy to scale way where I can continue adding new exchanges and block explorers with minimal effort on my end.

All the API's share a similar interface that normalizes all the data between them, so I only have 1 network call per type of call (price, exchange balance, explorer balance) and some simple configurations for each exchange/explorer.

Technically speaking - The app contains 19 unique end points, and currently its possible for the app to be handling 53 simultaneous queries to exchanges for prices or balances, in addition to any watch addresses you add with the explorers. A lot can be going on, but doing it this way, prevents me from collecting crypto info.

I'm really excited to finally get this big update out there and see what everyone thinks! Feedback would be greatly appreciated!
There exist open source clients which can play Twitch livestreams, so I’m not sure how much effort is being concentrated there anymore: https://github.com/streamlink/streamlink
>If people want to drink raw milk, let them.

No. They are going to end up in a hospital and my tax dollars will be used to treat them.
What do you mean “in EFI mode”? Do you mean EFI Boot Services or something else? I’m trying to understand what makes AFUEFI special that causes it to be able to write the SPI flash when regular software can’t. If I understand your blog post right, AFUEFI run like any other .efi program, which seems insufficiently locked down to me.
The house uses its wealth to construct an environment that only houses games with negative expected values.
Which is a tragedy - people occasionally need to take breaks to be more productive.
Apple could create its own 2nd tier.
I am not from the US so I don't know if it's a partisan issue, but I don't agree with NN, so them implying everybody agrees on that because it's the common good is completely bonkers.
Well sure, but this is only true if the author is not making any claims about the accuracy of the first story. If you are selling the story as a ”true” account, then willfully neglecting such important supporting evidence is really the closest you can come to writing fiction outright.
But the house needs enough money to keep playing to even out the random fluctuations over time to make it to that expected value.

For example, a craps table has a negative expected value for the players, and positive expected value for the house. But on a winning streak (these streaks are fairly common, just like losing streaks) the table might lose money if you look at the period of a few hours.
> but your characterization is far too generous for something radically awful that he’s floating as a “thought experiment.”

He's floating it as a thought experiment to bring up the question of whether a tactic like this, for whatever goal, should be considered good or bad, given that it relies on secrecy. His thoughts are that government should get out of education. He's not actually saying he thinks peopls should go about it this way, he's raising the question of should we be okay with a tactic like this? The extremity of the argument is to make you think critically about it.

The entire conversation is couched in this context. I'm not sure why you refuse to consider it in this one exchange.

> And of course it’s not just a “thought experiment,”...

So you think the person that's calling it out as possibly something people should be wary of or at least examine very closely because of all the possible unintended consequences (which is a point they both spend quite some time elaborating on) is the person that should be viewed negatively? It's not just that something was said, it's how it was said, why it was said, and the larger context. To me it feels like you're missing that.
I would argue that wealth gravitates toward those who are better at accumulating wealth (Warren Buffet, George Soros, Peter Lynch). There may be a correlation between those who are good at accumulating wealth and those who have accumulated a large amount of wealth.
It's just the way the visa on arrival process works. Not great but I don't think there's a way around it for VOA. I had the same thing happen to myself a few years ago and was a bit surprised myself.
Japan and Germany fought WWII because they wanted to secure oil supplies. The USSR and USA defeated them because they had massive amounts of oil at their disposal. The USA was #1 producer at the time. Also, both the Germans and Japanese failed to secure oil supplies and refineries quickly enough and quickly ran out of liquid fuels. WWII can almost be boiled down to this factor alone. If Germany and Japan had secured supplies of liquid fuels they would not have been defeated. Democracy and capitalism has nothing to do with it.
Here we're talking about the chattel slavery of Africans as a labor force, not the general concept of slavery.
I'll double check with our interviewer team on Monday but I believe it's $70-100/hr.
Would be great if you give hint about how much info/time is need to complete the signup on the developer onboarding page: https://www.moonlightwork.com/onboarding/developer
Air Superiority Under 2000 Feet: Lessons from Waging Drone Warfare Against ISIL
Engineering culture played a big role. Python was quite conservative. Additions to the language had to be proposed in a PEP, implemented, and demonstrated to carry their weight. Perl was extended quite haphazardly by comparison.

Perl 5 was abandoned largely because extending it became so painful, and Perl 6 was this crazy waterfall design process for the first few years. Perl had mostly lost all momentum, by the time Perl 6 development started to get traction.

My experience was that discourse around Python also tended to be more civil and humane, and that came from the top (Guido & Tim.) I think that played a role in or was otherwise somehow connected to the better engineering discipline.
That is why casinos have insurance policies. Sometimes they do not accept bets beyond a certain size.

https://www.distinguished.com/Site/programs/hospitality-and-...
The big difference is that there are tools that allow automatic and guaranteed safe refactors for such languages. For instance, I can't guarantee that something as simple as renaming a method won't cause runtime errors in a dynamic language.
Is one of things they lack a solid moral fiber and will do whatever to win(lie, cheat, steal, exaggerate, fake things.. fake a reality that doesn’t exist, etc)?
I'm responding to the above paragraph, which editorializes:

> "The loss of Ms. Beren's story is tragic; that its loss occurred through Hurston's intentional neglect is infuriating."

The comment is about the tragedy of the loss of the 2nd survivor's story itself.
Name one thing, apart from breastfeeding, that men can't do that women can, when it comes to taking care of a child. Why is it, then, that it's still "unmanly" to change diapers, or god forbid, even be a stay-at-home dad?
So you can introduce a type system in a module, but you can’t write new version of that module in a different language? To me these seem comparable in scope.
Hahaha, I'm framing that and putting it on my wall!
She knowingly perpetuated the falsehood that he was the last survivor.
If it was seriously this easy to pull off, perhaps the real guilty parties here are the USPS workers who let this happen unchecked.
100K units in the first year, vs your king of consumer electronics today: the iPhone, which pre-sells and ships 100K units in what, several minutes?

I understand not everyone buys calculators, but that’s sort of the point of the article that this was marketed as a ‘consumer’ electronics product rather than scientific equipment.

Also there’s much less friction and much more marketing today, but it’s wild to imagine how millions of iPhones ‘move’ in a single weekend, every year for nearly the last decade and what is required to keep supply in pace with demand.
The content market has pretty much always worked by the precise inverse of micropayments: aggregation, bubdling, and regular serial subscriptions. The addition of advertising made market size itsef, rather than the content, the goal.

Irony is that it was the Master of the Channel himself who came up with the falsehood that "content is king": Viacom's Sumner Redstone. Maybe he believes that himself, but it doesn't make it the truth.
6 weeks is quite the break, personally. Does that increase productivity more than 3 or 4 weeks, for example?

Not saying we don't deserve that sort of time off, but it seems somewhat excessive given the circumstances.
> I suspect that many schoolchildren in the South can also remember the echos of segregation

To add to your point, they can see it now: Even though it's not the law, schools are highly segregated and, IIRC articles I read awhile go, funding to schools that are predominantly African-American is much lower.
> US (not invaded, economy grew during the war

GDP grew during the war due to federal debt. The standard of living markedly declined and didn't recover until much later.
Auction Your Skills and Jobs?
Nonsense. My sister-in-law is a professor and my brother is the stay-at-home dad, for the sake of her career. They're on kid #2 now. He does all the nighttime stuff so she can sleep and be refreshed for work.
Even more confusing then.
what is your argument? you just made a claim without evidence- would be more compelling with some. i think there is a lot of data to suggest the opposite.
I expect that the reason why most people honor the first is the high likelihood of getting caught or seen. This deterrent does not exist for web tracking.

I think it's more likely that most tracking companies ignore do not track.
Given the pace and pressure of everything they've been through and everything they're about to go through again, I'd say six weeks sounds about right.
That's a fair point for some games, but even in games where the gambler has a positive expected value would have him/her go bust eventually when playing against someone with much, much more wealth (ignoring the fact that you can walk away):

https://en.wikipedia.org/wiki/Gambler%27s_ruin
What’s the Difference Between a CPU and a GPU? (2009)
I'm not supported by my family (or anyone else). If, however, I was supported by my family, and they were a bunch of serial killers who used their money and power to murder people, then it would be morally desirable to drain them of their resources and deprive them of their ability to kill and slaughter.
Shorts are desperate. Current highest Model 3 VIN puts production at 4K/week. They’ll easily hit 5k/week target by end of June.

Usual disclaimer: TSLA shareholder
> i think there is a lot of data to suggest the opposite.

You also just made a claim without evidence. It would be more compelling with some.
When talking about wealth in our society (especially when it is tied up in real estate and other non-cash assets), things get a lot more complicated, especially when wealth can help move markets and set policy. I was purely talking from the perspective of thinking about games and probability.
Seeing as those same America First party people are the same strains of America trying to sell the upside of neo-nazism, I’m going to go with yes? Sorry I’m not edgy enough to sell myself on the upsides of racial and ethnic cleansing...
I spent the first 12 years of my career doing 80% C and C++ and a little Perl on the side and the last 10 years doing C# with a little PHP. Of course I've had to do some JavaScript. My experience with dynamic languages completely turned me off of them.

But recently, I was forced to learn Python. I have to admit that Python is joy to use for small scripts and event driven AWS Lambda functions, but I would still use C# for any large projects.

I can't put my finger on why Python+Visual Studio Code is such a joy to use compared to my previous experience with dynamic languages.
Electron is unsafe because it's based on outdated versions of Chromium: https://github.com/signalapp/Signal-Desktop/issues/1635
That's a bit tautological. Also, what do you mean by "good"?

Also many things cost less for wealthy people. They literally spend less as a fraction of their wealth than anyone else for credit, for example. Wealth will naturally gravitate towards them even if they do nothing more than act like anyone else because of that kind of thing.
Well look how communism in Asia played out over the ensuing 40 years. Would it have been such a horrible idea to let Japanese boys die fighting off communists? And why are 50+K American lives still at stake (and billions of dollars in defense spending) policing the region?

We should have worked with the Japanese and had them mostly run the place.

> Hitler’s not so bad once you get to know him

Agreed.
Companies are using many user research techniques to get into heads of their users and find out their needs and painpoints. One of those is shadowing users over some period of time, where as a user researcher you basically spend every day observing your users perform their usual activities in their environment.

The problem of many today's companies is not using this approach right - or even worse - not considering this as a part of their business strategy, and that's when their solutions fail.
The whole point of this system though is that it's _not_ a phone tree, it's a conversational AI that's so good at what it does you might not even notice it isn't human.

I agree that forcing people to talk to a poorly designed phone tree with terrible voice recognition would be rude, but this isn't that.
> That's an... awkward decision.

Journalists make this decision all the time: Do they take out the wrong words, grammatical errors, the 'umms' and 'ahhs', or vernacular, and make the speaker look less intelligent (for errors) or simply look like they are trying to characterize the speaker (vernacular), or do they insist on total accuracy? Note that most quotes in print are in perfect English.

Anyway, the article addresses your comment:

[Zora Neale] Hurston’s use of vernacular dialogue in both her novels and her anthropological interviews was often controversial, as some black American thinkers at the time argued that this played to black caricatures in the minds of white people. Hurston disagreed, and refused to change Lewis’ dialect—which was one of the reasons a publisher turned her manuscript down back in the 1930s.

Note that Hurston was a leading African-American intellectual of that era.
I don't think this analysis is valid. There are far more viewer entities than there are advertisers. In the current market, one party is trying to sell eyeballs to advertisers through a middleman. In a micropayment content market, it would be creators selling directly to audience. I think you're making the same kind of mistake when early computer pioneers thought there would be no more than hundreds of computers and no one would ever want one in their home. I both cases, the conceit is that both markets are the same, when in reality, the two markets are entirely different.

I'm sure you could have used the same conceit with cable TV to prove that something like YouTube would never work.