hacker news with inline top comments    .. more ..    12 May 2012 News
home   ask   best   6 years ago   
Dutch Judge Who Ordered Pirate Bay Links Censored Found To Be Corrupt falkvinge.net
185 points by Tsiolkovsky  5 hours ago   46 comments top 8
tluyben2 3 hours ago 1 reply      
Everyone following the anti-piracy org BREIN and it's lawsuits in NL knows that this judge is corrupt, but it cannot really be proven. BREIN always uses the same judge, they always make it impossible for the defendant to be present at the hearings (as I understand it, but I don't know much about it, they use some loophole to make it impossible for the defendant to defend itself at the moment of the verdict). And he always finds the defendant guilty in these cases, no matter how insane (like the 'links case' Falkvinge discussed, were even showing the name of a movie in the forum was considered 'illegal linking').

This should get more press, but not enough people care in NL I think as this is only dredged up as 'wow how can this be' in tech forums while it's usually only a footnote in other press. And I don't believe that's a conspiracy, but rather that, no-one cares...

sjaakkkkk 3 hours ago 1 reply      
FWIW, Geenstijl (probably the largest/most known blog in the Netherlands) reported on this matter in 2010 already, here http://www.geenstijl.nl/mt/archieven/2010/06/rechter_in_zaak... in Dutch).

There has been some uproar about this on (Dutch) internet sites, however I haven't seen anything about it in mainstream media.

On a related note, just today a small ISP that needed to block TPB has refused to do it and they are now sued by BREIN (http://tweakers.net/nieuws/81929/brein-daagt-zeelandnet-om-t...). The trail will start in June and is expected to last several months. I just hope this time maybe more uproar will ensue if the same judge is doing the case again.

powertower 2 hours ago 1 reply      
There is so much unproven bullshit and downright deception in that article that this is the first thread I've flagged in a year and a half.

1st. No one has been charged, tried, and found corrupt.

2nd. Was this association before, during, or after the court case? There really is a difference between those three.

3rd. What is this "association"? The judge's name is part of the lower category with a dozen other names. Does this mean he's in the same building?

4th. Even this article is starting to claim (in edit/update, forced by a commenter) that this "commercial" course was some type of an official bar course where the two parties were perhaps picked by the bar (as in, they didn't pick each other).

5th. The article keeps on mentioning that this judge ruled "file names" to be illigal. Right, because taking the URL and breaking it appart before posting it on a warez site clearly turns everything around and makes the forum a place for a purfectly legitimate discussion of "file names". The author seems to be outraged by this.

And it goes on and on...

yaix 4 hours ago 5 replies      
If that is indeed the same judge working together with the plaintif, then it does still not proof corruption. But taking the case would have been highly unethical. I really hope there will be an investigation into this.
bediger4000 1 hour ago 1 reply      
The Swedish Judge who found all the Pirate Bay people guilty was also associated with a pro-copyright or pro-"Intellectual Property" organisation, too: http://www.wired.com/threatlevel/2009/04/pirateconflict/

To my (USA) mind, this seems like Enemy action, or a multi-national conspiracy. In the USA, judges with this kind of appearance of bias would most like recuse themselves, and if they didn't, one side or the other would try to set up the whole case for an appeal later, and then appeal later with flags waving and horns honking.

Why does this appearance of judicial bias occur so often in connection with The Pirate Bay?

gouranga 2 hours ago 0 replies      
When there is a singular person responsible for a decision, corruption is inevitable. They are an easy target.

Judicial decisions should be taken by a council rather than an individual.

rkb 4 hours ago 2 replies      
Nothing on this is currently floating in the Dutch media, so probably not worth the read.
maurits 4 hours ago 3 replies      
Misleading, unproven and sensationalistic.....
Germany's Pirate Party Looks to Win More Seats bbc.co.uk
26 points by ytNumbers  1 hour ago   discuss
My History With FORTH And Stack Machines yosefk.com
22 points by sehugg  1 hour ago   1 comment top
pella 34 minutes ago 0 replies      
The bad case of Hacker News authentication usability design arvinderkang.com
51 points by punjsingh  3 hours ago   23 comments top 10
citricsquid 2 hours ago 2 replies      
> Before I unintentionally start a flame war

This statement would be needed if anyone thought HN was an example of good design and usability, I don't think I've ever seen a comment here claim that, it seems everyone acknowledges that HN was built to work (as in, do the very minimum it can to exist) and nothing more. The lack of polish with HN is part of the charm really.

MaxGabriel 1 hour ago 0 replies      
By the way, you cannot zoom in or out on your website using an iPhone. This makes it very hard to read.
raldi 1 hour ago 2 replies      
Mmm, a lecture on usability from a site that can't be read on an iPhone.
temphn 1 hour ago 1 reply      
The other thing is that the login page is http rather than https.
tptacek 1 hour ago 0 replies      
"Support staff". Heh.
mratzloff 1 hour ago 1 reply      
Speaking of usability... your site doesn't scale on my iPhone, so I only see about 30% of the screen width and have to do a lot of scrolling to read anything.
willvarfar 2 hours ago 2 replies      
Hmm, posting on a Saturday is not the best tactical time to get someone at HN to read this post... it'll have disappeared off the front-page long before Monday
j45 1 hour ago 0 replies      
I don't really come to hacker news for usability or design. Mainly for content.
recoiledsnake 2 hours ago 1 reply      
Why not just create a new account and move on? Unless I am missing something.
kingkawn 2 hours ago 0 replies      
Build Cross-Platform Applications for desktop using HTML, CSS, Javascript appjs.org
58 points by elliotlai  4 hours ago   25 comments top 14
GeneralMaximus 1 hour ago 2 replies      
I'm enamored with the idea of writing desktop applications with web technologies, but I'm not enamored with the idea of running a node.js instance locally for every such desktop application.

What I would like to see is a "privileged mode" Chromium (or Firefox) that would let applications break out of the browser sandbox and directly perform operations such as filesystem I/O. Privileged Mode Chromium would obviously be a huge security threat if it's allowed to run any old code, so it would be wise to prevent it from downloading and executing scripts over the network, or maybe have some kind of script signing support in place so that the only scripts allowed to execute are the ones with the app developers' signature on them. Or maybe I'm talking out of my ass here and what we have right now works just fine. Feel free to correct me here.

Also, one question. Isn't the node.js instance serving my application visible to other applications on the same system? Can't a malicious application take advantage of this fact and cause my app to misbehave?

(Offtopic: I must point out an irritating and potentially harmful design trend that is emerging as a result of Twitter Bootstrap's popularity: the top navigation bar that stays in place as you scroll downward. It wastes precious screen space, looks ugly and doesn't add anything of value to the website. Why is it so important that I be forced to look at your website's logo and navigation bar all the time? I'm not picking on the AppJS developers here; this is a general sentiment directed towards all the designers who embrace this terrible trend.)

arturadib 1 hour ago 2 replies      
The hardest part of all of this is getting a runtime that builds/installs seamlessly across platforms. I just did an 'npm install appjs' as per docs, and it failed (Mac).

I myself have gone through great lengths to create a similar (minus Webkit) runtime for Mac, Windows, and Linux:



Despite all my efforts there are edge cases where it simply won't install/build.

Keep up the good work though -- this is a much needed project. (Bear in mind too that Mozilla and other companies are coming out with their own runtimes for web apps, so such projects will likely be rendered obsolete by them).

AshleysBrain 2 hours ago 1 reply      
This looks really cool, but for HTML5 games to work well it really could do with these things:

1) support for hardware-accelerated rendering with canvas2D

2) support for hardware-accelerated WebGL

3) ability to turn off the extremely restrictive driver blacklists in Chrome (which will turn off hardware acceleration for ~50% of users, and is not necessary if building a desktop app)

Yeah, basically games really need hardware acceleration. I know they don't mention games at all but something like this is great for additional distribution platforms and monetisation, as long as it has hardware acceleration. Anyone know if it covers that?

sktrdie 1 hour ago 0 replies      
I think Topcube does this as well: https://github.com/creationix/topcube

Topcube, however, is missing the Mac version.

Another interesting idea would be to ditch Node all-together and use HTML5/CSS3 literally for everything your desktop app needs. With localStorage and other APIs being implemented in Chromium, one does not need the server part anymore.

christiangenco 2 hours ago 0 replies      
Very interesting - kind of like PhoneGap for your computer.

I'd recommend placing a few screenshots of example apps on the front page running natively on different systems (mac, windows, linux). Well done!

solox3 52 minutes ago 0 replies      
It felt a bit like Prism (https://mozillalabs.com/en-US/prism). Unlike them, who are just slapping a browser inside a chromeless window, you are actually building it from the ground up?
vimota 1 hour ago 0 replies      
This seems to be done currently through means like this: http://www.quora.com/Rdio-online-music-service/What-technolo..., it'd be nice to see an even simpler approach (like appjs) replace it.
mratzloff 1 hour ago 0 replies      
Pokki (http://developers.pokki.com) is a similar platform that builds to Windows and supports WebGL.
rmATinnovafy 1 hour ago 0 replies      
If you could do a one click install with no internet access this could have huge potential.

Yesterday, while working with C# and sql compact I realised the need for something like this.

Not that I have anything against C#. Love that thing, but it is complex (.NET).

outside1234 1 hour ago 1 reply      
It seems to me that ember.js is a better approach to this - much cleaner application model and richer data support with routing and view state.

That said, I'm with you broadly on Javascript+HTML5 on the desktop. Actually just wrote something up around my thoughts on how to do this with Ember.js if folks are interested:


jiyinyiyong 2 hours ago 0 replies      
`node-webkit` looks similar to this: https://github.com/rogerwang/node-webkit
mhitza 58 minutes ago 0 replies      
I still find XULRunner better suited for this task.
captaincrunch 2 hours ago 0 replies      
I think for us, this is redundant as we made a direct jump to the cloud, but for applications that need to be built on the desktop, this would be great.


Is it time to stop writing headlines that end in question marks? elezea.com
33 points by pascal07  3 hours ago   15 comments top 13
heyitsnick 1 hour ago 1 reply      
I'm co-editor for a niche news site (http://pokerfuse.com) and we strictly do not write any headlines in the "is...?" format. It's a good check before publishing anything - if your headline naturally falls in to this format, it should be a signal that either (a) we shouldn't be writing this story, (b) we should stand by our convictions and write the headline in the affirmative, (c) the story needs more research before publishing. We pass up on some easy pageviews, but we see the upside in more loyal/repeat visitors.



>>> 648

NewsItem.objects.published().filter(title__istartswith='is', title__endswith='?').count()

>>> 2

(a couple of stories do have this format, but they seem like the rare appropriate cases)

sosuke 34 minutes ago 0 replies      
I liked Jon Stewart's take on this question in his segment on the question mark. http://www.thedailyshow.com/watch/wed-september-13-2006/the-...

Cartman also uses the just asking questions tactic to antagonize Wendy in a South Park episode where he takes the job of school announcer. http://www.southparkstudios.com/full-episodes/s13e13-dances-...

dotBen 31 minutes ago 0 replies      
If the primary motive for question-mark headlines is link-bait, surely this can be more easily solved by getting your headlines from a better source of news?

Don't feed the trolls, and all that.

rmATinnovafy 1 hour ago 0 replies      
No, if you are copywritng.

A question headline attracts the reader to read the sub-headline. And that is the purpose of headlines (and copy). To get people to read smoothly until they take out the CC and buy.

Problem is that if you overuse it in a blog (for example), then your writing style will end up souding like an infomercial.
Mind you, if you see yourself using linkbait to gain eyeballs, then your blog is just not worth reading (or advertising in).

nikcub 2 hours ago 0 replies      
My pet peeve. This was closely watched at Techcrunch and we mocked other blogs (and our own bloggers) who fell back on it frequently (pronouncing titles with question marks with an inflection).

Using a question mark just means you aren't sure of your position or what you are trying to say. It makes it easier to sit on the fence and not really say anything, playing it safe.

I think most readers prefer a firm opinion or statement, regardless of if they agree with it or not.

Karunamon 1 hour ago 0 replies      
First time I've seen one of these headlines that is answered with a yes :
bdunn 2 hours ago 0 replies      
What's wrong with marketing an article? People respond well to questions, "Top 5...", and other tried and true methods of "baiting" someone into giving your post a chance.

I don't I would have read your post if it was titled like an academic paper.

withad 1 hour ago 0 replies      
Any time I see a headline ending in a question mark, I always think of this SMBC comic - http://www.smbc-comics.com/index.php?db=comics&id=2075.
tomelders 2 hours ago 0 replies      
I have to agree. Whilst "questions as headlines" don't mean the article is bull-hunky, I'm finding it's a very convenient rule of thumb.
Spoom 2 hours ago 0 replies      
No. Wait... I see what you did there.
wamatt 2 hours ago 0 replies      
Are all rhetorical questions bad?
elliotlai 1 hour ago 0 replies      
I thought you meant HN headlines :D
acoyfellow 1 hour ago 1 reply      
Interesting points.. but I'm unsure if your use of a question mark in this HN post is a ironic or a coincidence?
When Rob Pike first met rms commandcenter.blogspot.se
61 points by willvarfar  5 hours ago   12 comments top 9
huggyface 40 minutes ago 0 replies      
"of which the worst is that AT&T has never threatened to sue anyone over the patent"

Earlier in the piece it describes AT&T sending off demands to prospective licensees, and then those licenses being "politely" returned. Is Mr. Pike really so naive that he doesn't understand that the demand for a license is entirely backed by the implicit threat of a lawsuit to force the same? If that weren't the case the participation level would be 0%.

babarock 2 hours ago 0 replies      
I enjoyed the story, but something bothers me (just a little bit). I don't like his attempts at sensationalizing the event:

> The protesters were surprised, I think, that my subject was interesting
to them. At one point they all applauded spontaneously when I described
a feature of the system.

Rob Pike is a renown scientist, at the time working on Plan9 , the most exciting project of the moment. He tried to portray the protesters as mindless sheep blindly following rms, where indeed they were smart people genuinely against the idea of software patents. After all, this is MIT we're talking about, is anyone surprised that these guys actually showed interest in Rob's talk?

I know that if I were there, I would've definitely put up a protest sign, while still being thrilled to attend the talk.

guard-of-terra 2 hours ago 2 replies      
Software patents are bad, okay?
He got into them before that became obvious.
Now it is. He is too stubborn or too blind to state this truth; instead he hides behind "business community is still excited".

Stallman organizing protest can not be more wrong than Pike not acknowledging the problem.

algolicious 4 minutes ago 0 replies      
I looked twice to verify that she needed the wheelchair.

I'm not quite sure why Pike wrote this. Was he afraid that the wheelchair concealed a weapon of some sort? But how can you visually verify that a person needs a wheelchair?

I also wonder what Pike thinks now that his employer is being sued over the violations of patents in their open source GUI software. The swipe-to-unlock patent strikes me as about as obvious as backing store.

gwern 1 hour ago 1 reply      
> I was congratulated warmly and people were excited about the future of software patents. Nowadays, however, the climate in universities at least is very different, and Richard Stallman is almost single-handedly responsible for the change. (The business community, on the other hand, is still excited.)

Written in 2006... O tempora o mores!

watmough 2 hours ago 0 replies      
This is a lovely outcome, and illustrative of how people can exercise their right to assemble peaceably and make their views known.

In the wider World, we should think twice about criminalizing peaceful protesters, as some recent laws seem to be doing.

cite: http://www.aclu.org/blog/free-speech/ready-occupy-what-you-n...

kanja 1 hour ago 0 replies      
I don't think this article could have made rms look better. He increased attendance to an educational event, while protesting a piece of immoral legislation. Everybody wins!
kunj2aan 1 hour ago 0 replies      
>I also think they were surprised that the
inventor of #4,555,755 was funny, theatrical, and clever

I respect Rob as a programmer, but that came off as a little too self congratulatory.

chris_wot 1 hour ago 0 replies      
Seems to me that the protestors furthered their cause very well. By being peaceful, respectful and non-violent they showed that they were not just mindless drones - they were thoughtful folk of a technical persuasion.

Software patents are bad for everyone. Even those who have patents get sued routinely by those who have other patents. Thy mus file patents as "defensive patents", even if they have no intention of using them. The whole situation is predicated on greed and stifles research and innovation. The only folk who makebny real gain out it are lawyers.

Louis CK does it again - 2 audio shows without DRM at $5 each louisck.net
91 points by middus  7 hours ago   27 comments top 7
jrockway 6 hours ago 2 replies      
What's more interesting is that he got HBO to release their content in a DRM-free format. (HBO is the network that previously wouldn't let you buy their online video service unless you already had cable and an HBO subscription, rather defeating the purpose of buying the content online.)

This is what fighting piracy looks like.

blhack 5 hours ago 2 replies      
Here's a thing on conversion:

I'm going to be offering other things through this site. Would you like to hear about them?

	      Yes, I'd like to receive further emails about Louis C.K. things.	

No, leave me alone forever, you fat idiot.

No was checked by default, and the phrasing says "Hello, I am a human."

I clicked yes.

trun 6 hours ago 2 replies      
Somewhat related, I think his site has my favorite 'forgot my password' email ever.

  Apparently you forgot your password? Ok, so here's your new one, stupid:

EMAIL: xxxxx@gmail.com
PASSWORD: moron.xxxxx

middus 6 hours ago 1 reply      
I just bought both. You'll get 4 downloads for each show and can download MP3 and/or FLAC. Quality seems pretty good to me, but I'm not an audiophile.
cnbeuiwx 1 hour ago 0 replies      
I bought Shameless since Louis CK is awesome, and also because his advisors wanted him to put DRM and other crap on the shows and he refused.

Totally worth the money.

coffeejunk 6 hours ago 1 reply      
he also released his beacon performance as an audio download.
batista 5 hours ago 1 reply      
A guy self-publishes stuff on the internet. News at 11.
Portable Ideas raganwald.posterous.com
4 points by llambda  20 minutes ago   discuss
The March of Progress (in programming language syntax :) dipert.org
36 points by progga  4 hours ago   11 comments top 8
lclarkmichalek 1 minute ago 0 replies      
None of these are syntax. `printf` in C or scala/groovy is a function call, which relates to the language's API, the C++ use of streams is an API decision, Java being funky is due to its API (and its semantics to a lesser extent). The only language I can think of off the top of my head where print would be syntax would be python, and even then 1) that's only for versions <=2, and 2) the formatting would still be an API choice.
SeanLuke 2 hours ago 2 replies      
I'm not sure what the point of this is. It seems pretty petty. To wit, we could have just we well written...

    MACLISP (1980):
(format t "Week ~R of the ~:R month of the year ~:@R~%" 15 102 1996)
--> Week fifteen of the one hundred second month of the year MDCCCCLXXXXVI


(format t "Week ~R of the ~:R month of the year ~:@R~%" 15 102 1996)
--> Week fifteen of the one hundred second month of the year MDCCCCLXXXXVI

There are powerful print functions and then there are powerful print functions.

michaelochurch 3 hours ago 0 replies      
Unfortunately, much of the industry is still stuck in 1996 because, hey, IDEs take care of the boilerplate, so it's "free", right?
dons 51 minutes ago 0 replies      

      printf "%10.2f"

-- Haskell, 1990.

MBCook 41 minutes ago 0 replies      
Heh. Cute.

As a Java programmer, I agree that NumberFormat looks ridiculous there. It's a lot of work for a single number to string conversion.

Luckily, since Java 5 there is a printf function:


goodside 2 hours ago 0 replies      
This is a very specific selection. There are plenty of modern languages that don't use printf semantics or C-like syntax. Too, there's languages from the 80s and 90s that did: Python (1991), R (1993), and PHP (1995) come to mind for direct printf analogs.
Jabbles 2 hours ago 1 reply      
Is the author related to this post made 4 days ago here on HN? http://news.ycombinator.com/item?id=3942636
ge0rg 3 hours ago 0 replies      
Fortunately, Java is "developing" with regard to its expressiveness.

Using Scala and co only brings you a part of the way, especially if you have to interact with Javaesque APIs like in Android, where you have dozens of different abstract classes (or sometimes interfaces) begging for anonymous inner classes.

Linus Torvalds won't do github pull requests github.com
445 points by quellhorst  20 hours ago   237 comments top 40
mindstab 18 hours ago 3 replies      
The man wrote git for use on the Linux kernel. Trying to argue with him about how to use git with respect to your tiny patch to the Linux kernel seems... like missing the point on a great many things. The rules for submitting kernel patches are laid out in great detail. Do you really thing arguing with the gatekeeper is going to change anything?
rit 19 hours ago 4 replies      
Fun Fact:

If you tack '.patch' onto the end of a Pull Request you get a 'git am' compatible patch file complete with the email address that Linus complains is missing ;)


EDIT: I should note this works on any commit as well. Take this commit from Casbah (the Scala MongoDB driver I work on) - https://github.com/mongodb/casbah/commit/990a36fbde69db26689... - removing .patch gives you the normal web based github commit page.

tytso 15 hours ago 2 replies      
I don't understand why people are upset with Linus's writing style. I considered what he wrote to be quite polite. He was merely stating his standards in terms of what he would and wouldn't accept (and github pull requests are on the "won't accept" list). He even explained why he wouldn't accept it.

Furthermore, the patch was deficient in other ways. (a) it was missing the Signed-off-by: header, and (b) it should have been sent to the linux-bluetooth mailing list or one of the Bluetooth maintainers, with the linux-bluetooth mailing list cc'ed.

marcamillion 18 hours ago  replies      
I don't mean to be overly critical, but is it just me or are the 'godfathers' of computer science starting to sound like cranky old men?

I mean....ok....this pull request being inferior to the way HE (the creator of Git) imagined it (or implemented it) is a bit petty imho.

What's with the complaining? I am sure this is not the first time I have heard him complaining about something on Github or some other 'new technology'. The same goes with Crockford and his semi-colon.

Edit: Although, I must confess that it is annoying when the creators of a service that you use totally blow off your suggestions (esp. when that service is built on your own creation).....so I am torn on this one. Still has the 'annoying old man complaining feel' to it though.

mjs 19 hours ago 1 reply      
It's instructive to read Linus's commits to his hobby project "subsurface":


Even if I can't code like Linus, I can at least try to write commit messages like his…

zobzu 12 hours ago 2 replies      
Well here's the thing: Linus is right.

Linus does not hesitate to criticize and always think about things before declaring them cool.

Oh he makes errors like everybody. He's usually not always very nice in messages (read LKML and you'll understand). But he's usually right and he's usually not writing random things because "it is trendy".

So GitHub is trendy. Linus doesn't care. Linus cares for the good features and pull isn't one of them in his eyes. And then again, I think he's right. Pull in GitHub is crappy.

But what's missing from his message is the reason why the GitHub pull is crappy. I'm sure he knows, but he's using half words. Here's the reason:

If GitHub enforced proper pull messages PEOPLE WOULDN'T USE IT. Why? Because it's the easyness to fork and pull that make GitHub successful. So you see, pulls have to be DEAD EASY. And that means also "single text field, no enforcement of anything".

So yeah. GitHub won't fix it, because it'll be bad for their business.

spinlock 19 hours ago 2 replies      
Man, now I feel like a total hack. I love the github pull request. I do insist that my devs use a good style (i.e. first line is a summary and wrap at 80 chars) but I love the user interface for looking at diffs and doing a code review. I had no idea it was inferior until reading this and now I find myself in the awkward position that I don't care. Have I really become the guy who values an efficient team process more that adherence to esoteric specifications. God, I can't believe it's come to that.
dhconnelly 18 hours ago 3 replies      
antirez via twitter: "Linus, I'm with you. Preserve your bastion of code quality as it's something rare and rapidly fading away."


bitops 19 hours ago 0 replies      
From his "subsurface" project README.

Also, please write good git commit messages. A good commit message
looks like this:

Header line: explaining the commit in one line

Body of commit message is a few lines of text, explaining things
in more detail, possibly giving some background about the issue
being fixed, etc etc.

The body of the commit message can be several paragraphs, and
please do proper word-wrap and keep columns shorter than about
74 characters or so. That way "git log" will show things
nicely even when it's indented.

Reported-by: whoever-reported-it
Signed-off-by: Your Name <youremail@yourhost.com>

lobo_tuerto 20 hours ago 4 replies      
I hope the github folks get involved in this. I'm specially interested in what they have to say about why they decided to go with what Linus calls _their own totally inferior version_.

Love this no-nonsense style, but let me say that it's no only the style, but that Linus has enough on his side to back it up.

memset 19 hours ago 3 replies      
Can someone point me to the tool that comes with git for pull-request functionality?
alain94040 19 hours ago 4 replies      
It's 2012 and we're still arguing about line breaks and 80-character lines?
jamesflorentino 8 hours ago 0 replies      
For people wondering why Linus said "You are a moron" to a particular user named "Joseph": The comment he was replying to was deleted. https://github.com/pirtlj

in one of his comment,
"I did not realizes that Linus' shit does not stink. Thanks for clearing that up..."

Apparently, even if a comment gets deleted from a Github discussion, it still sticks to your public activity.

fdr 20 hours ago 0 replies      
I also do not care for the pull requests, for much the same reasons. I like there is a way to bring a branch to a maintainer's attention and updating its commit range in event of updates before it is accepted, but the way messages that result from merging in the code is irritating, so I end up just using "git pull" to do the trick once the branch looks good to me.
trustfundbaby 14 hours ago 0 replies      
I get the point he's trying to make and completely agree with it, but the way he presented his issues just made me lose respect for him a little bit ... I just wish someone that respected was able to present his views in a way that younger developers could emulate.

I can't help thinking tons of "rockstar/ninja" developers out there are going to embrace this abrasive style of disagreeing with people and totally rationalize it by thinking well "that's how the guy who wrote Linux does it, so that's how I'm going to do it"

Someone that well respected should (and this is my opinion) never have to reach to the level of addressing someone so far-removed from the heights they've attained, as a 'moron', when simply ignoring them would do. But I'm nobody important, so what the hell do I know about anything ...

corford 6 hours ago 0 replies      
Jesus, watching some of the little snowflakes on here whining about how Linus chooses to run his repository is seriously disheartening. When did the the tech community get infiltrated by so many prima donnas and drama queens? If you have a problem with Linus' style or how he chooses to use the tool he made, build an alternative (if you can...) or swap over to a different stack and get on with your life. Stop whining.
DanWaterworth 19 hours ago 1 reply      
What, Linus found something he doesn't like?
gte910h 19 hours ago 1 reply      
Maintainer of a project doesn't like a tool some people like to use. News at 11.

Seriously. Just dont' send this particular maintainer pull requests that way.

happycube 19 hours ago 4 replies      
Considering Linus created git, if I were running github I'd tend to listen to whatever he had to say about it...
alexchamberlain 19 hours ago 3 replies      
I agree with Linus on a lot of things, but I wonder sometimes if he rubs people up the wrong way occasionally.
delinka 13 hours ago 0 replies      
It's Linus's repository and he can do things the way he wants. Stop whining.
yaix 2 hours ago 0 replies      
GitHub, seriously, if Torwalds takes the time to point out a flaw in your software, listen to him! Really.
peterwwillis 10 hours ago 1 reply      
If somebody invents a car and gives it to Torvalds, he'll call the designers total morons if the blinker isn't at the height that he likes.
goatslacker 19 hours ago 0 replies      
I have to agree with Linus on this and it's nice that he's taking time to write out his thoughts in public.

GitHub commit messages can be really ugly. I'm guilty of this and it's not something I'm proud of. I think the small improvement they did a while ago with the display of commit messages is a step in the right direction, I wish they would apply that same style to the web interface when composing commit messages.

edit: A good fix would be a way to turn off pull requests for projects or at least redirect users on how to send pull requests.

rumcajz 20 hours ago 2 replies      
That's pretty relevant comment. GitHub pull request system is great if you want to attract a bunch of script kiddies to participate on your project. For serious work, not so much.
ilaksh 18 hours ago 0 replies      
Maybe github can make it easier to send messages in reply to a pull request, or even show an email field there. Having people type out their email into the pull request is not the best way to handle that on the web interface I don't think (although practically speaking if you want to use email it is perfectly reasonable to make that a rule for your project until there is a feature like that for git and github). Ideally git itself could make it convenient to view that as a separate field with the pull request.

I am also pissed when someone ignores a feature I have written and redoes something without good reason.

Torvalds probably doesn't have time to handle a whole bunch of git pull requests, and most of them from github probably have problems or aren't important so this rule probably helps him a lot, practically speaking.

But obviously the people at github should really carefully analyze what he is requesting and if possible this could result in some minor improvements in that part of the github interface or git or both.

I don't know much about the Linux kernel, but I don't think that this type of driver information should be in such a centralized place and controlled by an individual or small group of individuals.

kstenerud 19 hours ago 0 replies      
So what exactly is deficient with github's approach to pull requests vs git pull-request?
Revisor 6 hours ago 1 reply      
Can anyone point me to best practices on writing (git) commits?

Or can you sum up yours here?

methodin 14 hours ago 0 replies      
The one thing I'll have to give credit to Linus for is that even if people continue to post absurd comments after his original lengthy counterpoint, he will delve into a more polite rhetoric and continue to explain his point, over and over. It's quite the opposite, in fact, of many people who write online where typically the end result is simply escalation or continued fervor.
fictorial 19 hours ago 2 replies      
How on Earth is this drivel at the top of HN?
stefanve 6 hours ago 0 replies      
Github should implement a tempting system for commit messages that way every project can enforce there own standars. And those templates should be shareable, like a template repository so new and existing projects can opt to use one of the exciting ones.

problem solved :)

mike626 19 hours ago 0 replies      
Extremely relevant criticism. It appears to be a rather simple problem for Github to resolve.
zbowling 18 hours ago 0 replies      
Some insightful comments on the github are getting deleted.
DigitalSea 17 hours ago 0 replies      
As genius as Linus is, the dude needs to take a couple of shots of harden the f*ck up. I'm sick of his school girl rants and complaints. For such a well-known figure head in the open source/computing industry he sure does complain a lot.
gianpaj 18 hours ago 0 replies      
i am i the only one who's reading Torvald's comments with David Mitchell's voice? http://www.youtube.com/watch?v=PqSZEGj-SuI
cdvonstinkpot 9 hours ago 0 replies      
These details matter apparently. I hope some of these improvements mentioned will be implemented soon.
labanro 12 hours ago 1 reply      
As long as Linus patiently explained why he doesn't accept guthub pull requests, it seemed ok. But calling someone a moron for it, that kinda hurts the community!
zeropointmodule 9 hours ago 0 replies      
This link would be better-titled as "Linus Torvalds pwns Github."
danieldrehmer 9 hours ago 0 replies      
Isn't it funny when he signs his comments in the end?
codebungl 13 hours ago 0 replies      
He's an engineer, he's just being definitive!
Why I ask "how many golf balls fit on a bus?" in job interviews chrisstucchio.com
21 points by yummyfajitas  1 hour ago   25 comments top 11
jroseattle 14 minutes ago 1 reply      
I agree with the need to assess one's ability in Fermi-style problem solving, but I find fault with using non-sensical information for the topic. Seriously, golf balls on a bus? Why not ask about a relevant problem to be solved?

For me, an interview is a two-way street, and a company can most certainly put itself out of consideration with these types of questions. The biggest issue I find with these esoteric-problem-analagous-to-something-relevant types of interview questions is that they usually send a negative signal about the company. I immediately think of gamesmanship, trick questions, watching candidates squirm, or about a dozen other things that I find have nothing to do with the entire reason I might consider joining a company.

While the interviewer's intentions sound very noble, I find the means to the end more risky than useful.

alok-g 10 minutes ago 0 replies      
A bigger problem I have with these problems is that I do not feel motivated to solve or even think about such problems. My internal reaction therefore always is, why do I care how many golf balls fit, even if I do not say it out loud.

For whatever problem the interviewer poses me, I would like them to supply me the context around that problem so I can see what is the benefit of solving it. Solving it for the sake of the interview is not a valid answer for me.

There are a plenty of important problems to be solved for me to not waste a minute on a useless one.

ebbv 29 minutes ago 3 replies      
..and I will no longer be interested in the job if you think answering a question like that is a worthwhile use of my time, or yours.

It's trivially easy to figure out how to calculate a rough number. I'd go so far as to say blatantly obvious. It's also a waste of time to actually do it.

When it comes to the real world, an estimate that rough, based on no actual data (since the actual dimensions of a golf ball or the hypothetical, poorly defined bus are not available), is not something I'm ever comfortable acting on. In reality, you can always come up with better data than that.

pooriaazimi 21 minutes ago 1 reply      
I don't have a single clue how many fashion items are on sale at a given time, not because I'm incapable of estimating it (even though I've never heard of Fermi problems before), but simply because I have no field knowledge about online store business.

Give me a day to think/research if you really want to make sure I'm the right guy for the job, because in the real life, I have the luxury of not being forced to come up with an answer in 3 minutes in a job interview (that would very well change the course of my life).

With all respect, I think all your questions are irrelevant and are definitely not a good metrics for hiring/filtering out candidates. For all means ask them about clustered/non-clustered (to use MSSQL's terminology) indices or stuff like that, but don't put them in a position like this one (they don't know the answer, but given a few days they can give you a pretty accurate estimation).

v0cab 1 hour ago 0 replies      
The problem is, talented people (some of them, not all of them) are not interested in ridiculous problems like this. It comes off as making the applicant jump through a hoop and watching them squirm for your own amusement, rather than as anything productive. No-one's interested in golf balls on buses, because filling buses with golf balls is a waste of time. Talking about it seems a waste of time.

And the question is stupid. Buses are different sizes and of different designs, you know. We have double-decker buses in the UK.

If you must use this class of problem, at least make it more related to your field or narrow down the kind of bus and what furniture is on it. And explain to the applicant why you would ask a question like this. "We want to see how you think" isn't an adequate explanation.

ohyes 8 minutes ago 1 reply      
Clearly eggplant golf balls fit on a bus.

I always assume the reason that you ask these questions is because you don't have anything interesting to talk about in the interview.

Interviews are as much a chance for a candidate to disqualify the interviewer/company because they asked stupid questions, as they are for the interviewer to ask stupid questions.

You got me all the way out here, spending my valuable time talking to you, and all you can come up with is a lame question about golf balls? Sell your company to me. Show me that you are excited about what you are doing. Talk to me about what problems you've been solving lately and try to see how I would go through the process of solving those problems. Sure there are NDAs and you don't want to violate that, but programming problems are programming problems, and if I am spending my time talking to you you can do me the favor of talking generally about what you are doing and making it interesting for me.

hedgie 38 minutes ago 3 replies      
I often do ask at least one of these questions on an interview. I don't do it because I care about a precise answer or whether you know the exact dimensions of a golf ball. I care simply because if you can't do Fermi calculations, you can't make long term architectural decisions. You'll build a system which handles 2x today's load very nicely and which I need to replace in 2-3 years, or you might overarchitect a system which can handle 1000x more load than I'll ever need.

...why not just ask a question about building a real-time monitoring system itself and judge the responses there?

i would never pass this test. i would solve this problem using variables for dimensions of the bus and a constant "packing factor" (or assume the optimal cannonball packing and approximate the golf balls as spheres) and write an express formula for the solution. then i would substitute in various constants for the dimensions and adjust the packing factor to find a range of solutions.

the problem with the question is they want an intuitive solution. giving them this formula and evaluating for a range of variables would just piss them off, but it's the best way to approximate the answer of something that poorly defined.

achy 24 minutes ago 0 replies      
This is dumb for one simple reason, It divides candidates based on an arbitrary line that has only limited correlation to the desired split: Those who fit your job requirements vs. those who do not. Instead, ask them to solve a pertinent problem to your company. If they go down the wrong path, give them a hint as to the right track and see how well they can grasp the new method. Simple. OR even better ask the candidate to explain how they solved their own last 'interesting' problem.
sasha-dv 18 minutes ago 0 replies      
>Why I ask "how many golf balls fit on a bus?" in job interviews

Perhaps, you think that a direct question about realtime monitoring systems isn't tricky enough?

bediger4000 46 minutes ago 3 replies      
Short bus or long bus? A long bus is about twice as big as a short bus, here in Denver, at least.

Also, with or without seats?

rdg 15 minutes ago 0 replies      
I know why people keeps asking these questions: because it makes YOU look smart. And also because it is/was a fad.
The Grammar of Vim rc3.org
83 points by daniel02216  9 hours ago   23 comments top 4
mwexler 1 hour ago 1 reply      
A link, or links much like this describing the "grammar" of Vim, gets reposted every few months, which is probably fine because it's a good thing to learn and share, but it would be nice if there were a HN "Hall of Fame" which would prevent reposting things like this over and over and over again. It could have either posts, or "concepts" with some of the more popular posts about Vi/Vim/etc, Emacs, C++, etc.

(What reposts, you say? I was thinking of http://news.ycombinator.com/item?id=2911930 or http://news.ycombinator.com/item?id=3361993 linking to Yan Pritzkers original post, referenced in parent link. But to be fair, they are different posts, not truly reposts.)

(However, there's also value in serendipity of new users "discovering" great links, so perhaps we can just leave well enough alone. Yeah, I know, useless comment when it takes both sides of a point).

akurilin 8 hours ago 1 reply      
I've been reading through the brand new Practical Vim by Pragmatic Bookshelf, it goes pretty in depth in this and much much more: http://pragprog.com/book/dnvim/practical-vim
gbog 8 hours ago 1 reply      
True but I'd say this verb-noun idiom only accounts to 15% of the user manual. For instance learning fold commands za will tell you nothing about other commands using 'a'.
blt 8 hours ago 2 replies      
I have been using Vim for a few years. I recently installed a trial version of ViEmu plugin for Visual Studio. With Vim inside my main IDE at work, I have the chance to really master it. But I ran into an unexpected hiccup - nobody else can use it when we're collaborating on code! Sadly, I think this might be a big enough reason to remove it.
IAmA a malware coder and botnet operator, AMA reddit.com
399 points by Devko  23 hours ago   156 comments top 19
citricsquid 22 hours ago  replies      
Most of what he says is obvious stuff and the emphasis he puts on how much he modifies stuff makes me assume he's someone that just runs programs and doesn't have any unique insight, but he does make one interesting point:

> Try to use "Verified-By-Visa" and "Mastercard-Securecode" as rarely as possible. If only your CVV2 code is getting sniffed, you are not liable for any damage, because the code is physicly printed and could have been stolen while you payed with your card at a store. Same applies if someone cloned your CC reading the magnetic stripe or sniffing RFID. Only losing your VBV or MCSC password can cause serious trouble.

Does anyone know if this (using verified-by-visa, mastercard-securecode remove any payment protection if you get key-logged etc) is correct?

jacquesm 19 hours ago 5 replies      
Let's play 33 bits on this guy, my guess is that he's German, Austrian or Swiss based on the settings for his IRC client, that should knock about 6 bits off, 27 to go.
K2h 20 hours ago 1 reply      
I very much enjoyed the reading of his comments - I pulled a few of his that others may find interesting.

[polymorphism code - to hide virus signature]

Randomness is your friend, make your own crypter and make it so fucking random on every compile, that AV reverse engineers kill themselfs (HINT: randomize the crypters sourcecode using perl scripts)

[polymorphism code - to hide virus signature]

I started coding about a year ago, hacking old malware sourcecodes and reading russian boards. Most botnet operators are dumb as fuck, who don't even care about their traces, the ones you see on TV, catched by Microsoft and Brian Krebs. If you have more knowledge you can automatize nearly everything, like creating scripts that rewrite your sourcecode for your crypters so your malware gets undetected again, saving you hard work.

[finding infections on a computer]

Use GMER (http://www.gmer.net/) every now and then when your spider sense is tingling. Srsly, you can't fool GMER, it scans from the deepest possible point in your system, at ring0 and is impossible to fool, there is nothing deeper than ring0 on a usual PC where malware can hide stuff from. I always wondered why other AV vendors don't do it like GMER, it can detect all rootkits. But when a AV can detect everything, who will pay 30$ a year for signature updates...

reidmain 20 hours ago 1 reply      
"Protip against driveby infections (the ones in the browsers): Disable addons in your browser and only activate the ones you need. Chromium and Chrome for example let you disable all additional content like flash, html5, pdf and java in the options, you will see a grey box instead of the content and can manually run it using right-click -> Run. Chrome options -> Content options -> Plug-Ins -> Disable all or Click-to-play. Chrome also allows you to whitelist sites you trust, like youtube. This will make you immune to driveby infections regardless of the version of your java or adobe reader, because you will only be able to click and run content, that is VISIBLE on the site. Malicious content is ALWAYS hidden in a 0pixel iframe! This also stops the nasty flash advertisements implying you can't aim precise enough to win an iPad3."

This is one thing I've been trying to convince people to do for ages but, for some reason, that one extra click turns so many people off. The extra minute or two I probably spend a day clicking on plugins to activate them will pale in comparison to how much time I'll have to spend recovering from being infected.

mikek 21 hours ago 5 replies      
Great nugget:

> a US credit card costs 2$ on the black market and a UK starts at 60$, americans are all in debt.

sakai 22 hours ago 3 replies      
Well, clearly this guy's moral compass is a bit out of whack, but the IAmA does offer some fascinating insights into this world...
tuananh 21 hours ago 3 replies      
* About 20% of the users have good graphic cards, but are not sophisticated enough to install drivers.

* 30% of victims are Americans.

* 80% have an antivirus installed.

* An average income of $40 per day (bitcoin only). May vary up to $1,000.

elorant 21 hours ago 2 replies      
I don't understand how these people sleep at night. The whole notion I didn't make the game I just play the ball is just hilarious.

Furthermore those guys don't understand that eventually they're hurting the web. All that will bring stricter legislation and governments will start enforcing rules like IP identification for just about anyone out there.

I can understand organized crime exploiting the cyberspace. But for individuals its just plain stupid.

CoffeeDregs 21 hours ago 0 replies      
Great post. I forwarded it on to my family and friends in order to give them some awareness of the people who're looking at them from the other side of the internet. Rather than sending more strident "think before clicking" warnings, this post is a great way to get them to think like an attacker so that they can avoid the attacks better.
option_greek 20 hours ago 1 reply      
It's fascinating to know all this stuff from his perspective but the moral attacks by others in the comments truly suck. What is the point of AMA if all they do is attack the one sharing information.
JWhiteaker 22 hours ago 3 replies      
Magnetic stripes are the most hilarious thing ever, but still work almost everywhere on the globe.

I am amazed that magnetic stripes are still the norm for credit cards in the US. Europe has managed to move all but completely to chip-based cards, but the US hasn't.

Does the cost of fraud due to magnetic stripes outweigh the cost to upgrade the entire US system, or is the market just too fragmented to coordinate such a transition?

16s 21 hours ago 1 reply      
The CVV2 is not recorded in the mag stripe.
diminish 21 hours ago 1 reply      
Now, what has to be done not to get hacked ends up being answered as; AVs won't help, macs won't help, linux won't help, and use ipad? are we heading towards a world where average users will end up in managed computing behind walls, and only some hackers and crackers will use open computing? is computing doomed to be a the black and white world of tyrannic rule vs. mob rule?
andr3w321 20 hours ago 1 reply      
There's so many legal ways this guy could make just as much money with his skills. I never understood why someone is willing to put his freedom at risk when that is the case.

I guess he's just lazy or thinks he's incapable of making as much as easily legally, maybe he likes the thrill and challenge of it all, maybe he thinks he's invincible and there's zero chance of him getting caught. Either way he's very foolish for continuing to do this especially if he has no endgame in sight.

mikemarotti 21 hours ago 1 reply      
The fact that this guy even posted an AMA shows that it's either entirely fake (doesn't seem it), or he's way too cocky. I suspect some trouble may be coming his way soon. He seems to think that he's infallible and that he won't catch a charge for running a botnet.
slig 20 hours ago 0 replies      
He's also been a coder for only one year... if he actually modifies stuff, that sounds very impressive.
pestaa 2 hours ago 0 replies      
My favorite bit so far:

    if you know how your computer is beating inside, you are hard to fool

darksaga 20 hours ago 0 replies      
The thing that's scary is how easy it is for these people to get away with what they're doing. I wonder how much money is lost every year and how many hackers you never hear about going to jail for this stuff. I'm pretty sure this is the motivation to do a lot of this stuff. The risk/reward level is completely slanted.

I see a LOT of stories on HN and other Tech sites about these kinds of attacks. Unfortunately, I rarely, if ever, hear about hackers getting arrested for this sort of activity.

tferris 21 hours ago 0 replies      
Adobe working on a patch for 'critical' TIFF vulnerability in CS5 software theverge.com
3 points by tuananh  40 minutes ago   discuss
The Future of C++ Concurrency and Parallelism bartoszmilewski.com
14 points by Tatyanazaxarova  4 hours ago   1 comment top
Blunt 56 minutes ago 0 replies      
I'm against this. They are trying to impose rules (threading concepts) into the C++ language where it ought not to be. Threads are platform specific (ARM, Intel) albeit with the same idea but underpinnings are different. They are arguing about thread local variables and concurrency issues in the context of the C++ language or standard libraries when really these things are dependent upon the application being written. We don't need all this garbage in the language and there are plenty of class libraries out there to deal with common hardware platforms already that do quite well. Trying to drive a design pattern from high atop ivory towers is stupid and you would think these people would have learned this by now.
Got a deck? Solar panels now a plug-in appliance cnet.com
18 points by iProject  5 hours ago   9 comments top 5
ck2 33 minutes ago 0 replies      
Some rural locations have very expensive electricity so this is a great option for plug and play.

The fact that it's only half the 15 amp maximum for house wiring safety and that it turns off when there is a blackout so electricians don't get killed by the backfeed are really nice touches.

Now bring on the clones for half the price ;-)

mark_l_watson 2 hours ago 1 reply      
I have two problems with this. First, it is a severe safety issue for power company linemen if your local power company does not know about your system and know where the external shutoff switch is. Second, we installed a solar system last year and the installation (physical panel installation and electronics, with interactions with the local power company) as only about 13% of the bill ($1800/$13600).
pkh80 58 minutes ago 1 reply      
This price would have sounded great a few years ago, but you can get whole house solar installs for ~$4k, enough to replace your power. We got a 4.6 kw system installed on our house for less than $4k out of pocket. Check out SolarCity or any solar company that offers a lease to own program.
stephengillie 5 hours ago 1 reply      
Why is the system limited to 5 solar panels? Is there a reason I would not be able to purchase 25 of these and put them on the deck I don't have?

Their site looks like they could use a little design assistance: http://spinrayenergy.com/

Their "Product Specs/Data" page is a 404.

waivej 2 hours ago 0 replies      
Great writing! I've known about this hardware for years but it still sold me. (at least until the 20 year payoff calculation.)
       cached 12 May 2012 16:02:01 GMT