skysight-inc/HackerNews huggingface dataset:
// Hardware acceleration should be switched off.
// Originally we'd planned to use hardware acceleration but later
// on in the project's life cycle we were told we needed to support older
// versions of Foo: X and Y. This caused some bugs documented [here](#123) and [here](#234)
// due to incomplete support of feature Z and the way that [internMethod()](#internMethod) is currently implemented.
// @TODO: It would be better if we could switch it on or off depending on the device.
canvas.enableHardwareAcceleration(true);

Comments should be organic and give context.

They should describe why and the high-level how, while code should describe what and the the low-level how.

That's just my opinion. This is the kind of comment I write. From time to time it becomes incorrect when a project's moving fast, but I write enough that it's very easy to validate that the use cases and code I'm talking about are real. You're meant to delete the comment immediately if it's incorrect: you can choose to help the next person understand the code or not, that's not up to me.

I think something that's very important is trying to show where a line of code or method fits in the greater scheme of the architecture of the code by linking it towards the methods that are interrelated in important ways.

Edit: You might notice I've left the comment not matching the code. This is a fact of life: somebody will change the code without updating the comment. However, because of the comment you now have a great way of sanity checking this change without having to find the original coder or test it all. Basically: it tells you what you couldn't quickly know looking at uncommented code.
Kidney failure. Also various accidents and disasters.
Great idea. I wonder if we could commission such a book...
http://www.somethingawful.com/news/derek-smart-not/

Good times. It's funny he was even sued by Take 2 Interactive over how his horrible games damaged their IPO.
Nice game! As it stands, later 'enemies' appear higher than more recent (and therefore more imminent) ones. The downside is that you sometimes can't read a number properly because it's occluded—with that font, the bottom of a character is not sufficient to identify what the character is.

My suggestion is to have the enemy z-index start at a high number and decrement per enemy (eg, z-index = 1000 - enemy_number). Trivial fix, and that way more pertinent enemies are on top with their numbers visible.
Personal anecdote - I had an issue with Visual Studio inverting colours and removing toolbars a few years ago and couldn't fix it even with re-install. I eventually (after going though official channels) emailed Scott and he spent a fair bit of time emailing me back and forth to get all the details of the problem and then put me in touch with a few other people in MS who helped me fix the problem.

Kudos to him, I say!
I'm of the philosophy that code should be readable, reasonably self-documenting, and remind you of relevant external material - whether that be your state of mind at the time, or reference material you drew on, or whatever.

Not everything needs an open issue, but the knowledge should be recorded somewhere. I know for a fact I won't remember it in six months, and likely not in a week either.

(I also write a large amount of utility code that's below the "project" scale and will probably never see a PM tool, but which is nonetheless part of a heavy reuse ecosystem.)
Whoops! Forgot to mention that.

Thanks.
> Basically, after Proposition 8 passed, the State decided not to defend it in court, and higher courts ruled no one else had standing to defend it, so the challengers essentially won by default.

True.

> That was a bad thing.

I disagree. A litigant who has lost should be able to decide not to appeal, including where that litigant is the State.

> One of the main purposes of the initiative process is to allow the people to bypass the State.

Incorrect. It exists to allow the people to exercise the legislative power of the State (which they have, via the State Constitution, expressly reserved so that they can do so), not to bypass the State.

> It makes the initiative process a joke if the State can effectively void an initiative by simply deciding not to defend it.

They did defend it, vigorously, at the trial level. They decided not to appeal that decision after they lost at the trial level. Which is a rather common thing for litigants to do: appeals are expensive.

But the Ninth Circuit, after a ruling by the California Supreme Court, allowed the proponents to carry the appeal anyway, and the Ninth Circuit struck Prop. 8 down on the merits anyway.

The Supreme Court rules that the Ninth Circuit erred in granting standing to the proponents, but Prop 8 lost on the merits, not standing both at the trial and appellate level.

> The right was is the way we did it here in Washington.

Sure, its always better for a state to provide equal protection of the law itself rather than to be forced to by the federal judiciary. But the wrong in the latter isn't in the federal judiciary acting, or in state officials accepting that action before the appeals have reached the Supreme Court level, but in the State -- whether through elected officials or the people at large -- failing to provide equal protection of the laws in the first place.
Management/HR: most likely extroverts because they have to deal with people.

Developers/Tech People: most likely introverts because they are the analytical type.

Management says, "What's good for us might be good for them. Right?" Developer says (silently), "No."
It sounds like you're talking about programming jobs and an education in computer science. In this area, it's true that you don't need a college degree.

But the article makes no mention of computer science or programming. Instead, it talks about engineering, a set of disciplines that may involve programming but often centers on a much different curriculum.

A degree in, say, mechanical or industrial engineering will unlock opportunities that would not be available otherwise.
They do say that they controlled for class and physical activity: but the only thing open-access about the article is the abstract, so I can't tell how they controlled for those things.
I disagree. When rich spoiled idiots with bad ideas get funded based on family connections and "pedigree", that takes the resources away from people of talent.

We get fired and blacklisted if we try to unionize, disparage (much less sue) bad actors, or otherwise fight on behalf of talent or labor or even innovation. Ridicule is the one weapon we have left against these assholes.
Not starting your Y-axis at zero is a sin.
Before you can be a healthy hacker, you must first be a healthy human being.
It seems odd to me that someone back in '96 went to the hassle of implementing DNS LOC but didn't explicitly specify which reference ellipsoid should be used. Nor does the protocol provide a mechanism, on a per-record basis, to specify which ellipsoid has actually been used.
No, and indeed I don't publish whether or not I have a coinbase account. But it isn't a serious security failure if that somehow got out.
I think his point is that there should only be one "how do I open a file in Python" type of question/answer. Not 30 like there are today.
Great questions Ryan!

Happiness Heroes are the people who help customers with queries via Email, Twitter and Live Chat. Weekend Warriors are people in the team who help with those same things during the weekend (though it's a full-time 5 days a week role, so 3 other days too). We have 6 full-time members of this Happiness team, it's something we make a very high priority. In the last month we answered 92% of emails within 6 hours, 65% within 1 hour, with a volume of around 10,000 emails.

I can definitely see how it seems Mary is getting screwed. Our equity number there is misleading, she has 0.3% (column to the right). Key things to note: Mary lives in Spokane, which has a relatively low cost of living and falls into our "C" bracket in the salary formula. If she moves, her salary will go up by either $6K or $16K depending on where she moves to. Also, Mary chose equity over salary (yay) which is a choice to increase equity by taking $10K less salary. I hope that helps explain things there, let me know if you have any more questions!
Ah of course. I forgot :-)
Journey From Founding Engineer to Founder
Nope. You should do

volume = 5;

Or

setVolumeLevel(5);
Wow, thanks so much for the kind words. Let me know if I can ever help with anything, and good luck with the self-employed business! :-)
www.geekandsundry.com is also well done.
If "copious comments are great" is true -- does that mean we should write copious comments?

I'm talking about opportunity cost here -- the time spent writing comments is time not spent on the code, design, test, etc. So for me the question becomes what I should do to provide the max benefit for the least cost -- should I write comments, improve the design, fix up some code to eliminate special cases, test for corner cases?

Since it's an inherent trade-off, I don't see this as being an easy question to answer. Probably, there are multiple adequate answers.
Once you guarantee that the function takes the specific form, you can manipulate it in ways you can't manipulate the general-case function, and it turns out those manipulations give you enough power to define almost anything else you'd want to do.

In λ calculus, the only way one term can inspect another is by applying it. You don't get an intensional view of a λ abstraction. The other language features that get built on top of this (conditionals, tuples, etc.) only rely on functions' extensional features.
I agree with the linked article. Games, or at the very least "good" games, with the Rift are DOA. The VR internet or metaverse or whatever is Carmack's idea as far as the public communication has been.

The metaverse or matrix or net or whatever is cool and all, and I'm also of the age where that idea is firmly in my head as one of the better use-cases for this kind of tech. But there are a million other use-cases for it too. The messaging that's come out from both Facebook and the Oculus team is that the metaverse now is "the" use-case for the tech.

I actually can't stop thinking about the Kinect. People who've taken the time to reverse engineer drivers for it have come up with all kinds of interesting applications for it, but MS bought it up and for many years none of those applications could become mainstream because of Microsoft's exclusivity on the technology. Now with the XBone it's a glorified remote control and the technology is still locked up.

The facebook purchase isn't just about games dying, it's about everything but facebook's vision for the peripheral dying and the exploitive and privacy violating way that facebook uses user data.

Games are also a pioneering medium for technology (just like Porn). Technology has been pushed forward in no small part because of gaming requirements. Games are not just "a" use-case of the rift, they would have been the primary use case, with everything else falling in behind on to a long tail.

In other words, if the raison d'être for the Rift is dead (games), then pretty much all other visionary use-cases for it are dead too.

This was my chief takeaway from the article

Let's be honest here, VR is going to be used for cyber-sex at some point. Do you think it's okay for FB to have records of who you've virtually seen, how long you virtually performed coitus, what virtual positions you liked and so on and so forth? What about the unknown party that FB sells that information to? You think you can hide behind an avatar or on-line persona? Since when did Facebook let people use handles? [1]

Some hypothetical terms of service where this isn't allowed protects you? What stops FB from just changing the terms without your knowledge because your life isn't as easy to monetize as Facebook would like?

Carmack and Abrash want to make the Metaverse because it's a very old and very cool dream. Zuckerberg wants to make the Metaverse because of the tremendous money making opportunities it creates. Imagine an entire universe you control and can endless plumb for dollars.

1 - https://www.facebook.com/help/292517374180078
This seems pretty sloppy, "The survey did not distinguish between canned and frozen fruit..."
Princess Margaret Cancer Centre: Postdoctoral fellowships in computational biology and machine learning - http://pmgenomics.ca/hoffmanlab/join/

Toronto, ON

The Hoffman Lab at the Princess Margaret Cancer Centre, seeks new members for our team. We develop machine learning techniques to better understand chromatin biology. These models and algorithms transform high-dimensional functional genomics data into interpretable patterns and lead to new biological insight. A key focus of the lab is to train a new generation of computational biologists.

We seek postdoctoral fellows for several projects in computational genomics and machine learning. Selected projects include:

1. Integrating epigenomic and sequence data to better understand human gene regulation.

2. Developing deep learning techniques to find novel behavior in multiple functional genomics datasets.

3. Creating models of transcription factor binding that allow us to predict the effects of perturbations.

Required qualifications: Doctorate in computational biology, computer science, electrical engineering, statistics, or physics obtained in the last five years. Submitted papers in genomics or machine learning research. Expertise in Python and Unix environments.

Preferred qualifications: Experience with epigenomics and graphical models. Published papers in peer-reviewed journals or refereed conference proceedings. Expertise in R, C, and C++.

We will consider candidates who need a VISA to work in Canada.

To apply: We will accept applications until the position is filled. Please submit a CV, a PDF of your best paper, and the names, email addresses, and phone numbers of three references to the address at http://pmgenomics.ca/hoffmanlab/join/#postdoc
While the author, Fred Wilson, does indeed use the term "engineering", he shouldn't be using it. The source data is explicitly about Computer Science degrees: http://www.theatlantic.com/business/archive/2014/03/which-co...

> "The three majors with the highest ROI in America are Computer Science, Computer Science, and Computer Science."

I don't disagree with you but the context of this publication is absolutely about CompSci.
You can be a potential English major, but decide to go into engineering because you want to be employable, and still have a preference within engineering fields. Just because a career isn't the one you have the most "passion" for doesn't mean all other careers are fungible.
Umm seems not appropiate thread but I am looking for FT remote position. Mostly I coded in PHP and then Python but I can code any other language based on requirements.

Profile: http://justpaste.it/adnanprofile
Yes, you can get those features but being a Motorola user for a few years, I have never seen quality hardware when it comes to Chinese manufacturers. I might be comparing two very different segments but the entire point of buying from a specific brand boils down to the support and quality received.
Here's the link

http://www.payscale.com/college-roi
I guess an extension of what I mean is maybe we should write our comments in a way that a human could read a program like a set of how-to instructions, complete the same operations, and arrive at the same result interpreting your work in written language as the computer would arrive at running the code. In my way of thinking about things, code wouldn't be complete until it could be interpreted by man and machine equally.

This allows for the preservation of our human expertise by guaranteeing that any program can be translated in the future by another human reading the same written language into any other programming language (even if they can't understand your code). This could be important especially for some of the more exotic languages with sparse documentation today, imagine what it will be like trying to decipher these things in 200 years!
Just you. Use the status page https://www.google.com/appsstatus#hl=en&v=status
The past probably shouldn't be. After all Nintendo used to make playing cards.

But the past does inform the future and provide it with likely vectors.
So your using SO to have other people read documentation and regurgitate the contents for you.

Ya, that's not a way to make the site useless.
Looking at the ROI on a college degree is very tricky even if you are just using to to compare schools. I clicked through to the original data set (http://qz.com/193400/here-are-the-american-colleges-and-majo...) and it shows that they used a net figure for calculating tuition that assumes average grants and loans. I don't believe this includes a TVM calculation for the loans though. This can really add up if you have 70K in student loans...

I'd like to see a better comparrison with public schools in the engineering field across the entire career of an engineer. I went to a good state engineering school for mechanical engineering. Cheap in state tuition (and a 529) meant no debt post graduation. That's huge when starting out. Additionally my classmates and I had offers inthe 60k-80k range. That might not be as high as people right out of Stanford but I can't imagine it has a large effect over the length of someones career. When you factor in that many of the graduates from more prosetgious colleges carry debt for 5+ yrs after graduation.
Visit fruittrkr.com; FruitTrkr app available for iOS, Android, and Windows phone Q3 2014, VC valuation $1.3 billion.
010100110100111101010011

That's binary for the ASCII "SOS" which means Save Our Ship, it's the universal distress code.

It would take you 24 days to send that message. On day one, your first bit is a 0, so you use a black tile. On day two, the second bit is a 1, so you use a white tile.

The satellite imaging system photographs your house and sees alternating tile colors on different days. You try to find the signal of these tiles among the noise of everything else changing in the satellite photo.

It's a completely impractical way to send messages. :(
How Dart won over Coffeescript halfway through the game
Actually it would help you here. In this case your real address isn't exposed unless someone guessed the exact version you used to sign up.
I got a choose your own adventure style comic earlier, but now it is just 4 static panels. What happened?
Not at any point in time, you don't. You increase your risk of those things as t=∞ (because previously you might have died before they could happen), but your risk of those things does not increase at any point in time.
Return an array or hash?
For a realtime game, player position would be kind of essential, no?

Yes, but UDP is choosing unreliable transport, not throwing away data entirely. No matter the transport, once you start dropping a large enough number of packets it will degrade (or break) the experience. The use case being discussed is when getting the next packet fast is more important than the overhead of TCP. You can build retries or various other forms of reliability into your UDP protocol when outdated information is still useful.

Mixing reliable and unreliable updates for game logic would seem to result in a lot of complexity

Yes and no. It's complex because game state is complex to begin with, but less daunting than you may think because you can compartmentalize to different components of the game. You're not likely to using multiple transports for the same information. See the parent's chat vs player position example.
Update on PayPal and Crowdfunding
> QA / PM / whoever is on your "team" can ask quick, simple questions, that are either too small for an e-mail, or would seriously slow them down if they had to write the e-mail, wait for a developer to check e-mail, write a response, etc. Again, in my experience, developers routinely underestimate how much inefficiency having QA / PM / whatever blocked while they wait for information from a developer generates.

It should slow them down. If they are blocked multiple times a day, it isn't the communication method that is the problem, it is the process. Interrupting developers multiple times a day is not the solution.
> Keep your funds in your own secure cold storage wallet, and you'll have them forever.

In regards to Coinbase, if only because their terms make it clear they aren't liable for a customer loss of any cause whatsoever.
> That comment, however, is a good example of a bad comment.

Yes, assuming there's not some contextual reason why hardware acceleration is obviously inappropriate. But even then, it would be much better to err on the side of "assume the next person to read it hasn't had their coffee yet."

Even something like "don't use hardware acceleration because compatibility issues" would be a better comment. You don't need an essay. But it should be both concise AND descriptive of the issue, not just normative or prescriptive.
That is where we disagree - I don't think of StackOverflow as a reference manual. Admittedly I am mostly a C# developer and Microsoft does a really good job when it comes to documentation, at least in most cases. If you never saw it before and even if you hate Microsoft, have a look at their documentation. Here is the System.IO namespace http://msdn.microsoft.com/en-us/library/system.io.aspx and the reference manual part is just the tip of the iceberg.
Tint (http://www.tintup.com) — San Francisco (SOMA), CA - Full Time

Looking for Full Stack Developers

Tint's mission is to help organizations drive deeper relationships with their customers through social media. We are a group of 8 engineers and customer happiness heroes with a profitable, sustainable business and a great working environment.

In February 2013, we made $493.93.

Last month (March 2014), we made $192,387.18.

Simply put, we have too many customers, and too few quick minds.

Join us on this incredible journey to become a market leader in the social media display and aggregation space. We have plenty of interesting engineering challenges to conquer and relationships to nurture with big brands with endless opportunity for personal growth along the way.

Some of the tech we work with: PHP, Ruby on Rails, AWS, Rackspace, Backbone.js

-----------------------

For more details

• on the positions: https://angel.co/tint/jobs

• on Tint company culture: http://www.tintup.com/about

• on our incredible journey: http://www.tintup.com/blog/tint-year-in-review-2013/

• on a few of our customers: http://www.tintup.com/clients

-----------------------

If you're interested, send an email to ryo@tintup.com with the following:

* Resume or a link to your LinkedIn
* What interests you with Tint?
* A GitHub profile or equivalent.
* A project or open source contribution you are particularly proud of!

I'll read the emails along with the rest of our team and hope to see yours soon!

- Ryo
Gandi, mentioned several other times in this thread, also supports 2FA. https://wiki.gandi.net/en/contacts/login/2-factor-activation

You can also create a second account there and delegate limited rights to it for making changes. The odds of losing both accounts are remote.
I goto school with a lot of people who would jump all over this. If the credit requirement's aren't crazy and students could easily get approved, this could be a game changer. I'm assuming it's going to be a 1 or 2 year term and they are relying on the high resale value once you send it back to profit or re rent the old systems for a lower price.
Chemtrails.