mikeandike22 18 Nearly a Posting Virtuoso

Ok I have been looking for this for a while it is the ultimate list of repositories for the Ubuntu 6.06 Dapper Drake distro. It will give you so many program choices you wont know what to do. simply goto your terminal and type sudo gedit /etc/apt/sources.list (I chose gedit for this because im assuming it is the easiest for people try kate for kde, also nano,vi, and emacs should work) and then add this to the file

  # Treviño’s Ubuntu Dapper Sources list
  # http://italy.copybase.ch/blog/?page_id=13
  #
       # Based on source-o-matic (http://www.ubuntulinux.nl/source-o-matic) list
       # Added extra repository
       #
       # If you get errors about missing keys, lookup the key in this file
       # and run these commands (replace KEY with the key number)
       #
       # gpg –keyserver subkeys.pgp.net –recv KEY
       # gpg –export –armor KEY | sudo apt-key add -                 # Ubuntu supported packages (packages, GPG key: 437D05B5)
       deb http://archive.ubuntu.com/ubuntu dapper main restricted
       deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted
       deb http://security.ubuntu.com/ubuntu dapper-security main restricted
      # Ubuntu supported packages (sources, GPG key: 437D05B5)
       deb-src http://archive.ubuntu.com/ubuntu dapper main restricted
       deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted
       deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
      # Ubuntu community supported packages (packages, GPG key: 437D05B5)
       deb http://archive.ubuntu.com/ubuntu dapper universe multiverse
       deb http://archive.ubuntu.com/ubuntu dapper-updates universe multiverse
       deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse
      # Ubuntu community supported packages (sources, GPG key: 437D05B5)
       deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse
       deb-src …
mikeandike22 18 Nearly a Posting Virtuoso

Recently I was at work and I needed to do some css stuff and I did most of it in notepad because the current machine I was on didnt have dreamweaver(and yes it isnt necessary) and so rather than wait for someone to find a copy of dreamweaver and its license I looked around on the web and found this. http://www.aptana.com/. It is an opensource web IDE that in my opinion is as good if not better than dreamweaver.

Lets start with the obvious one. ITS FREE!! also because it is an opensource anyone could configure it to meet their needs. Lets say you only work with php or something like that and you dont need all the css features if you knew java you could just open up the source code and tailor it to your coding needs. Dreamweaver on the other hand cost a lot of money for a text editor that colors different text elements.

Another cool feature is its browser support feature. Usually when coding a web page you would have to check to make sure all your different elements and attributes are supported in at least 2 web browsers. Well in Aptana it will display a drop down menu and tell you which browsers have support for what your typing. Currently it includes IE, Firefox, Netscape, Opera, and Safari.

The preview display is also a lot better. In an app like dreamweaver you can look in the design display to …

mikeandike22 18 Nearly a Posting Virtuoso

Hmm reminds me of a story that goes a little something like
http://www.daniweb.com/blogs/entry659.html
This is old news.

mikeandike22 18 Nearly a Posting Virtuoso

You can now put a bootable copy of windows on a USB flash drive and then use it as an easy way to recover your windows files if it crashes or just to bring your xp wherever.

You need 3 things for this a USB drive with at least 256mb of space, a windows setup cd, and last the freeware program BartPE.

BartPE will go through the setup cd and then create a small bootable version of windows that you can then boot on anywhere.

full article
http://tomshardware.co.uk/2005/09/09/windows_in_your_pocket/

I thought this was really cool and that it is nice to have some backup operating systems on bootable cds or thumb drives. I always have a boot cd of Knoppix, Ubuntu, and anonym.OS. However it is nice to add my Xp to that list of choices. I think that the days of staring at a setup screen are over considering how easy Ubuntu and MEPIS made it so that you can continue using the livecd while it installs. I also think that Vista is going to implement a new way of installing Windows faster than it currently does.

mikeandike22 18 Nearly a Posting Virtuoso

It doesnt matter if there is support for it, its not like if I compile a program I wrote in D it wont work on someone elses computer.

mikeandike22 18 Nearly a Posting Virtuoso

If you are a programmer than you probably know or at least know of C++ well now a company called Digital Mars is developing the D programming lanugage.

"D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with the programmer productivity of modern languages like Ruby and Python. Special attention is given to the needs of quality assurance, documentation, management, portability and reliability."

Basically this programming language is looking to combine the best of all there is out there using features from C, C++, C#, and Java as well as Python and Ruby as the quote mentions above. You can view a whole comparison of the different languages here:
http://www.digitalmars.com/d/comparison.html

Now I dont have very much experience coding other than some PHP and basic ideas of object oriented oriented programing. And as I understand it most programming languages are good for different things C++ because its fast, Ruby because its simple, Java because its easy to learn. You hear a lot of stuff like that. So I really like the idea of combining the best of all these languages because it just means it will lead to better programs and more people will be able to learn how to program.

mikeandike22 18 Nearly a Posting Virtuoso

After months of possible merger information it finally happens and I am surprised at the amount of money that AMD had to spend on this. This is a huge step for both companies. Currently Intel is the lead manufacturer of microprocessors, semiconductors, and graphics chips with AMD being the second for microprocessors and Nvidia and Ati battling it out for second in the graphics chips. Now of course Intel graphics chips are like integrated graphics obviously if you need a high end graphics card you would go with a Nvidia, Ati, or some of the other card manufacturers.

The only real good thing about this is better compatibility between AMD and ATI chipsets for example like if my processor, motherboard, and graphics cards were all built to work together it would greatly increase performance. Now the bad thing is for example I hate Ati cards its just my opinion I think the people who buy them are just sold by the cheasy 3d graphics on the box and they think if they get it there Age of Empires II(or some other lame game that doesnt need highend graphics cards) will look like it. So for me Nvidia is the way to go, but lets say I have an AMD processor (not likely either, nothing against them they make good stuff) then my card and processor dont have that compatibility and probably dont work half as well. Another thing is Nvidia is a backer of opensource stuff like Linux so …

mikeandike22 18 Nearly a Posting Virtuoso

While Intel had announced awhile back that they would be making a Core 2 Duo chip AMD said they were already working on a Quad-core. Then more recently Intel announced that they would be making a Quad-core chipset as well this year so whats the difference.
Well they both are planning to release the same kind of chip but mid 2007 AMD will launch a faster chip with a different design. Both chips proposed to come out later this year will feature 2 dual core chips packaged together. Then the AMD coming out later will feature 4 unique chips on a single die which promises even better performance.
Despite a recent increase in AMD sails and a deal with Dell for them to start selling AMD's in some of their packages, Intel is still the leader in the market by a large margin. Last quarter AMD had a reported new income of $89 million which was up from $11 million the year before. Intel had a decline in sales but still managed to get a net income of $885 million down from $1.19 million.
Some people attribute Intel's decline in sales to their chip naming conventions. Before you had Pentium, Pentium I, Pentium III, Pentium 4, and Pentium 4 ht. With these chips you knew which one was better then the got into Pentium D and extreme edition and gold edition and no one had any idea which of the chips was the best one to buy. …

mikeandike22 18 Nearly a Posting Virtuoso

Well omen's computer is pretty beast mode neways like 3 gigs of ram

mikeandike22 18 Nearly a Posting Virtuoso

oh shut up scott.

mikeandike22 18 Nearly a Posting Virtuoso

well perhaps obsolete isnt exactly the right term I should of used. I just mean why buy something and pay such amount of money if in 6 months for roughly the same money you could get something twice as powerful or get the previous version for less. I doubt the average user really needs anything faster than a pentium 3 for all those word documents and emails they send. I agree about they will release other versions of the same thing like their other new processors they will release like a gaming edition, a workstation edition, and whatever.

mikeandike22 18 Nearly a Posting Virtuoso

After announcing the release of the new core 2 duo conroe for desktops and merriem for laptops intel has said that they are going to release a quad-core processor by the end of this year. So if you were waiting around to buy a core 2 duo or an amd 64 X-2 than you will be waisting your money. This is becuase by the time youve had your new processor for a couple of months it will be completley obsolete.
So far the reviews about the core 2 duo have shown nothing but the best. I have heard that there wasnt that much difference in gaming performance but they didnt say what kind of graphics cards they were testing it with. This is a pretty rediculous time in processor development I cant imagine how well the quad-core is gonna do on the benchmarks.
Now im not so sure I would be able to afford either of these cards but im guessing the good news for me is that the pentium D will be come cheaper which is powerful enough for most of my computer needs. I would like to get a quad-core but im not exactly rolling in the money for it. SO LOOK AT MY BLOG AND GIVE ME THAT PRIZE. Just kidding but it doesnt hurt to try. So basically if you still have a pentium 4 and have been waiting to be able to afford something better this will probably be your chance I would …

mikeandike22 18 Nearly a Posting Virtuoso

Microsoft didnt buy Xen they just made an agreement that they will allow better support for xen virtualization of thier products. Im not sure on the details of whether or not they allowed them access to some source code or what.

mikeandike22 18 Nearly a Posting Virtuoso

VMware has bashed Microsofts partnership with XenSource and upcoming opensource virtualization software company. They are saying that is a "one way street" and that they are betraying their opensource roots. The deal allows better intergration for para-virtualization of Windows on the Xen software.

I find this odd seeing as how VMware is not a free opensource program which doesnt allow them to make them any arguements against opensource companies. Also that why try and bash another company for something you could do, but wont. Instead of moaning about unfairness I think VMware should just make their program better and since Xen is opensource they could even base their improvements off what makes their software so much better. They did mention that they hope a new standard will come of this for linux and windows para-virtualization with VMware and Xen.

You can read the whole story here:
http://www.linuxworld.com.au/index.php/id;1690892892;fp;2;fpid;1

mikeandike22 18 Nearly a Posting Virtuoso

aw thats sad linux = greatness. my ubuntu with xgl on gnome and kxdocker on kde buts any vista stuff to shame and can shut up a pompous mac prick

mikeandike22 18 Nearly a Posting Virtuoso

Here is a very short tutorial on how you can set your photoshop to produce Divs and CSS rather than the old fashion tables. This is very useful becuase this is becoming the new way to work with web pages and lets you add a lot more room to do stuff that wouldnt be possible with non expandable tables.

ok once you have a document sliced and everything and you optimized all the images when you goto the "Save for web option"
[IMG]http://img384.imageshack.us/img384/125/saveforwebbx1.th.png[/IMG]

you will notice a little arrow next to your presets and on the border of the box with the image options
[IMG]http://img384.imageshack.us/img384/77/arrowvo3.png[/IMG]
click that box and select "Edit Output Settings" from the drop down menu.

This will open up the "Output Settings" dialog box. In here on the "HTML" settings page you want to:
Select the Output XHTML box
Set tags case to: lowercase(body)
Set attribute case to: lowercase(rowspan)
and you can pretty much leave everything else default.

Then from the drop down menu where it says "HTML" select "Slices". All you need to do here is change the "Slice Output" setting to Generate CSS and from the drop down menu select By ID.

And finally you want to save the profile so click the save button and save it to whatever you want. Just remember when you click save on the "Save For Web" dialog you need to change the settings in the save dialog …

mikeandike22 18 Nearly a Posting Virtuoso

I know but hey its better than microsoft not making anything. They are setting themselves up to distance themselves from vista enough so its not as big a hurt to their company.

mikeandike22 18 Nearly a Posting Virtuoso

Microsoft has been pushed (Massachusetts state government) to make a document format that would be completley compliant with other word processors such as OpenOffice. This will be their Open document format. Now you might be saying well I can open my word documents in openoffice already or I can just use a rich text format why do I need this open document? Well this is because word documents save information that you dont see in the document and then other people can view it if you send it to them this is especially useful when looking over agreements, contracts, or anything that you might have to make corrections on and send back to someone. So far no one is really sure that the open document will offer this, but most people are assuming it will considering there would be no real use for it otherwise.
The other cool thing is how Microsoft will manage the updates of this format. They will be making it available on sourceforge for the open source community to update. This is really thing that makes me think Microsoft is trying to move in another direction now that Bill is on his way out and Ray Ozzie is coming in. Allowing the open source community to handle this was the best idea because it allows coders to add their own features so if there is a feature it doesnt offer someone could possibly code it in (however it doesnt come with the like word document …

mikeandike22 18 Nearly a Posting Virtuoso

yea but mainly just servers with enterprise edition distros when you think dell you dont think supplier of open source OS's. Also Microsoft just took a step towards open source with their open document format that will be managed and updated by the sourceforge community.

mikeandike22 18 Nearly a Posting Virtuoso

yea i guess so. I do see that dell would seem much more likely considering they only sell windows based machines.

mikeandike22 18 Nearly a Posting Virtuoso

Ok so that latest news on the web is that Microsoft is coming up with an iPod killer which people are calling xboy. And reffered to by Microsoft as Argo (also rumours of it being called Zune?). Now there are also rumors that the release of Argo will also incorporate a online music store much like iTunes (just so you know Apple didnt develop iTunes they acquired it), and that they are already trying to get deals with major tv networks for show content. The other big thing that is floating around is that they argo is going to have built in wifi. Chyea thats sweet I rarely buy music from itunes but I mean if im out on the road somewhere and dont have access to a computer I would be much more likely to actually pay for a song.
Now a lot of people are probably saying omg the ipod is so great they can never beat it. In my mind they can, probably very easily. The iPod's popularity is because of music stars carrying it around in commercials not becuase of its actual qualities. Here are somethings that they could improve on:

1. Price - Like most apple products the iPod is expensive, if a company like dell or creative can offer the same product for much cheaper.
2. Durability - iPod's are prone to breaking. Hard drives often freeze screen gets scratched (like every 3 secs), and dropping your ipod can most of …

mikeandike22 18 Nearly a Posting Virtuoso

I think I will just wait for the release. Whenever I have installed a bleeding edge Firefox I end up having to reconfigure most of my settings and sometimes reinstalling my extensions. So I would say its best to wait the 2 days until the release.

mikeandike22 18 Nearly a Posting Virtuoso

I dont trust people who have livejournal anyone who has to resort to online postings about themselves probably is a bit emo.

mikeandike22 18 Nearly a Posting Virtuoso

thank you for your input. Keyloggers are becoming more and more popular and they are very easy to use and install so people dont have to be tech savvy to find your information anymore especially if they have physical access to the machine.

mikeandike22 18 Nearly a Posting Virtuoso

A lot of people always ask for people to decipher their hijackthis logs and since this is a community based upon learning from one another I would like to write a little tutorial for hjt covering the basics. Now I dont claim to be some HJT master but just some best practices before resorting to asking for others help. Also including some links that could help you out.

Ok first off if you dont have hijackthis or dont know what it is, simply put it is the essential malware removal tool. It is where most people turn when ad-aware and spybot fail at solving your malware problems. So if you dont have it download it from:http://www.merijn.org/downloads.html

First off some basic best practices that people will really appreciate you doing before posting a HJT log on the forums, it will just save you frustration. Make sure Internet Explorer or whatever browser you are using is turned off when scanning(if not sure hit ctrl+alt+delete and end it through the processes tab). Be sure that you ran an ad-aware and spybot S&D scan along with other malware removal tools such as Microsoft Anti-spyware. This ensures you saving some time so it wont be necessary to post a log and wait for an answer.

Now some basic things you can look for because I often see users post a log and later on post another one. What you should do is learn from what people are telling you to …

mikeandike22 18 Nearly a Posting Virtuoso

C-o-n-s-p-i-r-a-c-y t-h-e-o-r-y

mikeandike22 18 Nearly a Posting Virtuoso

I recently found an article that included a simple theory on how to see whether or not your computer is being watched by the nsa. Ok so basically the background on this is that the nsa has been taking information out of AT&T's San Francisco's offices in a secret room. Now this sortof reminds me of the Zimmerman Telegram(if you dont know what that is you need to go re learn American History).

So here is what you do supposing your on a windows machine you simply load up your command prompt (by going to start, run, type in cmd and hit enter). Now type in this command

tracert nsa.gov

After that you should see something like this

C:\> tracert nsa.gov 

 1  2 ms  2 ms  2 ms 12.110.110.204 
  [...] 
 7  11 ms  14 ms  10 ms as-0-0.bbr2.SanJose1.Level3.net [64.159.0.218]  
 8  13 12 19 ms ae-23-56.car3.SanJose1.Level3.net [4.68.123.173]  
 9  18 ms 16 ms 16 ms 192.205.33.17  
10  88 ms 92 ms  91 ms [B]tbr2-p012201.sffca.ip.att.net[/B] [12.123.13.186]  
11  88 ms  90 ms  88 ms tbr1-cl2.sl9mo.ip.att.net [12.122.10.41] 
12  89 ms  97 ms  89 ms tbr1-cl4.wswdc.ip.att.net [12.122.10.29] 
13  89 ms  88 ms  88 ms ar2-a3120s6.wswdc.ip.att.net [12.123.8.65] 
14  102 ms  93 ms 112 ms 12.127.209.214 
15  94 ms  94 ms  93 ms 12.110.110.13 
16  * * * 
17  * * * 
18  * *

if you see the entry in bold with the sffca.ip.att.net above or below a non att.net entry then your internet packets are being sent to room 641A and …

mikeandike22 18 Nearly a Posting Virtuoso

If you are trying to set up a PVR for your house why in the world would you be using fedora core. do a google search for KnoppMyth it is a distro of knoppix with the popular diy tivo alternative MythTv sitting on top of it. All you need to do is set up that and if you need help with that watch the video on MythTv at Systm.org featuring Kevin Rose and Dan Huddard (not sure about that guys last name).

mikeandike22 18 Nearly a Posting Virtuoso

Basically everything that was gonna be interesting about windows vista is either not gonna be in it or not gonna ship at all. Yea winFS seems like the biggest thing because it would be an object oriented file system but other things like widgets for windows, and the overall look of vista. Open SUSe has their xgl which is completley free and has all the lil graphical goodies vista has.

mikeandike22 18 Nearly a Posting Virtuoso

well if you are a strong firefox user on windows and hate having to switch browsers every time it wont allow you to view a page than you should get the user-agent switch plugin. This plugin tricks the web site into thinking you are using IE, Opera, or Netscape. In some cases it wont work but for the most part it will. For this filing thing i think it is ridiculous just to limit it to windows os and even more to a specific browser. It should work for both i dont get why things always want you to use IE it is inferior browser.

mikeandike22 18 Nearly a Posting Virtuoso

haha i love it when ppl dont know what they are talking about, like when my school's newspaper said if you dont want spyware swicth to firefox(i agree with that but this part) or just move to mac (sorry i like my games, plus linux is much safer and i think way better than mac). Also when ppl say things like "Alienware computers suck, they are only good when playing games" i would say they overpriced but somehow i think if you can play doom3 and hl2 at full settings than i am pretty sure you can check your email just fine.

mikeandike22 18 Nearly a Posting Virtuoso

So im new to the PHP world because I have to learn it for work. So one of my clients is a musician and wanted a music player so I made a simple way the user could click a link and load a song.


ok first I set the variable that would change inside the player which I made "$song" and the variable is retreiving the song information from the url. Then in the urls you can see I set the attribute song equal to the mp3 file I want to load.
So now the page loads and when you click a link it gets the $song data from the url. The next step is to insert it into the player where the source was I put in the variable $song. And now your users can click the links and load what ever song they like. I know it is very basic but it gives the user more control over the quicktime player that you would normally need to use a flash player for.

LastMitch commented: Nice! Thanks for sharing! +12
mikeandike22 18 Nearly a Posting Virtuoso

this application shows you how to declare variables and display variables. the end result of this code is showing you the total price after tax. this is mainly for beginners.

mikeandike22 18 Nearly a Posting Virtuoso

When i compiled it i got 68 errors.

mikeandike22 18 Nearly a Posting Virtuoso

Ive made some updates to my database
Here is my new SQL dump and sqlfairy print out.

-- MySQL dump 10.11
--
-- Host: localhost    Database: investment
-- ------------------------------------------------------
-- Server version	5.0.75-0ubuntu10

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `bonds`
--

DROP TABLE IF EXISTS `bonds`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `bonds` (
  `bond_id` int(10) NOT NULL auto_increment,
  `name` varchar(40) default NULL,
  `maturity` date NOT NULL,
  `high_yieldyn` varchar(1) NOT NULL,
  `bond_rate` decimal(10,0) NOT NULL,
  PRIMARY KEY  (`bond_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Table structure for table `brokers`
--

DROP TABLE IF EXISTS `brokers`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `brokers` (
  `broker_id` int(10) NOT NULL auto_increment,
  `license` varchar(50) default NULL,
  `total_commission` decimal(18,2) default NULL,
  `last_name` varchar(50) default NULL,
  `first_name` varchar(50) default NULL,
  `clients` int(11) default NULL,
  PRIMARY KEY  (`broker_id`),
  UNIQUE KEY `last_name` (`last_name`),
  UNIQUE KEY `last_name_2` (`last_name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
SET character_set_client = @saved_cs_client;

--
-- Table structure for table `customers`
--

DROP TABLE IF EXISTS `customers`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `customers` (
  `cust_id` int(10) NOT NULL auto_increment,
  `ytd` decimal(18,2) default NULL,
  `last_name` varchar(50) default NULL,
  `first_name` varchar(50) default NULL,
  `balance` decimal(10,2) …
mikeandike22 18 Nearly a Posting Virtuoso

I decided to make those three tables just as a way to have more tables I still havent chosen an attribute that each would have that would be truly unique.

I also was wondering if there is anyway to implement a supertype/subtype relationship in SQL

mikeandike22 18 Nearly a Posting Virtuoso

Hey I am working on a database final project and I am almost done but it would be awesome if some database guru could look over my erd and my sql code and tell me if anything seems amiss.
for the project we just had to design a database with 5 or so tables for anything. I made up a fictional investment banking firm, obviously not as detailed as if I really had to make a DB for stock trading.

here is my ERD
http://img11.imageshack.us/img11/1689/erdiagram.jpg

and here is my sql code

CREATE DATABASE investment ;

USE investment;

CREATE TABLE brokers (
 broker_id INT(10) NOT NULL AUTO INCREMENT,
 license VARCHAR(50) NULL,
 total_commission DECIMAL(18,2) NULL,
 last_name VARCHAR(50) UNIQUE  NULL,
 first_name VARCHAR(50)  NULL,
 clients INT  NULL,
 PRIMARY KEY ( broker_id )
);


CREATE TABLE customers (
 cust_id INT(10) NOT NULL AUTO INCREMENT,
 ytd DECIMAL(18,2)  NULL,
 last_name VARCHAR(50) UNIQUE  NULL,
 first_name VARCHAR(50)  NULL,
 balance DECIMAL(10,2)  NULL,
 PRIMARY KEY ( cust_id )
);

CREATE TABLE orders (
 order_id INT(10) NOT NULL AUTO INCREMENT,
 date DATE  NULL,
 cust_id INT(10) NULL,
 broker_id INT(10)  NULL,
 stock_ticker VARCHAR(40)  NULL,
 purchase_price DECIMAL(18,2)  NULL,
 shares INT(10)  NULL,
 buy_limit INT(10)  NULL,
 sell_limit INT(10)  NULL,
 PRIMARY KEY ( order_id ),
 FOREIGN KEY ( cust_id ) REFERENCES CUSTOMERS(cust_id)
 ON UPDATE CASCADE ON DELETE CASCADE,
 FOREIGN KEY ( broker_id ) REFERENCES BROKERS( broker_id )
 ON UPDATE CASCADE ON DELETE CASCADE,
 FOREIGN KEY ( stock_ticker ) REFERENCES SECURITIES( stock_ticker ) 
 ON UPDATE CASCADE ON DELETE CASCADE,
);

CREATE TABLE trades …
mikeandike22 18 Nearly a Posting Virtuoso

Yea linux will be the only os and very little gaming mb some cs 1.6.

Any suggestions on a micro-atx amd socket AM2 mobo that supports ddr2800 and has 1 pci-e 16x and at least 1 pci slot. For like $90.

mikeandike22 18 Nearly a Posting Virtuoso

I am building a htpc and using a ecs elitegroup nforce 6100 mobo and I think it might have died. The fans spin, the ide drive and the hard drive spin and so does the fan on my graphics card. However it wont light up the network lights when I plug in the ethernet cable. Also Im not getting any video output through the onboard video or the pci card any suggestions.

Also second questions Any suggestions on the rest of my pc:
OCZ DDR2 800 2gb
500 GB Sata WD HDD
Nvidia geforce 8500 gt 1gb
Haupaugge wintv pvr 250
AMD Athalon 64 X2 2.4ghz
Phillips combo drive ide drive
ECS Elite group nforce 6100

Besides the above mentioned problems any other suggestions for making this better
I plan on installing linux mce.


Thank You

mikeandike22 18 Nearly a Posting Virtuoso

I just built the whole system over again and it worked. must of messed something else up.

mikeandike22 18 Nearly a Posting Virtuoso

alright thanks for your help i had a feeling it would come to this, I tried to go buy a sata optical drive from microcenter yesterday but their pricing was awful.

mikeandike22 18 Nearly a Posting Virtuoso

I just the tried the above solution and nothing happened the same thing where if just the 4pin molex is connected it works but if the ide cable is connected to it doesnt.

mikeandike22 18 Nearly a Posting Virtuoso

I just bought a new machine to make into a media center but when I connect the cd drive to the power and the IDE cable ( When connected just to the power it is fine ) it wont work it wont get powered. The drive is a Phillips CD-RW/DVD-ROM Drive Model #:SPD2850BM/17 and the motherboard is an EliteGroup Geforce6100 PM MicroATX board. The Power supply is the standard one that came with the case a 400w psu, the case is a Linkworld Black body/ Silver strip Steel 6280-01 Micro ATX Media Center. Any ideas on what could be the problem.

Also any place that has a good guide to getting the bios setup and reading the addon devices.

Thanks

mikeandike22 18 Nearly a Posting Virtuoso

it isnt i tried and it said no previous version found

mikeandike22 18 Nearly a Posting Virtuoso

is this a single occurrence or does it happen everytime you use firefox. If it is a single occurrence than I would just kill the process wiht the 500,000 + because it is probably an instance of firefox that failed to shut. if it happens everytime than uninstall and reinstall firefox.

mikeandike22 18 Nearly a Posting Virtuoso

Ok my usb mass storage driver has a little yellow warning sign next to it and it isnt working to well so I am trying to find a download online buyt nothing seems to be free can anyone help me out.

mikeandike22 18 Nearly a Posting Virtuoso

Hey Im trying to send an email with PHP. but Im using ajax to load all my pages So i dont want to disrupt that flow by having the page refresh when you hit submit..I just want it to be like loading and then echo Thank you or something. Here is my current code.

HTML

<form method"post" onsubmit="return false;">
   <label>Your Email:<br /><input type="text" name="email" id="email" /></label><br />
   <label>Subject:<br /><input type="text" name="subject" id="subject" style="width:500px;" /></label><br />
   <label>Message:<br /><input type="text" name="message" id="message" style="width:500px;height:200px;background-color:#DFB782;color:#000;border:1px solid #462401;font-weight:bold;" /></label><br />
   <input type="submit" value="Send" style="background-color:#DFB782;color:#000;border:1px solid #462401;font-weight:bold;margin-top:5px;padding:5px;font-size:18px;" onClick="sendRequest()" />
  </form>

PHP

<?php
$mail['to'] = 'business@caffeinatedcustoms.com';
$mail['from'] = $_POST['email'];
$mail['subject'] = $_POST['subject'];
$mail['message'] .= $_POST['message'];
$mail['header'] = 'From: '.$_POST['Name'].'<'. $mail['from'] . ">\r\n";

$mail['status'] = @mail($mail['to'], $mail['subject'], $mail['message'], $mail['header']);
if ($mail['status'] == false) {
    echo 'Failed to send mail to ' . $mail['to'] . '.<br>Error: ' . error_get_last();
    exit;
}
else{
 echo 'Thank You we will Resond Soon';
 }
?>

Javascript

<script type="text/javascript" src="prototype.js"></script>
	<script>

			function sendRequest() {
				new Ajax.Request("sendmail.php", 
					{ 
					method: 'post', 
					postBody: 'message='+ $F('message'),
					onComplete: showResponse 
					});
				}

			function showResponse(req){
				$('show').innerHTML= req.responseText;
			}
   </script>

Thanks in advance ;)

mikeandike22 18 Nearly a Posting Virtuoso

Basically I coded this site and it looks exactly how I want it too in Firefox but it looks like shit in IE more specifically IE 6, 7 isnt bad. The font is rendering odd and items are not in the same location.

here is my html file

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>Caffeinated Customs</title>
   <style type="text/css">
    <!--
	 @import url(print.css) print;
	-->
   </style>
   <link rel="stylesheet" href="main.css" type="text/css" />
   <!--[if IE]>
    <style type="text/css">
     h1{margin-left:0;}
     #header{margin-top:10px;margin-left:50px;width:550px;}
     .title{top:15px;)
     .nav{margin-top:35px;}
    </style>
   <![endif]-->
  </head>
  <body>
   <!--Wrap-->
   <div id="wrapper">
    
    <div id="header"><!--head-->
     <div class="title">
      <h1>Caffeinated Customs</h1>
      <h2>Custom Affordable Web Design</h2>
     </div>
     
     <div class="nav">
      <ul>
       <li><a href="#">About</a></li>
       <li><a href="#">Services</a></li>
       <li><a href="#">Porfolio</a></li>
       <li><a href="#">Contact Us</a></li>
      </ul>
     </div>
    </div><!--/head-->
     
    <div id="contentw"><!--contentw-->
     <h3>ABOUT</h3>
     <div id="content">
      <h4>About <span style="font-family:'Times New Roman', Times, serif;font-style:italic;font-weight:600;">Caffeinated Customs</span></h4>
      <p>Content</p>
     </div>
    </div><!--/contentw-->
     
   </div><!--/Wrap-->
  </body>
 </html>

and My CSS file

/* CSS Document */
	 body{
	  background:#f0c690 url(cc_bg.jpg) repeat-x;
	 }
	 h1{
	  font-family:"Times New Roman", Times, serif;
	  font-style:italic;
	  color:#452401;
	  font-size:37.41px;
	  font-weight:300;
	  letter-spacing:-3px;
	  margin-left:-10px;
	 }
	 h2{
	  font-family:"Times New Roman", Times, serif;
	  font-style:italic;
	  color:#000;
	  font-size:18.71px;
	  letter-spacing:0px;
	  font-weight:600;
	  margin-top:-25px;
	 }
	 h3{
	  font-family:Arial, Helvetica, sans-serif;
	  font-size:24px;
	  font-weight:400;
	  color:#452401;
	  }
	 #header{
	  width:500px;
	  background:url(cc_nav.gif) left top no-repeat;
	  position:fixed;
	  left:50px;
	  top:50px;
	 }
	 .title{
	  position:relative;
	  left:-20px;
	  top:-15px;
	 }
	 .nav{
	  width:214px;
	  height:200px;
	  background-color:#dfb782;
	  margin-left:32px;
	  border:1px solid #e5bf8c;
	  border-top:0;
	 }
	 .nav li{
	  list-style-type:none;
	  padding: 2px 0 2px 0;
	  margin-left:-41px;
	 }
	 .nav li:hover{
	  display:block;
	  width:214px;
	  height:28px;
	  border:1px solid #f2c390;
	  background-color:#c89660;
	 }
	 .nav li a{
	  color:#452401;
	  font-family:Arial, Helvetica, sans-serif;
	  font-style:italic;
	  font-size:24px;
	  text-decoration:none;
	  padding-left:41px;
	 } …
mikeandike22 18 Nearly a Posting Virtuoso

Ok So I got it to Insert the data in the table but im havin a problem I want to check if the user entered something other than 00 or 30 for their appointment time but right now It isnt working it just gets to the if statement which evaluates as true for everything I enter

<?php    
        $host="localhost"; // Host name

        $username="root"; // Mysql username

        $password="original"; // Mysql password

        $db_name="cutting_edge"; // Database name

        $tbl_name="appoint"; // Table name
        
        // Connect to server and select databse.

        mysql_connect("$host", "$username", "$password")or die("cannot connect");

        mysql_select_db("$db_name")or die("cannot select DB");



        if($_POST[ok])

        {

	  $date = "$_POST[month]-$_POST[day]-$_POST[year]";
          $name = $_POST['name'];
          $time = "$_POST[hour]:$_POST[minute]";
          $min = $_POST['minute'];
          
          if(($min != '00') || ($min != '30')){
            echo "Appointments are every 30 minutes please re-choose your time to accommodate this schedule";
            echo $min;
          }
          else{
            // To protect MySQL injection (more detail about MySQL injection)

            $date = stripslashes($date);

            $name = stripslashes($name);

            $date = mysql_real_escape_string($date);

            $name = mysql_real_escape_string($name);
            $time = stripslashes($time);

            $time = mysql_real_escape_string($time);



            $sql="SELECT * FROM $tbl_name WHERE date='$date' and time='$time'";
            $result=mysql_query($sql);
           
            $count=mysql_num_rows($result);
          
            if( $count == 0){
 
              $sql ="INSERT INTO appoint VALUES( '$date', '$time', '$name' )";
              mysql_query($sql);
               
              echo "$name, Scheduled an appointment for $time on $date";
             }
            else{
              echo "An Appointment Is already Scheduled for this time ";
              echo $time;
             }
           }
         }
?>
mikeandike22 18 Nearly a Posting Virtuoso

Ok I wrote it like this for the code using sql..im not so great with PHP so maybe you could lend me a hand on getting this fixed..at the moment it doesnt do anything.

<?php    
        $host="localhost"; // Host name

        $username="root"; // Mysql username

        $password="original"; // Mysql password

        $db_name="cutting_edge"; // Database name

        $tbl_name="appointment"; // Table name
        
        // Connect to server and select databse.

        mysql_connect("$host", "$username", "$password")or die("cannot connect");

        mysql_select_db("$db_name")or die("cannot select DB");



        if($_POST[ok])

        {

	  $date = "$_POST[day]-$_POST[month]-$_POST[year]";
          $name = $_POST['name'];
          $time = "$_POST[hour]:$_POST[minute]";
          $time1 = "$_POST[hour]:00";
          $time2 = "$_POST[hour]:30";
          
          // To protect MySQL injection (more detail about MySQL injection)

          $date = stripslashes($date);

          $name = stripslashes($name);

          $date = mysql_real_escape_string($date);

          $name = mysql_real_escape_string($name);
          $time = stripslashes($time);

          $time = mysql_real_escape_string($time);


         
          $sql="SELECT * FROM $tbl_name WHERE date='$date' and time='$time1'";
          $result=mysql_query($sql);
          if( $result == 0 ){
           
             $sql="SELECT * FROM $tbl_name WHERE date='$date' and time='$time2'";
             $result=mysql_query($sql);
             if($result == 0){
               $sql ="INSERT INTO appointment VALUES( '$date', '$time', '$name' )";
               mysql_query($sql);
             }

          }

         }

       ?>