skysight-inc/HackerNews huggingface dataset:
> (afaik) python is not very jit-friendly in general.

It's not too different from JavaScript, and as I've done some compiler development / run-time code generation myself, I really believe most of the tricks used in the modern JS jit implementations could significantly speed up the current Python. It would be probably too hard to make jits for all the platforms, of course, and it would increase the code base, and surely the memory demands, but for the most popular platforms it would be doable to reach JavaScript jit speeds for the code that does some calculations.

That's what I hoped would have happened at the moment Google took Guido to work for them. But they obviously didn't have such goals.

I think the biggest reason Python is still slow is that there weren't such kind of investments comparable to those for JS jits (or dot Net). On the purely technical level, I really believe it would be very possible. At least for a single-thread execution, and for the heavy calculations, disregarding the famous GIL or some other aspects.
A big part of proprietary software, especially when it comes to enterprise software, is support. When it comes to something like a bank, If I'm doing business with them I'd much rather they pay for proprietary software that comes with some level of support than leave them to their own devices with open source software.

"But what if the bank just hires their own staff to become experts at that open source software instead?" That could work, up until they need to make specific changes to the software for their business. So they fork the open source project and create their own variation of it.

Some of the banks profits now went into paying developers for the changes in the fork. Do you think the bank's executives will just want the money they put into the fork to potentially benefit all of their competitors by having them make a pull request to the original software? Probably not...and then you end up with proprietary software again. Only in this case it's worse than the proprietary software we started with, because every bank has their own fork of the original open project.
I believe what a user really cares about is the false negative rate.

10⁻⁵ versus 10⁻⁶ false positive rates don't matter when it locks out after 10¹ fails.
But it will be the false negatives that will by far be the most annoying and noticeable.

I mean how often will it be aimed at a wrong face compared to the right face?

I'm very curious about that. Generally measurements can be tuned in a way that exchanges false positives for false negatives (i.e. increasing sensitivity at the cost of specificity (or precision) meaning the phone can be made to be more sensitive to your face specifically (which is what they advertise with) at the cost of an increase in not detecting your face while it should.)
Right, who is to say that, including yourself. :-)
Seller’s Market Takes Hold Across Greater Boston in September
I once though about fickstarter.com (fick being the german word for fuck)...
Ask HN: What does currently not have an API but should?
Using these solution makes the development process much more troublesome than it needs to be, thus defeating the whole point of using python.
A new ransomware epidemic is on the rise
Top 55 most popular programming books on Reddit
That's not a quote, and there's no footnote or reference of any kind there. Got a better source?
That was just a single example, the greater point being - housing isn't expensive everywhere.

Also, you can't honestly believe that the ONLY jobs in Topeka are "Sales Associate" jobs. Your extensive 10 second google search was probably not all encompassing.
Best rated related books across r/askprogramming, r/programming, r/cscareerquestions, r/learnprogramming.
This is an updated list, calculated on data since 2011 up to September 2019 and based on a number of upvotes, mentions, and Reddit golds.
The selection contains Top 55 best books including their top comment.
> Society has bent over backwards to try and create equality of outcome for women, thereby simultaneously eliminating equality of opportunity for men

No, it's bent over backwards to address a pre-existing inequality of opportunity that disfavors women.

But what both sides find uncomfortable and avoid is the inconvenient fact that in a continued series of interactions over time (like life in the real world) rather than an isolated event disconnected from past and future, every opportunity is a product of outcomes at an earlier time, and every outcome effects opportunities at a later time.

Equality of opportunity and equality of outcomes are different concerns, but not at all orthogonal concerns. Any attempt to durably effect changes to inequality of opportunity will necessarily effect inequality of outcomes not only as an effect of opportunity, but as a key mechanism.

And, conversely, every attempt to safeguard existing inequality of outcome safeguards (whether it is the conscious intent or not) durable inequalities of opportunity.
I'd say that AWK's single weakness is a lack of built-in debugger or even `set -x` tracing mode like the shell has.
I noticed there is a 1995 version under a wiley series that you can get copies for half that price of the 2009 version
> Amazon only trusts its own delivery team to handle this work.

If this includes the ‘any guy with a minivan’ amazon flex drivers, then I’m out - I’ve heard way too many wacky stories about them to trust that enough for a lock.
Why do say they don't produce good PCB's?

Conformal coating introduces problems too and, moreover, makes repair intractable.

I don't know if conformal coating even works properly with the very fine pitch BGA's that cover much of the surface area of the PCB in an iPhone.
Is this really a demo of PNaCl? While I can find references to a previous project also called Colaboratory, which appears to have a Chrome app and probably indeed used NaCl/PNaCl, this actually appears to connect to a backend of some sort, as evidenced by the "Registration required" whenever you try to run any code in Google Chrome.
Is there like a 1 pager summary of what Kubernetes/Docker is? Ever since my transition to the business side, I feel like I've lost touch. What's the benefit of deploying using Docker?
From the intro: "It can be played by boys of every age [...] by girls of the better sort, and by a few rare and gifted women."

Never gonna read beyond that intro.
yes I agree, I have seen awk perform faster in some cases, but for the general case, I prefer something a little more flexible like Perl
I didn't downvote you, but upvoted the "thanks no" and flagged the post.

1) A website that doesn't work in browsers (without configuration) is crap

2) Google again shoving that unwanted browser in my face (on top of afs all over the place and the "Upgrade to Chrome" bullshit) is getting out of hand

You might present a workaround to read the website. Downvoters might feel like me and don't give a damn about this content if it doesn't display in a normal, modern browser..
Dumb side note: I always end up using `awk '{print $1}'` instead of `cut -f1` because cut's field separation defaults are unwieldy in that it doesn't intelligently consider any whitespace to be a field separator, which is what I need 99% of the time.
A vampire cannot just enter your home -- you have to invite him in!
Via Dave Mark http://www.loopinsight.com/2017/10/25/bloomberg-apple-told-s... :

> If reducing accuracy allows Apple to ship, this (if true) is a logical decision. It’s what businesses do. The key is to compromise without reducing quality to the point where it breaks. I think Apple would eat the delay before they shipped an iPhone X that didn’t meet their security standards.

So I don't think this is as big a deal as it sounds. The article makes it sound like they're allowing a half-assed product to make it to market, but it could just be reducing accuracy by a fraction that would be unnoticeable by the majority of uses.
I want anti-aging, but I believe that our modern society will most likely self-destruct in fire and death sometime in the next 100 years the most likely outcome, which would limit the usefulness of such treatments.
My "favorite" statistic about this is that Somerville, MA has 80,000 inhabitants, but only 22 legal-today residential buildings.

To be sure, a lot of Somerville is steep-staired, not-handicapped-accessible, and so on. But the most punishing regulations are also the silliest: high floorspace-to-inhabitant ratios, mandatory closets in bedrooms, punitive frontage and lawn space requirements.

At a certain point this doesn't look like a mystery: redeveloping in cities is inherently expensive, and conforming to elaborate regulations means only luxury housing (or sometimes, no housing at all) can turn a profit.
Fast would be something like Go or D or any of the other compiled languages.
I would prefer a blog series with maybe some type of interactive examples.
What I think the most silly thing I keep seeing in America is packages being "delivered" (read: left) on your front porch or doorstep ... like, why? Someone now can just grab it!? If someone is not home, what happens here (Netherlands) that the package gets delivered by the neighbours and you get a little note it was delivered to the neighbours. Neighbours aren't home? Try the next one until the delivery guy gives up or doesn't care anymore and delivers it the next day.
You can go to the definition, but the definition might just be foo.bar(). Whereas in a statically typed language the IDE can always tell you what the type is (you shouldn't even need to jump to the declaration/definition, you should be able to mouseover or hit a hotkey to just get the type without leaving the line you're on)
Firefighters basically never have difficulties entering single family homes...

[1] https://en.wikipedia.org/wiki/Halligan_bar
> Your algorithm should always generate complex passwords. Try to include at least one number, one capital letter and one special character.

This is one of the big problems with an algorithm. You'll eventually come across a site that -- for whatever reason -- doesn't allow that particular special character (or has a length restriction, or something else that makes your algorithm break). Now what do you do?

I use a password manager and generate 30-ish character long passwords, and I still occasionally run into sites that tell me it's too long. No big deal, I just generate one at the max length they support, save it, and move on. It literally makes no difference to me, other than I scoff at the ineptitude of the people that built the site and have to click a couple more times to get a new shorter password.
A couple years ago I got a robocall. It was a recording urging me to call my Congressman and ask them to cut funding to the USCB. Specifically that, the USCB. They did not use its name, only its acronym. They claimed that it was an agency responsible for harming small business in vague terms. After hanging up, I was curious so looked up what the USCB was. I'd never heard of it previously but after reading their website it was pretty clear to me that some company or companies was trying to drum up people opposing the agency based on sheer ignorance and misinformation. I should mention, I live in West Virginia where they might think that such a tactic would work. I get lots of political robocalls trying to convince me person X or Y is an enemy of coal or whatever (odd considering what a tiny number of people that industry actually employs... but it still holds most in the state in thrall) but that's the first I can think of that was trying to drum up support for something like this.
My parents installed a lockbox on their porch for packages. They include the combination to unlock it in the delivery address, which works most of the time. It's secure enough for the task and obscures whether or not a package is sitting out indicating you're not home. Plus, if it falls, the failure is contained. You could even get all cloudy-wowdy about it, if you want. Have the delivery folk use NFC, or some such, to get in. I find the "include the code in the address" solution pretty elegant, though. This seems to me like a better solution for their suburban single-family house.

...in fact, it's so much a better solution that I can't imagine Amazon hadn't considered it. They could easily sell Amazon Qubbies with the same pitch they're making here. I can only conclude that the real goal is to get you to install those cameras.

Side-anecdote/thought: I used to live in a mixed-use building with 20 units, or so. One of the businesses downstairs was a DVD rental place (this was only a couple years ago; they're still there!), and they volunteered to accept packages for the upstairs residents. Little informal services like that can add up to something that can't be replicated by all the technology in the world, and I worry a bit about the consequences of seeking to obsolesce them.
Awk is also a part of POSIX.
>Where I live almost every apartment has post boxes in the entrance area.

Curious where do you live?

Apartments in downtown chicago have those but not outside downtown high rises .
Seems pretty progressive for something published more than a century ago. When it first came out, American women were still not allowed to vote.
awk1line.txt is the original and still one of the absolute de-facto best awk references with examples:

http://www.pement.org/awk/awk1line.txt
Concentration camps ( the terminology ) derives from the spaniards' use of concentration camps in cuba ( Reconcentración policy ). But the spaniards got the idea of concentration camps from the US with our use of concentration camps on the natives in the early 1800s and onwards. We just called it a "reservation" rather than a concentration camp.

The first modern concentration camps were created in the 1830s and natives/africans were the first peoples put in concentration camps.

https://simple.wikipedia.org/wiki/Concentration_camp#Native_...

The british are generally credited with creating the first death camp in the 2nd boer war.

https://en.wikipedia.org/wiki/Second_Boer_War#Concentration_...

We know the nazis admired what the US and britain was able to accomplish with concentration camps and they took it to another level. Though today, concentration camps are associated with nazi germany, it existed more than 100 years before ww2 and it's been used to wipe out populations for 100 years before the nazis came into power.

Every major power ( every european colonial power, russians/soviets, americans, japanese, etc ) used concentration camps to some degree in the 1800/1900s. Some have even argued it was the greatest tool of war in the 1800s and 1900s before the atomic bombs were invented.
How are Austin suburbs a "cultural wasteland" ?
After trying this, 113 == 4 is still False for me.
Sadly not everyone can live in a *nix environment. Supporting Windows developers is a pretty damn big lynchpin...
A Masterclass on Slack's $5.1B Growth Engine and UTM Parameters
I don't get it either. Lots of people keep dogs in kennels. And I've had cats and they won't necessarily object to being put into a bedroom for a day.
They are in this discussion.
This is where clones would be helpful.
38 Experts Share How to Use Web Push Notifications [tips from the Best Experts]
Like a mud room or an enclosed porch? Lots of houses already have such places.
Exactly, which makes cut kinda shit for 99% of common "split-on-whitespace" tasks IMO.
Extensions like this are built on Adobe CEP technology. CEP itself is built on top of CEF (Chromium Embedded Framework) and Node.js. Since the web view is Chromium, you can use your favorite JavaScript frameworks and libraries to build the extension.

We just released CEP 8.0 last week, which updates to CEF 57 and Node.js 7.4.4.

More info on CEP here: https://www.adobe.io/apis/creativecloud/cep.html

And we have a GitHub org with libraries and samples here:
https://github.com/adobe-CEP/
How is measured the entropy of a password in https://xkcd.com/936/ is a good hint on why this could be dangerous. Passwords should be strong even if you know/deduce how they are generated, specially if the input data is something as generic as the site domain. Trying intuitive/easy to perform algorithms could be a different kind of "dictionary" attack. How complicated look a password from the point of view of a brute force attack is not the only factor that make them safe for any kind of automated attack.

Having a spreadsheet matching sites and algorithms may be another weak spot depending on how it is stored. Password managers usually keeps metadata about sites, not just the password, and it is stored encrypted.
There's a simplified how-to with photos of what it would look like:

http://www.instructables.com/id/How-to-play-Little-Wars-by-H...
Now the question is, did this person submit this post through instaaa? ;)
most public data on government websites in the US
I'm happy that IEEE is recognizing this, but there's a reason I'm no longer a member: IEEE supports software patents. Might want to remove that beam from their own eye first . . .
S!=aS. I can't think of many instances where I'd pay a recurring fee for the use of a piece of code. Code to me is an end-product, meaning, I buy it then I own it in perpetuity. I still have my copy of XP from the Paleozoic era but it's still mine and if I choose, I could spin it up. I can only think of two instances where I'd agree S[is]aS; signing up for a full class, and buying tickets. I thought both of these were clever ideas but I'd still be hard pressed to agree to pay anybody else for this "service."

That said, hat's off to those of you who make this work.
Problem definition is not the issue. Contextual awareness is the issue.

Humans use different sub-languages to speak to friends, bosses, dates, lovers, spouses, teachers, students, and so on.

Each social context has its own vocabulary, its own set of expected conversation starter statements, its own set of likely responses, its own set of problems that may need to be solved - and so on.

A lot of what passes for intelligent interaction among humans is really just this social awareness.

Machines will fail the Turing Test without it. But you can't teach a machine to mimic social awareness by throwing 100,000 hours of speech samples at it.

Nor can you expect Echo/Siri/etc to know the context you're working in with no input from social cues - location, dress, time of day, social relationship, facial expression, etc.

So practical ASR turns into spoken-command-line-plus-guessing.

That turns out to be a pretty poor imitation of even the simplest social relationship.

It's not a useless imitation. Even today's limited voice assistants do a fair job at providing a useful service.

But the idea that you can drown neural networks in sample soup to train them, and build yourself a machine capable of intelligent-seeming conversation is just naive.

That's not how baby humans learn to hear and speak, and it's certainly not going to teach machines to converse at a human level.
Cultural wasteland?

Wait till you have kids. Turns out it doesn't matter whether you can see a post-alt-rock band in a small venue, it's past bedtime anyways, and spongebob on youtube works everywhere.
I'm not trusting the vetting process Amazon is applying, especially after I experienced many problems with people working for Amazon Logistics.
Read what I said carefully. Individual messages, not threads.
Normally they just have a key...
No, if you look at vanderZwan's explanation for the non-tail recursive call, you'll see that it doesn't build on a finished result of the previous call.

> You have to recurse until you reach n == 0, and only then does the whole sum "collapse".
I’m pretty sure you can tune a parameter to trade off false negatives and false positives. If it has too many false negatives, you adjust it so that it doesn’t. Apple’s false positive rates surely come with an implied “at some acceptably small false negative rate.”
Why is this a bad thing?

If someone is offering the same service competition will drive down the cost. Nothing is sacred. Everything can be copied (and will be!)
I find that the amount of emissions from the production of the batteries is often glossed over. While I do think it can be lower over time.. today it's quite high. Just would be nice that it is brought to peoples attention more when discussing the savings from electric. Not to stop us from moving to electric but from an awareness factor.
Delivery blacklists are irrelevant compared to costs of home owners/renters insurance.
Yes, a password algorithm is better than using the same password over and over, but a password manager is better still, and while initially less convenient it's eventually more convenient (since with a password algorithm one must rotate all passwords on the terms of the shortest-lived key, and one must use the intersection of all password rules — which may not even be possible).

For that reason, I think that a secure password manager (e.g. password-store, KeePass or Password Safe, not something like LastPass) is generally preferable.
The best reference is "The AWK programming language" by Aho, Weinberger and Kernighan.
I mostly agree. But our system of government should also have checks and balances. I agree the locals should have a say, but they should not have complete unchecked power.
Best companies for remote work opportunities
"Are you wilfully trying to not see the point I'm making or something?"

No, I'm pointing out that:

1) "Efficiency" isn't the only goal in life. It would be more "efficient" for the entire population to live in barracks and eat some kind of nutritional gruel for every meal, but few would choose to live that way. We do things "inefficiently" for our convenience and pleasure all the time, and there is nothing wrong with that. For instance, I'll bet you have your own computer rather than using a shared computer at the public library, even though that would be more "efficient".

2) It doesn't really matter how "efficient" the conversion of solar energy to carbohydrate is, because it's free. That matters for other energy inputs in the process (e.g., the gas burned in running tractors) but not the sun itself.
V8 Release 6.3
I'd expect the ^C to immediately kill the connection. It sends a SIGHUP, which indicates the serial line has been disconnected. (Based on the DCD line, per Wikipedia.)

Btw, nice work on sway.
I attended a state school where we had presentations each semester from Google recruitment, including advice from alumni Google employees on how to schedule your classes and choose extracurricular activities if you wanted to be a strong applicant. I don't doubt that top school folks have some resources that others may not, but Google had some presence at my school (East coast state school with quite strong mathematics department and a relatively strong CS department).
> not something like LastPass

Why? Friends have found LastPass to be pretty reliable and user friendly so far.
I use both, but if your a non-server guy, your going to have a learning curve if you want to use a VPS.
> I do not want to have to look at my phone to unlock it.

But then surely you're 100% not the target market for any devices which contain Face ID and the accuracy is wholly irrelevant to your life?
I'm not sure it is an awful format for some people, but it sure didn't work for me.

I mean, I ended up implementing most of the problem sets in Python anyway - then had to transpile them into the bizarre undocumented form of pseudocode that was apparently the only thing the instructor and TAs could understand.

Combined with the complete lack of value added by the in-class lectures, compared to just reading the textbook, and the draconian attendance policy, it was far and away the worst class I endured in college. Particularly galling for a subject so central to the course of study and one that had material that could be so interesting if handled differently.
Most likely polishing their code of conduct.