skysight-inc/HackerNews huggingface dataset:
This is similar to Jeff's rule "b". The only difference is cause and effect ordering. Jeff suggests you build it, reuse it, and when you reused it thrice in different applications, than call it a general purpose library.

It seems to me that Jeff misunderstood what rule of three means, or he's just trying to re-tell the Wikipedia article in his own words.

The "Rule of three" you quoted is how it should be done. Create, copy/paste, refactor to be reusable. And there's nothing wrong with that.
I would guess he/she meant something along the lines of x * some_really_complicated_expression. If x is 0, you would not need to evaluate the other operand at all. It may even be a faster, but I doubt any compiler does this sort of optimization, since it is not safe in languages with non-pure functions. The complicated expression could change some global state or perform input/output.

E.g. in Haskell, it would be possible to do this safely, because it is guaranteed by the type system that there are no side effects. However, even with literal 0 in the code the other operand still gets evaluated.
Curious, what is your rationale for thinking this needs to be an iOS only concept? As an Android user for years, I don't really think twice when I see it, it's just convenient.
> I took an abnormal psychology class where the instructor gave EVERYONE the exam questions, and students STILL did not show up for the exam or got questions wrong.

This may not be what happened in your situation, but giving students every possible exam question – with the caveat that there's a ton of them and they have open-ended answers – is actually a really smart thing to do. Anyone who wants to pass the exam will spend an inordinate amount of time crafting the perfect answers (either by themselves or in groups, which is fine) and then memorizing those. You could even say it gamifies the learning process, as every day of study you're keen to get through as many questions as possible. It's almost like being asked to write a 100 mini-essays. You end up learning more, not less.
Strangely enough, you can't remember how to spell 'here'. Sorry, couldn't resist.
Just think: A life without the damage wrought by modern antibiotics, dentistry, surgery, and preventative medicine! Where if you get sick with something that a week's worth of pills would clear right up, you're gonna die in pain! Paradise!

Yep, nothing quite like the Noble Savage, who has the dignity to die of something you've only heard about in old novels.
My memory was never like yours. But I remember it came as a shock to me when I realized that I was now able to re-read a book and enjoy it again without being flooded by my memory of what happened next.

I've done a lot of re-reading since. :-)
And "Mein Kampf" is on third place for most selled books there, it was even on the best seller shelf in Virgin stores in Qatar ..
Fixed with D2.

Although, not all of Tango (the non-standard one) is available in D2/Phobos already. For example, Phobos has XML [2,3] stuff, but Tango's is supposed to be better [0]. Port is ongoing [1].

[0] http://dotnot.org/blog/archives/2008/03/12/why-is-dtango-so-...
[1] https://github.com/SiegeLord/Tango-D2
[2] http://dlang.org/phobos/std_xml.html
[3] http://forum.dlang.org/thread/igmfgrfwzeqpwafeilfi@forum.dla...
You are being tracked: ACLU reveals docs of mass license plate surveillance
People are arrested, charged and imprisoned in the UK for twitter and Facebook comments so you are wrong.

This is just a comfortable dictatorship.
We made the mistake of installing Windows 7 Premium 64-bit on a workstation with 24GB of RAM but Windows only said 16GB was available!

I can see why MS restrict their products like this so they can artificially price them. But in the end we ditched Windows and just installed Linux.
> How on earth does one distinguish between

By asking them?

> How is that different behavior from a squatter? You're just sitting on a domain until someone comes along who meets your criteria

I don't register the domain in the first place unless I have a good idea for what I'd like to do with it. I'm not registering them to sell... but I recognize that someone else may well also have a solid project idea, and the time right now to execute on it.

I'd like a way to graciously give way to those people.

If there is no such way, then I'll just keep the domain until I have the time to do the project I had in mind.

> Nor would I want to see a vetting policy established.

I think you misunderstood. I don't want a general vetting policy, just a way for (the minority) of people who feel domains should actually be used, to transfer domains among themselves.

> Part of the beauty of the current system, is that anyone can buy an unused domain on a whim.

Sure, I'm not talking about changing that. I'm just trying to create a third choice, beyond "I don't have time for my idea yet, so I'll sit on this domain until I'm ready" vs. "I'll let this domain expire and it definitely will be squatted when I'm ready." I want a 3rd option that recognizes that other people have project ideas.
How about this: http://www.youtube.com/watch?v=nnR8fDW3Ilo
Exactly my point. I was just using CL as example because I think it would be hard to argue that it is not a Lisp yet the standard doesn't guarantee TCO.

> What is a lisp?

It's a very good question. I think PG sums it up quite nicely in "Revenge of the Nerds" [1]. Although, now that I'm thinking about it, I'm not quite sure there's any point in classifying something as a Lisp or not...

[1] http://www.paulgraham.com/icad.html
I am going to be looking into this. I am building an ecommerce platform in flask and I also started coding a small CMS to handle few things.

Let's see. The only thing I am not too sure about is your decision of tying it with a specific DB.
Erlang/OTP R16B01 has been released
To be fair to Jeff, he was quoting from "Facts and Fallacies of Software Engineering" by Robert Glass [0].

The two rules are very similar, and that's why I think they have the same 'theme'. In one we are talking about when to refactor and in the other when to create a library, but both are essentially the same idea. Don't spend time generalising something that might never be used again. Three existing uses is (apparently) a good heuristic for answering "When is something going to be reused lots?"

[0] http://www.amazon.com/exec/obidos/ASIN/0321117425/
Shanghai Things to Do - What to Do for Your Shanghai Travel
List the must-see Shanghai attractions and top things to do like learning history in Shanghai Museum, shopping on Nanjing Road, watching acrobatic show, etc
China’s Feud With West on Solar Leads to Tax
http://blogs.msdn.com/b/oldnewthing/

Really, that's my answer. Win32 is Raymond Chen Land, Fear and Loathing With Backwards Compatibility. SimCity relied on internal details of how the kernel managed memory such that it reused memory it had already freed and they kept it working. MSFT modified the Windows kernel to avoid breaking it.

Torvalds is Chen-like in his adamance that the kernel can't break userspace, but Torvalds never had to deal with Windows 95 and the strange MS-DOS-derived world it inhabited. Linux never had to deal with 16-bit x86 code, so it was always able to keep its internals private, limiting the random stuff user programs could end up relying on. Win32 offers no such consolations.

I'd implement POSIX on top of Win32 any day to avoid the alternative, with the caveat that some things are flatly impossible and some things are possible but will never be efficient.
“When the president first came on board, we had a huge set of mistakes that we were working through in 2009,” he told the audience. “He said essentially, ‘I can see the value of these, but how do we ensure that we get these within compliance and that everything is exactly right?’ ” That suggested that Mr. Obama had questioned the execution of a program he had inherited from President George W. Bush, but satisfied himself by having the N.S.A. set up what the general called a “directorate of compliance,” an internal watchdog group.

So back in 2009 they were breaking the law in a myriad ways. Now, they're breaking the law in fewer ways. In the meantime, two things happened:

1) They set up an "internal watchdog" (the effectiveness of that is secret and disputable)

2) They came up with secret laws to make the stuff they were doing anyway legal.

Which of those two do you think had the biggest effect on reducing the amount of illegal stuff they were doing?

I continue to think that government departments that commit crimes should be eliminated by either the judiciary or the legislative branch, illico. There can be no excuse for widespread criminality in government.
dang :(. thanks a bunch for checking.
Was he wrong in his assessment of the original 787 battery overheating issue?

Everything Elon (PBUH) declares is truth beyond question. Allow me to state that up-front so as to appease his followers.

You realize that they still have no earthly idea what happened to the batteries involved in the earlier incidents, correct?

And you realize you're replying to a comment which wasn't about the earlier incidents except insofar as it pointed out that this incident seems to be unrelated and really appears to just be an off-the-shelf component failing in a way that it could have failed on any of the other aircraft types it's deployed in?

My reference to Elon Musk (PBUH) was mostly because I'm already seeing in this thread the same sort of frankly religious worship of Elon (PBUH) we saw during the incidents which were unique to the 787, and I make a point of hammering on that whenever possible, since although Elon (PBUH) is a smart guy who does cool stuff, he's not quite at the divine-omniscience level seemingly attributed to him any time the 787 gets mentioned on HN.
np, because I am actually seeking work, I've been overly active on my CV and so I was looking for inspiration :) (or :( if we want to consider that i've not found anything yet..)
Googles response do not answer any of the following questions:

Do Google allow NSA to run computer code on google's servers? More specific, do NSA supply database queries when demanding data? Do NSA ever provide Google with tracking code like JS or links to NSA webbugs (1px imgs) that Google later put in targeted ads? Do Google ever provide physical (or remote) access to servers, hard drives (like backups) or network devices to NSA?

Having NSA supplied querries running over all of googles databases are indirect full access to googles servers. That as bad as direct access/backdoor, and would likely be called as such by NSA. Same goes for trackers inside google's adnetwork, or if they got physical access to any backups.
> single (non-core) developer of VLC

That's not true.
I wonder what percentage of people use the email reset for every access attempt. I have several services where I went from crappy passwords to good ones I don't know - I just reset them each time.
Why are links to this letter going down? Even the link at venturebeat.com linked to here is dead now.
But... the choice is theirs, not yours or mine.

It's clear they know the outside world exists. They have chosen not to engage. (To put it mildly.)

As an aside, there are more than 100 'uncontacted' tribes in the world. All of them know of the outside world; all have chosen -- for now -- not to interact directly with mainstream society.
How to Make Emails As Personal and Customized as You Can
Savings would be on the air friction, and the power you need to overcome it along the way.
Not available in the German store yet.
Well, they seem to be doing allright for the past 65,000 years...

I'm the first to admit that I probably wouldn't last a week there. It seems quite romantic, living on a deserted island, without the antics of our society. But gathering food and water is hard, or even near impossible for us. These people however, seem to have found a way to survive.

I'm assuming that, because they have lived in such a closed ecosystem for so long, they have different diseases than we have. I'm also assuming that for the diseases and medical conditions they have, they probably can find medicinal plants in the forest.

I doubt however they have the same life expectancy as we do!
The US state vs whistleblowers - why Snowden is not alone
Just to pick one example, ancient people actually had very good teeth:

http://news.discovery.com/human/evolution/ancestors-had-much...
WebPageTest Performance Test Suite for Continuous Integration Tools
The archaeological record shows that tooth decay increased dramatically with agriculture, and prior to that, was much less frequent than today. It's one step forward, two steps back - at least, for dentistry.

Many of our dramatically beneficial advances - such as covered sewage and vitamin-supplemented bread - solve problems that did not exist for less densely populated hunter-gatherers.

The big problem for them was carrying capacity, meaning you had to migrate, fight the tribe next door... or practice infanticide. Overcoming these is the true achievement of our age.

EDIT https://en.wikipedia.org/wiki/Guns,_Germs,_and_Steel EDIT2 I'm saying pre-agriculture people had/have better teeth and gums than you do now.
I use Window Maker. I've been using it pretty much exclusively since 8.x or so, and I used it before I used Ubuntu, going back to before Ubuntu even existed. It hasn't changed, and it doesn't look like it's ever going to. Your criticism sounds very strange to me.

Edited to add: Not that I think Window Maker is necessarily the solution. I'm just pointing out that the default Ubuntu repos contain a huge number of window managers and even a few desktop environments which haven't changed that much between releases.
Right, as a non-signer it didn't even occur that syntax would be different, implied, or occasionally non-existent. In theory AI could try to auto-generate, but yeah, maybe not as rosy as I hoped.
This API is not as smart as JAX-RS or Scalatra. Spark code contains much clutter and redundancy (repeated paths). Frameworks like this would profit from Java 8 lamdas.
We provided the app internationally, with no restrictions.
I wonder what the Russian's cut is. Since they are the only people that can send astronauts to space right now, they can charge basically any price they want.
The version should be active and deployed everywhere, with a bit more limitations in the US, though
Since launching my startup recently I've discovered that SO much success in marketing comes down to luck.

The best way to increase your chances of luck? Work smart, work hard and keep showing up.
> But... the choice is theirs, not yours or mine.

How much do they really know, though? Do they know that some of their diseases could be cured, for example?
How long do we think this Indian protection of this island will last? The current Indian government, who Indian colleagues tell me is led by a mafia related Italian family, is one of the most corrupt in the world. It is only a matter of time before whichever intelligent anthropologist in the bureaucracy/judicary is currently protecting them falls by the wayside.
Meanwhile, on other Andaman islands, there were human safaris happening. Most likely still are, but you probably have to grease some palms.

http://www.guardian.co.uk/world/2012/jan/07/andaman-islands-...
This is interesting too - "An expedition led by Maurice Vidal Portman, a government administrator who hoped to research the natives and their customs, accomplished a successful landing on North Sentinel Island in January 1880. The group found a network of pathways and several small, abandoned villages. After several days, six Sentinelese were captured and taken to Port Blair. They soon became sick, and two of them died. The other four were returned to the island." - http://en.wikipedia.org/wiki/North_Sentinel_Island
> Trading one problem for another doesn't really solve anything.

Yes it does. You might as well say, "No-one knows why I'm stuck to this chair and invoking a complicated 'gravity' theory just trades one problem for another". It clearly does have an advantage though: it answers not just that specific point on chairs, but why rocks fall and how planets orbit and allows you to work out how these things would behave in different environments. A "it just is" theory does none of these things. A "we don't know, but we'll try and find out" theory is much better.

> Objects can move away from one another other even as they are attracted to one another by gravity.

No they can't, unless some external force is applied at some point. You don't just levitate out of your chair at random intervals for no reason. What was the external force applied to the galaxies?

Let's leave the other stuff. If we aren't agreed on the simple things, there's no real point discussing anything more complex.
Of course it is to be expected, but unfortunately one cannot expect it happen. If you get it?
There is no API from Dropbox to do that, as far as I know.

If you have ideas: http://git.videolan.org/?p=vlc-ports/ios.git;a=blob;f=AspenP...
Why would it freak them out any more than the helicopters which they have seen before?
Kinda ironic that this comment shows up as light grey on a grey background. :)
OK, nobody disputes that they have better teeth than my circa 1800 ancestors did, but I very likely have better teeth than they do now, so who really wins here?

> The big problem for them was carrying capacity, meaning you had to migrate, fight the tribe next door... or practice infanticide. Overcoming these is the true achievement of our age.

This is a point I wish I had made.
Yeah it is not dead. He probably got that impression from the stall they got when they had to do a massive code audit
If you can indeed run Office 2007 without any issues through Wine, I'm starting to see no reasons to keep Windows on my laptop.

The last stance so far has been my fiancé and her need for Office. If that falls, I may finally be able to get Linux on my own laptop :)
Nelson Mandela young man photos
The point isn't that I don't like it (although I really don't), it's that Scheme doesn't work the same way as Javascript, and the Javascript-is-Scheme slogan contributes to non-understanding of those differences.
Do some windows versions still demand that your password fits a set format - length as character type as I recall? Trying to get a (?XP ?Vista) PC onto our until-then Mac only network just about caused its owner a stroke.
After seeing the title PZ Myers blog was the first thing that come to my mind.
So far, we support ftp, http, rtp, rtsp, mms, sdp, tcp, webdav and udp.

We are notably missing Samba (our module for samba is not LGPLv2), afp (we don't have an afp module) and Upnp (the library is not ported to iOS). Help is welcome though!
> Well, they seem to be doing allright for the past 65,000 years...

They've survived. Humans can survive terrible things.

> I'm assuming that, because they have lived in such a closed ecosystem for so long, they have different diseases than we have.

Not really, because their ecosystem is not closed. Birds and fish and so on still bring parasites, insects fly around, and malaria is malaria wherever you go.

> I'm also assuming that for the diseases and medical conditions they have, they probably can find medicinal plants in the forest.

But not good ones. We've never once found plants which make anything nearly as good as penicillin, and there's no reason to expect that we ever will.

> I doubt however they have the same life expectancy as we do!

And they may well have to practice infanticide, and/or go on bloody campaigns to keep the population down low enough they don't starve.
Haskell doesn't have first-class continuations, it has syntactic sugar that allows you to write continuation passing code in a direct style.
Agree with you. I think we are not "supposed" to be using foundation.js. Especially in a widget-y environment we are in, it is faster/easier to just use Backbone events/handlers for everything.

I am defensively disposing of everything in DOM when not used and it seems just wrong to keep using UI components that are clueless to their state and everything is done by hiding content in the DOM.
Because the GPL is incompatible with the AppStore terms, because it notably limits the usage rights.

I relicensed most of VLC engine to LGPL, during the past 2 years, and finished it last november.

Since then, we rewrote the app for iOS and it is dual-licensed under MPL and GPL.
This is not hoisting because it doesn't involve an alpha rename to avoid capture.

Have JS developers taken a bunch of compiler theory terms without understanding them and applied them to Javascript? I have to say, I'm not really surprised...
As compared to the Civilized Man, who has only solidly developed all the things you describe in the last couple hundred years and took thousands of years of war, famine, plague, slavery, and endless grinding inequality (still haven't quite fixed that one it seems) to get where we are now?

Nothing quite like the modern man, where some tiny percentage of the world enjoys all its fruits and a few billion others try to live on subsistence farming, which by most anthropological analysis is a much worse life that the hunter/gatherer tribes of 10,000 years past.
I wouldn't be surprised. I attended the neighboring SF State and it's bad over there too. Many people fail out of the CS 101 course (including aspiring CS majors), and the Calculus 1 course offerings all the time. What I find more troubling however, is that we have a significant portion of the student body failing and retaking remedial Algebra I and II classes (to the point where sections for those two classes alone outnumber pretty much all other math classes -- despite Calc and Stats courses being required for everybody), and that many have a similarly hard time meeting even the basic English requirements to graduate.

This is a serious problem that goes well beyond the supposed student 'laziness' theory that's so popular here on HN. Clearly our lower levels of education are screwing students up. Most of the students that get into college are seriously ill-prepared, and universities have taken it upon themselves to compensate for this by offering several remedial courses and lowering grading standards.

It may be tempting to suggest that universities just stop doing this, but we've got to remember that our society values that degree way too much to ever let them get away with that (just imagine the revolt if all the colleges across the country started drastically lowering their acceptance rates). This sort of mindless degree-worship is silly on it's own, but it allows universities to grab money from otherwise under-qualified students, and who's gonna make a peep about that?
Is this a US only release?
I'm actually in the market for a old dumb box and for power(i.e. energy/electricity) reasons I'm shying away from the PressHot - Pentiums. I'm targeting a Core 2 Duo which seem like a great balance between power and performance and I'm reasonably sure that the money I'd save by going this route would not be recovered over the course of 5 years if I get a more recent box.
I've been fortunate enough to interview several tribal people who were only recently 'contacted'. The latest came out of the forest in 2009.

What is striking is how many of their friends and relatives died of outsiders' disease after making contact, and how fondly they spoke of their life before. When I spoke to them, some were considering leaving the village where they now live and returning to a life in the forest.

With regards to healthcare -- the health services offered to settled tribal and indigenous people in many places is poor to nonexistent. Amazonian tribal peoples have dozens to hundreds of medicinal plants, many of which have been proven to have active pharmacological properties. Some are now used in Western medicine.