skysight-inc/HackerNews huggingface dataset:
Question:

In the year 2200, if a 10 year old child were to travel to the planet at a speed of 0.9999c, then were to immediately turn around and travel back to Earth, they would be approximately 50 years old. However, what year would they arrive back on Earth?

Assumptions:

- no acceleration or deceleration time.

- the planet is exactly 20 light years away.

- the velocity of the ship remains exactly 0.9999c while in transport.

(The answer is not 2240. It's much greater. My question is, how much greater?)
They have to cross on to private property to deliver them.
I like how they make the ridiculous claim that they are the third search result for "github" on google. What probably happened is they have personalized search on and they upped themselves to #3 by clicking themselves so much.

See http://www.google.com/search?q=github&pws=0
It actually is possible to upgrade the kernel without rebooting, with a system like ksplice. http://www.ksplice.com/
Abolish them or at least make the period much shorter.
If the dev version is greater then the currently installed beta version you can.
>"Rumors of Apple secret launch for 10th anniversary of Apple Stores. Hot story? Yep. Bullshit? Maybe, but judging from the smoke surrounding this, probably not. Regardless, it’s something everyone wants to know about. And yet, it’s story number nine on Google News, waaaaay below the fold."

Perhaps they use an algorithm which doesn't place a high priority on blogged rumors because they are using "news" in the journalistic sense.
How did YouTube acquired its first 10,000 users?
What did YouTube do to acquired its first 10,000 members and videos. How did they overcome the chicken and egg problem? What promotions did they run?
You must mean "elaborate"? "Enunciate" refers to spoken clarity, i.e. pronunciation of each syllable.
Cheap Holidays Abroad
Cheap holidays to Cyprus You can save 50% on your holiday.100 Hotels Lowest Prices. Discount Flight. Cheap holidays search late deal and last minute holidays
Pretty clean code! A small suggestion:

cell.live = false if count < 2 or count > 3
cell.live = true if count == 3

Could become:

cell.live = count < 2 or count > 3
cell.live = count == 3

since it's a bit redundant to write "true" since it's already a boolean expression. It's a little bit like saying:

if a == true:
return true
else:
return false

instead of:

return a // Agreed that a could be a "truth" value without being the real "true". Still:

return !!a // With a hack
GoDaddy.
My initial thought was "surely it's just a quick hash lookup", but then require_once is probably using the canonical path for that lookup, which involves calling realpath() or abspath(), at that point all bets are probably off, especially in a shared hosting environments involving things like NFS.

Edit: I looked at the implementation. require_once/include_once unconditionally opens the file, whether it has been loaded already or not. Attempting to follow that path through about 10 levels of indirection (seriously), at some point the PHP implementation passes its notion of the path back to Zend, which suggests possible abspath() etc. Also somewhere in PHP's streams.c I see it unconditionally seek()ing the new file too.

If nothing else, then the layers of crap I just trawled through might cause some slowness, if not some heavy library call like abspath().

I just remembered why I stopped using PHP. :)
|No one wants to ban passing them out. It's just they want to ban passing out advertising without consent.

This may be the one sticking point they have around it. However, I wonder how this is any different than junk mail? Junk mail just pays the Post Office, how is that better/worse than paying an employee to pass out the flyer/phonebook/etc?

I think this is an interesting case and I'm looking forward to the outcome.
Yup, we're on 5.3. May have something to do with the relative vs. absolute paths (we use relative), but still...

Turns out we didn't need require_once anyway, all but a couple of includes in our entire codebase were in that one area.
Show HN: Collapsible, easier-to-read HN threads
I put together a simple collapsible comment browser for HN earlier today, as I'd found long HN comment threads to be somewhat difficult to parse ("Wait, what is this guy replying to?")

It's written 100 lines of javascript + jQuery, and the more enterprising could probably turn the code a bookmarklet as it can run entirely on the client side. Also works fairly well on iOS.

Hat Tip: Built on the Hacker News API: http://api.ihackernews.com/. Great stuff, although if you click a link and nothing appears, it's probably because the API returned a server error.

http://hncomments.com/
Clickable: http://hncomments.com/

Example: http://hncomments.com/2530663
It depends though, private property that is open to the public is different than private property that is protected.
اخبار مصر اليوم
اخبار مصر اليوم فى جميع الصحف اخر الاخبار اليومية
اخبار مصر اليوم فى جميع الصحف اخر الاخبار اليومية
تابع معنا أحدث الاخبار اليومية فى مصر وجميع المحافظات متابعة مستمرة لحظة بلحظة من قلب الحدث مع افضل مواقع الاخبار المصرية والعربية
http://www.almstba.com/vb/showthread.php?t=20705
Fountain pens aren't as messy as you may think.

I usually fill at home and carry 2-3 pens if I'm going to a conference or something where I may write a lot. However, if I do need to fill on the go, I carry ink vials instead of bottles (the smaller vials don't need a big, clear space to be used for refilling) and a couple of wipes. Dip the pen, suck up ink, wipe the section, done. I usually don't even get any on my fingers, and if I were really worried about it I'd carry ink nix or amodex to wash it off before it stained.
Trivia for those who don't know, Panera was originally called "St. Louis Bread Company".

I am curious, because the article is light on details, how the company defines "success". Presumably, the company is taking a 100% loss on everything sold with all donations being passed on. Is "success" defined as accumulating donations approximately equal to to the cost of running that location? With all the good will advertising on top?
Top 30 Unix command Interview Questions asked in Investment Banks
Pret a Manager
One of the big problems with the [related] abuse of the mail system is that it is effectively a denial of service attack against legitimate messages. Nearly everything that comes into my mail slot gets binned.

I figure: if somebody cares enough about sending me a slip of paper, they will either send it Fed Ex, or they will email it to me; nobody uses the postal system for anything other than trash.

In fact, I wonder what the legality of literally mailing garbage is. USPS flat-rate boxes are something like $5, and I could fit a lot of apple cores, orange peels, and coffee grounds into one of those things. In fact, my sister is soon due to have a kid. I'd pay to have her mail the dirty diapers to whoever keeps sending me paper spam.

That this is an accepted abuse of the postal system is absurd.
Cloud Data Center Energy Source Analysis: Greenpeace
Or simply:

cell.live = count is 3

no?
Man Travels Back In Time 35 Years (Time & Space)
Great. Now all we have to do is wait until Zefram Cochrane invents the warp drive in 2063. :-)
I'm trying to understand the metrics here. Doesn't the first test show that _autoload is actually much faster than require or require_once?

require_once: 1579
require: 1318
__autoload: 578

The second test shows a similar result:

require_once: 1689
require: 1382
__autoload: 658

Am I missing something here?
The article says "Overall, the cafe performs at about 80% of retail and brings in revenue of about $100,000 a month. That's enough to generate $3,000 to $4,000 a month above costs, money being used for a job training program for at-risk youths." so it sounds like success includes being profitable. It doesn't seem like Panera is as quite as charitable as you thought.
Video performance reporting - analytics on video streams & buffering
Looks like it was created using Docco - http://jashkenas.github.com/docco/
I think they are actually like the movie.
I think you've got it reversed. From Earth's perspective, it would take exactly 40 years, but the child would age very little.
Fexl: function expression language
Out of curiosity, what does your include_path look like? Is ./ the first element, the last, or somewhere in the middle?
I really don't know, I'm a paralegal not a lawyer yet. Everyone in this thread is bringing up interesting points.
Google Music was such a non-event they should probably delay launching iCloud till they need to.
Why aren't we sending probes out right now? Yeah, we're not going to hear anything back for (probably) 100 years, but why not start now? If we had sent a probe out back in the 60s, this would be something that I'd see results from within my lifetime.

Of course, this is assuming that we can build fast interstellar transit systems...which is a huge if.
Footjoy Dryjoys
Top players seeking the best equipment choose SYNR-G golf shoes for ultimate stability and motion control. ECL™ or "Extreme Comfort Leather" is a proprietary waterproofing system developed with Pittards® of England.
Scala's Match is Not Switch++
Yes, Apple was focused intently on copying Vista's technology coup.
the newest version of vim has this seamlessly integrated :)
Yes, __autoload is much faster, because it only ends up loading ~5 of the files. Previously we had included 30 files by default, and even though __autoload is slower on a file-by-file basis, the savings on the files we didn't need to load at all made it very worthwhile.
That's one way to look at it.

Alternatively, you could say that the point of "legalese" is to define and convey ideas more explicitly than they can be defined and conveyed in English. Try writing a contract in "Plain English" - it will necessarily be full of ambiguity and uncertainty, which defeats the purpose of having a written contract.

Similarly, although programmers don't write code in "Plain English" I don't think we should begrudge them the right to keep using obfuscatory programming languages - even if it keeps the bastards employed.
Amazing #9, would have made Salvador Dali drool. Funny caption too: "ОМГ!".
UK Government - £1 Million Funding Competition To Support Creative And Digital
Always use Autoload if you can for large projects. The DRAMATIC performance losses of requiring files and classes you do not ever use during a page load can be pricey. Rasmus' quote was saying that PHP/APC can't save the opcode for a file WITH all of the includes if there is any conditional associated with the require. This means that each include's opcode will be pulled from cache each time (not a big deal!!!). [2006, http://pooteeweet.org/blog/538/]

Things in favor of Autoload:

1) Ease-of-use of not worrying about if your class is available

2) If you don't use Autoloading and require clases, you have to load all of those from the opcode cache (and make APC keep track of them) despite that you may not be using many of those classes at all.

3) It helps encourage putting things in classes (whether they are static functions or not).

4) If you ever need to conditionally require a class, you are likely going to run into the same opcode cache hits (instead of NOPs) as Autoload. You'll have to include ALL of your classes to avoid the problem.
Ncesoft Flip Book Maker – Create a 3D Flipping Book
Ncesoft Flip Book Maker is a powerful software which helps you to create a 3D flipping book. It helps you to convert a Pdf file into a flipping book.
. is the first entry
http://www.wolframalpha.com/input/?i=time+dilation+traveling...

2828 years + 2200 = 5028 A.D. says wolfram alpha
Fair enough, but if their technique is based on mining data from users of the service, then let's wait a little while and do the comparison again.
Mini flash crashes worry traders
It's nice to see the precise mechanics explained, and it might be rather "negative" to make your point, but it is a pretty obvious solution and I agree with you.
I wonder if homeless people take advantage of the cafe? What do they do about that?
Yeah, we can still look at some extremely broad possibilities how how such a planet atmosphere could behave based on the little we know about the planet. Then the simulation gives some guide onto how each of these would play out.

Sure it's very speculative, but one step up from no data at all, which is the best we have now. At least have an idea of the size, the orbit and the sunlight intensity that would be hitting the planet.
Perspective: leading the US into an unnecessary war in Iraq, under what most reasonable people would say were trumped up claims and distorted logic, which then directly led to 3000+ American military deaths, and a multiple of that in Iraqi deaths..... Not a felony.

Streaming a video without authorization? Felony.

A woman claims a man (IMF chief Strauss today) forced her into some sex acts: mere accusation causes him to be led off a plane and put into a jail cell pending a full trial. Before a fair trail, he's now in jail. Based on one person's accusation. (Which may or may not be legitimate, or may have been a honeypot setup, we don't know yet, and may never know.)

Several men and women claim a man (and his administration) did (the things I claimed in my first paragraph): neither Bush or Cheney or any other top leader ever spent time in jail to this day, nor even charged in the first place. (Libby doesn't count, he was charged with something else, a formality.)

What's broken here?
I don't know, but I would guess if junk mail is different, it is because of the special letter delivery laws that the US Post Office has. It would probably require some "CAN-SPAM" equivalent type law for letters to get rid of junk mail. But, as the PO gets paid for each letter, I doubt any such law would get through.
In Optogenetics, Buttons for Neural Switchboards
How have people been responding to such interfaces?
I don't really mean to complain about this poll, because it's a legitimate question and it's sparked some good discussion. But having a poll about software patents on HN feels a little like having a poll about the ATF over on Glocktalk (or some other suitable analogy). Of course everyone (to within experimental error) is against.
The fact is that I want my co-founders number one priority to be the startup and the cold hard facts are that that isn't possible for most new/expecting parents.

If we need to fly to New York or spend a week prepping a deck or taking care of some emergency, I need to know they can do it on a moment's notice.

Now, maybe this isn't true for some startups, especially if you have a lot of co-founders, but certainly in 1-3 person startups, there is more work than there is time in the day and I just don't see how someone who is getting little to no sleep every night can possibly keep up with it.
Okay HN: Which one of you pitched College Humor last week? Be honest.
This goes back to the 10,000 hours of practice. There really is no substitute for sheer experience. What would Tim Ferris have to say about this though? How can we hack this?
Every time I see an article like this I thank God I'm not using PHP. It's always, "Remember to always use do_something() instead of dosomething() or else something will suck for some reason."
I am probably not saying it correctly, but does it need to be moderated? I know two wrongs dont make a right, but in a world of constant unadulterated government sponsored shafting of the little guy wouldnt it be good for a change to make government "prove" its innocence (or act on it if the allegation was genuine)? Again I am making a general statement about corruption being associated more with the government.
Hard data: No way. (i'm kenyan)
The first time I saw "pay what you want" at a cafe was in Salt Lake City, UT. It was right next to the Utah College of Massage Therapy in an upper-middle class neighborhood.

I went in there a few times. Most people actually overpaid a little bit, throwing in like a $10 when they got a coffee, main course, and a snack (this was 10 years ago, would've cost maybe $7 to $8 at the time normally).

Some people did take a meal and only put in $1 or whatever, but not too many and that's probably more than compensated by people who overpay a little. The key is probably where your location is.
Migeul De Icaza's Satartup Xamarin - .NET for Android, iOS
Amazon.

Its product pages provide way too much information upon arrival. And its typography is quite excessive.
http://pe.usps.com/Archive/HTML/DMMArchive0810/C023.htm

It seems to indicate that unless it's for a medical reason (and labelled accordingly?) you're not allowed to send human or animal feces, so the diaper idea is out.

Other garbage would depend on the risk of the actual garbage. Empty containers and so on is likely to be fine. Rotting organic material could be iffy.
We're headed off a cliff!

Go faster!
This could very well be true but I would've assumed that the dev version is always greater than the beta version? I just remember having to wait around 3 days before I could download a dev version after I switched.
Crashes a few times upon initial loading. Had to refresh. After it did load, I find the examples are much harder to read than helpful. There are a couple of Chrome plugins I currently use for hacker news for helping identify new comments as well as collapse comments that works out well without having to leave the actual hacker news site.

1] https://chrome.google.com/webstore/detail/hockhafcdegocajmjh...

2] https://chrome.google.com/webstore/detail/imeeonmdbakdmilnnc...

Those are the ones I use and they work fairly well. Of course that doesn't actually help stuff like iOS browsing but it doesn't bother me too much.
Oprah winfrey show final episode
Leave aye?

What took you so long to presenting an actual argument? The reason I replied to your dubious claim at best, "In other words, you are paying for the brand, not the product" is because you offered no proof or evidence, you just made some random accusation.

How do you separate what profits are due to the successful product and those which are due to the brand? AdAge did say Apple is the most valuable consumer brand, but I'm pretty sure you weren't referring to that. You're saying any % more that Apple makes over x, x being the industry standard is due to Apple's brand, but Apple's products are commodities so it's not a fair comparison. Apple's OS/UI is usually where the added value comes from. It's a virtuous cycle, Apple makes good products, people trust them, so they can charge more than say Acer who doesn't have the same track record.

I'm not a fanboy, I use a Dell and a Blackberry, maybe you should stop making assumptions. I just prefer to have discussions, not flame wars, which is what you tried to instigate in your initial comment.
How to run a ruby conference (and how much it cost)
An opt-out is a good defense that the companies should have done a long time ago to avoid criticism and getting into this situation in the first place. It's doubtful that too many people would take advantage of it, and the companies can just point and say "see, we allow an opt-out!".

But as a society, I think an opt-out is a poor thing to encourage. If the behaviour is not acceptable, why should people have to opt-out, instead of opting in?
Your problem statement is wrong.

The child is traveling 40 light years at 0.9999c, which takes about 40 years + 35 hours. However the child won't arrive back 50, the child will not yet be 11. See http://www.wolframalpha.com/input/?i=time+dilation+traveling... for the exact age.

See http://en.wikipedia.org/wiki/Twin_paradox for more on this, including an explanation of why your belief about the age of the traveler is wrong.
No. You aren't handling the case when count is 2 correctly. In that case, cell.live should remain unchanged, while you are setting it to false. (Note, however, that the code in the comment you are replying to is also incorrect. And does the same thing as your code. So you posted a correct transformation of incorrect code, that keeps it incorrect.)
Fascinating.

40 years at 0.90000c = 91.76 years
40 years at 0.99000c = 283.55 years
40 years at 0.99900c = 894.65 years
40 years at 0.99990c = 2828.00 years
40 years at 0.99999c = 8944.00 years
Microsoft wants to become next Apple
Windows Phone "Mango" screenshots show off new features
Perfectly round shape on the moon.
http://24.media.tumblr.com/tumblr_llbj9trfTx1qzt1kzo1_500.jpg

I just took this photo. Although the picture is pretty mundane, I observed something I have never seen before: The perfectly round circle on the bottom of the moon (bottom right hand corner).

At first I thought it was a crater, but it looks too perfect. What could it be?

What are the shiny dots all over the moon?
Add Header Before TOC & Hide ReportViewer While Rendering PDF Docs
Aspose.Pdf for Reporting Services 2.2.0 has been released. This new release includes support for some new amazing feature such as displaying Table Of Contents on subsequent pages (not available in SQL Reporting Services) and generating reports without ReportViewer being visible. More along, now it also supports Aspose.Total.Product.Family license scheme. Therefore, if you have Aspose.Total.Product.Family.lic file, you can use this single file with all Aspose.Total for .NET, Aspose.Total for Java products and also with Aspose.Pdf for Reporting Services.
Well at least you don't have to fire the guy or go through a 6 month review process.
Nope. The point of those if's is that the value of cell.live remains unchanged if the condition is false. Your code does not do that.

What should happen is that, if count is 3, then cell.live becomes true. If count is 2, then cell.live retains its previous value. For all other values of count, cell.live becomes false.
How can this be?

If the child were moving at 0.9999c (which is less than 1.0000c) and the planet is 20 light-years away, then how could it take less than 20 years for the child to reach it? Let alone ~0.5 years?

EDIT: Here's an explanation from a friend:

light always travels at c even if you're already moving close to c
but it's impossible for anything to travel faster than c
so if you're traveling at .9999c
the passage of time must be scaled for the traveler
to make light on the ship appear to move at c
even though it's only moving at 1-.9999c

That's... awesome.
You can't really argue that unauthorized streaming doesn't impact the entertainment industry negatively.

Yes you can.
Exactly, but if I was the lawyer defending the phonebooks, that's exactly the argument I'd make--that the PO was no different and that paying a government employee to deliver the document* shouldn't make the act any more legitimate than paying your own employee to do so. You could argue it's anti-competitive or that it's essentially a bribe to the government as well.

*Document meaning any letter, junk mail, leaflet, flyer, or phonebook.
Or a gun.
And flicker redirects to flickr. So people can easily get there!
Yes. Dev should always be greater then beta. In the earlier days when everything was unstable enough there might not have been much of a difference at times. It was pretty much instantaneous for me both with my Cr-48 and with the Chrome browser.