Hosting Software News & Commentary Hosting Software News & Commentary Hosting Software News & Commentary

I’ve been coding lots and lots for many hours, but I can finally see the end for Waggonersboots.com version 2.0. I may have to come up with a new front-end to signify a change, but right now, it’s pretty similar in style. The backend is WAY more extensible though. With logging for errors and data changes, and a pretty good seperation of logic and presentation, I think it’s going to be a lot better. I hope to get some page editing in place for the admin, and better integration with Paypal and Google Checkout.

I can’t quite what I should do with data consistency. If we want to remove a product from the website, I would normally just delete it out of the database, but that creates some inconsistency, such as, if we wanted to look at selling history. I’ll probably continue to delete them, to remove the extra load on the database for indexing, etc, but I’m not sure what the rules are.

At my current job, I do a lot of reading. It’s hard to get used to, because the only jobs I’ve had before, I was expected to be, or at least look, busy. In some ways it’s nice, but it gets to be a little dull. I’ve been reading over MySQL, and even though I haven’t done much with it at work yet, I’ve implemented a lot of it into the WB’s code. Here’s one that I came up with today:

SELECT name, COUNT(DISTINCT value) FROM variation
GROUP BY name ORDER BY 2

It’s pretty simple to most with SQL experience, but came as a revelation when trying to do different hacks in PHP. This query gets the types of variations (e.g. Size, Color) in order by the fewest distinctions. It’s useful for making a list such as (Colors are always top-level in this

I then take a PHP function and sort it like this, for use in usort():
public function item_cmp(&$a, &$b) {
$astr = $bstr = ”;
$vartns = />foreach($vartns as $v) {
$astr .= />} else $astr .= ‘999′; // Make null values float to bottom
$bstr .= />} else $bstr .= ‘999′;
}
return strcmp($astr, $bstr); // Compare the two as strings
// (digits would probably work too, but strcmp was easiest)
}

Rather than hardcoding it, I thought it best to make it smart. I’ve implemented the site in PHP5, and I’m crossing my fingers that the shift from MySQL 5 to MySQL 4.1 won’t cause too many problems.

Chapter 8 . Understanding the Boot Process 315 Table 8-10 chkconfig Options Option Function –level A string of numbers that specifies which runlevels the requested operation effects. For example, –level 35 would specify runlevels 3 and 5. –add Adds the service to the specified runlevels. –del Removes the service from the specified runlevels. –list Lists which runlevels do and do not start this service. If no name is specified all services are reported. Another useful tool for changing runlevel information is ntsysv. It provides an easy-to-use text mode menu interface. By default it edits the current runlevel, but this can be overridden with the –level parameter. For example, to edit runlevel 5 you would use the following: [root@europa rc.d]# ntsysv –level 5 Debian startup Debian uses a similar startup routine to Red Hat and its variants, but with slightly different scripts and file placement. As we said before, Debian puts the runlevel directories rc0.d through rc6.dalong with init.d off of /etc. Once inithas been started by the kernel, it executes the first line in the inittab, which is the following: si::sysinit:/etc/init.d/rcS Instead of using a large script file to set up the base system, Debian uses the /etc/init.d/rcS script to read smaller scripts from /etc/rcS.d. The only other function of this script is to set the default path and umask. The scripts that run from rcS.dare shown below, in order. 1. S05keymaps-lct.sh. This script loads the default key maps. 2. S10checkroot.sh. This checks the root file system s constancy and then remounts it as read/write. Finally, it builds the /etc/mtab. 3. S15isapnp. This script configures any ISA Plug-and-Play devices. 4. S20modutils. This executes depmod -aand runs modprobe to load all needed modules. 5. S30checkfs.sh. This script checks the other nonroot file systems. 6. S30procps.sh. This script configures the kernel using the sysctl tool.
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.

Asheez (9:02:27 PM): i found inspiration for you
Asheez (9:02:29 PM): />Asheez (9:04:21 PM): NATHAN

Nateez (9:05:54 PM): what??!

Asheez (9:06:03 PM): sup

Nateez (9:07:29 PM): nothing…i wish i was getting all up in some tiny rich tittayz right now though

Asheez (9:07:51 PM): click the link above for more info

Nateez (9:08:32 PM): how could that possibly be arousing?

Asheez (9:08:52 PM): it isnt SUPPOSED to be
Asheez (9:08:55 PM): to anyone but you, at least
Asheez (9:09:17 PM): nathan
Asheez (9:09:18 PM): NATHAN
Asheez (9:09:19 PM): OH MY GOD
Asheez (9:09:21 PM): />Asheez (9:09:25 PM): !!!!!!

Nateez (9:09:35 PM): mmmmmm

Asheez (9:09:57 PM): where the hell is this penis coming from????
Asheez (9:09:58 PM): />
Nateez (9:10:35 PM): lol
Nateez (9:17:38 PM): ok, post up
Nateez (9:19:12 PM): any developments with the moving out thing?

Asheez (9:19:31 PM): no
Asheez (9:20:22 PM): ugh lindsay lohan
Asheez (9:20:26 PM): get her the *** out of my face
Asheez (9:20:32 PM): your post will have a response within three business days

Nateez (9:21:05 PM): lol
Nateez (9:21:15 PM): you can come sleep on this spare mattress

Asheez (9:21:24 PM): i never knew amy adams had no boobs
Asheez (9:21:33 PM): i havent really ever looked at her though

Nateez (9:21:48 PM): yeah

Asheez (9:21:52 PM): also, im not going to ruin your school life ever again

Nateez (9:22:00 PM): what?
Nateez (9:22:09 PM): Ashley, let me lay something out for you

Asheez (9:22:15 PM): your penis

Nateez (9:22:16 PM): so that there is no further complication
Nateez (9:22:49 PM): If I offer something to you
Nateez (9:22:55 PM): Or if I tell you something about me
Nateez (9:23:33 PM): or if i reveal some weakness
Nateez (9:23:47 PM): you may not use said weakness towards my destruction
Nateez (9:24:09 PM): I told you that I had trouble opening up to my close friends because I LIKE TO BE THEIR SOURCE OF STRENGTH
Nateez (9:24:20 PM): then i opened up to you, due to your insistence
Nateez (9:24:41 PM): and THEN you told me that you didn’t want to burden me with your problems anymore
Nateez (9:24:59 PM): then i let you stay here, because i really wanted to see you, and i was glad to be an escape for you
Nateez (9:25:11 PM): and i was willing to suffer the consequences
Nateez (9:25:13 PM): and i did
Nateez (9:25:33 PM): and now you say “im not going to ruin your school life ever again”
Nateez (9:25:56 PM): when you do that, it makes me want to NOT open up to you, and NOT be there for you, because then YOU won’t LET me be there
Nateez (9:26:01 PM): does that make sense to you?

Asheez (9:26:02 PM): well, im not saying im hesitating because of this new found information; i hesitate doing something like that with ANYONE. as a matter of fact, youre the only person ive ever considered asking myself to spend the night. to further prevent confusion that i think you may have, my hesitance is not about you, it’s about me not wanting to impose as a matter of general manners. BUT, i feel very comfortable asking you, so i do. ALSO BUT, i can never be completely okay with asking something like that; i’ve seen josh johnson work, and i don’t want to be an apartment crashing type of person

Nateez (9:27:00 PM): ashlee: i will always tell you if i need you to leave…i have no problem turning to you and saying “i need to do this…get out”
Nateez (9:27:32 PM): this = rich girl

Asheez (9:27:57 PM): i know, BUT, regardless of how open YOU are to me, and i obviously accept and appreciate that, i still have to maintain … manners, i guess
Asheez (9:28:24 PM): im not the kind of person to show up on someones doorstep with an overnight bag slung over my shoulder (except for club kelly, back in the day)

Nateez (9:28:35 PM): all i’m saying is this:
Nateez (9:28:48 PM): if you ever NEED me, don’t hesitate because you are afraid of burdening me
Nateez (9:28:59 PM): i have nothing but an open heart for you
Nateez (9:29:07 PM): you are not bothering me
Nateez (9:29:15 PM): and you are not making my life any harder

Asheez (9:29:23 PM): well, thats good to know
Asheez (9:29:29 PM): (i was joking about ruining your school life)

Nateez (9:29:30 PM): good
Nateez (9:29:32 PM): that’s all
Nateez (9:29:38 PM): you better have been

Asheez (9:30:03 PM): um… you can stay at my house if you ever need to :’(

Nateez (9:30:11 PM): gross…never

Asheez (9:30:14 PM): lol
Asheez (9:30:15 PM): totally
Asheez (9:30:51 PM): im just not used to someone being so nice i guess
Asheez (9:30:55 PM): that wasnt a guy that wanted to do it
Asheez (9:30:57 PM): it’s new/weird

Nateez (9:31:41 PM): i DO want to do it, just not with a taken woman (aka: you)



Categories

Top 10 Web Hosts

1.   StartLogic Hosting
2.   IX Web Host
3.   PowWeb Web Host
4.   Yahoo Web Hosts
5.   Hostgator Hosting
6.   Hostmonster Hosting
7.   Bluehost Hosting
8.   Dot5 Web Hosting
9.   iPowerWeb Web Host
10.   AN Hosting Web Host
-    Go Daddy Hosting
-    Network Solutions Hosting

Blogroll

Powered by Technorati