skysight-inc/HackerNews huggingface dataset:
Thanks for the feedback! I tried out your suggestion by running the following:

SELECT id, meta->>'title' as title, meta FROM(
SELECT id, meta FROM (
SELECT id, meta, tsv
FROM data_rows, plainto_tsquery('search query') AS q
WHERE (tsv @@ q)
) AS t1 ORDER BY ts_rank_cd(t1.tsv, plainto_tsquery('search query')) DESC LIMIT 5
) AS t2;

Please let me know if this isn't what you meant. The above did improve the speed but only a little. I think for our use case this approach wouldn't be entirely necessary but maybe if we had a larger data set then it'd be worth implementing.
It's 6.5.1-6.5.10 of PCI v3.1. That's all security testing. You can use a static analyzer like Brakeman to speed things along instead of doing it manually.
That's great to hear, but how much did that change for you or others when the holocracy processes were added? I can see where that could totally change how I feel about a job even if I still love my coworkers, the job perks, etc.
> This is probably true, but it's absolutely true that it not the responsibility of people in Western countries to help the billions of poor in this world by importing them. That's called the "White Man's Burden" and it's exactly what he's arguing for.

The argument is that the fortunate has a moral obligation to help the unfortunate. It may be of religious origin (it's central in Christianity but probably also exists in Judaism and even earlier religions) or it may be just something that is a consequence of empathy.

Some people believe that people born handicapped should have to take care of themselves and that they shouldn't have to contribute anything (eg paying taxes) to their welfare, even if they die. Their lives is not their problem so why should they pay for something like handicapped children that they didn't cause?

I think you have a duty to help the less fortunate because that's the right thing to do, others may disagree. Scale the argument up, and fortunate countries have a duty to help less fortunate ones.
We have it here at Yahoo. I've personally never been to one, but I know a couple people that have and they've liked. Can't you do one session for free and see if you enjoy it?
I got a $40k raise when I switched jobs the first time, and I was paid pretty well before then (not quite $100k, but I'm not in a tech hub either).

Then again, that's the only time I've ever done it, so I can't really say at all whether that trend might continue (almost certainly not).
> Chile is the south american economic miracle as a result.

Is miracle the right word? Their 4% growth is impressive, but GDP per capita is on par with Eastern European countries.
The Science of Craving
How New York and San Francisco's Tight Housing Markets Are Hurting the Economy
The thing I struggle most with with Haskell is the direction towards cleverness that code seems to tend towards.

I guess a lot of it may be a mindset issue - but the way the python forces simplicity is quite appealing to me. I've heard similar thoughts from people who like Go.

'Good' refactoring in Pythonland tends to mean often splitting things into smaller functions.

In Haskell, it can mean making functions 'points free', which is clever, can result in very nice looking one-line functions, which are totally incomprehensible unless you know exactly what types all the functions involved take and return. Or moving the logic out into combinators or higher order functions which can be used in many places, but become increasingly abstract in name and in variables.

Partial application & currying are amazing, and often results in very elegant solutions - but again, unless you know beforehand how many arguments a function takes, it's easy to miss that someone is talking about a curried function, and not the result of said function.

The crazy math-oriented naming of variables by single letters rather than by 'accumulator' or 'first_input' or whatever, especially in tutorials, API documentation, etc. also require an extra mental effort each time. It reminds me a bit of perl, in that way. Just because you can write code as a one-liner, doesn't mean it's always a good idea. Python refuses to let you write code as a one-liner (beyond very simple things), and so the tendency to name things extremely laconically is reduced. Pylint and other tools even throw warnings when you try to use single-letter variable names.

The argument always is, 'You can write complex & hard to understand code in any language!'. Yes. That's true. Of course. But also, languages are more than just the syntax, the culture and available libraries & documentation are quite a big thing too.

The direction of Haskell code is, at least in my feeling, towards increasingly abstract concepts. The direction of Python code is, IMHO, towards simplicity.

Another, perhaps related issue is Exceptions. In simple scripting / basic applications, you could have a whole bunch of different exceptions raised, and honestly, you don't care which one.

For instance, saving a file. If there's a permission error, out of HD space, invalid filename for this disk format, network timeout on NFS, restrictions on what kind of data can be put in this filetype, whatever. Some of these may be IOErrors, some may be json encoding errors, or whatever. Often, I don't care which it is, I just want to throw up an error message saying, "Something went wrong: %s." % err.msg. Being able to ignore exceptions in the small, write very simple & concise code that can raise many different kinds of exceptions, and only catch them further up where it makes sense can often mean I can lump many unrelated types of exceptions together by what area of the application they're part of.

I feel like Python is moving in the direction of a better compile-time experience with the new type annotation stuff in the latest 3.x version. I really miss that security when working in Python.
Is higher education public in America? What's with all I'm hearing about student loans then? It seems that without that, your whole argument falls apart.
Don't this guy too seriously. He made people take a long APL course as part of their job interview process.
They really haven't shown that. See boixo's paper and troyer's work.
Except this is an implementation of a proposed standard parallel for loop. The main purpose of a standard is to codify old-hat technologies so people don't have to reinvent the wheel anymore.
>Akamai and Amazon are complicit because they are the CDN on a bunch of the links on the page.

Yeah, and google is an accomplice to thepiratebay for having links to them on their search results.

CDNs do not review what content is served from their servers. Send them a complaint and they will, maybe.
This article has more meaty info:

http://spectrum.ieee.org/semiconductors/materials/the-toughe...

Highlights:

> In the GaN FET, on the other hand, the two-dimensional electron gas already exists naturally. So a positive voltage applied to the drain immediately pushes current from source to drain. Thus the amount of current is varied by applying a negative voltage to the gate, which restricts the number of electrons available to flow from source to drain. A large enough negative voltage turns off the flow altogether. Thus in contrast to a silicon FET, which is normally off, a GaN FET is normally on.

(Somewhat misleading; silicon FETs that are "normally off" are enhancement-mode transistors. Of course, there are depletion-mode MOSFETs, and of course JFETs. There are even power MOSFETS that are depletion mode, see here:
http://www.ixys.com/documents/appnotes/ixan0063.pdf
In any case, this confirms the new transistor to be a depletion mode device. This has implications for biasing which could be inconvenient in some applications. In any case, it means it's not simply drop-in replacement for enhancement-mode MOSFETs in existing designs.)

> One of us (Mishra) has succeeded in making bipolar GaN transistors. But they are not yet as reliable as the FETs because at the moment it is very difficult to make p-type material good enough to use in a bipolar transistor. Applying electrical contacts to the material, as is necessary to connect the device into a circuit, often wiped out the semiconductor's p-type character.

If these challenges are solved, the idea of a new kind of BJT is exciting.
The most impressive new technology is often the result of massive spending by entities far more powerful than myself.

Guns are technology which can directly kill me, but I'm not too worried about guns, or even must gun owners. But when you're talking about a technology that (due to massive cost) is only available to governments with questionable oversight, that gets worrying.

In this specific case, I'm not particularly concerned - but you can see how the availability of the tech in question matters. If only people who are already more powerful than me can have it, it's much more likely that its power can be (ab)used to my detriment.
If you ask "why" up the chain enough times you eventually end up at some immutable law of nature. But that's completely missing the point.

Fixing the cause rather than the symptom doesn't mean you have to go study evolutionary biology. "Babies exhibit racial bias" doesn't inherently lead to mass incarceration and murder. There is a whole system of causes between one and the other.

And as for an actual solution, the top voted comment has already provided it. You can't have bias in drug cases or police shootings if there are no drug cases or police shootings. End the war on drugs and mandatory minimum sentences. Demilitarize the police.
I was going to suggest GCD as well. IIRC it's FreeBSD implementation is great and it's Linux port is adequate. But yes, queues, producers, consumers, and OS level parallelism is the way to go!
Can chocolate and cakes steal your memory?
Your assertions are simply not supported by evidence from countries that already have free higher education.
Seems nuts to use South Africa as a case study for the potential success of opening borders, when it's in the grip of massive xenophobia against immigrants from upper Africa (that has already resulted in a number of murders).

http://www.ibtimes.com/south-africa-xenophobic-attacks-2015-...
From one side you show socialism as the root of all evil, from the other you propose another utopia: home schooling.

>Then they can take a day off or saturday

Do you really believe that this chaotic schedule would ever work? Every parent have to work somewhere else with an agenda that might not fit. And then? One lesson of a particular subject once a month? Once a year?

>Even poor people could do it.

How? As an e.g what would a janitor teach?

>But of course that would threaten the government's schooling system and it's not allowed.

I think most countries would be happy to do it. Maybe not US.
Discussion from 3 days ago: https://news.ycombinator.com/item?id=9496392
I prefer the book "Algorithms" 2nd Edition by Sedgewick. It is long out of print but can be had used for a song.

Implement each algorithm in the book in your preferred language. The algorithms themselves are presented in Pascal, which IMHO makes them easier to understand.

Now implement them all in some other language - not your preferred one.
in the last year, yahoo has found and fixed issues in bro, osquery, and grr. the impact of improving the security of any one of these tools is praiseworthy, to contribute back to all three is just incredible.
Some may still quit. They may just not have taken the last second offer. Instead, I wonder how many are interviewing and will leave once they have an offer safely secured. I'm sure Zappos will not want to publish that, because combining that will take them to probably 20+% turnover. Ouch.
Strangely, it didn't do that well on /r/gamedev - I get the feeling that this talk, coupled with the article (https://docs.google.com/document/d/1iNSQIyNpVGHeak6isbP6AHdH...) this will become the "definitive" article on 2D camera boxes. Great work!
Upcoming Material Design CSS Library – A Twitter Bootstrap Killer?
I wonder how fast it'll be when (hopefully) we have more jobs in the database. Just curious to know.

And a great catch! The search is not perfect yet. False hits are returned if a city name occurs within a job description itself. For example, you search for Java in San Francisco, other jobs will be returned too if they contain San Francisco.

We're aware of this issue and it's on our top to-do list. Plus we're analyzing searches to make them better but right now there are just to few jobs in our database.

And thank you for your input too, old man!
Can a day pass by without a new fucking programming language?
Keurig sales down 23%, primarily due to backlash against DRMed cups
The book "Project Orion: The True Story of the Atomic Spaceship" by George Dyson is really fascinating.

The Orion project was all done before the Apollo project was planned, so it is kindof an alternative way the US space program could have gone. Rather than launching dinky little space capsules, they were planning on launching thousands of tonnes into orbit. The spaceship would be a literal spaceship, build similarly to how you construct submarines. The scientists involved kindof assumed that they personally would get to go on a voyage to Saturn (why not, there's plenty of space in the ship...). Compared to what we actually got, with chemical rockets, it was way more impressive!
Are you creating visual studio / visual basic but with some new language?
Here are the P-51s from the flyover today. https://www.flickr.com/photos/52736032@N00/17438682725/in/da...
> The US seems to have been in a cultural decline for much of the last 100 years.

Can you explain what, exactly, you mean by this? Looking back 100 years, I can't help but see an enormous amount of improvement in culture, at least in terms of the tangible impact of culture on the lives of people living in the USA.
Plenty of developers at Apple, Facebook and Google making 400K per year total comp. They aren't the majority, but there are enough of them to not be rare.
Connect with lots of FB friends who are people you've never heard of.

Claim that your favorite books are books that you would never even consider reading. Do the same with films you would never see.

Facebook's "members" are not its customers; we are its product.
If you look back far enough, those same rich countries look no different than those who suffer today. What I'm not talking about is not social justice or fairness. It's the results of ones life and choices made that affect both people making those choices and those that come after them.

Arguably the greatest of the past empires, who probably fits your profile, is the British Empire. Look back far enough and Britain has been colonized itself several times. The populations there suffered.

Generations of those people worked to bring a better future and their descendants, as well as many others, enjoy the benefits of that work. Why should they not enjoy the fruits of that labor?

My own home is worse off because the cold war didn't go so well for them. Should I be bitter at the western capitalists for this or should I do what I can to build a better life? My personal view is that the latter is far more productive and is likely to result in better outcomes.
My first view shows me the site is already flooded by recruiters. That's a deal breaker got me personally.
I even knew about that manifesto (from you), and the reference still flew right past me.
> if they survived this long its a testament to chance or their builders.

People in the old days occasionally got lucky, it's more chance and survivor bias.

Once you travel the world the first thing you should realise is no current buildings/temples/old stuff is real.

They are all rebuilt / patched with concrete.

Case in point, a lot of the temple in Nepal got destroyed in the earth quake 80 years ago. They are rebuilt temples falling again.
Wealthiest ZIP Codes in America
Americans take it for granted that the level of education at American colleges is extremely variable. Cornell is called "college" but Tumbleweed State Technical College is called college, too.

The education one would get out of university in Germany is equivalent to a top-25 college in the US. On that front, the Germans are doing rather well. How many Americans have a degree from a top-25 institution?
SEEKING WORK: local, remote

Victoria, BC, Canada

I'm primarily interested in web development, front-end and back-end, but also in working with databases. Willing to consider taking on new challenges, whether new work or further development.

Primary capable tech: HTML, CSS, Sass, PHP, WordPress, C#, ASP.NET [MVC], Web API, MySQL, SQL Server

http://grantpalin.com
grant[remove]@grantpalin.com
Markup.rocks – in-browser markup edit, preview and conversion
I know "good enough" is probably not just a good idea with a startup, it's possibly mandatory since there's only so much time and money. But as a user/consumer/customer/target demographic I can't begin to describe how much I disdain knowing that something exists on a site but being unable to find it using search, particularly when I know the exact title. Reddit's search several years ago was quite bad and left a sour taste in my mouth.
there is also https://linux-sunxi.org/A13
Understand it as: Chile is not a meritocracy.
Yep, 3k -- and for the same reason. http://bigthink.com/inside-employees-minds/zappos-will-give-...
You are totally right. And universities like Harvard would not be allowed to exist/operate under Chilean law.
> Reducing land-use constraints in high-productivity New York, San Francisco and San Jose to the level of the median city would expand their labor forces, boosting U.S. gross domestic product by 9.5 percent, according to estimates from a new study by the University of California at Berkeley's Enrico Moretti and the University of Chicago's Chang-Tai Hsieh.

That seems so implausible. The combined population of NYC, SF, and SJ is merely 3% of the US population. I am sure that fraction bunches above its weight, and nearby residents surely contribute too. But how much more effective would NYC/SF/SJ be if they were cheaper to live in?
Yes, any of them is better than rolling your own.

Even if they have bugs (it is unlikely they don't), they'll still have less bugs than own implementation.

If you are still not convinced, at least give user option what to use.

curl[1] is a good example of giving freedom to the user.

[1] http://curl.haxx.se/docs/ssl-compared.html
Are you an AWS employee? They're the only people who ever say good things about working at Amazon in my time reading HN.
I'm from Argentina (Córdoba) and this is very accurate. I dislike a lot of things in my country but if there is something to be proud of is the universal access to education for everyone and the quality.

There are a lot of things to improve, IMHO some of the plans are a bit outdated and teachers get a low salary.
Just as strange is that the British Royal Navy took the lives of a thousand French sailors after France fell to Germany. This because the Brits didn't want a French ship to fall into NAZI hands.
yup searched 'angular' and only recruiters showed up no _real_ companies. If I want to sift through a sea of recruiters, indeed does a great job of that.
Just be careful. I used to work at Nortel in Canada which at one point had over 90k employees. When I worked there, I believe they were making $18 billion a year in revenue. Profits appeared to be good.

A few years later it turned out the "good profits" were actually accounting fraud. The company tanked and everyone lost their job. But Nortel had a fairly good pension system, so the people who had worked there for 25 years or more were fine, right?

Well, the company feared that while they were tanking the "best and brightest" executives would leave. Oh my! What to do? They were allowed to siphon the pension money into "executive retention bonuses". Of course this didn't stop the company from ultimately running out of money, but it did get rid of a large part of the pension money.

Investigate your pension scheme and make sure you understand what will happen to your money should the company go out of business. Especially find out where the pension system is ranked as a creditor. No company is too big to fail.

As for me, I only worked there for 5 years and left when it was at its height. After I quit I got a letter from Nortel stating that my minimal benefits were not worth it for them to administer. They were going to keep my pension money and I was welcome to sue if I didn't agree. I guess as it turned out, it didn't make much difference...
The 60ish percent number almost definitely includes community college ("2 year") degrees, which German apprenticeships mirror.

The percentage of Americans with a bachelors degree is closer to 28 percent.
It's not that the current residents of those cities would become more productive; it's that people currently living elsewhere are less productive in those other places than they would be if they moved to NY, SF, or SJ.

So if those cities built lots more homes, people would rush in from elsewhere, and those newcomers would be more productive in their new locations than they were in their old ones, increasing US GDP 9.5%.
I understand you very well. We're from NYC and most jobs here are in the financial industry. They pay really well but it's hard to go through all those staffing firms and, later, interviews.

My co-worker says "there's life outside of financial industry" but, somehow, we get to stick to "financial" jobs.

Well, that's been my experience for the past 15 years or so.
Very nice, please add at least some of this; grep, rm, secure, file, top, trace, ping, whois
I thought it was that dangerous fine line.

Four lives is a drop in bucket in Nepal.

I'm all pro for technology.

But I just don't want people thinking four lives matter in the scheme of things.The world in not that sort of sugar candy and gumdrops sort of place.

Saving lives is cheap and easy as you point out, I'm just saying be aware this is a PR stunt. And hey it'll work. And NASA will get more funding which is great. I just like to be aware of what's real and what's not.
I felt the same way after using it. I've switched to React since and I can say it's amazing. Far better than the other solutions IMO.

Debugging Angular was completely useless without tests too. It would be a waste of time to write anything in Angular without them.
This is probably the most fascinating response I've ever received by a non-newbie on HN.

I'm not even sure how to think about it. It's like some kind of weird attempt to get shadowbanned or something.
It's worth remembering that the USA had heavily regulated borders between 1921 and 1965 and it's impossible to know how things would have turned out if they had stayed open. More incidentally, starting during WWI, speaking German in the USA was not encouraged, to say the least.

Furthermore, I would argue that the modern US government was _invented_ during the era of closed borders. Consider the New Deal's various incarnations, Social Security, robust regulation of business, the Wagner Act, etc. Continuing on to post war managerialism. Libertarians may want Guilded Age business policy and immigration policy, but a lot of people just want to cherry pick the immigration policy.
This was written by my undergrad advisor and his PhD student (who is now also a prof at BYU). I think it was partially funded originally by an exploratory grant from the NSF. The website has editions back to 2008, but there were earlier ones--we used it when I took Optics in 2007. Students were involved in developing the material, by contributing to the historical profiles, participating in filmed demonstrations (also on the website), and of course providing feedback.

A nice thing about having an open textbook like this is that I can refer to it anywhere, instead of only at the office where my other texts are.
That's a Bluetooth 2.0 dongle. The Bluetooth 4.0 dongles are more like $3.50 at the cheapest.