skysight-inc/HackerNews huggingface dataset:
Well, the real solution is to not have level crossings in the first place, and I'm pretty astonished to hear that even Acela still has these! Third rail for suburban lines that are not fully grade-separated also seems like a really bad idea.

Here in Sydney, an extensive campaign replaced virtually all level crossings with >1 train/hr with bridges and underpasses in the 1970s, and fatalities dropped to virtually zero as well (with the tail end being mostly intentional). Melbourne didn't, and around 8 people/year still die there.

http://www.theage.com.au/news/general/on-the-wrong-track/200...
I still think that the teacher should have paid for the site. Or at the very least started using it (which, as far as I'm aware, he still doesn't even tell students it exists).

Unfortunatly most people don't understand the level of effort it takes to make this look so nice and have great functionality.

Well done janka, it's really a great site
Manual commit is important because of the commit message, which is really the thing that distinguishes VCS from sync. Manual add-before-commit is more of an optional design decision, although without it there would still be demands for a way to exclude just this particular file from a commit.
Happy to answer any questions on the app, or the website. For those who are curious it has sold 61 copies in the past three days, all organically from the site. Not exactly retirement money but I'm very happy with that as a start.
Deploying Your PHP App to MediaTemples GridService Using Capistrano and Composer
or you help me build fundership.com
The HTML5 boilerplate project also provides a great source for sane apache config:

https://github.com/h5bp/server-configs-apache/blob/master/di...
Nice textbook phrases. What does it matter whether laws are broken or not if the result is still people not paying their taxes while benefiting massively from society. If the best you can say about someone's behavior is that it's "not technically illegal", that's quite telling.

And don't get me started on Switzerland. I live there. I'm Swiss. We have massive tax evasion. We have special tax deals for foreign nationals living here.

Here in Zurich, where I live, the cantonal (state) finances are under huge strain because all the wealthy people live across the border in other cantons where the taxes are much lower, but commute into Zurich to work. So Zurich gets to pay for the infrastructure, for the poor who live here rather than across the border, etc.

So please don't talk about some imaginary Switzerland that supports your self-serving rhetoric.
The problem is that there's nothing illegal about putting your money in secret swiss bank accounts per se.

It first becomes tax evasion (in the UK anyway; details may vary) the moment you fail to report income or capital gains that are taxable, since the UK does not tax wealth.
PolarSSL is dead, long live mbed TLS
I see that Remutable uses 'patches'. How does it compare with ShareJS? Does it allow collaborative editing (ie multiple people changing the same data structure concurrently, is patch application commutative)?

The idea behind ShareJS (or OT for that matter) is awesome. You never have to think about what to do if two people edit the same document concurrently. It just works. You get undo for free. And you can write the code that it saves automatically in the background. Never again do users have to press a 'save' button.

A while ago I wrote a library which builds on top of the same ideas as ShareJS (ie. OT) but with slightly different focus. You define object types and their properties. This allows the library to automatically parse JSON into JavaScript class instances. It also tracks changes to these objects in a very similar way as ShareJS: each change has a 'path' (where something was changed) and then the actual chang record (currently set and splice).

I use Avers in an SPA which is an editor of fairly complex data structures (90 different object types, nested ~5 levels deep). For rendering I use React. The integration is really simple: Attach a change listener to the root and re-render when anything changes.

https://github.com/wereHamster/avers
https://caurea.org/2015/02/08/the-future-of-avers.html
As far as I know, running sshd in docker is totally possible and there's a tool called docker-enter which would make things even easier.
MYOB counts on innovation to fend off Xero
Swiss tourism is about 1% of the GDP (less than say watches), you're making a big dent in your logic with such a lack of fact checking :-)

The reason why there is no tax evasion in Switzerland is multi-layered and very complicated, but in short they cut down on loopholes and tax actually rich people too with tax on wealth or or capital gains. In most places you have 50% or so of tax that is paid by medium-rich people, with actually rich getting away with lot less because of capital gain taxes being lower or controls being more lax or stuff like that. The "50% for rich" is mostly cannon fodder for voters, noone is really expecting anyone to pay that much.

That said, you can't explain the swiss system in simple words, without looking into their long and complicated history etc. I suggest you do more research and get your own conclusions :-)
I qualify for this position, all that's lacking is the experience and the technical skills too :(
If your goal was less data through degraded quality though, you've got much better options than a text stream.
How to Play Castle Clash on PC Without Bluestacks (2015)
Yeah, that's fine if you had a contract committing to a certain minimum, but any ideas how they are justifying asking for 3x the difference though?
I am not a maintainer and I just tried it briefly so I am not 100% sure of the allegations they make on their front-page, but it seems like http://gridstylesheets.org are using Workers to run their layout algorithm (Cassowary Constraint Solver) and absolute-position elements (using 3D transforms).

EDIT: Searching for "Worker" right now didn't bring any mention, but it seems it is a very recent edit (cf https://github.com/gss/gss.github.io/commit/d6a931e3629d4b5d...).
why don't people just fix the compiler instead? Oh wait...

Cool project though. I hope Apple takes notice.
You can find a dataset of a previous banking leak if that kind of stuff interests you. Just google Cayman banking leak.
circle.velocity.x -= 2 * dot * bounceLineNormal.x;
circle.velocity.y -= 2 * dot * bounceLineNormal.y;

The collisions currently reverse the velocity of the circle relative to the line by subtracting to cancel and then subtracting again to negate.

I found a slightly nicer-looking effect can be gained by making the factor ~1.8 to simulate 20% energy loss in collisions.

Obviously, any magic numbers in the code are not relevant for its purpose of demonstrating a simple mathematical concept in a literary style. I'd love to see more examples of this kind around HN as it's a quick way to learn/refresh the odd concept.
I personally use "We" which is not mentioned. Awkward. (In French we have "On" a sort of informal "We" and mix between first and third person without equivalent in English).
Perhaps the issue isn't so much in "forcing" people, as it is in recognizing that the perceived unfairness of the tax system itself is causing systemic dysfunction.

Because taxes are perceived to be so unfairly high in certain economies, many devote significant time and effort into "innovating" around policy which is completely legal. Transfer pricing, long-term capital gains distinctions and LLC/Trust configurations, to name a few.

It makes sense to do this, because the disincentives of NOT pursuing legal tax minimization strategies are severe. You'll lose almost half your income. The more money you have, the more strategies you get--meaning they are formed in the ranks of industry leaders like Apple or Google, and eventually trickle down throughout private industry (though in the interim this only serves to widen the disparity & narrow the concentration of wealth).

This won't change unless the common psychology changes. If the tax system were more balanced and fair (a more moderate/halfway implementation of a "flat tax?") then less energy would be devoted into the legal arms race that is out-maneuvering the tax code.

... but obviously that's a pipe dream.
Selected Gamification Elements, Mechanics and Ideas
I got downvoted here on HN for worrying that anti-LLVM politics could hinder the adoption of Rust in GNU projects. Looks like my worry of anti-LLVM politics affecting what gets into GNU projects isn't entirely unfounded.
So is gitless against working with hunks of files because the docs say that having files with parts in multiple states is a problem? But this actually gives more flexibility. Yes it's more complex but that's the trade-off.
there would still be demands for a way to exclude just this particular file from a commit.

Arguably, git already has that with stash; it just needs a simple way of stashing whole files. In bazaar, which doesn't have add-before-commit for existing files, I often do "bzr shelve <file>; bzr commit; bzr unshelve".
How exactly does a computer program work?
Process of design: 5 steps to fruition
It's only less data because the resolution is low. You'd get exactly the same result with "normal" video chat by reducing the resolution.
This is a perfect example of why taxing income is not the correct way. Things like progressive sales tax and taxing usage is. For example, those commuters should be taxed enough to support their burden each time they come in to the city. And for those companies within the city limits enjoying the infrastructure, protection of law, etc, a sales tax on their products sold should cover that. The point of tax extraction should be consumption, not production. It's more efficient, more market (reality) based and a whole lot less political.
the taxes are for the poor, not rich.
For history and branch navigation, you can create an alias for something like the one suggested here:

https://coderwall.com/p/euwpig/a-better-git-log
Our current usecase for NoSQL is that CouchDB can be replicated to mobile devices - I'm not aware of Postgres being able to do this. So I think there still are cases where it can be useful.
Notes on the Synthesis of Form (1964) [pdf]
Awesome work Alex! Who did all the illustrations for the book, how much did you spend on the content like diagrams?
Paying more than you are legally obliged to could be considered donating though. I'm not commenting on the specific cases linked to but as I'm sure you're aware there is a massive grey area around tax law. You can't simply claim that not paying is stealing any more than the parent can claim not paying is ok (it didn't). The details are all about the amounts, which methods are legal and which methods are of untested legality. I think parent's claim is that money is both more willingly and better spent elsewhere (perhaps regardless of legality).

Significant numbers of rich people/corporations use methods that are legal to reduce their taxes. Most people consider this wrong despite its legality (probably they also mistakenly believe it to be illegal - because journalism).

There's certainly an argument that this is - in part - a of problem for the creator of a complex tax system, who should respond by reducing complexity (increasing enforcement tends not to go well - complexity also hinders that). It also seems likely that the people who consider it morally wrong would do likewise if their tax bill were 100x larger (in Switzerland, it is not a criminal offence to make an incorrect tax declaration. Many non-rich Swiss compete with the tax office to lower their bill).

It also seems that you are saying laws are by definition correct. Many laws are not uniformly enforced and many laws are changed as a result of disobedience. Perhaps such people are indeed paying proportionally way too little now but perhaps their actions also affect positive change in future (more efficient system overall, but resource allocation, fewer unintended loopholes). This may not even be their intention, but it doesn't matter.
They use a HiSilicon SoC. Does HiSilicon publish docs?
Banks Paid $32.6B in Bonuses Amid U.S. Bailout (2009)
I'm full-time contributor on a project called Sneer. Almost one year writing exclusively 100% open-source code. I love it. :)

http://sneer.me/project.html
https://github.com/sneerteam/sneer
Store and Share Nuggets of Interesting Text
Oh yeah, something to read over and search for implementation flaws on the bus ride in to work. Monday is better now :)
The text here may compress well, but only because the original video has been "decompressed" into an incredibly inefficient encoding in the first place. If you want to transmit this efficiently, then downscaling the original video and encoding it efficiently using a standard video codec and rendering it to text client side would be vastly more efficient.
Word. Blacklist-all-by-default should be the strategy, not haphazard whitelist. Very similar to how you're asked if you want to share your location/microphone/etc with a website - JavaScript should likewise be compartmentalized based on functionality and necessary access permissions should be required of the user on a per-site basis first.
While this is true, for these sorts of deployments you would use a high-entropy random key, not just a password. I guess it's different if you want to deploy this on a mobile phone or something, though.

Other than that, this strikes me as a very nice way to get seamless, strong encryption for mobile or desktop apps (where data at rest needs to be protected) without writing a single line of crypto code.
Apparently "Only the little people pay taxes." or go to jail.

http://en.m.wikipedia.org/wiki/Leona_Helmsley
> Was there anybody in the pot that was expendable, economically?

What do you mean by "economically expendable"?
This whole statement is 99% wrong
Switzerland is a tiny country with most companies being service companies that cater to foreign customers just like in Singapore. Larger countries cannot function on that kind of taxation. The cantons can individually negotiate taxes btw. so there is little need for intricate avoidance schemes.

I'd argue Japan is a good example of a larger well functioning country with fair taxation (up to 40% on income above 150k USD).
Hmm, I don't really get it yet, but "single source of truth" sounds to me like it needs extra round-trips to this "source of truth" in order to update the display (even if the updates come from the client itself). Is that correct?
> The state doesn't make particular claim to the child's future earning.

Not true in the United States at least. Children born as Americans are taxed based on citizenship regardless of where they live and work.
What does "expendable, economically" mean?
Because, you see, the rich are the pillars of decent society.
From Alexander's work, there is this interesting notion of a graph of solutions where the design had decided what has higher priority to get solved and what has less priority.

An assertive design is more in line with the kind of experiences that people (users) want to have.

When done well this should translates to market fit.

Wonder how many techniques we could use to improve our capacity to do synthesis.

Cosmovision (Weltanschauung) comes to mind.
There's a common misconception about progressive tax systems. I'm from the Netherlands, and we've got such a system like that.

But it's not true its quite common to pay over 50% taxes.
For example, here we got 4 tax-discs, where you pay taxes in a disc until a certain amount of money earned(profits).
Disc 1: until €19822,- : 36.50%
Disc 2: until €33589,- : 42.00%
Disc 3: until €57585,- : 42.00%
Disc 4: more €57585,- : 52.00%

That means, you have to pay 52% taxes over the amount you've earned more than €57585.

So in order to pay 50% taxes, one has to make about €300.000,- a year, (either income or profit).
How open is this hardware? Are there open specs for Mali? Are there open specs for CSI and DSI? All this is on the board. Available specs are needed to write open source software or at least make it much simpler.
I have difficulties to consider a board with missing specification for important parts or connectors to be "open".
You're right, although its fairly easy to implement optimistic updates on top of this. Since patch objects are reversible, you can use a simple logical clock and an undo/redo stack to perform optimistic updates locally, and undo them/redo them when the remote SSoT sends updates.
An excellent Selection of the best selling eBooks
Better working FOR the People than being AGAINST someone
The Cure for Homelessness: How Tech Can Bridge the Income Gap
We do seem to have to worse of all worlds at the moment. It is very difficult for users to exercise control over good sites, and it is practiaclly impossible to control bad sites.

I wonder if a solution would be to tie third party cookies to the parent page. So that by default a Facebook cookie on a Guardian page could only be retrieved when the user is on the Guardian website. You could then have options within ther browser to explicitly allow cross domain cookies if the user wants (and send the actual Facebook domain cookie).
Yeah, but you don't accidentally both place your money in secret Swiss bank accounts and fail to report it. You may want a secret account for privacy and you may forget to report all your money. Doing both at once, however, is highly unlikely. There's an end to plausible deniability and beyond that end should lie prison time.
I didn't now about ShareJS, but I'll definitely check it out. At its core, the patch abstraction is commutative (and more importantly, reversible), so I should be able to implement the 'rebase'-like operation. My feeling is that it would be more efficient to perform this at a higher level though, by replaying Actions in the right order in every client to get eventual consistency.
To argue that it shouldn't be worth the cost because the job seems to boring for you is odd. There are many people who would be very happy to have such a job. If and when there is a future where there does not exist a large number of people would be overqualified for such a job, let me know.

That oversimplifies what I'm saying.

A simplified version is this: It would be better if everyone was able to strive for self-actualisation[1] without the economic constraints that require people to work. In the absence of that, and while there are plenty of people at low levels on Maslow's needs hierarchy[2] who need to work, then there is nothing wrong in wishing that the jobs they did provided some level of value beyond being a replaceable cog in a machine.

[1] http://en.wikipedia.org/wiki/Self-actualization

[2] http://en.wikipedia.org/wiki/Maslow%27s_hierarchy_of_needs
Well, it could be me, but that doesn't sound very simple. Isn't that something the framework should take care of?

Also, what happens when simultaneously transmitted actions/patches are in conflict?
http://en.wikipedia.org/wiki/File:Antonov_An-225_with_Buran_...
mongodb has a licence exception to allow people to use it without releasing the code for the rest of their app: https://news.ycombinator.com/item?id=8966182
At least some of these are what makes git awesome.

* commit changes manually
- I find my self picking individual changes out of the current state of my source & committing them individually all the time, so this is just perfect.

* history & branch navigation.
- Um. Not sure what the problem is here. I can checkout anything I like, hop around the history at will, tag any version with meaningful names etc. Am I missing something?

* confusing command structure.
- Yeah, have to give you this one. It is (slowly) getting more consistent over time at least.

* history rewriting
- this means I can hack & commit away then rewrite my changes into a logically consistent series of changesets that make sense individually before pushing to the main repo. I rewrite history all the time before pushing.

* no merge tool
- but is happy to use whatever merge tool you plug into it, which works pretty well in my experience. (See the git-mergetool manpage.)

* submodules
- Yeah, these are mostly awful.

I think git (or mercurial for that matter) is great for people who see having a clean, well documented change history where every commit makes sense in and of itself as a worthwhile thing to have. If you're the kind of developer who just uses a VCS as a sort of 'source code backup' and your revision history consists mostly of a long series of "Update" comments then all the extra power that git has is just extra complexity that you don't need.
ShareJS is just one implementation of OT. If you want to check something out, then start with OT (http://en.wikipedia.org/wiki/Operational_transformation).
>The "F&B" - food and beverage - industry currently lacks nearly 7,000 people, according to government statistics on job vacancies.

^^ The real reason this press release fluff piece got printed. They want to open the immigration floodgates again.

>Restaurateurs have been experimenting with ways to address the shortage, from robots that can wok-fry rice and noodles to iPad menus and bullet train delivery systems. None, however, has so far gone to the extent of having robots fly around serving food to diners.

...or offering higher wages.
This is very cool. I'm currently using a static blog generator (Frog) to run mine, but to be honest the appeal has started to wear on me because of the barriers involved between writing something and actually pushing it. I'm a lot more likely to actually get some writing up if I can just click in a box and start writing, whereas at the moment I've got to generate a new post template, edit it, re-build the page, then push the lot.

It's a minor inconvenience, but it's one that's been enough on more than a few occasions for me to just say bugger it and post my thoughts elsewhere or just not bother.
Teach Online – Register Now
> That article clearly says

Which is why I linked to it, because the parent post asked:

>> If A380 is cheaper, why Airbus don't product a freight
>> version of A380?
Yes, I do worry about this, and I started working on rustc backend using GCC.
There is a program like this here in Finland as well, and I have been highly intrigued by it, and I intend to discuss the option with my employment adviser this week.

I am 33 years old. I simply do not have the time to pursue a full degree, and I frankly had a mixed experience in college/uni and am not necessarily in a hurry to do it again.

At the same time though, I've a strong interest in some potentially academic subjects and I sometimes find myself doubting I can make a go of it purely on self-study, so I'm a little lost for where to go next or if I should even just dive into paid work.
Cron as a file system
Being allergic to nuts, in particular peanuts, i wonder if this could or would raise the number of allergic (children/people) there. When perhaps else they would have not eaten peanuts.

Peanuts are weird.
I don't think people use frameworks and abstractions because they have a smoothier learning curve, or because they are simpler, but because of DRY. After repeating the same pattern twice, the programmer turns it into a module and abstracts it. After having a lot of modules, the programmer packages them all in a framework. This is good for the author of those modules and the framework, because he understand them, but not always for the outsider who just looks at the complete framework and don't know what's inside.
Nah, you do not need to read those discussions unless you want to help out with the current patch which if enough people help out might land in PostgreSQL 9.5.
Thanks! The content for the book came from the liquidator of a company which held the copyright. It was a complicated situation - the illustrations I believe were licensed for print to a few different publications, including magazines. A friend of mine had plans to reprint the book but allowed me to turn it into a site.
https://www.google.no/search?channel=fs&q=too+rich+for+priso...