skysight-inc/HackerNews huggingface dataset:
Ask HN: How do I track down the HTML5 Rocks' Scrollbar source?
I really like the look of the scrollbars on HTML5 Rocks' home site under Mobile and Business and I want to use them, or at least check out the code for inspiration on making my own.

That said, my usual route of inspecting the element, grabbing the relevant class or id, and then scouring scripts via Find has left me empty handed, in large part due to the minification making the scripts much harder to read, and my inability to find any js references to that one_half class that is applying the new sex.

Does anyone have any other strategies?
This post is from 2009, he updated it in 2010: http://www.datapointed.net/2010/09/distance-to-nearest-mcdon...

He also visited the spot http://www.datapointed.net/2010/10/the-farthest-place-from-m... which makes for a pretty entertaining tale.
How to Design an Online Store Logo
I just noticed that King's Quest VI was on the Steam store... I spent many hours in my youth playing that on my Packard Bell 386 (and yes, it ran terribly). That game in particular though required the user manual in order to solve puzzles given the listing of symbols in it - assuming pirates wouldn't have access to a copy machine. I wonder how that and other games that have been put up for sale again handled that?
especially one with such uniformly poor latency when compared to ISP-cobbled together crap it's supposed to replace, anywhere I've ever seen it deployed.

That seems overly negative: Google DNS is consistently better performing for me than other public DNS services except for Level 3's 4.2.2.1 &c because I'm on their network.

Google's public DNS uses anycast, so the performance should be good in most places, perhaps your experience is the result of your geographical location or ISP's network?

Care to elaborate on the poisoned reddit records?
Somewhat disappointing, but not surprising that they did not describe their actual calculation technique for finding the connected primes. It strikes me that there isn't a good excuse for having bad random numbers with the computation power we now have. A simple bitwise addition of various sources of supposedly random numbers is strictly stronger than any subset of its components. So we can combine lots of questionable strong sources and get a very strong source.

Generating the primes locally with insufficient independence seems more understandable than that the same primes are used by independent parties. That hints at a more severe problem with random number generation. Regardless, assuming this is confirmed, it is a significant problem that needs to be hunted down.
A cat?
Researcher: Email wording a dead giveaway of who's the boss
Eric from Motiv.es and I made this to help everyone this Valentine's Day. :)

(I know there's an issue with the video in Safari, working on that now).
Earth Day Clean Every Day
Green cleaning choices are safe and healthy for you, your family, your home and the environment.
This is not about some new vulnerability. It is a survey of collected public keys. The main security-relevant conclusion is that some key generators are not using enough entropy.

Dr. Lenstra is a co-author of the paper (so it shouldn't be dismissed on the weakness of the reporting). The NY Times and Markoff should both be ashamed for publishing such a misleading article, particularly the title.
The Big Score
I believe this is supposed to be the direct heir to the native webOS browser, not an alternate replacement. It's not clear if the code was actually derived from the webOS browser, though.
>Which begs the question: just how far away can you get from our world of generic convenience? And how would you figure that out?

I'm an insomniac much of the time. Some weeks/months I don't sleep until it's light out. Out here in suburban Chicago, the only places still open to me when it's late and I'm hungry are 7-11, McDonald's, and Burger King. So I'll take "generic convenience," because it at least makes my life a little easier to be able to get something resembling food when there's nothing else open.

(Yes, I could plan ahead and put things in my fridge and cook food. I'll get back to you when I have the energy or the inclination to do that).
As far as I can tell, this is what they're doing: if two different keys have a factor in common (i.e. A=PQ, B=PR), then you can use Euclid's algorithm (which just requires repeated subtraction, and is thus really easy) to find P (=gcd(A,B)), and then just use division to find Q (=A/P) and R (=B/P) easily.

So what the researchers did, apparently, was to gather all the RSA public keys they could find (6 million or so) and then calculate the gcds of all pairs of keys. (Presumably they were slightly more clever than this, but it doesn't really matter--doing this is still vastly easier than factoring even a single public key). Whenever they found a gcd that wasn't equal to 1, they'd cracked (at least) 2 keys. And it turns out that roughly 0.2% of the keys could be cracked in this way (for a total of 12720 1024-bit moduli).

As far as I can tell, the problem isn't with RSA itself, but with whatever algorithms are used to pick two random primes to multiply and produce the key (or moduli, whatever)--they don't have high enough entropy and output duplicates ~0.2% of the time.
"Why prolog is by far the best, most productive, easiest programming language?"
Because you want to believe it. You can change 'prolog' to any other language and easily find people agreeing with you.
"It will get you laid"? I know Valentine's Day is kind of a soulless, transparently commercial cash-in on human affection, but way to take it to the next shallow level.

Otherwise, cool.
PG describes this very well: http://www.paulgraham.com/makersschedule.html
This is awesome! awesome design... A facebook for video I would say!
> It's an optional package in many distributions

If only Linux packaging system had some kind of dependency system. That way systemd and other LSB needing packages could require lsb. You could even have some kind of automated packaging tool, or perhaps modify yellowdog updater, to fetch those dependencies automatically.
Absolutely. Once you have kids you don't sleep through a whole night for at least 18 months. Sometimes never again if you're the paranoid/caring kind.
I don't remember asserting they would take over everywhere, just that they can function fine for content creation. By content, I did not mean "stuff created with a keyboard" and I think my second sentence makes that perfectly clear. Touchscreens are clearly not perfect multi-purpose interfaces.

But I think you're ignoring the true significance of multitouch and other sensors and the additional dimensions of input that provides. A keyboard is nearly linear input. There's a lot of 2 finger chords and a smaller set of 3 finger keyboard chords, but for typing there's nothing really separating a 3 fingered man from a 10 fingered man except for input speed. Compare that to the capabilities of a 3 fingered man and a 10 fingered man playing the piano and you get the idea.
Thanks for getting the joke.
Just to clarify, "Both course and our research are separate from OCW or MITx."
rdiff-backup http://rdiff-backup.nongnu.org/ may be what you are looking for?
How and Why to Write Your Own Personal Manifesto
Incredible. So many unique and well-executed ideas in one presentation. It's almost too much to take in at once.

With the iPad animation part in particular though, I got the same kind of feeling watching that as I do when I watch the original "mouse" videos on Youtube. Very exciting possibilities to say the least.
Enterprise Information Architecture: Strategic Thinking around Data & Processes
Well, this is a sensitive subject. Scala is no doubt more powerful and has some awesome features, but I'd say that Kotlin has 99% of the features 99% of Scala developers choose Scala for in the first place (in other words, those Scala features that Kotlin is missing are not the ones that made most Scala developers choose Scala), while it is far easier to learn (in its entirety). Also, IDE support is far superior, and will remain so (because some Scala features, like structural types, make some actions like refactoring impossible at times). Also, it compiles to Javascript as well as to Java bytecode.
It's not about being clever. As I've said before, it takes all of 10 minutes to understand it, but nobody cares. There is nothing magic about ASI, a line break ends a statement in 99% of the cases.
There seems to be a theme of duplicate, potentially competing efforts coming from the same universities in the now emerging online course space. First with Coursera vs Udacity coming out of Stanford. Now with MITx vs RELATE coming out of MIT. Wouldn't it make more sense for those within the same university to collaborate in order to produce a consistent brand and user experience? Don't get me wrong, I'm loving the fact that these types of educational systems are beginning to take off. I'll be enrolling in as many as time permits. But individual course content aside, it seems like each is reinventing each other's wheel.
Fair enough :). Are you saying that in general you don't give your email out, or are you saying you think the value prop for this particular app is too weak to give an email out for?
Did you read the disclaimer :) ? I thought the actual product was genuinely cute.
Not everyone is going to grow up to be a programmer. Viewing videos and playing games are important developmental activities. Yes programming a computer is a stunning form of creation for me and many others here but not everyone shares that view. For others, music, art, writing, teaching, and building give them that feeling of joy of creating.
That's a score for coffeescript, but you don't want to start that discussion here...
As I posted to the other thread:

Somewhat disappointing, but not surprising that they did not describe their actual calculation technique for finding the connected primes. It strikes me that there isn't a good excuse for having bad random numbers with the computation power we now have. A simple bitwise addition of various sources of supposedly random numbers is strictly stronger than any subset of its components. So we can combine lots of questionable strong sources and get a very strong source.

Generating the primes locally with insufficient independence seems more understandable than that the same primes are used by independent parties. That hints at a more severe problem with random number generation. Regardless, assuming this is confirmed, it is a significant problem that needs to be hunted down.
I put in the minimum of $50 and had it going from Thursday morning Eastern time to Saturday. I had a limit of $10 the first day and $25 on Friday, leaving $15 on Saturday. In all, I had about 80 downloads. Since Saturday, I've only had about 20. I found admob good for traffic, but there were no ratings and feedback at all. Total impressions were about 290k with about 1250 clicks.
This is not about some new vulnerability.

A more accurate statement is: the thesis that "when hundreds and thousands of RSA keys are generated, the entropy of each key (given the remaining keys) is still large" is shown (in this paper) to be empirically false because people in practice use weak pseudorandom generators.

This is important because when working with the security of RSA, we assume that N=pq for random looking primes p and q. In isolation this is true, but when there are tons of other keys out there, p and q no longer are random.

I also fail to understand why you mention Lenstra being a co-author of the paper.
He says he programs, but he no doubt means that he clicks and drags stuff around in visual studio. Anyone who has never heard of eclipse, netbeans, or intellij is not a programmer. I'm sorry but he's just not. I'm having trouble believing this is for real.
URDU SEX STORIES: Net Kay Through Bed Tak Laya
Don't forget that 46% of the country still voted for John McCain - a person was extremely terrible academically even after the Republican Party had launched two disastrous wars, exploded the deficit and their lack of regulation and oversight had caused the worst recession since the Great Depression. And as others have pointed out, Obama wasn't really elected because of his intellectual ability but because of the state of the economy at the time and because he's a charismatic speaker.
That's been done, and it's comprehensible to 90-95% on the other side. Bad analogy ;)

http://en.wikipedia.org/wiki/Differences_between_Afrikaans_a...
Must have mistyped the password because now I can't log in.

Where is the password recovery form?

Not that I think there should be need for any password at all.
Yeah, that was a common anti-piracy measure for Sierra games. The earlier games had a pretty boring "what is the xth word on page y" quiz, but by KQ3 they realized it was more fun to incorporate in-game puzzles with content in the manual.

As for redistribution... I assume they just provide a PDF of the manual, instead of actually rewriting parts of the game, but I don't really know for sure. I haven't yet checked out the Steam version of KQ6.
Elections can not be anything but the "popularity game" by the very definition - one that is most popular, i.e. appeals to the most people - wins the election. The only way to avoid it is to abolish the elections and the democracy.
Now what constitutes the basis of this popularity - is it good looks, smooth talk, shiny awards or ability to promise most appealing bribes to the least moral populace - can differ. It would be nice if everybody would be so educated as to use only the "right" criteria to choose the most appealing candidate - the only wrinkle is nobody has any idea what those right criteria are and what makes one a successful manager on the scale of millions of people. We do know that many of the criteria in popular use - like spousal fidelity 30 years ago, formal education degree, or ability to successfully fake sincerity - are pretty bad predictors, but since we have very short supply of good ones, people have to do with what we have.
I recommend using the Google DNS to all my friends because all the local ISP DNS servers are censoring a bunch of sites.
Remove your html tags and add double lines for newlines.
Syrians go back to using pigeons for communications
In case it's not obvious to everyone: Ron = Ron Rivest (the R in RSA); Whit = Whitfield Diffie (of Diffie-Hellman).
Should we share passwords with our significant other?
Burke drywall
They didn't describe the technique, but the fact that the paper has the keyword "Euclidean algorithm" makes it pretty obvious--they just gathered a list of public keys, took the gcd of all the pairs, and whenever they found a gcd not equal to one, they'd cracked both keys out of that particular pair. See my earlier comment.
No, he meant they had the option to start paying OpenDNS or to switch from it to Google Public DNS.
When Unit Tests Aren't Enough... ABT - Always Be Testing
America

Why...large pool of talented engineers, easy access to venture capital money, and the overall cultural acceptance of intense workweeks.
Sbierwagen, as a white male living in Seattle, whats with the offensive faux-ebonics?
I'm wondering if there's a detectable peak in people switching to Google DNS because of censorship in countries like .be & .nl
The comments on this page immediately reminded me of Ken Thompson's point: "You can't trust code that you did not totally create yourself."

He wrote this right after demonstrating how to create, step-by-step, an undetectable trojan horse in the C compiler. Here are the steps for creating such a trojan horse:

http://cm.bell-labs.com/who/ken/trust.html

[ Also see http://news.ycombinator.com/item?id=2642486 ]
Spot on. Not to imply computers are for programming only. I am perplexed at how to best make a computer/laptop useful to a kid. The issue I see are: too many options, too many passive activities, or too complex creative applications.
First: The thinking and problem solving required in programming is not taught enough at universities in North America, nor overseas.

Second: Being groomed to do specwork is the big problem of most institutions.

Third: Many developers thinking they don't need to learn anymore. Or, that they are done learning and ready to pursue a job/career. This is as evident in NA as it is overseas. Constant self-learning and self-development as a programmer is something that simply doesn't happen enough. Overseas, and in North America.

Fourth: The cultural differences. Done doesn't always mean done and it's entirely a societal/cultural thing. It's helpful have to define done as 'tested and ready to launch', etc.

Fifth: Outsourcers: Paying weekly helps a lot in a land where people get paid monthly, if on time at all..

Sixth: No sense on hating on overseas developers taking jobs. IT's the people paying the bills in NA that decided to take away all those jobs. And I guess they pay the price in the long run for better, or worse.

Seventh: Job, let alone career opportunities in India seem to suck. Every job posting gets hundreds, if not thousands of applications. Imagine trying to pick out the quality, let alone trying to stand out.

Disclaimer: I've outsourced to India. I've hired developers newly moved to North America from the Indian Subcontinent and had good luck and bad luck, like any employee.

I have been told I share some heritage in with the Indian subcontinent a in the past few generations. I'm not an apologist or out to offend. We all can do better and we should all be supporting each other to become the best we can be.
MEDICAL BILLING HOME BUSINESS BIBLE
Why the f' does everyone keep saying nigga? Is there a meme that I don't know about?
Years ago, I bought a CD with the first six Ultima games.

The manuals were provided as a single "WRI" file, which included a table of copy protection questions and answers for Ultima 6.
Winkel and Balktick are great.

I'm from NYC; this past Saturday there was a secret Night Market. Not a Winkel and Balktick event per se, but with some of the same people involved.

A Night Market is a collection of box trucks, rented for the evening and parked together in a deserted neighborhood of the city; each truck is kitted out with some form of experience/entertainment: one gave out perogis, another served tea; one was called "Thunder Cube" and hosted big pillow fights; the most elaborate one had a functioning hot tub.

The event's location was kept secret until the last minute, and attendance was limited.

My girlfriend and I produced a truck; it was called the "Peek-a-Boo Lounge" and was simply a place for people to sit and socialize. We used lumber, fabric, and sofa cushions to decorate the back of a 24-foot box truck, turning it into a two-level maze where people crawled around on their knees. There were 2 sets of day-glo Connect Four, a pair of naughty dice (leftover from a Valentine's Day event) and a day-glo stuffed carrot (leftover from Bugs Bunny costume).

It took the two of us a couple of days and about $600 to build (including truck rental). People seemed to enjoy it, judging from the laughter we heard in back; it was childlike. We received donations to help pay for the project.

I've found it's critical to find projects with good "bang-for-the-buck"; you want to enjoy yourself even when you're working.

These sort of "experiences" work because of the community they foster, and because they rely on imagination; much of the 'entertainment" is really just a cheap trick and that's part of the fun.
Posting what I said in the other thread: As far as I can tell, this is what they're doing: if two different keys have a factor in common (i.e. A=PQ, B=PR), then you can use Euclid's algorithm (which just requires repeated subtraction, and is thus really easy) to find P (=gcd(A,B)), and then just use division to find Q (=A/P) and R (=B/P) easily.
So what the researchers did, apparently, was to gather all the RSA public keys they could find (6 million or so) and then calculate the gcds of all pairs of keys. (Presumably they were slightly more clever than this, but it doesn't really matter--doing this is still vastly easier than factoring even a single public key). Whenever they found a gcd that wasn't equal to 1, they'd cracked (at least) 2 keys. And it turns out that roughly 0.2% of the keys could be cracked in this way (for a total of 12720 1024-bit moduli).
As far as I can tell, the problem isn't with RSA itself, but with whatever algorithms are used to pick two random primes to multiply and produce the key (or moduli, whatever)--they don't have high enough entropy and output duplicates ~0.2% of the time.
You have too much time on your hands if you ate reading even half of them! Learn to prune, it's a valuable skill.
It looks very nice in theory, but for me, this is a terrible idea. It looks like a great way to wake up stressed and upset. Adjusting your sleep schedule is better for your body and sanity than any complicated alarm clock systems.
The Webkit Blame Game
The place I grew up was 103 miles away from the closest McDonald's. There were people there that would drive to McDonald's for breakfast.
Establish a niche and build your network through various streams of mass communications such as related blogs, linked-in, etc.

The best connotation for a freelancer is the advantage of reduced overhead costs as oppose to a large firm. Market your team as effective, reliable and relatively low cost solution provider, without the high sticker price.

An idea would be to provide a site where you can showcase the primary skills of each team member with a small bio. This way the end user can visualize the strongest asset of every individual. Perhaps create a single application which you all can input cohesively in order to illustrate the bigger picture.
Medical Billing Business Books For Beginners
Google's Free Public DNS Load Tops VeriSign
"Sorry if I damped your enthusiasm"

It's alright, I wasn't even slightly interested.

"You weren't invited"

It's alright, I woulda farted on your invitation.
Also, previous discussion:

http://news.ycombinator.com/item?id=840542
This is a really touching story.

Above that, it will really spark this young man's creative mind. For his eighth birthday get him a laptop, and get him programming.

Sounds like a really awesome kid. You are one lucky Dad.
> HTML5 defines pretty strict conformance requirements for authors.

What you are referring to wrong as in is _non valid_, what I was referring to was _non working_.

Invalid HTML 5 _works_, so does invalid HTML. At no point your browser will stop and say "Come on, that is not HTML, that is garbage". If there is no such point, then there is no _wrong_ HTML 5.

Take this code, it is valid HTML 5 (may the XML gods forbid me)

<!DOCTYPE html>
<title>My feelings</title>
I love HTML
</html>

It will be shown without any problem by a browser. The title will be "My feelings" and the body will be "I love HTML".

The following is invalid HTML5

<title>My feelings</title>
I love HTML

Yet, it will be shown "correctly" by browsers without any problem, just like the previous one.

Once such a lax error recovery mechanism is in place _without additional warning in the UI_, how is one able to define what is wrong and what is correct?
Saving Zelda
"Digital music could be bought before Apple, including without DRM, so I would say no."

I would say yes.

Apple owns over 70% of the music download market. Before iTunes, download sales were a minuscule fraction of physical CDs sales. They're now larger. Basically, around 35% of all music sales now go through Apple.

Retailers with that kind of market share have serious clout.
It was mentioned in the nytimes article, and in retrospect it's fairly obvious: you use the Euclidean algorithm.

If you have n1=p q1 and n2=p q2, so that the prime p is shared between them, then gcd(n1,n2) = p. That only takes a few iterations of bignum modulos to solve.
I would be interested if statistical data gleaned from DNS makes it's way into any other service areas. DNS would seem like a useful way to rank the popularity of web sites, I am sure there are some interesting enhancements that could be made using that data.
True true, I hadn't considered the use of a PDF for it. I hope it's good quality.