skysight-inc/HackerNews huggingface dataset:
It's fairly common to see "do not urinate here" on walls in India. If the paint on the walls is nice, it seems to usually work. If the wall looks shitty, they're ignored. Near my apartment, there's a section of wall that's fairly well-hidden from the main street; people urinate there all day and it always reeks. (It's a corner of the outer wall of one of central Bangalore's nicest high-rise condo's). But the nicer stretches of that wall, and others in my area, are always devoid of urine.

Open defecation doesn't happen when people have access to (ideally free) toilets. Nobody likes doing that and I can't imagine shaming them will help anyone.
> congestion pricing

Is that a surcharge for being on certain roads at certain times of the day? It's a good idea if it could be undertaken in a somewhat fair way, are there any well thought out theories that you know of?
Here's the full paper: http://www.cs.princeton.edu/~appel/papers/verified-hmac.pdf
I spent some time in Cairo, a city so clogged with dirty, filthy air that first time visitors often come down with respiratory infections.

The locals I interacted with knew about the terrible air quality, but also mentioned that the city was popular with Indians, many of whom came to enjoy the "cleaner" air.

I've never been to India, but this comparison has stuck with me.
I am sure they/we all appreciate your unsubstantiated and unauthorized disclosure.
It is of course not the same question: the article poses the question "would you like to have this nice thing?", and the reversed form I posed is "are you willing to pay for it?"

My immediate observation is that the majority of people will tend to say "yes" to the first and "no" to the second, and what we can learn from this is that mostly people tend to want.

I think you have rather casually tossed out the proposition that the status quo brings the customer negative value, without supplying any justification for that claim. I also think that your proposal of passing legislation to force all merchants to raise their lowest prices is unlikely to prove popular. (This proposal is commonly referred to as "increasing sales tax", and seems like it would be regressive in nature)
Virtually all governments are extractive. Governments are simply property owners that happen to own an entire country.

If you are lucky, you get a stationary bandit that extracts, but does not want to kill the golden goose. The stationary bandit wants to act as a gardener and grow production.

If you are unlucky, you get a roving bandit that will pillage as much as possible in the short term, not caring about long-term growth.

It strikes me that the corruption of the Indian government is much more akin to a roving bandit. Each official wants his share, no matter the impact on growth for the nation as a whole.
What is the advantage and/or goal with this lib?

Is it primarily geared towards folks who have fear of Java (FoJa) syndrome?
FWIW, I don't hear many Indians blaming colonialism for the ills here (could be because I'm white and nobody wants to be insulting). It's more something that folks in Western countries talk about as far as I can tell.

EDIT: elsewhere on this thread, @sremani mentioned they are an Indian living in the US, so readers should not read my comment in favor of theirs.
Columbia lawsuit could put software vendors back on the hook for security
Flash storage failure rates from a large population
We nearly left two years ago, after Bram’s first hospitalization. Even after his breathing stabilized, tests showed that he had lost half his lung function. On our doctor’s advice, we placed him on routine steroid therapy and decided that as long as his breathing did not worsen again, we could stay in Delhi.

I hope Bram grows up to be understanding. Reading this article, I hope Bram grows up.
> the long-tail of great small sites only exists because of ads.

The internet, as it existed before ads, has shown this to be false. As has Wikipedia - an ad free site which displays the writings of millions of individuals. Oh, and book authors - they run sites without ads, and frequently even post web-first stories, supported by following them with e-books purchased by their fans.

> By visiting with adblock, you are showing that you find value in the content but don't want the publisher to recoup the costs of production.

Personally, I'm showing that the producer has lost all of my trust that they can pick ads which are appropriate to their content. Most web site owners are lazy when it comes to ads - they just allow through whatever the ad company wants to put up. It devalues their site, and the fact they don't notice this indicates their lack of respect for me as a consumer.

> advertisers are getting better with less intrusive formats

Not in my experience. Full page interstitial ads, inter-article highlight ads, auto-playing sound and movie ads, ads for crappy Clash of Clans clones advertised by busty, half dressed women... it's as bad as it ever was.

> ads work

No, they really don't. The payout per impression has been going down for years, as more and more companies realize that ads just don't work (regardless of the fraction of a percent of people who block them). The only reason ads are still viewed as a remotely viable model is because the ad sellers are lying to the people purchasing ad impressions.

"Look at all of this (bot) clickthrough on your new ad on Facebook! How about all of these impressions (from click farms in China)! Now how about buying another 200,000 targeted impressions? What do you mean you didn't get any actual purchases from the previous 200k? You're just not realizing how much value you've gained from being in front of people's eyes. That's another $2,000, please."

Could I stop viewing sites which use ads? Yup. Should I? Hard to say. Perhaps I'm nostalgic for the old days where content was made freely available for the sake of being available, perhaps I'm just being vindictive against those who have displayed no respect for me. Either way, I'm not going to stop browsing the web because someone wants to make my eyeballs bleed for an insignificant fraction of a penny.
While I wouldn't agree with enputen's characterization of "deliberate", it's entirely possible that they've been kept weak by a class of strongman lenders & landlords. Not an evil cabal, just a bunch of people who have the strength to play unfairly in the market and haven't been stopped. I don't have any special information here; it's just a hypothesis I find plausible.
What are three positive aspects of modern British culture that were imported from India (besides food and tea)?
Ikea: 7 Predictions for What Your Home Will Look Like in 2020
A good resource on collateral consequences is:
http://www.abacollateralconsequences.org/
I'm viewing the code from my phone, so I have not looked through the entire repository to understand the styles that you can define and apply (if that's possible) but the sample ins and outs are definitely the type of things we document in our team best practices. I've generally fallen into the IntelliJ IDEA crowd the last view years and have found it to be VERY customizable and able to do a lot of the refactoring I see in the examples. As well as new line cleanup, max width, spaces/new lines for brackets, parens, and braces, etc. etc. The question I have (and the reason for me explaining that I haven't had a chance to properly review the posted repo) does the library go beyond that or simply add this missing functionality to Eclipse? Kudos though for his development though, I found the ability to define language style guides via configuration and pass them out to my team and set the formatters to run on save has cleaned up our code bases mightily. This is absolutely useful work.

Off topic: I love what Eclipse (and the many great people behind it) has given to me over the years and I still use Eclipse based derivatives (Android development) but a couple years with IDEA and I can't imagine going back.

UPDATE: I just saw a link to the samples HTML and this appears to go beyond what IntelliJ offers in some cases (as far as I can tell).
I honestly like both. Better than many buses I've been on. USA here. Namely Florida and Colorado.
This is what show HN is for - you should file this post under that.
You're right, my time for Lille to Montpellier was by bus, by train it's closer to 24 hrs, I double checked. By TGV it's 6-8 hours.

SNCF lists Metz to Dijon as between 3 - 6 hours depending on route. But the quickest route (on TGV) still goes through Paris, which is nonsensical for two cities almost next to one another.

An analogy with the U.S. would be like going from San Francisco to L.A. via Denver or Kansas City.
I think it crosses the line from negligence to willfulness, and even from neglect/indifference to abuse... quite disgusting really.
Knack | http://knackhq.com/jobs | REMOTE | Senior Software Engineers | 70-120k +equity

Knack (http://knackhq.com) is a database PaaS that makes it easy for anyone to build online database apps. We're growing rapidly and looking for software (node/mongo/solr) engineers/developers and front-end (html/backbone/socket.io) designers/coders.

We're focused on building a profitable long-term business with a product our customers love. We don’t compete with Google on start-up perks, but we can more than compete if you’re looking to sink you teeth in and make a difference:

* Impact: we’re expecting anyone that joins to come in and have a major impact. We’re small enough that every customer interaction, every marketing spend, every line of code has an over-sized impact.

* Equity: we don’t need hired-guns, we want team members. We want to share our long-term vision and success, and make sure you have equity in that journey.

* Autonomy: we don’t look for specific roles, we look for good fits. You’ll be able to contribute with your strengths and determine the projects you want to drive forward.

* Flexibility: supporting our chosen lifestyles is major part of our success equation. Join a remote team and create your own hours. Work how and where you want to.
As long as there are very common things that you can only do with JavaScript, HTML is not done. With declarative syntax the browser can be so much faster.
I visited Singapore before coming to India. I stayed in Little India because it was the only part of town with cheap hostels. It was also, I am told, the unofficial red light district. It may be more that Little India is one of the poorest parts of downtown Singapore, than that it's the "most Indian" part of Singapore.

Many Indians in Singapore occupy higher social classes, similar to Indians in America (from what I was told by an American-educated Singaporean friend). But Little India is where a different sort of Indian lives - the cheap, expendable, poorly treated laborer. In fact, there were riots there under a year back because such laborers were being treated so poorly, that caused many Singaporeans to reflect on how they were treating these people (from what I was told).

Did you visit the residential heartlands? It can be dirty there too, just in more of a Chinese way. A friend of mine works in the Singaporean police, and cited a number of recurring embarrassing incidents in these neighborhoods that are symptomatic of poverty elsewhere.

tl;dr: Little India isn't "Indian", it's just "poor".
>India is a mystery. How do things even work? (Try an evening commute in a suburban train in Mumbai) How can people (that too 1.2 B) even live in such conditions ?

Well, if you didn't have the money, connections or chance to be able to migrate to the US, you'd probably be living in such conditions too. It's not like you can't do much about it when you're poor.

And it's not like the US is all roses either. I've been to places in Mississippi, Alabama etc that look like the third world. Or South Dakota, were the life expectancy among Native Americans rivals the third world. And of course the same is more or less true for the well (and not so well) hidden homeless, urban poor, latinos, "white trash" etc communities.
> While this can be a good thing, it's very easy for the wrong senior engineer to lead them astray and start pushing their own agenda (rewrite all the things, resume driven development, etc).

This is a very good point, but how does an organization do this? Who can be at a management level for the majority of their time, yet still remain technically sharp enough in multiple technologies over time, to know when someone is outright lying to them? And it's not like you can just ask them to walk you through it - even ignoring the significant minority of egomaniac technical people who will more or less outright refuse such a request, in many cases even if they are relatively cooperative, often the subject matter is simply too low level or complex to be explained (or is deliberately explained in this manner), and sometimes the disagreement is not even a matter of fact, but rather a matter of opinion (everything XML, language choice, 100% test coverage, etc). It's a tough problem.
>I mean, come on, we should stop taking the cover of corruption and colonialism for every problem that persists.

Yeah, because obviously shitting outside is a lifestyle choice. They'd also not rather have clean air or decent houses too.
The vendor neutral standard for Unix-likes is POSIX

And look how well that turned out!
Agreed - however, cutting caloric intake requires far less effort, and doing so via certain diets is far easier than others.
>FWIW, I don't hear many Indians blaming colonialism for the ills here (could be because I'm white and nobody wants to be insulting).

That, and also being conditioned not to thing so and blame themselves. Works wonder for keeping them at bay.
On the other hand, the browser provides a ubiquitous, consistent-enough runtime across basically every consumer computing device, and people who are interested can get up and running with developing basic apps for it in a matter of days, using only tools that cost zero dollars.

Can you imagine what the designed-by-committee-for-that-purpose version of a universal runtime would've looked like?

(hint: the answer is it looks like the Win32 or Java platforms/APIs and has just as many warts if not more)
Korea’s Team KAIST Wins the 2015 Darpa Robotics Challenge
https://www.youtube.com/watch?v=q_yfvlplJe0
> But CSS is lousy.

I'm conflicted about this. On the one hand I can certainly agree that CSS tends to cause as many problems as it solves, at least where it affects my everyday work building web applications. But I can't say with confidence that this is an inherent flaw in the language, and not just the consequence of having to rely on the one CSS expert in the department, or my own limited knowledge of CSS and web UX/UI when he is not available.

I will say (with confidence) that using Bootstrap has been a great experience, and I can't imagine going back to plain CSS layouts without it.
I believe all the relevant law is to do with registration of unclaimed land surface, otherwise you could claim a meter squared of international water without fixing something there. The surface of the sun is definitely more a kind of sea.
Does anyone know if this plays nicely with Lombok?
Show HN: PEP – an idea to help bring password managers to the masses
Yes, at https://dredmorbius.reddit.com/

Thanks for the LessWrong link.
I guess you meant std::lock_guard.

Anyway, the first example creates a temporary object which doesn't lock anything since it will be destroyed right away because it's an rvalue (not sure why would anyone do that for locking, unless not knowingly). The second example creates a proper guard which lives until the end of the scope.
>You can reduce any argument to an absurd extreme. It's fair and fine to disagree with every single opinion I express, but I don't recognize your impression of that particular point as something I wrote.

You're right on this.

On my end though, I accept the other extreme of what I said: a language can have the most features any other language has times two, and still be great.

That is, number of features is not really relevant as to whether a language is good or not.

People seem to think for example "oh, adding this and that would make Java too complicated and too hard to learn etc". At the same time nobody complaints against C# who has twice the number of features or even more. In fact most people find programming in C# is a joy compared to Java.
There are really three types of colonialism.

Type 1 is where is the colonizers set up new outposts in more-or-less unoccupied land. This happened in Hong Kong and Calcutta. This is usually benign for the host country.

Type 2 is where the colonizers steal the land from the natives and occupy it themselves. This happened in the United States and to some extent in Ireland. This type of colonialism is usually terrible for the natives.

Type 3 is where the colonizers install themselves as a ruling caste, but otherwise let the natives be. They extract taxes and provide governance in return. This was the case in India. It was also the case when the Normans invaded England, the Spanish invaded Mexico, or the British took over India.

Type 3 often works out better for the natives, because the existing regime had to be pretty backward and corrupt in order to fall to a small band of foreigners. The foreigners install themselves as competent stationary bandits and the country at least enjoys some stability and rule of law.

And how do you even move a culture forward? It sounds like you're implying that some cultures are better than others. Please tell me you're not saying that.

So you're saying Aztec culture wasn't worse than 19th century British culture? Cultures that had human sacrifice are equal to cultures that perfected the steam engine and flush toilets? Please tell me you are not that willfully ignorant.

It should be blindingly obvious that certain elements of culture are worse than others, unless you are willing to argue that religions with human sacrifice are just as good as religions without human sacrifice, or that funerals with Sati are just as good as funerals without Sati. If certain elements of culture are better or worse, than it would be a miracle if all cultures exactly balanced out so that the positive elements and negative elements were equal, thus making all cultures equal to each other.
https://www.youtube.com/watch?v=q_yfvlplJe0
Clearly trolling. Calling Japan a "well known socialist country" ignores most of late 20th century Japanese politics: the fact that Japan was generally ruled by the LDP, often described in Japan as "neither liberal, nor democratic, nor a real party." The only socialist prime minister was Tomiichi Murayama, who managed to stay in power for all of 1.5 years.
What Waco Police Still Won't Reveal About the Biker-Gang Shootout
Spotify already handles micro payments to artists. They could offer digital magazines and send payments back to the author when a reader clicks on it.
Surely it is a lead, given it attaches round a collar.
I don't have any particular recommended reading, but you can google the term and read articles about it.
I think your best bet is to download and run the files in the examples folder.
I don't mind these kinds of guidelines until someone tries to use them to support their argument as if they were scientific facts.

My favorite example is the single responsibility principle, which, while a useful guideline, is 100% qualitative. All classes and functions do more than one thing.

Is making a sandwich one thing? Is putting mustard on the bread one thing? Is opening the mustard jar one thing?

The exception might be if you had a function call bitFliper that turned 0s to 1s and vice versa. But that's probably as close as you could get in most programming languages.
BIGGEST STARTUP MISTAKES FROM 22 INDUSTRY EXPERTS
My brother's friend, an electrician from India, worked in singapore. He was like $400 USD per month (20,000 Indian rupees) like 6 years ago. He used to live in a place whose roof is corrugated mental, and this was in Singapore. There are lots of laborers in Singapore, whose incomes don't allow them to live in nicer parts. So, glorified shanty town type homes exist there.
Nice website, I like the design!
Are you sure about that?

At least some NSA efforts are buried deeply in need-to-know mazes. How can POTUS tell NSA to stop what he has no way of knowing about? And how would he know whether they had stopped?
this is what makes a fast browser hard to write - scripts can mess up your document

so in fact browsers kind of assume nobody is crazy enough to do document.write

and then when it gets called they redo all the work rendering the page
Turnaround for updates to a website is seconds, at most. Turnaround for updates to an third-party repository can be anywhere from weeks (Apple App Store) to years (Debian, RHEL, Ubuntu LTS, etc.). If you care about those platforms and you care about iterative deployment, web apps are so much better in that regard than native apps.

Of course, there are use cases where you don't care about those platforms or you don't care about iterative deployment. For, say, PuTTY, which releases roughly once every two years and primarily targets a single platform, these concerns don't apply and PuTTY in fact is a native app. But that's far from all use cases.
I'm 6'4" and my wife is 5'2". I really like it when she wears heels. For us, they have a very practical appeal.

Of course, the last thing I need is to wear high heels myself.
I can pick up two $300 foundry/brocade load balancers on ebay that will handle 1,000,000 connections at wirespeed (each) through custom ASICs, do full health checks, layer 7 header hashing, layer 7 switching, run multiple load balancing algorithms, hand out dhcp, serve as a VRRP gateway with it's peer, and have totally stateless failover on top of it.
Looking at the multiplication circle, it doesn't appear to have any products written. The numbers on the outside are almost definitely factors (note the lack of 10, and the relatively high frequency of 7 and 8, which are generally the hardest to memorize.) So I don't think it's a way of teaching multiplication directly, but more likely is a way of testing.

My best guess is that the teacher would call a student up to the board, and then (using some sort of semi-random process, like slapping a ruler against the board) use the wheel to generate a problem for the student to solve (5x7, or 8x9). It looks like a more complex/extensible version of this worksheet: https://www.superteacherworksheets.com/multiplication/circle...
While you're basically correct, there's one point worth correcting: Caltrain locos need to put out 4000 hp because diesel trains built to US standards are ridiculously heavy, see eg. https://bikeeastbay.org/rail/fra.html. A modern EMU is much lighter and consequently needs a lot less power.
There are many situations in which "charging what the market will bear" is illegal. We have legal price controls, and restrictions on what/how items can be sold, in many asset classes.
The cursive writing is beautiful, what a wonderful little find. It's always a joy to find some echo of the past tucked away right under your nose.
London has been doing it since 2003.

http://en.wikipedia.org/wiki/London_congestion_charge