Jump to content

Wikipedia:Reference desk/Computing: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 116: Line 116:


::It is similar, but was for PC. --[[User:Alex16z|Alex16z]] 14:34, 22 May 2007 (UTC)
::It is similar, but was for PC. --[[User:Alex16z|Alex16z]] 14:34, 22 May 2007 (UTC)

:::Oh, i remember this, my dad had it. [[MegaRace]]? [[User:12.179.0.132|12.179.0.132]] 03:43, 23 May 2007 (UTC)


== php email problems ==
== php email problems ==

Revision as of 03:43, 23 May 2007

Wikipedia:Reference desk/headercfg


May 17

Is it possible to sell blogger domain names

I own many blogger domain names like the following. I registered once because I wanted to start a blogging empire. But I have found it to be difficult and if possible want to sell those names. First of all, is it legal to sell those names? Can anyone explain? The names I own are

digitalnewspaper.blogspot.com; yahootoday.blogspot.com; newspaperindustry.blogspot.com; digitalbooks.blogspot.com; bookopedia.blogspot.com; booksforum.blogspot.com; futurenewspaper.blogspot.com; a9today.blogspot.com; googletoday.blogspot.com; ebookforum.blogspot.com; digitalmagazine.blogspot.com; microsofttoday.blogspot.com; ideatimes.blogspot.com; universaltimes.blogspot.com; bloggersday.blogspot.com; ideastoday.blogspot.com;


You don't own the names, Google does. (Google owns Blogger and the blogspot domain). The specific portion of the Terms of Service would appear to be: 7. No Resale of the Service. Unless expressly authorized in writing by Google, you agree not to reproduce, duplicate, copy, sell, trade, resell or exploit for any commercial purposes (a) any portion of the Service, (b) use of the Service, or (c) access to the Service. --LarryMac | Talk 00:20, 17 May 2007 (UTC)[reply]

Yep. Sorry bud, but Blogspot/Blogger/Google owns the domains, not you. if you want to own the domain name, you have to purchase it. This would be like creating a wikipedia page and trying to proclaim some sort of power over it, or a Wikia page and act like it's all yours. -- Phoeba WrightOBJECTION! 01:46, 17 May 2007 (UTC)[reply]

You may also be interested in reading the cyber squatting article, not implying any of your blog names are trademarks. Vespine 02:07, 18 May 2007 (UTC)[reply]

Vista Desktop

I'm running Vista home edition and I was wondering if I could make my desktop icons smaller.

And how can I add contacts to the contacts gadget?

Regarding your first question, apparently, you can press control and use the scroll button on your mouse. - Akamad 08:21, 17 May 2007 (UTC)[reply]
To the first question, right-click desktop -> View -> Large Icons / Medium Icons / Classic Icons (small)
To the second question, you can open your user folder -> Contacts, and click New Contact from there --Spoon! 08:37, 17 May 2007 (UTC)[reply]

TI Programming

I am attempting to do some programming on my TI-84+ however, i would like to be able to edit the program on my computer. What program do i need to install on my computer to do so. I am running XP Home, with TI-Connect software installed.

Thank You Omnipotence407 02:09, 17 May 2007 (UTC)[reply]

The old TI GRAPH LINK 83 software, which is a pain. You're much better off doing it on your calculator, it's much faster and easier, especially to test. Of course if you're doing assembly you need the computer though (unless you have the opcodes memorized!) --frotht 00:17, 18 May 2007 (UTC)[reply]
One can also try out Virtual TI, a TI-calc emulator for various calculators in the series. It seems to be quite accurate. --Edwin Herdman 23:11, 23 May 2007 (UTC)[reply]

Virtual desktops in OS X

Is it possible to get the virtual desktops that are in KDE on a Mac running OS X? I'm just looking for a program with similar functionality. Dismas|(talk) 09:42, 17 May 2007 (UTC)[reply]

The Mac people will tell you that "you're not *supposed* to use virtual desktops" and use Expose, but I think there's functionality out there.
P.S. I've searched and there seem to be a number of them but most are abandoned and the one that wasn't is $40. I'd rather find a free, shareware, open-source, etc. solution. And yes, Expose is okay but not quite the same. Dismas|(talk) 09:55, 17 May 2007 (UTC)[reply]
I just thought I'd get that unhelpful response out of the way already ;)
I thought they are going to introduce that in their next release, Leopard. --antilivedT | C | G 10:13, 17 May 2007 (UTC)[reply]
Ah, right you are: Spaces (software). Dismas|(talk) 10:32, 17 May 2007 (UTC)[reply]
Perhaps VirtueDesktops will do the job you're after? Drinniol 2:58 22 May 2007 (GMT+8)

about wikipedia's platform

hi; This is kim. I have a question about the wikipedia site's platform. what is it? Can you please help me with that.

Thanks!

Take a look at the article on Wikipedia. Weregerbil 10:28, 17 May 2007 (UTC)[reply]
Specifically, the software and hardware section. In short, it uses a piece of software called MediaWiki, which is written in PHP and uses the MySQL database management system. It runs on over 100 Linux servers, running the Apache HTTP Server software. The combination of Linux, Apache, MySQL and PHP is used by loads of sites and is commonly referred to as LAMPMatt Eason (Talk • Contribs) 11:05, 17 May 2007 (UTC)[reply]
The Linux distros that are used will include Fedora Core. Probably Ubuntu as well, but I'm not sure. --Kjoonlee 11:31, 17 May 2007 (UTC)[reply]

Sending pictures over the internet

I recently took over 100 pictures on my school leavers day and i want to send them to my friends, what is the best way to go about doing this? Attaching them to an email using hotmail, would take forever. Sending them directly through msn, also would take a considerable amount of time, the best solution i have at the moment is to put them all into the sharing folders on msn, this takes less effort on my part, but people say only around 8 pictures have come through so far, and it has been at least half an hour :S

If anyone has a better solution, which takes minimal effort, it would be much appreciated, thanks in advance RobertsZ 12:07, 17 May 2007 (UTC)[reply]

Well first, I would look at the resolution. If you are a maximum resolution the picture may be saved as a full screen sized gian picture, when all you would need would be a much smaller compression. This could save megabytes per picture if you shrink and compress them before posting them.-Czmtzc 12:14, 17 May 2007 (UTC)[reply]
Try zipping them into a zip file and then emailing the zip file to all your friends. --Lwarf 12:23, 17 May 2007 (UTC)[reply]
If you have a large data set, e-mail is a particularly bad idea. Most e-mail providers will reject mails over a certain size. The folder at msn is a good solution, since you only need to upload the data once instead of once per friend. What size are your pictures, what format are they and how fast is your connection? Maybe 16 pictures per hour is all you can get.

Bittorrent is the best solution to this. Particularly, use a client such as Bitcomet, which should be automagically able to make a torrent file, then send the much smaller torrent file to your friends to use -- Phoeba WrightOBJECTION! 13:03, 17 May 2007 (UTC)[reply]

They are all .jpeg files and are around 1000 kb each, my brother has just shown me a nifty tool on hotmail, which compresses things, its working as i type, so that may do the job, thanks anyway. RobertsZ 13:08, 17 May 2007 (UTC)[reply]
I agree with the anonymous poster above: don't send them at all. Post them somewhere that your friends can get them. The folder is a fine idea, but if that doesn't work, what about trying Flickr or any of the million-and-one similar sites? --Tugbug 18:16, 17 May 2007 (UTC)[reply]
Be careful not to post your private pictures on a publically accessible site. Use something that requires a password to see your pictures and give it only to your friends. Everything that is ever fed to the internet tends to stay there forever. Oh and by the way, I am the anonymous poster and I would like to have an account, but I refuse to call myself "wrtfhguztkshtz". ^^
Uh ... so call yourself something else. --Tugbug 17:24, 18 May 2007 (UTC)[reply]

So, to summarize, post the pics somewhere and only e-mail your friends a link to them and a password, if needed. StuRat 05:38, 18 May 2007 (UTC)[reply]

You might consider setting up a Flickr account, which is designed for sharing photos. I'm pretty sure you can upload them en masse in some way. --24.147.86.187 14:23, 20 May 2007 (UTC)[reply]

User blurs off

On the web, what does it mean when a user blurs off a text area or pop-up?

I am familiar with the term "blur" as used in Javascript; it means to lose focus. Here is one reference discussing the onBlur event. --LarryMac | Talk 15:12, 17 May 2007 (UTC)[reply]

Oblivion

Hi,

Any duplicating cheats for oblivion on PS3? Preferably the non-scroll based one.

Thanks

Nebuchandezzar

Try www.gamefaqs.com Vespine 23:54, 17 May 2007 (UTC)[reply]
An up-to-date community project covering all aspects of The Elder Scrolls games is available at The Unofficial Elder Scrolls Pages. Have fun. --Edwin Herdman 23:16, 23 May 2007 (UTC)[reply]

java/swing: textfield in table header

I want to have a JTextField in the header line of a JTable. Is this possible in a way such that the field is able to take focus so I can write in it?

Tahnks. 84.160.208.134 18:11, 17 May 2007 (UTC)[reply]


See here. --TotoBaggins 20:07, 17 May 2007 (UTC)[reply]
Thanks alot, that brings me back on the right track. 84.160.231.206 20:26, 17 May 2007 (UTC)[reply]

Well, it's a bit more tricky. What I really have to do is to write a wrapper around an existing TableCellRenderer and add two text fields for each row. I managed to do that but they don't take focus. ... Not a big surprise once I noticed that the component in place is not my JPane with the text fileds but the TableCellRenderer .... . So things look bad and I fear there is no way around building a deeper understanding. Is there any good tutorial or reference on how these things work? I've seen many tutorials on how to do things, but I didn't find one on what's going on and why.

Thanks again. 84.160.231.206 22:02, 17 May 2007 (UTC)[reply]

Adobe Question

Hello. I have Adobe Reader installed on my PC. I recently downloaded a .pdf file that I'd like to type into (instead of printing and filling out with a pen). I'm assuming that I cannot do this since I'm using Reader? What do I need to download in order to type directly into the pdf?

Thanks!!! Rangermike 18:30, 17 May 2007 (UTC)[reply]

As the name suggests, there is a lot of adobe software at adobe, for example http://www.adobe.com/support/downloads/product.jsp?platform=Windows&product=9 Some of it is free of charge, some is sold. Have a look at hte license.
84.160.231.206 18:52, 17 May 2007 (UTC)[reply]
Adobe Reader does allow typing into PDF documents that are set up to allow it (that's how I do my tax return, for example). --Tugbug 18:54, 17 May 2007 (UTC)[reply]

Strike-through text

The PDF I'm using now will not let me type into it. So, I need Acrobat Writer? The link you provided was for Writer for Windows 95??? I'd appreciate any comments! Thanks!! Rangermike 19:51, 17 May 2007 (UTC)[reply]
The link was just the first hit on google, you should be able to navigate from there. I'm using the free version of acrobat reader and I cannot write into pdf documents with this. I'm not familliar with adobe software but I know that there are programs with which you can write into pdf docs. I suppose these programs are not free. 84.160.231.206 20:03, 17 May 2007 (UTC)[reply]


Im back! well anyways...here is a solution...if the company that made the PDF made it writable...then you can write into it...check this in the file>document properties field once within acrobat and then click on Security tab and see what fields are allowed. if it is blocked...you will not be able to with adobe write either because it is probably password protected. if it is allowed but your reader cannot write into it...try other solutions such as this one http://www.pdfill.com/ 200.35.168.129 21:57, 17 May 2007 (UTC) Ag for MemTech[reply]


You can type and print the form if fillable. (Check by going to the document properties ... Control or Command + D is the shortcut I think)However, you can save the changes usingAdobe Reader only if the content provider (assuming [s]he is also using Adobe Acrobat professional) has allowed for it.

If you think you can get on without saving the filled form to your computer, most decent PDF forms can be filled and printed if you do it in one session. Hope that helps too. --Kushal User_talk:Kushal_one 23:37, 17 May 2007 (UTC)

Thanks for the comments. The file is not secured, nor is it fillable. I tried to type in the form from the web, but no luck. I'm guessing that I'll just have to print and fill-in by hand. Thanks for all the comments and suggestions!!! Rangermike 00:00, 18 May 2007 (UTC)[reply]

If the PDF is not set up to be filled in, then you would need to have Acrobat and make it a fillable form. Which even at its best is very tedious and takes much longer than just printing it out and filling it in my hand. --24.147.86.187 14:22, 20 May 2007 (UTC)[reply]

Windows Vista & MSN Messenger

The date execution prevention feature on Windows Vista is preventing me frm signing into Windows Live Messenger; I have tried disabling the feature but have been told that the default setting cannot be changed? How do I change these settings and allow windows live messenger to function on my laptop?

If you have an Acer computer, then the instructions here might help. There is a patch you might want to try. x42bn6 Talk Mess 21:46, 17 May 2007 (UTC)[reply]
I have a thinkpad and it's a security option in the BIOS setup --frotht 00:15, 18 May 2007 (UTC)[reply]

google

I so don't like what google has done with their layout, does anyone have any good recomendations for google mirrors that retain the origional layout?

It's almost the exact same minimalistic layout that they've always had. Is the bar at the top what you object to? Dismas|(talk) 22:53, 17 May 2007 (UTC)[reply]
I am not up to date with the layout (I use the Google toolbar more often) . Could you tell us what changes you dislike and why? I would recommend Elgoog mirror sitebut that probably will not be of any help, either. --Kushal User_talk:Kushal_one 23:37, 17 May 2007 (UTC)
Yeah I can't see any difference, maybe there is a customise setting that has changed on your PC rather then Google it self. Vespine 23:50, 17 May 2007 (UTC)[reply]
Well they made the ads at the top of the results look more like results. I hated google's initial change from their original look and it's been downhill ever since IMO. But we'll all learn to put up with the latest senseless change I suppose... and it's doubtlessly had millions in R&D so it's inevitable --frotht 00:14, 18 May 2007 (UTC)[reply]

Google randomly tests different layouts on people. Look up 'google skin change' and such (on google itself, naturally), basically it involves going to google.com, and then putting a javascript:YADADAYDYADYADAYAYDYAYADADADDA thing in your address bar to alter a cookie -- Phoeba WrightOBJECTION! 05:42, 18 May 2007 (UTC)[reply]


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)[reply]

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)[reply]

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)[reply]
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)[reply]
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)[reply]

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)[reply]

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)[reply]
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)[reply]

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)[reply]
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)[reply]
Also appears to have been transwikied to stratergywiki. --h2g2bob (talk) 20:05, 18 May 2007 (UTC)[reply]

Uploading SVG Images

Hi I recently created

File:ChaserWar.svg
this

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)[reply]

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)[reply]

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

this

which is ment to look like

this

--Lwarf 10:41, 18 May 2007 (UTC)[reply]

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)[reply]
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)[reply]

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)[reply]

Try selecting the text and clicking Unflow from the Text menu. --h2g2bob (talk) 19:56, 18 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]
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)[reply]
link fixed --cesarb 16:03, 19 May 2007 (UTC)[reply]
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)[reply]

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)[reply]
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)[reply]
This page describes how - I think you'd just need to call ExecWait in particular. -- Finlay McWalter | Talk 18:37, 18 May 2007 (UTC)[reply]
And if that inner-installer needs user input, you can (apparently, I've not done it myself) use FindWindow and SendMessage 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)[reply]
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)[reply]
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)[reply]
Thanks. StuRat 17:05, 19 May 2007 (UTC)[reply]

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)[reply]

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)[reply]
How bizarre that they have installers for test versions but not for the production version. StuRat 17:05, 19 May 2007 (UTC)[reply]

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)[reply]

This is only intended for Windows, and it could be limited to Windows XP, if necessary. StuRat 17:00, 19 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

Wireshark? It's probably able to run from command-line. Splintercellguy 23:44, 18 May 2007 (UTC)[reply]
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)[reply]
tcpdump is the old-reliable for UNIX-like systems, so presumably it works on OS X. --TotoBaggins 00:42, 19 May 2007 (UTC)[reply]
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)[reply]
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)[reply]
Don't worry. I'm not going to do anything malicious, just mess with my friends :)--Ryan 04:26, 19 May 2007 (UTC)[reply]


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)[reply]

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)[reply]
Out of interest, do those calls need to be made in the program's code?--Ryan 04:25, 19 May 2007 (UTC)[reply]
No, there are nice equivalents for them. --TotoBaggins 12:34, 19 May 2007 (UTC)[reply]
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)[reply]

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)[reply]
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)[reply]


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
http://www.antarestech.com/products/avp.shtml
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)[reply]

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)[reply]

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)[reply]

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[reply]

(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)[reply]

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)[reply]
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)[reply]
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)[reply]

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)[reply]
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)[reply]
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
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)[reply]
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)[reply]
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)[reply]
Just out of curiosity, why don't you want tat or tee? --LarryMac | Talk 15:06, 19 May 2007 (UTC)[reply]
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)[reply]

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)[reply]

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)[reply]
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)[reply]
[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 (talkcontribs) 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)[reply]

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)[reply]
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
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)[reply]

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)[reply]

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)[reply]

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)[reply]
Cheers, I did that, and I got this:
Volumes:
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)[reply]
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 or du / | sort -rn | more instead.
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)[reply]

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)[reply]

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)[reply]

Gmail Paper

Is there any services like Gmail Paper? 68.193.147.179 19:38, 19 May 2007 (UTC)[reply]

I think it's called the "print" function. --140.247.242.30 20:56, 19 May 2007 (UTC)[reply]
Or mail. GDonato (talk) 21:03, 19 May 2007 (UTC)[reply]

FedEx-Kinkos will probably do something like this for you, but it won't be free. -- Phoeba WrightOBJECTION! 02:33, 20 May 2007 (UTC)[reply]

The US Post Office will accept, print, and deliver files, but not for free: [2] -Arch dude 23:28, 20 May 2007 (UTC)[reply]


May 20

Fastest Internet Connection

What is the fastest internet connection in the world? 68.193.147.179 00:18, 20 May 2007 (UTC)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
OC-768 (40Gbps) has been standardized for some time now and is commercially available as a line card for the Cisco CRS-1 system.

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)[reply]

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)[reply]
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)[reply]

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)[reply]
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)[reply]
Widescreen all the way. (generally) widescreen laptops have better resolution than non widescreen ones.--Ryan 15:33, 20 May 2007 (UTC)[reply]
File:Boing Boing is narrow.png
I love Boing Boing, but I wish it would expand to fill my screen.
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]

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)[reply]

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)[reply]


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)[reply]

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)[reply]

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)[reply]

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)[reply]


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)[reply]
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)[reply]

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)[reply]

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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
It doesn't matter, it will be resampled to the dpi of the page itself. --antilivedT | C | G 04:09, 22 May 2007 (UTC)[reply]

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)[reply]

Can you show us an example? — Matt Eason (Talk &#149; Contribs) 17:31, 20 May 2007 (UTC)[reply]
[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)[reply]
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)[reply]

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)[reply]

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)[reply]
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)[reply]
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)[reply]
Is it ever properly executing the printf call? --jpgordon∇∆∇∆ 14:49, 23 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]

Yes, UnPlug is pretty amazing at that sort of thing. Linky, in case you're interested. --saxsux 16:41, 22 May 2007 (UTC)[reply]

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)[reply]

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)[reply]
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)[reply]
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.
Atlant 12:29, 21 May 2007 (UTC)[reply]
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?
Atlant 15:59, 22 May 2007 (UTC)[reply]

...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)[reply]

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)[reply]
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)[reply]
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).
Atlant 15:59, 22 May 2007 (UTC)[reply]


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)[reply]

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)[reply]
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)[reply]

iPod Videos

How do you enable/transfer videos purchased from iTunes on one computer to another computer? Deltacom1515 03:09, 21 May 2007 (UTC)[reply]

Flash drive or CD-R/CD-RW. --R ParlateContribs@ (Let's go Yankees!) 10:56, 21 May 2007 (UTC)[reply]

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)[reply]

It sounds like the download wasn't complete, so it couldn't open it. StuRat 06:51, 21 May 2007 (UTC)[reply]
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)[reply]
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)[reply]

Powerpoint presentation

How can you put a moving picture on a powerpoint slide?

Dudforreal 07:44, 21 May 2007 (UTC)[reply]

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)[reply]

It doesn't move when I insert the moving GIF image.

Dudforreal 06:46, 23 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]
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)[reply]
gnu.org has a nice FAQ page that adresses this question. -- Diletante 15:17, 22 May 2007 (UTC)[reply]

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)[reply]

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)[reply]
This doesn't directly answer your question but you might want to use an alias.
$ alias lsa="ls | grep a"
$ lsa
--Diletante 15:04, 21 May 2007 (UTC)[reply]
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)[reply]
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)[reply]


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)[reply]

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)[reply]
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)[reply]

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)[reply]

Image > Mode > CMYK. You might see some change in colours if they're not in the CMYK gamut. — Matt Eason (Talk &#149; Contribs) 15:32, 21 May 2007 (UTC)[reply]
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 &#149; Contribs) 15:40, 21 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]
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)[reply]
Talk about throwing out the baby with the bathwater. --24.147.86.187 23:07, 21 May 2007 (UTC)[reply]
Not if you use NoScript to selectively turn off JavaScript. --cesarb 00:25, 22 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]
Kainaw said that the home page had been changed and mentioned workarounds. How is that "stumped"? --LarryMac | Talk 20:27, 22 May 2007 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
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)[reply]
Rainfall10110, it's better to use for than while. --h2g2bob (talk) 22:42, 25 May 2007 (UTC)[reply]

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)[reply]

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.
Atlant 15:32, 21 May 2007 (UTC)[reply]
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)[reply]

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)[reply]

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";} })();
Root4(one) 22:02, 21 May 2007 (UTC)[reply]
http://www.diveintogreasemonkey.org/ is a good resource. Root4(one) 22:28, 21 May 2007 (UTC)[reply]

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)[reply]

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 &#149; Contribs) 21:23, 21 May 2007 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]

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)[reply]

Try saving the image somewhere and opening it up / pasting from the file. -- Consumed Crustacean (talk) 06:22, 22 May 2007 (UTC)[reply]

What if you're copying it from the internet?

Dudforreal 06:28, 22 May 2007 (UTC)[reply]

Most web browsers let you right click, then click Save Image (or something similar). -- Consumed Crustacean (talk) 06:29, 22 May 2007 (UTC)[reply]
It'll look still unless you view it in Windows Fax Viewer or similar. JoshHolloway 06:42, 22 May 2007 (UTC)[reply]

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?[reply]

Put them on the slide master. — Matt Eason (Talk &#149; Contribs) 08:42, 22 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]

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 &#149; Contribs) 08:34, 22 May 2007 (UTC)[reply]
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)[reply]

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)[reply]
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)[reply]

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)[reply]
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)[reply]

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)[reply]

Sounds like F-Zero. --TotoBaggins 14:25, 22 May 2007 (UTC)[reply]
It is similar, but was for PC. --Alex16z 14:34, 22 May 2007 (UTC)[reply]
Oh, i remember this, my dad had it. MegaRace? 12.179.0.132 03:43, 23 May 2007 (UTC)[reply]

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)[reply]

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)[reply]
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)[reply]
Also, consider using as_mail instead of mail. It helps avoid email injection by spammers. --Kainaw (talk) 00:59, 23 May 2007 (UTC)[reply]

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 -[reply]

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)[reply]
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)[reply]

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 -[reply]

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):

  1. Can you advise as to whether or not it is possible to recover the NAMES of the lost files? OR
  2. 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)[reply]

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)[reply]

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)[reply]

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)[reply]
Go to SpeedTest.net every few hours, I'd suggest. JoshHolloway 15:25, 22 May 2007 (UTC)[reply]

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)[reply]

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

notebook
notebook

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[reply]

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)[reply]
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 &#149; Contribs) 18:49, 22 May 2007 (UTC)[reply]

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)[reply]

binary search tree

can anybody help me how i can find the external path length and internal path length of 10 nodes binary search tree.

Surely your textbook covers that material? --TotoBaggins 23:52, 22 May 2007 (UTC)[reply]

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)[reply]

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)[reply]

Overview of the Luxury Yacht Market - Its Size and Components

I am currently researching the luxury yacht market and am having difficulty in defining its size and makeup. I would like to know the following:

1) What determines if a yacht falls in the 'luxury' category? Is it the total cost, total size or some other factor?

2) How large is this market in terms of units sold and total revenue produced?

3) Who are the major competitors within the luxury yacht market?

4) What are the primary sales channels for high-end luxury yachts?

I would appreciate any feedback and help,

204.9.220.36 22:33, 22 May 2007 (UTC)R.B.[reply]

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)[reply]

mplayer/mencoder will do this for you. Reduce the size of the video and change encodings to something more spacious (MPEG4? Audio in MP3?)

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)[reply]

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.