skysight-inc/HackerNews huggingface dataset:
IMO Angular1 and React are so different in their approaches that it does not even make sense to compare them. If you want to base your application on a 'kind of' functional design with sane reasoning you should know what to use.

With Angular2 the discussion will be more interesting, but as far as I know Angular2 is not quite production ready.
The Age of Disinformation
Initially I was pissed of at Uber but then I realized that the way universities run, half of anything Uber gave the universities for research would go to fund their management costs. I remember in my college days I got an $800 academic performance award and 25% was taken of for management costs. When I was a grader, they had me sign a form that any inventions I discovered as a grader would be theirs. Bunch of leaches in my opinion.
>> The problem is that now, a few years later they have all these custom coded solutions for the things as standard as a DNS server and the rockstar programmer is unable to balance his responsibilities to maintain everything.

The implicit error here is that the perception of this guy being great was flawed from the start. Anyone implementing one offs instead of adopting standard solutions is incompetent, pure and simple. He was't 10x, he was -100x.
Their salaries are most likely covered by government grants.
>> I think American teams have better players because of the living/playing conditions.

To get the best hockey players via the draft, your team has to be among the worst for a few years. If you have a consistently middling team like the Leafs, you'll never be able to draft the likes of a Sidney Crosby, and free agents who want to win a Stanley Cup generally go to cities where it's most likely to happen. I don't think Toronto is at the top of the short list.
I think the biggest driver of the "10x programmer" concept, the thing that validates it, is the related concept of the "negative net productivity programmer."

Some programmers, in some environments, produce less than they cost to supervise and for others to fix their mistakes.

Some programmers, in some environments, look productive because they do the 20% of the work that gets you 80% of the way there. They start a whole lot of projects which almost work, then it takes a really good programmer a lot of time to repair the relationship with the customer.

At this point in time, however, I see the productivity of the organization as the real issue. Even a 10x or 100x programmer is only going to be that way if they are in a zero-bullshit environment. It takes one bad co-worker or bad boss to turn somebody like that to an 0.1x programmer. A lot of it is choosing your environment.
The most interesting thing about the comments here (in my opinion) is how differently the industry seems to view professionals in academic/research environments and those in for profit/private sector jobs.

If this were Uber hiring engineers from Google or Facebook and paying them a huge premium, it would be considered the market at work and I expect there would be little debate on whether Uber was acting ethically or not (even when considering the tactic of opening an office nearby).
In the context of 10x, I think we are talking about programmers that can begin to program _professionally_ vs. bike riding as a hobby.
It seems the shorter route (great circle) would've been via Kamchatka and Alaska.

http://www.gcmap.com/mapui?P=NKG-SFO

As you can see, flying via Hawaii is quite a detour.
French in Quebec is kind of similar - to avoid being assimilated into English Canadian culture, it's very resistant to change. French speakers from Europe tend to find it kind of quaint because it's been developing independently since the 1700s.
a) What is this stack, and what's its approach to security?

b) Do I get a proper API? That would be amazing. (It would also be a security nightmare, I'm sure)
FPGAs run the execution of strategy, everything else is done by high level software/systems. FPGAs are connected directly to the exchange and also help receive a feed of market data (in addition to other market data feeds).
Hmm, the OTPP owned the Leafs starting in 2003, and there has been a salary cap since 2005. Are you saying the Leafs weren't spending at the cap from 2005 onward? Or are you saying they should have been spending more money outside of player contracts?
Thank you. I'd also like to image if Torvalds or Bellard or whoever your house god is would be thrown in a front end web project, would they still be a "10x"?

Probably not. They would emerge with a new web browser, not a working web frontend. That's my guess.
Yes, sure, it was a simplification. And probably not Markowitz paper will display verbatim "you buy fixed income as "risk free" asset". But I think you're nitpicking. Markowitz defined the Modern Portfolio Theory as working with risk-free assets. Sure, that does not exist. But there are approximations. FI is normally used as such.

Also:

> No knowledgeable person will refer fixed income as "low risk government one".

Being knowledgeable is not something binary, and you have lots of people in the internet talking about holding stocks and bonds. Whenever you see investment advice stating "hold your age as percentage of FI", they are not referring to junk bonds, nor securitizations or whatnot. They are talking about low risk, low yield, typically government bonds.

EDIT: Context is also to consider. In some contexts, people equate both things.

In any case, rereading my post, it now sounds a little bit defensive, so sorry for that.
Conversely, can you cite a source backing up that there is such a thing as programming talent? Not saying either side is right or wrong, but I'd be interested in seeing how you'd even go about researching such a thing.
Facebook may not look like an open-source company, but it's by far the biggest
Sunspider does next to no processing, it's really not a good benchmark for judging computation speed of a device. Arguably, it's not a good benchmark, period. Kraken or Octane are more interesting benchmarks for compute-heavy workloads such as games.
Ask HN: Freelancer? Seeking Freelancer?
Please lead with either SEEKING WORK or SEEKING FREELANCER, your location and whether remote work is a possibility.
You're missing the point, which is that a physical computer in this universe could enumerate no more than 2^500 distinct states. How is this useful? Well, for example, it lets you put hard upper bounds on the size of crpyto keys. For symmetric crypto, assuming your algorithm is a CSPRNG, you will never need a key larger than 512 bits no matter how advanced computer technology gets.
China is not happy with current situation either.
These are not tenure track or even academic positions. NREC is owned by CMU but it is not part of any academic program at CMU. There are no students working at NREC. NREC does technology commercialization not fundamental research. NREC's primary product is big robots not research papers (although they do publish a bit). NREC is a lot like SRI before it separated from Stanford.
The bezel looks like a Dell XPS 13" but the unibody metal like frame looks like a Razer Blade 14"
>> Fabs love to work with FPGA vendors: the regular structure makes them good targets for new processes

I heard that this has changed and mobile chips are being used for "pipe cleaning" in fabs, from a credible source, but i haven't dug into the details of how.
Circumstances matter. I suppose if Uber hadn't entered into a partnership first, the whole thing would be more palatable. But by going this route, Uber is sending a clear signal to all potential future partners - watch out. I just find it distasteful, and sadly predictable given Uber's history.
Yes it's fairly common and make sense if you think about recruiters as people who use knowledge as a form of arbitrage.

Just like a real estate agent, part of what a recruiter brings to the table is their knowledge of what ever corner of the market they specialize in.

Most of the high end recruiters specialize in a particular industry and therefore know it really well. In tech the particulars are around pay, salary, options etc. In finance its based around how bonuses are paid out.

That makes their job easier as they know what they'll have to pay to pull someone out of a company. They'll also know when an employee's acquisition bonus is fully earned so they know when to start calling on people.
Ask HN: Strategies/tactics to keep focus?
I have more interests and curiosity than I can handle and I'm having a really hard time keeping my focus. As an example I recently discovered the book "Learn you a haskell for greater good" and it was an epiphany. By the other hand I promised myself to focus in JS, that's why I'm investigating Purescript now.. In the end it is just a never ending dabbling.

To help me focus I try to follow these strategies/tactics:

a) GTD (I even created one implementation - if interested check my github).

b) make blog posts (not CS related) that use some of my dabbling.

c) news diet as strict as possible.

What strategies/tactics do you use to keep focus?
I use Pingdom. We need uptime monitoring to satisfy a clause in our SLA and because we like being transparent with our users about our uptime.
How I Used LinkedIn to Find a Technical Co-Founder
Say you want a form with as-you-type validation. You can't have a view containing the whole form and just re-render that as someone types. If you did, you'd lose the user current focus on every render. This forces you to manipulate parts of the DOM "by hand", something React abstracts for you.

I find Backbone events extremely hard to work with (error-prone, super hard to test / debug), because there are many operations that emit tons of events. So you either listen+render() on any event (very inconsistent performance if your app has any kind of complexity), or you hand-pick the events you want to react to (event-hell). Using immutable objects along with React's PureRenderMixin means you can just render() on any change, with great performance. It makes your UI purely functional, very easy to reason about, and easy to test.
I think its an image or brand thing. MS doesn't want Window to end up too attached to a stodgy office-only world of depressing desktops. Heck, I can't even think of a good looking desktop they could use. Perhaps Lenovo's All-in-Ones? Even those just look like iMac copies.
Show HN: HazeOver “productivity hack” for Mac
Here is what they are really good at: deliver your custom hardware early to market (vs. ASIC or custom). This is a huge benefit if you consider that the first to market usually gets to own the market and command the best price.
Which most modern compilers just ignore.
This reminds me of the Scottish english accent. It's pretty cool sounding (to my west-coast US ears), but a thick Scottish accent can be quite tricky to understand.
At some point, the text editor in chrome's devtools was based on canvas. I don't know if that's still true, though.
You're right, but part of running a business is recognizing where your value/vulnerabilities are and protecting them. If you have millions riding on the performance of a team of researchers and engineers, then you spend more than you otherwise would to retain them. This is especially true if your field is in high demand. Mitigating risk is just another operational cost.

Acquihires happen when the team is well motivated to remain but another company has deeper pockets. It's either cheaper to poach staff or buy the company and it can be a tough call which it is.

It also feels like academics are a bit inconsistent here. Universities are run like any other business but act as though they have a special position as dispensers of education.
SEEKING WORK - remote, Coimbatore, India

I'm the designer of the io.js logo and identity: http://behance.net/gallery/23269525/IOJS-logo-concept

The logo has been further refined based on feedback and can be seen here along with banners and icons that continue the logo’s theme: http://twitter.com/official_iojs

In addition to Branding/Identity, I work on responsive front-end development (Bootstrap/Angular), server-side programming (Node/io.js/MongoDB) and iOS app design and development.

Email: vijay@dffrnt.com

Portfolio: http://www.dffrnt.com
Any sane ideologue will admit it's a guide rather than an absolute rule; you might be on the right because you believe free-market approaches are generally better, or on the left because you believe tax-and-spend approaches are generally better, but if you're analysing specific cases rather than just touting your ideology then you should spot at least some exceptions.
I just smelt a load of prejudice here. Leave alone the technique detail(holding a debate which is better - Angular or React and here goes your rest of the day), IDE/error checking stuff isn't a problem anymore. Maybe you should try eslint, babel-eslint, babel-sublime or anything emerge since 21 century.
5 reasons Wikis rock for documentation
Making Programming Fun with Meteor
I gave your presentation a quick look.

Maxmind - good. Not like there's many choices here, though. :)

Instead of "waking up to sync logs", consider using something like NSQ to emit events as they happen. You can scale the number of servers/processes generating messages and the number of workers consuming those messages (and committing them to your database) very easily.

You could also replace the writing of the transaction log with a NSQ event. It lets you avoid having to write and scale the log shipping stuff.

We precalculated which ads a given user was eligible for and a separate process was contacted when a bid request came in to get the info for the ad to show. We never had to do anything funky to do geotargeting exclusion at scale.

Instead of having your adserver connect to a database, have a separate process generate a working set (as JSON or whatever you fancy), compress it, and ship it to the adserver periodically. The adserver can just do a straight load from the file every minute or whatever interval you'd like. If the file's mtime is too old, raise an alert and stop serving ads if necessary. Keeping things separate and simple lets you scale more simply. Our working sets were on average about 2gb uncompressed and they could be loaded in a few seconds (C++/JSON and later Go + JSON).

Seems like it was a fun project and I hope you learned a lot!
The Digital Provide: Information (Technology), Market Performance, and Welfare
Sorry for duplicate, but I just realized there's a dedicated section for something that you've made yourself. HazeOver is my hobby project. I hope you find it useful.
Maybe this is a bit offtopic but I'm curious what are the thoughts with Google driving car.

Right now it feels Google, Uber and Lyft will compete for the same space.
Uber looks to be winning, but can it really win the race against Google.

Although to its own merit one thing comes to mind was that -- at least from PR it looks like it -- Uber is moving faster. Google which is always hiring(?) lost the chance to grab that CMU talent.
I like Zed, and appreciate his open source work and his programming books. I think he let himself get a little carried away.

"Taking criticism in stride is just part of quality, and trying to eliminate any criticism of your ideas is a sign of both immaturity and abuse of power."

http://zedshaw.com/2015/04/05/and-then-you-have-no-taste/
Hey people, this is Aman(Author). I am a budding entrepreneur and with this post, I have tried to answer the question "Why to startup?"
I recently wrote a place and route tool for Lattice iCE40 FPGAs [0]. The bitstream was reverse engineered by Clifford Wolf and others as part of the IceStorm project [1]. We're using Yosys [2] for Verilog synthesis, also written by Clifford.

[0] https://github.com/cseed/arachne-pnr

[1] http://www.clifford.at/icestorm/

[2] http://www.clifford.at/yosys/
> Major League Baseball’s Kansas City Royals, for example, aren’t merely unlucky to have failed to reach the playoffs in 28 years: they have usually stunk.

I smiled at that given what has happened since. But my smile disappeared when I realized that now my Toronto Blue Jays would be the go-to-example in the Royals' place.
They do custom extensions for large customers and announced a Xeon/FPGA combination last year.
Quick and easy summary of Google I/O 2015
WebSFM, 3D reconstruction system inside browser
‘Game of Thrones’ Season 5, Episode 8 Review: “Hardhome”
South Korea is much better. Not.
A Cynical Look at Open Houses in Toronto
Most people who would be in a position to switch to such a library have already migrated to a safer language than C.
Nethserver's robust open source community drives innovation
My startup was funded. During the 18 month runway when we were spending the investment money we had a grand total of 2 meetings with the investors. We did a lot wrong, but so did the VCs in my opinion - we were a 'boring' business tools company from an accelerator full of exciting B2C, 3rd sector, big data and social media companies. They ignored us. If I did it again I'd absolutely insist on more oversight and input from the VCs but that's something you only learn with hindsight. We were definitely one of the ones that let it go too far.
> then I realized that the way universities run, half of anything Uber gave the universities for research would go to fund their management costs.

I think half is a bit of an overstatement in the typical case, but this same criticism can be levied at pretty much any research- or cause-oriented work, like charities and foundations.

Usually this cut is intended in part to fund the process that actually procures this funding and these grants in the first place, so under that assumption, it more than pays for itself.

You can't run an organization with literally zero overhead; it's not possible.
a) We'll be releasing more details over the next few months, but it's basically Go + a mix of relational & distributed databases. The real difference is that we're not just reskinning an existing bank. Security is obviously paramount - but it's much easier to build secure software on 21st century tech than to try to secure systems from 1970s.

b) Yes.
http://www.argondesign.com/case-studies/2013/sep/18/high-per...

Low-latency interaction with hardware. In this case, it was possible to start outputting a TCP reply before the end of the packet it was replying to.

In general, FPGAs win for integer and boolean functions which are amenable to deep pipelining, or are capable of very high parallelism. One of my colleagues produced a neat chart of what level of parallelism was best suited to which of CPU/GPU/FPGA.

FPGAs don't have an advantage if you're memory or IO bound, and they have terrible power consumption.
Universities may see themselves as holier-than-thou, but it's a reality that they have to offer wages that are in line with industry as a whole.

Let's say I want to open a new burger joint and I know there's a really good team in a kitchen down the road. Am I smart or a dick for hiring away that team at double their previous wages?
Under what circumstances would you ever be unable to copy such a small and liberally-licensed file into your source?
In the simplest case, the thing referred to is 'a think', and they're entirely equivalent :)

I'd argue that this is more of an Eggcorn[1] than a malapropism, unlike your second example.

"The proof is in the pudding", or the classic "Could care less"[2] are the two worst offenders I can think of immediately.

[1] https://en.wikipedia.org/wiki/Eggcorn

[2] https://www.youtube.com/watch?v=om7O0MFkmpw
Show HN: Not yet registered sensibly short domains, fitting popular web services
Show HN: PhantomJS on SmartOS
Security, creating a federated cloud, and more OpenStack news
But do you believe that more than 1% of web browser users install and use one or more browser extensions?

In 2013, this article[1] gave numbers of anywhere from 9% to 22% of users blocking ads, which requires an extension AFAIK. So, "yes". Even if those numbers are exaggerated due to skewed measurements, I'm pretty sure it's going to be more than 1%.

[1] http://www.forbes.com/sites/kashmirhill/2013/08/21/use-of-ad...
It's worth noting that, quite often when this subject comes up, people suggest a straight replacement with strncpy, strlcpy, snprintf, or something similiar. This is safer because it doesn't overwrite memory or cause a segfault, BUT, that's not always enough. If the code just carries on with the truncated string that's data loss and it might cause trouble later.
For example imagine a system designed for 8.3 filenames - if you pass a long filename and it gets truncated it may then refer to a completely different file.
The man page for strlcpy (IIRC) reminds you of this.
NFL Play by play analysis using Cloudera Impala
I'm sure Zed feels "complimented" every time he goes to a job interview and has to defend against the assertion that he's going to kill the company if he's hired. I believe the technical term here is "tortious interference."
In case you're genuinely unaware of the various criticisms of Uber: http://en.wikipedia.org/wiki/Uber_%28company%29#Criticism_an...
snprintf is also slower. It has to parse the format string.

Just use strncpy and NUL-terminate the buffer. It's not hard. Write a two line function to do it for you, and use that function in place of strncpy.
Because once you introduce threads, your program complexity increases massively. You're now throwing a few groups of instructions at the CPU and saying "Hay! Execute these instructions in any order you like". Then you're adding code to deal with the issues of that random execution entails.

Also, it's not faster, so what's the actual point?

The browser should use all CPU cores efficiently to make javascript fast. Exposing WebWorkers to javascript programmers IMHO is totally the wrong way to do that.
Things to Consider Before International Expansion
Most of the functionality will only be available via a smartphone, at least initially.
Not necessarily margin, rather non-recurring engineering costs (fab masks, design, software development), marketing, sales, administration, other overhead. You need massively higher demand in order to lower those costs, which won't happen only because Intel is entering the market. Instead, you'd need to significantly change the principles and trade-offs of FPGAs, for which I don't see any indications.
Sure, but I was specially thinking about the issue of passing vectors into functions.

In any way, for me the right way of doing systems programming is the way of Mesa, Modula-2 and many others.

C was already bad in the 70's.
There is a very simple, efficient solution: always put a null termination character in the end position of the destination after the strncpy(). If the source is longer than the destination, it will properly terminate the destination. If it isn't longer, it didn't cost (hardly) anything.

Unfortunately, it isn't automatic so some times humans will forget to do it.

#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[])
{
char *src = "Gobblygook is a long string";
char dest[5];

strncpy(dest, src, sizeof(dest));
dest[sizeof(dest) - 1] = '\0';

printf("src = %s\ndest = %s\n", src, dest);
}

make test
./test
src = Gobblygook is a long string
dest = Gobb
In a past job, we had a service that would receive natural-language queries about movies and respond with movie times and locations. Some men were convinced that the responses were generated by a female human (this was in Spanish, so I know of their assumptions based on grammatical gender) and started trying to chat up our bot. The logs were simultaneously hilarious and sad.

I repeat: our bot just responded with movie times. Men were trying to get laid with it. :-( :-)
Login to Disqus with Twitter, and Disqus can follow new people and update your profile
No, I meant MAP_SHARED. That way the seed is shared across all forks and will only cause problems if the PRNG is being used as a cipher.

However there's another trick. If you have two counters: One in MAP_PRIVATE and one in MAP_SHARED you can detect the unsafe scenario by incrementing each counter and verifying lockstep.

If the counters mismatch, you've been forked: unmap and map new pages, and do whatever post-fork "reinitialisation" that is required.