skysight-inc/HackerNews huggingface dataset:
I never said these things were problems. I only brought them up because the article doesn't even mention them, or type safety at all.

It is one thing to have code for an example or for an introductory paragraph, but it should be mentioned that `interface{}` is not totally "safe" .
Enough people have posted links in this thread. Its also easy enough to search for. However, as mentioned, no matter what you read or infer, if there is a child in distress on an airplane or in an airport the very least you should do is bring it to the attention of airport or airline staff.
I don't think people here are against commenting APIs... That's more of a documentation thing.
In our experience thus far we've found that students are far less intimidated by the numbers/math when they're able to directly manipulate the results. When they can tweak the numbers with minimal ramifications and instantaneous feedback they can easily intuit what the numbers are attempting to do. Working with young kids we definitely found that they were comfortable in this environment even after minimal introduction.
my guess is that when it's rocket powered it's shielding the (blocked?) intakes of the scram jet. when it ejects the rocket booster and switches to the scramjet it changes attitude (and the "waverider" details at wikipedia are quite interesting - http://en.wikipedia.org/wiki/Waverider)
Title changed -- geeeeeze #cowersinthecorner
200+ DPI displays actually do make everything that came before trivial and irrelevant. So take that point and put it in your pocket and let's all move on.
Dark Sky Version 2.0 (with sales figures)
Maybe the compiler needs to see the whole function in order to properly optimize register usage, because the function is on the critical path.

There is sometimes more to code than readability, unfortunately. I have worked with functions thousands of lines long that can't be broken up without losing a few percentage points of speed - but these functions are called millions of times.
So, the way I understand it, the connection between the load balanacer <-> web server is over the private network, right? And with VPC, your private network is isolated and can't be snooped by other Amazon customers?

Sounds cool, but this would only work on Amazon or datacenters w/ cross-data center private networks (SoftLayer has this, for example).
Oh, I guess I misunderstood. The load balancer <-> web server connection is over HTTPS, not HTTP.
I learned javascript as my first language, and when I first saw recursion my reaction was "There's a name for that?".

If you learn from good tutorials it can be as good as learning with scheme.
Getting an application error at http://www.sendrail.com/add-friends#_=_
Freshplum looking for business interns (SF)
Freshplum is a small startup in the revenue analytics space. We're applying micro-economic theory to real-world problems.

We're looking for someone who has a background in commerce and the drive to pursue sales, marketing, biz-dev, etc. You won't be given very much direction but you will be working closely with the CEO.

You have to be able to work on-site from our location in San Francisco. Housing and a small stipend will be provided.

The experience will be somewhat similar to our Startup Summer internship program. You can read about it here: https://freshplum.com/startupsummer/

Interested candidates should submit an application here: http://samodio.wufoo.com/forms/freshplum-business-intern-application/. We promise to respond to each candidate.

Position starts ASAP.
bad headline.

bad spell checking.

shameless self-promotion.

gathering requirements during dinner and compressing the schedule from 18 months to 9. I'm sure it was great to work in engineering there and keep those managers honest.
Ask HN: Does anyone know what happened to Bloglovin?
Bloglovin is a website that allows people to "follow" blogs via RSS in a Tumblr-like display. The service hasn't been capturing feeds for at least two days now and the company does not reply to tweets. Others on Twitter are also wondering what happened. They were written up in TechCrunch recently too.

http://techcrunch.com/2012/06/29/bloglovin-betaworks-series-a/
Even with a reverse-md5^10000 oracle, you'd only get some bits that hash to the same hash as the mysterious pair of strings. Unfortunately the decryption key is derived from the pair of strings themselves, not from their hash. Reverting md5 is not enough to retrieve the decryption key.
I thought about uTorrent too, but Mu has a hex of 0x03BC. Plus it is a popular software and in windows, it's folder in program files uses 'u' instead of Mu.

http://www.fileformat.info/info/unicode/char/3bc/index.htm
Cat's out of the bag. :)
I was skeptical of e-readers at first, but after receiving a kindle as a gift, my book consumption increased dramatically and it quickly became my favorite gadget.

The one and only downside to the Kindle for me was lack of ability to share my books with friends. I've finished reading a book several times and told friends how great the book was, but I couldn't lend it to them, either because the book wasn't lendable, or the friend didn't have a kindle.

On the otherhand, I brought a small library of physical books with me (maybe 10-12) when I moved to my new house with roommates. I keep those books in the living room bookshelf, and all of those books have been read by multiple people, be it roommates, friends, or visitors.

E-books are currently missing the point on the social aspect of book purchasing. One of the great joys of reading is finishing a great book and lending it to someone and then discussing it, or having the opposite happen to you. I hope this problem gets a happy solution soon.
> No. Have you read 70s and 80s C code? Tried tracing through the original UNIX kernel sources? Tried working with them?

Yes. It's some of the easiest to understand code I've read. For example, http://unixarchive.cn-k.de/PDP-11/Trees/V6/usr/sys/ken/slp.c

They're actually quite decently commented. The functions describe what they do clearly, and the bodies show how they do it tersely, with comments around the sticky bits.

Have you read through the original Unix kernel sources? Claiming that they're uncommented and difficult to work with is surprising. (On the other hand, the directory structure could be better.)
Top Minecraft Hacks Client
Your HTML5 Questions 19
Yes, these are GUIDs in the following format:

{931373E2-3DA4-4631-930C-F59510630DA3}

It seems to me that's a good theory of what it might be looking for, as GUIDs should make good triggers. I wonder if this reduces the search space enough to make brute force feasible now.
This site appears to fulfill one of the problems I've had with the various open courseware sites -- where to get started, and how to organize the learning. However, I'd like to see it go a step further, and organize the individual courses in a particular degree program into a real schedule. For example, I'd like to feed in how many hours a week I have to study, and have it produce a schedule of which courses should be taken together, in which order, and possibly a class schedule -- "spend one hour on section 2.3 of class foo, next spend 1 hour on section 1.7 of class bar", for example. Or at least break out the classes in groups that can be taken together, similar to semesters in a regular college program.

Anyone have links to similar types of sites with a good education roadmap?
I think it could be summarised as thus, in general terms:

You should never need to write a comment to explain what you're doing. If you feel you have to, rewrite the code until it doesn't need explaining in a comment.

# this method manipulates dimensions
def method_x(a, b, c, d)
# a is the width
# b is the height
# c is the depth
# d is a list of options
...
end

That could obviously be re-written as:

def manipulate_dimensions(width, height, depth, options)
...
end

However, it may very well be the case you have to explain why some code exists, or why it wasn't done another way:

def post_to_awkward_api(data)
# stupid.io doesn't accept HTTP Post params
# so we have to use a comma separated string
silly_string = data.join(',')
....
end

def bug_fix_workaround
# see http://stackoverflow.com/relevant-question/...
end

Not that my examples are amazing. But there'll always be the case where another developer (or even yourself) is not privy to the thought process that conceived a particular block of code.
Learning tools like this would have saved my teachers a lot of headaches if they were available 10 years ago.

As opposed to the classroom model of: [lecture -> assign work -> grade & return with static feedback], students can actually play with the subject matter during the lesson, instead of turning pens into projectiles or doodling in their books because they're bored to death (not that I know anything about that). Then they get immediate feedback, whether right or wrong, by seeing how the instructor would have solved the problem. That kind of hands on learning, where the student learns through their own trials and errors is much more fun than sitting through a lecture that has to accomodate the varied learning paces of a classroom of 20+ students.

The video posted here unfortunately focuses on the live editing aspect of the app, but you can see the interactive lesson function more clearly in this early prototype video[1].

This kind of interactive learning is the same thing that Sebastian Thrun is working on at Udacity[2]. For all the promise of making university courses available for free online, I think this is the truly disruptive stuff going on in online education, because it's way beyond just filming lectures and throwing them online, it's a fundamental leap forward for education.

[1] http://www.youtube.com/watch?v=nvaaude_1hk
[2] http://www.youtube.com/watch?v=75TP3hoPA8U
You also need a German business license.
1and1 ask for passwords over the phone
No, the way it works is that there is a load balancer that terminates ssl and forwards it to nginx instances all in a private network. The nginx instances then have secure HTTPS connections over the public internet to the main load balancer that terminates ssl and forwards it over a private network the application servers. So this would be possible with any network since the cross country connections are encrypted.
> That is a gross generalization. I do not, in general, comment my code (and I know and work with many other programmers who do not) but I go to great lengths to ensure that my code is easily understandable.

You're almost certainly not succeeding, because unless you work with a language far more expressive than one I've seen previously, then your code can not express all the information I need to work on your code.

A complete lack of comments is on my top three list of "bad times ahead" warning signs when I inherit a codebase.

The other "bad times" warning flags are:

* A lack of documentation

* A lack of automated tests (integration, unit, or otherwise).

These three things can make or break maintainability on their own, and they also often serve as a proxy indicator for just how much thought an engineer put into fully understanding the invariants and edge-cases of the code they've written.

The hard part of writing comments, documentation, and tests is in understanding invariants and edge-cases. The easy part is writing down what you've understood.

> I suspect we work in different sections of the industry, but in my world, comments are often a red flag rather than a welcoming sight!

Unless your section of the industry has no interest whatsoever in maintainability, I'm not sure our respective sections are very different.
You can edit (or delete) comments here for up to 2 hours after you make them.
What about sourcing all known \Program Files\ paths out of search engine indexes which meet the criteria and brute forcing.

Microsoft exception reporting must have a list of all apps ever seen too?
Wait. "The actual HTTP request would then be sent to the intermediate instance which then forwards it on" are you forwarding this on in plain text ? Is the traffic at least traversing a VPN between the two locations ?
Clickable TC link:
http://techcrunch.com/2012/06/29/bloglovin-betaworks-series-...
rsync.net's warrant canary seems to be a good implementation of this type of idea: http://www.rsync.net/resources/notices/canary.txt
I probably wouldn't write "increment the total", but I think it makes sense to comment on what the total is/represents, or why the total is incremented in some particular way (if it's non-obvious).

My beef with "increment the total" comments is not that they are there, but rather that they don't help me get the big picture.
I just started learning more about WebRTC and it looks like an interesting foundation for numerous startups. New technology among others to help solving specific tasks.
I really love what is being done here so far, especially the voice overs and live code editor, but I think it might be helpful to first-time visitors to put some more of that info on the khanacademy.org/cs page as well.

Right now, at first glance it just looks like the Khan "Computer Science" curriculum is solely about learning how to make drawings and animations with processing.js. It can be a bit confusing to the first-time visitor, who might be asking "What is this page going to teach me exactly?".
Maybe, but this is the case for any dead man's switch (even a bank/lawyer). It's always a balance between what the mob boss thinks he can get you to do vs the power of the dirt you have on him. Literature/TV have beaten to death the permutations/twists on this theme.
No matter how credentialed, experienced, or articulate you are, saying "the sky is blue" is still saying nothing at all.
Without tracing the backing kernel structures and the code that relies on them, please describe why sleep(chan, pri) works, and as a maintainer, what I need to watch out for when modifying that code.

What does swtch() do? What does issig() do? Does that mean it's checking for a signal during sleep? What signals could be generated? Under what circumstances do I need to check for those signals? Are there any race conditions? Does ordering matter? What happens if I move the call to issig?

Beyond the invariants, this code is NOT READABLE. I can't just glance at the comments for an atomic unit of 4-5 LoC and see what it does -- I have to examine the code in depth, running the logic in my head, and explore the workings that way.

Reading code without comments is like tracing out a circuit without a schematic or documentation. First you have to manually establish the what, and only then can you even start to spend your time determining the why.

I work on modern BSD code. It's better than this old stuff, and I still have to dig to figure out how/why things are supposed to work. It's a headache compared to properly commented and documented code, where I can just skim standalone units and know what they do without having to trace everything myself.
I stand corrected and am looking forward to giving it a spin--thanks for pointing this out!
Actually many of us do find it a bad thing. Useless comments are worse than no comments.
Why don;t you do a "Show HN" post and see if you get anyone from here ? You never know. The first 20 could come from HN.
Nasa's Curiosity Mars rover seen in new satellite image
How many different ways do you need to be told what to use to develop Android apps on Android? AIDE and TerminalIDE can be used to develop Android apps from start to finish including signing and the whole ball of wax. You can even open up your Eclipse projects and just pick up from where you left off.
I agree. After reading the tutorial, I want to try this out. It looks like fun.
I went ahead and spent the money for the ergodesktop, this one:http://www.ergodesktop.com/content/kangaroo-elite
For those of us working in a cubicle farm where the desks and walls are bolted together for miles, bringing in your own desk is not an option. I started by propping everything up on empty boxes. It was ugly as hell but the heights were correct. I did this for over a month just to make sure I was going to like standing as much as I did. Well, I loved it and buying the ergodesktop seemed like the logical next step. It IS expensive. But, I can take this with me when I leave knowing that no matter where I work I can set this baby on my desk and stand or sit. So far I love it and find it well worth the money given that I spend 40+ hours a week using it.
That's what function names are for. Comments don't need to summarize. A useful comments says why code is this way, it doesn't summarize or repeat code.
Hah! No worries, my hack was 90% objective-c, with only a few lines of Ruby on Heroku as a backend.
Esc works perfectly on Hacker's Keyboard which is just a download away on the Android market.
Stay off of the Critical Path
I believe it depends on who your target audience is, but basically you are facing a marketing obstacle.
You need to spread the message about your product. That may be done via webmarketing/social media (Show HN?) or IRL in conferences, for example or the old door-to-door sales.
Hackathon: What Not to Do
Rich Hickey: The Value of Values
Flagged as inaccurate. It's not crowdfunding, and it's definitely not crowdfunding done right.

This site is just a directory of accredited investors, who are already allowed to make investments in non-SEC companies.
Back in college I was a teaching assistant for CS classes and graded a lot of what was very often very poorly written and majorly undercommented code. But I do remember once getting an incredibly unnecessary 2 page long comment for a 10 line function.

That may be the only time that thought has gone through my head.

At my first internship, the code base had basically no comments in it, but was in general very clean, very organized, and there was a ton of thought put into naming and organization for readability. It was a good exercise for me working like that because it forced me to not rely on comments to explain messy code. But I also remember having long debates about what to name a variable to make it perfectly clear to the next person reading this code what it does (and often times ending up with excessively long variable names) and thinking "wow...this is a waste of time. You could just add a 1 line comment"
Riak at Braintree
Some poor schmuck is wrangling excel spreadsheets with facebook integration for clueless twits, somewhere.

Glad it's not me.
I don't see a problem here. I really like the playground feeling it has all around.

Maybe I'm biased, but I prefer "pick the one that appeals more to you" style.
> applying relativistic limits, calculating an upper limit on temperature and finding a large, but not inconceivable, maximum.

There is no relativistic limit to temperature. You probably calculated temperature by using the speed of the particle (and assumed it to max out a c), but at relativistic speeds this is wrong, you should use the energy of the particle instead.

The question is: Does particle A impart energy to particle B, or does it take away energy? Whichever is faster imparts energy to the slower one. It makes no difference that the speed is limited - one particle can always have more energy than the other, and can therefor impart energy to it. It's not possible to actually reach that speed, so no matter how fast a particle is moving, you can always increase its speed.

Time dilation should cause some very interesting artifacts though, I have no idea how to go about calculating what would happen. Length dilation is even more interesting - you may find your particles are so small that they pass each other and don't collide.

However it's not actually the particle that collides, it's the electric fields that collide. But electric fields travel at the speed of light - so the fields won't really have time to notice each other.

And finally at these energies a collision is unlikely to bounce, instead it would create some new particles, using up the energy and cooling rapidly.
Ah, okay. That makes sense and sounds like it has the potential to be pretty lucrative.
This is excellent. I have a few questions:

You need to provide the background of your study, the types of experiments undertaken, the materials and methods, and initial results of your study.

Do the technicians reproducing the results get to see the initial results? It seems like it might be more accurate if they didn't. Lots of parameters can be fudged and adjusted, a la Millikan's Oil Drop, when the results don't quite match. I imagine this might be exacerbated with the necessity of researcher-validator communication.

How are conflicts resolved? If my results are not validated, someone made a mistake - me or the validator. If both parties stand by their mutually incompatible results, where does it go from there? I can imagine a lot of researchers I know feeling annoyed that someone whose expertise they cannot verify (due to anonymity) won't "do my experiment correctly".

I imagine that in time there might be specific requirements or explicit funding allocations for such reproduction on grant applications, which would really allow it to take off. As it stands, I imagine a lot of PI's would just ask "hmm, I can spend money that might risk my already high-impact paper, or I can keep the money and not be considered wrong."

Still, this is a great first step toward facilitating a central tenet of the scientific method. Congratulations.
Directors & Network Density in Movies
I don't know, I feel like that's a antiquated, almost a derogatory term used by people who do not know any languages beyond HTML/CSS.
Hi, this is Bilal from Science Exchange. Appreciate your concern, but that is why we feel Science Exchange is uniquely positioned to make a difference. We have developed a network of 1000 core facilities and CROs on our platform, who operate on a fee-for-service basis to conduct experimental services. The Reproducibility Initiative will leverage this network to outsource specific experiments within a study to these facilities.
Well who would disagree with that? It's common sense; no article required.
I think this has the HMAC timing flaw. This is a hard flaw to exploit, and a very common one that many people could spot, so:

die "Invalid signature\n"
if ( $hmac ne hmac_for($secret, $user, $roles, $ts, $ua) );

The "ne" operator in Perl will terminate at the first non-matching byte. You need an HMAC compare to touch every byte. The idiom is, XOR each successive byte, then reject the hash if the accumulated sums aren't 0.

Also, I'm not wild about a structured cookie with "-" as the separator that contains any user-controlled data. The user-agent is last in the cookie, which is good, but you worry about usernames with the "-" character. "Canonicalization" is the process of ensuring that every piece of data that hits the hash is in a character set that can reliably be extracted from the cookie. For data that is in any way under user control, if you're going to use "-" as a separator, I'd hex-encode the strings.
Thanks for sharing your site. I'm not someone who produces or films movies, but I do have some friends that enjoy making movies.

I'm working on an application called PillHQ, which will be a reminder service to help people remember to take their medications.
Maybe I don't understand the problem correctly, but why not just preflight an HTTPS request when your widget loads?

In the time it takes the user to pick their file(s) to upload, the initial SSL negotiation will most likely have finished. And if you upload multiple files serially, the browser should even reuse the current SSL context, so it wouldn't be ~300ms per file.
Well, the free energy thing. The 747 weighs something like 735,000 lb.s but it's four engines only produce around 200,000 lb.s of thrust (if I'm reading wikipedia right)

So the plane doesn't have enough power to counter-act its weight. There's something about the air that's actually supporting the plane. And no one knows what it is yet.