- Interests
- Networks, Linux, BSD, Java, Web Development, SQL, HTML, CSS, Javascript,JQuery,C++,Java,Artificial Intelligence,…
61 Posted Topics
Re: A couple questions: is the machine a tower? a desktop? or a compact machine? A.k.a does it have multiple hard drive bays? And what are you trying to do? If you switch the hard drives, then your machine will run 32 bit XP. If you have both of them in, … | |
Re: Absolutely! Linux is phenomenal. I recently switched four Win XP desktops in my house to run Debian 6. The amount of control and power you have is in credible. I just installed a debian-based web server as well. It was the simplest job I have ever done... outside of the … | |
Here is the code: var Circle = function( radius ) { var _radius = radius, _area = function() { return Math.PI * _radius * _radius; }, _perimeter = function() { return 2 * Math.PI * _radius; }; this.radius = _radius; this.area = "Area" + _area(); this.perimeter = "Perimeter" + _perimeter(); … | |
I am new to python web frameworks. I am using web.py because I like how raw it is. I am wondering though, how one can produce pages and scripts efficiently when being restricted to sending output through the return keyword? It seems like for any python module you can only … | |
Hello! I am having trouble getting the abspath when entering only an executable file. How can I fix this to return the full abspath? I am taking user input and opening a process (application). Here is my code: file = "/" + arr[2] + ".exe" print(file) path = os.path.abspath(file) print(path) … | |
Hi! I have a work Samba file server on Ubuntu Server 12.04. I can successfully add small files to it like docs and pdfs. However when I try to add a large file, for instance a 1.2gb video file, the server appears to timeout after appearing to be halfway completed. … | |
Sorry, I am very new to AJAX, and I while there are tons of examples out there, it is hard for me to understand. If you could please help me out with my specific example I'd much appreciate it. The AJAX syntax is just very strange to me. Anyway, I … | |
Re: Correct me if I'm wrong, but also, you might be able to implement a RSS feed. I am new to RSS, but that might be a good way to go. Plus XML is fairly simple. ![]() | |
Re: Like they've said, the biggest issue will probably only be the drivers. In the worst case, you won't have a working ethernet driver. This is a bad thing because you cannot automate driver updates without this... (You need the internet to find drivers.) I have had this problem many times … | |
Re: Well with JQuery in general you could get it with '$('#idgoeshere').val();' or '$('.classgoeshere').val();' etc. I'm not sure if Radio buttons work differently though. ![]() | |
Hi, I am used to HTML. What is Coldfusion? Why do people use it? What are the circumstances you would use it. Does it require proprietary software? What are the advantages and disadvantages to using it over HTML? Is it compatible with CSS,Javascript, PHP, and MySQL? What are personal opinions … | |
I have looked into Cast and Convert, but I cannot find a way to do this. I need to convert four digits into an hour format. For instance, 0800 would become 8:00 or 1530 would become 15:30. I cannot use functions, I'm using a special form of SQL. Any suggestions? … ![]() | |
I am wondering how I can hide all divs on the page only using Javascript, I cannot use Jquery. Is there a way to do this without using the arrays that comes with document.getElementByTag? Or if there is not, could you show me how to hide all? Thanks! ![]() | |
Re: As far as beginning JQuery goes, you definitely need to download and link to (or just use an online host like Google) it every time you intend to pull from the JQuery library. That's sort of a 101 on the 101 if you understand. ![]() | |
Hi! Does anyone know of any worthwhile machine language OSes to try? I just learned about them in class. It's an interesting idea in terms of speed and portability. I could only find two online, one was in Russian, and the other was MikeOS. Does anybody know any other OSes … | |
I just thought of this and was wondering if it is possible. So similar to how you can relatively reference a parent folder using ../. Is there a way to access a parent directory if a domain name is associated with a sub-folder. For instance, on my server, I have … | |
Hi! I recently created a website that has a contact form that sends an email with the PHP Mailer class. I had to use my gmail account because I cannot get my LAMP server's SMTP protocol working... In my mail.php file, I display the password and account quite openly as … | |
Hi there! I'm new to MySQL. What security measures should I take to ensure security of my databases? Any keywords? For instance, often times when logging into the DB, you must enter the user and pwd to gain access. How can I make that more secure? It's obviously in plain … | |
I am trying to check for the background of an element, here is my code. But it doesn't work: I tried two ways, here is the first: function changeColor(field) { if(field.css('background-color','#ffb100')) { field.css('background-color','white'); } else { field.css('background-color','ffb100'); } } here is the second: function changeColor(field) { if(field.css('background-color') === '#ffb100') { … | |
Re: @Jorge, this isn't exactlty relevant, but as far as your original post goes, VMs are only as good as his CPU and/or RAM. It's only the best choice if your machine can handle it, otherwise you could come out thinking Windows performs much faster than Linux, which is often not … | |
Re: Is it possible to make sites like that without flash? I hate how flash is proprietary... It would be great to know I could aspire to something like this^ without flash.. | |
Re: Your post is kind of vague, which image is the header? The one with the Einstein quote or the one on top? And the navigation is the row of links? Sorry, just trying to understand what you want to happen. | |
![]() | Re: bumping this. postfix/setting up a mail server is an absolute pain in the butt. I'm trying to figure out this as well. |
Re: I'd suggest Ubuntu over Xubuntu, much better documentation and a mch better desktop environment. Also, try plugging your laptop into an external monitor just to check that your screen isn't broken. | |
Re: I disagree with the VM approach. Unless you have a fairly new machine, VMs can be very slow. To truely get a feel for linux, I'd suggest using Ubuntu's Win Installer. I wouldn't worry about getting a whole new machine, that is unless you have a 40gb HDD or really … | |
Re: It can be complicated. Are you using a SQL server you are hosting? or is it hosted from another site? | |
Re: Does it have an external monitor output? Have you tried using that? (Not as an overall fix, just another test for the motherboard) | |
I am not an affiliate of 000Webhost. I just really appreciated what they had to offer. I don't use them any more because I run my website from my own LAMP server. They offer PHP, MYSQL, free emails, etc. It's a pretty incredible package. It took me a long time … | |
How can I execute a function that will run while the client is waiting for the server response? Here is my code. I looked up and found a .load() function, but how does that fit into this? Any help would be great! Thanks $.ajax({ type: "POST", url: "mail.php", data: {name: … | |
I am a new PHP developer, I run a LAMP server but use Win 7. For the PHP Developers out there, is it much more helpful to have a local WAMP server? I can see how it would be nice to be able to develop without uploading every four seconds … | |
Re: You might use absolute positioning within a relatively positioned container div. This would allow you to overlay your picture with text. | |
Here is my code for this page: phileaton.est-a-la-masion.com/Day Care/contact.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META NAME="description" CONTENT="Looking for an affordable daycare for your child? Are you worried that your precious one is not learning basic skills? If so, this … | |
The issue I'm having is that I need to add a second stylesheet to my web site. But I'd rather not update the 20+ HTML pages with a <link href="" /> code. Is there any way to link from the existing stylesheet to another? That way I only change one … | |
Hi! An issue I'm having is using CSS's font-family code to change the font of my website's text. However, the issue is that the font I need is not native to Windows. I know I could download the font and view it like that. But this is of course not … | |
Here is the code I'm running into an error with: FROM IndexPID INNER JOIN Demographics ON IndexPID.NDoc_Number = Demographics.NDoc_Number, PatientSupply INNER JOIN Demographics ON PatientSupply.NDocNum = Demographics.NDoc_Number I also tried it this way: FROM IndexPID, PatientSupply INNER JOIN Demographics ON IndexPID.NDoc_Number = Demographics.NDoc_Number INNER JOIN Demographics ON PatientSupply.NDocNum = Demographics.NDoc_Number … | |
Here is the code I have in contact.php: <?php mail('philovesdogs@gmail.com','sdf','sadfsad'); echo 'Ok'; ?> I put the echo in just to make sure that PHP was working on the page. I uploaded the page to my LAMP server and opened the page. I saw 'ok'. I checked my email however (and … | |
Hi! I am making a simple box and inner box. The outer box is white and the inner box is purple. The inner box width is static (95%, i understand this is not necessarily static, but in the context of the height you'll understand) but the height is set to … | |
Is it possible to create your own email? I.e. host your own email, perhaps '@67.201.13.165'? I know you can build email servers. But is it possible to feature your own email "account"? Thanks! | |
Hello! I need to write a query that selects TableID (a previously concatenated string) and also selects a substring of TableID as another column. All data in TableID is in the format %System.Variable, %Class.User, etc. I need to select from the % to the '.' to return something like %System … | |
Re: I'm a little rusty on php, but is this what you are looking for? http://php.net/manual/en/function.str-replace.php | |
Re: I agree with khajvah, Windows should be the host, but for a different reason. Ubuntu Linux, which I suggest you use, is one of only two Linux Distros (that I've seen, the other being Debian) that has a windows installer. (And Debian's win installer wasn't half as easy). Using a … | |
I need to order these dates in descending order (last should be first) and in fact how they now appear. However they do not necessarily appear like those so I need a SQL Order By clause to order these descending: 2012-01-23 09:53:24.097105 2012-01-20 17:31:57.565458 2012-01-20 17:01:09.154587 2012-01-20 16:28:40.685735 2012-01-16 12:03:54.99954 … | |
Hello! So I just installed Ubuntu Server 12.04 on my machine. I have the web server and SSH server working, you can acces both from the internet. However, every time I attempt to run update or upgrade commands from SSH, it fails to do so, resulting in a similar error … | |
If you cannot ping any websites and cannot get updartes or upgrades, you might have a nameserver issue. GI just installed a fresh copy of Ubuntu Server 12.04 and this has been an issue since I installed it. I did not know what to do, but I check the /etc/resolv.conf … | |
0 down vote favorite I am trying to write a script that will return the latest values for a unique documentid-physician-patient triplet. I need the script to act similar to a group by statement, except group by only works with one column at a time. I need to date and … | |
Having trouble dual booting Windows and BSD? I was! I highly recommend using EasyBCD to add in an entry to the windows boot loader. I couldn't get the Windows bootloader to recognize bsd, but using this I could! I am not affiliated with the company, but it has done me … | |
Hello! My issue is that I have to disc readers. One DVD RW and the other a CD RW. I have to slots for them, I plugged them both in, power cables and connector cables. Howeverm the computer only reads that there is a CD RW drive in it. I … | |
Re: As Chri suggested, using Wubi might be a good idea. I had the same problem when I installed Ubuntu from disk/usb. I'd suggest uninstalling ubuntu from windows (control panel) and reinstall using Wubi (which installs ubuntu from windows gui and allows for partitioning i believe if you don't already have … | |
Re: I'm not entirely sure what you are trying to do.. If you are looking to add HTML pages (or the like) you will add them in the directory /var/www/. It's pretty easy to find once you know what it is! | |
Re: two good ways to guarentee centered in setting margin-left and margin-right to auto also if you know the width of the thing to be centered: position: absolute; left: 50%; margin-left: -(WIDTH OF CENTERED THING DIVIDED BY TWO WITHOUT THESE PARENTHESES) this second code moves the thing-to-be-centered by 50% of the … |
The End.