skysight-inc/HackerNews huggingface dataset:
I got hired from a HN "Who's Hiring" thread back in mid-2010. My life's changed for the better ever since. And I live in Dhaka, Bangladesh. Been working remotely since then. Although I've switched jobs since then, that first gig was life-changing.
Evil Choices
Continuations are useful monads too (for implementing coroutines or control features like Python's "with", etc).

As are parsers, uniqueness, randomness, non-determinism, readers, writers, regions, resource management, local-state threads (ST monad), probability distributions, software transactional memory, ....

Another nice thing is composing various monads to build a custom one for the purpose you need.

For example:

StateT S1 (EitherT Err (State S2)) a

Will be a stateful computation that always has yields a new S2 value, even in exceptions (preserving any modifications up to the exception) but only yields an S1 in the case of success.

This is just one of infinite possible compositions of monad transformers.

If you hard-code a certain ambient monad into your language, you won't be able to use monads as a DSL for the use case you have at a certain time.

For example, in the application I'm developing now, I use a "Transaction" monad that guarantees that my key/value store transactions cannot do any IO or anything other than read keys and write keys. As a bonus, that means I don't even need transactionality from the underlying data store -- I can "revert" or "commit" by implementing the Transaction monad as a state tracker of all the changes on top of a hidden IO layer that exclusively allows reading keys.

This also means I can implement useful transactional primitives such as "forkScratch" which allows me to fork the transactional state, run an action in that forked state, discard its transactional side effects, and keep its result. I use this to "try out" a transaction, see if it would work (in my context, type-check the new state and discard it) without actually having any effect.

tl;dr: There isn't a finite set of useful monads you can bake into the language. There are infinite compositions of useful monads.
It was wrong then and it is wrong now.
Those are not the same pictures though. Google image search returns nothing for the one featured in this article from before may.
Question from an Italian guy, what you are able to do with 100k in the bay area? For instance:

1) Can you rent a good house.
2) Go out for dinner as many times you want.
3) Have somebody to clean your house.
4) Eat in an health way.
5) Still save some money.

Or is this already too much for 100k, especially if you have a family? Because one sees this very high salaries but it's hard for outsiders to form an idea about the actual level of spending this makes you capable of.
Samsung does build a Wacom digitizer into all of their Galaxy Notes, no matter the size. I don't know how they compare to Wacom's more specialized equipment, but I've found writing, drawing and notetaking to be very natural on my Note 2 (to the point where I'm seriously thinking about getting one of its larger siblings just to be my electronic notebook).
This was true in the US pre WWII. Who better to walk in to the giant mechanism of knives and gears than small children? Their little arms can reach!

It doesn't happen anymore because the US doesn't manufacture anything anymore. Well, there is one thing the US manufactures - energy. Not directly, but they get all the economic benefit for it.

When you pull a barrel of oil out of the ground, you've created wealth where there was none before. It is not a zero sum game. When you charge dollars for that barrel, you give those dollars value in the global energy market. It does not matter who 'owns' the oil, even another country, as long as it's sold in dollars, the US gets the benefit.

This is why stuff from China is so cheap. The only thing a dollar is good for on the global market is energy, but the dollar has a near monopoly on it. The US doesn't have to do any of the work when they are the ones putting the gas in the gas tank. The rest of the world makes the engine go off of that gas.
According to Russia Today: "At least two people were killed in the demonstrations in Turkey, Amnesty International said on Sunday. Over 1,000 protestors were injured. Most of them were hurt near Taksim Square in Istanbul, the focal point of the recent protest."

On the Amnesty International blog they wrote this (but it does not talk about any deaths): http://www.amnesty.org.uk/news_details.asp?NewsID=20803
> It didn't start that way. It started peacefully.

OK. But as it did not end peacefully, not really relevant.

> The government escalated the situation when they tear-gassed peaceful protestors.

How is this relevant except to excuse the behaviour? The protesters didn't respond to the escalation by consolidating their resolve and standing their ground, they started destroying random people's property.

> Once the government starts attacking its people, all bets are off... emotion will trump reason and bad shit happens, often to innocent bystanders or property in the vicinity.

You indicate that the government bear the responsibility for this "bad shit" happening. They might trigger it, in the same way a big row triggers that someone hits someone else.

Edit: I'm pretty sure that what's going on isn't that random peaceful protesters turned violent, but rather that this protest, like most other protests bound to clash with the police, is "anarchist" catnip. These troublemakers will turn up under the guise of being part of a legitimate, peaceful protest, and at the first sliver of police yielding power, they'll let go and start their regular regiment of vandalism and violence. I'm no sure what the best response is for the legitimate peaceful protesters in this case, though.
Let's assume wages are sufficient, the prices that we pay for products are apparently still too low to ensure humane working conditions. And frankly, if a government would ensure humane working conditions wages would have to rise because production for local consumption would be subject to the same laws, raising costs of production.

To ensure the safety of its citizens, it is a government's responsibility to strive to prevent work from being unnecessarily risky. It would be good if this could be orchestrated at a higher level than a national one, otherwise companies will enter a race to the bottom by moving their factories to the least regulated locations.
Mitt Romney Inc.: The White House That Never Was
I'm curious about a data-point ... how old are you? There may have been a time when I thought that way, but not now.
Google your food: Nutritional info is now in search
"nation of immigrants" - You know that kinda getting old.

We're all immigrants if you dig back far enough, but in reality if you were born and raised in a country, you are not an immigrant and within a couple of generations, there are likely to be no real residual effects.

There are exceptions to this rule which are related to inheritance and cabals of cultre but for the most part, immigration seems to be a net gain, it's a lack of social mobility that is causing problems.

Modern Europe immigration policy seem are a bit fucked up, but I imagine you can pretty well correlate education and welfare with crime stats, but beyond that, hardening your ordinary criminal doesn't seem to help anyone.
How many of today's 90 year old developers have you worked with?

Sounds weird to be assessing developers raised in the 1920s.
Hmmm? The NYT has always had very nice web design—attractive, functional, fast, and "appropriate": it feels like a newspaper.

It may not follow all the various web fads the moment they pop up, but that seems quite appropriate for a site that needs to maintain a certain tone and consistency.
Got hired 2 months ago because of a Who's Hiring thread. I don't think I'm ever using another job posting board again.
I didn't watch the video after reading the description. But this problem of poor worker conditions (and poor compensation) is true of so many goods produced cheaply in China or other countries in Asia. I feel we in the "West" (i.e North America, Western Europe) have an ambivalent attitude towards this issue. We decry the outsourcing of manufacturing to other countries, yet we're only too happy to continue purchasing those goods. We might say we are prepared to pay more for quality and standards, but our endless consumption of all these cheap products suggests otherwise.

What's more, we fawn over some technology companies and take such an uncritical view of their behaviour over the production of their goods (because we love their products) when we should in fact be far more critical.

On a more positive note, there are schemes like Fairtrade that have gained favour with the public. Fairtrade guarantees a fair price to producers of mostly food products. It's not perfect, but a product with a Fairtrade mark provides some re-assurance that the product you buy meets certain ethical standards. Encouragingy, Fairtrade goods are popular with the public too:

http://www.guardian.co.uk/money/2013/mar/02/fairtrade-taste-...
I recently returned from Istanbul. While there isn't a shopping mall on every corner, it sure seems like. I'm sure every city has a "x on every corner" that isn't literally true, but x is more numerous that one might imagine. I was amazed not at the number of malls in Istanbul, but the sheer size of them. Each one seemed bigger than the last, and the first seemed like the largest mall I've ever seen. Now Istanbul is a large metropolis, home to almost 20 million people. And there was way more shopping that I would have expected. Is this person exaggerating? Of course, but not as much as you might think.
Will Nissan’s decision to yank ads from Facebook drive others to pull their ads?
I'm curious if anyone agrees with Assange's point about the silly emphasis on Terrorism, Iran, and carefully chosen groups of 3rd world people who can be rescued, but disagrees with his larger points about the book and Google.

My guess would be that most of those criticizing Assange in this thread support US policy on terrorism, Israel, Wikileaks, illegal spying, drones, etc. Most Americans (in both major parties) support government policies on these issues, and so HN readership is unlikely to differ much.
The problem is that const is also flawed as a contract. Whenever you're using const, you're trying to design a class that behaves as a mutable or as an immutable object, depending on how the pointer/reference is declared. A class that behaves in two different ways depending on the situation is a recipe for disaster, and that's exactly what const asks us to do.

I only noticed this problem when I learned how languages such as Smalltalk/objective-c deal with the same issue: they create different classes for each situation, so if you want a mutable array you have to say so.
Already on the front page with lots of comments: https://news.ycombinator.com/item?id=5805460
Heavily funded hotel review site Oyster puts itself up for sale
Saying "the tablet vision is from MS" is a bit of an overstatement. The party mentioned would have been in 2005. Apple had released the Newton in 1993 (after having worked on it for many years) and refined it over the next 5 years, inspiring a raft of competitors including Palm (whose first product was software for the Newton) and Microsoft. The Apple MessagePad 2000 (released in 1997) had an entirely tap-based interface with no dedicated hardware buttons - the whole interface was whatever you saw on the screen. The initial vision for the Newton was that it would be a tablet OS that could scale to a variety of sizes - "from a post-it pad to a whiteboard" - the actual sizes released were driven by market considerations at the time.

So Microsoft's efforts might possibly have given Apple the kick in the pants it needed to try AGAIN at a tablet OS at that specific time, but the reason they could do it so quickly and effectively once the decision was made is that Apple had already iterated through the design issues and had stuff along those lines already working in the labs.

Also, Jobs's 50th birthday party would have been in 2005, but the "Project Purple" team that worked in earnest to release iPhone was formed in 2004. And the iPhone took three years to develop (as dated from the formation of that team), not 6 months. So I don't think this story really works on any level. Maybe Steve remembered it wrong - it's more likely he was sitting on the knowledge of what his team had already done in secret and it was killing him not to say anything about it, making the moment especially memorable.
Encrypted email (PGP) has been really easy to set up and use for about a decade now, particularly Enigmail.
Pointing out real flaws in China's employment & environmental business practices is not anti-China propaganda.

These are things that generations of campaigners have fought against since the beginning of the industrial revolution.

China is now being judged by the same rules as the rest of the world. This is fair and it is to be welcomed.

With luck China and the other fast-growing economies of the world will embrace workers rights and environmental standards in far less than the ~200 years it took Europe.
Indonesia

http://en.wikipedia.org/wiki/Pancasila_(politics)

In Indonesia, you are not allowed to be atheist. You must declare yourself as a follower of one of the 6 state sanctioned religions.
Do you have a link to "the truth"?
Monads with do-notation also provide a really powerful basis for creating custom DSLs with very varied semantics, which still allow you to use all the standard library functions for working with monads. I suspect various other abstractions could be similarly powerful with appropriate syntax sugar.
I hired a backend developer through "HN: who's hiring".

And in Prague, so it's not "SV only" either.
The New York Times reporting on Istanbul http://www.nytimes.com/2013/06/02/world/europe/despite-prote...
I dunno, maybe collectibles or lawn-mowing.
It is not that surprising considering how many journalist have been jailed for speaking out against the current government. Turkey has been increasingly becoming more extreme as its secular government is being dismantled piece by piece and and resistance to this is thrown in jail.
This isn't urban sprawl, this isn't the tearing down of forests. This is removing a park in the middle of the city. Imaging if they came in and bulldozed Central Park.
I certainly wasn't arguing it was a perfect substitute for default args, just that it was easier to manage than the example you gave.

The application I'm currently working on is mostly a direct port of Python code to Go. Python code I originally wrote. You needn't tell me it fails to accomplish all the things Python's default args do.
Call it what you want, Norway doesn't have to deal with the demographics and cultural divide that America does.
Wow, that's quite a feat of misunderstanding. And I tried pretty hard to make sure that that exact comment wouldn't be made in order to reject the thing out of hand.

I'm fine with producing goods in the far east, but the fact is that the low prices are in fact powered by more than just a simple difference in value between currencies and standard of living.

The pollution and the work place risks (including death) are a really large factor in those price differences, as corroborated not only by this particular video (which is horrifying) as well as by contact with people that live there or have spent significant time there.

To dismiss this as propaganda is Ostrich politics at its best, we may have to simply realize that we will have to pay more for the goods that we receive unless we want to be explicitly named as accomplices in the situations that we have created.

The fact that some companies have already started programs to track the resources that go into their goods and that some companies have agreed to living wages and anti-pollution measures for their entire supply chain indicates that at least in some boardrooms the message is heard. Profits are important but not that important.
Just because you can type them into google doesn't mean they're 'easily researchable'. How many shopping malls in NYC?

https://maps.google.com/maps?q=shopping+mall&hl=en&l...

These results seem pretty lousy and not particularly different from those from Istanbul.
It looks like a reoccurring pattern today, that unexplained conspiracy theories are used to dismiss a well formed argument.

Another example from the "What is Happening in Istanbul" thread - https://news.ycombinator.com/item?id=5808064

You can't just drop accusations like that without supporting them with, at least, an equally well formed argument.
If you assume that they can hire for example a 1000 more engineers and receive the same about of "profit per employee", then this is correct.

But in reality "hire more people, increase revenue/profit" isn't remotely as simple...
It's a bit disingenuous to suggest that accidents like this don't also happen in the U.S. (or other "first-world" countries). In the mid-to-late '90s I was working on a project that had a fatal accident in the Omaha NE area (fortunately I wasn't present to witness it).

Another contractor was lacing new fiber-optic cable to the existing coaxial cable and realized they'd run the fiber over a safety ground about 7 poles back. Rather than unlace that much cable, they opted to lift the safety ground, move it outside the fiber and reconnect the ground. These ground wires are not supposed to be carrying current when things are working correctly - this one was an it electrocuted those working on it.

Regulations are pretty explicit about how to add cable and telephone wires to a power pole ... and only the power company is supposed to mess with the power. The SCTE and NCTA both have training regimens that obsess over safety, especially when you're working around power (since none of us are actually power experts).

So why did this accident happen? The workers were contractors of contractors of contractors who got paid by the mile. The more fiber they laced up in a day, the more they got paid. They knew there was a slight risk the ground wire would be hot once disconnected but they chose to ignore it for financial reasons.

I've seen tall scaffolding on wheels being moved around in the U.S. and I'm hoping the workers were well versed in the perils of letting their metal structure touch power lines, but what you can't tell from this video is how well these workers were trained and whether they realized the wire they hit was active.

I'm not disagreeing with your article's main points ... that we need to value human life and protect the environment. But I also don't think this video is particularly good at promoting those values.
You assume correct, this protests are no longer really about a shopping mall or a park. There was a small protest to that and the reaction to it has set in motion a new protest that has been bubbling under the service for a long time now.
In Germany there is a "swapping" service[1] for SIM cards where you can send your prepaid SIM and will get a random SIM that another person sent in. And in Austria you can purchase both phones and (prepaid) SIMs without any ID or form to fill out.

1: http://www.daten-speicherung.de/index.php/kartentausch/
Can someone perhaps comment on the alleged use of agent orange? [1] From my limited knowledge of chemical weapons ( in lack of a better word), it is an deforestation chemical, and has no direct use for riot control. So currently my take is, that this is a rumor, since its use would better fit into the narrative than into a plausible police strategy.

[1] for example: http://www.reddit.com/r/AskReddit/comments/1fi07t/im_so_conf...

(from saurik's comment)
From the article - "shortest distance between a point and a line".

Distance between a point and a line is the length of the line segment that joins the point and the line, and is perpendicular to it. It's nonsense to speak of "shortest distance". It tends to imply that there are many distances between...one of them is shortest.
Was hired using the thread last year. Would look here before looking elsewhere in the future. There are always clueless companies mixed in, but less noise here.
Yes, work conditions in China are slowly and steadily improving.

But somehow, whenever the concept of choice comes up, it's always about the privileged giving the oppressed a pep talk, claiming that whatever position society has put them in "it's really totally fine".

"Safety is increasing" - would /you/ work at such a factory?
Hm, I see. Sort of an ironic assumption given the protest started with the planned replacement of a park with a shopping mall.
Hybrid Democracy - A better future for democracy?`
You know the saying about warning labels. Ever warning label has a good story about why it came to be.
Phone calls, in person meetings. The contracts are usually privileged, so those can be shuffled around in email (the contents are still discoverable, but things like pricing are usually redacted.)

At least two of the very largest deals in one company I worked for were never discussed in email, and all parties met in person, and paper (!) notes were taken. It was only once all the essential details were agreed to (Memorandum of Understanding) and hammered out, that the final details were locked down by attorneys via standard electronic means.

Note, this is particularly important, if you are discussing things that might be coming close to (if not actually crossing) the lines of legality.

See: http://community.seattletimes.nwsource.com/archive/?date=199... for details of one such meeting.
I disagree that the iPad succeeded because of the 3 reasons you stated above. Tablets had been around for years and had all of those things. I believe the focus on usability and the lack of a stylus were what made the iPad (and the iPhone, for that matter) successful. Microsoft's approach to the tablet was to bolt on a few tablet specific features to the standard Windows operating system and focus on a stylus driven experience.

Apple decided to use iOS rather than standard OSX for their tablet which was built primarily to be a mobile operating system based on multi-touch, not a stylus. I remember an interview with Steve Balmer laughing about the lack of a stylus, but it was a genius move on Apple's part. Often with new technology it's not the hardware capabilities of a device that makes or breaks it but that crucial moment when the average user picks it up and the experience either "clicks" with them or not. The iPad experience clicked with people immediately and that's why it succeeded.
> It would have needed to run Windows, for instance, which would have killed it.

Why do you say "would have killed it"? That's exactly what killed the original tablet PCs.
"When I worked with developers raised in the 1920s, 1930s"

Does that give enough context?
It's heartbreaking when I see a comment like this voted up to the top. Are you saying anything new here? Is there anything in your remarks that is insightful? No.

This kind of comment appears in practically Every. Single. news discussion. Can't we just make a blanket statement like this as a sticky, and put it at the top of each story? A kind of brief disclaimer or IANAL?
+*******************************************************+
| NanoWE Inc. |
| Palo Alto, CA |
| |
| Lead Developer --> RoR --> India --> Palo Alto, CA |
| |
+*******************************************************+
| |
| $10-$15k <-- salary/equity --> 1.0%-5.0% |
| |
+*******************************************************+
| |
| What’s in it for you? |
| |
| 1$ million --> 3 years |
| 10$ million --> 5 years |
| |
+*******************************************************+
| |
| Requirements |
| |
| failed entrepreneurs |
| + |
| You know top 30 things you want to do in life |
| + |
| You meet deadlines and you do it all before lunch |
| |
+*******************************************************+
| Apply now! |
| |
| as@nanowe.com |
+*******************************************************+