skysight-inc/HackerNews huggingface dataset:
To improve your handwriting legibility, write in italics. (Cursive seems to be write-only.)

https://www.nytimes.com/interactive/2009/09/04/opinion/20090...
while I read TechCrunch from time to time, I never visit PandoDaily. Stopped after I saw Sarah Lacy's charade with Zuck on YouTube.
Most of the other replies here got the gist of what I wrote, but for me, it's about apparent energy levels. That is, because I don't feel weighed down and sluggish because of a huge, greasy meal, I'm more apt to get outside and play basketball with my son or go for a walk, etc.
The training load is based on the exponentially weighted moving average of the normalised work of rides, where the normalised work is a number that shows how "hard" a ride is. A one hour time trial is worth 100, so if you do just that every day for a long time, you'll end up with a long-term stress and short-term stress of 100, and a stress balance of 0. There's a longer explanation over on the blog: http://www.cyclinganalytics.com/blog/2012/06/the-training-lo...

This isn't able to show any weak spots in your stroke because this data is only being recorded once every second. I think you need a Wattbike or similar to show exactly what your pedal stroke looks like. I'm not sure how to work out optimal cadence, but it sounds like something worth thinking about.

Are you talking about when you're using the Strava phone app? I haven't used it, but I'd definitely be in favour of it showing when you're starting segments and doing other smart stuff like that. I'm planning on doing a bit more Strava integration with my site too, starting with getting the Strava segments for a ride.

Thanks for your feedback!
A Misplaced Bet on Facebook
Amazon: We're Sold Out Of The Kindle Fire
Saying the comparison is unfair because the Haskell solution is lazy makes about as much sense as claiming a comparison between a C and C++ implementation is unfair because the C++ one uses objects.

The point of such a comparison is not to provide a accurate language benchmark by comparing algorithmically identical implementations but to compare the most obvious implementations in those languages that solve a specific problem.

Personally I think the Haskell result would still be impressive at twice the speed of the C++ solution simply due to the LOC used and the time in which it was implemented.
My grandfather, a regular country man, is horrorized by the amount of choices he has.

Nowadays there is a remote for the TV with a lot of buttons, another for the video decoder, with more buttons, and another for the radio, with yes, more buttons.

He was used to have a machine which worked upon being switched on. The TV had buttons labeled 1-10 for the ten channels. The radio only needed a dial and a volume slider.

He can't use the radio anymore and, with his age, he's starting to get stuck when he presses the wrong TV button (teletext, menus, etc). We taught him to turn the TV off and on again.

More choices is not always better. Interfaces need to be simple or nonexistant. And, by the way, TV manufacturers should ship TVs with two remotes. The regular one, and another for seniors, containing only buttons 1-10 and the volume control.

Seniors, for some reason, think they'll blow the machine up if they press the wrong button. And seniority is where we're all heading...
I read the grandparent as criticizing Java programmers. A sufficient number of bad programmers seem to fall in these trap often enough that the result is a mess.

Design pattern: I wouldn't be surprised if they are used too much.

Love towards getters/setters. Not the fault of the language, that's just bad practice. And no, you don't have encapsulation. Rarely, getters and setters do some verifications or filtering, but most of the time they don't, in which case you just have raw access to the object's mutable state. Be honest and make your variable public, that's less code. If you ever need to put checks or filters (almost never), then just refactor.

Long names: my jury is out for this one. In your example, I'd say the overly long name comes from an overly narrow functionality. For something that specific, you should use a description string.

Try/Catch: If your QA section tells you to check all exceptions, you may have quite a bit of those statements. (Also, maybe he included the body of the try/catch statements?)

Code that requires an advanced IDE to approach: a good IDE let you manage and tolerate higher levels of complexity. You'll also be less encouraged to simplify your code. You may not even notice when it becomes too complex for a humble vi user.

Verbose code: People tend to stop as soon as it works, without simplify their code further. It's not the language's fault, nor is it done on purpose. I hate when I see code like that. I often have to apply various correctness preserving transformations before I stand a chance at understanding it.
The ideal walled garden would be one that blocks spammy apps and malware - but not information. I think it's reasonable to support walled gardens in principle but be critical of some aspects of the Apple implementation.
I tried the german version of it and pasted a SAP article, which got a score of 1.34. They mostly talk bullshit, but the article wasn't bad to understand imho, so I think the algorithm needs some work.

The text was:

"Möchten Sie SAP-Software vor Ort installieren oder über die Cloud darauf zugreifen? Wir bieten in jedem Fall umfassende Services, zugeschnitten auf Ihre individuellen Anforderungen. Wir verfügen über eines der größten Expertenteams weltweit. Unsere qualifizierten Mitarbeiter beraten Sie gern bei der Konzeptionierung, Implementierung und Optimierung Ihrer Systemlandschaft. Profitieren Sie innerhalb kürzester Zeit von Ihrer SAP-Lösung."
I used the Potsmodernism Generator (http://www.elsewhere.org/pomo/ )

And got scores of 0.35-0.45
Firefox has a separate feature which can completely disable plugins which are known to be malicious or vulnerable.
The current list is at https://addons.mozilla.org/en-US/firefox/blocked/

They've definitely used this to block older Java versions, but in those cases there was always a newer version available that you could use instead.
No, you're thinking about the navigation controller, which is basically a deep stack of views that you can travel between.

The side navigation they're talking about is a "global" view that sits below your normal stack, that you can get to at any time. So instead of backing out to the top of the stack and selecting "read messages", now you can just gesture-swipe to the side and access the "main menu" directly from anywhere.
Note that this could be caused by a number of things. A couple thoughts:

It gives equal weight to submissions and comments. There could be a lot more vim submissions from a handful of contributors, but they may be less likely to get the votes to bring them to the attention of HN.

Another possibility is the increase in popularity of other text editors, namely Sublime Text:

http://hntrends.jerodsanto.net/?q=emacs%2C+vim%2C+sublime

It could be that Sublime Text stories garner more comments from vim users for some reason.
See this[0] page for an example of a d3.js graph with ~600,000 total data points.

[0] http://hn.metamx.com/
The training load table[1] is designed to help with that. It doesn't yet let you put in numbers for future dates to help with planning, but I do plan on doing that.

1. http://www.cyclinganalytics.com/user/1000000/training-load
You are correct. When a cochlear implant is activated for the first time, everything sounds markedly different from how it sounds to normal hearing people. That lasts for at least first week, while the brain rapidly learns how to interpret the input.

The guy in this story is still not hearing music normally. Being profoundly deaf means having a very, very small amount of hearing, which is just enough for a powerful hearing aid to help. But he's almost certainly not hearing the full dynamic range of the music.

I have first-hand experience with all of this stuff, and I find this story be overblown, to say the least.
Roughly speaking, it's about 25% fat, 40% carbs, 35% protein measured over the course of a week. I've recently added some light weight training to the exercise regimen and I'd like to increase that protein percentage to give my muscles the protein they need to build/repair. I have found that a lower percentage of fat doesn't really work well as it seems to throw my lipids out of balance (body overcompensation, perhaps?).
Some thoughts (coming from someone who has a triathlon in 3 days):

1. Great UI. The Garmin Connect team should take note.

2. Consider generating best fit curves for the graph data, it's hard to get an idea of how fast you're going over time, especially when you ride in the city and traffic and stop lights cause much of the spikey data.

3. I know the focus is power here, but it would be nice to get the Y-axis units to change when all that is displays is HR or Speed.

4. If you work in running and swimming I will throw money at you.
I am continually amazed at the capabilities of kids. Their ability to understand whats presented to them is astounding. I really think one of the problems with the education system is we have this idea that everyone must progress in all areas at the same rate, and we stop teaching kids new things until they understand the set of things they "should" know for their age.

In a structured school system she wouldn't be allowed to program a computer until she learned the right amounts of geography and english.
Pandora Posts a Loss but Continues to Expand
Lazarus 1.0 release
I don't see any issue with calculating 8x8. Putting a tangent on the blue 8 results in an intersection at the red "6.4".

Probably you are alluding to the fact that numbers are treated equal if they are only different by a factor 10^x (such as ..., 0.064, 0.64, 6.4, 64, 640, 6400, ...).
In that case, see the comment by David Stay and the reply he got:

https://cp4space.wordpress.com/2012/08/29/elliptic-curve-cal...
When Oracle were originally informed about it in April it wasn't a zero day. They could have rolled out a fix on their next scheduled update and it would have been patched for everyone before it became public.
Sebastian Thrun and Google's Driverless Car (video)
So, the language choice of a piece of software determines the amount of time and money that is required to build the system?
Is it? I just get a blank page.
Heh .. try putting in the first para from a scientific paper. I bet 10 karma points that this will have higher BS content than the rest. Similarly, the last para of the intro is also almost always content free.

Note: I'm a scientist too ... good to poke fun at ourselves, eh? :)
a bored teenage neighbor could attack your wireless network

He would have to be very bored indeed. Singling out my home to spend considerable time at an inconvenient in-range location to crack passwords to access ... what, exactly? view pictures of my toddlers? copy my slightly deranged music collection? If he's looking for free network access, he can go down the street and get it from McDonalds or Starbucks or wherever while sitting in a comfortable chair sipping a soda.

I realize a bored teen is different from a SWAT team. Both, however, would need unusual motivation to turn their talents on my abode.
I'm sure the decline in emacs is mainly due to RSI :)

VS user here. I'm genuinely surprised that it's trending that low.
Oops, that's probably because there isn't any data to display, but it definitely shouldn't be giving that error. I'll fix it soon. Sorry about that.
> “If something urgently needs my attention, someone will call or text me.”

this probably works when you're the CEO/founder. when you're not, you probably don't want a reputation as "the guy who never checks his email" ...
Very nice! Reminds me of an early version FiftyThree's Paper! (http://www.fiftythree.com/paper)
President's Obama's AMA answers score 0.21 (Your text shows some indications of 'bullshit'-English, but is still within an acceptable range.)
I really despise the usage of a "Slippery Slope" claim, but I think that this really embodies the idea.

We have enough problems as is with anti-malware software throwing false positives, so who is to say that Apple can do any better? Likewise, "spammy apps" and "malware" are terms subject to definitions given by the curator. If we use past history as any indicator, then it seems Apple has already proven that the company has it's own definitions for these terms.
I got 1.24 from Vmware: http://www.vmware.com/solutions/cloud-computing/index.html
Disable Java NOW
In Japan 'Emacs' seems to rock too :p
I looked up other news stories about this. Two I found added a few details to the blog post kindly submitted here.

http://scienceblog.com/56297/african-antimalarial-research-b...

http://contractresearch.pharmaceutical-business-review.com/n...

All the news stories so far are based mostly on a press release about the chemical moving into preclinical trials. The chemical is part of a category of chemicals with significant toxicity,

http://ntp.niehs.nih.gov/ntp/htdocs/Chem_Background/ExSumPdf...

and it is VERY early in the stages of investigation to know whether or not this chemical, when used as a medically prescribed drug, will have benefits for malaria patients that outweigh whatever risks it may have. Effective drug therapies for infection by the malaria parasite are an important ongoing area of research, but as each new preliminary finding is reported, it is important to keep in mind the "Warning Signs in Experimental Design and Interpretation"

http://norvig.com/experiment-design.html

written about by Peter Norvig, Google's director of research, and to check for follow-up research that shows actual clinical benefit in well controlled trials of human patients.

See also the recent blog post from the Science-Based Medicine group blog by a medical doctor, "Related by coincidence only? University and medical journal press releases versus journal articles,"

http://www.sciencebasedmedicine.org/index.php/related-by-coi...

on the distinction between press releases and peer-reviewed scientific journal articles, and what each promises and what each delivers.
I'm burning my karma with this, but I appreciate this article. As a startup I'd like to be warned, probably people wasted time with this girl, time to market, time to VCs, time to get there startup somewhere b/c they believed this girl would help them when indeed she didn't. Could they have done better due dilligence? Perhaps. Would others tell how they got burned? Perhaps. But I don't follow the thinking that everything other people do to you is your fault b/c you should have known better. The wrongdoer is the victim stuff. And it's astonishing how HN reacts to guys that fake startups, connections, products compared to this girl that is faking her way around. We'll see if there is coming more.
Here's an example of why dpkg (and its associated tools) is more sophisticated than rpm (and its associated tools):

While building a debian packakge, there are tools which will scan all of the binaries, determine which symbols they are using in a shared library, and compare that with a list which shows when a particular symbol was first introduced to that shared library, and use that to calculate the minimum prerequisite version for that particular shared library. This is important, because otherwise you could install a new version of a binary, and it might not work because you don't have a new enough version of its dependencies.

I recently had a user who complained about this with e2fsprogs, when it used a new interface, who demanded that I bump the major version of the library (thus declaring it backwards incompatible) because this was the only way rpm and yum would automatically figure out the version dependency. I refused, and instead asked them to manually update the version dependency in their package, and pointed out that debian could automatically figure out major and minor version dependencies without needing any manual work.

For an example of this text file which maps symbol versions to minimum package versions, please see:

http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=blob;f=debi...

P.S. Because RPM doesn't do this sort of thing automatically, sometimes the only safe thing you can do to make sure there aren't any overlooked version dependencies is to download the latest versions of all of the packages installed on your system, and run the command rpm -Fvh *....
Beethovens symphony nine is the best piece of music, which I ever listened to :)
I'm a big fan of relational databases. The problem with them is the high upfront cost of developing a new product: maintaining your schemas, updating data types, getting bogged down in data mapping code and worrying about what the most efficient SQL implementation is going to be, etc.

I like the fact I can whip something up quickly with MongoDB, get everything working and then once my schemas and services operating thereupon have stabilised then I can start looking at swapping my implementations out for a SQL-based back-end if I think it's worthwhile.
I believe the following parts of the iOS App Store Review Guidelines answer your question:

* We have lots of kids downloading lots of apps, and parental controls don't work unless the parents set them up (many don't). So know that we're keeping an eye out for the kids.

* We will reject Apps for any content or behavior that we believe is over the line. What line, you ask? Well, as a Supreme Court Justice once said, "I'll know it when I see it". And we think that you will also know it when you cross it.

* This is a living document, and new apps presenting new questions may result in new rules at any time. Perhaps your app will trigger this.

* Lastly, we love this stuff too, and honor what you do. We're really trying our best to create the best platform in the world for you to express your talents and make a living too. If it sounds like we're control freaks, well, maybe it's because we're so committed to our users and making sure they have a quality experience with our products. Just like almost all of you are too.
Google Research Blog - Users love simple and familiar designs
I wrote a UIViewController container subclass to do this behavior: https://github.com/edgecase/ECSlidingViewController
Hang-ups Project Managers have Moving to Agile
Feelings confirmed by numbers
For a long time I was worried by some articles on the Internet in which the authors tried to judge about the usefulness of static code analyzers relying on analysis of small projects.

Continue: http://www.viva64.com/en/b/0158/
The Facebook app has been doing this for so long, and is used by so many, that other apps are following the pattern. I would not be surprised to see this formalized as a controller/view class in the sdk at some point.
Execution awaits the non-aligned summit
Did he use emberjs for the interface? If not, why Not?
Using JSHint inside Visual Studio
I take pictures of my notes and post them on Evernote. It has surprisingly good handwriting recognition.
Sometimes I feel like the only software engineer with a wife and child. Nice to know the field isn't entirely 20-somethings.
"The opposite of success isn't failure; it is name-dropping"
- Nassim Taleb
I was going to make my own top level comment, but this seems relevant, so I'll put it below yours:

TIL People still read Techcrunch.
Heh... admittedly I didn't spend much time in irc in the waning hours. Was trying desperately to get my code to work. But yeah, that's kind of a bummer.
HTML 5 figure tag and figcaption element - Creating more interactive web pages
Agreed. We need to start a band or something. ;)
Thank you - as a brit I had always assumed it was, well, nutjob territory. Will look into it.
Given the replies, I thought I'd add in some details for context. On June 20, I weighed 338 pounds. I'm 6'2" tall and had a BMI of around 43. I was well past morbidly obese and had been for nearly a decade.

However, I had a vast number of tests and blood work run and the only apparent issue with any of those tests were some slightly elevated liver enzymes (fatty liver, as they say) likely because of the large amount of belly fat causing fat intrusions into the liver. Every other test was in the normal to better than normal range. Pretty incredible given my lifestyle.

I am a programmer and therefore sit in a chair a large amount of the day so my resting calorie consumption was pretty low. I did no exercise of any kind.

As I sit here this morning, I weigh 289 pounds and have a BMI of around 37. I still have a long way to go, but a calorie-restricted diet combined with moderate exercise (The first day I did 12 minutes on an elliptical at around 50 watts equaling something about half a mile. This morning I did 45 min. at around 75 watts equaling about 4.25 miles) has helped me made the progress I've made.

As for the diet, I started out at around 1600 calories a day. As I've progressed, that quota has decreased to around 1300 a day, though I typically eat less than 1000. While I track it on a daily/meal basis, I typically only analyze it at the week-by-week level.

I primarily use loseit.com to track and analyze all the data I capture.
Has there ever been a serious study which tries to determine at what age children are able to grasp programming constructs? (loops, functions, etc) We were all once little children and I know my own personal timeline, but I can't say I've ever seen a large collection of data points analyzed.
Ahh, then what you want is ECB.

http://ecb.sourceforge.net/

and a screenie: http://kasun04.files.wordpress.com/2008/08/emacs1.jpg
Ask HN: Automated pop music in Scala
hi HN

bit of an odd one

ive just graduated from cambridge with a 1st in computer science but all of my time is being taken up by my fledgling music career (indie pop, thanks for asking)

i tend to mess around in scala

i want to do some automated song generation starting with basic trigram models / markov chains for chord progressions and melodies. will get onto the genetic algorithms and more batshit stuff later. i am also vaguely thinking about starting from an information theoretic perspective. experts on random processes very welcome. i think the information content of songs is fundamentally linked to its catchiness somehow (i know what youre thinking, probably not the whole story tho)

i want this shit to be catchy tho so this is gonna be a real task

as i said i am very time poor at the moment

is anyone interested in collaborating with me on this?

skicombinator@gmail.com (cringe)

EDIT: may also have to come up with some kind of pricing / rights distribution model for songs
Why Git Needs an Editable History
I've had Java disabled in browsers for a long time and click to activate for other plugins. I've never noticed its absence.

I understand from other comments that banks in some require Java. I have or have had accounts or credit cards with nearly all major banks in the USA and many smaller institutions and none have required any plugins. Some require 3rd party cookies to use services like bill pay or ACH transfers.
So much for "You don't download a car"
Haha, same here. I tried so many things including trying to exploit .format (not much Python experience here either) and finally decided that it must be the SQL injection. Didn't solve it though, but got close according to the write-ups.
Dropbox is unavailable
C++ Defensive programming: Why use { ... } for a single line?
I just tried some text from one of our corporate announcements. Seems accurate.

0.8
This reeks. We bet you're a PR-Expert, Politician, Consultant or Scientist. If there is a message, it's unlikely it will reach anyone. Maybe you should spend less effort on trying to impress somebody.