skysight-inc/HackerNews huggingface dataset:
Well, fclose can fail, for example; it can as part of the closing process flush its buffer and that can fail like any other I/O process. Further, sometimes the error than happened during a previous write(2) call is only detected in the close(2); think NFS and quotas, or check the man page. So already we have errors that occur during teardown that need to be handled somehow.

Similarly one can imagine using RIAA to hold a file lock, or a temporary directory; this is a perfectly reasonable thing to do but there are dozens of reasons why the final rm -rf of the tempdir could fail.

The idea that somehow object teardown is immune to failure is overly naive, and the fact that you can't accommodate it easily in RIAA is quite disappointing and makes the whole paradigm much less useful for carefully coded software.
If you had 1) looked up what ZeroMQ does, and 2) ever actually implemented a system in Erlang, you wouldn't dream of making a recommendation like this. It is completely irrelevant to the author of the article.

Further, Erlang makes no attempt to avoid undefined behavior. It provides mechanisms to restart pieces in a usable state to bring the system back into line rather than try to avoid or fix incorrect states.

Please don't post opinions about languages you have never done real work in. Your weekend project doesn't count.
True that. When you're in a meeting where the majority of people wear suits and are serious, you'll be considered the dick if you're wearing a hoodie and are grinning like you just won the lottery :-). It doesn't even have to do with business - people can be offended at a personal level, too.

Maybe the reason he wore those clothes was different - he feels lucky/confident in them, they were the only thing in his closet at the time or something. Or maybe he just doesn't pay much attention to dressing code (if the clothes are comfortable, why not wear them)...
It's more of a tragedy of the commons situation, except most of the bankers ran away with the loot. That's their benchmark and they seem to do very well by it.

Now, if the government(s) stopped running a pump and dump scheme, banksters wouldn't screw us so routinely and predictably. Adapting to a sensible system would be painful short-term though, which is why it won't happen without a collapse.
FBI Fears Bitcoin’s Popularity with Criminals
Google is a good example of what happens when you modernize icons - no one knows what the hell is going on.

The old icons are fine.
>You can root the device and install it manually

Some clarification is in order here. Flipping an explicitly provided and documented switch is not "rooting" the device. That carries the connotations of hacking around some form of enforced security getting in your way.

And yes you can install it manually without hacking the OS... It's just a form of Linux after all. Go bug Firefox and get them to offer a package that works with the OS if this is too much trouble.

Now, is your problem that they don't go out of their way to add compatability for random third party packages on a cloud based OS? You're not the target market, then :P
I have no experience in business or the workplace, but I wonder if the "need" for unions would be lesser if it was easier to get a job, i.e. it doesn't matter you've been fired, because you can easily find a job somewhere else?
Thank you for the ideas! We will definitely consider them.
Not everyone wants to customize everything they buy. Being forced to make a lot of decisions can be tiring and annoying. By all means provide the ability to customize, but also provide a prominent "just give me the standard version" option for people who prefer that.
The true test (if all this even matters) will be to see how he carries himself if Facebook ever needs investor money for its survival.
I have a MBP and I can install what ever I want. What are you talking about?
I'm not sure why this guy had trouble understanding that he needed money in his account as collateral against the charge back. "Yeah, he'll probably send us the money if the charge back is upheld" is not a sustainable policy.
How DRM Free eBooks boost profitability in future Ecommerce
Building locked-down systems is not Microsoft's core competency. A big factor behind Windows' success was the massive developer support they received. With a few exceptions (like the undocumented ATL libraries), developers could do whatever the hell they want. They got a vibrant ecosystem in return. It looks like the same strategy is working for Android even today.
Tech junkie
> It makes me sad to see recent portrayals of Silicon Valley hold up humiliation as a recipe for success.

This is an interesting statement in the article and I think it is worth bringing up. It contrasts significantly to the other article I just read that said that "public shaming", which is just another word for public humiliation, is a desirable practice needed to stem the existential threat to engineering of "brogrammers".

http://www.cnn.com/2012/05/10/opinion/trapani-brogrammer-cul...

> Sometimes the road to enlightenment is paved with public shaming.
Oh I agree with that. If Vista didn't kill them (or even hurt them, really) I can't imagine this will either.
Am I missing some inside joke? what exactly is a brogrammer? :(
Stop the War on Cookies
Sometimes you just need a feature before it's available in a released version. You can either go get the dev version or bitch about it. I tend to do the former.

In fact, I use quite a lot of software from their development repositories, e.g. GCC and Blender. It is a very rare occasion that I come by a bug as most open source projects have sane version management practices and branching processes.
Show HN: Inline Markdown highlighting, experimental writing UI
8??? The company I'm at is still on 6!
In C++, if you run into an error and you know how to handle it, you handle it. This is exactly the same as C. Exceptions are only there for when you don't know how to handle an error. Instead of calling exit(), you throw an exception and hope that someone further up the stack can do something useful. By default, your program terminates, just like exit... but all your destructors get called, so you don't leak database handles or locks or other resources. Nice.

I've read the Google C++ style guide and it's basically a joke. At least it was a joke two years ago. The guide even contradicted itself in multiple places. Google bends over backwards to avoid using exceptions and the result is that C++ isn't C++ anymore.
Not to be nitpicky, but NC did distinguish itself from Proposition 8 in banning civil unions and domestic partnerships, too.

NC is a wonderful place, I was making the comment that now it's just a little harder to recruit great people there. Perception matters when scaling a company. Starting a 10 person team is probably fine. Scaling to a 100-200 team gets that much harder.
Typically what I do in that situation is lightly wrap the API. For instance:

Image* image = allocate_image(…);
…
deallocate_image(image);

↓

struct ImageDeleter {
void operator()(void* image) const {
deallocate_image(image);
}
};

unique_ptr<Image, ImageDeleter> image(allocate_image(…));

That certainly can’t work everywhere, but I have yet to be failed by it.
I'd say yes it is a bad thing. Why is Web so hot? Because it works on all platforms and is always up to speed. If my browser doesn't render a site properly I can fire up another web browser and try again. Imagine what would happen if each browser was locked into the computer. There would be browser war and someone would win. That means more people will use that browser/computer which will make developer hesitant to support other browsers. Circulus vitiosus and you'd have the same issue like with IE from ten years ago. Without competition dominant browser would stagnate and we'll be up to our necks in molasses.

Operating system as they are won't be going away soon anytime unless the issue network lag, security and availability aren't solved. Otherwise we'll just return again to the desktop paradigm.
Cloud based VDI
VDI as a service, mobile managed enterprise desktop on an Ipad, Android, etc...
When Children See Internet Pornography
So if the bankers started wearing hoodies they'll become Meritocratic?

Portraying 'not wearing a suit' as challenging the status quo is a bit of an exaggeration. Maybe Gandhi challenged the status quo with his choice of outfit, but a billionaire turning up to a meeting in a suit is hardly sticking it to the man.

I think it works both ways incidentally- if the banker is coming to your place of work, and you all wear hoodies and shorts, he should make an effort to dress casually too.
>"Mark and his signature hoodie: He's actually showing investors he doesn't care that much; he's going to be him. I think that's a mark of immaturity," Wedbush Securities analyst Michael Pachter complained to Bloomberg's Mark Milian. "I think that he has to realize he's bringing investors in as a new constituency right now, and I think he's got to show them the respect that they deserve because he's asking them for their money."

Christ, what an asshole.

It's a negotiation tactic, one many of us use in interviews: by flaunting social convention and dressing down, you're signaling that you have leverage. Mark is the one being wooed, and not the other way around.

By whining about it in the press it just makes it sound like this fellow just isn't used to being the lowest status person in the room.
thats funny; they told me to come to the prom night and didnt mention a thing about what to dress, but still I haven't came naked.

just because they havent told doesn't necessarily mean you shouldnt have your own sense as of what to wear to work. if that would be me, and not seeing anyone how they really look at work inside fb, i would came with suit and tie and figure things out the first day.
It baffles me how any financial services company can afford to have such poor customer service.
You could speculate meaninglessly, or, you could actually try to find out the answer to your question.

In the case of Tasneem Raja, she was actually in Matt Van Horn's talk at SxSW, and was one of the folks pissed off enough to walk out of his talk (and explicitly says as much here: http://www.motherjones.com/media/2012/04/silicon-valley-brog... ).

Tasneem also talked with several of the badass developer folk who build FOSS tools for the news world at SxSW, who encouraged her to write about the phenomenon.

From that point, having been published in Mother Jones and gotten a good deal of traffic, other news outlets are going to pick up and start commenting on it.

This isn't a conspiracy, this is traction.
It means (I believe) that the app needs to somehow use the FB api.
> provided that the Atom processors are any good

Intel's halfassed efforts with the Atom really FUBAR'd the netbook. What a dog those computers are. The initial rabid enthusiasm that people had for Netbooks just set them up for a bad experience, which reinforced their prejudices against PCs predisposed them to flee to lag-free experiences like the iPad.
In a world where I only work with my own code, that works. Unfortunately that is not my reality.
This obviously depends on your environment. I don't recommend doing this in embedded devices or an OS kernel (this is probably why even C++ OS kernels have exceptions disabled, and no STL implementation).

But if you're just an app running in an operating system with virtual memory, the kernel's out-of-memory-killer can take you out anytime anyway, so trying to recover from every single failed memory allocation is often futile. The most likely reason to get a failed memory allocation on such a system is that you're out of address space (in 32-bit environments). If this is an issue for your app, you'll need to take higher level design decisions to cope with this fact anyway.

If you actually run out of memory (physical + swap) on such a system, you will usually not find out on allocation. Instead, allocations (mmap()/sbrk()) will succeed, but when you write to a previously untouched memory page, it will page fault, not find a backing store for it, and invoke the out-of-memory-killer. Good luck recovering from that.

Just to be clear, this doesn't absolve you from managing and conserving your memory diligently. It's just that if you wait for memory allocations to fail before reining in your program, you've probably made your user's system swap so badly it's barely usable. No cookie for you!
Heathkit Educational Systems Closes Up Shop
That's one small way brogrammer culture is actually useful. It's a red flag for women...

The problem with the brogrammer caricature, is that it exaggerates a few overt features of regular geek culture in a way that overshadows underlying pathologies in programming shops.

There are forms of intolerance and aggression that have nothing to do with homophobia or sexism (or any other readily vilifying -ism) but which are still capable of interfering with vital flows of information. Brogrammers are nothing more than guys who program and are still operating with much of the same belief structure they had in high school. They've failed to "make their beliefs pay rent" with ideas like "hot chicks in bikinis make the world a better place," "boys will be boys," and the idea that offensive language "keeps it real."

However there's plenty of that sort of failure to go around in the mainstream of programmer culture at large, in groups that look nothing like brogrammers -- in ways that even affect technical decisions.

http://lesswrong.com/lw/i3/making_beliefs_pay_rent_in_antici...
It's sad to read the comments on the article and here on HN from people who don't get it. It's not just about the brogrammer joke or bro stereotype. Gina is embracing it to highlight the problems we have with gender discrimination in the industry.

My feeling is that much of it is unintentional from men who haven't thought very deeply about the impact their actions have on women. The negative comments highlight the cognitive dissonance people go through when they're presented with facts that conflict with their beliefs or actions.
Facebook's App Center has a distinct advantage over alternatives: they have much more information on the users of their apps. Also, because ratings are based on real names, they'll have a much easier time preventing ratings spam.

Amazon distinguishes the reviews from people who actually bought the item they are reviewing from other reviews, I generally read only those. Probably Apple and Google could do the same, might help them a bit in reducing comment spam
I guess they don't know what to write about anymore.
looking forward to crossroad i/o. This step will drive the two projects even further apart. But zeroMQ is already established, and its name is more catchy. Good luck.
I agree for the most part of this article. That's why I advice entrepreneurs to go all-in and validate their idea before trying to find the perfect tech-cofounder. I recently wrote a post about "I don't find a technical co-founder what options do I have? ". I think you might enjoy it http://jefreybulla.tumblr.com/.
It is not clear if this is really a Semantic Web app

1. Does it allow OWL/RDF import/exports? Can I bring in my "linked data" schemas into Silk?

2. Is there any ontology reasoning support in search?
flippa is a cesspool of worthless sites, scams, and con-men.

But, there are some occasional transactions that are worth looking at, if only to get ideas of things to build.

Here's a recent sale of thecupcakeblog.com:
https://flippa.com/2736282-over-1000-ad-rev-199k-visits-475k...

Those come along about once or twice a month.
Stone-Throwing Chimp Is Back -- And This Time It's Personal
Thank you.

It is getting really frustrating that people took the joke (that really wasn't ever that funny) and took it for truth.
This isn't a trend of fluff pieces, and i think it's rather demeaning to attempt to dismiss it as such. Even if there aren't any folks that actually exemplify the brogrammer, developers are being catered to, regardless of how tongue in cheek, as brogrammers.

And that's pernicious for a whole pile of reasons.
Yup. The same goes for places like meetup.com.

I help with the SFJS meetup and we spend a bunch of money on food and beer (paid for by our lovely sponsors of course), but this is a completely missed opportunity by Meetup.com.

A startup like ZeroCater should be pitching Meetup.com for the opportunity to provide 1-click catering to meetups that want that handled for them.

Between knowing the number of people, ratio of men to women in an audience (us men typically consume more) and the time the event begins, meetup.com has all the info they need to get the food to the event in a semi-automated fashion. All that should be left to do is choose what kind of food. Facebook could do the same for its events.
Why is the ability to make code executable at
runtime unavailable? JRuby can run in the browser, and NativeClient runs applications that use JIT[1], so I assume the ability isn't inherently at odds with sandboxing.

1. https://groups.google.com/forum/?fromgroups#!topic/native-cl...
Matt Van Horn != a trend. How difficult is that to understand? When everyone has to use the same obnoxious prat to extrapolate into some wider trend, maybe there isn't a wider trend.

A few years back I had a female coworker who flirted with me endlessly. I stopped staying in the office late because she would always do the same.

"New trend -- shegrammers and the troubles they cause".

http://www.theonion.com/articles/sociologist-considers-own-b...

Give me a break.
I think there's confusion between "business" guys and "ideas" guys, because the latter often make themselves out to be the former. Ideas guys are replaceable. Good business guys are not.
If I wanted to get screamed at, I'd conclude I was a masochist and seek therapy.
As a side note: the Facebook iPad and iPhone apps are really badly designed. It's very hard to use them - comment panes are small, their side menu systems not that good, features are missing from groups (like docs) and if you post a Facebook URL in a group when you click on it it takes you into Safari to view the link... You have to log in to Facebook while logged into Facebook.

My point being - I'm not sure they get mobile apps. Which seems odd to me!
How do you resume your workstation?
You come back to your laptop and it's in screen saver mode.

What do YOU do to wake it up?

I press the right arrow.
looks great! nice work
This is the kind of thing which HN needs to see more of. Humans are awesome when it comes to denial / coping mechanisms.
CoinDL releases widget to sell downloads for Bitcoin
It seems that as the amount of data being produced continues to expand at an unprecedented rate, it will become essential to master Hadoop which seems to be the gold standard for managing big data - would anyone disagree with this?
Open the files with the GIMP only, and export to some other format.
That's not what I meant. I simply meant to explain what I meant by fair: the same laws apply to everyone, i.e. corruption and tax avoidance are to be minimal, if people are to accept taxation.
First Olympic Torchbearer announced
Check this out:

http://www.urbandictionary.com/define.php?term=brogrammer
R you ready for Big Machine Learning?
I'm not expert on labor laws in Europe, sorry. I do know that my country's labor laws are certainly more strict than Germany's. I'm from Belgium.
you can install IE on Linux using winetricks, so actually it is free (apart from your time)
Holy crap... nanny state?

I'm not agreeing in any way with the manager in this situation; public humiliation of employees by managers is both morally cowardly (bullying someone from a position of power) and ineffective over the long run (in my opinion). But still, stress happens in most jobs. Often times it is caused by a combination of home and work factors. It's ridiculous to make "preventing stress" a legal duty of employers, because that's not wholly within an employers control. Example: Faulty machine used to serve customers blows up at work at now you have a lot of angry customers. Stress ensues.
My comments aren’t based on a quick thought experiment alone. There’s a substantial body of empirical data showing that icons aren’t always as good a UI choice as their popularity might suggest. For example, see:

http://uxmyths.com/post/715009009/myth-icons-enhance-usabili...
I sincerely hope this is a joke.

If it isn't, can you demonstrate where IE9 is objectively better than Chrome or Firebug? Because I can do the opposite. As a quick example, IE9 won't let you inspect elements inside of an iframe dynamically generated with JavaScript.
It's unfortunate your username is so...genocidal looking. Maybe you should relax your preconceptions about TLDs.
I have known programmers who talk exactly like that. It's a real thing. The startup craze has attracted a lot of people with a swollen sense of self worth. People who call themselves ninjas and what not.

This is one of the thing that attracts me to Clojure. Rich Hickey is the exact opposite of a brogrammer. He doesn't care about trends, or social mobile appification, he just cares about getting shit done.
Is Piazza the solution for gender bias in computer science?
He wasn't an asshole. Mark is 27 years old. How old is the Wall Street and banking system in this country? Its older than his parents! Bankers are evil, but if you come for money you better show them respect because they rule the game and hold most of chips. I agree with author. Fun time is over! FB needs to show profits and prove to stockholders that its worth their money. Coming in hoodie helps publicity, but that's it. It tells average Facebook yuppie "oh Mark is "selling" but hey he still is himself so everything is fine". FB and internet is still too young to figure itself out. This could be bubble. FB can go down like anything that was trendy in its time. I think buying Instagram for that much money shows how desperately scared Mark is. He was incredibly lucky that Instagram owners didnt turn out to be another Mark and say "we don't sell" and keep building momentum. My sisters that are trendoholics switched from reading "boring" (according to them) Facebook updates and messages to taking snapshots and limited wording on Insta. Trend is moving beyond FB and Mark knows it! Next time when FB wants to buy something overtaking the net, they may hear "no, thank you".
> The person in the position of power has a moral obligation not to make everyone else feel uncomfortable or stupid.

That's a very interesting point, and I had not considered it from that angle. Not sure if it changes my mind or not, but thanks for the insight.
I have to disagree (perhaps unfashionably) with the author's sentiment and the comment below "I really like Square, but I always have this feeling that this company is going to be oe (sic) more paypal and with this story it´s confirmed."

- The customer service was pretty responsive and reasonably polite for a very fast growing company.

- The author notes he has paid Square hundreds of dollars in transactions fees so we can guestimate he's done $13k+ of revenue through Square (based on $400 fees & 3% average fee), $180 was hardly a critical amount for him

- What's the next best alternative, has anybody here experienced PayPal's customer service?
Choosing an API framework for Django
For the record, I hate IE with a passion. But look at it this way: If you purposefully ignore a segment of the market you open yourself up to attack. Better have that cost-benefit worked out, too much work probably isn't a good excuse at any scale that matters. If you're just playing around then fine, go for it. But if you're playing for keeps then be very careful with decisions like these.

You'll be on your high horse over there telling people to upgrade or gtfo, meanwhile I'll be over here making off with a very large chunk of your potential userbase and everybody they pull along.

That adds up, and if you're not careful it will add up to business failure. Ignore your potential users at your peril.
Great perspective, Mr. Pachter. Try underbidding and tell us how it goes.