Wikipedia:Reference desk/Computing
Wikipedia:Reference desk/headercfg
September 9
Microsoft Excel question, probably a dumb one
I have a Microsoft Excel spreadsheet, it's not for math or formulas, just to keep notes on something. Many of the cells have a lot of text in them (up to a paragraph) but I don't want all the text to be visible in the spreadsheet, as long as I can see it when I click on that cell. Does that make sense? This usually works fine, but occasionally Excel will automatically resize the cell for me, making the entire row taller so that I can see all the text in that row at once. I don't want this; it is annoying and frustrating that I don't know why it sometimes does it or how to fix it. I know that I can change it back by going to the Format menu and selecting Row and manually adjusting the height, but is there an easier way? Instead of fixing it like that each time, I'd rather just know why it's doing that so I can avoid the problem. Thanks in advance for any help you can give. --Grace 01:24, 9 September 2007 (UTC)
- It's really hard to tell since we have no idea what you're doing with the spreadsheet. But there are several easier ways: Try selecting the cell, the column the whole sheet, or whatever you want to be displayed in this way and hit Ctrl+1 (the number one). This will give you the Format Cells dialog. In the Alignment tab, either unselect Wrap text or select Shrink to fit, whichever you like better. — Sebastian 09:17, 9 September 2007 (UTC)
- Hey, that seems to have worked, thank you. --Grace 23:24, 9 September 2007 (UTC)
OS X Address Book and Default Email Address
Hello,
Is there anyway in OS X address book to set a default email address? I have many contacts with multiple email address and I would like to be able to specify one as the one to always send mail to.
Thank you,
--Grey1618 11:02, 9 September 2007 (UTC)
Running a game in windowed mode
Hi, I have a game that I would like to run in windowed mode. None of the configuration files I have come upon so far seem to allow such an option to be turned on. The target is "C:\...\RomeTW-BI.exe", do I need to add anything to this to force it to run windowed? Thanks in advance. :)) 81.93.102.185 11:43, 9 September 2007 (UTC)
- Some programs allow it, some don't. First see if the game has the option to run windowed mode through any of its in-game options. If not, go to the shortcut of the game (or create one) and try changing the target to have a " -window" (with a space) or " -w" and running the game - the two most common switches for windowed mode. Otherwise, you'd have to run an emulator or a sandboxing software that runs in a window to force it to be in a window - but that is often more trouble than it's worth. x42bn6 Talk Mess 12:40, 9 September 2007 (UTC)
- Also, try ALT-ENTER while in-game. This is a common Windows shortcut for toggling between fullscreen and windowed modes. 68.183.218.134 15:13, 9 September 2007 (UTC)
- Googling "Total War Windowed Mode" comes up with some options. Try running the application with the switch -ne; apparently that works for some versions. --24.147.86.187 21:35, 9 September 2007 (UTC)
No Emacs in Fedora 7?
I recently updated my Fedora system from version 5 to version 7. The new system boots up nicely, and even remembers my complete profile, but for some reason it doesn't seem to have Emacs installed. What the heck? How can there even be a Unix system without Emacs? JIP | Talk 17:08, 9 September 2007 (UTC)
- It may not have been part of the default basic install. Just install it then. Go to Add/Remove Programs and it's listed in there somewhere. --Spoon! 17:34, 9 September 2007 (UTC)
- I tried, but pirut said that pup was already accessing the update database. Pup has been doing that for half an hour now, clogging up my Internet connection, without showing any signs of actually installing anything. Well, it did say there were 165 updates available, so I guess downloading all of them is going to take a while. I'll have to see tomorrow morning at the latest. JIP | Talk 17:47, 9 September 2007 (UTC)
- I don't use any gui package managers. I install it from the command line:
yum install emacs
. -- kainaw™ 22:08, 9 September 2007 (UTC)- Unfortunately, if pirut is updating packages in the background, it's possible that the RPM database will be locked, or that there will be a yum lock. Annoying for the first boot, until you can disable it. -- JSBillings 13:43, 10 September 2007 (UTC)
- I don't use any gui package managers. I install it from the command line:
- Emacs is not a standard Unix program, so you can't just expect it to be there by default. —Preceding unsigned comment added by 129.78.64.102 (talk) 22:29, 9 September 2007 (UTC)
- Now why would you expect Fedora to include a competing OS in its default install? :) --frotht 22:08, 10 September 2007 (UTC)
cost of cell phone plans
Is the cost of cell phone plans expected by analysts to decrease in a year? —Preceding unsigned comment added by 12.217.199.246 (talk) 20:34, 9 September 2007 (UTC)
I know my comment is grossly off course but this thread reminds me o0f my rebellion when our english professor shunned the use of passive voice. --Do not click me! 20:23, 13 September 2007 (UTC)
Difference between Mirroring, Failover, Clustering and Load balancing?
What is the difference between Disk mirroring, Failover, High-availability clusters (a.k.a. Clustering?) and Load balancing?
It would seem that Load balancing is different in that it involves a server that redirects traffic to an array of servers which then handle the traffic from there, and each of the servers in the array may be slightly different.
Mirroring / Failover / HA Clusters seems to be multiple servers that [may or may not?] have identical disk images that each act as a backup ready-to-go in case the primary server failed.
Perhaps Mirroring / Failover / HA Clusters may not actually have identical drive contents? Maybe they are all server data in unison, just without another server acting as a Load Balancer?
Help?
--Eptin 22:09, 9 September 2007 (UTC)
- That's a lot of questions. Did you check into each of the articles you linked? Keep in mind that many of these look and act the same. Or, you may use multiples of them at the same time. That is, if you have a number of web servers fronted by a load balancer, you could call that a high-availability cluster of load-balanced servers, exhibiting failover. If a web server fails, the load balancer fails over to the remaining ones. There is a cluster of them, and when they are not in a failure state, you can balance the load across them.
- Mirroring, in my mind, just means that you've got two identical drives, and you always write the same thing to each. If one drive fails, you still have the other drive -- you can fail over to it. --Mdwyer 04:06, 10 September 2007 (UTC)
- Smells like homework; however; disk mirroring is generally on a single machine (setting aside remote mirroring provided by SAN clusters.) failover is when you have a hot standby machine, with the master writing data to a shared drive (NAS or SAN) and is brought up after the master fails, load balancing is where two or more machines run at the same time and requests to them are split between machines (with the machines synchronising between themselves if the requests actually change things), high-availability clustering is a combination of load-balancing and failover (where, because two or more machines are running at the same time there is no delay in failover as would happen with non-clustered failover, and data is synced between the machines if they don't share storage). However a lot of the time they're used interchangeably in marketing materials. --Blowdart 05:51, 10 September 2007 (UTC)
Bots
Hi, I know about four programming languages, and I know how to put a bot up for approval etc, but what I was wondering was, what do most people find as the most user friendly interface for building a bot, like PASCAL or Python. Thanks! Yamakiri 22:45, 9 September 2007 (UTC)
- First, you have to define "bot". There are many definitions of that term in Computer Science alone. -- kainaw™ 00:55, 10 September 2007 (UTC)
- It sounds like the question is in reference to bots on Wikipedia. It doesn't really matter what you develop the bot in; so long as it is compliant with the standards (i.e. it can be deactivated by an admin if it malfunctions, etc). You might consider a technology that allows for easy standard data interchange, such as XML. What are you trying to do? That will help narrow down the "preferred" technology choices. See Wikipedia:Creating a bot for details and tools! Nimur 01:34, 10 September 2007 (UTC)
- I think the reason most people use Python, anyway, is because there are already classes written in Python to help you interact with the Wiki. That is, you can skip pretty much to the "what should the bot do?" phase rather than worrying about the "how does the bot connect to the internet? how does it log in? how does it differentiate the content? how does it search?" etc. sorts of things. I could be wrong on this, though. --24.147.86.187 01:49, 10 September 2007 (UTC)
- Since MediaWiki is written in PHP, I'd be rather surprised if there aren't already premade libraries for PHP as well. -- kainaw™ 01:53, 10 September 2007 (UTC)
- It wouldn't help things that MediaWiki is written in PHP, since you wouldn't be interacting with its code directly—just its HTTP outputs/inputs. While I find PHP a pleasant scripting language, it is not generally used for things like bots because it does not lend itself to being run endlessly (most PHP scripts have very quick execute times are normally set up to automatically exit if they take more than a few seconds to execute). While you can make PHP iterate over a set of instructions again and again (or run it from command line interface), this is not really what it is good at and not really what it is designed for, and there is no real advantage to using it for such a thing in any case. --24.147.86.187 07:38, 10 September 2007 (UTC)
- Oh, that's good then thanks! Didn't think about the PHP part though. Yamakiri 10:54, 10 September 2007 (UTC)
- Most people use Python, so I would probably use that. The library will be better, the number of people who can help you will be better, the chances for someone joining in on your project will be better, etc. --Sean 12:49, 10 September 2007 (UTC)
September 10
Latex equation captions
Is it possible to add a caption to an equation in LaTeX? Thanks. 139.80.7.123 00:05, 10 September 2007 (UTC)
- What you're trying to do doesn't make sense. Either you want to put an equation into a figure (with a caption) or you want to talk about the equation in the surrounding text rather than caption it. Donald Hosek 17:08, 10 September 2007 (UTC)
Laptop AC Adapter Problems
A few hours ago, as my Dell Inspiron e1505 laptop was running off of the AC adapter, the adapter suddenly stopped working - the battery icon indicated that there was no adapter power and the adapter's green status light had turned off. I unplugged the adapter and replugged it into several different sockets, and after some tries, the light turned on again.
Just now, I had the same problem, and "fixed" it by the same method. However, as soon as I plugged the adapter into the computer, the green status light ceased. It is now broken for good as far as I can tell.
I was just going to buy a new adapter, but when I asked my friend about this, he said that he had the same problem himself twice (i.e., the status light turned off as he plugged it into his Dell laptop), and both times his computer stopped working and had to be sent for repairs. Both times customer service fixed it and told him that his motherboard had been fried.
Thus, my question is: Is this a problem of my adapter (in which case I should just get a new one), or is this a problem of my computer's motherboard or whatever (in which case I should be more worried)?
Thanks, -MagneticFlux 03:03, 10 September 2007 (UTC)
- Unfortuately, this is a dell manufacturing error. My sister's laptop's adapter of the same model suddenly stopped working and a replacement was needed. (Another reason not to choose dell in my view, Go Acer!) ::Manors:: 16:33, 10 September 2007 (UTC)
Pascal
Where is Turbo Pascal help available?Beta alpha 07:14, 10 September 2007 (UTC)
- http://shhs.1earth.net/kla/compstud/PascalTutorial_de_nz/fh-jena.de/~gmueller/Kurs/default.html is a helpsite for pascal. It's been about 10 years since I studied turbo pascal but I suspect that a large amount of it is the same as plain old pascal. ny156uk 18:56, 10 September 2007 (UTC)
multithreaded UNIX kernel
I am first year student of M.C.A. having diffculty in finding information about MULTI-THREADED UNIX KERNEL.So, give me brief introduction of MULTI-THREADED UNIX KERNEL.203.193.189.22 09:07, 10 September 2007 (UTC)pimpale_manjeet
- Have you read our fine articles on Unix and POSIX Threads? Splintercellguy 09:17, 10 September 2007 (UTC)
- Note that POSIX threads generally don't have anything to do with kernel threads, although I guess it's possible that some O/S out there uses them in kernel space. I'm not aware of one, though. --Sean 12:53, 10 September 2007 (UTC)
- A little politeness would be nice too. ::Manors:: 16:34, 10 September 2007 (UTC)
- I'm not sure how you interpreted my clarification as impolite. It certainly wasn't meant that way. Or do you mean SCG's response, which helpfully pointed the asker to the relevant articles? --Sean 17:42, 10 September 2007 (UTC)
- A little politeness would be nice too. ::Manors:: 16:34, 10 September 2007 (UTC)
- Note that POSIX threads generally don't have anything to do with kernel threads, although I guess it's possible that some O/S out there uses them in kernel space. I'm not aware of one, though. --Sean 12:53, 10 September 2007 (UTC)
- Perhaps he means the OP, who used caps in part of his response. Splintercellguy 16:58, 11 September 2007 (UTC)
- In which case a little WP:AGF would be nice too. --Kjoonlee 15:39, 13 September 2007 (UTC)
- Perhaps he means the OP, who used caps in part of his response. Splintercellguy 16:58, 11 September 2007 (UTC)
How do I set the hostname on Fedora 7?
How do I set the hostname on Fedora 7, so that it will apply even after I reboot? hostname
only applies until I reboot the computer. JIP | Talk 10:03, 10 September 2007 (UTC)
- There are multiple ways (all done as root)
- run
hostname your.host.name
- Edit /etc/hostname and put your host name in the file
- Edit /etc/dhclient-eth0.conf (where "eth0" is your network device) and add
send host-name "your.host.name"
- run
- I'm sure there are at least 27 more ways. -- kainaw™ 12:03, 10 September 2007 (UTC)
- I believe that the Fedora way is to edit /etc/sysconfig/network. -- JSBillings 13:36, 10 September 2007 (UTC)
- Actually, there is a program you can run (as root) in Fedora called
system-config-network
. You may need toyum install system-config-network
first. -- kainaw™ 13:42, 10 September 2007 (UTC)
- Actually, there is a program you can run (as root) in Fedora called
- Go to System -> Administration -> Network, DNS tab, and enter the hostname. --Spoon! 15:04, 10 September 2007 (UTC)
- That's 3 more ways. Only 24 more to go... -- kainaw™ 15:13, 10 September 2007 (UTC)
Why we have asked to enter the verification code, while creating E-mail? —Preceding unsigned comment added by 61.247.255.10 (talk) 12:39, 10 September 2007 (UTC)
- Can you be a bit more specific? Creating e-mail where? You may be talking about a CAPTCHA; they're used by some webmail providers to make sure it's a human creating the account. Computers can't read the text in the CAPTCHA image so they can't create an account. If computers were able to create accounts without the help of humans they could create large numbers of accounts automatically and use those accounts to send spam. — Matt Eason (Talk • Contribs) 13:13, 10 September 2007 (UTC)
- Note that while computers have difficulty reading CAPTCHAs (I wouldn't put it past a bot able to use an OCR program or algorithm to read the letters, although it is difficult - note the noise and patterns), the hash associated with the CAPTCHA can be cracked. So, in other words, it doesn't solve everything but it certainly stops the most basic scripts - ones that can be written with a few minutes of thought and AutoIT, for example. x42bn6 Talk Mess 16:55, 11 September 2007 (UTC)
online money
how to make real money online from a country like saudi arabia ??? —Preceding unsigned comment added by 212.107.116.238 (talk) 17:05, 10 September 2007 (UTC)
- Sell something people want. Market your business so people who want what you sell know you are selling it. -- kainaw™ 17:11, 10 September 2007 (UTC)
can you give me a place where i can sell pc games and things like this ? —Preceding unsigned comment added by 212.107.116.238 (talk) 17:25, 10 September 2007 (UTC)
- Ebay, Craig's List, Postaroo... there are hundreds of places. -- kainaw™ 23:12, 10 September 2007 (UTC)
- Or you can get your own online store at Ecrater Djmckee1 - Talk-Sign 13:51, 15 September 2007 (UTC)
Vista and Ram
Hello, can anyone please tell me the maximum amount of DDR2 RAM windows vista will allow you to use without upgrading to 64bit? thanks. —Preceding unsigned comment added by 84.68.12.32 (talk) 18:41, 10 September 2007 (UTC)
- This site says 4GB. This one agrees. The operating system shouldn't care about DDR2, that would be a consideration for the motherboard. --LarryMac | Talk 18:51, 10 September 2007 (UTC)
Or try...http://www.vistaclues.com/reader-question-maximum-memory-in-32-bit-windows-vista/ Not sure from a quick read over it what the answer is - but seems to suggest that with 4gb installed you'll not be able to utilise it all effectively. All very confusing unfortunately. ny156uk 18:52, 10 September 2007 (UTC)
- Well, the short version is that a 32-bit processor has a limited number of addresses, and everything must have an address. That is, those addresses are used for both memory AND for communicating with devices. So, even if you fill the entire address space with memory, some of it will still be occluded by other things in the system. This is still a problem with 64-bit addressing, but the system area is unrealisticly far away. --Mdwyer 20:40, 10 September 2007 (UTC)
- I believe the exact number is 3.5GB. -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 05:57, 13 September 2007 (UTC)
I believe anything over 3 GB will be a waste of money (at least for now). Just have some expansion bays open for future upgrade and I am sure you will be fine. —Preceding unsigned comment added by Multipleidentitynumberthree (talk • contribs) 20:14, 13 September 2007 (UTC) --Do not click me! 20:15, 13 September 2007 (UTC)
Two firefoxes, one profile
I have Firefox portable on my flash drive, as well as the Mac Firefox. I would like to set it up so that the profile for each is the same. Is there some way I can redirect the windows Firefox to use the mac's profile, or vice versa?
Thanks in advance, --Omnipotence407 21:21, 10 September 2007 (UTC)
- If you have IRC, irc://irc.mozilla.org/firefox might help. --h2g2bob (talk) 00:18, 11 September 2007 (UTC)
Nope, I don't have IRC, if you could summarize or something, that would be great. --74.37.228.44 00:21, 11 September 2007 (UTC)
- The profile is stored as a load of files in a folder. I don't think you can change which folder it uses - it will always place them on the hard drive (although you can make the folder a symlink in OSX).
- However, you can copy the contents of the folder by hand. I don't know of any way to make this automatic.
- Some files can have information on locations of files on the disk (for example, if you set .ram files to always open with realplayer). This will change between OSs and may cause problems.
- You should be able to copy your bookmarks (bookmarks.html) between profiles without any problems (until Firefox 3 is released). There's some firefox extensions which put bookmarks online for sharing between different computers - [1][2] - which would do this for you.
- Hope this helps somewhat - take a look through http://kb.mozillazine.org/ for more info, and you should backup before doing anything risky. --h2g2bob (talk) 00:49, 11 September 2007 (UTC)
- I think it's possible between Windows and Mac. I did it between Ubuntu and Windows once, and it worked fairly well. Some very complex plugins/add-ons might not work, but ones like AdBlock do. Basically, run firefox.exe (and/or thunderbird.exe) using the "-profilemanager" option. That allows you to change where the profile points to on the drive. So just set them both up to point to the same directory. But backing up your data first would definitely be a first step. --Bennybp 02:20, 11 September 2007 (UTC)
- Hmm. Assuming you know where Firefox stores the profiles, could you replace that folder with a symlink to the other Firefox's profile? Confusing Manifestation 03:26, 13 September 2007 (UTC)
September 11
Computer Rebooting
I have a computer with Fedora on it that keeps rebooting randomly. It is not rebooting when a specific device is used, a specific program is run, or after a specific amount of time. I strongly suspect the memory is bad, but I was wondering if there are any Linux utilities that can keep a very close eye on the entire system and give me a good analysis of what happens just before each reboot. -- kainaw™ 00:44, 11 September 2007 (UTC)
- One linux utility is strace. You use -p with pid number to indicate what you want to trace. It records all the system calls. using the -f option will also record all the child processes. It would be best to put the output to a file with -o option, and then try to read the file after a failure. The next step up is to use a debugger, though I expect there will already be too much output. It may be better if you can get hold of a memory tester. I havent seen one of these for at least 12 years, but they should still exist! Graeme Bartlett 04:38, 11 September 2007 (UTC)
- strace only traces syscalls of a particular process, and won't help much here. I suggest checking the syslogs to see if anything is logged before it reboots. You might want to set up syslog to log to a remote host, in case the disk drivers crash before it reboots. In the end, you're going to want to test the hardware -- if you suspect bad memory, I suggest using the memtest86 memory testing tool. -- JSBillings 10:50, 11 September 2007 (UTC)
- Log files reported nothing. Memtest86 ran all night - no help. No reboot though, so it isn't something inherently bad in the power supply (or power source from the wall). Ran with ide=nodma, still rebooted. I'm going to open it up and look for a loose cable. -- kainaw™ 12:20, 11 September 2007 (UTC)
- I've had similar problems after i reseated the heatsink on the cpu, it could be overheating. If you have acpi setup you might be able to look at the cpu temp somewhere in /proc/acpi/. I solved my issue by cleaning the heatsink and using new heat-conductive paste. -- Diletante 14:54, 11 September 2007 (UTC)
- I've seen this happen with systems that had a lot of "noise" in their power, or irregular power dips. Most electronic appliances work just fine with these problems, but computers are overly sensitive to irregularities in power. Also, if you suspect it is your CPU, try monitoring the temperature of your CPU. -- JSBillings 20:44, 11 September 2007 (UTC)
- After memtest86 claimed the memory was OK, I checked further. Nothing in logs. Swapped out a lot of components. Finally, I believe I tracked it down. The CPU fan appears to be flaking out - just stopping every now and then. The BIOS doesn't provide monitoring of the fan to the OS, so it wasn't logged. I found out by having the case open and examining the inside while it was running. The fan just stopped. I tapped it and it started back up again. A few minutes later, it stopped again. Hopefully that's the source of this and I won't have to poke around this case anymore. -- kainaw™ 22:16, 11 September 2007 (UTC)
- Turned out that the fan was stopping because the power supply was acting up. Just thought someone might want to know the status of this odd problem. -- kainaw™ 01:00, 12 September 2007 (UTC)
- Yeah when my power supply was getting overloaded my computer kept on rebooting sporadically is well. It also gave the harddrives a lot of "clicks of deaths" (probably just head reset due to insufficient power), which lead to frantically getting more harddrives, which lead to more clicks... --antilivedT | C | G 10:41, 12 September 2007 (UTC)
Add a string of text to the end of every line of a text file.
Is there any options on a Windows application, that will find the end of every line (newline) and append a string of text to it. I know on with the Linux application VI (VIM) you can add text to the end of every line with the character "\n" representing a newline. I can't remember if this used a find and replace command, I just looked up the command and copied it. I was wondering if anyone knew a windows app that will do this. Preferably I use edit.exe a.k.a edit.com but if notepad, wordpad, or Microsoft Word had an option like this? – 69.150.209.13 01:57, 11 September 2007 (UTC)
- I don't know if those other apps can do it, but you can get vim for Windows. --Allen 02:01, 11 September 2007 (UTC)
- You could write a script, or find a text editor that uses Regular Expressions. Nimur 02:26, 11 September 2007 (UTC)
- :1,$s/$/ia string of text
- in vi, or sed could do the job too. Do you want to use wordpad or word for windows to do the job? Graeme Bartlett 03:34, 11 September 2007 (UTC)
- You could write a script, or find a text editor that uses Regular Expressions. Nimur 02:26, 11 September 2007 (UTC)
- On Windows, I'd recommend Notepad++ for an advanced text editor. You can use the replace function with regexps by pressing CTRL+R. — Kieff | Talk 04:11, 11 September 2007 (UTC)
In word for windows you can do edit replace, click more, click special and select paragraph mark, this can the be replaced with your trailing text and a new paragraph mark with a replace all button. Graeme Bartlett 04:29, 11 September 2007 (UTC)
Nod32
Hi, I am going to purchase Nod32 antivirus and would like to know what firewall is compatible with it. Thanks —Preceding unsigned comment added by Erendis (talk • contribs) 07:19, 11 September 2007 (UTC)
- Anything, I suppose, since I'm not sure how a firewall could conflict with an AV. Splintercellguy 16:57, 11 September 2007 (UTC)
- Yep they're nothing alike. Though you'll need to allow access to the AV for "autoupdates"- a bad idea btw, I always download virus definitions with my browser and manually install them. --frotht 22:41, 11 September 2007 (UTC)
In response to
Though you'll need to allow access to the AV for "autoupdates"- a bad idea btw, I always download virus definitions with my browser and manually install them.
If you cannot trust your anti-virus program for auto update or think it has a security flaw that you fear others may exploit, please do not buy the antivirus program. Build one for yourself from scratch ... or customize ClamWin for your needs. --Do not click me! 20:08, 13 September 2007 (UTC)
- I don't care what kind of program it is, it's not going to connect to the internet by itself and tell me to trust it that it's just retrieving data. --frotht 20:52, 14 September 2007 (UTC)
- That sounds kind of unrelated to your comment. I meant to say that while I have no problem with those AV products, I do have a problem with auto updates --frotht 20:54, 14 September 2007 (UTC)
Using ADBLOCK to remove a specific wikipedia link.
Hello, as I try to revert as much vandalism as possible in the shortest amount of time, I often mistakenly click the stupid 'Edit summary' link when one goes to edit the page, instead of clicking "Save Page" button. Now is there a way using adblock (or any other program) running in firefox or even in the background to block that link, ie make it not clickable? Phgao 09:32, 11 September 2007 (UTC)
- I don't think you can do that with adblock, but I've made Greasemonkey scripts for similar purposes. -- JSBillings 10:47, 11 September 2007 (UTC)
- You can also edit your monobook.css to hide that link by doing the following:
- go to User:Phgao/monobook.css
- add the line #minoredit_helplink {display: none;}
- Rawling4851 22:01, 11 September 2007 (UTC)
- EDIT: Sorry, if you don't use the monobook skin, you'll have to edit your CSS for whatever skin it is you use. Rawling4851 22:03, 11 September 2007 (UTC)
- You can also edit your monobook.css to hide that link by doing the following:
- You may want to familiarize yourself with the access keys on Wikipedia. I have found that they greatly increase the speed of editing and navigation. For instance, saving a page is just access key 's'. I find the default key combination in Firefox slightly annoying, so I changed (in about:config) ui.key.contentAccess to 4 so that Alt+key was the combination instead of the default 5 (Shift+Alt+key). --Pekaje 11:24, 12 September 2007 (UTC)
- Thanks for the sweet tips! I'll look into them. Phgao 08:08, 13 September 2007 (UTC)
Removing Windows Media Center
I play a lot of DVDs on my computer, for which I use Windows Media Player. Whenever I put in a DVD, Windows (in its infinite wisdom) automatically starts Windows Media Center, which I despise and have absolutely no use for. WMC doesn't seem to exist as a normal, removable program, but I'm desperate to remove it. Is there any way to uninstall it or, failing that, disable it? Thanks! Bhumiya (said/done) 09:39, 11 September 2007 (UTC)
- This is based from your autoplay settings for the DVD drive, and can be changed. It's easy to do in Windows XP, while Vista has a slightly different configuration. --Sigma 7 10:49, 11 September 2007 (UTC)
- You can remove it (xp) - start,set program access and defaults, "remove/uninstall", scroll down the list, press 'delete', or start help and search for uninstall...83.100.251.220 12:31, 11 September 2007 (UTC)
- Thanks! I didn't know how to get rid of autoplay altogether. Bhumiya (said/done) 13:38, 11 September 2007 (UTC)
Regex in Java: finding expression 1, but not if it's part of expression 2
Hi all,
I'm having trouble writing a regular expression in Java. I want to find all instances of the string cde, but NOT if it's part of the string abcdefg.
So if I gave my parser the text abcdefgcdex, it should only find this "cde": abcdefgcdex.
Is that possible? I'm really not sure how to go about creating such an expression.
Any help much appreciated!
Thanks, Mary. 16:45, 11 September 2007 (UTC)
- You can be verbose to make it very understandable. For example, simplify it to "cde" as long as it doesn't follow "ab" (you should easily how this can be expanded to check for following "fg"):
(cde.*)|(.cde.*)|(.*[^a][^b]cde.*)
. In other words, if "cde" has nothing in front of it, that is fine. If it only has one character in front of it, that is fine. If it has two or more characters in front of it, they better not be "a" followed by "b". -- kainaw™ 17:38, 11 September 2007 (UTC)
- How about something like this:
(?<!ab)cde|cde(?!fg)
- "cde" as long as it's not preceded by "ab" or not followed by "fg". --Spoon! 17:54, 11 September 2007 (UTC)
- Hi Spoon,
- That works great, thanks! However, I'd like to be able to put a regex within the "(?<!ab)" section -- let's say an a followed by any number of b's. I would think that I should be able to say "
(?<!ab*)
" or "(?<!a(b)*)
" or something, but I get an exception. Do you know what I could do? - Thanks!
- Sam
- Sorry. As far as I know lookahead assertions can take any regex; but lookbehind assertions can only take a fixed-width regex (because otherwise it is difficult to figure out where to start). --Spoon! 22:37, 11 September 2007 (UTC)
Rate of return
In determining the yield of a stock, I understand the most recent annual dividend is divided by the price. How do I find the "most recent annual dividend" of a particular stock? Thank you. Magemote —Preceding unsigned comment added by Magemote (talk • contribs) 17:14, 11 September 2007 (UTC)
- Go to the firms website and look at their investor relations section. You should be able to find it there, alternatively try sites like bloomberg or FT.com as they may well have the details available. I use www.iii.co.uk myself. ny156uk 20:10, 11 September 2007 (UTC)
Random Microsoft Word Question
On my new Lenovo Thinkpad T60p with Windows XP and Microsoft Office 2007, the scroll wheel (button or pad, actually), which works on websites and other things, does not work in Microsoft word. As in every time I want to scroll down the page, I either have to drag the scroll bar on the right or press the down key. This is not the case with Excel. I don't get it. Is there any way to fix this? It's really annoying. —Preceding unsigned comment added by 140.247.42.228 (talk) 20:49, 11 September 2007 (UTC)
- Hm, works for me. Try using microsoft drivers instead of IBM's? devmgmt.msc > Mice > whatever > driver > uninstall --frotht 22:36, 11 September 2007 (UTC)
- This website (http://www.techtalkz.com/microsoft-office/49769-re-how-can-i-enable-mouse-scroll-wheel-function-word-2007-a.html) seems to suggest it might hold the answer. For some reason my browser won't load it, but it's the top result of a google search for word + scroll + wheel + enable ny156uk 22:56, 11 September 2007 (UTC)
I sucessfully opened it [the webpage] in my computer (Win XP with IE). --Do not click me! 20:02, 13 September 2007 (UTC)
Zone Alarm
I have an old copy of Zone Alarm. If I uninstall it then I can not view Google Maps or Google Earth although I can view Mapquest maps and satellite images. If I reinstall Zone Alarms then I can view Google Maps. What is going on? Is there a way to view Google Maps without reinstalling Zone Alarm? Clem 22:59, 11 September 2007 (UTC)
Its just amazing. Could you explain it a bit more? --Do not click me! 20:01, 13 September 2007 (UTC)
September 12
Hard drive light/motion
I have a Lenovo laptop, a few months old. For certain periods of time, I will notice every second or two the harddrive light flashing and the harddrive turning (soft "clicking" sound). It will sometimes last continously for a quite a while, and even when no functions are being performed on the computer, no applications are running, and I'm not typing or inputting anything. Does anyone think this is a cause for concern? Thank you for your help. --24.211.242.80 01:29, 12 September 2007 (UTC)
- The S.M.A.R.T. capability on my hardrive indicated it might fail. It finally did today. The sounds coming from it are a scraping and clicking sound like an oldtime '78 record player but with metal on metal scraping. Clem 02:06, 12 September 2007 (UTC)
- The drive is very likely heading towards failure. The read head thinks it is out of alignment (it may or may not be). It is trying to get back in alignment. Since it is not a viable option to repair whatever is causing the head to think it is out of alignment, your best option is to back up your data and get a new drive - fast. -- kainaw™ 02:14, 12 September 2007 (UTC)
- I'm the person with the first question...mine is making a light clicking sound, not a heavy scraping sound. Do you think my harddrive is still in danger? Thank you. --24.211.242.80 02:18, 12 September 2007 (UTC)
- The drive is very likely heading towards failure. The read head thinks it is out of alignment (it may or may not be). It is trying to get back in alignment. Since it is not a viable option to repair whatever is causing the head to think it is out of alignment, your best option is to back up your data and get a new drive - fast. -- kainaw™ 02:14, 12 September 2007 (UTC)
- It could be failing, or there could be some sort of hard drive processes going on that you don't know about (logging by background processes which do not appear as applications in your taskbar; or potentially attempts by your computer to access virtual memory stored on the drive). I would first try getting something that would let you monitor hard drive I/O writes and see if it is actually writing or reading anything when it does that. In any case you should get some sort of external backup drive (a good practice anyway). As for possibility of failure, it can vary. I've seen drives with what I would call "minor" noises eventually fail, and I've seen others that kept on sounding like that for years without problems. At this point it sounds like a rather indefinite symptom, and so it is hard to diagnose not only what is causing it, but any sort of long-term prognosis. --72.83.173.248 04:23, 12 September 2007 (UTC)
- Get a backup, now. Even if your drive isn't failing, you'll appreciate having a backup sometime later. Look into SMART tools to see if your drive is giving off failure messages. Look for Microsoft/Sysinternal's Filemon to see if there's actually a program doing some work on the disk. (My wireless card driver, for some reason, hits the drive a LOT.) Finally, it could be normal. Some drives will move the heads around from time to time to prevent wearing a hole in the drive. See Hitachi Deskstar for an example. --Mdwyer 19:30, 12 September 2007 (UTC)
- Thanks for all your help. I've already got a few backup options, actually. Do you think harddrives on new laptops are sometimes prone to bad behavior (especially cheaper lines of laptops)? --24.211.242.80 02:14, 13 September 2007 (UTC)
- This is just a vague personal recollection — so if anyone can supply actual data on the subject, please do — but I do seem to recall reading claims that hard drive failure rates are indeed double-peaked: they tend to fail either when they're new or when they're old, with a period of higher reliability in between. This at least makes intuitive sense: the drives that happen to be a bit off spec to begin with (but not badly enough to be caught by the manufacturer's testing) would be most likely to fail in fairly short order, whereas those that survive the first few months should have a good chance of surviving for several years until gradual wear starts taking its toll. The good news in this case is that if your drive does fail soon, it's likely to be covered by warranty. The bad news is that the warranty will cover a replacement drive, but not data recovery. So make those backups. —Ilmari Karonen (talk) 15:45, 13 September 2007 (UTC)
- Bathtub curve. To the original poster: don't get nervous about every sound your HDD makes, just keep good backups and you'll be fine. -- Diletante 15:56, 13 September 2007 (UTC)
- Windows is just weird. I've noted the drive fire itself up from time to time for nothing; I see rhythmic patterns in the task manager cpu usage where the usage rises and falls periodically, all by itself. I remember one time trying to save a word document, it demanded to see a floppy that I had temporarily inserted that AM in regard to a completely different document before it would save. That said, it's always smart to have a backup of your drive. obviously. Gzuckier 21:51, 14 September 2007 (UTC)
Zipped (compressed) folders
I need information on what happens when files contain large amounts of information are zipped (compressed) for a research project if you could help that would be great..
Thanks Teresa —Preceding unsigned comment added by Tkilpatrick (talk • contribs) 04:50, 12 September 2007 (UTC)
- I'm not entirely clear on what you are asking, but you could try Data compression and ZIP (file format) for starters. --jjron 08:30, 12 September 2007 (UTC)
Lossless data compression is also one article I would look. --Do not click me! 19:54, 13 September 2007 (UTC)
change directory to user's home
In linux/bash there is a command to change directory to the user's home "cd ~" I was wondering if there is a command in windows/cmd.exe which will do the same? – 69.150.209.13 07:16, 12 September 2007 (UTC)
- I don't have much experience with Windows or its limited shell, but you might be able to use some of the predefined variables listed here. Also, in bash it is not necessary to type "cd ~", as "cd" on its own brings you to your home directory by default (Windows might do something similar, try it). Another shortcut worth mentioning is "cd -", which brings you back to the previous directory you were in. --Pekaje 11:14, 12 September 2007 (UTC)
cd \
will bring you back to the drive (i.e.C:\
). x42bn6 Talk Mess 15:25, 12 September 2007 (UTC)- A bare 'cd' command under DOS/Windows will just display your current directory. I don't know of a shortcut, but the user's home is stored in a number of environment variables. Run the command "set" to see them. In particular, you might have luck with "cd %USERPROFILE%" or "cd %HOMEPATH%" --Mdwyer 19:23, 12 September 2007 (UTC)
- You can also use the set command to, well, set variables. F'rinstance "Set home = %HOMEPATH%" will set the value of new variable HOME to whatever the value of the system variable HOMEPATH is. Then, you can simply "cd home" and it will change to that. Caveats: every version of Windows does this a little differently; in XP if you do this with a command window, then close said window, this also will go away; you'd have to do it again, or set it up as a global startup command. Also, this won't work right if your focus is on another drive letter. -66.55.10.178 18:31, 13 September 2007 (UTC)
Need Information About RTMX .O.S.
Hi ALL, I Am in big trouble! I really don't know what is " RTMX.O.S." so please if you have any information reagarding this then put it here! I will be very very thankful to you!!!--203.193.189.22 09:39, 12 September 2007 (UTC)
- RTMX is a Real-time operating system based on OpenBSD. -- JSBillings 13:28, 12 September 2007 (UTC)
Loading device drivers
How can a user load a device driver without administrator privileges in Windows, without a system administrator doing it for the user or giving them administrator rights? Think outside the box 09:59, 12 September 2007 (UTC)
- ?? Thousands of virus-writers want the answer to this question. Thousands of security programmers are trying to prevent this from happening. Why do you want to add things to the OS, without the person responsible for the box knowing about it? -66.55.10.178 18:35, 13 September 2007 (UTC)
Which version of Microsoft Windows? I believe your answer would have at least something to do with that too. --Do not click me! 19:53, 13 September 2007 (UTC)
- Windows NT or XP are the ones. I'm trying to run TrueCrypt but the program returns the error: "In order to load the TrueCrypt driver, you need to be logged into an account with administrator privileges". Think outside the box 11:23, 14 September 2007 (UTC)
- Of course you can't load a kernel-mode driver (such as TrueCrypt's) in a non-admin account! If you could every single virus would be exploiting that! --wj32 talk | contribs 11:38, 15 September 2007 (UTC)
Online based revision control software
I am starting a small project (~1000 lines) with a teammate this semester and I would like to use some sort of revision control for the code we will write. SVN has many nice features but I do not have access to a public server where I could install SVN and create a repository. Are there any web based RCS available? Ideally, I would need to be able to upload, download, merge and compare revisions all from a common web interface. --Jcmaco 12:03, 12 September 2007 (UTC)
- I win. Websvn or.. the motherlode --frotht 01:54, 13 September 2007 (UTC)
transitor/logic gate switching energy
(I've been looking at a model of a processor that would need ~1018 logic gate transistions per second.)
My question is: what is the lowest transistor/logic gate switching energy currently available or likely to be available?, and what about the switching energy at smaller than current feature sizes. Thanks.87.102.16.32 12:11, 12 September 2007 (UTC) (I'd like to know how big the power supply would need to be...)87.102.16.32 13:06, 12 September 2007 (UTC)
- I approached this question like a Fermi problem. See Transistor count for some ballpark transistor numbers in modern processors. Let's say you have a Pentium 4, with some ~50 million gates, clocked at ~2 GHz. That will automatically give you 10^17 transistor switches per second. (But this is using the completely unrealistic notion that every gate switches every clock cycle!) In any case, it gives you a first-pass estimate figure for the power consumption. Your hypothetical processor will need on the order of ten times more power than a Pentium 4 (if you used similarly fabricated transistors). Of course, depending on the complexity of your model, you can start doing more detailed analysis. Nimur 15:57, 12 September 2007 (UTC)
- You hit the nail on the head with the backwards engineered pentium problem - I considered that - but noticed the same thing - well at least I've got a (very low) lower bound. I'd be suprised if more than 10% are active on average and probably a lot less..87.102.16.32 16:13, 12 September 2007 (UTC)
- I'd work from a different CPU: the Pentium 4 bears little resemblance to any other. Switching energy depends greatly on things like transistor size, switching speed, operating voltage, and the like. Further, a large part of a modern CPU's transistor count is cache memory rather than functional units, and has a totally different energy profile. Find a CPU that's similar to what you're considering and estimate from there. --Carnildo 23:42, 12 September 2007 (UTC)
- Maybe a celeron without any L2 cache? --Wirbelwindヴィルヴェルヴィント (talk) 16:20, 13 September 2007 (UTC)
- This isn't what I'm asking, these processors have unknown logic gate utilisation - the % of 'clocks' that a given gate will be in use.83.100.255.59 14:35, 14 September 2007 (UTC)
- Maybe a celeron without any L2 cache? --Wirbelwindヴィルヴェルヴィント (talk) 16:20, 13 September 2007 (UTC)
Application for ordering lists.
Is there an application that will re-arrange a list, putting it in alphabetical order, based on the first letter of a line? —Preceding unsigned comment added by 202.10.86.63 (talk) 12:27, 12 September 2007 (UTC)
- Whenever I need that, I use sort. Without knowing more context, that's all the help I can provide. Some examples of what your requirements are, and information on your computing environment, would be very helpful. --Pekaje 12:32, 12 September 2007 (UTC)
- Alas, I run Windows XP. My list consists of movie titles, formatted as:
Donnie Brasco
Godzilla vs. The Sea Monster
Being John Malkovich
etc. 202.10.86.63 12:40, 12 September 2007 (UTC)
- XP also comes with a command-line sort (windows\system32\sort.exe). Also, all of the standard Unix command-line utilities have XP ports -- see GnuWin32 and Cygwin. -- BenRG 12:46, 12 September 2007 TC)
- Perfect, I had no idea that was there. Thanks a lot, BenRG. 202.10.86.63 13:00, 12 September 2007 (UTC)
- The documentation on sort.exe is here — Matt Eason (Talk • Contribs) 13:14, 12 September 2007 (UTC)
- You could paste the data into MS Excel and do a sort. If it is CSV (Comma seperated values) you can have excel 'convert' it and sort it appropriately. ny156uk 17:01, 12 September 2007 (UTC)
How much does it cost to develop and make a device
I want to know how much does it cost to develop a new device from scratch. I read of a company called asiatotal.net which came with a device called iT which can be found in their website asiatotal.net. Apart from them, there are many companies like OLPC and mobilis (ncoretech.com). More can be found in http://www.infodev.org/en/Publication.107.html 1) I just want to know how much does it cost to develop such devices. 2) What are the costs involved in it 3) More info on that —Preceding unsigned comment added by 59.96.26.179 (talk) 12:56, 12 September 2007 (UTC)
- The OLPC machines are about US$150, and they aren't trying to make a profit on them, so that's about what they cost to make. They were trying to make it $100, but couldn't manage it. I don't think the development cost is known, as it was a heavily volunteer-supported effort. Intel's Classmate PC is made for a similar market, but priced higher (around $200, apparently). --Sean 15:14, 12 September 2007 (UTC)
questions
my computer has a hard disk error.it cant boot my machine.when i try to boot my pc a message saying "insert proper boot device then resart" appears.i used a friends hard disk and my machine boots okay.when i place my bad hard disk as a slave it slows my computer.it makes my 3.2 operate like a
2.0.what could be wrong with it.the place i bought it have no idea whats wrong with itcause everything looks fine on it,it just wont boot my machine.help.. 2.i recently forgot my password.am administrator and i had to run xp a fresh.i have read sumthin about sam files.is there a way i can deactivate my password if i dont remember it.and what do the sam files do? 3.i recently got some videos and they were so crystal clear.they had hdd written on them.my friend told me the music videos are clear coz they r hdd.whats this hdd in relation to videos. 4.how can i explain to my small bro what voip is.in simple language.hope am not asking to many questions —Preceding unsigned comment added by 196.202.195.74 (talk) 14:14, 12 September 2007 (UTC)
1. Your hard disk failing? While I think the boot sector is screwy, your best bet is to use Linux System Rescue CD to get any data off the drive. 2. There are many LiveCDs dedicated to either resetting a Windows password or recovering it. Our article on Security Account Manager discusses what SAM files do. 3. As for the videos, you might be thinking of the term HD, specifically in relation to HD video. 4. Our article on VoIP has everything you need. Splintercellguy 17:18, 12 September 2007 (UTC)
Could you rephrase this part for me? --Do not click me! 19:51, 13 September 2007 (UTC) "it makes my 3.2 operate like a 2.0."
SSE
I'm trying to use DRAWPLUS on my computer,but when I go to brushes it tells me that the computer doesn't read SSE. Is it because I have an Athlon or is there some other reason? Can anyone help me with this problem? -- ALAN SAUNDERS —Preceding unsigned comment added by 81.145.241.34 (talk) 18:08, 12 September 2007 (UTC)
- The original Athlon (before Athlon XP) processors do not support SSE --Spoon! 18:35, 12 September 2007 (UTC)
.mid files out of tune
I noticed that when playing .mid files in my Windows Mediaplayer (11) under XP, the pitch isn't right. Normaly the A3 should be 440hz, but when playing the midi files it's tuned way below that (aprox. 410hz), which sounds ugly and makes it hard to play along on my piano. Is there a way I can change this? 82.169.159.161 19:51, 12 September 2007 (UTC)
- I don't know much about this stuff (not as much as you seem to do, anyway) but this isn't something that can be fixed with the built in equalizer? Sorry if I'm way of base, but isn't that what it's for? --Oskar 20:02, 12 September 2007 (UTC)
- The equalizer only allows you to change the 'frequency envelope' of the sound. What I mean is tuning the pitch of the built-in wavetable-synthesizer that is used when the WMP plays the midi files. I understand that is not an everyday question, but maybe someone knows the answer. 82.169.159.161 20:10, 12 September 2007 (UTC)
- The same thing happens to me. Either every note of my computer's midi or every key of my piano is exactly one half step different from the other, and I can't quite figure out which it is. --Russoc4 20:32, 12 September 2007 (UTC)
- Many early music groups use A = 415 Hz. Maybe your Windows time zone is set to Colossal Baroque. -- BenRG 01:40, 13 September 2007 (UTC)
- ... That's a joke, right? --Russoc4 01:41, 13 September 2007 (UTC)
- It could be possible that the pitch control in the audio manager is on something other than zero (if you even have one). The audio manager is an icon in the taskbar that looks like a speaker (different to volume control) or a blue square with a yellow thing in it. Even if that's not what's causing the problem you may be able to adjust the pitch there Mix Lord 03:23, 13 September 2007 (UTC)
- According to equal temperament, one half note is an increase/decrease by a factor 1.059463. So if it is tuned exactly one half note too low, then it should be 440/1.059463=415.3 Hz. I don't know Windows media player, but if it plays midi, then it should be possible to tune up or down at least by half notes (and probably to any tuning you like). If not, ditch it and install a proper program. Actually, BenRG might not be joking. There might be an option to set it too all sorts of tuning, such as non-equally tempered, to play stings and flutes and such properly, but also to play in all sorts of exotic keys. DirkvdM 07:41, 14 September 2007 (UTC)
- Thanks for the reactions. I wasn't able to find any way to configure the tuning yet, so I suppose ditching WMP might be the best advise yet.82.169.159.161 20:03, 14 September 2007 (UTC)
- Search for gmreset.mid (i think). I've had this problem where some midi files would leave the machine in a strange state. 'Playing' gmreset (no sound is generated from the file) would fix those problems. --Mdwyer 23:06, 14 September 2007 (UTC)
- Thanks for the reactions. I wasn't able to find any way to configure the tuning yet, so I suppose ditching WMP might be the best advise yet.82.169.159.161 20:03, 14 September 2007 (UTC)
- According to equal temperament, one half note is an increase/decrease by a factor 1.059463. So if it is tuned exactly one half note too low, then it should be 440/1.059463=415.3 Hz. I don't know Windows media player, but if it plays midi, then it should be possible to tune up or down at least by half notes (and probably to any tuning you like). If not, ditch it and install a proper program. Actually, BenRG might not be joking. There might be an option to set it too all sorts of tuning, such as non-equally tempered, to play stings and flutes and such properly, but also to play in all sorts of exotic keys. DirkvdM 07:41, 14 September 2007 (UTC)
- That sounds like sort of a panic button, something that 'resets' the instrument when a sound-off message has not come through. If that's what it is, it won't help here. Of course, that shouldn't stop you from trying ... DirkvdM 04:31, 15 September 2007 (UTC)
- I'd never heard of a midi panic button before. Neat! I'm under the impression that GMRESET.mid does the same thing, but also more. I'd try it no matter what. --Mdwyer 21:28, 15 September 2007 (UTC)
- That sounds like sort of a panic button, something that 'resets' the instrument when a sound-off message has not come through. If that's what it is, it won't help here. Of course, that shouldn't stop you from trying ... DirkvdM 04:31, 15 September 2007 (UTC)
- I guess I should've specified that my problem is not only in WMP, it's all midi output on my laptop. --Russoc4 14:01, 15 September 2007 (UTC)
What is Bluetooth?
Could someone please explain this to me in plain English. Basically, I want to know what it does and how it works. Isn't it some sort of local area networking?--70.129.203.0 22:56, 12 September 2007 (UTC)
- It's like wifi but instead of connecting a computer to a network, it's made to connect a wireless device to your computer. It's designed so that your computer doesn't use half its processing thinking it's a router to an entire network, when it's really just connecting to like 2 devices. So different protocol. --frotht 23:52, 12 September 2007 (UTC)
- Saying it's for connecting a wireless device to your computer is a bit misleading. Bluetooth is like WiFi in that it's a wireless communication protocol, and used for two devices (such as phone and bluetooth headset). It generally has a low power consumption, short range, and relatively easy to set up. So in a way, it's like the more familiar USB connection; it makes set up easier, but it has limitations, such as causing USB drives to be slower than internal drives, etc. And bluetooth devices still use radio waves, just like USB still uses electricity. --Wirbelwindヴィルヴェルヴィント (talk) 16:07, 13 September 2007 (UTC)
External USB hard drives
What are the disadvantages? Are they as fast as internal parallel bus drives? —Preceding unsigned comment added by 212.139.105.199 (talk) 23:31, 12 September 2007 (UTC)
- Far, far slower transfer rate. My very high-end model (at $150 for 70GB it'd better be high end) transfers 10GB in approx 20 minutes. No effective difference in read/write.. the usb is the bottleneck. But what do you mean "parallel bus drives"? Serial is not any slower. --frotht 23:50, 12 September 2007 (UTC)
- Another disadvantage is that they cost more, especially if you buy the ready to use ones (as opposed to buying a standard internal drive plus a case then building it yourself, which still costs more as you have to buy the case). --jjron 09:26, 13 September 2007 (UTC)
- It shouldn't be that slow. I just benchmarked my external USB drive at 24.7 MiB/sec sustained, which is 10 GiB in less than 7 minutes. This isn't a high-end drive, just an ordinary consumer IDE drive in a cheap made-in-china case. -- BenRG 23:05, 13 September 2007 (UTC)
SSH
1) If the server doesn't have your public key (or you never created a keypair), will SSH still be secure? Does the client generate the key pair on the fly and send the public key as part of the handshake?
2) How do you set up the SSH server so that it only accepts connections from people whose public keys are on the server? --frotht 23:47, 12 September 2007 (UTC)
- For 1, I think you're confusing the Pubkey authentication with the session encryption used by SSH. They're two different things. For 2, you set up the sshd on the remote server to only accept PubKey Authentication, and nothing else. -- JSBillings 01:22, 13 September 2007 (UTC)
- I know that your key pair can be used for authentication, but isn't it always used to encrypt your session too? It wouldn't make any sense to use an RSA key pair just for authentication. So does SSH have session encryption separate from that that kicks in if you aren't using pre-generated keys? Or does it just make one up automatically? I used to have sshd set up and when I connected to it with putty, putty asked me if I wanted to accept the server's public key.. so presumably the server and putty both generated a key pair on their own without being asked.. right? --frotht 01:38, 13 September 2007 (UTC)
- As far as I can remember, the client's public key is only used for authentication. Client authentication doesn't happen until after the client and server have agreed on the session keys, so the security is unaffected by which authentication mechanism you use. SSH supports shared-secret authentication for the client but not for the server, so the server needs a public key but the client doesn't. -- BenRG 01:58, 13 September 2007 (UTC)
- I know that your key pair can be used for authentication, but isn't it always used to encrypt your session too? It wouldn't make any sense to use an RSA key pair just for authentication. So does SSH have session encryption separate from that that kicks in if you aren't using pre-generated keys? Or does it just make one up automatically? I used to have sshd set up and when I connected to it with putty, putty asked me if I wanted to accept the server's public key.. so presumably the server and putty both generated a key pair on their own without being asked.. right? --frotht 01:38, 13 September 2007 (UTC)
- The prompt that you get when connecting to an ssh server for the first time (when the client doesn't recognize the key and wants you to decide whether to believe that the server is who he says he is) - that is about the server's host key, which is generated once when the server is installed, and stored on disk so that it persists for the lifetime of the server. In ssh version 2, this can be an RSA key or a DSA key (ssh1 didn't use DSA). Your client will remember this key, and later if you connect to the same server and it's using a different key you'll get a big warning saying the host key has changed. This is a sign that you're not talking a different server using the same name - possibly an impersonator. All of this happens before the user authentication is even considered. --tcsetattr (talk / contribs) 05:59, 13 September 2007 (UTC)
- Your key pair is never used for encrypting the session, since public key encryption is many times more computationally expensive than symmetric encryption. The public key crypto is only used for authentication and for exchanging single-use symmetric session keys. --Sean 14:02, 13 September 2007 (UTC)
September 13
Registering a second-level domain
How could I register a domain name making amusing use of country code TLDs, such as (whatever).bit.ch or (whatever).fu.ck? Someoneinmyheadbutit'snotme 00:50, 13 September 2007 (UTC)
- You'd have to contact whoever owns bit.ch or fu.ck. -- JSBillings 01:16, 13 September 2007 (UTC)
- Use whois and you'll find bit.ch is owned by Inware AG in Zurich. However, fu.ck is not owned. There are two reasons - the registrar doesn't offer it because it is offensive. Also, the registrar doesn't give out two-letter names. -- kainaw™ 01:40, 13 September 2007 (UTC)
- Looks like it doesn't allow any registrations at the second level either (from .ck). Businesses can register a .co.ck though. — Matt Eason (Talk • Contribs) 18:21, 13 September 2007 (UTC)
- How about pri.ck? Someoneinmyheadbutit'snotme 19:32, 13 September 2007 (UTC)
- This reference desk is not a whois database. Look these up elsewhere. I think you will find that most of the obvious possible words are taken. -- Diletante 19:40, 13 September 2007 (UTC)
- How about pri.ck? Someoneinmyheadbutit'snotme 19:32, 13 September 2007 (UTC)
- Looks like it doesn't allow any registrations at the second level either (from .ck). Businesses can register a .co.ck though. — Matt Eason (Talk • Contribs) 18:21, 13 September 2007 (UTC)
Sending Novell messages
Our school computers are running Windows XP with the Novell Server software. I have received messages from other students (non-Admin accounts) through the Novell messaging pop-ups. I am curious, how does one do this (send messages to all users) with a non-Admin account? Thanks. Acceptable 01:15, 13 September 2007 (UTC)
- I think it's a little application.. at my old school it was in the Novell NetWare program group in the start menu called Messenger or something --frotht 01:42, 13 September 2007 (UTC)
- I can't remember what network software was in use (I think it may have been Novell), but at my old school you opened up the command prompt / Run dialog and typed "net send *username* *message*" (without asterisks). Confusing Manifestation 03:15, 13 September 2007 (UTC)
- Right-click on the Novell icon on the task bar. (It's a big N) Some options should pop up, one of which should be send message to user or something. You may have to know their login id, however. YeoungBraxx 10:39, 13 September 2007 (UTC)
In C should I use exit() or return() to exit main{}
Which should I use to exit the main function of a C program? exit() or return()? A friend tells me that exit() is the better option because it cleans up memory allocations etc, but lint (the error checking program) complains if I don't use return(). —Preceding unsigned comment added by 124.176.36.88 (talk) 03:20, 13 September 2007 (UTC)
- I don't really think memory clean-up matters at all during application exit. Any modern OS will clean it up for you. If I remember the C standard correctly, a return from main is defined as being equivalent to a call to exit, with the same parameter.
- Gah, not a return from main, but the final return from main. There may be obscure reasons to call main recursively. BTW, see this FAQ for references. --Pekaje 08:40, 13 September 2007 (UTC)
Thanks! 203.22.236.14 08:44, 13 September 2007 (UTC) (same person 124.176.36.88, but on a different machine)
- Note also that return is a keyword, not a function, so it's misleading to refer to it as "return()". As for the question, I personally think it's better stylistically to always return from a non-void function, but if your compiler knows that exit() never returns then it doesn't really matter. --Sean 13:58, 13 September 2007 (UTC)
- IIRC, most standard C libraries automatically call exit() when main reaches the end of the function. Whether you use exit() or return won't ultimately make any difference, as such resources will be cleaned up one way or another. However, you should use return - should you decide to move the code from main() to another function, you won't have to worry about changing as much code. --Sigma 7 18:45, 13 September 2007 (UTC)
what are the key features of Xerox Alto?
What are the different versions of Microsoft, mention fro the earliest to the leates? Why " LIsa doomed to failure"? What are the best features of FUI that you can observe in Windows XP?Jahanzeb87 04:25, 13 September 2007 (UTC)
- This sounds like a curious mix between homework and questions that don't make much sense. Perhaps start with Xerox_Parc#Accomplishments, Apple Lisa, Microsoft Windows, and History of Microsoft Windows. And what is FUI? Do you mean GUI? --jjron 09:32, 13 September 2007 (UTC)
What is FUI anyway> --Do not click me! —Preceding unsigned comment added by Multipleidentitynumberthree (talk • contribs) 19:44, 13 September 2007 (UTC) Did you mean GUI? --Do not click me! 19:45, 13 September 2007 (UTC)
How to resize Flash in the Wikipedia editor
Hi
I'm trying to insert a flash banner into my Wikipedia site but I'm having problems with the sizing, for some reason it makes it really small.
All I've done is to paste the URL into the code window and tried to play around adding in width=750 height=120 but with no success, I've been searching round for the actual Wikipedia syntax for height and width but i can't find it anywhere, someone please help it's driving me mad.
Many Thanks
Dave —Preceding unsigned comment added by 193.123.249.157 (talk) 14:57, 13 September 2007 (UTC)
- Why would you need Flash? I'm assuming you mean on your user page? --LarryMac | Talk 15:10, 13 September 2007 (UTC)
Yeah just on my user page —Preceding unsigned comment added by 193.123.249.157 (talk) 15:51, 13 September 2007 (UTC)
- You can't use flash. Thank God. --frotht 18:46, 13 September 2007 (UTC)
- I'm not a big fan of Flash, but I personally wish it (or better, a free replacement) was allowed here. Some of the animated gifs we have (e.g. 1, 2) would be a lot smaller and more editable with a vector-based file. --Sean 15:33, 14 September 2007 (UTC)
You could always have it as a gif file or something I guess. --Do not click me! 19:43, 13 September 2007 (UTC)
Black Bars on a Plasma Screen TV
Hi, not sure this is the right place for this question but... I just bought a new LG 42" plasma screen tv. I've turned on low contrast and the pixel orbiter, but I've been told not to watch movies with black bars on the side. Unfortunately, quite a few of my movie are 16:9, which can only be decently viewed with bars on the side. And if I watch a movie, I'll have black bars for a least 1.5 hours, maybe 3.5 if I watch Lord of the Rings. Can I make it full screen without screwing up the picture? Do I really need to worry about the black bars or is that still even a problem? Thanks! 24.178.112.241 15:25, 13 September 2007 (UTC)JMC
- To explain the issue VERY briefly... When you buy a new plasma, the phospors are brand new and glowing brightly. They will degrade as they are used. If you have black bars on the sides for an extensive amount of time, those sides won't degrade at the same rate. The result is that the middle will be dimmer than the sides when viewing wide-screen video. The fix is to use gray bars instead of black bars to make the sides degrade at the same rate as the middle. -- kainaw™ 15:44, 13 September 2007 (UTC)
- Are you sure you have black bars on the *side* while watching 16:9 movies? You should have small black bars on the top and bottom (letterboxing). Bars on the left and right is known as pillarboxing and should only appear when watching 4:3 movies or TV shows. As you say your TV is new and has pixel shifting, I would not worry about burn in. From what I read, the problem is virutally non-existent in modern plasmas. Unless you are displaying the same info for days at a time (like an airport flight display), I wouldn't worry about it. All modern DVD players and game systems have built-in dimmers and screensavers. Congrats on your new purchase! --24.249.108.133 16:01, 13 September 2007 (UTC)
- (edit conflict)Most movies aren't exactly 16:9, but nevertheless, widescreen movies would be the ones that don't display with bars on the sides. There might be some at the top and bottom. Standard definition TV, 4:3, is usually where you get bars on the sides. All of this is complicated by the settings on your DVD player and your TV, which most likely has settings to stretch the picture out in various ways. Off the top of my head, I think the settings on my Sony are "normal", "wide", and "wide zoom". --LarryMac | Talk 16:02, 13 September 2007 (UTC)
- Thanks for the quick replies! I have done some research... and yes it is letterboxing, not on the side as in 4:3 tv. It's actually pretty good at displaying SDTV fullscreen and with the pixel orbiter and frequent commericial breaks, I'm not worried about tv logos. I'm just worried about hurting my investment by watching movies, when that's what I got it for. Pixel orbiter won't help if it's an extended fixed image right (like a black bar)? There doesn't seem to be an option to turn 16:9 letterboxing to gray (though that is on 4:3 aspect ratio I never use. Although... the letterboxing doesn't seem to be as black as the black in my favorite space movies... so perhaps it's on automatically? Is there a way to find out? Am I freaking out for no reason? Should I just watch what I want... but maybe not LOTR for a while... and not worry about it? It's my first big tv and my first big purchase after my car. I guess I'm looking for some reassurance. Thanks! 24.178.112.241 16:12, 13 September 2007 (UTC)JMC
- Honestly, I wouldn't worry about it, unless you're planning on watching LOTR exclusively, over and over again, for days at a time. If you watch a variety of sources -- 4:3 TV, 16:9 TV, widescreen movies, Wii Sports . . . you should be fine. --LarryMac | Talk 18:34, 13 September 2007 (UTC)
- And if you only watched video in this format, you would not notice that the pixels in the black section were brighter! Graeme Bartlett 21:41, 13 September 2007 (UTC)
- Honestly, I wouldn't worry about it, unless you're planning on watching LOTR exclusively, over and over again, for days at a time. If you watch a variety of sources -- 4:3 TV, 16:9 TV, widescreen movies, Wii Sports . . . you should be fine. --LarryMac | Talk 18:34, 13 September 2007 (UTC)
- I think it's a good idea to run the display full screen for the first 150 to 200 hours. Checkout AVS forums. —Wayward Talk 01:53, 14 September 2007 (UTC)
Closing the lid
I just got an awesome new monitor so that I can have more screen space. I'm a big fan of locking my session (Flag + L) when I'm out of the room. It doesn't make any sense not to, and it doesn't make any sense to "sleep" your computer for security. So I use lock.. anyway, when I close my laptop lid, my monitor becomes the primary display. Very cool behavior, perfect for watching movies. But when I lock my session and close my lid, my monitor changes to my laptop resolution (same vertical resolution, just less pixels on the sides) and switches its mode to a "mirrored" display of the primary display! This doesn't go away when I open my laptop lid, so I have to go into display settings every time and check "Extend my desktop onto this monitor." Any ideas on how I can fix this? --frotht 18:43, 13 September 2007 (UTC)
I don't know the answer but I am curious. Which OS are you on? (Was it obvious from the fact that you mentioned flag plus l?) --Do not click me! 22:44, 13 September 2007 (UTC)
- yep. Vista. I figured it wouldn't be any difference vista/xp --frotht 22:47, 13 September 2007 (UTC)
xp reinstall
I have windows and SUSE. What happens if I reinstall windows? is suse still there, and the grub bootloader? —Preceding unsigned comment added by Jorgenssen (talk • contribs) 20:01, 13 September 2007 (UTC)
- If you do not delete the partition(s) with SuSE on it, the installation will remain there, however, it will likely rewrite the primary disk's boot sector, so you'll need to use a LiveCD or rescue disk to re-run the grub installer after windows has been (re)installed -- JSBillings 20:07, 13 September 2007 (UTC)
well, everything is on the same disc anyway, so I don't suppose "primary disc" is really a factor. I don't intend to delete the partition. I take it "boot sector" to mean my bootloader (the thing which selects either windows or suse) will disappear? SUSE doesn't have a live CD, but I think there is a system restore. —Preceding unsigned comment added by Jorgenssen (talk • contribs) 20:25, 13 September 2007 (UTC)
- Just boot from the first suse install disk. When it asks what you want to do just say boot into the already installed suse partition (if that's not an option you might have to actually enter the installer, which gives you the option). Once suse is running, go to yast and the grub install utility. --frotht 20:55, 13 September 2007 (UTC)
Ah. Thanks. I would come back if any problems cropped up, but that might be some time. --Jorgenssen, September 13th (UTC) —Preceding unsigned comment added by Jorgenssen (talk • contribs)
- grin. Use ~~~~ to sign your posts, don't try to do it manually :3 --frotht 23:12, 13 September 2007 (UTC)
like this: --Jorgenssen 11:26, 14 September 2007 (UTC) ?
Yes. --Do not click me! 01:18, 15 September 2007 (UTC)
net view equivalent for bash/linux
Is there a bash equivalent of the dos command "net view" which lets you view all of the computers on your LAN, Domain, and Network. – 69.150.209.13 20:22, 13 September 2007 (UTC)
- Not /bin/bash, since enumerating SMB machines isn't really the domain of the shell, but smbtree? Splintercellguy 22:10, 13 September 2007 (UTC)
- Neither is "net" in the domain of the shell. The OP just means "a command line program". --192.58.221.248 22:53, 13 September 2007 (UTC)
- True, but the OP said bash, while you could run such apps on any shell, really. Splintercellguy 23:08, 13 September 2007 (UTC)
Laptop computer + external LCD monitor
I have a Compaq Presario laptop computer that supports outputs in resolutions in 1600 x 900 and 1400 x 950. What will happen if I connect it to a 1680 x 1050 or a 1400 x 900 LCD monitor? -- Toytoy 20:46, 13 September 2007 (UTC)
- Once you connect the new monitor, you can go into Control Panel, then System, Hardware, Device Manager, right click on Monitors, then scan for hardware changes; and it should automatically update itself so that you can select the correct resolution for the new monitor. At least that's how it would work on a desktop, I'm not 100% sure if that will work on a laptop, but I'm sure someone will come along who does know for sure. --69.118.235.97 21:24, 13 September 2007 (UTC)
- It just depends on whether your video card supports it. What card do you have? --frotht 22:49, 13 September 2007 (UTC)
deo Mobile Intel (R) 945GM Express Chipset. Intel(R) GMA 950. 128 MB memory. -- Toytoy 10:32, 14 September 2007 (UTC)
- Ugh. I do not like those. Still, try this: right-click on your desktop wallpaper and choose "Graphics Properties...". This is a non-standard menu-item that is added by the Intel drivers. From the screen that pops up, you can go to the display settings and adjust the monitors, and also setup dual-monitors. --Mdwyer 23:10, 14 September 2007 (UTC)
Are you serious? Or is the 128 MiB the part dedicated to video? I hope it is the latter. Let us know how your problem worked out. Wish you guys have a nice weekend! --Do not click me! 01:17, 15 September 2007 (UTC)
I just ran spybot and for some reason it seems to be picking up Microsoft.WindowsSecurityCenter as a threat against this computer. Is this normal?--69.118.235.97 20:59, 13 September 2007 (UTC)
- If you look more closely, it is picking up the fact that one of the Security Center settings is overridden or something. This is usually done by many antivirus and/or firewall programs. --192.58.221.248 21:27, 13 September 2007 (UTC)
Spanish Dictionary
Is there a program, like WordWeb, that is for Spanish? --74.37.228.44 21:33, 13 September 2007 (UTC)
Docx vs PDF
I am new to MS Office 2007. I used the Save as command in MS Office 2007 to save a two page document in PDF. I got 13 KB for DocX format whereas for PDF, I got a 155 KB file.
I wonder why the same document produced in MS Office Word 2007 and saved in two formats, Docx and PDF differ by so much. Is it purely because, with the default settings in MS Office 2007, DocX compresses the data and PDF does not? I don't think so. Does PDF hold more information than DocX? What is this extra information then?
I find this whole business weird.
Do you have any non-obvious answers?
Regards, Kushal --Do not click me! 22:41, 13 September 2007 (UTC) --Do not click me!
[Post written by a bored Wikipedian. Delete if necessary.]
- For one, all fonts used in a pdf are packaged with the pdf, unlike a docx. --frotht 22:59, 13 September 2007 (UTC)
I used only one font though, arial unicode MS. What other reasons might there be? --Do not click me! 01:34, 14 September 2007 (UTC)
- Open the files in a simple text editor (as opposed to a word processor), which will not 'interpret' the text for you (on Windows, try notepad) and see what's there beside the text itself. You'll notice there's whole lot of irrelevant stuff. If it were 'clean' html, the file would probably be just a few kB in size. Another indication would be to copy the original text from msWord to Notepad and save it as, say, rtf. That would also greatly reduce the size. Alas, I don't know a way to convert word processor files into clean (!) html. And I'm dying to know one, so please if anyone knows ... DirkvdM 08:04, 14 September 2007 (UTC)
I guess you need to rewrite it from scratch for that. Sorry. =P --Do not click me! 01:12, 15 September 2007 (UTC)
- Also note that Word makes lousy PDFs. Usually you can take a PDF created by Microsoft Word, run it through a PDF Optimizer, and shrink the size dramatically. --24.147.86.187 12:34, 15 September 2007 (UTC)
Um ... interesting. Thanks I will google it. --Do not click me! 14:49, 15 September 2007 (UTC)
Dell Inspiron 1520N
Does anyone here own one? I am thinking of getting a new computer by late October or early november so I wanted to know which laptop I should buy (or should I even buy a laptop? Should I even buy a computer?)
Is it too early to start researching? Which would be the best laptop to buy for a college student?
The question above is too generic and will likely attract spammers/trolls so I am limiting myself to comments about the Dell Inspiron 1520N AND the Apple MacBook.
Regards, --Do not click me! 22:48, 13 September 2007 (UTC)
- Well my experience is that you don't really need a laptop. After a few years in college I've never once needed my laptop in class for notetaking. It's distracting in class and cumbersome to carry around. And all my computing and lab classes have workstations in the classroom for each student. Laptops are much more expensive, impossible to upgrade (I got a Yonah T2600 the week before Merom was released early, and now I'm stuck with it!), have cooling problems with gaming, and have underpowered graphics cards compared to their desktop cousins. Literally the only advantages to a laptop form factor is portability and utterly perfect quality of LCD displays (for high end laptops). Just save yourself a ton of money and get a really good desktop computer that you can upgrade on a rolling basis on the cheap instead of wasting your money on a laptop and being stuck with the same computer for years. --frotht 23:06, 13 September 2007 (UTC)
Interesting and really helpful comment. Thank you very much Froth!
If I should get a desktop so that I can upgrade it on a rolling basis, does it not preclude the all in one wonder, savior of design, and [all the great adjectives in the world], Apple iMac? --Do not click me! 01:32, 14 September 2007 (UTC)
- Heavy breathing and scary glazed look. Don't. You. Even. Think. About. It. Look at the facts! --frotht 03:46, 14 September 2007 (UTC)
- Except the part about Myst. Myst was EPIC --frotht 03:59, 14 September 2007 (UTC)
- "upgrade" and "Mac" are mutually exclusive. Unless you want to pay $2,500 base for a Mac Pro, and even then all you get is a PCI-E slot. Woooooo. -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 04:56, 14 September 2007 (UTC)
- The part where he called Doom the first shoot 'em up was also a bit odd. It wasn't even the first 3D shoot-em-up. And Doom was of course developed in-house on NeXT machines. Which is not to say I think you should buy a Mac. -- BenRG 10:17, 14 September 2007 (UTC)
- Except the part about Myst. Myst was EPIC --frotht 03:59, 14 September 2007 (UTC)
I think the conclusion, up to this point, of this thread is that I should not buy a computer at all. What a radical idea (my dad would love it!) =P Do keep your suggestions coming in, though. —Preceding unsigned comment added by Multipleidentitynumberthree (talk • contribs) 16:32, 14 September 2007 (UTC) --Do not click me! 16:52, 14 September 2007 (UTC)
- Build your own computer. Literally build it from scratch. I guarantee it'll be more educational than edutainment programs or (BLECH) useless school papers will. --frotht 21:11, 14 September 2007 (UTC)
I guess that's what I will do then. --Do not click me! 01:10, 15 September 2007 (UTC)
Any more suggestions? Different opinions are always welcome ... --Do not click me! 01:11, 15 September 2007 (UTC)
Firefox and IE
Hello, so i've been using IE and now changed to FF. I've found that with IE, when I click back, it automatically refreshes the previous page, or reloads it, which is good when I'm viewing recent changes. But FF does not do this, how can I get it to do it? Since Twinkle works on FF not IE, I need to find this out. Thanks! Phgao 22:56, 13 September 2007 (UTC)
- According to RFC 2616, section 13.13, Firefox is implementing the back button correctly. I see no configuration item that appears to be related, so this is probably not configurable behavior at this time. If you need fast navigation back to the current recent changes list, look at my note on access keys above. The recent changes list is access key "R". --Pekaje 23:06, 13 September 2007 (UTC)
- It's called cache and it's extremely useful. When I click back I want to see what I saw before, not what the page I was looking at before now looks like. My only complaint is that you can't control it from the server side. It's infuriating trying to write server scripts that are constantly foiled by firefox's cache.. it totally ignores the relevant HTTP headers --frotht 23:10, 13 September 2007 (UTC)
- If you want to reload a page in firefox, you hit ctrl-R, I believe. --24.147.86.187 01:14, 14 September 2007 (UTC)
- And some kind of combination of control and f5 or just f5 or I DON'T KNOW SOMETHING LIKE THAT to skip the cache -_- --frotht 03:47, 14 September 2007 (UTC)
- Think it's Ctrl+Shift+R. Someoneinmyheadbutit'snotme 11:04, 14 September 2007 (UTC)
- And some kind of combination of control and f5 or just f5 or I DON'T KNOW SOMETHING LIKE THAT to skip the cache -_- --frotht 03:47, 14 September 2007 (UTC)
- How often do you want a page to reload? People normally don't and it slows down operations and puts an unnecessary load on the Internet. When you do want it to reload, just hit F5. Simple and quick. Unless you always want it to reload, but I can't imagine why that would be. DirkvdM 08:11, 14 September 2007 (UTC)
- Well for some reason, my current IE always refreshs/reloads when I go back, ie yes so I don't view the cache stored. But I like that, as for example I'm on the RC page and see vandalism, well I go do the revert then I just want to go back to a refreshed RC page, as there is no good going back to a cached version, since the vandalism there is already reverted, and the RC page changes very quick. Now, this may seem minor, but with FF, when I go back yes I see the cache, and I do admit this is good for when I go off the net, but still want to view loaded pages, but for RC's its not good, as I have to do F5, ie manual refresh it. Ah well, thanks for the responses guys! Phgao 12:19, 14 September 2007 (UTC)
- In IE6, there is an option under General / Temporary Internet Files / Settings that allows you to choose when the browser will "Check for newer versions of stored pages", the options are every visit, every time you start IE, automatically, and never. This page gives a Firefox setting that can be modified so that FF will mimic the IE behavior. I do not have access to a copy of Firefox on this computer, so I can't verify this; use it at your own risk. --LarryMac | Talk 13:41, 14 September 2007 (UTC)
September 14
SQL Function CAST question.
SQL> select order_date,(cast(order_date as timestamp) - cast(current_timestamp as timestamp)) from TABLE_X limit to 1 row;
%SQL-F-INTNOTQUAL, Interval expression not qualified
Why is it returning an error?
Going on similar lines, what do i do if i want to find the age of a person today, from a table which has birthdate of a person, using current_timestamp? —Preceding unsigned comment added by 203.5.155.234 (talk) 03:25, 14 September 2007 (UTC)
- Check out the datediff function for your dialect of SQL. In my version this computes a difference of dates in various units. RJFJR 14:32, 14 September 2007 (UTC)
Would somebody please tell me...
...how VLC can have a 7 minute MP3 playing with 7k of memory consumption and 0% cpu, but it takes Vista Sidebar 80 megabytes of memory and 12% cpu constantly to display the system time, a calender, and CPU consumption?! What are those little gadgets written in? --frotht 04:14, 14 September 2007 (UTC)
- MS WIndows is mostly written in C++, if I recall correctly. VLC is written in C. As for why, I suspect only Microsoft knows. --h2g2bob (talk) 08:11, 14 September 2007 (UTC)
- Planned obsolescence, of course! The slower it runs, the more people need to upgrade, the more money the hardware people get, and the crappier they can write their code so they can lay off some more programmers! --antilivedT | C | G 08:30, 14 September 2007 (UTC)
- I believe Sidebar Gadgets are written with XML/HTML/Javascript, so they're essentially little web pages. As for the performance comparison, I don't know. It's certainly not a C vs. C++ issue.
- I find your numbers for VLC to be very suspect. No running program can really use 0% CPU, so I suspect that it's offloading the MP3 decoding to a different chip (i.e., your soundcard probably has an MP3 decoder built in). 7K of memory is way low. When I run vlc, it uses 11MB of memory, with 7KB of shared memory, so perhaps you were looking at that figure. --Sean 15:25, 14 September 2007 (UTC)
- I can also verify that vlc uses 0% cpu, with 99% still visible under System Idle Process, meaning that no other application is using cpu cycles either. As opposed to WMP which uses up to 15 - 20% cpu to play the same file. Though cpu usage does of course vary depending on the file type. --69.118.235.97 15:31, 14 September 2007 (UTC)
- Yes, it says 0% CPU on mine, too. What I meant is that even though it's using near zero on the main CPU, it's probably using most of the CPU time on the sound card, which isn't reflected in top or whatever. --Sean 15:44, 14 September 2007 (UTC)
- Realtime MP3 decoding really does take much less than 1% of a modern CPU. It might well appear as 0% usage if everything gets rounded to the nearest percentage point. (And there's not much reason to offload it.) As for the original question, I doubt that even Microsoft would release a program that was intended to run all the time and that used a noticeable fraction of the CPU. There must be something else going on here (like a bug). The memory usage is probably mostly shared DLLs -- at least I'd hope so. -- BenRG 16:41, 14 September 2007 (UTC)
- No, it's a well documented phenomenon. Check out the windows marketplace linked from the "Add Gadgets" dialog in sidebar. Half the gadget reviews are along the lines of "I'm trying to keep my sidebar CPU consumption below 15%, yours adds just 2% too much sorry!" --frotht 21:08, 14 September 2007 (UTC)
- Realtime MP3 decoding really does take much less than 1% of a modern CPU. It might well appear as 0% usage if everything gets rounded to the nearest percentage point. (And there's not much reason to offload it.) As for the original question, I doubt that even Microsoft would release a program that was intended to run all the time and that used a noticeable fraction of the CPU. There must be something else going on here (like a bug). The memory usage is probably mostly shared DLLs -- at least I'd hope so. -- BenRG 16:41, 14 September 2007 (UTC)
- Yes, it says 0% CPU on mine, too. What I meant is that even though it's using near zero on the main CPU, it's probably using most of the CPU time on the sound card, which isn't reflected in top or whatever. --Sean 15:44, 14 September 2007 (UTC)
- I can also verify that vlc uses 0% cpu, with 99% still visible under System Idle Process, meaning that no other application is using cpu cycles either. As opposed to WMP which uses up to 15 - 20% cpu to play the same file. Though cpu usage does of course vary depending on the file type. --69.118.235.97 15:31, 14 September 2007 (UTC)
This is what I call a bloat. but unfortunately, this is a problem with free software too. Notice how Ubuntu needs at least 256 MB RAM and 4 4 GB hard disk as a minimum. This is not nearly as bad as Windows Vista, but it still is a problem. —Preceding unsigned comment added by Multipleidentitynumberthree (talk • contribs) 16:28, 14 September 2007 (UTC) --Do not click me! 16:29, 14 September 2007 (UTC) (sorry hit alt-s too soon.
- Not really, if you're looking for an OS to run on very minimum-spec machines, Damn Small Linux would be a better choice, since its goals are minimalism, whereas Ubuntu's objective is ease of use and productivity. Splintercellguy 16:54, 14 September 2007 (UTC)
oddness
I just updated Firefox, and now all of a sudden when I visit Wikipedia, it looks like this, all big, bold, and bloated! What do you suppose happened to my settings? It looks normal on all other websites btw, so I'm really at a loss to explain this myself. Nothing amiss in my content tab either, Arial Black, 16 pts. --69.118.235.97 14:19, 14 September 2007 (UTC)
- That is Arial Black! Try changing it to Arial in your Content tab — Matt Eason (Talk • Contribs) 14:27, 14 September 2007 (UTC)
- Ah.. you're right, don't know how that happened. Must have changed that by accident. I guess I don't know my font styles as well as I think I do (: Thanks!--69.118.235.97 14:29, 14 September 2007 (UTC)
- No problem :) — Matt Eason (Talk • Contribs) 14:33, 14 September 2007 (UTC)
Bioshock demo
Whenever I try to run it it comes up with "Bioshock.exe has encountered a problem and needs to close. We are sorry for the inconvenience." which is singularly unhelpful. What should I try doing which might make it work? —Preceding unsigned comment added by 84.68.35.79 (talk) 15:05, 14 September 2007 (UTC)
None of the things on there are helpful, as it is the demo and it comes up with a generic error message. I'm thinking my computer just isn't good enough to run it, although it's not obviously old and bad at doing stuff. —Preceding unsigned comment added by 84.68.35.79 (talk) 16:26, 14 September 2007 (UTC)
- Error codes and other exception information would help. Splintercellguy 16:52, 14 September 2007 (UTC)
That's the problem- it only comes up with a generic error message that says nothing about what the problem might be. Should I post dxdiag data? I suspect my computer might not meet the system requirements, but I am unsure. —Preceding unsigned comment added by 84.68.35.79 (talk) 17:27, 14 September 2007 (UTC)
- Have you considered comparing your computer's specs with the system requirements? --24.147.86.187 01:09, 15 September 2007 (UTC)
- I get this problem when trying to run it off the start menu. Try making a shortcut on the desktop or running the executable directly. -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 21:03, 15 September 2007 (UTC)
list plugins
Is there any way to get windows to produce a list of all browser plugins installed on IE? --69.118.235.97 15:07, 14 September 2007 (UTC)
- I found it under Internet Options, Programs, Manage Add-ons. --69.118.235.97 15:10, 14 September 2007 (UTC)
What's this?
Anyone have any idea what this is? I'm wondering if it's safe to disable it. --69.118.235.97 15:18, 14 September 2007 (UTC)
- A quick Google search tells me it belongs to Microsoft Office.--69.118.235.97 15:19, 14 September 2007 (UTC)
No idea, sorry. Can I assume you are on Internet Explorer on MS Windows? --16:41, 14 September 2007 (UTC) --Do not click me! 16:41, 14 September 2007 (UTC)
- I already followed this up on my own, and it seems to be related to Microsoft Office, as indicated in the above <span> tags.--69.118.235.97 16:53, 14 September 2007 (UTC)
Odd
The Google toolbar for Firefox doesn't seem to have the option of disabling the Search History? Where as the Google toolbar for IE does? --69.118.235.97 15:54, 14 September 2007 (UTC)
- Does this information help? --LarryMac | Talk 17:19, 14 September 2007 (UTC)
- First thing I tried, unfortunately deleting the search history isn't the same as disabling it. Deleting it is basically just the same as clearing your browser history, what I want is to not have the page history on the toolbar at all. --69.118.235.97 17:52, 14 September 2007 (UTC)
- I understood that; there is a section in the page I linked that says "To disable this feature in Mozilla Firefox 2", which seems to address what you want. --LarryMac | Talk 18:02, 14 September 2007 (UTC)
- Thanks! I must have missed it the first time around.--69.118.235.97 18:04, 14 September 2007 (UTC)
- Odd, the box I need to check off is in gray and seems to be uncheckable. Click "Clear Now"... and make sure the box next to "Saved Form and Search History" is checked --69.118.235.97 18:08, 14 September 2007 (UTC)
- Thanks! I must have missed it the first time around.--69.118.235.97 18:04, 14 September 2007 (UTC)
- I understood that; there is a section in the page I linked that says "To disable this feature in Mozilla Firefox 2", which seems to address what you want. --LarryMac | Talk 18:02, 14 September 2007 (UTC)
- First thing I tried, unfortunately deleting the search history isn't the same as disabling it. Deleting it is basically just the same as clearing your browser history, what I want is to not have the page history on the toolbar at all. --69.118.235.97 17:52, 14 September 2007 (UTC)
Brightness adjustment on laptops
Has anyone ever encountered a problem where, after placing a laptop in sleep or hibernate mode, and later turning it back into active mode, the brightness adjustment function doesn't work? On random occasions, after I turn my laptop back to active mode, I will sometimes notice that pressing the FN plus Home/End buttons to turn brightness up or down, the brightness refuses to change. Thank you --24.211.242.80 16:13, 14 September 2007 (UTC)
- What make and model laptop? — Matt Eason (Talk • Contribs) 18:58, 14 September 2007 (UTC)
news section posting
i've just taken over running a website one of the things i want to do to make it easier to edit is alter the news section. basicilay we have a news page with the full news text and also on every page we have a column on the right hand side of the page which has a news in brief (best way to describe it) now currently you have edit both sections manually which is a pain. is there a way to get the stuff in the column to update automaticly say posting first 2 lines and header for the 3 most recent articles? i'm using tribal CMS and have limited access to alter server side settings--Colsmeghead 17:55, 14 September 2007 (UTC)
- If tribal doesn't support it, then no. Unless you want to open up the code and write a quick hack to do the job.. but you can't if you have limited server access. --frotht 23:50, 14 September 2007 (UTC)
cleaning my laptop
what is a safe and effective way to remove dust, smudges etc from my laptop screen without scratching or ruining it in anyway? preferably without buying any special cleaning cloths... —Preceding unsigned comment added by 128.101.53.182 (talk) 20:57, 14 September 2007 (UTC)
- I use the back of my index finger to clean off dust (my thinkpad screen has a very dry matte surface that doesn't get smudged), and a special cleaning cloth to get everything else every few months. But I'm extremely careful and my screen very rarely gets anything but dust on it. I haven't had to clean my new LCD monitor yet.. I tried to wipe off a speck of dust with the back of my finger and it's definately not matte finished.. i left a nasty smudge. You can always use a microfiber cloth, or sometimes I use my underwear since it has a high "thread count" or whatever the equivalent is for clothes --frotht 22:30, 14 September 2007 (UTC)
- Just water and a microfiber cloth is the best and safest way. -- Diletante 16:36, 15 September 2007 (UTC)
Bad audio while CD drive is running
hey there everyone. For some reason, while my CD drive is spinning anything, the audio on my PC gets all skippy and jumpy. All the audio drivers etc are up to date. I use iTunes to play back stuff, and I have an IDE HDD and CD drive, would changing these to SATA do anything worth while? Thanks! Jackacon 21:54, 14 September 2007 (UTC) (yes I know I forgot to sign, thanks auto bot!)
- Sounds like a problem with DMA. Make sure your CD drive is set to use DMA. --Mdwyer 23:13, 14 September 2007 (UTC)
Checked that, it's still bad. Thanks anyhoo! Jackacon 23:35, 15 September 2007 (UTC)
P=NP
I don't understand why this is such a difficult problem. Obviously there are countless problems that are easy to verify but computationally hard to solve... It seems like common sense to me that P can not always = NP. Can someone explain this? --frotht 22:26, 14 September 2007 (UTC)
- Mathematics and computer science is not about using common sense. It is about getting a computer to solve something for you in a rigorous fashion (or doing it yourself and demonstrating with math). Tons of things are common sense to a human brain but are impossible for computers to do at this point (I can glance at a room and immediately tell how many things within it would be considered "living" by most people, for example, but it would be pretty damned hard to codify that in a rigorous fashion for a computer algorithm). P=NP is a classic computer science programming question, it teaches one how to be a lithe programmer with things which are easy for the brain to grasp but very tough to get a computer to grasp. As such, such things are indicative of the sorts of things one must do if you want to make a computer think like a person. In any case, the entire point is that its "difficulty" is determined by its computational difficulty to solve — that's all anyone means by calling it "difficult." --24.147.86.187 01:04, 15 September 2007 (UTC)
- Take for example the problem of determining if a number is prime (primality test). It has been known for a while that it is in NP (which is itself somewhat tricky to show). But only in 2002 was it proven that PRIMES is in P. It is not at all obvious. What if other problems are this way? --Spoon! 02:26, 15 September 2007 (UTC)
The question is: Is it hard for our computers to solve these problems because they are genuinely hard tasks, or just because we used the wrong programs? To prove that they are genuinely hard, you have to prove that no possible program could solve them easily. That is difficult, because there is an infinite number of possible programs. — Preceding unsigned comment added by 84.187.11.201 (talk • contribs) 01:39, 15 September 2007 (UTC)
- Right. If I recall there is a whole branch of theoretical computer science devoted to trying to find computationally hard problems; last I checked in with a buddy of mine who does it, they haven't really found one yet, but are still looking. --24.147.86.187 12:32, 15 September 2007 (UTC)
- No, no, we have found lots of definetely hard problems. See for example Post correspondence problem, EXPTIME and PSPACE (the respective complete problems). What we are looking for is a problem harder than P *and still in NP*. —Preceding unsigned comment added by 84.187.34.84 (talk) 00:46, 16 September 2007 (UTC)
September 15
Microphone
Could somone recommend to me a high quality PC microphone? Preferably a headset. BeefJeaunt 00:37, 15 September 2007 (UTC)
I prefer USB headsets to traditional headsets unless you have a high quality microphone and a great great sound card. The answer depends on what you want to do with your microphone.
I will leave it to other wikipedians to give you brand names and product id numbers. Good luck. --Do not click me! 01:04, 15 September 2007 (UTC)
Firefox image background
I'm using Firefox 1.5. I'd like it so that when I'm viewing an image (by itself, not on a webpage) the background color changes to a different color like grey. This is to help me discern borders of bright images and also to display transparency with greater impact. So, I want to change the background color of images without having to change the default white background color of webpages. Sorry if its confusing..aznshorty67 01:35, 15 September 2007 (UTC)
- I've come up with something which isn't ideal but might be good enough. First install the Stylish extension from here. Once you've restarted Firefox, click the Stylish icon in the bottom-right and go to Write Style > Blank Style. Type 'Image border and background' into Description and copy and paste this into the large text box:
@namespace url(http://www.w3.org/1999/xhtml); img { background-color: #666 !important; border: 1px solid #222 !important; }
- ...and click Save. That'll add a grey border and background to all images on all pages (the not-ideal bit), but it will also add them when you view an image by itself. You can turn it on and off by clicking the Stylish icon, going to Global Styles and clicking 'Image border and background' - so you can keep it off when you're browsing and turn it on when you're viewing an image. — Matt Eason (Talk • Contribs) 10:35, 15 September 2007 (UTC)
Hardware problem
I have just bought new GeForce 7600 GS from ebay.com (it was factory sealed, as i requested). I installed it and started my LOTRO. Everything worked perfectly well first, say, 5 mins and then i started to get weird flashing interruptions. It looks like when you change resolution and screen goes black for about second or two, than changes to lighter shade of black for 2 more seconds, than back to normal. And in about 5-10 secs same thing again. I have done some research on Google, absolute ZERO. No reports of even similar error, let alone fix. Through my tests i found following:
- It happens only when complex 3D games are running, not when you are browsing or something else.
-It happens on ALL games (tested on LOTRO, Lost Planet, F.E.A.R. Matrix)
-I found that "flashing" reduces when i play on lower resolutions, sometimes even stops completely when reducing resolution on F.E.A.R.
-I got 2 accounts on my XP and for brief period of 2 days, when i played on mine account, flashing completely stopped, but when i switch on my familie's account and try playing there it appears again. I didn't touch anything and it started to appear on my account again.
-No application, including drivers, report any error, like it never happened, witch might point to monitor as cause of problem, yet monitor worked perfectly with former integrated graphics on motherboard.
Here are my specs
P4 3.0 ATI Radeon XPRESS 200 motherboard with onboard graphic, PCI-E 16x (card connected on it currently). 2 X 512 RAM New 2 weeks old PSU 400 Watt Some generic "polyview" 19 inch LCD monitor Latest DX9 Latest ForceWare drivers ver. 162.18 downloaded from http://www.nvidia.com/object/winxp_2k_162.18.html
I think thats what you need to know, if there is anything else, ill be more than happy to provide additional info.
I asked same question on nVidia forum, no replies, i have no idea where else to turn for help. I know this question might not be appropriate for here, you are not technical support, in which case please delete it.
Please, any help, even if you don't know what causes it but have some ideas or hints, please write it down...
Thank you in advance... Nighthawk001 04:21, 15 September 2007 (UTC)
- It sounds like a heat issue. Verify that the fan is spinning, and that the heat sinks are firmly attached to the chips. --Mdwyer 21:25, 15 September 2007 (UTC)
Firefox Find function
When I look through the ref desk pages I search for posts Ive participated in by searching for my name. But when I do that, the screen 'stops' with the found item (my signature) at the bottom, so every time I have to scroll down to see if there have been any follow-ups to my post. Is there a way to make Firefox show my signature (or whatever I'm searching for) in the middle of the screen? DirkvdM 04:39, 15 September 2007 (UTC)
- Ctrl+G or Next? --antilivedT | C | G 06:52, 15 September 2007 (UTC)
- Click Find Next. Djmckee1 - Talk-Sign 15:32, 15 September 2007 (UTC)
HTML and the line break?
I'm trying a new idea where i have multiple lines displayed as a tooltip in an HTML document using the "Title" tag. Here is what ive written:
<a title="!YunaGames   A command to list available games.">Game Menu.</a>
... believe it or not this actually works! However, i cant use <br>, probably because of the quotes? you can see that i put in a non breaking space character in there..... that seems to work fine.... but is there a way to tell the browser to make a new line using the same & character? im sort of novice, and i looked in wikipedia under line break with no results, i also tried &crlf with no result.
Another idea is, i can try it without quotes, but then it seems to only show up to the > in <br>.... and then the rest is displayed as part of the text afterwards ("Game Menu.")
Any ideas? Thanks.
137.81.112.209 04:40, 15 September 2007 (UTC)
- See here. In short: no, there's no reliable, cross-browser way to do it. Apparently a carriage return will work in IE but not Firefox or other Gecko browsers. I would just use a hyphen or dash (eg "!Yuna Games - A command to list available games."). By the way, HTML entities require a semi-colon after them, so it's , not   — Matt Eason (Talk • Contribs) 10:13, 15 September 2007 (UTC)
- The & code for carriage returns is — that's probably as good as you'll get. --24.147.86.187 12:25, 15 September 2007 (UTC)
bipedal locomotion
Are there any computer games/game engines that can/do use a physics type model of bipedal locmotion/walking for the in game character(s).
Are there any resources on modelling bipedal locomotion?87.102.47.225 09:12, 15 September 2007 (UTC)
Wikipedia in other languages
Could someone give me a link to the website that searches "all" Wikipedias for a certain word, i.e. you type in a word, and it lists all language WPs that have an entry, and if they have interwiki links. Thanks --Montchav 10:06, 15 September 2007 (UTC)
- You could use a search engine eg google and type "(word) wikipedia" - that will work.87.102.47.225 10:22, 15 September 2007 (UTC)
- Or simply "word site:wikipedia.org" --antilivedT | C | G 10:32, 15 September 2007 (UTC)
- If you only want to find pages with that word in the article title, you can use inurl:word site:wikipedia.org — Matt Eason (Talk • Contribs) 10:39, 15 September 2007 (UTC)
- Or simply "word site:wikipedia.org" --antilivedT | C | G 10:32, 15 September 2007 (UTC)
PDF Files
Does anyone how to convert a PDF file on Windows Vista to Microsft Word 2007? --Writer Cartoonist 12:06, 15 September 2007 (UTC)
- There is no straightforward or simple way to convert PDF files to Word files. They are totally different types of files, and PDF is meant to be a format that is very easy to convert into but pretty tough to convert out of.
- If the PDF is simply text, you can select all, copy, and paste it into Word with some success usually. It if is very complicated, you'll need to extract the various graphical and textual elements separately and re-create them in Word. If it is a scanned document (a document image), then you can try copying and pasting the text if OCR has been run on it, but it is likely to be buggy.
- There are PDF-to-DOC converters for sale on the web; I would frankly distrust them and just do it myself. --24.147.86.187 12:22, 15 September 2007 (UTC)
Could I ask you if you mean convert to or convert from a PDF file? Converting to a pdf is pretty simple. (Go to the office button, click save as and then publish) And why would you want to convert from a PDF file? A PDF is forever! --Do not click me! 14:45, 15 September 2007 (UTC) --Do not click me! 14:44, 15 September 2007 (UTC)--Do not click me! 14:45, 15 September 2007 (UTC)
- I think it is pretty clear he wants to convert from a PDF to DOC. There are reasons one might want this — someone sent you a document as a PDF, you'd like to edit it — but as I said, it's not easy to do, and intentionally so. --24.147.86.187 15:07, 15 September 2007 (UTC)
A walk along the Wikipedia highway brought me to [3] aka Pstoedit. I have never used this software but could you look at it to see if it is what you need? Best of luck! --Do not click me! 00:46, 16 September 2007 (UTC) Do not click me! ~~ ~
Also my personal opinion, please avoid Microsoft Office 2007 file formats (docx, xlsx, ... etc) until it is widely accepted unless absolutely necessary. Thanks. --Do not click me! 00:49, 16 September 2007 (UTC)
WEBSITE help: it suddenly stopped working
Hello, I am new to websites, but to save some money, I used frontpage to design my page and get a free host, newsit.es, to host it. For a while, my .com domain worked and I was happy with my website. Then suddenly, I checked my page on internet explorer and it says the server cannot be found. I know that newsit.es is working because the same page I made for my .com domain is displayed on username.newsit.es . I tried updating the page with frontpage and it still hasn't showed up on the net. Also, I bought the domain about 2 months ago and paid for a year, so I am confident that I still own it. Any ideas would be greatly appreciated,
Thanks, Robert —Preceding unsigned comment added by 71.56.231.40 (talk) 14:21, 15 September 2007 (UTC)
Have you checked the nameservers or URL forwarding settings, is the site still on the free url? Djmckee1 - Talk-Sign 15:36, 15 September 2007 (UTC)
yes, i've checked the nameservers and URL forwarding settigns and those haven't changed. The free url still works too, but not the domain —Preceding unsigned comment added by 71.56.231.40 (talk) 16:04, 15 September 2007 (UTC)
Auto tabbing in MS Word
While typing in Word, I have noticed that it automatically inserts a paragraph tab every time I press enter for a new paragraph. I can see why this could be handy for some people, as I almost invariably want a tab there. However, I automatically hit tab after enter, so I end up with two tabs. How do I turn off this feature? Thanks. 80.229.160.127 16:25, 15 September 2007 (UTC)
- Just go to the auto format under the Format menu and uncheck "Spaces at beginning of paragraph with first-line indent". Unless you're using 2007, then I'm not sure if its in that exact same spot. --Wirbelwindヴィルヴェルヴィント (talk) 16:41, 15 September 2007 (UTC)
Connecting eTrex Summit GPS receiver with a PC
I recently bought a GPS Receiver(Garmin eTrex Summit).It came with a cable (RS-232) for connecting it with a PC.I connected with that cable but the computer does not detect it. So I could not work with this device.Please help.Thank You —Preceding unsigned comment added by 202.70.67.182 (talk) 16:56, 15 September 2007 (UTC)
- Windows generally doesn't detect devices hooked up to serial ports. In theory, you'll need to have some form of GPS software, and either instruct it to look at a specific port, or it may scan the ports at that time. --Mdwyer 21:22, 15 September 2007 (UTC)
Easiest database software
What's the easiest free database software for single-user offline portable relationals on Kubuntu? I tried to use OpenOffice.org Base, but discovered a critical bug in the Ubuntu-package version of the program, which makes me want to look elsewhere. NeonMerlin 19:36, 15 September 2007 (UTC)
What was the bug? There might be a workaround. —Preceding unsigned comment added by 71.195.124.101 (talk) 00:24, 16 September 2007 (UTC)
- There might be, but unless OOo Base has improved a LOT since I last tried to use it, it really isn't at a stage where it is an efficient program to use. Last time I tried to use it, it would barely run. (I say this as a seasoned Access programmer, which is what it is clearly trying to emulate.) --24.147.86.187 01:52, 16 September 2007 (UTC)
Empty users' recycle bins
Hi. I use Windows XP. Many users on the computer put large files in the recycle bin but do not empty it. As a result the drive is almost full. Is there a way for an administrator to empty other users' recycle bins? --141.156.250.167 21:01, 15 September 2007 (UTC)
- I doubt it, though it should be possible for an administrator to set a maximum size of a recycle bin. --24.147.86.187 21:46, 15 September 2007 (UTC)
- Certainly, an administrator should be able to delete information from the recycle bin. I can't do it from here (I'm on a Mac), but I'm pretty sure there's a hidden folder under each user's directory, for which an administrator could go in and manually clean it out for each user. Try checking out this for tips on resizing the recycle bin. I hope this helps. The Evil Spartan 00:03, 16 September 2007 (UTC)
- Hmm, you're right, I forgot about how it was stored. Yeah, it should be able to be located and emptied in that way. --24.147.86.187 00:29, 16 September 2007 (UTC)
- Certainly, an administrator should be able to delete information from the recycle bin. I can't do it from here (I'm on a Mac), but I'm pretty sure there's a hidden folder under each user's directory, for which an administrator could go in and manually clean it out for each user. Try checking out this for tips on resizing the recycle bin. I hope this helps. The Evil Spartan 00:03, 16 September 2007 (UTC)
Multifile linking in C++
Hi all:
I would like to create a simple program in C++ with two files. In one file I would like to place class, together with its functions (Java style). In the other file I would like to place the main(). Can anyone give me a short set of steps to follow? (something like: 1) create main.cpp with your main, 2) create myclass.cpp with your class, 3) create and object with "gcc -c myclass.cpp", 4) compile main.cpp with "gcc -c main.cpp", 5) link with "gcc main.cpp myclass.cpp")... Thanks a lot people! --Waldsen 22:47, 15 September 2007 (UTC)
- Um, that's exactly how you do it. -Wooty [Woot?] [Spam! Spam! Wonderful spam!] 23:06, 15 September 2007 (UTC)
- Hehe, I think something is missing though. Maybe an include statement or a header file, but I'm not sure how those would look. --Waldsen 23:54, 15 September 2007 (UTC)
- Yeah. Often (traditionally?) the class definitions and similar are placed in a "header file" (traditionally .h instead of .cpp, but can be anything). This header file must be "include"ed in main.cpp do that the defs are visible at compile time. So:
- create myclass.h,
- create main.cpp, adding the line #include "myclass.h" after your other includes,
- compile and link with "gcc main.cpp", (default executable name is a.out)
- edit the source file(s) to fix bugs
- goto 1 :-)
- Saintrain 00:02, 16 September 2007 (UTC)
- Yeah. Often (traditionally?) the class definitions and similar are placed in a "header file" (traditionally .h instead of .cpp, but can be anything). This header file must be "include"ed in main.cpp do that the defs are visible at compile time. So:
- In the myheader.h file, I added just one line: "class myclass;". In main.cpp and in myclass.cpp, I added the line "include <myheader.h>" When I compiled, I got the following error: "main.cpp:2:22: error: myheader.h: No such file or directory". Is the compiler looking in the wrong directory or something? --Waldsen 00:15, 16 September 2007 (UTC)
- I fixed it! Turns out the include line is "include "myheader.h"". Thanks for the help! --Waldsen 00:18, 16 September 2007 (UTC)
Mmm... New problem: I have three files:
main.cpp
#include <iostream> #include "myheader.h"
using namespace std;
int main() { cout << "Hello, World!\n";
Number MyNum;
MyNum.set(7);
cout << "Num: " << MyNum.get();
cout << "\n\n";
return 0; }
myheader.h
class Number;
Number.cpp
- include "myheader.h"
class Number { int n;
public: int get(); void set(int num); };
int Number::get() { return n; }
void Number::set(int num) { n = num; }
The I did the following: "g++ main.cpp", and I got the following error: "main.cpp:10: error: aggregate ‘Number MyNum’ has incomplete type and cannot be defined"
Any thoughts? (p.s. I don't know how to format wikicode so the cpp code looks nice) --Waldsen 00:25, 16 September 2007 (UTC)
- Move the class definition of Number to "Number.h" and keep only the function definitions in "Number.cpp". GCC cannot compile your main file, because the mere declaration of Number as a class does not tell it how much space needs to be reserved in the stackframe of main to store an instance of Number. —Preceding unsigned comment added by 84.187.34.84 (talk) 00:58, 16 September 2007 (UTC)
Another LaTeX question
I want a page with a section heading then two pictures. Latex keeps putting the section heading on the page before, or on the next page. Any hints how I can fix this? Aaadddaaammm 00:01, 16 September 2007 (UTC)
Directory vs. tagging
Hi. I would like to know whether there is any text available comparing advantages of organizing items using tags with those of doing it using directories. The Portuguese Wikipedia sistematically uses directories for organizing pages, and I think this is a bad system. I would like to write a wiki essay there to show why, but it would be nice if someone had written something like that already.
Examples:
- On the English Wikipedia, the page about minor edits is called Help:Minor edit. On the Portuguese Wikipedia, it's called Ajuda:Guia de edição/Menus e ferramentas/Edição menor, which means Help:Edition guide/Menus and tools/Minor edit.
- On the English Wikipedia, you can go to Wikipedia:WikiProject Theatre, but on the Portuguese Wikipedia you need to type Wikipedia:Projetos/Artes/Dramaturgia. A.Z. 00:45, 16 September 2007 (UTC)
Firefox crashes on plugins since I installed Java
I use Kubuntu 7.04 and Firefox 2.0.0.6. Today I installed the latest JRE from java.com. Since the Firefox FAQ told me (adjusting for the difference in JRE versions) I'd have to
ln -s /usr/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
in "your Firefox plugins directory", I did this in /usr/lib/firefox/plugins (which also contained libunixprintplugin.so). Since then, Firefox crashes every time I try to open a page with Flash or Java, or about:plugins. (Flash previously worked fine. Firefox didn't have a Java plugin before.) If I launch Firefox from Konsole, I get:
INTERNAL ERROR on Browser End: Could not get the plugin manager System error?:: Success
If I try using .../ns7/libjavaplugin_oji.so instead, Java simply doesn't work, and blank space appears where the applet frames should be. Is it possible that "your Firefox plugins directory" means someplace other than /usr/lib/firefox/plugins, or is it a problem with this version of the JRE? NeonMerlin 01:46, 16 September 2007 (UTC)
Dual monitors.
How much would system performance be affected by using dual monitors? If I were to run a game on one and mIRC on the other, would my framerates drop drastically? Does the cursor move freely between screens? 202.10.86.63 01:57, 16 September 2007 (UTC)