skysight-inc/HackerNews huggingface dataset:
I lay my styles out in 1 file and I don't often comment them. Stylesheets cascade to much to pin them to a specific area of use - it's easier to debug them by clever naming still - sigh. IE specific files loaded after and only contain 1 or two tricky IE tweaks. Javascript /Jquery plugins sometimes come with their own stylesheets, and in those cases I'll leave them where I found them. For some of the bigger sites with very different looks and feels, I'll often have a boilerplate (reset to skeleton level) and each page or section will load in their own stylesheet. Just depends how big the site is.

Order is:
* Reset (only for early IE )-http://developer.yahoo.com/yui/reset/ I find myself using it less and less

* Global Styles - HTML tags - global font faces

* Clearfix - http://www.webtoolkit.info/css-clearfix.html

* Skeleton/Structural Styles - grids/divs/columns

* Headers/footers/persistent styles

* Page specific styles and IDs

* Conditionally load IE Styles if they're required

* load javascript plugin css with the plugin's preferred dir if possible

As for pipelining them, I usually just use a gzipped connection and still serve them individually, since internal image paths for backgrounds rely on the CSS path. CSS caches very nicely, so take advantage of it on the HTTP side.

example: http://code.google.com/p/streeme/source/browse/trunk/web/css...
What iTunes Needs to Take on Spotify, Rdio & Google
This looks like a fixed cost per region, rather than a cost per instance. If so, it might actually end up being quite cost-efficient.

"we add a $10/hour charge whenever you have at least one Dedicated Instance running in a Region. When figured as a per-instance cost, this charge will asymptotically approach $0 (per instance) for customers that run hundreds or thousands of instances"
How many of your pages have two footers?

I do agree on the cognitive load though.
The main reason is that including IDs makes “selector points” much more complex.

A selected with one ID will outweigh a selector with two classes for instance. This can quickly lead to complexity because you need to use a ID many places in order to override a selector that used ID.

A class only used once serves the same purpose as ID (CSS-wise), expect that you avoid a lot of problems.

I might use IDs for anchor purposes (site.com/foo#section), but I never reference it in my CSS.
it's interesting thought. perhaps we shouldn't take internet for granted as we do now. imagine internet would be run by telecom companies, they would charge for "overseas connections" and skype would never happen.
Ask HN:Suggest an alternative to LaTex
I need to make simple vanilla presentation (no animation, no fancy graphics) but I need to put a lot of tables and mathematical symbols.

I am fed up of tex because of its cryptic syntax and no so intuitive symbol shortforms.

Is there a better alternative something that resembles HTML/CSS ?
It may have been (to paraphase an earlier tptacek ranty comment) 'disingenious' of him not to disclose that he does web app security, but it's not necessarily his vested interest at fault.

For what it's worth, I often disagree with tptacek and while I lack the HN celebrity status, I don't really care because in the real world he's just another guy on the other side of the world arguing on the Internet. I do think that he's not motivated by commercial greed in his commentary though, and on the whole his comments (while I've never met him personally) display a good level of honesty, integrity and community spirit.

Unfortunately in this case he's gone after someone who in my experience is the epitome of what HN should be encouraging - a guy in an industry, who's set up on his own, who has written and sells a product more or less solo that helps address the specific problem being discussed. If this was bingo cards noone would give patio11 any grief for talking about BCC. What's worse is that tptacek's company is several orders of magnitude bigger than Ferruh's and his services directly compete, but I don't think tptacek was thinking of this at the time of his post, and certainly not looking for any commercial advantage.
DVD-Cloner Platinum – Your Best DVD Copying/Converting Solution
DVD-Cloner Platinum is an ultimate DVD solution for copying DVD and ripping DVD. With any DVD cloner platinum, you can copy DVD movies to DVD disc.
エステタイムの口コミ・評判・体験談が学べる！！
Ask HN: What angle is your laptop screen open to?
90°? 170°? Some function based on desk height? An informal survey (looking around the office) shows preferences vary wildly - would any angle be less debilitating than the others?
I have used Balsamiq, I like it but it lacks some features that I think are very important. You can't create a component for reuse or any "Master Pages", so if you have common parts used in many screens and you have to change some of these parts you have to repeat the changes in every screen. Also there are no projects. If Balsamiq implemented those 2 things I would be delighted. Meanwhile I'm trying ForeUI.
I don't see India innovating anywhere. What innovations have come out of India recently? Nothing except that we have a lot of cheap labor who can toil relentlessly without expecting too much neither delivery any great
Ooops. Thanks for catching that. I corrected it now.
I don't like it if it is not documented that Math.max can take more than two arguments. Can we count on all future implementations to accept more than two arguments?
> Their use in modern web apps is an industry best practice widely adopted across all the Internet apps Matasano gets to test

I'll resist the pot/kettle/colour connection here about plugging your own stuff on HN in a web app security thread. Agh, too late.

On a more serious note, if all the Internet apps Matasano test are using parameterized queries then:

a) Matasano never tests a MySQL-based app

AND

i) Matasano does very little web app testing these days

OR

ii) You're not quite telling us the truth

Seriously, parameterized queries while being a best practice so to speak are not a one size fits all solution and is not something implemented by everyone. The amount of shonky development practices we come across at my unnamed and unplugged company far outweighs the instances of the security aware, certainly on the first, second and sometimes third time round.

Today I'm testing a wordpress-based web app. A beer says that it's not using parameterized queries.
What you need to consider in HDB renovations
You will have to spend a huge amount of money in home renovation. You can take the help of HDB interior design. It is always best to plan out how to go about remodeling you house or flat. Home builders need to know the terms at HDB (Housing Development Board). There are only a few pointers to take care of and after that you're on your way to a beautiful house of your dreams.
Maybe all mobile networks use different standards, but you can still make http requests from your phones. I think common standards would definitely have emerged - in free countries, anyway.
Please rate my weekend project
Facts about HBD Renovations
In revamping your home you need to spend a big amount of cash. You can take the help of HDB interior design. It would be sensible to plan first before revamping your home. Home builders need to know the terms at HDB (Housing Development Board). These easy steps will take you to your dream home.
Social Networking at Google in the Age of Larry Page
Still, if you come to hire, always follow up the references. Always.
The name might be a little bit funny for some russian speakers. (Think of the short version of Richard.)
No, but random does mean uncertain, and the uniform distribution has maximal entropy. In other words, uniformly distributed numbers are most random, colloquially, and so you can improve your ability to generate random numbers by sampling from a more unform distribution.

Also, just because intelligence is described with normal distributions, it is not at clear that it can be.
Fartcha Captcha for windy people ;-)
i was very excited by this technology. i tried to implement it on a large database. it bombed, the hype around nosql kind of whitewashes the fact that at the end, it is indexed in a btree, exactly how mysql would do it.
i am not trashing mongodb, i am a big fan of it, i am just making a point about being objective.
I don't get it. How is the selector relevant to what people choose? You might as well have put a different colored rabbit somewhere on the page and measured responses that way.
Thanks for the explanation, I appreciate it
Many immigrants don't get their past experience working and educating in russia or wherever they came from recognized even though they have the skills so something like this to cut through the HR idiocy screen is useful.
RA.ONE first look revealed
The trouble is, many of us can make similarly bold claims about NVIDIA, who also aren't above shipping unstable drivers, fudging benchmarks, or more recently just outright crippling the performance of their regular cards to make the workstation-class cards that cost an order of magnitude more seem more attractive. They're also heavily promoting their proprietary CUDA technology over open standards, yada yada.

If a credible third party competitor came along, whose cards were fast enough and whose focus was on quality and support rather than winning every benchmark they can, I would be happy to try their kit instead of either AMD or NVIDIA next time I put together a machine. Unfortunately, as long as there are only two serious players in the game, the attitude of "never again" just means you can never build more than two PCs, which doesn't really get us anywhere.
Actually not. You didn't understand how luck works. Beeing successful in Poker is more about how you handle the bad streaks when they hit. Because they can hit often and hard. Everybody is running well from time to time.
I guess NAT is a part of the conspiracy that divides the web into consumers and producers. It's impractical to run services from your home computer, which is why cloud services rake in the money.

I don't know it IPv6 is the solution - if not, lets invent something else.
Doesn't have to be a defense contractor. I've signed a contract that basically did not allow me to disclose what or who I was working for to create a software product for a small tv production company. (It fell through)
my thoughts precisely.

(warning: very strong language)

http://www.youswear.com/index.asp?language=Russian

(xui==hui)
Startup Britain
Android open? Like honeycomb?
Thing is, there are still buggy whip manufacturers that have been in business since then. I don't know if Jedediah's Buggy Whips could have planned to survive the automobile, but they have. The New York Times I'm sure would like to be the buggy whip of journalism.

The Gray Lady is casting about wildly (probably before it really matters) in hopes of avoiding an uncertainty on par with the 1908 whip market.
You mean it is quite unlikely that somebody has luck for as long as 100k hands or more. But the funny thing about "unlikely" is, that it occurs if you let a big group of people do the same stuff (like playing poker online). It is actually very, very likely that there are some (few) people who are hitting the luck box for much longer then just 100k hands.

1% seems to be a small number in your mind, I guess. Take one million people and if the chance to hit the jackpot is 0.1% you still get around one thousand people, who are lucky enough.

Maybe everthing changed, but in the early days of online poker, 6 or 7 years ago, we said that you need around 600k hands to have some(!) trust in your win rates (your Big Blinds per hundred hands, to be precise).
Facebook Partners with Seedcamp to Support European Social Startups
The question is, will any of such music be considered 'beautiful'. The underlying philosophical consequences are what are (to me) most interesting in research such as this - they are another piece to add to the argument for aesthetic objectivism.
Ever since they changed Firefox's behavior when an unknown certificate is encountered this would be especially crippling.

I can understand why this might be a good feature to have for end-users and internet novices but why isn't there an option to revert it back to the old "yes/no" box instead of having to click 5 times when I know exactly why there is a self-signed certificate in use...

Also, considering this:

> Global PKI, as currently implemented in browsers, does not work.

makes this feature even more dubious and even worse, together with the green SSL indicator it gives a false sense of security.
cheap labor is markets at work. you just sound pissed.
And it will be 10 times less impressive.
I suppose the question is why anyone would support CUDA only, instead of something like OpenCL. NVIDIA have been promoting CUDA quite aggressively for some time, but the bottom line is that even today, several years after these technologies became widely available, most mainstream applications for graphics, video, CAD etc. still don't use that power on either AMD or NVIDIA graphics cards. If CUDA really has meaningful technical advantages over OpenCL, why aren't these applications using it?
The system I came up with is A table of contents that makes it easy to jump to specific styles.

First the global styles, then different things like Header, Navigation, Main Content, Right-hand-side-doodad, Widgets, Footer, etc.

Then create a Table of contents at the top and give each section a unique identifier, FEDCBA-Head, FEDCBA-Nav, etc. Go down to each group and put in a comment saying "Start of Navigation CSS <FEDCBA-Nav>".

Now you can look in the table of contents and do a quick file search on the unique identifier, and be taken right to the CSS you're looking for.

I generally make the table of contents a lot more detailed, and it has an upkeep cost, but it's well worth it when the CSS file gets big.
Things To Avoid During Pregnancy
Know the easiest and best ways to avoid problems and complications during pregnancy by Organic baby university and have a healthy pregnancy.
It might be faster to write the code, but it's definitely not the fastest way to find the minimum/maximum value. Some simple test cases I wrote show a simple for loop iterator over an array to be 2x faster than Math.min.apply in Firefox 4, and 3x faster in Chrome 10.

http://jsperf.com/fastest-array-min-max
Which Traits Predict Success? (The Importance of Grit)
The idea of the internet pervaded well before most people knew about the actual internet. There were BBSs with federated mail networks and big online services like AOL and Compuserve. There was also much talk of a singular "information superhighway".

Had the actual internet not been around, a unified online service would have eventually emerged, likely after much bloody competition and buyouts. It would have been initially tyrannical but eventually tamed by regulation, much like other utilities. It never would have been as cool as the internet.

So, I guess the answer is no, an open, decentralized internet was not inevitable. We got lucky.
Riak Full text search is fun to work with and as simple to set up as the rest of Riak. They offer a Solr interface, but don't support all of the operations yet (e.g. http://wiki.basho.com/Riak-Search---Querying.html#Faceted-Qu... --> Facet querying through the Solr interface is not yet supported. ).

Riak isn't the fastest single node system, but if you're going big and need several servers anyway it will save you some time.

CouchDB could use elasticsearch and its streaming indexation ("river" -> http://www.elasticsearch.org/docs/elasticsearch/river/couchd... ) to get scalable fulltext search.

An interesting project for fulltext search when it comes to mongodb and SOLR is photovoltaic ( https://github.com/mikejs/photovoltaic ), it pipes the mongoDB changes to the Solr XML interface. Sadly, I haven't had time to use it yet, but it looks interesting.
> I'd love to see a MongoDB component that replicates data from the oplog to a dedicated full-text store like Lucene or Solr.

Photovoltaic does this: https://github.com/mikejs/photovoltaic

I haven't had time to play arround with it yet though :(
Jakob Nielsen: Optimizing a Screen for Mobile Use
UK entrepreneurs launch Startup Britain with PM’s backing – but not his money
As a VC, how is a $41 million investment in Color, justified?
> The New York Times I'm sure would like to be the buggy whip of journalism.

No, they don't. The few that are around are in an extremely niche business that most of the world does not need or care about. They're for hobbyists.

It'd be interesting to know if the buggy whip manufacturers from 100 years ago actually survived (I sort of doubt it, but don't know) or were recreated/re-formed to serve the niche/hobbyist market, which I think would require a different sort of business and mentality.
Since Sarbanes Oxley has made it unpalatable to sell to the public directly, we really don't know much like the dotcom bubble the current situation is. But we do know that the Fed has pumped massive amounts of liquidity into the economy and that it has to go somewhere. And the Fed is the number one creator of bubbles in the world.
Injury attorney Lexington
At the Law Office of Whitaker &Burris our focus is on auto accident cases and all other types of personal injury such as motorcycle and trucking accidents. We understand the insurance industry and the challenges you face seeking medical treatment, paying bills, and receiving compensation for lost wages. We protect your rights after a car accident and make sure the insurance companies provide a fair and reasonable settlement if you have been injured in any type of accident.
I would certainly love to slag on excessively top-heavy project management and the New York Times, but I think you're being a little unfair here. Many of those "What do we build?" discussions are critical and non-obvious.

To just look at one little piece, this decision has massive SEO implications. I have some notion of what people qualified to comment on them cost. I'm not nearly the caliber of firm the NYT would stake their future livelihood on by engaging for this kind of work, but even absent that, the minimum possible scope for that SEO engagement blows $10k out of the water.
You should ask Myspace; their building's on the same block and I'm sure they've got some space these days.
You might be interested in Handler Socket.

https://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL
Syllables, Scrabble Letters, and Picking Brand Names
30° - the screen has failed and there is a back-up one plugged in the back.
The great thing about web 2.0 is that it doesnt cost that much to get something up and running. You can get ruby devs for 70-90/hour. They wont necessarily create the app that can scale, but scaling is a feature for later. My first iteration cost about 8K and the total is right around 20K to get to a pretty stable alpha. I have lots of horror stories about contract developers, but they are mostly about how the devs are working on too many projects at once so mine didnt get worked on at all. This didnt cost me money, just time.
Online Virtual Assistants - Australia
Online Virtual Assistants are the fastest way to improve profitability in any business.
"Q: How did they get so spend that money? A: Endless meetings."

Indeed. I've worked on and managed projects where the billable hours for meetings were 2 or 3 times as many as the billable hours for development.

I've also a few times worked on projects like that where as well as the client insisting 3 people from our firm attend each 1hr weekly progress phone conference, there were also multiple representatives from marketing, legal, and network ops on top of 4 or 5 stakeholders and their assistants. The specific project I'm thinking of there involved only about $12k worth of development "work". We billed ~$50k. I have no doubt the cost including internal expenses to the client for that project would have exceeded $250k and may have approached $500k. Interestingly, that client was perfectly happy with the way the project went, and we've worked for them again since then, with largely similar cost overheads.

This is one of the _big_ reasons small startups can out maneuver corporations. The project could have been completed for $12k, if someone was prepared to take a risk and was prepared to accept responsibility for letting the developers run with loose specs and trust them to make decisions when appropriate and ask for guidance when needed. And that's $12k at "outsourced to competent webdev firm" rates, a lean startup with at least one good tech founder would have done it themselves over a couple of weekends or a few weeks worth of evenings. Instead big corporations involve literally dozens of highly paid middle management and somehow approve half million dollar budgets to achieve exactly the same ends, just with accountability and avenues of blame to show for the large portion of that money.

(I'd love to land a similar client with a 40mil budget to "waste" this way though...)
Best SEO Services
Local SEO service companies are hard to find... Especially when searching for one that understands the importance of your needs.
I understand and appreciate that line of reasoning - had it been for a one off comment and had it been someone else.

We are talking about the guy with the most karma points on HN - so he knows the culture - and we are talking about (presumably) someone that owns & runs his own company. So at the very least, ignoring that this guy is his competitor, given that he is the highest ranking member on HN (karma-wise aside from PG), he should be applauding someone that has taken the road he travelled earlier and built his wonderful firm that he is running today.

Yet he tears him a part, not on one instance - i.e. in a reply to one comment, but if you look through the thread there are MANY comments when he jumps on the guys back.

It's totally and completely unacceptable, for any HN member to deal with any non-trolling HN member like that. Regardless of karma points.

What makes it worse is that he has a vested interest. So the only rational excuse is that 2 + 2 = 4.

Why else would he betray the ethos & spirit of HN so blatantly ? Let the truth be told, it could very well be just that he was having a bad day or whatever it is - but given that this is a story closely related to his main bread and butter you would think that he would be extra cautious.

What he has done here, is the equivalent of PG ripping apart a plug by someone from TechStars or any of the other incubators (e.g. the program in Chile that I see pop-up here from time to time, or the one in Ireland or the UK most recently) when they come here to post a 'shameless plug'.

That would be very irresponsible for PG to do.

As I said, if it were someone else that was new to the community I could let it slide...but not for someone that is CLEARLY the most karma'd person here.
Upboat to you, sir. also an MD, I wholy agree. I have used AHLTA and CHCS in the military, meditech in New Orleans, Epic at Norfolk General, a few others in various clinics and hospitals. I hate them all. I wish the coders could work in the hospital. Put their desks in room 7, with the diabetic amputee in 6A, the lower GI bleed in 6B, and a nice old lady in 8A with CHF who gets a code called on her every two days for a week. I want those coders to work shift work.

I want them to understand the cognitive dissonance. Their efficiency as coders is strictly, profoundly, secondary.
> Ever since they changed Firefox's behavior when an unknown certificate is encountered this would be especially crippling.

Yes, that is possibly the single most annoying thing about any piece of software ever written, at least for those of us who develop secured web sites (and therefore self-sign all kinds of stuff before going to production).
A dynamic PeerIndex list of active vc's, angels & investors
hmm, you can create a reminder in google calendar..