skysight-inc/HackerNews huggingface dataset:
I do think these are reasonable questions, and allowing the candidate to use their own laptop sounds very fair.

One thought though, not necessarily for the poster but for anyone who asks these questions: for the second question, finding common elements of two int arrays, the idiomatic Ruby answer is: x & y

Would you be satisfied with that answer? As a candidate, would I be expected to create a set of tests to ensure that it works, even though this is a standard feature of the language?

If you would not be satisfied with that answer, would you be surprised that a candidate might struggle with an alternative, knowing that they would never use an alternative in their normal coding experience?
What do you mean you can't prevent brute forcing? You can count login attempts server side and throw a recaptcha every 5th try say.

I could be thinking the wrong space though I don't know what Siacoin is or KDF.

edit: after reading...

>If you’re not familiar with Siacoin, it’s a cryptocurrency that allows you to rent out your spare hard disk space or buy space from others.

Interesting not sure I'd do it, what scale you need for this to be worth something as a leasee (leaser?)

That was pretty cool that distance between keys... ahh automation me like, parse out the function/tasks write it out, then let the computer do its magic. Batch processing yeahhhhhhh
You don't think a colony would have scientists?

I'd expect NASA to buy enough slots to found an Institute of Martian Studies pretty quickly.
A workaround on several sites (G+ and Reddit come to mind) is to create your own archive -- a G+ Community or Collection, a subreddit) where you save items of interest. I'm not sure if there's an equivalent on FB as I don't use it.

This has advantages over the bookmarking suggestion in that this is done within the context of the system itself, which may make finding it somewhat easlier: "Oh, I know that was on (FB|G+|Reddit ...)". On G+, search of Communities is vastly better than of Collections. On Reddit, Subreddits themselves are searchable, whilst save lists are not.
If i recall lore and/or Mcmillon said they are going to become experts in the product and online merchandising in Wal-Mart's various departments. Like apparel, sporting goods, housewares & domestics, pets, jewelry, auto, craft & celebration, gaming. To be the best at knowing at the product level.
ARM in the cloud: What you need to know
Moreover, there's a difference between a) shopping there b) working retail there, and c) working there in a professional role.
You can ask why aren't Amtrak tickets cheaper than airplane tickets.

Flip phones have certain audiences in mind and I don't think they are meant to compete with smartphones.

I used to use an equivalent of a flip phone for the last couple of months to not fuck around on my phone and get work done. I just got back to smartphones but I don't have apps on them.
Is a laptop a "mobile" or a general purpose computer? I see it as more of the latter - I'd like to do minimal upgrades and cleaning.

Ironic that it's Microsoft, not Apple that first produced a sealed, tamper-proof laptop.
I reject that notion entirely. The employees are the reason why the store was able to do so well. They should get the bulk of the reward for that.

I flat out reject this idea that people should get the bulk of reward simply for already having money.
>Among educated people able to afford and read a copy of Eratosthenes

who were the ones capable of funding the project in the first place
These have been everywhere for a while. If you file a trademark, they'll send these to you too.

Rule of thumb is to ignore them and only register domains directly with a trustworthy registrar(not links you click on in an email).
Why do we link to Vice rather than the people who actually did the work?

https://www.ifixit.com/Teardown/Microsoft+Surface+Laptop+Tea...
Thanks, all! We've updated the link from https://motherboard.vice.com/en_us/article/you-cant-open-the.... (The best way to get our attention for things like this is to email hn@ycombinator.com)
Programmers that use spaces are paid more!
IIRC Facebook does something like this, where they actually hash multiple variants of your password when you set it and will accept any of them when you log in.
You already can. Just don't install any apps on your phone.
I would recommend the #freelance community on Slack. It's not free, but I find it well worth the subscription price ($49/yr)
http://freelance.chat

It's been helpful for me, and paid for itself. I've gotten to meet other freelancers, and bounce ideas off of, and talk about jobs and such. I've gotten 3 gigs from there, so far.

Good luck, my friend!
I think what many miss is that Music Theory is designed to be after the fact. It seeks to explain - after a piece has already been written - why something works harmonically / rhythmically / etc.

It has no prescriptive power, it was never intended to be a set of formulas that can then be used to generate "good music". Only to create a language to explain whats already there...
MS Outhouse? Really? Are you a 13 year old boy in 2003? Your message shows that you've never used email in a corporate setting, where people cc other people (who will need copies of the previous correspondence) all the time, and people might take you more seriously if you leave out the Micro$oft 'jokes'.
Why do they need to be thick and heavy? Mine has a 15.6" screen, Weighs around 5lbs (slightly under), and is under 3/4" thick. It could be lighter if the case were made out of plastic instead of aluminum. It's about half the thickness and 60% the weight of my previous laptop, but still has user-replaceable components (I upgraded the RAM and added an HDD after purchasing it).
hey guess what, western classical harmony that bach kind of codified, is but one harmonic system. its accidentally super arrogant to ignore the insanely deep musical traditions that are not present in western classical music, since they have different ideas about harmony. one of the great things about music is that it has really opened my eyes to this kind of of cultural myopia. its so obviously implicit in pretentious analyses like these, even if their content is interesting and correct, that the writers believe that western music is the real music. its trained into alot of us that that is the case. well, its not. its not superior, nor inferior. someone is going to read this and think im being an sjw, but i assure you! i once implicitly thought this way too, but i studied other music besides my first love, which was the music of bach, and its true! the musical traditions of roma people, indian classical music, american jazz, bluegrass, flamenco, romanian folk music, turkish music (just whatever is coming to me in this moment) etc etc these things are so deep, and have such rich traditions of insane dedication. so, dispose of this idea that bach's music is the only real music.

the same kind of weird cultural narcissism / racism / whatever it is happens in language, with "correct" usage of words. its the same damn thing.

and can i just add, for all the overly left brained harmonic analysers out there- it would be nice to see someone address the fact that harmony, even in the restricted western classical sense, i guess "diatonic", depends greatly on timbre and range as well. of course i didnt read this paper, and instead ranted somewhat incoherently about topics which might not even apply to the paper, but hey, i had a good time!
This is going to be a disaster. They are anti-Walmart. Walmart needs to stay true to its vision of low price, high quality. Bonobos is high price, high end. "But for now, there are no plans to offer Bonobos’s $98 chinos or $128 dress shirts in Walmart’s 5,000-plus stores. Instead, Walmart is hoping to learn from Bonobos." Anytime you spend $310 million "hoping to learn"...you have no idea what your plan is and that means you fail when you're in e-commerce and aren't focused.
So I can overlook the misdemeanor pocketing of a few bucks with the intent on giving it back, but you basically admit and brag about breaking the Computer Fraud and Abuse Act as some kind of exercise of how clever you are for doing a dictionary attack against a weak and exposed key?

Good luck sir.
Thanks, you'll get varying responses depending on who you ask. It's definitely subject to interpretation and has probably held different meanings over time.

The quoted line prompted me to check out the wiki page on the phrase[1], interesting.

[1] https://en.wikipedia.org/wiki/Je_me_souviens
In addition to what other people have mentioned, there is an interesting section half way into the article regarding the history that lead to this high density of quality in a comparatively small town. Apparently the owners of two competing hotels, over the course of generations, tried to outdo each other. So this plays nicely into some of the HN interest in competition as a positive, motivating factor in success. ;)
Semi-offtopic: Does Amazon.com in America tend to come out ahead if you comparison shop against it in retail stores? Up here in Canada, Amazon.ca can often be a few dollars more expensive for simple items than I can easily get in retail shops. So although I would like to shop more online, I still have a preference for shopping in physical stores.
It's exchanging one authentication factor (something you know) with another (something you have), while negatively impacting UX (by adding email UX issues) and not adding meaningful security.
There is calibre companion an app that lets you sync all or part of your library. To sync you would merely connect wirelessly and then search for ondevice:false and send those to the device.
Serious question: would it be beneficial for Amazon to buy out an existing grocery distribution company like Instacart when Amazon is already an expert at distribution?
Make a homemade radio that really works
Yeah, $100 a shirt is fairly competitive with other fashionable brands.

I end up buying more expensive shirts just because I don't feel as bad about having to have them altered. My arms are really long and my neck/shoulders are really broad relative to my height, so even slim or "extreme slim" dress shirts have a tendency to billow out of my pants unless I have them taken in, and I always have to have the arms slimmed significantly as well. When you spend that kind of money to have the clothing altered, you might as well spend a little extra to alter nicer clothing.
This example with Siacoin is more similar to the situation that you have a file encrypted with a password on your computer than it is similar to a network service that users send their password to in order to log in.

For anyone interested in a little more detail: Bitcoin and every decentralized cryptocurrency operates on the concept of a blockchain, which is synchronized to every user (and regularly appended to). Most cryptocurrency blockchains effectively contain a list of (hashes of) public keys known as addresses and currency amounts. You own some currency if you know the private key corresponding to an amount listed in the blockchain, and using that private key you can sign a transaction to send the amount associated with it to another address. (That's the easy half of how Bitcoin and friends work. The other half is the innovative part about getting everyone to agree on the same blockchain even when people create conflicting transactions attempting to double-spend the same money. This involves continuous proof-of-work mining generally. It's not super relevant to anything in OP's post though.)

The user in the OP post who had their Siacoin stolen was using a system (often called a "brain wallet") where their private key was generated from a 29-word phrase. Anyone who knew the 29-word phrase could use that to generate the private key and then create a transaction to steal the currency associated with it. If you almost know the 29-word phrase, then you could brute-force it by repeatedly modifying the phrase, generating the private key, and then looking at your copy of the blockchain to see if that private key had any currency associated with it. (Well, actually the brain wallet system uses a checksum like credit card numbers do, so most invalid 29-word phrases just fail the checksum check and don't need to bother checking the blockchain itself, but that doesn't really impact anything about this process.)
Please submit the original source. If a post reports on something found on another site, submit the latter.
https://news.ycombinator.com/newsguidelines.html

also dupe, original post discussed here: https://news.ycombinator.com/item?id=14560042
Yep! See here: https://news.ycombinator.com/item?id=13426544
Top notch animation in your on-site video
Because in many languages, this is trivial to the level of calling .reverse() on the array.
We've asked you many times to stop posting unsubstantively like this, so we've banned the account.
Perhaps not all people are poor because of bad decisions, but perhaps at least some are.
so glad to hear someone else say this! i always feel compelled to point this out. fist bumps you
I came up with something of a theory of rhythm. I don't know anything about music theory, so, for all I know, the theory is not new or a better theory already exists. But it's simple, so I'll share the main idea.

I think that rhythms are perceived like echos. So, in 4/4 time with beats on quarter notes, beat #2 is an echo of beat #1 (the main beat), beat #3 is an echo of beat #2, and beat #4 is an echo of beat #3. Then, the main beat sounds again and the whole thing repeats.

Now, if that makes sense, you can forget about echos. What matters is that there is a chain of causation. The listener perceives that Beat #1 causes beat #2, which causes beat #3, and so on. The listener unconsciously creats a theory of causation that explains the rhythm.

Now set aside music for a second. Imagine that you hear a sequence of sounds:

1. "Oops!"
2. (Crash!)
3. (Baby crying)

Since they occur together, they are perceived as being causally related. Now, back to music. Within each repeating unit (usually a measure), the listener always has a working theory of causation to explain the rhythm. The theory has the form of a tree, with child nodes caused by the parent node.

When rhythms mutate over time, the change will sound small if the change only affects a leaf. The change will sound bigger if the change affects a complete branch. And, the change will sound jarring if it violates the theory of causation, i.e. by removing the cause without removing the effect.

Multiple rhythms can be superposed over each other, so the theory of causation can be a tree with multiple branches. For ex.:

Main beat -> rhythm1
AND ALSO
Main beat -> rhythm2.

If rhythm2 is added to rhythm1 after rhythm1 has been playing already, rhythm2 is perceived as a distinct chain, which is caused by the main beat. Hence, rhythm2 can be removed as a unit without violating causation.
This is not accurate. Companies hold back some stock during their IPO for various reasons. Amazon held back 23 million shares. It also has repurchased a fair number of shares it holds as "treasury stock" on its balance sheet that appears to have netted them a few billion in appreciation.

This of course pales in comparison to the 478 million outstanding shares, so, you are correct: their shares don't appreciate nearly enough from the $15 billion surge in market cap to pay for the $13.7 billion purchase. However, to say "whatever the stock does has no impact on the company" is also inaccurate.
I am having a bad day understanding comments.
What do E3 attendees think of mobile gaming?
Bitcoin Is for Drugs
Yes, here you go: https://itunes.apple.com/us/app/not-hotdog/id1212457521
Because reversing an array is super easy and using a library is one function call
I am a happy user of Calibre and am grateful for the work the author has done, but I've never heard a convincing explanation of why it is so slow when adding books and updating metadata. 10-15 seconds to add a 500KB ePub. I have apps that will transcode 4K video at a higher throughput than that. What's it doing?!
> And while Kan is still loathe to go into all the details...

> Kan promises more to come — including more details about the tech the company is building and how it will begin offering that technology to customers...

I like how the only specific details about the company is an alphabetical listing of every single person who invested in it, and then another couple paragraphs explaining to us why that list is somehow meaningful.

I wonder where people get the idea that "funding isn't a goal"...
> no clear mapping between actual subjective preferences (which can be consistently reduced to ordinal, but not interval, measures) and ballot markings, with the result that the same preferences by different voters produce different ballot markings

No, you completely misunderstand. There's no universal reference for what scores "mean". You can give candidates from, say 0-5 stars in terms of how much support you want to give them in the race. That's it. 5 = most support, 0 = no support. It's ONLY relative to the actual pool of candidates in the election. People can just learn to understand this clear fact, and ballots can be marked as such as "least support" to "full support". And educating people about this is easier than educating them about IRV and all it's weirdness (and more honest than making false claims about IRV). There are NO cultural issues or biases or problems here in terms of what a score "means".

> If you want to fix the problems caused by loser elimination in IRV…

I don't know what you mean here, but it isn't IRV, it's some other rank system. Tons have been proposed, none are perfect, all are far harder to calculate and understand than Star voting. Ranked Pairs is actually pretty good, probably the best way to handle ranked ballots. I'm not sure what you're proposing.
An Imaginary Apology Letter from Your Airline CEO
Any "merit-less" walmart folks out there care to chime in?
Nothing here disagrees with what I said. Example, Wampum only used it as a currency with Europeans , but among themselves it was gift giving. Things have always been traded with external groups. But this is different from markets users by a society to distribute goods. Wampum didn't use shells as currency except with Europeans who later introduced the idea.

Also native Americans had societies and government that rivalled European societies. Example the mound builders along the Mississippi. The 'primitive' tribes are survivors of greater failed states which developed currencies. They lived the way they did to prevent the horrors of 'civilization' from happening again.
How much of Walgreens' profits actually come from its pharmaceutical section?
> I'd rather we continue the march toward making the physical form factor of computers slowly disappear

I'm not sure what this means. Can you clarify what you were thinking?
"fail whale", nice
Writing E2E tests with Protractor
There is no objective line here, it's really about how far a firm goes to actively prevent users from switching.

That seems to be the spirit of anti-trust law:

The categories of prohibited conduct are not closed, and are contested in theory. Historically they have been held to include exclusive dealing, price discrimination, refusing to supply an essential facility, product tying and predatory pricing.

So in this case it could be argued that they are "refusing to supply an essential facility." That essential facility being unrestricted access to the internet - but I think its too precedent laden to hold.
Would you please stop posting like this? Hacker News is for thoughtful, intellectually interesting discussion and we ban accounts that continue to abuse the site.

https://news.ycombinator.com/newsguidelines.html
Not very educated on patent matters, but isn't there any requirement for plaintiffs to demonstrate patent utilization, or at the very least abstract plans of utilization, no matter how impractical? Making a public claim that the patent would never be utilized but only used defensively, would make that difficult.
> Future versions could also be more malicious, such as modifying the price or even availability of the item on a competitor's website if possible.

What about the corollary to this - marking down a price in store for a specific shopper. This is something I've read about in regards to in-store tracking. A system could detect when you're likely to purchase something given some sort of incentive, and provide an on-demand coupon to your smart device.
SHA-3 in XOF mode can be used (and was expected to be used) as a KDF. XOF mode is part of the NIST SHA-3 standard.

SHA-3 is incredibly versatile. This obsession with speed is unfortunate. It's a great function. If you've ever implemented SHA-3, it becomes obvious that all of these modes are simple changes in parameters to the core Keccak function--basically either changing the number of rounds or changing the output window size. And many of these degrees of freedom of Keccak are standardized as part of the NIST SHA-3 standard.

Contrast that with the BLAKE family of hash functions, which all involve substantial changes to the core routine. It didn't have to turn out that way as the original BLAKE proposal was quite versatile, but the downside of being passed over for standardization is greater susceptibility to fragmentation.

Once the core SHA-3 routine begins to see hardware support all of this handwringing and bikeshedding will be forgotten. Choosing SHA-3 today is a solid choice and should be beyond reproach, whereas not choosing SHA-3 should require a substantial and continued defense.
> You don't think a colony would have scientists?

Not a million of them. And if its purpose was scientific it wouldn't have to be "self-sufficient". Science is not Musk's goal. He wants to put people there for the sake of it.
I know this is subjective, but I associate the smell of roses with old ladies perfume.
I feel like walmart through no fault of their own has a bad brand in certain groups and would be well served by creating some sort of alternate brand to umbrella its acquisitions. Some people look down on those who shop there and in order to target those negative often times web savvy people they should create a child brand.
great post. drawing the distinction between music perception, music theory and psychoacoustics is very helpful for me. i just finished writing a kind of dumb rant about this article, and your post seems to address some of my complaints perfectly. thanks!
I had a similar problem looking for a immigration lawyer. The problem with only looking at court records and other public information is it skews in favor of lawyers that take on slam-dunk cases.

If a law firm successfully processed 500 green card applications for Google that isn't as impressive as being successful in processing 10 EB-1 applications for early stage startup founders.

My solution was to ask for recommendations from people that required the same service as me. Could you integrate anonymous yelp style reviews for lawyers where the person giving the review could be verified?
I'm the 95%! Honestly, if something is going to take me more than 10 minutes to do, and the risk of breaking something is higher than none, I'm of the mindset to either pay to have a professional fix it (or break it for free), or rip out the hard drive and buy a new laptop.

All these higher end laptops all come with pretty decent warranties so for a couple hundred bucks you get it either repaired or swapped out. Then again, I'm a tone deaf American with a large amount of disposable income...
It was down for around 10 mins around 12 PM today EST
Bezos: "Alexa, buy me something from whole foods"

Alexa: "Buying Whole Foods"

Bezos: "Shit"
Most people have trouble naming more than 3 Apollo astronauts, I wouldn't hold out much hope for living in people's memories.
So, in all three cases if you sort the arrays (the last one by price) then the rest is super obvious?
Space Shuttle Launch: Viewed from an Airplane
> Warning: this technological product is not serviceable or upgradeable in any way.

Isn't that what the label "No user-serviceable parts inside" is supposed to convey?