Archive for the 'Uncategorized' Category

Counting items with mysql and regex in the group by statement

Yesterday I needed to do a little report for the boss but the data that I needed to group together wasn’t exactly the same. I hit up the “Goog” for ways to use regular expressions in a count query, but that is kinda tricky to find so this is what I was able to come up with….

So let’s say you had a table where you were attaching the landing url a site visiting is entering your website on, and you wanted to track that landing url the whole way to the end of some web based procedure. Of course certain urls will be different but some could be common for the purpose of counting them together on a report. In a practical example, lets say you are doing pay-per-click traffic with Google and Yahoo. Both of these providers use unique ids in the url to help distinguish between multiple clicks from the same person (so you end up with many urls that are different but mean the same thing). And of course you were a good little developer when you decided to send Google traffic to /google/ and Yahoo to /yahoo/!
Continue reading ‘Counting items with mysql and regex in the group by statement’

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

And we are back.

So it has been quite some time since I posted on here.  It has been rough lately. Not sure what kind of funk I’ve been in… but actively trying to get out of it. Hoping getting back in tune with the tubes will help. (Twitter is probably the biggest reason not to post on here…damn you Twitter)

While I have been gone I have been doing some work with CakePHP, FAI - fully automatic linux installations, VirtualBox & VMware, Magento, etc. So I have been keeping pretty busy.

I also found a nice little hardware project that has just come into my radar. http://www.brewtroller.com/ This is something that I have been wanting to work on in my *cough* free time. However my vision would be to use a host computer for all the logic and user control, and the controller board used for simple I/O. Anyone interested in this, drop a comment and let me know.

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

Happy Holidays from ProspectMX



The company I work for has decided to do a charity benefit of $10,000 in services to the organization that answers the question on their site or blog: “How can internet marketing benefit your organization?” For further details visit the post charity internet marketing

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

I hooked up my blog to twitter

Hey tweeple!

I am now a twitter fanatic. I avoided systems like this in the past, but recently have found great uses for it. So now I too, am a twitter-holic. So shout out to the tweeple!


@galaxiecruzin

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

Pic Programmer Schematics

Here are a few schematics that I have collected. Thought I would share these out there on the net. They all have pros and cons. You can read more about my specific experience with each one over here on the robot kits page.

Willem Pic Programmer Schematics

Tait Pic Programmer Schematics

JDM Pic Programmer Schematics

Classic Pic Programmer Schematics

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

Lancaster Linux User Group

Attention LUGers and LUGer-wannabes: I am helping reintroduce the Lancaster Linux User Group. With the rising cost of fuel, driving to the CPLUG meetings doesn’t fit everyone’s budget or busy schedule. So anyone who is interested, please visit the blog and post a comment stating your level of interest. I have spoken to several people already and feel that we could begin to form a great group in no time. BTW, we will plan on scheduling our meetings on a different day that the CPLUG does so that we do not create a conflict with their meetings.

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

Ahhh Ohhh, Web 2.0

So I added the glassy looking Web 2.0 icons to my sidebar the other day and was actually surprised of the result. Yesterday I ended up with a few extra twitter followers, a new facebook friend and I even had some decent stumbler action. Not bad for a few minutes of work. Of course I linked the icons to my profiles on those respective sites. This is the place I got the icons from if you are interested [iconarchive.com].

I am not real big on all the social sites, and stay far far away from mysapce. Can you recommend any other sites worthy of holding a spot in my sidebar?

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

How I Use BlogExplosion

First off, let me say I have no affiliation with BlogExplosion and just a blogger who signed up on BlogExplosion.

Basically what I have been doing is surfing for traffic every couple of days so that I can spend 15 - 20 credits each day on traffic to my blog.
(Earn Blog Traffic -> Surf Member Blogs) I use Firefox and just pop this in a separate tab, and do other things while “surfing”. Also while surfing, I keep an eye out for interesting blogs and topics that are related to mine. When I find blogs like that, I post a comment. Sometimes they will let you do your site url when posting. This engages the other blogger. I also try to find a way to relate their post back to a post at my blog and refer them to what I have posted. So this creates extra traffic sources, unrelated to BlogExplosion itself.

Unless you have a blog with wide appeal and topic nature, it would seem like paying for a billboard ad in an unrelated space. Granted, the people who are all using this site all have blogs so some people will actually do what I do while surfing. Many of the visits I receive are people that just bounce from one blog to another. So the key here is to have content and “bait” if you will, as close to the top as possible on your blog so that when the people look to the surf bar, they see something to become engaged with. You are not going to capture everyone… but obviously the goal is as many as possible. Take a look at the top of my site [ http://www.cruzinthegalaxie.com ], and notice how I have my top area setup in such a way to be unique and personal. I wanted my site to be remembered and stand out from the crowd.

The other thing that I do is BlogRocket. Sometimes twice a day. For one credit you can get 4 - 10 visits rather then one. Also you can visit a site on the blog rocket page, to be entered into a credit contest. So if you do that once a day, you will have the best odds at winning that pool.

If you sign up with BlogExplosion, your site will eventually get approved, so you could start doing these things now and build up some credits. I don’t do auto-assign of credits. I go in and manually assign about 20 per day. That keeps a nice steady stream of visits to my site. It felt like it took a long time before my blog was approved in their system. The first time they gave me a message about non-english or non-us site, so I deleted it and reentered it. But eventually it was approved.

I am also building referrals. So far that is not working out for me. The referrals that you get would theoretically help you build your credits. The problem is getting the referrals to surf for traffic.

How do you use BlogExplosion?

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

Link Contest Results

Prize Unique Referred Traffic: www.endureonline.com
Prize Quantity of Links: tidbitsandtreasures.blogspot.com
Prize Highest Google PR: Tie Between endureonline.com and tidbitsandtreasures.blogspot.com, so the winner is determined by the most unique referred traffic so the winner is endureonline.com

Congradulations to C.McComsey of www.endureonline.com, B.Sanders of tidbitsandtreasures.blogspot.com, and to all others who participated. Way to get off your duff and help a dude out. Thanks again!!

If you would like to see more detailed information I have provided the data that the winners were determined by. This pdf is a snapshot of the google analytics report of referring traffic for the contest period. Here is a csv file that contains all of the links as far as yahoo has indexed. The highest PR link, I had to manually go through all the registered links.

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis

Drama at the Beach and New Pics from Vaction

We got back last night from our trip to Ocean City, NJ. The little guy is at that age where he wants to do everything, touch everything, and always have his way so that made for a challenge. We hit the beach a few days, hit the boardwalk others. I think I gained about 10 pounds with all that good food! I uploaded some of the pictures to my Flickr account.

The drama of the story was the B&B that we stayed in was having some issues with the next door neighbor. We were in the middle of a feud. The neighbor was making noise and causing disturbances by cranking the radio, honking horns, and banging on things. It was kinda comical in one aspect, but did make it hard for Luke to take a nap. She apologized to us the next day, and hooked us up with a stack of tickets to the amusement rides. Whoo-hoo free rides!

Friday everyone was cleared from the water, as medical syringes washed up on the beach. Luckily for us, we already had packed up to head home. I feel bad for all the others on their way to the beach this weekend. COME ON PEOPLE!!! Stop ruining this earth. Keep your sh*t out of the water.

  • StumbleUpon
  • Sphinn
  • Slashdot
  • Reddit
  • Mixx
  • Google
  • SphereIt
  • Technorati
  • del.icio.us
  • LinkedIn
  • TwitThis