skysight-inc/HackerNews huggingface dataset:
> Optimal is a binary search tree in an array, like the way heaps are implemented.

Not quite. The heap layout has bad spatial locality. Think about the last row of leaves - it occupies the last 50% of the array. The next-to-last-row (all their parents) is in the middle 25%-50%. All those leaves are far away from their parents, and thus the heap is not optimal.

Better is to cluster parents and children into small groups. With clusters of three, two thirds of the time a child will adjacent to its parent.
Arkham City requires GFWL, almost made me quit the game I bought and go pirate it. Still considering it, honestly.

Not only did it fail to log me in the first time and totally dropped my first hour of gameplay, but I ended up having to reset a password and spend over half an hour trying to get Arkham City and GFWL live to work together.

I lost over 1.5 hours of time to that bullshit, and a pirate would have lost 0 hours.

I am ONCE AGAIN bitten in the ass for being a legitimate customer instead of a dirty pirate.
I use vimwiki in combination with Dropbox and some symlinks to keep my text-only wiki portable. Useful for tech snippets and notes when I don't want to fire up a browser...

... speaking of which: Some commenters suggest various browser-based wikis. My favourite is the JavaScript-only tiddlywiki:

http://tiddlywiki.com/

It's got bunches of plugins and compatible variants (I use the mGSD variant for GTD), so it's way more than just a wiki.

I keep this in my Dropbox too, and can work on it with any browser, Windows or Linux, with or without git or any other HTTP server, online or offline.
Do you love your environment? Then support recycled art
It is 2012. Many people are saying that doom day is near. Some consider the Mayan’s prediction. And some consider something else, while saying this. I don’t know whether it is right or wrong
There are poor web designs that are pretty 1999-like, but that doesn't stop people from doing it. To each their own.
Microsoft's Surface Tablet to Ship October 26 Alongside Windows 8
Gamify everything with a progress bar
Consistency. It takes a few days to get used to then you have consistency across the Apple platform for the rest of time.
Thank you for expanding the list of games I should never buy.
>> "It's not in any way shape or form a version or variant of Windows Phone 8 though."

I wonder, how would you characterize WP8?

Judging by the fact that very similar situations to this one have happened over and over again throughout history, I'm fairly sure that once Windows Phone 8 is out, people will forget very quickly that previous Lumia phones never supported WP8. They'll simply get excited about the current offerings and that's it.

People aren't very good at holding grudges when a shiny new carrot is dangled in front of their face.
Eega Visual Effects Photos
Eega Visual Effects Photos
It made sense when the only thing that would animate in real time was the little position indicator in the scrollbar.
This is an entirely baseless accusation, but I have my cynical hat on today.
I'm wondering if the cost to provide the additional customer service that could be involved in helping people deal with stronger security (password reset email, reset pages and confirmations etc) has been weighed against the cost of upgrades and reparation for account breaches, and influenced the decisions here.
Maybe the solution is for a 'white hat' hacker to hack them, send them an email (oh btw here's the usernames and passwords of thousands of your customers). That might light a fire under their ass.

Edit: And publicly blog about it to shame them into action.
Done good luck
Be sure to print it out and put it in some sort of capsule though. It'll get lost in this HN thread and it's always fun to read back such things 25y later :)
Pinterest for Photographers: Ultimate Photography Marketing Tips @MediaNovak
>> I am sure the MILLIONS of lumia owners will never pick up one again either.

People aren't very good at holding grudges when a shiny new carrot is dangled in front of their face. (Assuming the carrot is shiny -- only time will tell but signs are pointing to yes, it probably is sufficiently shiny.)
> AI would advance a lot.

But we'll still be adamant that it's not "real" AI.
Tangentially related: although you're probably suggesting trisecting an edge with origami folds (which is straightforward), the mention of dividing by three using physical methods reminded me of the classic trisecting-an-angle problem, which apparently is also solvable with origami folds [1], even though it isn't solvable with compass and straightedge [2].

[1] https://www.math.lsu.edu/~verrill/origami/trisect/

[2] http://en.wikipedia.org/wiki/Angle_trisection
Microsoft could be using Surface to not only to force the manufacturers to create interesting products but to drive the prices down.

I believe it is Microsoft's interest to get as wide adoption to Windows 8 tablets are possible. Even if means selling them with very thin margins (as Google seems to be doing with Nexus).
No I think it's real. Body image is pretty plastic.
consider the idea that malware authors already knew about the vulnerability and have been using it.

Do you have any evidence that is the case? The original post didn't mention it.

Otherwise it just sounds like excusing irresponsible disclosure.
I had the same idea. The problem is that shifting the bits to the right results in decimal points falling off the end, which is actually a big deal because they add up to something substantial (i.e. more than 1) by the end of the sum.

If N = 15692343, the result should be 5230781. Using "N /= 2", you get:

0
+ 3923085.75 = 3923085.75
+ 980771.4375 = 4903857.1875
+ 245192.859375 = 5149050.046875
+ 61298.21484375 = 5210348.26171875
+ 15324.5537109375 = 5225672.81542969
+ 3831.13842773438 = 5229503.95385742
+ 957.784606933594 = 5230461.73846436
+ 239.446151733398 = 5230701.18461609
+ 59.8615379333496 = 5230761.04615402
+ 14.9653844833374 = 5230776.01153851
+ 3.74134612083435 = 5230779.75288463
+ 0.935336530208588 = 5230780.68822116
+ 0.233834132552147 = 5230780.92205529
+ 0.0584585331380367 = 5230780.98051382
+ 0.0146146332845092 = 5230780.99512846
+ 0.0036536583211273 = 5230780.99878211
+ 0.000913414580281824 = 5230780.99969553
+ 0.000228353645070456 = 5230780.99992388
...

which eventually reaches the correct answer for any desired degree of accuracy. But using "N >>= 2", you get:

0
+ 3923085 = 3923085
+ 980771 = 4903856
+ 245192 = 5149048
+ 61298 = 5210346
+ 15324 = 5225670
+ 3831 = 5229501
+ 957 = 5230458
+ 239 = 5230697
+ 59 = 5230756
+ 14 = 5230770
+ 3 = 5230773
+ 0 = 5230773

which is out by 8.
Isn't most mass media fairly uniform anyways? I remember hearing criticism that the Rwandan massacre was overlooked for quite a while because most airtime / view attention was dedicated to the OJ Simpson trial.
This looks great, but unfortunately it doesn't actually play for me. Soundcloud works fine for me (Chromium on Ubuntu), any reason why it wouldn't play?
How do you increment without using "+"?
I posted here because I don't like the implication that handing out your e-mail address (and allowing them to use it for whatever they state in their terms) bears a cost of 0. It is clear that 37signals also consider it to be worth much more than that, otherwise they would just link the PDF from that page as an alternative to having it e-mailed. "Free" means "zero cost" to me and I prefer conditions to be stated clearly and honestly, that's all.

[I don't use gmail anymore because my e-mail content is also not "free", i.e. I prefer paying 0.90 EUR/month to a smaller Webmail provider without ads and with worse spam filtering over letting Google analyze my personal e-mail for advertising and possibly other purposes - it's a cost I cannot calculate]
Compaq Customer Service Number - Get Support Consumer Support Forums 
Compaq Computer Corporation is a leading computer manufacturer. Compaq Computer Corporation offer product, a Variety of screen sizes and types to meet your specific needs. It was founded in February 1982 by Rod Canion and his two partners from Texas instruments.
I'm not sure if you are disagreeing? The stark contrast is exactly what I'm trying to highlight.
Because nobody has patched it. Go there, download the source, write a patch, submit it.
There's a tradeoff between latency and amount of memory touched.

The beautiful thing about the heap layout is that you can prefetch more than one level ahead. If your keys are 4 bytes, 16 of them fit on a cacheline, and you can prefetch 4 levels ahead with a single cacheline.

That means that if nothing is in cache, worst case each loop iteration will take < 20 ns.

With any kind of clustering (really, it's just a variation on B-trees) you touch less memory but you can't prefetch as far ahead.

In practice I suspect a 4-ary heap would perform better than a binary heap for my application, but there's a bunch of math I'd have to work out again that was hard enough for the binary tree version.

Not quite sure how what you're describing would work, but I can't see offhand how you'd implement it without losing the prefetching the heap layout gives you.
PhD Comics: The New Mars Rover
Duplicate

http://news.ycombinator.com/item?id=4311511
>Windows 8 is coming to destroy a lot of "PC" businesses

Actually, this might be something positive if crapware (SW and HW) producers take most of the blow.
Do you know who else does this? The US Department of Labor when you register/reset/change your password with the PERM system.
Yep. Skype's selling point isn't its uniqueness. There are plenty of reasonable VoIP options out there, of course. Skype's selling point is its established user base. WebRTC can only help that.
Includes Visit to Pristine Locations
Goa is the perfect destination of holidaying in India. It is the land of sun kissed beaches, azure sea and glistering sun. It is one of the most sought after destinations in India. It provides the travelers with an opportunity to enjoy their holidays with their loved ones amidst scenic charm of nature and culture. There are several things that enthrall the tourists during their Goa Tour and they include beaches, rich heritage, wildlife parks and sanctuaries, cultural beauty, pulsating nightlife and not to forget scrumptious cuisine.
The opportunity cost and my new job
A scrolling text display that shows me the latest tweets from the @verge account.

Completely wireless via WiFi and uses a Heroku backend to get the tweets from the Twitter API. Built on the Arduino platform.

I have open-sourced all the code for the Arduino as well as the Node.js application.
ICC T20 World Cup 2012 Fixture
Who cares about attention in the valley when you're netting $1B?
China's Story of the Stone: the best book you’ve never heard of
Skype's value isn't a particular technical implementation, it's the install base, directory and related network effects.

WebRTC is likely to increase Skype's business (assuming the do a WebRTC implementation), at the expense of traditional telecoms and conference call providers.
UBI is not alone doing this.

Battlefield 3 also installs it's plugin ("ESN Launch Mozilla Plugin") in all browsers on a pc. It's capable of running EA's Origin service, so does it present the same threat?
Increment operator ++
A glimmer of a solution:

1/3 = 0.010101... base 2.

x = let x0,x1,...,xN-2,xN-1 (MSB is x0 and LSB is xN-1)

Now y = x/3 = x * 1/3, where y=(y0,y1,...), so a long multiplication will look something like (being sloppy about exact bit positions):

x0,x1,...,xN-2,xN-1

* 0.010101...

-------------------------

x0,x1,x2,x3,x4,x5...,xN-2,xN-1

x0,x1,x2,x3,x4,x5...,xN-2,xN-1

x0,x1,x2,x3,x4,x5...,xN-2,xN-1

Let's shorten it by grouping the bits in pairs, so BN=(b2N,b2N+1).

X0,X1,X2,X3

X0,X1,X2,X3

X0,X1,X2,X3

Y0,Y1,Y2,Y3,Y4,Y5

or:
Y0 =X0 or X0 +1

Y1=X1+X0+carry =X1+Y0 or X1+Y0+1 (extra bits of carry are in Y0)

Y2=X2+X1+X0+carry=X2+Y1 or X1+Y1+1 (extra bits of carry are in Y1)

The key is that in the above, there is only ever a single bit being carried between bit pairs, as the "01" pattern in 1/3 base 2 limits how carries propagate.

Here's a partial solution, which only works fro a few trivial cases (eg 2^N) since I haven't accounted for the possability of a single bit carry. For a full solution, maybe a conditional is required and an additonal logic operation or two to perform an increment on a pair of bits?

div3(int x)
{
int y=0;
while(x)
y ^= (x>>=2)
return(y)
}

Can anyone complete it?

Edit: formatting. Beats me how to do fixed width properly.
Edit: Oops. In the time it took me to write this qntm got there first!
Not true in the UK. Evasion is very low.

"The latest official evasion rate for the United Kingdom is 5.2% of all licensable places (for the 2009/10 financial year). The official evasion rate estimates the percentage (not the number) of all premises (not individuals or households) evading the licence fee in the UK. It is calculated for the Department for Culture, Media and Sport using a model that compares the number of licences in force to external statistics on the number of households and other licensable places in the UK."

This is based on data that suggests "Under 3% of UK households don’t have a television set (this figure does not include other premises like businesses)." Approximately 25 million TV licenses are in force.

Possibly there is more evasion in things like holiday homes and caravans, which should be licensed. But generally data suggests, as does my anecotal evidence, that most UK home-owners just see the TV license as a standard bill that is paid annually.

http://www.tvlicensing.co.uk/about/foi-licences-facts-and-fi...
How Can Startup Business People Help Recruit Technical Talent?
The article makes a lot of reference to the importance of an integrated hardware/software platform for Win8. But XBox Live is the elephant in the room here.

Quietly -- or not so quielty, depending on your perspective -- the XBox has become a behemoth in the entertainment world. Not just with video games, but with all forms of entertainment content (aside from music, which MSFT has never really been able to nail). Take, for instance, the interesting stat that over 60% of all Netflix streaming users stream via a gaming console. Or that close to half of all XBox owners watch one hour or more of TV or movie content per day through their consoles. Though it has formidable competitors in Amazon, Apple, and to some extent Google, Microsoft has a pretty impressive strategic position in the battle for the living room.

The only chink in the armor has been mobile. That's why MSFT kept investing so heavily in Windows Phone, and why it's going to fight as hard as possible in the tablet space. Not owning mobile means not owning the total entertainment experience, which means not having a ubiquitous ecosystem. So mobile is pretty darned crucial here.
This might be quite effective in preventing people trying to reveal your code as part of their job. You could use some sort of obscene image to hide your code in.
“You need to log in to read this article” :/
Sunny Leone New Stills
Sunny Leone latest Stills, Sunny Leone latest gallery, Sunny Leone latest hot gallery, Sunny Leone latest photos, Sunny Leone Photo Stills
Smug reply says that gems require things to work, and given that they're usually dependent on some version of ruby then the smug reply is usually right.
What would "they" have to gain from this ability? Ubi has already capability to execute arbitrary code on your machine via it's uplay software, they don't need a hole in browser plugin for that.
> this site really seems to scream "late 30-something suburbian white woman with a minivan" in a way that that most other sites don't, so I don't feel very welcome here. Shouldn't the front page to one of the world's most recognized online brands start out a little more neutral

On the contrary, you, personally, are not Yahoo's stereotypical user. Yahoo absolutely should start out appealing to its primary demographic as that will hook the greatest number of new visitors, and you've just described the typical web user. That web user will feel much more at home on this default page than on Ars Technica's default page.

I agree with you that in time, the page should adapt, and preferably rapidly. The difference is the starting point which should be the same as the starting point in the grocery checkout lane. You also shop at the grocery, but the checkout lane isn't designed for you.
… and then he goes and recommends 1Password, a closed-source “security” software. Yes, I’m one to talk, I’m using the OS X password manager. But I wouldn’t recommended it in a security blog.

Sadly, 1Password is probably the best solution there currently is. But this only shows how abysmal the current state of affairs is for security.
yep definitely hell banned :)
Let’s Not | Socyberty
When a walled garden actually is better for users, they could choose to participate. When users aren't allowed to choose, you can be pretty sure who the primary beneficiary is.
Samsung Makes Another Case to Have Apple’s “Sony Style” Put Before Jury
That's strange, the link is showing up for me (both here on the comment page and in the overview)
I found this after a little bit of searching and it seems to work.
n/3 = pow(2, log2(n) - log2(3))
Also, Ericsson, in a different thread.

http://www.ietf.org/mail-archive/web/rtcweb/current/msg04938...

No other companies so far, apparently.
I'm not sure I agree. I'd say my name is private, I'd say my date of birth is more private, I'd say my medical conditions are more private still. There are clearly degrees of privacy.

Does it really make sense to hold my bank to the same standard as a real estate website? Sure they should all reach some minimum requirement (salted and hashed passwords), but I expect my bank to have far higher standards (e.g. two factor auth) than a a random site.
I wrote a rambling reply and decided to cut it down to bullet points:

1. You can have a fulfilling life without a start-up.

2. You can be incredibly successful without a start-up

3. A balanced life is not limiting. The concept that the amount of hours you put in is directly correlated to 'success' seems like a delusion

4. Plenty of people die with retirement accounts untouched, vacation untaken, parnters unmet, friends forgotten all in the pursuit of 'success' just to have society move on and forget them.
Rolling list of all public data leaks
Picozu Developer Preview - the HTML5 Adobe Photoshop clone
It's not a "feeling" when all evidence points to the fact that, like every security vulnerability ever, a feature was added that had unintended consequences. There's no way it's malicious: Ubisoft can't do anything with this that they can't do everywhere else in the actual applications themselves!
Then his stated goals shouldn't prevent people making conversions to other formats. You just have to be careful with not misrepresenting the work, something that is already part of the non-transferable author rights in a few countries.
All That Cloud: Amazon, Google App Engine, Windows Azure, Heroku, Jelastic
You can't fix what's fundamentally broken. It's better to start from scratch.
Which is why going the full disclosure route prevents them from being insulated from their mistakes - otherwise, it becomes a moral hazard to keep playing nice with the approach to disclosure.
The thing is, Yahoo is a really good portal site. Probably the best. It turns out that being a portal isn't as lucrative as people thought it would be 15 years ago, but there's definitely still a demand for them. Yahoo just need to focus on being the beat portal on the internet, IMO. It's a sound long term strategy.
Q1: You should find developer to do the landing page and many different versions of it for testing which gives most traffic and email addresses. After a while just keep those that actually work with your marketing campaign.

Q2: Simple google hack gives you easily email addresses from forums and other websites where this niche group shares their email address publicly. Query something like this "@gmail.com site:mmorpg.com" the email address domain works so that it will search for email addresses from that email provider and the site keyword specifies the website where you want to find the email addresses.

Anyway with a landing page you should use google adwords for advertising campaign instead of trying to spam users to get their email address which you already have.
Agreed. My point was that uniformity will increase when content will be provided by one company (take Google Glass for example).

And you are right - it's partially happening right now. I highly doubt if website can gain popularity while being banned from Google search result.
That's pretty neat. When I need to make a firewalled machine SSHable I typically set up an 'ssh -R' reverse tunnel to a VPS, and then do a two-step connect (ssh to the VPS, ssh to localhost through the tunnel). PageKite seems like it might be a more convenient way to get that up and running.
http://omg.yahoo.com is the more relevant "portal" from that list, and http://answers.yahoo.com is the kind of demographic very few of us HN users rub shoulders with.
Daily Deal Study
I can't help but feel saddened that we learned how to code using View Source (indeed, it's a big factor in the web's success) and now we're trying to prevent others doing the same.

Also, this seems like a surprisingly naive generalisation to me: "... a first measurement for preventing evil business guys from stealing your code – developers who can figure the code out are (mostly) kind enough not to steal it."
On Recruiting & Culture from Chad Dickerson / Etsy (via Fred Wilson)
Not limiting them, we do a scan every 15 minutes, and include all the new stuff in the river.
Is there a backstory to this?
Obviously, I am biased, but I use this all the time.

It's just so nice to be able to use ssh and rsync and git and all the other standard tools to interact with mobile and virtual devices, no matter what kind of network connection they have. The .deb/.rpm packages just make this feature part of the OS as far as I am concerned.
Can this be an answer?

(Python)

x = 9

x.__div__(3)
Barack Obama does not approve this message!

http://www.nytimes.com/2012/07/16/us/politics/latest-word-on...
This is clearly not true, or HIPPA would apply to my street address, and sites that want my phone number would have to be PCI compliant.
What was your idea?
The problem with storing passwords insecurely is that people reuse them. You can try to tell them otherwise as much as you like, they will do it, so even if one service holds non-sensitive data, stealing the password will grant access to other, completely unrelated services.
Please don't format your own comments like this. It's difficult to read on mobile devices.
PadMapper seems to be on relatively solid legal ground here. They are only copying facts (address, price, contact info) and the post title (which is likely too short to qualify for copyright). And as they aren't accessing Craigslist directly, they aren't subject to its TOU.

But what 3Taps, the other lawsuit target, is doing seems far less defensible. They use the trademarked name "Craigslist" prominently and repeatedly on their site to promote their service. See http://3taps.com (screenshot at http://oi48.tinypic.com/1zx2qkk.jpg in case the design changes).

Worse, the website Craiggers.com that's described in the lawsuit (and indeed registered to 3Taps) not only uses the trademark, but reproduces posts wholesale with the entire content and photographs. (Example: http://oi50.tinypic.com/5l9cvb.jpg) At the bottom of each post it has a "public domain" mark and says "This work ([name] by [poster email]), identified by craigslist, is free of known copyright restrictions." This is clearly untrue: the photographs are creative and original works copyrighted to the poster (and licensed to Craigslist), as are the prose descriptions whenever they carry more than a bare minimum of information.

I can't imagine what 3Taps is thinking. In contrast to the relatively cautious approach of PadMapper, they're being extremely brazen in copying everything from Craigslist and using its name to promote themselves. And if they get smacked down, PadMapper's lost its data source.