skysight-inc/HackerNews huggingface dataset:
I completely agree - that's why I encourage only sticking to basic questions and accepting fairly vague answers as long as they're in the right direction. Maybe your python knowledge isn't perfect, but you know how to solve it in another language. I'm good with that. Maybe you don't know the exact name of a data structure in the python standard library, as long as you can describe what you're looking for I'll point you in the right direction.

The people who don't know when to use a hashmap instead of a list of structs are the ones who concern me. So are the ones who just can't get started at all.

Sure, platforms change, languages change, but basic data structures don't, and basic OOP doesn't either. You've probably worked with many of the same data structures on many of those platforms and have a working understanding of OOP that you can describe - maybe not perfectly, but well enough.
ARM still writes the drivers for the chip and then dosent update or open them up. Not much OEMs can do about that.
The Arte of ASCII
"Lying" is, unfortunately, completely open to interpretation. If you use a standard of "knowingly false, and intended to deceive", it's possibly too broad actually and would cover some behaviour that I would consider acceptable.

For example:

- "Fake" buttons on pedestrian crossings. These are sometimes employed to give a sense of agency, and thus lessen frustration, but where the information that someone is waiting cannot be used in timing, or where that information is collected through other means anyway.

– "Beware shark attacks" at a beach, when the reasoning is not to keep people of a property, but when there are certain dangers that often kill (dangerous tide etc.), but any attempt to succinctly explain it was fruitless.
Consider trying Codewars. Their kata problems are a mix of algorithms but also things like standard library mastery or functional techniques. Personally I find it a lot more enjoyable than "interview style" algorithms questions.
You could also just like what Tesla has been doing and want to support them by investing.
> bittorrent.org acknowledges the need & the issue

It does not acknowledge or imply that what you are doing (forged replies) is necessary. It only acknowledges that indexing happens in the wild and that when it is happening nodes are currently incentivized to misbehave, that does not mean they need to misbehave to achieve their goals.

> and calls it bad, not "egregious".

That's nitpicking words, a spec is obviously written in a more conservative tone. Your implementation is far outside specs, intentionally so to manipulate the behavior of other clients.

> This means that the network is more resilient than you claim and the chances that a few hundred (or thousand, in future) magnetico instances will harm the network is near zero.

I have not denied that the network has some resilience or claimed that a single instance of this code running will destroy the network. I am saying that your code is misbehaving and greedy, which makes it a bad citizen in a p2p environment.

> BEP 51 is still a draft

Hardly relevant, many widely deployed BEPs are in draft status.

> AFAIK no clients in the wild implements it

That's not entirely true, but even assuming that it is it is not relevant either because BEP51 is not the only approach to be a good citizen while indexing the DHT.
This is not a widespread, comprehensive test but that doesn't mean it's not a reliable test of the limited situation described in the post.

The major different I have with your comment isn't the technical aspects but the fact that the average user isn't – and arguably shouldn't be – aware of any of those details. If everyone can get significant speed improvements simply by swapping out the access point because the defaults on the ISP-managed equipment aren't appropriate for normal usage, that's a big deal — especially since they charge $150 + $10/month for that service, which would more than cover some basic config management.
Tech’s Wealthy Enclaves Hurt the Country and Tech Itself
Regular milk with an expiration date 3 weeks in the future often turns sour within 3 days of opening, despite refrigeration.

Wait, what? Are you not refrigerating your milk? This is unusual.
You'd be buried with a bell, so in case you woke up (weren't really dead), you could ring it and be rescued.

Or at least that's the story.
St Petersburg metro explosions kill ten
Its not a trend, it is how MBAs are trained to see the world.

MBAs effectively look at any organization as if it is a pin factory.
Not on Node but I use Radicale (http://radicale.org/) which runs on Python. Works well for me and have it synced across multiple Macs and iPhones.
What people misunderstand about these metric-based systems in the US is that their purpose is not to reform systems or improve performance. It's to create a layer of interference that either channels control into a new managerial class or to wrest it back into the hands of higher-level administrator from whom it was somehow ceded.

The purpose of business consultants is to make money for business consultants. Pushing for standardized testing regimes is to pursue political goals and profit (for-profit charters, low-quality online education, re-segregation of schools). It's the same in academia. The question is always, "cui bono?"
As far as I know this are more or less custom configurations of the same CPU i.e. how many CPU/GPU cores, how much cache etc.
I agree 95%. However, inevitably there will be a developer that will want to implement a trie for reasons. It's hard to be able to reason with her (or technical leadership when appealing the decision) when advocating for an off the shelf alternative if you can't explain why this isn't a brand new problem. On the flip side, one actually does need to create a new data structure on occasion, and obviously there we would want to be able to implement the common alternatives.

Anyway, it's complicated. Especially when hiring for technical leadership.
It misses the point that the manager can be the reason.
This makes sense. Social companies now own eyeballs. They sell eyeballs to advertisers, something legacy media used to do. But legacy media didn't own eyeballs through the magic of journalism, it owned them through massive monopolies in print (local) and telecom (national). Journalists don't like to talk about this, because it hurts their ego.
I'm actually working on something very similar to what you've described - a GUI-driven modern web app designer that exports to React, Node and CSS3. It's turning out to be a really good match. If you want me to let you know when it comes out, drop me an email :)
You might be right, but my girlfriend currently is a "leader" of her group in the university -- she's responsible to bring the student's "grade books" (sorry, my English fails me here) to the proper administration, she creates polls for the freely choosable disciplines, makes calendar events for the occasional meets etc.

Takes her 2-3 hours a week and is FAR more efficient than the awfully rigid systems I come from, 15 years ago.

Self-organization is a powerful phenomena. It can't solve everything for sure, but a good balance between it plus a smaller bureaucracy has in my eyes shown a strong promise for the future.
...and that's why funerals/burials are so expensive :P
Pretty sure the latter was necessary for the former.
As a fullstack developer most of these things are not needed. Having a good understanding of what is optimal is good, but you shouldn't have to be able to recite all the big O notation.

Funnily enough none of the tests I've had ever talk about relevant things like data normalisation / de-normalisation or anything that will be used in the project.
I find the reverse. Organic smells sour after 2-4 days, but my standard delivered milk lasts at least a week. Both are local and minimally processed, and come in glass bottles.
The customer is always wrong: Tesla lets out self-driving car data when it suits
I always tell my startups to just send me a short monthly email containing 1) their growth-metric-of-choice 2) their cash/runway remaining, 3) anything fun they want to share (a new hire etc)... Then get back to growing the business! But if you want to go above and beyond, these _actual_ investor updates from the guys at Shoelace.com have been a joy to receive.
This might be the start of a good approach, but I think it would largely reward popular teachers and easy classes. Back in university I would not have trusted myself to decide which were the necessary classes. With family, stress, work, etc. it would be too tempting to take the easy road. Maybe some combination of students and teachers...
None agreed.
I had that question for a long time.
In a way I prefer this to "how many ping pong balls can fit in a school bus" that was all the rage in the 90s and early 2000s. But... man...

I have a computer science degree, I've been coding for 20 years, and I've held (and kept) a CTO role at two mid-sized startup companies. Currently I'm considering looking for a job at a larger company (where I wouldn't be CTO but I'd be hopefully paid more) and these kind of questions make me think I need to almost go back to school before I can start interviewing.

When did it get to the point where we need to read thick books on programming interviews and spend hundreds of hours on HackerRank practicing algorithms to get a job where we probably won't use any of those day-to-day?

Edit:

For fun the other day I decided to code a linked-list from scratch in C and it took me a half-hour plus... and I have known that data structure for decades. I can't imagine doing a harder problem under the pressure of being an interview.
The thing that always infuriated me about computer science (my field), is that I don't actually need the big research grant. There are people who do, of course, but I could do most of what I found interesting and useful with a high-end desktop PC and some free time.

But universities don't operate that way anymore. It doesn't matter that all I need is $5K and some time -- the university needs their 40% cut of a multi-year, multi-million dollar collaboration. And so the entire system is set up to fund those projects and those projects only.
Surely they will replace them with locals on 0 hours contracts or the young doing apprenticeships for peanuts.
I had a similar problem with hiring product designers. How do you get & measure great design? What I ultimately decided was, the only way to get great design, is by hiring great designers, and only other great designers recognize who's very promising vs. who's not, with some degree of success.

Research is the same. However, due to the inherent entanglement of historical biases with merit, it became very fraught in the U.S. to rely on expert judgment to pick new professors, every school clamoring to find some objective metrics to avoid charges of discrimination.

This is coupled with the fact that most departments are filled with mediocre people who are not particularly qualified to pick promising young scientists to begin with.

So ironically, discrimination is still there & at times worse, but now there is metricized cover for this bias. "We found that tall white dude X has more publications than Y".

Meanwhile, academia right now is almost irrevocably filled with pedantic scientists, drip-feeding papers with maximal verbiage at a steady pace.
I wrote a programming language, Pinecone
The first thing to know is to hire a legal professional familiar with startups because the lay people learn the law is by running into problems. It is also worth mentioning that studying "the law" can be a bit of playing house. By which I mean studying the law is often easier and less scary than developing a product that customers will by. It's more like school with the prospect of right and wrong answers (in theory) rather than a blank sheet of paper.

That's not to say that certain problem spaces don't have relevant law. But that law is relevant in defining the products and solutions and market validity...for example healthcare regulations when building Uber for cardiac surgery.

tl;dr Hire a legal professional and focus on product.

Good luck.
> The theory is that the immigrants were willing to work for less so "stole" the menial, mind-numbing, often physical, & sometimes seasonal jobs.

Except recent studies show that most EU migrants go for high skilled jobs and that the migrant impact on low skilled jobs is small - see below.

> The positive impact of recent European migration to Britain is highlighted by the fact that the UK now attracts the highest number of university-educated migrants of any country in the European Union, according to new research from University College London.

- https://www.theguardian.com/uk-news/2014/nov/05/uk-magnet-hi...

> In 2015, there were approximately 3.3 million EU immigrants living in Britain. About a third live in London. EU migrants tend to be younger and better educated than the UK-born population.

> Do low-skilled UK citizens bear the brunt of EU migration? A number of studies have found there is a small negative effect of migration on the wages of low-skilled workers — those with whom migrants compete most directly.

- https://www.ft.com/content/0deacb52-178b-11e6-9d98-00386a18e...
Websites on a 14kb budget
Elon musk said in an interview that he doesn't care if somebody even has a high school diploma! For him it is about results, not credentials. No wonder he's such a good businessman.
If you look at any nature's habitat of N kinds of animals, even there what you see can't be called a hierarchy. It's a semi-stable state on the verge of chaos which can be very easily broken by introducing a species of animals new to the area.

So no, it's not hierarchy. Lions can kill almost anything if they feel like it, but hyenas kill lions on a regular basis. Does that make them the top of the food chain in the savannah? Definitely not. It only makes a pack of hyenas stronger than a single lion or lioness.

Rock, paper, scissors. No hierarchy. It's the same in the human systems. Hierarchy is an artificial system enforced by humans and has almost zero relation to anything natural.
Pessimism of the intellect and optimism of the will.
Reason for those close mountains, the active wasatch fault line!

Yes if you are bigely into the ski resorts. Denver's overcrowding is a downside.
Indeed. A couple of weeks ago I had a recruiter from Atlassian send me an email saying they were interested an could I complete these 6 problems on Hacker Rank and each challenge has a time limit.

Its not enough to outwit a Burmese Python but you need to do it while a clock is ticking.

We all know the best performance and indicator of skill always comes from coding with an egg timer or stop watch.

Oh and did I mention the Hacker Rank challenge was being asked before even speaking to a human being about the job?
You really need to travel more if you think this. British beef is some of the worst (unless boiling) due to the fat/collegen ratio.
One's inability to read the API documentation isn't the API's fault. If I address an English-speaking person in Spanish, I probably wouldn't get very far either.
And then you have a pool of professors made up of people who can afford to teach for free, or perhaps create a system where some finance leech buys your future pension for NPV payouts now.
I think 'pg agrees with you [0] on graffiti, at least of the 'tagging' kind:

> Graffiti happens at the intersection of ambition and incompetence: people want to make their mark on the world, but have no other way to do it than literally making a mark on the world.

0. http://paulgraham.com/trolls.html#f2n
Help me understand this

If I am a peraon who writes words that get published, at the daily news or NYT for example, I get paid, right? How much? 50k a year?

Or are some of the words published written by someone else not in their payroll.
LXD Containers – First Experience
I recently tried for the second time to apply to some agency type place. I have 10yrs of coding, worked with big data, have done micro coding( developed protocols for vending machine transactions), done frontend and backend small and large scale.

But this place had 3 of these type of challenges that you had 1hr 30mins to complete all of them. I'm sorry, most of this stuff you will NOT find in any job unless its some specialty. For an backend/angular/react developer you will not find this at all. I feel that companies that do this are out of touch with the correct way to find candidates. But on the second hand I also see why they do this since programming has became so much popular now a days.
I missed the signup button as it was white and the image HD not loaded.

I suggest adding another signup button at the bottom of the page. After I read the features I scrolled back up to look for a signup button which is when I noticed it was white as background image had loaded.
Or it might be better to say that Romero-style zombies have more in common with European vampire/draugr myths than with West African zombi myths.
I am using "does this approach work if every node in the network behaves like this" as a yard stick to gauge whether some p2p node is a good implementation. You're not just running the software on your own machine, you're running in a network with everyone. If the network would fail if a specific implementation becomes dominant then it's badly engineered.

But that's just the point where harm becomes obvious. That doesn't mean there's no harm when they're only a minority of nodes. They're still making things less efficient for other nodes, drain resources or might make lookups more unreliable. This might make the network less attractive for end-users for example.

So the extrapolation simply helps making an already-present net drain on the network resources more apparent.
We would all be better off if our immigration system didn't create a process where some bodyshop pimp gets to skim 50-80% of the billing!

When my grandparents immigrated here, they did scutwork for low pay, but at least they got to work for their employer. There wasn't some layer of middlemen skimming the cream.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in one_true_addition_test_case
AssertionError

The "correct" answer according to my pet parrot is (5).__add__(6). Of course, as per real-life, "correct" is usually just an aspect of if you find the interviewer's solution instead of whether your solution is actually correct. Better luck next time!
The sum built-in is still using the addition operator with syntactic sugar though (as is the other child comment). I think the intent of this question is to solve it with bitwise operators ie, [1].

[1]: http://stackoverflow.com/questions/17342042/why-this-code-fo...
You're seeing this in black and white, which may be the way you think it should be seen, but you should realize it's not the way most people here do.

We don't think it's ok for people to "paint or sticker or everything they want", we think this is particular type of alteration is ok.
The problem with that is then who teaches will just become a matter of who knows the parents more and who gives good grades... There is some need for administration but not near the extent that exists. The waste of money is truly a large problem. My school district has spent millions in useless computers and radio towers that 1/40 of the school population will ever touch. Reducing the number of tests children take may help; I don't think giving parents and students free reign over teachers would be best.
The Museum of Pretty Bugs
I think they want Canonical to recommend a laptop that's sufficiently low-cost to be accessible to a wide audience.
"Overly offensive" to whom? Who is the arbiter of what is "offensive" or not? That is far too subjective to be enforced evenly. 'Society' is not an acceptable answer either, every individual has different viewpoints.
If I need to convince another developer that a particular path is well-worn and that they are drifting towards NIH syndrome I have the benefit of time to develop an argument and resources with which to do so. I do not have 45 minutes, no resources, and just a whiteboard.

To pre-counter an expected objection, if your company makes significant decisions like that in a single 45-minute (or any length, really) meeting you need to change your design process, not your hiring process.
Cell phones definitely have caused a notable drop in audio quality. Massive carriers like Verizon for example felt they could compress calls quite heavily, destroying audio quality in the process.

VoLTE could improve the situation, if we could get the HD audio to actually make it off the cell carrier's network. Currently, no US Cell Carrier does so tho.
Based on a quick 10 minute play, this seems to be very nice :)
> EDIT: With the above being said, note this nearby comment: https://news.ycombinator.com/item?id=14022436

Also there were rumors about buyout talks last year, Apple commented that they "had some discussions with Imagination, but [did] not plan to make an offer for the company".
Nope, invest in what will make you money. If you like what Tesla is doing buy their products.
Sure, but OP's benchmark clearly shows that OS X's default mutex is at most 5% decent ;)
Robustness of CNNs to Internal Architecture and Weight Perturbations
These companies carrying water for Hacker Rank and their ilk ought to be totally ignored.

Programming is only a competition sport when it is voluntary, no need to turn access to a job into some kind of Christians versus the lions spectator sport.

If someone were to approach me with that kind of offer I think the response would not be much longer than one line (and I'd try hard to keep it polite).
Tiny nit: generations are measured in 20 or 25 year increments, an "average" of how long it takes one group of humans to grow up and begin reproducing themselves. I've found that the media tends to use 20 year increments, even though 25 is a bit more accurate for an "average time for two people to have two children".

This would change your figures to around 2 generations for the current automation revolution, and industrialization to between 4-6 generations.
HOA boards are democratically elected.
> ... hospital infections are very clear and obvious metrics.

Are you kidding? There are all sorts of ways for hospitals and doctors to manipulate this stuff, e.g., attract healthier patients (less compromised immune systems) or ones who are wealthier, younger, and more likely to follow instructions; give more prophylactic antibiotics; classify more patients as palliative http://news.nationalpost.com/news/canada/canadian-hospitals-... ; slant cause-of-death classification when there is ambiguity.
Please stop hijacking scrolling. Thankyou.
Imagination had little choice if they received notice from Apple, as noted by an other commenter

> UK regulations on stock markets are quite tough, publicly listed companies must share information that could impact the company as soon as they can.
A British one has:

Country Code: GBR
Nationality: British Citizen

Along with the town of birth, which is not enough to get any more information about ethnicity than you could from the name and picture.
> I suppose you could make the authoritarian argument that the experts know better than you and should be allowed to force you take the classes they think best.

I'm not sure that's especially authoritarian rather than just practical. I have a CS PhD focused on optimization and machine learning. I trust a student to mostly decide whether they feel like computer science is a good field for them to go into, but once they've made the choice to work on machine learning, they have very few useful opinions to offer. I don't care if the student thinks statistics or linear algebra are useful, boring, whatever. Part of what that money of theirs is buying is for someone like me to make the plan that gets them from where they are now to where they want to be.
Implementing SQL Server Performance Indicator for Queries and Stored Procedures
Sending feature reports to the Vive Tracker over USB