Archive for category technology

Streamlining e-commerce

E-commerce has been around for a while now. Ever since the early day of the internet, people have been making purchases online. It has become much better over the years, no doubt. At the same time, it has become a very complicated beast.

I recently started a class on e-commerce. We are actually in our first week of class still, but one of the first discussions has centered around a diagram that lays out the steps involved in a typical e-commerce setting. Looking at it has led me to realize that e-commerce is much more complicated than it should be.

I have a prediction for the next decade or so. There are some forms of e-commerce which have already emerged as forerunners of a new type of system. People don't want to go through a 12 step process to make a purchase online. We make purchases online because they are convenient. I would much rather go shop, when I'm trying to decide what I want to buy. However, if I know what I want to buy, I would much rather purchase it online.

Online purchases are more convenient, offer more selection, and are less expensive due to the more globally competitive marketplace. It's not as timely in regard to actually receiving the product. One has to wait for the product to arrive through shipping. Today, shipping has been streamlined to the point where it's almost not a good argument. I would much rather wait for a product to ship to me than fight the crowds at the stores.

Think about a trip to your local Wal-mart. They have fifty checkout lanes but only five are open. They could handle a massive amount of people, yet you almost certainly have to wait in line every time. This is, of course, unless you are like me and only go at 3am. At 3am there is only one lane open, lane 17 next to the cigarettes.

The point is, no matter how many customers there are in the store through the day, there are always lines at ever cash register. These lines keep people in the stores. It makes them spend more. The longer you are in Wal-mart. The longer they have to convince you to buy something else. They do this, not through pushy salespeople, but through subtle subliminal advertising techniques that deal with your senses of sight, smell, and hearing. They've found that the best way to get someone to spend more money, is to make them stay in the store longer, and at the end of the visit, they put you in tight quarters with many "must-have" items. They also put things like candy and tabloids there for you to grab while you wait.

This technique is being tested within e-commerce itself. Let's dig into this more and discuss how people make money online.

Making money online is dependent upon one thing...Traffic. Traffic is THE major factor in making money online. If one has traffic, the rest is pretty easy actually. Some people will tell you that you have to have targeted traffic or a certain type of traffic, but that is non-sense. The only real requirement is TRAFFIC. With traffic, you can find a simple way to make money.

That's what these sites are thinking when they make the checkout process so difficult, and this theory probably holds a lot of weight. It most likely does create more income for the sites. If they customers spend more time browsing your site, they are more likely to buy more stuff. Here's one thing to consider though. How annoyed with your site does the average customer become after a given amount of time.

Apple has done one thing completely right over the past decade. Some people think that Apple is great because it made such a great media device when it created the iPod. You may feel that the iPhone is simply the best phone ever made. All of these are mere opinion. All of these are things you would hear fanboys of Apple spout.

I disagree that the iPod is not an amazing product in the personal media device category. It's merely a mediocre product. The really amazing product in this situation is the iTunes store. Now, along with the AppStore and the BookStore, Apple has created a digital marketplace that is superb. These stores don't offer the typical e-commerce atmosphere. They make the buying process a one-click process. THIS is why the iTunes and AppStore is better than most others. They meld their hardware products such as the iPod, iPhone, iMac, Macbook, and Mac Mini to their stores of digital products.

Their version of e-commerce takes a 12 step process and turns it into a three step process. Those steps are browse, buy, and use. They have found that the faster a users gets through the buy step, the faster they can get back to the browse step.

In the future, we will see a lot more marketplaces like this. Others have already appeared, such as the Playstation Network.

This is the new way to sell things on the web.

,

No Comments

Resetting Wordpress Passwords Manually

I've had to do this for my wife and her mom both, so I thought I would share this with anyone who needs to reset a Wordpress password. I personally love Wordpress. You can build any type of site with it, not just a blog. If you have created a Wordpress site but haven't visited the admin dashboard in a while, you may have forgotten your password. I thought that Wordpress would email you a lost password, but maybe they didn't put in their correct email address. It could have also been the installation script they used through cPanel. Whichever the case, they couldn't get into their dashboard and they needed their passwords sent to them.

There's a very easy way to reset that password through SQL. Whether you are using phpmyadmin or some other SQL client to access your databases, you'll want to use the following SQL statement to reset your password:
UPDATE wp_users SET user_pass=md5('password1') WHERE ID=1;

You can change password1 to whatever you want. I'm amazed that Wordpress passwords aren't stored with more encryption than a simple MD5 hash. It's secure enough, don't get me wrong. I'm just surprised that the Wordpress developers didn't opt for more.

Oh well, I hope that helps someone in a pinch.

,

No Comments

Another look at Google Chrome

I've never published a "first look at Google Chrome", but I have been excited about it before. By Google Chrome, I'm referring to Google's webkit-based browser, not the Chrome OS.

When it was announced that Google was releasing it's own browser, I wasn't extremely excited. Then once it was available, I downloaded it to see how well it performed. I was amazed. The javascript executing was blazing fast. I'd never seen a web application respond so well. So, I suddenly became very excited about it and wanted to adopt it as my main browser.

This was soon shot down by the fact that I rely too heavily on certain extensions in Firefox, namely Gmail Notifier, Firebug, ForecastFox, and Adblock Plus. So, I had to keep using Firefox and hoped that one day Firefox would be able to handle javascript as good as Chrome.

Well the opposite has happened. Chrome now has extensions. I'm a little worried that it will be bloated and start performing slowly like Firefox. Firefox was once a lean mean browser. Now it is a bloated mess. It has started crashing without warming in Windows 7. I was once a Firefox advocate and I still like the browser, but it has been going downhill for the past year or two. Let's hope that Chrome doesn't follow down this path.

Firefox shouldn't even be that bloated. Sure, the extensions probably add to memory usage and Firefox reserves memory if it's available, but should a browser really be using half a gig of RAM? Seriously?

Chrome doesn't use less memory but it sure responds better. Adding extensions doesn't seem to lower performance either. I've added a GMail notifier, Google Wave Notifier, Forecastfox weather, Firebug Lite, and a couple other extensions and there is no noticeable change what-so-ever.

Now that these extensions are available for Chrome, I think it's time for me to take the next step. Chrome will be my main browser as soon as the extensions are available for the Mac and Linux versions. It's already going to be my main browser in Windows.

So, if you took a look at Chrome when it first came out, this may be a good time to look at it again. There are a few added features that may change your mind about it as well.

Reblog this post [with Zemanta]

, , , , , , ,

No Comments

Twutils.com

I've starting a new website and have almost completed development on the first tool. It's a site devoted to Twitter tools. I call it Twutils. The first utility is a spam removing tool called Spit Remover. I've settled on "Spit" as a good name for Twitter Spam. I'm in the process of moving the site to a new host due to DNS issues on the previous host. A few other ideas I have for Twutils are:
1.) Tweet Scheduler
2.) Follower generator
3.) Unfollow those that don't follow you (like Huitter.com's Mutuality.

I'm also planning to keep track of users who are removed with the spit remover. I may use this to show blacklisted spammers. I may generate a list of the most removed spammers, and allow people to remove these people automatically. Or I may just use it to create the biggest spammers list.

, ,

No Comments

How to buy a Mac

I've bought a few Macs from Apple, recently. I bought a Mac Mini about 1.5 years ago and was very pleased. My company bought a MacBook Pro for me a year ago, so I sold my Mini. I left the company about 6 months ago. I was left without a Mac, so I recently bought a MacBook Pro.

So, that's my history with Macs. I've found that ordering a Mac from Apple is fine and all, but there are a few things that are lacking.

1.) It sometimes takes days before items are shipped. Most of these items are coming from China. The shipping process itself takes too long. People can go to Wal-mart and buy a Dell. They can also order a Dell straight from Dell. Chances are, the product will ship a lot fast than a Mac. Of course, you can buy Macs at your local Best Buy or Apple Store as well. Shipping is not really an issue there. It just happened to seem strange to me that it takes so long to get the product straight from Apple when ordering from their online store.

2.) While Macs themselves aren't overpriced when you step back and look at what you are getting for the money, the upgrades for Macs are ridiculous. They are actually unbelievable to anyone who follows hardware prices at all.

For instance, to upgrade a Mac Pro from the standard 3gb of RAM to 16gb of RAM costs $1850. Someone should tell Apple that RAM has been dirt cheap for at least 5 years. One can buy 16gb of 1066mhz ECC PC8500 RAM from Newegg for around $620, or as noted later in this article, one can get the same Ram for as little as $400. That's 4 chips at 4gb each, exactly what Apple offers.

Some may argue that the quality of the RAM is better from Apple. People please...It's the same stuff. Apple doesn't make their own RAM. They order it from the same RAM manufacturers that companies like Dell and HP order from. The same thing goes for hard drives, video cards, and DVD drives. Each of these are not better just because you ordered them from Apple.

I like MacBook Pros, Mac Minis, and iMacs, but I wouldn't advise anyone getting an Apple upgrade for any of them except for the processor. Even with the processor, I would advise to stick with the standard. If you need to upgrade anything else about your Mac, buy the hardware online. Get the specific type needed and buy from an online retailer.

Here is 4gb of 1066mhz ECC memory for just over $100. Get 4 of those and you have saved around $1400 compared to the Apple upgrade.

So, when buying a Mac, it's best to buy from a source other than Apple's online store, if you like getting your packages in a timely manner. If you must get your Mac straight from Apple, do not purchase upgrades from them. Buy your upgrades the smart way, from someone else.

, , , ,

No Comments

Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration

If you've seen that error message you've probably happened upon a security feature that your shared web hosting provider has enabled. There are a few work-arounds for this error but most require you to have certain privileges on the server that you probably don't have. Quite frankly, if you are getting these errors you probably don't have the ability to change these settings yourself.

Rather than try to get the provider to change these settings (let's face it, they have this enabled for a reason and surely someone else has already tried to get this changed, right?) one can easily get around this with Curl. In most cases, curl will be enabled on the server. So here is the quick and dirty way to get around it:

Create a PHP file and name it anything you want. For the sake of this article we'll refer to it as curl_functions.php. In this file put the following functions:

<?php
function setupMyCurl() {
   $myCurl = curl_init();
   $temp = curl_setopt($myCurl, CURLOPT_RETURNTRANSFER, 1);
   return($myCurl);
}
define("myCurl", setupMyCurl());
function curl_get_contents($url) {
   $temp = curl_setopt(myCurl, CURLOPT_URL, $url);
   return(curl_exec(myCurl));
}
?>

Include or require this file. Then, all you have to do is use the curl_get_contents($url) in your code to pull in the xml to a string. Then use the simplexml_load_string() instead of simplexml_load_file(). This will give you the same results but works around the url fopen feature. If you don't have curl enabled on your host, GET ANOTHER HOST. :)

, ,

No Comments

How do I Block and Unblock Internet Sites?

Apparently this is a question many people want asked so I'll touch on what I use to block/unblock internet sites from my home network. This method will not require one to purchase any additional software or anything. It is designed specifically to be the low cost effective solution.

First of all, your home router controls all of the traffic going to an from your home computers. Some people don't have routers. The modem, whether it be a DSL, Cable, or dialup modem, handles their routing. These instructions will work for those people as well, but anytime I mention the router, please understand that if there is no router, the modem will be doing all the work.

The router software for various models of routers are different, so it is nearly impossible to have a step-by-step howto for each of them here. Instead, it's suffice to say that most routers have a block/unblock function. Most even let you time these blocks/unblocks. So one can set up rules as to when certain sites can be viewed.

Refer to your router's manual for these instructions. It is usually rather easy.

There is a further step that can either be used in conjunction with the router blocks or by itself entirely. This method involves signing up for a free service call OpenDNS.

OpenDNS is a free service that I've used for a little over a year. It gives you a great DNS service, plus allows you to do various other interesting things like protect your home network. Basically, all one has to do is sign up for the account and change their DNS settings in the router to the IPs provided by OpenDNS. All future DNS request will go to OpenDNS.

I should probably first explain what DNS is to begin with. DNS stands for Domain Name Server/Service. When you type google.com into your web browser, your computer has no idea what google.com is. It's oblivious. First it has to query the DNS server. Usually the IP of the DNS server is provided by your ISP. In many cases, the ISP provided DNS server lags behind a bit. You computer asks the DNS server where it can find google.com. The DNS server then responds with the IP address for google.com. Your browser then knows where to fetch the information.

The DNS server configuration can be changed in your router. You will override the ISP defaults and put in the OpenDNS server IPs instead.

OpenDNS updates much faster than typical ISP DNS servers. When you buy a domain name and direct it to your hosting provider, it can take up to 72 hours for the DNS information to propagate across the internet. OpenDNS usually propagates within minutes.

Some of the protection OpenDNS offers is right up there or better than many parental block software. There are automatic settings to make it easy to block pornography or harmful sites. One can also specify sites to block. Anytime a local user tries to access a blocked website, they are told that it is restricted. This is great free service, and I hope this will help you block those unwanted websites, and if you have any questions drop a comment.

, , , ,

2 Comments

Adventures in analog video recording on Linux

Linux does many things well, but the multimedia experience can be lacking without the correct bit of hackery. I mean, some cool things can be done with Linux on the multimedia side, but typically it'll take a lot of work to learn how it's done. Mac and Windows make complex things simple, while Linux makes simple things complex.

Back when I purchased my TV tuner card for my PC, I was using Linux as my main OS. I still use it daily but not on my main PC. Only occasionally do I boot to Linux on it. I typically run Windows Server 2008 as I've talked about on previous posts. When I bought the tuner I wanted to make sure that it worked under Linux. So, I purchased one that was made specifically for Linux, a PCHDTV 5500.

It has served its purpose as a TV tuner, since I watched a year or so of cable TV in analog on it prior to the digital switch. I have never been able to get the HD side of things to work on it. Either it's beyond me or my cable company just had all of the channels encrypted. I didn't spend enough time on it to find out.

Recording analog video in Linux can be FUN. By "fun" I mean the type of fun one has pulling their own toe hairs. Be forewarned, getting a good recording is best done from the command line. I tried many ways. I ended up going with mencoder.

That being said, there's not much you can't do with mencoder and ffmpeg from the command line.

I have some VHS recordings I'm converting to AVI and then later on to DVD. I first had to purchase a VCR because, wouldn't you know it, I didn't have one that worked.

After that I had to come up with a good way to connect it to my capture card. The card has coax and component inputs. The new VCR didn't come with any coaxial connections. The capture card had a yellow RCA connection for video. I could use that but then there was the problem with audio. The capture card had a 1/8" jack for audio. Luckily I had an RCA-to-1/8" adapter for one of my gadgets (not sure which). I ended up using two sets of RCA's.

I was amazed I actually got audio and video from it. Here's where more fun came in. I was running virtualbox in the background. Everything I tried to use to record the video told me that /dev/dsp could not be opened. I went through many hoops trying to troubleshoot that issue. I should have realized it sooner but it was all virtualbox's fault. Next time I'll make sure it's not running when I'm dealing with audio.

After all of those problems were worked out, I was able to use:

mencoder tv:///1 -tv driver=v4l2:width=640:height=480:forceaudio:adevice=/dev/dsp -ovc xvid -xvidencopts bitrate=-750:threads=2 -oac mp3lame -lameopts cbr:br=64:mode=3 -o /home/five/homevid.avi

I'll try to explain some of what is going on in that command. Mencoder is the program itself. There's little to be said there. The next part is interesting: tv:///1  That tells mencoder we are using the tv card and that we want to use the composite1 input. Typically it defaults to input=0 or tv:///0, which is the coax TV input. There are three inputs on the card: tv, composite, and s-video. The next part (driver=v4l2) tells mencoder that we want to use Video4Linux2. Then we specify the width and height of the capture. The forceaudio bit was placed there during my troubleshooting. It just forces the use of audio device /dev/dsp. I had tried a couple other devices during my troubleshooting, thus the addition of that option. Then we have the option for output video codec (xvid). I set the bitrate and the number of threads. I actually upped that bitrate considerably later to around 2048. I believe I'll end up upping it even more for the next vid. I did the same with the audio output bitrate. I set it up to 256.

That should help anyone experiencing some of the pain I went through.

, , , ,

1 Comment

Slow wifi on iPhone 3GS

I bought a new iPhone 3G S yesterday. These things are very nice, and I'm not an Apple fan boy by any stretch. One thing that was bugging me, however, was the slow speed I was getting from the wifi. I was getting faster speeds from the 3G network than my home wireless, and this is while I was sitting right next to the router, so it wasn't a signal problem.

I found the solution to this after reading through many, many forum posts. I saw others were having the same problem as me and were getting responses from people like "reboot the router" or "reset your network settings on the iPhone." This is all well and good and I'm sure those people meant well but there was a big problem with their responses.

First of all, everyone having this trouble said that the wireless worked fine on their computers but not on the iPhone. Secondly, there aren't many settings to "reset" inside the iPhone's network settings. There's just not anything in there that would cause this type of issue.

The solution to the problem ended up being an advanced setting on the router itself. From what I can tell of the issue and it's solution, the iPhone's wifi is just a bit more picky than a standard PC wifi device. Here are the settings I eventually had to change on my Netgear router.iphonewifisettings

The important items here are the fragmentation threshold and the CTS/RTS threshold. Each of these were set to their max value previously. After changing these two settings, my iPhone started working like a champ.

If you are experiencing the same problems with your iPhone or iPod Touch's wifi, change these settings on your router. Also note, these settings have slightly different names on some routers. Refer to your router's manual for more info.

, , , , , ,

43 Comments

The Best Dock for Linux

I've been looking for an OS X-like dock bar for Linux for many years. For a while, I used the launcher applet in gdesklets. It works without x-composite and pretty nice, but gdesklets can be a resource hog at times. Most of the gdesklets are written in Python if I'm not mistaking and Python, being an interpreted language, uses much more system resources than a native compiled application.

My next dock was AWN, or Avant Window Navigator. At one point, possibly the present, Google was involved with this project. Again, this is if I recall correctly. AWN is very nice, however, it only works if you are using the composite extension in X, as in Compiz/Beryl/Compiz Fusion. It's very customizable and behaves much like the OS X dock.

There's one part of the OS X dock that I really like that isn't quite the same in these docks however. The fish-eye zoom of icons on the dock is a trademark of OS X. AWN and the launcher in gdesklets both have a zoom function but it's just not the same.

I recently discovered that there is a great dock pretty much hidden away in a program called Gnome-Do. Gnome-Do itself is a cool search app for gnome. It's somewhat like a KDE app I remember that lets you launch programs by hitting a keyboard shortcut and then typing the name of the app. I can't remember the name of that app at the moment though. Gnome-Do does exactly that. One can type super(windows key) and the space bar to bring up Gnome-Do.

Of course, you will have to install it first though. After it is installed, simply run the application and go to the preferences for it. Change the appearance to "Docky". Voila, the best dock you've ever had in Linux will appear. Play with it and you'll soon see that this is very close to the OS X dock experience.

, , ,

No Comments