skysight-inc/HackerNews huggingface dataset:
> But this is the generic facility for database access. This is just an additional special case it has to handle.

Presumably it would be using a lower layer - or more likely an existing library - for doing the actual query though?

> I could filter on the wrong column,

Not if you've got a typed representation of which column's which

> with the wrong operator,

Not if equality is the only operator available. This is one of my biggest reasons for using wrapper types around IDs - you shouldn't treat IDs as integers, because the idea of adding or multiplying or <=ing an ID makes no sense.

> with the wrong value,

How? You have to use the passed ID for something, and it can't do anything else.

> on the wrong table.

So make the table part of the type. A list ID is a different thing from a user ID, they shouldn't be compatible.

> I could decode the name column using the wrong encoding.

Encoding should absolutely be handled with types.

> I could return multiple rows per option.

Hmm, maybe. But I can't see how you'd do that by accident.

> At the end of the day, even in a statically typed language where much of the functionality would be verified by the compiler, I'd still like to have a test on this.

I started out thinking the same thing (I moved from Java/Python to Scala). I've gradually reduced the amount of tests I write over four years as I've found them to not add value. I was as surprised as anyone, and even privately entertained the thought that maybe I was some kind of super-programmer who was smarter than all those people who needed tests, but that month or two of trying to do stuff in Django made it very clear that it wasn't me, it was the language.

> Hmm... the fact that it deals with the boundary of the system and the fact that it deals only with converting data from one format to another might render it a poor sample (i.e. there's not really much interesting logic). I can come up with another if you are interested.

Yeah, happy to if you're interested. It's a useful exercise in thinking it through for myself as much as anything.
Half Life 3 will have VR confirmed!
Isn't this similar to the idea of banning web browsers, as they render HTML which, as we all know, can be used to write text (<span>plaintext!</span>) inciting terrorism? And it sometimes is. Are you using a browser right now?

Things we deem "evil" are planned using technology. Should we ban technology?

Nicely answered. This 'safety' insanity is getting way out of control.
What do you think of Steve Jobs? And the Current Apple. Do you have any meaning friendship with him? Do you miss him? Any Story to share?
IBM's Bluemix has supported Docker Containers for a while now, but hasn't gotten much limelight... probably as a result of the size of their community and Bluemix's sketchy [but improving] stability. Does anyone have any experience using their container service? And would this be a big improvement?
“Mighty Eagle” Peter Vesterbacka Leaves Rovio Entertainment
I have answered around 10 company interviews and cleared 8 of them. I have personally interviewed around 15 people so far.

My keys lessons are:

1. Whiteboard coding is not actually about coding. It is about talking with interviewer, coming up with examples and demonstrating a clear cut though process and of course then showing that you can convert idea into code.

2. All this requires very good communication. I always made sure I asked many questions to my interviewers, cares about what problems they solved and treated him as "fellow developer who took time to help me out getting a job" rather than someone who is a judge trying to judge me.

3. What really struck me about OP's rant is that he probably did not invest time in researching how he would be interviewed in first place. All the recruiters who contact you are absolutely clear in telling you what to expect. You were supposed to know what to expect.

4. If the interviewer was rude or indeed "threw" the resume on face, I would strongly recommend informing your recruiter about this. Such person should not be allowed to interview anyone else.

5. As an interviewer you are supposed to help the person get a job by convincing yourself that he could be a good fit in the company. This is not very hard. It is an exercise for you too. You just cant say "write DFS on whiteboard". You must drive the person in right direction, giving hints and even if the person lacks intellect/experience you must make him feel comfortable and good. Even though that person does not get the job eventually you must help him become a better interviewee as he leaves that room.

> you're truculent, uncooperative and insist on being the smartest asshole in the room, you will not be finding work with my team today

Can not agree more. Often really smart people tend to be humble and love challenges than insisting "this is not the good way to interview me". An intelligent and curious person will not run away from a mentally taxing activity, he would face it bravely and even enjoy it in the process.
Adolf Hilter’s last uniform sells for £213,000 at secret Nazi auction
L'iPhone 7 forse sarà dual Sim
I think the problem is that PayPal almost have a monopoly on e-commercial market, and because of the stickiness of users, it's hard to break the monopoly.
With the vast majority (99%+ of non-card Euro transactions, and a substantial majority of card Euro transactions too) going via SEPA in Europe these days, the benefit of Paypal is much reduced. It is competing much more with card payments these days than with direct transfers, given the combination of SEPA and even faster local schemes (e.g. in the UK, a huge proportion of smaller charges go via Faster Payments, which will sometimes be near instant and usually below two hours).

I still use Paypal quite a bit, but because it's simply convenient to use it and be able to change where my payments go from (which card/account etc.) without having to change what's on file with merchants.
I'm not sure exactly why a non-fissile material with a half life this long is a "problem". By definition it's not.

Beside these are the burnup rates for Once-Through solid fuel cycles. In Uranium reactors this is only recommended if you are actively trying to create weapons material, and in Throium it simply doesn't work. Not sure what the relevance of these articles is.
The same site has also done similar plugins for ClojureScript: http://blog.klipse.tech/clojure/2016/06/07/klipse-plugin-tut...

And Ruby: http://blog.klipse.tech/ruby/2016/06/20/blog-ruby.html
There are a number of videos on YouTube which demonstrate bypassing the EFI PIN code with USB-based brute force tools. Here are two which included purchase links:

Finding your lost EFI PIN code on a locked MacBook Air 2015 https://www.youtube.com/watch?v=r-9VCAUyJlM http://www.cmizapper.com/products/brutus.html

Unlock ICloud Locked Macbook Pro, MacBook Air, Imac , Mac Mini https://www.youtube.com/watch?v=iIo3jK-cd_w http://pfdinc.wix.com/icloudunlock

I have not had any experience with these, so cannot vouch for their efficacy (or safety). A comment for the CIMzapper claims recovering a 4 digit code can take up to 2 days and a 6 digit code up to 200 days, and that only numeric codes can be recovered.

Good luck regaining access to your MacBook!
That is still peanuts compare to the other and only female presidential candidate. Just google how bad she abused her power all the way back in decades. Using that as benchmark, Trump looks damn honest and worthy of POTUS and MAGA. He has my vote (together with almost few hundreds of my family and friends votes in Nov). It is always the choice of lesser of 2 evils and economy. Trump proved with his billions that he can do it when it comes to money. Though I don't know how evil he is, I do know the other candidate is on par with Dick if not greater. Don't get misdirected by the media and headlines. Do your own research and see the facts unedited for yourself to form your own opinion.
Perhaps they want to become "financial Facebook", to profile and and sell users' spending habits.
Another great example of the so called "democratization".
> Takes a few days though

Typically 24h in the SEPA.
It surprises me Perl isn't dead yet - in fact, German Bundeskriminalamt built a website for people having information about the German nazi hool riots during the France EM 2016 in Perl: https://www.bka-hinweisportal.de/
look into bitcoin.
Russian bill requires encryption backdoors in all messenger apps
I don't get the whiteboard hate. The whiteboard is no different from typing, except it's slower. The trend towards live coding is just kind of gimmicky. You have spend your time talking about the approach and the algorithm before you start writing anyway. If you're judging a whiteboard interview on syntax[0] then you're doing them wrong. It's all about the back and forth. The code is almost an afterthought.

Every live coding interview inevitably comes to a crashing halt when the interviewer wants you to actually run the code, because then it's 10 minutes of chasing syntax errors. (Oh missed a semicolon. Didn't close a string. Oh it's not add()? Must be put(). Oh that wasn't imported. Oh that was misspelled. blah. blah. blah.) Followed by another 10 minutes of sticking in print statements to debug the damn thing because you can't write a unit test, or have a debugger.

It's an equally bullshit setup. No one writes production code on a whiteboard, and no one writes production code with some dude staring over your shoulder commenting every other line about a comma or an indent style or some other trivial thing. Even pair programming isn't supposed to be that, and that's assuming you believe pair programming is useful, which is debatable.[1]

[0] I one time had an interview where the guy actually said, "Isn't it .size() and not .length()?" My response was, "Whatever."
[1] I actually don't have an opinion assuming "the navigator" is actually thinking strategically instead of saying bullshit like, "'instead' is spelled with an e-a not an a-e." Well, no shit. That's why it got flagged in the editor.
They only just got chip and pin cards, while everyone else is moving to contactless payments.
Maybe you're from Manhattan or somewhere taxis are ubiquitous? Where I'm from (Portland) nobody ever used to take cabs, myself included, because they were so sparse and terrible. I'm talking about regular 30min waits. I take Uber all the time now.
Real Time Performance Monitoring: Netdata
I believe they are too late to bring this up.
I do not understand how a "working" and "tested" code is not a "full solution."
This is worsened by a certain individual[1] who insists on reposting the same links multiple times a day.

[1] https://news.ycombinator.com/submitted?id=dnetesn
Why would this surprise you? Perl continues to improve and is battle tested. More Perl is written today than ever before (that said, much more software in general is written than ever before, and there is no doubt Perl's share has declined). Particularly if you're doing lots of text processing Perl remains a great choice.
You'll note that seafile has said they're looking for a German provider, which will be regulated differently from PayPal.

Germany has a much stronger attachment to privacy than does the US, so maybe they have fewer "Know Your Customer" laws.
Stripe seem pretty decent
Probably quite difficult in practice, unless he/she could somehow convince a mining pool or something.

Another option would be to set up mining hardware in a place like China with low cost electricity. However, this would take time, money and serious effort - if you cash out ether to fund it, you likely crash the price, and if you succeed in fighting the hard fork, the split in the community would likely destroy the trust in Ethereum and your funds go poof.
Nailing your check-in guest experience
We reward the wrong things
The problem is that moving heavy industry into space has to compete on a cost benefit basis not with doing those things in a dirty way on earth but with doing them cleanly on earth.

It may be more expensive to do manufacturing cleanly, but it's not that much more expensive.
Would you say DropBox is a file sharing service? Is every site that offers downloads a file sharing service?

I would interpret this restriction for services similar to RapidShare, MegaUpload, etc. with the only intention of sharing files. Seafile is primarily for hosting your personal data.
One important factor is the TEAM. They have one of the finest workforce. Extremely talented people driving the growth of the company.
> Isn't this similar to the idea of banning web browsers, as they render HTML which, as we all know, can be used to write text (<span>plaintext!</span>) inciting terrorism? And it sometimes is. Are you using a browser right now?

Search engines and hosting services already monitor for illegal content.

Reasonable people can disagree over whether requiring a filesharing service to monitor for illegal content is excessively onerous, but the slippery-slope fallacy does noone any favours. You can make any policy sound absurd by taking it to a far enough extreme. Often we do need to weigh up costs and benefits and take a policy line somewhere in the middle.
Best Elixir library ever: “rails”
Sure, but the NK and NV armies did have good anti-aircraft setups, likely much more effective than relatively untrained fighters with a weapon designed to shoot at other people with.

Richthofen in WW1 was brought down by a single shot from a rifle, but that is widely considered to be a freak shot.

Nevertheless, you're right that it is never safe to get in range of small arms fire, hence the genesis of the A-10.
>Agreed; with both of you. Maybe it won't be crypto-currencies, but Paypal Has To Go®. Let them screw up two or three more times.

They've already screwed up and screwed people over publicly dozens of times. Paypal does have to go, but I don't think paypal will die until someone offers an equivalent service.
> make a appointment with a highly reputable dentist (like weeks or months in advance) then go and try asking him some basic questions implying he might not know his stuff

I think that is ridiculous. Last time I had a mild dental surgery I asked my dentist how many such operations she had performed and how many she had botched up. She not only very patiently and willingly answered by questions but also told me that she had a failure rate of 12% which was industry standard.

If dentists, car mechanics and your local gun dealer refuses to answer question there is the good chance they really dont know their own shit.
Automatic Testing of Logstash Configuration
The main trouble with the F-35 is it is so expensive it can't be risked in actual combat.
This is a very snarky hyperbole. Solidity has as much to do with Javascript as Java does.

For starters, Solidity is a compiled, typed language.

It is still new and has to be improved.
Alex Gaynor had an interesting take on this - https://speakerdeck.com/alex/why-python-ruby-and-javascript-...

From what I remember - even leaving aside core language speed - the idioms of certain languages lead people to write slow data structures and algorithms. You can write (much) faster Python but it might start to look un-Pythonic.

But of course there is the counter-argument - if your web framework is your bottleneck then you're doing something weird. Personally I don't work on high-traffic sites and I'll choose expressivity over speed any day.
Of course. I just wanted to get an idea of the reasons without going too much into mathematical details. For projects I would just use argon 2 or bcrypt.
I deployed Nochex instead of PayPal back in 2005, and it took less than half a day, and came with guaranteed no chargebacks on UK payments and lower fees.

Good PayPal competitors have existed in this space for a long time. PayPal still remains.
> Particularly if you're doing lots of text processing Perl remains a great choice.

And, when you get right down to it, a huge chunk of web dev falls into that category.
"Article is currently unavailable"

Searching for this entry with keywords like "file-sharing" did not turn up anything.
Nochex was UK only when I used them, but their website now indicates they take payments from European cards now too.
Tencent Buys ‘Clash of Clans’ Developer Supercell for $8.6B
>Searching for this entry with keywords like "file-sharing" did not turn up anything.

Well that's really helpful of them.

I've updated the link, can you read it now?

Edit: FWIW, this was on the first page of Google for me - in Poland - when searching "paypal file-sharing"
And still, credit card fraud seems to be a huge issue in the US, while Lastschriftbetrug is a relatively minor issue in Germany. (and both have a charge back procedure)
Question to non developer profiles in SV (marketing, sales, PM, etc etc): does your interview include the whiteboard test?
The fuel which is being burned has a higher specific energy than pure carbon, (compare the specific energy of natural gas with coal [1]). The chemical process is methane -> pure carbon with CO2 as an intermediate state.

Of course you're not generating as much power as just burning the methane completely.

[1] http://www.engineeringtoolbox.com/co2-emission-fuels-d_1085....
Dissecting the GZIP format (2011)
CHATBOTS: The Next Big Thing
It's not a solution of the whole problem given, that's what we would call a full solution. An extremely good coder might approach 99% of the problem, but the average coder will only get to solve one or two subproblems, which would be around 30% to 50% of the full solution. But that's fine for us. Selecting an interesting part of the problem is one of the tasks. ;-)
I've got more insane and effective solution: https://github.com/seletskiy/zsh-context-aliases

So, aliases will change depending on the directory you're in.

And, instead of typing `g s` or `gs` to get `git status` you simply typing `s`.
Falsehoods programmers believe about addresses
BREXIT is a big mistake, but the song is amazing
>> Going through this process also lets you know if you actually want to work with the person.

This. That's the idea of an interview, to see if there is the right chemistry. It's like going on a date: the description/photos could be awesome but you quickly learn you don't even like having coffee together with that person. That is the point of a face-to-face meeting.

As for the background and the pedigree, plenty of the information can be provided and made ready for study without the need for an interview. The interview time should not be wasted on things you cannot assess in that short a time anyway.
It's the same for all other payment processing methods - no matter how you handle your money, "our bank drops us for one reason or another", "our creditcard acquiring provider freezes our funds for arbitrary reasons", "our favorite cryptocurrency suddenly loses liquidity due to a major fraud event" and all kinds of other channel risks should absolutely be on your mind if you want to, like, base your whole business on receiving money through that channel.

You should have alternate payment channels - even if you don't want to use them now, even if they're twice as expensive, if you need that money flowing then you want to have a solid alternate payment channel. Even if you don't want to advertise them to your customers due to e.g. costs, then you want to have all the legal agreements and technical integration in place so that you can turn it on right now if you needed to.
"This is not a hacker's playground."

It could have been if they followed bitcoins path and started with 10000btc pizza orders :) Greed take over too soon to realize the flaws.
My impression is that people come in for a chat about themselves and their past experiences. The guy running the shop can easily tell if they know what they are talking about. If he likes them they are brought on to the team and then evaluated over something like a two week period.

How about a chef, a surgeon, a car mechanic, an architect? Are any of these put to the test and asked to practice their craft right on the spot during the interview? If so, my knowledge of the job market is sorely out of whack. If not, why do IT companies consider themselves so important that they have the right to make potential hires run the gauntlet?
Python is not slow, cPython is slow. PyPy is pretty fast.
And potentially creating a heap of new problems seems as there is a good deal of research which suggests that carbon nanotubes are genotoxic and carcinogenic.

Disposal of it could be just as costly as Asbestos with just as adverse side effects.

I fully understand that some people getting cancer is less of a problem than our planet becoming uninhabitable, but it most certainly can't be swept under the carpet and forgotten about.

http://www.ncbi.nlm.nih.gov/pubmed/23751780
http://www.ncbi.nlm.nih.gov/pubmed/16686422
http://www.ncbi.nlm.nih.gov/pubmed/20795897
We need more randomized trials in nutrition–preferably with negative results
That's basically saying it's all environment, except for the things that aren't.
In Germany (and possibly in certain other countries) there is a special language people use in written references to issue a positive reference (others aren't permitted) yet include certain information "between the lines". There are books on how to write these things and how to detect them.
A lot of US banks have actually opted for chip and signature instead of chip and pin...
Previous discussion:

https://news.ycombinator.com/item?id=5791489
Fancy a quick cuppa – in 5,000 words? (1999)
Ducks: proposal for bundling reducers, action types and actions when using Redux
Show HN: A Repo of Python Interactive Coding Challenges
Is Faster-Than-Light Travel or Communication Possible? (1997)
Hi Alan,

Thank you for spending some of your time here and writing your thoughts.

I would like to ask you for some advice.

The idiom "Everything old is new again" is currently picking up steam, especially in the hardware and software scene.

Amazing stuff is happening but it is being drowned in the mass pursuit of profit for mediocrity in both product and experience.

What would you say to those who are creating wonderful (and mostly educational) machines but finding it difficult to continue due to constraints and demands of modern life?

Most don't have the privilege to work at a modern day Xerox PARC. Then again there is no modern day Xerox PARC.

Thanks for all the inspiration!
Major Reforms Set to Shake Up the UK Prison System
> swarms in the future will be self reliant

I think the biggest issue is the size and power requirements of modern radars. You can't make tiny drones if none of them has a radar, so you need at least some of them to be big. If it's big and has a power hungry radar, then it also needs a big powerplant. The big powerplant drinks a lot of fuel to get any range etc. etc. If a small craft could be self reliant, then we would already be building homing missiles that provide their own radar. We don't because it makes them too big, slow, heavy and expensive! A BVR missile like the AIM-120 relies on the Radar of the firing aircraft for finding the target.

So the drones will have to be launched from carrying aircraft. We'll definitely see groups of planes very soon where some are manned, and they may be simpler and cheaper than the manned equivalent, and another category of drone that is actually launched from the carrying aircraft to rely on its range. This will limit the number of big expensive planes needed, but in reality what they did then was replace cruise missiles and standoff bombs with drones, not the launching planes.

> The US might get a full life out of the F-35, but I doubt they'll build its successor.

I also doubt they will ever make a "joint" effort again. We'll continue to see large and expensive planes though, so long as radars are massively powerful and we haven't invented backpack size Megawatt-hour batteries or tiny fusion reactors.