Jump to content
xisto Community

littleweseth

Members
  • Content Count

    87
  • Joined

  • Last visited

Everything posted by littleweseth

  1. Having used both XP and OSX as main operating systems, i'll say the following :XP is actually fairly well behaved now. It doesn't SHOW you the bluescreens of death - it just restarts again without asking you and you go on like normal - but it's still crap. The file manager sucks, and it comes with crappy software (ala NetMeeting, IE, etc) and it's not exactly arrow-fast. I must say, though, considerig that they have to support every configuration of hardware in existence, it's not too bad.On the other hand, i'm loving OSX. Seriously. This mac is six years old - made in 1999 and all that - and yet it serves me as well as my windows box (though i'm missing Firearms, sob, sob). It has awesome software out of the box - itunes > WMP, mail > outlook (though thunderbird > mail), Safari, and so on. It has a terminal. The terminal isn't some crippled version of DOS. I can do sudo ls -xal | grep httpd or maybe sudo pico php.ini - two things i've been doing a lot recently - faster in the terminal than with point and click. OSX comes with python, php, apache, and other nice stuff preinstalled so n00bs like myself don't have to go insane installing stuff. .dmg > .exe installers. The filesystem isn't borked, and /Users is sure shorter than /My Documents And Settings. And you dont need to quote it....Maybe i should stop ranting now.In any case, when i get my belove-ed x86 box back, i'm going to see if i can pull Kubuntu through a dialup line (or just get a Ubuntu CD and download the KDE bits) and put that on. OSX has prepared me for *nix by not babying me every step of the way.Addendum : XP's woeful software deficiencies are thankfully easy to deal with. Personally, i use Explorer2 (http://www.zabkat.com/) to replace Explorer's file manager, and Aston (http://www.astonshell.com/) to replace the Explorer Desktop - and Fx/Opera/Thunderbird and what ever have you software to replace the rest. Notice from wassie: Merged posts
  2. The cool thing is that my name (Li-Aung Yip) *is actually* chinese! (our family is chinese/malay)The crap thing is that the closest approximation i could find for it in that list was 'leon'. My mummy dearest told me that my name means 'king' or something similarly melodramatic, though.
  3. Font tags. And blinky/scrolly things. And table based layouts. And, the big one....Comic. Sans. Prefix the following with : Micro. Soft.In true slashdot style : "There's no emoticon for what I'm feeling!!oneone!"
  4. I might as well hijack this thread you already have going :PI'm 15, a few weeks away from 16, male, and living in Australia, (yeah that place across the ocean from where they filmed lord of the rings ). I'm littleweseth for the reason that my big brother's handle was 'wes' and at the little age of 12 i thought copying my brother's name was a cool thing to do - though a few years later i was wishing i'd established myself as SphereCube, not littleweseth. Anyways :I use(d) Astonshell - http://www.astonshell.com/ - on my windows box before it blew up, and i hang out on the forums there doing free support and stuff. I am deviant ( littleweseth.deviantart.com ), and sadly enough i actually read slashdot. I know.I know too much about (x)HTML, CSS, and what from the preceding doesn't work in IE. I'm busily learning PHP when i should be doing study, but meh I used to know c++ too, but that was too nerdy for even me, the hardcore nerd. Macs rule j00, your sons, and your daughter's sheep.In my non-computer time, I read stuff, do insane amounts of study for the exams looming over my head, and get round on my bike.
  5. phones are for talking to people. They are designed to be held in a certain way (to your head), they need to be compact, and they get rashed around a lot so they need to be durable. The keypad is designed for use as a phone.Cameras are designed to be held in a different way - pointing at something - compactness is nice, and optics aren't the most durable things inthe world. They have zoom lenses and a nice user interface (controls). They take nice, 1600x1200 photos at decent quality, and unless you get a cheap, nasty model, you can set manual exposure, white balance, and all that other nice stuff.Let's see what happens when camera meets phone.Phone still needs to be compact. No room in there for zoomlenses or nice quality CCD's if you want to keep it compact (and those things cost too much anyways). The controls are - a keypad and a button on the top. Great. Picture quality and resolution suxor badly. You can't do anything with them to control your shot in the way of WB or manual exposure. People try and take your phone off you when they see it. That said, I don't own a phone - i vow to be the last one to own one in my year level - and i'm an artistic photographer, not a snap-shot one (i've still managedto snap 9000 photos over 18 months, though ). I could see where a cameraphone might be nice, but really, a phone's a phone and a camera's a camera. If i wanted an overpriced gimmick, i'd get a x86 laptop.
  6. A tandy TRS-80. It used cassette tapes, had memory in the double-digit kilobyte range (32, 64?) and connected to our good old National TV. The cassette bit also played normal cassettes.Ah, the nostalgia : GroBOT and lemonade stall - still have the tapes ;)Next computer was a 286 amstrad. I have many fond memories of finding new ways to stuff that one up, like cd wordperf/clipart del *.* Y.moving on to about 1996, it was an Acer Pentium 133. That kept going for a few years (surprising for an acer) and then it failed to work in progressively larger steps. Time for the new computer : an athlon 900. A few upgrades later, and it dies, so now i'm on a six year old iMac (which is actually surprisingly good!)So yeah. That's the computers our family has owned.
  7. I'd try something like the following : ...<?php $postvars = $_POST; if ( ServerSideValidate ( $postvars ) == okay )//do your server side validation here. redirect to a nice 'thankyou for filling in our form' page. Not sure how to do this right now. else proceed to the next bit.?><form method="post" action="<?php $_SERVER['PHP_SELF']?>">//the php_self bit makes it so the form submits to itself, so the code above can validate and either pass the user on or give them another try at the form. <input method="checkbox" name="cb1" value="<?php if ( isset ($postvars['cb1'] ) ) print $postvars['cb1']; else print "";?>"> // What this does is check if the cb1 variable is filled from a previous try at the form. If it is, the value is put back in, else nothing is printed. ... and so on for cb2, cb3, cb4, cb5. </input></form> What that does is :- If the user is seeing the form for the first time, no POST variables will exist, and so the form is in a default state. - When the user submits, the form submits to itself. At the top of the code is your validation code, and if the data passes you redirect the user to your nice little 'thanks' page. Otherwise, continue to the juicy bit. - IF the user doesn pass your validation, then the next bit comes in. The user's already submitted some postdata, so it's there in the $_POST global. What the bit of code inside the 'value' attribute does is put the data back. Should work : i haven't checked it and you may need to tweak to taste, but that's the basic method.
  8. Repeat after me : there is no such thing as WYSIWYG PHP. You're going to have to actually learn PHP if you want to edit scripts, or run the risk of things fouling up. Go have a look at the HudZilla PHP book over at http://www.hackingwithphp.com/ - it's free and very well written. Oh, how i lub paul hudson.In any case, my favourite editors :SciTE - http://www.scintilla.org/ scite : notepad with syntax colouring, folds, regexps and other l33t stuff - i believe it's only 300k as well. Free as in beer and liberty.BBEdit : http://www.barebones.com/ . Mac only, but my gawd, it's a reason to use a Mac alright - that, and OSX kixoring for n00bies learning the tao of webserving (like myself) because installing server stuff is so easy. Oh, and restarting apache on a windows box is a pain.that Zend one : http://forums.xisto.com/no_longer_exists/. Made by the guys who maintain PHP, and very, very nice. You do have to pay for it though.Dreamweaver's not on the list because it costs major dollars and gets in the way too often. I think it was the 'helpful' code completion that did it for me - how many times do I have to yell 'when i press tab, i want four spaces dammit!' at my screen?[disclaimer : my $0.02.]
  9. To run an SQL query, first you have to connect to your server thusly : mysql_pconnect ( $ServerAddress, $mySQL_Username, $mySQL_Password ); Then you have to select a database, like so. mysql_selectdb ( $DataBaseName ); Then you run a query like this : mysql_query ($querystring ); Hope that helps.
  10. maybe you can try reading the sourcecode, then doing a regexp something along the lines of : preg_match ( '/src="[hH][tT][tT][pP]:////.+?/.(jpg|gif)"/', $big_string_with_sourcecode_in_it, $results_array), which should put any URI's that reference either .jpg's or gif's into the $results_array. From there on, you can roll your own code to pull each url from the array, filter out the ones you're not interested in (like the ads, layout graphics, and so on) and download the rest - maybe call wget from PHP? If you don't know how regexps work or what they are, try reading http://forums.xisto.com/no_longer_exists/ In fact, read the whole thing - it's sure better than my paper hardcopy book, and it's free.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.