skysight-inc/HackerNews huggingface dataset:
I'm sorry, but your comment is really not much more than pointless, cynical Java bashing. Java has it's share of problems, and it's definitely not as modern (regarding language features) as some of the other languages today (although that seems to be changing too), but if you're going to attack it, then at least do it for it's bad characteristics, not because you personally dislike/don't understand certain features, or principles of OO development.

Design patterns- The art of bloating already heavily bloated code.

Design patterns are to OO code what salt is to food. Put just the right amount, and you get a tasty meal. Put too much, and you get an inedible pile of crap. Design patterns are not the problem, they are a solution. Bad developers who don't understand when and how to use them are the problem.

Love towards getters/settters and absolutely anything that lends to code bureaucracy.

It's true that Java is more bureaucratic than most languages, but there is a reason why getters and setters are the standard. And the reason is encapsulation. I can expand on this further if you want me to. For what it's worth, I think that this is one of the things that Scala got right [1].

Lengthen anything and everything as much as you can. thisIncludesTheVariableNames, Class names, methods names, package hierarchies, class inheritance. You name it they can pointlessly lengthen it.

CnfNfEx. ConfigurationFileNotFoundException.Which one of these two names do you think describes what the class does better?

If you write code in file at least 40% of the lines MUST be try/catch statements. If you can't be satisfied with that write your won exception classes and invoke point 5.

I don't know which APIs you worked with, but those that I use don't force me to put 40% of my code into try-catch statements.

Always write code which can't be read or figured out unless you have auto complete, intellisense and other IDE goodies.

I can see how autocomplete would make it easier to write code, but to read it? Nope, Java code is perfectly readable in a plain old editor, actually. But it's definitely not as easy to write using a plain old editor, to be perfectly honest.

Use XML as much as you can so that you can dogfood your insanity even more.

I agree with this one. XML madness needs to stop. Fortunately, it seems to be stopping already. For example, most modern DI frameworks don't require you to write your configuration in an XML file.

Make the code so verbose that even simple programs sound like very complicated ones that can be written only by you.

Verbosity is an unfortunate trait of Java. But nobody writes code so that it would seem that only they can write it. If they do, that's called over-engineering and is, believe it or not, considered to be a bad practice.

[1] http://www.dustinmartin.net/2009/10/getters-and-setters-in-s...
Ask HN for help - JavaScript newbie with a problem.
Looks nice!

Didn't know about power meters yet, interesting technology.
After hearing a description of a similar sudden change to hearing on This American Life, I expected the answer to be "confusing, because his brain can't interpret the sounds or sort out signal from noise." I was surprised that he was immediately enjoying music.

Any ideas why this might vary so drastically?

====

Edit: maybe it's a technological difference; the TAL story involved cochlear implants. http://www.thisamericanlife.org/radio-archives/episode/411/t...
I don't know how it works in the US, but in Norway most online banks can only be accessed through a Java applet where you enter SSN, password and token-code. Extremely frustrating since whether it works or not in Linux seems like a function of the day of the week, and, well, it's a Java applet.
A few of my friends use Endomondo to track their cycling activity and get the statistics, share routes. It works nice and basically you just need a smartphone with GPS and a bike and you're ready to roll.

They're cycling hobbyist though but bike quite often.
I'm a big fan of Strava, but it's not very useful when it comes to doing stuff with power data. Their premium accounts have some basic analytical tools, but I can't imagine any power meter using cyclists using that as their primary analytical app.

One of the first things I made my site do was upload rides to Strava, because I was tired of having to upload my rides to multiple apps.
The articles almost write themselves. "New silicon valley incubator 'Lambda Lifter' incubates new incubators"; "In profit maximization move, VC firm branches into Private Equity to buy out, load with debt, and bankrupt own portfolio companies"; ...
Setting up SPDY to speed up your Rails App on Nginx
"It's been long enough that I really have no idea what I used to do with all of my spare time before I became a father. "

My little guy just turned two and I echo all your thoughts here, but this one is especially true.

What the hell did we do with all our time before??

Here's to parenthood. :)
Yeah I don't even remember the last time I used a Java applet. I've disabled the plugins without any repercussions so far.
I only got to level 5 too, I would have had no hope of getting to 8 anyway. It was a positively challenging experience nevertheless :)
Well, I got Mountain Lion from the Mac App Store, which is even bigger than Gnome (kernel + userland + stuff).
One Line CSS Mobile Framework
Another way is to use the technique described at http://patriciopalladino.com/blog/2012/08/09/non-alphanumeri...

It transforms javascript into a sequence of ()[]{}!+
strace is fantastic. Since it captures the detail of (nearly) all interactions between the process and the outside world, you can use it to answer many questions.

Why isn't this process invocation picking up my changed lib file? (strace, see if the changed file is being opened)

What are the exact http req/responses being made during the problem? (strace server or proxy with large -s value to see all read/write/sendmsg/recvmsg etc)

This tool fails when run as user X, probably a perms problem but which file? (strace, look for EPERM failures, probably to open())

Which /proc files are necessary to the operation of tool X (useful when checking what will and won't run in a sandbox like dotcloud)?

Main restrictions that I know of(in practice only the first is sometimes a problem to me):

- http/ssl hides the buffer info from 'strace -s'. Another good reason for ssl offloading :-)
- IO can occur via memory reads/writes after mmap(), which strace can't see

ltrace is a pretty nice complement too (trace inside dynamically loaded libs).
For me I didn't have much time, but got stuck on the wrong track on one level, so I gave up and went back to work ;) I think some of them were pretty difficult puzzles, so I don't think we should feel bad about our abilities.
Do you have the link to the reddit post?
I'm afraid I have to disagree here. As someone who runs a small business which, for not-immediately-relevant reasons isn't in a position to try for startup-style explosive growth, I'd be really interested in hearing about how people in similar situations run their business. Regarding your examples of plumbers, barbers and cafes, we all think we know exactly how to run these, and in our heads probably think it's a pretty simple thing. What if we're wrong and there's something to learn?

I believe that businesses in this space are run with old-fashioned tools (management methods, process optimisation techniques, technology) for reasons of tradition and lack of information sharing rather than anything inherent to the businesses themselves. My experiences with business growth accelerators leads me to believe we as a community re-invent the wheel an enormous amount, and anything that helps me reduce that is of interest.

Sure, we have a different metric for success, but that doesn't mean there aren't unusually successful small businesses (that will remain comparatively small) that might have something interesting to say.
Vim is now a more popular topic than emacs on HN
The title made me laugh. Let's protect a very secure, well tested and popular codebase by one that isn't as well tested or popular. Hmmmmm.
Holy fuck those numbers are depressing.
A Military General's Leadership Lessons
Apple Rejects App That Tracks U.S. Drone Strikes
No, they use units. Your 6% figure is clearly wrong (or 4 years out of date). For some reason Apple blogs regularly switch between smartphone and mobile phone numbers and get themselves and their readership mixed up. I don't know why, Apple's success in the smartphone market alone is impressive enough, but they seem to like to convince themselves that Samsung isn't making any money from Android smartphones.

http://en.wikipedia.org/wiki/File:World_Wide_Smartphone_Sale...
Let's protect a large and complicated codebase which has a long history of security vulnerabilities with a very small and easily audited utility.
BlaBlaMeter detects how much bullshit is in your text
The existence of this might finally push me to purchasing a bicycle. Regarding the need for a bike computer and power meter would it be possible to include a few recommendations or suggestions, for people that have no idea about any of this? Might generate some Amazon affiliate revenue too.
I finished as #235 - not as early on - but it was still before the weekend rush and I had already spent 2 days figuring out the solution.

Add your level8 solution to https://docs.google.com/spreadsheet/viewform?formkey=dHBYSjJ... - it's a registry of level8 solvers for comparison (Mine are under 'IntruderAlert').
I am too under impression that your music taste is a product of a long and sophisticated coevolution between you and the music you like.

Without it, you might appreciate a piece of music for its qualities, but not actually enjoy it. If you get to hear the music of some unknown civilization, you won't likely enjoy it right away (and they won't enjoy your favourites).

So I'm willing to sign off his enjoyment on novelity. Any mind-opening new experience makes you ecstatic, but it's not the content - it's the form. But this effect wears off and you start to be choosy.
StripeCTF Level 08 Solver Registry
What are you protecting? You can't brute force key-based authentication for SSHd.
Pre-Release: JamPad - Draw from Any Device and Share it with Friends
ReactiveMongo for Scala: Unleashing MongoDB Streaming power for Realtime Web
I'm talking about security vulnerabilities in OpenSSH.
> Most con artists get away with it

Citation needed.

> Her being exposed will deter other would-be parasites.

I don't think this is how it works. I think the parasite or pathological liar or con man will always think they're smarter than that last person who got caught, if they even consider that person at all. They're probably just "playing the game", right?
Where's exercise contained? I don't mean that I'm surprised it barely registers, but what category is it under?
Bye Spotify - I hope I see you soon
You can brute force sshd:
while true
select a random common login
select a random common password
loop over many many hosts having sshd
try to connect to sshd
Absolutely, I would love for this to explain and suggest things rather than just show numbers (but it's a lot trickier).

The book to read to understand what is being shown at the moment is called "Training and Racing with a Power Meter".
But it's still a document-based application. Those, in general, stay active even if all the documents are closed.
PubNub Channel Presence - Who's There in your App?
Canned response: http://en.wikipedia.org/wiki/Gun_politics_in_Switzerland#Gun...

Anyway, the debate will become irrelevant in a few years when they're printable (I suppose they'll try ammunition control instead). So will a lot of other things. The economy is about to change again, probably as large as a change as the internet has brought.
No plans/prices?
Mac and Windows work better together in latest Parallels desktop app
There're some banks that still need them. The irony is that, since their applet is signed, the user must click and confirm that he trusts the thing every time. Hackers can leverage that users won't read a damn thing, they will just click next to build an applet with file system access. Why exploit flaws when users will simply click a trust your applet?

I don't trust my bank with a signed applet (why the hell do they need that?), so obviously I only access my internet banking using a VM.
I'd suggest you check out 'Mindful meditation'. Luminosity is a pretty fun way to train your brain, other than that, you have to work on puzzles and work on memory retention.
Well that's their fault for using passwords, not keys.
With so much more to listen to, Chapman says that, "ironically enough, I'm turning my hearing aids off more often than before." There are too many annoying sounds.

"Silence is still my favorite sound," he writes. "When I turn my aids off my thoughts become more clear and it's absolutely peaceful."

============================

This is remarkable. I wonder what the world would be like if we were able to turn our ears off and on.
Thanks for correcting me. I missed the second graphic.

I still find it depressing that TV takes ~50% of an "average" person's leisure/discretionary time. 94 minutes per work-day is just over 407 hours per year, and weekends will add more.

Edit: Changed to exclude weekends. Assume 260 work days per year.
Nerdiversary - Is Today a Special Day?
Nice code. I don't get what I was doing wrong. I was pinging two requests in quick succession and taking the port difference between them. I found that worked fine on local and occasionally worked on the live machines but most of the time the port differences were huge. Every now and again the diff would be 2.
Chrome asks for permission for Java to run, by default:
http://support.google.com/chrome/bin/answer.py?hl=en&ans...
hiya Colin. It's been a while.
Anyhow, the problem is in the 'type' of your script element:

- <script type="javascript">
+ <script type="text/javascript">
Murder inquiry launched into disappearance of Newry woman
Apple's Next Big Move?
First ctf here too. Though some people are claiming people were posting answers to irc, I didn't see that happen once. Though, I didn't start lurking until I got stuck on level 5.

What I did see was an awesome group of folks willing to help nudge others in the right direction. Many folks would stick around in prior level channels once they solved the level and offer pointers as to what to look for and where to look for it. Awesome.

I convinced myself it wasn't "cheating" because a) I'm a total noob, and b) sometimes pentesting happens with a team where people bounce ideas off one another.

I spent probably 20 hours trying to finish level 8, and even though I didn't end up getting it, this was a great experience. I'm fully inspired to get better at python and actually ctff next time.

Also, again, awesome how cool the people in irc were.
Wait, what? You have to apply for lobste.rs? What kind of nonsense is that?
This year's iPhone design trend: Side navigation
Which part depresses you the most? What's your typical day like?
All those online meeting and screen sharing things that are so popular in the enterprise world...
KinectHome Wants to Start 3D Scanning the World
Web Scale Analytics Reading List
Looks like it's only European Union members, hence Norway is missing as well.
> This makes the decision of Facebook to go with HBase for their new messaging platform back in 2010 all the more strange.

Speed isn't everything to a database. AFAIK they chose HBase over Cassandra because of consistency guarantees: eventual consistency is a bad choice for a messaging platform.
Server Density has recently finished integrating into Braintree having had awful experiences with Netbanx (aka Optimal Payments) in the UK.

Our existing provider, Netbanx, have terrible customer support often taking days to reply to e-mails and refusing to answer questions over the phone. They have no out of hours support for critical issues and continually change their backend and API without informing customers. This meant we often had failed payments because changes Netbanx made which were undocumented and broke our integration. Having a stable and trusted payment processing partner is essential and Netbanx failed to get this right.

Braintree support has been excellent for the few times we've needed it (their dev docs are great, as are the libraries for each language) and it means we now combine our merchant account and payment API in a single provider, one control panel, one set of rates and one location for support.
We have the same scenario in Brazil.
Finally a crowdfunded RTS game.

The fact that it's made by many of the guys involved with Total Annihilation and Supreme Commander gives me hope this will be a really deep, scalable and fun game.

Proud to be a supporter.
It would have been nicer to see improvement with (i) SPDY alone and (ii) SPDY with zip compression.
"Playing sports" - under the Leisure details - is probably the catchall category for exercise.
Great idea, but show me what in my text is triggering it, and have some "example" buttons.
Awesome! looking forward to checking out the new version :)
Researchers Hack Brainwaves to Reveal PIN Numbers, Other Personal Data
On Android Cameras
Alright, we will provide more data for the two situations. I remember about 10% increment in page-load speed after zip-compression though.
Sensationally meaningless?
eventual consistency is a bad choice for a messaging platform

Strange you would mention that in the context of Cassandra, since it allows for per-read/write configuration of consistency, from "eventual" to "strong". You get exactly what you ask for with Cassandra, whether its availability or consistency.

AFAIK, HBase only supports strong consistency.
What are you using to generate your graphs?
So they sell something you don't need. Why do you have a problem with that?
Hiya - yes, and I owe you an email, I'm getting to it.

Anyway, file changed, but that doesn't seem to have fixed it. Any other suggestions?
Is it completely free? or free only for limited beta?
I use Neuro Programmer 3 to produce sound at the right frequency, then I sit there listening to them. Everything becomes quiet, and when it's all over, my mind is clear and peaceful.
Most corporates that I've seen make heavy use of Java applet based software for internal software (and have multiple versions installed as a result). Also I've seen a fair number of administrative interfaces for IT kit that work via Java Applets...
As an emacs lover, I could not let this pass uncommented. I have to confess that I've given vim more than a look lately (I even wrote a review about vim for iPad), after reading about some new stuff here. Curiously enough, the stuff people are talking about vim here lately (except for VIM adventures) are (for example, one that was discussed several times) org-mode clones.
Now that yum and apt have feature-parity, shouldn't picking a single package format (rpm/deb) be an easier choice now?
Exactly. Does anybody really sit and write a libraries solo these days? There's an omission of combined experience here.
2 others like yourself would be 18 years of experience.

(I understand the combined experience thing isn't perfect logic but that's not really my point.)
Interesting. I'll check it out. Thanks!

I've always wanted something like spamd(8) for ssh, so everyone who normally
blocks inbound port 22 can work together to thwart the brute force attacks by
providing a honeypot/sandtrap/tarpit for the attack scripts to waste all of their
time and resources.
When something doesn't work or works badly on Linux, the critics always say it's Linux fault (just read the comments here). Hold Windows and OS X to the same standard and you'll see they aren't so wonderful in comparison.
Just recall the first iPhone: its presentation was met with a lot of scepticism, it was very limited feature wise, it had no apps ecosystem and still was a huge success.
This looks good. So many people are sick of WKO and Training Peaks.

Have you checked out Golden Cheetah? It's got most of what you have, plus it can control computrainers, etc. It's a great cross platform desktop app, but the UI needs some loving.
Yeah, it's invite only too, so the idea is, you lower yourself and apply or you get invited by a friend because they like you.

So the end result is either it's full of really friendly, intelligent, hand picked people, or it becomes a clique full of friends who are less than intelligent.
Not checking email first thing is really hard to do! I manage to do it (just) but it requires an immense amount of discipline and easy to slip back into bad habits.
unfortunately i ended up with String.fromCharCode, would of made the final code a lot more readable! https://gist.github.com/3527252
Wow, ONLY every ten years if they're at high risk? I'd think that you'd want to do it at least every five years, if not every year.
Sometimes as good as a developer is they don't understand the whole business goal. You kind of need to be hands on at some points. Maybe not in terms of how the database should be structured but maybe some parts of UI. It's funny developers like to go at it on their own but they are too smart for their own good and what they find to be the obvious interaction is something most people will never perform.

You need everyone to understand when to be hands on and where to be hands off.
Well done. Some feedback:
- People don't scroll. It wasn't obvious to me that there was more info below the fold.
- You need a strong call-to-action on the front page.
- Put this demo ride link above the fold, because showing the product is great: http://www.cyclinganalytics.com/ride/897403933578
- Sell benefits, not features and lead with that. How does our app make me a better cyclist?
- Consider showing a photo of a successful cyclist on the landing page.
The Real Reason I Dropped Out of a PhD Program
jcr was partly right -- that change does need to be made -- but you also have to change the way that you reference the form element. You're using a very old (Netscape 4.0-era I think) way of referencing form elements in the DOM that apparently isn't supported anymore.

Add an id="results" attribute to the text box, then change the line in your display() function to this:

document.getElementById('results').value = "test"

That works for me.
You probably weren't looking for an article entitled "What It's Like for a Deaf Person to Hear Music for the First Time", then.
Vim is also more popular than sex, http://hntrends.jerodsanto.net/?q=vim%2C+emacs%2C+sex, but I am still not going to use vim!
Javascript and a HTML5 canvas — I've written all the graphing code myself. I prefer to use stuff that other people have written, but I wanted flexibility, and not all graphing libraries handle tens of thousands of points well (and neither do SVGs).
well, in brazil you even have gbieh.dll - an undeletable, unkillable, always running, mysterious, "security" file/process from banco do brasil. http://www.file.net/process/gbieh.dll.html

that's even (slightly) worse than a java applet.
What The Apollo Astronauts Did For Life Insurance
Reminds me of the panoramic navigation concept behind Metro (yes, yes, I'll eventually call it Modern, I guess).
Any chance of an overview of the algorithm you're using to filter out the text?

My thinking is you are measuring word count versus commonly used marketing or political jargon count, but that's probably too simple.
That looks like it works for me to - will upload now ...

Edit: Works on the server too. Thanks.

Any idea when this changed, and how I could've searched for this? Suppose someone took a JavaScript course back in pre-Netscape 4.0 - how would they come up-to-date?

As an algorithms person I find it completely baffling trying to learn, search, and investigate this stuff. It feels completely impenetrable. I have a PhD in Pure Math, and this makes me feel really thick.
I think its freaking awesome that I got some response. I feel like Tarzan who just shouted out into the jungle and got fellow devs to team up and help me! Kudos HN!
10 Common Mistakes Made by Startups
Steve Jobs: Unseen Images by Norman Seeff 1984