skysight-inc/HackerNews huggingface dataset:
Many interviews are not pure whiteboard algos. And many interview processes are different, each company is unique.

When I interviewed a couple of years ago, I saw various kinds of interviews at companies:

* 1-2hr on site coding exercise, with the internet, alone.

* 'Here is a 100loc piece of code, fix all the problems with it'.

* Chat with product / manager / team lunch. ('Are you an asshole' test / 'culture' interview / scenario testing)

* Design / outline an app that does X, with boxes and lines on a whiteboard.

* Solve this algorithmic problem on a white board / on your computer.

The reason why everyone freaks out about the algo interview it's the only interview type that most engineers have to prepare for. The other 4 usually you don't have to do much prep work at all.
You are building a self driving AI without knowing
first 140 chars are free.
141st and subsequent costs $1 ea
> If google really had the well-being of internet users at heart they'd shut down google analytics and stop accumulating profiles.

how would that "help" the well-being of internet users?
Shameless plug: I wrote a Chrome extension to provide a tree view: https://github.com/paulgb/Treeverse/

(It's more a visualization style than a reddit-like threaded conversation interface, but it might accomplish what you are referring to)
Captcha using Giphy
ShowTime is extra on top of the $35, and I don't see any other channels on the page that aren't OTA in my area (where'd you see ESPN?).
Fair criticism for sure, sometimes it can be superficial, but hey at least they're trying, unlike their parents.
Just in case if anybody needs :)
https://www.microsoft.com/developerblog/real-life-code/2016/...
> It's both amusing and absurd that what was practically intended as Java's little helper, JavaScript, has grown up to be this thing that might actually replace Java entirely.

I though JS was named to piggyback on Java's popularity, not because it was actually intended to complement Java.
I've placed a hold with my local library to check it out.
Until I have a chance to read it, that appears to be an argument against attempting to diagnose an individual without significant psychiatric observation, which is a noble goal. But assuming the citation of the book in the article is correct, then there appears to be a link between psychopathy and being a CEO. Is your contention that this finding is incorrect or that we need to be careful in how we interpret the finding?
Shorter version:

What is change? How do we know what we know? What is the relationship between speech and the thing spoken of? What is the relationship between knowledge and the thing known?
You're using a separate column (which is a CHAR, VARCHAR, or TEXT field) to store the selector INSTEAD of the database primary key.

From the example query:

SELECT tokenid, validator, userid FROM password_reset_tokens WHERE selector = :selector AND NOW() < expire_time

The columns in this query:

- tokenid -- the primary key
- selector -- some text data, used in WHERE clause
- validator -- some text data, not used in WHERE clause
- expire_time -- timestamp

You have a 50% chance of a collision in a 64-bit space after 2^32 values. That means you have a 50% chance of it happening once after you exhaust your 32-bit primary key space.

https://en.wikipedia.org/wiki/Birthday_attack
Every long distance international train ride I've done has involved handing the conductor your passport if on a sleeper (typically overnight crossing), or someone coming round to check if it's not a sleeper.
I can agree that people with different lives have different frames of reference. Though you're also basically implying that your "reality" is the right one and that mine, as you said before, is "distorted beyond recognition". My views are based on reality as I see it. I can link you to a reputable news source on each one happening, in fact I can link you directly to statements from the administration itself proving each of these. You say that "I am not saying you don't have a point here", so you're not exactly denying that what I've said isn't true, but then you also say that things aren't so dark and sinister... I listed actual things that are happening. I didn't say "Trump is going to put us into concentrations camps immediately tomorrow!" If I resorted to hyperbole I'd agree with you. However, everything I've said is based on actual events, and for me as a minority and someone who cares about minorities, no things will not be looking up as indicated by Trump himself and the people in his administration. Maybe you don't care if you're a well-off white male, you probably won't be affected, in fact you'll probably stand to benefit. But no, sorry, this is my reality and the people I know and talked to feel the same way. (I'm not just reacting to some possible future, I'm reacting to what's already happened) I thought Trump would just be harmless and not do much in office, but I've obviously been proven wrong and I'm not looking forward to what comes next, so yes things are looking dark in my future.
Well, it's basically that "Uber Black" no longer exists as a distinct service. That has screwed drivers. But still, that was a risk they took.
>Many people don't have guaranteed room and board for that long.

If a person has been in the industry for more than than three years and doesn't have 3 months cash reserve saved up[1], they are severely mismanaging their finances. _Particularly_ since we're seeing increasing warnings from the financial sector that we're in a bubble already.

[1] barring some unexpected catastrophic expense
The article's descriptions of Albi remind me of coral bleaching at barrier reefs. It's possible to recover until a certain point.
"fraction of the cost" - how do you figure? Or are you just saying from a cost-to-store perspective?

Your Egress prices are quite a bit more compared to CloudFront for sub 10TB (.12/GB vs .085/GB).

The track record of s3 outages vs time your up and sending Egress seems like S3 wins in cost. If all your worried about is cross region data storage, your probably a big player and have AWS enterprise agreement in place which offsets the cost of storage.
Sam Altman on Start-Ups, Venture Capital, and the Y Combinator (06/2014)
This. The last thing I want to work with is the guy who re-implements well-understood problems with well-implemented solutions.

So many security and performance problems I've run into boil down to people not bothering to use a good standard library or framework for solving a problem.

Or, at a more fundamental level, people who can't be fucked learning SQL properly so haul heaps of data into the application and try to beat Oracle at implementing joins and GROUP BY[1].

[1] If you can beat Oracle at that, you are wasting your time working with me. Larry, IBM, or Microsoft will give you swimming pools of money to come make their databases better.
> Obviously, asm.js neither has JIT reoptimisation overhead

Why does it never need to re-optimise the JITed code? I know WebAssembly and asm.js are more static than JS, but even very static languages like C benefit from speculative optimisations which may need to be reversed. For example asm.js and WebAssembly have branches don't they? Does the JIT always compile both branches even if one has never been taken in practice?

And what is the reoptimisation overhead anyway? If deoptimisation is caused by a bad speculation on the same thread, it's zero overhead on the fast path until it's used isn't it?
Think you're mistaken, I don't have downvote privileges!
Immoral perhaps, but not necessarily illegal. Does anyone know where this took place? I wasn't 100% certain from the article. Many U.S. states have a single-party consent wiretapping law, which permits this kind of surreptitious recording.
nobody has asked me that because this normally happens within the typical 3-hour interview scope, but honestly that's fine too
I think we should differentiate between the interview process of Google and such, and (for lack of a better word) average companies. Average companies almost never need sophisticated algorithms and perhaps, even if someone put such sophistication in, the return would be marginal ("sub-linear"). However, this does not seem true for Google and such - the return on investment of a sophisticated algorithm looks to be super-linear. So it makes sense for Google to filter candidates by knowledge of algorithms (among other sophistications) and for most other companies to not copy Google's interview process.
The blog post had logos for several cable sports and news channels (and a few other cable channels) that are not available by broadcast.
Maybe read the blog post first before commenting?

https://youtube.googleblog.com/2017/02/finally-live-tv-made-...
Thanks for taking the time to post a timeline from the perspective of an S3 customer. It will be interesting to see how this lines up against other customer timelines, or the AWS RFO.
Anyone who has 35 bucks can lock themselves in a room for 3 months with a copy of CTCI and a pad of paper and come out with an 80+k salary.

If anything, this just tells us what a low bar to entry the CTCI drill is.

Say you had a pool of candidates of roughly comparable intelligence, educational background, and work experience. And then you gave them 3 months of all living expenses paid† to go an "improve themselves as software development professionals."

One of them comes back and says "I cranked out an MVP (relying in part on a language I only barely knew to that point) that's actually being used by people, and getting good reviews. Here, check out he repo."

Another says, "I thought it was about time I got a handle on this machine learning stuff. Here's a project I did, based on a generalization of some ideas in such-and-such paper. Wish I had more time to spend on it, but looks like my error rate's not too bad."

And another says "It took literally 6-8 hours of devoted practice, every day. But I finally got some serious traction on Japanese. I honestly thought I'd never be able to do that."

And then there's the guy who says "Oh, I looked myself in my apartment and did every exercise in CTCI. Because, you know, I heard that's what you're supposed to do. Damn, my back is sore. I think I need a better chair or something."

Who would you rather talk to first?

† Which costs a lot more than 35 bucks, BTW.
The only content on the page says, "Stream ABC, CBS, FOX, NBC & more."

While "& more" could include anything, I'm going going to assume it doesn't include any of those or they'd be listed. At the very least they'd put ESPN as that's the big one for people cutting the cord and wanting to watch live sports.
It is not "or", it is "and"; your statement compliments mine.
The idea here is to take an existing protocol which previously ONLY gave the user a random 64 character hex string (representing 32 random bytes), and make it more secure with no changes to what the user sees.

This is advantageous because such a change could be implemented without invalidating existing tokens.

> What is wrong with this simpler approach?

Now you're requiring two pieces of data where the connecting user agent only sends one. If the client is a piece of software, you're imposing a maintenance burden on them to use the new approach.

What you're calling a "convoluted" scheme ensures a smooth transition. Better security with no compatibility breaks.
acquire nuzzel
Admittedly, I was without internet working from home for a few days, and I found it a very nice experience. Not being able to go to Hacker News while compiling managed to keep me focused and on the flow. When I had to look up stuff I found myself digging in /usr/share/doc to find the reference manuals... in a way it took longer than looking up the answer in Google, but it forced you to better understand the system you are using and build your solution from that understanding, sometimes considering third options that one would have missed when stack overflow already contains a bunch of snippets to copy paste.

Of course, I am idealizing the experience (eventually I really needed internet and ended up going to public libraries to use it)... but like everything, maybe we are getting too used to the instantaneous and forgetting that the alternatives are actually not so bad and sometimes empowering.
You're getting downvotes because you don't understand that B being down is not an effective indicator of the status of A, even if B depends on A.
Uber cars aren't technically owned by a business like a hotel is though. If you stay the night at my house, there's a DVR system in some of the rooms. Deal with it.

Edit: Also, you probably are being filmed elsewhere in any major hotel (lobby, halls, etc). And I've seen plenty of that footage end up on TV.
You know what else would make mass surveillance hard? If we encrypted all our hand written notes and invented spoken languages known only between friends and families-- but sometimes privacy is sacrificed for the sake of convenience.

Clearly there is huge variance in the value individuals place in privacy. And I guess that is where the author and I disagree.
Just as many things I love about python, I hate about python.

Each time I get to the part where I need to modify the path which the import mechanism uses to look for modules, clean up the loaded modules to make sure I'm not reimporting an already loaded module by the same name, in order to import a module which is in the SAME DIRECTORY as - get this -__file__, I need another coffee.

Also "len(...)" is not obvious.
> What is wrong with newspapers nowadays? It seems the press decides someone's "fair game" and they just engage in the most blatant character assassination.

You're peering through time with rose-colored glasses.

American history is littered with instances using the press to smear and undermine the oppositions, whoever it may be.

The Founding Fathers, a number of them with close ties or financial stakes in printing press businesses, used it regularly to peddle an agenda.

Appearance and opinion have long mattered. Because they are really the only things we have on which to judge. Everyone has their own personal view and influencing that is the goal. Not truth. Never in the history of the nation has actual truth-seeking been the goal of the powers that be in politics or media.

Ideas like we're now in a "post-truth" world are bizarre. It's nearly a truism of the species to use a pedestal to smear enemies and endear to us our fans.
It might be interesting to ask the same question on the partner site http://philosophy.stackexchange.com/
I'm not defending whiteboard interviews, but I don't think it's a secret very very few candidates answer the questions from real experience. Rather, it's obvious the main approach to dealing with whiteboard questions is to read up and memorize the stuff before an interview.

To what extent are companies using whiteboards to test who is serious about getting the job? And who is willing to put in extra time and occasionally do unpleasant extra work?

Again not defending whiteboards, and I can think of ways to improve it especially for the more experienced engineers. But all else being equal in terms of two candidates experience and skills and fit; the candidate who was able to memorize things just for the sake of the job, who did research and who came prepared etc. Well that candidate might have the upper hand when making the hiring decision.

Right or wrong, companies do want to test for things besides current programming skills, like being a team player and do things that aren't easy or enjoyable. 80/20 rule maybe applies. How else to test this stuff if companies decide it's important?
New Zealand Will Give You a Free Trip If You Agree to a Job Interview
Tried to make a simple looping note, pressed play and it hung my tab with an 'unresponsive script'. Nice concept UI, but couldn't make any sound.

The idea of the 'puzzle pieces' to show where to slot in components is very interesting though. Maybe, although my pieces stuck together properly, it was syntactically invalid? I would think that with the design such a system would prevent invalid programs from ever happening; quite an achievement IMHO.

Now if only I could get it to make some sound...
> an artist looking for new opportunities to make a difference.

The only "difference" I want to make is in my checking account. I want the deposits from my employer to "differ" by greater margins as time advances.
Lol, asynchronous is harder to reason about than synchronous. Plus just about anything goes in the browser. You can put anything anywhere and alot of things are global by default! And as a noob you have enough on your plate learning OOP and
REST. I'm glad I started with Ruby and Java and got really good at OOP and clean compartmentalized code before jumping into the madness that is browser land. Just my opinion.
I know Seth, he's awesome.
One problem with that argument is that the person who's been doing it for years and has seen it all will not be able to do it directly from memory, because those problems almost never come up in practice.

It's like interviewing a doctor by giving them the symptoms of some rare 3rd world disease, that they maybe studied back in school, and judging their ability based on how well they diagnose it.
This is a cool idea but it still falls very short by not serving users outside of the US. To the point where the welcome page doesn't even acknowledge that there may be global interest: https://tv.youtube.com/welcome/ (enter your ZIP code, no country picker ... YouTube, you do realize you're on the internet, right?)

Does YouTube care about getting content to the world? Or just getting as many of their fingers in the pie as possible and abusing the current geo-restricted licensing model while they can?
One thing that is missing from the article is an actual link to Florian Jourdain's blog. I was really wanting to see it, but no reference was to be found. As an English speaker only, I found myself hitting a wall when trying to search for more info. The most I was able to find was a news article ( http://www.centpourcent.com/les-infos/albi-pour-un-centre-vi... ) mentioning just a little blurb (and a bit from Stéphane Kuntz, presumably the head of the merchants association mentioned in the NYT article).

If there are any French-speakers around here, I would love to see any links to prior articles about this (either about the blog or this other fellow's opposition).
Tell that to Apple's 200B+ war chest, or to the profits that are distributed as dividends instead of being paid out as wages. A lot of the wealth created by corporations is not subject to income tax (only capital gains tax) and overwhelmingly benefits only those who can afford to be in the market.
What is the best cryptocurrency to mine and why?
Given all the variables in mining profitably, which cryptocurrency would you risk mining?
I'm working on a video-centric startup right now and have been putting a lot of effort and thought into this over the last few days.

I started off using the Streamble API to upload and serve videos before realizing I needed more control. Now, I'm heading down path #1 and am working on getting GCS / Zencoder / CloudFlare working.

Have you discovered anything significant or had new thoughts in the past week? I'd love to chat about this with somebody as I'm solo and find myself questioning my knowledge in some areas.
Here is the registration link:

https://www.lookseewellington.co.nz/account/register
It's bad because people should be free to use whatever language they want to use. Dictating the size of signs in French and other such nonsense serves no good, and in fact is one of the reasons why Quebec is not exactly a hotbed of progress. (To put it very mildly.)

Isolation because of language is something fairly unique to Francophone areas, you see the same in Belgium.

Quebec is near the bottom of the pack when it comes to per capita GDP, close to the Maritime provinces and that's including all the government entities present there.

If Quebec would let go of the 'French first' mentality it would likely recover at some point in the next two decades but creating this barrier to commerce has not served it well.
> Sure, but keep in mind that in this situation he is a guy in his private life who has been blindsided and accused of ruining this guys life, with, what it seems like from other posts here, lies.

Oh come on, he's the CEO of Uber and he took an Uber. Probably every single Uber driver in the country if not the world knows who he is. If he doesn't have an expectation of being recognized and asked about the business he should hire non-Uber private cars. This isn't someone tracking him down on the street and sticking a mic in his face. It's completely fair game.
Thanks. It's back up now :)
Yes, that's true, but I think self-publishing authors (at least on the ebook market) adapted. Amazon is very good on this market. More often than not, if you want to make money in that niche, you better publish series with a free first episode. If your book sucks, the reader will put it back very fast. Nobody will buy your series, and your book will quickly get lost in the abyss of amazon's search engines.

So, it kinda works. People who know you will be able to download your awful book, while innocent anonymous amazon customers will never find it by accident.

> However, if you're an aspiring novelist, and you are frustrated that agents are not responding to your query letters with 5 pages of manuscript, and you've only done one or two drafts, there's a good chance that your book just isn't ready.

Yes, but the question is : is it worth keeping working on that book or is it better to forget and start working on a new one ? There is no definitive answer, but abandoning forever the first novel I ever wrote was the best decision in my writer life. YMMV.
https://youtube.googleblog.com/2017/02/finally-live-tv-made-...

Includes a bunch of ESPN, Fox Sports channels
The best personal analogy I can think of for myself. Six or seven years ago I was updating some legacy code coming across an unsalted MD5 hash being used, "Huh, I thought MD5 was becoming obsolete." I did my research to confirm and also to determine what would be the best hashing algorithm to move forward with.

Of course that is not exactly the same as some other problems presented by white board coding.
Learn TLA+: An Introduction
Why SDRs Need to Care About Sand Hill Road
"Here in London..."

Not sure referring to California laws follows here. It's for a different reason.
http://www.bbc.com/earth/story/20170215-the-strange-link-bet...

I'm far from the only one who disagrees with you. And I'll just note that calling people idiots is the opposite of constructive.
Yes, captive portals are the enemy. They break an important assumption: requests either succeed and return correct data, or fail and return an error.

Were you writing a forum post? It was lost because it got submitted to captive portal. Were you in dynamic app? It crashed because it got HTML instead of JSON. Does you page reload ads in the i-frames? Your page position and page itself is now lost, and you are in captive portal page. Did you have a native app which did HTTP requests and cached them? Congrats, you have invalid data in your cache now.

And I have seen captive portals which were broken. How about you get redirected to login page every time you go to your favorite website, because the redirect page got cached somehow?

Good riddance. Yes, the browsers should include better captive portal support like android does, possibly triggered by the SSL certificate mismatch errors, but even the current situation when I have to type "aaa.com" by hand all the time is great.
> The fact that the CEO just screams out "BULLSHIT"

He's a bro. You're clearly not a bro.