skysight-inc/HackerNews huggingface dataset:
Very interesting story. I'm glad that the story has a happy ending. While reading the story, I felt how the world still has a huge reserve of big hearts, and they can only be found at the right situation. Also, gratefulness is not only a great virtue, but also pays off sooner or later.

Being said all that, recently I've read many similar stories of sharp fall from the height of success. It seems, many people working in the private sectors are vulnerable to "keep running, or you are doomed" like theory. The social and economical structure in many countries, even many developing countries, are different which prevent the "fall from the cliff" like cases. Strong family bonds, affordable permanent ownership of properties etc are key to stability.

Many EU countries have balanced structure where you can choose to slow down in your career path, and to enjoy life. Although government in those countries charge a huge percentage of tax, they take care of their citizens to prevent the sharp fall in career and life.

Perhaps, too strong capitalism, attention to too many distractions all over the world, relying on numbers instead of the quality in those numbers etc are affecting the whole domestic socio-economic balance.
I alway use if it if i need to fly to a new place, and want a good view (eg not on the wings)
It only makes sense if the backup cities are already owned by the government. If populating those cities post-disaster requires government appropriation of an entire city's worth of private real estate assets, the resulting financial and political instability could well dwarf anything wrought by the original disaster.
Calif. governor proposes amnesty program for those who can't pay traffic debt
REST is well defined, it's just that most guides don't explain it well. REST is just a list of 6 possible characteristics of network protocols/architectures (Client/Server, Stateless, Cache, etc), and an explanation of the benefits gained by having them.

That said, it's true that REST by itself doesn't tell you how to build an API. But all of that arguing about PUT/POST/PATCH, links here or there, etc, are mostly bikeshedding. It's like arguing for tabs vs spaces or whether the { should go inline or not. Just read the HTTP spec and then, when in doubt, just pick one and try to be consistent.

But you're right that many programmers don't deal well with that. It'd be nice to have some kind of reference protocol using HTTP & JSON and complying with REST, even if it would be as arbitrary as any other possible RESTful protocol.
High interest debt in that graph is usually understood to be above market returns (8% and up).
Hey everyone, all feedback is appreciated. The main point of the service is speed, and ease-of-implementation. It's very easy to setup an account, and the API is very simple.

Always curious what fellow HNer's opinions are.
See http://cbor.io/ for details about RFC 7049 "Concise Binary Object Representation" (CBOR)
Do you mean this:

https://github.com/lxcd/lxcd

or something else?
Is Google search solving a np complete/hard problem relatively quickly? Is that how you become a billion dollar company?
That was one of the best articles I've read in a while. While I think the article could have had a better title, and it doesn't dispose any 'useful' information, it is incredibly well written, and interesting.
Yes, but you have eliminated one vector of attack - a faulty or compromised RNG.

> Is it more likely that the RNG is compromised than the bitcoin software?

1) That's a weird question. It's not like they are mutually exclusive. Both are possible. Dice allows you to eliminate the RNG problems.

2) http://en.wikipedia.org/wiki/Random_number_generator_attack#...
The Funny Found Poetry of Early-20th-Century Typeface Demos
cocaine is one way.
Surprised this hasn't gotten more upvotes. Very useful for a ton of different apps and I see you've integrated with instagram and whatsapp.

It's probably something most HN users won't care much about (this isn't really the demographic), so try the younger, teen/tween market instead.
No, propagation speed is equal to viral factor. A fad is analogous to a very contagious, but a mild virus. Infected people will gain immunity after a while and the virus vanishes. This happens when a fad becomes boring and not worth sharing with other people.
This might be a surprise to you, just a touch, but liability for injury costs is effectively meaningless when you've killed someone.
The point of containerization is to take services that conflict and run them anyway on one kernel. If you already know your services are well enough designed and packaged that they can coexist with just process boundaries, why add overhead?
So basically I have to find a problem that categories as P but not NP!? Kinda like the Planck constant in quantum theory. f(2) = 4, f(3) = ?

/brainstorming
Yeah, but the original idea was a social welfare plan. The target isn't those who will take initiative to find and buy a tiny parcel for their trailer (tiny parcels are a very hard thing to find), but the people stuck in a rut of trailer living. Its not about the opportunity already being there, it needs to be presented as a realistic option.
But what happens in the above scenario? Does the PEO kick ass when necessary for its members? Does it, like the lawyers and doctors, ensure that its members are remunerated well?
This was in 1955!

There are comments here trying to contrast Nash's work to modern cryptography, as though that's somehow fair. Nash never had access to anything remotely like a personal computer and this is just after the age - and in fact still one - where physical and mechanical devices were being used to perform encryption.

The better thing to do would be to compare (rather than contrast) his work. Look at this letter. Nash essentially predicts trapdoor functions and the P/NP gap... in a mere letter.

We were lucky to have Nash and his contributions. It's unfortunate that most of his academic work is largely unknown and that pop science focuses disproportionately on his work on equilibrium in symmetric games.

May he rest in peace.
So how does an ocaml module compare to a Haskell type class?
I was a little kid but I well remember that fight where Ali became champion. All my peers adored Ali but adults, while not liking Liston in the least, wanted to see him keep his title and silence the young Olympian for good.

The only thing I can liken it to was if some fast talking braggart spouting poetry suddenly upset Mike Tyson in his absolute prime. No boxing experts gave Ali a chance at all of winning.
I'm only in my 30s so I don't have a strong recollection of it, but it seems that buckle design change pretty significantly in the 90s.
https://github.com/thestinger/playpen (whitelist: https://github.com/rust-lang/rust-playpen/blob/master/whitel...)

It'd probably be feasible, but a royal pain to setup.
I think the idea that JSON isn't "REST" is because, unlike XML, it doesn't define links.

That said, JSON is just an encoding format. The actual response format is not "JSON", but the specific structure that your clients are expecting to receive (even if it is encoded in JSON), and that can certainly have links.
Hopefully sarcasm, not narcissism.
So rumprun allows you to run rump with the NetBSD lowlevel bits included getting a baremetal image where the highlevel parts target rump. Is that what this is and does that limit hardware support to NetBSD drivers and supported architectures?
Do you have evidence that Apple does? They have made no claims that they do, instead continuously pointing to human vetting as their filter on malware, which is laughable. We all know that unskilled contractors stepping through some policy checklist aren't a legitimate protection against malware, but it's enough to fool people like Gruber, many bloggers, and you 14 hours ago before I pointed out your mistake.
It's in a faraday cage!
Well no, every problem in P is in NP trivially.

To prove P = NP, you would have to prove that one of the many NP-Complete problems has a polytime algorithm. Well that's not the only way to prove P = NP, but that's one approach.
RIP Professor! :( sad
I found this paper to be an excellent discussion on the implications that Physics has on the complexity question,
http://www.scottaaronson.com/papers/npcomplete.pdf
Fortunately there are no HTTP requests going on that cause this behavior. It is done by JS, using Local Storage.
Nobel winner Nash critiques economic theory (2005)
Haskell's typeclasses automatically do dictionary passing for you; OCaml modules require you to specify the dictionary yourself. See http://okmij.org/ftp/Computation/typeclass.html
Yeah could do, but the problems with the hackintosh are a pain. I honestly can't wait to upgrade. My current CPU is the intel 3770k and the 4.0ghz iMac processor is around 30% faster at max usage.

I've moved most gaming to consoles, just not super interested in PC gaming and the iMac can still do most of it.

If Apple bring out a Mac Pro though with a gaming performance GPU I might consider that too, but thats never going to happen any time soon, lol.

Also finally I love the glassy reflective screens. Just so used to them these days and using anything but is just odd to me.
Or, you could just stick to your ethics even if it is inconvenient.
I liked the article, but I did not like the eye in the header blinking at me as I read it.
You must be confused. There is no "Internet Advertising" permission on any mobile platform.
Personally, I was considering Netflix as a poor choice as the first H1B sponsor because I thought you (your H1B) are tied to your employer for some initial time. If that is not the case, I could reconsider Netflix :) Assuming that they give enough termination notification (and also helping with landing new jobs, as they mention in those famous slides). My former boss works at Netflix for a couple of years now and mentioned about good opportunities there, but Netflix was out of the table for me because of this possible initial H1B moment and generally because of that "the culture of fear".

Btw, how do you feel about this? Does this fear really exist?

Is it possible for a good engineer to have a relaxed life and atmosphere and a family friendly situation at Netflix?
OCaml modules and Haskell type classes are quite separate, too. I would make more sense to compare OCaml and Haskell modules. Haskell type classes implement ad-hoc polymorphism and OCaml doesn't have that at all. You can't implement in OCaml something like a show function that works on integers and strings and list of integers and so on like in Haskell using the Show type class.
All I can say is that I hope you're never in a position where you have to do "insane" things to protect your own life or career. It's an experience that I wouldn't wish on another person.
>A basic income would hopefully create some increase in consumption.

But you took the money to pay for basic income from someone else. They would have used it for consumption and possibly investment (or savings, which is also invested). So it is not at all clear this would result in a better economy.
I think he meant LXD, the daemon for managing LXC containers written by Canonical. See https://www.stgraber.org/2015/04/21/lxd-getting-started/.
I guess that the point is that, compared to other solutions, Docker was specifically meant to run with only one service per container instance.
It also seems to be all of 30 pages long.
Who is this "the enemy" of which you speak? "Filthy Commies"? "Ragheads"? The Hun?

Come on, if you're going to go all nationalist on us do it wholeheartedly.
err don't all chartered engineering organisations already have this and Daniel McCracken was involved with this decades before?
Or a tractor-trailer, certainly?
Linkers, part 1 (2007)
Keep in mind that not everyone has living relatives (mine were all dead by the time I was 20), and some only have a very weak network of "friends" to fall back on.
At points in human history there was almost certainly natural selection for certain behaviors and cultural practices.

Certainly the parallels with biological evolution aren't completely accurate, but throughout history, cultures have conquered and displaced others and were able to do so (in part at least) because they were doing something different (presumably "better" from survival standpoint). So from this perspective cultures have certainly "evolved" partially through a natural selection process.
In Busy Silicon Valley, Protein Powder Is in Demand
It's not even close. Mine is divine intellect. You're a nigger.
Default template parameters in C++
Evolution occurs when:

1) entities exist and replicate
2) changes occur during replication
3) selection processes pertain that mean some entities replicate more than others

If culture meets those criteria then it is evolving. That may not help you understand the details or make any useful predictions. You probably need all kinds of additional models and theories to get to grips with culture. There may be other non-evolution processes happening as well. But to decide if it is evolving, just determine if these criteria apply, and you are done.
Sad part is that, even with all of this, you're only as secure as each service not being otherwise breached, and that scenario is probably more likely in aggregate than your credentials being compromised. We are all as vulnerable as the engineering practices of each service with which we engage.

We (especially in the tech community) tend to focus strictly on tech solutions. But, one of things that isn't discussed nearly enough is the legal aspect of all of this. That is, penalties for hacking, international cooperation, etc. As it is, the scammers have an unlimited free pass to just keep coming at us/services. The worst that can happen to them in most cases is that they simply don't get what they are after. It's all upside and little risk. With that motivation, they will simply persist until they find the weak links.
Ember.js Screencasts
To prove that P does not equal NP you would have to prove that a problem thought to be NP Complete was in fact NP Intermediate. That is, the problem meets the conditions of NP, but NP Complete problems cannot be reduced to it.
You sort of can with functors or GADTs.
That's a style guide for writers who happen to be attending Princeton, and a fairly common one, at that: generally one says John Doe, Ph.D. for a non-physician and then later says Doe, not Dr. Doe or Mr. Doe (the blanket rule against courtesy titles is also common and independent of Dr.). As for not using Dr. as a title for certain types of degrees, that is not universally accepted and has been the minority in my experience (with the exception of Juris Doctors). Pretty much every Ed.D. I have met styles themselves Dr., for example, though half of the etiquette people discourage it.

To the root point, your citation has absolutely nothing to do with a proper title for a Princeton alumnus.
3 Open Source Python Shells – Linux Links – The Linux Portal Site
This is an in-depth introduction to linkers by Ian Lance Taylor, the author of the gold linker. Before reading this I thought I knew what linker did and how it worked, this series set me straight.
Why Mark Zuckerberg wants kids to play video games
Having worked with hypermedia APIs recently I've come to appreciate how they feel more pragmatic and REST more pedantic. The hateos principle in particular lets you build thinner clients.
Google slices users into buckets, and Mitt Romney has binders full of women.

I needed a laugh today. Thanks ;-)
I really love the discussion about making the friction hinge, it looks really cool, though I think over engineered. I think the most elegant friction hinge design I have ever seen was on my Panasonic CF-73. It's almost 14 years old now, used every day for at least 10 of those years, and I still use it time to time, and the hinge works perfect!

Here is an image of it: http://thumbs4.ebaystatic.com/d/l225/m/m8yCFI6LbAmeo1QDFT4iT...

Simple, stupid, works :) Though for the surface, there is a requirement to make easy to open at first, first 20 degrees or so, which requires complexity.
I think you'd need to expand beyond what's generally classified as welfare. You could probably also get reduce or eliminate social security benefits (another $745.3B)

You could also probably greatly simplify the tax code, which has become a form of welfare with the poor paying less and the richer paying more relative to the amount they earn.

Then there's other potential benefits or reductions in cost, that are harder to quantify and predict. Would there be a reduction in crime? (which could reduce police costs) A decrease in sickness and health costs? (due to increased nutrition and better shelter) An increase in productivity and a boost to the economy? (due to people being in better health, being able to get more education and a tax code and welfare system that doesn't incentivize making less) What about all the non-profit organizations that spend millions helping the unfortunate? (What could that be spent on instead?)

I'm not necessarily in favor of a basic income to the extent mentioned in the article. I do wonder, however, if some limited basic income could be more effective than our current programs designed to help the poor and needy and if it would provide some better stability in people's lives generally. Either way, it would have a broader impact on the economy than simply removing welfare programs from federal and state budgets.
Apple Watch sales started with a bang, tailed off into a whimper
what we are concerned with here are two things, that becomes easier to explain as three things:

* the problem's class
* the algorithm.. or proof
* the size of the input

* the problem's class:

each problem has a corresponding class(i) determined by a universal set of rules based on current solving algorithms and how they react to different input

in a beautiful and approachable paper by richard karp titled: reducibility among combinatorial problems(ii); karp showed that the hardest problems, that seem unable to be solved in polynomial or subpolynomial time, called NP-Hard, are basically all the same problem viewed from different perspectives

karp develops reducibility, a process used to show that one can reduce any of his 21 chosen problems into any of the others through a specific tree of transformations he calls reductions

this set of problems that form the tree of reductions is called NP-Complete

i say it is approachable because this paper develops reducibility and as such lacks any assumption about the reader's previous knowledge

.

* the algorithm:

check out this chart(iii) that lists some time complexities, you will see polynomial,P, time about mid way through

polynomial time is 2^O(log n) or poly(n), that 'O()' syntax is something called big O, which is analogous to a sort of algorithmic measurement unit(iv) derived from number of necessary operations in relation to the size of the input

all algorithms before the polynomial time listing are sub polynomial time for any inputs and as such are classified as P

.

* the size of the input:

lots of np problems have algorithm solutions that can solve specific inputs in polynomial time

sometimes those inputs are small, or follow a specific pattern, but a general purpose algorithm, or a collection of specific algorithms that can be proved to cover all possible inputs, that runs in a reduced(v) complexity of polynomial or sub polynomial time is necessary to be classified P

one way to prove P=NP is to take one of karp's problems and develop an algorithm that satisfies the above stated requirements

once developed karp's reductions can be used on the algorithm to show that all NP-Complete problems are in P as well, therefore P=NP

.

(i) http://en.wikipedia.org/wiki/Complexity_class

(ii) http://www.cs.berkeley.edu/~luca/cs172/karp.pdf

(iii) http://en.wikipedia.org/wiki/Time_complexity#Table_of_common...

(iv) http://en.wikipedia.org/wiki/Big_O_notation

(v) https://justin.abrah.ms/computer-science/big-o-notation-expl...
> Did 1234 not exist, or is "/api/thing" the wrong path?

This doesn't matter. You shouldn't be trying to pull "1234" out of the URI. The identifier for the resource as far as the client is concerned is the URI, not some numeric component buried within it. Just treat the URI as an opaque piece of information – if you get a 404, it's the wrong URI. If you're trying to divine meaning from the constituent parts of the URI, then you're almost certainly making a mistake.
It doesn't adjust the remuneration of it's members (nor do lawyers in Canada), it really is "market" based, as for doctors the government has a bigger say since our healthcare is universal.

The PEO will take action against non-members using the title engineer, or take action against engineers not acting lawfully.
Every car I've had doesn't alarm until it's shifted out of park (it has a light always when on, it starts blinking when you shift out of park, and then beeps after ~30s in gear, or in one case after you go over 5MPH (I had to look up that one in the manual)).
> I don't believe that Snowden-like reveals put him in any more specific danger

That's true only in the same way that sending half-rations to your soldiers on the front line instead of full rations doesn't put them in "more specific" danger.

Or in a civilian context, refusing to wear seat belts doesn't put people in any "more specific" danger, nor does smoking cigarettes. Yet we understand that statistically speaking across the entire population in question, that it is possible to reduce the risk of harm by taking specific actions that have general impact.

In the case of the military, it's always a double-ended question. There is the risk added or reduced for your force in particular, but also the risk added or reduced for the adversary forces.

E.g. you put "insurgent" in scare-quotes when mentioning that they actually pose a danger to your family in the military, but without seeming to realize that many of the NSA programs Snowden leaked are directly aimed at those very same insurgents putting your family at risk. Even if we take it as true that the U.S. managed to unilaterally create insurgencies (which is by no means the case), that is not the fault of U.S. servicemembers like your family any more so than any other non-U.S. politician.

To loop back to my point about managing general risk, the things that Snowden leaks had disastrous real effects, including second- and third- order effects. Beyond improving the security posture of U.S. insurgent adversaries and terror networks (terror networks that strike against U.S. allies in addition to the U.S. itself, I might add), Snowden's leaks also had the effect of weakening the national intelligence agencies of important U.S. allies, and reducing Western nations to infighting even as they needed to be able to present a united front due to geopolitical changes. It's hard to make statements about past "what-ifs" (though that has never stopped Snowden's supporters from chicken-littling about future what-ifs...), but certainly the joint U.S./E.U. reaction to Russia's invasion of Crimea would be more meaningful without Snowden's actions a year earlier.

But just because these risks (for the U.S. and for the possible adversaries or the U.S.) can't be quantified or laid out in short and simple flowcharts doesn't mean that those risks don't exist.
Blogspam for a 2012 article:
http://mobile.nytimes.com/blogs/opinionator/2012/08/08/hear-...

Part 2: http://mobile.nytimes.com/blogs/opinionator/2012/08/09/hear-...
Anti-Uber Ridesharing App Just Scored Its First Big Win
I made something usable and fun, not in a pathatic sort of way.

The others are just pathetic. Mine is not pathetic.

The others are pathetic. Mine is not pathtic.

Mine is to be used in addition to Linux or Windows. It is pathetic to compete on price, by the way.