skysight-inc/HackerNews huggingface dataset:
It is specific to what I said, and the link goes to my post.
> I’d recommend implementing Promises from scratch

That must be downright hilarious, depending on how the question is asked. Promises are an absurdly complicated construct considering how little they actually do. If you don't give the candidate the expected spec, 95% of candidates won't get even close. If you do, working through the answer will take long enough that the candidate (and honestly, the interviewer) might get bored.

If you simplify the problem space a lot and ask for a minimal "promise-like"-ish construct, then It can be an interesting coding exercise I guess.
I find it pretty horrifying that attempting to use Google Translate for routine police actions could ever be considered "good faith".
Are you going to say that to the founders of reddit & airbnb?
It prevents the tariff from being applied to iPhones and MacBooks.
Not exactly what you describe but Amazon does have Lightsail for this purpose.

https://aws.amazon.com/lightsail/
Genghis Khan killed more, and yet he's considered a national hero.
Not OP and a hiring manager myself once but I will love to compare notes and hear your thoughts on what are the common problems/mistakes you see when interviewing developers or engineers and if you have any general advice.

Considering most of the HN population are technical folks, many will possibly find your experience & knowledge useful or at the very least, contribute to a worthwhile discussion on hiring technical people.

Edit - Added a list of problems/mistakes that I commonly see when I interview people for technical positions:

• Being borderline arrogant, argumentative and/or abrasive in conversation even though they are brilliant - Yes, I've interviewed people that are smart and have a wealth of knowledge but the straight forward truth is this role (and most developer/engineering roles for that matter) requires a person to work with not only other people within the team but also with other technical teams & departments so if you can't show that you are a team player, it doesn't matter how good you are as a developer/engineer.

• Lying straight up on certain details and not owning up to it - one common interview tactic I use is to ask what version of [technology] that the person has worked on and what are their "battle scars" experiences with that particular version or [technology]. I have had people tell me they work on versions that don't exist (i.e. latest v5 and they claim v8) or claim they have 5 years experience when said version of [technology] has only existed for 3 years. Also, I find that the true experienced people in [technology] can passionately tell you about their problems using [technology] and what they did to get around it rather than simply just evangelizing said [technology].

• Talking bad about anything or anyone - This might just be a personal preference but a big turn off for me is when a candidate starts bad mouthing their ex-bosses, colleagues or company. I might make exceptions for special circumstances (i.e. sexual harassment, bullying, etc) but even then, I will find it as a negative against their personality if that person keeps harping on it and don't show at least signs that they are taking steps to move on. Call me old school but I believe in never burning your bridges regardless of what the circumstances are and even if you don't, the last thing you should do is bring it up in an interview.

Note - these are my personal opinions, preferences and experiences on interviewing and I do not claim my methods to be the best way on doing so.
Thanks to TruffleRuby, Ruby is about to become an order of magnitude faster
Thank you, I remember wanting to follow up on these more abstract constructions in the book. They seemed to be leading me somewhere amazing and very computer science-y. Programs that take programs as input and generate new code to do that thing I wanted with some data files — I’m sure this will be useful if I put the time in.

Am I right that qawk was included as a program in the text? Did they ever follow up with further uses?
Also, remember that the /usr used to mean "user", as in, if you were "bob" then your home directory was /usr/bob. That dance was done twice!

Moving stuff to /usr/bin made sense after systems got too big for a single volume and you've got this directory on a nice, new spacious multi-megabyte disk (oooh!) In those ancient days of Unix the sysop acting as the "bin" user owned /bin and the files inside it and could overwrite them from tapes or compilation.
(root would own the files in the sbin)

So /usr/bin technically started out as his or her home directory when logging in as that account... at least back then.

/usr/sbin only came about after /home became the colloquial location for home directories, such that you had parallel constructions for /bin and /sbin under /usr, and later, /usr/local just as you did at the root.
They can't check a supplied hashed password against their hashed password database unless they're using the same algorithm and (random) salt.
Shoulda hit us with the affiliate link.
Dependent Types in Haskell by Stephanie Weirich (2017)
So why would you ask them?
There's a lot of sophistication in "primitive" agriculture. Humans have always been as intelligent and ambitious as they are today; they just didn't always have today's tools.

Yams always make me think of Gone with the Wind. The climax of Act III (not labeled as such, but stories are stories) is Scarlett O'Hara at her family's plantation. Yankee soldiers have come through and taken every scrap of food, but they didn't recognize the yams as food, because it's a Southern thing (yams in the South came over from Africa with the slave trade). So after they leave, she goes outside, digs up a yam with her bare hands, and starts eating it raw. And then she gives this amazing speech... (edited for book-quoted text)

"As God is my witness, as God is my witness they're not going to lick me. I'm going to live through this and when it's all over, I'll never be hungry again. No, nor any of my folk. If I have to lie, steal, cheat or kill. As God is my witness, I'll never be hungry again."

And that's the Scarlett O'Hara of the rest of the book/movie, the relentlessly resourceful one who will never allow herself to be victimized by anything or anyone.
Plus, none of us have any family members who can tell stories of the people he killed.
I think a lot of Americans play lip service to "innocent until proven guilty" and "repaid debts to society", but in reality, to many, an arrest is a conviction, and if you are a felon, you are stained for life, even if you served the terms of your conviction the law decreed necessary to atone for your crimes.
It's very cool that these changes are indeed tracked and visible within gitlab itself. Kudos
He made it sound like his yams aren't that tasty, I guess it depends a lot on the strain and growing conditions.
The short answer is, "the same way that Trump did."

To learn more, I recommend reading the excellent post link.
Echoing the feeling on the ending. I finished it ages ago but never knew there was a sequel. Wonderful game.
“With age related decline in efficiency”

With any decline in focus it is important to see a therapist and find out if you are really suffering from depression. It is stunningly common for people to mistake the symptoms of depression for the symptoms of aging.
What about sponsoring a talk where my product is mentioned?
Patton's letter to his wife made it clear he thought we were fighting the wrong enemy.

edit: also, watch this: https://www.youtube.com/watch?v=ZOtinTlx7yo
That's a question with many corollaries so my answer will be a bit lengthy.

The reason you need to take less risks is because your ability to execute a task that you were used to executing before is reduced due to the ageing process. For example, you need to take longer breaks and sooner. In other words, your full speed to work goes down. So to compensate, you have to be more careful with the work you undertake. For example, it's easier to supervise someone else on a task you are familiar with instead of doing yourself at your lower efficiency.

In a sense, your conclusion about needing to take more risks is true. But the risk is being taken by your oerganization in betting on you to be able to execute on the task you have set out to do. What I am talking about is personal risk, that you take in your choice of what you will do. That choice needs to get a little more conservative as a you age so as to give some margin for error that you probably didn't need as much before.

The second part of your question regarding how things will turn out regarding whetehr you work for an org or yourself is more circumstantial than anything else.

The third observation seems to make sense regarding success of business as a function of age of founder. As you age, you choose your work better because you have more experience.
So on the mac, something's going on and even with LIBCLANG_PATH set I'm still getting a segfault in some clang stuff. On the BSD box, rustfmt-nightly allows everything to work. Using `cargo install --force rustfmt` will provoke bindgen into reporting an internal error:

Custom { kind: Other, error: StringError("Internal rustfmt error") }

I get the same results if I call the bindgen executable or have build.rs call the bindgen API. I've stuck with having build.rs call the bindgen executable because if I use the bindgen API, compilation is SLOW.
I guess its harder to make a rationale that a tariff on TV's is for national security - that said, you need to return the assembly work, before you can return the component lines.
this is more than just types though. Typescript, even in strict mode, will still allow this! You need strict function arity/signature checking of some kind, which a dynamically typed language could have, and a statically typed language could lack.
>> companies have no financial disincentive to hire women

This would still exist in this world. You're still down an employee. So you don't hire women or married men.
The multimodal future is still voice-first
>it just provides a broader target to discriminate against.

Isn't that an improvement? If we could broaden it entirely such that everyone falls under the net of "potentially long leave taking" then effectively there would be no discrimination.
Hollywood Party by Kenneth Lloyd Billingsley should be required reading for all social studies classes in the US. It's staggering to consider how much of hollywood was funded by the USSR. They stopped in 1991.
The most common emoji I see among kids is (Face With Tears of Joy) or (OK Hand) (apparently ycombinator doesn't support UTF-8). I don't know of any ascii that can do those. (FYI, I'm 28 and I often chat with my younger cousins who are in their mid-teens at the moment.)
Tom, you're still not getting it. Falsified evidence. Not just falsified, but clearly in the case record falsified. Anyone can be a victim of that. Happens every day.

Thanks for the backhanded compliment on the infographic; I wouldn't mind your following me around if you got your facts right.
can someone explain why setTimeout(func, 0); works?
She had some strange mannerisms, right? And she had very wide eyes.
Ug you're such a logic lord. I bet you're a huge Sam Harris fan. You're simply kowtowing to the normative, a non ideological centrist operating inside the confines of reality as it is prescribed currently in the name of "being realistic".

Grow a backbone and operate from the stance of what's moral and what's ideologically correct and work back from there.

Obviously companies have all the power, and we need to fight a guerrilla style war against corporate hegemony, and we obviously have to take strategic consideration of these facts. But your idea that, "oooo the companies are going to fight back, and ultimately we're going to lose and be even further punished", is essentially arguing that we should do nothing and "not be so hasty", even if you have plausible deniability in "not exactly saying that" or "you're misrepresenting what I'm saying", but that is ultimately actually what you are suggesting, which makes what you're suggesting worthless, spineless and lacking any morality.
Actually, us right-wing party people hate the _illegal_ type of immigrants. The legal ones are cool.
I completely agree with your core point. I really hate gotcha questions too (and have come close to walk out of interviews over them quite a few times).

On the other hand, ""gotchas" are usually easily Google-able too." isn't that simple. You don't know what you don't know. We're in a world now when even some extremely senior devs don't know the tools they use. A lot of it can be blamed on the whole "if you know one language you can learn any other in an afternoon!" tenet. Having so few people these days with vertical/deep knowledge of the tools they use gets really annoying when trying to deal with major production issues and no one in the room can debug them in a timely manner.

Almost makes me think that some form of "tech guru" role should start being a thing, and THOSE people could be interviewed with the stream of obscure gotchas...because sometimes you need a tech guru.
>> Not even remotely feasible on a single income now, unless you're talking executive pay.

Yes it is. Just not if you want to live in really nice cities and have a ton of stuff.

If you want to live in a suburb, commute, not own much in the way of technology, and own a house 30% of the size of what people live in now, then yeah, that's doable.

Housing costs have inflated and that's worthy of note. But so have our expectations of comfort and life, and those have outpaced earning potentials.
Let Your Code Remember Your Sins
The problem with the tax is that it's a short term symptom-centric "solution" - bandaid on a fleah wound - but it doesn't actually address the root diseases. Unfortunately, the Nanny State is more popular at the voting booth.

Eventually, we'll run out of band aids. Then what?
How to Patch Your IDE to Fix an Urgent Bug
Today isn't a statement about white collar crime in general, only white collar crime that impacts wealthy people.

Compare with white collar crime that involves defrauding minority home buyers, for example. Not only did the perpetrators there not get prosecuted, one of them is now our Treasury Secretary [1].

1. https://theintercept.com/2017/01/03/treasury-nominee-steve-m...
There used to be a type where 80x24 character terminals were a luxury, and even a type where printing commands and ouput actually meant printing on paper. Unix was developped in these times.
Neat looking. This may be useful for search discoverability also. Not all engines enable javascript and for the ones they do, it is probably not enabled for all pages, so they'll end up parsing "clean" markdown.
Millennials on Spirit Quests Are Ruining Everything About Ayahuasca
Similarly, Umberto Eco's "Ur-Fascism": http://www.nybooks.com/articles/1995/06/22/ur-fascism/
If it's a fixed based on your salary, it would be neither regressive, nor progressive. It would be flat.

And that's assuming the government takes the money from thin air. If the government gets the money via a progressive tax, then distributes it in a flat manner, it's overall a progressive tax.
The notion of using a catapult instead of a rocket for the first stage seems safer.
Let's try a re-frame. This isn't necessarily how I'd prefer to argue, but it might be a more productive way to explain the point to some people.

In the United States, there are many people who are in the reserve of the military, or in the National Guard. They often need to take some amount of time away from work for regular training and refresher sessions with the rest of their unit, in order to stay ready for wartime or domestic-emergency (since they also play a large role in responses to natural disasters) duty.

As a society, we've decided this is important enough to our future security to make it illegal to discriminate in hiring against someone who has obligations as a member of the reserves or National Guard, illegal to fire them for taking time away from work to fulfill those obligations, and illegal to force them to use their ordinary vacation time to cover that time away. And even if a reservist or Guard is called to extended active service, they have the right to return to their previous employer so long as that service does not exceed five years.

We've made that choice because, for each individual employer, the temptation is strong to let some other sucker hold a spot for a Guard or reservist, and not waste any of your business' money on them. Which is a tragedy of the commons situation.

Children are similarly an issue of security for our society. There is significantly less point to building things today, if nobody will be around tomorrow. So we, as a society, have also decided that employers cannot discriminate on the basis of choosing to have children.

You seem to have a problem with the second of these. Do you also have a problem with the first? If so, how do you find a consistent position that reaches those two different conclusions?
That's a double edged sword because the therapist you choose has a singificant role to play in your understanding of focus and it's level correlation with age. Your therapist's a bility to diagnose is stringly correlated with your ability to communicate the nature of your work. Every other thepaists you go with with your query will give you a different answer. In other words, it's a very subjective process and hence double edged. It's not cut and dried or objective like analysis, which as an engineer, you are likely good at.
So resistors, capacitors, relays, assembled circuit boards, ... somehow are not relevant components?
Of course, someone who loses 80% of their list the first time they ask their audience if they're still interested _might_ consider giving some thought to what value they were actually providing in the first place.
I know you're trying to be nice, but I think you missed something.

"Mr. Dufresne, you killed your wife and her lover, I don't feel like you should have gone to Shawshank."
As an interviewer, you don't even exactly have to be an expert. Maybe you have no clue what .bind does. But you will learn a ton about the candidate by listening to them teach you about it.
It is free to file a discrimination complaint with the EEOC if you are in the US. They will investigate your claims and attempt to settle them with your employer. If your employer is unwilling to settle they can and do often sue on your behalf to ensure an equitable outcome.
Additionally the Department of Labor will investigate your claims and can bring enforcement actions on your behalf.
Additionally pregnancy is considered disability therefore you can also lodge an ADA complaint with the DOJ who will investigate your claims and bring enforcement actions on your behalf.

To say you have no options is incorrect. Bona fide violations of law are routinely handled by these agencies at no cost to the victim and are very often successful.

https://www.eeoc.gov/federal/fed_employees/filing_complaint....

https://www.eeoc.gov/eeoc/newsroom/wysk/conciliation_litigat...

https://webapps.dol.gov/elaws/whd/fmla/13.aspx

Edit: ADA to DOJ

https://www.ada.gov/filing_complaint.htm
I am not so sure about that.

Almost any answer in that report is vague or circling the issue. Facebook does state, however, that they do NOT create profiles for non-users, nor track their history.

The vagueness implies that they do not want to lie to the senat. Yet, they state rather clearly that there are no shadow profiles.

Therefore, it seems there actually may be none.
I also agree that larger businesses should shoulder higher burden than smaller ones, but if we make any business pay in a headcount sensitive way, then we are creating disincentives which may be explored in opaque ways.

I also think that some industries, such as education, have substantially more women than men and thus will shoulder disproportionate burden. I also think that richer areas will shoulder the burden more easily.

I think these things point to a collective model of burden. I think bigger companies should shoulder uneven burden, but I'm not sure if different industries or areas should shoulder substantially different burden.
JavaScript's async/await is our reward for suffering promises. Not perfect, but makes the language a lot more approachable IMO.
Unless you control the encryption keys in the communication, always assume it's accessible in plaintext.
I drink my coffee black so I'm not sure. But annecdotally, there are plenty at Starbucks who could probably let us know how sugar fulfillment works there.

Yet the higher and higher cost of healthcare is a mystery?
Other curious thing: given the location wouldn't it be prudent to have some basic Spanish classes for public officials? It's not that hard to get the basics and it would really help communicating…
I would say it is medical, I personally avoid saying bipolar to people I don't know well because it has come with some adverse reactions over the years. I don't know your boss but I would expect to get fired for it, ask if you can take medical leave without specifying why.
Devoted to the right kind of free speech.
This is probably my favorite youtube channel.
The world must be peopled!
I thought the exact same thing but from an optimistic perspective: let's show Holmes how real scientists, real entrepreneurs practice their craft.
Question:

What effect does domestic tax policy have on international trade, and is it a bigger or smaller factor than tariffs?

For instance, if you have very high taxes on things required for production (e.g. wages, etc.) and low taxes on consumption (e.g. sales tax, etc.) then it seems to make sense to try to produce elsewhere and import even if there is no comparative advantage and you have to pay a tariff. Does that explain the U.S. trade deficit at all?
Many immigrants become entrepreneurs because there is no place for them among average joes.
Does this python example actually work? What does line.split()[2] do?
That's an interesting observation.
Let's take a sport.
Say tennis.
let's take competitive tennis, played by professionals.
At the world level, tennis is both a physical and mental game where you are trying to outguess your opponent in the context of a rally.
Roger Federer, who is now 36 is a rare exception in his ability to stay on top at his age.
The sport requires intense focus, both mental and physical.
This focus does goes down beyond a certain age.
You could argus that there is a difference between physical and mental focus ...
This is an awful suggestion. Next you're going to be suggesting employers ask where on the Andre Walker Hair Typing System potential recruits fall so they don't have to ask whether or not they are black.
That mid level DoD employee should get a bonus, a promotion, and a medal.
This is finance management 101. Don't put all your eggs in one basket, don't bet money that you can't lose, etc.

> Startups don't work this way

Just because it's common nowadays to offload risks to early employees in startups doesn't make it less scummy. It's one thing to operate in guerrilla mode when it's two dudes in a garage struggling to get ramen profitable, but it's an entirely different ball game when one's hiding their inability to deliver with angel money and cruising on the back of a dozen employees.

My wife was let go from a startup shortly after returning from mat leave. The company went belly up a while later. It was already clear to me from her descriptions they were toying w/ people's expectations given there was no path to profitability, and a completely illogical hiring spree.

That's simply not how the vast majority of successful companies survive.
Reminds me of all those computer architecture papers that optimize for IPC to the detriment of overall performance. Or the CPU frequency wars which led to ever deeper pipelines which were completely obliterated with branch mispredicts. Or the current trend of increasing core count without actually being able to do any useful work on them...
Well, to our shame we have killed 60 million unborn babies since 1973... so no we don’t compare favorably, not at all.