Jump to content

Wikipedia:Reference desk/Computing: Difference between revisions

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


:Can you describe these ugly characters ? On the usual ASCII [[code page]], characters 128-255 give you lots of special characters for creating single line and double lined rectangles. There are also the card suit symbols (♠ ♣ ♥ ♦) and some other characters. Here it is: [[Code page 437]]. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 02:07, 4 April 2010 (UTC)
:Can you describe these ugly characters ? On the usual ASCII [[code page]], characters 128-255 give you lots of special characters for creating single line and double lined rectangles. There are also the card suit symbols (♠ ♣ ♥ ♦) and some other characters. Here it is: [[Code page 437]]. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 02:07, 4 April 2010 (UTC)

== Making a laptop a wi-fi hotspot ==

I need to make my laptop into a wi-fi hotspot so that my DS can connect to Nintendo WFC. Googling turned up several sites which said to create an ad-hoc wireless network, which I did. However, after locating the network, when I tried to test the connection on my DS, I got error code 51300. I confirmed that I'd entered the right WEP key, but it still wouldn't work. How do I set up a wi-fi hotspot using my laptop, without having to buy a wi-fi router, to which I can connect my DS? --[[Special:Contributions/70.129.184.122|70.129.184.122]] ([[User talk:70.129.184.122|talk]]) 02:21, 4 April 2010 (UTC)

Revision as of 02:21, 4 April 2010

Welcome to the computing section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:

March 29

Media Player mess

I was customizing Media Player (skins and art) and then it hang up. Now I can't open it and an endless loop of media player stopped working, microsoft sync stopped working and microsoft windows is working on the problem or something. Anyways, is there a way for me to reload Media player to its default setting or some sort of safe mode to work with. Note that I don't have access to this computer's vista cd's/dvd's.--121.54.2.188 (talk) 01:05, 29 March 2010 (UTC)[reply]

I believe you can download a fresh copy, for free, from Microsoft, without any requirement to prove you have a legal copy of Windows. So, you could uninstall the mess you have and give that a try: [1]. StuRat (talk) 01:17, 29 March 2010 (UTC)[reply]
Ah okay. I'll just ask for the serial number from our tech guy. (hehe I just reread the without any requirement part) --121.54.2.188 (talk) 01:23, 29 March 2010 (UTC)[reply]
Although I suspect that they only give it away for free because it's crap. I use PowerDVD, myself, for viewing movies. StuRat (talk) 01:30, 29 March 2010 (UTC)[reply]

Java Applet Problem

So i am writing this code to draw little vehicle shapes, and i wanted to do something extra and add the java logo to the cargo area of my trucks.... but when i add the code that is supposed to do it, the java console complains that it doesnt have security access to the image file. It happens both on windows vista and on the linux server. Why?

--- Code below

  • NOTE: I have removed the rest of my code except the part which should apply to this problem

---

import java.awt.*;
import javax.swing.*;
import java.io.*;
import java.awt.image.*;
import javax.imageio.*;

public class Hw2_3 extends JApplet
{
        public int x = 100;
        public int y = 100;
        public int x2 = 200;
        public int y2 = 200;
        public void paint(Graphics g)
        {
                Graphics2D g2d = (Graphics2D)g;
                //Java logo on cargo space
                BufferedImage img = null;
                try
                {
                        img = ImageIO.read(new File("java_logo.jpg"));
                }
                catch (IOException e) { }
                g2d.drawImage(img,x2 + 50, y2 + 10, 40, 30, null);

        }

}

---

Thanks for any help!

137.81.112.175 (talk) 01:15, 29 March 2010 (UTC)[reply]

It has been LONG time since I did applets, but I can point you in the right direction.
Originally applets had no capability at all to read a file; they were a tag in a browser, they run on the client, and reading a file implied they could read arbitrary information from the disk -- word and excel documents, your Quicken info, etc. So part of their "sandbox" was that they could not read any file information from the local machine at all.
Since then, Java has grown to have "trusted applets", i.e., applets which are signed and therefore can be allowed some capabilities on the local machine. The user is prompted when the applet runs to determine whether he wants this particular applet to have the enumerated privileges (such as reading files). Look this up under "trusted applet" to do what you say you want to do.
However, I'm not sure that's what you really want to do. It appears to me you want to read a file of your own; that won't be on the local machine, that will be on the server. Look into reading resources (Class.getResourceAsStream()) instead of files, and put the Java logo file into the jar that contains your classes instead. Then it gets downloaded with your classes, and doesn't have to be put somewhere on the local machine.

Ralphcook (talk) 03:18, 29 March 2010 (UTC)[reply]


Actually, the file named is on the local machine, in the same directory as the class file and the container HTML. 137.81.112.175 (talk) 03:26, 29 March 2010 (UTC)[reply]

Additionally, im trying to use getResourceAsStream, but the compiler complains. I dont think im implementing it properly. 137.81.112.175 (talk) 03:51, 29 March 2010 (UTC)[reply]

Yay, i got the input stream to work, but now g.drawImage doesnt support the signature involving an input stream, it wants type "File" :( back where i started!

Hw2_3.java:48: cannot find symbol
symbol  : method drawImage(java.io.InputStream,int,int,int,int,<nulltype>)
location: class java.awt.Graphics2D

137.81.112.175 (talk) 04:07, 29 March 2010 (UTC)[reply]

My new code:

import java.awt.*;
import java.awt.Graphics;
import javax.swing.*;
import java.lang.ClassLoader;
import java.io.InputStream;
import javax.imageio.*;
import java.io.*;
public class Hw2_3 extends JApplet
{
        public int x = 100;
        public int y = 100;
        public int x2 = 200;
        public int y2 = 200;
        public void paint(Graphics g)
        {
                Graphics2D g2d = (Graphics2D)g;
                //Java logo on cargo space
                Image image = null;
                try
                {
                        InputStream is = new BufferedInputStream(new FileInputStream("java_logo.jpg"));
                        image = ImageIO.read(is);
                }
                catch (IOException e) { }
                g2d.drawImage(image, x2 + 50, y2 + 10, 40, 30, null);

        }

}

Still having the permission problem! —Preceding unsigned comment added by 137.81.112.175 (talk) 04:46, 29 March 2010 (UTC)[reply]


Have you read and understood the security limitations related to Applets? File Access by Applets in the official Basic Java Tutorial from Sun Microsystems explains very explicitly: An applet has no access to local system resources unless it is specifically granted the access. So, you have a few options: if you are running the applet locally, you can use a Policy File, as explained here; if you are distributing over the web, you can learn how to use a Java Security Manager by reading about Permissions in Java and then use that to request permission for file access; or you can move the image/file you want to access to a "non-local" storage, such as inside the .JAR file that your applet is distributed in. This is explained in the introduction to Java Resources, and here is a code snippet for reading a file from inside the applet's JAR file. Probably the best method (if you can use Java Swing) is to create a JApplet and use getResource() - as described in the Swing Applet icon tutorial. Swing JApplets are available in all modern Java implementations since Java 1.2. Nimur (talk) 16:11, 29 March 2010 (UTC)[reply]

Firefox tab placement

In the new version of Firefox, "open in new tab" creates a tab immediately to the right of the 'parent' tab. Most of the time, though, the old behavior – opening at the far right of all tabs – is more convenient to my peculiar habits. Is there a way to get the old behavior back? —Tamfang (talk) 04:14, 29 March 2010 (UTC)[reply]

Set browser.tabs.insertRelatedAfterCurrent to false in about:config [not so peculiar :) ] ¦ Reisio (talk) 04:22, 29 March 2010 (UTC)[reply]
Gracias. —Tamfang (talk) 06:30, 29 March 2010 (UTC)[reply]
Good to be reminded about about:config. I found the new tab behavior weird at first, but think I'll come to like it. --Stephan Schulz (talk) 09:33, 29 March 2010 (UTC)[reply]
I found it pretty disorienting and promptly disabled it, though this type of behavior is less problematic with vertical tabs, since each set of "child" tabs can easily be indented. ¦ Reisio (talk) 13:21, 29 March 2010 (UTC)[reply]
I've actually generally preferred this behaviour since I first encountered it in IE7. In fact the inability to do it in Firefox was one of the things which kept me on IE7 for a while but I eventually got annoyed enough with IE's annoying high likelihood of losing my comment if I clicked back as well as becoming fond enough of the magic search (or whatever it's called) in FF that I switched back. It can get confusing at times when you're switching between tabs but on the whole I generally prefer it Nil Einne (talk) 07:27, 30 March 2010 (UTC)[reply]

software crossover

is there any win app that would do what a passive crossover does? I mean band separation and things... —Preceding unsigned comment added by 80.83.239.4 (talk) 08:25, 29 March 2010 (UTC)[reply]

You can set Audacity ([2]) to provide various filters - although not in real time, if that's what you're looking for. --Phil Holmes (talk) 09:26, 29 March 2010 (UTC)[reply]
Real-time audio processing on a standard personal computer is non-trivial. Even fast computers invariably have long latencies because their audio driver subsystems are so complicated. ASIO and its ilk are designed to provide near-real-time latency, but in practice, the latencies are often upwards of a quarter-second (unsuitable for audio processing/effects). Nimur (talk) 21:58, 29 March 2010 (UTC)[reply]

i mean seriously there seems to be no app that would accomplish any of what i need cept that fucking foobar2000 plug in that is as buggy as hell.

USB networking

Is it possible to connect two PCs using a USB cable such that one PC appears like an external flash drive to the other? If so, what software (preferably free) would help achieve this? The kind of thing I have in mind is a function like my cell phone which offers a "USB drive mode" when I connect it to my PC. Astronaut (talk) 10:53, 29 March 2010 (UTC)[reply]

Not just with that. USB is a master-and-slave configuration (not a peer-peer configuration, like ethernet or RS232). The host controller chip in your PC isn't capable of being a client to another PC's host. You can buy a cable that has a little chip inside that makes this work, like this one. It's not just a function of wiring (so you couldn't just build a cable) - that chip has to rewrite the wire protocol so that each host thinks it's talking to a client and not another host. -- Finlay McWalterTalk 11:06, 29 March 2010 (UTC)[reply]
The cheapest solution for what you are seeking is to get a "crossover" Ethernet cable and plug it directly from one computer's Ethernet port to the other computer's Ethernet port, and turn on file sharing on the computer whose hard disk you want to share. This will surely be far more of a hassle than the excellent plug-and-play activity of using a USB drive, but it will work. Comet Tuttle (talk) 17:38, 29 March 2010 (UTC)[reply]
Presuming your PC is running Windows: see Direct cable connection and Windows Easy Transfer. ---— Gadget850 (Ed) talk 17:50, 29 March 2010 (UTC)[reply]
By the by, nowadays you can use a normal Ethernet cable and it will just work - there is no need to get a special crossover cable. It doesn't work if your computers can't do gigabit ethernet with automatic crossover, but just about any computer built in the last few years supports it out of the box. 85.156.60.7 (talk) 18:59, 30 March 2010 (UTC)[reply]

Battlefield Bad Company 2

Is it possible to download and play a demo for the above game? —Preceding unsigned comment added by 86.182.32.19 (talk) 14:43, 29 March 2010 (UTC)[reply]

Apparently. --Mr.98 (talk) 15:04, 29 March 2010 (UTC)[reply]
No, thats Battlefield 2, not Battlefield Bad Company 2
Sorry about that. The distinction initially confused me. --Mr.98 (talk) 22:16, 29 March 2010 (UTC)[reply]
The PS3 demo was available for download, but apparently the demo ended in February. Nimur (talk) 16:22, 29 March 2010 (UTC)[reply]


I've found with many games that there normally is a demo, but it is usually made unavailable once the main game comes out. Chevymontecarlo. 06:44, 30 March 2010 (UTC)[reply]

Does that mean once the game is out no one can play it, or only people that have already downloaded it can play it? —Preceding unsigned comment added by 86.180.54.122 (talk) 12:46, 31 March 2010 (UTC)[reply]

Often, if the main game is out the demo version is often removed and made unavailable for download, but if you already have the demo it might not work and may prompt you to buy the full version. This does not happen with all games though. Some demos in the Playstation Store for PSP are still available for download even though the main game has been out 7-8 months. Hope this helps. Chevymontecarlo. 10:41, 1 April 2010 (UTC)[reply]

Unicode graphic

In this question you are trusted not to meddle in my sandbox. On that understanding, click on this editing window and then without changing anything, click on Show preview. My question is why does the previewed line-and-circle graphic not look like what was entered? I used graphic characters alt-219 alt-220 and alt-223 which are little black blocks. Cuddlyable3 (talk) 16:22, 29 March 2010 (UTC)[reply]

I think that the "fixed width" glyphs for some of these unusual unicode characters are not actually of constant pixel-width. Unicode.org explains some display-problems related to monospace fonts. The recommended solution is to use a variable-width font for unusual glyphs so that you can at least read the characters. I would disrecommend using extended unicode character glyphs for complex ascii art - because many different rendering engines and text encodings will produce very unusual results. A key point to note is that you must specify both "monospace font" (as you have, with the PRE tag), but you also need to specify a character encoding (which you have not - my browser uses my over-ridden default, UTF-8, but most people use "auto-detect", or parse the specification from the HTTP GET response from the mediawiki server). You can't really know WHAT character encoding an end-user is going to display in; all you can do is "recommend" one; so it's best to avoid using such features for glyph-art. Nimur (talk) 16:28, 29 March 2010 (UTC)[reply]

It's because the line-height and font-size in the editing area don't match; this is even more noticeable if you're using the Beta skin & CSS. ¦ Reisio (talk) 00:01, 30 March 2010 (UTC)[reply]

Thank you for the responses so far. If you see what I see (IE v.8, Vista) something major happens at the right half of the circle (scroll down). Below the circle the diagonal line has recovered. Cuddlyable3 (talk) 18:17, 30 March 2010 (UTC)[reply]

Hrmmm? Screenshot? I think you're probably just describing what has already been commented on, but now you've made me somewhat doubtful. :p ¦ Reisio (talk) 11:50, 31 March 2010 (UTC)[reply]

I am describing the difference between what is in the editing window and in the preview. Reisio why do you hum about a screenshot when the question says what to look at? Please explain the difference if you can, or suggest how to obtain the intended graphic. Cuddlyable3 (talk) 19:45, 31 March 2010 (UTC)[reply]

I'm asking for a screenshot illustrating the discrepancy you're describing, because you didn't seem satisfied with the response I gave about what I saw when I looked at what your question said to look at. ¦ Reisio (talk) 20:08, 31 March 2010 (UTC)[reply]

linux poster software

I've been asked to make a scientific poster, size A0 and it needs to contain a mixture of graphics and text. I was wondering if anyone had any recommendations for software i could use?--82.26.227.101 (talk) 17:11, 29 March 2010 (UTC)[reply]

You can use LaTeX with the a0poster style, or beamer, or a combination of both. There are many useful links out on the InterWebs: [3], [4], [5], [6]. My private tip is to get a good tool for the pretty pictures - I use Keynote (software) on the Mac, because it generates excellent PDF that can be included into LaTeX. --Stephan Schulz (talk) 17:31, 29 March 2010 (UTC)[reply]
Sorry if this is less than helpful, but the Windows tool for the job would presumably be Adobe Illustrator. Comet Tuttle (talk) 17:36, 29 March 2010 (UTC)[reply]
It depends partly on what you're familiar with, and also on how much text (and how you'd want the text laid out). OpenOffice.org's Write program (and its adjunct Draw) can do a lot, as can Scribus (which is strictly a desktop publishing system, but which is pretty flexible too). Illustrator's counterpart Inkscape is very good at line graphics but its text support is pretty rudimentary. All of these should author PDFs (which is what I'd expect you'd be sending to the printing company) reasonably well. -- Finlay McWalterTalk 18:05, 29 March 2010 (UTC)[reply]
I agree. I would say Scribus is best if you want full control of layout, but OpenOffice.org Writer for something that is easy to use quickly but does not give you the complex layout options. -- Q Chris (talk) 18:20, 29 March 2010 (UTC)[reply]
If you have access to it, Microsoft Publisher is easy enough than my mother can make halfway-nice looking things with it (I just noted that the headline contained "linux", d'oh). Inkscape is powerful for graphics but has bad text/font support, and any software like that has a pretty steep learning curve if you aren't familiar with it (Illustrator and Indesign included—probably Scribus as well). --Mr.98 (talk) 22:24, 29 March 2010 (UTC)[reply]
You might also want to consider how you would print something as large as A0. Some software supports splitting your image up into smaller A4 or A3 sheets, but you might prefer a professional printer who would have their own requirements on acceptable file formats for their printing equipment (ie. you might find yourself restricted to only supplying the printer with Adobe Illustrator format). Astronaut (talk) 13:19, 30 March 2010 (UTC)[reply]
At least he is doing it under Linux. Windows XP and below uses a "master value" of 1440 (the maximum DPI) and it represents the width and length with a a 16 bit unsigned binary number, the max is 65535. 65535 / 1440 = 45.5", the max length and width, which is just smaller than A0. This might be fixed under Vista/Win 7, but I haven't looked at this in ages. ---— Gadget850 (Ed) talk 13:35, 30 March 2010 (UTC)[reply]
Yeah, you'll probably need to go to a print shop. But every one of those I have used (and there have been a few at this point), can take PDFs no problem. So that shouldn't be a huge limitation, as whatever you have should be outputable or convertable into PDF one way or another. --Mr.98 (talk) 13:59, 30 March 2010 (UTC)[reply]
It seems that the type of PDFs that print shops use are not just any old PDF though. See PDF/X for more details. -- Q Chris (talk) 12:57, 31 March 2010 (UTC)[reply]

CDG file to CD-R

Hi I recently downloaded some karaoke songs in CDG format. I was told that I would need to buy blank CDG discs but another website I found said CDG discs do not exist. Can I burn these CDG files to a blank CD-R disc? If I do so will the words still come up when used in karaoke? Thanks. —Preceding unsigned comment added by 86.146.24.84 (talk) 17:16, 29 March 2010 (UTC)[reply]

The relevant article is CD+G, and yes, you should be able to burn the format to a conventional recordable CD-R disc. You will need software that understands the CD+G format; our article has links that can point you in the right direction. Nimur (talk) 21:32, 29 March 2010 (UTC)[reply]

Couldn't access half the web sites I tried

While at a library with Firefox, I kept getting a message that the web site could not be found. I got the same error message that appears when the Internet is down entirely, though that wasn't the case. Some sites I got into were very slow, as if I was on dial-up, which I wasn't. For maybe half the web sites I tried, the problem cleared up eventually, but for others it never did. I haven't had the problem at home with Internet Explorer 8, though I also limit the sites I go to at home a great deal. Wikipedia was one of the sites that worked in both places.Vchimpanzee · talk · contributions · 20:05, 29 March 2010 (UTC)[reply]

That sounds more like a buggy proxy server than anything else; it is also possible that the library is intentionally censoring certain websites (or possibly reverse-censorship, via "whitelist-only" access to certain websites). Unfortunately, it's impossible to diagnose based on the information you've provided. Nimur (talk) 21:30, 29 March 2010 (UTC)[reply]

Maybe the librarys DNS resolution was bad. —Preceding unsigned comment added by 82.43.91.194 (talk) 22:25, 29 March 2010 (UTC)[reply]

The library was not censoring. The people who worked there were frustrated by it. I can only provide information that I know. What is DNS resolution?Vchimpanzee · talk · contributions · 13:32, 30 March 2010 (UTC)[reply]
DNS is the Domain Name System. It is the specific technology which translates a human-readable web address, like "wikipedia.org" into a computer-understandable network destination, the IP address like "208.80.152.2". (In this sense, it's like a phone-book that translates a name into a number). When there is an error in the DNS system, sometimes because of bad network configuration or a server failure somewhere, the result is sluggish performance. Because DNS systems often have "backup" schemes (as explained in the article), this type of failure can result in certain sites working while others fail; or a site that works only after three or four attempts to load it. Many other networking problems can produce similar symptoms, but DNS configuration is a common trouble-area in certain network configurations. Nimur (talk) 16:18, 30 March 2010 (UTC)[reply]
I don't know if this means anything, but there were tornadoes in the area the night before.Vchimpanzee · talk · contributions · 17:41, 30 March 2010 (UTC)[reply]
I'm back at that library and all seems normal now. I haven't asked if they know what happened.Vchimpanzee · talk · contributions · 22:22, 30 March 2010 (UTC)[reply]

Important Resource Removed from Circuit Board page

I am writing to inform you that an important resource was removed from the circuit board page (http://en.wikipedia.org/wiki/Circuit_boards). It has served as an important resource for the printed circuit board industry on Wikipedia for the past two and 1/2 years. I built that to serve as a resource and it has continued to be posted as resource on Wikipedia for over 2 years. Please review the historical records and you will see how far back that listing has been posted.

Suddenly, it was removed and I've tried several times to add it again but it doesn't appear to stay up. The only reason I can think of for it to be removed is that the web site was updated and the page was pointing to the old site. Or it was recommended by a searcher that I add (Printed Circuit Boards) after PCB to make it clearer as to what the glossary was describing.

I'm bummed because the listing has been up for so long and I've since done research on your content guidelines (since it's been so long since I've logged into my wikipedia account) and I guess this was not the right thing to do. I feel awful because it is such a great resource.

I hope you consider adding this listing back to the page as it was before. Here is where it was listed (and the old listing):

Please feel free to contact me via my account if you need to further discuss. I will make it a point to review the information before making any changes or updates.

PCB Universe (talk) 20:22, 29 March 2010 (UTC)PCB Universe[reply]


It seems that an edit war is taking place. User:HumphreyW is removing the link because it is a commercial site; this seems like an invalid reason to remove the link; WP:EL does not forbid commercial sites anyway. However, the appropriate place to address this issue is the article talk page. Nimur (talk) 21:25, 29 March 2010 (UTC)[reply]
The link looks OK to me, but I doubt the information is so unique that it is unavailable from elsewhere. One other problem might be your clear conflict of interest and we only have your word that it is "an important resource for the printed circuit board industry" - try not to make it sound like you are seeking visitors to your website. Anyway, as Nimur pointed out, the place to make your case is on the article talk page. Astronaut (talk) 13:11, 30 March 2010 (UTC)[reply]

bash help requested

I have a number of nested directories full of pdfs (e.g. pdf/dir1, pdf/dir2, pdf/dir1/dir2 etc.). They go down a couple levels deep (maybe as many as 3?). What I'd like to do is use bash and pdftk in order to generate a large report of all of the page counts for each pdf.

pdftk's report function uses the following syntax: pdftk mydoc.pdf dump_data output report.txt. It can only take one pdf file as the input and it produces one txt file as the output.

Ideally I'd like to be able to run a single line in bash that would run this on all pdfs in the directory structure, and then append all of the output in one large txt file. (Then I can run a script to extract all of the pagecount data specifically and add it up.) Is this possible? I am not very bash fluent though I know you can do for/each types of constructs with it. Preferably this would not create a million report.txt files either—it would just add them to an ever growing master file.

(The end goal is to know the total page count for all pdfs in the directory structure, so if there is an easier way that I am not thinking of, I'm all ears! There are hundreds of pdfs so any method that relies on me manually opening files one-by-one is not an option.) --Mr.98 (talk) 22:13, 29 March 2010 (UTC)[reply]

find -type f -name "*.pdf" -exec pdftk {} dump_data output - &> report.txt \;
-- Finlay McWalterTalk 22:23, 29 March 2010 (UTC)[reply]

exif

where can i get a freeware program to manage/edit exif data, etc? —Preceding unsigned comment added by 86.144.124.51 (talk) 22:21, 29 March 2010 (UTC)[reply]

Imagemagick's identify program will display the EXIF data. To help you with editing, you'll have to tell us which OS you're using, and whether you're willing do download any of the mystery-meat freeware programs Google finds when you search for "exif editor" - personally I'd have great concerns about doing so. -- Finlay McWalterTalk 22:26, 29 March 2010 (UTC)[reply]
I haven't used it, and don't vouch for it, but this looks promising. It apparently allow you to edit some, but not all, of the EXIF header info. -- Finlay McWalterTalk 22:37, 29 March 2010 (UTC)[reply]


March 30

PHP: Passing a variable between frames

  • main.php
    • frame1.php
    • frame2.php
 
 Please enter a number: 3 
 [SUBMIT]
 
 
 You entered ________. 
 
  -->  
 
 Please enter a number: _________ 
 [SUBMIT]
 
 
 You entered 3. 
 

If I want to pass a variable and its value from main.php to frame1.php, I can use GET method.

<frame src="frame1.php?variable=<?php echo $variable; ?>">

How do I pass a variable from frame1.php to frame2.php?

Let's say frame1.php contains a HTML form. How do I pass a value submitted by frame1.php to frame2.php? -- Toytoy (talk) 01:29, 30 March 2010 (UTC)[reply]

In this case, you'd store it in the session. -- Finlay McWalterTalk 10:16, 30 March 2010 (UTC)[reply]
Oops, maybe I misunderstood. If those frames are displayed concurrently then the server-side session won't help, and indeed this isn't a PHP problem. Are you instead talking about Javascript variables? -- Finlay McWalterTalk 11:34, 30 March 2010 (UTC)[reply]
You need to use Javascript for this. I think the easiest way for you would be to make frame1.php change the frame source of frame2 to add a GET method to it. You'd put like this into a SCRIPT declaration in the HEAD of the page:
function updateframe(var) {
parent.frame2.location = "frame2.php?variable="+var;
}
... and just make sure that updateframe() is called when you click submit. You'll also have to make sure that the Javascript is able to get the data from the right field and plop it into the function.
All this requires is that you make sure that your <FRAME> declaration for frame2.php has NAME="frame2" in it. I've used something along these lines for my own projects. Let us know if this is confusing or you need a little more javascript coaching. --Mr.98 (talk) 13:42, 30 March 2010 (UTC)[reply]

Error message every time the computer is turned on.

When I turn on the computer and I'm led to the main screen, an error message pops up, saying something like (The English part isn't probably exactly right because my computer isn't in English and I had to translate it):

MaAgent_(9E8B0CC0-AACD-4a03-812B-CB4C6D215209}: MAAgent.exe - Application program error
An order "0x00000000" referenced the memory of "0x00000000". The memory could not be read.
If you want to exit the program, click "Okay".
If you want to debug the program, click "Cancel".


How can I make this error message stop popping up every time I turn my computer on? —Preceding unsigned comment added by 70.68.120.162 (talk) 02:11, 30 March 2010 (UTC)[reply]

A number of websites report that it is a program installed by a Samsung MP3 player to protect the player from rogue MP3s and can safely be disabled or uninstalled. You should be able to disable it using MSConfig (Start... Run... MSConfig) or you may be able to uninstall the software from Control Panel. --Phil Holmes (talk) 10:03, 30 March 2010 (UTC)[reply]

Clearing logs

If my PC is running ok, should I clear the four Windows (Vista) logs? I've got over 50K events in the security log and 20K in the application. Clarityfiend (talk) 02:24, 30 March 2010 (UTC)[reply]

I would, if you can, clear the oldest ones, whilst keeping the newer ones. It might be running fine now but you never know... Chevymontecarlo. 06:39, 30 March 2010 (UTC)[reply]

I have found it useful to be able to go back through the logs to find when something broke. For example, using the filtering I was able to send an extract from my event logs to show Microsoft support exactly which update broke something some months earlier. Unless you are really short of disk space, I can see a reasonable case for only deleting logs older than some limit (6 months?) or use the event logging "properties" page to limit the size of the log file. Astronaut (talk) 13:03, 30 March 2010 (UTC)[reply]

Back-up options

I've got an iTunes library that I need to back up. I know I have about 3 options - discs, hard drives, or internet storage. Which do you think would be the most effective if I was to create a back up and then leave it for ages without using it. I have heard the CDs can become corrupted eventually, but I'm not so sure. What are your experiences with these and which did you think is the best for my situation? Chevymontecarlo. 06:42, 30 March 2010 (UTC)[reply]

Do all three, for extra security. —Preceding unsigned comment added by 82.43.92.25 (talk) 13:03, 30 March 2010 (UTC)[reply]
I was just about to write "use DVD recordable discs", but our DVD article, in the section DVD as a backup medium, says that DVD-R and DVD+R discs only last 2 to 15 years. This was shocking to me, actually. Our backup article's Storage media section doesn't offer a lot of hope as far as long-term storage goes. (This link is about a very long term backup solution that nobody reading this will ever utilize.) Comet Tuttle (talk) 16:31, 30 March 2010 (UTC)[reply]
I believe that the standard advice is to assume that whatever backup system you choose may fail. But if you regularly verify that it's possible to restore from it, you'll notice when failure happens. That way, two failures (original and backup) would have to occur in the same short span of time for you to lose data; you're much, much safer that way. This is assuming you take action when the backup system goes kaput. Paul (Stansifer) 18:06, 30 March 2010 (UTC)[reply]
I'd say that DVDs are cheaper than hard drives are cheaper than Internet, and Internet is more safe than hard drives are more safe than DVDs (because of the DVD decay issue mentioned above). That's your tradeoff. I'd go for an external hard drive (probably USB) and store it offsite (your office, a relative's house, whatever). Then you should probably check occasionally that it hasn't failed. (no references, sorry) Jørgen (talk) 08:31, 31 March 2010 (UTC)[reply]
this is going to sound like a joke, but for real permanent security, you probably want to record it onto high quality analog vinyl disks..... Gzuckier (talk) 07:28, 1 April 2010 (UTC)[reply]
this might violate a non-commercial policy, but since I have no COI, ill recommend idrive (idrive.com). Its online backup, and I've used their FREE 2gb service to backup a mix of text files, programs and pictures. You can backup anything, access it online and download it whenever (larger packages are pay, but reasonable). I'd also second the tip on an external harddrive but wait for that since storage prices keep plummeting. Finally, to bring this convo into the 21st century, consider whether you need a backup at all. You must be a big music fan to go through all of this, but between rhapsody, itunes, pandora, etc. Most music you could ever want is pretty easy to get to and often free or by monthly subscription. I don't have a set of great live concerts, though, and I bet you do... 206.53.153.70 (talk) 20:34, 3 April 2010 (UTC)[reply]

Electronic office

I do a lot of business paperwork and administration that involves retrieving business letters and other documents from my filing system. Filing the paper away and retrieving it is time consuming. Are there any computer systems available that can do this with electronic copies of the documents? You would scan each paper document as you recieved them from the post/mail, and file and retrieve things electronically rather than physically. Thanks. 84.13.180.45 (talk) 14:51, 30 March 2010 (UTC)[reply]

Yes, this is rather common these days. See paperless office. It would take some careful analysis to figure out what the best system for your own office would be. Usually consultants are called in for this kind of thing—you're paying them to know the relevant technologies that would be useful in your specific case. But setting up a simple system that would let you scan paper documents and save them as PDFs to a networked drive (to a folder based on the date, for example), would be really quite trivial with off-the-shelf software. --Mr.98 (talk) 15:26, 30 March 2010 (UTC)[reply]
One of the best things you can do is to standardize your file name conventions (I like to use a format similar to <author's user-id>-<project-name>-<date>.<file-extension>; so, for example, "nimur-kitchen-remodeling-2010-03-25.doc" which unambiguously identifies every single file in my system. Then, careful use of folders and subfolders helps organize all the files neatly - I know "who, what, when," for every file without needing to open it. This is exactly what you requested: a computer file system is designed exactly for "filing" documents. These steps require no special software - just diligence and organization on your part. If you want additional features for retrieving documents, you can find a bunch of database software, email/address-book systems, and so forth. Many of these are free; we can help you locate some if you have more specific feature requests. Nimur (talk) 16:24, 30 March 2010 (UTC)[reply]
I concur with Nimur. To do what you say, you would scan each document and save it in a good folder hierarchy and with a good naming scheme, so it is findable. No need for consultants. If you wanted to attempt to get fancy, you could also OCR the documents and store the OCR'ed copy in the same folder as the image file. The only reason to do so IMO would be to aid searching (i.e. when you use Windows Desktop Search to say "show me all the .doc files with the words lawsuit impugn electromagnetic supernova tempera carbonized", because those are the terms you remember for sure are in the document. OCRring will make mistakes and miss some words but it is possibly useful.) Comet Tuttle (talk) 17:03, 30 March 2010 (UTC)[reply]
Dumping the files into a file system, no matter how well organized, is probably the simplest solution, but it is not the most scalable. It also leaves a lot of room for human error.
Depending on the volume of documents to be archived, and the number and technical ability of the people doing the archiving and retrieving, the naive approach may become very unwieldy. A more complex Document management system may be called for, ideally something that encompasses the entire pipeline.APL (talk) 17:43, 30 March 2010 (UTC)[reply]
Our document management system is very vague, because as noted above, the idea is very vaguely defined. Once some specs are laid out, like a desire to query certain types of metadata, we can narrow down on a particular software solution. Nimur (talk) 18:49, 30 March 2010 (UTC)[reply]
I brought up consultants because if your business is of any size, knowing what type of scanner/software/server/etc. to buy (out of the world of options and vast differences in price) can be a little complicated if you don't know what you are doing. As APL points out, the difference between simple and scalable is quite large! I have a feeling I would be able to set up a more complicated system for a larger office, but then again, I'm more on the "consultant" end of the spectrum than "asking people on the internet how to set it up" end. --Mr.98 (talk) 11:57, 31 March 2010 (UTC)[reply]

Usually each document has more than one attribute that it could be filed under. It probably would have several. The problem then becomes the amount of time required to attach several key words to it. Is there any scanner that works like a reverse printer, where you put today's incoming mail into a tray and it automatically scans each page, preferably doing automatic OCR as well?

A simple problem I have is my wish that I could save or download Hotmail emails to HD - never found out how to do this yet.

Each item would I suppose be some text or keywords attached to a picture of the document. Similarly for emails.

I like the idea of E-Snailer mentioned in the L-mail article - it would be useful and quick. 78.146.180.118 (talk) 19:42, 30 March 2010 (UTC)[reply]

There are scanners with document feeders, yes. Depending on the size of your organization and the cost you can afford, how good it will be can vary. Many modern photocopiers can work this way, for example. There are lots of ways you could set up filing systems. One can imagine rather simple solutions that allow files to be entered into a database for later retrieval. --Mr.98 (talk) 16:33, 31 March 2010 (UTC)[reply]

Electronic Document and Records Management System is somewhat relevant. Also Records management. 84.13.45.122 (talk) 20:07, 3 April 2010 (UTC)[reply]

How to burn a duplicate of a DVD with only one disk drive in Win 7?

In Windows 7, is it possible to burn a copy of a DVD with only one DVD drive? I know I can download a third-party utility or copy the contents of the DVD to my HD, but what I'm curious about is if this is possible using just the software that comes with Windows 7? 67.39.175.2 (talk) 16:17, 30 March 2010 (UTC)[reply]

You need a program that can turn the DVD into an ISO image and then a program that will burn the ISO image to a blank DVD. I know that Vista had the ability to burn ISOs, so Windows 7 should also. I don't know if Windows 7 has the capability to create an ISO. -- kainaw 16:33, 30 March 2010 (UTC)[reply]
(ec) If you have a .iso or .img file (a raw copy of the DVD data), then Windows 7 can burn it. This used to require an external tool, but is now built into Windows. Here's an article from Microsoft TechNet on how to Burn a Disc Image from an ISO or IMG file in Windows 7. However, it appears that generating the .iso file still does require an external tool; this is usually called ripping; it is commonly brought up in the context of copyright infringement and piracy, and Microsoft seems to be erring on the side of caution (or pandering to the Digital Rights Management lobby) by choosing not to include this feature in their operating system, even though it has many legitimate and legal uses. You can find a list of tools that can produce .iso files from a DVD on our articles Comparison of ISO image software and DVD ripper. I recommend InfraRecorder, because it is easy to use, free, lightweight, released under GPL, and recommended by Canonical. Nimur (talk) 16:34, 30 March 2010 (UTC)[reply]
In addition to the above, it's worth mentioning that simply imaging a video DVD (whether that necessitates removing its CSS protection or not) is often not enough to allow you to burn a fresh one; there will generally be capacity issues. Almost all commercial video DVDs are dual layer DVD-9, which means the disk can contain up to 7.95 GiB, and in practice you'll generally find the main movie is between 5 and 7 GiB, with maybe another GiB of trailers, featurettes, and other miscellany. Almost all blank DVDs you find are single layer, which means they'll only store 4.37 GiB of data, not enough even for the main movie. So movie copying software will often perform two further tasks - it'll strip out the DVD's structure and all those ancillary things (and often other things you don't need, like alternate angles, multiple audio tracks, and subtitles). Secondly it'll recode the MPEG video stream to a lower quality, making it small enough to fit onto a single layer recordable DVD. This is why a simple image-then-write process often won't work. Now you can get dual layer DVD-R and DVD+R disks (which would allow a direct copy), but they're surprisingly rare and inexplicably expensive. -- Finlay McWalterTalk 17:28, 30 March 2010 (UTC)[reply]
I should have mentioned that this was a data DVD but anyway my question was still answered. I'll check out InfraRecorder and see what CNET recommends. Thanks. 67.39.175.2 (talk) 18:23, 30 March 2010 (UTC)[reply]

Do I want a bridge or something else.

I have an existing Dual Band N WiFi setup at my house. In my TV room, I have several wired ethernet devices. What I want is to connect all the wired devices to a 802.11n bridge with one device, they all become wireless (so to speak). But the only Bridges I've found have only a single ethernet port. I guess they want me to buy a bridge for each device? Or hook up a separate router? No thanks! That's a lot of power bricks... and money! So I want a WiFi N bridge and a 3-4 port router all in one. Does such a creature exist? --70.167.58.6 (talk) 23:50, 30 March 2010 (UTC)[reply]

My [simultaneous dual frequencies] Apple Airport Extreme matches this description when operates in "extend existing Wifi network" mode. I bet the same is ture for many G and N routers around. --Chan Tai Man 00:48, 31 March 2010 (UTC) —Preceding unsigned comment added by Chantaiman (talkcontribs)
To be specific, you would not "hook up a separate router" but instead "hook up a separate switch" — a 4-port wired switch is about US$20 at the low end. Comet Tuttle (talk) 16:24, 31 March 2010 (UTC)[reply]


March 31

help identifying

what kind of transducer is this?? http://img638.imageshack.us/img638/6551/transx.jpg —Preceding unsigned comment added by 80.83.239.13 (talk) 11:58, 31 March 2010 (UTC)[reply]

Looks like an average 12-inch subwoofer to me. The ridge style looks like JBL. You need a photo of the other side of the subwoofer if you want worthwhile information. -- kainaw 12:59, 31 March 2010 (UTC)[reply]

it's got nothing on the back just the voice coil clear of any make marks or anything else i just wonder the size, type (pro-or home audio) and what the cone is made of —Preceding unsigned comment added by 80.83.238.1 (talk) 14:08, 1 April 2010 (UTC)[reply]

Exact time

Is the time.is website based in Iceland, and if not, how does it use the .is domain? --Магьосник (talk) 13:28, 31 March 2010 (UTC)[reply]

Iceland does not appear to require .is-registered domains to have a presence in Iceland. -- Coneslayer (talk) 13:39, 31 March 2010 (UTC)[reply]
Indeed, many countries sell ccTLD to anyone who pays. —Preceding unsigned comment added by 82.44.54.207 (talk) 13:49, 31 March 2010 (UTC)[reply]
The domain Time.is is registered to an address in Oslo Norway. [7]
The IP address it resolves to geolocates in Oslo as well. [8]
So I think it's safe to say that the website in question is not based in iceland. It is based in Norway. APL (talk) 18:28, 31 March 2010 (UTC)[reply]
Note that even when a country requires local presence or similar for domain name registrations, it doesn't mean they require the server be hosted locally. Malaysia .my for example restricts domains to companies with a local presence and those with a MyKad (citizens and permanent residents) depending on the domain type. However they don't require the company host their website locally, and some do not. I personally have one such domain (as a Malaysian citizen) and not even my name servers are hosted in Malaysia (because I'm using free ones). China despite their often restrictive policies when it comes to domestic internet services clearly does not require it either hence why google can redirect google.cn to google.com.hk (of course they can still block domestic users from accessing non locally hosted servers). There are probably some countries which require servers be hosted locally but I expect it's very few. For a variety of reasons it's not generally a good idea. Restricting domains to local companies or citizens makes far more sense Nil Einne (talk) 07:22, 2 April 2010 (UTC)[reply]

oracle

I m studying in pune's sinhagad college in third year of IT(engineering)...i m thinking of doing Oracle Developer course...How much of salary i will get after having BE degree and Oracle Developer certificate..will this certificate help me to get a higher package job???is oracle developer certificate really is in demand??please help.. —Preceding unsigned comment added by Pratzkool (talkcontribs) 14:58, 31 March 2010 (UTC)[reply]

If you get your OCP your salary will certainly be on the higher end of the IT scale. I don't know about where you live but here in South Africa, Oracle skills are certainly in demand in corporates that are willing to pay big money for the stability and security that oracle brings. Bigger salaries are part of this budget. Ohter higher-paying IT jobs (at the risk of generalizing) are web/online related (java/flex/etc.), CISCO certified engineers, SAP/ERM. Any expensive technology used in mission critical systems of large corporates will have higher salaries attached. Sandman30s (talk) 09:12, 2 April 2010 (UTC)[reply]

iPhone, AT&T and Verizon

According to this article,[9] there will be a huge exodus from AT&T to Verizon if/when Verizon gets the iPhone (due to AT&T's lousy service). My question is this: If this happens and there are fewer users using AT&T, does that mean that AT&T's cell phone service will automatically get better simply because there are fewer people using it? 67.39.175.2 (talk) 15:44, 31 March 2010 (UTC)[reply]

It will only get better if the cause of the problems is hitting user capacity. That is only one small factor in measuring service. The other factors, such as coverage and speed, will not be improved by reducing the number of users. -- kainaw 16:03, 31 March 2010 (UTC)[reply]
And could get worse, if it means cutting costs, not developing infrastructure, etc. --Mr.98 (talk) 16:10, 31 March 2010 (UTC)[reply]

JScript

If I learn to use JScript on Windows, are there other similar languages that run on Ubuntu?

I've looked at the JavaScript article, but it does not mention Linux on the page anywhere, in fact it gives no information about what platforms it runs on. I'm guessing it could be cross-platform. If that is the case, could I run Jscript code with JavaScript, or would it need slight modification, or a lot of modification?

Are there any other languages that learning JScript would be in introduction for? I have previously only used BASIC, mostly GWBasic. Thanks 78.147.25.63 (talk) 17:07, 31 March 2010 (UTC)[reply]

JScript and JavaScript are, for practical purposes, the same. This assumes you are using the version of JavaScript that is currently deployed on the vast majority of web browsers in popular use at the time of this writing.
Javascript is probably best learned on its own terms since it is an easily misunderstood language because of its perceived similarity to Java, C and other languages that people usually have as their primary background when they come to JavaScript.
I would recommend searching the internet for any video or writing done by Douglas Crockford if you want a good background on javascript.

128.223.38.131 (talk) 17:41, 31 March 2010 (UTC)[reply]

No, they are not the same. JScript is much more powerful than JavaScript. JavaScript is designed to run inside browsers, whereas JScript can run inside a browser, inside the Windows Script Host, or inside a web server like IIS. Running inside a web server, JScript can be used for server-side programming (sending e-mails, uploading files, etc.)--Chmod 777 (talk) 18:39, 31 March 2010 (UTC)[reply]

So does JavaScript run on Ubuntu and Windows or not, or is it a secret please? 78.147.25.63 (talk) 18:14, 31 March 2010 (UTC)[reply]

Yes JavaScript runs both places, but you need something to run it in. You cannot just create a file on Ubuntu from the command line and type in some javascript code and run it. You need to run it in a browser or on a server or in some application that supports javascript or one of its language variants. (see e.g., http://en.wikipedia.org/wiki/Javascript#Uses_outside_web_pages) —Preceding unsigned comment added by 128.223.38.131 (talk) 18:20, 31 March 2010 (UTC)[reply]
See JScript .NET. You can compile JScript into .exe programs and then run them inside Ubuntu using Mono. You write your JS files and compile them using the jsc command: [10]. JScript is much more powerful than JavaScript, because JScript has full access to your computer. JavaScript cannot do things such as copy files, modify the registry, etc. JavaScript is designed just to run inside a browser. JScript is designed to do that and administer computers.--Chmod 777 (talk) 18:36, 31 March 2010 (UTC)[reply]
Some advice: if you already know you need cross-platform capability before you even start learning a new language, don't start out with a Microsoft technology and hope to use compatibility layers on your other targets. Save yourself a lot of pain and just start out with one of the many, many, many, many, many, many, many languages that are actually cross-platform in the first place. --Sean 19:07, 31 March 2010 (UTC)[reply]
What's the difference (germane to the OP's question) between using compatibility layers and installing a language that uses a runtime? I mean, how is installing Mono on Ubuntu to run JScript a significantly worse plan than installing Python on Windows to run Python? 213.122.19.48 (talk) 05:26, 1 April 2010 (UTC)[reply]
The bigger the user base, the fewer rough edges and the better the community support. The Python-on-Windows base is going to be enormously bigger than the JScript-on-Linux base. Also, if you file a bug report on Python that only occurs on Windows, the Python people are likely to fix it; if you file a bug report on JScript that only occurs on Linux, the JScript people are likely to ignore it. --Sean 14:21, 1 April 2010 (UTC)[reply]
One big advantage JScript.NET has over languages like Perl, Python, and Ruby is speed. .NET languages are compiled into byte code, whereas a language like Python is interpreted as plain text.
Another advantage is readability. JScript clearly deliminates blocks of code with braces, whereas Python does not. JScript is even easier to read than Java, because functions are declared with the word function and variables with the word var. Its syntax is very similar to ActionScript, which is another great language.--Chmod 777 (talk) 21:22, 1 April 2010 (UTC)[reply]
Python clearly delineates blocks of code with tab indentation! This is just a matter of taste, or how you define clarity; you might say that impressionists produce clearer pictures than the Dutch masters because the impressionists achieve more saturated hues via optical mixing. Python puts less crap all over the screen than Actionscript. It depends what you want. 213.122.49.139 (talk) 22:59, 1 April 2010 (UTC)[reply]

How can i create a portable "mini network" with my portable USB as a shared drive?

Sometimes when I travel I have my laptop and simultaneous access to a desktop computer provided by a contractor or client.

In these cases, I would like to be able to access my portable usb hard drive from both the laptop and the desktop simultaneously.

Is there a way I can create a little mini "portable network" that will allow my usb drive to be accessible this way?

Is there a bluetooth solution or infared or whatever that is compact, easy to configure and does not require me to actually connect the usb drive to the local network of the business or office I happen to be in at the time?

128.223.38.131 (talk) 17:38, 31 March 2010 (UTC)[reply]

USB hard disks are not designed to do this, no. There are gadgets like this one that apparently make your USB hard disk into a Network Attached Storage device (note: I've never used this gadget or any gadget like it). Alternatively you could buy a NAS drive like this which is designed for what you're talking about. You get to mess around with network configurations a bit, but that's the price for 2 computers being able to share 1 drive. Comet Tuttle (talk) 18:32, 31 March 2010 (UTC)[reply]
Alternatively, if your laptop can access the local network, you can attach the USB drive to your laptop and share the drive over the network with whatever OS support is provided. —ShadowRanger (talk|stalk) 19:10, 31 March 2010 (UTC)[reply]

PDF PECL shaded pie

I'm using the PECL libraries to create PDF documents programatically. I want to have a half-pie that sweeps from degree 0 (right) to degree 180 (left). I want the color at 0 degrees to be green, the color at 90 degrees to be yellow, and the color at 180 degrees to be red. I want the colors to seamlessly fade from one to the other. I can do it easily by drawing a green line at 0 degrees, add a little yellow, draw a 1 degree line, add more yellow, draw a 2 degree line, etc... Is there a way to do this with one PDF object, such as a shaded half-circle? -- kainaw 19:31, 31 March 2010 (UTC)[reply]

From what I understand, that is the correct way to do what you are trying to do. I personally do not know of a way to create a shaded half circle in any other manner using the PECL libraries except for the manner in which you described. —Preceding unsigned comment added by 138.162.0.45 (talk) 20:01, 31 March 2010 (UTC)[reply]
This example says:
/* Set the second color for the gradient to orange;
 * define a radial gradient with a size similar to the size
 * of the circle to be filled
 */
$sh = $p->shading("radial", 400, 600, 400, 600, 1.0, 0.5, 0.1, 0.0, "r0 0 r1 60");
, which sounds relevant. --Sean 20:34, 31 March 2010 (UTC)[reply]
Thanks. I will experiment with that. -- kainaw 21:00, 31 March 2010 (UTC)[reply]


I'm looking for a speakeasy kinda wiki

I've asked pretty much the same question here but the last time the page was editted was 60 days ago; hence I'm posting a copy here.

As much as I like, and contribute to, Wikipedia, I need a place where I can unwind. What wikis are there, their lists, or categories where the people are cool (unlike some folks in say Conservapedia, but also tolerant. Where I can do OR and POV's, upload regardless of some stoopid copyright guidelines, post articles regardless of notability, and upload pornographic images images of sexually liberated women (even stuff that might be hardcore--but not too much like the ones at the video shops). I doubt Anarchopedia and Wikinfo would allow such, as worthy as they are. Would I be incorrect to assume that it would likely have, say, less than 2 000 pages and 10 edits a day? Any help would be appreciated. Thanks.205.189.194.208 (talk) 23:25, 31 March 2010 (UTC)[reply]

Uncyclopedia and Encyclopedia Dramatica are basically carefree, parody versions of Wikipedia. I'd suggest going there. The only kicker is that you can't edit anonymously, you have to register an account. 24.189.90.68 (talk) 01:21, 1 April 2010 (UTC)[reply]

Yeah, Wikipedia may have a ton of rules, but at least you can stay anonymous. I suppose without the rules Wikipedia's info would be terrible and full of untrue things. Chevymontecarlo. 10:49, 1 April 2010 (UTC)[reply]

Wikipedia is an encyclopedia. It is not intended to be a recreational social club or internet forum. So, the rules here are more stringent than other places. A few wikis have been pointed out, and Wikia can direct you to thousands of other topic-specific wikis. But, it sounds like you are more interested in the social conventions, rather than the editing method. Maybe your best bet is to find an internet forum rather than a wiki? Nimur (talk) 14:26, 1 April 2010 (UTC)[reply]
(Same guy, different IP). Again, no problem with WP. If it weren't for the rules, not only would it be a mess, but I doubt all the great articles would have been written. I've thought of forums, and maybe I might join (or get back) to a few; however, I like the wiki format. The problem with Uncyclopedia--aside that they are rarely funny--is that they are even more stuck up than what some critics of Wikipedia accuse Wikipedia of being. Encyclopedia Dramatica is more sexist, vulgar, and hateful--and not really having the humor to justify it. Besides I like to put in more serious content as well as the funny stuff. I'm also on Rational Wiki. Consider Andrew Schlafly. In Wikipedia he's a re-direct to Conservapedia (here's the Talk:Andrew Schlafly page). RationalWiki has far more here as well as the satirical stuff here. At least superficially their article on, for example Obama seems better than Encyclopedia Dramatica (I provided the link, but it seems to be on some sort of WP blacklist). The problem is, what if I wanted to have articles on subjects other than religion and politcs. RW is hardly the place. Consider Nina Hartley: nice article. In RW, they at least have porn but, again, it's more on religion and politics. Moby has a good article here, and a half-decent one in Uncyclopedia but nothing comes up in the RW searches.

Also, again, they are worried about copyright: as again, I figure that a wiki even smaller than they would be less concerned--or maybe I should start my own. Hmmmm.

I will be going through the several 1 000's of pages at WikiIndex but that's a while off.70.54.181.70 (talk) 20:02, 1 April 2010 (UTC)[reply]

April 1

Seeing entire Facebook wall at once

Is there some sort of code I can enter into a web browser that will allow me to see a person's entire facebook wall at once instead of having to tediously click "Older posts" each time to reveal a small portion of the wall? Acceptable (talk) 03:43, 1 April 2010 (UTC)[reply]

I think Facebook uses Javascript on some of its pages. I know that's a bit vague but that's one step closer. Googling may help... Chevymontecarlo. 10:47, 1 April 2010 (UTC)[reply]
If you use the lite.facebook.com interface, then this is done using normal links. This doesn't really help much, other than that it probably makes it a little easier to write something like a Greasemonkey script to pull the information in automatically. 94.168.184.16 (talk) 12:57, 1 April 2010 (UTC)[reply]

Large Text File Viewer

I am running Windows XP Media Center Edition version 2002 with service pack 2 (32-bit of course) and I am looking for a nice piece of software that would let me view very very large text files. I don't have a fixed size. The size ranges from MBs to GBs. The files are generated as part of an experiment I am running and I don't even need to edit them in anyway. I just want to be able to open them and view the simple text files without my computer crashing. I have notepad++ but I would like to know if there is something better out there. Preferably something that is free and small in size. Thanks! -Looking for Wisdom and Insight! (talk) 04:40, 1 April 2010 (UTC)[reply]

Comparison of text editors will let you find the free ones. I tend to use SciTE, though I can't say if it can cope with GB files. Oh, I see that in the "extra features" section of that article there is a heading for "large file support". Handy. Maybe ConTEXT? 213.122.19.48 (talk) 05:04, 1 April 2010 (UTC)[reply]

The note for ConTEXT doesn't look so encouraging. I can tell you from experience that Vim plows straight through large files. ¦ Reisio (talk) 09:46, 1 April 2010 (UTC)[reply]

Oh yeah, "a 1GB file gave an Out of Memory error." Missed that. 81.131.12.204 (talk) 10:43, 1 April 2010 (UTC)[reply]
In that case, the problem is trying to load the entire file into memory at once. A smarter program would only load what would fit in the available memory. Note, however, that some operations, like find and replace, would be very slow with such a system, since different chunks of the file would need to be read, changed, and written to temporary paging space. StuRat (talk) 11:47, 1 April 2010 (UTC)[reply]
UltraEdit will handle this - there's a fully-featured 'try before you buy' version. 94.168.184.16 (talk) 12:59, 1 April 2010 (UTC)[reply]
Metapad says it can cope with an unlimited size of file. I've often used it. 78.149.194.146 (talk) 14:17, 3 April 2010 (UTC)[reply]

Has Firefox split into two versions?

My 3.0.x version still regularly updates itself (at the same time as whinging at me for not getting 3.6.x). It just became 3.0.19. Why are there still updates for 3.0.x? 213.122.19.48 (talk) 04:56, 1 April 2010 (UTC)[reply]

3.0.19 is a security patch.
Presumably they don't want to force you to upgrade to a different version, so (at least for a while) they continue making security patches for the older versions.
It's not that uncommon. APL (talk) 05:05, 1 April 2010 (UTC)[reply]
Similar to how Windows XP and Vista are still supported by Microsoft even though Windows 7 is the new OS —Preceding unsigned comment added by 82.44.54.207 (talk) 10:42, 1 April 2010 (UTC)[reply]
Mozilla will generally give some clue of the support lifecycle for their products (as with many vendors, including Microsoft for example). Although there's no centralised place [11], our article Mozilla Firefox does list the dates. For example Firefox 2 ended in December 2008 (as had been planned) with 2.0.0.20 (had been planned to be 2.0.0.19 but they neglected to fix a critical flaw [12] [13] [14]). Firefox 3 support ended with 3.0.0.19 so while you're okay now, it's strongly recommended you update in the near future. Incidentally Firefox 3.5 support will end in August 2010 [15] so I'd recommend you move to Firefox 3.6. Nil Einne (talk) 07:10, 2 April 2010 (UTC)[reply]

Virus-free, except not!

On my USB drive I currently have a naughty little application contained in a single .exe file that passes virus scans by both Norton and Avira, yet upon launching it (it's a legit app that has been spiked) two trojans pop up in my temporary files directory and are promptly zapped by both Norton and Avira (I've tested this on two machines). My question to you good sirs is: what sort of devilish programming can produce an app that passes virus scans and then immediately creates trojans upon execution? I find this fascinating. 59.46.38.107 (talk) 05:24, 1 April 2010 (UTC)[reply]

It's simply impossible for an AV to catch everything, they can only check for known identifiers. ¦ Reisio (talk) 09:49, 1 April 2010 (UTC)[reply]

The security company that makes the antivirus has to be aware of that malware, virus or trojan before it can create something to combat it. It's kind of like a cat-and-mouse game between hackers and security companies - the hackers come up with a new virus, the security companies come up with a update that combats that. Then the hackers create something that bypasses that update, and so on. Chevymontecarlo. 10:37, 1 April 2010 (UTC)[reply]

I would say don't always rely on your AV to keep you safe. Even if it's kept updated and you scan your computer regularly, you need to have a bit of common sense as well to avoid any problems (i.e. avoid downloading stuff from dodgy websites or sites you don't know or trust). It may take a couple of months before a security company makes an update to its software to combat a new malware program. Chevymontecarlo. 10:45, 1 April 2010 (UTC)[reply]

As has been pointed out, most virus detection works by checking for "exact match" with known malware. Some advanced programs can check "fingerprints" which are more flexible than an exact-match. Such fingerprints typically include individual code-fragment matches, especially if the bad part is cleanly separated, i.e. in a linked library or even just conveniently separated elsewhere in the program code block. But if the "clever" malware program just munges up his code - sometimes, even changing a single character in the source-code - these exact-match fingerprints break down completely. Ideally, we could detect viruses without requiring any "exact match" - allowing protection mechanisms to adapt to new implementations of malware. I knew a guy who was doing research into malware detection by analyzing a program's intent and capabilities - i.e., noticing that a piece of code would be used to scan the entire hard-disk when a program's declared intent doesn't require this. That would indicate suspicious behavior. Here's one report, Using specification-based intrusion detection for automated response, (2004). Nimur (talk) 14:20, 1 April 2010 (UTC)[reply]
... and the "devilish programming" will just be some self-modifying code that creates the code for the trojans as it runs. There is no way that the anti-virus software can detect the code for the trojan because it doesn't exist until the spiked software is run, but if you report the spiking to Norton and Avira they might include the signature of the code that creates the trojan in their next update. Dbfirs 17:29, 3 April 2010 (UTC)[reply]

How login super user

Hi. I want to know how is the super user in microsoft windows.And how to login.

The superuser in Windows is usually known as Administrator. F (talk) 09:38, 1 April 2010 (UTC)[reply]

Yes, if you're the only person that uses your computer, and you only have one account, that is the Administrator account. As to 'how to login', you would just click on your user icon when you first boot up, and then enter a password if one has been set. Chevymontecarlo. 10:35, 1 April 2010 (UTC)[reply]

It's not necessarily that simple. Depending on the version of windows (eg XP or Vista, Pro or Home Basic), you might not see the Administrator on the login screen. You might have to press Ctrl-Alt-Del twice to get the login dialog, at which you type the username Administrator. Or you might have to (eg Vista Home Basic) login as a user with admin privileges, run a command prompt as Administrator, then use NET USER to enable the Administrator account. Mitch Ames (talk) 01:44, 2 April 2010 (UTC)[reply]

Distributed computing projects

I'm thinking of donating some of my spare CPU time to a distributed computing project. Has anyone ever joined one of these projects or are they still part of it, if so what did you think of it? What projects can I join? What are your experiences with certain projects? Thanks. Chevymontecarlo. 10:33, 1 April 2010 (UTC)[reply]

A friend runs the SETI software on his computer when it would otherwise be dormant. This software tries to find signs of alien life by analyzing signals from space. StuRat (talk) 11:16, 1 April 2010 (UTC)[reply]
It's worth mentioning that, when being driven hard, your computer draws more power - so running these programs (the BOINC client supports a number of different projects, with a list on their website - linked from the article) isn't totally free. Whether the cost is significant or not depends on how/when you're running it and how you feel about your electricity bill. :-) 94.168.184.16 (talk) 12:51, 1 April 2010 (UTC)[reply]

BOINC, that was it! I remember now. I was listening to a Howstuffworks Techstuff podcast about that a while ago, and I couldn't remember the name of it. Thanks Chevymontecarlo. 13:31, 1 April 2010 (UTC)[reply]

I use World Community Grid, which serves a variety of scientific projects (it uses BOINC). I found it too much of a resource hog on my Mac laptop with 1GB of RAM, but it runs great on my 4GB Linux desktop. (Also it makes me feel better about springing for four cores, because it's about the only thing that ever makes use of them.) I've noticed it interfering with Flash games occasionally, but it's not hard to temporarily disable. Other than that, it has no effect on my day-to-day operations. Paul (Stansifer) 13:39, 1 April 2010 (UTC)[reply]
There's also Folding@Home, which studies protein folding to try and find cures for protein related ailments (e.g. Alzheimer's, prion diseases, etc.). It also has a GPU client that can use your GPU for additional power. —ShadowRanger (talk|stalk) 14:15, 1 April 2010 (UTC)[reply]
I participated in distributed.net years ago. It's apparently still running and is expected to take 660 years for a brute-force decryption of a 72-bit RSA key. Comet Tuttle (talk) 14:39, 1 April 2010 (UTC)[reply]

Cool, thanks guys. I will copy this onto my talk page so I can research further without it getting archived. Chevymontecarlo. 19:12, 1 April 2010 (UTC)[reply]

php

Resolved

In php, when there's a url like "test.php?mode=123" where or how is "?mode=123" defined in the php file? —Preceding unsigned comment added by 82.44.54.207 (talk) 10:40, 1 April 2010 (UTC)[reply]

It gets passed as an HTTP GET variable. So the PHP programmer accesses it like this: $mode_variable = $_GET["mode"];, which would fill the variable with the data "123" if the URL was as you had specified. (There are other ways to do it, too. Full info here.) --Mr.98 (talk) 11:12, 1 April 2010 (UTC)[reply]
Thank you, but I don't fully understand. Say the url was "test.php?mode=1" the word "cat" would be displayed. Then if you went to "test.php?mode=2" the word "dog" would be displayed. How is this done in php? —Preceding unsigned comment added by 82.44.54.207 (talk) 16:09, 1 April 2010 (UTC)[reply]
You could trivially set up an array of options. Using a PHP array (details here), define a mapping, like so:
$options_array = array(1 => "cat", 2 => "dog");
To get perform the lookup, you'd do the following:
$mode_int = $_GET["mode"];
$mode_str = $options_array[$mode_int];
Or you can combine the operations (if the number is not needed for anything but the lookup) like so:
$mode_str = $options_array[$_GET["mode"]];
Does that make sense? —ShadowRanger (talk|stalk) 20:18, 1 April 2010 (UTC)[reply]
YES! Thank you!! — Preceding unsigned comment added by 82.44.54.207 (talk)

Connection detection in Windows 7

Windows 7 is somehow able to detect whether it has a full internet connection available or not. My first thought was that it looks at the DHCP reply and, if finding no default gateway, will assume that it is in a local network without internet access. However, there seems to be a more sophisticated detection feature, as when I'm using a DSL router (which provides its own LAN IP as default gateway and DNS server addresses in its DHCP reply) that has its upstream connection unplugged or a restrictive firewall setting, I'm still getting the warning message that there is no internet connection available.

My router's logging capabilities are rather limited :-( and I'd like to get rid of that message so as to avoid unneccessary confusion among users (the system has limited internet access via a transparent proxy).

Does anyone know what Microsoft does to determine if there is an internet connection? Do they use ping, or a web request, or something completely different? And which IPs/DNS names are they trying to connect to? -- 78.43.60.58 (talk) 14:09, 1 April 2010 (UTC)[reply]

I've searched around with little success. There are three possibilities I can think of:
A) There may be a communications protocol (possibly DHCP or a common extension) where the router can inform the machine if it has an internet connection (or indirectly, inform the computer of the router's external IP address, where a null IP address indicates a disconnection). Depending on how sophisticated it is, it may be possible to fool it by chaining routers; if the protocol doesn't change, then the fact that router 1 connects to router 2 might be enough to fool the computer into assuming an internet connection exists, even if router 2 is disconnected.
B) It tests against a "reliable site" (or sites). I doubt they use this approach, as it is far too susceptible to a single-point-of-failure.
C) The computer is provided with the DNS lookup addresses from the router (the router itself gets them either through a static configuration, or as part of dynamic connection setup with your ISP). Rather than connecting to statically defined sites, it can simply ping (not necessarily an actual ping, but that's not important) the DNS addresses (there is usually a primary and a secondary). If neither responds, it can conclude you are offline.
I consider B extremely unlikely. Searching for DHCP documentation (or reading the article more thoroughly than I did) may help determine if that protocol is involved. If DHCP doesn't handle this, the most likely case would be C. After all, if you can't reach your DNS lookup servers, you're effectively disconnected from the internet for most practical purposes, and reporting no connection in this case is mostly correct. —ShadowRanger (talk|stalk) 20:09, 1 April 2010 (UTC)[reply]
It should be possible to test option C with sufficient hardware and technical skills. If you set up a DNS cache on your local network and use it as your primary DNS lookup, then disconnect your router from the internet and you still show as online, then clearly it's fudging it using the DNS. —ShadowRanger (talk|stalk) 20:11, 1 April 2010 (UTC)[reply]
Just realized that you noted that the router is designating itself as the DNS, which necessitates another question: Does the router actually function as a DNS lookup? If it doesn't, then C could still be the case. If it does, then C becomes less likely. —ShadowRanger (talk|stalk) 20:21, 1 April 2010 (UTC)[reply]
A short while ago, I had asked at this very reference desk if it was somehow possible to determine an upstream router's external IP. I was told there no such possibility exists (aside from brute-forcing it with nmap or similar tools). Also, adding another router doesn't change the behavior. So A) is out. Regarding C), I just tested pinging fr.wikipedia.org (I usually don't visit the French wikipedia, so it would be rather unlikely that my computer has its IP in its DNS cache). While the actual ping packets were blocked by the firewall, DNS resolution worked fine. So it seems that Microsoft indeed chose B), which leads me back to my original question: Which domains is it trying to access, and how? -- 78.43.60.58 (talk) 09:57, 2 April 2010 (UTC)[reply]
Addendum: On the router I had plugged in to test A), I can see the following outgoing traffic:
  • 224.0.0.22(IGMP)
  • 224.0.0.252:5355(UDP)
Could this be part of the detection mechanism, and if so, does anyone know what it's trying to do / what it expects as an answer? According to Classful network 224.0.0.x are multicast addresses, but what should that tell me? -- 78.43.60.58 (talk) 10:04, 2 April 2010 (UTC)[reply]

I haven't done any network tracing in a while, so this was an interesting exercise. I fired up Wireshark and pulled my internet connection. I noted DNS queries to dns.msftncsi.com and figured this might be involved. A quick search reveals this TechNet article on Network Connectivity Status Indicator and Resulting Internet Communication in Windows Vista, which explains it in depth. ---— Gadget850 (Ed) talk 14:20, 2 April 2010 (UTC)[reply]

Spot on! Sweet! I just whitelisted that www.msftncsi.com domain for http traffic (since DNS was already allowed, see above) and ta-da, no more annoying messages! Thanks! -- 78.43.60.58 (talk) 17:20, 2 April 2010 (UTC)[reply]

Can I send people a URL that will cause a google doc to be downloaded as a pdf?

Resolved

If I'm editing a google doc (e.g. http://docs.google.com/Doc?id=blah_blah_blah), is there some modification I can make to the url (e.g. ...&download=pdf) that will cause the latest version to download as a pdf?

When I share documents with people, I include at the top a list of hyperlinks to all the available viewing options ("click here to edit me," "click here to view me as static html," "click here to request rights to edit me ..."). Thus, it would be nice to add a button, "click here to download me as pdf."

If this pdf thing can't be done, will someone who has a friend working at google tell that person to implement this feature?  :)

Thanks, JD Caselaw (talk) 18:35, 1 April 2010 (UTC)[reply]

No smoking

What is the name for that symbol that appears if you are trying to copy and paste but there is already a blue area on the screen and you have already released your mouse button, and your mouse won't let you do it again?

When there is a cigarette inside the symbol it means "no smoking".Vchimpanzee · talk · contributions · 21:10, 1 April 2010 (UTC)[reply]


Do you mean No symbol? Theresa Knott | token threats 21:12, 1 April 2010 (UTC)[reply]

Yes, thanks. The No symbol article does not refer to its use in computers, and I wouldn't know how to add that information properly.Vchimpanzee · talk · contributions · 21:36, 1 April 2010 (UTC)[reply]
The place to make requests like this for article changes, when you are not comfortable editing the article yourself, is to go to the "discussion" page of the article (click the 'discussion' tab at the top) and then click "new section" and add your request, exactly as you do here to add a new question to the Reference Desk. Comet Tuttle (talk) 23:39, 1 April 2010 (UTC)[reply]
Right. Well, I was hoping for some answers, but I am at a library now and I can probably find a book that has that.Vchimpanzee · talk · contributions · 14:55, 2 April 2010 (UTC)[reply]
No such luck. The books are outdated or incomplete. I could ask a reference librarian. Maybe someone reading this has an answer?Vchimpanzee · talk · contributions · 16:09, 2 April 2010 (UTC)[reply]

Downloading videos off of YouTube

If I download videos using YouTube converter (or whatever the equivalent of that is), and I want to re-upload it to another video site, will I need some special re-encoding software to upload the video in the same quality that I downloaded it as? If so, can anyone recommend the best software for this? 24.189.90.68 (talk) 21:22, 1 April 2010 (UTC)[reply]

If the other site accepts it in the original YouTube flv format, then you don't need it. And if it requires a different format, you *will* lose quality unless you are reencoding to (and they accept) one of the absurdly wasteful lossless video compression techniques. —ShadowRanger (talk|stalk) 21:47, 1 April 2010 (UTC)[reply]

April 2

ripping from cd

Hi I'm a musician and I want to distribute my music to fans using cd. This is my first album and I am giving it for free for promotional purpose. I want to make it so people can rip from the cd, and put the music onto their ipods/mp3 players. But the problem is that when they rip it to a mp3 file, the tags won't show up. It will just say "Track 01" and "Track 02" etc. The album art won't come up either. I understand there's a online database where users can find tags, but since I am not popular, I am not listed in the database. How should I solve the problem? Should I just burn mp3 files onto the cd's? (but then it might not play in some cd players)--75.185.120.28 (talk) 01:17, 2 April 2010 (UTC)[reply]

CD-Text should help with the metadata issue (if not the album art). Paul (Stansifer) 02:23, 2 April 2010 (UTC)[reply]
I believe you can submit a track listing to freedb/CDDB which some CD rippers use to get track listings into the MP3 tags. The ripper I use permits the user to upload manually entered track listings to freedb; if you did that first, your fans rippers would then be able to get the same listing when they rip your CD.
I also know in Windows Media Player users can simply drop an image into the appropriate place to attach album art to an album, but I've no idea how that works automatically (when WMP gets the art automatically). Astronaut (talk) 17:02, 2 April 2010 (UTC)[reply]

Saving files in Firefox

Is there an add-on or something that would allow me to save a file downloaded from firefox to a folder of my choosing, as opposed to just the default folder? —Preceding unsigned comment added by 86.177.125.64 (talk) 02:03, 2 April 2010 (UTC)[reply]

Go to Tools->Options->General, and select the option to "Always ask me where to save files". —ShadowRanger (talk|stalk) 02:19, 2 April 2010 (UTC)[reply]

Are these download sites legit?

http://rapidlibrary.com/ http://download-gate.com/ http://filestreasury.com/

I've never signed up to be a member of any of these kinds of sites before. They require a one-time payment after which you can download many of their files. So they ask for your master/credit card info during registration. But are they legit? Can they be trusted? If one turns out to be a scam, then is it possible for them to steal your money from your account (because you provided your master/credit card info? —Preceding unsigned comment added by 70.68.120.162 (talk) 04:32, 2 April 2010 (UTC)[reply]

The first one is just an index of files on RapidShare. The other ones not sure. --169.232.246.143 (talk) 05:47, 2 April 2010 (UTC)[reply]

According to WOT, the first one's okay, but the other two are the ones you should stay the hell away from. 24.189.90.68 (talk) 07:13, 2 April 2010 (UTC)[reply]

Of course, by "okay" and "legit", I assume you people are joking. They are software piracy sites, and you don't at all know whether what you're downloading is infected with malware or not. And of course it's illegal. Comet Tuttle (talk) 14:10, 2 April 2010 (UTC)[reply]
First, we are not able to give legal advice. Second, hosting files, and especially hosting links to metadata about files is not necessarily illegal. Copyright infringement is illegal (in most places); when hosting a file is part of the act of copyright infringement, then hosting the file may be a separate illegal act in addition to the copyright infringement charge; but when you equate file-sharing and copyright-infringement, you are falling prey to a wide-spread half-truth. Nimur (talk) 15:05, 2 April 2010 (UTC)[reply]
I haven't heard of download-gate or filestreasury but I have heard of rapidlibrary. Like 169.232 says, rapidlibrary is simply an index of files on RapidShare, but I've never seen a need (or even a sign-up page) to become a member of rapidlibrary. Rapidshare does allow free downloads (limited in speed and bandwidth usage, and with annoying ads for their paid service and waits to download, but not so much for me to tell them my credit-card number). File sharing sites like this will probably claim they exist simply to let people share their stuff, and they might even have a "no copyright infringement" policy, but it appears not to be actively policed (ie. they promise to take down content if someone makes a complaint but they don't search out and delete stuff that might infringe copyrights). That said, most of the stuff I've seen there has been copied from somewhere. So, it depends what you download, but it is probably safe to assume it will be infringing somebody's copyright. Is it safe to give them your credit card? - I wouldn't. Is the service legal? - I think it's dubious at best. Is the data you download legal? - I would assume it isn't. Is the data free of malware and viruses? - I would assume not until virus scanned (and even then be cautious). Astronaut (talk) 16:52, 2 April 2010 (UTC)[reply]
My experience with these kinds of sites is that they 1. index other download sites like Rapidshare, 2. index torrent results, and 3. often pretend to have files that they don't in order to get you to sign up. Usually if you can find something on these sites, you can find it elsewhere on Google for free. (This does not constitute legal advice!) The sites are usually rip-offs of one degree or another (really rip-offs layered on rip-offs in a way—they prey on people looking to pirate but who don't know how to use torrents or newsgroups or rapidshare). --Mr.98 (talk) 00:46, 3 April 2010 (UTC)[reply]

Using the Statistical Test Suite from NIST

Hello, I am trying to use the statistical test suite developed by NIST to check a given binary sequence for randomness. My questions is that how to adopt the package to Windows. I am running Windows XP with SP2 and I would like to use the tiny c compiler (TCC) to build this whole suite and then run in on some files that I have. The instructions say that inside the suite there is a file called "makefile" where the first few lines are

CC = /usr/bin/gcc
GCCFLAGS = -c -Wall
ROOTDIR = .
SRCDIR = $(ROOTDIR)/src
OBJDIR = $(ROOTDIR)/obj
VPATH = src:obj:include

and I have to change the first line and the third line. My question is that I want to use TCC, then what would I write on the first line? This gcc command is obviously for Linux. How/what do I change here to make it work? Is there another compiler which would work better here? If yes, then which one? And also do I just leave that period on the third line or is there an actual directory that needs to be there? Thanks! -Looking for Wisdom and Insight! (talk) 06:13, 2 April 2010 (UTC)[reply]

If you install cygwin you'll get windows versions of both gcc and make. Then compilation should be just a matter of running make in the source directory. gcc is a lot better compiler than tcc if compilation time doesn't matter (it shouldn't). --91.145.72.188 (talk) 10:08, 2 April 2010 (UTC)[reply]
If you do insist on using TCC, you should carefully read the TCC Compiler Reference to check for compatibility issues; especially take a look at the TCC support for Gnu C extensions, as well as ISO and ANSI-C compatibility. Often, switching compilers wreaks havoc with source-code, libraries, and linkers; sometimes just swapping the Makefile compiler binary is not sufficient to build the entire project. Nimur (talk) 15:09, 2 April 2010 (UTC)[reply]

Free Flash Clone

Hello. I know there exists a 'clone' for Adobe Photo shop (Gimp), which is freeware and has most of the functions of commercial Photo shop. I was wondering if anyone knew a similar 'clone' for Adobe Flash? Any suggestions would be welcome, no matter how primitive the software. Cheers. Cuban Cigar (talk) 07:19, 2 April 2010 (UTC)[reply]

Are you referring to Adobe Flash Professional? There is a very powerful flash-authoring tool called SWiSH: [16]. It is only $150 for the full version, which is significantly cheaper than Flash Professional ($699). It has some features not found in the Flash authoring tool from Adobe. There is a cheaper version too (mini-max) which only costs $70. (I have not tried the $70 version.) If you would rather have something free, there is MotionTwin: [17]. It compiles raw ActionScript code into SWF files. Unless you know (or are willing to learn) ActionScript, the last option may not be ideal.--Chmod 777 (talk) 08:28, 2 April 2010 (UTC)[reply]
FlashDevelop is a free and open-source software development environment. It allows you to design and draw Flash animations, write and compile ActionScript code, and deploy .swf files. As I understand it, FlashDevelop is only available for Windows computers. If you only want a Flash player, and not a development studio, see Gnash, which is one among many available free and open-source Flash Player surrogates. I have unfortunately had a lot of compatibility trouble using Gnash on Ubuntu, so I typically use the official Adobe player for playing flash movies and content. Nimur (talk) 15:13, 2 April 2010 (UTC)[reply]
There's also a free Adobe Flex SDK consisting of several Java™ programs. On the IDE end, I think Synfig is probably the frontrunner. ¦ Reisio (talk) 15:35, 2 April 2010 (UTC)[reply]

Some of these [the free ones =)] look promising. I will give them a look. Thanks for everyone who helped.Cuban Cigar (talk) 00:39, 4 April 2010 (UTC)[reply]

Another php question

Resolved

I'm trying to make a very simple php script where you can type something in a text box, press submit and it'll write the text to file. I suck at php and this is the best I could come up with but it doesn't work.

<?
$logfile= 'log.html';
$fp = fopen($logfile, "a"); 
fwrite($fp, $x);
fwrite($fp, "<br>");
fclose($fp); 
?>
<form action="" method="post" enctype="multipart/form-data">
<input type="text" name="x"><input type="submit"/></form>

Could anyone give me advice on what I've done wrong? Thank you :) —Preceding unsigned comment added by 82.44.54.207 (talk) 10:29, 2 April 2010 (UTC)[reply]

The problem is that you don't have the control flow right. Imagine how this page loads up. First it opens the log file and writes to it. Then it gives you a text box for information. It will do it in exactly that order — top to bottom — so it will never get the text box data.
Here's a slight rewrite. What I've done here is make the script first check if we have POST data to write, and only write then. If the user has input data, it won't ask you for the text box again.
<?
if($_POST["x"]) {
$x = $_POST["x"];
$logfile= 'log.html';
$fp = fopen($logfile, "a"); 
fwrite($fp, $x);
fwrite($fp, "<br>");
fclose($fp); 
echo "Thanks for the data!";
exit;
}
?>
<form action="" method="post" enctype="multipart/form-data">
<input type="text" name="x"><input type="submit"/></form>
See if that works better. Note that we are having the same form POST data to itself, and we have just made it so that it can detect if it should be handling data or not. This is a quite common control structure in PHP. If you are having trouble writing to the file, make sure its permissions are set correctly. The other potential issue is whether you moved the POST data into a variable or not (that's my line with the $x=$_POST on it). In much older versions of PHP it used to be that POST variables could move directly into the regular variable space automatically (if you $_POST["x"], then that's what $x is), but that has been stopped by default for a long time because it is a HUGE security problem to let potential users indiscriminately fill variables. So if you are looking at other code as a reference, that might be where it is slightly incompatible. Retrieving the variable from $_POST is easy and a better alternative. --Mr.98 (talk) 12:26, 2 April 2010 (UTC)[reply]
Thank you so much! :D

Computer language for text documents

Has anyone designed a language for processing text documents? I do not mean a word processor, nor do I mean a search and replace thing. For example if you wanted to copy the fourth paragraph from document file X, followed by the second paragraph from document file Y, and then put these in a new file Z. And many other things. Thanks 78.146.86.6 (talk) 15:38, 2 April 2010 (UTC)[reply]

Yes, but the definition of "text document" is somewhat different. Perl was originally oriented towards processing text files (though it of course can be used to do many other things): for example, substituting text based on a regular expression line-by-line is a one-line program in Perl. It came out of the Unix tradition, where managing a systems meant (and still means) manipulating text files.
I'm not certain that there's a use for something similar for natural language text files, though. Paragraphs are very loose and informal things: I can't see the task you describe producing a coherent result without a great deal of effort from the document authors. (For that matter, "fourth paragraph" is ill-defined. Do salutations count as paragraphs? How about lines of dialog? What if there's a diagram breaking up a paragraph -- where does its paragraph sort?) Paul (Stansifer) 16:04, 2 April 2010 (UTC)[reply]
You might also be interested in RUNOFF, an old word processing program. It allowed formatting, like the centering of text. However, unlike modern word processing programs, which show the text centered and hide the commands to do so, under RUNOFF you edited a file containing both the text and formatting commands, then executed a program to put it in it's final formatted form. StuRat (talk) 16:12, 2 April 2010 (UTC)[reply]
emacs lisp? --91.145.72.188 (talk) 16:57, 2 April 2010 (UTC)[reply]
It really depends on what the format is of the files you are copying from. If a paragraph is defined by a sentence followed by two sets of line carriage, then that's easy enough to code for. If it's a hard return followed by a tab indent, that's easy enough to code for. If a paragraph is specified as text between two <p></p> tags, then that's easy enough to code for. But if you don't know the standards of the input format, then it won't work, for the reasons outlined above. If you use a consistent input format, then any scripting language can do this trivially. It's hard for me honestly to imagine the applications of what you're describing though—ripping paragraphs out of documents and combining them into other documents with other paragraphs doesn't sound to me like the sort of thing you'd want to do with coding, unless you are trying to make some kind of dadaist assemblage. --Mr.98 (talk) 00:43, 3 April 2010 (UTC)[reply]

I would find such a language very useful when I want to, for example, generate letters to different people with various variations in the text, and as a side-issue place an entry in a diary to follow it up in n days time. Lawyers would find this useful to assemble contracts. Scriptwriters could use something like this to format scripts into screenplay format from the likely unformatted file they wrote it in. The paragraph issue could easily be solved by being able to define the paragraph as you wished. I infer that computer programmers never do any office administration, which is what I spend a lot of time doing. 78.149.194.146 (talk) 12:51, 3 April 2010 (UTC)[reply]

templates are the solution for the most of that. Your favorite text editor is likely to support them, through an extension at least. --91.145.72.188 (talk) 15:20, 3 April 2010 (UTC)[reply]
Yes, and one difference is that, if a failure to perform a replacement occurs, you end up with something like "<insert name here>" versus the name of the previous person, firm, etc. (Of course, when sending a form letter professing your undying love, that could be just a insulting as the name of last week's undying love.) :-) StuRat (talk) 15:31, 3 April 2010 (UTC)[reply]

The generation of letters is usually more complicated than a word-processor can cope with, and requires logic rules. It would be a different letter to several different adressees, combining both elements that were common to all letters and elements that were unique to one or a few of the letters. When I worked in an office long ago, before word processors, you used to be able to dictate letters by simply listing stock paragraphs (eg paragraph A1, paragraph B14) and the typist would compile it into a finished letter. I've never found any software that can do that, except a single commercial one. 78.149.194.146 (talk) 17:06, 3 April 2010 (UTC)[reply]

How do i type the infinity symbol? It's not num lock, hold alt 236 on my computer

I'm trying to type an infinity symbol. The only answer I can find is to put the num lock on, hold Alt and hit 236, but this results in a y with an accent, ý, see? What's going on and how can I get the infinity symbol? prefix:Wikipedia:Reference desk/Archives —Preceding unsigned comment added by Youngbuckin (talkcontribs) 17:07, 2 April 2010 (UTC)[reply]

If this is using M$ Word, you can type 221E and then hit Alt-X. If you do this a lot, you could make an autocorrect entry. --Phil Holmes (talk) 17:21, 2 April 2010 (UTC)[reply]
In the Wikipedia edit window, you can enter the infinity symbol using the insert-symbol "thingy" below the save button. Since I don't know the real name of the "thingy", see this screenshot for guidance. Astronaut (talk) 17:24, 2 April 2010 (UTC)[reply]
It is also available through the character map application in Windows: Make sure "advanced view" is ticked, then enter "221E" in the "Go to unicode" box. Astronaut (talk) 17:31, 2 April 2010 (UTC)[reply]
Just make sure you are using a decent Unicode font, such as Arial Unicode MS or Lucida Sans Unicode. --Andreas Rejbrand (talk) 23:26, 2 April 2010 (UTC)[reply]
And here it is to cut and paste: ∞. StuRat (talk) 17:35, 2 April 2010 (UTC)[reply]

Holding ALT and then hitting the '2', then hitting the '3', then hitting the '6', then releasing ALT should work in Microsoft Windows, with or without numlock. ¦ Reisio (talk) 01:38, 4 April 2010 (UTC)[reply]

moving video taken with Ipod mini from ipod to computer

I have a newest generation ipod mini which has a video camera. I've tried and I've searched pretty hard, but I can't figure out how I'm supposed to get the video files from my ipod to my computer. In itunes, I have selected the setting to have it sync videos, and maybe it is doing that, but I jest can't figure out where it is putting them. They don't show up anywhere in the itunes library, as far as I can see, either. Help! ike9898 (talk) 19:47, 2 April 2010 (UTC)[reply]

Scanning old B&W photographs

I have some B/W prints of professionally taken photos taken around the 1930s with a plate camera (probably). I wish to scan these into my computer using an HP4400c scanner. What is the best scanning resolution to use if I want to lose the least amount of detail for subsequent enlargement. HP Precision scan Pro scanner software Auto choice comes up with about 150 dpi, which i dont think is enough. The highest res on the software is 2400dpi. Is there any benefit in going this high?--79.76.175.65 (talk) 19:52, 2 April 2010 (UTC)[reply]

Yes, there is a benefit, but also a cost. It will take up a huge amount of memory at that res, before it's compressed, which will also make each scan take a very long time with lots of memory paging. If the settings allow for gray-scale instead of color, that should reduce the memory reqs somewhat, without lowering the res. StuRat (talk) 20:09, 2 April 2010 (UTC)[reply]
You didn't specifically ask this, but in case you were unaware: Don't save the scans as JPEG files if you want the highest possible fidelity; save them as TIFF, PNG, or sometimes BMP files. JPEG is a lossy compression format that will save you a ton of disc space, but at a price of introducing some visual artifacts into the scans. Comet Tuttle (talk) 20:32, 2 April 2010 (UTC)[reply]
The question is what you want to do with the files. 300 dpi basically means you can reprint them at the exact same size as the originals with basically the same quality on a photo printer (no blockiness). Every multiple of 300 dpi basically means you can increase the print size/quality proportionally (so at 600 dpi you can print it out 200% larger, with no blockiness; you could also print it out at the exact same size of the originals with better quality on a very good printer). If you want to have them as "backups", basically, you don't want to go lower than 300 dpi. If you are just going to put them on the web, 150 dpi is probably fine. If you want to blow them up as big prints, that's what the 2400 dpi is there for (the files will be huge, but you can reproduce them at 8x the original size without any blockiness). If you were saving them, say, for an historical archive, then you want to scan them at the maximum resolution (because you don't know what someone in the future will want to do with them, and you'd want to keep their options open.) Remember that you can always down-sample your photos (you can go from 300 -> 150 very easily, or 600 -> 300 and so forth), but you can never up-sample them without creating horrible artifacts (you can't go from 150 -> 300 without making things look awful). You could always scan them at 2400dpi (takes forever, big files), and then save copies at 300 or 150 dpi for everyday use (and just burn the 2400 dpi versions onto a CD-R or something for safekeeping). And yeah, save them as TIFFs or PNGs, not JPEGs. --Mr.98 (talk) 21:07, 2 April 2010 (UTC)[reply]
Note also that depending on the quality of the originals, you might not be getting a lot more detail in your scan by boosting the resolution up higher (you might just be getting larger versions of blurriness). However if they are professionally done and printed on good photo paper, they probably will reproduce well at higher resolutions, which might make it worthwhile. I have seen some gorgeous 2400 dpi scans of black and white photos from the 1940s that really made me appreciate the value of the extra DPI. --Mr.98 (talk) 22:26, 2 April 2010 (UTC)[reply]
I want to enlarge the photos by about 400% (linear) for restoration before getting some new prints from the photo print shop. I eventually want 8" x 6" prints (say), so from what you say, I should be ok scanning in at 1200 dpi, which is what I have done as an initial trial.--79.76.175.65 (talk) 22:41, 2 April 2010 (UTC)[reply]
I recently scanned a whole lot of old family photos dating from perhaps the 1890's onwards. I got good results at 600dpi and saved the results as TIFF files. At 1200dpi, the poorer lens quality of the era and grain in the original photographs became apparent. Yes, the files are large, but I've got plenty of storage capacity. I reasoned that I could blow up these images if I wished, and if I needed something smaller I could always make a smaller cropped copy with an image editor. The biggest problem I had was widely varying contrast and brightness in some oiginals - several were very dark, others were very light - and I found myself making several adjustments to the scanning process and a few trial runs on the more difficult photos. The other thing to note is that it can take a long time to go through a big pile of photos - a little over 250 photos took me several 4-hour sessions to scan. Astronaut (talk) 00:14, 3 April 2010 (UTC)[reply]
Yes, 1200 dpi would mean a 400% enlargement possibility. Again, as Astronaut says, you might be beyond the resolution of the photo technology (e.g. you will be able to see that the photo is made up of lots of little dots and is not continuous), but see for yourself. I think it should be fine. You can always down-sample if you want to. --Mr.98 (talk) 00:26, 3 April 2010 (UTC)[reply]

Uploading PDF/Word Files With HTTPUnit

I using httpunit to upload a file into a webform and then submit the form to the server. I get this strange error and I don't know how to get rid of it.

This is the line where the uploaded file is entered into the form:

forms[0].setParameter("uploadFileName",new File("C:\\test.pdf"));

The uploaded file is never uploaded but the other fields get sent/recorded correctly by the server.


Exception in thread "main" java.io.IOException: Read error

       at java.io.FileInputStream.readBytes(Native Method)
       at java.io.FileInputStream.read(FileInputStream.java:199)
       at com.meterware.httpunit.protocol.MimeEncodedMessageBody$MimeEncoding.addFile(MimeEncodedMessageBody.java:137)
       at com.meterware.httpunit.FileSubmitFormControl.addValues(FormControl.java:981)
       at com.meterware.httpunit.WebForm.recordParameters(WebForm.java:604)
       at com.meterware.httpunit.protocol.MimeEncodedMessageBody.writeTo(MimeEncodedMessageBody.java:51)
       at com.meterware.httpunit.MessageBodyWebRequest.writeMessageBody(MessageBodyWebRequest.java:107)
       at com.meterware.httpunit.MessageBodyWebRequest.completeRequest(MessageBodyWebRequest.java:120)
       at com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:82)
       at com.meterware.httpunit.WebClient.createResponse(WebClient.java:647)
       at com.meterware.httpunit.WebWindow.getResource(WebWindow.java:220)
       at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:181)
       at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:158)
       at com.meterware.httpunit.WebWindow.sendRequest(WebWindow.java:134)
       at com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:297)
       at com.meterware.httpunit.WebRequestSource.submitRequest(WebRequestSource.java:253)
       at com.meterware.httpunit.WebForm.submitRequest(WebForm.java:127)
       at com.meterware.httpunit.WebForm.doFormSubmit(WebForm.java:143)
       at com.meterware.httpunit.WebForm.submit(WebForm.java:108)
       at com.meterware.httpunit.WebForm.submit(WebForm.java:93)
       at Main.main(Main.java:167)

72.188.46.69 (talk) 22:36, 2 April 2010 (UTC)WebDev[reply]

Need Windows API opinion

My days of reading API manuals just for the heckuvit are well behind me, so I solicit the opinion of those still in the know and/or those with access to such documents. Subject area is "date conversion", on a Windows PC.

Background: just finished my taxes using a software product installed on my PC (i.e., not on the web). In one section, I need to enter a number of dates for certain transactions, which are recorded on paper. When I enter a date in the form 7/12 (this is the US, so that's the 12th of July), this software insists on converting it to July 1st 1912; that 5/22 is May 1st 1922 rather than May 22nd, etc.

In my opinion, since I'm filling out my taxes for 2009 and every applicable date occurred in 2009, the product's assumption (1912 or 1933) is nothing short of stupid -- possibly with a good dose of lazy thrown in. BUT, I spent many years as a software developer, and am willing to admit that the program vendor MAY be constrained by the APIs available to it -- i.e., there may NOT be a way to program, "when given only two subfields of a date, assume that the missing field is 'year=2009' ".

So I ask any current developers out there: is there a user interface / date conversion API that would treat 5/22 as May 22nd and they're just too dumb or too lazy to use it, or is the conversion being done out of their reach (by the OS, say) and they really don't have any control over it?

More details available if needed.

TIA, DaHorsesMouth (talk) 22:51, 2 April 2010 (UTC)[reply]

It's 100% laziness and sloth. Date conversion is simple and no coder needs an API with a library in order to decipher what a user means to write when he writes "5/29". Comet Tuttle (talk) 23:21, 2 April 2010 (UTC)[reply]
I think the same thing used to happen in Excel - though I just checked and it doesn't do that in Excel 2007. So, what happens if you enter "7/12/09" or "7/12/2009"? Astronaut (talk) 23:58, 2 April 2010 (UTC)[reply]
It doesn't happen in Excel 2000 either (the software assumes the current year, i.e. 3/4 is interpreted as April 3rd 2010 in the UK), so at some stage last century, Microsoft must have fixed it. I suggest that you contact the writers of your software to suggest the obvious improvement to their coding. They will probably reply that it might be risky for them to assume the year in important documents such as tax returns. Dbfirs 08:35, 3 April 2010 (UTC)[reply]

April 3

Repair Of a Laptop Screen

I have an old laptop (working) with a screen that was disassembled. The silvering on the last layer of the LCD unit was washed off and now the screen is impossibly dark. Can this be replaced with aluminum foil or something similar? 76.117.247.55 (talk) 03:30, 3 April 2010 (UTC)[reply]

I doubt it. You can probably hook it up to an external monitor, though. StuRat (talk) 04:17, 3 April 2010 (UTC)[reply]

RGB color ranges for human skin, nails, hair, and eyes

RGB color range for human skin

In the RGB color model, what is the range of numeric representations for normal human skin? For the purpose of this question, I am counting congenital albinism, natural sun tanning, and aging as normal. Artificial treatments are not counted. -- Wavelength (talk) 05:57, 3 April 2010 (UTC)[reply]

The best you can probably get is something like the SVG in Von Luschan's chromatic scale. It's going to be inexact no matter what you do, but if you're looking for just some baseline values, it's probably fine. --Mr.98 (talk) 13:08, 3 April 2010 (UTC)[reply]
All humans trend toward the red channel. This fact is common knowledge among Photoshop users as it aids them in isolating (masking) humans from a background.--Chmod 777 (talk) 17:19, 3 April 2010 (UTC)[reply]

RGB color range for human nails

In the RGB color model, what is the range of numeric representations for normal human nails? For the purpose of this question, I am counting congenital albinism, natural sun tanning, and aging as normal. Artificial treatments are not counted. -- Wavelength (talk) 05:58, 3 April 2010 (UTC)[reply]

RGB color range for human hair

In the RGB color model, what is the range of numeric representations for normal human hair? For the purpose of this question, I am counting congenital albinism, natural sun tanning, and aging as normal. Artificial treatments are not counted. -- Wavelength (talk) 05:58, 3 April 2010 (UTC)[reply]

RGB color range for human eyes

In the RGB color model, what is the range of numeric representations for normal human eyes? For the purpose of this question, I am counting congenital albinism, natural sun tanning, and aging as normal. Artificial treatments are not counted. -- Wavelength (talk) 05:59, 3 April 2010 (UTC)[reply]

In reply to all the above

Unfortunately, RGB is inherently uncalibrated, and human perception of computer RGB colors can be strongly affected by monitor characteristics, ambient lighting, etc. so your questions are not really all that meaningful as they stand. There's sRGB, a standardized version of RGB, but there's no guarantee that your system is sRGB-compliant unless you've carefully calibrated your monitor in one particular set of ambient lighting conditions, etc... AnonMoos (talk) 06:28, 3 April 2010 (UTC)[reply]

But surely human skin is not bright blue or bright green, so it must be possible to reduce the range of possible colours by a lot. Perhaps the OP could find twenty photos of people on the internet, measure the colour of their skin etc, and get a better idea that way. 78.149.194.146 (talk) 13:04, 3 April 2010 (UTC)[reply]
It would give an idea of the colors that have been used in previous images, but it wouldn't give much precision or additional exactness beyond just eyeballing it... AnonMoos (talk) 13:33, 3 April 2010 (UTC)[reply]
Also, the lighting conditions change all the RGB values from 0,0,0 all the way up to 255,255,255. StuRat (talk) 13:16, 3 April 2010 (UTC)[reply]
True, but I'm sure the original poster knows this. Let's imagine he wants the base colors for use as textures for a 3-D modeling scene, whereby lighting conditions would be calculated against the base. It isn't a totally horrible question. I just don't know if the numbers are easily accessible in the way the OP wants them, other than skin color. --Mr.98 (talk) 13:37, 3 April 2010 (UTC)[reply]
For standardization of lighting, let us assume that all the subjects have been photographed outdoors on under a cloudless day sky, at the equator at sea level (see Macapá), at exactly midday (12:00 noon) on the spring or autumn equinox. -- Wavelength (talk) 14:30, 3 April 2010 (UTC)[reply]
[I am revising my comment. -- Wavelength (talk) 14:39, 3 April 2010 (UTC)][reply]
What, no humidity spec ? :-) StuRat (talk) 15:58, 3 April 2010 (UTC)[reply]
OK. now the next problem in specifying ranges is that the R, G, and B components aren't independent. That is, we can't just give a range of each. (If we did, you'd find that many combos within those ranges would look very wrong.) For a given value of R and G we could give a range of B, though. So, we end up with a 3D graph. How could we pass on that info here ? StuRat (talk) 15:58, 3 April 2010 (UTC)[reply]
For a 3D graph, maybe there is helpful information in the article on 3D computer graphics. -- Wavelength (talk) 16:22, 3 April 2010 (UTC)[reply]
My Google search for "3D data" reported about 198,000,000 results. -- Wavelength (talk) 16:33, 3 April 2010 (UTC)[reply]
There could be a list of all the integral values from {0,0,0} to {255,255,255}, or simply a reporting of the number of such values out of a maximum of 224 = 16,777,216. -- Wavelength (talk) 16:48, 3 April 2010 (UTC)[reply]

If you are contemplating using these RGB numbers for computer graphics - I've gotta warn you that they won't do you much good. Drawing things in "skin color" doesn't produce reasonable results because the things that make for realistic skin have little to do with color. With good lighting algorithms, you can make green skin look "real" but without good lighting, even getting the RGB values perfect for your own skin won't produce good results. When drawing skin, you need to pay a lot of attention to surface texture (tiny pores, etc), to the shininess (which varies over the skin with oily deposits) and especially to an effect called "subsurface-scattering". If you get those things right, then the range of believable colors are truly vast. SteveBaker (talk) 16:42, 3 April 2010 (UTC)[reply]

[Wikipedia has an article about subsurface scattering. -- Wavelength (talk) 20:44, 3 April 2010 (UTC)][reply]
My reason for asking these questions is that humans perceive each other as having skin with a hue of black, brown, red, yellow, or white, and I am looking for an objective measure of the actual differences, which may be relatively slight; and I added hair and eyes, because they vary in color also; and I added nails for a total of four features. -- Wavelength (talk) 16:58, 3 April 2010 (UTC)[reply]
Why don't you open a picture of a naked human in Photoshop, remove the background, and then look at the histogram to see how much of R, G, and B there is? You could then repeat the procedure for their nails and eyes. Here are some tutorials on how to do that: [18], [19]. Also, if you'd like to see how much cyan, magenta, yellow, and black there is, you can switch to the CMYK mode (Image --> Mode --> CMYK).--Chmod 777 (talk) 17:30, 3 April 2010 (UTC)[reply]
There is also DigitalColor Meter, but I am hoping that someone has already done the research.—Wavelength (talk) 18:37, 3 April 2010 (UTC)[reply]
Again, see Von Luschan's chromatic scale for human skin color. Anthropologists standardized this a long time ago. --Mr.98 (talk) 20:04, 3 April 2010 (UTC)[reply]

What's the term for a code file?

What do you call a single .c file within a multiple file C program (and its header file)? Is it a "module"? (Never mind whether it's truly a module - is that the term generally used?) 213.122.26.30 (talk) 07:38, 3 April 2010 (UTC)[reply]

I'd just call it a source code file. StuRat (talk) 12:53, 3 April 2010 (UTC)[reply]
Yep. It's a source file in common parlance. It also closely corresponds to (but is not the same) what the C standard calls a "translation unit". C does not really use the term "module", and only supports the concept with some discipline on the side of the programmer. --Stephan Schulz (talk) 16:47, 3 April 2010 (UTC)[reply]
Hmm, so that's what a "unit" is. What if you have two or three closely related .c files (which you probably keep in the same subdirectory)? Would C programmers tend to call that a module, or just "a bunch of source files"? Or perhaps a unit (which, judging by your link, would be as technically incorrect as "module")? 81.131.48.116 (talk) 23:13, 3 April 2010 (UTC)[reply]

Network issues

I'm having serious problems. I'm on Wichita State University's guest network, and I'm having trouble (despite a full wireless signal) getting the internet to function. I ran a few diagnostic tests, and they told me

I'm lucky to have gotten to here to ask how to fix it, as it took me 45 minutes to get the connection to function long enough. Web pages will load partly, then not finish loading or will not even start loading and return the "Connection timed out" error. All of this is happening with a full and strong signal. I may, if I'm lucky, get a small burst of .5% network utilization. What's going on with this connection, and how do I fix it? --Ks1stm (talk) [alternate account of Ks0stm] 14:04, 3 April 2010 (UTC)[reply]

You certainly do seem to be having a problem of some sort. I deleted about 6 duplicates of this post. --Phil Holmes (talk) 14:29, 3 April 2010 (UTC)[reply]
First, we need to establish if the problem is on your computer or with the network. The easiest way to check that out is probably to talk with other computer users nearby, to see if they are also having problems with the network. Note that just because it says you have a strong signal, that doesn't necessarily mean the network is running (or running well). If you have any other way to access the Internet from your computer, try it. This could be dial-up, or, if it's a laptop, by taking it to a location with a different network.
So, if it's the network that's at fault, just contact the system administrator and tell them about the problem, there's nothing more you can do at your end. If it does seem to be a problem with your computer, then come back, tell us the steps you took, and we may be able to make further recommendations. StuRat (talk) 15:45, 3 April 2010 (UTC)[reply]
I'm going to hope and pray that this doesn't duplicate post...sorry about that...it didn't even load the page with my changes on it, it just quit loading before it moved away from the editing page, so I thought it hadn't gone through. Once I finally got through to the page, it logged me out (which I notice it has done again) and I couldn't rollback my changes. I checked with the only other computer user in the area, and they said the internet is working for them, but excruciatingly slowly. On my computer, it just quits loading the page and times out. In the task manager it registers a tiny little blip of network utilization, then nothing until I refresh the page or try again. I can't access the internet any other way, so I can't check via that method. Is there anything I can do to fix this, or is it a network problem? Also, if it is a network problem, how do I tell the system administrators without the same problems affecting my attempts to communicate the problem to them? 156.26.255.7 (talk) 16:51, 3 April 2010 (UTC)[reply]
It does sound as if the problem is at the University connection to the internet. Do they have any internal servers that you are allowed to view, or an internal e-mail system? I suspect that your connection is low in priority when allocating a limited internet bandwidth. I get similar problems with my internet connection (delivered via a series of microwave links). Dbfirs 17:10, 3 April 2010 (UTC)[reply]
I found a temporary solution (except for when saving edits) where I just copy the url I want to go to into the address bar, hold down enter while watching the Task manager networking graph thingy, and when it spikes, I let up the enter key and it will load my page. It's as if I have to ping the network over and over again with the same request until it finally responds. Ks0stm (TCG) 17:21, 3 April 2010 (UTC)[reply]
That sounds a useful trick! I'll try it when my connection is playing hide-and-seek with me. Does anyone know exactly how DNS servers behave when there is insufficient bandwidth or connections available? Dbfirs 18:25, 3 April 2010 (UTC)[reply]
It sounds like there is a slow network, which causes your computer to time out on the connection. Perhaps someone else knows how you can make your computer wait longer before timing out. As for letting the network administrator know, I looked up their phone number, but it seems you will have to wait until Monday morning to get any help:
User Services Helpdesk
The User Services Helpdesk is one source of 
contact for information, to report technical 
problems, and to dispatch assistance.
Contact Information
The Hours of Operation are Monday-Friday, 
8:00am to 5:00pm.
3 WAYS to summon HELP
  1.      Call WSU-HELP (978-4357)
  2.      Fill out an Information Request Form
  3.      email helpdesk@wichita.edu
Always provide the following:
   * Name
   * Phone number where you can be reached (Land line preferred)
   * Brief description of the problem
We will respond as quickly as possible. 
Every call and on-line request is important. 
These requests are logged and prioritized 
based on the problem. While every effort 
is made for a quick response, demands of 
time and resources may result in delays 
of service.
So, you may be out of luck until Monday. StuRat (talk) 23:43, 3 April 2010 (UTC)[reply]

Scan specific folder

So in Windows 7 you can scan a drive for errors. But I have a folder where I know there's an error (because every time I try to open it, I get an error) so can I just scan that one folder instead of scanning the entire drive which is take hours? —Preceding unsigned comment added by 82.44.54.207 (talk) 15:13, 3 April 2010 (UTC)[reply]

The issue is that the error(s) may not be limited to the folder, especially if the folder is spread over many small areas of the disk, due to disk fragmentation. So, you'd better bite the bullet and scan the whole disk, or you may be in for future problems. StuRat (talk) 15:38, 3 April 2010 (UTC)[reply]

Alternatives to "solid compression"

I often use the "solid compression" option in rar and 7zip because I'm compressing many thousands of similar files, many of which are over half the same exact data in each of them with only a few tiny changes here and there. Because the files are so similar, the solid compression gives great space saving results. I was wondering, does something similar to solid compression exist but without the actual compression part? For example a way to store many similar files by scanning them and only writing a set of data once instead of saving the same data over and over for every file that has it? I hope that makes sense. —Preceding unsigned comment added by 82.44.54.207 (talk) 15:53, 3 April 2010 (UTC)[reply]

You could store a reference file and then diffs between it and each subsequent file. A smart utility to do this would search for favourable reference files (that's fairly expensive to do, but has no cost at decompression time), would reject diffs that were uneconomic, and would LZcompress the reference file(s) and all the diffs. But, as this seems to be a fairly specialist circumstance, I don't know of (and rather doubt that there exists) a general archiver that does this for you (there are binary delta compression programs, but they're really setup for patches). If you know a bit of coding, this wouldn't be rocket science to do yourself. -- Finlay McWalterTalk 16:05, 3 April 2010 (UTC)[reply]
Old algorithms for storing (Asian) fonts worked in a similar way. The common elements are defined once and the actual characters are created by overlaying the common elements. --91.145.72.188 (talk) 16:34, 3 April 2010 (UTC)[reply]
Storing repeated data once and referring to it multiple times *is* compression. In fact, one of the most frequently used compression scheme, Lempel–Ziv–Welch, is nothing but that (well, that and a clever trick so that it doesn't have to store the lookup dictionary separately). The algorithm scans through the files and makes a dictionary representing chunks of the file. When a chunk is repeated, it can then add a flag telling the decompression utility to look up the chunk in the dictionary. As I understand it, solid compression refers to nothing more than treating multiple files as a single unit to be compressed, so that the already created dictionary for one file can be reused for another. This is opposed to "traditional" compression utilities like gzip which work only on single files, and require other programs (like tar) to package the files together first. If I'm understanding your question correctly, you would like to have the space-saving properties of a solid compressed file, but be able to refer to each component individually and natively, like it wasn't in a compressed archive. For that I would suggest a disk compression utility - these are special device drivers which sit between your operating system and your disk, allowing the OS to access files like they were separate, uncompressed files, but having the on-disk space saving effects of compression. However there is an inevitable disk slow-down as it takes time for the files to be put back together. -- 174.31.194.126 (talk) 19:22, 3 April 2010 (UTC)[reply]

Office with frontpage

What is the difference between "Microsoft Office XP Professional with FrontPage" and "Microsoft Office XP Professional with FrontPage-stuff9"?Efort919 (talk) 19:36, 3 April 2010 (UTC)[reply]

Where are you seeing this "stuff9" addendum. The only places I can find with Google are all to do with illegal pirate versions available from torrent sites. -- Finlay McWalterTalk 20:20, 3 April 2010 (UTC)[reply]

It could just be a tag for credit. Many pirating entities like to specify who made it happen. ¦ Reisio (talk) 01:42, 4 April 2010 (UTC)[reply]

Password-only Joomla resources

Hi. There's a website using Joomla, with a http://resources.example.org subsite (also using Joomla), but in order to access any of the documents, you need a password. Their office won't be open until Tuesday; is there anything I can do in the meantime to intiuitively work out the download URL? Thanks! ╟─TreasuryTagduumvirate─╢ 19:50, 3 April 2010 (UTC)[reply]

I've just found out that it uses the 'Docman' extension if this helps? ╟─TreasuryTagLord Speaker─╢ 21:48, 3 April 2010 (UTC)[reply]

Firefox will not print all of webpage

When I tell Firefox to print the webpage I'm looking at, it only sends the beginning of the webpage, the part that is visible in the browser window without scrolling, to the printer. It does not send the remainder of the webpage, that you would have to scroll down to see, to the printer. All three versions of Firefox that I've used have done this. How can I fix this problem please? Internet Explorer, when looking at the same webpage, prints the whole page and does not have this problem. Thanks 84.13.45.122 (talk) 20:12, 3 April 2010 (UTC)[reply]

I've just tried the latest version of Firefox (3.6.3) and it happily printed a 3-page "page". Dbfirs 20:47, 3 April 2010 (UTC)[reply]
It's been doing that for all versions I know. Are you (84.X) sure that you use the print function of the browser (File->print) and not a Windows "Print window" function (which maybe IE intercepts and reinterprets)? --Stephan Schulz (talk) 22:13, 3 April 2010 (UTC)[reply]

Yes, I am sure. 89.243.37.199 (talk) 22:18, 3 April 2010 (UTC)[reply]

It does print OK for some pages. It does not like printing all the search results obtained from this page http://www.gassaferegister.co.uk/ after entering a postcode. I get one page with two blank pages. I found this: http://kb.mozillazine.org/Problems_printing_web_pages but nothing jumps out at me as being a solution - perhaps an expert would understand more. 89.243.37.199 (talk) 23:18, 3 April 2010 (UTC)[reply]

can't burn file to CD-R

Hi all - having problems burning some files (I believe they are CDG files) from my computer onto a CD-R. The files all play fine on windows media player on my computer. When I burn them on to CD-R the files all burn fine but when I try to play them in my karaoke machine the song counter starts counting as if it were playing a song but there's no sound - and yes the volume on the player is turned up! The files are compressed - does that make a difference? Cheers. RichYPE (talk) 20:52, 3 April 2010 (UTC)[reply]

Could it be copyright protected ? StuRat (talk) 23:22, 3 April 2010 (UTC)[reply]

April 4

Semi-unresponsive key

I have a Macbook from c. 2007. And the r key is not as responsive as I would like. When I hit it directly, it types; but if I press down on the lower right corner of the key, it doesn't type. All other keys work fine when I press them that way. (As a result, I find that r often gets accidentally omitted while I'm typing.) What to do? --Lazar Taxon (talk) 01:43, 4 April 2010 (UTC)[reply]

Some options:
1) Try cleaning the old keyboard. First hold it upside down and shake it. If that doesn't do any good, pry off the key and clean the contacts with a cotton swab and alcohol.
2) Learn to live with it. (That's probably what I'd do.)
3) Buy a new keyboard. StuRat (talk) 01:47, 4 April 2010 (UTC)[reply]

Ugly DOS charset

One thing I've noticed on a laptop I have is that the extended ASCII characters display in a very ugly way. Is there any way to change the way the characters display? I'm in MS DOS 6.22 running on a Toshiba Satellite T2130CT. 76.117.247.55 (talk) 01:59, 4 April 2010 (UTC)[reply]

Can you describe these ugly characters ? On the usual ASCII code page, characters 128-255 give you lots of special characters for creating single line and double lined rectangles. There are also the card suit symbols (♠ ♣ ♥ ♦) and some other characters. Here it is: Code page 437. StuRat (talk) 02:07, 4 April 2010 (UTC)[reply]

Making a laptop a wi-fi hotspot

I need to make my laptop into a wi-fi hotspot so that my DS can connect to Nintendo WFC. Googling turned up several sites which said to create an ad-hoc wireless network, which I did. However, after locating the network, when I tried to test the connection on my DS, I got error code 51300. I confirmed that I'd entered the right WEP key, but it still wouldn't work. How do I set up a wi-fi hotspot using my laptop, without having to buy a wi-fi router, to which I can connect my DS? --70.129.184.122 (talk) 02:21, 4 April 2010 (UTC)[reply]