skysight-inc/HackerNews huggingface dataset:
passenger rail system and 'high-speed rail' are two different things. If I want to take the train from Hamburg to Frankfurt, I can take the more expensive and faster ICE or a cheaper and slower EC or IC. personally I would not fly or use the car from Hamburg to Frankfurt, I would take the train, Fast, no check-in, city center to city center, full internet access (free for me).

Plus I have a BahnCard 100, which allows me to use the whole German train system for one year. Fast and slow. local public transport and ICE. That beats the alternatives easily.
I'd suggest making sure it's go-gettable and will build following the instructions in the README when placed in the canonical go path ($GOPATH/github.com/advancedlogic/go-freeling). After fixing the paths, I'm still getting a cgo linking error with the mitie.h file.

Also, probably avoid using . imports, as it's considered a Go antipattern.

Seems really promising, but if you want it to become a project that the Go community can get behind and maintain, you'll probably want to make sure it's familiar and easy to get running. :-)
>> But all in all, I'd say the Web is in a pretty good state.

Agreed.

Not sure why people are always trying to fix something which isn't broke.

Ok, yeah, we could fix some things, when you start to micro manage all the tools and technologies people use to build things these days for the interwebs. But seriously, is it really that bad?
People can vote me down if they think I'm wrong or if they they don't like what they see. What I haven't seen happen is an outright personal attack where I'm called naive and accused of being someone who hasn't "dealt" with the real world.

Your english used the past tense "tried" indicating that it was something you did in the past. I think instead of me learning how to read english you should learn how to write it.

As for forming a company without capital. It's never been done, and I never suggested it was possible. Maybe you're the one who should learn how to read.
The author, Ingrid Burrington [1], gave a talk last week at Eyeo 2015, and she briefly mentioned the possibility of doing this in other cities.

My guess is that it'd have to be a crowdsourced effort, given the complexity and cost of traveling to each city. Definitely would be a nice collaborative project.

[1] https://twitter.com/lifewinning
> it's irresponsible to point out a pile of shit without pointing to a shovel.

That's not true in general, but since in this case Tim Bray seems to be implicitly proposing an alternative of sorts (never mind whether it's in fact any better) that isn't really relevant. For what it's worth, this https://news.ycombinator.com/item?id=2119057 is the correct solution.
If file is very large like several gigabytes, `tail` is much faster than `less`
I came to the project only a few months ago. The project was "90% finished" but full of bugs too. We recently went live anyway. In the meanwhile, I have asked the manager/client for finding help with QA, because it is quite hard to maintain overall consistency in the system. The smallest changes create big bugs elsewhere. It is not enough that he or me do the testing. We never test enough anyway, and we still regularly hit the live servers with bad bugs that cost money. The system is meant to process money, actually. That is its core task. The problem is that my request for having QA people helping out, would cost resources, and that the recruitment process for QA profiles does not seem particularly easy either. Then, there's also the situation with the graphical designer who seems to hate programmers, and never shows up when he said he would. I think that a good manager will find a way to put the right people in the right place at the right time.
kjX
AXGXA
JAI-Ext, the Open Source Replacement for Oracle JAI
> it's irresponsible to point out a pile of shit without pointing to a shovel.

Nope, try another metaphor: you have the right to flinch away when something stinks, even if you don't know where the nearest rose garden is.

(That said, I think he's wrong. JavaScript has a hell of a lot going for it right now, and CSS and the DOM are starting to take advantage of the effects of that.)
Java library that lets you program in Java like if it was Python
I disagree that it is irresponsible - only because it is much easier to point out the pile than to point out a shovel. The old generation can say "we built a pile of shit" and ask the next generation to do a much better job - I find that totally reasonable. And I suspect that the next generation will do so. I'm pretty sure that in a lab or basement somewhere there is a growing seed.

I think that if Motif and Motif Tools had not had such restrictive licenses, then we never would have ended up with this pile. We would have started from a much better place, and been further along by now.

I do agree with your other points.
Has anyone implemented Reachability Game in any programming language?
I'm looking for programming solution for two-player reachability game to find winning strategy. Has anyone worked in its implementation?
Previous discussion: https://news.ycombinator.com/item?id=6605015
"HТML uses a Cyrillic ‘Т’ to avoid any possible confusion with HTML." brb laughing until I cry
> It's been more than half a century. Sure, colonialism damaged us, but 50 years is also a lot of time in which change could have been made to help undo that damage. That change is ... largely absent.

First, I would disagree very strongly that this change is largely absent. India has made great strides in the last 50 years; it is undeniably a much stronger country in almost every way than it was 50+ years ago.

Secondly, it's been more than half a century since India's official independence from British rule, but it's certainly not been half a century since it was subject to immensely damaging influence from colonial powers. Just looking at Partition alone, the actions that the British took during Partition (and afterwards) are still being felt today, and there are many, many other ways in which India is still subject to external, colonial hegemony, just in a less overt and visible form.

There's lots of literature on postcolonial studies in India specifically, which explain it in far more detail than I could in this comment, but the fact is that colonialism has continued long after outright legal rule; it just exists in a different form.

To use 1947 as a benchmark is misleading, because that was only one stage of India gaining freedom from colonial rule. It's like saying that in the US the civil rights movement happened 50 years ago and slavery ended 150 years ago[0]. Yes, on paper, Black people are supposed to be treated equally under the law, but that undeniably is not the case in practice.

[0] Postcolonial pedants may point out that the relationship between Black people in the US is not strictly one of colonial subject-ruler in the exact same sense, but it's the closest analogy that non-pedants are likely to be familiar with.
In my (rural, midwestern) hometown, Google Earth credits the USDA for imagery in most places. Some places may not offer much value for commercial satellite overflights.
>>It's really not historically responsible to equate British rule of Ireland with colonialism as it existed in India.

I'd be interested to find out why you think this is the case? I'm not an expert by any means on the history of either colonial era but the little I do know shows some striking similarities in how the natives were treated by the British as far as rapacious barbarity in multiple cases.
Happy to change the title if you or anyone can suggest one that is accurate and neutral.

Edit: Ok, we took a crack at it. Can change it again if anyone has a better idea.
> I am interested in whether, if you turned the questions around and asked questions like "I want to give up my grocery store discount in exchange for the company running the store not collecting information about me", you would get the same results.

That isn't the same question at all. The amount of the penalty for not using the loyalty card is chosen by the merchant and the merchant naturally chooses an amount that induces a majority of their customers to use it. That doesn't mean the customers like it.

The interesting question is to what extent the customer benefits from providing the merchant with the information outside of the artificial penalty. But in all likelihood providing the information has negative value to the customer, because the merchant can use the information against the customer, e.g. to better determine when they can get away with charging higher prices.

The trouble is that it's a collective action problem. Paying the penalty to opt out doesn't prevent the merchant from figuring out how to get more of your money without providing you with any additional value, because they can do it with a statistical sample of people who are like you but didn't opt out. So everyone is collectively worse off when a critical mass of people use the loyalty cards, but taking the "discount" is in the selfish interest of each person individually. Classic tragedy of the commons.

The way we solve problems like that is with legislation, e.g. by requiring merchants to charge the same price regardless of whether the customer uses a loyalty card.
Having spent a couple of years commuting from West Wales to Cardiff daily, at peak, I have to say that there is no way that I could have hired a car for the £18 return.

SE England is ridiculous, I'll give you that, and never a seat.

I once got a lift from a friend from the South West of England to the South East, as the ticket price was £150 PP return (2 of us), and he needed to head up that way anyway.
Ultimately the lift ended up only being one way, the price of a single train ticket back.. £149 PP.
Ok, url changed from http://hardforkit.com/articles/the-man-who.html, which points to (and indeed copies altogether) this.
For sake of comparison, Europe vs. Contiguous U.S.

https://mapfight.appspot.com/europe-vs-usc/europe-united-sta...

vs. All of the U.S.

https://mapfight.appspot.com/europe-vs-us/europe-united-stat...

For fun, here's a similar-ish map for calculating travel time in the ancient Roman World.

http://orbis.stanford.edu/
How many children are mugged in Washington DC though... To add some context.
Elixir huh. Great language, but how did you end up choosing it?
>[CSS] has been horrible, failing for decades to provide the most basic blocks to build layouts, and having people use hacks like "floats" to do so.

Co-sign every word of this. When I first started developing I hated JavaScript, but in the end it's fine if you have jQuery and some other libraries handy. CSS, however, is a cryptic alien language--translating layout ideas into it requires multiple PhD's.
I think some examples would go a long way.
Cities develop over time with train access.

Here in Germany it is almost comical how smaller cities fight to be on the high-speed ICE train network. But not all trains are high-speed. There are lots of slower speed trains which reach around 200km/h. The ICE are supposed to connect the larger cities. The ICE from Hamburg to Berlin has a fast connection which allows people to commute over that distance - something which was unthinkable with slower trains. But there are also cheaper and slower trains, which are servicing more cities between Hamburg and Berlin.
Also to be taken with its sister post: http://basho.com/why-vector-clocks-are-hard/
Digital Survey: What's your platform?
Sounds like Amtrak, lower priority than freight and using ancient tracks.
Do the judges get to read your explanation before deciding the results, or do they just have to decide based on the code?
Xapo Execs Sued by Former Employer for Contract Breach
> people's lives have been continuously improving as more personal data has been collected and aggregated about them by various services

prove it.
Show HN: Fictionhub – a place to share and discuss fiction/fanfiction
Trying to do proper positioning with DIVs is proof enough that CSS has.. issues.
Just looking at the sample input, a lot of things are inarguably better removed:
https://github.com/JnRouvignac/AutoRefactor/tree/master/samp...

For example, replacing multiple catch blocks with multi-catch is definitely going to make source code shorter and clearer, easier to maintain, and less likely to develop bugs as people work on it. Especially since the catch blocks usually all do the same exact thing, they just had to be written out. Modern Java just allows you to catch multiple at once:
catch( Exception1|Exception2 e ) {

Instead of:
catch( Exception1 e) {
...
} catch ( Exception2 e) {
...
}

Where the ... is probably duplicate code in danger of falling out of sync.
They are all "done" in that it is unlikely that anything will replace them any time soon. We don't event have, AFAICT, anything on the horizon. But there's a reason for that, and that is that the HTML/JS/CSS stack is the "virtual machine" or "assembly language" of UI development, and as such, we can't any more say they suck than does programming in assembly language. Assembly language is the "given" - unless you build your own CPU. This stack is likewise the "given" at the moment, and developers build an amazing array of tool, services, and billion dollar companies on this VM. Nobody controls this VM, so nobody can engage in rent-seeking behaviour. This has the pleasant effect also that most libraries built on top of are also open-source, and we end up with a very Darwinian landscape. We are now in the Cambrian Explosion, and the body plans that evolve must, by that way of thinking, be the best adapted for their environment.
It's underhanded in that the function should look like it's doing one thing but also do another hidden task as well.
Hi! I want to build a great platform for writers, which they could use to post their fiction/fanfiction, discuss writing, and later - publish books.

I've deployed the first version and I want to share it with you.

Please ask me any questions or share your thoughts/ideas/suggestions. I would really love some feedback to make this webstie better.

P.S.

It's open source and made with Django, here's the repo:

https://github.com/raymestalez/fictionhub
>now, more then ever, the transparency and accountability of governments has increased in response to many of those exact same services (Twitter/YouTube/Facebook/Google).

I'm skeptical. Sure, advocates for transparency have used these platforms, but that seems unrelated to these companies' mass collection of data.

Not to mention that one of the biggest whistleblowers recently (Edward Snowden) revealed that these companies were complicit in NSA's not-at-all transparent surveillence.
Am I the only one who finds it reprehensible for the author to knowingly expose his child to the pollution and disease of Delhi, for his own ambition?
In Bangalore I dont constantly blow my nose. When I do, the resulting snot isn't black.
I sent an explanation with it, no idea if anyone read it or not.
I agree. As a C++ developer of ten years (before switching two years back), trust me when I say: JavaScript is not a bad language at all. Six years ago I used to laugh at the language. It has come a long way since then (or I've learned more). So much so, it is now my favorite language.

As a side note: do try to not convert JavaScript into a static language -- there are certain types of boilerplate/generated code that I could never eliminate with C++ due to static typing. With JS, it was a breeze.
I love GTD because it has the least amount of friction possible in any system that would actually work for me. I spend seconds at a time adding projects to my system (OmniFocus FTW), maybe 20 minutes a week sorting new projects into larger projects and contexts, and almost zero time deciding what I need to be working on given my location and available resources.

GTD seems like it has a lot of overhead, but I kept at it long enough that it became the way I think about work. It's practically invisible to me now.
Prior discussion: https://news.ycombinator.com/item?id=9662421
http://autorefactor.org/html/samples.html
One interesting difference with both France and Japan compared to the U.S. is that both countries have "chosen" a central city to focus all transit through. It's a kind of modern "all roads lead to Rome" phenomenon.

In other words, in both countries, rail spiders out from Paris or Tokyo respectively. It can be faster to go from the North of the central city to the South of the city, than between two "arms" of the system that are basically right next to one another. For example, it takes about 18 hours to go from Lille to Montpellier by train, on opposite ends of the country. While it takes about the same to go from Metz to Dijon, a 2 hour drive.

The Paris Metro Area has about 12.3 million people, or almost 1/5th of the country. Tokyo Metro has 32.5 million or about 1/4 of the country.

The U.S. on the other hand doesn't have a central capital city. There are no cities that have nearly that kind of gravity.

Despite that, New York to Miami by train takes about 19 hours. Lille to Montpellier is about half the distance of New York to Miami. That's not too bad considering the crap infrastructure the U.S. has in place.
Works great, works by pasting the gif URL for you as a comment. Is it possible to make it work by actually attaching the gif like an image? That way the URL does not show.

Great idea anyway!
This is both clever and terrifying :). How do they prevent compiler from scheduling the load early, observing, and using the stale cache pointer? Do they have at least a compiler fence on the read side?
Dave has to sort out the conflict, but wasn't that the exact same person who couldn't be reached to sort out the initial conflict?
I'm guessing it's more from the standpoint of "what address do we serve you papers at".
Ask HN: What programming languages to pick up for Internet of Things projects?
Okay, so you are just not into Ferraris. I would not buy one, either. I saw it as an example for something expensive, that you buy just for fun. A single unhedged angel investment is such a thing, too.

In the first comment you argued differently. You said, that that even most millionaires can not afford to buy a sports car. I would say, that a single startup investment outside of any investment plan is an even higher luxury. It is comparable to spending thousands of dollars in Vegas.

A Ferrari loses some of its value, in exchange you get fun. A startup will most likely fail completely. Additionally a Ferrari is much easier to liquidate again.
This article has a number of inaccuracies, the most blatant is that they incorrectly identified the base's credit union complex as the unit's new headquarters.

The HQ is still at the same old location on Dam Neck, as well as some other satellite offices, ranges, courses, etc.
I'm an American living in Bangalore (2mo) who spent 3mo traveling through India, after 6mo through other parts of Asia.

I confirm a lot of this, especially how impressive India and Indians are. In Bangalore, the sparks of brilliance are a crackling fire.

It's also worth noting that many of the problems noted in the article (air, water, food, flies) are far better in Bangalore. Frankly, there's a lot less cow manure, and the air isn't great but feels inestimably better than Delhi. "The Garden City" may have lost some of its greenery to the technology boom, but it's still in the top echelon in terms of tree cover of all cities I've visited (probably two dozen in the past year).
Rail has a side-effect of also highly urbanizing travelers where secondary mass-transit systems (bus, subway, etc.) makes it easy to get from/to the train station.
Metz to Dijon is 3h by train. Lille to Montpellier is 5h. I'm not sure how you ended up with 18h.
McCain-Feingold is about limiting corporations behaving like citizens. Citizens United is the expansion thereby making the conclusion much more logical today than when it was first written in 2003.
Remember the Tea Party? Probably Not
> why should they not be?

Because some percentage of the population is made up of psychopaths lacking empathy who are willing to do things that the majority of the population cannot fathom.
I don't think anyone particularly revels in shitting outside. (I live in India, and don't see joy in people's faces when they do this).

If people can afford a toilet, and get access to sanitation and plumbing, they will use them.

In fact, the government has massive toilet-subsidy programs, and it's the government's responsibility to provide plumbing. Everybody here knows these programs and responsibilities are a joke, because of corruption (officials pocket the money for those toilet subsidies) and bureaucracy (getting the subsidies probably requires paperwork that the target citizens don't have, though that's just a guess on my part).

So, yes, an ineffective government (in large part due to corruption) may well be a huge part of the problem, if not the entire problem.
As someone who both has a lot of Irish blood (read: many relatives who hate the British), and someone who considers himself an amateur historian I'd like to make a single point:

From http://en.wikipedia.org/wiki/Bengal_famine_of_1943:

"starvation of anyhow underfed Bengalis is less serious than that of sturdy Greeks"
~ Churchill 1943

I think this quote captures the ethos of British colonial rule quite nicely.

While the British ruled many of their colonies by a identifiable play-book (i.e. a superiority complex that lead to brutal governance), cultural preference, as it always seems to, lead to favorable treatment of those demographics closest to anglo-saxon / protestant / etc, characteristics.

So I assert while famines were induced by the British in both Ireland and India, the Indians would have been seen as lowlier then the Irish, by a debatable amount.

The Indian population would thus have suffered harsher under colonial rulers.

This is coming from someone who has traced his ancestry back to a British lord, which in all likelihood means a family member (likely 3-4 generations) was raped as a direct result of British colonialism.

History is brutal and everybody likes to call foul. However treatment of different, far off, peoples by colonial powers will never seek to amaze in its vicious and sickening nature.

Like this incident committed by American troops in 1901: http://en.wikipedia.org/wiki/Balangiga_massacre
Chalkboard drawings frozen in time for 100 years discovered in Oklahoma school
I asked someone I work with and they forwarded me this report. It brings up some interesting points regarding deterrence.

http://www.sentencingproject.org/doc/deterrence%20briefing%2...

EDITED TO ADD: To note I do agree with you that what if jail/prison is not a deterrent then we are doing it wrong. To some extent this is a true statement. It has been shown that some collateral consequences of punishment can actually lead to increased crime. A collateral consequence being one that is not handed down by a judge but is the result of another law, policy, regulation, etc.. For example, if you are arrested for DWI the judge may sentence you to 30 days in jail. The collateral consequence is that your driver's license may be suspended by the Department of Motor Vehicles.

If you are arrested and convicted of a felony drug charge, serve your time, and get out a collateral consequence can be that no one will hire you because of your conviction. Many states, counties, and cities are starting to realize this actually creates more crime and are passing Ban the Box laws that prohibit asking about criminal convictions on job applications and delay background screening.
It exists but you can't purchase/take it yet. So...thanks?
Japan was able to modernize without brutal colonial rulers. What makes you say India wasn't capable of the same thing?