-
Content Count
2,482 -
Joined
-
Last visited
Everything posted by miCRoSCoPiC^eaRthLinG
-
Hehe.. me too - got into a habit now.. Every Saturday night, get drunk and play with fire. That picture came out due to a long exposure.. The "Z" was actually a long series of movements which from the side looks like that Z - the final effect came out ultra cool... Incidentally, do any of you play with fire ??? I'm looking for ppl who do - I didn't have any trainer but picked up a whole lot seeing others spin.. Now I'm decent enough myself. I really want to learn more.. anybody who spins the Fire Poi's - get in touch with me straight
-
Source Code Line Counter - Know Of Any ?
miCRoSCoPiC^eaRthLinG replied to miCRoSCoPiC^eaRthLinG's topic in Software
Woowoowoow !!! Thanks a tonne buddy That's EXACTLY what I was looking for Thanks for getting me started.. now I can happily mod that to generate keyword count as well ... Damned Cool !! -
Hi, Here I am again with another lot of snaps that I want to share with you all. These were taken during my student days while I was engulfed by this wunderlust - my adventures all over thailand captured using a Canon DigiCam. Not quite the results I'd expected (being an avid supporter of FILM Cameras).. but still worth taking a second look. Most of these snaps here were taken during the Full Moon Rave that Thailand is really famous for. It takes place on this island, some 150kms into the ocean - completely cut-off from the world. It happens on the full moon nights of every month, Jan-Dec, but peak months are from Sept-Feb when the island receives an average crowd of 30-40,000 people around the fullmoon date. Its such a mingboggling event that you've to see it to believe it. Pictures are supposed to be worth a thousand words - but even a couple of hundred thousand will fall short to describe this occasion... Take a look at the pics and you'll get an idea. The forum sw won't permit me to post more than 10 pictures per post.. So more later Enjoy...
-
Hi, Do you guys know of any Source Code Line Counter - that's NOT LIMITED to a single file - but would take a whole directory or choice of files and list the total number of lines in all of them ??? Have searched far and wide but couldn't find one Actually, never mind. I found an excellent one at: http://forums.xisto.com/no_longer_exists/ - it's FREE and best part is it plugs itself into both Visual Studio 6 and VS.NET 2003 - and does a one-click line count of your whole project. Stats are broken up into total line count, remarked lines, blank lines etc. Very very handy. Even the source code is up there. But I'm still looking for one, that'd run independent of any IDE and parse whole directories at a time based on file extensions. If you guys come across any, please post in here. Thanks
-
You can't really avoid messing with the jumpers - coz one drive HAS to be the Slave and other the Master. But assuming that your jumpers are configured accordingly, here's what you can do to get a dual-boot menu during bootup. On the Master HDD which has WinXP, enable viewing of Hidden Files and Folders. Next check in the C:\ drive for a file named boot.ini. Here's what the file contains in my case: [boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINNT[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect That multi(0)disk(0)rdisk(0)partition(1).... part you see specifies which partition & folder to boot from and what the label appears as during boot time. All you've got to do is add one more line: multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Microsoft Windows 95" /fastdetect NOTICE how I've changed the disk(0) to disk(1) indicating your second physical Hard Drive. If Win95 is on the first partition of this disk, leave the partition(1) as it is... if it's on some other partition, replace this with a suitable value. Also the trailing folder has to be edited... For WinXP and 2000, this is \WINNT .. For 95 this should be changed to \WINDOWS or whichever folder your 95 is installed to. Also note that I've changed the label to "Microsoft Windows 95". That's it. We're done. When you save the file, you might encounter some resistance as this is a file marked with Hidden, System & Readonly. In such a case, turn off these attributes, modify & save the file & turn the attributes back ON again. Reboot and have fun... if it doesn't work the first time, then surely the record isn't pointing to the right partition & folder. Check up on your second drive, determine these factors and modify boot.ini accordingly.. All the best
-
Asa singledad pointed out you can achieve this by using CSS attributes. If you redefine the <td> tag or simply create a style class and assign that to the <td> it'll inherit the properties of that style class . Let me give you an example.... Inside a separate stylesheet file or main html body...===================================.mytd { width: 10px; height: 10px; ..... ..........}Inside HTML file============<table><tr>..............<td class="mytd">All contents go here</td>......</tr></table> The example you see above creates a style class with row and height both set to 10 pixels. When you assign this class to your <td> tag, as seen in the latter part of the code, that particular cell will inherit the properties defined in mytd. Thus it'll resize itself to whatever height and width you'd specified in the mytd class. Hope this helps
-
Question About Opt-in List Managers
miCRoSCoPiC^eaRthLinG replied to rogerw's topic in Websites and Web Designing
Don't worry about forum postings - they're not even half as hard as you think. When I joined this board first, even I'd the same kind of feeling - whether I'd be able to make the so-called "10 good posts" and keep up my subsequent posts to keep my account active. But look at me today... Before I knew I became a part of the community and was posting left & right.. Besides, you can always use this board as a free tech support measure for any kind of computer problems that you might have. Even if you feel shy to start your own topics, just drop by and make a post on any such technical probs you might be having. That itself will see you through your posting requirements. As for the mailing list option - it's available in both the free hosting account (access through same cPanel) as well as the paid Xisto - Web Hosting version. So you would have it setup and running in no time - whichever hosting plan you go for. As far as SSI is considered - I think this site does support it, but I'm not too sure. Let me check it up once again and get back to you. I checked up on it and both Xisto & Xisto and Xisto - Web Hosting as well support SSI or Server Side Includes. So your hosting requirements will be well met by whichever host you pick amongst these. Best regards -
Beginners Php - Object Initialization
miCRoSCoPiC^eaRthLinG replied to moonwitch1405241479's topic in Programming
Hopefully you will see some "light" by the end of this To initialize an object, you use the new statement to instantiate the object to a variable. class foo { function do_foo () { echo "Doing foo."; }}$bar = new foo;$bar->do_foo(); We'll proceed according to your example. Lets take up your first question. Take a second look at your code - the second last line where it says, $bar = new foo; - that's where you're using the "new" statement to create an object that is of the type foo. This statement simply creates a variable (or you can call an OBJECT) that inherits the properties of the class named "foo". That $bar = new foo does exactly that. "new foo" tells the parser to create the object based on class "foo" and then assigns is a commonly usable name - which in this case is your variable, $bar. Nope. That's perfectly all right. Read what I wrote above. Now look back at your class. What does it contain ?? Just ONE function that prints the "Doing foo" line.. right ? Here's the whole idea of classes and objects.. A class is a template - a blueprint, based on which you can create objects, which immediately inherit all the properties of the class. What are class foo's properties here ? Nothing but that function named do_foo. If that foo class had some other variables & functions declared within it - even they'd be considered among the properties of that class. Now since you declared $bar to be an object of the type, class foo - it should inherit the properties of the class - it does so in this case. $bar now contains that funtion do_foo. But how do you call that function in $bar.. That's where the last line comes to play. $bar->do_foo(); -- That -> sign that you see after $bar, simply means that the statement following it, is a member of that object.. So the parsers looks into the object and finds the right function (in this case do_foo) to call. If your class had public variables like $var1, $var2 .. even they could be refered to as, $bar->$var1, $bar->$var2 ... etc.. Replace the "->" with a dot "." and see if that rings any bells... If you've coded in .NET/Java you'd know ... how sometimes functions within certain packages are called in the form, classname.functioname e.g. Microsoft.VisualBasic.Left() .. the "->" works in the same way as that "." Hope this will help you.. at least partially. -
I've always used the WSFTP Pro version - my most fav. client (even though it doesn't come free). Even the lite freeware version is quite good except for the fact that they haven't worked on the interface at all for a long long time. The other freeware ftp clients (SmartFTP, CuteFTPFree etc.) are pretty much comparable in terms of features, but I still like the easy-to-manage, fixed, two-pane browser of WS_FTP.
-
Please Delete My Account
miCRoSCoPiC^eaRthLinG replied to daniel151405241469's topic in Web Hosting Support
Before the account is deleted can you post a short writeup about how this "better host" compares to Xisto - i mean what extra or useful features did you find on this other host to term it as better ? That'd definitely be a very valuable feedback in improving our services. Other than that, we do hope you won't stop coming back to the forum, irrespective of the fact that you aren't availing the hosting facilities anymore. The forum could always do with some more good & useful posts. As also, I found some stats quoted in another post of yours: http://forums.xisto.com/topic/81116-topic/?findpost= I looked up on this board of yours and these are the stats I found: I'd like to ask how does those stats compare to ours at Xisto, which, as of today (5th April, 2005) stand at: My suggestion is do think, before you write something like this. Don't just leave it to "I think" when put your opinion in. Not that I have anything against free speech, but when you have the means to ascertain the facts - do so before submitting this kind of a writeup. Regards -
Question About Opt-in List Managers
miCRoSCoPiC^eaRthLinG replied to rogerw's topic in Websites and Web Designing
Well, you don't need to do much for that. Once you get hosting here, log onto cPanel and under the Email Management Tools section you'll find an option called Mailing lists - you can exactly do what you intend to do, using this tool. First you'll need to create your own mailing list - then simply link it to a web interface so that users can be added to the list from there. Once you've created the list you'll be asked to login and in the resultant control panel you can specify hundreds of options including the methods by which members can join the list. If you set that to join-in-by-sending-mails.. (I'm not sure what the option is called there but it would be something similar) that would do your job. Simply take the email address submitted to your web-page and send that as a mail to the mailing list join address - and BINGO, your user's auto added to the list. Your other option is to use a software named Majordomo which runs on any linux platform and does the exact same job. Majordomo is a free & the most widely used mailing list software. I believe the mailing list in Asta cPanel is also powered by the Majordomo engine in the background - although I might be wrong. -
Colaborative Tutorials
miCRoSCoPiC^eaRthLinG replied to MajesticTreeFrog's topic in Graphics, Design & Animation
Hey, a Wiki would be real nice. True - that way we can deal with the jumble of posts and come up with clean tutorials with input from everyone That'd be real cool. For those who don't know what Wiki is, check out: http://forums.xisto.com/no_longer_exists/ -
Dc++ Clients What would you reccomend
miCRoSCoPiC^eaRthLinG replied to MunichKangaroos's topic in Software
Excuse my ignorance but what's a DC++ client ??? Can you direct me to a site with more info. on it please ? Thanks Actually never mind I found the site: http://dcplusplus.sourceforge.net/ - that's what you're talking about, right ?? -
Well I don't know much about PHP myself either - but I do know what PEAR is. It stands for PHP Extension and Application Repository - once again following the opensource standards of recursive names. It's this whole bunch of open source classes that work together and come bundled together. Developers can use these pre-built classes to generate HTML, make SOAP requests, send MIME encoded mails PLUS a wide variety of other common tasks. A PEAR is also a TASTY TASTY fruit Find out more about PEAR at: http://pear.php.net/ .. The main PEAR package comes with only a handful of classes - but pear development is really fast and every week you have these fresh influx of really-useful/not-so-useful classes being added to the pear repository. There's something called Pear Package Manager which makes it easier for you to download and install these individual classes/bundles. As for those extensions you're talking about - I'm afraid I'm in the same boat as you
-
Colaborative Tutorials
miCRoSCoPiC^eaRthLinG replied to MajesticTreeFrog's topic in Graphics, Design & Animation
That isn't a bad idea MFrog... not bad at all. Whether we create a new section for it or not - the idea is simply great. We can still put all our combined knowledge in together and chalk up something really great. But it'd involve a whole lot of co-ordinated groupwork - probably with the help of something like an online CVS - otherwise it'll be quite tough to put the pieces together. -
Hi, Here I am with yet a third tutorial on the NOTE tag. Most of the mods would have noticed a drastic change in it's appearance over the past few days - bit by bit... I'm going to put up the code today and do a little bit of explaining as to how it works. This code's script is quite long and winding though and has got 2 parts - first a JavaScript that defines a function which is reponsible for the Expand/Collapse button of the note - and the second part constitutes of the actual <DIV> layers which give the note it's shape/size/color/graphics. First here's the code: body.style.display = 'block'; if (document.images[im]) { document.images[im].src = "close.png"; } } else { body.style.display = 'none'; if (document.images[im]) { document.images[im].src = "open.png"; } } if (e) { // Stop the event from propagating, which // would cause the regular HREF link to // be followed, ruining our hard work. e.cancelBubble = true; if (e.stopPropagation) { e.stopPropagation(); } } } </script> <div id="notice" style="width linenums:505'><script>function toggle(toggleId, e){ if (!e) { e = window.event; } if (!document.getElementById) { return false; } var body = document.getElementById(toggleId); if (!body) { return false; } var im = toggleId + "_toggle"; if (body.style.display == 'none') { body.style.display = 'block'; if (document.images[im]) { document.images[im].src = "close.png"; } } else { body.style.display = 'none'; if (document.images[im]) { document.images[im].src = "open.png"; } } if (e) { // Stop the event from propagating, which // would cause the regular HREF link to // be followed, ruining our hard work. e.cancelBubble = true; if (e.stopPropagation) { e.stopPropagation(); } }}</script><div id="notice" style="width: 505px; border: solid 2px #FF0000; background-color: #FFFFCE;"><div id="header" style="width: 505px; color: #FFFFCE;"><div id="rightbox" onClick="toggle('notemsg', event)" style="width: 15px; height: 15px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/closebutton.jpg); color: #FFFFCE; float: right; cursor: pointer; font-family: Tahoma; font-size: 9px; font-weight:bold;"></div><div id="leftbox" style="width: 20px; height: 15px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/topleft.jpg); color: #FFFFCE; float: left; padding-top: 0px; padding-bottom: 0px;"></div><div id="middlebar" style="padding-left: 5px; width: 475px; height: 16px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/notetitle.jpg); color: #FFFFCE; float: center; font-family: Tahoma; font-size: 12px; font-weight: bold;"><b><center>Notice from {option}:</center></b></div></div><div id="notemsg" style="width: 475px; padding-top: 10px; padding-bottom: 10px; padding-left: 15px; padding-right: 15px; background-color: #FFFFCE; font-family: Tahoma; font-size: 12px;">{content}</div></div> I wouldn't go into explaining the JavaScript - it's something I got off the web, though I've lost the link. Just google for it and you'd find it for sure. But here's the arrangement of nested <DIV> tags that create the note. <div id="notice" style="width: 505px; border: solid 2px #FF0000; background-color: #FFFFCE;"> <div id="header" style="width: 505px; color: #FFFFCE;"> <div id="rightbox" onClick="toggle('notemsg', event)" style="width: 15px; height: 15px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/closebutton.jpg); color: #FFFFCE; float: right; cursor: pointer; font-family: Tahoma; font-size: 9px; font-weight:bold;"></div> <div id="leftbox" style="width: 20px; height: 15px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/topleft.jpg); color: #FFFFCE; float: left; padding-top: 0px; padding-bottom: 0px;"></div> <div id="middlebar" style="padding-left: 5px; width: 475px; height: 16px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/notetitle.jpg); color: #FFFFCE; float: center; font-family: Tahoma; font-size: 12px; font-weight: bold;"><b><center>Notice from {option}:</center></b></div> </div> <div id="notemsg" style="width: 475px; padding-top: 10px; padding-bottom: 10px; padding-left: 15px; padding-right: 15px; background-color: #FFFFCE; font-family: Tahoma; font-size: 12px;">{content}</div></div> As you can see there's a master div named noticewhich contains all the rest of the parts nested inside it. Under "notice" there are two more divs - the header that contains the icon, the titlebar and "X" button, and the notemsg div which contains the actual message body. I'm attaching a picture below. This might help you understand the layout better. The 'header" div as you can see from the picture binds three divs, leftbox, middlebar & rightbox - the cryptic paramters along with the divs, are CSS (StyleSheet) parameters which define the size, color, background-image etc - all attributes of these individual divs. Now, while adding these three divs into the header div, you might want to progress in a logical order, i.e. - first the leftbox, next middlebar and then rightbox.. But here's you'll notice something funny - I've added the rightbox FIRST and then added left & middle. WHY I had to do it this way ?? Don't ask me - I still haven't acquired full understanding of how the nested div positioning works - just that when I added the rightbox last it jumped out of the note box and got placed far below in the right bottom corner.. So I figured this out through experimentation.. Don't think much more explanation is needed about the divs. With a little understanding of HTML and CSS2 you can figure it out yourself... Only point I'm going to mention is that notice this part in the "rightbox" div: onClick="toggle('notemsg', event)" <div id="rightbox" onClick="toggle('notemsg', event)" style="width: 15px; height: 15px; border: solid 2px #FFFFCE; background-image: url(http://Xisto.com/misc/bbcode/closebutton.jpg); color: #FFFFCE; float: right; cursor: pointer; font-family: Tahoma; font-size: 9px; font-weight:bold;"></div> This is the part that triggers the javascript collapsing routine and expands/collapses the "notemsg" div. The name (ID) of that div is being passed on to the function as an arguement. The event variable acts as a bi-state toggle switch. When expanded - it collapses and when collapsed it expands.. That's it I guess - I'll be back later and try spruce up the tut and put in some more explanations for the noobs. Notice from microscopic^earthling: Till then, have fun Lol.. I came back and added this as an example of the NOTE tag. I'd completely forgotten about it. Thanks to vujsa for reminding me. Hope the bug gets fixed quick.
-
Difference MySQL And PostGRE-SQL
miCRoSCoPiC^eaRthLinG replied to vladimir1405241474's topic in Programming
Not anymore thedevil.. If you take at the more recent versions of MySQL (4.1.8 onwards) -they've improved dramatically in every aspect... Security wise, features wise .. every way.. THey even support a big factor that was missing earlier on - Transaction Capabilities. That's in action with full force now and so is Stored Procedures (even though it's still in somewhat experimental stage but will be finalized by version 5)... Also the speed of MySQL on Linux (on Web OR over Private LAN) can be matched only if you set up a cluster of MS-SQL Servers... MySQL will butcher MS-SQL on one-to-one comparision . -
Thanks skywalker that new avatar's a Psychedelic Buddha image .. Even I really like it - the color combination is extremely rich and yet blended so well together.. the actual image is BIG and really awesome. As for your other question - the images can be smaller - but then, I'll have to pad them on the sides to get to approx. this 80x56 size. Otherwise the member names list won't show up as a uniform grid. Thanks for converting them for trekkie.. putting 'em up now.. What about your ?? In case you don't have the right tools to resize/resample your avatars - try this: IrfanView ( http://www.irfanview.com/ ) - this one is a really lite and fastimageviewer (similar to ACDSee32) with loads of image resizing and conversion features. Extremely easy to do it with this.
-
No..unfortunately it doesn't auto update - you gotta go submit the keys regularly to get a refreshed image..btw - vizsky - you don't seem to be using too many keys on your keyboard.. lol.. how do you type then ??? Accordingly to a long standing survery - the letter "E" is the most used one in the english alphabet - and that belief was reconfirmed by this software - on my system, E stands only second to the Space Bar.. Your keyboard doesn't seem to have much except U,O,H,C, Enter and arrow keys - what do you use the kb for ?? just gamind ??
-
HI all, For those who join us regularly on IRC and for those who don't as well - now, we have hourly updated channel statistics being published at this address: http://forums.xisto.com/no_longer_exists/ .. For those who have no idea what channel stats mean, just go ahead and take a look at that URL. Also as of today - those who wish to include their avatars along with their nicks on the channel stats page, please mail me your avatars at: microscopic.earthling@gmail.com. Due to space constraints on the page, I cannot accept avatars larger than 80x56 (80=height, 56=width). So kindly redimension your avatars to follow this standard before mailing them to me. Those that do not fit these dimensions will be rejected straight out - and they should all be in .jpg format (I dont mind 100% uncompressed JPEGs - at these dimensions that hardly matters). How would that look on the page ? Take a look at the recent stats - I've got my avatar up already. Also, as of today I've enabled a Gender Tracking feature on the stats page - due to which, all male nicks will be colored a deeper shade of blue and female's will get a pinkish tinge. That'll help distinguish between the chatters' genders. Have fun and hope these colorful stats will provide motivation to many others to come join us on irc and have a hell of a time.
-
Yellow Notes on your desktop, instead of your monitor
miCRoSCoPiC^eaRthLinG replied to friso's topic in Software
Notice from microscopic^earthling: Hey - the new look that I've given the NOTE tag came from this post ..with my own innovations... Just letting you all know -
Seems like our custom Whatpulse signature generator server (http://forums.xisto.com/no_longer_exists/) got overloaded and has been shutdown temporarily. Well the saga never ends - as soon as that went down - there's a new one up which generates a cool little keyboard with color coded keys depending on your keystroke density - i.e. which all keys you press the most. This can be tracked using the same whatpulse client by turning on Key Frequencies recording. The site is: http://www.superrembo.com/misc/whatpulse/index.php - you've to record your keystrokes first, export it to HTML using the wp client and paste the resultant table into this site - that's it - you'll get a nifty little keyboard as shows here.. (I don't like the colors though -- hurts the eye too much).