skysight-inc/HackerNews huggingface dataset:
We're using Director, like daGrevis in the other comment. Currently, our URLs look like http://devlocal.izooble.com/#profile/someone but adopting the History API (where available) for dropping the # is part of the plans.

Currently, Director is configured inside in the root view component, and at every URL change, we do a setState with new page information and relevant parameters. Then, in render() have a big switch over all accepted page names and render the appropriate SomethingPage component with the appropriate props (usually the root model object and some parameters from the URL).

I feel like there must be a more elegant way with less repetition (if you go to /#profile/moo, we do setState({page: "profile", ...}), and in render we check if this.state.page equals "profile", to instantiate a ProfilePage - that's 4 times the word "profile" if you include the URL, a bit too often for my taste). But it's just boilerplate and it's local to one file so we can live with it for now.

Open to ideas though!

As an aside, React runs great on Node; we don't touch the DOM or browser APIs anywhere at all. One more plan that we have is to run our entire frontend on the backend too, once we drop the "#". The idea is to just have it call the "real" backend (the API) like it would always do, to render the very first page for a URL. Great for SEO, too, and no need for hashbangs or duplicate view-rendering code.

I'd be very interested if anyone has any experience using React to render initial page layouts like this.
> So, still, not comparable to deploying in the browser sandbox.

That much is true, I haven't yet used so brain damaged set of programming tools as the HTML/JavaScript/CSS gimmick required to make the so called web applications in all browser versions required by our customers.
Chore Wars did this a long time ago.

http://www.chorewars.com/

http://www.penny-arcade.com/comic/2007/07/20
Mezzanine 3.1 for Workgroups
Yes. Yes they are.

"However, a report by a major society of actuaries discloses that it was able to obtain 13 years of hospital data – covering 47 million patients – in order to help insurance companies “refine” their premiums.
The report by the Institute and Faculty of Actuaries details how it was able to use NHS data covering all hospital in-patient stays between 1997 and 2010 to track the medical histories of patients, identified by date of birth and postcode.

The 274-page report describes the NHS Hospital Episode Statistics as a “valuable data source in developing pricing assumptions for 'critical illness’ cover.”

There is a point where your denial is farcical and where farcical is fallacious.
What-the-wha? The creator of pinboard.in, an awesome bookmarking site, is banned from HN? How? Why? Link?
Given how web development is "write once, debug everywhere, implement hacks everywhere" I have another understanding of cross-platform.
The most important thing is to make something that works. The most beautiful code in the world is worthless unless it actual does something ( yes I am ignoring code as literature which I do think exists). Write the best code you can and start helping people.
This is a cogent point. HR may be your point of contact for your salary negotiation, but they are not the decision maker or barrier. Ask for more money and they will ask someone else for more money on your behalf. HR is almost never the enemy in less-than-huge companies (and even then only moderately at worst).
14 Google tools we didn't know about
Link for the lazy: https://www.youtube.com/user/jekor
At 4 or 5 founders, it hinges on group dynamics, not just the individual personalities of the founders. You need excellent communication, clear commitment, and you absolutely need two characters in the mix:

- A "negotiator". The kind of personality that is always mending the cracks that inevitably appear in the group.

- A visionary. The kind of personality that is incredibly optimist and always has the destination and the path in view.

Smaller groups can forfeit these needs and function, and are thus easier to assemble.

I've never seen groups larger than five succeed, and I've seen quite a few fail.
Google sharpens contact lens vision
I don't think AirBnB or Uber's execution is good at all. They are essentially cresting a wave that is about to smash into the breakwater of legislation.

Soon both services will be either -

a. Regulated out of existence
b. Forced to comply with regulation making them a de facto hotel-like or taxi-like service eroding their entire competitive advantage.

Another example of people stating that "efficiency = deregulated market" without considering the wider reason for societal acceptance of the regulation.

I would rather have my housing area protected than have AirBnB. I would rather my daughter use licensed minicabs than unregulated services.
> Promoting disclosure doesn't make sense anyway since once an invention is commercialized it can usually be reverse-engineered.

The idea is to encourage inventor to disclose details of his invention before it is successfully commercialized so others can take it into account in their own ideas and actions. To develop complementary or improved inventions. Basically not to invent exact same thing twice.
Don’t Add Features to Make Customers Happy (2011)
The GoogleDevelopers channel you reference is great, but now that I've fallen back in love with JavaEE it has to be Adam Bien's channel: https://www.youtube.com/channel/UCksTNgiRyQGwi2ODBie8HdA.
TWS: Consulting-Cases – founded 2 years ago, now making $ 1.000 a month
Based on a variety of things including family history, my doctors and I believe I have "depression of a bipolar nature" ; not true bipolar but something akin that only expresses itself as depression. Based on his posting just now, it's very different from what he has, except for the "depression attacks", which perhaps got better with time, and definitely got better with anti-depressants, which generally cannot be prescribed to those who are frankly bipolar (and in my case one actually made me hypomanic, that's mania without hallucinations).

The #1 thing you can do to at least not help drive yourself deeper into depression is to learn cognitive therapy, which nowadays has a "behavioral" aspect added to it that I'm not familiar with (this is the CBT Michael refers to in his message composed at the same time as mine). Buy this book; I keep extra copies to give to people: http://www.amazon.com/Feeling-Good-The-Mood-Therapy/dp/03808...

If you're truly bipolar, there's no substitute for a doctor's care as well, you'll probably need a mood stabilizer, of which there are many varieties from the "gold standard" of lithium to modern atypical anti-psychotics.
> I understand why people still use e.g. Angular,
> but only for the same reason as why people still use PHP: legacy.

Not an Angular lover, but devs use Angular because it's the quickest way to build LOB clients with javascript. It's no legacy or whatever,just pragmatism. People coming from flex/wpf know what I mean.

Angular doesnt answer all problems and is not for all use cases but for LOB clients it handles 90% of use cases and problems. Same cannot be said for React without 3rd party libraries.

No framework can ever be a silverbullet, I would not use Angular for an app with a lot of transitional states and animations.

In theory you could use React with Angular but frankly I dont see the point.

> but only for the same reason as why people still use PHP: legacy

? You just cant compare apples and oranges, a javascript framework and a serverside scripting language.
Full video of SpaceX-3 launch
The first step is to stop using the word "compulsory licensing". Compulsory licensing sounds like some kind of crazily authoritarian evil government regulation; if I didn't know what it actually is, and there were no triggers that convinced me the idea is worth taking an hour of my time to research, I would imagine I would instinctively oppose it. The language implicitly accepts that patents are a natural right, and that what it is proposing is an infringement on that right. In reality, of course, it's a limitation on a government-granted monopoly. Nobody is being "forced to give a license"; it's actually the derivative creator who is no longer forced to face unbounded cost when using something which was patented.
The actual report is here.
http://www.sias.org.uk/data/papers/SIASDec2013Paper/Download...
It's reasonably obvious that inferences can be made from this that will affect private sector insurance premiums, but highly unlikely that anything they've done with the data could be linked to specific individuals, even though the original anonymisation was unlikely to have been sufficient

In the interests of balance, it's worth pointing out the non-profit organization linked to the insurance sector in question specifically denies some of the claims made in the Telegraph article:
http://www.actuaries.org.uk/news/press-releases/articles/tel...
Goldman, Citi, UBS ... and a Guy in an Office
Avoiding tax is not illegal. Most business do this even by paying dividends versus salary for example.

Evading tax is.

He was avoiding tax.
Easy Mock Cassata Easter Cake Recipe
https://news.ycombinator.com/item?id=4108008

The whole affair is really sad. Especially due to high quality of Maciej's blog.
Unity 4.3+ lets you choose "png" format as part of the native 2d support. No more 16/24/32 bit uncompressed as the only lossless formats.

I'm not sure if the new "png" format would work for 3d textures though- there might be some other weirdness there (like maybe you can't turn on mipmaps or something) since it's supposed to be used for 2d sprites.
Don't use javascript. Seriously. Use C#.
The lack of a mono update is becoming a serious issue.
This is the only version of "2048" that I've actually found that is fun and interesting.

Thank you!

I'd like to see a larger version though, 3x3 is fun but 4x4 would be awesome!

In other 2048 games all of the combinations carry the same weight, but this one has "goals" being stable elements, awesome dynamic!
No, some people are "scumbags". I once worked for a company that suddenly ran out of it's startup money source and was forced to do a deal with a couple of "angel" investors ... who turned out to be devils.

They wrote into the agreement certain metrics that the company would have to meet after launch, and did everything they could to prevent it reaching those, e.g. firing the guy would would have made the sales, our multi-talented lawyer stepped up and made them. When Kleiner Perkins, who's connections could have been a make or break for the company, cold called us, these devils blew them off.

Their attitude was they'd rather have 100% of nothing (well, they probably thought it would have been something), and the company essentially died when 13 of us resigned en masse from the CEO down to all but one most junior engineer. (And then we had to go to the state to get our back pay for that partial pay period.)

I was in some of the last minute, try to save things face to face negotiations; these guys were malevolent. Not sure how they achieved net worths of 100 million and 500 million, but if they retained any control, they sure didn't use that money for good.
Clicked the link, then 'Specification 1.0'.

"WebCL Specification
Version 1.0, 14 March 2014"

The old specification was a draft. This seems to be a final version.
No worries :) It was a genuine question though; I've done some brief googling in the past but didn't find anything authoritative.
This story broke last night on the Guardian website:

http://www.theguardian.com/politics/2014/apr/18/hmrc-to-sell...

Although it's not clear that it has come from an official HMRC statement (I couldn't find anything on its website), the timing of this -- the Friday evening / Saturday morning of the Easter bank holiday weekend -- feels like someone finding a good time to bury controversial news.
Yet the NHS themselves confirmed that everything was true.

http://www.telegraph.co.uk/health/nhs/10659147/Patient-recor...
The Million-Dollar Manhattan Apartment
How do you usually pronounce it?
At the Right Time and for the Right Thing
What the 1% Don’t Want You to Know [video]
I'm from Scandinavia and have never heard anyone pronounce it like that.
TL;DR: the wright brothers had a history of patenting special additions to bicycles, so when the market for craft bicycles dried up due to standardization of parts, they "pivoted into creating the airplane". :)

fair summary?
Just stop teaching imperial units. Europe adopted the Euro and usage of old national currency is fading away. Even the elders around have started to stop converting Euros to old national currencies.

It's hard but not impossible. It's a matter of doing it and stick to it.
Even if you can get basic JOINs going, then I can see your tool becoming super useful in a lot of my use cases :)
The problem there is that many posts will never even get votes because people don't see them. This is the tragedy of the commons. If everyone enjoys this same convenience, then nothing gets discovered.

What we really need is a relationship between points and number of click throughs / views.

If a post has 100 views and 4 votes, it should be roughly equal in value to a story that has 25 views and 1 vote.

In fact this ratio approach might help bring more attention to the really high quality technical articles that are esoteric but high value.

Take a tech-focused BBC article for example, which often hit the front page. They are typically pablum with low value content, but they receive lots of votes relative to everything else because of their popular appeal. Since they appeal popularly, I would expect that they get an order of magnitude more views than an blog article exploring the minutiae of LXC containers. Those number of views should serve to devalue each vote that the article received.
The counting down video's sure are a bit more off-putting than her usual poignancy. But I saw in at least one of those she counts down with a whole group of people at what seems to be a party, so I think she's just fine..
Solution to increasing the ranking of interesting technical posts: https://news.ycombinator.com/item?id=7613260

However what I really want is the ability to follow those stories that are read and upvoted by a basket of overs whom I've come to respect via their insightful comments (e.g. michaelochurch, cperciva, nostrademons, tptacek, pg, fogus, raganwald, yummyfajitas, etc. etc. etc.)

A front page based on the stories upvoted by those users whose comments I most want to read would be awesome,
Ask HN: please review EngagePerPage, A Social Engagement Platform
The main goal of this product is to increase the brand reach and awareness for SMB by adding puzzles and social tasks to any Facebook brand page in minutes; engaging and rewarding the audience on the way.

Here is the URL: https://www.engageperpage.com

Do you think the product is in right direction? Any feedback or comments?
All of this complex front end framework stuff I really don't see that it is necessary. You can write basically the most important part of the framework into a very small coffeescript file.

https://gist.github.com/Kequc/11083050

Then your class:

class MyApp.Cat

constructor: (data) ->

@element = $('<div class="cat"></div>')

@update = new MyApp.Update @,
name: (v) =>
@element.text v
color: (v) =>
@element.css backgroundColor: v

@update.all data

new MyApp.Cat
name: "Gary"
color: "#FF00FF"
The table of harmful things and alternatives is fascinating. I'd love to see the rationale for each row.
How the original iPhone forced Google to completely rebuild Android (Dec. 2013)
Wow, so its poor people fault they and their children and their children's children remain poor. That is very libercrazian of you.
Go Meetup Munich, 24.04
Hi, I'm organising this event for the Go programming language, 24.04 in Munich. If you happen to be free on this evening and enjoy go, beer & pizza feel free to drop by. As this is our first meetup it's probably going to be a pretty small round :). Everyone's welcome!
Apparently whatever they use for web software can't cope with HN traffic, which is fitting the title perfectly.
1000 times, no.

HR is there to make sure you know where the toilets are. They can't pick a Javascript programmer, nor can they decide what to pay for one.
Wouldn't it be funny if the OP intended for the server to be unavailable (as proof of the post's title)?
Your second point is something I hadn't thought of, thanks!
Google cache:

http://webcache.googleusercontent.com/search?q=cache%3Aharmf...
My non-informed opinion is that this is a basic science vs invention problem.

The Wright brothers were both inventors designing an invention (an airplane) and private-sector researchers investigating the basic science of flight. Their discovery of the problem of lateral instability and its consequences for flight was a matter of basic science; for it they deserved recognition from their peers and scientific acclaim. Their invention of a method for stabilizing flight deserved a patent.
Google Cache: https://webcache.googleusercontent.com/search?hl=en&q=cache%...
A program written in the rc shell.
They have one of the funniest (irrelevant but still humorous) pages about Java as well: http://harmful.cat-v.org/software/java
Is the time difference not an issue?
Show HN: ZSH plugin every developer should use
Hey HN,

if you are a developer you will probably know the following situation: You are going to a certain project directory and then you are searching for this one command which was specific to this project or you just want to go through the last commands you typed into your shell while you were working in this directory.

If you ever had this problem and are using Zsh, you should check out this zsh plugin I wrote: https://github.com/tymm/directory-history

Let me know what you think!
The Space Shuttle was only partially recoverable. There were three main parts to the system.

1. The shuttle itself - this needed extensive maintenance work done to it after each flight.

2. The big orange fuel tank - this couldn't be reused

3. The solid rocket boosters on either side - these had to be completely rebuilt after they splashed down in the ocean (it is easier to splash them down in the ocean than the Falcon 9 first stage, as they separate at a lover altitude).

Overall this didn't save much on costs, with the average cost of a flight (inclusive of development costs) being about US$1.5 billion.
Google cache version: http://webcache.googleusercontent.com/search?q=cache:harmful...

The title drew me in, but I didn't find this very insightful. I clicked on it expecting a righteous rant; instead, I found a list of things the author likes and dislikes, framed by some clever quotes.
Suprafleece Ear
Speaking of which, how much traffic HN would generate? Has it been measured?
No mention of Yuri Milner on the application page, but just in case anyone overlooks the connection:
http://www.xconomy.com/san-francisco/2014/02/12/illumina-yur...

$100,000 for 10% of an idea seems generous vs. most software accelerators. Wonder what they're expecting by loaning out all their equipment in a dedicated research facility?
Are they expecting actual NGS improvements or are they hoping to facilitate non-NGS innovations that merely use NGS as a tool?
Funny within the bounds of a sub-par cognisance of fun.
I agree that if you "burn your ships", language learning can be surprisingly easy and natural.

This is one reason I think there's a relatively low level of Danish proficiency in adult immigrants: it is virtually impossible to burn your ships in that manner, because ~all Danes speak fluent English, and generally prefer to speak English to foreigners vs. attempt to understand poor Danish. If someone explicitly asks to keep the conversation in Danish, then people will typically oblige and attempt to understand the learner's Danish, but as soon as the person goes to a restaurant or even a government office, it'll be immediately English again unless they ask each time this happens (and even then the person may just honestly not understand them, because Danes are not good at understanding mispronounced Danish).
So, apparently "SQL Databases" are harmful, and a less harmful alternative would be to use "plain old hierarchical filesystems".

Sure, why not?
This intro to FPGAs should get you started.

http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Dev/FPGA/Intr...
>we can re-render the view before the server even acknowledges the operation's success

This can be done in angular too, but I don't understand why you would want to give someone the assumption that an operation was successful before you know if it actually was.
The hint mentions "complexity is the bane of all software, simplicity is the most important quality"

Seems right for C++ vs C, Go and XML vs JSON, CSV for example.
Hi, I'm organising this meetup for the Go programming language in munich. Everyone is welcome, you don't necessarily have be a full blown go coder to enjoy the talks, beer & pizza :). It seems to be a pretty small round as of yet. If you happen to be free this evening, feel free to drop by.
So basically his advice is pretty much just "use plan9"
Adrianne Wadewitz, 37, Wikipedia Editor, Dies After Rock Climbing Fall
How exactly did learning about compilers help you ? What applications do you build ?
The OP was so opinionated about solid software principles that I kind of did not expect his server to go down...Mostly, I thought his table of "Good" and "Bad" (example, Python, Ruby, C++ is bad; Go is good) was amusing, and his dedicated rants to the software I agreed with, in part.
Patent descriptions didn't used to be vague. That's a relatively new technique in avoiding the disclosure requirements legally.

Look at the Wright Brother's patent:
http://invention.psychology.msstate.edu/i/Wrights/WrightUSPa...

The document makes perfect sense. Just randomly pick a point and start reading and you learn what they had researched and discovered.
"For code search, that means it can do things like show you how other people actually call a given function."

i just tried it and that is a pretty big claim.

e.g. https://sourcegraph.com/code.google.com/p/go/symbols/go/code...

Am i wrong or isn't this pretty much what Intellij calls "Usage"? At least I don't see the difference, could you please explain it?

general feedback: the website is too slow. it takes me a couple of seconds to load each page, rendering the page pretty much useless.
Bandwidth Growth: Nearly What One Would Expect from Moore's Law
Yeah, disappointing. It's just a "list of things I hate and you'll just have to trust me I have good reason to". It's a bit childish, actually.

Some of the things have links to rants explaining why they apparently suck, but that's just more adolescent ranting mixed with quotes.

I like a good rant occasionally, but those are well-written, make a point worth making and actually show some effort to convince the reader. This is just not it.
Angularjs first release was about 6 years ago so it's hardly legacy. It's almost as if the OP was trying to plug React..

Anyway, in my experience angular is half the code, half the time, and half the cost.

http://www.google.com/trends/explore#q=Angularjs

Well will you look at that, angular seems to never get less popular.