skysight-inc/HackerNews huggingface dataset:
The best book I know on the topic is Robert Bringhurst's The Elements of Typographic Style. Highly, highly recommended.

Other great books: Ellen Lupton's Thinking With Type and James Felici's The Complete Manual of Typography. Both are really solid.

Books that would be worth checking out at a library: Richard Hendel's On Book Design and Ruari McLean's Typographers on Type. More philosophical in nature, less practical.
They're referring to the actual demo page: http://typeplate.com/demo.html
A voice of reason in a world gone mad! He would have to clarify the amount of risk he wants to take and how much time he wants to spend on it. A friend has very successfully invested in bitcoin (1000%+ return), but I am very sure he has the price up on his smartphone 24/7 and can sell very quickly.

I don't know how much downside it has, as a long term gamble, because there's an upper limit on the amount of currency. If it does take off with the general public, the longer you can hold the more it will be worth.

"Hard limit of about 21 million Bitcoins" say you bought 1 million bitcoin at $1 and bitcoin becomes a replacement for paypal?
Note that this article is from 2011.

Trying his tests on firefox 20 beta, shows no difference between id and class selectors (the article says there was minimal difference in ff6), also no difference between between the type and "heavily overqualified descendant" selectors (article reports a large difference) and the latter pair are approximately twice faster than the former (the article seems to report they were up to 40 times slower).

So beware that browser technology has progressed since the time of this writing. Of course once again you should be checking the behavior of your site with the browsers your users are actually using.

[Edit: originally confused the two pairs of tests in my browser tabs, the slow tests in ff6 are actually the faster tests in ff20]
It's worth noting that this is from 2011. Here's some more discussion on the topic:

https://developers.google.com/speed/docs/best-practices/rend...
https://developer.mozilla.org/en-US/docs/CSS/Writing_Efficie...
Hey, article author here :)

> A lot of great information here.

Thanks!

> …unless you've produced some kind of CSS monstrosity, your CSS isn't the bottleneck in your website performance.

You’re definitely right insofar as selector efficiency should be last on your list of things-to-make-my-site-faster. CSS as a whole, however, is a pretty significant performance concern; I wrote a little more about that here: http://csswizardry.com/2013/01/front-end-performance-for-web... </plug>

Cheers!
H
Ask HN: Is learning to code really that important for future generations? 
This got me thinking:
https://www.youtube.com/watch?v=nKIu9yen5nc

Well, when I think about it, we learn Maths until high school no matter what, but a lot of those math complex concepts have no usage in our daily life, people tend to be bad in maths because of that, because they don't see an objective. From that prospective, learning to code is good, because it requires the application of those math concepts, to output simple things we can't easily do.

But I feel, that is not all there is to it. Thus the apparent question.
Wow. This reminds me of a time in which I used to work for a consulting agency. It was back in 2003 and I was working on a some database development for one of the company's biggest clients. One day, I noticed the msdb database had a strange icon telling me it was corrupted. I went onto MSDN and followed some instructions to fix it and, BAM, the database I was working for months on was gone (I was running SQL Server 2000 locally where this all happened and I was very junior as a SQL developer). I was silently freaking out knowing this could cost me my job. I got up from my desk and took a walk. On that walk, I contemplated my resignation. When I got back from my walk, a thought occurred to me that maybe the database file is still there (I had zero clue at the time that msdb's main purpose was just cataloguing the existing databases among other things). I did a file search in the MSSQL folders and found a file named with my database's name. So, that day I learned to attach a database, what msdb's role is, and to make sure to take precautions before making a fix! However, OP's post shows that this company had no processes in place control levels of access or disaster recovery. Show the company's faults more than OP's.
US spy operation that manipulates social media (2011)
Yep, I should probably add something to the article about this; browsers now are so fast that tests show little to no difference :)
Court orders UK ISPs to block more piracy sites
I think it's also good practice to check if you can reduce your DOM.

<ul id="social">
<li><a href="#" class="social-link twitter">Twitter</a></li>
<li><a href="#" class="social-link facebook">Facebook</a></li>
<li><a href="#" class="social-link dribble">Dribbble</a></li>
<li><a href="#" class="social-link gplus">Google+</a></li>
</ul>

could be written as:

<a href="#" class="social-link twitter">Twitter</a>
<a href="#" class="social-link facebook">Facebook</a>
<a href="#" class="social-link dribble">Dribbble</a>
<a href="#" class="social-link gplus">Google+</a>

since you already have the social-link classes attached to it.

Another example. This:

<div id="header"><h1>header</h1></div>

could be written as:

<h1>header</h1>

since you should have only one H1 on your page.
> But since this is my blog I will write whatever the hell I please

Of course. But I hope you would care that what you wrote is upsetting to a lot of people, and that we believe the advice is actually harmful, even though you didn't intend it to be.

If you truly do care about these issues and genuinely want to help people, I would love to chat to you about it. I don't think this is really the place for it, so please email me (@gmail.com) if you want to take up that offer.
Press Release Offenses
This is what I was thinking. Not every site that has had its url spammed across forums and in comment-spam did it themselves. The other side of black hat SEO is destroying competitors by triggering Google penalties against them.

I used to run a forum but I shut it down because of spam. It was a shame. It was well ranked on Google and I think this is why spam was such a problem. It was a nice before it was overwhelmed. I did moderator approved sign up but I was getting several hundred sign ups a day. It wasn't possible to determine who was human and who wasn't.

Captchas and security questions decreased spam for a couple of days but it would soon come up again.

I added 10 posts before you can post a link.. but then the forum was filled with non-link spam posts. Stuff like "I agree." "I appreciate your post, it was very helpful."

I added moderator approved first posts but it meant there was a queue of a 250+ posts a day. People stuck in this queue, especially on weekends would often give up on the site.

In the end people started losing interest as moderators were struggling with the battle against spam..

During this time I actually got a few requests for links to be taken down. I refused them all. It wasn't out of anger. It simply wasn't worth my time. I would need to look at each url requested. Determine if it was spam or if it added value to the site. Then choose whether to delete it or not. Each request would take 5-10 minutes to process. Perhaps I should have started charging. I could then have given beer money to the brave moderators who for 18 months tirelessly swept for the forum.

I see nothing wrong with sites charging say $5-10 to permanently remove a link from a website and make it impossible for it to be posted again.
Someone posted this same link yesterday, but I think I am with a ban that make my upvotes don't count, since the arrow go away and the vote count don't change. Goad that someone tried again and made this go to front page, I think it is vert amazing and awesome, maybe animators will be able to use this tech to learn how to avoid uncanny valley
There is actually several bars in Berlin which are supposed to take Bitcoins.

https://en.bitcoin.it/wiki/Trade#Restaurants_and_cafes

I don't have an Android+Wallet App (I think you need that), so if anyone with such a phone wants to go with me there, I'm up for it :)
I'd argue that a user generally has an idea that there is a persistent storage ("disk") locally held in their computer and that they have a good idea whether they want a website to use that space or not.

The developer lacks the knowledge of the users requirements, that is why they can't answer the question. For "power users" the user is far better placed than the developer to answer the question about how much local storage space is used.

For a naive user the question comes down to "this website wants to put stuff on your computer, do you think your interaction with the website warrants them doing this", that's more a question of value of the website to the user than it is a technical question.
Product Management Report: Salary/Role/etc
In HTML5, it's fine to have multiple `h1` tags on the page, though you can only have 1 in each `section`.
I know it's fine, but I think you shouldn't because of SEO.

But to keep this on topic: my point is: a lot of time you can reduce your DOM.
How is Github dealing with spam?
You speak of this as though it is a inherently bad thing to have centralized control. I'm as techno-libertarian as the next HN user, but I know that when the market riegns completely free there is a non-trivial chance that boons can swiftly turn into depressions.

There is a reason the Greek government will impose draconian currency controls. It is for the benefit of the Greek people, so their savings accounts will only drop 50% rather than 80-90%.

A purely decentralized currency may be the way of the future, but it will be replacing old problems with new ones. Whether it is ultimately better is anyones' guess.
Same for me, but I also note that whatever I put in the dialog, I get redirected to my actual Facebook page.

Also, I had to allow popups.
Lening simuleren: zelf je lening berekenen bij Auxifina
Even then, it's fine as long as you're structuring your page sensibly. For example, on a blog index where each blog post is in a section, it's fine for each blog title to be a h1.

Matt Cutts talking about this:
http://www.youtube.com/watch?feature=player_embedded&v=G...!
I know we're being half ironic and all but I just can't let this one slip.

We're starting up nazi parties? Really? That's what you're going to go with? We also started the Pirate parties, and the fact that we're starting any sustainable party at all besides the two primary ones should be amazing to you. :D

/ Sincerely, Europe.
Foregn hackers steal more than 1TB every day
Link to full PDF, http://arxiv.org/pdf/1302.6109v1.pdf
depending on what you have and where you are - try this website I knocked together to answer the eternal question "how do I get bitcoins" : http://bcfxer.appspot.com/
You might like OpenStreetMap! You can get the whole planet in a <30GB package: http://planet.openstreetmap.org/planet/

Granted that is the raw data, but you can extract the regions you need easily and then render them on demand.
Great idea but it lags so much on my machine.
You don't need to see KDE SC 4 as the successor of KDE 3 even if they have the same name. Just use http://www.trinitydesktop.org/

KDE people just reused the name because of marketing.
I just put together an Android App to display physical merchants that accept bitcoin. Yes I agree the data is a bit sparse right now but I am populating it as I find lists of merchants (and you can also submit your own business if you want). The app is here : https://play.google.com/store/apps/details?id=com.ragmondo
"Oil and gas production from fracked wells thus starts out high but suffers ferocious decline rates—up to 90% in the first year alone."
http://thearchdruidreport.blogspot.com/2013/02/the-end-of-sh...
"The system works by homing in on specific pixels in a video over the course of time. Frame-by-frame, the program identifies minute changes in color and then amplifies them up to 100 times, turning, say, a subtle shift toward pink to a bright crimson"

So really the title should be "Scientist amplify motion in video" - because that is what is occurring. There is nothing "invisible" being discovered - it still needs a visual change.
You can sell own skills and proficiency on website which was launched recently.
There are a lot of professionals work for money but not psychic income, as well as professionals having not enough money because potential clients cannot pay up their services. Thus, we have endless circle that cannot be torn up in the actual financial system. This situation was resolved by new business social network bartermill.com. Bartermill’s users gets wanted goods/service in exchange for own skills/goods/services/money, without geo-graphical boundaries.

Website allow make any deals with various complexity, simply and with minimum time expenses. While social format of website making an exchange/sell and communication exciting and comfortable.

There will appreciate your skill make high-class haircut, prepare gourmet meal, knit startling things, treat, mas-sage, and ability to repair household appliances, car, and etc.
Bartermill is the conjunction of a social network for small business, and trade barter platform, which allows busi-ness providers and customers to connect with each other through a streamlined and secure platform of business operations, consumer products and services, and rate current transactions for future business and customer re-ferrals.

War for talent is in culmination and deserving offers are looking for neat artisan today, and it does not matter they are from Switzerland or Zimbabwe. It is reasonable obtain professional reputation in all over the globe in these days. Your proficiency is guarantee for worthy stable income and your prosperity.

http://www.bartermill.com
As I understand it, the whole "SEO mandates one h1 per site" is outdated. Search engines (read, Google) now follow HTML5 specs and, if you are doing your semantic tagging right, multiple h1 aren't a concern anymore.
Everyone in the UK already knows how to use the thousands of proxies out there to access TPB. This will simply force the operators of the current proxy aggregators eg. http://ukbay.org/ to start aggregating proxies for these other sites as well. This will actually make finding pirated content easier.

But as we all know, the purpose of these laws isn't to stop piracy.
Why do you even use references in the first place?
I find it interesting that we have some homeless people even in Germany, where social payments exist by law and (evidently almost) everyone in need would get some money for living and even payed the rent of a home.

--edited syntax
Is there any research on the bitcoin generation algorithm?
Nice resource, but I disagree about indenting paragraphs in web copy. I've found that for me, I'm more comfortable with narrow paragraphs spacing and traditional indentation in print media; but web media just reads more smoothly with wider paragraphs spacing and no indentation. Indenting web copy stands out, but in the wrong way I think.
Invisible here obviously means invisible to the human eye. This kind of deliberate point-missing is toxic to conversation, and it just makes you come across as childish.
Survey finds gap in Internet access between rich, poor students
Guide to Tech Interviews
It is not a great bug report. The response will probably be "works for me".

A great bug report specifies exactly how to reproduce a certain behavior and also specifies the expected behavior, what should have happened.
This article doesn't seem to contain any surprising information - yes, if you build a product on an API that's not under your control you should make sure you're always up-to-date with information about that API.

What I don't understand is why one would use yet another service (ways 3-5 in the article) to be notified about API changes. It basically means you're now relying on an API that might be changed at any point in time (it probably won't be without prior notification) without you having any say in it AND you now also rely on another service (that does not make a guarantee about a timely manner of notifying you) to get information about said API changes.
I think you see more homeless on the west coast because it's a little easier to make it through the winter without consistent shelter there. (Compared to, say, Minneapolis.)

I haven't actually compared against other places on the continent that have year-round temperate climate, so this is just conjecture.
> On a related note, consider the implications of someone dropping a box like this somewhere where there's open (say, municipal) Wi-Fi and 5 V from solar power or the mains to feed it.

Last year I did a talk at BlackHat EU on abusing MiFi hotspots to do this, only using the hotspot to attack the wifi network and tunnelling back over 3G to an out of band C2. I've got a lot further since then and have working PoCs that can do this.

They're ugly, but they work and work well.
Firefox isn't vulnerable to this.
> What exactly would be the point of native end-to-end encryption over PGP?

Basically just universal compatibility with clients and ease of use.

It's a bit how you could have all your important Word documents in a password protected compressed archive. But having password protection and zip compression native in OOXML is more convenient for users and guarantees than anyone with an OOXML compatible office suite has support to open the same documents (baring authentication of course).

> The problem with email encryption is solving the authentication part, not the encryption itself.

It's both. Emails are typically transmitted in clear text so having something having them encrypted by default is a huge step up. (a bit like how people should be moving away from FTP and using SFTP, or SSH instead of telnet).
For your first example, I would argue the following is better. You reduce repetition of the class name and keep the semantic value of having a list

<ul class="social-links">
<li><a href="#" class="twitter">Twitter</a></li>
<li><a href="#" class="facebook">Facebook</a></li>
<li><a href="#" class="dribble">Dribbble</a></li>
<li><a href="#" class="gplus">Google+</a></li>
</ul>

You would need to have a scary size document to reap the benefit of reducing your element nesting level by that little.

Also if you don't want to commit to having a h1 as always being the header, using a class for the styling would be beneficial.

<h1 class="header">header</h1>

Or depending on your situation you might want to use a header tag.
Sergey Brin using a smartphone is emasculating
Ebook Publishing Process
What we learn at school doesn't need to be directly applicable to what we eventually do in our careers. There only needs to be a _metaphorical_ connection. In essence, we learn how to do things that are necessary through learning metaphors.

For example, we don't learn about history in order to know what happened in the past. We learn about history so we can understand how actions have consequences, how to build rational conclusions from evidence, how humanity has (and hasn't) changed over time, and so on. History is a really good metaphor for scientific rigour and process. We don't tend to tell kids that because learning about how some ancient civilisation killed another is less "boring" than formal logic.

When it comes to learning to code, being taught how to write an application so you might be the next Mark Zuckerberg is ridiculous. The next Mark Zuckerberg is going to learn coding regardless of what they're taught in a classroom. But, that said, would learning the fundamentals of logic, rigour, abstraction, and the application of some bits of maths* be useful for everyone to know? Definitely. I strongly believe we'd have better nurses, plumbers, fighter pilots, street cleaners, and so on in the future if children learn how to make Tetris when they're in school now.

* There's so little actual maths in coding these days this is actually a really tenuous thing to say. I've been a developer for 15 years; for about 14 of those years I've been wrangling strings with all the maths neatly abstracted away for me. Thank goodness.
Good. Let's see what new technology this creates.
More than anything, learning to code taught me how to break a daunting problem down into manageable components. While most children learning how to make a text adventure game in Python on a Raspberry Pi today won't be software engineers tomorrow, I do believe that the learning process will have taught them invaluable problem solving skills that they'll end up using every single day, regardless of their chosen career path.
DatePickers JS - Inputting dates the (un)usual way
I don't see an ethical disconnect. Google is the world's largest scraper, making almost all of their revenue by serving ads next to the content of everyone else but them, yet there is an "ethical disconnect" by voluntarily choosing to still abide by their guidelines?
I'm a fan of bitcoin, and I think it may well have a bright future, but this recent rise over the last couple of months is probably a bubble.

New mining equipment called asics are being produced, at least one manufacturer, demands payment in bitcoin, and the price of bitcoin rises. Other people see the rising price and start thinking, hmmm should I buy an asic?.

My prediction is that by the end of the summer the price will be back to around $15, lots of people will have received their asic and will want to pay off the cost of the unit (~$1200+).

Of course there is always silk road, according the ars article last year they were doing 10,000 btc a week in revenue. Apart from SR I don't see where the demand is coming from except asics.

As I hold a few bitcoins, I would love to be proved wrong.
Also: http://support.google.com/webmasters/bin/answer.py?hl=en&...
Has anyone tried starting a kid with vim-adventures?

I remember playing zelda and mario with harder problem solving (including some injected just to make you call the nintendo hotline). Vim-adventures is fun, it would teach abstracting and building combinations, and it would provide a useful skill that gives them a 'magic power' in other people's eyes.
This is the first thing I thought of when I read this

https://www.youtube.com/watch?v=XTSCRoYyM-Y
>However, a recent report from market research firm NPD suggested that there had been a large reduction in the number of users illegally downloading music, with fans instead favouring legal options like streaming site Spotify.

The implication that this block is what is resulting in an uptake in services like spotify is so disingenuous it's not even funny.
I had this sort of issue. Back in 2010 I had mined a hundred coins (CPU mined, back in those days, lol). A month ago I decided to find the wallet file, took me 2 hours to search 5 HDDs with multiple partitions each from my old computers...

I fixed this problem now by printing the keys out, storing them securely in a safe and deleting the wallet files.
I think this says that sometime the "crowd" or independant monitors share the information better and faster than the offcial source.
But yes it is trust 2 times further. The provider of the information which talk about the API provider...
This is why trust is the most important for the API ecosystem
http://api500.com/post/27336458175/developers-are-the-blood-...