5

Follow-up To Loading CSS And JS Conditionally


Posted by Artem Russakovskii on January 15th, 2010 in Programming, Wordpress

First of all, I'd like to thank everyone who read and gave their 2 cents about the [Wordpress Plugin Development] How To Include CSS and JavaScript Conditionally And Only When Needed By The Posts post. The article was well received and will hopefully spark some optimizations around loading styles and scripts.

Here are some discussions and mentions around the web:

Sure, there are drawbacks to this method and it does require some more processing on the backend and it's not for everyone, which is why we should always strive for an even better solution.

I stand by my point of view that, for instance, my dedicated …

Share

Updated: August 30th, 2014

Introduction

wordpress logo In this tutorial, I am going to introduce a WordPress technique that I believe was unpublished until I raised the question a few days ago on the WordPress forums.

In short, the problem I was trying to solve was plugins unnecessarily loading their JavaScript and CSS on *every* page of the blog, even when doing so would achieve absolutely nothing and the plugin wouldn't do any work.

Update #1: I have posted a follow-up in response to some comments received around the web.

Update #2: There is a solution that can be considered a compromise as it works well for loading JavaScript but doesn't handle CSS.

I briefly mentioned this approach here but Scribu decided to expand on …

Share
38

The Not So Good, The Bad, And The Ugly: My List Of 20+ Problems With HTC Hero


Posted by Artem Russakovskii on November 16th, 2009 in Android

Updated: November 27th, 2009

imageAlright, I was really excited to get the HTC Hero. REALLY. I had extremely high hopes for the Hero (those are long gone) and Android (which I still do – I even began developing for it) but the Hero has so many ridiculous bugs that I am *this* close to bringing it down to the Pre level (I'm not going to dare though – Pre still leads in the "I Want To Smash This Phone Into A Wall" category).

HTC, first of all, what. the. fuck. The idea of a more attractive UI was great, by all means, but did it really have to come at the expense of lagging down the whole phone? And by that I mean LAGGING. …

Share

Updated: June 20th, 2011

Introduction

imageScreen is awesome. Once you become comfortable navigating around it, you start using it ALL the time. No more dropped sessions, no having 10 Putty windows open at the same time, no more nohup.

However, with default screen settings I've always felt a bit lost and out of place, mostly because there was no "taskbar" with a bird's eye view of all windows. Pressing ctrl-a, " really does get annoying fast (that's the command that brings up the window selector – screenshot below).

image

So instead I modded my screen to have a "taskbar" which sits at the bottom of screen and adds:

Share