155 karma · joined February 19, 2010
var foo = new Animal Brown Quadruped Barking();
Even if styles could be inherited, this seems to be taking the wrong approach. Most of use realise that classes should be used to denote identity, and not behaviour (or in this case, styling). CSS preprocessors seem to fix the same problem in a much nicer way. /* Define classes used in HTML */
.sidebar {
@include bordered-box;
}
#special-offer {
@include bordered-box;
position: absolute;
top: 0;
right: 0;
}
/* Define theme information */
@mixin bordered-box {
h3 {
background: red;
color: white;
}
border: 1px solid red;
} 1. URL: "test - Google"
Title: http://www.google.com/search?q=test
2. URL: http://test.org.us
Title: "Test"
Referrer: http://www.google.com/search?q=test
Time: 2 secs
2. URL: http://en.wikipedia.org/wiki/Test_cricket
Title: "Test cricket - Wikipedia, the free encyclopedia"
Referrer: http://www.google.com/search?q=test
Time: 249 secs
It's really just an extension of page rank by seeing what links are being clicked on and not just which links exist. Whether MS should be capturing this data under false pretenses is another issue.Compounding the error is the poor choice of middle-click as the alternative close mechanism. Many older mouses and most laptops don't have middle click. When browsing on my laptop I can't use the touchscreen to close a tab, as the hit area is much to small to accurately hit. Likewise, using the trackpad to land the pointer on the button is something I find difficult to do reliably.
I don't understand why the hit area can't be increased. There is little penalty for incorrectly closing a tab, as Chrome has a handy "Recently closed tabs" menu.
Edit: A search turned up the newer "Chrome Toolbox" plugin, which brings the missing double-click-to-close behaviour to Chrome tabs.
So your quick five line script does everything that the fully specced application does and is a generalised solution that will accommodate future expansion. Really?
function getCount()
{
return
{
'count': 1
};
}
Not what I'd do, but a common style nonetheless.If you're launching a startup then you don't want to give your early adopters an excuse to not work with your API. If you're developing an API for internal use then you won't be using an off the shelf client library in any case.
Furthermore, a clean API is a sign to other developers that you know what you are doing. If you are targetting an industry where coders get a say on whether or not they will choose your service then you'd better put your best foot forward. I've seen far too many APIs that show a company has no clue on the technical side, which causes me to cast doubt on other parts of their service.
I always thought a "upgrade Firefox on next restart" checkbox which downloaded in the background and kicked off the installer on browser shutdown would be nice.
One benefit of Smarty is that it forces at least some seperation of business and display logic. People will still try and shove business logic into the templates, but at least you know you're not going to find SQL statements halfway though the rendering of a table.
I went through a machine in Amsterdam last year and was super pissed when I realised, after going through, what it was. I'm not planning to opt out whenever possible.
Edit: and exercise can't hurt either. It only takes 30 minutes to go for a good jog and is something doctors always recommend.
That should be "It's". No comma and an apostrophe.
I have to agree with the other commenters that this needs a better landing page. I had no idea what the site does.
If this guy wants to use SSL he should do it properly.