skysight-inc/HackerNews huggingface dataset:
Know the details around bind, 'this', dot operator, 'new', call/apply, 'in', variable hoisting, the actual data types JS provides out of the box (Longs aren't one of them) and some assortment of new features/proposed features like classes, and you'll be ahead of lots of seniors. Personally I'd appreciate a good showing in knowledge of the standard library, where its gaps/gotchas are, levels of browser support... (e.g. even IE11 supports sets -- we can use actual built-in set data structures! -- just not the full API. But it has the minimum.)

I agree with others though that you probably won't get the trivia treatment, I wouldn't give one and I don't see them being done by coworkers... But it doesn't hurt to be prepared. So long as you don't present yourself as a "Master" I would think the knives would be less likely to come out. Things like this github has https://github.com/denysdovhan/wtfjs are on the mean spectrum to use against some so-called master, the meanest might probably be demanding they do something with representations like in http://patriciopalladino.com/blog/2012/08/09/non-alphanumeri...
Also, awk is way faster than Python. Its patterns aren't interpreted over and over like they would be in Python; they're compiled into a state machine.
In the photo of her on the table, her left leg looks really swollen/large. It might be some sort of lense distortion though that seems unlikely. I wonder what that’s all about?

Putting in a plug for Simon Sebag Montiefiore’s books on Russia. Specifically ‘Young Stalin’ and ‘Court of the Red Czar’. They are excellent.
I haven't heard of that as a best practice. In my English class in high school they only mentioned to keep it consistent. The preference should be given to the writer. Both men and women have contributed to society so their pronouns can safety be used in written text.
You obviously live in inflated-margin land. I'm going to guess NY, SF, CS, or greater Denver (maybe austin) or worse, Academia.

Startups don't work this way in heavy industry, especially when jobs are on the line.

I envy you, actually.
Hah! That's amusing. It took me a moment to realize what might be happening, and then another moment to confirm it. Another funny example is:

['1', '2', '3'].map(parseInt)

This would be a bummer to be put on-the-spot to answer. It was fun while not being in an interview though.
The effort is not to protect American businesses. Real business information is readily available to the Trump administration.

The effort is to get revenge on industries and/or countries that piss off Trump. We're being governed by reasons of revenge and personal animosity by a single person.
First, as threatofrain correctly surmised, I'm not disagreeing for a moment that it's a necessity. I'm questioning if we're going about it with the right tools. Nostrademons pointed out very aptly how the current approach is falling short.

Your own example seems like a great point to make of the exact sort of perverse incentives one can create though. Tons of discussions lately about the gig economy and lack of worker protections. I'm not convinced this isn't at least in part related to the cost of full time workers vs. contractors.

As I said in my response to Rayiner, saying "We disallow this legally" simply isn't sufficient to prevent behavior, to my eyes. As a society, it's illegal to pursue corporate fraud, yet a board of political luminaries will back it, to be topical about things. It's illegal to discriminate vs. age, yet those threads pervade HN.

Would I like to live in a world where we didn't need to play incentive games/work around unconcious bias, absolutely, but that's simply not my (pessimistic) view of things.
Anybody have a link that talk about Holmes, personality, career, why she is special, etc. I have heard she is referred to as the next Steve Jobs...

Actually this has enough info for most people: https://en.wikipedia.org/wiki/Elizabeth_Holmes
the stuff isn't on the list. downvote this doesn't put it on there.
That isn't remnants. That is the bridge being built. The lower portion (deck) is there, and formwork is being built to create the middle.

The satellite view is slightly newer, with a near-completed span about ready to be moved into place.
> How much risk do you expect police to take on?

All of it. I will trade a hundred dead police officers for one citizen who would have been unjustly harmed and sleep soundly for it.

Police receive power from the state and significant social plaudits. In exchange, they place the well-being of every citizen over their own. That's the deal. It is being abrogated regularly. That needs to change.
I'm rather tired of drone-like hiring practices involving flunkies trying to stump you with questions about topics you might have written the book upon... (not that I'm anywhere near Ken, but the general picture should suffice)
https://www.theregister.co.uk/2010/04/21/ken_thompson_take_o...
There are a lot more factors that makes this not "obvious". If you can make 40k as a paralegal and 80k as a lawyer, and you are 25 (30ish more working years), investing 3 years and 200k in law school might make sense.

30 years * 40k/year = 1.2mil

((30 years - 3 years) * 80k/year) - 200k = ~2.3mil

This assumes you can pay that 200k all at once upon graduation and that salary is stagnant, but even if you drop that first assumption take your whole career to pay off your loans and end up paying 2-3x the principle you still come out ahead with a law degree.

Don't choose education for money though, choose it because you want to be educated.
>but he's asking the policy question of where the money should come from, or if government should get involved in evening out the burden.

From the businesses. Paid paternal leave is already a legal mandate in just about every country. The US is very lacking in this regard.
Hacker News paydirt!

Awk is a great tool. Glad to see this.
I don't think it has any FOUT, because the whole element is styled with "display: none;". Only after the JS is parsed, it formats the Markdown code and then re-display it.
I think money there speak more frankly than words. If all high six digit figure developer hires were of "near existential" importance for a company/unit/project, why to go to such extend as looking for most elaborate ways of chasing out female developers who are expecting, or are with kids?

Tptacek, I'm usually antagonistic with you for you appearing to me to be too apologetic of people I call "dotcommies," yet now I see you voicing your opposition. On what side are you on?
Haskell dollar operator ($). Last I checked, it fits into the Python grammar if anyone feels PEPpy.
Steve Jobs definitely wasn't engaged in criminal fraud, so the prosecutor will definitely be trying to demonstrate she wasn't "the next Steve Jobs". Given what we know we should hear that prosecutors' argument.
To make element visible, you need to attach it to the document :)
Why the down vote, she is referred to as the next Steve Jobs: https://mashable.com/2018/03/14/elizabeth-holmes-theranos-se...
And they're updated privacy policy still allows them to track whether people are opening e-mails or not... I wonder why most people don't seem to buy into the privacy claims :-)
I think you’re being downvoted because the conventional reasoning is that Nazi Germany would’ve likely conquered all of Europe if it wasn’t for the Soviet Union. While this is (mostly) true, if we’re operationalizing the definition of “evil” in terms of a raw body count Stalin would indeed be at the top of the list.
We already have a prototype of client evaluation in the Web IDE https://youtu.be/UFvJkD8N-Zk code javascript without needing to run something locally or in a container.
I'd say these days "knowing" something is far less important than being able to "learn" something.

If I'm ever in a position where I'm responsible for technical interviews I'm pretty sure I'll give them open internet questions. Then ask them to talk me through their thought process. Even though questions could probably be answered by anyone with decent skills, the best will certainly stand out in how they talk you through their thought process.
In fairness: survivorship bias.
People were defending Theranos on HN... surely must have been an investor or an insider. Surely no one else would be so daft.
Flight MH370 search solves 140-year-old mystery of vanishing ships
I regularly interact with people who speak no English in healthcare. It’s amazing how confused a situation can get and how far a conversation can apparently progress with someone saying ‘yes’ in answer to a question that isn’t understood. It’s a trap for the unwary. Getting in the habit of phrasing questions such that ‘yes’ or ‘no’ are not the answer is a good habit in this setting, but it’s a slow way of having a conversation.
Thanks for sharing. My story is very similar to yours but I am in the middle of it still at age 28. I've been at this since I was 11 as well when my older brother taught me about HTML, Dreamweaver, Visual Basic, OOP. The ABCs of this industry as we know it today.

I dropped out of college at 20. Worked a few jobs in cafes and then in sales and finally as a technician. First technician job was fixing ATM machines, second was building high-end gaming computers for an Amazon merchant.

I studied FreeCodeCamp after work and got into a coding bootcamp that I thought would help me get into the industry. I moved to Utah and got kicked out of it midway through for smoking weed. I lived out of AirBnb for a month and a half before getting a job on my own at startup. The school gave me a refund though because I guess they felt bad for me and wanted to help. Good on them, still grateful for that.

That job was for an MLM startup and I had to leave because it was not a good dev environment. I got hired by Bluehost and I learned all about DNS, email, popular CMSs, SEO, and all kinds of problems that everyday non-tech people run into with computers and with the Internet. It was a great learning opportunity for me. Then they laid me off along with 900 other people...they were bought out and this was common procedure for their acquisitions. I did not know that when they hired me :/

I decided to start my own agency/consultancy since I had a few friends who needed sites made. It's been miraculous how each of them always sends me new work through their network. Now I have a pipeline of clients always coming in and I just have to keep shipping work every day and money will keep coming in. :)

I've started working on ideas that I've drawn out and lost sleep over with some friends of mine who are engineers and investors. Maybe I can start a 2nd income stream too and eventually buy some real estate too!
https://news.ycombinator.com/item?id=17320653 already made a list of a bunch of interesting ones. It might not literally cover "everything", but it's a lot of common parts.
I was hoping the bankers can still be charged under the Patriot act, there is a provision for something to the effet threat to cause financial risk or damage if I remember. Paulson made a direct threat of financial doom if there was no bailout to President Bush. I think there is a way we can declare them enemy combatants and send them to gitmo for their trial. Sorry for typos, typing with a bad finger the last few days.
Repl.it is really cool. I love the ability to code in javascript without needing to run something locally or in a container. We do have a prototype of client evaluation in the Web IDE https://youtu.be/UFvJkD8N-Zk that does this.
Everyone has to juggle various demands on their time. You could just as easily make the question more generic, and ask everyone "do you have a good track record or gameplan for keeping up with personal obligations and balancing them with your professional obligations as an employee?" Of course my answer to that question would be 'yes'.
I think you misunderstand me as we might agree. Python is great for small to medium scripts, but can be verbose for the really small stuff that works better as a combination of Linux and Awk commands. Python has a lot of stuff in the standard library that I'm going to guess is missing from Awk (Sqlite, Sets, Classes...etc).
How Much Do Skyscrapers Actually Move?
Probably the same person who thought

[1, 2, 3, 4].reduce((x, y) => Math.min(x, y))

should be 1 but

[1, 2, 3, 4].reduce(Math.min)

should be NaN, for similar reasons. Unfortunately it's a recurring theme in JS that a lot of useful functions have optional extra parameters and a lot of useful higher order functions pass extra context to their callbacks, causing many traps for the unwary if you try to use these tools in a style that works fine in most functional programming languages.
I'm not interested.
Actually; that (From the business) is the part I don't agree with. (You're right that the US is comparatively lacking, however)

As Rayiner accurately points out, children are clearly necessary from a societal point of view. Thus, it seems "most fair" for the whole society to bear that, and for it to not be unevenly distributed such that it generates perverse incentives for business owners.
The big question is whether that article itself had its own headline automatically generated by NLP.
Some context on the Ken Thompson article:
https://news.ycombinator.com/item?id=1284524
This predates Damore by several years.
I can't say anything in response but that I believe you're willfully misreading my posts as to construe me to be fighting against your end.

I'm disappointed that we're not able to engage in better faith.
only becuase they offer zero ways to control data sharing and communication. it is a legal document, and as such as dense, useless, and meaningless for non-lawyers (even for lawyers not currently involved in litigation with either parties)

absolutely none of those email help the sender gets any closer to be gdpr compliant, but we knew that since the cookie fiasco. just more of the same.

where is everyone who were saying they would send the "nightmare gdpr letter to google" on day 1 of gdpr? claiming that no company in the world could comply? I guess nobody expected useless emails and popups with no data control options to be enough for every EU regulator.
But spend the 3 minutes! It's great and it even ends in a punchline!
Not always. At the fortune 200 company I work at, they just introduced paid 8 weeks maternity/ paternity leave that can be taken in any form over the following year. All the engineers think it's great(ok the ones past prime childbirth age are a little jealous) , and a VP (a man) just took a substancial leave after the birth of his kid.

It's all about the culture. Get the culture right and the decrimination goes away.
I was once asked about what I would remove from JS. The following discussion touched JS linters and coding style.

But as other have already pointed out, quiz-type questions that are trivially searchable and irrelevant for practical programming tell about a culture of the company. Use that as hint if you want to work for them.
Interesting. My theory is that as the exurbs developed and people moved further away from the cities, home sizes got bigger. For instance if you drive 2 hours outside New York you can find huge 3 story houses that cost much less than a tiny house with a tiny yard in the older bedroom communities closer to the city.

But then you have a terribly long commute and as you said crazy amounts of upkeep. I think millennials saw their parents dealing with this and they value living closer to the city.
Signal also has an option to truncate your message history automatically, i.e. it only keeps the n newest messages and deletes older ones.
Equally the history of why we have /bin /sbin and /usr/bin. Lack of disk space. When the OS got too big for a single disk and expanded to a second the split came about. /home came about when they expanded to a third!

http://lists.busybox.net/pipermail/busybox/2010-December/074...
I'm often surprised how Emacs can struggle sometimes on modern hardware, like for example when chain-executing complex keyboard macros - though mostly yeah, it doesn't apply all that much anymore.
Bird is the fastest startup ever to reach a $1B valuation
There’s one other REALLY important reason why Holmes was able to raise money. Remember venture firms with blood test knowledge like Google V were turning her down.

Holmes was close family friends with George Schultz, and that allowed her to do two things. First, get a bunch of military and government guys on the board. And second, sell to the military.

That was Theranos’ real ace in the hole. Holmes knew top military brass and they were going to give her military contracts to test soldiers’ blood. We don’t know what she was telling investors, exactly, but that seems like a real source of revenue investors would care about.

Carreyrou describes how it was a mid level DoD employee that screwed up the plan - he looked at the data and scuttled the contract even though the generals wanted to award it to Theranos. Hat tip to hard working, honest govt employees.

Board and Schultz details: https://www.google.com/amp/s/www.forbes.com/sites/hershshefr...
the fact is many people are not worth more than 2k. certainly not juniors looking at their first position.
There are the run-of-the mill senior level generic questions about high level knowledge and procedure. I'll ignore those since you asked specifically about expert level general JavaScript knowledge (not specific to node or front end):

You might see a dumb question that is just a bunch of spaghetti nonsense you'll have to unravel. Explain what this ridiculous codeblock does.

Definitely expect to see closure-based problems. You can almost bet your money on seeing an anonymous function in a loop printing an unexpected value of i:

(copy these code blocks into your browser console and test them out)

for(var i = 0; i < 10; i++) {
setTimeout(function() { console.log(i); }, 1);
}

Event loop: Explain it in words or pictures. Explain why

setTimeout(func, 0);

works.

variable scoping with var, let and const. Variable and function hoisting. Expect brain teasers exploiting the differences in const / let and var:

const x = [1, 2, 3];
for (var i = 0; i < x.length; i++) {
setTimeout(function() { console.log(i, x[i]); }, 1);
}

Scoping and binding. Function.prototype.bind(), Function.prototype.apply(), Function.prototype.call(). Maybe explain why you have to bind ES6 class methods used in callbacks.
No it is not, the article was later corrected.
So here's a concrete example of the types of problems existencebox is highlighting:

My sister was laid off from her employer of 8 years 3 months after her first child was born. She was a top performer, and they'd been throwing raises and bonuses at her before she got pregnant. Over the same year or so (there were 3-4 rounds of layoffs), every single pregnant woman or mother with kids under 2 that she knew at the company was also laid off.

I mention this story, and people ask me "Is that even legal?"

And my response is "Of course it's not, but if you've got a 3 month old newborn at home, have just been laid off, and are trying to conserve cash so you don't go bankrupt before getting another job (which, BTW, you will never get if you sue your former employer), are you really going to sue them? Where will you find the money? Where will you find the lawyer? Where will you find the time?"

And then even if you do, they are going to trot out a multimillion-$ defense team who will argue that they laid off 40% of the company, they sold off a business division, the price of oil was down 2/3 from its peak, and all of the layoffs were necessary for the survival of the company. All of which might or might not be true. Look at just a few women's story and it's pretty clear they're breaking the law, but factor in macroeconomic concerns and you can muddy in the waters just enough that they might win.

That's the problem. "It's illegal" does not automatically mean that you can't get away with it. In fact, if you're wealthy and pick the right targets, you can get away with a damn lot of things that are illegal.
The banking crisis says otherwise.
You can also set Signal to ask for a password after a certain time.
That OS/2 2.0 debacle is one of my favorite topics.
them teeth tho
Being extremely charming and likable is a giveaway for a psychopath.
I wrote a simulator and link to the traces. One unfortunate aspect is they did not provide a real comparison with LIRS, except in a table that includes an incorrect number. It comes off a little biased since LIRS outperforms ARC in most of their own traces.

https://github.com/ben-manes/caffeine/wiki/Simulator
and how are you doing since? did the site help in future interviews?
Don't forget about `-F`, the field delimator (which is WHITE by default). Obviously an option of awk, but some people disregard some *nix tools, because there data is not space delimited (and delimiter choice flags differ between tools :( ).

For quick filtering it's really great, e.g. you can parse simple (pretty-printed) XML tags via `-F[<>] '{print $2}'` (for a quick glance on the data - of course not a good idea in production).
The service would likely accept a hash, not the raw password.

If it's rate limited more aggressively than the normal login endpoint, I don't see how it could be any more dangerous.

Anyone on the internet can already query any site with a guess for your username/password - if they're right, the request will succeed. How is that different?
I wonder how much of it is due to the fact she is a woman? The politicians who supported and financed this company were desperate for a successful female founder to justify their political theories. It looks to me like there is some correlation between the failure of this company and the failure of Hillary to win the election but I can't put my finger on what exactly it is.
How did they found out? Did they ask?
> less secure

vou posted on a thread about one process stealing memory from another using cpu delays.

yubi key expose a device (or type as a usb keyboard), which every single user process have access to.
I see. I'll remember this example for when someone asks why you need types.
Your name is dick sucker 2 (I’m hazarding a guess, that your are not Richard Zucker or something similar). I’m not entirely sure your opinion on reasonable social norms holds much weight...
Truly, the greatest minds of our generation are hard at work coming up with new ways to trick people into clicking ads.
I guess the example I gave you was a one-liner but I didn't intend to constrain it to such. Just a week or two ago I wrote a 33-line script (that seems to fall squarely in your "small-to-medium" category) to calculate the minimal set of packages I need to install on Ubuntu in order to obtain the same set of packages I have right now. 28 of those 33 lines were an awk script consisting of three /PATTERN/{} blocks and one END{} block. It seemed about as simple as it could possibly be, and doing it in Python would've probably been twice as verbose.
That implies there has been a summer. I’d be happy with an ok spring at this point.
I have mixed feelings about this. On one hand you were totally in the right and should have sued if they persisted. At the same time I have a hard time being emotionally upset at a company/manager behaving rationally. The fact that your wife didn't go back to work will subconsciously reinforce the idea to not hire birthing age women. This is also a huge problem in the UK if anecdotes from my friends are any indication, women of birthing age have a very hard time finding work because employers don't want to be saddled with paying massive leave and then severance.