skysight-inc/HackerNews huggingface dataset:
Windows could be the first platform to ship Python3 without having ever shipped python2. Total clean slate, perfect opportunity, they could sell it as MS "aligning with the cloud" and offer something special -- if I could start and provision a Windows cloud instance from any python3 repl without having to bother with devops tool (Vagrant, Packer, Ansible and whatnot), I would switch tomorrow.
Could have, and perhaps should have, but I haven't seen anyone claim that it actually does delete the stored password after a failure. And it would be awkward if the automatic backup stopped functioning and required manual intervention after each intermittent network failure. It should be fairly easy for someone with an iPhone to test and find out.
I've been trying to teach myself some unicode code points because I'm getting sick and tired of continually Googling them and copying and pasting the result or bringing up a symbol character table.

In fact, I'd say keyboards are woefully out to date.

Specifically, I keep looking up † dagger (U+2020) and ‡ double-dagger (U+2021) for footnotes, black heart (U+2065) to be romantic, black star (U+2605) to talk about David Bowie's last album and ∞ to talk about actual non-finite entities.

I olny found out recently that Ctrl+Shift+u and then type unicode hexadecimal outputs these in Ubuntu, presumably all Linuxen. AltGr+8 is great for diaeresis while we're at it so you can go all hëävÿ mëtäl really easily.

edit: black heart and star are not making it through, why Lord, why?!
24607 (with the cheat), 621 (without) :D
Fun evening challenge :P

function isPrime(n){
if ((n<=1) || (!n % 2)) {
return false;
}

for (var k = 3; k < Math.round(Math.sqrt(n) + 0.5); k = k+2) {
if (n % k == 0) {
return false;
}
}
return true;
}
var nSpan = $("span#n")
var yesButton = $("button#yes");
var noButton = $("button#no");
var body = $("body");
function solve(){
if (isPrime(parseInt(nSpan.innerHTML)) {
yesButton.click();
} else {
noButton.click();
}
if (body.className != "end") {
setTimeout(solve,0);
}
}
solve();
wtf is with your scrolling? It all of a sudden starts changing and I can't go back up. I hate it when others complain about people breaking scrolling, but I think you've done it worse than I've ever seen anybody.

If you want to do a slider effect, can I recommend going horizontally rather than vertically? Your design is just too confusing and unexpected.
Hacker News: Where comments can be six paragraphs long and say absolutely nothing.
I've never ever thought that to myself. Then again my code never has triple loops.
The magic of Flask is that that thing is full of state and globals you just import and they work, like request, app, session.
Minimizing Faulty Executions of Distributed Systems [pdf]
Same here. I do regularly eat breakfast... but only because my preferred tea is strong enough that drinking it on an empty stomach is a very bad idea.
Recruitment in this industry is FUBAR.
Your assuming the wheel stopped rotating while it was lightly touching the side of the road. Visually you don't see the spokes on the low wheel, but you do on the vertical one, so it was still rotating.

If you think about it there was probably under 1 kg of force between the side of the wheel which has minimal grip and the road surface while he was attached for what 2-5 seconds?. Spin a wheel and try and slow it down from lightly touching the sides like that and it's going to spin for a while.

Further, while on the side the contact point of the wheel had a ~5 feet of leverage to the pivot point of the handlebars and the other contact point was a wheel. So, it would take very little force to get the bike rotating.

PS: I don't have a bike right now, but it should be easy to test if you do.
Yes, my wife was waiting on me for lunch so I made tons of typos, yes I meant find the only non duplicate number. and I meant O(1) memory O(N) time complexity.
Well, even though it's not idiomatic, it still works. A good question to follow up with is if the candidate is familiar with iterators.
Push notifications from Go with Apple's new HTTP/2 protocol
Tangentially, "post-lunch carb crash" means you have insulin resistance and should be restricting carbohydrates, either low-carb or ketogenic. You'll know you set the dial properly when you no longer droop after a meal. That is, blood insulin and glucose curves are mild.
"Pure and blameless" need not be our standard for "humane". At the least we can accept that a system of production better than the one we have is possible; let's start there. For example, enforcing the existing debt slavery laws and having labeling laws indicating this status would be a great start.
I'm Belgian (Mother tongue Dutch) so for clatification here is the translation of that quote:

"After one lap on the WC, the UCI checked the bike of Femke at the pit area with a kind of tablet. The bike was immediately sealed and taken away"

While that source doesn't specifically say who took the bike into the pit area, other sources state that it was taken into the pit area by mistake (probably her entourage) and that it wasn't the UCI who took the bike into the ICU.

http://www.nieuwsblad.be/cnt/dmf20160130_02100012 [dutch]

So in short, it _isn't known_ if she used the bike in the WC, but the UCI _alleges_ that she did.
hmm yea my memory might have adjusted it to a trial period -- looks like many of the most useful features are crippled in the free version.
"Inspect Element"
yes,that was the intention, I can't edit by now. I had to leave fast and then got "noprocast" on and couldn't reply / correct

but it is nice that people got what I said through the lines!

it should have been called findNonDupe and the var should have been called nonDup.

Hope I'll do better in a real interview ;)
The Longread from last September on The Latitude's expansion into a startup was pretty solid foreshadowing:

http://blog.longreads.com/2015/09/24/we-value-experience-can...
Secret court approves classified rule change on how FBI can use NSA data
Right, the point is that such an answer would reveal a more superficial understanding of the language than they might have earlier implied.
Just curious: are you making sure your interviewer are actually first trying to code the project in 3 hours before judging candidates?
I mean, it seems to me that most of my colleagues (and myself) are always very optimistic with respect to "how long it will take". So if you are judging someone based on your expectation without having went through it yourself, it can lead to a perception gap.
So, what about those who only have a desktop? If you want candidates to code on a computer, provide one. Although that had its own issues as well.
Thanks for the reply. I'll check out Ethereum; I'm not at all familiar with it. Seems like you'd then be losing some of the - for lack of a better word - purity of the system. If I understand correctly, part of the point with bitcoin is that there really are no central entities, gatekeepers, etc. It's completely decentralized - of the people, for the people, by the people. But if you need a way to "pay" miners outside of what the system deals in, seems like you'd be bringing in some sort of central entity. Not that that's a bad thing, I just understood it to be part of what bitcoin was avoiding. And maybe it will make more sense when I learn a bit more. Thanks again.
As I know, some of those contributors are just making systemic changes throughout LLVM, which would require touching the PowerPC backend.

I'm not at all surprised at the @[a-z.]+.ibm.com contributors, the @anl.gov is the code maintainer and highly visible contributor. The Argonne National Laboratory run a PowerPC based supercomputer afaik.
What is expected from something like "model a parking garage in code?"

Something like a garage class that has properties like numberOfCars, maxAmountofCars, maxHeight and methods for insertCar(), removeCar(), isGarageFull() ?
Wow. Now that would be something. Writing desktop apps in Python would actually become viable. You'd essentially only have to distribute your source code and dependencies instead of bloated binaries containing a Python interpreter.
I guess it works well for people unemployed with nothing else to do, no family, lots of time.

Everyone else, this sucks!
Right with modern floating point implementations its not the old guess-and-iterate method any more. SQRT is probably now on the order of an inverse?
On OS X, if you type Command+Control+Space, it brings up a character insertion menu where you can search by character name. I can get both daggers, black star and black heart quite quickly that way.
I think this is less of an issue when you code in Python, where the code is already somewhat pseudocode-ish.
I'm particularly biased as I went to school at GaTech but Atlanta has greatly improved over the last decade or so.

It obviously has a completely different social, ethnic and economic diversity than SF does as well as being far far more cost effective. It also has real BBQ as well as being not that far from Miami (my favorite city but not good to live/work in).

I would recommend Boston (where I currently live) except that it has brutal weather, fairly caustic hospitality to new comers and is not that much cheaper. Its great for college kids but no so much for early 30 somethings hoping to own something some day.

If your are going to live in or near Boston I highly recommend Waltham, MA where I currently live. Waltham is not as cool as parts of Boston or Cambridge but its a hell of lot cheaper. Waltham has so many things to do. I can fish on the Charles in the afternoon, walk down the river and watch a movie in the local theater and then hit up the massive bar and restaurant scene all in the same city with out hopping on the T or car.
Not that I'm in the habit of giving people the benefit of the doubt, especially when it comes to mangling grammar, spelling, and punctuation... BUT, I've noticed that awfully many people nowadays seem to think that quote marks are some kind of emphasis sign. So those of you who ARE in the habit of giving people the benefit of the doubt on shit like this might take that into consideration here.
2015 article comparing programmer salaries in various major cities adjusted for taxes and cost of living: http://tgeonetta.com/cost-of-living-vs-salary-best-cities-fo.... Austin comes out on top.
The top ten or so is about right, i just eyeballed http://www.forbes.com/families/list/#tab:overall

i guess it's more like $550,000,000,000 but it was just a casual observation. The rest of the list probably averages around $3,000,000,000 , so another $550 billion there.
One obvious workaround would be to emulate it with an FPGA.
Have always hated the half-ass integration Windows has. Half the stuff does not work as it should or is broken, no one tests on Windows and I doubt they will start now. Never been fun doing anything with non-MS stuff on Windows. I doubt it ever will be. As for writing anything, I don't know why I would bother with non-MS stuff on Windows platform, it usually does not come out well. C# is a great language and Visual Studio is great for using it. And it's free.
This Is Amazing Grace Cover
Fasting days (Mon/Wed) are recovery runs. I usually run long on the weekend, and do my workouts on Tue (intervals) and Thu (tempo), but before breaking my fast.

My Tue interval day may include a 12 mi AM run of 2 mi w/u, 8 x 1000M at 8K pace w/600M RI, 2 mi c/d and 4 mi PM recovery run. My Thu tempo is usually something like a 10 mi AM run of 2 mi w/u, 6 mi at HMP, 2 mi c/d, then possibly a 4 mi PM recovery run.

Sunday is my cheat day. But there's only so much ice cream you can eat in one day. :-)

During long runs, I usually carry 21 oz of sports drink.

Post-marathon recovery drink: Guinness Float (that would be Guinness draught and a scoop of vanilla.)

My plan this year is to run a marathon each month, and 3000 miles total. So far so good.
SSHKeyDistribut0r: A tool to make SSH key distribution easier for sysop teams
What is you approach for dealing with non-binary metrics that aren't normal? I've run into many cases where something like "Average Tweets Liked" tends to be heavily skewed right (extreme values and a LOT of zeros / ones). The nature of these distributions throws off the bucket size calculation. Any thoughts?
do you run in the morning or afternoon?

Yes. :-)
Small teams will do good with the current grouping. Larger teams will get complicated.

Feature idea: DM @Jack "What did @john @mike @gsharma say for their standup today?"
Prof
Ethical hacker
Oh come on. The language level async support in 3.5 is reason enough to switch imo, not to mention type hinting.
Adopting GraphQL
Wow. That's the most racist thing I've read in a while.
How exactly is it lock-in if unlike MS it's cross platform and cross hardware? Just saying "it's the same logic" doesn't make it the same when it contradicts the facts.
There are jobs where you don't have to answer this crap. You'll probably enjoy working in those types of places anyway. Have you tried companies that use software as a tool instead of being software companies? e.g. banks
Find a remote job maybe? Shouldn't be super hard to find one in SV. I know GitHub is one such employer.
When setting up Google Authenticator for One Time Passcodes, you are also given a seed which can be used to resteup the app from another device.
How to Close the Big Data Talent Gap at Your Organization
I would use "waste" to refer to the physical result, a bunch of trash or whatever. "Wastage" to me is the act, the production of waste.
Pd and Max/MSP are indeed great languages, at least with respect to being able to visualize audio signal flows. But I beg to differ with this idea that they can't be fast or efficient. Such languages can be compiled just like any other, though Pd doesn't do this in order to retain the flexibility of dynamic patching.

[1] I helped write a system called Heavy which can translate Pure Data patches into fast C code. https://enzienaudio.com/

[2] Here's a simple example video. https://www.youtube.com/watch?v=_zwI5g3NNYw
Last I checked, Rackspace wasn't accepting any more projects.
What an interesting article. To me, it illuminates two things: the desire for that child-like sense of depth and mystery that many of us still look for in our everyday lives, and the tendency for Silicon Valley money to turn everything it touches into a slide-deck-laden commercial enterprise.

Sadly, as much as I love the idea, I see the same thing happening with venture-funded cooperative living arrangements.

When I was studying in Berkeley, I lived in a student-run co-op house. We were the wardens of our creaky 1920s manor: we did all the cleaning, made repairs, painted (and mural-ed) the walls, did some remodeling, picked out the furniture. Even membership was decided collectively. As a result, the community we had was an emergent property of our environment, and it created friendships that have lasted for the past decade. Sitting in the overgrown backyard garden or watching the glimmering city lights from the roof, I felt immersed in a world of beauty and mystery for the first time in many years.

Lately, I've been seeing a lot of co-living/"nomad house" startups being posted to HN. You see photos of beautiful houses all around the world; fancy toys in full-size entertainment dungeons; attractive young people all working on their latest business venture. But I can't escape the feeling that all of this exists in that same corporate Neverland described in the article. Venture capital runs through the blood of these communities. They exist to make money. They don't own the houses. They don't get to decide their own fate. It's all a petri dish carefully designed from an office building somewhere in the Financial District.

As a result, when a true community does manage to take hold in this sort of artificial ether, it becomes all the more agonizing when corporate decides to pull the plug on you. If only the incentives were aligned; if only corporate didn't "really needed to monetize" the venture...

Maybe these sorts of spiritually-significant projects (and I do include the Latitude Society in this) simply don't work when run as a conventional business. And yet, there's clearly a deep desire for them to exist.
I used to be in a very similar situation, but I was convinced otherwise by this article [1]. The fact of the matter is that, yes, it's easy to become familiar with a variety of programming languages, but I think you actually learn a lot more when you double down on a language (platform, ecosystem, etc.) for a long period of time.

Quoting from the article:

> Leaky abstractions mean that we live with a hockey stick learning curve: you can learn 90% of what you use day by day with a week of learning. But the other 10% might take you a couple of years catching up. That's where the really experienced programmers will shine over the people who say "whatever you want me to do, I can just pick up the book and learn how to do it." If you're building a team, it's OK to have a lot of less experienced programmers cranking out big blocks of code using the abstract tools, but the team is not going to work if you don't have some really experienced members to do the really hard stuff.

In areas that I'm just learning or dabbling in (for me, Objective-C), I look things up or reach out to experts. But there are areas where I want to be the expert that others reach out to.

[1] http://www.joelonsoftware.com/articles/LordPalmerston.html
> And it would be awkward if the automatic backup stopped functioning and required manual intervention after each intermittent network failure.

But not awkward after a valid reply from the server saying "password incorrect".
Why the surface of Mercury is so dark
Thanks. Part of the issue is that there is a distinction between "ride" and "use". By the UCI's definition, putting the bike in the pit is "use" even though she may not have ridden it during that race. Do you interpret the UCI's claim to be that she started with the motorized bike, rode it part of the way through the lap, and then switched to a legal bike?
Nearly every health-related article that makes it to the top of Hacker News these days is stuff that was discussed in the Paleo community 5+ years ago. Earlier today was the benefits of a high fat ketogenic diet in regards to cancer, and now IF. Good to see you guys catching up!
> meh, there isn't (still) any reason to really jump onboard python 3, 2.7 is good enough for me

You're siding with a shrinking ecosystem (Python 2) over a growing ecosystem. Depending on your use case, this could range from inconsequential to inconvenient to disastrous.

If you have an existing codebase in Python 2, then perhaps the conversion to 3 isn't worth the effort. But if you're developing new software, the question is why not make the minimal investment to make your work compatible with the future of the language? When I see a new library and the author couldn't be bothered to adopt Python 3, it's a big red flag.
I assume the accusation of racism stems from the question's setting of Thailand, given Thailand's current problem with sex tourism:

https://en.wikipedia.org/wiki/Prostitution_in_Thailand
and an "automatic transmission" that engaged when on a hill or sensed pedal tension could eliminate the switch! Then it would be truly invisible.
yeah seriously, #2 is spot on. The moment you start brute forcing your way, network traffic gives you in and the security team will start blocking you.
By the time they find out you may have found out 1,2,3.. few accounts..
This is no way worth lots of $$ in bounty, let alone the 100k job offer, that's a joke.
There is a language plugin for pythonic decorators in Rust:

https://github.com/Manishearth/rust-adorn
Can Apple just revert the AppleID account on their servers to a backup with the old password hash?

If it were just a password hash and Apple still had that hash, then probably so. Is that actually how this information is stored? ISTM it could be something more complex. The system was not designed to support the FBI's intended use, so the fact that Apple could have logged and stored all sorts of things doesn't indicate that they did.
As a Bahai that is currently fasting, it's nice to see science and religion agree!
I'm in Raleigh/Durham, NC. You have great universities here (UNC, Duke, NC State, etc.), nice weather with 4 seasons, blossoming startup culture, Research Triangle Park with Red Hat, SAS, and a variety of other big tech companies with a significant presence, and relatively inexpensive housing! I moved here 3 years ago from the Bay area for quality of life reasons. It's worth a serious look. :)
This is a difficult one, I'm really excited about lithography and want to share my knowledge but since I'm working at one of those firms (dislcaimer here) I can share little...

So, let's stay safe and share some public knowledge:

1) The article mentions source power being a major factor and a huge improvement has been the addition of the prepulse (pancake). Here a great video showing how this concept works: https://www.youtube.com/watch?v=bRbHDtPbHe0

2) Short, beginners level, introduction how the EUV source works (note: this movie is made before ASML tookover Cymer, so some history here): https://www.cymer.com/euv-lithography/how-an-euv-light-sourc...

3) Chris Mack's coverage of the last SPIE conferences give a nice summary of the field: http://www.lithoguru.com/scientist/conferences.html
Note that Mack is an EUV-sceptic, his views on EUV are not commonly shared.
> Traffic is horrendous all the time.

I don't know where you got this, I live in Phoenix metro (Scottsdale) and traffic is generally great except for rush hour, and even then it's just I-10 that is really bad. It's true that stuff is fairly sprawled, but I can generally get _anywhere_ within 45 minutes, and the stuff I actually want to get to in less than 30. Plus the airport is right in the middle instead of out in the middle of nowhere, so it's much more accessible too.

As for the rest of your comment, well, OK then.
This would be extremely lucrative for a media outlet. You would need way less than 5 exploited high-profile celebrity accounts to surpass the $15,000 that were awarded in profit.
Seems like the video indicates Nonchalance used a projector, to animate the fable, on the book pages...or was it something more exotic (?) Kind of hard to see.

Link: https://www.youtube.com/watch?v=EAazLmTcmb0
We're in "hypothetical" territory there. So it could go either way.
4 more years needed to stop radioactive water leaks at Fukushima
Fascinating, facts hurt. Try rewriting that with "white" swapped for "black" and see how uncomfortable it feels. Of course, there are those who's racism is so broken they probably won't feel anything.
Didn't know a16z was in the business of throwing away money.
What are the benefits of using LE over Cloudflares HTTPS?
That Ctrl+Shift+u hint is nice. Now I can type all the time I want without having to browse for the emoji page to copy it.

And it sucks that I have to use so much that I know the code point for it (1F4A9) off the top of my head. :-(

Edit: I'm definitely putting in U+1F4A9 (the PILE OF POO character), but apparently hacker news strips it out. I'm guessing it's filtering everything that has a symbol character class?
Hack into zuckerberg's id, get his card info if it's stored, and for fun change the profile pic, send the news to top blogs before letting Facebook know. How much it would cost Facebook to do damage control?
Binary structure reader for Java
Correlation between slavery and lack of care for environment laws is obviously correlated — but why does the author link them together as if one happens when and only when there is another? They just have the same cause (willingness to break the law/ethics for profits) and I assume that there's a LOT of businessmen acting outside of the law in terms of ecology who are not slavers.