skysight-inc/HackerNews huggingface dataset:
If you are mapping your RPC-style API into a REST interface, you are doing it wrong.

REST as an architectural style wants you to think as your API as a collection of resource representations that can be manipulated through simple verbs (as the one present in HTTP).

It forces you to think about idem-potency, caching, namespacing, immutability and robustness.

If your API doesn't have abstractions for long running processes or more complex business transactions, you don't have a RESTful API and need to adapt it.

Furthermore, if payload size and minimizing the number of requests is your most important goal, why are you using HTTP in the first place? It's not the right solution for you.
I wrote something that was hashing audiobook files that was taking forever, so I tried using the first N bytes (likely much more than 10kB), but soon found that for any given audiobook, each chapter's MP3 had a large identical header on the front end - I imagine that it was a cover image embedded in the metadata.

I think in the end I just started taking the data from the end of the file, but if you're going with subsets, it's probably better to use a pseudo-randomly selected subset rather than a sequential subset. It doesn't have to be a different pseudo-random subset for each file, but I imagine there's an ideal noise profile in the sampling (maybe white noise is best).
Attributed to "Many otherwise smart people."
Congratulations on the acquisition.
is there any plan to create mobile app for creating / browsing issues ( offline support ) in near future ?
Thought they just used icon overlays, much like all other status-icon shell extensions such as version control (TortoiseSVN). Not exactly some low level windows hack, it's a plugin system in Explorer. I probably have five or six such icon overlay extensions on my machine.
I agree 100%. We are all idiots now and then, even when we're not purposefully trying to be by adding ducks.
Mostly 20-30 somethings with tons of free cash laying around. Obviously, there are more than a few of those around.
I would not be surprised at all if the budget for this has been reduced. Google's profitability is under pressure from its decreasing search advertising margins. The story recently about how YouTube wasn't actually profitable points to how Google has struggled to find anything other than search advertising that could bring in the bacon, and well Facebook is nibbling on that bacon already.

That said, Mozilla (and/or Yahoo!) might be in a good place to host something. A "Get Your Social On" sort of thing with Twitter/Facebook could be intriguing. And generally a non-company specific 'Coding Man' (think Burning Man but with more screens and less dust) sort of festival might be quite the event to attend some day.
> POST is protected because it assumes it (1) will change data

That's is not correct. That's a community assumption that you're parroting. I have seen and implemented plenty of endpoints where this is not true. There is no technical implementation barring a POST from any particular technical action.
Not being able to start a sentence with "And" is actually quite common and is found in vast amounts of professional writing. And if that wasn't true this sentence wouldn't make sense.
God I lost a bunch of hours to that game. Kinderheitstrauma.
>if people are reliant on other people's computers to do their computing, they have no computing freedom at all.

That's not true. They lack the ability to ensure their freedom, yes. But they don't necessarily lack computing freedom.
I did that and they told me that I bought a modem off their list that isn't sold commercially so they wouldn't attempt to let me use it.

Apparently there are only a select number of DOCSIS 3.0 cable modems that support multiple static IPs.

As a note - even though your IP may not change - the rest of the world knows it's a residential IP and many email servers will automatically bounce email from you.
You surely meant:

GET /index.php?do=getOrder&customerID=33245&orderID=8769
"Random" was poor wording on my part.

What the exponential distribution means is that bus arrivals are completely independent. The time since the last bus came doesn't affect the probability that a bus will come anytime soon.
Facebook invents an intelligence test for machines
True.

But a bad example. Microsoft uses automatic proofing for their (and third party) device drivers. Windows NT series is very reliable and has one of the best OS designs. The Win32 subsystem and shell comes with a lot of legacy and is a different story.
> And in that cause you can scp your repo somewhere and change your origin and move on.

If you happen to have - god forbid - a php app that pulls dependencies via composer you have a hard dependency on github since composer pulls practically all code from GH. I don't consider that a good idea, but that's how it currently is. [No, I don't do php and only sometimes have to clean up the resulting fallout]
Logic: claiming to be a current apologist of DVCS while simultaneously positing that DVCS should be abandoned.
Open Source File Syncing and Sharing with or Without Cloud
I've heard of (but never tried) a similar thing done when showing design concepts to a client. Usually several variations are prepared, and if you're any good they will all be viable options. When presenting to a client they will normally want to try and critique something regardless of how good the designs actually are.

The story goes that you are supposed to make an obvious mistake, like a spelling error, on purpose. This will fulfill the clients' need to provide a critique and allow good designs to remain an option.
awesome questions! There will be tech blog deep dive that goes into more detail, but just to clarify things a bit we are using h264 as the underlying codec but the protocol is a combination things -- h264 packets over websockets is where we started too!

Usually you want a "reliable" transport (tcp) for handshake, some transfer, etc and then you can get away with a more fire-and-forget (udp) stream for everything else. We broker different connections for different scenarios. The web version is naturally limited to either webrtc or websockets but for the paperweight it didn't make sense to force a web paradigm (or full webbrowser just to access limited socket types) so we interface directly with the hardware.

Haven't encountered big problems with firefox, but browser inconsistencies are definitely something we spend a lot of time working through
Agreed.

That said--and this is without knowing the exact build and tooling environment, so I may well be giving advice inappropriate to the situation at hand!--the second part of that "keep some binaries along with the source files they're generated from" is kind of an antipattern.

If it takes too long to generate them from source, each time erry time, they need to fix that issue--least of all because slow builds mean slow testing, and slow testing means no testing.

That's why I spent two days earlier this year moving a 30-minute build down to a 2.5 minute build.
Link to arXiv paper: http://arxiv.org/abs/1502.05698
Awesome!
So, I'm trying to take my own measurements to see if the 3D model would be accurate.
I downloaded the PDF about measurements, but I find it not specific enough. For example, chest girth: depending on how much air I got in my lungs it changes a lot! I guess I should measure when it seems the most « normal », but a little more information would be greatly appreciated (:
Is PostgreSQL your next JSON database?
Oh, I stand corrected! Thanks for clarifying.
Thanks! We have no plans for a mobile app at this point. We try to make GitLab work really well on mobile screens. There are also native mobile apps created by the community https://about.gitlab.com/applications/ but I'm not sure if they support working offline.
Come Join the Computer Vision World Facebook Room
Hey, if you're interested in computer vision, come and join. Anonymous posting room with free discussions about computer vision.

Invite here:
https://drive.google.com/file/d/0B9B6Jun4jX98SW1haHlUOWQzUjRfNFFYQV94UzB0SHc3SVZF/view?usp=sharing
Personally I prefer snake-case but most languages (including the ones I use most) do not support names with dashes in them.

That, and it's easier to type (reduction of combo-pressing shift and the key for _)
First article published this morning:

https://www.airpair.com/firebase/posts/making-a-keenio-dashb...
I had a teacher telling us to change a 120 pages long document back and forth three times. The third time we showed her the hardcopies with her revisions and hand waved it away, trying to gaslight saying it wasn't her handwriting(!). Same person saying that the hardcopy we had of the OMG.org specs[1] was wrong (same class, I believe it was a different day) because she wanted Use Case Diagram[2] didn't have arrows denoting directionality (Use Case Diagrams do not have directionality, they just represent interactions). It's one of the two teachers I've ever walked out in the middle of a class in my life.

(The other was one in an engineering thesis orientation class where one of the "teachers" said that "everything that could be invented has already been invented". I walked out immediately, followed by a few other people seconds later after some other comment.)

[1]: http://www.omg.org/spec/
[2]: http://en.wikipedia.org/wiki/Use_Case_Diagram
I just tested flexboxin5 site on IE10 and it seemed quite broken. Can you describe how you make IE10 work with flexbox without tons of work?
At least the claims about Bitcoin sound like bullshit

"Security difficult to quantify — depends on extrinsic factors"

Nope, the security is very easy to quantify in Bitcoin - you know that there is certain amount of processing power behind a single block. As your transaction goes into the blockchain, you can be pretty damn sure that won't be reversed, once enough computing power is behind it.

"Blockchain forks often — difficult to build applications upon"

Nope, bitcoin blockchain forks very rarely. Where is this claim pulled from?
Fair point. That was more my laziness in creating the fictional example (I just added the _ to the camelCase).
They might not be doing it (and probably aren't), but they do have the right.
If data provides competitive advantage, while compute is commoditized, there is no need for a false dichotomy between cloud and local. Future hybrid architecture can fluidly move the line between local and distributed compute, including other-peoples-algorithms, fusing local (secure, private, competitive, licensed) data/algos with public data/algos.

Local storage and local compute continue to fall in cost.

As long as humans remain sensitive to subsecond latency of repeated stimulus, and the speed of light remains unchanged, local user interfaces will offer competititve advantages.
The paperweight is completely optional. In your case, it would make sense for him to use one and then you could access his desktop through your web browser. One of neat things about streaming desktops is that you get screen sharing built in
Is Ember.js fast yet? Progress on the new Glimmer rendering engine
I'm going to go ahead and say that that's a red herring.

A successful business is built upon so much more than whatever code is in your repo.

Any competitors are probably more likely to look at the code and ignore it over their own home-grown solution than to adopt it wholesale...and if they can beat you with your own code, they would've beaten you without it, because they probably run a much better business game.

Trade secrets are like the stupidest reason ever to hobble your developers.
The Dark Side of Science
Artificial chatting utility matching algorithmic nodes
Thanks for all the feedback! Unfortunately, I cannot respond to all of you because Hacker News has some kind of spam system set up that stops me from it.
You could of added a few steps, like find out what is the right svn branch to commit source code to, because they might only accept patches to the dev branch vs the trunk branch for example.
It's satire. He didn't actually write this and there is no missing cat.
I want to piggy-back off this: PLEASE all projects, continue to offer monolithic packages as an option. It takes an act of Congress to get some servers internet access to fetch packages; being able to download a VMWare image or a blob to install makes testing a whole lot easier.
Previous discussion: https://news.ycombinator.com/item?id=8984648 (410 points, 29 days ago, 143 comments)
Indian cuisines are quite labor (and time) intensive as compared to the other cuisines I've seen, and that's why hard to prepare. For example, going by this link (http://www.vegrecipesofindia.com/malai-kofta/ ) , the curry based dish 'Malai Kofta' (very popular in India) is said to take 1 hr 30 minutes in total. Even if it's 1 hour, it's too much time just for a part of food (It's eaten with a 'naan' or flat bread, which needs to be prepared separately).

Certainly more time consuming than stacking raw meat slices and veggies inside a bread and topping it with mayonnaise.
How about this then?

GET /index.php?do=getOrder&customerID=33245&orderID=8769
In Unity 4 there was this weird licensing model where certain IOS/android features were not available for the personal addition (such as UDP broadcast, or network access).

Is this still true? or is unity 5 personal addition really contains all features?
Cloudfront is cheaper, that is true. The same 500mbit/s outbound via Cloudfront is $381,173 for 3 years at list prices. I think that this has given Cloudfront an enormous pricing advantage in the CDN market, considering that using any other CDN means paying EC2/S3-outbound plus the third-party CDN's prices.

If your content is highly cacheable, you can still use a third-party CDN and come out ahead. Since your EC2/S3 outbound will be 1/100th or 1/1000th of the total outbound, it starts to not really matter. For dynamic content, you're essentially being double billed, which is undesirable.

Either way, you're not going to get content out of AWS for an order of magnitude less money, which is what you can get in a conventional datacenter build. AWS is billing CDN-style: per byte transferred. When combined with the hit rate, this makes some amount of sense for a CDN service (like Cloudfront): every byte transferred has an impact on the edge caches.

I don't think that it makes much sense to bill EC2 bandwidth this way, but since people are obviously willing to pay it, Amazon has no real incentive to restructure their pricing.

This practice is probably the single largest source of lock-in for AWS, even above all of their hosted services like ELB and SQS. It's also why startups that run out of money sometimes can't let people take their data (photos or whatever): they simply can't afford the outbound bandwidth fees.
Agreed (although there are few things funnier than a well-placed duck)
Manage your startup online – everywhere!
I recently released my first game using Unity: http://newbeings.com/ and I spent a real long time weighing the different engines. I wish I hadn't spent so much time deciding on an engine, and had just picked one and gotten on with it. I think the differences are pretty negligible for first (and probably even third and second) timers. This news makes me happy!
I've read that facebook implemented flexbox-like layouting in javascript to use with react native. I wonder how much the two implementations differ.

https://www.youtube.com/watch?v=7rDsRXj9-cU&t=996
License server down for maintenance. Throw some more coal on it :)
No, but Google Compute Engine does a bit. For instance, Azure is at least twice as expensive than Google for cloud compute. (In addition to having their weirdass PaaS design leaking into their IaaS. Nice service otherwise.)

I was super hesitant to use Google for anything (A: because I dislike them now, B: I couldn't be sure they'd be committed to it, C: I recall they screwed people on Google App Engine?). But their offering is so much more straightforward and much cheaper. No commits, just use VMs and get discounts.

GCE is also way faster to start up. And single-core performance blows away Azure.

Azure and AWS make a big deal about storage and transfer, while ignoring they're way overpricing the CPU.

Edit: Here's Google's pricing "philosophy": https://cloud.google.com/pricing/philosophy/ where they explicitly say they're committed to Moore's Law and others aren't.
I don't disagree with any of those points. My original post just stated that I couldn't imagine any fitness pressure that would be making humans smarter and, if anything, we were probably going in the other direction. My secondary point was that change can happen on short timelines.

I do want to mention that larger social organizations were quite widespread in the Americas, despite the existence of hunter-gatherer tribes. The new world certainly wasn't an uncivilized wasteland when Europeans arrived.

Epigenetic factors can be triggered buy group size (domestication) as well. So those hunter-gatherer tribes might share the same genetic traits but express them differently based on their environment.
Git's user interface is awful until you understand how the organic hairball underlying it is organized, at which point you can mostly "get it." Darcs' hand-holding approach to this is a great example of how to do it; Mercurial's also pretty good (for Hg you need about one tutorial and previous SVN experience, or two tutorials, to "get" it).

What Darcs really lacks is a good "Tortoise" client for seamless Windows integration. It was tried (last release 8 years ago; I feel like I can safely talk in the past tense about it) but the userbase has not been large enough to sustain it.
This is not really my area of expertise, but is the Harvard CS department actually in the same league as Stanford? When I think of top CS schools, I think of MIT, Stanford, Carnegie Mellon, and Berkeley. Neither Harvard nor Yale come to mind. Maybe they are trying to play up the HYS rivalry for people that know even less about this than I do.
> Whether REST is a style or a standard is irrelevant

Yes it is relevant.People right on HN spend their time arguing over what is restful and what isn't ,because vague "semantics". with RPC,no argument.And to be frank, if you're not using HATEOAS , there is very little difference between a api with beautiful urls and a few headers and rpc.

The original spec is brilliant yet way to vague to be useful. RPC isn't HTTP,which is totally handy in the context of micro-services as one can implement RPC over any protocol. that's not the case for Rest...
If particular frameworks want to tie themselves to a single server/host, that's their problem, and is specifically not a problem with any of Github, git or DVCSes generally.

You really cannot stop all people from being idiots all of the time.
https://blog.mozilla.org/blog/2015/03/03/unity-5-ships-and-b...
Famously, Apple coined the term "Bicycle for the Mind".

I think one of the things that really separates us from the high primates is
that we’re tool builders. I read a study that measured the efficiency of
locomotion for various species on the planet. The condor used the least
energy to move a kilometer. And, humans came in with a rather unimpressive
showing, about a third of the way down the list. It was not too proud a
showing for the crown of creation. So, that didn’t look so good. But, then
somebody at Scientific American had the insight to test the efficiency of
locomotion for a man on a bicycle. And, a man on a bicycle, a human on a
bicycle, blew the condor away, completely off the top of the charts.

- Steve Jobs

That's one of the reasons I've always loved Hypercard. [1] It made ordinary computer users programmers -- heck, it was even used to create the hit game Myst. In the video linked below, check out the used car salesman who creates a tool for matching cars with his customers. In the nineteen eighties no less!

As computers have become more consumer oriented, the ordinary user doesn't _need_ to know how to program. There are plenty of apps for individual purposes. But I often wonder how different things would be if our operating system were more like Hypercard. Need a calculator app? Build one. Okay, perhaps a waste of time you'd say. But let's say the ordinary user could build a calculator app -- those skills could be extended to piece together ever more sophisticated tools.

A lot of people argue that ordinary folks don't want to program. Or don't have the time... Recently I saw a tweet that turned the Bicycle for the Mind phrase into a dystopian one: A Treadmill for the Mind. Perhaps we have more time than we think, but we burn it on computers doing pointless things.

1: https://news.ycombinator.com/item?id=3624149
Unfortunately that is not possible because of the hosting costs for Gitorious.org. We're reaching out to archive.org to index everything but it is probably not easy to git clone from there. Feel free to create mirrors of things that are important.
Bozo the Clown was a huge innovation: a franchised, national brand of kids entertainment, made possible by TV. The creators laughed all the way to the bank.

https://en.wikipedia.org/wiki/Bozo_the_Clown
Deis v1.4 – Now on Azure
Entire remote offices work exclusively through VPNs to the main office. It's definitely a major usecase.
Does not work in ANY web browser:

1) it requires internet connection.

2) it requires JS and graphical browser. Links console browser for example does not work.
Microsoft-stack developer doesn't understand how HTTP works. Film at eleven.
I see. I'm still skeptical about how robustly that will turn out to work in practice. Unless the majority of coins are locked up by validators, it seems like there's a constant risk of an attacker amassing a large number of coins and suddenly turning them into voting power with no warning.

Upon re-reading the paper, I also noticed that it says "In the beginning of the Propose step the [deterministically chosen] designated proposer for that round broadcasts a proposal to its peers via gossip" but it's not obvious to me what happens if that proposer fails to participate. Is the algorithm allowed to skip to the next round? If so, is there some guarantee that the gaps can't later be filled in, and the history retroactively modified? (The DLS algorithm solves this problem by requiring all nodes to propose a value.)
Think You Got What It Takes to Be a Successful Startup? Advice from Dan Martell
State Machine Attacks against TLS
If you just want get an idea of how it works, try the "Eliza" example. That connects, via an ssh client implemented in the browser, to the hosting server.
You seem rustled.
I think you've inadvertently put your figure on the part that really matters. REST is worse than SOAP or something like Thrift for discoverability, worse for ease of use, worse for practically every criterion you could think about. The one thing it does right is being easy to explore with a web browser.

So optimize for that. Make it easy for a developer to look at your API with a web browser. This means simple URLs. It may mean a limited form of HATEOAS, in terms of providing links to the next things.

But it absolutely doesn't mean using HTTP status codes to convey important information. It doesn't mean using content negotiation for API versioning. It doesn't mean adopting every new HTTP verb, and frankly there's a lot of value in making every endpoint accessible over GET and POST. Those who insist on strict REST are missing why it succeeded.
Sad news. I moved all of my repos from GitHub to Gitorious in order to get away from proprietary software, and now I'm (almost) back at square one. The public GitLab instance at gitlab.com runs the proprietary version, so I cannot move my repos there.

I like GitLab more than Gitorious on a purely technical level, but GitLab unfortunately has a CLA[0] and uses the MIT expat license, whereas Gitorious used the AGPL.

I guess I will just self-host my own GitLab CE instance now.

[0] http://ebb.org/bkuhn/blog/2014/06/09/do-not-need-cla.html
Ugh, I am glad that I had not noticed that before.