somethings from codeland

Thursday, May 24, 2007

A summer photo gallery

I want to mix up these two projects

ZenPhoto - home / example
Hoverbox - home/example

I want to have the ZenPhoto as it is, but on the main category listing, I want the hover feature on mouse over of the image for that category or the title/link of the category.

Should prove interesting..



Update:

This guy got picasa to work with Gallery, an open source gallery system with its own photo upload program.
Gallery & Picasa Integration

Wednesday, May 16, 2007

new memory for the desktop

I found this cheap memory online, turns out to be $50 cheaper than the nicer name brand memory - partriot, from newegg.com

I'm planning on buying 4gb of ram for the desktop. Sick of screwing with a slow machine.. It's a p4 box running 3.2ghz processor.. So we'll see how this fares up..

http://www.partspc.com/ProductDetails.asp?CatID=584&ProdID=3293

Sunday, May 13, 2007

javascript onClick clear Text Area

For easier form usability, I found this article about clearing out a text input so the user does not have to delete the inputs instruction contents in order to submit without the instructions included as part of the submit..

Saturday, May 12, 2007

Thursday, May 10, 2007

great css ideas

reset the browser -- from crucialwebhost

70 more css tips..

Tuesday, May 08, 2007

huge list of color scheme sites

http://www.colorschemes.org/

Here's a great flash-based color generator

background images from flickr

This is a good site for getting images of a certain color for background..
http://www.krazydad.com/colrpickr/

create sexy css buttons

sexy css buttons -- some god stuff about sliding doors technique for css buttons..

freelancer website

http://freelanceswitch.com/index.php could have some interesting information..

17 e-commerce site tips

17 tips from seomoz.org

Good contrast in the design on their site and some decent tips for e-commerce site usability..

Thursday, April 26, 2007

Adobe Flex: Open Source

Flex is an XML based langauge (MXML) that provides an interface to Flash on the presentation tier in the development environment. I have come to terms with Flex being Flash for web coders. It would replace a scripting language like php or jsp.

Sample app: Google Finance

Well it is now open source, providing an sdk and dev environment. I know that adobe has released a plugin for the eclipse ide, JSEcplipse, primarily for javascript coding (supports all the big ajax frameworks) but also includes support for flex constructs.

Should prove to be an interesting summer of coding..

Monday, April 23, 2007

html back button: Simple Enough

For some reason its come up on a few projects lately that we need a back button built into the web applications navigation interface. Simple enough..


<input value="Back" name="ClickBack"
onclick="(history.back())" type="button">

result:

Sunday, April 22, 2007

CakePHP

I have been looking to start back into PHP for some projects coming up here in the not so distant future. I would like to find a very comprehensive php framework to base off of but dynamic enough to expand on... Possibly incorporate small benefits from other projects into.. Anyways, I've discovered CakePHP. We'll see how this goes..

I would also like to explore zendframework a little more, as it is supposed to be the best xml framework for api integration with all the big boys out there. (google, yahoo, etc..)

Wednesday, April 18, 2007

Free Ajax class

Structure of the class resembles an online college course:
http://www.javapassion.com/ajaxcodecamp/

javascript debuggers

http://dotnetslackers.com/Debugger/re-35171_Javascript_debuggers.aspx

Advanced syntax highlighting tool

http://dotnetslackers.com/XML/re-12541_Advanced_syntax_highlighting_tool.aspx

Monday, April 16, 2007

Windows 2003 server small business setup

I just finished setting up Windows 2003 Server: Small Business Edition, and its been working great for a few days, and then today I have a box that will auto restart on its own every hour. Apparently those extra 3 discs that came with the setup for 2003 server are not optional in the setup/installation process. You have to finish this off in order to complete the registration process with Microsoft, otherwise you are in violation of the EULA... Fun stuff

http://support.microsoft.com/kb/555087

Friday, April 06, 2007

c++ boost library

Making a note to check out these libraries for c++ dev work..
http://www.boost.org/

WinMerge

I found a project for comparing the contents of two files. There are always those crappy small-time commercial versions out there but here's an open source solution that compares files as well as directory contents.. Rather clean interface..

WinMerge

Saturday, March 31, 2007

file path on upload file objects

It turns out that while firefox correctly passes the name of the file the client is trying to upload, both IE6 and IE7 pass the entire path from the clients machine to the server.

You can easily get the filename by just going through the string, using a loop, in my case a for loop.

First off this is the string that I get back from IE6 & 7:
"C:\\tempDir\\file.temp"

Here's my for loop to only grab the file name itself.

public static string getFileNameFromPath(string path)
{
string fileName= "";
for (int i = 0; i < path.Length; i++)
{
if (path[i] != '\\')
fileName += path[i];
else
fileName = "";
}
return fileName;
}

Friday, March 30, 2007

Control computer with hand motions

Interact with the desktop by hand motions, much like those on Minority Report (Tom Cruise).

http://thelastboss.com/post.phtml?pk=2531

Friday, March 23, 2007

ColorPic

ColorPic is an awesome tool to get the hex color of anything on screen, something you've found in the past, and I'm sure there's more.. I'm all about free software too..

How many times have you waited for photoshop to open so you could grab a color? Well no more.. Tiny install, and a small footprint on the screen.. Couldn't be happier, it works with Vista.

ColorPic

Friday, January 05, 2007

Myth TV Revisited

I have all the goods to make this happen. I have tried in the past, but it was going to be far too difficult. Here are my objectives:

  • Install Ubuntu on this old pc

  • get a mythbox up and running with the pc controls


    • eventually get extra remotes working (ie, the ati rc remote, and the nintendo wiimote with the available python driver


  • Be able to record hdtv signal, through my cable box and over the air


    • I believe I'm going to need multiple recievers

    • I have a hauppage hd 5500, which up to this point has been a pain to work with (the kernel hadn't yet supported the driver naitivly.





I'll be documenting what my difficulties are, and possible remedies (whatever seemed to get it working). The tutorial I will be following is from the ubuntu help forums.

Eventually I want to stream over the internet, as well as to my cell phone.

Thursday, December 07, 2006

update: the news..

Finishing up the company's website http://appianlogistics.com/. I'm kind of excited about transitioning into the DRTrack C# code. I'm not too sure how challenging its going to be programming web forms. I'm sure there will be something of a learning curve, but its going to be a nice intro into the .Net framework.
    Things on my mind..
  • In other news, Ruby on Rails released a new version of their framework to base off of. Rails 1.2

  • There's an Ajax Toolkit Framework out for the Eclipse IDE now.. IBM Article

  • 5 books every programmer should read

  • Cool CSS effect: click for dashboard like lightbox

  • a bunch of programming projects

  • I recently got interested in tabs with ajax for a project at work.. This should solve the problem of having to scroll to view multiple portions of a page module's logic while still maintaining a level of useability Ajax tabs with biscuit --php based, but works with any implementation using the js includes for the javascript..

  • Database-enabled Ajax with PHP-- ajax calls for database pulls

Friday, November 24, 2006

making internet traffic anonymous (bittorrent)

Tor -- anonymous traffic system (provides an anonymous network)

Vidalia -- gui for the tor daemon

Privoxy -- tcp cleaner (used by tor to clean packets)

Thursday, November 09, 2006

automatix2 for ubuntu

I'm sick of windows crashing every time I modify my setup on my download box at the house.. Going with ubuntu. Automatix2 is great though.. I haven't seen anything like this for windows, but it really is nice to have..

c sharp and opengl

I've done a few things in c sharp for work, and I have a friend into opengl. I'll probably be getting into opengl just to work with it. Apparently since directx is microsoft's alternative to opengl, there isn't a really straightforward way to do this. I will be researching this and updating..

ipod and ubuntu

gtkpod has the largest userbase

Wednesday, November 01, 2006

Google Maps .Net control ajax woes

So my first mission is to get some logic that has already been coded, working with Ajax.Net. I have been able to "ajax" the page, breaking the map.

Here's the setup:
I have a google map with three checkboxes all in an updatepanel. Since by default every component in the updatepanel is monitored for auto refresh, I am not setting any triggers.

The problem seems to be that when I click on one of those checkboxes to modify the map output, using the WCPierce google maps API .Net control, the map completely disappears and it requires a manual refresh to bring the map back up. So a postback is required to get the map to show back up. I do not understand why this is happening..

more to follow I'm sure.

Friday, October 27, 2006

more on google maps

So I decided to do this instead of making a doc on my google account..

Here we go:

GMap2 api reference

every time a new instance of GMap2 is created another map is displayed on the screen.

So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});


this will show a popup screen that says "You clicked the map." every time the user clicks the map

more on google maps

So I decided to do this instead of making a doc on my google account..

Here we go:

GMap2 api reference

every time a new instance of GMap2 is created another map is displayed on the screen.

So everything starts with:
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});


this will show a popup screen that says "You clicked the map." every time the user clicks the map.

you can add listeners (as demonstrated above) or bind them:

function MyApplication() {
this.counter = 0;
this.map = new GMap2(document.getElementById("map"));
this.map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.bind(this.map, "click", this, this.onMapClick);
}

MyApplication.prototype.onMapClick = function() {
this.counter++;
alert("You have clicked the map " + this.counter + " " +
(this.counter == 1 ?"time" : "times"));
}

var application = new MyApplication();


onMapClick is a method that is bound to the event listener for this particular map (this particular instance of GMap2)

Wednesday, October 25, 2006

Back on Blogger

So there are all these blogs out there on various topics written by people with the intention of helping others. That's not my aim. I plan to use this as an open place to think, and if you find that the links are useful, then have at them..

I did want to say that I was recently inspired by the programming “Jedi” behind AnAppaDay.com. His new dedicated website is thesoftwarejedi.com

I am starting on AJAX on .net 2.0 at work this week, so I'll be going through the books on torrent sites, and working my way through I'm sure somewhere around 20 intro apps. We're integrating with Google maps, but the guys started writing logic without following up with some AJAX to keep the map “alive” after the logic is applied. I think its mainly markers, maybe directions right now. I think eventually the plan is to display full routes with actual routes taken (recorded via GPS) overlaid. So, this should be an interesting project to work on.

So for starters, here are my links that I’m checking out right now:

ASP.Net Ajax -- Atlas
Atlas docs -- ASP.NET docs
Atlas forums --
Google maps API -- Get API key
Google maps API docs -- documentation

Tuesday, February 28, 2006

Apple has produced a ruby-on-rails tutorial

Monday, February 27, 2006

Tuesday, February 21, 2006

Monday, February 20, 2006

digging for Ajax

Shopping Cart HowTo

Degradable AJAX

MySQL connector in AJAX HowTo

ZenCart not friendly with MySQL 5

Difficulties with backend database connection in ZenCart

1054 Unknown column 'p.products_id' in 'on clause'

mysql forum

apparently zencart does not play well with the syntax standards of MySQL 5. So 4.1 downgrade required. Not too bad I suppose. Just have to make sure hosting options comply with what we need...

Sunday, February 19, 2006

Sorting Algorithms

http://linux.wku.edu/~lamonml/algor/sort/sort.html

Covers:
Bubble sort
Heap sort
Insertion sort
Merge sort
Quick sort
Selection sort
Shell sort

Thinking like a computer scientist (general programming how to)

How to think like a computer scientist. link

Saturday, February 18, 2006

Guide to Install Compiz and XGL on Ubuntu Linux

http://www.ubuntuforums.org/showthread.php?t=131267

very much in testing beta. but oh so cool

http://linuxeyecandy.blogspot.com/
This site should get more and more interesting as open source starts to close in on Microsoft's proprietary markup...

State of the linux desktop. Link

Wednesday, February 15, 2006

W32 codecs for ubuntu

http://ubuntu.wordpress.com/2005/12/04/libdvdcss2-and-w32codecs-for-ubuntu/

offers the deb packages to watch any media file that you could on a win box...

Tuesday, February 14, 2006

javascript cross fade between pictures

http://slayeroffice.com/code/imageCrossFade/

Windows Defender ( Beta 2)

The ultimate for end user security. The digg crowd agrees its the best free alternative to Webroot SpySweeper, and interesting enough, the download site comes complete with a Firefox how to for windows validation. I wonder how long Bill is going to let that one slide...

http://www.microsoft.com/athome/security/spyware/software/default.mspx

OSX 10.4.4 hacked with upgrade patches

http://maxxuss.hotbox.ru/

yahoo ajax developer network

http://www.yuiblog.com/

Friday, February 10, 2006

Java the last perfect compiled language?

With the spectrum of computer programming quickly shifting from individual application installs to a server client orientation, do compiled languages have a place in the future? If any of them do, I think Java does. Of course there are a vast number of programmers that do not code Java, but under the new standards we are facing for optimal efficiency in both configuration/setup and running environment application, will these languages provide a feature set/ functionality to compete with the universal scripting languages of the web, or the virtual machine environment (supported on most OS's) that Java runs on. Either way the next 5 to 10 years will tell, and I expect the results to be interesting.

Sunday, February 05, 2006

Picasa export to G2

I am attempting to make picasa talk to Gallery, the popular backend to many online web galleries.

I have a good idea on how I need to make this work but am doing some testing...

Picasa for Gnome Linux: F-Spot

http://f-spot.org/

Friday, January 27, 2006

right click menu

Install a bunch of programs that hijack the right click menu?

http://www.jfitz.com/tips/rclick_custom.html

Thursday, January 26, 2006

Expose for windows:

http://www.oxygen-inc.com/premium/InsaniSoft/iEx.htm

Yeah its not as pretty, but it provides much needed functionality...

Wednesday, January 25, 2006

Zen-Cart

Download

admin url: site/zencart/admin/index.php

Ubuntu configured quickly: AutoMatrix

I don't know about you guys, but I want a new ubuntu box configured and tweaked automatically...

Instructions:
http://ubuntuforums.org/showthread.php?t=66563

Tuesday, January 17, 2006

Sunday, January 08, 2006

Who's impressed you lately?

Ok so everyone is all about drooling over the new tech at CES (Consumer Electronics Show). Here's my logic: I like all the new toys, I think that everything is great, and its going to be an interesting year. In the past its been said that Samsung has lead the TV market. I think this year, 2006, belongs to Samsung. I love the way they implement features into all of their products providing adequate means of competitions, all the while maintaining a sense of proprietary originality. Sony, on the other hand has started in on off-the-wall device design. I find that the odd color and non ergonomic designs have a market, and am realizing that its a market of its own. I highly doubt that these non-traditional designs are going to last even half as long as the cd player. (ok so its still out there, but damn ...come on)

Thursday, December 29, 2005

Cracking the xbox (not the 360)

http://www.how2xbox.com/programs.htm

a decent link to some good resources...

gMail is GREAT

... ok so you have 2gigs of storage and you can access it from any browser etc... But now you also can preview a conversation by just right-clicking it.

First off if you don't have firefox then you should seriously consider praying and then go to mozilla.com and download it.

If you don't have a gmail account then go get one. Then go get greasemonkey. Now if you don't know, greasemonkey can do just about anything (provided you script the actions out). Its a great way to provide extra functionality to already one of the greatest browsers out there.

Ok so you have a new gmail account, and you have greasemonkey extension installed on firefox. Now you need the scripts installed. Head over to persistent.info and read through what he has to offer. I found the preview bubbles a great help in thumbing through email without having to get out of the inbox view. Another great one to get are the gmail macros. This will provide the functionality of not having to highlight/select all the messages you want to delete and go through the drop down menu to delete messages.

http://persistent.info/ - This guy is really all about greasemonkey scripts.

Wednesday, December 28, 2005

Adobe Reader too Slow

Ok so adobe reader and pdf's are a great thing right. Well make it even better and don't wait for all of those plugin's to load. Foxit is a really good pdf viewer that doesnt even have to install. Just start opening pdf's with it and you're all setup...

Apache for cygwin

To test out wordpress 2.0 on a project at work I am attempting to make apache for cygwin a native windows service. I found that cygrun -I

http://httpd.apache.org/docs/1.3/cygwin.html#serv


  • Installing Apache as a new Service

    Use the following statement to install
    httpd.exe as a new service:


      $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe 
    [-a arguments] [-e VAR=VALUE] [-t auto|manual]
    [-u user] [-w passwd]



    Where -a is used to pass command line
    arguments (such as -DFOO defines) to
    httpd.exe, and -e is used to pass
    environment variables. If necessary you may use the
    -t options to set the autostart configuration
    for the service. If you want the new service to run under a
    different userid, you will have to supply the
    -u and -w options.






  • Starting Apache as a Service

    After the new service is installed it can be started
    using the following command:


      $ cygrunsrv -S service_name


    Check your process table and global
    error_log file to ensure Apache has started
    without any major problems.






  • Stopping an Apache Service

    A running Apache service may be stopped using the
    following command:


      $ cygrunsrv -E service_name


    This will stop all running httpd.exe

    processes and shutdown the HTTP service for the
    machine.





  • Removing an Apache Service

    An installed Apache service may be removed from Windows
    NT or Windows 2000 using the following command:


      $ cygrunsrv -R service_name



    This will remove your previously defined and installed
    service from the machine.

  • K2 for WordPress 2.0

    K2 - makes Wordpress easier (now for WP 2.0)

    http://binarybonsai.com/k2/

    Monitor Bandwidth with iptables

    Who knew that linux's firewall implementation has such functionality.

    http://www.linux.com/article.pl?sid=05/12/15/177232

    Monday, December 19, 2005

    torrentflux

    Here's an idea. Throw some php on your web server and manage torrent downloads through it...

    torrentflux

    MySQL Clustering

    MySQL clustering - (three machines required...)

    Background image maker...

    Background image maker

    Reflection like Apple...

    Reflection through javascript?
    Check the source on the demo link...

    What it does...

    image reflect on background canvas...

    Java Compiler

    http://gcc.gnu.org/java/

    Nero Scout - be gone...

    http://www.help2go.com/article260.html - get rid of nero scout

    this little program grabs all your music files and puts them all in a database....

    article for more...

    go to start and click run. Then type copy and paste the following and hit run:

    regsvr32 /u "%COMMONPROGRAMFILES%\Ahead\Lib\MediaLibraryNSE.dll"

    Sunday, December 18, 2005

    IronGeek

    IronGeek - new stuff... nice to do a recap on hacking illustrated...

    Saturday, December 17, 2005

    Another geek site

    If you're into listening to geek talk whilst you browse the web, here's another one for you...

    TWAT radio

    Friday, December 16, 2005

    Ruby on Rails


    Ruby = another web development language
    rails = framework to integrate with a database architecture
    radrails = ruby ide
    four days on rails - a ruby on rails production howto

    I like how the emphasis is not on the setup. Its not long and drawn out. Its easy to dive into the language. Interesting way to develop...

    Hamachi

    http://www.hamachi.cc/ - alternative to vpn

    Remote LAN networking implementation...

    Wednesday, December 14, 2005

    Control iTunes from a web Browswer

    Have an entertainment center with a computer full of digital music??
    Install a web server and Control iTunes via webpage...

    Turn your laptop into the ultimate controller...
    Guide

    Davinci Code Trailer = Awesome...

    Davinci Code Trailer

    (Quicktime Needed)

    Tuesday, December 13, 2005

    iPod mini mod: Storage and Battery Upgrades

    Upgrade Guide - 8gb compact flash hard drive upgrade, and while you're in there, upgrade to double the capacity of the original mini's battery...

    Sunday, December 11, 2005

    Design: Rounded edges

    http://www.tuaw.com/2005/05/03/apple-developer-connection-tiger-articles/

    I like the layout...

    Twitter Updates

    About Me

    My photo
    I have been working with computers/programming to put myself through college since I graduated high school. I am currently attending Oklahoma State University for bachelors degree in biological sciences. Along with my experience in programming, a degree in biology will allow me to pursue a career in bioinformatics research concerning genetic diseases (i.e. cancer).

    Blog Archive