skysight-inc/HackerNews huggingface dataset:
Ask HN: Hire based on coding tests?
We're currently interviewing folks based on coding tests that we provide them with. My concern is that I've been finding that some candidates that seem less than stellar from talking to them actually perform better than other candidates who seem pretty bright but because they likely haven't been grinding on leet code or similar site (usually because they're working), aren't performing as well. That said, coding is the most critical task of our engineers. Should we accept people who code better at these 40 minute algorithmic riddles? The position is for junior to mid level engineer.
> Can you provide an example of an "intelligent" system that is definitely not a "mechanistic response unit"?

Sure, intelligent systems do by definition have a mechanistically responsive element at its base; they're made of matter, after all. However, that doesn't mean that every system which is able to respond to changes in its environment is ipso facto intelligent.

The neurons in the brain are not what makes a brain intelligent. It's the emergent meta-structures formed by neurons which allow us to think the way we think.
If the bloom filter returns positive you check the HIBO DB by getting all the hashes with that prefix and check the returned list for the full hash.
To compete with China 25% tariffs are nothing. We're talking about goods costing a fraction of what is made in the western world (if they're still made at all). In the end only common people will be pissed because their full-Chinese cellphone costs $250 instead of $200 compared to the half-Chinese one which still costs $600, and not a single job will be created. To me that's pure propaganda.

The irony is that to compete with China it would be also necessary a huge low cost workforce the US alone cannot provide; too bad Trump just built a wall and enacted laws to keep a good part of that workforce unavailable for hire.
> Whilst Apple’s system status reports no issues
So a lot has been written on this topic already. I would personally direct you to read this (on Erlang, but Elixir is basically Erlang with nicer syntax and a few added bits) - https://ferd.ca/the-zen-of-erlang.html

Fundamentally though, Erlang/Elixir is a language built from first principles to achieve reliability in concurrent, distributed contexts. It's quite unique in that regard. Even the language it's most directly compared to (Go, in having go channels that are sort of but not quite like Erlang/Elixir processes) is built instead from concurrency first, not reliability (and having concurrency flow out from that as a required feature).
I assume you're a college student in the USA. One thing that I wish I had considered was doing an exchange program inside the united states in addition to studying abroad.
I think he wanted to distract away from who's responsible for this action.
I'm sure this is a good app, but I don't even check Show HN that often and I've seen this being posted many times now. I know that HN allows reposting of a link if it didn't generate discussion last time. Is there anything against this frequency of reposts? https://hn.algolia.com/?query=http:%2F%2Fbonhardcomputing.co...
Honestly, I bet they'll do a chat system next to try and replace Slack. One that comes with a @gitlabot which triggers CI/CD using DMs and hashtags.
> What's with this "rebuild the American manufacturing base" part? The US is already one of the top manufacturers in the world.

Maybe so, but the US's manufacturing currently isn't strong enough to balance its massive trade deficits:

https://en.wikipedia.org/wiki/List_of_the_largest_trading_pa...
I’m at most centrist definitely not conservative or White and I’ve been a software developer in Atlanta for 20+ years with no issues finding jobs, I just bought a newly built 5 bedroom 3-1/2 bath 3000 square foot house for around $300K in a good school district and I’m 20 minutes away from the northern business district (Alpharetta).

There is life outside of SV and great salary vs cost of living.
If you just want to extract fields the cut utility might be a better fit.

cut -d $delim -f $field1,$field2,...
"So let me ask you, do you think the people in charge do not know this? "

Given the actions of the past year and a half, I would be shocked to know that the people in charge know how to tie their shoes.
I agree, it's slow, unnecessary, and totally annoying.

On a slightly similar vibe... if you're gonna take a picture of your laptop for the banner image on your web page, at least try cleaning the screen first. The dirty spots and greasy finger smudge in the top image make the whole page feel grimy, lol.
> Cells are machines made of molecules.

That's a theory, not a fact.
You are doing hashes over hashes, even if you cut the hashes to 4bytes you are going to hash them again.

you have to skip that second hashing and you'll get a more decent performance. since you are alreading dealing with hashes.

Check my implementation: https://github.com/daedalus/bloomHIBP
https://github.com/daedalus/fastBloomFilter

With a 512MB bloom filter I can get 0 FP.
You can get the loop behaviour with ruby

$ echo -e $'line one\nline two' | ruby -ne 'puts $_.split(/\W+/)[1]'
one
two
How we spotted--and fixed--11 errors in our docs with our new markdown proofer
Exactly. You don't want documentation editors having to learn git and all cumbersome processes first. They may not even want to learn that. They want to edit and get their changes in.
This shouldn’t be downvoted. I love Erlang, but it’s the latency that’s really fast (that is, low), not the throughput[0].

It just so happens that Erlang is frequently used as a network server and can probably saturate the network interface, so its throughput is usually judged to be Good Enough, while the latency is generating the positive headlines.

[0] There are exceptions to everything. If your problem allows you to write code in such a way that the critical path stays mostly inside the VM’s C code, rather than having to keep fetching your instructions, the throughput can impress.
What you are missing is that the cost of a false negative is over 1000x the cost of a false positive.

The number of false positives don't matter, and getting a false positive matters nearly not at all. 1 in 1000 good passwords are rejected. Good passwords are nearly random, and cheap to generate. That means that average person needs to re-pick a password once every, what, 100 years?
Ego (and why it nudges you away from bootstrapping your startup)
I guess one could say both are a lot of work, you’re just doing different work.

In my experience, poly relationships fail faster, when one doesn’t do the work, than monogamous relationships, which can linger longer with dysfunction that doesn’t get addressed. But I think it’s also important to acknowledge that these aren’t ever hard and fast characterizations—these have been my views from first- or second-hand experiences with poly, but human relationships vary considerably, and my experiences (and insights) certainly won’t match everyone’s.
Rather irritatingly, my house address seems to lead people to a random location two miles away when entered into google maps but the house next door works perfectly.

It makes using Uber or any other google maps-based app particularly irritating and as-yes there is no fix after almost a year of reports.

Open Street Maps works perfectly well, as does apple.
Yeah in theory it could be amazing for very irregular contributors - e.g. I see a small problem in a project that I think I can fix but I don't want to download the whole thing, set up the device environment, run a server and whatever.

Kind of like how you can already edit files and make a pull request in the GitHub web interface, but you can also run the program and check it works!
I agree that how long they are open is meaningless, but closing them before they are fixed throws the baby out with it's dirty bathwater.
Yeah, you can never be sure what version of a scripting language is going to be installed on a system. Always a little risky depending on the system version. These tools have the advantage of having not changed too much in the last few decades.
Everybody should be using a password manager. The times of it being reasonable to use garbage passwords because you want to remember them is long past.
> And a car trip

I suspect this is the real source of the hostility, rather than aesthetics: Costco represents, in general, a larger-land-footprint, car-dependent, suburban (or even semi-rural) lifestyle.

There's likely something of a false dichotomy at work here, as well, in that there could be Costco-compatible dense-city living, but that doesn't seem to be true currently.
Here is an Awk program (not a one-liner) that extracted select snippets of text from lots of docs and worked almost 10x faster than a grep equivalent:

awk 'BEGIN { ORS=" "} { print $0 }' $2 | awk --re-interval -v pat="$1" '
{
cut_content = substr($0, 1, match($0, "==== Refs"))
orig_content = substr($0, 1, match($0, "==== Refs"))
idx = 0
regex = "(^|[^a-zA-Z]{1})" pat "([^a-zA-Z]{1}|$)"
while (match(cut_content, regex)) {
if (RLENGTH > 0) {
prot = substr(cut_content, RSTART-1, RLENGTH+1)
gsub(/[:punct: ]$/, "", prot)
gsub(/^[:punct: ]/, "", prot)

print prot, "\t", substr(orig_content, idx+RSTART-400, RLENGTH+800)
idx += (RSTART + RLENGTH -1)
cut_content = substr(cut_content, RSTART+RLENGTH)
}
}
}'
Rejecting a valid password doesn't matter. If a user has a personal attachment to their choice of password, it's a bad password.
I am not an investment advisor But you can approximate the returns you would get from real estate appreciation by carefully investing what you would spend on a home (down payment, taxes, mortgage etc.). Though if theres a major downturn that could also be risky.

Buy gold?
Why do we "need" this? It sounds overly complex and error-prone.
It's not... n00bish(?) to do a change in 5 seconds rather than clone the repo, open your IDE, run the tests, commit and push.
I dunno about this, banned password + minor change seems like a bad password to me.
Unless your business is selling solutions to algorithmic riddles, your coding test probably shouldn't be testing for them. Try to make it a reasonable proxy for what the engineer will be doing day-to-day, and make sure it's a novel problem statement to which the candidate hasn't already been exposed.
The NUMU museum in Los Gatos had an exhibit about this too

http://www.numulosgatos.org/exhibitions-2/2016/9/23/mcmoons-...
In the UK we have Joint Enterprise (https://en.wikipedia.org/wiki/Common_purpose). However this piece of common law is controversial already without trying to use it to imprison large groups of internet users because one of them commits a violent act.
This is also demonstrated quite well in machine learning with the test set. The target is test error, but you don't let algorithms optimize that directly and instead they optimize against training error. Goodhart's law is a manifestation of over-fitting in social systems.
Apple Making Big Moves Towards AR
Interestingly enough, McMoon's has come sorta full circle. As of only a few weeks ago, it was turned into a convenience store named MoonMart.
I think Latin-1 compatible strings are common enough to be worth optimizing for with separate code paths. At least in large projects like OSes and programming languages. That doesn’t mean I think Unicode support should be omitted.
So... your okay with Chinese kids with heart defects, kidney and liver cancer. The USA has more enforcement over these kind of things. If toxic pollution is your only concern, yes it is better to have those industries in USA.
Like others have said for ssh I just use the config file I have a simple bash script for managing it. I then combine it with alias and other bash/powershell files inside my projects so I don't have to think to hard. For url I have a html file in my projects that links all the needed urls that typically links with my projects config file. So if I change my configs dev I don't have to worry about updating my html as well.

Simple rule of life if you ever do something a second time turn it into a script.
There are arguments for both branches having some ability to levy tariffs.
The court’s decision to let AT&T and Time Warner merge is bad
Good advice. But the 'novel problem' part - would a plumbing company hire plumbers that had never worked on their type of installations?

I think its perfectly reasonable to find out if your candidates can do the work you need them to do. Never mind any kind of novelty requirement.
Yeah, when I first started to use Notes, using modems over POTS lines to call HQ was still a thing, so that replication was a big deal.

Hell, I don't even think all laptops had ethernet ports back then either. In a lot of cases, you had to buy PCMCIA cards for that.
People seriously overestimate the level of intent in Trump's decisions. The people who advise him might be more mindful but he certainly is not.
There was a city library near me. There may be one near you too.
I’m sure anyone can find anecdotes anywhere about overzealous cops. But I’m Black live in Forsyth [1] and I’ve never had any issues.

[1] Yes this Forsyth. https://www.youtube.com/watch?v=WErjPmFulQ0
Given a sample size of 1 I don't think there's much to be discerned form the data at all either way.

> There is no evidence that they are anywhere close to surpassing human...

Famous last words.
By common sense, and where that fails, the courts and jury system.
I thought the normalization of Nazi principles while debasing the U.S. government was pretty bad. But electronics costing more does really suck.
I completely and utterly reject that responsibility.
> Not every milk is UHT but every grocery store offers it.

But what about Costco (or other bulk-only sources), which is, really, the whole point of the thread (and original comment)?
They are better at load times. Just not 2x better.
So strange that it had a happy ending, of sorts. I read this sort of thing and assume the worst.

If anything, I'm more curious about her life now: what's it like to come back after something like that, what was she doing in the meantime, does she retain her flair for research, or even hold those sorts of pursuits in any kind of regard?

Maybe this is what it's like to enjoy biographies shrug
> You could also use this is a pre-check before querying the real haveibeenpwned api.

Yeah, bloom filters are a fantastic pseudo-caching layer.
I was being tongue in cheek. Probably not clear enough. :)
Code tests are a perfectly reasonable way to assess talent as long as they meet two conditions:

1. They don't take more than an hour or two

2. They closely resemble the work that the candidate will be doing on a day-to-day basis.

Leetcode style exercises have zero value to me as a hiring manager. I'm much more interested in whether people can gather requirements, think critically about them, ask questions, and provide a functioning solution that fulfills them.
Here's an example: https://repl.it/repls/RustyInsecureEngines. I don't have any previous examples that I can find, as I don't usually use it while logged in. Essentially, I use it to help customers out when they're having issues integrating my API product. Real easy to create a repl and send them a link.

Edit: relevant repl slug is relevant.
Huh? You don't need a spidey sense to close a bug you just fixed, you just close it.
If it works OK from iPad might actually be pretty useful.
awk is irreplaceable on the command line because there's not any other good way to extract columns (awk '{print $2, $3}') or parse/work with numbers. How else would you print a running total for select columns easily? awk '$4>3 { x+=$3; print $2, $3, x}'
It's the only tool that's aware of numbers, unlike grep and sed.

My big new power move for awk is -F. You can use any regex as a field separator! Mind blown!
U.S. Files Criminal Charges Against Theranos’s Elizabeth Holmes, Ramesh Balwani
Remember, that's the approval rating of Congress as a whole, including members who are of the opposite party. Individual Congresspersons enjoy a much higher and more reasonable approval rating, especially among their constituents.
It's also cheaper for us not having to deal with waste and pollution. (Although i understand that it's ultimately everyone's problem)
Not OP but that should probably render as: s ∈ A if M(s) >= c

So: s (system state) is a member of A (permissible region) if M(s) (proxy measure of s since we can't directly observe it) is greater than or equal to c (threshold)
It is sort of available but the writing is on the wall.

They haven't updated any of the ubuntu images since 14.04, and you cannot update them yourself.

They really want you to move to Amazon's pay as you go scheme instead of one flat rate. (I think).
In my small town, we have a long street that's just a strip of restaurants. Google and Bing get it right, Apple Maps lists the entire mile-long strip as KFC's. If you select one, it's the same KFC. Been that way since launch. And not a huge deal, we're a tiny town, but it's just humorous and weird when others don't have that issue.
I read this as “Users unable to reach places” and thought “That’s just apple maps.”
You haven't read the Halloween document yet?
Can't understand how any internal team at Facebook tolerates the sloppy coding practices of the RN team. Is everything just technical debt to be ignored and left behind so the team can work on the latest shiniest feature?
A key thing is having a standard for server names and URLs. $projectkey-$env-$dc-$type-$count for example so if I want to hit the Dev DB server for the London cluster for the Ikea project I'd use (SSH or WEB or whatever): ikea-dev-lon-db-01

SSH: autocomplete using known_hosts so I can easily tab complete any server name I've SSH'ed to in the past.

Web: Just bookmarks OR Environment Handbook pages on a wiki
Jaguar broke a world record with this tiny electric boat – The Verge
Well when you eat a animal, you are doing it because eating is necessary, and some people are picky eaters conditioned to like meat since childhood.

But I feel like killing them for a movie is a waste, unless they are eaten later maybe but still not too much better. Like if you kill a animal, you should try to use every single part of it as possible. Same thing the Native Americans believe.
I don't see where they're getting this "next year" figure from. Fuchsia has been under development since 2016, there's no reason it couldn't go another year or two without seeing a consumer release.

Yes, if you just want to throw out guesses based on limited information then 2019 does seem at least plausible, but that's by no means certain.
Exactly. More people should read the original Bloom Filter paper. It covers this. Bloom (1970):

"In application areas where error-free performance is a necessity, these new methods are not applicable." (p. 422)

https://dl.acm.org/citation.cfm?doid=362686.362692
AnitaB.org's Curriculum Series
Embedding Python in a C++ Project [video]
Trump's ego.
Chuck Shumer (not exactly a fan of Republicans) -- https://twitter.com/SenSchumer/status/1007611214191570944
https://github.com/fuchsia-mirror/peridot

I think that's it.

https://9to5google.com/2018/02/02/fuchsia-friday-the-ledger/

For some background.

It would be nice if people get interested in this and start coding before it's a done deal.
Combine Transactional and Analytical Data Using Amazon Aurora, Amazon Redshift
Any coincidence that Foxconn is building a large display factory in Wisconsin?
If they're not hiring engineers for the company after the engineers quit - they're never going to. It's just a show and they'll continue to make up excuses.

Look up the past experience of new management and the makeup of the company they were at. It's likely that new management was brought in to bring the same kind of management they were doing. i.e. if they outsource engineering at the previous company, they're probably going to do it to yours. This is your way of finding out what is coming before they actually announce it.

If a sexual harassment lawsuit comes out against the company or people in the company and anyone is even partially guilty - no matter who they are - fire anyone involved and replace them even faster. If you're an employee that is not involved with the issue, leave the company ASAP. It's unlikely the company will do the former until it's too late and thus you will see every possible metric plummet.

If management has a tendency to not replace people very quickly - they are either never replacing them or they just don't give a shit. Either way, get out.

If management is making their calendars private - they don't value transparency no matter what they say. Something is probably happening that they don't want you to know - and it's never something good.

I need to study technical interview problems on a more regular basis if I want to get a new job. Big Company interviews are harder than ever.

$500k/yr is kind of obtainable in the bay area for a single earner. It's also the only way I'll ever afford the region (in terms of a family w/ a home). I need to start thinking about alternative plans.

I've learned that I need to optimize for financial gains at a much faster rate than I have. I'm now giving up on every other goal for the moment because they just don't matter in comparison. I've realized now I should've held out for better offers and studied harder last year. My $30k/yr jump in comp could've been $100k and I should've studied harder and interviewed at more big companies. I've also learned I should not stay at a company for a year in hopes to "learn something". Just optimize for $$$ because experience will follow no matter where you go.

If your partner is a drama queen or just gets upset all the time (short of you giving 100% of everything you have to them) - it's definitely them and not you. You have to let them grow up and focus on your own shit. You can't let another person suck all your energy away - they should be giving you energy and not taking it all away.

If you've been waiting to get something for a decade or what not - the inevitable getting of it is probably going to be wildly underwhelming. You spent too long waiting for it. :( In my case, it was a motorcycle. I had wanted one for 8+ years but inevitably when I did get one - it was and still is underwhelming. Unfortunately, I don't get to ride it much now anyway since I'm so focused on studying and don't see that changing for a while.
Show HN: Livescore OS X – World cup live scores in menu bar
i am going to assume that the hot dog combo is the same as Sams club's $1.50 combo. (I don't have a costco near me at all. I live in Walmart country)

Sams runs a 32oz drink with theirs. You could claim that it is only a 16oz with the ice but on the other hand you have free refills so I think 32oz is a fair average between ice and refills.

At that point it is 120 drinks per 5 gallons of syrup. Using your figure of $75 that leaves each drink costing $0.62 plus the cup. (Ice is negligible in cost.)

Non branded cups are $0.075 ea. I doubt branding adds much cost at scale.

Hot dogs are $96 for 120 (40 lb case) That comes out to be $0.80 per.

As for buns it looks like ~$0.15 per bun.

So add up soda + cup + hot dog + bun and you get $1.64 per meal. I left out lids, straws and napkins but those are small amounts.
Many people see successful people who are socially maladjusted and try to emulate the maladjustment part in hopes of replicating the success. Correlation <> causation
Cockpits have maximum height limits. It varies by plane model.
I can't recall now where I read this, but it's a very interesting idea: Your life is the life of your cells.

Everything we can do is something cells can do writ large.

Senses: we can see because our cells can see. Likewise for taste, vibration, heat/cold, all twenty-seven of them (I think we're up to twenty-seven human senses.)

Digestion? Cells. Movement? Skeletons? These are all things our cells do.

There is nothing we do that is not done by our cells.

So why not intelligence?

Why not self-awareness?
DOJ indictment: https://www.justice.gov/usao-ndca/pr/theranos-founder-and-fo...