skysight-inc/HackerNews huggingface dataset:
I was a bit backward with my language. What I was trying to get at is that many OO languages encourage you to add fields in derived classes. This makes the derived class a supertype, being a larger set that fully includes the set of its parent class. You’re adding elements to a product type. But this often breaks substitutability, so to conflate class inheritance (a useful concept) with subtyping (another useful concept) is fraught with problems.
Echoing canttestthis in the other reply subtread, the fundamental principle is that we won't hand over our citizens to other countries for things which are not crimes in our own: http://en.wikipedia.org/wiki/Dual_criminality

All of Europe refuses to extradite to the US if the death penalty is a possible outcome: http://en.wikipedia.org/wiki/Extradition#Bars_to_extradition and futher down it mentions "France, Germany, Russia, Austria, the People's Republic of China, the Republic of China (Taiwan) and Japan" flatly refuse to extradite, something that is certainly not true of the US.
I want to buy one.
I'm sure a proper telling off could go as long as 20 minutes with a probable preamble of the student standing in front of the head teacher's desk in silence for a good five minutes while the head teacher collects his/her thoughts, but that would be the end of it.
If I understand your question correctly, I would say that http pipelining solves that issue. It can only be used for GET requests, so there are limitations.
And the main use of Python is scaring fogey programmers?
In CA where I live, I suspect they're not going to any effort to analyse addresses at all beyond what the automatic system provides.

My parents live in Australia, where apartment number is written before street number. They sent some mail labelled the Australian way:

e.g. 140/1542 Happy Sunshine Street

instead of:

1542 Happy Sunshine Street, Apt 140

Every single piece of mail addressed as such was returned to Australia after getting to the USA. By international standards, the USPS is pretty useless. I avoid using them when an alternative is available.
Dead Of SEO And Rise Of PTO
That part is, to me, a UI disaster. What you can do though is click and drag upwards, even out of the knob, and it will work (barely, because it's incredibly not sensitive)
That's a compiler flag in C and has been for ages. :\
Your example shows why context is important. You, of course, forgot to mention what OBL was responsible for and that he continued to incite violence after 9/11.

I think you meant Pakistan not Iraq or am I mistaken?
>How could anyone hope to accomplish anything halfway great without being grandiose, obsessive and deluded?

That's a Hollywood cliched idea of creativity. The "mad scientist" idea.

People have created great things without being "grandiose, obsessive and deluded". Genius and/or hard work will do.

Einstein wasn't either grandiose, obsessive or deluded. Maxwell too. Feynman was mostly playful and humble. Turing. The list goes on.

Great scientists and inventors are not necessarily of the Emmett "Doc" Brown type.
I don't think it's just walmart employees that need those prices, it's anyone working that type of job. Most employees at small businesses doing the same work earn the same or less than a walmart employee.
WindowMaker split off from the GNUstep project quite some time ago, IIRC. They don't even use Objective-C, they use their own framework for widgets built on WM called "WINGs."

There's still activity on the GNUstep front. Just a few things I can think of,

- Their runtime, libobjc2, has done a great job keeping pace with Clang and modern Objective-C. It now has a Cmake based build system and doesn't require any bootstrapping with GNUstep-make.

- GNUstep-base (the Foundation alternative) is solid, though some parts go back as far as OS X 10.6 and others OS X 10.4. You'll have to check the headers to see what's up to date. They do have an extremely capable implementation of distributed objects, last I heard they were planning to make it integrate with Apple's distributed objects implementation, but that project still seems to be pending.

- GNUstep-gui (AppKit alternative) just added support for 10.6's NSCollectionView very recently. Most activity there has been in the form of refinements. As I recall, drag and drop is still on their todo list... they really could use some manpower there.

- GNUstep-back (the backend renderer) still uses an API that's largely based on Display Postscript. They are planning to pitch a GSoC project to replace the Display Postscript API with one based on GNUstep-Opal (a Core Graphics alternative), and they already have a largely proof of concept Core Animation alternative running on it (GNUstep-QuartzCore.)

The project's current vision is to focus on making it easier to port Objective-C to other platforms, rather than to be a desktop environment. But like most small, mature open source projects, there's a lack of manpower keeping them from easily achieving those goals. Would be nice to see more activity there, in the future.

You can check out all of the projects I've named in the Github mirror at https://github.com/gnustep , but don't expect them to be responsive to pull requests. The mailing lists at http://gnustep.org/information/gethelp.html are strongly preferred.

As for the current website, I think Scott Stevenson designed it a decade ago long before he joined Apple. I like the design, personally, but I do understand that it's a bit difficult to navigate... and several of the docs haven't been updated in some time.
I'd say it's the other way around. Url's are opaque for the client - id's imply more knowledge of the implementation. E.g. the client would have to know which host to communicate with and how to structure url's from id's. With hyperlinked documents, all the client needs to know is http.
If it supports both Holleywood and DRM proponents, a big thumbs down from me.
I disagree with your logic. As the corner-cut solution shows, there are only two sane answers. "20 minutes" where you have cuts across the plank or "any* amount of time whatsoever" where you allow any kind of cut.

There is no sufficiently logical way to get to any particular number other than 20; the shape of the plank does not allow you to cut across and make your cuts intersect like you might with a square board. There is no reason on this particular shape to prefer "15 minutes" over "14 minutes" or "25 minutes". It all gets lumped into "any amount of time whatsoever".

If "any amount of time whatsoever" was an acceptable answer it wouldn't make sense that a single cut takes 10 minutes, so we should discard that answer. This leaves only one candidate answer, 20 minutes.

*"any" would be limited by how long of a diagonal you can make but it would be hours
But that doesn't mean you have to "sell" it in a transfer-of-ownership way. You license it so particular people, who have paid you for this, get exclusive use of it.

Selling it in the usual sense is weird because it means that then people can then go and further sell it to people who might use it in ways you wouldn't have approved of. And maybe you're OK with that, or you really trust the people you're licensing it to, and you want it to be sublicensable.

But there's no inherent reason everything has to be sublicensable -- and the transfer-of-ownership paradigm is effectively, "everything is sublicensable". And not just sublicensable, but sublicensable to arbitrarily large degree. And yet this is what seems to have become customary.
Napster For Pirated 3D Printing Templates?
The knobs are not turning while the picture is rendered. Depending on settings (tree with many branches) it can take a while.
I never understood why people look at 7-8 sorting methiods and ignore Radix sort which often beats everything else at O(n) average case. https://en.wikipedia.org/wiki/Radix_sort I mean is the assumption that people would never actually need a useful real world understanding of the topic?
Norton Ghost discontinued
That's Xunzi, not Confucius. Good quote though.

</chinese geek>
Say, the smallest item in a hash table for which item.key is larger than given_item.key. Assume larger-than relation for keys is defined, so for example keys are integeters.
If you think android is not innovative, then I guess google search isn't innovative either: search engine existed before google.
I don't think "served from Rails" and "consumed by Ember.js" is quite right. It was designed to work with existing servers that have facilities for easily generating JSON (Rails, Django, various Node frameworks), and smart clients that want to index local data by ID (Angular, Backbone, Ember, etc).

In short, it's an attempt to extract the learnings about efficiently transporting a non-trivial number of objects over a REST-like transport in a sometimes-incremental way. Many different server/client combinations have been attempting to do this in an ad-hoc way for years, and Ember Data was simply an attempt to try something general-purpose out in the real world.
Isn't that like YC Reject? no idea what happened to that though.
"Honey, look, a Tesla is only going to cost us $580 per month"

"No dear, the actual payment is closer to $900"

"No. Look here, it says the effective payment is $580."

"Sure, sure. You still have to send them a check for $900."

"What? How do we get to $580 then."

"Well, they are saying an electric car is going to save you over $300 a month in fuel and proposing you take that into account."

"Wait a minute. I don't get it. That can't be true. Can I put the $300 per month in the bank and save-up for a nice vacation?"

"Nope. That money goes to Tesla. The real payment is about $900."

"That can't be right."

"Look, go to that neat cost-of-ownership calculator and set the annual mileage to zero. Let's pretend you are going to buy the car and put it in a museum, never to be driven. What's the monthly payment? About 900 right?"

"Let me see... Crap! That's bullshit."

"Yup."
I don't know how many Dr Joseph Mercolas there are.

(http://www.quackwatch.com/11Ind/mercola.html)

I'm not sure I believe anything an AIDS denialist has to say.

(https://en.wikipedia.org/wiki/Joseph_Mercola#HIV_and_AIDS)

A quick websearch of his website turns up a number of vile hateful nonsense.

This is the problem with woo. I don't care if you want to buy a laptop case, even if you have a weird reason for buying it. That doesn't harm anyone. But the fact that you're giving money, and power, to destructive idiots is very bad.

(http://www.sciencebasedmedicine.org/index.php/9-reasons-to-c...)
Sounds great in theory however I have heard on a few occasions that Tesla is run like a sweat shop for engineers.
> You can think of the ID-based approach as just coming with a set of default URL templates in a top-level rel.

Then I'd be perfectly happy. But why is the paragraph that mentions exactly this ("... The top-level of a JSON API document MAY have the following keys") in the "URL-Based JSON API" section?

> You think a server SHOULD use HTTP caching?

No, you're probably right - a SHOULD is too strong. I guess my reaction was more negative to the "MAY" in your text about caching than anything else. The caching section (which is currently in the writing document?) doesn't seem to actually add much value beyond what HTTP says anyway. Maybe dropping it is the easiest path?
He already explained this. Hacking the auth would've been more work and provided less opportunity to tinker, have fun, and learn anything he cared about (Rails 4, Ruby 2).
I don't think anyone is suggesting that we explain anything to regular consumers in Verizon stores. The point is that an HN member should be able to understand and appreciate the fact that stock Android is very different from what most Android phones have, and that those who want stock Android should get a Nexus.
"Up to our level" of holding prisoners, many not captured anywhere near a battlefield or with evidence of fighting the USA and leaving them in prison without trial. Of bombing whoever, whenever, wherever, without a trial, and without review.

Our level of persecution of whistleblowers? Or is that optional?

Oh, you mean basic values like the belief in perpetual copyright.

And your example isn't a double standard, the prisoner being accused of something that's a crime in both jurisdictions and the punishment not being unconscionable in the destination are the basic assumptions of extradition. The double standard is the USA playing political games with trade tariffs, etc to get someone who hasn't committed a local crime.
Why I Froze My Eggs
This man/woman is a hero of the free market and I wish him/her all the best.
If that were to happen, why would anyone buy Github enterprise or even pay for a pro account? Their business model relies on closed source for their proprietary code.
What the hell is "San Francisco liberal?" If you actually live in the bay area (which != "San Francisco") you know this is just bullshit made up by conservative outsiders.
It can only be used for GET requests, has problems in web browsers, and still requires the overhead of individual requests on the server side to construct and return many responses.

In theory, things like pipelining allow you to never have to worry about compound documents. In practice, I don't know anyone who has gotten this to work well for browser clients and general-purpose frameworks when dealing with non-trivial numbers of documents.
Get another monitor? :)
Radix sort is technical O(k * n) where k is the number of digits. This is very useful when you know k falls within a bounded range (eg. sorting a bunch of integer keys, all of which range from 0-255), but it reduces to O(n log n) for arbitrary keys, because in general you need log n digits to represent n distinct items.
Put plainly, no.
"The poor are poor because all of their choices in life suck."

There are about 3 ways to interpret that statement.

How people interpret it at first reading basically describes their political philosophies.
Likely. Who'd ever enact a law without a goal?

But it's wrong headed and pointless as well as being unjust.
I signed the petition and told my friends about it. Fixing the DMCA is key.
Updated info about the case, from Kiera's lawyer: http://www.businessinsider.com/kiera-wilmot-lawyer-hoping-to...
> You can't sort anything with space smaller than number of items you are sorting.

I assume it's referring to extra space used. Most analysis of space I've seen is referring to this, not the space required to store the elements.
Hong Kong is a good example. You can watch the first episode of Milton Friedman's PBS series "Free to Choose" for more details.

*edit for clarity
Say, the smallest item in a hash table for which item.key is larger than given_item.key.

Well, keys in a hash table are hashed. This implies that unless you're searching for a specific key (e.g. "42") rather than a condition (e.g. "smallest key greater than 42") then the time complexity is necessarily O(N).
Why Early-Stage VCs Should Be Careful About Intros from Bankers
Thanks for that. Mostly I look at HN jokes as a waste of space, but that was just perfect.
By my reading they used iframes (or maybe img) to literally send traffic to eBay, and it was eBay's servers that set the cookie. As far as I understand it you can't set a cookie on a domain you don't control. But I admit I might be wrong, the article is confusing on the technical details.
I did this at Loggly right after I read her post! :). Good stuff!
Getting Started With Yii Framework 2
Ask HN: Difficult Form Problem
On Facebook, when you make a question, users can make their own answer to the poll. I was wondering how to do exactly that. How do I make a poll where users can make their own option?
If it is ambiguous, there is no answer. There must be an answer. Therefore, it cannot be ambiguous.

The answer given is the only one it is possible to give. Therefore, it must be the correct one.

The context isn't so much "third grade" as it is "math test", and very, very few math tests allow "Question ill-formed as posed" as a valid answer. Maybe more should.
it was used by many of my math & science classes here in canada, and i'm unsure why it is a problem?

The prof would make the test very hard so the average was around 50-70 and then use a curve to get grades.
Most cars these days don't "break down." There are maintenance costs which may well be lower on the Tesla (though some new car deals include free scheduled maintenance), but bottom line, if you can afford a Tesla or another car in its price range, maintenance and gasoline are not costs that are going to be significant in your budget.
The regular service in SF isn't much better. The regular Muni trains, streetcars, and buses shut down at 1am. BART starts shutting down around 12:30-1am, and the last Caltrain leaves SF at midnight.

SF does have some 24-hour bus service, though. It's not great service, but it'll get you around the main parts of the city ok. PDF map here: http://transit.511.org/accessible/providers/allnighter.pdf
My grandfather's saying - I am not rich enough to be able to afford buying cheap stuff ...
URLs are opaque, and can often serve as very useful IDs, but, alone, they imply a one-at-a-time model of fetching documents, and this spec is trying to provide a way to easily request only the documents a client needs in a compound document.

Keep in mind that this spec actually requires that every ID be able to be readily converted into a URL based on information found in the same payload, so URLs are still front-and-center in the design. It just separates out the notion of a unique identifier, so that it can be used in other kinds of requests.
I'm kinda blown away that this question hasn't been closed on stack overflow already. The mods are usually so aggressive about discussion-type questions.
> "With his solution, you could drive to a nearby city and nobody would help you,because you haven't paid the security agency there."

Why should commerce be limited by national borders? This conversation lacks imagination.
> Personally, I don’t think they [Bitcoin, Tor] can be effectively banned at this point. Iran and China, for example, are actively trying and failing.

That is, unfortunately, not quite true in regards to Tor. Iran has on multiple occasions done/tried out doing (turned it on, then off) traffic censorship that directly or indirectly very much affected Tor. [1] [2] True, Tor managed to roll out obfsfroxy et al., which they'd been already actively developing prior to that, but if e.g. Iran (again) attempted country-wise generic SSL censorship, that would hurt things. Tor's pluggable transports would perhaps be a response to that still, but Iran's gov't could move on to other things.

With China it's even worse, as it seems there is custom software being used from within China to actively discover and censor out new Tor bridges (as in, a new one is used by someone, some minutes later another connection from China comes in to it, speaks Tor protocol, disconnects, and then the bridge is blocked.) [3]

This is just to make sure the information about these matters is out there. If anybody is interested in helping out Tor, the mailing lists [4] and research papers and code is out there. :) [5]

[1] https://blog.torproject.org/blog/update-internet-censorship-...

[2] https://blog.torproject.org/blog/iran-partially-blocks-encry...
(more results via a simple search if interested.)

[3] https://blog.torproject.org/blog/knock-knock-knockin-bridges...

[4] https://lists.torproject.org/cgi-bin/mailman/listinfo

[5] https://www.torproject.org/getinvolved/volunteer
I was swallowed by a hippo
If a company won't provide a guaranteed service level, why should you trust them with your life?
Yes, if it was a different question then the teacher might have been right.

Kidding aside, this is probably a good demonstration of how shoe stringing our education budgets might not be the best idea.
Askcow - new tool for online collaboration and task management
Physicists, or at least the ones I know, tend to use FORTRAN almost exclusively.
What is bower? The link to it from your page appears to be broken...
I didn't mean to imply that I think it's only WalMart employees that need cheap goods. I was simply trying to comment on the irony of that.
>what is b and d anyway?

Breadth and depth. These could apply to graphs as well, since these algorithms draw a tree while traversing the graph.
For all the invisible handers, let's not forget the London olympics where certain security roles were contracted out. The company involved failed to recruit sufficient numbers of personnel by a significant margin, failed to train adequately those that they did and failed to communicate the scale of the failure that was developing. In the end, the government had to bring in the army to perform the role.

While there are undoubtedly areas where the public sector can learn from private sector efficiency, I'd venture that there are some societal functions where the point of profit maximisation results in an inferior and inadequate service. Or - to look at it a different way - the public sector is the only provider incentivised to realise the positive externalities of that service. This might be the public benefit of putting out fires regardless of a person's payment status (stopping them spreading), the cumulative benefit of going about business safe from crime, the benefits of a healthy workforce, etc etc.
The website is using h.264 at ~3Mbps in a QuickTime movie container in <video> elements. It'll work for anyone with the following conditions met:

- Using a browser that supports the QuickTime container format (i.e., has the QuickTime or compatible plugin installed)

- Using a browser that supports the <video> element with the h.264 codec (not Firefox).

- Using a device that can decode 3Mbps h.264 video (not iOS devices).

This is more for the sibling comments, but on Hacker News, I'd expect people to take a minute to check why something is or isn't working for them on a page instead of just commenting what browser/OS combo they're using.
Cool story. But you're talking about an official-, adult-, teacher-sanctioned event. Big difference. And to my main point: children literally don't have the neural capacity to make the judgement of when it is, and is not, appropriate to mix ingredients together that will make a blast of potentially concussive force :p

This much seems obvious to me.
Higher Investments in Food Startups
Five years off Adderall and Dexedrine and I’m still in withdrawal
Outside of Ayn Rand novels, collective action is necessary for the livelihood of free peoples. Old-fashioned civic virtue used to fill the roles that the state usurped (see Albert Jay Nock's "Our Enemy, The State").

I have a soft spot in my heart for Ayn Rand, but her moral system would be a poor foundation for a free people (which I am here using as a euphemism for market anarchy).
" Even the most lax employer or school would be forced to take some action if they found out about his activities. "

" Hyperbole. "

Naivete.
It's O(k * n) where k is the number of digits. It takes log-b(N) digits to represent N distinct integers in base-b, so O(k * N) reduces to O(N log N) when there's no bound on the range of keys.

It's still pretty useful for sorting data where you know the keys are small integers (say, less than a machine word).
You would call that one cut?
I wholeheartedly agree, but I'm still curious how come there are no better Webmail clients. Most are either old-fachioned (like Roundcube) or tied to a proprietary service (like Gmail), but I don't see much effort going into cool, Sparrow-like webmail clients, either open-source or commercial. Or have I missed something?
Except insertion sort is faster than quicksort for smaller N because of the overhead involved in quicksort - quicksort has large constants which big-O notation isn't designed to show. This is why many library sorting algorithms fall back to insertion once the things you are sorting gets small enough.
I have a friend studying meteorology who is learning Fortran. I believe it is still heavily used for weather systems.
Well, I imagine so. The calorie-per-dollar ratio for apples is negative.