Wikipedia:Reference desk/Archives/Computing/2008 August 6
|< August 5||<< Jul | August | Sep >>||August 7 >|
|Welcome to the Wikipedia Computing Reference Desk Archives|
|The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.|
- 1 August 6
- 1.1 computing medicine
- 1.2 Swf file?
- 1.3 What is this chatroom layout type?
- 1.4 Transferring audio from tape to mp3
- 1.5 Wikipedia Search Field with Autocompletion
- 1.6 Gadgets
- 1.7 Hotmail Contact List
- 1.8 refresh
- 1.9 Which Apple was the first to have 3D graphics?
- 1.10 PHOTO RESOLUTION
- 1.11 wii power saves problem
- 1.12 Tabby question
- 1.13 PATCH PANEL AND SWITCH
- 1.14 DNS reverse lookup
- 1.15 Dev-C++ Compiler
- 1.16 Setting up Linux router / web server on home network
- 1.17 Problem defining a boolean operation
- 1.18 A neutral name for a XP user account?
- 1.19 Malware Transfer
information on the topic computing medicine —Preceding unsigned comment added by 220.127.116.11 (talk) 02:16, 6 August 2008 (UTC) the use of computers and IT in manufacture of medicines —Preceding unsigned comment added by 18.104.22.168 (talk) 02:21, 6 August 2008 (UTC)
- You fail to understand how college courses work. Your teacher is looking for the answer and its wording from the book. In addition, your question is so insanely far reaching as to make it meaningless. Thats like me asking "Information on fish in the ocean". --mboverload@ 02:30, 6 August 2008 (UTC)
- This google search returns some seemingly useful links. Zain Ebrahim (talk) 12:24, 6 August 2008 (UTC)
- The file extension ".swf" is usually associated with Flash. To play the game, open the file using your a browser. If you have the flash plugin installed (most computers), it should work, otherwise you will be confronted with a blank page. Rilak (talk) 06:30, 6 August 2008 (UTC)
- If you don't have flash installed you could try this - a portable swf player that doesn't need installing. - Sorfane 08:41, 6 August 2008 (UTC)
What is this chatroom layout type?
I need someone to know what this chatroom layout type I seen on a website is. Here is a picture what the chat layout type is like: http://i66.photobucket.com/albums/h241/sirdrink13309622/Eucromozz/000k.jpg?t=1218000933
- As far as I know there isn't any classification system for chartrooms. I'm not really sure how to answer your question. Perhapses if you can explain kind of information your actually looking for or what your trying to accomplish we can help you more? ---J.S (T/C/WRE) 19:21, 8 August 2008 (UTC)
Transferring audio from tape to mp3
i want to transfer some audio cassette songs to computer(mp3 format). (in otherwards to copy a radio program in computer?). Could you recommend any free software and how to do it. Thank you 22.214.171.124 (talk) 08:42, 6 August 2008 (UTC)
- You need one of these a 3.5mm patch cable. (You probably already have one.) Just plug one end to the line out of your cassette player, and the other end into the line in of your computer and that's all the hardware setup you need to do. The best software for this would be Audacity. This tutorial will explain how to record tapes in Audacity. - Sorfane 08:50, 6 August 2008 (UTC)
Wikipedia Search Field with Autocompletion
I would like to include the Wikipedia search field with autocompletion for Wikipedia article names into a website. How can I do that? —Preceding unsigned comment added by 126.96.36.199 (talk) 09:31, 6 August 2008 (UTC)
- It requires some coding on the backend. See AJAX or use the MediaWiki source as guidance. --Sean 14:06, 6 August 2008 (UTC)
- I found out that a query should look like this:
- I found out that a query should look like this:
I ask this question at the help desk yesterday here, this is what I asked:
|“||Hi there, I'm not too sure if I should ask this here or at the Computing Reference Desk, so if I've picked the wrong place people feel free to move my question over. My question is about the Gadgets in My preferences; is it possible to run the scripts under Greasemonkey? I have a local Wiki and I'd like to use the scripts without installing, because I regularly erase it and start a new installation. It would be enormously helpful if I could run them from my Firefox browser using Greasemonkey to avoid having to reinstall the scripts each time. Thank you for your help. ZapThunderstrike (talk) 18:29, 5 August 2008 (UTC)
Nobody at the help desk seemed to know so I'm hoping someone here will be able to help. Many thanks for taking the time to read and for (hopefully!) responding. ZapThunderstrike (talk) 09:54, 6 August 2008 (UTC)
Hotmail Contact List
Hello, The thing is, when i send mails from Windows Live Hotmail, the Contact List i get on the right side of the page, includes all my Contacts(entitled Everyone). So my question is, How can i change it to Favorite only. Thank You.188.8.131.52 (talk) 09:54, 6 August 2008 (UTC)
- You don't say which browser you're using but this extension will do it in Firefox — Matt Eason (Talk • Contribs) 11:07, 6 August 2008 (UTC)
- This HTML will make Google.com reload every 15 seconds:
- Just change www.google.com to whatever page you like, and 15 to the amount of seconds you want. Save it as reload.html, then open in your browser. - Sorfane 11:59, 6 August 2008 (UTC)
- One comment, though: Trying to read a page that's constantly reloading could be quite annoying, as they tend to blank out the entire page, then redraw it one item at a time. If they used a more intelligent redraw, and only replaced items which have changed, then a reload wouldn't be nearly as disruptive. StuRat (talk) 13:20, 6 August 2008 (UTC)
- Assuming you have access to the source of the page you want to auto-refresh, just put the second-to-last line in the head of the page and change http://www.google.com to the URL of the page itself. I agree with StuRat though - if this is a public-facing page, this can get very annoying. — Matt Eason (Talk • Contribs) 15:27, 6 August 2008 (UTC)
- Firefox has its own timelapse reload built right in. Just right click the page, go to reload every, and then choose the amount of time that you need. hope this helps. Sish (talk) 14:14, 6 August 2008 (UTC)
- One other option, download XuMouse:  which can click or move the mouse every 5 secs or more, set it to click every 5 secs, then position it on the refresh/reload button. This assumes you don't need to use the mouse or scroll the page between reloads, but has the advantage of working in any browser. StuRat (talk) 16:14, 6 August 2008 (UTC)
- Here's a simple replacement to the code above that will load and auto-refresh an external site:
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <META HTTP-EQUIV="refresh" CONTENT="5;"/>
- <body leftmargin="0" topmargin="0" bottommargin="0" rightmargin="0" marginwidth="0" marginheight="0">
- <iframe src="http://google.com" width="100%" height="100%" border=0></iframe>
- It's not perfect at all—it doesn't quite fit the window (for no good reason the "100%" height is calculated based on a size other than the inner window dimension, which is dumb), and it's in an iframe meaning that there is an internal scrollbar, but if what you're looking for is just a quick way to have a page get refreshed regularly, it'll work in a pinch. There are other ways to do it. --184.108.40.206 (talk) 17:30, 6 August 2008 (UTC)
Which Apple was the first to have 3D graphics?
The last time I asked this question, someone with this IP address: 220.127.116.11 removed my question and rudely left a message on my user talk. Before you blindly remove my question again, please take the time to look at the following: my user page and my contributions before assuming that I am some primary school student who wants someone to do my homework.
I'm asking because I want to know without all the seriousness of the more formal research that I do for other computers. So, once again what Apple computer was the first to have 3D graphics? Was it made by Apple or by a third party? What was it capable of? Thanks. Rilak (talk) 11:05, 6 August 2008 (UTC)
- (1) What do you mean by "have 3D graphics"? There were demo programs for my Atari 400 that showed 3D-looking balls bouncing around on a checkerboard with 3D perspective, but the computer and operating system did not have any features to specifically support such graphics (e.g. 3D acceleration). (2) If you're asking about "Apple computers", then how could it be made by someone other than Apple? -- Coneslayer (talk) 11:50, 6 August 2008 (UTC)
- "3D graphics" means that the computer should be capable of generating 3D images through hardware assisted acceleration - eg. an option board with a geometry engine. As for "If you're asking about "Apple computers", then how could it be made by someone other than Apple?", I was referring to whether there were option boards that were made by a third party (if Apple didn't make any themselves) that could have given an Apple computer 3D graphics capability. Rilak (talk) 12:17, 6 August 2008 (UTC)
- Once again - please define "3D." It is clear that you know what you mean. So, let me explain why your terminology is vague... I can go watch a movie. I see one person standing close to the camera and one standing farther away. It looks 3D since I can see depth, even though it is on a flat movie screen. However, if I say that I went to a 3D movie, you will assume that I am talking about a movie where I have to wear special glasses that trick my eyes into believing that the images are closer to me than the screen itself. So, 3D has two completely different meanings - even in computers. It can mean that something has an apparent depth (like a driving video game that makes the road get smaller, giving the impression of distance) or it can mean 3D through optics that trick the eyes into seeing images in front of the screen. Which 3D are you referring to? -- kainaw™ 17:28, 6 August 2008 (UTC)
- Surely the question is about the sort of 3D acceleration hardware we all have in our graphics cards nowadays. I don't know the answer, but almost certainly the first cards were very expensive add-ons which only worked with a small number of very expensive software products (probably for Macs, but I wouldn't rule out an Apple II card). This article says that the first Mac to ship with 3D hardware was the Power Macintosh G3 (beige), and that the first hardware-accelerated 3D games for the Mac came out in 1996-7. Apple has never developed its own 3D acceleration hardware to my knowledge—they get it from third parties like ATI. -- BenRG (talk) 19:41, 6 August 2008 (UTC)
- Rilak explained the question - he's asking what was the first GPU of some sort that was on a Mac. My memory is very hazy on this point and I ran out of time doing a couple of quick Google searches, but I'm pretty sure it was on a NuBus board and it was probably a Rage chip or even a ViRGE chip. As a Nubus card it would have physically fit into many Macs starting with the Macintosh II, but you'd want to look at the required-minimum-hardware list once you locate the card. I think it came out before the Power Macs, and I think it was intended for CAD programs. Side note, the first Mac with "accelerated video hardware" of any sort was the 8*24GC (the asterisk in the name was actually a big circle, impossible to type, unfortunately) video board, but this had to do with bit blitting and not polygons. Tempshill (talk) 19:48, 6 August 2008 (UTC)
- Thanks for the replies... So it seems that Apple only really started to have 3D graphics capabilities in the mid 1990s, and there were third party addons that existed before that. I'll check out the external links now. As for the definition of 3D graphics, I don't understand how there can be two definitions of the term 3D... its like calling a drawing of a person a statue because it has shading and depth... Rilak (talk) 06:43, 7 August 2008 (UTC)
- Now you are being even more confusing. It appears you are referring to a two-dimensional display with advanced shading to create the illusion of depth as "3D" which means "three dimensions". There are three dimensional displays for computers - ones that display images in front of and behind the screen - so they are displaying in three dimensions, not two dimensions with some fancy shading. So, you are using 3D to refer to a drawing on a screen as a statue because it has shading and depth. -- kainaw™ 12:13, 7 August 2008 (UTC)
- Umm... Did I say that a drawing on a screen is a statue because it has shading and depth? And I don't think I'm being confusing. In fact, you have all confused me for the past day or so with, "My 8-bit microcomputer is capable of displaying a picture with shading, thus giving the illusion of depth, therefore it has 3D graphics." But its just displaying a bunch of differently colored pixels from a framebuffer! As for 3D displays, does StereoGraphics not refer to such display technologies as stereoscopic, not 3D? Rilak (talk) 07:50, 8 August 2008 (UTC)
- If they have come to you at 150x113, you will not be able to get anywhere near viewable pictures at 1280x960. (See Raster graphics) Have you tried click on the pictures? They may currently be a thumbnail of the full version. - Sorfane 12:13, 6 August 2008 (UTC)
- You'll need to ask your friend to e-mail you the original versions of the pictures before they were shrunk down to a 150x113 resolution. It won't work to use Photoshop (or some other image editing program) to increase the resolution to 1280x960, for the same reason that if you take a little photo out of a magazine and make a copy that's the size of a whole wall, you won't get to see extra detail in the photo - it'll just look blurry and blocky. Tempshill (talk) 19:53, 6 August 2008 (UTC)
wii power saves problem
I have a wii power save thing and ive downloaded cheats for some games. But for some of my games like need for speed prostreet and mario kart wii when i go to SD memory and try copying the cheats to wii memory it say i have to play it before i can download but i have play them bought alot. Second some games like need for speed carbon if i try to download cheats for the SD to the wii memory it says i cant because i alredy have the data. Is there a way that i can download the cheat without having to deliet my game (i know you can have more then one file on it so could i make the new data with the cheats on it in file 2)?
- Wii menu update 3.03 rendered those useless. RgoodermoteNot an admin 23:33, 6 August 2008 (UTC)
PATCH PANEL AND SWITCH
WHY NETWORK CARDS (PATCH CARDS) ARE CONNECTED TO A PATCH PANEL INSTEAD OF TO THE NETWORK SWITCH DIRECTLY. WILL IT HARM THE NETWORK SPEED? WHY SUCH A METHOD IS FOLLOWED ? IF NETWORK PATCH CARDS ARE CONNECTED DIRECTLY TO NETWORK SWITCH COST ON PATCH PANEL COULD BE SAVED KNOW ? WHAT IS THE NECESSITY TO HAVE A PATCH PANEL IN BETWEEN?18.104.22.168 (talk) 16:11, 6 August 2008 (UTC)G.CHANDRASEKAR.
- A patch panel is just a place where one cable meets another, like an extension. It has no active components and has negligible effect on the signal. So it does no harm to the network performance. Patch panels are a convenience - they allow you to control how all the building's wiring is done, in one place. Remember that not all the cabling goes to the same switch - you can have multiple switches (to implement separate domains or networks, or for failover reasons). And the same cat-5e cabling can carry things other than ethernet - it can carry proprietary digital telephony, analog telephony, and hookups for security systems and security cameras. -- Finlay McWalter | Talk 16:45, 6 August 2008 (UTC)
- Also if I have cat-5 cables coming right out of the trunking and connecting straight into the switch, and I accidentally snap the tine on the modular plug, I either have to re-pull a full length of cable (which is a lot of bother) or cut the plug off and manually crimp another one on (which is a pain to do on a well-lit bench; it's downright horrid in a cramped cable closet). If, on the other hand, I break the tine on a patch cable I can just bin that cable and replace it with another, at little cost and in no time at all. -- Finlay McWalter | Talk 16:48, 6 August 2008 (UTC)
- Plus patch panels are easy to label (there's a little flat area above each socket); labelling cables isn't nearly as nice. And the patch panel keeps like connections together (assuming it was wired sensibly), so (say) all the connections on the first floor are in one area, all those on the second in another. With just bundles of cables you've a much tougher job keeping everything neat and all like things together. -- Finlay McWalter | Talk 16:51, 6 August 2008 (UTC)
- I can attest to how important the labelling is... I once spent a week crawling round on my hands and knees, looking under the floor panels with a torch, and all because the fool who slung the network together in such a hurry had done a sloppy job. Even though they had used a patch panel in the rack, they hadn't labelled anything!! Perhaps the worst work task I've done in the last 10 years.
- I took the liberty of removing your email address. This page is highly visible across the internet and regularly swept by spam-bots. Astronaut (talk) 17:33, 6 August 2008 (UTC)
- This is really the key point - the patch panel is, strictly, unnecessary. But having it makes for easy, smart, and safe maintenance into the future. When setting things up people so often concentrate on the initial capital cost of something, but forget that the cost of downtime in the future, or of someone's time in figuring out what's what, greatly outlays almost every possible capital cost. -- Finlay McWalter | Talk 18:44, 6 August 2008 (UTC)
DNS reverse lookup
This particular address, 22.214.171.124, reverses to cache.dns.lt (yes, it is a DNS server), but when I use gethostbyaddr("126.96.36.199") in PHP or Python (on the same machine), it returns "litnet-p". Why? (I'm using the OpenDNS servers.) —Preceding unsigned comment added by Grawity (talk • contribs) 18:06, 6 August 2008 (UTC)
- Yeah, actually it was there... sorry. --grawity 15:29, 8 August 2008 (UTC)
Why for a console apllication, does the Dev-C++ compiler automatically set the parameters for the int main function to int argc, char *argv. Why is it not just int main() instead of int main(int argc, char *argv)? Thanks, Ζρς ι'β' ¡hábleme! 18:23, 6 August 2008 (UTC)
- Because you get your command-line arguments with those parameters. The first argument is in argv, the second in argv and so on. argc-1 tells you how many arguments in all. argv what the current program was called as. --Sean 18:34, 6 August 2008 (UTC)
- You have to be careful with terms here - Dev-C++ is an Integrated development environment; a typical install uses gcc as the compiler. With that in mind, your question is a bit unclear - are you asking about the automatic "fill in the function signature" thing some IDEs do, or about how the compiler (gcc) behaves? I'm guessing the latter (?). gcc lets you to declare any function with any type you think best, and if that's not the correct one it's a problem for you. main() is typically declared with argc and argv to carry the command line arguments given to the program (see Argc#C and C++), but if you declare the function just as main() then nothing bad will happen. If, however, you decided to declare main() to have some other arguments (ones different to argc/argv, the format used by the process setup code) then you'll get nonsensical results. -- Finlay McWalter | Talk 18:38, 6 August 2008 (UTC)
Setting up Linux router / web server on home network
I'm going to have the following network setup:
Linux box with two ethernet cards, one connected to DSL modem on bridge (eth0), PPPoE authentication, and the other connected to a hub which has my home wireless router connected to it (eth1).
Now I'd like to put up a simple firewall and I've read a simple way to do this is to only forward packets from eth0 to eth1 that originate from eth1. How do I do this on linux? Is this an effective enough firewall? (keep in mind that my linksys router will also have a firewall, so I don't need anything all too fancy on the linux box)
Second, I hope to have a sip server, streaming music server, and web server on the linux box. So for packets heading to eth0 I would enable all those applicable ports, in addition to any packets originating from eth0 or originating from eth1. Is this correct? Again, just a simple firewall to make it a little harder for folks to get on my linux box.
Third, what is the best distribution for what I'm trying to do here? Looking here I was thinking Red Hat but I can't find it for download...
Maybe slackware or ubuntu?
- My computer has Gentoo Linux and uses iptables and dnsmasq for this. The Gentoo Wiki describes how to configure something like that at . MTM (talk) 20:42, 6 August 2008 (UTC)
- It may be too fancy, but Smoothwall is brilliant at this task, and you get loads more features. But if not, I would suggest Debian. - sorfane 18:46, 7 August 2008 (UTC)
Problem defining a boolean operation
I need to define a boolean operation, using NOT, AND, OR, and XOR operators, on ten variables, such that the operation returns TRUE if and only if one of the variables is true, and FALSE in all other cases (including more than one variable being TRUE). Using OR between all variables makes the operation TRUE if at least one of the variables is true, and using XOR makes the operation TRUE for all cases where an odd number of the variables are true, while that's not what I need. Is there any way of doing it? Thanks, ARTYOM 20:43, 6 August 2008 (UTC)
- Yes, of course. One way is to use disjunctive normal form: '(the first is true and the rest are false) OR (the second is true and the rest are false) OR ... OR (the tenth is true and the rest are false)'. It can probably be done more efficiently if you want to minimize the number of operators for some reason. Algebraist 20:47, 6 August 2008 (UTC)
- For example, you can cut that down from 189 operators (above) to 100 with '(one is true) AND (NOT (two are true))' where 'two are true' is a disjunction of 45 pairwise conjunctions, one for each pair of variables. Algebraist 20:50, 6 August 2008 (UTC)
- The general form is
- or in other words "(the indices of the TRUE variables all have the same least-significant bit) AND (the indices of the TRUE variables all have the same next-to-least-significant bit) AND ...". I don't know if this is optimal, but the gate count () does look kind of lower-boundish. -- BenRG (talk) 22:29, 6 August 2008 (UTC)
- The general form is
- Does this absolutely need to be written as a boolean operation ? It seems much better suited to traditional programming:
- COUNT = 0
- DO I = 1 TO 10
- IF (VARIABLE(I) = .true.) COUNT = COUNT + 1
- END DO
- IF (COUNT = 1) THEN RESULT = .true. ELSE RESULT = .false.
A neutral name for a XP user account?
I do not like having to use user accounts in XP. So I am going to set up a new account (with admin status) and delete the rest of them. Even after setting up the computer so that I do not have to log on, I will still see this name frequently. Ideally I would have no name, just "". I do not like the word "user" for example as it has negative connotations. What neutral names could people suggest that I will not start to dislike in a few years time? Thanks. 188.8.131.52 (talk) 22:56, 6 August 2008 (UTC)
- "Account", "Computer", "Default", "Root", "Me", "Myself", "I", your first name, your last name, a random first name (who cares if no one named Rudolph ever uses the machine?), "Blank", "_" (an underscore), "XP", "This_username_intentionally_left_blank". (No guarantees that any of those will be accepted as valid XP user names). What you're not going to dislike is a few years time is an intensely personal matter. What I sometimes do in these situations is just string together arbitrary letters and numbers: "myp234", "kno6", etc. -- 184.108.40.206 (talk) 23:21, 6 August 2008 (UTC)
- Obligatory "running full time as administrator especially in XP can be a major security risk" comment. --220.127.116.11 (talk) 01:05, 7 August 2008 (UTC)
- As an aside, I named one of my hard drives "Moloko" (Milk) and another one "Korova" (Cow) in a witty little Clockwork Orange reference. Why not do something like that—pick a book you like, pick something out of it, name it after that. Your next computer you can name something else in a similar theme. It'll be fun. --18.104.22.168 (talk) 01:08, 7 August 2008 (UTC)
- IMO, you should get accustomed to utilizing a user account to reduce the security risk. Tempshill (talk) 03:16, 7 August 2008 (UTC)
- I always set the account and computer name to "Windows", or if that is unavailable "Owner", so that when you log onto open Wireless networks you don't raise suspicion by having "John Doe" or whatever pop up on their computer. Besides, if you start to dislike your account name you can always change it, can't you? 20I.170.20 (talk) 13:11, 7 August 2008 (UTC)
Restart indent. Guys, all he is asking for is a random name for his user account. Not what kind of crack he prefers. Just use the Administrator account and delete all the other accounts EXCEPT Guest (disable) and HelpAssistant (Disable). --mboverload@ 19:49, 8 August 2008 (UTC)
- Must be an excessively broad interpretation of what McGruff said --tcsetattr (talk / contribs) 19:53, 8 August 2008 (UTC)
Sorry to ask two questions in one day, but my friend is having a serious security issue. He was on MSN messenger trying to help someone get rid of bloodhound.exe (a keylogger). He sent them hijackthis.exe and they ran it and saved a log file. They tried to send him the log file via MSN messenger. It would almost get done transfering and then say "Error: Cannot read from source file or disk.". This would abort the transfer. The icon would show up on his desktop but it was not a log file, it was a .lnk. When he tried to open it, Norton would pop up and say, "Name: bloodhound.exe, Count: 2, location: (somewhere in temp)". Then they tried just copying and pasting the text from the log file to MSN messenger and sending it that way. He copied and pasted the pieces of the log file into a .txt file and then tried to save it. Norton again said "Name: bloodhound.exe, Count: 2, location: (somewhere in temp)". How could this copy and paste of text send a program. Remember, this is just the text of the file, not the file. This has us stumped. Thanks in advance, Ζρς ι'β' ¡hábleme! 23:00, 6 August 2008 (UTC)
- I can't tell you how that happened but I can tell you how to remove the spyware. Download the software here to remove it. A simple google search would have shown you how to. RgoodermoteNot an admin 23:44, 6 August 2008 (UTC)
- Well, getting rid of it is not the problem. I did google it. I just want to know how it happens. Ζρς ι'β' ¡hábleme! 01:13, 7 August 2008 (UTC)
- Bloodhound is Symantec's heuristic virus/malware detection technology. No program is being sent. The HiJack this log probably has some string in it that is known by Norton and is thus blocked just to be safe. Also, it could be that the virus is some how piggy-backing on the file transfer, however unlikely. In my opinion your friend is confused about what is causing the alerts or you are missing an important detail. --mboverload@ 01:24, 7 August 2008 (UTC)
- Well, getting rid of it is not the problem. I did google it. I just want to know how it happens. Ζρς ι'β' ¡hábleme! 01:13, 7 August 2008 (UTC)