Wikipedia:Reference desk/Computing
Wikipedia:Reference desk/headercfg
May 18
Microsoft Visual C++ Runtime Library
Hello. When I insert an Encyclopaedia Britannica 99 CD into my CD writer, I can search for definitions in the dictionary. If I leave my Pentium 4 computer idle for a few minutes and I search for another word, my computer initiates a search. A window appears and says:
- Microsoft Visual C++ Runtime Library
- Runtime Error!
- Program: C:\PROGRA~1\BRITAN~1\BCD\Program\g.exe
- abnormal program termination
The only buttons I can click are OK and the X button on the upper-right corner of the window. After I click on one of those buttons (it does not matter which button I click), the dictionary closes. To make the dictionary work again, I must put the CD back into the DVD-ROM. However, this problem does not occur in newer model computers. Why is this so? Thanks in advance for your help. --Mayfare 01:06, 18 May 2007 (UTC)
- There is an error in the program you use to view your encyclopedia (the one that is on the cd together with the data). There is a plethora of reasons why it could happen only on some computers (for exapmle a race condition). The only thing you can do about it is to see if there is an update for the encyclopedia software from the publisher that fixes the bug.
Apache, .htaccess
Hello all,
I have created an .htaccess file to protect a subdirectory in an Apache server. To test it, I took the first file at hand, in this case 'pdftk.1.txt', and uploaded it to the subdirectory. Strangely I was able to download it. I tested the configuration with many more files, but just this was not protected. Why does Apache do not protect files like *.1.*? Mr.K. (talk) 03:44, 18 May 2007 (UTC)
- It's really hard to diagnose something without knowing what it is in the first place. Maybe you should put your .htaccess file up here? --antilivedT | C | G 09:24, 18 May 2007 (UTC)
- Also, we need to know the httpd.conf or apache.conf settings. Is your Apache configured to allow user .htaccess files? --Kainaw (talk) 12:19, 18 May 2007 (UTC)
- Check the <directoy> stuff in httpd.conf is set up to check for .htaccess. I forget the exact command - check apache.org --h2g2bob (talk) 20:08, 18 May 2007 (UTC)
My .htaccess file is:
AuthUserFile /home/content/.../.htpasswd AuthGroupFile /dev/null AuthName "Members Only Area" AuthType Basic <Files pdftk.1.txt> require valid-user </Files> require valid-user
With or without <Files... </Files> the file like *.1.* are not being protected...This is in a shared server and I don't have access of httpd.conf or apache.conf. Mr.K. (talk) 02:28, 19 May 2007 (UTC)
- If Apache is not configured to allow users to override base settings with a .htaccess file, it doesn't what you put in your .htaccess file. It will be ignored. So, before going crazy trying to get your .htaccess file working, ensure that you are allowed to have an .htaccess file first. --Kainaw (talk) 03:32, 19 May 2007 (UTC)
- Users do are allowed to override the settings. The problems is that files like *.pdf or *.doc are being protected and files like *.1.* not. It is not lifethreatening, since I could let a couple of files unprotected, but I still want to understand why this is happening. Mr.K. (talk) 13:14, 19 May 2007 (UTC)
Half Life 2 List of Weapons
Where has the page which portrays all the weapons in half-life 2 gone?! I've tried searching and it comes up with a list of combine technology.
- It was probably deleted for being a guide or cruft -- Phoeba WrightOBJECTION! 08:40, 18 May 2007 (UTC)
- See it's AfD discussion. It lives on at the Internet Archive's Cached version from May 2006. --h2g2bob (talk) 20:01, 18 May 2007 (UTC)
- Also appears to have been transwikied to stratergywiki. --h2g2bob (talk) 20:05, 18 May 2007 (UTC)
- See it's AfD discussion. It lives on at the Internet Archive's Cached version from May 2006. --h2g2bob (talk) 20:01, 18 May 2007 (UTC)
Uploading SVG Images
Hi I recently created
vetor image, it looked great in inkscape but when I uploaded it in firefox it turned out all munted. Any Ideas what when wrong? --Lwarf 10:15, 18 May 2007 (UTC)
- It looks broken in Firefox's SVG renderer too. There's something weird about the three text objects - when you select them (with the text tool) in Inkscape, their blue boxes are inexplicably huge. If I were you I'd recreate the three text objects again. -- Finlay McWalter | Talk 10:28, 18 May 2007 (UTC)
The Text is ment to be huge, itś suppost to be the chasers war on everything title page for a userbox. A smimlar thing happend with
which is ment to look like
--Lwarf 10:41, 18 May 2007 (UTC)
- You misunderstand me. If I make a new text object in Inkscape, its blue text-clipping box is the same as its normal select box. But your text objects have blue boxes that are vastly bigger than their select boxes - much much bigger than the SVG's cliprect. It looks to me like you made the text objects by dragging with the text tool (to make a blue text box), typed text into them, and then scaled the text to fill the space you wanted. It seems Inkscape's renderer supports that properly but libsvg doesn't. If you make new text objects just by clicking with the text tool and then typing (which makes an auto-sizing blue text clip) and then resizing with the normal select tool, then that makes text objects which precisely fill their blue text clips, which libsvg can handle okay. -- Finlay McWalter | Talk 10:56, 18 May 2007 (UTC)
- Incidentally, it looks like you're hoping to reproduce a copyrighted logo (from The Chaser's War on Everything). Even though you've drawn the SVG yourself, that SVG would still be a derivative-work of the original, so its use on Wikipedia would have to be under the fair-use doctrine - it's not GFDL. And that, unfortunately, would mean it couldn't be used in a userbox ;( Perhaps just the text "WAR" would be sufficient, and shouldn't cause a copyright concern. -- Finlay McWalter | Talk 19:07, 18 May 2007 (UTC)
You may want to convert your text objects to paths. You can't edit them as text after that, but it helps ensure they will display the same anywhere, even on systems that don't have the same fonts. rspeer / ɹəədsɹ 17:52, 18 May 2007 (UTC)
- Try selecting the text and clicking Unflow from the Text menu. --h2g2bob (talk) 19:56, 18 May 2007 (UTC)
Well this is the least of my problems now, it kinda blanked my hard drive when trying to dual boot SUSE and Ubuntu. I've got a backup of my important file on my thumb drive, but this image was wiped. --Lwarf 10:23, 19 May 2007 (UTC)
cd/dvd piracy
Hi. Is it possible for a computer/cd/dvd drive to detect a difference between a pressed original of software and a digital copy of that data onto a recordable cd/dvd? (without using some extra method of authentication eg online registration). ie are there features on a pressed optical disc that can not be replicated on a recordable disc? Thanks87.102.47.231 16:47, 18 May 2007 (UTC)
- Sort of. There are several tricks which can be used, like marking sections of the disk as "bad sections" and seeing whether they still exist - this would catch some types of copying. The disk could also check items like the disk serial number. Also, you can't (normally) burn dual-layered disks, so the disk capacity of rewritable DVDs is effectively half (4GB single layer / 8GB dual layer).
- The normal way to get around such restrictions is to have the DVD data on your hard drive and use virtualization to pretend that data is in a DVD drive (see also virtual machine). Content providers (ie the publisher) can try to detect this by running copy-protection software on your PC, like starforce does. My knowledge on this is limited, but I think it modifies the device drivers for the CD/DVD drive, effectively rooting the machine. --h2g2bob (talk) 19:50, 18 May 2007 (UTC)
- There are many ways to protect the disc from copying, but pirates always win :) Some of the copy protection schemes are Starforce, SecuROM, SafeDisc and so on, with their opponents being disk image emulators like Alcohol 120% and Daemon Tools among others. After some time copy protection programs started checking for the presence of the disk emulation software which was countered by the programs (like sd4hide) that hide the presence of above mentioned, disk emulation software. It is worth mentioning that some copy protection programs can seriously damage or infect with viruses your computer. Shinhan 14:53, 19 May 2007 (UTC)
- link fixed --cesarb 16:03, 19 May 2007 (UTC)
- There are many ways to protect the disc from copying, but pirates always win :) Some of the copy protection schemes are Starforce, SecuROM, SafeDisc and so on, with their opponents being disk image emulators like Alcohol 120% and Daemon Tools among others. After some time copy protection programs started checking for the presence of the disk emulation software which was countered by the programs (like sd4hide) that hide the presence of above mentioned, disk emulation software. It is worth mentioning that some copy protection programs can seriously damage or infect with viruses your computer. Shinhan 14:53, 19 May 2007 (UTC)
- So much talking, but the answer is simply: yes! See Absolute Time in Pregroove.
How to improve a download/install process
There's a program called NVDA (Non-Visual Desktop Access) which is a screen reader to enable the blind to use a computer. It's freeware, so could be quite useful. However, it's incredibly difficult to install. First off, it comes as a ZIP file which is not self-extracting. Then you have to change which directory it stores into, at least with my ZIP extraction software, or it will put it in a temporary directory. Then it doesn't have an install wizard, but rather you must navigate to NVDA.exe and run it to do the install. Then it doesn't provide a desktop icon/sytsem tray icon or submenu under Start + Programs, so I had to create a shortcut icon, move it to the Desktop and rename it. I've written up a 22 step install process here: User:StuRat/NVDA. My question is, how can I convert this freeware to run with a single install wizard ? I'd like a blind, elderly person, who has never used a computer before, to be able to do the download and install it, themself, if possible. I realize that's rather ambitious, though, so would settle for something a sighted family member can install. Another option might be to put it on CD, already installed, and distribute it that way. StuRat 16:51, 18 May 2007 (UTC)
- I guess you could unzip the stuff yourself and then package it up with NSIS. It looks like all the NSIS installer has to do is unzip and create a shortcut, which is well within its capabilities. -- Finlay McWalter | Talk 17:09, 18 May 2007 (UTC)
- I think there's a step between the unzip and shortcut. It has to "install", which requires navigating to NVDA.exe, clicking on it, and letting it run. I'm not quite sure what it's doing at that point, perhaps changing the system registry and/or linking. Can NSIS handle that part, too ? StuRat 18:33, 18 May 2007 (UTC)
- This page describes how - I think you'd just need to call
ExecWait
in particular. -- Finlay McWalter | Talk 18:37, 18 May 2007 (UTC)
- This page describes how - I think you'd just need to call
- And if that inner-installer needs user input, you can (apparently, I've not done it myself) use
FindWindow
andSendMessage
to click buttons and type stuff automagically into that window. I have seen installers that do this, and is a fairly uncanny poltergeist-like experience. -- Finlay McWalter | Talk 18:45, 18 May 2007 (UTC)
- And if that inner-installer needs user input, you can (apparently, I've not done it myself) use
- One complication is that the process may be slightly different on different Windows versions, using different browsers, different download managers, and different unzip utilities. How are all these differences addressed by NSIS ? StuRat 22:20, 18 May 2007 (UTC)
- A few things are solved by doing stuff relative to environment variables like %systemroot% (rather than C:\WINDOWS). But beyond that you'll be writing a more sophisticated install script (in NSIS's scripting language) that sniffs around for things and does the appropriate thing (generally you'll figure out what is installed, and where, by looking for their respective entries in the windows registry). You don't need to worry about unzip utilities because NSIS has its own compress/uncompress stuff - it'll compress the files when you build the installer, and will decompress them (to destinations you specify) when the uninstaller runs. -- Finlay McWalter | Talk 22:48, 18 May 2007 (UTC)
- Thanks. StuRat 17:05, 19 May 2007 (UTC)
If this is to be done only once, the best way will be that you'll go there and do it by hand, especially to see any unexpected behaviour. If this should be done repeatadly, much work is to be done. My approach would be to write a command line script (a batch file) to do this. As I'm not into windos, I'd install cygwin (including perl) and do it with a unix-like shell script. At least, "navigating to NVDA.exe and clicking on it" would simply be sh -c $(find . -name 'NVDA.exe'). 84.160.252.186 19:32, 18 May 2007 (UTC)
- Testing versions do have an installer so try them. If you want to get the main version wroking with NSIS, you can use their NSIS scripts. --h2g2bob (talk) 00:11, 19 May 2007 (UTC)
- How bizarre that they have installers for test versions but not for the production version. StuRat 17:05, 19 May 2007 (UTC)
I assume this is dealing with Windows? You could do something like this with a Package Manager, so you'd only have to add a repository and update your system every so often, but that would only work on (some, I assume) linux distros (such as ubuntu). I don't know where to start on that though. -- Phoeba WrightOBJECTION! 06:20, 19 May 2007 (UTC)
- This is only intended for Windows, and it could be limited to Windows XP, if necessary. StuRat 17:00, 19 May 2007 (UTC)
Historical currency exchange rates?
Now this is not a pure computing question but, since i can only make do with data already in computer readable format, I'm askin that question here.
Is there a source for historical currency exchange rates somewhere on the net, free, at least for private use? I'm thinking of daily exchange rates among US$, EUR, YEN and possibly more, of the recent years, going back into the past as long as possible. 84.160.252.186 20:58, 18 May 2007 (UTC)
- There are several sources, though the amount of detail and the number of currencies covered tends to diminish as you go back in time. (Also, it used to be more common that currencies exchanged at more or less fixed rates, in which case daily information would be unnecessary.) Just google on "historic*" and "exchange rates". --Anonymous, May 18, 2007, 23:25 (UTC).
Mac OS X program to monitor socket connections
Is there a free (hopefully open source) and preferably command line that will listen to a socket connection that has already bean made by another program, and display it on screen in real time (the data that is passing through). Thanks!--Ryan 23:22, 18 May 2007 (UTC)
- Wireshark? It's probably able to run from command-line. Splintercellguy 23:44, 18 May 2007 (UTC)
- It has some command line stuff,[1] and it has an OSX port. And I heartily recommend it. --h2g2bob (talk) 00:04, 19 May 2007 (UTC)
- tcpdump is the old-reliable for UNIX-like systems, so presumably it works on OS X. --TotoBaggins 00:42, 19 May 2007 (UTC)
- Haven't yet tried wireshark, but tcpdump works well. Thanks everyone. You know what's funny? I can tell what websites my friends are on now ;)--Ryan 01:24, 19 May 2007 (UTC)
- You must use this power wisely. (HHOS. Sniffing network connections, or doing other things that only root can do, is a sysadmin-like thing, and sysadmins -- good ones, anyway -- take their users' privacy seriously.) —Steve Summit (talk) 04:07, 19 May 2007 (UTC)
- Don't worry. I'm not going to do anything malicious, just mess with my friends :)--Ryan 04:26, 19 May 2007 (UTC)
- You must use this power wisely. (HHOS. Sniffing network connections, or doing other things that only root can do, is a sysadmin-like thing, and sysadmins -- good ones, anyway -- take their users' privacy seriously.) —Steve Summit (talk) 04:07, 19 May 2007 (UTC)
May 19
Reserving one processor for a program.
Is there a way, in Mac OS X, to give a single program full control of a single core/processor? The OS and other programs would run on one core, the program would run on it's own core. Thanks for helping out!--Ryan 01:26, 19 May 2007 (UTC)
- I poked around but didn't see any. The call that does this goes by the name sched_setaffinity() on Linux, bindprocessor() on AIX, processor_bind() on Solaris, and so on. I didn't see any mention of such functionality existing for the BSDs (at least in user space), which I guess would be the closest to Darwin. --TotoBaggins 02:44, 19 May 2007 (UTC)
- Out of interest, do those calls need to be made in the program's code?--Ryan 04:25, 19 May 2007 (UTC)
- No, there are nice equivalents for them. --TotoBaggins 12:34, 19 May 2007 (UTC)
- I thought I would be nice and provide a link to nice (Unix), unlike that not-so-nice link to Nice, France. StuRat 16:26, 19 May 2007 (UTC)
Autotune settings
I've read in a lot of places that Auto-tune is used to achieve that distinctive vocal effect heard in many songs such as those by Daft Punk. However, I've not been able to find a guide that actually explains how to use the software version of Auto-tune to recreate this effect. Any help?
- I'm not sure I ever used the specific software you have or even heard the song in question, but I think I know what you are looking for. You will probably find a parameter that determines how quickly the software will tune the voice to the correct pitch. Try setting that to the quickest possible. In general, set the software up so that it is as brutal as possible, forcing the voice to the correct pitch. —Bromskloss 11:17, 20 May 2007 (UTC)
- I think the sound you are talking about is more specific to vocoder rather then "Auto-tune", whether that specific app was used on those songs is arguable but you can't argue that it's a vocoded sound. Find tutorials about vocoders, but to be honest from experience, vocoding in general, including Auto-tune are very difficult to just play with and get decent results.. Vespine 04:48, 21 May 2007 (UTC)
- Bromskloss was exactly right. I just set the key of the retuning as the same key of the song, then upped the retune speed to 1, the fastest setting, and that did it. The song I was thinking of was One More Time by Daft Punk, where it is definitely Auto-Tune being used. There's also an example on the Auto-Tune website for one of their hardware processors, see example #4
- Ah, nice to hear that. And I realise you had a hardware version, not pure software as I assumed. —Bromskloss 14:50, 22 May 2007 (UTC)
Apache log file entry
I have the following entry in my access_log for apache. I don't understand what it is meant to do (although I know it is designed to try and make my server send out spam). Can anyone explain it:
- access_log:202.105.13.153 - - [15/May/2007:21:33:54 -0600] "name=gstdyvowmb&address=karl-marx-strasse+29&city=london&...tmail.ru%2F227.html%0A%5Burl%3Dhttp%3A%2F%2Felvis992.hotmail.ru%2F227." 200 4033 "-" "-"
Note: I edited out about 2,000 characters in the middle of the request. I don't think they are necessary for anyone who can understand why this isn't a "GET" or "POST" request. --Kainaw (talk) 03:44, 19 May 2007 (UTC)
- Probably trying to exploit your server by a buffer overflow or similar, or possibly probing your firewall (ie: see if they get a "bad request" response from apache, or whether the firewall just drops it). Apache has no problems dealing with this kind of request. --h2g2bob (talk) 03:55, 20 May 2007 (UTC)
Compression mechanism
A while back someone mentioned an attempt to implement a (well-known) compression method that entailed decreasing the entropy of a given data file to achieve better compression rates. What was the method called, again?
- the freezer?0h wait this is digital never mind. Is there some kind of digital entropy that is analogous to entropy and enthalpy as related by Gibbs free energy 69.241.236.12 07:28, 19 May 2007 (UTC)Adam
(to above - doesn't seem quite the same as entropy in a thermodynamic sense)
Try entropy encoding - scrolling down the page gives a list of methods that use a 'entropy encoding method' - not sure that was your question buthope it helps.12:23, 19 May 2007 (UTC) (the compressed file has lower entropy than the original? - not quite familar with these terms)87.102.8.85 12:26, 19 May 2007 (UTC)
- I believe Morse code was an early example of this, using fewer dashes and dots for the most common letters. E and T required only a single dot or dash, while Q, for example, required 4 dashes and/or dots. StuRat 16:21, 19 May 2007 (UTC)
- No, you don't understand. We want to decrease the entropy (make it more regular) and then compress it, not encode based on the current entropy. This would be used to help compress "incompressible" data, like JPEG images, for example.
- Are you thinking of a Burrows-Wheeler transform ? --Stormie 07:09, 22 May 2007 (UTC)
- I think that might be it. Thanks!
grep for anagrams
I'm trying to grep my word list for simple anagrams. So I've got a word, say "ate". I want all anagrams. I've tried, somewhat lamely - I can do this:
grep ^[ate][ate][ate]$ $MYWORDLIST
but this gives me:
ate eat eta tat tea tee
and I don't want tee or tat. Where do I go from here to get rid of these? Or is there a better way? This isn't for homework, it's for cheating at crosswords, which is no more worthy perhaps... Thanks --87.194.21.177 11:35, 19 May 2007 (UTC)
- I don't believe you can do this with simple regexes. Another solution is to generate all permutations of {'a', 't', 'e'}, and then match this up with $MYWORDLIST, but that is a solution on a par with brute force as the number of strings to test grows with the factorial of the number of letters.
- Why not just use one of the many online anagram generators? --TotoBaggins 12:36, 19 May 2007 (UTC)
- Because coding your own solution is just SO much cooler. Plus, if he's doing it for a crossword then he'd need to do a *lot* of permutations. JoshHolloway 12:53, 19 May 2007 (UTC)
- I want to code it myself because I'll then be able to use any word list, also I already have a little script to find expressions like BLANK BLANK LETTER BLANK LETTER and am trying to build up a few tools to use together. Also it's fun.
The way I see it, to get from the list above to what I want I just need to pipe it to something that does
- I want to code it myself because I'll then be able to use any word list, also I already have a little script to find expressions like BLANK BLANK LETTER BLANK LETTER and am trying to build up a few tools to use together. Also it's fun.
grep "all the letters a,t,e in any order"
Surely this is possible?Don't know where to start in generating all permutations, but this is an option I suppose. Would this be doable (reasonably quickly) in bash? Or do I need to learn some C? Thanks for your help. --87.194.21.177 13:17, 19 May 2007 (UTC)
Okay, so I guess
grep ^[ate][ate][ate]$ $MYWORDLIST | grep a | grep t | grep e
works. Now to figure out a script....--87.194.21.177 13:27, 19 May 2007 (UTC)
- Actually that's not going to work for longer ones with repeated letters and such like. Back to drawing board... --87.194.21.177 13:32, 19 May 2007 (UTC)
- Just out of curiosity, why don't you want tat or tee? --LarryMac | Talk 15:06, 19 May 2007 (UTC)
- He only wants matches that include every letter in the list. And, if there are two e's in the list, he wants only matches with exactly two e's. StuRat 16:14, 19 May 2007 (UTC)
I agree with TotoBaggins; I don't think this is possible with ordinary regular expressions.
When I've worked on this problem in the past, I've constructed an intermediate index to assist. Take your word list, and generate a two-column file with the word in the first column and an alphabetical list of its letters in the second column. Then, to find all the anagrams of a word, sort the word's letters into alphabetical order, and do the obvious search on the second column of the index. —Steve Summit (talk) 16:31, 19 May 2007 (UTC)
- Cool. That's O(N*log(N)) to process the dictionary (once), and if you sort or hash the result, then its O(Long(N)) or O(1) for each lookup. This means that on a modern couputer you could process teh word list in (say) an hour or so for a complete English dictionary, and then get an anagram list in a few milliseconds. -Arch dude 18:38, 19 May 2007 (UTC)
- Depends on your definition of "modern computer", I guess.
- "When I've worked on this problem in the past" was in 1985, and I doubt it took anything like an hour even on the computers of those days. I just dredged the program out of my archives and recompiled it on today's laptop. (Happily, it still compiles.) /usr/dict/words on this machine has 234,937 words in it, and the anagram-index-builder took... 0.8 seconds to build the index. Sorting the index took another 1.16 seconds. (As I have been called to task for pointing out, "Remember that computers are very, very fast.")
- In fact, it could be argued that on a "modern computer", you don't even need to bother with the fancy intermediate index -- just process your dictionary in full each time, re-sorting its letters and comparing them to the target word's sorted letters. It'd still only take (on this computer, anyway) about 800 milliseconds for each word searched... —Steve Summit (talk) 16:03, 20 May 2007 (UTC)
- [P.S. A quick analysis of the sorted, anagrammed word list reveals that the two largest single-word anagram sets in this dictionary are of sizes 10 and 11. They are (Elaps, lapse, Lepas, Pales, salep, saple, sepal, slape, spale, speal) and (angor, argon, goran, grano, groan, nagor, Orang, orang, organ, rogan, Ronga). Binary search on the sorted anagram list retrieved these sets in 0.017 seconds each.]
- TotoBaggins didn't say that. —Preceding unsigned comment added by 203.49.212.212 (talk • contribs) 02:36, 20 May 2007
Thanks everyone, what Steve says sounds fun, will have a go. --87.194.21.177 21:59, 19 May 2007 (UTC)
- Keep in mind that the previous example of first asking for each letter in a group ([ate][ate][ate]) and then grepping the result for "a", then grepping the result for "t", then grepping the result for "e" will work. The issue is repeated letters. For example. if you wanted anagrams of latte, you would have to grep the results for "l", then "a", then "t.*t", then "e". Notice that you don't grep for "t" two separate times. You grep for two entries of "t" in the results. --Kainaw (talk) 16:42, 20 May 2007 (UTC)
- And there you have the solution to the original question: not one grep but a pipeline.
- grep '^.....$' /usr/share/dict/words | grep l | grep a | grep 't.*t' | grep e
- Instead of the first grep you can also use awk:
- awk length==5 /usr/share/dict/words | grep l | grep a | grep 't.*t' | grep e
- Or you can even do it all in awk:
- awk 'length==5 && /l/ && /a/ && /t.*t/ && /e/' /usr/share/dict/words
- Or perl:
- perl -ne 'print if /^.....$/ && /l/ && /a/ && /t.*t/ && /e/' /usr/share/dict/words
- And there you have the solution to the original question: not one grep but a pipeline.
- The first or second of these is the way I usually do it when I want to. On this system grep turns out to be distinctly faster: the four versions take about 0.11, 1.10, 1.35, and 0.98 seconds respectively (/usr/share/dict/words has 235,882 words). Incidentally, none of them finds any hits: apparently the use of "latte" in English is too recent for it to be in /usr/share/dict/words.
- So anyway, you can just write a program that you invoke as "anag latte /usr/share/dict/words", and it generates one of these and passes it to a shell (or if the program is in Perl if could just exec() the generated expression). If you want to pick up anagrams involving capital letters, you can use grep -i in the grep version and adjust the others similarly. --Anonymous, May 20'07, 17:19 (UTC).
- It is technically possible to do this with just a regex; it'll just be a very long regex. In a discussion about this in comp.lang.perl.misc a few years ago I provided both a regex solution and a very fast non-regex solution. —Ilmari Karonen (talk) 22:18, 24 May 2007 (UTC)
internet architecture and protocol
my question on this what is the isdn? what is the isd? what is the dns? i want complete data about these question. please gives answer about this. i m very thankful to u.
- ISDN, ISD, and DNS. —Steve Summit (talk) 16:25, 19 May 2007 (UTC)
Another Mac Question
I bought a 20GB Mac laptop a while ago and installed OS X on it. It works fine, even though the guy in the shop said it might slow the PC down a bit. I had about 15GB left. Anyway, a few weeks later, in a frenzy of desire to get as much software packed onto it as I can, I put the OS X disc back in hoping to look around on the disc to see if there was anything worth having on it, and the computer just automatically installed it again. Since then, I have only had 2GB left, and I have hardly used it. Also, I have deleted a load of stuff (including a lot that the previous owner had), and the free-space indicator hasn't changed a bit. So, my questions are: 1. What is happening? 2. Is it possible that there is loads of free space, but is incorrectly labelled? 3. If so, how do I get to use it all? Manga 18:11, 19 May 2007 (UTC)
- I'm guessing that, during that second (inadvertent) installation, you and/or the installation program inadvertently partitioned the disk, and that you're operating in a smaller partition now, with most of the disk's space allocated to some other partition, unreachable and unusable. Or perhaps the disk was already partitioned, and the first time you used a bigger partition, but this time you used a smaller one.
- Try running the Disk Utility application (in the Applications/Utilities folder), and see what it tells you. Or alternatively click on the Apple icon at the upper left of the screen, select "About This Mac", click on "More Info...", and drill down on the "ATA" or "SCSI" items until you find your disk, then click on it, and it should tell you about the available "Volumes" (which in this context are the same as partitions). —Steve Summit (talk) 19:05, 19 May 2007 (UTC)
- Cheers, I did that, and I got this:
- Volumes:
- Cheers, I did that, and I got this:
Macintosh HD: Capacity: 18.63 GB Available: 1.34 GB Writable: Yes File System: Journaled HFS+ BSD Name: disk0s9 Mount Point: /
- which I take to mean there is only one 'volume'... Do you think that the deleted data may still be there, as I didn't run 'Secure Empty Trash' when I emptied the trash, and that this 'non-deleted' data may be clogging the system? Manga 19:48, 19 May 2007 (UTC)
- Okay, well, never mind about the partitioning stuff, then.
- If you've emptied the trash, then that shouldn't be causing the problem; there's no need to do a "secure empty trash" just to reclaim space.
- Since OSX is Unix, and if you're comfortable typing commands into a Terminal window, you can use this idiom to find out what the big files and directories are:
du / | sort -rn | head
- You'll get some errors about directories that can't be read (because they're secure), and some of the big directories listed will be system directories which are normal, but this will probably point you at some off-in-a-corner folder that you don't care about and didn't know about, that's using the lion's share of your disk.
- For example, here's what I see when I run that command on my Mac:
$ du / | sort -rn | head du: /.Spotlight-V100: Permission denied du: /.Trashes: Permission denied 28389275 / 12601892 /Users 12226024 /Users/scs 5279512 /Library 5227084 /Users/scs/Mail 4179792 /Applications 2070320 /System/Library 2070320 /System 1620008 /Library/Printers 1565668 /Library/Application Support
- The numbers are cumulative; they show how much space is used by each folder/directory and by all of its subdirectories. For example, if I go to my home directory, I won't find 1.2 gig of stuff right there; most of it is in subdirectories (for example, 500Mb of it is in and underneath my Mail directory).
- If all the top-10 directories printed by the above command are okay, try
du / | sort -rn | head -20
ordu / | sort -rn | more
instead.
- If all the top-10 directories printed by the above command are okay, try
- You're likely to find that some of your biggest directories are the caches used by various networked applications. For example, among my other big folders are
1036400 /Users/scs/Library/Caches/Google Earth 28604 /Users/scs/Library/Caches/Firefox/Profiles/ttc5bnry.default/Cache 1184 /Users/scs/Library/Caches/Safari
- These are, obviously enough, the folders where Google Earth, Firefox, and Safari keep their caches of downloaded stuff. If apps are caching too much, you can usually reconfigure them to cache less, and tell them to empty their caches now, to get rid of previously- and excessively-cached stuff. —Steve Summit (talk) 20:25, 19 May 2007 (UTC)
Turkish letters in Word (Mac OS X)
I use a friend's computer to read a .doc file which is written in Turkish language on Mac OS X (Tiger). It uses several fonts, most Times New Roman but also several others. When the document opens the Turkish letters look strange like "değifl" look like ""deEifl" in which E is the sign for Euro and fl is one character. I thought the letters are missing from the font, but when I look in Font Book at the Times New Roman I see all the Turkish letters. And some other fonts do not have this problem. How come this problem? Can I solve it? How can I make it not happen? Thank you. Hevesli 18:59, 19 May 2007 (UTC)
- It sounds like some sort of strange encoding problem. I'm not certain, but you might want to make sure the Turkish keyboard/etc. is installed on the friend's computer, though I'm not certain why it wouldn't carry the encodings across correctly if it had the same fonts, OS, etc. --140.247.242.30 20:59, 19 May 2007 (UTC)
Gmail Paper
Is there any services like Gmail Paper? 68.193.147.179 19:38, 19 May 2007 (UTC)
- I think it's called the "print" function. --140.247.242.30 20:56, 19 May 2007 (UTC)
- Or mail. GDonato (talk) 21:03, 19 May 2007 (UTC)
FedEx-Kinkos will probably do something like this for you, but it won't be free. -- Phoeba WrightOBJECTION! 02:33, 20 May 2007 (UTC)
The US Post Office will accept, print, and deliver files, but not for free: [2] -Arch dude 23:28, 20 May 2007 (UTC)
May 20
Fastest Internet Connection
What is the fastest internet connection in the world? 68.193.147.179 00:18, 20 May 2007 (UTC)
- That question is almost as pointless as "What is the largest number?". The internet is not at one point. It is a network of hosts. All single lines of this network have a capacity. The total capacity available between your computer and another host depends on the capacity of the lines between them. No matter how fast the first line between your computer and your provider is, you are always limited by the capacity of the backbone.
- That's a little unfair, it is not a completely ridiculous question. If he's asking what the fastest standard link is, I believe that's OC-192. Stop being so rude and start signing your comments --Oskar 03:29, 20 May 2007 (UTC)
- No, it really is. "Fastest network connection" would be a decent question, since two computers can be connected at insane speeds (I believe we're up to the TB/sec level in labs), so fast that their hard drives can't even write the info they're recieving, but the internet has so many bottlenecks and jumps that your connection really doesn't matter, since there's a 99% chance that whoever you're trying to connect to is on a much slower connection. Sorta like buying a Buggati Veyron, even though you don't have anywhere to use it but public streets. -- Phoeba WrightOBJECTION! 04:23, 20 May 2007 (UTC)
- Don't BITE. (I'm assuming you were the first unsigned comment above as well, apologies if not). JoshHolloway 10:03, 20 May 2007 (UTC)
- It wasn't. If it were, I would've signed it when I wrote my second post -- Phoeba WrightOBJECTION!
- The military networks must be pretty dam fast and they probably ironed out all the bottle necks as well. --Lwarf 10:07, 20 May 2007 (UTC)
- Again though, these are closed networks, where speed is, in theory, unlimited, unlike the internet, where your speed is based on how fast the systems you're using are. For example, i'm capable of 6-10MBps in theory, but in practice it's nearly impossible to break 750kbps, and i'm insanely happy when I break 1mbps, because some servers don't handle information as quickly as my connection does. -- Phoeba WrightOBJECTION! 12:18, 20 May 2007 (UTC)
- Don't BITE. (I'm assuming you were the first unsigned comment above as well, apologies if not). JoshHolloway 10:03, 20 May 2007 (UTC)
- OC-768 (40Gbps) has been standardized for some time now and is commercially available as a line card for the Cisco CRS-1 system.
- No, it really is. "Fastest network connection" would be a decent question, since two computers can be connected at insane speeds (I believe we're up to the TB/sec level in labs), so fast that their hard drives can't even write the info they're recieving, but the internet has so many bottlenecks and jumps that your connection really doesn't matter, since there's a 99% chance that whoever you're trying to connect to is on a much slower connection. Sorta like buying a Buggati Veyron, even though you don't have anywhere to use it but public streets. -- Phoeba WrightOBJECTION! 04:23, 20 May 2007 (UTC)
The fastest connections for consumers (that is homes) are the ones being provided in Japan by NTT. They are giving 100 Mbps for $30. Verizon also offers such speeds in their FIOS but it costs more that 100 dollars. But if you consider corporations or military, it can be in terabytes and does not make sense mentioning because they may be misleading and not comparable. -Jerry Kim Meanwhile did you mean Internet or internet? -Jerry Kim
Internet Core routers such as the CRS-1 support connections up to OC-768 (40Gbps). Such a connection is intended for to connect two core routers, but it could in theory be used to connect an Internet router to a CRS-1 acting as a customer-premise router in a (huge) data center, or to even to a single host computer if someone can build an interface. A typical host computer's fastest "Internet" connection is "10GigE" (10 gigabit Ethernet) so the aforementioned "customer" CRS-1 would have an OC-768 interface to the internet and several 10GigE LAN interfaces to hosts in the data center. Do not try this at home unless you are Bill Gates: these things are a bit expensive. -Arch dude 23:00, 20 May 2007 (UTC)
- I've always used this list to find this answer; according to that it's OC-256 13.271 Gbps. Considering we are still discovering the joys of ADSL here in South Africa (albeit at exorbitant prices), I would die a happy death after being hooked up with a connection like that! Sandman30s 12:11, 21 May 2007 (UTC)
- Actually, looking at the list again, the fastest internet backbone is OC-48/STM-16 at 2.488 Gbps. So this is your answer. Anything faster than that would be used for private WANs or LANs, like Citrix mentioned above. Sandman30s 12:16, 21 May 2007 (UTC)
widescreen or not
1)Wide screen laptop or not? Which one do you prefer? why? What are the things to be considered before deciding whether to go for wide screen or normal resolution? 2)Will there be any problem if we minimize the size of all windows in Windows OS horizontally and use it as a normal laptop? -Jerry Kim
- Well if you wanna watch movies on it, widescreen is better. The trend in all visual media displays is towards 16:9 (even photos on NYTimes.com are often cropped to this ratio), so in the future I imagine widescreen will be the only option. --Cody.Pope 11:35, 20 May 2007 (UTC)
- Widescreen can be more stable on your lap...if you want to take the risk of putting something hot on your crotch. Coolotter88 11:53, 20 May 2007 (UTC)
- Widescreen all the way. (generally) widescreen laptops have better resolution than non widescreen ones.--Ryan 15:33, 20 May 2007 (UTC)
- Playing devil's advocate here... I went widescreen a few months ago and I noticed immediately that most websites only took up the middle third (or even worse, the left third) of the screen. Also, some have tiny fonts by default because they're specified in pixels rather than points or some other resolution-independent unit (although that's not so bad because I can tell Firefox never to use any fonts under a certain minimum size). If this annoys you, stick to 3x4 displays. 1024x768 is a good resolution. —Keenan Pepper 20:14, 20 May 2007 (UTC)
- That's hardly the fault of a widescreen display and rather the fault of the web designers.
@Cody: Aren't most laptops 16:10, not 16:9?? -JOE
- For gaming, 4x3 is undoubtedly the best. Personally unless they decide that we need a couple dozen more characters in the written english language, the wasted space on each side of the keyboard is unreasonable. And a full sized numpad is ludicrous (sorry HP) --frotht 04:30, 21 May 2007 (UTC)
- what kind of gamer can condemn a full size numpad on a laptop? That's a GREAT thing! Maybe you've never played them, but plenty of asian games i've played use the numpad for movement. Definitely enough to have me love it enough that I don't want to live without it. That said, my opinion on this, go with the better monitor, which is usually the higher MP count one. You might run your 1920x1200 powerhouse at full res for a good detailed fragging session, and then turn it down to 1280x768 for day to day things to save your eyes. -- Phoeba WrightOBJECTION! 11:20, 21 May 2007 (UTC)
- Yea if your main purpose is to go on websites, get a normal aspect ratio one or one that has very high resolution (like 1600px+ wide) so you can have 2 browser windows side by side. --antilivedT | C | G 05:49, 21 May 2007 (UTC)
- Can't you force a 4:3 ratio on your laptop anyway (and have 2 black bars on the left and the right? I mean yeah, you have 2 black bars,
but don't a 15 in. 4:3 and a 15 in widescreen have the same height?So in the end, you'd only be losing the option to go widescreen if you bought a 4:3 and just a little off the top?--GTPoompt 12:47, 21 May 2007 (UTC)- Well same, you can force a 4:3 display to display widescreen, for example from 1024×768 to say 1024×640 (and have black bars top and bottom). Either way you are losing a lot of pixels, and unless there's any good reason for it.... --antilivedT | C | G 04:12, 22 May 2007 (UTC)
- Can't you force a 4:3 ratio on your laptop anyway (and have 2 black bars on the left and the right? I mean yeah, you have 2 black bars,
Solution orientated architecture
Does anyone know what Solution Orientated Architecture is and what its benefits are ? Note that I do not mean Service Oriented Architecture
163.156.240.17 11:33, 20 May 2007 (UTC)
- I would guess that no one knows what it means, and that in fact it doesn't mean much of anything at all -- it sounds an awful lot like someone's empty marketing buzzword. With that said, the closest you could get to an "accurate" definition would probably be from the marketeer that constructed the term. (Be aware that the proffered definition is likely to be along the lines of "A Solutions Orientated Architecture (tm) is one that maximizes customer value by effectuating streamlined processing of both custom and off-the-shelf application paradigms." If you could get an honest answer out of one of the engineers at the company as to what they did to implement this "SOA", they might say "we added some memory and a faster processor, and put a new splash screen on it.")
- When parsing marketing-speak like this, it's often useful to ask what the product in question is trying to differentiate itself from. If this "Solution Orientated Architecture" is so good and so special, does that mean that all of its competitors are trying to deliver something other than solutions? And if so, what? Newspapers? Boat anchors? Doorstops? —Steve Summit (talk) 16:47, 20 May 2007 (UTC)
Thanks Steve - that's what I thought too - Unfortuately I've got to do a presentation on it for a job interview !!!!!!!!!!
163.156.240.17 17:50, 20 May 2007 (UTC)
- Urk. Good luck. (And do they really call it "Solution Orientated Architecture"? I doubt I could ever work for such a company...) —Steve Summit (talk) 18:02, 20 May 2007 (UTC)
One possible meaning might be that they custom design each computer for that user's needs. So, instead of a general all-purpose computer, they produce game-playing computers, music-copying computers, video-producing computers, etc. StuRat 20:25, 20 May 2007 (UTC)
- I don't know what it means, but "solution oriented architecture" gets 1300 Ghits. I think it's fully buzz-phrase compliant. -Arch dude 20:48, 20 May 2007 (UTC)
Dear All
Thanks for your comments - at least I don't feel so stupid as clearly it's a made-up phrase !. I'll ring the company in the morning and try to get some guidelines on what they mean. (Steve - they really do call it orient ta ted )
- If any company ever mentioned such a phrase to me in the process of a job interview, I would look for a different company.
- I'd have a bit of fun with them first: "You mean you're still just using plain SOA ? I can't imagine working for a company that hasn't yet embraced Fully Actualized Solutions Orientated Architectiture." StuRat 06:59, 21 May 2007 (UTC)
- Marketroid-speak is definitely Greek to me, but here's a data point: I was in a meeting with a top-level management/sales guy at my small company and he said (about the networking thingy we make), "we haven't decided yet how to market it. Is it a product? Is it a solution? It's definitely not an appliance". I just smiled and nodded in the same way he does when I discuss technical issues. --TotoBaggins 07:19, 21 May 2007 (UTC)
DPI in photoshop?
When importing a raw image into Photoshop, one has the option to change the DPI. The only noticeable effect this seems to have is changing "canvas size/image size" measures. Assuming that you don't down-sample the image at all, and you just bring a large 10-12 megapixel image to a photo place and print it fairly large (10x12) with the right technology, does this DPI measure mean anything practically? Or is it simply superfluous meta-data? --Cody.Pope 11:40, 20 May 2007 (UTC)
- It's, simply, the number of dots per inch. When you print, the larger the DPI, the more dots per inch they'll squeeze on the paper. JoshHolloway 12:01, 20 May 2007 (UTC)
- Maybe, but that doesn't make sense to me in the context I'm asking about. The printer at a photo place has a native DPI, if I'm giving them an image with a resolution above their native resolution (for a given size) they have to throw out data. Alternately, if I give them an image that I've specified as say 200 dpi (in Photoshop), but I want at 10x12 and my camera file has more data than the 200 dpi specification for that print size in pixels, would their printers then throw out data to match the embedded DPI? That's can't be right. I'm looking for the interplay between actual pixels and embedded DPI as specified by meta-data. Is there any? --Cody.Pope 12:20, 20 May 2007 (UTC)
- DPI is a tricky measurement. By itself it does not refer to the number of pixels in an image, it only relates to how the image is considered when it is printed. Generally speaking you want to start by thinking about your target DPI — if your printer is going to print at 300 DPI, then if you had an image that was 300 pixels wide by 300 pixels tall, you could only print it at the size of 1 inch by 1 inch or smaller without having the pixels become visible and chunky. The printer will only be able to print up to a certain amount of detail -- if you give it more than that, it won't be reflected in the final print job. If the printer had a maximum DPI of 200, and you wanted to print something cleanly at 10x12 inches, you would thus need an image that was at least (10*200) x (12*200) pixels, or 2000 x 2400. DPI does not affect the number of pixels in an image (unless you resize it according to DPI, as is often done in photoshop) — it is really a guide for how much printed space you can get out of a given amount of pixels (depending on the medium — some printers can go much higher than 300 dpi, while things broadcast on monitors are generally only around 96 dpi) and so give you some indication of how many megapixels you'll need for a given photo, or what settings you need when you scan something, etc. --24.147.86.187 13:53, 20 May 2007 (UTC)
- Hmm, maybe I wasn't clear enough. I understand what DPI is and how it is measured. I'm interested more in how printers interpret embedded DPI data when the specified print size goes against this data. Especially given that some images don't have any DPI meta-data. --Cody.Pope 14:15, 20 May 2007 (UTC)
- Commercial printers just print it at the dpi that fits for its physical size. If you ordered 6×4, no matter what dpi you've set it's still gonna print 6×4. --antilivedT | C | G 05:47, 21 May 2007 (UTC)
- That means the meta-DPI data is effectively meaningless? Good, that's what I thought had to be the case. --Cody.Pope 06:58, 21 May 2007 (UTC)
- Well if you just want individual prints, it doesn't matter. But if you want to use the image inside something else like a newspaper or magazine, setting the dpi in Photoshop will mean that the image will display as correct physical size if the software is smart enough to read it (most are). --antilivedT | C | G 09:20, 21 May 2007 (UTC)
- Erg, well QuarkXPress and most if not all Adobe based layout programs allow you to resize within the program. So then what happens to the DPI meta-data? --Cody.Pope 11:56, 21 May 2007 (UTC)
- It doesn't matter, it will be resampled to the dpi of the page itself. --antilivedT | C | G 04:09, 22 May 2007 (UTC)
Gif images
When the animated GIF image moves, how do I stop the image have those fuzzy pixels that move when the object is moving? Thanks, 86.146.170.43 15:58, 20 May 2007 (UTC)
- Can you show us an example? — Matt Eason (Talk • Contribs) 17:31, 20 May 2007 (UTC)
- [3] Those white patches aren't meant to be on his face. He asked me if there was any way to get rid of them. Ty 86.146.170.43 17:53, 20 May 2007 (UTC)
- That's a bad optimization problem. It'll be hard to revert that. Your best chance is to open the gif in the same program that saved it, then saving it again without optimization. — Kieff | Talk 04:05, 21 May 2007 (UTC)
- [3] Those white patches aren't meant to be on his face. He asked me if there was any way to get rid of them. Ty 86.146.170.43 17:53, 20 May 2007 (UTC)
Problem Writing in Assemly under Linux
For a class, I need to write a program in x86 assembly that, among other things, displays the contents of two 10x10 matrices after initializing them. This is what I've written:
.data a: .space 10*10*4 b: .space 10*10*4 c: .space 10*10*4, 0 fmt: .string "%d %d %d %d %d %d %d %d %d %d\n\n" .globl main main: xorl %edx, %edx /* row # */ inita: movl %edx, %eax imull $40, %eax xorl %ecx, %ecx /* col # */ initaRow: movl %edx, a(%eax, %ecx, 4) incl %ecx cmpl $10, %ecx jl initaRow incl %edx cmpl $10, %edx jl inita xorl %edx, %edx /* row # */ initb: movl %edx, %eax imull $40, %eax xorl %ecx, %ecx /* col # */ initbRow: movl %ecx, b(%eax, %ecx, 4) incl %ecx cmpl $10, %ecx jl initbRow incl %edx cmpl $10, %edx jl initb xorl %edx, %edx /* row # */ dispa: xorl %ecx, %ecx movl %edx, %eax imull $40, %eax /* scaled row # */ dispaRow: pushl a(%eax, %ecx, 4) incl %ecx cmpl $10, %ecx jl dispaRow pushl $fmt /* call printf */ call printf addl $44, %esp /* this is where I would jump to dispa */ xorl %eax, %eax ret
This all works fine but when I put in code to jump to dispa, it assembles fine, but encounters a segfault when it tries to jump to dispa. Does anyone know why? Paulmunger 19:31, 20 May 2007 (UTC)
- Are you using a conditional or unconditional branch to dispa (since you commented out the line in question)? I have MASM on my machine, and I'm going to try to assemble this (it's been 2 years since I took my one class in assembly...which hewed strictly to 8086--it's similar, but a few more bells and whistles have been added). –Pakman044 22:11, 20 May 2007 (UTC)
- Actually, it happens with both kinds of branch, as long as the branch is taken--even a straight jmp causes the segmentation fault.Paulmunger 04:30, 21 May 2007 (UTC)
- You should step through it in gdb and see which line and iteration is segfaulting. The problem will probably be
pushl a(%eax, %ecx, 4)
or passing bad arguments to printf(), since they're the only lines down there that deal with memory. --TotoBaggins 07:12, 21 May 2007 (UTC)- Is it ever properly executing the printf call? --jpgordon∇∆∇∆ 14:49, 23 May 2007 (UTC)
Streaming Video
is it possible to save video that you play on the Internet to your hard disk? If so, how do you do it?___J.delanoy 20:07, 20 May 2007 (UTC)
- Sure, if it's from a video-sharing site like YouTube, javimoya.com could do the trick. If it's like an MPEG or whatever file, use VLC Media Player. Splintercellguy 20:12, 20 May 2007 (UTC)
If you're using Firefox, you could try the UnPlug Extension. If there's media on the page, this will let you download it. Deltacom1515 04:17, 21 May 2007 (UTC)
- Yes, UnPlug is pretty amazing at that sort of thing. Linky, in case you're interested. --saxsux 16:41, 22 May 2007 (UTC)
Need help fixing my laptop keys
Ok, here's what happened. One day, I was typing, when there seemed to be something that prevented me from pressing the "a" key. I gently shook my laptop and I heard a click clack sound, suggesting that there was a rock or other piece of debris under the key. My laptop keyboard looks like this:
This is a photo I found on google image search. It's not exactly the same, but it hs the same logos.
I tried to pull the rock or whatever out, but couldn't. So I had to just pull the key out. I collected he key, along with the pieces which connected it to the keyboard. Right now it's just a metal plating with a plastic round button in the middle, where my a key should be. I've tried to fit the pieces back in, but I have no idea how they go. I'm scared of opening another key to see how it works, for fear of being unable to fix that one too!
Can someone help me?--0rrAvenger 23:37, 20 May 2007 (UTC)
- It would be really tricky to describe without pictures, the keyboards I have come across have two delicate pieces of white plastic that fit into each other in a scissor type arrangement, they have tiny little pins on either side, one side of the scissors fits into the laptop part and the other into the key, the unfortunate but common thing that happens is that one or more of the tiny delicate thin "pins" on the sides that the whole mechanism relies on will break, and then there is no fixing it, only perhaps if you try to pilfer the part from a key you rarely use, like the windows key or something. Vespine 05:12, 21 May 2007 (UTC)
- Are you talking about the Keyboard layout, which is almost certainly QWERTY, or the actual keys themselves? Most keys i've seen can simply be slid and popped into place, but these are desktop keyboards. -- Phoeba WrightOBJECTION! 11:15, 21 May 2007 (UTC)
- Because desktop keyboards can be much thicker than laptop keyboards, they use a distinctly simpler design. Laptops almost always use the "scissors" design that Vespine described. The key caps can be removed and replaced, but you have to be very careful and skillful. And yes, stealing parts from lesser used keys (like that useless "Windows" key) is a common practice.
- Ironically enough, I use my Windows key more often on Mac and Linux than I do on windows. I<3SUPER -- Phoeba WrightOBJECTION!
- I assume you use it as your meta key?
...I've tried to fit the "scissor" things together, but it looks like they are broken. Can anyone recommend an ad hoc method of fixing, preferably involving tape? Aesthetics is OUT of the question at this point.--0rrAvenger 17:57, 21 May 2007 (UTC)
- Same thing happened to me, except I deliberately took them all off to clean and some wouldn't go back on (oops!) If you still have the rubber cap thing attached (under the scissors design thing) then use superglue - worked well for me. If you don't, get the tiniest piece of Blu Tack and make it fill the sensor-whole, then superglue both ends (the end with the sensor and the end with the key) on. It'll be a bit mushy but it'll work. JoshHolloway 19:14, 21 May 2007 (UTC)
- Can you detatch the keyboard tray? It might be easier to just get a replacement keyboard off ebay at this point. -- Phoeba WrightOBJECTION! 11:59, 22 May 2007 (UTC)
- The keyboard is always detachable, although it may take some tools and/or skill to do it. In many laptops, the keyboard also serves as the access cover to the RAM DIMM slot(s) or the hard disk drive. It usually connects via single flexible printed circuit cable that is routed to a connector; operating the connector may require care. Overal, replacing the keyboard is usually a pretty simple task (as they are quite prown to failure).
May 21
404 FNF page
Say I have a website, www.whatever.com. Someone types in www.whatever.com/asdfdasohjfqewfpoi and a 404 File Not Found page comes up. How do I make it so my custom-made 404 page comes up instead? I'm using Dreamweaver 8 on Mac OS X, if that helps. —Ignatzmicetalkcontribs 01:31, 21 May 2007 (UTC)
- It mostly depends on your current server. If you are using Apache, you can edit your .htaccess configuration file, adding (or changing) a line reading ErrorDocument 404 /misc/404.html where /misc/404.html is your custom 404 page. That should work fine enough. -- ReyBrujo 02:31, 21 May 2007 (UTC)
- If you use cPanel or Direct Admin or similar, you'll be able to do that through your control panel. JoshHolloway 13:01, 21 May 2007 (UTC)
iPod Videos
How do you enable/transfer videos purchased from iTunes on one computer to another computer? Deltacom1515 03:09, 21 May 2007 (UTC)
- Flash drive or CD-R/CD-RW. --R ParlateContribs@ (Let's go Yankees!) 10:56, 21 May 2007 (UTC)
Firefox download problems
Why is it that often when I click a link to download something in Firefox, I will get the dialog box that says "you have chosen to open" bla bla bla...and then it asks "what should firefox do with this file?", i select open with Preview and yet it wont let me click ok. Only the cancel button is available.
Has anyone else encountered this issue? If so how is it resolved?
By the way im on a Macbook Pro on the latest version of OS X, Firefox v 2.0.0.3.
Also BTW it only does this sometimes. and other times, if I wait a while (maybe 30 secs to a minute) it will all of a sudden decide to let me click ok. seems very finicky.
Thanks in advance for the help.Theprizefight 04:06, 21 May 2007 (UTC)
- It sounds like the download wasn't complete, so it couldn't open it. StuRat 06:51, 21 May 2007 (UTC)
- I think what you're describing is a security thing. Just click on the OK button a few times. It's to stop you automatically downloading whatever crap that some sites might push you.
- If the download window loses focus the download button will be greyed out to prevent auto-downloaders, try switch to another window and back and see if it's fixed. --antilivedT | C | G 09:14, 21 May 2007 (UTC)
- To be more specific, click on that window specifically, and wait a few seconds for the OK button. -- Phoeba WrightOBJECTION! 11:13, 21 May 2007 (UTC)
Powerpoint presentation
How can you put a moving picture on a powerpoint slide?
Dudforreal 07:44, 21 May 2007 (UTC)
- If it's a moving GIF image, add it as you would a normal picture. Inser | Image, or just drag it in.--Ryan 00:01, 22 May 2007 (UTC)
It doesn't move when I insert the moving GIF image.
Dudforreal 06:46, 23 May 2007 (UTC)
Macros in Powerpoint
Is it possible to assign a shortcut key to a macro after you have recorded it?Zain Ebrahim 08:47, 21 May 2007 (UTC)
- Is it possible at all? It doesn't seem to be possible before, either. Also, there's nothing related to shortcut keys under tools -> customize (as in Word) or tools -> macros -> options (as in Excel). — Sebastian 18:25, 22 May 2007 (UTC)
GPL?
Say if I want to develop a website system based on PHP, I want to use some existing GPL'd codes such as search engines, do I need to make my code to be GPL'd is well? Or do I need to use an API or something in order to keep my code from being GPL? If I release it as GPL do I have to actively distribute the source code if only I am using it? I don't want to publicly release it yet because it would require a lot of work to actually make it readable and make it easily configurable. --antilivedT | C | G 09:08, 21 May 2007 (UTC)
- From what I know of the GPL (I don't use it), if you're taking code from GPL-licensed code, or you're linking against GPL'd binaries, you must make your entire project GPL. If you're linking against LGPL binaries, you don't have to make your project GPL. I don't know about the API case, however, but I think if you have the GPL'd binary running with some IPC going on between your program and the GPL'd binary, that would be OK.
- Well the thing with PHP is that it's interpreted language, and no binary exists. In that case, where does the line go? --antilivedT | C | G 09:16, 21 May 2007 (UTC)
- If you're not planning on showing your code to anyone else or letting anyone else use your website software, you can use GPL'd code however you want. There is no obligation to release your personal changes to your personal website. If you plan to release your website software as a product or something (distribute it, in other words), then yes, you have to GPL your code if you are using other GPL'd code in it. This is what the LGPL was created for, so that people don't have to do that if they are just using libraries. --Oskar 10:08, 21 May 2007 (UTC)
- gnu.org has a nice FAQ page that adresses this question. -- Diletante 15:17, 22 May 2007 (UTC)
Bash variables
Following on from my grep anagram question, I now have a general bash question, which I'll illustrate with example:
ls | grep a
when run in my home directory returns
personal
as expected, fine. When I do this:
COMMAND="ls | grep a" $COMMAND
it fouls up somehow and I get:
ls: |: No such file or directory ls: grep: No such file or directory ls: a: No such file or directory
What's going on here? How do I get it to do it faithfully? Thanks. --87.194.21.177 11:10, 21 May 2007 (UTC)
- Backticks. COMMAND=`ls | grep a`.
- Hey thanks but backticks seem to assign the output of "ls | grep a" to the variable, but I just want the actual expression. It works with something simpler e.g.:
COMMAND="date" $COMMAND
- is just like typing "date", and that's what I want.--130.88.84.51 14:58, 21 May 2007 (UTC)
- This doesn't directly answer your question but you might want to use an alias.
$ alias lsa="ls | grep a" $ lsa
- Use the built-in command
eval
:
eval "$COMMAND"
- You can probably get away with omitting the quotes, even. --Tardis 15:41, 21 May 2007 (UTC)
- Ah-ha! So the real solution to the problem is:
COMMAND="eval ls | grep a"
- to make it execute rather than simply parsing the string. Or something like that. Anyway, putting the eval in there makes it work. --jpgordon∇∆∇∆ 15:53, 21 May 2007 (UTC)
- Ah-ha! So the real solution to the problem is:
The root of the problem is the order of evaluation: the shell first does command parsing, then does variable substitution, then looks for space-separated arguments, and then runs the command. So you start with:
$COMMAND
and bash scans that 8-character string looking for pipes and other redirect characters. It doesn't find any, so it decides that you're just running a simple command. Before doing that, it must resolve any variable references. It therefore translates the line into the string:
ls | grep a
but the time for looking for redirects has passed, so the pipe is not treated specially. Next he splits up the arguments on whitespace, and ends up with a command of "ls", and arguments of "|", "grep", and "a". He then runs something like this:
execlp("ls", "ls", "|", "grep", "a", NULL);
which asks the ls program to display files named "|", "grep", and "a", which he'll complain about when he doesn't find them. Running the following program produces the same output you noted above.
#include <unistd.h> main() { execlp("ls", "ls", "|", "grep", "a", NULL); }
The reason the "eval" fixes the problem is that it runs the parsing on its arguments twice:
# you type: eval $COMMAND # (1) look for redirect characters, find none eval $COMMAND # (2) resolve variables: eval "ls | grep a" # running eval on results gets us back to (1): ## (1) look for redirect characters, find one! ls | grep a # treat it as a redirected command ...
You can eval() any number of times, each time repeating the parsing with the results of the last round:
# REAL_COMMAND='ls | grep a' # COMMAND='$REAL_COMMAND' # $COMMAND -bash: $REAL_COMMAND: command not found # eval $COMMAND ls: |: No such file or directory ls: grep: No such file or directory ls: a: No such file or directory # eval eval $COMMAND a-file another-file ...
--TotoBaggins 21:26, 21 May 2007 (UTC)
- Thanks for that answer, I was curious and I couldn't figure it out from the manpage. Also interesting to learn that bash is a he :D -- Diletante 21:42, 21 May 2007 (UTC)
- Big thanks to everyone who contributed, especially TotoBaggins for the big explanation. I always get great answers here, and I'm learning - albeit slowly. Thanks again. --87.194.21.177 22:50, 21 May 2007 (UTC)
Converting RGB to CMYK in Photoshop
Straightforward, easy to understand info please on the best way(s) to convert image files from RGB to CMYK in Photoshop CS.
Mrskyblue999 11:56, 21 May 2007 (UTC)
- Image > Mode > CMYK. You might see some change in colours if they're not in the CMYK gamut. — Matt Eason (Talk • Contribs) 15:32, 21 May 2007 (UTC)
- There's more detailed information here. Looks like it's for an older version of Photoshop, but most of it should still apply. — Matt Eason (Talk • Contribs) 15:40, 21 May 2007 (UTC)
Excel Conditional Formatting question
Hi there wikifans, can anyone tell me if there's a way in Excel to conditionally format a cell so that if it's returning a year number from another cell, it will treat that value in the year (or normal) number format, and if it's returning a month year value, it will treat it with a mmm-yy number format? I've looked at the standard conditioning formatting options but it doesnt seem to let me switch number formatting. thanks for any help!!!
=IF(LEN(A5)=4,TEXT(A5,"YYYY"),TEXT(A5,"MM/YYYY")) (Where A5 is the cell you are assessing) That should get you something close. What you need to do is 'assess' the length of the cell to see if it is a 4-digit-year, and if so format as that, otherwise format as MM/YYYY. Hope this works. ny156uk 17:40, 21 May 2007 (UTC)
Thanks very much for your suggestion, I will try it!
My friend made a JavaScript message for Firefox on a Mac that can't be closed
Hello, I'm at my high school right now in a computer lab, on their eMacs. My friend tells me that he always uses this one computer and he makes Javascript messages pop up when you click the Firefox icon, and this time he went overboard and made this one message that does not go away. He also disabled preferences and I can't see anything that can be done to make this message go away and actually use the Firefox application. Here's a screenshot of what I'm seeing:
File:Endlessjavascriptmessage.jpg
I just keep pressing OK and it keeps reappearing. Anybody know how to get rid of this? Thanks! NIRVANA2764 13:42, 21 May 2007 (UTC)
- It appears he made a local web page on the computer's harddrive that pops up a warning in an infinite loop. He set Firefox's homepage to the page he made. So, when you open Firefox, it opens the page he made. Delete the page he made and Firefox will open with a blank page. Or, change Firefox's homepage. Or, click a link on an email or anything else and tell it to open with Firefox. --Kainaw (talk) 14:15, 21 May 2007 (UTC)
- It might also be a good idea to simply turn of javascript, if you want to ensure that that page doesn't annoy you --Oskar 17:05, 21 May 2007 (UTC)
- Talk about throwing out the baby with the bathwater. --24.147.86.187 23:07, 21 May 2007 (UTC)
- Not if you use NoScript to selectively turn off JavaScript. --cesarb 00:25, 22 May 2007 (UTC)
NoScript is a good idea. To fix your problem, delete or rename the webpage he made (firefox will start on the page not available error). Then use Edit, Preferences to set your homepage. If you don't know where the file is, try starting Firefox with a specific web page. I'm unfamilier with OSX but you could try dragging a saved webpage or text document onto the firefox icon; or dragging a link to a website onto the firefox icon. If that fails, type firefox http://google.com into the X11 terminal. And if that doesn't work, start in safe mode by typing firefox -safe-mode into an X11 terminal. --h2g2bob (talk) 03:59, 22 May 2007 (UTC)
- Actually, as the person who did it, I'd like to say that none of you have gotten it yet. I just changed the home page to the following-
javascript:var x=0; while(x<101){alert('I\'m waiting...');x++;};alert('I\'m waiting for you to click \'OK\' 100 times!');top.location="http://www.google.com/search?source=ig&hl=en&q=home+page&btnG=Google+Search&safe=active";
--Rainfall10110 14:59, 22 May 2007 (UTC)
- Wow, that was him. Apparently, javascript DOM is built into firefox, so you can use it as a protocol and set the home page to it. This guy is only 16, mind you. And he had the Wiki reference desk completely stumped. Impressive NIRVANA2764 20:21, 22 May 2007 (UTC)
- Kainaw said that the home page had been changed and mentioned workarounds. How is that "stumped"? --LarryMac | Talk 20:27, 22 May 2007 (UTC)
- Also, age has nothing to do with it. I began programming for cash when I was 8. Of course, my hourly charge has gone up a great deal since then. --Kainaw (talk) 00:58, 23 May 2007 (UTC)
- Nobody was "stumped". We told you exactly what the problem was and how to stop it. Maybe you were a little too "stumped" to follow the instructions. --24.147.86.187 12:30, 23 May 2007 (UTC)
- In my original message I outlined how preferences had been disabled. The only way to end the problem would have been to press OK 100 times. There was no page saved on the harddrive. There was nothing to do with NoScript. Who cares any more :) NIRVANA2764 13:02, 23 May 2007 (UTC)
- Lighten up, 24.147.86.187, this isn't the type of place where we answer everything with RTFM. The problem is easy to state, but difficult to solve: I'm pretty sure this has been logged as a DoS vulnerability for some time now at Mozilla. I think we answered pretty well though. --h2g2bob (talk) 22:36, 25 May 2007 (UTC)
- Rainfall10110, it's better to use for than while. --h2g2bob (talk) 22:42, 25 May 2007 (UTC)
Wireless Router woes
I have a Linksys BEFWS11 router - the generic 4-port wireless router. The wireless connection worked fine when I first plugged it in. Then, it died out. I changed it from channel 1 to channel 2. Then, it worked fine for a few months before it got weak again. I changed it from channel 2 to channel 3. It worked fine for a while. Then, it got a weak signal and I had to change it from channel 3 to channel 4. I'm on channel 9 now. Can anyone explain what I'm doing wrong? I don't understand how the channels keep going weak and unusable when I'm not adding new devices - especially things can interfere with wireless signals. The only electronic thing I've purchased in the last two years is a watch - and it certainly isn't causing this problem. --Kainaw (talk) 14:39, 21 May 2007 (UTC)
- Are you (or is anyone near you) using a microwave oven? They will definitely interfere with 2.4GHz wireless devices including 802.11b/g/n WiFi devices. Also, your neighbors may be getting wireless networks of their own; we now see several networks from my house and we compete for channels.
- Hmm. You might check the reviews of that particular router — some wireless routers inexplicably have trouble after awhile, going in and out or just needing to be reset periodically. It's really hard to get a good wireless router that lasts a long time. --24.147.86.187 23:50, 21 May 2007 (UTC)
Basic greasemonkey help
Hi,
I'm just getting started with greasemonkey. I have a javascript form that I want to modify. On one specific website I want the following line (its inside a form):
<input type="hidden" name="function" value="f0" />
To have a value of f1 instead of f0. How would I implement a script to do this?
Thanks! St.isaac 16:38, 21 May 2007 (UTC)
- It's been a little while for me since I've used greasemonkey. IIRC it seems if you can get a script to do what you want outside of greasemonkey, you're 90% the way there, you then just have to translate it into something that can work with the wrapped objects greasemonkey has to use for security purposes.
javascript:(function (){var s = document.getElementsByName("search"); var z; for(z=0; z<s.length;z++){s[z].value="tomatoes";} })();
- In greasemonkey, you can directly assign to s[z].value and it should be fine, iirc. What you cannot do is use indirect assignment.
javascript:(function (){var s = document.getElementsByName("search"); var z; for(z=0; z<s.length;z++){s[z]["value"]="tomatoes";} })();
- http://www.diveintogreasemonkey.org/ is a good resource. Root4(one) 22:28, 21 May 2007 (UTC)
The University accidently published about a decade's worth of student IDs, social security numbers, and student names, then left them, fully visible for about 2 weeks. They claim to have contacted google and had the results removed completely. The question, is it actually possible to fully remove that sort of information from the internet after having it sit in plain view for 2 weeks?--Sunyboardhost 20:06, 21 May 2007 (UTC)
- Doubtful. archive.org may well have picked it up, along with the myriad other search engine crawlers indexing the web. Even if they all remove it, it's probably cached in the computers of anyone who visited the site and could be in the hands of the Bad Guys™ already. — Matt Eason (Talk • Contribs) 21:23, 21 May 2007 (UTC)
- Search engines and archive sites probably have it stored after two weeks, it might be possible to have them remove it from their cache results, but there's no doubt that quite a few criminals have copied down the list. I honestly wouldn't be surprised if quite a few of those people had to change their SSN -- Phoeba WrightOBJECTION! 04:36, 22 May 2007 (UTC)
- If you were one of those people, it's probably not an acceptable risk to just hope nobody's going to steal your identity. Chances are slim that the good guys™ found it first --frotht 04:46, 22 May 2007 (UTC)
- This has happened a few times in the past. The good news™ is that out of the 90 thousand names and SSNs, the odds of any individual person being scammed is low. The bad news™ is that you'll all probably have to have extra caution applied to your accounts of all sorts. Tell your credit card company what happened and get a new SSN to be more sure. In any case it is really atrocious that 1. SSNs are often treated as just identification numbers (rather than as they would be treated if they were, say, medical records), and 2. that universities even both to keep flat files of student IDs, names, and SSNs all in the same place, much less somewhere where they could plausibly end up on the internet. There really is no excuse, it is not exactly rocket science. --24.147.86.187 12:28, 23 May 2007 (UTC)
May 22
Moving GIF images
How can you copy a moving GIF image? When I tried to copy one it became a normal image.
203.88.224.110 06:19, 22 May 2007 (UTC)
- Try saving the image somewhere and opening it up / pasting from the file. -- Consumed Crustacean (talk) 06:22, 22 May 2007 (UTC)
What if you're copying it from the internet?
Dudforreal 06:28, 22 May 2007 (UTC)
- Most web browsers let you right click, then click Save Image (or something similar). -- Consumed Crustacean (talk) 06:29, 22 May 2007 (UTC)
- It'll look still unless you view it in Windows Fax Viewer or similar. JoshHolloway 06:42, 22 May 2007 (UTC)
How can you create a moving GIF image and put it on powerpoint?
Dudforreal 06:42, 23 May 2007 (UTC)
Powerpoint slide design
Dudforreal 06:26, 22 May 2007 (UTC)How can you use your own image/s as a design template for the slide design for the slide?
- Put them on the slide master. — Matt Eason (Talk • Contribs) 08:42, 22 May 2007 (UTC)
Send e-mail from alternate address to Google Groups
How can I send e-mail from my alternate e-mail address to Google Groups? Currently, Google Groups accepts e-mail only from my GMail address. --Masatran 06:50, 22 May 2007 (UTC)
Time stamp in Microsoft excel .xls files?
I'm writing a windows command-line utility for deleting duplicate files within directory trees, and have a problem with excel files. Microsoft excel appears to change a time/date stamp within the file whenever it opens a spreadsheet. Here's sample output of a binary comparison of files that I believe were identical, except for having been opened at different times:
E:\SomeDirectory>for %d in (*.*) do fc /b %d ..\OtherDirectory\%d Comparing A.xls and ..\OtherDirectory\A.xls 00008E6C: B0 30 00008E6D: 0A 3C 00008E6E: 22 04 00008E6F: 35 29 Comparing B.xls and ..\OtherDirectory\B.xls 0000A26C: 50 30 0000A26D: FA F2 0000A26E: 10 16 0000A26F: 93 97 Comparing C.xls and ..\OtherDirectory\C.xls 00008C6C: 60 C0 00008C6D: 25 81 00008C6E: B0 86 00008C6F: A9 AD E:\SomeDirectory>
In the example, the time stamp appears to occupy four consecutive bytes, but at different offsets within the files. I've noticed previously that the time stamp somtimes occupes more than four bytes (six?). Does anyone know how to locate and interpret this time stamp? --NorwegianBlue talk 07:15, 22 May 2007 (UTC)
- Are you sure it's really a timestamp or just information such as which sheet is opened or which cell celected? The latter does get stored; I doubt that you want to keep files just because of such trivial differences. Possible workarounds for that include manually selecting the same cell or exporting the content before the comparison. — Sebastian 22:09, 22 May 2007 (UTC)
- I'm reasonably sure it's a time stamp, because
- opening a copy of the file and immediately closing it, without selecting a different cell, leads to such differences as shown above.
- When doing this with older files (like, a couple of months since they've been opened), the differing region occupies six bytes. When the file has been recently opened, it occupies four bytes. --NorwegianBlue talk 07:43, 23 May 2007 (UTC)
- I'm reasonably sure it's a time stamp, because
- Hmmm, I'm not sure that this is what you're looking for, but if you go into File->Properties then onto the 'Statistics' tab, there is a buncha information like that. For example, the "Created" and "Modified" datetime stamps on this tab aren't the same as the MS-DOS stamps on the 'General' tab. There is a 'Accessed' Field - NByz 01:10, 24 May 2007 (UTC)
- They aren't user-editable in excel, but you can test this theory by editing them in binary, and seeing if it changes on that page. Are you up to some forgin'? - NByz 01:11, 24 May 2007 (UTC)
- I think indeed that you are right in that it's the "accessed" field that's causing the trouble. I was hoping someone knew some shortcut way of looking up its offset. Some googling led me to the OpenOffice documentation of the excel file format and of the Microsoft composite document format, of which the excel format is a special case. Excel files have several internal "streams", two of which might be candidates for the location of the time stamp, "SummaryInformation" and "DocumentSummaryInformation". However, solving this based on the docs plus fiddling with a binary file editor will require a lot of work, overkill for the app in question. I think I'll just settle with allowing the program to ignore a single difference in six consequtive bytes in an excel file, without actually verifying that those bytes are at the right location. Thanks! --NorwegianBlue talk 16:48, 24 May 2007 (UTC)
Screenshot in Internet Explorer 7
Hello wise wikipeople, is there some way of taking a screenshot of the contents of an Internet Explorer 7 window (ideally without downloading new programs). thanks!!!!!!!!!!!!!!
- Yes, and you don't need to download any new programs. Somewhere in the top-right of your keyboard is a key labelled 'Print Screen'. Open the Internet Explorer window and press Alt and Print Screen at the same time. The screenshot will be placed on your clipboard; you can now go into Paint or any other image editing program, press Ctrl+V to paste the screenshot and do whatever you want with it. — Matt Eason (Talk • Contribs) 08:34, 22 May 2007 (UTC)
- Cool thanks!
- Er, just for curiosity's sake, but ALT printscreen? I just use printscreen, and it works fine. Is there a reason for using ALT, or is it just ignored? --Wirbelwindヴィルヴェルヴィント (talk) 07:13, 23 May 2007 (UTC)
- ALT printscreen copies the current window only. Quite useful. Printscreen copies the entire screen. --NorwegianBlue talk 07:46, 23 May 2007 (UTC)
- Er, just for curiosity's sake, but ALT printscreen? I just use printscreen, and it works fine. Is there a reason for using ALT, or is it just ignored? --Wirbelwindヴィルヴェルヴィント (talk) 07:13, 23 May 2007 (UTC)
- Cool thanks!
Sap Bw
I am new to sap Bw. I have some doubts about Performance tuning. So please explain about this topic.
- SAP BW is such a massive piece of software that your question is hopelessly overscoped. I suggest you call up your SAP vendor and request some consulting services, read a book or two on this topic, or have your company send you through some SAP training classes. -- mattb 23:58, 22 May 2007 (UTC)
What hardware should I put in my server?
I would like to set up my own server. I have a server hosting at present but I'm dissatisfied with price/yeild. I have no experience setting up servers - I have only made programs/applications in the past so this is new to me.
My needs: I have an application with some 500 users with the potential to go up to 2000-3000. The application is text based, interspersed with medium-sized (30-40 kb) images. It needs to run a rather extensive database as well - MySQL - and do so swiftly. The whole thing is .NET (C#) based.
- What issues should I consider when I invest in hardware for this purpose?
- What hardware is important for this purpose?
- Is Linux the best sollution when I need the .NET framework?
Regards Stan
- .NET is a Microsoft framework, so linux will probably not work with it. You might be interested in LAMP though -- Phoeba WrightOBJECTION! 11:56, 22 May 2007 (UTC)
- You should think carefully before setting up your first system when you have 500 users to keep happy. Perhaps you could hire a consultant who has done it before to help you out? --TotoBaggins 14:22, 22 May 2007 (UTC)
Hi, I've probably built a couple of hundred servers in my time, and basically it's all about what you want that server to do. From you description, it sounds like your key considerations are I/O. Modern CPUs are now so fast they are rarely a performance problem (particularly Dual-Core). I normally favour 1GB RAM per CPU. The real nuts and bolts are your connectivity and I/O throughput to your database. You need to consider how users are going to connect (ie over a LAN or ADSL etc) and whether you require two adaptors (a for failover and b for throughput). On a database server your hard disks are the key. Firstly do the disks need to be fast SCSI or can you use SATA? This is bascially a question of cost, as the real performance benefit comes from the disk layout. For best performance use RAID1 or RAID1/0, the downside is these layouts only give you 50% total disk capacity as usable space. If your I/O is mainly reads and not writes I would go for RAID5, which provides good protection and performance, and allows 75-80% usable space from the total capacity. Obviously to run this system you need a RAID controller. So another thing to consider is how many PCI slots your server has and how fast the bus speeds are.
Broadband speed notation
Hmmm. When a broadband internet speed is expressed as something like "2048kb/384kb" - which are the download and the upload speeds? Thanks!
- Traditionally the speeds are given as download/upload, so your example would be 2Mbps down, 384Kbps up. --LarryMac | Talk 13:42, 22 May 2007 (UTC)
- thanks to you!
- At any rate, the lower one will always be the upload speed for consumer broadband, since they don't want you hosting services without buying a more expensive contract. --TotoBaggins 14:24, 22 May 2007 (UTC)
- And don't forget, those are in bits, not bytes, so divide by 8 to get the more normal kilobytes. So in your case, 256KB down and 48KB up. --Wirbelwindヴィルヴェルヴィント (talk) 07:11, 23 May 2007 (UTC)
windows 3.11 games
I'm trying to remember a game i used to play on 3.11 (though it may be very early windows 95, it's certainly from 1st half of the 90s), which was set in the future and involved racing around sort of floating tracks in futuristic metropolises in very fast cars. each race was like it was televised, and before each race there was a sort of build-up with a presenter called Lance something, but that's all i can remember. it may even have been like a game-show format where Lance was the host and you had to win the race to stay in it. can anyone help me? --Alex16z 13:42, 22 May 2007 (UTC)
- Sounds like F-Zero. --TotoBaggins 14:25, 22 May 2007 (UTC)
- It is similar, but was for PC. --Alex16z 14:34, 22 May 2007 (UTC)
- Oh, i remember this, my dad had it. MegaRace? ~ lav-chan @ 03:47, 23 May 2007 (UTC)
MegaRace"! oh my god, thank you so much! that has been bugging me on and off for years!¬ --Alex16z 08:16, 23 May 2007 (UTC)
php email problems
I am trying to send an email from php in html. The email looks fine in thunderbird but it comes up in code when viewed in outlook express. What could the problem be? Thanks, 89.127.160.227 13:47, 22 May 2007 (UTC)
- Send the shortest email you can that still exhibits the problem, and post it here (raw!) for diagnosis. --TotoBaggins 14:29, 22 May 2007 (UTC)
- I'd say you're not doing the content-type correctly. A dude from php.net/mail says: I just spent a few hours working on getting a simple html formatted email to work on outlook. This is the end result:
<?php $body="<em>HTML</em> formatted <strong>Message</strong"; $headers = "From: info@example.com \r\n"; $headers.= "Content-Type: text/html; charset=ISO-8859-1 "; $headers .= "MIME-Version: 1.0 "; /*notice there aren't any \r\n after the second two header additions. This is what made this version work correctly*/ mail("john@example.com", "An HTML Message", $body, $headers); ?>
- Should do it for you :) (look at the source of this page [edit] to view the code with line breaks). JoshHolloway 15:13, 22 May 2007 (UTC)
- Also, consider using as_mail instead of mail. It helps avoid email injection by spammers. --Kainaw (talk) 00:59, 23 May 2007 (UTC)
What is the frequency of Paradise?
I have an old MS-DOS pc, 386sx circa 1993, with a Paradise VGA card. It is an early Paradise VGA model, I think, with only 256k memory, I think. The VGA has 4 different selectable horizontal frequencies. Two of the 4 are the standard IBM-VGA-compatible 25 MHz and and 28 MHz clocks. These correspond to bit values 00b and 01b in the VGA's miscellaneous register. The other two are Paradise specific. I want to know the frequencies of these two. The pc has a VGA monitor which is *not* multi-sync, so to compute the correct values for setting the VGA chip registers to generate the correct timings for the VGA monitor I need those frequencies. Can't find it through Google. (I am experimenting with this old system as a hobby, doing some assembly programming etc.)
195.35.160.133 13:51, 22 May 2007 (UTC) - Martin -
P.s.: pun intended in the title of this question.
- If you get the model numbers off the actual chip(s) on the card, Google might be more forthcoming. --TotoBaggins 14:26, 22 May 2007 (UTC)
- It's a bit of a long shot, but if you could borrow a frequency counter or an oscilloscope from somewhere, you could measure it. Btw, what would happen if you fed your monitor with the wrong frequency? —Bromskloss 14:42, 22 May 2007 (UTC)
Martin responds: if you feed the wrong frequency to a *non*-multisync monitor, the monitor will not sync, or if the frequency is close it may sync, but overstress/overheat(?) the hardware after prolonged use. It could damage the monitor permanently. I did some trial and error, and I have rough values for the VGA registers, but I would like the precise values to minimise the risk of damaging the hardware. Also just out of curiousity. And I don't have access to an oscilloscope. 195.35.160.133 15:09, 22 May 2007 (UTC) - Martin -
- Why don't you try the "suck it and see" approach *with* a multisync monitor?
- How come it will overstress/overheat just because it gets a sync signal of an unexpected frequency? —Bromskloss 08:42, 23 May 2007 (UTC)
- Seconded: a lot of multisync monitors can show (on their OSD) both frequencies of the signal they are receiving. Try using a multisync monitor and see what it says. --cesarb 09:50, 23 May 2007 (UTC)
Addendum by Martin: good idea using a multisync monitor to read both the scanline and pixel frequencies. In fact knowing only the scanline frequency that a particular VGA setting produces should be enough to compute the selected pixel frequency. Because my MS-DOS PC and my multisync monitor are 5 miles apart I could not put it to practice yet. So I still have no precise figures for the pixel frequencies. However based on trial and error and working backwards fom the BIOS mode for 132 columns (which uses the 4th pixel frequency) I now have some fairly good guesstimates.
I estimate the 3rd frequency (bit code 10b in the miscellaneous register) to be 44 MHz (give or take maybe two MHz).
And the 4th (bit code 11b) seems to be 35.2 MHz (give or take maybe a half MHz).
195.35.160.133 10:09, 29 May 2007 (UTC)- Martin -
Second addendum by Martin: I have managed to compute the frequencies by looking at a status bit at VGA port 03dah which indicates vertical retrace. By counting Vretraces in real time I can compute the screen refresh rate. Multiplying that by the "vertical total" (1based=register+1) and the "horizontal total" (1based=register+6) and the pixels per character width (8 or 9) I get the pixel clocks.
The four values I got were 25.2 28.4 44.9 and 36.4. The second value (theoretically) should be 28.3, but still pretty accurate.
195.35.160.133 12:48, 5 June 2007 (UTC)- Martin -
Brand new MAC's hardrive crashed - how to recover PROPERLY?
The Problem:
A good friend of mine recently acquired a brand new 400GB external Seagate harddrive and filled it with his film's clips for editing!
Last night someone pulled out its power without realising and this morning the Mac wanted to "re initiate" the hard drive.
My friend stupidly took it back to the seller who "couldn't see anything" on the drive and very stupidly reformatted it!
The Reaction:
I have obtained two different data recovery programs ("Recover My Files" and "Nucleas Kernel Macintosh"), and quite suprisingly the one manages to slowly see the lost files!
The problem is it takes freakin AGES. It took about 3 hours to get to 0.7% completion of scanning the drive!!
The other problem is that it doesn't know the names of the files! So it starts to rename things like "Recovered_Mpeg_203.MPG" - which doesn't really help.
Your expertise needed:
(The Solution):
- Can you advise as to whether or not it is possible to recover the NAMES of the lost files? OR
- Can you recommend some high-end software that might be able to do the process quicker?
If I could do either of those all our work will not be lost!
Thanking you in advance
Rfwoolf 14:31, 22 May 2007 (UTC)
- This might not be entirely correct, but: Names are metadata. Metadata was most likely entirely destroyed in the reformat. Sorry. Consider yourself lucky you can recover the files, and just relabel them by hand. That time doesn't seem totally unreasonable to me, compared to the time and cost of sending it in to a professional data recovery service. You have to realize, it's trying to read data that shouldn't really exist. It probably has to read a disk numerous times in order to recover the file. All things considered, you might be able to recreate the clips quicker than you can recover them. -- Phoeba WrightOBJECTION! 16:02, 22 May 2007 (UTC)
software for checking broadband speed
Hi,
can anyone suggest/recommend some free (or very cheap) software which I could use to automatically check my broadband (adsl) speeds at regular intervals throughout the day? ie to run for 24 hours - or more - so the speed can still be checked even though I'll be at work.
I'm currently with virgin media on their broadband only package. I'm supposed to be getting at least 1MB but over the last few evenings, when I've checked, the various speed checker websites I use have been giving a result of 70-80k (little better than dial up!!)
I think I read somewhere that some virgin customers have concerns that perhaps virgin are over subscribed and their infrastructure can't cope - making everyone's speeds really slow.
I'm running windows xp on a 6 month old pc, with a speedtouch modem router.
thanks Spiggy 83.104.131.135 14:39, 22 May 2007 (UTC)
- You don't say, but note that 70-80 kilobytes per second is 500-600 kilobits per second, which is probably about right for a 1 megabit connection (which is what you have, I believe). It's true that it's lower than what they advertise, but their fine print no doubt covers them for that. At any rate, it's at least 10 times faster than a real modem. --TotoBaggins 15:06, 22 May 2007 (UTC)
- Go to SpeedTest.net every few hours, I'd suggest. JoshHolloway 15:25, 22 May 2007 (UTC)
OK. thanks for that. I might actually post a screen shot of my test results - in case I am misreading them. However, my broadband is really quite slow!! spiggy 83.104.131.135 15:52, 22 May 2007 (UTC)
- Did you run the test on a day when you had used your connection a lot (I mean a day when you've transferred multiple gigabytes of data)? Virgin have publicly said that users who've crossed a certain usage threshold (the threshold depends on what package you're on) in one day will have their bandwidth limited by a factor of 50% for the rest of that day. Annoying, isn't it (but at least virgin are honest about it). Cheers, Davidprior 14:12, 23 May 2007 (UTC)
trouble uploading copyright free jpeg image
I have been having trouble uploading a jpeg image to go with my article under reporter's notebook. I have figured out the image locater coding, which should read
but I cannot get my scanned jpeg file to load to the wikipedia website. It is waiting on my desktop. I am using mozilla firefox2. thank you. Rejoyce99 17:10, 22 May 2007 (UTC)rejoyce99
- See Wikipedia:Uploading images. If that does not answer your question, then post a more specific question.
- By the way, I am not sure what you mean by "copyright free". The jpeg image format came after modern copyright law went into place in most of the world. And in modern copyright law, copyright exists in all created works, until its expriation, which has not happened yet for any jpeg image (under the laws of most western countries). Thus, copyright exists in every jpeg every created. Informally speaking, "every jpeg image is copyrighted". If the image has been released to the public domain by its creator, then copyright law can generally be ignored, as it pertains to this image. But otherwise, the image is not in any sense "copyright free". --Tugbug 18:30, 22 May 2007 (UTC)
- That's a bit of a sweeping statement. Copyright does not exist for Works of the United States Government, for example. That's why we can use NASA's images of Mars without any problems. Thanks to Corel Corp we can also use exact photographic copies of images in the public domain. It's quite misleading to say that every JPEG image is copyrighted. — Matt Eason (Talk • Contribs) 18:49, 22 May 2007 (UTC)
- I think all that he meant is that JPEG isn't a "free image format", like the way PNG is. --Wirbelwindヴィルヴェルヴィント (talk) 07:06, 23 May 2007 (UTC)
- Which is fairly irrelevant to the question. --24.147.86.187 12:22, 23 May 2007 (UTC)
- No, I meant that copyright exists in every JPEG image. And, as Matt Eason pointed out, I was wrong. I stand corrected. --Tugbug 18:46, 23 May 2007 (UTC)
- I think all that he meant is that JPEG isn't a "free image format", like the way PNG is. --Wirbelwindヴィルヴェルヴィント (talk) 07:06, 23 May 2007 (UTC)
- And people can release their own images into the public domain if they want to. --24.147.86.187 12:23, 23 May 2007 (UTC)
- That's a bit of a sweeping statement. Copyright does not exist for Works of the United States Government, for example. That's why we can use NASA's images of Mars without any problems. Thanks to Corel Corp we can also use exact photographic copies of images in the public domain. It's quite misleading to say that every JPEG image is copyrighted. — Matt Eason (Talk • Contribs) 18:49, 22 May 2007 (UTC)
smart drive
what is SMART DRIVE? what is the use of it?
- It would be best if you read our article on the SMART monitoring system found in many modern hard drives. Splintercellguy 20:12, 22 May 2007 (UTC)
binary search tree
can anybody help me to under stand in a very simple way not in a bookish way that how i can find the external path length and internal path length of a binary search tree.
Acer Aspire 5000 power jack
My girlfriend's Acer Aspire 5000's power jack is broken. It looks perfectly normal, but it just doesn't work. How can i fix it? --Shanedidona 20:25, 22 May 2007 (UTC)
- Do you mean the jack on the laptop or the one on the power supply? Laptop's generally don't really have any user serviceable parts, if you have no warranty you'll probably need to pay for repair or replacement. I doubt someone here will be able to provide an answer to 'fix it' if you don't know how to do this kind of stuff already. Vespine 01:23, 23 May 2007 (UTC)
Video Compression
What is the best way to fit/compress 2 GB of video (MPEG, but I don't know which) in such a way that it can fit on a standard 700 MB CD and still be opened on another computer without any special programs? By special program I mean anything that wouldn't usually come with Windows XP. --The Dark Side 23:49, 22 May 2007 (UTC)
- mplayer/mencoder will do this for you. Reduce the size of the video and change encodings to something more spacious (MPEG4? Audio in MP3?)
- You should know how little Windows XP comes with. It's surprising you can do anything on a vanilla XP installation. --antilivedT | C | G 05:25, 23 May 2007 (UTC)
- Virtualdub is a common way (at least, used to be) to recompress video. If you know how to use it, or follow instructions at doom9.org, you can get similar qualities after compression. But be warned: recompressing video isn't a 5 minute task. --Wirbelwindヴィルヴェルヴィント (talk) 07:02, 23 May 2007 (UTC)
May 23
Recovering video file from cell
Hello, I accidentally deleted a video file on my cell phone. I had saved it on the removable memory card. Since I deleted it, I have not used the memory card in any way.
- 1. What program is the best to use to recover my file if I put the card in a media card reader?
- 2. Is there any way to recover my video with out the use of a media card reader?
- Thanks, --(Aytakin) | Talk 02:07, 23 May 2007 (UTC)
name of a PC RTS game that I saw
On most of RTS games when you choose a character and then click on another he just get closer and then stay there shooting on the enemy (without moving). I saw on a games magazine a article about a PC RTS game that was released (or a being done), that when you choose a character and click on a enemy, he not just stay there shooting the enemy he plays like if he was a FPS player, so he avoid shoots and others things, and the enemy do the same too. I not remember the name of this game, can anyone say the name of this game to me?? (I saw this article on 2006 or 2005, and the game was a new game, so the article was not a retro gaming article)
PS: This game may be a RTT too.
- Company of Heroes, maybe? -- Consumed Crustacean (talk) 08:24, 23 May 2007 (UTC)
I think that is this game thanks 201.78.246.222 13:45, 23 May 2007 (UTC)
non english programming languages?
Just a curiousity, but are there any non english based programming languages, or ports of english programming languages into other languages? -- Phoeba WrightOBJECTION! 09:46, 23 May 2007 (UTC)
- Unfortunately, I can't remember its name, but I read somewhere in Wikipedia about one that was in Spanish. However, it didn't seem to be of any popularity at all. --Taraborn 10:01, 23 May 2007 (UTC)
- Looking at conlangs, there's var'aq. Any others? -- Phoeba WrightOBJECTION! 10:10, 23 May 2007 (UTC)
As someone else observed recently, many programming languages aren't really english anyway. ;-) And using macros, you can overmap the keywords with your own language.
Atlant 11:52, 23 May 2007 (UTC)
- I guess Reverse Polish isn't what you want, but I always liked the name. --jpgordon∇∆∇∆ 14:43, 23 May 2007 (UTC)
Ares p2p program
Hi. The program works perfectly in my brother's XP account (where it was installed), but can't connect in mine. Why can that be? --Taraborn 09:59, 23 May 2007 (UTC)
- Perhaps you need admin privileges to run, go into control panel and see if you have admin privileges. --Lwarf 10:10, 23 May 2007 (UTC)
- I do have admin privileges. Some programs made for Windows 9x apparently don't work well in XP in different accounts, but this doesn't seem to be the case. --Taraborn 17:53, 23 May 2007 (UTC)
- Old versions of the software can't connect to new versions; ensure that yours is up-to-date. That said, I would investigate alternatives to Ares - the top Google hits are mostly ad related, and a sole CNET.au review on the page recommends LimeWire instead. I personally would recommend uTorrent (which is completely ad-free at this time) and use other specialized tools for chat and any other functions Ares offers. --Edwin Herdman 23:21, 23 May 2007 (UTC)
MOV to DVD or DivX
A friend wants a - possibly freeware - solution to port his *.mov digital compact camera short movies so he can watch them via his DVD player. Any quick suggestions by experienced people? JH-man 10:50, 23 May 2007 (UTC)
- If he has access to a new Mac, iDVD can do that easily. --24.147.86.187 12:20, 23 May 2007 (UTC)
- Sorry, should have mentioned he only has a PC (Windows XP). Any easy-to-use equivalents for PC? Thanks anyway! JH-man 12:35, 23 May 2007 (UTC)
- There was a similar question recently. VLC media player is probably a good tool to start with, at least for the conversion from MOV. What program(s) does your friend have for writing to DVD? --LarryMac | Talk 13:04, 23 May 2007 (UTC)
- Thanks! I'm not sure which DVD software he has, but we will figure it out from here. :) JH-man 13:12, 23 May 2007 (UTC)
Reverse MP3 Playback
I have a couple of Mp3s which I would like to play back in reverse. Sounds weird, I know, but apparently there is a hidden message in the track if one listens to it in reverse. How do I play my Mp3s in reverse? I've got Audacity, but can't find a way to do what I want. Any pointers?
Thanks in advance.
Hasanclk 13:30, 23 May 2007 (UTC)
- It should be in the "effect" menu on Audacity. --LarryMac | Talk 13:46, 23 May 2007 (UTC)
- The effects menu is blank. Meaning, after I opened the MP3 through Audacity, I can't select any of the options of the effects menu. Both the effects and analyze menus are un-clickable.
- do this in two steps:
- transcode it back to a .wav file.
- play the .wav in reverse.
- you need two steps becasue mp3 is "stateful." By contrast, .wav is simply a series of independent samples. (Please note: I've never done this, but the theory is correct.) -Arch dude 16:49, 23 May 2007 (UTC)
- do this in two steps:
- Windows Sound Recorder, with wavs, can do Effects -> Reverse. Will be perfect :)JoshHolloway 17:31, 23 May 2007 (UTC)
- No idea what an MP3 being unstateful means. But I did exactly what you said. Exported the original MP3 to WAV format using Audacity. Then loaded the WAV file(which nearly quadrupled in size btw) on Audacity. But the same problem still exists. Effects And Analyze are unclickable. And believe it or not, I did actually think of doing the Sound Recorder thing, but I don't have a microphone. :)
- Anything else I can try?
- Thanks
- Hasanclk 18:00, 23 May 2007 (UTC)
- You don't need a microphone to use Sound Recorder. Start it up and click File/Open and navigate to your new WAV file. --LarryMac | Talk 18:03, 23 May 2007 (UTC)
- Excellent! That worked! Thanks guys!
Hasanclk 18:13, 23 May 2007 (UTC)
Excel macros
I have a spreadsheet and I want a macro to delete all rows where the entry in column D is zero. I tired the following but it didn't work. I had to run it about 5 times to get most of the relevant rows deleted and even then about 3 or 4 (seemingly) random zero-rows remained.
Sub test() For Counter = 2 To 371 Set curCell = Cells(Counter, 4) If curCell = 0 Then Rows(Counter).Select Selection.Delete Shift:=xlUp End If Next Counter End Sub
What am I doing wrong?
Zain Ebrahim 13:55, 23 May 2007 (UTC)
- I added additional spaces to the above to prevent the indents from confusing the wiki-rendering. Unfortunately, I can't answer your question though. Davidprior 14:17, 23 May 2007 (UTC)
- Bit of a wild guess, this one - should it be "If curCell.Value = 0", rather than "If curCell = 0"? — Matt Eason (Talk • Contribs) 14:30, 23 May 2007 (UTC)
- Any time you have two consecutive rows with value 0, you will end up skipping the second one, because of the shift up. e.g. if rows three and four contain 0. when Counter=3, you will perform the select/delete/shift up. Now row four is where row 3 was. Then you increment Counter, so it equals 4, and the "new" row 3 gets ignored. --LarryMac | Talk 14:35, 23 May 2007 (UTC)
- I found a way to make it work. It's pretty ugly code, but then again I've never touched Excel macros before today:
Sub test() For Counter = 2 To 57 Set curCell = Cells(Counter, 4) Do While curCell.Value = 0 Rows(Counter).Select Selection.Delete Shift:=xlUp Set curCell = Cells(Counter, 4) If curCell.Value = "" Then Exit Do Loop Next Counter End Sub
- I've replaced the If/Then with a Do While loop. This will process all consecutive zeros before incrementing Counter. The line just before the Loop statement is crucial, or else this macro will run endlessly (causing one's CPU utilization to hit 100% and also requiring the use of the task manager to kill Excel). Also note that I changed the end value of the For statement to 57 because I was just testing with a small data set. Also important - as you step through this macro, the index of the last row will continually be getting smaller, since you will have been deleting rows all along. Thus the final several executions of the For loop will be checking on empty cells. Actually, this is what makes the check for an empty string ("") critical, since apparently when curCell.Value=Empty, Excel will treat it as equal to zero. I also implemented Matt's idea to check the specific property of curCell. --LarryMac | Talk 15:14, 23 May 2007 (UTC)
- Why not just loop downwards (which is of course upwards in the sheet)?
371 To 2 Step -1
should do what you want. --Tardis 22:26, 23 May 2007 (UTC)
Wikipedia Bot: CSV
How do you use CSV files In VB.NET? Lmc169 15:48, 23 May 2007 (UTC)
- You parse through it; I don't think there is a special class for handling it. Here is a pretty easy code snippet, pretty straightforward. --140.247.248.120 16:08, 23 May 2007 (UTC)
3GP (or 3g2) Video Format
Hey All!
I've been looking for a freeware or open source (free) converter from the 3gp cell phone video format to any of the MPEG formats... or frankly any other format.
The Nokia PC Suite comes with a player for them, but no way to convert. There are a few software suites that cost around $40. Any ideas?NByz 17:22, 23 May 2007 (UTC)
- Look on this website http://www.erightsoft.com/SUPER.html this has a converter for almost anything i've ever tried to use, i use it for the .3g2 format on my cellphone im sure it can convert to and from even though ive only mostly used it to convert to .3g2 200.12.231.42 18:26, 23 May 2007 (UTC) Ag for MemTech
- Ffmpeg (windows binaries), or it's derivatives mencoder and vlc, can help. --h2g2bob (talk) 21:26, 23 May 2007 (UTC)
µTorrent problem - file system limitation error
I'm trying to download a simple .mdf package. BitTorrent downloaded the first 94% of the file, but then everything started freezing, so I switched to uTorrent. It works fine at first, picks up the file where BitTorrent left off, but then after downloading for a minute or so, it stops and gives me "Error: file system limitation"
What does this mean, and what do I do about it? I'm running Vista 32-bit on a wireless 3Mb/s cable connection. Also, I'm getting this message in the Logger: "Unable to map UPnP port", which is odd considering I have UPnP enabled both in my router settings and in uTorrent. Is this just an occasional error like hash fails, or could it be related to this file system problem? Thanks, —Akrabbimtalk 20:34, 23 May 2007 (UTC)
- The "file system" thing might be that you're trying to create a file greater than the maximum file size allowed by the file system. The max file size for NTFS is vast, but if your disk is formatted FAT32 then you might be running into its 4GiB limit. -- Finlay McWalter | Talk 20:40, 23 May 2007 (UTC)
- No, my hard drive is NTFS. Besides, the .mdf file is only 3.46 GB, the .mds is only 33 kB, and another 720 B .txt file. —Akrabbimtalk 20:44, 23 May 2007 (UTC)
- Filename too long? Pathname too long? File/pathname contains illegal character? NTFS is pretty plural about these too,but you never know. -- Finlay McWalter | Talk 21:11, 23 May 2007 (UTC)
- Would you post a link to the torrent in question so we could try for ourselves? —Bromskloss 21:10, 23 May 2007 (UTC)
- Providing it's legal? Don't want Wikipedia getting screwed over for linking to illegal content. JoshHolloway 21:32, 23 May 2007 (UTC)
- Hmm... I'll try a simpler pathname. That could be it. —Akrabbimtalk 23:07, 23 May 2007 (UTC)
- Well, a simpler filename works, only the problem is I can't figure out how to get uTorrent to save files as a certain filename. The torrent has the .mdf file saved as "Sample [FULLDVD][Multi-Spanish-EN-IT].mdf", and I can get the error to go away if I bring it to something short like "S.mdf", but I can't get uTorrent to change the filename. Can you do this, or is this hopeless to download such a large file with such a long filename? —Akrabbimtalk 00:45, 24 May 2007 (UTC)
May 24
TI Programming maneuvers
Is it possible to jump to a label in a different program?
also Is it possible to archive and unarchive programs as part of another program?