skysight-inc/HackerNews huggingface dataset:
> Because of this it does not make or break the interview.

You mean that you continue the interview process for a coding position with someone who failed FizzBuzz algorithmically/structurally (not for a trivial syntax error)?

At a prior game company we gave what I felt was a FizzBuzz-level task on paper: in C, given a string of characters representing a hex number, return the long it represents. (basically, write strtol(input, NULL, 16); without using strtol)

I was appalled at the number of people who couldn't come close (not subtle bugs or mis-handling case issues, but rather: show someone else their code and have that person guess what function the person was trying to write).

When the Fizzbuzz blog post(s) came out, representing a much simpler problem, I couldn't believe that someone would bother to shower and leave the house to interview for a programming position and be unable to do Fizzbuzz. So I gave Fizzbuzz to a few candidates, often in a joking sort of way (so as to not offend any qualified candidates). Results were predictably shocking and dismaying. It's a problem simple enough that you either can do it or not; there's precious little middle ground. (As other posters mention, these are the people that interview over and over, so hopefully the actual employed population of programmers is overwhelmingly able to do it.)
Then I don't understand... could you please explain what you mean? I'm not familiar with the term ASICs.

EDIT (since I can no longer reply): ASICs should only offset the point at which it becomes feasible for common-denominator computers to participate. I fear we may be talking past each other...
I was able to operate the Nexus 5 even with one hand. (my hands aren't too big).
But I had to get a slim case, the heavy case was too big for it.

After a year I dropped the phone for the 700th hundred time and it broke, now I got the Xperia Z3 Compact.

I do agree with you, I never want a phone I can't fully operate with one hand. I often can only use one hand (the other carries a kid, or a kid bike or something kid related).
I don't smoke or drink, but I believe in complete legalisation. Individuals, as long as they're not hurting anyone, should decide what to do with their own bodies.

The war on drugs has caused more harm than the drugs would have themselves. Countless lives lost and trillions of dollars wasted. For what? More people than ever use the substances. The 'war' has kept the cartels in business, inflated their prices and degraded the quality of the product. The war on drugs hasn't progressed anything, only destroyed.
Remember who made the equipment Stuxnet targetted? Siemens.

When you export lots of specialized industrial equipment with potential use in military/nuclear tech, someone is probably monitoring you. Oversight is good for everybody.
Thanks for the reference. I was rather disappointed with Tufte's works, given all the hype. There were too many specialised "arty" graphs, and not enough standardised methods.
How do you figure residential watering provides no economic purpose? Every day, about 15% of the vehicles I pass on my commute are vehicles exclusively dedicated to the upkeep of lawns. These vehicles stand out, because they are usually laden with all kinds of various equipment and have 4 or even 5 guys in the cab of the truck. Would you tell all of these people that they have "no economic purpose"? What should they be doing instead?
A family member was badly harmed by marijuana abuse. I still support legalization.

I don't think smoking marijuana, drinking alcohol or smoking tobacco are good things, but I'd still rather have them be legal, warn others of the risk, and treat those that are harmed.
Just an experiment, I know, but is it Chrome-only?
Heap (YC W13) is looking to make our second sales hire
I want the NSA to leave Germany. They can spy where they want, but not from within Germany.
Which is probably why they used the NSA to do it. NSA spies on the people and hand the Germans the data. Germans don't technically breach their own laws and both get the intel.

Scary as fuck for our privacy.
I think that Putin is the band-aid Russian needed ten years ago, but gone mouldy for a few years now.

Mugabe, yes, initially wanted to redistribute the land wonderfully... didn't totally think that one through.

I just mean to say that integrity and competence are not analogues.
>"From the way it was presented to the general public, it sounded like there’s no actual reason to develop “native” (UWP) Windows apps anymore"

Kevin Gallo made clear in one of the sessions that those briges are not the best way to run an app in Windows 10. That the idea was made for apps that are not going to change or as a first approach to support the platform. But in order to use all the features that Windows 10 offer (Cortana, Inking, etc.) you would need to write an universal app.
> I still rather have them be legal, warn others of the risk, and treat those that are harmed.

Yes, long live a rational approach to drug policy. Portugal is heading in the right direction and is seeing great results.
I'm sure every agg company + tobacco have plans for when/if marijuana becomes legal on the federal level. It is simply good business sense to be ready.
A jQuery Plugin that prevents the user from changing elements in the page
Like Hooters. Or lap dance business. You are right, they cant hire only "fuckable" woman.

Its nice to follow principle, but reality is different. I am surprised you guys are so detached from it.

The world is not just A and B. I am not defending anyone, just saying how it is. Nothing will change that, there will be always a way or loophole to go around the law.
If you are surrounded by talented people, in a positive work environment, you are doing better than the vast majority of the workforce. Most people hate their jobs and are surrounded by dicks.

A good work environment is a huge benefit that you won't realise you miss until you give it up. I would take "slightly below average" pay for a positive workplace any day.

Like others have said, talk to your manager. Don't just say "I'm bored and want exciting work". Ask if you can have more of a challenge. Ask if you can shadow one of your talented co-workers to learn more. Ask what other problems is your manager trying to solve. Take some initiative, look at the business more holistically, and add value by improving some part of the workflow or tooling.
Yes there are reasons: it's slow and fragile. I know because a system which has been forced upon us is one of the buggiest on the planet. It can't tolerate the "challenges".
Death of a Programmer, Life of a Farmer
I would recommend against abusing any drug, legal or illegal. It's not a good idea to abuse alcohol, caffeine, nicotine or pseudoephedrine, all of which are quite legal. Aspirin abuse can cause intestinal bleeding, acetaminophen abuse can cause liver failure, ibuprofen abuse can cause hypertension, and so on. The question is we have to ask is: does criminalization of a drug do more good than harm? In the case of marijuana, it's abundantly clear that criminalization has caused vastly more harm than the drug itself.
This is amazing.

The UI looks great, and of course the functionality is incredibly inspiring.

Really look forward to the day when I can play around with it !
Uncovering the Tricks of Nature’s Ice-Seeding Bacteria
Ahh, so you admit you abused it. Just like someone can abuse alcohol. Or prescription drugs. Or countless other things.

I can kill myself by overindulging in water, but that doesn't mean it should be outlawed. Maybe education and some common sense and people can enjoy the thing they like without causing permanent damage.
Every time we hear about a new scandal in our German secret services, i await the news of another terrorist cell to be busted. I am rarely disappointed. Cynical me imagines a little cottage industry inside the secret services, always with a small queue of potential terrorists that their handlers can then push further on short notice. These terrorists can then be raided and presented to the public, reinvigorating our fear and making us think that the deep state is the lesser of two evils. And then, after a few weeks, it is back to business as usual.
I know the SuperDraco's are designed to eventually enable a soft-landing back on Earth. In this case they are only being used for the abort, and the landing will be by Parachute, presumably the powered landing approach isn't ready for testing yet. I understand the initial manned launches will use parachutes for landing as well.

What I'm wondering is, will they eventually carry enough fuel to both be able to do an abort, and then do a powered landing, if required? I assume so, since at that point the only cost in terms of weight to be able to do the abort as well as the landing would be the weight of the fuel for the abort itself.

Also if the capsule will be capable of an abort at any stage in the ascent, what preparations will be in place to allow for capsule recovery? Presumably it could come down anywhere along the line of flight, up to the point at which it achieves orbit. That could include the middle of Africa, and maybe even the Indian Ocean. Imagine a second stage engine failure.

None of these are criticisms of the system, it's fantastic engineering and potentially a huge win over current options. Excuse me while I got and watch Gravity again (while switching off the part of my brain that knows from KSP how orbital rendezvous work).
“How a PHP Exploit Made Me the Prime Suspect,” Says George Clooney
Objectively flawless experience

Thanks for making the world a better place, all the way

Without anything wrong with it

And it being perfect
Neo-nazi buys targeted ads on Twitter
PDF is an open format. Just the forms and scripting shebang that nobody uses isn't.
Betfair security glitch let anyone reset your password
What Uber drivers in Belgium must do to reach the same standard as taxi-drivers
I see that section 4 contains a reference to another study offering an alternative explanation for the 'double hump': if a teacher sets the pace by the progress of the fastest learners, you can end up with a group that kept up and a group that was left behind early and so never learned much. I guess this is more likely to happen if you have several students, rather than one or two at most, who already have had some exposure to the material, and that this is more likely in programming than in, for example, actuarial mathematics.
You mean unnecessarily complex, of course. That might appear self-evident, but it is better to articulate it in situations like this.

Why is it unnecessarily complex? Is it because it is handling cases which you think do not occur? Or is it implementing requirements that you think need not exist (i.e. implementing a more complex, undocumented version of the specification than the one that is actually documented?) Or is it implementing the right specification, but without an effective program design that would reduce code and process duplication, or without the effective use of existing code, of the programming language, of libraries and of tools?

You need a more specific argument than "your code is too complex".
Executive Doctorate Student Wins $20,000 in Robinson’s Business Plan Competition
I don't stay current (fads fade and I've seen too many to care); I have little passion for programming after 20 years; and yet I'm still hired with high contract rates to help people out of development holes.

The plural of anecdote, however, is still not data.
> The fact that they will be given the most harsh punishment combined with the fact that marijuana is the drug of choice for the urban youth demographic is what leads to the disparities we see when we view amalgamations of the data.

Sadly, no - it will just change which drugs are used to vilify racial minorities and justify their incarceration.

I wish that weren't the case, but I've seen this pattern play out far too many times over the last century to think that it won't happen again.

FWIW: I used to work in drug policy reform, so while I won't pretend to know everything, I'm not just commenting as a casual observer, and I would love for history to prove me wrong this time.

EDIT: Since people seem to disagree, let's look at the history that brought us the initial criminalization of marijuana in the first place (profit-driven motives, capitalizing on xenophobia of Mexican immigrants), the criminalization of the opium trade (ditto, but for Chinese immigrants[0]), the criminalization of crack cocaine over powder cocaine (race-driven hysteria over the form of the drug perceived to be more "black"[1]), and so on, and so forth.

Or, if you want to extend this argument further, let's look at the pharmaceutical cycle. Not everyone knows this, but heroin was originally a trademark name for a drug. Furthermore, the reason that heroin was originally produced was in response to the use of morphine by (and I quote) "ruffians". Heroin was actually originally intended to be the less-addictive alternative. Take a look at who the so-called "ruffians" were, and you'll see this cycle continue all over again.

[0] we're talking just about the US, but you can extend this to former colonies as well if you want

[1] Look at the propaganda about crack that was coterminous with a peak in (powder) cocaine usage among the wealthy white demographics, and it becomes pretty clear.
Slight problem there, at least in Erlang; if A sends a message to B that causes B to crash, A doesn't know about it. A doesn't in any way see the error (though it may be restarted if part of the same supervisor, and it may timeout and crash if waiting for a response). So handling that message/not handling that message doesn't affect debugging; the top of your stack trace will be in B, regardless (and you may have a separate one at A if it times out waiting for a response from B, or if it's been linked to B such that it dies when B dies). Errors do not propagate except where you've said they should; i.e., by your supervision tree, or by explicit linking.
>I think programmers are just starting to grasp the true power of the 21st century lisp.

Now, if programmers would only realize that Scheme and Common Lisp are even better and start using them more. It's nice to see a Lisp get some mainstream acceptance, but it's unfortunate that it has to be Clojure.
This really is a great explanation and the strategy I have taken with several similar types of systems (not ES, but various specialized indexes that are "slaved" to a master db). In fact, it's very similar to the replication model of MySQL.

One thing you didn't mention but should be pointed out is that you have to manage clock skew carefully. If you have a single database instance, you can rely on timestamps inserted by the db server ("select now()") but if your master database is clustered, even this is not trustworthy. And of course same goes for timestamps generated by your application. Clocks are the bane of distributed systems.

My usual strategy (aside from ensuring everything is ntp synced) is to pick a plausible time period that represents an amount of clock skew that the system should never experience and subtract that from the cursor at every poll. It means you'll always reindex the last few seconds (or whatever you pick for N) worth of data, but you won't miss out on updates.
The game FUEL is a great example. The game covers 14,400 km² but doesn't repeat itself.

http://en.m.wikipedia.org/wiki/Fuel_(video_game)
I'm an optimist. The success of cannabis gives a playbook for successful liberalization: find good medical uses, push hard to allow more research, show that society can handle prescription access, educate, legalize. This is already starting with MDMA and psychedelics.

In some ways, it's funny that in our hyper-medicated age, that a stimulant and a heavy painkiller are still unspeakably taboo. I mean, every graduate school and Ivy League college in our country is awash with powerful stimulants (Adderall). It wouldn't surprise me if a properly controlled/dosed drug with coca extract in it could be more effective than amphetamines for attention issues. I never want to touch heroin, but with the abuse of prescription painkillers, criminalizing usage of one drug (and thus funding criminal networks) seems like a worse and worse strategy.
I'm not in the valley, but I have the same impression: companies are not overly desperate for developers. I'm also over 40, perhaps they are only desperate for developers fresh out of school who are still passionate.
http://www.france24.com/en/20130702-france-usa-spying-snowde...

> In a 2009 US diplomatic cable revealed by Wikileaks, an unnamed German CEO of a satellite manufacturer was quoted calling France “the evil empire, stealing technology, and Germany knows this”, adding that French industrial spying was doing as much damage as anything coming from Russia or China

> Colourful stories about the lengths the French secret services would go to emerged in the early 1990s, such as the bugging of seats on Air France planes to eavesdrop on American business leaders.

> At the time, then-CIA director Stansfield Turner qualified French intelligence as “the most predatory service in the world, now that the old Soviet Union is gone”

Every EU country has been playing this game for centuries. It's always stunning to me how much more faith Europeans have in their governments than Americans do, even though they get up to the same kind of shenanigans.
Exactly!

But it must invoke with additional NULL-parameter to achieve real effect and analyse return value for TRUE, FALSE, NULL:

php_real_equivalence_4($x, $y, null);
It would be bad communication to give it a name if the vessel explode.
> From my European perspective, the equation looks simple: In the U.S., money talks.

This is true literally everywhere in the world. Some places may be more up front about it and others may try to hide it more, but in the end, everyone is subject to the same constraints of economics.
A question I'm asking myself more often as I get older: What is the value of changing somebody's mind?

To that end, rather than prove someone else's code is complex, we can emphasize the virtues of simplicity with what we do. Refactoring someone else's code in smaller increments would be the passive aggressive middle ground.

There are more opportunities with code that hasn't been written yet. Maybe suggest watching this lecture as a group and then just discussing it without any additional agenda: http://www.infoq.com/presentations/Simple-Made-Easy
Deep insights for your JavaScript projects – bitHound launches on Product Hunt
Both watch Rich Hickey's excellent presentation on the matter and establish whether you agree on the definitions.

http://www.infoq.com/presentations/Simple-Made-Easy
In a word processor, you should be persisting the current state, so long as it appears good, in the background to a temp file anyway; a crash that leads to data loss should result in reloading from that temp file, either automatically or through asking the user if they'd like to. Just because you have the philosophy of 'let it crash' (which is per process, not the entire application, unless a process is unable to recover) doesn't change that.

Which is exactly what Word does. https://support.microsoft.com/en-us/kb/316951
No. (I don't believe cyclomatic complexity is meaningful, so it's not likely your coworker will believe it :))

The following assumes you've already politely expressed your opinion to your coworker and he's disregarded it.

It's important to understand what you're proposing to do here. You want to think of it in terms of fact, but what you are actually proposing to do is start a political fight.

Now, I don't know whether you're right or wrong. I also don't know whether it would be a good idea for you to start a political fight over the issue. I do know three things that are relevant to this situation, however:

1. Whether you're right and whether it's a good idea for you to start a fight are separate questions. It's important not to assume an answer to one automatically implies an answer to the other.

2. It's practically never a good idea to start a fight without carefully thinking through the costs and benefits - all of them, not just the immediate ones - and how you plan to win it.

3. In the modern environment, the usual outcome of a fight is that both parties lose.
gNaN's Not a Number
Readability should be paramount above complexity. Write code for future you, and future developers that will be working on the project. You might understand the complexity now, but what about after not working on it for 6 months or more.

I don't know of any metric for code readability, but it should be as simple as possible. Readable code is WAY better than complex code anyday. Great programmers know this.
this is one of the most impressive demos i've watched in a while. can't wait for it to go live!
Open Letter to Apple: fix your broken graphics driver
The point is that this should be said during keynotes - the only thing that public sees. Only devs see breakout sessions, not decision makers.
I use them all everyday... but then again I work for a Naval Architecture company writing CFD software so thats not exactly typical.
I think the original comment was talking about the need to scale out application servers to take on additional load. Each application sever still communicates with (usually) the one database.

Normally people talk about that as a way to increase the throughput of requests that your site can respond to, but it has another benefit: more time spent performing data validation, string munging, date checking, etc adds up to less time spent in the database on the same thing.

Stack Overflow may run off of one relational database, but it solves the scaling problem through liberal application-level caching and reverse-proxy caching, all using about a dozen servers that connect to the one database.
If it's apparently less crucial than I think then why do most major governments have clandestine intelligence services whose sole purpose is to spy on other nations?
I do this by reading the code's logic aloud, and while doing so, noting the things that I have to remember to understand it. This includes things like "what was the name of that variable", "what does this function do", "has the parser read a comma", etc. Complex code results in larger "mental stacks", simple code smaller ones.

This isn't really "proof", but in my experience, such a demonstration is easy to understand and leads to constructive conversations and good results.
If you want the "non-gamer" version of the G500, get the M500. They're 30 bucks on eBay and Newegg.

The M500 was my favorite mouse for a long time, but due to wrist troubles I'm trying to avoid the mouse altogether an only use the keyboard. I have a Logitech Trackman Marble trackball now. It could be better but there's not a great deal of choice in trackballs.
That is the don't play option.
Chapter 1 of the below book is all about coupling in systems, and illustrates how coupling leads to significantly more system complexity:

http://www.amazon.com/Event-Based-Programming-Taking-Events-...

Get it free here:

http://en.bookfi.org/s/?q=taking+events+to+the+limit&t=0
Linux is an operating system for all ages
First you need to define what you mean by "complex" as that could refer to many things. A useful definition for the term will be focused on informing a decision. Why did you ask the question?

Further, definitions that rely on one or many observable phenomena are more useful than definitions which rely on subjective experiences.
This is awesome, I love the simplicity of it as well. Agree with others that more sounds would be great as well. Give some basics away as a free tier and make a higher tier that includes more sounds.

Great job!
"Honey bees weren’t affected by the [neonicotinoid] seed treatments. But wild bees were affected, and in a big way.... In this study, no mason bees (Osmia bicornis) began brood cells in the seed treated fields. None."
He did it.