somethings from codeland

Sunday, July 08, 2007

Aptana: Web dev IDE

I'm loving aptana.

Its preconfigured to do everything I need it to do with html, css, and javascript. Its got an easy installation process for a radrails plugin (ruby on rails IDE).

there are a list of tutorials that they've put together on how to use their IDE
aptana.tv

Let's see about some php support..

Saturday, July 07, 2007

ajax.asp.net videos on asp.net..

Ajax how-to's using the 1.0 release of Ajax.ASP.Net framework..
asp.net

Friday, July 06, 2007

ruby on rails

Elegant information on the structure of ruby and rails (the web development framework for the ruby language)
betterexplained.com

Saturday, June 30, 2007

Vista quick how-to's

great vista guide on getting rid of pointless crap in vista

howtogeek.com

a little happier with vista

I have been unable to get all of my data off of the vista install on this laptop I work on, so I've tried to make do temporarily..

I turned off the windows search service in the services manager and I noticed an almost immediate increase in performance. I have a newer dell (a latitude d620) and I'm liking where I'm sitting now.. Might have to get the dvd burner to work, and then we'll be sitting very nice..

The next step is to get eclipse working correctly. I downloaded the callisto distro and loaded up jseclipse. I might just need to figure out how to work with eclipse more, but I am unable to get syntax completion working correctly. (the ctrl + space drop down listings...)

Yes, once this is all done, then I might be a happy man on Vista.

firebug console commands

command line API

The Firebug command line provides these special functions for your convenience:
$(id)

Returns a single element with the given id.
$$(selector)

Returns an array of elements that match the given CSS selector.
$x(xpath)

Returns an array of elements that match the given XPath expression.
dir(object)

Prints an interactive listing of all properties of the object. This looks identical to the view that you would see in the DOM tab.
dirxml(node)

Prints the XML source tree of an HTML or XML element. This looks identical to the view that you would see in the HTML tab. You can click on any node to inspect it in the HTML tab.
cd(window)

By default, command line expressions are relative to the top-level window of the page. cd() allows you to use the window of a frame in the page instead.
clear()

Clears the console.
inspect(object[, tabName])

Inspects an object in the most suitable tab, or the tab identified by the optional argument tabName.

The available tab names are "html", "css", "script", and "dom".
keys(object)

Returns an array containing the names of all properties of the object.
values(object)

Returns an array containing the values of all properties of the object.
debug(fn)

Adds a breakpoint on the first line of a function.
undebug(fn)

Removes the breakpoint on the first line of a function.
monitor(fn)

Turns on logging for all calls to a function.
unmonitor(fn)

Turns off logging for all calls to a function.
monitorEvents(object[, types])

Turns on logging for all events dispatched to an object. The optional argument types may specify a specific family of events to log. The most commonly used values for types are "mouse" and "key".

The full list of available types includes "composition", "contextmenu", "drag", "focus", "form", "key", "load", "mouse", "mutation", "paint", "scroll", "text", "ui", and "xul".
unmonitorEvents(object[, types])

Turns off logging for all events dispatched to an object.
profile([title])

Turns on the JavaScript profiler. The optional argument title would contain the text to be printed in the header of the profile report.
profileEnd()

Turns off the JavaScript profiler and prints its report.

Thursday, June 28, 2007

Tuesday, June 26, 2007

silverstrip

SilverStripe has a content management solution and javascript solutions galore..

http://www.silverstripe.com/home/

asp.Net tree control

I need a cross browser solution for a custom tree control. Right now I've found the asp.Net web controls for IE has something, but I am not sure if this will only work in IE or if it actually generates JavaScript. I might have to just start working with some ajax on this one..

msdn ie web controls

JavaScript options:

yahoo treeview - good to base off of a standard

silverstripe - because the demo looks good..

Ext -- Another good framework
download

Sunday, June 24, 2007

my next monitor

A Samsung from newegg.com

I just want some more real-estate on my screen for coding..

Great resolution at 1650 x 1050, and with 5ms response times. Oh my..

X over ssh

Remote desktop over ssh is getting better and better..

thembid.com

Friday, June 15, 2007

c# browse for folder

Browse for folders using Shell32.dll's BrowseForFolder method in C#

thescarms.com




Update: Didn't realize that FolderBrowserDialog was as easy to use as it turns out to be..

c# compression library = easy

dotnet.org

Thursday, June 14, 2007

Virtual KVM: synergy

So no hardware required. I have a monitor with two inputs for signal (the old-school serial, and a dvi)
So basically I can set up the client on my ubuntu linux, and vista (soon to be xp again) laptop.

With this I'll be able to use the big monitor with either machine and not have to clutter the desktop with the laptop being there.. (just set it off to the side hooked up..)

Synergy KVM

I might even go and get another screen, maybe a bigger one or something..

encryption galore

bouncycastle.org

PDF Printer in Ubuntu

Ubuntu pdf printer

Ubuntu scripts for automatic desktop setups

Do all those illegal things, like copy protected dvd's and such..

flb.script.sh

courtesy of xsol


*I do not condone illegal activities. This is strictly for educational purposes..

Wednesday, June 13, 2007

Configuring MySQL remote access

Create the database and then allow a user remote access

mysql> CREATE DATABASE foo;
mysql> GRANT ALL ON foo.* TO bar@'202.54.10.20' IDENTIFIED BY 'PASSWORD';

courtesy of cyberciti

you can use wildcards in the address if you have an ip that is going to change on your accessing clients

so that second line would look a little more like this if you wanted all your machines at home to be able to connect to the mysql server you're configuring
mysql> GRANT ALL ON foo.* TO bar@'192.168.0.%' IDENTIFIED BY 'PASSWORD';

courtesy of yrhostsupport

where % is the wildcard that mysql requires in the address

Sunday, June 10, 2007

programming stuff: cheatsheets and such

Any api documentation on an ajax interface. Think visual studio's object browser on the web..
gotapi.com



And my source:
Essential HTML, CSS, Javascript, PHP, and miscellaneous cheatsheets

css galleries

css galleries = good stuff..

Friday, June 08, 2007

Ubuntu MythTV install guide

This should prove interesting. I've tried it a number of times in the past..

This guide is to install the mythtv backend, mythtv frontend, and have a regular ubuntu desktop: exactly what I'm looking for..

Google Talk though Pidgin on Ubuntu

I realized today how much I rely on gTalk to share files and otherwise talk to people at work and my side business. It will be a must if I am to switch operating systems at the house.

Google talk through pidgin

I did also find an open source magazine today through digg. It seems to be kinda neat. full circle magazine

This is one that I found long ago. Google Magazine

Thursday, June 07, 2007

Ubuntu on the nice box at the house revisted (again)

I have always at least tried it out but had to go back to xp for something. I tried out Vista because of the new media center included in Vista Ultimate, but there always seems to be a catch to get it up and running. (its a story in itself, but I buy one card and I end up needing 2 more)

Anyways, so the ubuntu is ideal because this computer is going to be a media center as well as a workstation in my bedroom.

The last excuse for going back to XP was ntfs reading/writing. This now seems to be a little more stable and only takes a few minutes to set up now..

Setup Ubuntu NTFS

Tuesday, June 05, 2007

Build your own server: Xubuntu

This article explains the ins and outs of setting up a general purpose server based from Xubuntu. This version of the debian-based Ubuntu, is built to be light-weight, so it can run on those spare parts that have been building up in that room you've been meaning to clean for how long??

This tutorial is more the gui approach to setting everything up using Syntaptic. I still prefer apt-get in the command line, but what do you do.. And without further ado:

Samba Configuration
Remote access on Xubuntu

Install SVN with Web Access on Ubuntu

I am configuring an svn server for the company to hold all of our code. I have that test Ubuntu up and running, so I'm going to dedicate that to our svn repository..

Install SVN with Web Access on Ubuntu

Monday, June 04, 2007

Ubuntu and Tomcat 6 server

I'm wanting to play with the java environment now that I've programmed in C# for as long as I have. I think it should be interesting. But I am going to need a test server to run things on once I start getting things going.

Enter the Ubuntu setup guide for Tomcat 6 -- Tomcat 6 and Apache 2 basic setting guide for Feisty

Friday, June 01, 2007

Ajax Forms

I am working on a generic client side form validation solution. I found some very interesting resources though:
FormAssembly -- tutorials

Dexagogo -- demo

This stuff is looking really good.. (better than what I might have come up with on my own..

AJAX: what's a nerd to do with his upcoming rainy weekend..

AJAX Tutorials

Tuesday, May 29, 2007

mono = .net for linux

I'm experimenting with Mono, a cross platform alternative that allows to extend the .Net framework onto non-Windows based hosting environments. (in our case, anything that supports Apache and its mod_mono module) I have installed it and am running a custom ASP.Net app that I wrote for a client. It seems to be working smoothly.

There was a little bit of hassle getting it going though. It turns out that ASP.Net 2.0 isn't completely supported, so we had to make sure to run through the beta server of mono-apache-server2.

I'm running through Ubuntu because of its easy debian based architecture for getting everything setup really easily, and it seems to be running like a champ.

Ubuntu Setup

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

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