skysight-inc/HackerNews huggingface dataset:
Now that we know: Technology, Law, Journalism, & Policy After Snowden
Well, it's a tautology that if you treat correctly anything, you don't need any defensive tricks.

Treat all the ones and zeros correctly and everything else takes care of itself.
I remember my cousin who went to UMIST Top 3 Uk uni) how adjusting to being around lot of students who where far wealthier was quite hard.

I suspect going to Oxford and Bumping into students who are members of the bullingdon club is the same but far more so
This sounds like a mentoring rather than a code review situation to me. Code review is a look at code, judging its general applicability (usually a pass, in this case apparently not), commenting on style and/or obvious bugs, test coverage, suitability for deployment and so on. You try to stay civil and constructive, guiding the submitter towards what you would have liked to receive in the first place, you gently reject the PR with a list of 'tofix' items.

Wholesale refactoring (especially by you, really, do not refactor someone else's pull requests, teach them what you want to see instead!) and/or wholesale rejection quickly degenerates into an impromptu performance review or even a question of suitability for the position. If you plan on keeping this person around I'd argue for assigning a more experienced 'buddy' to this person who will be on the receiving end of the reject (as the more senior person) after which they together will engage in a do-over according to your local practices with respect to all the things you feel are wrong and/or questionable.

This will take some time. Essentially this person should not have been in a position to submit this PR so the failure is a process and a management one, not one of that particular employee.
it's always easy when you're not the one making the changes on the system you don't understand. is there a name for that? I feel like it's a common enough thing people do that it should have a catchy name.
It’s All Greek (or Chinese or Spanish Or…) to Me
GoFundMe is a pretty un-ethical business if they suspend an account purely based on their personal/political beliefs. In fact, this is a form of discrimination and they should be taken to court over it.

It's not that much different than the bakery that refused to make a cake for a gay wedding. They weren't discriminating against the people (the couple that wanted the cake could get a b-day cake for instance)

We don't even have all of the information when it comes to the Baltimore police. There has been no trial yet.

I'm really tired of this selective discrimination.
https://medium.com/pachyderm-data/lets-build-a-modern-hadoop...
or maybe it means you get Gmail, Google Web Search, Google Apps, Android and Chrome.

Seems like you are using very selective evidence there, or selectively attributing only unsuccessful products to lack of diversity.
I created a video with ScreenFlow.

https://www.dropbox.com/s/vuax1ocki846llu/rust_example.mp4?d...

Downloading and installing Rust, no problem. Then I tried doing the "Hello, World!" example. Pretty sure I had it typed right in vim. It didn't work.

Then, I typed it in Sublime Text, it still didn't work. Then I thought, I forgot to set +x on the file, and I remember I hadn't set anything on the shebang line in the file, so I went on in the docs.

As you can see... I got to the "Learn Rust" page, and it wasn't ready yet.
I see the same behavior on windows 8.1 by keeping the up/down key pressed down.
Most expensive software reuse ever.
1. Government and schools sit under enormous political pressure to keep salaries low, as part of a larger agenda to 'drown it in a bathtub'. This pressure keeps school salaries so low relative to the amount of responsibility and regulation that one has to be a bit crazy to choose teaching as a profession. Universities get to take their choice of the PhD students they produce; their hiring problems are more a problem of funding than worker supply. And the military I know little about.

2. Businesses need to ensure that their workers are focused on product quality over internal politics. That's a failure of culture, full stop. These internal politics, if not focused on individual salaries, can instead focus on project head count, building fiefdoms, etc. In short, if you fail to manage internal politics, you'll have these problems regardless of whether employees know what they're getting paid.

3. Yeah, capitalism's a bitch, huh? Funny how all of the 'power of free markets' rhetoric dries up as soon as it's turned back around...

Somewhat more seriously, this mainly shows that you need to peg employee salaries to a minimum of market rates, so that they aren't unhappy when that new market-rate hire comes on, and then go above this minimum based on performance. It's not that hard.
If the code is that far off the deep end, then your job at this point needs to shift from code reviewer to teacher.

You need to patiently explain not only what is wrong, but also why it's wrong, and how to fix it, with examples. You might want to even sit down and refactor the code with him.

You need to explain the code design concepts and principles that he has missed. In short, you need to GUIDE him.

It's either that or get rid of him, because until SOMEONE teaches him, he will continue doing what he's doing and remain oblivious.
Left arrow not broken in atom (maybe sublime also?).

Left arrow broken less annoying than left/right scroll introduced early, imho.

I insist on 2 space tabs. Happy to have longer dialog if desired :)
This is not a direct answer to your question, but might be relevant nonetheless.

What I have learned is that having automated tools that enforce your code style and measure code quality (e.g. Code Climate, rubocop in the Ruby world, jshint etc.), integrated in your test suite or CI, goes a long way in improving the quality of your PRs (and, of course, code in general).

There's a cognitive difference between reading a code review written by a colleague and having a set of rules that are simply enforced automatically. This might matter a lot for new hires who have yet to learn that code reviews are about getting better and learning new things (and not about highlighting mistakes). Of course this wont replace code reviews, but it might remove some friction.
I'd really counsel against refactoring and fixing it, that is not what code review is for, you review, comment and return and leave the refactoring and fixing to the submitter (see above for a more comprehensive solution).

If you insist on refactoring and fixing all the PRs you end up being the bottle-neck, and your co-workers will not learn as much from the experience as they could.
I wouldn't worry about that. I'm studying mathematics and I also feel stupid while reading new concepts on Wikipedia. The problem with mathematics is that, if you don't know the idea behind the concept or which kind of problem is it trying to solve, it's almost impossible to really understand the definitions.

And even when you understand the concepts and ideas, it can still be difficult to understand the definitions. Few months ago, a professor told us the 100% formal definition of a function: it wasn't easy to understand and we all had this "wtf" face.
This is from 6 months ago; what happened next?
The more you don't want me to read it, the more I think there is truth to the article that you don't want to admit.
That's the best idea. There would be none of these interconnection problems if you could switch your middle mile provider if they wren't providing good service to Netflix.
It depends on people's definition of mainstream academic economists, because in general, there has been strong predictive power in the models they use in how the effects of the financial crisis played out over time. There are surveys of academic economists out there that can back this up.

This in contrast to mainstream people who talk about economics, who have been predicting hyperinflation for years now.

There were many academics who warned that austerity policies would be a drag on the economy for years. There were people in academics warning about a possible housing bubble.
4 spaces kill me. 8 spaces drive me nuts.

I love spaghetti tho.

I hate spaghetti when I can't read it because the code went horizontal into next week.
Doesn't that describe basically every theft case ever? Someone breaks into my house and steals my TV, the same thing's going to happen. You don't think maybe people are just reacting knee-jerk to the name "Goldman Sachs"?
The best way to manage your photos online in 2015
Governance is so much easier if all citizens are insects that happen to be nearly perfect clones of each other.
Praying that nobody mentions the Sapir-Whorf s/Hypothesis/(Hoax|Strawman)
That would be my immediate and rapid reaction to receiving a Content ID claim that wanted to do anything more than link to the original content (which I'd normally do anyway): "well, time to move to a different video hosting site".
Dave Goldberg, CEO of SurveyMonkey, has died
tl;dr Don't try to fix the code, try to fix the process that produced the code. This is an opportunity to encourage and teach, berating will produce the opposite result.

Telling someone they are stupid is the most effective way to have them not listen to you. I would approach the situation along the lines of this:

1) This is a really good first pass. Thanks! I like how you...
2) Lines x to y seem a little messy, do you think there is a more elegant way of approaching this? (Note: y - x < 20)
2b) Maybe highlight another area for improvement?
3) What happens if the feature requirements change? Can you show me how we would adapt to that? (Response: Oh, I see. Nice. Hmm...I wonder if we treated this in a more abstract way, would it require less maintenance?)
4) I'm really excited to have your enthusiasm (or other personal trait) as part of the team. Let's go get this!

Why I would use that approach:
1) Sandwich method is a classic strategy for giving negative feedback (positive then negative then positive). It minimizes defensive and emotional reactions.
2) Do not attack the person in any way. They will get defensive and angry and insulted. They will not hear "this is how I can improve" but rather "they are out to get me and not to be trusted". Humans need a sense of safety.
3) It's very possible that they are overwhelmed and scared at this new job. Insulting them will not build confidence, but rather destroy it.
4) It's also very possible that they've been trained to write crap as fast as possible, commit, and move on. If this company has a different style, they deserve to know that.

I would also want to know how did such poor architecture get implemented. It might be good to have design reviews, before coding starts, to discuss how everything should function. It sounds like the bad code is partially a result of improper communication with the employee.

Great question!
This is a great opportunity to pair program with this person. You have the advantage of knowing the codebase and the company style/nuances. Sit down and show him. Don't point the things that are wrong. Make a list if all the functionality required and then read line by line or chunk by chunk. Write code and tests as you move along. Let him write it but you take lead on how. Ultimately, step on his shoes. It's the worst feeling in the world when someone says you wrote shit code. Don't make him feel shitty. Make him feel like he is part of a growing team.
If you combine those two you have PG's advice: "Learn a lot about things that matter, then work on problems that interest you with people you like and respect."
I think the closest you are getting are Steve Keen's work with a new dynamic modelling program called Minsky.

http://www.debtdeflation.com/blogs/minsky/

But frankly trying to model every damn individual is a fools errand. Keen limits himself to "classes", like workers, bankers and business owners.
I'd rather have everyone deal with the same.

Forced consistency.

If some view the code in 4 space mode, and some view it in 2 space mode ---- the style of how they implement stuff will diverge. Those using 2 spaces will be more comfortable with more levels of indent than those using the 4 spaces. Perhaps, or worse.

Also, like 1 less (strange) character in the code seems ... cleaner. I don't know, it's an emotional thing, but I wanted to share the emotional thing.
trcollinson, thanks for your thoughtful comments. A few points:

As far as training, I did my M.Div at Princeton & General Seminaries, with a chaplaincy in the pediatric ICU of a major hospital and hundreds of hours of pastoral counseling experience. But I don't have a psych degree. Perhaps that's what you meant.

Regarding my product, this is an MVP. I consider it "Draft 1" of a solution and I seek parents as beta-testers to help me come up with a better "Draft 2." I have been using Stanford's Design Thinking in my process, and the many parents I have interviewed, at length, don't seem as confident as you that their childcare problems can be solved with a Facebook page or the local community center.

Regarding danger, before Air BnB and Couchsurfing, people said, "Me? Sleep in a random stranger's home? Dangerous!"
Before Uber and Lyft, people said, "Me? Ride in a random stranger's car? Dangerous!" Sharing communities are on the rise, and I believe they can speak to the problem of childcare--somehow. Not sure how yet, but we're experimenting.

I have tremendous faith in a parent's instinctive intuition to find other parents in her neighborhood, with whom she feels chemistry, over several face-to-face meetings, so that parents can cooperate to share the burden of childcare--just like our ancestors did in villages for millennia. If we are to find a solution to childcare, we cannot lead with fear, but rather with cooperation and goodwill.

Regarding the work of the Lord, ParentVillage strives to address the poor by giving them a co-op model where they can barter to solve their childcare needs, rather than the current cash model, which those I have interviewed find extremely prohibitive. The single mothers you listed are another demographic that I find particularly oppressed by the current cash model for childcare, and I hope that "Draft 4" (or perhaps 14) of ParentVillage can offer them some relief to an overwhelming aspect of single parenting.

Finally, neither my Bishop, nor the Episcopal Church, are paying me anything to work on this ministry. And I'm 50, with two kids close to college. I assure you that every mainline-denomination minister has a pension plan for which she has worked hard, and is grateful. To lose my pension and the accompanying insurance benefits is a serious blow to any minister's livelihood.
I'd basically say:

"Before I accepted this pull request, I would ask you to do a lot of refactoring. However, it's too complicated to explain in comments on the diff. Why don't we sit down and fix it together?"

Then explain your reasoning for the overall changes and each smaller change face to face in a pairing session (or series thereof).
Dave Goldberg husband of Sheryl Sandberg passed away suddenly
> Recruiter here. Some may not like this answer, but: honesty is the best policy. Bluffing, or LYING, could backfire - especially if things escalate and they eventually learn about this.

Hahahhaa, I like that you even all-capsed "lying". Give me a break.
Another interesting thing about the development of Earthbound was that one of the main programmers of Earthbound was Satoru Iwata, who is now the current CEO of Nintendo.

An Earthbound fan translated an old Famitsu interview with him and another programmer about developing the game and some of the challenges involved.

https://yomuka.wordpress.com/2011/12/24/weekly-famitsu-septe...
Try this instead:

Economy, circulatory system.

Finance, bone marrow.
> I know there is a mechanism for those affected by the takedown notices to challenge them, which I guess in my case they should win

You would think that, but YouTube's Content ID system does not work that way.

It should work the same way the DMCA does: if you get a notice, you post a counter-notice, your content goes right back up without question, and if the purported content owner wants to escalate further they have to sue you.

Instead, with Content ID, if you "appeal", the appeal goes to the purported content owner, who then has complete discretion to say "no, you're still infringing", with no third-party review or ability to appeal further. Because of course the content owner would never deny Fair Use or claim a piece of content that they don't actually own...
Not Fortran?
That's a post from September 1st 2014. Any particular reason to (re)post this today?
If you know several different languages, the advantage is not that your view is enhanced, but rather you are more aware of the false contributions of language to thought; you are more aware that some pattern of thinking is just really some linguistic convention and not real semantics.

For instance, you are more likely to spot someone's equivocation: confusing multiple meanings of some term in the same argument. Right away you realize: "Doh, in this other language I know, those two concepts are not even the same word; what he's saying doesn't translate."
I find it troubling that the generators can't reboot w/o continuing to supply power, that reboots aren't staged to ensure that the plane continues to have power and that power from the generators it necessary to control the aircraft. Isn't there battery backup to enable the plane to continue operating normally while the generator reboots?

From the article it looks like their whole failsafe/redundant system architecture is flawed.

Just like buffer bloat, reboot times and corruptible system state are a chronic systemic flaw in modern technology.

The only stuff that works is the stuff that is used all the time. Look towards crash only software [1] and microreboots [2,3]

[1] https://www.usenix.org/legacy/events/hotos03/tech/full_paper...

[2] https://www.usenix.org/legacy/event/osdi04/tech/full_papers/...

[3] http://dslab.epfl.ch/pubs/perfeval.pdf
I would recommend keeping your priesthood, pension and benefits and continue your ministry and build this as a side project or seek donations to fund it and have contractors build it. I don't see anything pressing that has to take you away from your current career. I would make amends with your church and build this concurrently.

If things take off or you get funding eventually then quit your day job.

Start listening to StartUpsForTheRestOfUs.com lots of great advice for just your situation.
What about MBAs WITH technical backgrounds? Are they allowed to build companies?
This might be a good time to do a pair programming exercise. Go through the code with them so they can see your process. For example, review the requirements, write test cases to cover those reqs, then refactor the code to work or even start from scratch if it's not that much code.

The best way for a developer to get better is to be shown a better way to do things.
Thanks for making this! It was _very_ instructive.

First of all, I submitted a patch to remove that link to the old intro this morning, so that should go away.

Second, the issue was that you compiled the program, which worked just fine, but you never ran it! on http://doc.rust-lang.org/nightly/book/hello-world.html , the example shows:

$ rustc main.rs
$ ./main # or main.exe on Windows
Hello, world!

You did the rustc, but not the ./!

As for "Learn Rust", that's one of two paths through the documentation, as the first page of the book mentions. I've been focused on the "Syntax and Semantics" section, which is the other path. "Learn Rust" is coming over the next two weeks.
What in the world are you blabbering about? First of all here is the link to the View class in the SDK:

http://developer.android.com/reference/android/view/View.htm...

Looks fully documented to me in the SDK.

But let's have a look at the actual code that you stated didn't have comments:

http://grepcode.com/file_/repository.grepcode.com/java/ext/c...

Sure looks like a lot of comments to me.

As for the bugs, why don't you list them all?

Your points would have a lot more validity...if they were actually valid. Unfortunately, the source of your comments comes from confusion and ignorance.
Android is a different beast within Google.

I'm hoping with Rubin out this changes and Android is held to similar standards as the rest of the company.
As Jobs noted at the D5 conference (the interview with Gates), Apple's business doesn't work without Microsoft type companies. Those guys provide the lower 2/3 of the market, and Apple can be BMW / Porsche.
In theory, I love it.

In practice, what's to stop the officer from confiscating and/or damaging/destroying your phone, before it has stopped recording and thus before it has sent anything at all to the ACLU? Worse, their faq seems to indicate that after stopping recording there is a survey that you either have to fill out or cancel before the video is transmitted.

The technology exists to stream the video, as it's recording, in real-time to the ACLU (I think). What is the ACLU thinking by ignoring this obvious flaw?
A vastly larger proportion of land was utilized a hundred years ago for agriculture. I've seen photographs from the 1910s of my hometown which are unrecognizable, except for the buildings, because most of the portions of the hillsides and river intervale pieces were cleared and used for growing either corn or grazing sheep and cattle. Now all of that area has grown up into forest.
Yeah, the thing with formal definitions is that they're like little programs you have to compile before you can see their output. Trying to understand what a function is from a statement such as "a function from A to B is a subset F of the cartesian product AxB such that for all (a1,b1), and (a2,b2) in F, b1=b2 whenever a1=a1" really obscures the notion this is all about "mapping" or "doing" something. This definition is more like something that you would feed to a computer who doesn't "understand" what really is going on. Or to a human, who would work through it piecemeal, and try to build a few functions following this definition until the a-ha moment would come and this human would form a different intuitive understanding of what a function is or does.

But the reason we write definitions as little programs to be compiled is to make sure that there can be no room for ambiguity. You compile the definition and arrive at the same mathematical object as anyone else. If we define a function as a mapping or a procedure, then we just shifted one word for another and still have to elucidate what a mapping or a procedure is.
Scientists warn of chemicals in pizza boxes, carpet care
I assume the final apk to be released would actually package the Dart code/server within itself? Kind of like React Native.
Ask HN: Best Computer Science Graduate Schools?
Three years ago I was hired by a fortune 500 company into a coder role with no tech background but with a solid head on my shoulders.

Now, three years later my legacy tech application (COBOL) is definitely feeling constraining and I’d like to hop technologies. However, the job market is tough without a computer science bachelor’s degree.

I’ve done a few MOOCs and certificate programs here and there, but found that beyond basic syntax they don’t teach the system-level thinking I’d want to build my own apps from scratch. I'd also like to build for cutting-edge tech, e.g. wearables like HoloLens.

What I’d really like is an advanced education in technology at the undergrad or graduate level. Any recommendations for graduate schools in-person or online? I’m based in the Chicago, IL area but would be willing to relocate for the right opportunity.

I’ve been advised to look at engineering schools because they’re more rigorous than liberal arts CS degrees, but can anyone confirm that?
Maybe not in Fx, but on Safari on an iPhone 5C it's completely unusable.
Yeah, and as I recall, it took something like 5 years to find this bug because no one had kept a machine up that long.