skysight-inc/HackerNews huggingface dataset:
If you really want to get picky,
return foo.bar().baz().qux() * 2;

Could become:

Bar bar = foo.bar();
if(bar == null) handleBarNull();
else {
Baz baz = bar.baz();
if(baz == null) handleBazNull();
else {
//(assuming qux is a value)
return baz.qux() * 2;
}
}
It's a great tool for dealing with dedicated drive-by griefers, but that's not what most people deserving moderation are — they're usually just good new users figuring out the site norms, or old-timers having a bad day.

I've noticed dozens of hellbanned users still posting on HN, and it was never the right treatment except for one of them (the losethos guy).
> There is nothing disrespectful here.

I disagree.

The point is not that the course might be mandatory for a business student (it wasn't - the student picked it as an elective), nor that he shouldn't make and execute such a plan if he thinks it is in his best interests.

The disrespect was in telling the lecturer, "we both know this is a waste of my time so tell me how to get it over with as easily as possible".

It's like constantly checking your phone while talking to someone in person. Even if you are listening to what they are saying, you are signalling to that person that there are more interesting things than them which demand your attention.
This was my exact impression; I hate leaving the keyboard when I'm writing or reading code. To simulate some of the functionality of codebubble in vim, I :vsp the same file and scroll up/down to the method I want.

I have, however, come to realize that navigation through a large project with keys alone is suboptimal. One typo in a nav command and you have to press at least four or five more keys. With the mouse, you're less likely to make such mistakes and your retry time would also be low. It'd be like trying to browse the web using the keyboard alone... even I, a hardcore vim user, found firefox/vimperator underwhelming to say the least.

What would be awesome is if they made some sort of hybrid superintelligent keyboard where the whole keyboard surface could also act as sort of a multi-touchpad. As a compromise, I've found that the thinkpad-style pointing stick in the middle of the keyboard does a fair job.
"The US is what, 30% socialist? And Europe is closer to 45% socialist?"

By what definition? Everyone seems to have their own.

Einstein sure isn't talking about anything that looks remotely like the modern US or Europe.
I actually own http://goduckgo.com/ if that helps :)
If they were utopians dreaming of socialist equality, they wouldn't have granted themselves and their cronies perks beyond any robber baron. They wouldn't have used secret police to terrorize the very class they set out to honor. No, when a system obviously ruled by corrupt thugs strays that far from its principles, I assume the rulers had always been corrupt thugs who paid lip service to the system to sway the masses and achieve power.
Hands-on review: WarMouse Meta
You can ask me anything here too if you want.
Yep, your math is about bang on! :)
Since they'd want to deduplicate equal files across different users, to save bandwidth and storage costs, I imagine the keys they use won't be user-by-user. They'd be defined file-by-file, or block-by-block, with the keys being stored elsewhere (but where?), or there's just one universal master key. Considering their security is just theatrical in nature, I'd bet they have one master key.
You may say this, but I don't see semantic member or statement completion for any language. I don't see "go to definition" or "find all references." Frankly, although cc-mode is fantastic for indentation and stuff, it offers a small fraction of the features of Eclipse or NetBeans.

Yes, I've used ctags and I've used etags. They tend to be interesting approximations but are never 100% reliable. They don't do a deep sematic analysis of my program. (For example, they don't understand C macros.) They don't update as I type.

The closest I've ever seen has been the "Semantic Bovinator" thingy. I have never managed to get it to run, nor has anybody I've seen try. You experience may be different, of course. (I realize that by posting this I'm inviting a raft of people to post and say "It works for me!" :) )
"A little inaccuracy sometimes saves a ton of explanation."

I thought it was anonymous but Google tells me it is by Saki, who happens to be a terrific writer.
A Trailer for Every Academy Award Winning Movie Ever
Thank you the respect. For the record, Duck Duck Go is my default and Google now feels weird to me. But I agree; combating that entrenchment is pretty insane.
Doesn't this defeat the purpose of anonymous chat?
University is a good way to meet people with similar interests. You may also have a couple professors that inspire you in some way.

But the other 80% of it is a waste of time.

It's like a job; you could learn things on your own much faster but you're forced to go slower because of the way things are set up.

If I could advise my 18 year old self, I would probably take a couple part time courses that seem interesting (and attend some extracurricular activities around campus, and go to parties as well) and then spend the rest of my time writing software and reading books on my own.
Yes, Aaron's post is a very good read. I still went with jQuery nonetheless.
Apps for Healthy Kids Competition by Michelle Obama's LetsMove.gov
this conversation depicts exactly the type of professor I hope I never become.

1) the classroom != business meetings-----------
in meetings, other people rely on you being there. in lecture, professor just talks - he can give the same lecture to an empty room or to a full room. it doesn't matter

2) student is not responsible to the professor. -----
because the student's presence is not needed to make an effective lecture, the student has no responsibility to check with the TA or something. his presence is for his benefit alone, his absence is to his damage alone.

3) lecture is not affected by walk-ins and walk-outs ----
no student tries to "make a statement" by walking in late to class. it is not disruptive, if they walk in,find a spot, and sit down, quietly. the lecture is not affected, if they are focused, people hardly notice the door opening. it's like somebody coughing in lecture - who hears it, who remembers it? nobody.

4) professor is wrong to interpret this as deliberate action---
there are a million and one reasons to be late for class or go early. in a large class, a small subset will always have some kind of priority over lecture, be it conflict exams,interviews, small accidents on the way,or lecture sampling. this is completely understandable, the students' lives don't revolve around the lecture.

5) policies should become "strict" after 1st week ----
even if the professor decides to exercise his snobbiness by power of being a lecturer, he should have done so not in the first lecture, but made it clear to the entire class, multiple times during the first week, and started implementing it next week. dismissing the student is such a shallow, "i got the power", type of behavior. extremely disappointing display of insecurity of an NYU MBA professor.

6) urinating? ----
wow the professor goes over his head with his outrageous analogies. no logical sense.
"you've got a one-time offer from society that we're going to subsidize anything you do for the next four years and not have any expectation that you'll work for a living during that time."

Not everyone can afford to go to college, much less go without a job. Even if you are able to secure loans to cover tuition and all living expenses, this would easily run 100k at a public university. I'm at a bit of a loss regarding your attitude towards the price of attending college...could you please elaborate?
Kiwi entrepreneurs announce international cable for New Zealand and Australia
Ask HN: Include JavaScript via PHP or HTML?
So in my regular website building duties I have noticed that including the text of my javascript file renders the page faster than if the javascript file was merely include via html.

(In PHP)

<script type="text/javascript" src="stuff.js"></script>

v.s.

<script type="text/javascript"><?php require_once("stuff.js");?></script>

Is there any downside to me including the file via php?
"the most isolated tree on Earth[3] — the only one within more than 200 kilometres"

"The tree was allegedly knocked down by a drunk Libyan truck driver in 1973. "

Hitting the only tree in over 200km? That's pretty damn drunk.
That's exactly what I want to know. I definitely do not want to deal with PCI compliance. Sadly Authorize.net doesn't support banks in Canada.
Just when I thought Chatroulette couldn't possibly get any creepier. Well done indeed!

How about laying a few of the details of this mashup's creation on us. Did you automate the "next" somehow to get lots of screengrabs with minimal work?
I'm struck by how much of the time in this article is spent driving relative to how much is spent building stuff. Maybe that is just the OC Register reporting selectively. I really hope so.

He's apparently a well-educated professional recently making six figures and yet he is spending time on the job boards, waiting by the phone, and Tweeting, for more than a year and a half now. What the heck. That's stupid when you're 22, but you're excused a little stupidity when you're 22 and still think that job seeking is a matter of sending out resumes. When you're forty-something that is practical criminal.
I've always liked this wallpaper and now I know the whole story:
http://www.vladstudio.com/wallpaper/?teneretree
We use Braintree. They have a secure vault similar to Authorize.net CIM for storing credit cards safely without PCI concerns. Also, they were the only payment gateway that could give us true multi-currency support. Apparently in most cases you need revenues at least in the 7-figures to swing that, but Braintree set up USD, EUR and GBP for us on the cheap. Note that some payment gateways will claim to support multi-currency, even though what's really happening is they are just doing an exchange rate conversion and the customer gets nailed with an unexpected conversion fee from their bank.
I tapped the right arrow for about 10 minutes and still never saw a single thing that felt like real content. I would think it would get the hint that I didn't LIKE any of it.
Anybody here know good payment gateways for us folks outside the US?? (specifically India, in my case)
Any reason why Haskell is so popular here? I spoke to people on Prgmr IRC and they were wondering too. I've learnt lisp in the past, but I have to wonder what benefits Haskell really offers that makes it so popular currently?
Hard drive and disk data recovery services
Data Recovery solutions from data recovery England. Server, laptop and desktop data recovery services for PC and Mac computer systems.
Finally, a constructive use of Geo Location!
25k/year for a decent standard of living in an environment that those of us who have been through the process look back on fondly as some of the most fun we had? Yeah, that is a hell of a bargain.
These stories are always so difficult to read and for me sometimes hard to imagine. It seems like everywhere I love people are having a hard time hiring people and the thought of laying off someone is absurd. It's so bad that I've seen companies keep people they are know are incompetent because they figure it's better than nothing. It seems like there is a huge disconnect between the experience of parts of the economy and the country in this recession.

It's hard for me to imagine not being able to earn an income or provide for my family but that's the reality for a lot of people right now. It's good to remember that and be thankful for where you're at and what you have.
Here's a rational approach that may be appreciated here :)

Make a concious decision to try and settle down with one of the first 6 girls you date. Here's the rules:

1) don't settle for the first one you date.

2) the next one you date that is better than the first one you dated is the one you settle for.

Why? Do the math. Let's label them 123456.

If you date 1 first, you have 1 in 5 chance of ending up with any of the others (1 in 30 for each)

If you date 2 first, you end up with 1 (1 in 6)

If you date 3 first, you can end up with 1 or 2 (1 in 12 each)

If you date 4 first, you can end up with 1, 2 or 3 (1 in 18 each)

If you date 5 first, you end up with 1, 2, 3 or 4 (1 in 24 each)

If you date 6 first, you end up with 1,2 .. 5 (1 in 30 each).

Add that up, and the odds of you settling for each woman are:

1 - 38.1%,
2 - 24.7%,
3 - 16.4%,
4 - 10.1%,
5 - 6.7%,
6 - 3.3%

So, 79.2% of the time you "settle" for someone above average. And, for the other 20.8%? You can always split up before it's too late :)
I agree with your general recommendation. Go to College..period. A good University will do wonders for a curious person. If the OP doesn't know why he needs to go, that's all the more reason he needs to go...and if the studies are not challenging/interesting enough, switch to something that is.

I'm not sure what colleges only require 3 hours of class a day. I only went to one school...my week was a solid 60 hours of class, homework, labs, and test prep. I do sometimes recommend to others not to go to a tough as nails engineering school ;). When I compare notes with folks that went to other schools it does seem they had lots of leisure time.

I also don't know where your point of subsidizing comes from. Most colleges are expensive. I do think many are worth the cost but its not a free ride for most.
OK, so you significantly edited your reply, rather than do the same I'll respond again:

"smoothly conflate mercantilism and capitalism."

That mercantilism was a phase of capitalism is a common - though not universally accepted - point of view.

"WW2 flat requires the re-branding of command economies as "capitalist"."

Repeating myself somewhat, but that depends on how you attribute causation. That capitalism was in crisis in the 1930s is pretty uncontentious. That the effects of that crisis on Germany contributed to the rise of Nazism is also fairly uncontentious. The rest depends on how you weight those factors against others.

I appreciate that you are not open to the view that a non-murderous and non-totalitarian socialist society is possible. I myself am on the fence.

However I do strongly believe the first half of my argument: that capitalism begets death and destruction on a scale that exceeds the murderousness of the 20th century's totalitarian regimes (whether within 'wartime' or 'peacetime' matters not to me).

I hope that something better is possible. I accept that based on the empirical evidence we are screwed.
That is awesome, thank you.
Small bug report (assuming this is your mashup): clicking on the "zone" nodes in Chrome centres them but doesn't pop up the screengrabs.

Works in Firefox though. 10 clicks in, first penis sighting. Sigh.
Posted a few days ago:

http://news.ycombinator.com/item?id=1174204
Hmmm - Albert Einstein was a moron. Who knew?
Yep, I was lucky and got sucked into one club my first year, which led to another, and another (all nothing to do with my studies). It was very rewarding and my closest friends from college (20 years later) are the ones from these extra activities.
Does anyone else find this disturbing in a Big Brother sort of way?
...apparently there are 7 people chatting from Rosedale Cemetery in LA, on Normandie and W Washington.
well first, just accept that coming out of high school, there is a lot you don't know.

enroll in challenging classes at a good college and you'll see it soon enough. you'll realize high school was a joke. classes at a good school will not be a joke and there is a good chance you will be humbled or even gut-punched by seeing a B- or (surely) lower on an exam for the first time in your life. don't sweat it, knocking the swagger out of undergrads is part of first year

now about this coding "blub" bit. hey, remember no one is forcing you to do this. every job has its blub element. supreme court judge, CTO for google, president...every one of these has some blub component. thats life

same thing goes for school. if you really don't want to go, don't. but be prepared to work twice as hard to show people you are smart. i've seen it done, but only but exceptionally focused and gifted people. they call them gifted because not everyone is. its okay to let the degree get you in the front door...its how 99% of us did it
I think the point is that it's not that anonymous to begin with.
Then you are among a small and very lucky minority. Right now there is something like a three percent difference in unemployment rates between those who completed a bachelors degree and those who are listed as having "some college or an associates degree", while those with only a high school diploma have an unemployment rate six percent higher than college graduates.
Interesting the very large number in the D.C., NYC and LA area, and the very low number in the Bay Area.
Okay, you missed my point completely, but never mind.

Arguments about terms with lots of emotional content but very ambiguous meanings tend to look more like people cheering for their local sports team more than like a meaningful discussion.
well you just missed the point of lectures...its to INTERACT with someone who knows the material. no one is disputing the value of a good text.

when i didn't want to interact with the prof, i just skipped class. its college. they don't care if you go or not (nor should they). just show up for the exam.
What a gross invasion of people's privacy as enabled by collecting information they already willingly submitted.

If chatroulette proper is an unwavering stare into the faces and bodies of the internet, chatroulette map is stripping one further layer of anonymity away. It's also terrifying to think what'll happen when this collides with registered sex offender counts.
You can do it for much cheaper than $100k, but I went to an expensive private school, so $100k is in the rough ballpark. My family didn't have the wherewithal to pay anything near that. I got through college via a combination of work study, scholarships, and about $21,000 worth of loans.

You know how hard it is to get $21k worth of angel funding? And the kind of terms people will want? Getting $21k of student loans requires a) filling out a form and b) signing up to pay $200 a month for the next ten years, after you've graduated and (presumably) have paying work. Seriously, you will never be offered money on terms this good ever again. (I ended up paying my loans a few years ahead of schedule, with business profits. That probably wasn't economically rational but debt grates on me psychically.)

Obviously I wouldn't suggest taking out $100k in loans (~ $800+ in monthly payments) to get a degree in Studies of the Subaltern: Literature In Post-Colonial Uruguay, but if you're already decided on programming I have little worry that you'll walk down that path.
unless you are wearing a Nixon mask or your dog/cock/cartoon is on on the screen.
This gives you a couple of advantages over your peers. Take advantage of your extra credits to take a light course load; enough to qualify as a full-time student but with a bit more free time than others to work on pet projects or take advantage of all of the other great things that you will be surrounded with.
"backed by large projects like the Linux kernel, Wine, etc."

Mercurial is used and backed by large projects like Mozilla, Google Code, OpenOffice, Solaris, and Python. (In my own opinion, git and mercurial are both best-of-breed, and I'm a happy user of both tools.)
I just looked at the Braintree site. It looks like they provide very developer friendly services which is rare in the industry. The listed rates are high though. If anyone goes with them, keep in mind it's the industry norm to heavily negotiate those.
I use these guys:
http://www.paysimple.com/
They walked me through getting a merchant account and charge $30/month for the gateway with an API, credit card vault, subscription billing on credit card or ACH
so switch to physics or chemistry or math as an undergrad degree. you won't be left unchallenged, indeed you may find yourself gasping for air

trust me, there are college courses out there you couldn't even get a C in to save your life.
"most people need a push in order to perform"

Perform for the benefit of whom?
Lead Dev for NYC Fashion Startup - $10,000
I'm launching a new fashion retail startup in New York. I'm looking for someone to lead development – all aspects of it: programming, design, SEO/SEM, UI/UX, etc. I don't expect you to be an expert in all of fields, but you should know how to manage those that are.

It's an opportunity to get involved in a really exciting new platform that could change the way the industry works.

What you'll get:
- A $10,000 paycheck
- An NYC office space in the Garment District (6th Ave and 37th)
- Full creative freedom to build something incredible
- An experience with apparel retail and overseas manufacturing
- An awesome way to spend the summer

What I'm looking for:
- A hungry, driven programming wiz (pro in all web languages)
- A great sense of graphic design
- Someone with style who appreciates fashion
- Summer commitment (May-August)
- Awesome communication skills
- A great network in the tech community

While I hope you're all of the above, I don't care if you're able to outsource one or two of them.

I'm a student at Wharton. One side of my family runs M&J Trimming, mjtrim.com, and the other Haddad Brands, haddad.com, (Google them). We will be leveraging the resources of both of these apparel companies, and you'll get an insider's view of how they work - from clothing design to sales to production.

If you're interested, let me know. Send an email to jcohen1@me.com with your resume and samples of your work. Students welcome.
Very disturbing. I'm not going on Big Br-... chatroulette again.

It's just geoip though, so it's accuracy is low.
Adding a whole new level to the creepiness of Chatroulette. Exactly what it needed!

If only those dudes knew their location could be pinpointed, maybe it would make it a bit more bearable.
Metalab's Andrew Wilkinson responds again: (The Great Mozilla Debacle)
I use virtual access, not cheap but very good.

full disclosure, run by friends of mine.
Stats. Lots and lots of stats. Get good at doing number crunching on big data sets using hadoop, R/incanter/etc and learning how to derive meaningful and defensible insights from all of the public data that is floating around out there. Pick an org that suits your interests and see if they need help with general computer systems stuff while you work on a side-project that will impress them. If you are good at it and this particular skill set interests you then you will also have a wide range of jobs to pick and choose from if you decide to go into the private sector.
Firstly, I have no control over the server. In fact I've been trying to get them to install Python on there for me but I can't even get that.

I understand why loading the page would be faster if it was all in one file. Also, I realise that this would not allow for the dynamic page to be cached properly for future use, but I have tested and the effects of the lack of caching are minimal.

So the question is what are the downsides of doing it this way?