skysight-inc/HackerNews huggingface dataset:
Yes. Under "How To Prepare" -

Read through technical interview prep resources
HackerRank and Interviewing.io are good places to start. We’re also fans of InterviewCake’s Coding Interview Tips.

I.e., "here, go study and cram for your quiz". If you expect people to know the data structures and algorithms off the top of their heads (because you believe that to be useful), then why tell them to prep?

That's what boggles my mind. Technical interviews relying on data structure and algorithmic questions started with a few companies (primarily Google) thinking it was a good way to gauge how strong a candidate was. For their purposes, it might have been. But as other companies started to cargo cult it (despite their businesses requiring far less algorithmic work), a cottage industry of interview prep sprung up (Cracking the Coding Interview, various sites intended to help you practice, etc). And since that then raised the bar (you were now competing against people who were -explicitly preparing- for these kinds of questions, and frequently would have seen the exact question they're being asked, or one akin to it), companies, such as Asana, decided "Okay, to be fair to everyone, we need to warn them that we're asking these kinds of questions and so they should prepare well in advance for them".

Or...you could take a good hard look to decide if that's the skillset that is really important in your hires. If it is, you can probably give them legitimate business questions (which to be fair, Asana might do), as it will cover some of the same basics, but then giving the candidate access to Google, and access to querying and digging and figuring out how best to solve it might be a better gauge of their ability to solve those problems in the real world (unless for some reason they're going to be developing without access to technical resources and the internet). Or, you might find that your business actually requires people able to solve different problems, where implementing fisher yates is not the key technical deliverable, and so you can instead ask those kinds of questions, and see who can solve them based on what they know, and what they think to ask you during the interview.
> tap.equal(is("B").thirteen(), true); // B looks like 13
Would it be feasible to say, install Kubernetes?

I've read that a lot of what made zSeries "special" was that they had special purpose chips for a lot of things, from I/O to encryption and other stuff (not really well versed in the area so please correct me if I'm wrong).

Not sure how many of those special features you can use if you use Linux instead of z/OS, but could it be in principle something tractable or not even close?=
This is a great example of why it is important to use modules. If I were to try implementing this myself, I might have thought to check for the Chinese string "十三", but I doubt I would have known to check for the uppercase version of the Chinese string "拾叄".

More seriously, does anyone know what "uppercase" means in Chinese? Do they literally have two (seemingly unrelated) forms for each of their characters?
12 lines. He forgot to import numpy. Pretty cool though.
So the community itself should have no say in how things work? It's this sort of attitude that leads me to make comments which get downvoted.

More logically, Ycomb gets a lot of prestige and "free" marketing from the quality and popularity of HN. It's in their interests to maintain and improve that quality. Besides, they're hardly going to lose clients because a couple of negative comments don't get downvoted into oblivion as swiftly as before.
One of my least favourite parts of Euro Truck Sim 2 is the difficulty of glancing left and right at a T-intersection. Far too often the game spawns a vehicle in the direction you just checked, and then you have a collision once you pull out. Quick head checks in goggles sounds like a big improvement, as well as the feeling of being inside an actual cabin.
Is there any avenue for Apple to begin legal action against the US Gov't for hacking the phone, in order to shine a light on the truth of how the phone was "hacked"?
Well, welcome to life in a democracy. Nothing is ever settled with finality because there are plenty of ways for future generations to change the laws we cherish today--for good or ill.

Some thing seem to be permanent. High priority lobbying goals for big corporations. (Examples: Disney & copyright extensions. Corn & corn subsidies. Car dealerships.)
Only if the data is useful. Which is far from guaranteed, as many have pointed out previously.
Parent Like a Mad Scientist (2014)
100% Unique articles in less than 24 Hours
It stinks that the case ended like this — without setting a sensible precedent — but I think there is still some upside:

FBI director Comey's "Going Dark" narrative no longer holds water with anyone who's paying attention. He cried wolf so loud he's been heard on every continent. If and when he tries this again, he'll get a ton more blowback.

Similarly, Obama's jibes about security "absolutism" now appear ridiculous. As are his criticism of impenetrable black boxes protecting child molesters. What he really wants is for the Emmental-like extensions of our brains to have even more holes. That's an obviously un-winnable argument.

Also, the bar for proving you've tried all possible alternatives for gaining access just got a lot higher in applying the All Writs Act. It took three months plus a month of major international news stories specifically about this court case to gain entry — something that might really be impossible to achieve next time. But now everyone knows when they swore under oath many times in multiple public venues that they couldn't gain access, what they really meant was "not yet" and not "it's impossible".

Finally, Apple should now be motivated to remove themselves as the weak link in their security ecosystem. System updates shouldn't be possible without first wiping the information needed to derive the encryption key or first supplying that key. I can also dream about them open sourcing their code to allow security researchers to bug hunt (an impossible dream). And maybe they'll change their minds on bug bounties. Whatever happens, it's now beyond doubt that foreign entities are exploiting vulnerabilities in the iPhone and we all expect Apple to beef up their security accordingly — regardless of how this may hinder law enforcement.
No company on earth uses corporate counsel for this sort of thing. Apple hired two outside firms.
Looks valid to me.
Well, that's stupid of them.
Isn't this precisely what the article is saying though? That upon reflection the sufferer can't see anything environmentally wrong?
How about leaving down and up vote, but including a button for "disagree", which doesn't affect karma. I would use "disagree" instead of downvoting quite often. Leave the downvote button with its karma loss. That lets people downvote trolls/spams/irrationality, but lets the person being disagreed with that something's wrong. A "disagree" button may also help people to write a reply with the reason for disagreeing, rather than just downvoting and moving on, which in my experience happens a lot.
> When The People have close to 0% sway in Congress' opinions on bills, and corporations have like 70%, I'd say that's a pretty big freaking deal, no?

There's plenty of time to undo the actions of the past 10, 20, even 30 years.

If you sit back on your heels, throw your arms up in the air, don't vote and say nothing, then you won't be participating in democracy. But if you do use your voice and vote then at least you can say you tried. Everything won't always go your way and we don't have a perfect system. But given our diverse population it is a pretty good one. I say that while in full agreement that there are a lot of laws that need to be reversed or undone.

You'll never entirely remove money from politics. And, we should keep trying to remove it even though we know we won't end up with a perfect solution. That said, lobbyists aren't inherently evil and many share our viewpoints (for example, the EFF)
> to purchase stock [via] vesting

So when the rsu has vested, it is converted to normal stock, where you can sell on the market for cash?
I went through the IFTTT integration process a while back. I created a platform for indexing street art and made a service that can return nearby street art, when given a lat/lon point.

When I first got contacted about the IFTTT channel, I was excited. After realizing how much of my application endpoint I was going to need to rewrite, it became a task I kept putting on the back burner.

In my mind, the process of integration is being done well. It just requires a lot of lift for individuals who are the only developer on a project that already feels like it has a never ending list of tasks.
I think that either [1] That IS the joke, or [2] the issues are where the good jokes lie. Maybe the real joke is in the commits?
Is that a distinction worth making? By that standard, how many countries in the world are actually democracies?
Falling through the holes in Texas' pro-life laws
tap.equal(is('Olivia Wilde').thirteen(), true);

Fellow House fan!
Cork introduces cork taint [1]. My personal experience is around 1 bottle out of 12 is badly enough affected by cork taint to degrade the wine. With screw caps you just don’t get this which is great.

The only real issue with screw caps is the wine makers inexperience with using them can put too much sulphite in the wine, but this is a problem that has mostly gone away over time.

1. https://en.wikipedia.org/wiki/Cork_taint
> Evolutionarily speaking, it seems likely that depression/anxiety are there for some purpose, and yet we treat them both like meaningless pain meant only to be banished using drugs. I believe both are signals that something in our environment is not working for us. They indicate emotional or physical needs unmet---needs for safety, autonomy, connection, etc.

> Often the individual suffering is fundamentally unaware of their own circumstances. I didn't realize how messed up my family relationships were growing up until much later. There are various reasons for this unawareness, but I believe the depression/anxiety are there to force our conscious self and the people around us to acknowledge that something is wrong.

If a situation is causing no problems outside of depression/anxiety, and you took away the depression/anxiety mechanism, there would be nothing wrong with it.

If there are other problems, then piling depression on top makes it harder to fix.

A lot of medical conditions cause chronic pain. The pain helpfully signals "something is wrong" once, and then keeps unhelpfully reminding over and over. You want to treat the pain itself in that situation. Sometimes the pain is the only thing you need to treat at all.

Being an indicator of other problems does not make chronic pain useful. Depression is similarly crippling and unhelpful.
Is it true that Apple doesn't pay people to hack their products so they can patch up their security holes.
Can't someone do this in about 4 characters of Perl?
Does this work on IE7?
Almost certainly not. Most likely no one in the world has that capability, at least as far as I can tell. It would be extremely surprising if any government somehow broke AES without researchers around the world figuring it out within the same general time-frame given some new advancement.
It's a valid argument.
I am sick of reading about anything "deep" and "neural" on Hacker News (especially hype/puff pieces), but this blog post is so well-written that I'm upvoting it despite being about ANNs. I guess proper knowledge is the opposite of hype anyway.

I wish research papers on AI were a bit more like this and bit less like what they are.
That explanation doesn't make sense to me. Your brothers/sisters etc. have similar genes, but they don't have your genes. The theory of evolution is that the most fit genes propagate. So if your brothers/sisters propagate but you don't, then your brothers/sisters genes (along with whatever mutations they might have) are being selected over yours, just as if you had some mutation that made you overall less fit.
Some other people are saying they've seen Chrome complain, but I can't reproduce it. Please send email (support@pinboard.in) if you can figure out what's up.
> 11. Compatibility. Each Licensee Channel must maintain 100% compatibility with the Developer Tool and the Service including changes provided to you by IFTTT, which shall be implemented in each Channel promptly thereafter.

> 17.This Agreement is personal to Licensee and may not be assigned or transferred for any reason [...]. IFTTT expressly reserves the right to assign this Agreement and to delegate any of its obligations hereunder.

Any developer signing this agreement is nuts.
I want that
Are US railroads designed for double stacking, though? I've seen many railroads criss-crossed by highway overpasses etc. Wouldn't that put double stacking out of the question?
The article portrays Docker containers as an alternative to binary packages
that is typically mistaken for virtualization. If we take this train of
thought, we end up with a system that is bloated, overengineered, brittle, and
heavyweight. It's not to Docker's credit.
Only numerals have upper cases to prevent tampering. For example, you can alter 一(one) to 十(ten) pretty easily, but not 壹 to 拾.
Excellent video, I hadn't seen that.

Predictably, the argument devolves into one about direct democracy vs. representative democracy, and that's really not the issue at all.

The issue is that the current system consistently acts contrary to the will of the people.

To quote the Princeton study from your video:

The preferences of the average American appear to have only a
minuscule, near-zero, statistically non-significant impact upon
public policy.
There is no uppercase character in Chinese.

The Chinese characters are unicode strings.

The answer would be the same about an uppercase emoji.
I wasn't thinking of dynamic languages at all. I'd agree.
You missed "communists", "homosexuals", "union agitators" and "jews".
Incorrect certificate chain. When you moved to SHA2 certs, you failed to change the intermediates to the "Gandi Standard SSL CA 2" ones.
tbh that's what most people look like when using their phones
Lets hope this is all it triggers.
That stuff is not going to change over night, and lobbyists aren't inherently bad. It takes other lobbyists to educate Congress and the public about the flip side of the debate. Tesla is working on that now. If you yourself feel passionately about any issue, nothing is stopping you from launching your own website and campaign. You don't even need to be registered as a non profit. You can say whatever you like. Many countries' populations do not have the wealth and freedom to do what US citizens can do.
Yes I generally hate evolutionary just-so stories.

> if you reach a certain age and are not already a parent, it means you're deficient. It's better for the gene pool if you die without reproducing.

This explanation makes no sense to me. Evolution doesn't select for the overall gene pool AIUI, it selects for fit individuals. I can't see how, even in theory, this explanation would be plausible.

> If you're a parent and you did all that was needed for the offspring to survive the early development period, you're no longer needed and probably better off dying instead of consuming resources your children need.

This explanation sounds at least mathematically plausible to me.
I'm surprised that a majority must have signed already, for them to actually make the switch.

Hopefully this costs them a lot of buisiness and they have to revert.
So it seems, and by years.
This native version has much better performance: https://github.com/taganaka/is-thirteen-native
Thank you for the recommendations for replacement services. I emailed you about this - and I'm glad you publicly responded, because I smelled something weird in the way the IFTTT email was worded. Very disappointed to hear it was what appears to be pretty shady on their part.
It's not a direct democracy. That didn't mean it's not a democracy.

If you redefine democracy to be the narrowest possible interpretation, you eliminate every government in the world. You also make the word pretty much useless.
> Holding the case in public, and publishing the contents of the phone in public are very different things

And saying they "can't comment" as the GP suggested is different to publishing contents of the phone. They could easily comment on whether they found anything or not, whether it had any importance to the case, the nature of what they might have found without revealing specifics.

If they do simply say they "can't comment" then we will know they are lying, because because they already did comment, quite voluntarily: they just held a whole court case in public about it which revealed all kinds of gory details. A court case which Apple asked to seal and the FBI said "no, we want this to be public".
Chinese only has uppercase numbers (called 大写, lit. "big writing").

I̶ ̶d̶o̶n̶'̶t̶ ̶k̶n̶o̶w̶ ̶w̶h̶y̶,̶ ̶b̶u̶t̶ ̶I̶'̶m̶ ̶h̶a̶r̶d̶l̶y̶ ̶a̶n̶ ̶e̶x̶p̶e̶r̶t̶ ̶i̶n̶ ̶C̶h̶i̶n̶e̶s̶e̶.̶ ̶T̶h̶e̶y̶'̶r̶e̶ ̶n̶o̶t̶ ̶u̶s̶e̶d̶ ̶m̶u̶c̶h̶.

EDIT: Nevermind me, see xiaq's much better comment.
bad python code (why `if var==True:` instead just `if var:`) also linting would go crazy, use spaces ;)

great example though!! ;)
I remember when TF2 first rolled out support for the DK1. Good times. It was magical. Although most people reported that playing as the scout was not a good idea.
huh - maybe HN should have some sort of Karma modifiers like Slashdot did?
The concept seems quite interesting. I can hear slight differences between the different versions, but I honestly can't hear those differences as conveying any particular emotion. If you mixed them up and asked me which one sounded most "happy" or most "scared" or most "sad", I'd be stumped.
is this a meme reference, on hn?
> It's all down to personal responsibility. You have to find the drive inside to constantly push. To forget the victim mentality that society encourages. To fix one problem at a time. To fight the hellish mode that your mind has enabled.

This is what doesn't work. This approach is wrong - we already know you can't rely on peoples' willpower in normal tasks, what makes people think it will work with issues that by definition kill whatever willpower reserves you have? Talking about personal responsibility didn't cure obeseity, didn't cure alcoholism, didn't cure drug abuse - so it sure as hell isn't going to cure depression.

Now I'm not saying this is equal to putting all hope in drugs. Maybe there are other "social" approaches, but it won't help to tell people that depression is their choice.
Well, it's more like:

(2) run bin/whatever which is a 500 line bash script for setting up the jvm environment that has a 50% chance of not working if you are on a distro that's not Ubuntu or RHEL, and probably also fails if it takes a filename and you give it a filename containing a space.
Per your last comment, I'm thinking about changing this blog series to be a "blog" version of academic papers... starting with this one.

https://iamtrask.github.io/2016/02/25/deepminds-neural-stack...
Wine is already available in half-bottles, at various restaurants and elsewhere.
How important is it to have an “About Us” page for a 1 person startup?
Hello,

I will be launching my ecommerce startup in a about a week or so and was wondering how important it is to have an "About Us" page and what should I include in the page? I don't want to come off as being a 1 person startup because I feel like people won't take me serious. My target audience are millennials so I do know the kind of tone and culture I would like to have as a company. Any advice would be greatly appreciated.
The arguments the article lays out in favor of testing early autonomous vehicles as campus shuttles are compelling, and the reasons against not nearly so.

We expect a driver to provide certain services only because they happen to be there; like an elevator operator, toll booth operator, or person directing traffic, there's really no problem operating without them. You could easily put a "Call" button in an autonomous shuttle (as is seen in elevators) to cover most of the corner cases that need human intervention.

I think this test market is a great plan.
I hope someone eventually finds a way to perform arbitrary code execution based on SRAM.

Probably not on SMW, but Pokemon is getting broken enough that it may some day be possible. There's already inventory-based exploits that can get saved across resets, but someone still has to play the game and open up the inventory screen for that.
I would welcome a counterpoint in fact (vs personal statements). To me, the argument would be that Github has a dominant market position in public source code hosting, and using their ToS in this way would limit competition by hindering their distribution, and that this is contrary to the public interest (see "Dear Github" etc). I am by no means a lawyer, and would welcome correction and clarification.
Isn't this similar to the shit Twitter pulled on developers?

It's funny - nowadays people don't go along with stupidity like this. They just call the bluff of the business doing the strong arming and drop their support for their platform.

Seriously, if IFTTT want to force people do craploads of work for no real payoff, best of luck to them. I do hope most folks won't play along though. And those license terms? Yeah, best of luck with that. I wouldn't use them either!
https://www.ssllabs.com/ssltest/analyze.html?d=blog.pinboard... Google Chrome on Android ERR_CERT_AUTHORITY_INVALID You are using obsolute chiper.
This is the commit that caused the bug:
http://trac.webkit.org/changeset/186786

Notice the review line
They are both portals. Facebook social portal. Yahoo personal portal. Go to FB to check friends and discuss things with those you know. Go to Yahoo to check emails, and news and discuss with those you do not know. Facebook is your world. Yahoo is the world at large.
Plus the point of our system is to allow both good and bad ideas to be discussed openly so everyone can decide their merits. We haven't seen the likes of Trump since Nixon, and he won't be the last, but we are stronger for giving him room to speak. The bad ideas will hang themselves, even if he becomes president. The US president is not all powerful. There are many limits in place.
Uppercase is just a simple way to put it, but it's not exactly precise. Chinese has different numeral forms depending on the usage context. The more complex versions are also known as Financial.

https://en.wikipedia.org/wiki/Chinese_numerals#Standard_numb...
iMessage's missing killer feature
Apple should give users the ability to subscribe to text threads. Here's why.

My family has an ongoing text thread with 20 members. Sometimes the thread deteriorates into something i care nothing about and litterally 100s of messages that i dont care to review pile up in my inbox.

Why is this an issue? Its a nuisance for at least two reasons. First, the notifications are annoying. I cant get rid of them because I dont care to disable notifications on the messages app. I could put the conversation on mute but still that red badge shows me there are new unread messages.

The second reason its a nuisance? The rich media messages accumulate on my phone and take a dent out of available storage. Again, I i want to save messages on other threads. So i wont configure my phone not to save all messages.

For me, this nuisance is bad enough that sometimes i leave the conversation.

Leaving a conversation on an iphone is not costless to undo. To rejoin, someone must add me back. I can either wait until someone eventually adds me back, or i can ask someone on the thread to add me back. This is a real pain.

Solution: let me subscribe to conversations.
Oh, that actually makes a lot of sense. That also explains why they're used for checkwriting. Thanks!