skysight-inc/HackerNews huggingface dataset:
It's some of all of them, but it's mostly #1. There's a big indie gaming glut. Every week Steam gets more new games than I can watch the trailers for, much less buy and play. And those are the games that manage to make it through Steam's (admittedly far less selective than it once was) admissions process. Like squeaky-clean says, check out Greenlight some time. Even if all of the games on Greenlight were good (they're not), who the heck has time for all of them?
Pure REST is great for toy examples, where every domain entity fits neatly into a resource and every operation is a CRUD one that can be represented as an HTTP verb. So there is a million tutorials explaining how to build a REST API for a blog with BlogPost and Author resources, or an ordering system with Customer and Order resources.

In my opinion REST is fat more easier to understand for non-CRUD resources. The whole idea of CRUD makes REST sometimes seem like an HTTP adapter to the database.

However, when you move beyond these simple examples and start trying to build a REST API for a messy, complex system, you immediately run into trouble. How do you deal with non-CRUD operations? How do you deal with long running processes?

You POST the work to be done to a resource. That resource returns a URL where you can follow the state of the long running process. An alternative would be to provide a Webhook that will be called when the long running process has finished.

Or entities in an indeterminate state?

Same principle, return its actual state on a GET request (polling). Or use a Webhook (push).

How do you aggregate multiple resources into individual request/responses for performance?

Use HAL embedding or multipart.

How do you de-duplicate identical entities within an aggregated response?

Use the hypertext caching pattern in your caching layer or proxy. Use the URL as a unique key.

How do you return only particular fields?

Use HAL embedding, query parameters or a subresource.

How do you handle paging and filtering?

Use link relations and query parameters.

How do you handle transactions?

That's exactly what POST is for.

How do you handle authentication and security restrictions?

Provide a token header over https. Avoid magic URLs based on cookie state (i.e. even when you are logged in as mike your account details still are at https://example.org/user/mike/account). Restrictions are a product of the token and the requested URL.

All of these things can be solved, but by the time you've finished, your API will be far from easy to understand.

That is true, it won't be easy to understand, but it will be simple, composable, discoverabe and scalable.

It will need a load of accompanying documentation to make it usable

In my experience the opposite is true, true REST (which includes hypermedia controls) need less accompanying documentation. It makes resources more predictable and less dependendent on URLs.

All of these things can be solved, but by the time you've finished, your API will be far from easy to understand. It will need a load of accompanying documentation to make it usable, and will have a bunch of weird corners where you're initiating operations as a side effect of setting entity flags, or you've noun-ed verbs in order to turn an abstract operation into a resource. E.g. PUT /server-reboot-attempt.

In stead of making a separate resource for every action it would suffice to make one that receives actions by POSTing to it. You can respond with a URL that represents its progress. And it will also save a lot of unnecessary links or hardcoded URLs.
Agreed. Far too many weasel words in one statement.
Reading TechCrunch Using Python and Data Science
And you're still not even trying to offer a real explanation, just engaging in a flamewar.
What would be an alternate to empiricism, for looking at Indian food from a different angle?
I meant reproducing (like in the quote), but sure:

http://www.apollon.uio.no/video/a_robot_e.mp4

And the press release:

“In the future, robots must be able to solve tasks in deep mines on distant planets, in radioactive disaster areas, in hazardous landslip areas and on the sea bed beneath the Antarctic. These environments are so extreme that no human being can cope. Everything needs to be automatically controlled. Imagine that the robot is entering the wreckage of a nuclear power plant. It finds a staircase that no-one has thought of. The robot takes a picture. The picture is analysed. The arms of one of the robots is fitted with a printer. This produces a new robot, or a new part for the existing robot, which enables it to negotiate the stairs.”

-2014 Kyrre Glette "Using 3D printers to print out self-learning robots"
The FAAS scripts don't replace cadofactor.py. They're intended to spin up a bunch of ec2 instances, configure them, and then call cadofactor.py on them with parameters optimal for that size of cluster. The CADO-NFS guys were super helpful in this process.

Unfortunately StarCluster is currently out of date, and I ran into a bunch of difficulties adapting things to c4.8xlarge instances that don't seem to work out of the box anymore. That and random ec2 volatility were the source of most of the necessary handholding.

If someone has a suggestion for a lighter weight replacement for StarCluster, that would be great.
That's okay @thoran! Thanks a lot for having helped me gaining a better understanding of this topic.
Even at the height of U.S. paranoia during the Cold War, the guy who tried to assassinate the President got a fair trial, and was acquitted by reason of insanity. In fact, he's regularly let out to visit his mother in her home, up to 17 days at a time: http://www.cnn.com/2013/03/20/us/john-hinckley-jr-fast-facts.
That's scary, given that in April, Google will start using mobile-readiness in its ranking algo.
Do we need an e-sports association?
What are your thoughts on AI? Poll: AI Possible or Not, Friend or Foe https://news.ycombinator.com/item?id=9140132
How Get Yourself Noticed on Linked in (For IT Professionals)
I'm glad I'm not the only one who found this approach childish. Adding "ducks" has one of two outcomes:

-Best case: Someone sees your duck and you've all wasted time adding and then removing it.
-Worst case: No one notices your duck, or maybe even likes your duck. You now have a sub-par creation.

Instead, try communicating. If you think a change to your work is bad, say so. You might even learn something about a manager/PM's reasons for adding and removing things. They might learn something from you if you communicate your reasoning well. If your managers aren't open to discussing projects, find a different job.
> Not so much what n and k to set, but how to get such an entity to do anything at all.

I don't understand what you think the problem here is. Computers are machines that run programs; my laptop doesn't require an evolved self-preservation drive and set of motives to be convinced to boot OSX every morning. If we program a machine to solve an optimization problem, the machine will just do it, assuming the problem is solvable under whatever algorithm we implement. If the optimization problem involves a sufficiently flexible representation of the real world, and if the program's architecture is set up to pipe solutions into some sort of mechanism (even just a text interface) that acts upon the world -- as it would need to be, to interact and learn from experience -- then the machine will act.

What actions it will take depend on its utility function (i.e., on the optimization problem we gave it), but the vast majority of utility functions will lead to actions that are not aligned with human values. The space of utility functions is incredibly vast, an artificial agent would not be subject to the evolutionary constraints that caused humans to mostly fall within a particular very small region of that space, and pretty much all utility functions lead to behavior like "try to avoid being switched off" and "try to acquire more computing resources" since those are helpful instrumental goals for a wide range of tasks.

Sure, we're nowhere near having a "sufficiently powerful optimization algorithm" and a "sufficiently flexible representation of the real world". But these tasks are essentially THE goal of modern AI research. So it's worth considering what will happen if this research agenda succeeds, whether that happens in a decade, a century, or a millenium.
They also had very different motives and methods for what they did.
Yes, I ran into this bug as well.

Another small bug, slide 13: "...while we've got these three fixed-width items here, take a minute or two to explore the container styling options at the top of the page."

The container styling options are in the middle-right of the page, at least on my desktop browser.
And a sizable demographic still thinks he's some sort of Muslim commie traitor despite his hawkish approach to security. If his attitude to leaking of classified information was as relaxed as some people wish, he'd have been impeached by now.

I predicted some time ago that Snowden would eventually come back, be imprisoned, and pardoned by Obama on leaving office, possible along with Chelsea (nee Bradley) Manning. I stand by that prediction.
Could happen. Look at Clinton's last-day pardon record. I wouldn't rule out something similar for Obama on his last day in office.
> 3. Examine the signatures (E.g. gpg --list-sigs 6A93B34E). Do you trust anybody in that list to have verified the ownership of the keys?

Well what if I don't know if I can trust them. Also I couldn't possibly verify them in person so I need to recursively walk through the signing keys to find a trusted signature. Isn't there an easy cli command for this? All I could find are online path finders.
Besides sharing, who's to say that the machines couldn't do it faster/more efficiently than humans do and so gain the experience at a faster rate.
Those words might be loaded, but they aren't wrong.

He is wanted by the government to face criminal accusations therefore he is a fugitive. The word doesn't imply guilt of anything beyond not turning oneself in.

He used to do work for the CIA and NSA therefore he is an ex-U.S. spy. The word spy is only being modified by ex-U.S., it isn't implying that he is a current spy or has worked for any other government.
It's pretty hard to get past the speed of light. I assume that as demand grows for their service internationally they'd have to distribute data centers around the world.
> They already have core competencies in power, land, maintenance, staffing, R&D, etc that are sunk costs.

Their cloud offerings expanding mean more power use, more land use, more maintenance, more staffing, more R&D. It's not all sunk cost.
so simple yet so useful
But ReadDirectoryChangesW notoriously misses updates. Also it would scale horribly to large amounts of files.

NTFS has a feature called Change Journals where you can view a volume as a stream of changes.
> my biggest fear is that a powerful nation will use AI for their own advantage, mostly in the form of propaganda and mass manipulation through Internet.

Chances are it is already happening. More advanced AI will give governments and corporations the ability to do the same in a much more effective way, and on a larger scale. Large-scale intelligent data mining will make it possible to use people's data to build actionable models of what they think, what they will do next, and how to affect what they think and do. Better than humans could.

It doesn't even need to occur through sockpuppets, so the anti-sockpuppet regulation you propose would be not only highly intrusive but also ineffective. Here's an example: Facebook can manipulate your emotional state by selecting what goes into your newsfeed [1].

[1] http://www.theguardian.com/technology/2014/jun/29/facebook-u...
Hey,

thanks for the feedback!
Already thinking of ways to make the pagination less exotic :)

The white line on top is by design. Good eye!
"Just fucking google it" will always get you downvotes no matter how you phrase it. Downvote people asking for sources if you think they're being lazy.
> My position on this issue is both a combination of my lived experience having never felt discrimination in the tech community

So something that just happened, I was looking through local meetups and the second picture was a white dude with a HUGE oversized afro and headphones on... if you came upon this wouldn't you find it a little unwelcoming?

I know I personally do.
Ask HN: What are good smartwatch app use cases?
I'm curious what smart ideas you all think we'll see from the coming wave of smartwatch apps.

For example, Dominos released their pizza ordering smartwatch app http://www.eater.com/2015/3/2/8135967/dominos-new-smartwatch-ordering-app

What other things make sense? I'm really just hoping to spark a discussion on this.
You have missed the point of REST. REST is an architectural pattern for a World Wide Web global-scale system. Your API may not fit that description. Thus, REST may not be appropriate for your API.

Following the REST patterns means you can take advantage of things like standard agnostic intermediaries for caching & filtering. You can switch or even spread across service providers by changing domain names in URLs. You can mitigate network issues through guaranteed idempotence and using conditional headers like if-none-match. These are all issues that you'll probably have to rediscover and re-solve on your own, if your API lives long enough.

It is not about SEO or visually "clean" URLs. REST says nothing about that, despite many misconceptions otherwise. In fact, in a truely RESTful service, resource URLs can be obscure garbage like http://example.com/A13D-DE45-32BC. If you're using the HATEOS principle, those URLs will be picked up from links in your responses.

"Pidgeonholing" your errors to standard HTTP error codes means that you've followed a shared standard, rather than inventing your own from scratch. Also, 4xx errors generally refer to something in the client's request, while 5xx errors generally mean something has gone wrong while generating a response on the server side.

If you don't need any of these things - because, say, you're building an API that will only be used between two parts of your own small system - then don't worry about REST. Go ahead and build something along RPC lines.

You might regret it someday, if you find yourself needing the scaling characteristics of the WWW. But, many systems never grow to that point anyway.
There are some serious small text font rendering issues on this page with Windows+Chrome. Almost unreadable really.
Fugitive is correct. ex-Spy no. He was a network admin, not an analyst.
EG Robotics: Building a Robotics Ecosystem in Egypt
Is this using optical flow to make better interpolated frames? http://gpu4vision.icg.tugraz.at/papers/2011/werlberger_emmcv...

There are two commercially available retimers (atleast) that use optical flow for frame interpolation

Twixtor https://www.youtube.com/watch?v=uxF4lSmkRW8

Kronos https://www.youtube.com/watch?v=lX3ki0CzBCM
I have been using it since 1.3 (I believe) and I used to be a big fan of it.
I think BTSync's strength was that it was fairly simple, somewhat more simple type of system where you could just share key and start syncing; no account creation required. Now it seems to be departed into more with a strong push to identify based access control and such. When they started moving toward that (I've tried their 2.0 beta briefly) I just felt Syncthing is where my usecase belong. (Simply, all I wanted was a solution to move and update files from A to B to C.)

It sounds like 2.0 still provides the same functionalities, but in any case, that 10 folder limitation will not work with me anyways. I don't mind paying for what I use, but I just don't think it's a implementation I prefer any more...
Schedule an appointment with your Doctor ASAP.

Don't wait until you are told you snore or that you wake up a bunch. I don't stop breathing, but my breathing slows down to a point that my oxygenation levels get crazy low.

I'm still in the first month with a CPAP, but the nights that I can tolerate it, I'm waking up in a much better mood, and feel far more refreshed.

Your results may vary, but don't hesitate to get checked out!
The Small Business Web
This is sort of ironic considering that a leading opposition politician in Russia was gunned down within yards of the Kremlin a few days ago.
What do you think of the interviews? Is there content you find interesting?
great questions! amazon workspaces is conceptually very similar but implemented very differently. A few key differences: 1. they focus pretty exclusively on enterprise and the tooling around configuring, monitoring, and backing up AWS is not something you can jump right in to as a non-technical person. 2. we

With paperspace, we want to provide the power of cloud computing with a really foolproof access layer. i.e. you go to our website, click a button and a new machine is provisioned for you with all the tricky stuff worked out. In the case the paperweight, using it requires almost no configuration at all. you plug it in and it connects to your desktop in the cloud.
They're still available if you ask for them. Can't we disable them at compile time like it was done for SSLv3?

$ openssl version
OpenSSL 1.0.1k 8 Jan 2015
$ openssl ciphers -v EXP
EXP-EDH-RSA-DES-CBC-SHA SSLv3 Kx=DH(512) Au=RSA Enc=DES(40) Mac=SHA1 export
EXP-EDH-DSS-DES-CBC-SHA SSLv3 Kx=DH(512) Au=DSS Enc=DES(40) Mac=SHA1 export
EXP-ADH-DES-CBC-SHA SSLv3 Kx=DH(512) Au=None Enc=DES(40) Mac=SHA1 export
EXP-DES-CBC-SHA SSLv3 Kx=RSA(512) Au=RSA Enc=DES(40) Mac=SHA1 export
EXP-RC2-CBC-MD5 SSLv3 Kx=RSA(512) Au=RSA Enc=RC2(40) Mac=MD5 export
EXP-ADH-RC4-MD5 SSLv3 Kx=DH(512) Au=None Enc=RC4(40) Mac=MD5 export
EXP-RC4-MD5 SSLv3 Kx=RSA(512) Au=RSA Enc=RC4(40) Mac=MD5 export

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779669
Conduit / Perion?
Slideout.js: A touch slideout menu for webapps
You claim that Google could use personal photos of my kid eating ice cream to sell advertising? This seems directly against their terms of service found at http://www.google.com/policies/terms/.

> Some of our Services allow you to upload, submit, store, send or receive content. You retain ownership of any intellectual property rights that you hold in that content. In short, what belongs to you stays yours.

Do you have any proof of this ever happening? Do you have any legal case that support your claim? Can you please point to the text in their TOS that leads you to believe this?
Blackberry Leap
Utter nonsense? You seem to misunderstand.

Bread and rice turn into sugar. A lot of the sauces contain stuff that metabolite into sugar.

You can feel the difference in blood sugar between an indian meal and say eggs and bacon, at least I can.

Indian food has so much sugar, that it's hard to eat it and be in ketosis (where your energy supply comes from ketones in the blood)

You need to do more research as you're completely missing that sugar comes in various shapes. I'd say your sentence is utter nonsense, but that be rude.

My experience with Indian food comes from living in Singapore. Yours might be different.
It's not set in ancient times, but Banished is pretty good: http://www.shiningrocksoftware.com/game/
http://en.wikipedia.org/wiki/Bus_bunching is a real, studied thing.
Here's my problem with this article: Return to sanity by adopting what?

I work on several small-ish projects, and due to the leads coming and going, there are a smattering of source control solutions. On a weekly basis, I use SVN, TFS, and Git about equally.

However, the workflow supported by Git is by far the best for me: I can commit locally as much as I want, rebase the commits or just merge them with work other people are doing, bisect if I broke something, and even branch locally to experiment or when I get interrupted by a question or another task.

Neither TFS nor SVN support this at all. With both of them, I can't really check in until I'm completely done and sure I won't break the build or tests. I end up zipping my directory or fighting with patches/shelvesets that don't do what I want.

Now, does the way I want to work require a DVCS? I don't know - perhaps it doesn't in a theoretical sense. However, DVCS is the only one that actually supports that now.

So sure, we all push to the same repository and it could be a centralized system. But what would actually work? What can I switch to? I'm not abandoning Git for TFS or SVN, that's for sure. Nor Perforce which was also painful.

Yes, you convinced me I don't need the "D" in DVCS. So make a CVS that supports local branching, commiting, sane merging and diffing and show it to me! But complaining that I'm not using one of the features of my DVCS has no bearing on if I should abandon it or not.
Infowars is that way -->
Yes, it was given to a few journalists. The full document load is no longer in Snowden's possession.
There are indian food that contain potato.
A lot of indian food contain naan (bread) and rice. Lets not kid ourselves here. It's your ignorance that assume sugar means sugar alone, but in reality bread (flour or corn) and rice is essentially sugars.
ASK HN: Microsoft blocking 'offensive' words in password
I tried using the word dxxk/pxxxy in my password, but it says character not allowed. Is it fair. Screenshot http://imgur.com/rbQdbYP

URL: https://signup.live.com
pass: microsoft are dicks
"disposition matrix", although I don't think getting on that list even evolves a court, just an advisory panel made up people picked by the executive breach, but it is hard to know for sure since it is all considered secret.

EDIT: how about a counter argument instead of reflexive down votes -- yeah it sucks our government kills US citizens without much due process but that's the truth, try not to avert your eyes.
Old school + new school

http://www.popularmechanics.com/technology/gadgets/a14363/bl...
Are you useing Docker or CoreOS??
Interview: John Henry Talks Pitch Decks, Exits and Accelerators
About a year ago I had the misfortune of working with a program manager. He asked me to create a PowerPoint presentation on something totally unimportant and irrelevant. After failing to explain this to him, I decided to accommodate him figuring that he would become more reasonable once he knew a bit more.

After emailing him the presentation, he called and asked me to switch the 2nd and 3rd bullet on one of the slides and then send him the revision. Our relationship went downhill from there. Finally I had no choice but to marginalize him.

I don't think the author of the article had code reviews in mind; she's alluding to this sort of nonsense when you sense her negative tone.
Maybe:

File > 12 KB: First 4 KB, last 4 KB, middle 4 KB
File <= 12 KB: Just hash the damn file
Are you using Docker or CoreOS in your architecture??
The Ultimate Guide to Lead Generation on the Internet
Yep, HN is home of the middlebrow dismissal.

https://news.ycombinator.com/item?id=5072224
And this is why we use C++11 wherever we can.
Some military research centers may have developed something that is far more advanced than whats available in public. (Wouldn't be surprising, considering their ridiculous budget.)

Perhaps this talk about dangerous AI in the past year is to acclimate the public to thinking about this issue before the reveal.
Listening to the audio of the interview... the author describes visiting the MIT biology class in person. He sat in the back, felt distracted by someone else goofing around with his phone, and couldn't pause the lecture. He left feeling like the online lectures were better, as they were distraction-free and could be paused while watched.

I few years ago I took a 3-day class at MIT in person. I sat in the front, was totally absorbed in the material, and could ask questions of the lecturers in real-time. I left feeling like it was the best educational experience of my life, and while, as a working professional, I can't readily spend all day in school any more, I would like very much to take more short courses in person rather than online.
There are also some pretty cool Banished mods on the workshop including http://colonialcharter.com/.