skysight-inc/HackerNews huggingface dataset:
The implementation of the binary_search algorithm (https://github.com/nzakas/computer-science-in-javascript/blo...) is bugged by the infamous (http://googleresearch.blogspot.com/2006/06/extra-extra-read-...) "integer overflow" bug:

middle = Math.floor((stopIndex + startIndex)/2);
Don't underestimate this. Over the last five years I worked in corporate IT I heard more and more request for "iPhone" versions of our apps and saw more and more emphasis put on making things look good, with Apple's design aesthetic defining "good". Microsoft ignores this growing tide at its peril.
I believe that abstraction layer is currently called PhoneGap.
I should say the service wasn't horrible - it was just so noticeable the change in attitude from when we were regular customers to 'Grouponers'. I do like the point that half the value of a restaurant is the service. Except in Chinese restaurants, my favorite one has terrible service but the food is great and it seems to add to the character of the place.
The Linux Week In Review June 13th
It doesn't mean you can't code it too. It's a great learning exercise, regardless of who got there first!
Assisting in protecting the Jewish people from annihilation is not a religiously based relationship, it might be based on guilt at worse. Helping the defenseless Jews in WW2 was much more costly than helping israel now.
That's my point -- we know that people aren't proactive about their privacy, yet we also know that there are "considerable issues with regard to Facebook and privacy." So what can we do but hope that the fickleness of public interest eventually steers the culture away from this danger?
I agree with the tipping problem, I myself try to tip based on the total value and not what I pay (because that may be just for a few drinks). I don't want the waiters to suffer for the business owners discounts :)

Here in Czech republic we have local variants of Groupon and in some restaurants people reported the despise from waiters too. Surprisingly, this did not happen when we went to one that was otherwise really expensive - the people there were very nice and friendly. We won't return there regularly because it's out of our price range but for special occasions I would like to go back.

Regarding the quality - from my experience it's about 50/50, some restaurants are bad, some are ok so maybe contactdick was unlucky in encountering the wors first.
Thanks, I'll look at your project.
$10K for solving a math equation
Well, depending on the PDF some have hard links in the index, table of contents, etc., so that balances out any problems of ctrl+F and saves the step of thumbing to the page or entering the page number and pressing enter... I'll admit for me the fastest way of finding stuff is usually through the table of contents. Even so I still can't think of a case where PDF search absolutely failed me and I could only find what I was looking for in the index or ToC, and my primary reading materials are tech and math and science... For the fiction I read it's superb for finding quotes or dialog if I can't remember a general area in the book where it was (which is frequent, especially if I hadn't read it for months). Looks like Okular doesn't have regex search though, too bad.
Where the hell is the charger cable for my Nook?

If you haven't read it already, DNA wrote the definitive essay on the evils of proprietary power cables and connecters. It's a great read.

"Dongly Things" by Douglas Adams

http://www.douglasadams.com/dna/980707-03-a.html
On the broad scale of history, neither national governments, nor their commitments to historical preservation, are something you can rely on.

I do not mean this as a modern-day political snark at any particular government, I mean this as a historical comment.

Of course there's no guarantee your archive will survive indefinitely either, but if we treasure them and have several of them the odds go up substantially.
The greater the diversity in the market, the more appealing HTML5 becomes. It's bad enough supporting two platforms but 3-4 is going to push a lot of shops to the browser. Unfortunately, both Apple and Microsoft have significant incentives to make sure the browser experience is always inferior to a native app.
The strategy seems fairly simple to me:

* HTML -> Web apps

* Silverlight -> Native Apps & Mobile Apps (DirectUI?)

* WPF -> Dead
I used Jess in one chapter of my Java AI book in the first edition, but Jess's licensing tightened up and I dropped coverage in later editions.
I think there will be a major shift with the next generation. A lot of the reasons for keeping hardcover books are due to tradition/"I grew up with this therefore I like it"-similarly to music.

I agree that consumable books will disappear faster than collectible books. In fact, I believe Amazon released statistics a while back showing pulp fiction sells better (compared to paper copy sales) than pretty much any other genre on the Kindle.

But I am not so sure collectible books will be around in 30 or 50 years. By then, the concept of a bookshelf may seem hopelessly backwards. A lot of the historical symbols of pride have become meaningless (or at least significantly less appreciated), why wouldn't paper copies of Knuth's books follow?
Yes he is a mouthy blogger publishing some numbered lists.

He also has a lot of experience: has sold some companies; raised vc; made and lost millions tittered on the edge of bankruptcy and come back again.

Have a read of his blog. its a mostly very well written, frank look at his life.
It is partly a matter of redundancy. Unthinkable as it might be, libraries do burn. They do have budget cuts. They get burglarized. Their archivists make mistakes. Better three universal libraries than two. Better four than three. When we're sure we have too many we'll deal with that; they are far easier to destroy than create.

It is true that things might be more efficient if everyone pooled resources and, say, kept track of the fact that we have ten distributed copies of Book X in the world but only three of Y, so we should be looking out for more copies of Y. Which brings us to a second reason to start a new public archive: as a pilot project to explore different ways of running public archives. Modern infotech is evolving fast; presumably there is lots of room to experiment with different strategies, and the national libraries have only so much budget for research.
There are several online maps from local websites, e.g. http://maps.walla.co.il
Video Presentation on Stuxnet by Hungry Beast
I agree, in the internet age I was hoping searching would become more efficient so that 'find good restaurant in xxx' was a sensible thing to type into a search box. Currently there's too much noise so places like yelp are a much better option. Interestingly Yelp hasn't taken off here yet.
Does Your VP of HR Report To Your CEO?
Yeah good point. She did explain it to us and point out the wording of the deal as though she expected us to argue.
For example, Israel was more closely tied to Russia than to the US until around 1967-1973.
Why Twitter Matters Now in Biotech, and Why Execs Can’t Ignore it Anymore
Next time don't mention your voucher until the end of the meal.
I knew this after taking shrooms.
I think this is a technology issue-skipping back pages or searching is difficult with today's e-book readers, but I can easily see it becoming easier with e-books than with paperback books in the future. As with many technological advances, I imagine it'll take more initial effort to learn how to efficiently read the way you want with e-books, but once you do it'll be significantly faster.

In other words, someone needs to develop what Vim/Emacs is to text editors, for e-book readers.
All In One IT Services Management Software – Autotask Review
It's good to hear you'll go back to the nice restaurant. For some reason I can't get over the mindset that if I return I'm no longer getting the discount so it's way too expensive.
But then they wouldn't have gotten the discount because they'd have ordered the 'wrong' wine.
A Money Saving Option For Impressive Printable Flyers From PaperDirect
PaperDirect has the solution for saving on your printable flyers. Choose any of our 50 designs of border paper, customize the flyer online, and print unlimited copies on your desktop for only $9.99.
Groupon customers are definitely poor tippers. I've known a number of waiters to complain about it.

The problem is they tip on the Groupon price, not the full price, and are thus tipping something like 40% of what they should be.
You felt unwelcome. That's horrible service, no matter the reason!

It's quite possible that they give excellent service when the customer is not using a coupon. But I'm guessing you'll never know because of how they treated you. Even if you aren't their target market (because of the cost and driving distance, etc) it's possible that you would take someone there for a business deal or date because you remembered how nice it was. (Nevermind the outside.)

They defeated the whole point of groupon: To attract new customers.

Instead, they are actively pushing them away.
As the more serious Singularity advocates also get tired of pointing out, a theory is not automatically wrong just because it can be shoehorned into the general outlines of an apocalyptic myth.
Is this what the "IE is native" PR claims are about? That HTML DOM and CSS are going to map directly onto the window system instead of a virtual window (or whatever it is called) in the browser engine?
This reminds me a bit of the library of alexandria.

Physical books all in one place have a bad habit of being more vulnerable to destruction.

But hey why not, it's just one copy of the books. I think it's a great idea to at least attempt to keep an archive for this reason:

"When they were making microfilm of books, they thought they would never have to rescan them. When they were being scanned at 300 dpi, they thought they would never have to scan them again. We know someday these books will be rescanned. They will be waiting here in boxes."
Microsoft updates API mapping tools to aid Android ports to Windows Phone
I enjoyed this greatly when I found it on Reddit.

Flagged.
that sample size isn't very scientific anyway
If they do, they're doing an admirable job of keeping it a secret.
They also wouldn't have received the poor service and smaller portion size that the poster perceived having received. It's on the customer to read the fine print of the deal and order the "right" wine, anyway.
Are people forgetting that Israel is the only democracy in the Middle East? The US enjoys a very healthy military relationship with Israel because of its advanced technology and its strategic location....all religion aside.
Forget 50%. iPad has 53 TIMES the online usage of the nearest competitor:

http://mashable.com/2011/06/02/ipad-web-usage/

Your certainty that reality is otherwise seems to be in want of a citation.
Trying to make IndexedDB easier to use with a Jquery Plugin.
It's not without problems, sure we will be more vulnerable to somebody attacking the datastores keeping these locations. But honestly, so much data is stored about us already, this is not a bit enough leap to provoke a big outrage. It's just another piece of the monitoring puzzle, and a small piece at that. When I check my iPhone for apps using location service, I find ones that shouldn't need it, like "cut the rope", "dropbox" and "HuffPost". I also find services that really need my location to add value, like AirBnB and Tripit. When we start sharing our location, we get access to new services that can help our lives and we also expose our selves. If you don't think location services can add value to your life, buy another car and disable location sharing in your phone. If you do like the services that enhance your life with location services, enable it and learn to live with the fact that somebody might be able to figure out your movement habits. It's a tradeoff like everything in security.
Methinks the commenter doth protest too much.
Ayan agate
See the code with jquery plugin , and the huge of IndexedDB alternate.
1) download stackoverflow dump. (creative commons ftw)

2) import into local database

3) setup full text search

4) you dont need internet anymore
I see your point, I'm using market cap as what the market considers the value of the company in question. I also mentioned that it's a good trend barometer first and foremost, looking at equity value and not enterprise value, so I don't see why it would 'bother' you i.e. misleading in some way.
As long as you tip based on the non-discounted total I don't see the problem. Unfortunately many probably don't do this, which is why the waitress probably was unhappy to see a groupon customer.
is anybody really doing this in the real world? it seems kind of inefficient to go through 15 testing cycles to write 10 lines of dead simple code.

i like to write tests before my code when i am trying to solve a specific problem, or think of a new potential issue and want to test it, but i find "pure" TDD takes it way too far. i don't see practical use in exhaustively testing every single potential case for a simple wrapper around datetime. i do like the idea for really critical sections, but it seems way overkill for most code.

TDD to me seems, like most things, as a good tool to have in the tool box, but moderation is key. articles like this are helpful to describe the practice but tend to always prescribe it for everything.
World's first Content Addressable Memory stores data without using power
Turkish police arrest 32 suspected Anonymous members
I don't see that there is a significant difference between ebooks replacing paper books, and books replacing scrolls, or mp3s replacing CDs replacing vinyl.

Aficionados may still use the legacy format, preferring it due to some special advantage, but for the normal man-in-the-street, the more convenient format will definitely replace the old.

Pop-up books and textured books for small children, like the "That's not my ..." series are a different matter, and I can't picture quite what their replacement will be; but normal story books, whether illustrated or not, will easily be replaced by ebooks, once colour e-ink is good enough and cheap enough.

I don't think it will happen to you or I in our lifetimes, we already own too many books, and the effort and expense of replacing our existing paper collections with electronic copies is too great.

It will happen to other people in our lifetimes. People who are young children today are just as unlikely to buy paper books in adulthood as today's youth are to buy CDs. I wouldn't be surprised if your son's high school studies are conducted without paper books.

I can't imagine buying paper fiction for myself any more, unless I have a very good reason for doing so (I recently had to kill several hours alone on a rainy day with nothing but my wallet, so I bought one).
any number of heuristics.

average speed, location (are you in the middle of a park, or traveling 65MPH very near to a highway?), ambient noise,etc
Pay Taxes, Find Love
Does this means that C++ programs will at long last get a consistent ABI?
Absolutely, agreed, I just wish the article had broached this.
Also, the @-tweeting is easy to ignore. Yes, you have to check who is replying to you a few more times than you would have, but it's not the end of Twitter.

Where you can see the real problem is when there are trending hashtags that spammers get a hold of... spammers grab hold onto a hashtag and keep it artifically trending long past its relevance.
I think Groupon suits the purpose if you would be visiting a restaurant that has a usually high amount of coupons or vouchers changing hands. Here in the UK if Franky & Bennys offered the coupon I don't think I would think twice. I think also if it was for somewhere I frequented often and I know the standard of food is good then I would do also.

We had a situation earlier this year with a voucher where the terms were not fully explained, we went to Manchester (England) and sat down in a restaurant called Giraffes. The voucher did not explain that it could not be used before 7pm. It was 1 in the afternoon, I sat there regardless and continued to be ripped out (£8.50 for a breakfast, cheapest thing on menu) and in total paid £40 for some dinner.

In terms of tipping, I generally leave a tip if around 10%, more if the person waiting is really good and a good personality, less if I think they are over acting it to get a higher tip. They don't get anything if the food is crap or over priced. I don't think I have been anywhere recently where I have not used a voucher or coupon, it's not because I am tight, it's simply because they are there. I don't consider myself a bad tipper either.

I know what you mean though about feeling bad about using vouchers or coupons, I feel slightly guilty about it. I think the English culture is slightly different though, I think we don't like confrontation and I feel this goes into that realm.

Stick to voucher cloud, check the terms though properly before sitting down!
Follower counts as in, "Look how big my dick is."
There are about as many Jews in the US as there are in Israel.
I seriously doubt a lot of the legacy development stories in .NET are ending. But those are brownfield development stories of apps that were on the drawing board years ago.

I am looking forward - and I just dont think Microsoft has its act together or even beleives its "Developers, Developers, Developers" mantra any more.
It depends on your use-case. If you exhaustively test something that is a simple wrapper around datetime, then you could swap out datetime with something else and still be reasonably confident that it still works (I realize that this is less likely in this example).
Sounds like you would prefer a communications medium not running a proprietary protocol controlled by a single company whose business model relies on their ability flake sure you cannot block unwanted content.
That's cool. Something I noticed - if you sort by 'most liked' it seems to be the most liked entries at the bottom, which probably wasn't the intention.
Fathers day gifts | livenews24hrs.com
Totally agree with you. My number one priority is that my children have a career that leaves them as fulfilled as I am. If that means they're entrepreneurs too, that's awesome, but I don't really care. As a result, my wife and I are focused on giving them space to discover their own passions and then resources to pursue them
There is a distinct possibility that restaurant owners approved the deal with Groupon but staff is left to suffer the consequences, possibly with little warning from management or the owners.

The restaurant business is not exactly raking in the big bucks right now, with the continuing (and deepening) recession, and the owners may have signed on in desperation to claw out whatever money they can.
Do posts made by others to the group wall show up?
Google being a private company is immaterial - they are not self-censoring, but complying with US law. First amendment concerns lose out to national security concerns most of the time. I think it's valid to question if this should be one of those times.
Redundancy is why so much information survived from ancient times. When Rome collapsed, scholars elsewhere hung on to its knowledge and continued building on it while Europe pulled itself back together.
What to do when you have no time to think
I do work for the Library of Congress and no, it is not part of the mission of the Library to maintain a physical copy of every book ever written, though it does have extensive collections. Regardless, having redundancy in efforts will only make the efforts more effective.

Edit: To expound on my last point, It not just redundancy in the collections, but redundancy in the effort which is important. If the LoC stores two copies of the same book in two geographically dispersed locations but makes the same brain-dead mistake in preservation process at both, then it doesn't matter that there were two copies. Entirely separate organizations using entirely separate methodologies are much safer than one organization. The general process for storing these books seems to be very different than that of the Library so it is good that he is duplicating the effort.
People who can sell are also critical, but the difference is that salespeople's performance is more easily quantifiable than most others' and the stars generally do take in outsized earnings via commissions and/or bonuses. It's also easier for their mediocre colleagues to take, when they know that the money the they make is tied directly to how much they're bringing in for the company.
I don't know if there is such a big similarity to music... We interact directly with a book, so using an ebook is a very different experience. But listening to music sounds pretty much the same whether the source is a computer, my phone, or a CD.

Maybe it is just because I grew up with books, but I really prefer to actually hold a real book to read it (although I do read ebooks when it's more convenient). The tactile experience of a real book is something that I think ebooks will have a very hard time trying to surpass. So I think that there will always be a place for them.

Although perhaps I'm starting to sound like someone who will only listen to music on LPs!
I work principally in academia, and I recently bought a Kindle to cut down on printing costs for PDF files (acquired from various sources, principally JStor). I find it increasingly unsatisfying.

1. I have to cross-reference page numbers for every citation. When you're talking about hundreds of citations from dozens of sources, you come to regret not reading the originals in the first place. I don't see the day when citing Kindle locations becomes acceptable among the standardized citation guides (MLA, Chicago, etc.) since many users convert PDFs by themselves, and different settings (e.g. omitting introductory pages, dedication pages, title pages, etc.) mean different locations.

2. Annotations. Everyone tells me how easy it is to insert notes and highlight passages, but the currently available methods do not give me the same flexibility as a simple pen:

2A. Discontinuous highlighting/underlining. Sometimes I don't want to highlight every word in a particular passage, but Kindle does not allow me to do this; as soon as the highlight ends, the next highlight can only be treated as a completely new annotation.

2B. I can't draw. Arrows, lines, maps, even illustrations are an important part of my annotation process. On the bottom of one section of Plato's Meno, for example, I have about a half a dozen drawings trying to make sense of a particularly interesting geometry problem (about which several papers have been published) [1]

2C. Multiple language/character support. This is a particularly difficult issue when dealing with translations. Even if I'm not reading a Greek text, I may be on-the-fly translating between English, French, German, and Greek (often 3 or even 4 of the above within the same paper!). As such, quite a few of my notes are in Greek, and so you can imagine my disappointment with the Kindle.

3. Jumping between passages is difficult. Sure, I can search the text - but I guarantee that's actually slower than flipping through pages. And if I direct students to a particular passage? That one kid using a Kindle in the corner of the room is still looking for it by the time we have moved on.

These are not all just Kindle problems, they're obstacles that eBooks and their complimentary software have to overcome to actually obsolete the physical book. I don't mean to suggest that these issues can't be overcome [2], but I believe the paperless revolution is much further away than some like to believe.

For the small amount of for-pleasure-not-work fiction that I consume, I'm probably not going back to paper.

[1] http://homepage.mac.com/jholbo/writings/dialogues/meno/meno9...

[2] No doubt the failure to adopt these features stems from low demand -- most of the demand in the industry is for popular literature, not the sort of people who are writing all sorts of things in the margins of their books. There are also some curious UI/UX problems that need solutions, e.g. scanning pages.