skysight-inc/HackerNews huggingface dataset:
Scroll to the bottom for the calculator.

We're implementing this slowly over most functions and this is the first iteration. We're happy to talk about it, of course.
Is that a trick question? Open APUE, ``apropos inode``, ...
AMD Zen Core's New Encryption Features Provide True End-To-End Computer Security
Once in an interview for a web developer role I was asked to list the layers of the OSI model.

As I rattled off the layers the guy looked super surprised and asked how I remembered them and I said "pretty dicks never touch shitty people's assholes."

Needless to say, I got the job.
I would be extremely offended if I was in his position and an HR-bot (both literally and figuratively) wasted my time with an interview process like this.
The reverence that Thai people have for this King is no joking matter. They take their monarch deadly seriously and it seems fair to let them honor the King as they see fit without a lot of outsiders casually weighing in with half-baked opinions.
Your Database Is Your Prison – Here’s How Expensify Broke Free
It's just a discussion of Gödel and Einstein written for the layperson. It has a little biographical detail and context of both, pretty reasonable brief explanations of their respective theories (incompleteness, photoelectric effect, brownian motion, special and general relativity) and then Gödel's contribution to General. A nice article

In typical New Yorker fashion it assumes you have never heard of platonism, formal logic or 20th century physics but assumes you remember the future conjugations of regular latin verbs.
he was pretty clear about his views that power corrupts, that he would expand mil presence in Afghanistan, and that he believed in a living constitution.

some people voted for him for those reasons, presumably others voted for his opponent(s?).

sometimes i just feel like the punchline to all of this will be something like:
"it's the patriarchy, stupid"
I had something this happen to me in an interview. Miserable experience.
You can find a PPA (apt repository) for almost any app or tool these days. I find that just adding a few of these for specific cases to a LTS release gives you the best of both worlds.

My current ones: git, Google chrome, flux, node, nylas, spotify, tarsnap, blender
Have an up-vote. This is the most plausible explanation. They're testing his social skills and how he deals with people who are less technical than he--not testing his technical knowledge.

EDIT: To add to this, I've seen this tactic before on an interview. Interviewer asked me a pretty softball technical question, I nailed it, and then he said, "No, you're wrong, it's [OBVIOUSLY INCORRECT ANSWER]." He was clearly trying to gauge how well I handle someone who thinks they know what they are talking about, but actually do not--which can a surprisingly large number of people in the office.
Sorry, I wrote it at 2am and my girlfriend distracted me from finishing my thought. Maybe I shouldn't have hit "reply", but I did. Even so, a post making one point doesn't mean it's the author's only point or what they consider "just" the problem. Take it at face value, it was a post making a singular point: Solidity (Ethereum's language) is a bad language for writing contracts in, so it makes it difficult to consider Ethereum an example of problems with formalized/programmatic contracts.
"There's an array of 10,000 16-bit values, how do you count the bits most efficiently?"

multiply 10,000 by 16. There are 160,000 bits
> I wonder what would happen if ordinary people recruited for medical doctor jobs? Would you be comfortable rejecting a guy who'd been in medical school for 10 years based on his not knowing what the "funny bone" is? Wouldn't you tell your boss that you felt a bit out of that league? It's amazing you can get someone to do this without them going red in the face.

The medical recruiter asks to see the diploma. The doctor shows his degree and gets the job.
Its faster than grabbing say Tomato or Grapes as a snack / when running late? You are trading your health for a quick fix. Yeah if you are consuming processed foods daily then Soylent might be a good replacement but don't forget its still processed and heavy on GMO Soy like Lecithin (google it). PS. I used to be a Soylent customer having replaced breakfast and dinner with Soylent -- never again.
I don't understand why a non-technical recruiter would be asking technical questions of a technical candidate, especially to a high-level one. Maybe for college hires, where you need to weed out an overwhelming field of candidates. Maybe Google just gets that many more applicants but jeez, I feel a web form and a minimal machine learning classification could do a better screening job.
Worse recommendation letters for female geoscientists
Frankly, this reads like a post from /r/ThatHappened. For those unfamiliar, it's a subreddit to share social media posts from people telling obviously made up stories with the purpose of making themselves look good (e.g., brave student stands up to intolerant teacher, receives standing ovation from peers).

The interview may have happened and the questions may be accurate but the story is very exaggerated to make the person look good (and the interviewer look bad).
Bitbucket PM here, We are currently working on code search for Bitbucket cloud, you can follow our progress here: https://bitbucket.org/site/master/issues/2874/ability-to-sea...
> Windows 8 was a separate UI for desktop and tablet

Wait what? The "Metro" was the combining of the GUI for touch and mouse. I actually prefer the Win 8 UI since it is more of a tiled window manager like I use in Linux. Windows 10 is back to click with a mouse. Windows 8 I never touched the mouse unless I needed it in a program.

> Windows 10, for comparison, more closely combines the tablet and desktop modes

It was a move away from Tablets and back to laptop desktop focus.
I'm assuming they meant this comparatively to previous times of unrest in Thailand's history.
Yes, but the recruiter should have said "oh, you're technically right (the best futurama), next question".
There's going to be a huge power vacuum.

Now, there's nobody with moral authority to mediate between clashing factions.

Previously, the king could just say "Guys, stop killing each other and cut it out" and they'd actually listen. The crown prince has no such power and influence over the country. Will be interesting to see who rushes in to grab influence.
For those doubting the interview, I was asked many of these same questions for a mid-level role by the recruiter just a couple of months ago. It's real. Passed the phone screen, but decided not to continue.
I think this is a very equitable process. If a medium-functioning retarded person wouldn't hire you, that's saved the company like $100 of time to ascertain your qualifications. This is much better than using biased metrics like problem solving sessions or personal assessments of character from people who will be working with them.
This is hilariously depressing. Makes me never want to bother with the big guys.
Quicksort is O(n log n) average and O(n^2) worst case. Heapsort is O(n log n) for both average and worst case.
I didn't hear about the light bulb drop question until this thread, and was surprised how in-depth it can go.

Can you really "fail" an interview on a question like that? I assume the person conducting the interview is reviewing your process of coming to an answer rather than getting the most correct answer - right?

By most correct I found this article that broke down the question/answer: https://pointlessprogramming.wordpress.com/2011/03/11/2-ligh...
FWIW: As a director of engineering for Google, who interviews other directors of engineering for Google, none of these are on or related to the "director of engineering" interview guidelines or sheets.

These are bog standard SWE-SRE questions (particularly, SRE) at some companies, so my guess is he was really being evaluated for a normal SWE-SRE position.

IE maybe he applied to a position labeled director of engineering, but they decided to interview him for a different level/job instead.

But it's super-strange even then (i've literally reviewed thousands of hiring packets, phone screens, etc, and this is ... out there. I'm not as familiar with SRE hiring practices, admittedly, though i've reviewed enough SRE candidates to know what kind of questions they ask).

As for the answers themselves, i always take "transcripts" of interviews (or anything else) with a grain of salt, as there are always two sides to every story.

Particularly, when one side presents something that makes the other side look like a blithering idiot, the likelihood it's 100% accurate is, historically, "not great".
To add to the chorus: I had an extremely similar interview (including a few verbatim questions) during my phone screen for an SRE role at Google five years ago.
This is actually a real danger in hiring: personal bias.
That's not the problem, a non-tech recruiter cannot assess the correctness. Even the simplification can be done, which I disagree, the answer will be rejected because it's not a literal match. That, is the problem.
"rump is grabbing votes from the labor faction more than any past Republican candidate -- his stance clearly taps into the American psyche, that American exceptionalism is real and that every American company should put American workers first. Jobs, jobs, jobs! is a great platform to run on."

Foreigners seem to butcher this point with the American exceptionalism BS. There's a simpler and more honest explanation: Americans think American government policies should favor creating American jobs over foreign ones. We lost hundreds of thousands to millions... who knows what current count is... of jobs to outsourcing by greedy businesses. Buying power and stability keep going down which sends ripple effects throughout the economy.

The Trump supports likely want the job security more than the belief that their uniquely perfect or something. I want it to even though I'm a Trump opponent. Incentives for this country should reward people in this country rather than destroy their future.
Ask HN: What is the best email you got from a recruiter?
I'm a recruiter and looking for inspiration. What is the best email you ever got from a third-party or corporate recruiter.
According to the FT ("King Bhumibol Adulyadej of Thailand, 1927-2016"):

"Bhumibol Adulyadej ... chose not to condemn the 1976 massacre at Bangkok's Thammasat University of dozens of pro-democracy protesters ..."

Time Magazine: "Thailand Bids Farewell to Beloved King Bhumibol Adulyadej", regarding said events:

In early October of that year, demonstrations convulsed Bangkok in response to the arrest of prominent student activists. The crowd swelled to around 400,000, including many members of the public, owing to the military’s heavy-handed response that resulted in at least 100 civilian deaths. Bhumibol intervened, ordering the doors of Chitrlada Palace opened to provide the students refuge, and persuaded Thanom and his cohorts to go into temporary exile.

In September 1976, Bhumibol allowed Thanom to return to Thailand, even visiting him with Sirikit in Wat Bovornives — the Chakri dynasty’s personal temple — where he had ordained as a monk. Thousands of furious students gathered inside Thammasat University to oppose Thanom’s return. On Oct. 5, spurred on by radio broadcasts accusing the students of threatening the crown prince and communism, thousands of royalist paramilitaries massed outside the campus.

The killing began the following dawn. First, a rocket-propelled bomb was fired into the throng of students, reportedly killing four and injuring dozens. Military weapons wreaked a heavy toll until around 9 a.m., and at least two students were dragged out, tortured and lynched. Three others were seen dumped on tires, drenched in petrol and burned alive. A junta headed by the Defense Minister, Admiral Sa-ngad Chaloryu, seized power immediately after the massacre. Another flirtation with democracy had been crushed.

"New photos of 6 Oct 1976 massacre emerge" (NSFW, but apparently safe enough for the U.S. to consider Thailand among its staunchest asian allies for the past several decades):

http://prachatai.com/english/node/2814
These are pretty much SWE/SRE questions, not director questions.
I prefer Window 8 since I use a tiled Window Manager (i3) on Linux. Windows 8 was a much better productivity UI for me since I never had to touch a mouse unless I was in a program that specifically worked better with a mouse.
I've found the best way to answer those is "buzzword diarrhea"

first thing I do is try to get them to ask it a different way. then I play spew out every related buzzword possible as if its a question. Are you talking about .... oh, you mean .... I can usually get it in a few tries.
Integrating with Netlify: OAuth2
> this guy always has to be right and would work terribly with people of different levels of skills

Are you talking about the recruiter?
The Algorithms of Discrimination
> US public schools actually get pretty damn good results by worldwide standards.

This is in spite of the system, instead of because of it. Some people were going to do well regardless - because they were well-nourished as children, grew up in stable homes, etc. Most the rest are good worker-bees, or good candidates for filling the prisons (a make-work program).

> I think the biggest problem with attempts to "revolutionize" US education is that nobody has identified an actual problem it has.

I think John Gatto [1] pointed out that "Nothing of value to the individual happens by force" - maybe the quote is in one of his books. Gatto's essay on retiring, "I Quit, I Think" [2], precisely describes professional teachers' dilemma.

[1] http://www.johntaylorgatto.com/

[2] https://web.archive.org/web/20100309061700/http://www.johnta...
if this is Pierre, I remember some controversial discussions years back. Some links:

https://news.ycombinator.com/item?id=4113514

https://news.ycombinator.com/item?id=4109698

https://news.ycombinator.com/item?id=8130849
I think hes talking mostly about the folk song tradition. If you look in both blues/folk there are a lot of songs that are very similar, with almost interchangeable lyrics by many different artists.

The song Little Sadie is one example - its been known under a variety of names, with variations of lyrics. All the John Henry songs - they have been sung by blues and country players alike for almost a century.
They certainly are left-leaning. I'm not saying they are Labour party supporters, but they certainly espouse the same position as the Guardian on many subjects.
Both the WSJ and The Economist represent interests of the Republican Party elite (WSJ) or the globalist elite (The Economist)

I could not believe my eyes when I saw The Economist devoting a full page to Trump's badly-fitting suits and overly-long ties, but musing over Clinton's numerous corruption scandals, because she is the preferred globalist candidate.

I am sad that even The Economist has fallen - I have been a subscriber for 25 years. Perhaps not much longer.
Doubt cast on Dash developer's defense against Apple's claim of review fraud
Feels like overqualification for that position.
I don't know. I like Dylan's music alright, but reading the lyrics posted here and imagining how they would sound on their own (If you've heard the songs, you tend to impose the music on them when you read them), I don't think they're particularly impressive. If you slipped, say, "The Ballad of a Thin Man" into a poetry anthology I don't believe many people coming across it blind would consider it one of the greats.
> California refugees voting for CA-like policies in their new states

That depends on which CA refugees you're talking about--the ones who fled when it was undergoing a red -> blue transition, or the ones that were priced out? The former are political refugees and tend to vote for very anti-(current)-CA policies, whereas the latter aren't exactly analogous to Mexican immigrants in the US--they love everything about CA except the price and are trying to create low-cost CAs in exile, whereas Mexicans are escaping more structural problems and are in no hurry to recreate the conditions that made them left.
Google doesn't ask these types of trivia questions. I don't believe that you were talking to a person from Google one bit.

Everything documented about their hiring practices and anecdotal evidence from people gone through their interview process is that you talk with a real engineer and write code for your interview.
If you've had to troubleshoot network corruption at scale, you memorize packet details real fast :)
New theory: maybe it was a psychological test, to see how you would react in a difficult situation.
You can deactivate GC momentarily and reclaim memory when you want (end of frame, every ten frames, ...). Most of the time you can manage to write your code to minimize allocation, or make sure memory is allocated on the stack. Depending on your parameters and a little bit of profiling, you can manage to have a stable usage of memory over time and a bounded GC time.
That's really interesting. Better watch out for condensation on the electronics.
Please choose derogatory phrases like 'copy pasta' intentionally and carefully.

Many algorithms are bio-inspired -- good artists borrow, the best steal.
I bet you spent more than 30 minutes (typical phone screen length) looking at TLPs. Spending 2 minutes to google DLLP/TLP packet structure is not unreasonable.
That's where all the good record labels and record producers were. All good Canadian musicians/actors/directors go to the US. They largely leave Canada behind without much mention of Canada during their careers besides Drake and to a lesser extent Neil Young being the exception.

Leonard's first album had amazing production by american producer John Simon (who also worked with The Band, Simon & Garfunkel, Janis Joplin), probably the best in Cohen's entire career, so he chose well deciding to work out of Columbia's studio in NYC...

https://en.wikipedia.org/wiki/Songs_of_Leonard_Cohen
I've stayed in Tucson and environs for months at a time, and I /never/ felt unsafe there--if anything, due to my tanned skin at the time, I was more afraid of Joe Arpaio's thugs up north.
Thanks for the info. From what I've seen things haven't changed much. The idea still seems to be that Forms is for simple apps that use a number of common components.
"Most" isn't probably true, but the number was quite significant, indirectly confirmed by Microsoft by backing down from some design decisions in version 8.1 (bringing the Start button back) and 10 (restoring the more traditional-looking Start menu). Userbase pressure was an obvious factor in these choices / concessions. I can't recollect anything similar in the history of Windows UX.
Direct link to the product page which has the same images and description and isn't blog spam: http://www.primalucelab.com/astronomy/d5500a-cooled-camera.h...
I know there are extreme right-wing news outlets, but there are also moderate "sensible" ones as well - the Daily Telegraph and Spectator in the UK, even the Daily Mail.

Breitbart isn't the anti-NYT, it's the anti-Daily Kos.
You're hired at the market rate you specified :)
Whenever there's an error which is non-fatal. Do console.error("Your error") and it'll write to stderr or alternatively process.stderr.write("Your Error\n").

Albeit rare in normal JS because it seems most things are fatal when they break, lots of libraries use it.
It is zero sum. Did you even read past the first sentence of my post? The situation is much more complex, and unfortunately I can't elegantly shoot you down with one highly misguided sentence as you tried to do for my argument.

Let me spell it out for you in a way you can comprehend:

1. There is a limited amount of logs that the earth can produce.

2. There is also a limited amount of metal that the earth can produce.

3. There is also a limited amount of energy that we can extract from the earth or the sun.

4. Therefore, there is a LIMITED amount saws I can build with metal and energy.

5. With logs and saws being limited, then that means there is also is also a limited amount of "things" that can be built with the logs and saws.

What this all means:

The totality of "things" that can potentially be built with limited resources is limited because resources are in itself limited.

This totality can be referred to as our economic pie (or cake). Once a slice of pie is extracted and eaten another person cannot eat it. That is zero sum.

See cake example in the very short first paragraph:
https://en.wikipedia.org/wiki/Zero-sum_game
Isn't a Director of Engineering meant to be an interface between engineers and the rest of the organization? Perhaps this was more like a smoke test for the political insight such a role calls for, not the ostensible test of technical skill it was presented as. After the first couple of wrong answers, people with the right social skills to manage others and represent their interests to the broader organization would stop striving to prove their technical chops, clarify what kinds of answers the test is looking for, and adjust their subsequent answers accordingly.
The non-technical recruiter is asking technical questions with technical answers, but without the technical expertise to consider correct answers that are not literally the same words as the ones they have been given. That is not a good way to interview.
> Mexicans and their American descendents vote D. D's want more Mexicans, R's don't want that.

GWB got over 40% of the Hispanic vote in 2004. Mexicans tend to be very conservative. That's the truth in California as much as it is in the South. These conservative roots match the Republicans more so than the Democrats, but it's the immigration stance that has tilted Hispanics towards the Democrats, but only recently, and even that is probably a temporary thing.

The notion that the Democrats have Hispanic (and especially Mexican) voters locked up isn't a reality.

> The only big issues are political externalities - i.e., Mexicans might vote for politicians that make the US more like Mexico. That's an issue even in the US (California refugees voting for CA-like policies in their new states), and is best solved with disenfranchisement/reduced democracy rather than trade barriers.

To be clear, regardless of your political stance or your views on immigration, not giving illegal immigrants the right to vote is not the same as disenfranchisement or reduced democracy. For legal migrants, am not aware of anything showing actual attempts at disenfranchisement.
This reads as an indictment of the entire hiring culture of the tech industry, which it is. Hiring is one of the most important things any company ever does. It's also one of the biggest opportunities to attain a competitive advantage. And it's one of the most difficult tasks that any developer will ever participate in. And yet, consistently there is a lack of seriousness when it comes to hiring, and a reliance on bad, counterproductive cargo cult practices. It's not just embarrassing for this industry it has a big impact on the quality of life of developers and the quality of developer talent at companies. If you want to hire good people you need to put a lot of resources into it. And that means you can't just hand off these sorts of important tasks to interns who don't know what they're talking about. Hiring, even at the phone screen level, is not like comcast customer service, and any company that treats it that way is setting themselves up for failure.
"There have been zero successful attacks by al Qaeda on US soil since Obama became president."

But there have been successful terrorist attacks, such as the Boston Marathon bombing. What matters isn't whether a particular group carries out a terrorist attack, but whether any group carries out a terrorist attack.
Big-O technically means "worst case", which for Quicksort is O(n^2), although usually (in normal cases) it runs better than that. Other sort algorithms can guarantee not worse than O(n log n).
Why Baseball Revived a 60-Year-Old Strategy Designed to Stop Ted Williams
Perhaps it's just priming?