skysight-inc/HackerNews huggingface dataset:
With the exception of the horizontal CSS (personal preference - unless its compressed, I prefer things on new lines), I like everything you said.

(I actually find the tab-indented elements really interesting and may have to try it on my next project!)

One thing you didn't mention were comments. I've seen some css files with great commenting. For instance, comments at the top that act as an index/table of content for the css file. Very nice!
GOOD's Food Editor On Food As A Lens For Changing The World
It starts as a way to take notes while avoiding duplication... (Notes to paper, then copied to computer)
It doesn't seem fair to call a defect "old" if it wasn't seriously addressed between then and now. I had to pick up PHP (presumably because of heinous sins in a past life) and every tutorial I saw was still pasting user input into non-parameterized queries. There are apparently several different MySQL clients, and our production boxes still had the original (inexplicably still in existence) which didn't even support parameterized queries. And that was in 2007!
I don't see any reason why it would be much harder to hit the middle hops for a MiTM attack.

It certainly wouldn't be worth setting up a MiTM attack between my house and the first Comcast router my cable hits. That approach doesn't scale. Sure maybe if I'm Warren Buffet (or some mobster if we're talking about the government) it might make sense. And if they did do that, then NO source I connect to is a trusted channel, as they could MiTM any and all connections.

The scheme wouldn't (always) protect you from an attacker setup somewhere in between you and your destination, like the NSA servers at AT&T, or the Firewall of China. Your trusted source could hit the same bad path.

And by your own acknowledgment, the scheme doesn't protect you from a hacker breaking into a bank's data center. If a hacker is smart, and only grabs say every 100,000th credit card, how long will it take to isolate the location of the exploit?

So the scheme doesn't really protect against anything with any level of confidence.
Wow, someone needs a big hug.
I haven't used it, as there just hasn't been a project with enough lead time to experiment with something lately, but I'm fond of the idea of code generators for CSS, like CleverCSS for Python and Sass for Ruby.

Other than that, the best advice I can offer that I DO follow is that I group all HTML elements together, all IDs together, and then all classes together. Within each of those groupings, everything is in alphabetical order.

body { foo: bar; }
form { foo: bar; }
h1, h2, h3 { foo: bar; }
input { foo: bar; }
p { foo: bar; }

#container {}
#footer {}
#nav {}

.etc {}
.even {}
.odd {}

and so forth.
Here's a shorter version:

<a href="javascript:;"></a>
While I love Firebug, I'd have to counter that organization with CSS is actually quite important (and does have its benefits!)

This is especially true when you're working either in a team environment or on a large site. The very nature of CSS (and how things cascade down) can become a nightmare when organization isn't taken into account from the start.
7.4V 6 cells Li-ion battery replacement for panasonic CF-VZSU27A
6600mAh panasonic CF-VZSU27A battery/AC DC Adapter, panasonic CF-VZSU27A Li-ion battery replacement
7.4V 6 cells Li-ion battery replacement for panasonic CF-VZSU27A, shipping to the whole world!
Optimizing Problem Solver for your Desktop may Induce Drug Visions
I just read the page you linked to, and can't help to wonder how the post can shell out upwards of $7 million for that. I'm sure the number includes training, integration etc. but it seems to med that a drupal system with some caching, and a few hackers to create newsroom specific modules would be able to do much the same for a fraction of the cost.

Am I missing something obvious?
If you believe that, and you don't want to apply software engineering to that problem, then just delete all your CA keys and accept back the ones corresponding to sites you trust. No change to SSL is required to make that process work.
They charge extra for the horrendous urls.
"1) Right now, enterprise applications have to go through the App Store (for both devices). It would be pretty powerful for enterprise to be able to push their own applications at their leisure to their phones"

This isn't true for iOS.

On iOS, enterprise managed phones can absolutely push out their own apps and bypass the App Store:

http://www.apple.com/iphone/business/apps/in-house/resources...

And Android phones which aren't third-party app locked by the carriers (so no ATT phones) can already install any app the user wants. It doesn't look like enterprise phone management for Android can "push out an app" though.
Why do you trust DNS registrars more than you trust CAs?
All this name calling makes me sad. There was a time when trolls like you were banned from HN. Sigh. How times have changed.
if i had to guess what service will still be around in 10 years .. i would guess google calendar, create an event and reminder.
Let me know how you liked it! I'm also just working on settings for registered users, and that may be one of them.

Now you can also toggle the popup by pressing `, btw.
I prefer the latter. It's more readable IMO. If file size is an issue, I just use a CSS compressor. Also, it's not too hard in finding selectors, most IDE's or text editors have a "Find" command to locate a selector. That's my 2 cents.
Both done!
MacOS X is an Unsuitable Platform for Web Development
Yeah, I was a pro for about 5 years before I got good enough at programming to do that instead. For the first couple years I was awed by the easy money (it was waaaay easy back then). Before really learning, I stupidly blew about $1200 doing all the stupid gambler things (was in college so that was like... all my money).

Then I got serious about learning , put in another $200, and didn't deposit ever again. Worked that up to around $20kish, kept that as a bankroll, and played in the 5/10-30/60 range, whatever games were good. I mainly focused on limit hold 'em, shorthanded and later heads-up.

I was consistently making in the 150-200 an hour range, but I'm not very money driven and so didn't play that much. Maybe 20-30hrs per week around 6-8 months of the year. So it was easy money and gave me lots of free time, which was great, and the mechanics of the game are truly fascinating and I got very absorbed early on, but you're completely right about how boring and unrewarding it is ultimately.

After a few years I felt like a hamster on a wheel. It became a drag to play so I avoided it and tried to reduce playing to the minimum necessary--which ended up putting strain on the bankroll during bad patches. You're right: the swings are very hard to stomach day in and day out. I didn't save or manage my money at all--spent it mostly on food and travel, which I don't regret. Still, I determined that I absolutely had to do something creative and contributory rather than repetitive and predatory, went the clueless 20 year old failed start up attempt route, learned how to program along the way, and now I'm much happier with life, and though I still make a lot less per hour than those days, it seems conceivable that in a few years I could eclipse it doing something I dig.
To be fair I imagine there's a pretty complex asset management layer, a ton of legacy code and content migration, and also it sounds like there's a paywall scheme for some content.
You really need to start looking more carefully at those SSH messages. In particular, the fact that you get an SSH warning when a site's key suddenly changes is 99% of the security value of SSH.

It was an old Usenix conference trick --- I think it's Dug Song's, but I'm not really sure --- to snarf people's SSH logins by capitalizing on their lack of interest in those messages. It's a trivial attack.
If you use this service you forfeit most of your legal rights as an employee.

In general, if you lie on your resume, you cannot later sue your employer claiming you were wronged. For example, if you were terminated for cause from a prior position and fail to disclose it you lose your right to sue your employer. This is called the "after-acquired evidence" theory or doctrine.

A few other examples that constitute lying:

Not putting a former employer on a resume

Making false statements about education, experience or holding professional licenses

Concealing or failing to reveal a former felony conviction, and

Making up a college degree during an interview.

EDIT: Someone asked for a source. Here are two:

http://employment.findlaw.com/employment/employment-employee...

and

http://en.wikipedia.org/wiki/Disparate_treatment#After-Acqui...

Many more available from Google:

http://tinyurl.com/4972e2m

Extract from the Disparate treatment entry on wikipedia:

If an employer takes an adverse employment action against an employee for a discriminatory reason and later discovers a legitimate reason which it can prove would have led it to take the same action, the employer is still liable for the discrimination, but the relief that the employee can recover may be limited. McKennon v. Nashville Banner Publishing Co., 513 U.S. 352 (1995). In general, the employee is not entitled to reinstatement or front pay, and the back pay liability period is limited to the time between the occurrence of the discriminatory act and the date the misconduct justifying the job action is discovered. McKennon, 513 U.S. at 361-62.
How to Instantly Improve Your Web Directory Quality
WikiPedia also has an article about him: http://en.wikipedia.org/wiki/Paul_baran

He certainly had a disruptive idea:

"After proving survivability Baran and his team needed to show proof of concept for this design such that it would be able to be built. [...] construct a network that leveraged this new insight of redundant links.

The result of this was one of the first store-and-forward data layer switching protocols, a link-state/distance vector routing protocol, and an unproved connection-oriented transport protocol. [...]

The design flew in the face of telephony design of the time, placing inexpensive and unreliable nodes at the center of the network, and more intelligent terminating 'multiplexer' devices at the endpoints. In Baran's words, unlike the telephone company's equipment, his design didn't require expensive 'gold plated' components to be reliable."
This is not a hard concept to understand. You can't have secure encryption without trustworthy keys. Without the "authentication" functionality of SSL, you can't trust keys, because a man in the middle can simply swap them out of your session. When we say "you can't have encryption without authentication", we mean that every mechanism for agreeing on an AES key with a counterparty over the Internet relies on some form of authentication.
Danica Patrick isn't inherently trustworthy?
I have four core files:

reset.css - I use eric meyer's
elements.css - Global defaults for things like body,
h1, h2, h3, p, a, input, strong. All
or almost all selectors in here are
just tag names.
layout.css - Just sets up the global layout with
containers: e.g. header, footer, left
column, right column.
blocks.css - Reusable chunks.

In addition to that, I use a separate file for each "page type". For example, 'article.css', 'index.css', stuff like that. Some larger sites merit additional files like splitting off 'forms.css', 'tabular.css', etc.

All files get concatenated and minified before serving, obviously.
I wasn't talking about ignoring any SSH warnings that occur when a site's key suddenly changes. Really, look at my comments, that's not at all what I said, is it?

You are misrepresenting my position and then attacking me for it.
Why are we talking about defenses that are defeated by just a couple lines of code? Firesheep could use pcap_write in addition to pcap_loop and redirect connections. What's the point of a defense that breaks Firesheep 1.0 only to fall to Firesheep 2.0?
Visualisation of Jobs and Events in Ubuntu Natty
Yes me too, actually. Will add something to toggle between the original and the custom website shortly (tomorrow or the day after).
Plain HTTP isn't lying to the end-user.
Thanks for the suggestion -- will do!
What do people think of Color's interaction design
Strange you would think a MacBook running OS X is closer to Linux than a Thinkpad running Linux.
Just hit the same issue here in 2011. Plesk, a popular package for managing shared hosting used by hosting companies, doesn't include the MySQL drivers for PDO (what's meant to be PHP's "standard" database library).

Last week I had to rewrite an import script to use mysql_query(), with mysql_real_escape_string() and quotes for every query variable.
I'm not convinced that tofu is the correct solution, but every criticism of https is true. In addition, it requires a public ip, something that may become scarce soon. I think that tofu combined with sites that poll is possibly a solution. Then you can crosscheck, and revoke authorities without bringing the whole system down. It would also make it harder for governments to mitm, since they would have to subvert many places instead of just one.
Use SASS with partials and mixins and sort them as it's more convenient for you (probably following the natural flow of descending order of your page).
On the topic of opting out, I personally like that the ads have become a lot more targeted in the past year or so.

Especially the re-targeting stuff...I'd much rather see ads for products I already have some level of interest in than the days of random punch-the-monkey and drugstore.com ads.
Way to go on missing the point. I did ask 'Why' is it such a hot topic.

I was hoping to get a little more of a response about my question than my comment. I didn't want to discount the buzz color is creating.

My thoughts were, I'm not Color, It's not the last ever VC deal in the world(I hope)...and most important, It's not helping me debug this FPGA I'm working on =P.

I was thinking I might be able to get good idea from some of the comments...
Heh, there was article on HN a while back explaining that in order to be truly creative, you have to first master your domain.

So I wonder if this new information will allow master composers and musicians to gain a deeper insight into their craft and then achieve creative advances they might not otherwise have. I've recently gotten into trance, dubstep, and their many, continually emerging sub-genres, hence my interest.

As for me, I'd be happy to just be able to make stuff I could post to Newgrounds or Youtube and get decent ratings. Though now that you mention it, I wouldn't turn up my nose at #1 pop hit-generating startup either.
From a strict career perspective, this feels like it could be more valuable than college.
I leverage SASS and Compass for Ruby heavily.

I utilize mixins heavily so I can modulize all my styling and make sure it's included in areas that are appropriate. I've learned this is the only way to handle CSS without styles getting too complicated and accidentally changing something where you didn't mean to.

Example (create a mixin that has certain styles for forms and then include it in a body.wizard page) this way I keep my CSS very dry.

General coding guidelines are horizontal. I recently switched to this. I used to do vertical and indentation but it's very hard to read with big files. I've found that it's a lot easier to read horizontal CSS.

I alpha all my styles from a-z.
How much does exterior culture play in to this? What do South Korean kids do when they get off school? Wasn't Starcraft at first more of a rebellious act, and somewhat counter culture?

It seems to me that creativity is best built by providing multiple releases for it, and then allowing complete freedom over were one spends his free time. Certainly education plays a huge role in this as it defines to a large extent what a student does in his or her free time.

I would go so far as to say that the ideal education system would do away completely with homework, and instead focus on in class interaction based entirely around projects that are more meaningful then "due in two weeks, test after that". The classes I remember most at all levels of education where those which were either primarily open discussions or those which had large semester spanning group projects. Most people I know feel the same. A students free time should be their own, how they spend it should be inspired by education not framed around it.

Granted that seems slightly utopian, and I'm not really aware of a lot of the research that surely has been done around this subject.

It is a fascinating subject in my opinion, and one which has so many variables to it.
Here is some detailed information about ONC certification requirements.
http://www.cchit.org/get_certified/ONC-ATCB-Certified-2011-2...
Any EHR which isn't certified isn't likely to get many sales.

As for drug dosages and reaction / interaction checking, all of the EHR vendors license their drug databases from just a couple of data vendors.
http://www.medi-span.com/master-drug-database.aspx
http://www.firstdatabank.com/Products.aspx
So if you're going to include any of that drug data it's just as easy to include the entire set.
Do you have a source on that? I'm not a lawyer, but some of that sounds at odds with other case law I've seen.

It sounds particularly ludicrous to suggest that omitting a former employer from a resume is grounds for losing legal standing for some types of claims. For example, I worked at Radio Shack and The Princeton Review in high school, and don't list those on my resume since they aren't particularly relevant to the sort of work I do now.
LESS CSS seems worth a look: http://lesscss.org/
This isn't about file size at all, it is about being able to see as much CSS as possible at one time.

My screen is wide, my editor is wide, my code is fairly wide, but the standard format for CSS is really narrow. Every time I see the vertical format in my editor, easily 80% of the window space is completely empty, and otherwise useless, and 80% of the CSS is not on the screen and I have to page up and down, or search, to find stuff.

This is a workflow optimization that works for me. It might work for others too.
either he is full of shit or he doesn't know squat about package management. you can always install from source.
Yes, they seem more "random" to people.
I like it, generally speaking. I played around with it a bit, and here are my thoughts:

- The site needs some character. The logo has some, but isn't enough; It's REALLY neutral to me, and I'm a pretty big fan of minimalism.

- There's no "I haven't seen it" option, or "Let me rate this later". Which means that when I got to the end of the list of things I could rate, I was at a loss as to what to do next. Also, it bugged me that I couldn't make 'Cloverfield' go away, even though I've never seen it.

- What do I get out of it as I rate them? I certainly don't mind rating these things to help evaluate, but ... is there ANY reason I might come back and do this again later?

- The lack of registration option is a little confusing. I hit the home page, rated a few things, I see a log OUT option at the top, which is a little quirky, and I see a log IN -- oh, never mind, it was in the middle. If that's the call to action, it should be more pronounced, I feel like.
Added a reminder inside the title of the dialog. Didn't want to change the user's css -- if they copy it out it might no work then.
The God of Tech Support
i saw one guy's css once it it looks like:

.wrapper { ... }
.sidebar { ... }
.content { ... }

the indentation was well done.
Http://www.bidz.com/site/101/brand/citizen
So to put it in simple terms:

Chrysler is claiming they are better than Volkswagon because they have a deal with fiat who make Ferrari who have a car that can go around one specific track faster than a Lamborghini which is owned by VW
Hm, 41 million could certainly pay for a lot of astroturfing..
Here's what I do:

- Almost all CSS goes in 1 big file. One line per selector to keep thinks clean and easy to find. Styles from external sources (like jQuery UI) go in separate files.

- Reset lines go at the top, if you use them, in a / RESET / section.

- Styles for individual HTML tags are next in the / HTML TAGS / section.

- Then a / UTILITY CLASSES / section for clearing floats, etc.

- Next comes site layout. Headers, footers, page width, etc. all go here. Just the layout though - think the grid. No real content styling yet.

- Now sections for each piece in the layout. Content styles go here. First a section for the / HEADER CONTENT /, then a big section for the / PAGE CONTENT / (vast majority of styles go here), then the / FOOTER CONTENT / styles.
Good idea -- I'm definitely interested in a lightweight element selecter.
Could be?
What are important things to know that people don't talk about?
The best suggestion I can give is to break up your CSS into multiple files. If you have a "projects" page, make a "projects" CSS file for style definitions specific to that page. I keep the overall layout elements together. I typically also have a "forms" CSS file just for buttons, form layouts, and inputs.

Then @import everything in screen.css.
I have to list all my former employers? That is absurd.
Natalie Downe, my co-founder, has a very neat technique for organising CSS which she calls a CSS System. She described it in this talk:

http://lanyrd.com/2008/barcamp-london-5/sg/

She splits everything in to general styles (basic HTML elements), helper styles (things like forms, notifications, icons), page structure (header, footer, layout columns etc), page components (reusable composable classes for components that occur on different pages in different combinations, such as a news teaser) and over-rides (special cases for individual pages, rarely used).

She hardly ever uses IDs, preferring classes for almost everything - because CSS written against classes can be used more than once on a page.

She uses CSSEdit's groups feature to make the CSS easier to navigate - it's all in one file. http://macrabbit.com/cssedit/

View the stylesheets on http://lanyrd.com/ and follow the link at the top to the unminified version to see annotated examples.
'Dilbert' Creator Scott Adams Criticized for Gender Equality Article
That was worth mentioning then.
First of all thanks for checking it out.

> The site needs some character. The logo has some, but isn't enough; It's REALLY neutral to me, and I'm a pretty big fan of minimalism.

I have a finch-like character (it's a kind of bird) in mind that I plan to put in a few places to add some character, but I wanted to get the site out first before that.

> There's no "I haven't seen it" option, or "Let me rate this later". Which means that when I got to the end of the list of things I could rate, I was at a loss as to what to do next. Also, it bugged me that I couldn't make 'Cloverfield' go away, even though I've never seen it.

There's a lists feature that lets you add to 'ignored', but perhaps it should be more pronounced than that.

> What do I get out of it as I rate them? I certainly don't mind rating these things to help evaluate, but ... is there ANY reason I might come back and do this again later?

Ah right, there used to be a landing page with an explanation ("the more you rate, the better the recommendations") but I lazyfied the signup process so I forgot to stress that. Noted, thanks.

> The lack of registration option is a little confusing. I hit the home page, rated a few things, I see a log OUT option at the top, which is a little quirky, and I see a log IN -- oh, never mind, it was in the middle. If that's the call to action, it should be more pronounced, I feel like.

I'll figure something out regarding that.

Once again thanks for the feedback.