skysight-inc/HackerNews huggingface dataset:
If your code comments are breaking any DRY principles, then it's likely it's because they're explaining what your code is doing. I agree that properly named variables and well structured code should be easy to understand if you want to know what it's doing.

The purpose of comments are to say why your code is doing what it's doing. These sorts of "why" comments should be encouraged, not avoided.
The more I hear about this, the more glad I am about ESA/EADS/Airbus et al. I know that the large european countries aren't much better, but it's still comforting to know that we work on Galileo, use Leopards and Eurofighters, etc.
When I read it 16 years ago, I went to the length of actually looking up some of the twin studies. My impression is that they are not as compelling as it sounds. For example one study had 40 individuals, but they were not a homogenic group. It's not that you have 40 twins seperated at age 4 and then tested at age 40. It's actually very rare for twins to be separated and therefore the stories are usually complicated.

Some things in the papers made actually doubt them more. For example they mentioned one pair who they found wearing the same clothes and having given their kid the same name. I'm sorry, but there is no gene for tastes in clothes, at least not to that degree. Neither is there a gene for picking kids names. So those studies certainly overshot in some aspects.

In the actual IQ data there was also quite some variation.
An open headphone like the HD 600 (which I'm wearing now) is really unfair to compare against noise canceling; I use Beyerdynamic DT770 for "closed", and in-ear from etymotics or ultimateears, rather than active noise canceling -- the only active noise canceling headphones I have are Pro Ears and MSA Saladin (shooting/military ear protectors which take radio input).

I'd be upset if my home environment were loud enough to warrant noise canceling, though.
The story of Crytek : From X-Isle through redemption
And almost none of the results of 'google nsa lawsuit' on google are negative about google:
http://www.google.com/search?q=google+nsa+lawsuit

Everything is a filter bubble.
It has to change because our code is not the ends itself, but only a means to an end. The end itself is using rooted in human psychology - 'ease of use', 'problem solving', etc. This means that the end itself cannot ever be truly completed as it's about as close to a random process as you can find. This means that the code itself will have to continue to change to follow the random process it is trying to arrive at.

Simply: the environment the code is executed in changes, and so the code must change.
Nice app, if people are looking for something similar for Xaml based apps (WPF, Silverlight, Windows Phone and Windows 8) I highly recommend Xaml Spy http://xamlspy.com/
> Comments are not testable/verifiable

Although not strictly comments (rather, docstrings, which have a similar purpose), Python's doctest[1] allows you to write code in your docstrings and then test them for correctness.

[1] http://docs.python.org/2/library/doctest.html
The Muslim integration might be real issue, but it's also to a large part fear-based; that was definitely the impression I had back then from the advertisements and the media. In any case, I don't think laws should be enacted just to voice opinions and this one might at the end actually further hinder integration. This is all a bit OT now though :)
I'm trying this out now and just switched to the 3D view. Mind = blown.

Great job, I have a feeling this is going to make big difference for visual debugging.
The ml style statically typed languages are very different from all of these (in good ways).

For example, in Haskell you can write code as if you're in a dynamic language without annotating all the types and yet you get all of the benefits of types. It's the best of both worlds.

Concluding that static languages suck after using java and c++ et al is a common mistake, and is understandable.
Summing up your wife's experience with the one in the article, perhaps what employers like the least is the ambiguity of getting a CV where they don't know if the applicant is male or female?

I do know I have felt somewhat embarrassed when I had to reply an email to people with a gender-neutral name. Although maybe that's because there are no such names in my country, so I find the situation odder than most people. But I can picture a HR person wondering about the gender of the applicant and just skipping to the next CV to avoid the uncomfortable moment, especially if there are many similar CVs to choose from.
Bad code has few comments. Good code has many comments. The best code has few comments.
Comments that could have been mechanically manufactured from code "@param databaseWithFruit a database, with fruit" are indeed dumb. I omit them.

That said, people who modify code without seeing if the adjacent comments still make sense are bad. If something is wrong on your screen, you should notice it and fix it.
http://stackoverflow.com/questions/7969552/why-does-4-3-retu...
Forms | THE USA VISA.COM
Nice, this will ruin it for the rest of us all:(
Yes, especially design decisions and reasons for stuff, that isn't obvious, like why this is looked up each time, and not cached, or why the data representation choosen is as it is, and not something simpler/faster, etc.

But there are ways to move some things from comments - gotchas can be made unit tests instead of //WARNING!!! in comments - made a test that checks the implementation for the error that shows when you cache this thing that can't be cached - even if somebody miss the warning in comments he will surely notice the problem when the test fail (comment should still be there so people that read code before making changes won't have to wait AFTER they changed stuff and run unit tests to see they shouldn't do this).

One great practice is to make unit test for every easy-to-reproduct bug, check before you fix the bug that it fails, fix the bug, and commit both test and the fix in one commit.

Some comments can be also moved to commit messages instead - especially comments that explain why something was changed - you can always blame code and see relevant commit messages, and if the code changes blame won't show commit messages for the lines that aren't there. Comments may be still there after a change that made them misleading.
Good grief. SOME NUMBER blah blah RELIGIOUS ISSUE.

So I have trouble with any article that starts with SOME NUMBER because that's about as lazy as starting with a definition. It's bad discourse.

And I don't understand how RELIGIOUS ISSUE belongs on HN. In this case it's comments, but it could as easily have been favorite language, editor, or any general dogma.

Those are my "2 reasons to avoid the contentious but vapid article".
ownCloud designer here, thank you for all the shout outs!

There’s also a great RSS feed reader for ownCloud since some time: http://algorithmsforthekitchen.com/blog/?p=580 – installable from the App settings, would be cool if you can add that.
Let's not get all crazy and start acting like you get anything for your money with Monster (at least the cables, I can't speak to the headphones).
I think in part this is because the founders reach the point where they feel it's 'enough' way before VCs do, because VCs are risk hungry (distributing their risk across dozens of deals makes that easy) and want to roll the dice again and again. In the end, i believe that timeline of the VC's fund existence preclude them from meeting their return goals otherwise than through exits.
That thread is awesome. Is everything on his site like that, or is it a huge outlier?

I know a fair number of speakers who bring their own mics (either to a recording studio or a live venue). Bringing the whole kit is pretty serious though.
Seymour Cray followed this balance of processor-memory-bandwidth to memory-bandwidth to storage in his designs.
My mom got a wave radio several years ago and honestly I was really underwhelmed by the sound quality given the price of the device. She liked it though so whatever.
Customizing the WordPress footer by adding widgets
The footer is often overlooked when it comes to designing a site, but it’s a great way to find contact details or other important pieces of information. People have been trained to look there since the days of letter writing. Even today if you look at any correspondence, utility bill or company letterhead you’ll find important information. On websites it’s an can be an important navigation tool, it can give you quick access to commonly needed pages that are not core to a site.
great questions. could you please please send me email to janko.itm at gmail. I would like to ask you something specific, but don't know other way to get in contact with you.
The problem with that is that while you might be conscious of that, other people might not be. And you using Facebook and Gmail pulls these people in, for example an email sent to you by someone not using Gmail will still end up on Google’s servers.
Architecture firm holds competition in Minecraft
Hands? Being able to use tools like us humans would clearly be an advantage.
Sony planning on compact Honami to battle Apple iPhone
Solitary confinement is psychological torture.

The effect is to deteriorate the mind. If people end up having panic attacks afterwards clearly it has caused them damage.

Whether it's widely held by the masses to be torture is of no importance because they have just as little knowledge as yourself.

Educate yourself in what psychiatrists, the United Nations, and Human Rights groups have been saying for a long time before stepping forth onto your soap box to call this "absurd."
> Would these same quotas apply to universities as well?

Most universities actually have more women students overall. So applying quotas to all fields would reduce female enrollment in many of them.
Generally excellent, but you have to believe in what you're doing too; doesn't matter what industry you're in, you have to believe in what you're doing.
Support cost, memory requirements (you now need to fit TWO OSes on one ROM), etc etc.
Lets see.

I think most people agrees on the bad of over-commenting or wrong-commenting.

But I would like to review your reasons:

"1. They tend to encourage bad code."

I don't think so. I've seen great comments, even if it's not a cool topic.

There is some factors which may change the quality of a comment, a lot of them are cosmetics, but there are other like: the capacity of the programer to empathise with future maintainers/users and think on them, the capacity of the programer to redact good comments and think interesting messages to people following the code, the committing level of the programer with the future of the project, etc...

But I don't see how comments encourage bad code. People can make bad code, and bad comments, and good code, and good comments.

"2. We spend more time writing and maintaining them."

If a comment is making you loose time, it's a wrong comment. All you use programming is to save time.

The reasons you give there, point more to poor designs or inconsistent project managements.

"3. Comments are not testable/verifiable."

All is testable, hint: search in metacpan for: test pod

You can introduce deprecation policies, in your code, in your tests and... in your comments. Check for validity, spell, dead-links, text matchings, etc... I don't know why you assert you cannot.

"4. They are less reliable than the documented code"

That points to wrong comments.

If a comment is wrong, is wrong, the same as if a line of code is wrong, it, is, wrong.

If a comment is in the code, should be because it helps to the usage (typically the maintenance) of the code.

In the case of libraries (typical usage of the code: reuse), it's usual nowadays that what you find in comments, is the metadata needed to build the library documentation.

I think both cases of comments, internal maintenance and public "face" of the code, imho should be always as reliable as the code lines if we want to treat seriously a project. I know it's not, but that's just lazy/ego/copy people.

"5. Some comment styles can fill a lot of screen space"

That's not a reason to not use them. If they fill screen space with _useful_ information.

Your programming oriented text editors, eventually can (un)collapse comments.

So, that is my review to your reasons.

I could have write:

0. On bash, long comments slow down execution (measurable at big scale).

1. Wen I code for myself, I don't comment.

2. As we now there is not going to be time to document this project, we just "do it".

That are valid reasons for me.

Best regards.
"The government's ability to perform surveillance even when armed with a court order depends in large part on the decisions engineers made when designing a product."

So it's up to engineers building new products to incorporate security from the ground up. No more lip-service to 'Your privacy is important to us' but actual technical changes.
Some random thoughts (I hope this is useful)

The article and your research are quite interesting. I am currently interested in the similar things (more from the theoretical side than practical application side).

You say at the end of the article that you are interested in “Change detection” which is quite wide. What exact setting are you interested in? :

Here is a (biased, IMHO) taxonomy of change detection methods for time-series data:

1. Only samples from a time series is provided, no labels or assumptions.

2. Time series has different “modes”. For example, you have a time series of an electric motor that can either be in normal operation or abnormal operation (broken). You have “training” data that only consist of normal operation (“inlier”). You then have the “test” data that is a time series of the motor and some abnormal (failure) times (the unlabeled test dataset therefore consists of both “inliers” and “outliers”). The goal is then to identify the abnormal times (you do not have labels of the abnormal so you cannot straightforwardly calculate a classifier).

3. Time series has different “modes”. For example, you have a time series of an electric motor in normal operation. You only have “test” data that is a time series of the motor and some abnormal points (e.g. failure). The goal is then to identify the outlier points.

4. The time series have different “modes”, but you don’t have access to labeled sets. A good example is human activity recognition from accelerometer (e.g. “walking”, “running”, “dancing”, and “sitting”). This is more akin to clustering (i.e. divide the time series data into four clusters).

For (1), I don’t think one-class SVM is the best approach (there are some other methods based on divergence estimation). One-class SVM will work well for (3). There are already some techniques for (2) (I have some ideas to improve them). (4) is an interesting problem, because it is actually an “easier” problem than clustering.

I assume that you have labeled dataset. Then perhaps (2) is the best setting for determining change points. All of the training data can then be considered to be one class (“inliers”). The points at which the classes change you don’t know (i.e. “outliers”).
Nice one! I've been looking for a nice tool like this - looks great!
Sure, why not? Birthday might not be absolutely relevant, but allows to judge your success at school/uni/education much more easily, nationality is relevant to decide whether they would have to go through trouble to get you employed (if non-European), and the employers/jobs of your parents usually correlate strongly with your own qualifications, at least on a quantitative level.

Whether you like the fact that a surprisingly large number of university student has academics for parents, it is still there, and if you want an intelligent person, it might act as a decent filter to look for intelligent parents, especially is said person does not have much experience otherwise yet.
ownCloud designer here, thank you for the kind words! Two things you might like:

* We’re reworking the Music app this summer, see http://kabum.github.io/2013/06/20/GSoC-First-report/

* There is a stable News app to read RSS feeds: http://algorithmsforthekitchen.com/blog/?p=580

Cheers!
You can't incentivize a turnip to bleed.
Have you done any study on our current understanding of the brain and cognitive science?

[http://www.npr.org/templates/story/story.php?storyId=1290271...]

not everyone agrees on the above model, but I think its safe to say that the part of the brain that deals with leadership existed before we invented civilization .. wolves have leadership, apes have leadership. So much of social nonverbal communication probably comes from the primitive, instinctive part of our brain, not the logical, planning part.

I think if in the past you had to deal with some really irrational people, and you were intelligent enough to be able to use logic to figure out their bullshit, at some point in your life it was probably really helpful to just reject all irrational bullshit. At one point in my life it was really helpful to me to suppress all instinct and rely solely on logic. But since then, seeing how some completely illogical people can in many situations be more efficient than me in navigating life's obstacles, I have had to learn from my mistakes and revise my behavior. I do think social nonverbal communication is ethically neutral. It's not the smartest behavior, but it is faster than the smartest behavior, and there are many situations where that ends up being more important. Not all. Unfortunately at this time I do not know of any better way to figure out which is which other than experience.
EDIT: Sorry for the wall of text. Also, why your idea is good:

Consider a person going from "sitting" to "jogging". When the change point occurs, the reading on the accelerometer will be high for a short period (in the forward direction). As soon as he runs at his steady pace, it will be "0".
Creating interactive graphs with SVG (Part 2)
Not exactly. X can run atop of Mir, but then you're adding additional bloat to what is already a rather bloated distro of Linux.
Walk Away from the Past
To me this lesson is simply a reminder of the fact that business is all about sales. Just look at SalesForce. Best products don't always win. Business is about finding an arbitrage opportunity - build something for $X and sell it for $Y. Some businesses can get away with buying stuff for $X and selling it for $Y. Building is the easy part.
> @param title

> @param author

> @param tracks

> @param durationInMinutes

May the params be null (title, author) or <= 0 (tracks, durationInMinutes)? What happens in such cases? Is an Exception thrown? Which? What exactly is the result of addCD()? Which related methods are available? ...

Yep, avoid bad comments, provide informative comments!
NSA Critiques Public Key Cryptography in 1986
Try PriceDrop instead to follow Amazon product prices: http://pricedrop.stuffstuff.org . It's not evil.
Entrepreneurial software engineer -- Augmedix -- Google Glass Healthcare IT startup -- San Francisco, CA

DESCRIPTION
Are you a future-oriented, entrepreneurial engineer who wants to help change healthcare? We are currently looking for a self-motivated, experienced developer who can help us develop our core product on the Google Glass platform, and change the way doctors and patients interact with technology. Above all, we are looking for someone who can fill many hats as the product develops and the team grows. We are exploring uncharted territory, and if you enjoy the freedom and responsibility of designing and building systems from square one, your impact will be huge. You will drive product development and technology innovation in partnership with the CTO.

ABOUT THE COMPANY
Augmedix is on the hottest startup in Silicon Valley and the first Google Glass startup -- ever! We’re creating a groundbreaking service for medical doctors that’s powered by Google Glass. The company is midway through raising a very successful seed round. You couldn’t pick a more exciting time to get involved.
We are headquartered in San Francisco and are part of Rock Health. We’re part of a vibrant community with some of the hottest digital health startups, and every day, venture capital, technology, and healthcare luminaries drop by and provide up-close mentorship.

KEY RESPONSIBILITIES
- Design, develop, test, and deploy software for healthcare applications
- Work with the CTO and other team members to understand requirements and define technical specifications and technology roadmap
- Research and evaluate third-party software and hardware solutions
- Also, you get to play with Google Glass before anyone else!

QUALIFICATIONS
- B.S. in Computer Science or equivalent from a top tier school
- Programming experience (2+ years) with Linux, Java, C/C++, JS, HTML, and Python
- Familiarity with both client-side and server-side JavaScript frameworks
- Proficiency with Android development is highly desired
- Understanding of TCP/IP, UDP, and networking fundamentals
- Knowledge of security protocols and video streaming standards is a plus
- High levels of creativity, quick learning and problem solving capabilities

Send your resume to jobs@augmedix.com.
With the right room you could probably take advantage of modes to boost the bass response of smaller speakers at specific frequencies but, ultimately, to achieve a reasonably flat frequency response down to 20-30 Hz you're simply going to need the ability to move some air. There's no getting around that. What you're suggesting is a bit like trying to turn a 4-banger into a V10 by tweaking the spark-plug and fuel injection parameters.
How Introverts and Extroverts Can Peacefully Coexist
I seriously don't understand the logic behind this whole article. Is he really afraid of the google play store disappearing? Is he aware that you can install an apk from anywhere after changing one setting? Virtually everything that's been shut down by Google has had a graceful shutdown where you could export your data in a calm manner.

It sounds like he's more concerned about the NSA stuff than having services shut down but never really says that. It's just a weird rant as far as I can tell.
Or you could use a legitimate OS and legitimate browser and debug using tools that give you native introspection out of the box.
Bicyclist Flees Country After Oregon Police Force Catheterization
It's not a space. The l and the C are at the same distance as before. She just remove the ligature. I looks more natural I think. Writing with a pen on paper, I wouldn't write the l and the C with a single line. There's a natural cut here.
My problem is that The Feds are spying on me. If they want to be a part of the solution to that problem, great - they can stop.
Thanks from FastMail for the kind words too :) Quite agree about keeping outbound SMTP working. We spend quite a lot of time and effort in both keeping our outbound email relatively clean to stay off blocking lists, and making sure we support all the latest signing, DNS magic, whatever antispam tricks are in existence to improve the reputation of our IPs.
Exactly. There is no void in hardware, for example. Also, there's no bottom either.
> bias in the other direction

No, both biases are in the same direction - "women stay home and parent" and "men go out and work" are two sides of the same coin.

By choosing not to fight the stereotype that those parenting are women, you are implicitly shoring up the stereotype that those working are men.

Mind blown yet?
XAML Spy - Visual Runtime Inspector for Silverlight, Windows Phone & WPF
You don't even need a jailbroken phone, just a provisioning profile. Objective-C is fully dynamic, so you can override UIView/CALayer so that it sends data to a server whenever it changes and is a child view of the key UIWindow.

They don't say it explicitly, but I would be shocked if Reveal does not work the same when testing on a device.
Basically fastmail with a different skin and without most of the power features.