Jump to content
xisto Community

iGuest

Members
  • Content Count

    72,093
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by iGuest

  1. That sentence does not seem right to me, but then again, English is one of the most complex languages and hard for non-english speakers to grasp."While I was at school, my teacher taught us the alphabet. I was sleeping and did not learn anything""Later in the day, I went home and told my mum (mom) that I had learnt nothing about the alphabet because I was sleeping/asleep.""I realised, I had slept in class and had missed learning about the alphabet"Maybe the Programming committees can work on standardising the English language Remove some of the words that mean the same and leave it just with the basics, make those double up deprecated. I'm just joking, but that would largely simplify the english language if we didn't have so many things that meant the same thing, yet could confuse others."Take a seat"We know what that means, but to others, they could question where to "take" that seat because of how they understand "take" to mean "get, grab, and other meanings that mean the same".If it were"Sit down, on a seat"It might be easier to understand, though I'm questioning that too.All in all, english poses some difficulties of getting the right message through which is a barrier in communications.Cheers,MC
  2. MC, When I was in Elementary grade school here in Canada, the more correct version would've been:"Today, in school, my teacher taught us the alphabet, but I was sleeping, and didn't learnt nuthing."Of course, I would support your desire to create a Parser that would recognize the difference between the several versions of English. There is even a distinct version for en-Ca. We have some words we like to use which are variations on both the en-gb and en-us. Also, the new Parser would have to define an 'eh' as equal to a 'huh'.
  3. Hey Lonebyrd, Come on over to the Trap and get posting. Even if you don't need the posts to get Hosted there, you can start by building up a little nestegg. I think you will discover that there are lots of topics to post to if you have any ambition at all.Look forward to seeing you there.
  4. What has this got to do with programming? Well...I have found that most programming languages that I use take on the american spelling, in which I usually get caught out because en-NZ is based on en-GB, recently got caught out with validating CSS with using the colour grey:gray is a color (en-US)and grey is a colour (en-GB)Notice which one I would use? including the spelling of colour. Although I don't usually use colour names, just that what I was doing had to be quickly written up, and had no time to make it look good, it's only a draft of many good things to come. It was only when I validated that it had shown as an error, and this was the only error.The only way I could see this being fixed if both en-US and en-GB were both accepted to use and that the user agents, compilers and anything else that relies on these different spellings but same meanings could understand those differences. We could just alias them to the other if needs be, it shouldn't be that hard right, but then it would come down to what are all the different variations, I only know a few.Now I am wondering what is the best to use if you were to translate documents, is it easier for documents to be translated from en-GB or en-US or does this not matter?What should we use on a global scale and is more widely accepted?I know that here in NZ, we're now allowing the acceptance of spelling with en-US, although I question some of the things, e.g. learnt vs learned.When I put those in a sentence, the only way you can tell whether I'm using the 't' or 'd' is to emphasise (emphasize) it.I learnt my alphabet today.I learned my alphabet today.Cheers,MC
  5. Hey pyost, First of all let me explain my intentions for this, both have different uses and are based off W3C's XHTML element tags. The effects are the same, except their tag uses in XHTML are different. For acronym's from a web accessibility side of things, if you use a voice reader for websites the word is actually spoken as a whole or spoken character by character. The abbreviation however is read as a whole word. The styling is kept similar as there's no need to differentiate what tag is what, as long as you understand that in this style, you can hover over it to understand what it means, no need to confuse them with two different looking formats, and I'm sure you'd be able to understand which is acronym and which is the abbreviation. If you wanted to use a shorter version of a word, say no., then you can also provide the full word of what it means, mainly an accessibility issue really, but it's informative for people who don't know what you mean, especially if translating is required for those who are not english speakers. If I wanted to use initials like TV, then using the right method for it is beneficial for voice readers who may speak either the initials of the word or the whole word, depends on settings. The tests are [ acronym=television ] TV [ /acronym] for initials and [ abbr=number ] no. [ /abbr ] for abbreviations, If uncertain of what to use, always use acronym because it can be handled both ways by being spelt out to the user or spoken the word in full. In which case it provides the user better understand. For us visual browser users though, it may seem irrelevant what means we use but if we get into more professional looking article formats (in which I'm deciding on how to create more BBCodes related to this) then by providing these means, we'll have better success with our readers who could have some disabilities as we are not detering them away because they can't make use of our resources we provide. Cheers, MC
  6. What's so great about notepad++ that it replaces all the other editors available for Linux?Remember I have not used notepad++ but am just looking into it, especially the porting side of things, that's something I enjoy doing.Also noticed from it's website that it used part of Scintilla, how does ScinTE differ to Notepad++ since that would be interesting to know. Could turn out that writing a new editor using Scintilla might be more effective than porting Notepad++?Cheers,MC
  7. Yes, I remember them, too. And using cassette recorders for program and data storage. Everything came out sequentially off the tape. It could take a while to find the right spot on the tape... And I absolutely agree with the comments about 'wasting'a DB to store a couple records for the menu info and other small pieces of info like page counters and all. Unless maybe using it as a training tool?? So, Vujsa, how does the x counter increment in that Photo Gallery Script?
  8. Hi everyone, Im wanting to change from phpBB2 to a phpNuke Board.. and all my members and posts.. can anyone help me out with this? :lol:And also whats the difference between phpBB2 and phpNuke, is Nuke portal based? Or is that just a mod people put on.
  9. Danggit, Vujsa beat me to it: http://forums.xisto.com/no_longer_exists/ The Source Code for the scripts are included (literally) on the different pages on the Demo, including the Contact / Email script. The only page not there yet is the Message Script. Maybe tonight I will upload that. This one uses a little bit different approach. It is a little simpler in spots (no header change-up), but does a little bit of query-string checking to confirm that the contents of the page are actually available (file_exists())and an allowed page content before serving it up. The 'allowed page content' is done by checking against a flat-file containing an array of acceptable query-string contents. I had another part of the script working to check against the contents of the third column of the menu_data.txt file, but it fails on the Xisto server and I haven't sourced the problem, yet, so this array check is a temporary measure. Also, there is a Conact, or email script which writes to a text file as a repository for messages received from the site in case for some reason the Mail() doesn't work for the Hosting service. (ie: Xisto.net disables the mail() on the Free Hosting Accounts) I have written a script to extract and print them also, maybe a Tutorial about that will be next? Also, I have used a 'fixed' header and sidebar approach to the template design which some of you might find interesting. There is a conditional statement there to utilize a different css file for the page structure of IE, due to the Browser differences, this was the way to make it 'cross-browser friendly'. Since I don't have an IE6 Browser, I will only state that the responses I have received are positive. I haven't actually seen the page in an IE6 Browser yet, so I don't know if it explodes or not. If the Alt= for the menus are removed, the page validates to the w3c standards set in the DTD. (html 4 strict). Can someone tell me if IE6 still requires the Alt= for tooltips? Or can they be removed and have the title= displayed instead? Anyway, thanks Vujsa for your Original Topic. I found it quite valuable as a guide to learning the php required for this scripting and it has opened up an entirely new perspective on the Web Sites I intend to build in the next short while. I hope someone else might be encouraged by this sample I have added to the Topic. And as Vujsa stated up in his Posting, the greatest advantage of viewing these codes and Templates is not in 'sniping' the code to install the files as a website, although it is possible to do that, the greatest value to be received is as an enticement to proceed on the path to learn the language and develop an understanding of the uses for the tools which php provide. If you want to use the code, PM or email me and I'll zip a set to you, but you wil receive much more benefit from writing your own Templating System. And it will be easier to modify or maintain because you are familiar with the parts, what they do and how they operate. Having said that, if you want / need a copy of the code, let me know and I'll pass you the zip file. Thanks for showing some interest in my scripts.
  10. Oflate I was going through Google information for webmasters and I noticed the following technical guideline for the webmasters: It clearly shows that undesired session IDs may have adverse effect at least for two reasons : 1)Duplicating content! and 2) crawlers may enter into an infinte loop and access the same page repeatedly as it may not be able to eliminate URLs that look different but actually point to the same page. However, I could not find any suitable method either for allowing the bots to crawl my site without session IDs or to remove the undesired session IDs from the url. I searched for a solution and got this one: ini_set( 'session.use_cookies', ( int )1 ); ini_set( 'session.use_trans_sid', ( int )1 ); session_start(); But it did not work for me. Now is there any other way to remove undesired session IDs from the URL? or am I making some mistake in handling sessions. Thanks in anticipation of some good advice. Regards, Sid
  11. Google on xampp. It is a bundled package containing Apache, Mysql, Php, Perl, phpadmin , mercurymail, and a whack of other stuff. I installed it about a month ago. No problems.
  12. Education is good, A+ certificate is probably a waste of time, why? Because this can be gained without going through any training institution, you just ring up any A+ authorised center and can book an exam and sit it. I wish they took this more seriously.This means you can pass without going through any training provider, no hands on experience, etc. You may have to use a book/cd though but you skip even practical skills and avoid the huge costs of the training provider.If you are deciding on doing A+ and are looking for a career as a computer technician, I would first suggest you start asking companies like HP, Acer, Dell, etc whether they're taking on apprentices, or if they would be willing to offer you a job after you get your A+ and try to find out how much they actually value that qualification, and find out what qualifications they highly value (which would probably be the better choice to go for). Securing you a job first or getting the right qualifications is better than doing the certificate and then discovering that you're not wanted or valued. Don't find out the hard way, than some of the people I know, who work in Video Stores, Fast Food places, etc.Cheers,MC
  13. Usually if my X Server doesn't load, I'm presented with the option of trying to start it again, or seeing the output and fixing it.It's always a good idea to have a rescue disk handy, even if it means using Knoppix as such a disk. You should always make backups of the files you alter so that you can easily revert back to it.As for logging into terminal from grub (using Fedora), is editting the conf file and instead of doing init=/bin/bash just add 3 to the options part of the kernel root location, e.g. root=/dev/blah2 rhgb quiet 3Which will get you into runlevel 3, you don't need rhgb (red hat graphical boot) or quiet (hides services/processes) to be present there, I just put it in, because it's usually default for some people and probably easier for people to recognise it.Cheers,MC
  14. Check if Adobe can save as Postscript files. On Linux you can use any of the Postscript Editors, like KPDF or KGhostView or better yet, just use the other tool that GhostScript gives you which is pdf2ps. The reason I used the editor was so when I viewed it, I could see if it looked any different, and then when I saved it as .ps, I opened it to make sure it still looked the same. Maybe I should write a full on tutorial on this with screenshots, etc and step by step process of what I did. I should try and find more information on this though and see if there's any better techniques than this. Cheers, MC
  15. Hey XIII, Well I assume you use Windows, I use Linux myself and a tool called ps2pdf (I think it's available for Windows too), in which the file I write first, is a postscript file (.ps extension), then I convert to a pdf from their, the default values of ps2pdf is enough, e.g. UseFlateCompression=true and CompressPages=true. What ps2pdf is suppose to do is create compatible Adobe PDF files, it succeeds in my case. If I'm using OpenOffice, I export the document as a PDF, open it in a PostScript editor then save it as a ps, then use the ps2pdf command. It turned my 500KB file into ~50KB compressing it 90%, I even tested it by emailing it to people and seeing how it would look on their computers, it appeared exactly how it should have, though I must admit I don't splash documents around with too many fonts that would not be available across different systems otherwise embedding fonts would increase the filesize but it did have borders and font formatting, which remained perfect. The reason I came about this, is exactly why I don't like MS Documents, because I use OpenOffice, I knew how portable PDF files are, but discovered the large size that the files became, so I needed to find a way to compress them, and the above is what I came up with, but there could be even simpler methods out there, this was the first thing I had done that worked for me, if I discover any other ways, I'll keep everyone informed here. The other alternative to ps2pdf is Acrobat Distiller, which might even produce smaller again, though it's not as robust as ps2pdf. You would have to look into how to use Distiller, as I have not use it in a long time and can't remember the exact process to do such a thing. Cheers, MC
  16. Ubuntu seems to be making good grounds for new comers, so I'd tend to push you that way.I have only played around on Ubuntu, but my preferred distribution is Red Hat/Fedora Core which I've used for many many years. I hope there's many helpful Ubuntu users around who could help with your problems but usually Linux problems can be solved no matter what distribution (unless of course it's specifically a problem with that distribution/kernel).Go with Ubuntu, you can test the live CD out before you install it to see if you like it, you can also order the CDs from Ubuntu's website for free and they'll ship them to you at no cost. Just remember, Linux is not a replacement for Windows but an Alternative though some people, including me, have made it a replacement.Cheers,MC
  17. That site is good, and I think we should use it to show our speeds, I had to download the Java plugin though and install it for my browser because I've just recently installed Fedora Core 5 and did not have java installed. To make this informative here's how you'd install Java for Firefox 1.5+ on Fedora Core 5. First download the Java plugin from Sun's site, clicking on the Install Missing Plugin bar that appears and then clicking on Manual install will take you to the site. Download the self-extracting RPM (anywhere in your home directory would do). Once downloaded open up a terminal and browse to where it is then do: chmod +x jre-1_5_0_06-linux-i586-rpm.binsu -c "./jre*.bin"cd /usr/lib/firefox-1.5.0.1/pluginssu -c "ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so" Then refresh or restart firefox. Here's my results of only doing it for 1minute, if it were longer I might have made errors: (grayscale image, stripped out colours to make it smaller) Results:Test name Strategic Alliances with CompetitorsGross Speed 86 WPMErrors 0 WordsNet Speed 86 WPMAccuracy 100% I am impressed with my score as I've seem to accomplish 1 more word, but I'm still going to say I'm averaging 85 WPM, maybe near the mid year and end, I'll redo another test from that site and see if I've improved. Thanks for that site, it's excellent. Cheers, MC
  18. chmod 777 still does nothing in this sense though because the problem is still related to user rights and could be SELinux which provides even more security than permission settings. What's important to understand is who can access your home directory and what rights do you have on your own home directory (chmod 700 by default), understanding this, and not thinking linux screws up permissions (who knows maybe linux could have?). This isn't about FTP though, this is just something that's standard no matter what means you log in as and if you couldn't perform any of your users regular actions against your own home directory, then you would question it, but do not think FTP is any different to normal login, SSH, etc, it uses the same principles, if you can write to your own home directory under normal login, then FTP should be similar (depending on the configuration file). Then thinking about how the FTP worked, you can see from the config that local users are allowed to login, in which they get transferred to their home directory (remember only an owner would get transferred to that directory, other users would get transferred to their own home directory but from there on they could browse your directory if you gave it chmod 777 and you don't chroot users). Super Users shouldn't be allowed FTP login, so it'd be safe to assume they're not on FTP. That's why I'm saying chmod 777 is silly, I prefer teaching people to understand why there is no need for this (also understanding the difference between local user access and ftp user access), and is always an alternative to discovering what the problem could actually be. If there ever was a need for chmod 777, then it's possibly because you're trying to allow a user who is not the owner full rights, but why make all users have this, just limit it by sticking those users in the same group and having chmod 770. Although the only time that you may use 777 is when you can't put the user in the same group, e.g. it's a server that requires full rights (not likely) to that directory but I have never come across the needs for explicitly allowing 777, it's best to fine tune it to only allow what they need and probably not use your home directory for such activity and create a more general directory for this to take place like I explained with the above instructions when creating /home/public_ftp which doesn't allow writing but you could change that if you wanted to let users upload. Cheers, MC
  19. I'm just hoping MS leans more towards using Open Document Formats for their documents instead of all this proprietary document means.I use OpenOffice, but for better portability I turn my documents into PDF, don't worry, with the compression techniques I use on it, it is sometimes comparably smaller than any MS Document, though that's not using compression techniques on the MS Document (if there is any?).OpenOffice does what I need it to do, if it didn't I wouldn't use it. I don't really care about the features MS Office has, I probably would have only used 10% of those features. I wonder how well MS knows their product and if they could tell the difference from an MS Office produced document and an OpenOffice produced document.Cheers,MC
  20. What are we testing, since some of these results above seem quite odd. Is it characters/strokes per minute (c/spm) or words per minute (wpm) and how long can you maintain that speed for?My average is about 85 wpm which I can maintain for a long time (never really tested that aspect).Anything above 100, especially in the 200 wpm range is definitely enough to enter world records, but it also comes down to how long you can maintain it.If anyone uses the Dvorak keyboard layout, then I'd probably understand why the high speeds, I just use normal qwerty and would change to dvorak if it was more common, otherwise I'd spend more time teaching myself how to switch between both types of keyboards.How smart do you want the keyboard, why not the program you use? I'm positive there's many out there that uses predictive typing now, except it's usually based on the main dictionary you've got installed on your system.Cheers,MC
  21. Hey M^E,Well since you have SELinux, I updated the above just to help you out in that situation, but SELinux is quite a lot to take in and even with everything I've read about it, sometimes it's easier just to turn the thing off, but one day I'll be comfortable with it, just have to keep learning more and more about it.As for those chmod permissions, I think it's silly to actually allow things like 777, either 775 would be sensible or 755 on directories/executables (750 on cgi-bin, 700 on your home directory) and 664 or 644 on images/text files/archives, becauser user/group are the same, but in some cases you may have a users in the same group that you don't want to allow writing to that directory.Cheers,MC
  22. Hahahh, I have to admit, this game does not look at all any good. The video trailer wasn't even scary, more like sad and funny XD Who knew that stabbing through a skeleton would hurt it haha. If it hit a bone and shattered it, then that would've been more better. This just went right through him, and the skeleton was in pain.From the looks of the game itself, there seems to be a lot of reused animation, and I even admit, might be animation based of other games fromt he looks of it. I swear that ice attack looks familiar, but I can't put my finger on it... I don't really think this game will last very long, or is it dying already? Whatever, another Korean game gone to waste in my opinion. BTW topic creator, you might want to check for plagiarism.
  23. The heck?! That's some odd stuff there >_< I don't even know how it can be possible! Haha, though it does seem like a cool futuristic idea, I wouldn't mind seeing how it goes. How safe is that thing though if it's out? There's a high probability of brain cancer, or even brain deterioration isn't there? If so, I don't mind seeing how it goes still haha.
  24. Reading NTFS is fine, writing however is risky. The reason is, how windows handles NTFS is that changes like writing to it also are updated in Windows to allow it to know what happens, possibly changes made to the registry or something similar, so that it keeps an idea of what it has done. So if you write it from Linux, Linux does not do the update that Windows needs to know the changes and could cause problems with windows finding unknown things. However, I've taken the risk (because I don't care if I destroy my Windows), and have had no problems, as of yet, however it does require you setting it to be able to write, since it's disabled by default.You'd be better off using FAT32 to be on the safe side though, so you'll need to figure out how you can do that. Possibly using Computer Management found in Administrator Tools, delete the partition, redo it and then format it in FAT32.Cheers,MC
  25. Hey M^E, I just did a clean install of FC5 not so long ago (was using FC4), so vsftpd setup will be one of the things on my to do list, although I prefer SSH/SCP/SFTP over this. Windows usually defaults the FTP Server to Active while Linux defaults usually to Passive. Firstly I would configure the firewall to allow FTP, which you've probably done. I would also disable SELinux (bad idea I know, but too much hassle in configuring, especially if you want to use an httpd directory as a directory for ftpd, disabling SELinux can sometimes make things work, it was the only possible solution to get my printer working on the network). I'm going to start from the beginning, for those who may or may not have vsftpd or it even running: First to check if we have vsftpd: whereis vsftpd If it returns a location like /usr/sbin/vsftpd then we can safely assume we have it, if not, we'll install it: su -c "yum -y install vsftpd" Now to check if it's running: pgrep vsftpd If nothing returns, it's not running, if a (PID) number returns then it's running. or we could do: netstat -a | grep ftp And if it returns a connection that's listening (LISTEN) then it's running and waiting. So if it's not running, lets set it up as a service to run everytime our computer starts, and also the one off command to start it for this session we're in: su -c "/sbin/chkconfig --level 345 vsftpd on"su -c "/sbin/service vsftpd start" Now would probably be a good time to configure the configuration file for vsftpd, vsftpd.conf: (I use vim as my editor, use whichever one you like) su -c "vim /etc/vsftpd/vsftpd.conf" The lines that I altered: anonymous_enabled=NO ftpd_banner=Whatever Welcome Message You Want To Present chroot_local_users=YES chroot_list_enabled=YES chroot_list_file=/etc/vsftpd/chroot_list Next I create the chroot_list_file, which contains local users that are allowed to get out of their home directory: su -c "vim /etc/vsftpd/chroot_list" Add whatever users you want to allow access outside of their home directory, or just save it and leave it blank. If SELinux is enabled, there's more steps you would need to take, but I'm leaving it disabled, so won't provide configuration for it, but if you're wanting to look into this, then "chcon" is the command you'll be looking for. Actually, "chcon" would only work if you actually created the policy for it, though you should be looking at using "public_content_t", so instead I'll just give an alternative that should allow uploading from the allowed users: the alternative su -c "/usr/sbin/setsebool -P ftpd_disable_trans 1" What setsebool does and you could do manually is creates or appends ftpd_disable_trans 1 to /etc/selinux/targeted/booleans.local, so you could create this file manually, or append that line onto it. Let's restart vsftpd: su -c "/sbin/service vsftpd restart" Next is creating our public FTP location for additional users, which they're required to login, as there's no anonymous users allowed. This will only be read-only for these users, so it's a means of controlling who goes on your FTP server, and also so you can place files here so that these users can access them. First lets create the group: su -c "groudadd ftp-users" Next lets create the directory: su -c "mkdir /home/public_ftp" Now to make it accessible to the ftp-users: su -c "chmod 750 /home/public_ftp"su -c "chown root:ftp-users /home/public_ftp" Next would be adding users you want to be able to access this directory and setting their password: su -c "useradd -g ftp-users -d /home/public_ftp UserNameHere"su -c "passwd UserNameHere" Run this command as many times as you need to create additional users. Now all you would need to do is place some files into it for it to be accessed by these created users. We change the permission of these files to read-only: su -c "chown root:ftp-users /home/public_ftp/*"su -c "chmod 740 /home/public_ftp/*" Restarting vsftpd would be a good idea now. I think I've covered most of the general things, I will later talk about how we can create our FTP for making modifications for our web hosted files but will leave that till another time. Cheers, MC
×
×
  • 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.