skysight-inc/HackerNews huggingface dataset:
Note that police brutality is the unjustified use of excessive force, not an appropriate response to an attack or a credible threat.

Our police in the US use this excuse far too often. They don't need to believe that someone has a weapon; many treat everyone as if it were the default when that simply isn't the case.

In fairness to the victims of police violence, this has got to stop.

>In a state where guns aren't common, the police officer would feel less threatened and be less likely to overreact.

We've allowed our police to develop a culture of brutality and cheating. Taking guns from the public (assuming that's possible) might make things worse.
Thanks for Redis. It has come a long way over the last six years. Looking forward for your "few side projects for the next years" to come.
The 'slick' library for scala ticks a lot of these boxes.
It allows you to write type-safe, idiomatic scala code to query your database, transform results into proper objects while avoiding the weight of an ORM.
Direct link http://nginx.com/wp-content/uploads/2015/01/Building_Microse...
How did Paul Graham go with his “predictions”?
> "In some particularly impoverished and malnourished areas, the disease has a fatality rate of 10 percent."

You may want to feed them before worrying about giving them a shot.
Hacking with Andrew and Brad: an HTTP/2 client in Go [video]
Would love to see this being done in other languages!
So magical it might even be a tax dodge... a lot of companies have a complex structure where some business units are optimized for tax, and other deliver services. They take the profit in the tax optimized units. That might be part of what is going on here...
Note: Requires registration and is PDF only. Not mobi or epub.

Still free though. I snatched a copy.
When I can do my ideal best, I write a remote facade to my database that provides functions and views on the data as an API, which can be adapted to an ORM or mapped nearly 1:1 to a DAO.

This API lends itself to TDD, and yes, you must test your database components the same as any other code. Preferably using database code. For PostgreSQL I really liked PGTap. Include this testing in CI and other unit test executions.

My sniff-test for a well-done schema is that developing application(s) around it should be clean.
I'm pretty sure the idea behind publishing this free book was gathering leads and potential customer-data for future marketing.

You know, if it's free, you're the product and all that yadda yadda.

By posting the direct DL link here, you are discouraging similar free offers in the future. If I were you and I appreciated free offers, I would consider editing my post.
This makes me think of Bunnie's "From Gongkai to Open Source":

http://www.bunniestudios.com/blog/?p=4297

And the general lack of compatibility between western and eastern models of imaginary property.

In this example allwinner is applying the eastern "share, modify, pass around" model, which isn't compatible with the western model of strict license adherence.

In Bunnie's case they're trying to adapt hardware/software developed with no apparent western-style license to a functional project.
Yea, it is indeed not responsive. But I think Antirez is affording his time more on his "side projects" rather than making it responsive.
Great Britain is the 9th largest island by area in the world[0]. It's not tiny by any measure.

[0] http://en.wikipedia.org/wiki/List_of_islands_by_area
Thought it read 'get lifts from birds' - disappointed.
If you are in an environment that is large enough for your programming problems to be widely available, you are also large enough to build mechanical plagiarism detection systems (which are a pretty widely researched field oddly enough). As an aside, if you have that problem with submitted work, you also have it with whiteboard/paper problems. How do you distinguish between a "good" candidate and a "well coached" one in the whiteboard setting? I personally think if your hiring pipeline is generating lots of "cheaters" you need to address the candidate collection not the candidate evaluation. You are fishing in the wrong ponds, so to speak.

I personally have no problem with candidates getting help on submitting their programming problem. I view effective help getting as a fundamental tool in a developers toolkit, so that in and of itself doesn't bother me.

I think you can do an onsite code review, where the candidate presents their code sample, teaches you how to use it, explains the tradeoffs, responds to criticism, etc. This should be just like what you are doing for your "real" code reviews (if you don't do "real" code reviews, how do you know that any of your colleagues understand the code they write?)

Over the years, I've grown a bias against even caring about that second step, because I have found so few people that do well on the programming problem part and then do poorly on the second part due to anything other than stage fright, but I understand I have an extreme position on that.
Glad to hear that it is sponsored - I did not know that. I agree with your points on the injustice, but with OSS it is hard to have it both ways. Lots of innovation comes from using OSS as building blocks by folks just starting out, who cannot afford it. Maybe we need more vocal social stigma against large profitable companies who built their company on free software and who don't give back. I've seen a couple good things happen recently though - with GPG and FreeBSD. Hopefully it is the beginning of a trend.
you don't have to look far to see how true your words are - there've been multiple security fiascos pretty much directly caused by what you describe and hopefully things like http://www.linuxfoundation.org/programs/core-infrastructure-... will start appearing. one can hope there will be a time when such initiatives will happen proactively instead of in response to a disaster...
DRY is the reason I write a remote facade. Security (e.g. sanitizing inputs) is less-repeated at the database boundary than at myriad application/ORM implementations.
Adware Bundler, IronSource, Raises $105M to Buy Startups Ahead of IPO
Agreed. However you can't legislate against inconsiderate behaviour, which is what leads some people to prefer other people are physically precluded from their vicinity. It's undeniably going to cause some contention.

And, yes, I enjoyed many interesting trips along both north and south sides of the river, also both towards and away from the city - it was undeniably frustrating to have to make often quite large detours 'inland' just to get past a couple of hundred metres of fenced-off foreshore. Cycling through areas strewn with shattered glass wasn't much fun, either.

Such a shame we can't all reach a 'let's not be arseholes' consensus.
Well, I am glad you asked two whole people.
> IT companies are leveraging a huge value from OSS without providing enough back to pay developments of more OSS. It is one of the biggest injustices currently happening in the "rich world", but there is no easy fix.

GPL?
Preventive Maintenance Software Equals Efficiency
USB Armory: Manufacturing the Open Source Computer on a Stick
Please add one exception - "Cloud" should be turned into "Butt", not bullshit. That's what the laws of the Internet say.

Otherwise, amazing work!
I think there is a big difference between gift and payment.

Your article is on skinnerian conditioning to train crows to pay for peanuts.

In this article the crows got peanuts whether they gave gifts or not. They just decided to give gifts. No training occured.
I have a feeling the inversion of the overlaid text should be the other way around: white on blue and black on yellow, instead of black on blue and white on yellow.

Really nice tool nonetheless, it has exactly the right controls.
Congress’s Copyright Review Should Strengthen Fair Use–Or at Least Do No Harm
All I got it to sensor was 'startup' and 'flow' by pasting in all the titles from HN. So I am pretty proud that I can't come up with such things more naturally :).
Not sure what is happening, probably Apache mod proxy is not configured well enough, since the machine is idle, and the Ruby process serving the requests is idle as well...

EDIT: Btw current deployment is "ruby app.rb" + Apache mod_proxy. Not stellar...

EDIT2: Problem found, was running via WEBrick since Mongrel was uninstalled for error from the server.
Find Out Which Cloud Provider You Should Use by Taking a Playbuzz Quiz
An Introduction to Systems Programming with Rust by Lars Bergstrom
Proxy Error for me.
nice, it needs a "random" button
This link is about Redis but I apply the same approach to databases: http://michaelxavier.net/posts/2014-04-27-Cool-Idea-Free-Mon...

The downside is that you need to express the command language, so you lose the ad-hoc querying capability that SQL gives you. But something more structured and more closely corresponding to the domain is generally want I want anyway.
As well as "revolutionary". Technically "revolutionary" is when something is overthrown. So your product is revolutionary if, and only if you have already put Sony, Samsung, Apple, or whoever else out of business.
I believe the point is to destroy traces of the information, not to prevent retention. For example, I often work with a few associates in a seperate country and there's a MASSIVE language barrier even though they speak english. We use randomly generated passwords so telling them the password over the phone seems about impossible. Theoretically this allows me to securely send them a password that they can easily record for future use. Transmission or storage of passwords over cleartext is generally what you're trying to avoid.
I thought Pac Man had been 'solved'?
As in, the Ghosts always follow explicit paths. I'm curious to know that if they increased the 'learning' to more than the last 4 frames, would the AI figure this out itself.
Surely the Freudian perspective would be something along the lines of him mourning the loss of his mother [1] and seeking to find a woman to replace her rather than really looking for a wife per se.

[1] http://en.wikipedia.org/wiki/Elizabeth_of_York
On sufficiently old/industrial PCs, the parallel port is a pretty usable GPIO header, especially the more modern implementations with bi-directional pins.

It's easy to use one to switch a transistor[1], for instance, and there is a Python library to control the port[2]. An optoisolator is a good idea since computers are expensive and isolation is cheap.

The DonglePi looks nice since it will exposes I2C, SPI, and PWM. I could see it being handy to test out I2C and SPI parts before integrating them into custom boards.

1. http://www.next.gr/uploads/139-016e0f9471.gif

2. http://pyserial.sourceforge.net/pyparallel.html
(a) They are not sharing the source at all. (b) Don't apologise for a huge company operating worldwide and breaking the law.
What sort of time limits are you talking about? If its on the order of "we'd like to have this back in the next week or so, unless you have something else going on?" I'll buy it.

If it is "you need to complete this problem in 2 hours from the time we on our server observe an arbitrary event", that would be a complete non-starter for me. A) those deadlines quite simply do not exist in the real world and B) it adds a whole level of stress to some candidates, much like the stage fright stress, that is unnecessary.
We were forced not to think in probabilities during my econometrics education if we talked about confidence intervals.

Say you have a confidence interval of 95% or higher (p value <= 5%), then the right thing to say is:

95% of the variance within the data is explained by the model (you've come up with).
but you're also never more than 72 miles away from the coast.
The solution is like the blog author's (maybe it was a different blog I read this morning): practice interview questions. Study for the exam.

Yeah, I can do that. Mmmm. And maybe I pass. But other companies won't make me do that...

So, if the aim was screening for people that want to work for Google above all else, then, yes, the screening totally works. But... Google would downsize you and your project coldly if there were financial reason to do so, so...
Note that the full copy is now available to purchase in both ebook and hardcopy: http://shop.oreilly.com/product/0636920033158.do

(No side-interest here, just found it confusing that the page mentioned "hardcopy expected to be published in May")
Sales of the Century (Streaming music and the death of the album?)
Swift 1.2 Arrives: 13 New Features
In light of last week's disclosures in particular.

- ARM® TrustZone®
- secure boot + storage + RAM
- user-fused keys for running only trusted firmware
- optional secure mode detection LED indicator
- minimal design limits scope of supply chain attacks
- great auditability due to open hardware and software
This is at best unethical and at worst against the contract that the company signed with the recruiter.

I once had someone offer this to me at an interview, and it completely sunk their chances.
This one looks like it's done with GreenSock, but you could probably get away with using Abode Edge Animate (more WYSIWYG, Flash-like editing experience).
How do you feel about testing algorithm design as a component of, or alongside a more "project based" homework test (project based meaning something like "Develop a few classes to interact with an API like so...").

Do you think developers need any grounding in foundation if it isn't explicitly part of their job description?

Finally, do you administer the homework test via a third party like HackerRank or develop your own problem and simply email it to them?
> What if I merely live in the EU and thus implicitly agree to the laws in Europw. Does that fall under "other action" or would I have to explicitly state that I think their patents are not enforceable.

It doesn't matter. If their patents aren't valid where you live, you don't need their patent grant.
What recourse does one have against a Chinese company? Has anyone ever shown the GPL to have weight in China?
Great concept. Improve it by adding the plural and gerund forms of the bullshit jargon words: synergies, leveraging, and so on.
I think it is very surprising even given findings about corvid intelligence.
I know of studies showing crows can count, but that kind of intelligence does not at all imply that a creature will spontaneously give gifts in exchange for food. This requires either some kind of ethics including reciprocity, or it requires that the crows reason that giving gifts will make someone more likely to give more food. The latter reasoning requires that the crows are able to model the behavior of an intelligent agent under hypothetical circumstances.

Bird brains are very different from mammal brains; they don't have a neocortex. So it's very interesting that they have developed similar gift-giving behavior to mammals and primates.
I've been broadly thinking about ways to take a bite out of this challenge. I've visited a couple of 1% for the planet[1] companies and been really inspired by what I've seen. In short, these companies pledge 1% of revenue to environmental causes. As the company scales it has a massive effect on their culture. I visited New Belgium Brewing (makers of Fat Tire) for instance, and a huge number of their employees are solely responsible for thoughtfully putting that money into action and funneling it into worthy causes. Imagine the impact that a double-digit percentage of the workforce of your successful company whose job it is to stand up for the things you decided were important _besides profit_. It's really incredible.

I really like the idea of setting up guard-rails like this to embody cultural values early on in ways that keep the organization accountable to them at scale and I wonder if something similar could help OSS. It's not hard to imagine a similarly structured pledge being adopted by companies and being popular with developers. It could be structured in hours or money, executed with developer time, donations, or hosting OSS developers like Stripe has done.

If I allow myself the thought exercise of what happens if something like this started to see adoption, I imagine we'd see projects beginning to license themselves favorably to companies who make this pledge in a variety of ways.

At any rate. That's roughly what I've been noodling around with regard to this problem.

[1] http://onepercentfortheplanet.org/ and I highly recommend Yvon Chouinard's book Let My People Go Surfing, which was where I was first exposed to the idea http://www.patagonia.com/us/product/let-my-people-go-surfing...
As someone who likes the GPL and supports the idea that all software should be Free, the thing that bothers me about it is how "closed" it is to projects based on other Free licenses.

GPL projects "take" from BSD/MIT/Apache/etc projects (in the form of libraries, supporting software, etc) and only give back with conditions they can't accept.

You can say it's on them, for choosing the license they chose, they accepted that this could happen, but on the other hand, isn't that exactly what we're criticizing companies for?
Have you tried Twitter Bootstrap? It follows the "mobile first" philosophy that you're after, and it's also quite easy to disable responsiveness entirely, if needed. I'm mainly a back-end developer and I (passionately) hate doing front-end work, yet with Bootstrap I feel like it is taking a huge load off my shoulders. AFAIK it does a great job at supporting the various browsers, widths, orientation and so on, also comes with some boilerplate JS for stuff like highlighting a mandatory form field, handling modals, buttons etc...
React.js Conf 2015 Notes Diagrams
Hiring Developers on H1B Visas – What I've Learned
IMHO, yes, binary building blocks matter a lot in lisp philosophy, whether or not they're built on javascript arrays.
Hm? "I think this was a huge step in the right direction."
I guess what I am arguing is, that if there's any fair test, it has to be practical and not metaphysical, that's why I think the Turing Test is a step in the right direction. Do I make the claim that the Turing Test as-is is fair when it comes to determining "consciousness" by any reasonable and practical manner? No.

If I am reading what you are saying correctly, I surmise that you're saying that the Turing Test doesn't say anything about consciousness, but rather, is just about the probability of a machine being able to fool a human. I am saying that the reason why Turing even ponders the question is that there's no good way of definitely answering if a machine (or another human for that matter) is conscious or not. So that leaves the ability of being able to fool (or convince) other thinking machines that one is intelligent (or conscious) as the only viable metric.

I feel like most of this is mainly semantics. I too, don't believe that one can actually determine the consciousness of anyone but oneself. However, we do convince ourselves that other humans are in fact conscious, so it's still interesting to try to figure out what it would take for us to do that, and then apply the same standards to machines.
I think it completely depends on the task given. If it's a quick question or some MCQs, I think giving X hours is fine.

If it's something like "design this project/prototype" then a week should work.
Thanks for a honest feedback.. But I think I'll continue working on this.. May be some day I'll have a few contributing users..
I'm in the process of moving some of my data storage from oracle to redis. Having already used Linq has made this easier. I had a pretty small data-model though. I think that in a large project switching databases is a large effort with or without ORM.
The culture of hiding salaries can only work in an employers interest. I can't see situations where it would be in the interest of the worker (unless they are earning silly money and feel they need some kind of "protection").
Amusing. I absolutely suffer from the urinal stagefright. I'm also terrible at whiteboard coding. Or playing piano in public. I recall from childhood the time my father invited me to play a song I knew by heart in front of one of his friends. I got a couple bars into it, flubbed a few keys and then the song just fell completely out of my memory. I had nothing.

Pretty much any time I feel like I'm being evaluated by someone, my brain goes into an overly defensive, self-critical mode where I spend more cycles trying not to screw up than I do actually performing. It's generally a disaster.

Strangely, I discovered my cure many years ago when I was able to crank out Mozart's Rondo Alla Turca in front of an entire wedding party. Under just the right level of inebriation, alcohol seems to dampen the self-critical part of my brain just before it starts affecting much else.

Unfortunately, it takes quite a bit of alcohol for this effect to kick in. And sadly for me, this hack is a bit harder to pull off in a job interview situation without coming off like a high-functioning alcoholic. It certainly helps with the phone interviews though...
I guess I used to run past your flat - it was on my route home from work. It could have been a very nice route, but as you say, developers had built right up to the river in places. I had to keep shuttling onto roads away from the river, and then back again. What could have been a nice place, available for all to enjoy, was spoiled to enrich a few people.

What sort of city planner would choose not to have a public walkway alongside the river?
Ask HN: Do other industries pool resources like the software industry?
I realize there are still some issues (eg patents), but in general many companies have embraced giving back to the software ecosystem. To name a few projects - React, Go, Bootstrap, and Rails. There are also countless blog posts and educational resources out there.

Are there other industries where knowledge and tools are shared in a similar manner? Are there industries that are held back because they don't give back?
Hiring is not an exact science. The question is not whether looking at GitHub profiles is a good way to evaluate skill. The question is whether it is better than what would have been used instead. In the absence of objective evaluation criterias, people tend to use superficial ones.

To put it bluntly, it is more fair to judge candidates based on Github profiles than whether they are beautiful, looks good in a suit, possesses a firm handshake, are in shape or smiles a lot during the interview.
South Korea, as I understand it, has this principle of ensuring that the author of anything Internet can be personally identified.

This kind of accountability might help even the odds between what is otherwise a named individual vs. an anonymous mob. I honestly don't know if it's a good idea or not, though.
Why staying private sucks, if you’re a tech company
Ask HN: Please give me some webapp ideas
It would be great if I submit a project idea for my college tech fest.
I've to submit an idea by tomorrow.
I'm interested in webapp, but currently I've no idea about what to make.
So pleaes give me some ideas... I'll make it..
I've to submit the idea by tomorrow and Final code will submit later..
I'm not quite sure how much I like this. I can see my search results getting populated with a bunch of apps that I don't want, like "Game of War". This will be interesting to see how this plays out.
The big trend in the airline industry is to customize prices and availabilities to each individual request. Your location (IP address), your frequent flyer status (if logged in), the competitor's current prices, the distribution channel (e.g. web or travel agent, GDS) will all have an influence on what is presented to you. Meta search engines have had a difficult time reporting accurate fares even in the past when it was much simpler. In the future, it'll be almost impossible.