Don’t Panic

May 25 2010 / 8:13 am Was written by Amber View Comments

It is Towel Day kids.

This post was filed under news

You: I don’t like that. Facebook: Yes you do.

Apr 23 2010 / 4:27 pm Was written by Amber View Comments
LONDON - FEBRUARY 03: (FILE PHOTO)  In this ph...
Image by Getty Images via Daylife

I have to hand it to Facebook.  Tons of people despise the service openly, but everyone and their mom is still there. You are probably still using it aren’t you? Sure there are a decent number of people who deactivate their account in anger when the staff opens up the platform a bit for advertisers, but mostly the numbers just keep going up.

Way back in its humble beginnings, I heard of the fledgling college oriented site and made a few requests when they first started adding schools. Sure it took a little time since I was not enrolled in a huge or especially savvy university, but I did a little happy dance when I got the confirmation I could get in.  There was not very much to it, but I was excited to be able to send messages to folks outside of the campus email system that everyone hated.

Fun times were had.

As we all know, the really smart guy in charge decided that his peers who were not enrolled in a college might want to keep in touch with their uni buddies. It was genius. Find a bunch of kids more prone to have and like using social networks/computers in general and have them drag their less savvy friends in. Then have them drag in their family. Also, they knew the best way to keep it running was to ink a few deals with some advertisers. I wish I had thought of it, so does my wallet.

Over time this expanded into the big old mess that Facebook is now. Even though they change the terms randomly and totally screw over the privacy of the userbase for the sake of appeasing the advertisers, I have to give them applause for how they go about it. I am in awe of the amount of bullying that the users take in order to stay in touch with people that they would not even give the time of day to otherwise.

In terms of shoving personal information off to advertisers, Facebook has been doing the equivalent of progressively dying its hair a little lighter each time you see it. It is not quite all the way blond, but it is far from its original black. Unfortunately, you have been trained to react by making groups on Facebook to complain about it. The funny part is that putting the hate group on the site just makes you use it more and gives the people in charge incentive to stick it to you a little more. Hell, you can’t even really delete your account.

You are trapped.

This post was filed under software

Whip Up a Custom Fedora Spin with Revisor

Feb 2 2010 / 7:32 am Was written by Amber View Comments
Fedora Core 5
Image via Wikipedia

One of the bigger issues with some Linux distributions is the software selection.  Some packages come with entirely too much software, while others require many updates and additions just to function properly.  By creating a re-spin of your favorite flavor of Linux, many of the issues can be solved.

The install discs for distros are simply an installer program with arbritrary packages thrown on top.  When installing, it mostly copies files over to the hard drive based on the information you input.  Since the questions and available packages are meant to be generic and are decided by the developers, they do not always meet the needs of the user.

Also in cases where the distro needs to be implemented onto a large number of computers in an office, the lack of specialized applications can be a hinderance.  Having to select the language pack and keyboard layout on each individual machine would be very tedious.  Custom install DVDs not only save time and effort in the beginning, but also positively effect overall productivity.

To achieve the goal of creating your own re-spin with Fedora, the developers took the initiative to add a program called Revisor.  This saves one from having to completely write the new spin themselves.  It allows the user to adjust the install by adding newer packages and still keep the system close to the original setup.  Revisor is also handy if the distro is installed on any portable media. Using the software to reconfigure the distro without having the need to install Fedora on the hard drive on the machine or create a new install on the portable media each time.

Distributions can still be edited without the aid of Revisor if a graphical user interface is not a requirement. Developers chose to create the GUI for some of the less adept users of the software.  Revisor is available in the Fedora repositories and can be accessed with the command

# yum install revisor

Since Fedora 9, Revisor has been included on the Live discs.

Revisor

First task after installing Revisor is to just type

# revisor

into the terminal.  This brings up a happy splash screen with prompts you through the next steps.  The next course of business is to select the media which will house the re-spin. Most importantly, the following step deals with selecting which repositories to use.  The repositories handle the software packages and selecting the one you wish to work with basically determines which distro of Fedora your re-spin most closely resembles.  This step is crucial in that you have to remember include at least one of the repositories that is mandatory for the system to function.

If you plan to run Revisor often, you can speed things up by copying the contents of the original DVD to your hard disk. The standard Fedora repository can be disabled and you could choose to either use the data on your hard disk or the DVD as the default repository.

After loading the repositiories, the Kickstart configuration file needs to be generated.  A Kickstart configuration file contains all the configuration information used with the installer, called anaconda.   The Kickstart file can be used to pre-configure the system so that the installer can run unattended. Unattended installs save the user from having to hover over the computer  and make individual selections about the configuration.  A Kickstart file usually contains a list of packages to install on the system, which services to run, and what the appearance of the X Window configuration should  be.

The one downside to Kickstart files is that they can explicitly copy a previous installation, but they cannot remove hard disk partitions. If the disc is already clear, this is not an issue. If you do not have Kickstart files already Revisor includes an option to create a fresh Kickstart configuration file.

Finally, the time comes for you to choose what packages to install on the media.

It is a simple click and select option in the interface which gives you the ability to leave the system mostly bear or load up applications.  Once again these packages can be sent to a Kickstart file saving you from having to pick and choose packages from the standard distro.  This can also be skipped for a generic install.  Revisor then creates an ISO image or whatever media you selected for the re-spin, which is the most time consuming of the processes.

The process of creating a re-spin can be done sans the Revisor program by beginning with an alternate installer and using Kickstart configuration files, but there still needs to be a third party program to combine them for a new ISO.

This post was filed under news

Love, Hate and Third Party Comment Systems

Jan 19 2010 / 2:14 am Was written by Amber View Comments

Fresh out the box, WordPress comments just are not enough for me. I don’t want someone to have to fill out any extra forms to comment, especially when I despise doing that myself. It is not like this place is some hotbed of conversation so I can understand if people would see extra work to do and just walk away.  So I had to search for a solution that would make it easy for everyone.

Some geniuses who got to WP before me had this grand idea of hacking at the code and making the comments better. Apparently that just plain sucked, because I can’t seem to find very much info about those guys.  Now we have two options: a bunch of plugins, or a third party comment system.

Going the plugin route is a great idea for tons of people. I have seen many a post about the tons of comment plugins people use on their websites and they actually look fantastic. They offer great customization and provide a fairly unique experience for your visitors. There are just some folks  in the world that don’t like having a big pile of plugins, and this is not a good option.

The smart minds that came up with the third party comment systems showed up right on time to save the day.  Fantastic comments with just a single plugin and they get to do all the behind the scenes work. Everyone smiled.  Then there were more features added, which started to weigh this option down a bit.

Like most folks who use them, when I first tried out the commenting systems I did not really notice the slightly slower load times. I was just happy my comment areas were more open and snazzier looking.  As time passed, the sites started coming up slower and there were more conflicts with other things on the sites.  Frustrated, I tried different comment systems only to have the same problems crop up.

During the course of time dealing with these issues,  I had acquired a decent amount of knowledge about the behind the scenes of a website and decided it was time to take a peek at the code.  It was not pretty.  I was appalled at the fact that there were teams of people that came up with these comment systems, yet they could not run their code through a validator before they put it out to market.  Sure they are mostly free services, but there are some that cost something that have the same problems. *cough*Echo*cough*

This made we go back to the default WP comments, which lead to an onslaught of ugly and spam. I longed for the lazy times, but the support for fixing the issues was lacking and I did not want to delve into the code on my own.  Reluctantly I eventually returned to the comment system and resolved to clean it up when I got the chance. After a few hours of guesstimation, I fixed most of the code issues in the comment system used here – XHTML is valid, CSS mostly cleaned up.

But why did I have to do that when there are people there who are paid to make the thing work? I am happy to share the cleaned up version of the plugin when I am done if anyone wants it,  but I still hate the fact that I had to fix it. I implore you folks that work on these things for a living to clean up your code a little bit. Since you guys know the ins and outs of it, it should not take more than a few minutes to dot the i’s on these issues.

This post was filed under software

Code that Caters to Your Laziness

Jan 5 2010 / 6:14 pm Was written by Amber View Comments
{{en|== Summary ==}} The font used in this ima...
Image via Wikipedia

Like clockwork, people build lists of resolutions and things to do for the new year. Many of the folks with websites end up scrambling to change the copyright dates sometime in the afternoon before they go out New Years Eve, or they end up doing it while hungover the next day. What is worse is when those of us that use a template created by someone else don’t realize that the coder got lazy and just threw the year in, and we don’t end up fixing the mistake until a few days later.

What I don’t get is why the folks that make these templates don’t have the self-updating code in there already. If you took all that time to create a template for people to use, you would think you would make it easier on yourself and put the code in there. I can understand it if you charged for support and just wanted to drum up some business, but it just seems silly.

To solve this problem, I did a bit of searching for code snippets to have your copyright date update when the calendar does.  Below are ways to do it in JavaScript, PHP, ASP, ColdFusion, and SSI.

JavaScript:

© <script language=
"JavaScript">
<!--
    today=new Date();
    year0=today.getFullYear();
    document.write(year0);
//-->
</script>

which gives you:

© 2010

or if you want a range of  dates and a little text

<script type="text/javascript">
<!-- copyright=new Date();update=copyright.getYear();document.write("Copyright © 2001-"+ update
+ "    (your company name)    All rights Reserved."); //-->
</script>

with that one it will give you

© 2001 – 2010 (company name) All Rights Reserved.

There is also a JavaScript generator available at Webweaver if you are feeling really lazy.

PHP:

<?php echo Date(Y);?>

or for a range of dates

 <?php
$c="2009";
$d=date("Y");
   if ($d==$c)
      echo "Copyright &copy; $d";
   else
      echo "Copyright &copy; $c-$d"; ?>

this one will produce a single date for the first year, and then the date range afterwards.

ASP:

<%=year(date)%>

or for the range of dates

 < %response.write("Copyright 2001- "&Year(Date))%>

or

< % Dim yy yy = DatePart("yyyy",Now()) %>Copyright © 2001-< %=yy%>

or

Copyright © 2001-< %=Year(Date)%>

ColdFusion:

<cfoutput>&copy; #Year(Now())#</cfoutput>

SSI:

<!--#config timefmt="%Y" --><!--#echo var="DATE_LOCAL" -->

or make your copyright statement a file fragment that can be pulled in with a simple:

<!--#include virtual="/path/to/copyright" -->

Since not every site is the same, it helps to have this list on hand. You just need to remember to check for them in any new templates that you decide to use, and/or remember to put them in a site you make on your own. Also, do not forget to update any forms you have (especially the ones involving money).

This post was filed under news

Does Duct Tape Work on WordPress?

Dec 13 2009 / 1:44 pm Was written by Amber View Comments

After having used WordPress and phpBB separately for some time, the need to phpwpcombine them did not happen until recently. Considering the popularity of the two, you would think that there would be an easy way to glue them together already.

This does not seem to be the case.

This was a shock to me, but the worst part is that this has been an issue for a long time.

While the best method of adding a forum to WordPress is just to use bbPress,  this is not an option for those that built up a forum before they decided that they wanted to blog. Sure there are many ways for you to have a listing of the most recent posts from a forum in your sidebar, but it is a limited solution and still requires your users to log in more than once. Another approach to consider would be something like OpenID, but while the login would be the same it would still work like two houses sitting next to each other with the same door key.

I will admit right now that I could not write anything in PHP if my life depended on it. I have only slightly tweaked existing code so I do not know if this is as difficult as it seems to be for developers or if the demand for combining the two is just very low.  The lack of options just makes me a little sad that their is not any easy button for this problem.

Maybe you have had better luck with this than I have. If you have a fix for this would you let me know?

This post was filed under software

Antisocial Socialites

Dec 1 2009 / 12:38 am Was written by Amber View Comments
Videodrome Pwntopath
Image by ncomment via Flickr

I get it. You want to sound like an authority on something. All the other authorities have said something is dead, but you want to fit in so you swirl the words around in a cup and say it is dead on your blog as well.

That’s lovely.

Now can you shut up about it.

If this service is dead, why are you still making it a point to remind people who are still using it once a month? Sure the development has stopped, but I didn’t die after puberty and neither did billions of other people.

At first all the talk of services “dying” didn’t bother me. Most of the pundits would wait until the official announcement that all the lights were off and all the servers were unplugged before they started rolling caskets up to doors. Now every time the subscription rate drops or slows by more than 5 people everyone runs around like the village is burning down.

Geocities was dealt the dead treatment years ago, but it was still around up until about a month ago. There are plenty of services still around that have been called dead for months which have stated no intention of shutting down in the near future and have thriving communities. Just because you don’t like the UI doesn’t mean you need to stick your head in the door and yell that it is dead to make yourself feel better.

I have touched on this issue before, but that was more reflection on how chasing after new services was getting old.  Picking on the ones you don’t like and saying they are dead is different, especially when you are still using them. If you want to be seen as an authority, then maybe you want to lay off the hypocrisy for a bit.

Saying blogs were dead in a bunch of blog posts designed to spur traffic didn’t really do you any favors, sending a bunch of tweets that Twitter is useless just made you look like a jerk. If you want to be an authority on something you have to remember that part of the job is being respected. Every single time you nag about something being dead, it raises the discussion from being a potential statement of fact to condescension.

Quit acting like someoone crapped in your cereal and stop trying to drive people away from places. The goal of these places is for you and go build a community, not try your best to shatter them before their time.

This post was filed under news

Switch to our mobile site