Jump to content

Wikipedia:Reference desk/Computing: Difference between revisions

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


= July 9 =
= July 9 =

== Certified Ethical Hacker ==

I want to know about the Certification in Ethical Hacking?? what are its scope and limitations and from where it should be done so as to get the maximum result..

Revision as of 04:19, 9 July 2009

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:



July 3

Does anyone know of a good macro program?

I would like a simple program thats free and accurate. The program should be able to record and play back macros for keyboard and mouse. Im looking for something with a low file size, but its not a neccessity. Does anyone have any good programs for this?

I use Windows Vista Home Premium 64 bit version, if that helps.

209.240.240.230 (talk) 00:07, 3 July 2009 (UTC)[reply]

(Sorry for the delay, I've only just come across your question!) AutoHotKey will record macros and play them back, and has quite a small size (the program itself is 2.5MB and the macro files are usually under 5KB); but you need to do a little work between recording and playing back to choose what key combination you want to make the macro start. It should be pretty easy, though - I haven't recorded macros myself, but going by http://www.autohotkey.com/forum/topic7008.html it sounds like it's just a matter of adding two lines to the code. http://www.autohotkey.com/docs/Hotkeys.htm has instructions on formulating the two lines. AJHW (talk) 10:55, 9 July 2009 (UTC)[reply]

Morphing

I just purchased morpheus morphing software because I want to take two pictures and ad the nose or eyes of one person and replace the nose and eyes on another person and make it look like another person as a picture. But so far all I can do is make a movie of the two pictures transitioning one after the other. How do I change the features of a person's face and body and make it look like another person without looking all cut nd pasty? Is this called something else besides morphing? —Preceding unsigned comment added by 71.137.242.85 (talk) 00:30, 3 July 2009 (UTC)[reply]

Just to confirm, Morphing is literally changing one image into another so I'm afraid you're looking at the wrong sort of software, but I don't know if what you want to do actually has a name. ZX81 talk 11:45, 3 July 2009 (UTC)[reply]
Check out Morph Age 4 Pro. You can morph between two different movies (as well as stills). --70.167.58.6 (talk) 02:34, 9 July 2009 (UTC)[reply]

Attempts to access TCP port 445 and 135

Today, someone with a residential DSL IP kept trying to connect to ports 445 and 135 on my network for an hour or longer, and I'm not running any kind of peer 2 peer software. My router's firewall continued to block the attempts to access the ports. I've had my IP address for a couple of months. Apparently ports 445 and 135 are commonly abused by hackers. What are the chances that the IP was trying to hack in? PCHS-NJROTC (Messages) 02:29, 3 July 2009 (UTC)[reply]

Oh, 100% or so. See the ShieldsUP 445 page for some information/ranting about it. I'm glad to see you have a router; keep it between your computers and the wall port, and you have nothing to worry about. Tempshill (talk) 04:26, 3 July 2009 (UTC)[reply]
Note Steve Gibson, the Shields Up guy, is pretty kooky and you shouldn't worry about his constant fearmongering. This was definitely a hacking attempt, though. -- BenRG (talk) 22:01, 3 July 2009 (UTC)[reply]
That IP address isn't necessarily owned by a hacker. It could well be a PC that is infected with a virus or worm that tries to infect other computers at random IP addresses. Lots of worms out there that do that. E.g. the somewhat famous Blaster worm spread through port 135. 62.78.198.48 (talk) 09:27, 3 July 2009 (UTC)[reply]
Right. It's likely not a "hacker" in the sense of a guy in a basement looking to get your secrets anyway. It's an infected machine, trying to infect you. --98.217.14.211 (talk) 13:43, 3 July 2009 (UTC)[reply]

Standard attempt for an infected host to infect you with malware. Go into your router settings and set it so there is no reply on a ping or something. The infected host gets a reply from your ip, then trys to access those ports. No reply=no attempt. Ivtv (talk) 03:50, 8 July 2009 (UTC)[reply]

editing firefox add-ons

How do I edit the .xpi files? -- penubag  (talk) 07:46, 3 July 2009 (UTC)[reply]

Change the extension from .xpi to .zip, then you can open the file in a program like WinRAR or 7zip. 8I.24.07.715 (talk) 08:49, 3 July 2009 (UTC)[reply]
I do not know anything about .xpi files, but if they really are simple .zip files (but with a strange extension), Windows Me and later versions (e.g. XP, Vista) can open them as well. --Andreas Rejbrand (talk) 15:25, 3 July 2009 (UTC)[reply]
Thank you. That helps a lot! -- penubag  (talk) 06:10, 8 July 2009 (UTC)[reply]

help regarding the asteganography project

i want to do my project on "steganography on vedio containers" can i get any source code for image container steganography —Preceding unsigned comment added by Sandeepborra (talkcontribs) 10:06, 3 July 2009 (UTC)[reply]

Facebook's insides

Sites like Youtube have the videos "available" for download (if you know where to look) in formats resembling the original formats (though probably converted and compressed to a certain degree). Is anything known of this for Facebook? I'm mainly wondering about the images, which I sometimes want to download from a profile but the visible resolution is incredibly small, even when the upload was quite large (images are resized after upload, though obviously the originals might be deleted). Any help is appreciated, thanks! 210.254.117.186 (talk) 10:29, 3 July 2009 (UTC)[reply]

I afraid I don't think any higher resolution images exist (it's just not in their interest to store them because of the amount of disk space it'd consume and there's no wording in the privacy policy to say they're storing a higher resolution version), but I'm afraid I disagree with you on the part about images being resized AFTER upload. If you do the "simple file upload" then yes that's correct, but if you use the Facebook Photo Uploaded ActiveX control, all the resizing is transparently done before it's uploaded. This is easily verifiable because in my case I take my pictures at 10 megapixels (~4Mb each) and it will happy upload ~300Mb of images in less than a few minutes and my ADSL upload speed is nowhere near fast enough for that (should take well over an hour). ZX81 talk 11:42, 3 July 2009 (UTC)[reply]
Hard to argue with your empirical observation about the ActiveX uploader, that's good data. I'd argue against your claim that it's not in their interest to store higher-res photos. Big disks are really cheap. Cheap enough for YouTube to have decided, before their recent "HD format" player, to keep the original higher-res uploaded videos around, at the time when they were recompressing the crap out of every video that got uploaded. When they eventually debuted the "HD format" player, bang, they suddenly had all this content in a higher resolution and did not have to just be "the video site of low res". Tempshill (talk) 16:51, 3 July 2009 (UTC)[reply]
Yes you are quite right, I forget how cheap disk space is these days (I've got 4 x 1 Tb disks in my workstation and it really didn't cost all that much). I suppose thinking about it that it is possible they're storing a slightly higher version of the images for future use (although not necessarily as high as the originals), but if they are they haven't mentioned that and it doesn't seem to be web accessible. ZX81 talk 17:30, 3 July 2009 (UTC)[reply]
I've used both the Java uploader (Firefox here, so didn't even know an ActiveX uploader existed) and the regular file uploader, and probably simply because I've never thought about it, I never noticed a difference; I'll keep that in mind next time. Mind you, all of my photos are ~5megs, and I resize them to a more reasonable size anyway, because Facebook never lets me upload photos that large. Thanks for the comments! 210.254.117.186 (talk) 08:06, 4 July 2009 (UTC)[reply]

What happened to my Copy Response Body option in Firebug's Net tab?

Using Firefox 3.0.11 on Jaunty (Mozilla Firefox for Ubuntu; canonical - 1.0) and Firebug 1.3.3. I know it was there a week ago, but it just disappeared! I can no longer right-click on a link (or the Response tab or whatever) and select Copy Response Body. The option isn't there. There's only Copy (doesn't do anything), Copy Location and Copy Response Headers.... --205.174.162.243 (talk) 19:09, 3 July 2009 (UTC)[reply]

Turning off DEP

I am having a problem in which DEP keeps attempting to shut down IE8. I have added it to the list of exceptions, but it continues to pop up. All anti-Internet Explorer statements aside, how can I fix this once and for all? --74.46.74.205 (talk) 19:09, 3 July 2009 (UTC)[reply]

See : http://www.bing.com/search?q=Data+Execution+Prevention+internet+explorer+8&src=IE-SearchBox&FORM=IE8SRC
Plug ins seem to be a major cause of it triggering. including java flash etc - you may need to add those to the list of exceptions? (someone should clarify this)
Alternatively you can turn it off. [1]
83.100.250.79 (talk) 19:23, 3 July 2009 (UTC)[reply]
Before starting it might be a good idea to check the boot file to make sure DPE is set to "opt out" [2] - might be different for vista - see also BCDedit - below. —Preceding unsigned comment added by 83.100.250.79 (talk) 19:57, 3 July 2009 (UTC)[reply]
(If it's vista this [3] to check what is and what isn't using DEP. In XP DEP can't be shown in the task manager.)
If it's behaving erratically one suggestion is to reinstall IE8, or you could just use IE7 [4] 83.100.250.79 (talk) 19:33, 3 July 2009 (UTC)[reply]
As a last resort see [5] , [6] which describes what BCDedit.exe is, and how to use it to totally turn DPE off. Don't do this - try other options first. If you get this far, and nothing works (including the reinstall) - try microsoft support - but search the index first.
Hint try uninstalling your plugins (shouldn't do any harm and they are easy to get back) eg java, flash, google toolbar are probably there. See if that fixes it, if it does add them back one by one to see which is problematic.83.100.250.79 (talk) 19:42, 3 July 2009 (UTC)[reply]

Delphi Debugging Tips?

I am currently debugging a rather complicated piece of Delphi code. Placing a breakpoint before the most interesting part of the algorithm, I step the code one line at a time. Eventually, I end up on a while expr do statement, and the expr expression is obviously true, for it is or'ed with a trivially true statement. Yet, the program appears to skip the entire while block, as if expr had been false. I have experienced similar odd behavious previously, and, if I remember correctly, this has been due to some sort of "silent access violation", e.g. trying to access s[4] in a string s with length(s) = 3. This time it is rather difficult to pinpoint the source of the problem, due to the complexity of the code. Is there any debugging trick I can utilize to find the (potential) problems? --Andreas Rejbrand (talk) 20:26, 3 July 2009 (UTC)[reply]

Resolved
While...Do loops test at the top of the loop....are you certain the condition is true before the first pass of the loop? is there any need for the ORing? it seems you always want this loop to happen, but it eventually counts down to a False condition that stops it. So replace it with a Repeat....Until, which must always execute at least once, as it only evaluates the condition at the end of each pass. When a pass has just turned the condition to False, it will evaluate as such and not run again.
To test your variable, put a Watch on its value immediately before the While loop and at every line of code thereafter. Or put code at every relevant line to display the value of the variable on screen, with a Break after the non-working loop, and run the program.- KoolerStill (talk) 08:35, 4 July 2009 (UTC)[reply]
Yes, it did not run the block even though the condition certainly was true. I traced the code line by line, and it just skiped the block. However, it works now (even though I have not changed anthing in the code!). Perhaps the debugger displayed the current version of the source code, but ran an older version of it, or something like that... --Andreas Rejbrand (talk) 11:54, 4 July 2009 (UTC)[reply]

Spider Web Evolution Program

Hi, I remember reading quite a while ago about a computer program that mimicked the evolution of spider web designs. Essentially you started off with "spiders" who drew random designs of "webs", then "prey" items were thrown at the "webs" and if sufficient were caught the spider could survive and breed with a random other surviving spider, but the "webs" of their offspring would be some kind of cross between the two initial successful designs. Each generation had to catch more prey items to survive. Apparantly from a completely random start within about 20 generations the webs were basically identical to real spiderwebs and as efficient.

I'd be very interested in runnning this program - does anyone know if it (or a clone) was publically released and/or available online? Exxolon (talk) 21:06, 3 July 2009 (UTC)[reply]

A search for "spider web genetic algorithm" turned up Analysing Spider Web-building Behaviour with Rule-based Simulations and Genetic Algorithms from 1997 (the download link is broken but the CiteSeer cached copy works). The program was written in Smalltalk on a Power Mac 8100. Nothing about a public release, but you could try asking Vollrath, who's now at Oxford. -- BenRG (talk) 22:25, 3 July 2009 (UTC)[reply]
Could be that. Googling isn't helping me much as I'm getting a lot of irrelevant web spider type results. I was hoping for some kind of free version to run on a pc (I don't own a Mac) - thanks for the info anyway. Exxolon (talk) 12:33, 4 July 2009 (UTC)[reply]
Hmm - looks like they haven't released it to the public according to [7] - oh well. Exxolon (talk) 12:56, 4 July 2009 (UTC)[reply]
Seriously, email Krink and/or Vollrath and ask for a copy. They will probably send you the source code if they still have it, and you could probably get that working on a modern PC Smalltalk like Squeak. -- BenRG (talk) 10:56, 5 July 2009 (UTC)[reply]

Use PSP for both music playback and GPS?

As the map data on my satnav is quite out of date and the map update for it is both itself quite old, and quite dear, I'm thinking about buying a new one

I'm quite drawn to Sony's Go!Explore, as I already have a PSP, but I'm dithering over it. One thing that'd make my decision easier is knowing whether I can still use the PSP for playing back music at the same time as navigation - that'd mean one less thing cluttering up the car.... does anyone know if it can?

Cheers, davidprior t/c 21:19, 3 July 2009 (UTC)[reply]

LCD vs CRT VGA ouput

Just a quick question: Using the intel software for the 945 graphics chips I find that when examining the properties of an attached LCD TV it has its display type as CRT. (Another device is LFP - liquid flat panel)

If the chip thinks it is a CRT will that effect the output? (the default display is a little bright, but otherwise seems well set up)

Also in the same properties box the gamma is said to be 2.2 or something, but in color correction the gamma is clearly 1.0 - is the colour correction gamma applied on top of the of another unseen gamma?

Also I'd like (for fun) to be able to make the display black and white - I can only find gamma brightness and contrast settings - is there a way? Thanks.83.100.250.79 (talk) 22:09, 3 July 2009 (UTC)[reply]

To briefly summarize, before going in to horrible details, the answer is: "Probably, the mis-identification has no effect on signal quality or anything else." But, there is always a slight chance that it may, so here are some gory details.
The video system you are using is VGA over a DSUB cable. (If you are using a DVI or HDMI system, most of the following still applies, because the DDC channel is logically identical to the VGA-DDC version). This connector cable actually contains two "separate" information channels:
  1. VGA video data, (unidirectional, from computer to monitor); and
  2. Display Data Channel, the digital link that provides text and other information about the monitor to the computer. This is the system responsible for identifying the monitor to the host computer (and it is the monitor's "fault" for incorrectly identifying itself to the computer). The DDC controller can be either unidirectional (monitor-to-computer) or bidirectional (able to identify the monitor and receiver commands from the host PC).
LCDs or CRTs that accept VGA input signals accept the same type of signal, but you should be aware that there are several "allowable tolerances" for VGA control signals. CRTs, in my experience, are more lenient about the timing errors allowed (they will display with glitches rather than fail to display anything). Many LCDs (and some CRTs) will detect such borderline-allowable timing glitches and perform a safe shut-down (or display a "Bad video signal" or "invalid frequency" error message). In any case, this should not be a problem if you are using a 945 (which should put out video control signals that are right in the center of the allowable ranges at all resolutions and refresh rates - see below about possible, simultaneous-pathological-design-flaws).
I'm not familiar with the Intel 945 specifically, but most modern VGA controllers separate out the video control from the monitor's digital report (that is, the analog VGA hardware is completely distinct from the Display Data Channel system). The operating system may "choose" to believe the reported data (typically, monitor type, manufacturer, and acceptable resolutions and refresh-rates). However, the "contract" of VGA does not require this, and the operating system may prefer to disregard that DDC identification (or merely display it to you, the user).
If the operating system (or video driver) chooses to believe the DDC data, it will typically use that information to "guide" the video options available (such as only allowing the user to switch to acceptable resolutions). These are often manually overrideable (depending on your video device driver). This is the most common mode of operation. Most likely, your system falls into this category - an invalid monitor ID was sent to the host PC, but your video system didn't change anything or care.
It is also possible, however, that using bidirectional DDC2 with command interface, that the hardware will automatically and directly send resolution changes or other commands to the monitor. This requires that the video driver (or hardware) on your PC chooses to send commands; and also requires that the monitor accepts those commands. The monitor is not responding properly (clearly, it is misidentifying, so we can assume that the monitor DDC controller is not 100.0% correctly implemented). Hopefully, this means that it will not listen for commansd; and also, hopefully the 945 will not send any invalid commands; and hopefully, if commands are sent anyway, the monitor will ignore them. I'm not specifically familiar with the 945's behavior contract (here's the Mobile 945 Express datasheet - you can search for your particular chip - it appears that the 945x will allow a device-driver to issue bidirectional commands to the monitor). So, it can't be guaranteed whether these "hopefully" statements are true or false - (it depends on your device driver software and your monitor). In the pathological case, where several engineering teams from several manufacturers (OS, video driver, chipset hardware, monitor hardware...) all simultaneously failed to design error checks in their products, it is possible that a bad DDC command can be sent to the monitor and cause invalid output and/or irreparable damage. But, this is very unlikely). You can read about the 945's DDC2 mode on pg. 373 of the datasheet.
So - in conclusion, you probably have nothing to worry about. Most likely, your PC will simply ignore the incorrect monitor ID, output a standard acceptable VGA signal, and you will never notice any difference.
As far as the output of only black-and-white, you have many options for this. The easiest way to do this is to write software which only uses black and white (or grayscale) on screen. If you want all software to show up in grayscale, you might be able to write a simple video driver (but this is not easy or fun for most people). Or, you can buy a graphics card or a monitor which allows you to turn the saturation (color) all the way to zero. Or, if you're handy with a soldering iron (and particularly brave), you could splice up a VGA cable that combined the RGB analog voltages in this fashion:


       ____________             
R ----| +1/3       |           /---R
G ----| +1/3       |-- (out) ------G     (to monitor)
B ----| +1/3 Adder |           \---B
      |____________|
          


where the box in the center is a 3-input analog adder circuit like this one. Have a look at VGA connector for the default wiring diagram. This will cause all VGA monitors to see a black-and-white (grayscale) signal, by literally hardwiring the R-G-B values to be always equal. Nimur (talk) 18:44, 5 July 2009 (UTC)[reply]
(If you haven't had enough, here's the Display Panel Debugging with the Intel Graphics Memory Controller Hub. It's for the 800 series including the 845 which is "almost the same" as the 945 ... this app note "may" be too technical for your needs. Nimur (talk) 19:05, 5 July 2009 (UTC) [reply]
Thanks! I haven't been able to find out if the data link is bidirectional - except that the computer reports that it cannot control the monitors power off settings etc so I guess not. The rest of the monitor info seems right - eg it sends the right resolutions, brand name etc..
As for all black and white - I think the adder would be the easiest bet, assuming the sync signal is separate which I think it is /it is. I'll probably give that a miss for now, the driver solution would be better, but I wouldn't know where to start.
Assuming then that the colour encoding via 'VGA' is the same for CRT and TFT (with the correct gamma provided), I wonder if the manufacturer just set the type to CRT to avoid having to take into account stuff like lcd backlight intensity control - it occurs to me that the TFT monitor may be emulating/pretending to be a CRT monitor, so to speak, for simplicity. (and backwards compatability even?)
It's curious that chipset doesn't seem to support greyscale - at least I couldn't find it, though I can't really think of when it would be useful.83.100.250.79 (talk) 23:43, 5 July 2009 (UTC)[reply]


July 4

Neurotypical computer scientists/programmers

What famous computer scientists or programmers, if any, have been conclusively determined not to have ADHD, autism-spectrum disorders or Pervasive Developmental Disorder? NeonMerlin 00:07, 4 July 2009 (UTC)[reply]

Normal people don't need tests to determine normality - your question is kind of weird in that respect - however as far as I know Niklaus Wirth, Edsger W. Dijkstra, Dennis Ritchie, Bjarne Stroustrup have never been suggested to be neuro-socialially challenged.83.100.250.79 (talk) 00:41, 4 July 2009 (UTC)[reply]
Which means to say, they've never eaten pieces of skin off their foot during a class lecture. --156.34.71.129 (talk) 01:55, 4 July 2009 (UTC)[reply]
Dijkstra was a little 'out there'...he definitely seemed like an Aspie of some variety. I met him a couple of times (we both worked for Philips Research) - and I was on his 'mailing list' for a while (by which, I mean, he mailed me stuff that he wrote...about twice a week!) Only very rarely did he type his technical documents - he liked to invent his own symbols - so pretty much everything was hand-written, photocopied and posted out to whoever happened to be on his list. He had the most perfect handwriting you ever saw - then one day, you'd get a letter in different - but equally beautiful handwriting that starts "My left hand could use some practice". A fascinating guy.) SteveBaker (talk) 03:41, 7 July 2009 (UTC)[reply]
Being famous implies that the person will be assumed to have a disorder. When a normal person does something such as state a preference for banana and peanut butter sandwiches, it is just considered a taste preference. When a famous person does the same thing, it is considered a weird eccentric result of some deeper psychological disorder. Therefore, all famous people are believed to have a disorder of some kind. -- kainaw 14:34, 4 July 2009 (UTC)[reply]
Kainaw....you have to be kidding. Some famous people have their eccentricities blown out of proportion, but by no means are "all famous people...believed to have a disorder of some kind." You're just plain wrong. And more to the point, a "famous" computer scientist or programmer probably isn't famous enough to have the kind of media-visibility required for the type of (non-existent) phenomenon you described to occur. Your distinction between "famous people" and "normal people" is a bit strange in itself. Famous people ARE normal people (for the most part), they're just really well known. --Shaggorama (talk) 17:16, 4 July 2009 (UTC)[reply]
I think there's a distinction between 'famous in the field' and 'famous in the public eye' to be made here.
We're here My boyfriend has Asperger's Syndrome, and now I think I might have it as well. How do I talk with him about this? are we not? 83.100.250.79 (talk) 18:04, 4 July 2009 (UTC)[reply]

Unable to Login Into Wireless Router Configuration Page (Using Firefox)

Hello everyone! I hoping you could help me with a problem I'm having. This computer (connected via Ethernet) cannot login to configure the network but any of the computers in my house connected wirelessly can login. (Yes, I am using the right user name and password) Could anyone offer an explanation for this and some solution(s)? Thanks. [I just discovered this today but I haven't attempted to login for several days so the problem may have appeared anytime within the last week]--Xp54321 (Hello!Contribs) 03:06, 4 July 2009 (UTC)[reply]

For some reason I can't login using Firefox [3.5] but I can login through other browsers like Google Chrome or Internet Explorer. Strange... Does anybody have any possible explanations for this? And hopefully some solution(s)?--Xp54321 (Hello!Contribs) 03:15, 4 July 2009 (UTC)[reply]

I don't know. You didn't say the brand of the router or what it says when you can't log in.--WinRAR anodeeven (talk) 03:43, 4 July 2009 (UTC)[reply]
Apologies; it's a Westell router and the message it states is "Login failed, please try again: " Though I just tried it and another error message appeared mentioned cookies being disabled. (I have third-party cookies blocked but cookies from sites are still allowed; I tried to login again but with third-party cookies enabled and the login still failed)--Xp54321 (Hello!Contribs) 05:13, 4 July 2009 (UTC)[reply]
Hmm - if you know when you were last able to login you could use system restore to roll back your pc to that point. Maybe you installed/changed something that borked your connection - this might be faster than trying to dig out the exact problem? Exxolon (talk) 12:31, 4 July 2009 (UTC)[reply]
Resolved

--Xp54321 (Hello!Contribs) 17:24, 5 July 2009 (UTC)[reply]

geforce gt220

I recently bought a new PC with a GeForce GT220 graphics card. Do it have a 40nm chip?
This is the PC: [8]. As far as I had known, the GT220 was not supposed to come out until after this summer ends, so you can imagine my suprise when I saw a retail computer with it! --hello, i'm a member | talk to me! 05:51, 4 July 2009 (UTC)[reply]

Probably (yes) see http://en.inpai.com.cn/doc/enshowcont.asp?id=6229 , sounds like you got number 1 .83.100.250.79 (talk) 15:07, 4 July 2009 (UTC)[reply]

YTMND audio loop problem

OK, so I was browsing some YTMND sites, but one thing that bugs me is the broken looping sound. Sites that are supposed to loop properly, i.e. LOL, Internet and many others, pause at the end and cut a bit of the beginning part. I'm using Firefox 3.5 and Quicktime 7.6.2; there had been at leat one thread in the forums describing the problem, but I couldn't seem to track it down and resolve it. Even other browsers don't loop wave and MP3 files properly. Any thoughts on this? Blake Gripling (talk) 06:13, 4 July 2009 (UTC)[reply]

VPN w/o tweaking router

Can I set up a VPN on a home compuer without making any edits to the router? I share itnernet use with a few others in the hosue and I don't own the router, so if I could set up a VPN on my terminal with just a software package or something like that without making any edits to the router, that would be ideal. Right now I'm looking at Gbridge. --Shaggorama (talk) 17:03, 4 July 2009 (UTC)[reply]

All traffic into your local network goes through the firewall. So, assume you set up VPN on your computer on port 5252. If I try to use it, I will hit your router on port 5252. It won't know what I want and I won't get anywhere. You have to configure the router to forward all traffic on port 5252 to your computer. Then, when I hit your router on port 5252, it will forward me to your computer and all will be great. This goes for ANY service you want to run on your computer, not just VPN. If you want someone outside of your local network to access your computer, you must have the router forward the traffic to your computer. -- kainaw 00:47, 5 July 2009 (UTC)[reply]
Actually there are a bunch of ways of doing this (see NAT traversal#See also for a list) and probably most VPN software supports some of those ways. The Gbridge web site seems pretty dumbed down and I couldn't find anything about NAT traversal, but chances are good that it will just work. -- BenRG (talk) 09:52, 5 July 2009 (UTC)[reply]
Wow, Gbridge includes a couple of things I wouldn't have thought to bundle (VNC, mainly). What about Hamachi? It shows up as Just Another Network Adapter, so you can Remote Desktop and file share over encrypted links. Unfortunately, Hamachi is owned by LogMeIn now, but the free version is still as functional as before it was bought.
All sessions are Point-to-Point, and don't require forwarding (sessions are initiated by the central server, then become Point-to-Point), so no encrypted streams pass through their servers, but both ends do need Hamachi running (it easily installs as a service and is fairly non-obtrusive). Washii (talk) 18:08, 10 July 2009 (UTC)[reply]

Steve Ballmer - lifestyles of the rich and famous

Without wanting to get in to the realms of invasion of privacy - I was wondering if Steve Ballmer has used any of his wealth on the usual stuff millionaires do - like a 4gigagallon swimming pool in the shape of the windows logo or something? The biography says nothing - not even a football team.83.100.250.79 (talk) 18:30, 4 July 2009 (UTC)[reply]

That would indeed be a freaky pool --Ouro (blah blah) 09:29, 5 July 2009 (UTC)[reply]
... and probably be leaking and generally unsafe to use ... 95.112.189.234 (talk) 14:36, 5 July 2009 (UTC)[reply]
Baller really loves Microsoft so he probably just puts all his money back into Microsoft :-P Oligomous (talk) 19:19, 13 July 2009 (UTC)[reply]

Edits

I got nothing for the title, but this is my question, is there a page that can tell me how many edits were made to Wikipedia on a certain day and then on that day what was the most edited article? Ever since MJ crashed Wikipedia I've been wondering what other days had a similar problem. Rgoodermote  21:25, 4 July 2009 (UTC)[reply]

Check out all the links at Wikipedia:Statistics. Tempshill (talk) 15:26, 5 July 2009 (UTC)[reply]

Let x be a Unicode character (or, a codepoint). Is there any simple way of obtaining a list of all characters similar to (or related to) x? Of course, often similar and/or related characters have codepoints close to each other, but this is only the case in a very restricted way. For instance, among the mathematical operators, you have "∫", "∬", "∭", ..., but the characters "⌠", "⌡" are found in Miscellaneous technical. An even more striking example is "-" (Minus-hyphen) in Basic latin, where you can also find "‐", "‑", "‒", "—", and "―", but we have "−" (Minus sign) in Mathematical Operators, "─", "━", "┄", "┅", "┈", "┉" in (Swedish:) Ramelement, and "-" in Fullwidth forms, and "﹘" in Small forms. It would be great with a website, where you can enter a character (or a codepoint), and a list of related characters is returned. --Andreas Rejbrand (talk) 21:41, 4 July 2009 (UTC)[reply]

Like this ? http://www.unicode.org/unibook/ it's a program not a webiste - but it definately seems to return all the different dashes, if you supply it with "-" , and has delete issues if you try to get rid of it.. :(
This works better and much easier:
or this http://www.fileformat.info/info/unicode/index.htm - select search, enter "-" and get the similar characters?83.100.250.79 (talk) 01:16, 5 July 2009 (UTC)[reply]
Here's the result for "∫" : [9] Seems to work..83.100.250.79 (talk) 17:24, 5 July 2009 (UTC)[reply]
A bit restricted for hyphen-minus [10], though. But thanks for both suggestions! --Andreas Rejbrand (talk) 20:29, 5 July 2009 (UTC)[reply]


July 5

How do i play the games stored on the hard drive of my chipped Xbox?

i have a chipped Xbox with several games on the hard drive, however, when i select them, the only options i get are; 'delete', and 'copy'. how do i play these games? —Preceding unsigned comment added by 211.28.43.197 (talk) 05:35, 5 July 2009 (UTC)[reply]

You're probably not going to get any information on how to play illegally copied games here, sorry. Exxolon (talk)
For what it's worth there is nothing inherently illegal about keeping games on the hard drive of an Xbox, (so long as you are in legal possession of the original media and hence a licensed user.) The illegal part is actually using the modified firmware that is required to coerce the Xbox into loading the alternative operating system and launching the games. The original code is of course copyrighted, and the modified code itself is not only an unlicensed derivative work but a violation of the Digital Millennium Copyright Act. So no, it's not quite as black and white as "you are stealing games", it's more like "Microsoft would really rather you not do that so here are a bunch more laws to choke on". --Jmeden2000 (talk) 17:55, 6 July 2009 (UTC)[reply]

Play speed

What media player would enable me to play music and video files at a faster speed than normal, but also let me adjust the speed? All the increase speed functions I've seen so far go too fast and distort the sound too much, and don't have precise settings, it's either "fast" or "slow" etc. -- —Preceding unsigned comment added by 82.43.91.128 (talk) 08:58, 5 July 2009 (UTC)[reply]

In Windows Media Player 11 (maybe 9 onwards) - select enhancements, play speed, it's fiddly to adjust though.83.100.250.79 (talk) 14:28, 5 July 2009 (UTC)[reply]
See [11]
Anything other than WMP? -- —Preceding unsigned comment added by 82.43.91.128 (talk) 21:38, 5 July 2009 (UTC)[reply]
vlc. --194.197.235.36 (talk) 22:41, 5 July 2009 (UTC)[reply]
I don't think you can speed up sound in VLC... Theleftorium 23:11, 5 July 2009 (UTC)[reply]
BSplayer has a playback rate feature, but I don't quite know what you mean by "distort too much" - if you change the rate of playback, the sound has to be distorted. Sandman30s (talk) 11:17, 6 July 2009 (UTC)[reply]
Thanks, I'll check that out. I mean that when the sound is speeded up it'll start to sound like chipmunks and I was hoping there would be a player that could compensate and reduce the pitch or something to make it sound more normal -- —Preceding unsigned comment added by 82.43.91.128 (talk) 11:37, 6 July 2009 (UTC)[reply]
chipmunks...lol. I was going to talk about laughing gas. Yeah, BSplayer's playback rate feature makes the original sound like a chipmunk or Darth Vader... I was going to suggest DJ software but then these don't typically handle video. Sandman30s (talk) 12:57, 6 July 2009 (UTC)[reply]
Probably means changing the tempo without changing pitch. I don't know about BSplayer but I'd guess changing the playback rate means the same thing. A machine that can do that is a great addition when playing dance music to cater for the skill of the dancers or the moves they're making, just a small adjustment up or down can make a big difference in the enjoyment. What happens is the fourier spectrum of the music is taken then converted back with a scale difference in frequency. and It involves distortion of course but mainly of phase which the ear can't detect. Dmcq (talk) 11:41, 6 July 2009 (UTC)[reply]
FOund an article about it: Audio timescale-pitch modification Dmcq (talk) 11:49, 6 July 2009 (UTC)[reply]

Just found out the latest release of VLC has the feature now! Fuck yeah! --

Does it really? It looked to me like they just had a way of speeding or slowing everything by some factor other than 2 but the pitch would still go up or down, i.e. you'd still get chipmunks if you sped it up. That would be for compensating for playback problems or where the user had overclocked everything on their pc without the software knowing. Dmcq (talk) 10:01, 8 July 2009 (UTC)[reply]

Jsp custom tags

I need to have a custom tag that has access to its inner elements. Actually I want a tag to be used instead of the HTML select. I would like to keep the structure of the inner option-tags unchanged but be able to read them, look at their attributes and modify the final output according to the specials of my application. I have lots of ideas for workarounds but I would like to do it the obvious way: in the doStartTag-method read the inner elements in a DOM-like way and then do what is necessary.

I have searched the net for two days now. Is there really no way to access the body elements of my tag? (I haven't tried evaluating the bodyContent into a string, write a parser and retrieve the object this way, I still hope there is a more straight approach.) 95.112.189.234 (talk) 12:19, 5 July 2009 (UTC)[reply]

running a c-programm

i have used turbo c for running my routine c-programms,now i have studied microcontrollers as well.in microcontrollers we burn the programm first and then controller runs the code picking instructions 1 by 1 from its rom.but what happens when i run a c-programm on turbo c.is it first saved (burnt)then its processed?i mean running of c-programm on pc involves how many stages! 119.152.53.191 (talk) 18:37, 5 July 2009 (UTC)[reply]

I think the answer that you're looking for is that the Turbo C compiler compiles the C source code into object code, and saves it to a file on the hard disk, called perhaps a.exe. Then when you use Windows or DOS to run a.exe, the a.exe file is loaded into RAM and then the processor picks instructions 1 by 1 from RAM and executes them. Does that answer the question? Tempshill (talk) 18:46, 5 July 2009 (UTC)[reply]
A crucial distinction is that most microcontrollers are hard-wired to begin running the executable stored at a particular location in memory. As soon as the system turns on, the microcontroller automatically jumps (sets the program counter) to that memory location and begins executioin. While PC microprocessors typically have similar hardwired logic for boot-up, you rarely design your programs like this. Instead, your system is already alive and running, with an operating system. The operating system handles the low-level tasks like loading the executable and jumping to its location; Windows and Linux and most other modern systems also use multitasking (which is a big difference from a simple microcontroller code, though you can multitask on any CPU or microcontroller). You interface with the operating system, and when you are ready to run a program, you request the operating system to load the executable and jump execution to it. (You might perform this request by typing the command into a shell or terminal; or by clicking on an icon; but ultimately, you are asking the operating system to do the program-load for you). Depending on your operating system, the method of that program load can vary. On Windows, the program is loaded into virtual memory, and then the operating system assigns a hardware thread to it (or emulates a hardware thread with software). This allows the program to run "simultaneously" while the operating system is still alive and in control of the CPU. If your program finishes successfully, (or if it crashes or does something that is not permitted), the operating system should resume control. Because Windows has an interruptable time-sharing kernel, you can multi-task - meaning that your executable program can run side-by-side with other programs that also need the CPU. The exact method for this type of scheduling is very complicated, but it boils down to this: at all times, one program is running (the operating system's thread scheduler or "Process Manager" on Windows). This program is a great big while(true) loop. It runs as long as the computer has power; and it checks if there is any work for the CPU to do. Your program, as well as any other programs or system tasks, get allocated a time slot, and are allowed to run for a little bit, and then are stopped. Their intermediate state is saved somewhere (usually in main memory in the kernel's thread table). The next program that has work to do is re-loaded, including any half-finished work from the last time it was allowed to run. This continues until all programs finish, and/or the computer is powered down. Nimur (talk) 19:43, 5 July 2009 (UTC)[reply]

WiFi, iPod and Email

I will be creating a temporary email for travelling use to send emails on public Wifis because i don't want hackers potentially sniffing and stealing my password to my real email. I will be using an iPod Touch and its default Mail application to check my email. With the application, my email and password is stored and each time I start the application, it logs into my email and retrieves all my mail. My question is, if the iPod does this, will this be the same as entering my email and password onto gmail or Hotmail in terms of being sniffed by a hacker? Hence, does this mean i should "remove" my real e-mail addresses from the Mail application on my iPod and leave only my temporary email account turned on? Acceptable (talk) 19:23, 5 July 2009 (UTC)[reply]

If you use gmail access over IMAP (I forget about POP3, but it's probably the same) the whole thing goes on secure sockets. I've used gmail+imap+iPodTouch quite a bit, and it's a nice combination, and pretty safe. I'd consider not entering your password in the config screen, which makes it ask for the password when you connect - that way, if your iPodTouch is lost in darkest Peru, someone can't (easily) know your password or read your email. 87.113.26.43 (talk) 19:48, 5 July 2009 (UTC)[reply]

July 6

ActiveX on Wikipedia

The company that I work for disabled Flash and ActiveX for all our web browsers about 6 months ago. Until recently, Wikipedia had no issues with this. Well, one small issue is that I never see the WP logo in the top left of the page. Anyway, something has possibly changed at WP because as of tonight, every time that I go to a new page, I get a warning saying that ActiveX controls are not permitted with my browser's security settings and that the page may not display properly. I can't change policy here at work but is there some work around for this on WP? Can I change one of my preferences here so that I don't get this message twice with every page here? (yes, I get the message twice with every page.) Thanks, Dismas|(talk) 00:30, 6 July 2009 (UTC)[reply]

This came up at WP:VPT#Why is there ActiveX on WP?. Algebraist 00:59, 6 July 2009 (UTC)[reply]
Well, that helped a little. I took the suggestion of disabling the auto suggestions in the search box and now I only have to clear that error message once per page instead of twice... Thanks for the link, Dismas|(talk) 02:47, 6 July 2009 (UTC)[reply]

Question on size of English Wikipedia

If one added up all text, images and other media in all the 2.7 million mainspace articles on en.wp, what would the total size be? Where can I find this out? Muchos appreciated RD. 99.231.25.27 (talk) 03:08, 6 July 2009 (UTC)[reply]

Wikipedia:Size of Wikipedia. Algebraist 03:10, 6 July 2009 (UTC)[reply]
Looked there already. It doesn't have it. 99.231.25.27 (talk) 03:17, 6 July 2009 (UTC)[reply]
The latest dump of the plain wikicode of all articles runs to five gigabytes (compressed). That doesn't include media files, some non-article pages, or history (the history dump was 2.8 terabytes last time it worked, back in '08). It's hard to find figures on the total size of media used on en.wikipedia, partly because many of them are hosted on commons. 03:26, 6 July 2009 (UTC)
To complicate things... Many of the media files are on commons, not wikipedia. So, does this question want to include only the media actually on wikipedia or all media pulled in from commons? -- kainaw 12:57, 6 July 2009 (UTC)[reply]

Missing file: NTDETECT

I recently deleted a file from my computer called "NTDETECT", found right in the C: drive. The computer runs Windows XP SP3. I had Googled the filename "ntdetect.exe", and the sites that came up suggested it was malicious, so I deleted it. Bah! Foolish of me! Apparently this is a necessary component for bootup. Next time I restarted, the computer was stuck in a bootup loop. It cycles through two screens:

  • One with the manufacturer logo which says
BOOT Menu: <F10>
BIOS Settings: <F2>
  • The other with the info on IDE, Bus Nos., Slave/Master designations, etc. which says at the bottom
Press F11 to start recovery (which is followed by a counter)

How can I replace this crucial file? I don't have a boot disc. There is a partition on the hard drive for System Restore—but doesn't this format the drive before re-installing the OS and system files? — Twas Now ( talkcontribse-mail ) 05:05, 6 July 2009 (UTC)[reply]

Can you create a BartPE disk? Simply copy ntdetect.exe from another computer and use your BartPE CD to copy it over to C:\. --wj32 t/c 06:43, 6 July 2009 (UTC)[reply]
Or even better, a Knoppix or Ubuntu LiveCD. --antilivedT | C | G 10:39, 6 July 2009 (UTC)[reply]
I used a BartPE disk to try booting up. I checked on the computer I'm using now that the file ntdetect.com (it's a COM file) is on the boot disk. It got me out of the loop, but didn't boot up. It took me to a screen that ended with:
[DR-DOS] A:\
So I typed:
copy e:\i386\ntdetect.com c:\ (e: is my CD drive)
However, it says that the file is not found. I'll try putting the bad hard drive into this computer, copying the file, and see if that works. 99.225.38.10 (talk) 14:46, 6 July 2009 (UTC)[reply]
That seems to have worked. Thanks for the tip on BartPE! I have to ask though, since my computer has SP3 and the BartPE disk is supposed to be SP2, will this cause any problems? — Twas Now ( talkcontribse-mail ) 15:20, 6 July 2009 (UTC)[reply]

Laptop battery life

Is it true that using a laptop on battery for a long time and charging it only when it becomes low , increases the battery life? Shraktu (talk) 11:02, 6 July 2009 (UTC)[reply]

Yes and no. It depends on the battery type that is being used. The article Lithium-ion battery has some useful info, infact the section Lithium-ion battery#Advantages and disadvantages has more info. Basically some battery technologies (in general older battery products) used to like the deep-cycle, but these days it's different. 194.221.133.226 (talk) 11:47, 6 July 2009 (UTC)[reply]

WinTV Software Alternatives

I have a USB WinTV Nova - T stick with the correct drivers on cd. I am wondering, is there any alternatives to the wintv software for actually viewing channels? Like free, open source alternatives. This is for Windows XP / Vista computer. Thanks --

You can try DScaler and see if your device is supported. --24.162.196.86 (talk) 06:29, 8 July 2009 (UTC)[reply]

Hibernation

What is the difference b/w hibernation and stand by in Windows shut down options?Shraktu (talk) 11:53, 6 July 2009 (UTC)[reply]

In hibernation the RAM is written to hard disk before power is turned off. When you turn it on again, RAM is brought back to the earlier state and you can resume your unsaved work from there. Sleep mode (standby) is not a state of "power off"—RAM is still active and consumes some power but other unnecessary components are turned off. —SpaceFlight89 (talk) 12:09, 6 July 2009 (UTC)[reply]

Outlook 2003 IMAP warning

right I have two computers with Outlook 2003 working with the same mailbox via IMAP. There are many mails, so one computer often shows IMAP server notifications "Account is over quota" (see picture). Currently, I can't clean the mailbox, so I need a way to temporary disable these notifications which are annoying. On another computer (same version of Outlook, same mailbox), those notifications are much less often. Can I somehow disable these notifications of make them appear less often on the first computer? Please don't tell me to clean the mailbox, currently it's out of question for me. 0xFFFF (talk) 11:59, 6 July 2009 (UTC)[reply]

Go into the mail server and change the quota. Do you really believe that you can make a change on your computer that will somehow magically change the quota on the server or allow your computer to somehow get magical status and tell the server that you don't need no stinkin' quota? The warning is not something your computer is doing to annoy you. The warning is there because you have too much email and you are over the quota allowed by the server. In other words, the server is the source of the warning, not your computer. -- kainaw 12:55, 6 July 2009 (UTC)[reply]

I totally understand the meaning of the warning. No, I don't think that I can change the quota on my computer. I understand, that outlook gets the warning from IMAP server and shows it to me. But, I have another computer, with the same mailbox, which shows the said warning once a day, not once a minute. How can it be? 0xFFFF (talk) 18:32, 6 July 2009 (UTC)[reply]

Are they both set to check for new mail at the same frequency? The quota warning normally only appears when you attempt to send mail or you move mail from one mailbox to another (this includes anti-spam filters that automatically move mail from you inbox to a junk folder). -- kainaw 19:04, 6 July 2009 (UTC)[reply]

context free grammar and regular expressions

Is it possible to verify "multiple lines of text" confirms to a defined set of simple context free grammar rules using regex (perl / java) ? CFG, and regular expression wiki pages are confusing. --V4vijayakumar (talk) 12:57, 6 July 2009 (UTC)[reply]

No. You cannot capture a (truly) context free grammar by regular expressions. But then, yes, you can use perl/java to build a parser that parses your cfg, which might uses regular expressions for some of the simpler rules. One simple example of a cfg is { S->x; S->(x) } . The language generated contains the letter x enclosed in parentheses, but only if there are exactly a much opening as closing parentheses. This is more than a regexp can do. 93.132.180.226 (talk) 14:51, 6 July 2009 (UTC)[reply]
(EC) In theory, no, but in practice, yes. Some languages that can be described by CFG's, such as "all strings that start with some number of as and end with that same number of bs", can not be described by formal regular expressions. That said, they can easily be described by general programming languages with approaches like:
say "matched" if /^(a*)(b*)$/ && length($1) == length($2)
You could also use a parsing framework like yacc or Template:Websearch. If you post exactly what you're looking to match you might get some more specific advice. --Sean 14:55, 6 July 2009 (UTC)[reply]
It's been a while since I reviewed theory here, but wouldn't these exceptions that have been brought up be "context"? By definition, shouldn't a context-free grammar not need to save state, like "number of as counted last time"? So, in that case, the issues that regular expressions cannot handle are not really a case of failure for "context-free" grammars. I could be incorrect here, this stuff was always mind-boggling to me... Nimur (talk) 15:15, 6 July 2009 (UTC)[reply]
Context-free refers to the non-terminal fired, not to some state the recognizing machine has reached. See Context-sensitive grammar. There, you can fire (expand) a non-terminal only if it is preceded and followed by special strings that are part of the rule. 93.132.180.226 (talk) 15:48, 6 July 2009 (UTC)[reply]

Ubuntu operating system?

Is is technically correct to say that Ubuntu is an operating system? From a neutral/unbiased point of view of a computer scientist? Or is it Linux (or GNU/Linux or GNU/Linux/X) that is the operating system? SF007 (talk) 16:32, 6 July 2009 (UTC)[reply]

Please, avoid ethical/philosophical/political opinions, that is not the point of the question SF007 (talk) 16:33, 6 July 2009 (UTC)[reply]
Ubuntu is a distribution (or flavor) of Linux. The key point is that the different distributions use the same operating system. They use different package managers (or use the same one with different versions of the packages). -- kainaw 16:36, 6 July 2009 (UTC)[reply]
Is the difference between two Linux-based distributions comparable to two different Windows or Mac OS iterations? Put another way, are Gentoo and Ubuntu (or any two Linux distributions) more alike than Windows 95 and Windows 98 (or any two Windows iterations)? — Twas Now ( talkcontribse-mail ) 17:54, 6 July 2009 (UTC)[reply]
Not at all. An equivalence would be comparing the Linux 2.4 kernel to the Linux 2.6 kernel. A single distribution may contain multiple versions of the kernel. For example, Fedora began with the 2.4 kernel but has adopted the new kernel. So, it comes down to "what is the difference between Ubuntu and Fedora?" They are both using the 2.6 kernel. Most of the optional packages, such as Gnome, KDE, Firefox, Thunderbird, etc... are the same versions on both distributions. The difference is that Fedora uses RPM format packages and Ubuntu uses deb format packages. So, if you want to be technical (which the question is asking for), Ubuntu could be called the "Ubuntu GNU/Linux Operating System". If you say "Ubuntu Operating System", everyone will know that GNU/Linux is implied. -- kainaw 19:01, 6 July 2009 (UTC)[reply]
It would be correct or incorrect based on one's definition of "operating system". The general public usually thinks of an operating system as the system software and all the stuff that comes with it (so Ubuntu would be one). Computer scientists often think of operating systems as the kernel (computing) only (so Ubuntu would not be one). They are both correct, in given contexts. --Sean 21:35, 6 July 2009 (UTC)[reply]
In all technical terms, anything that can handle multiple tasks and provides things like semaphores is an operating system (see things like uC OS). Linux is the operating system of Ubuntu. Ubuntu is Linux running GNU programs. GNU likes to combine both and call it GNU/Linux operating system, because they believe the kernal is useless without the programs. On Windows the GUI is tied to the kernal, not so on GNU/Linux, so its hard to believe GNUs position. It is fair to say Ubuntu is GNU/Linux, but its probably not fair to say Ubuntu is an operating system.--155.144.40.31 (talk) 22:20, 7 July 2009 (UTC)[reply]

M4A conversion software

Hi, I had to sing the Thriller on my iPhone and send it to my friend (don't ask). But the file emailed as a M4A and not a MP3. What conversion software let's you convert the two said file types? --32.161.10.116 (talk) 18:29, 6 July 2009 (UTC)[reply]

I use this program. It's free. There are probably many others available, too. — Twas Now ( talkcontribse-mail ) 19:18, 6 July 2009 (UTC)[reply]

question about library programs for solving partial differential equations

On someone elses behalf, please see Wikipedia:Reference_desk/Science#Simulate_semiconductor - question 2.

83.100.250.79 (talk) 21:51, 6 July 2009 (UTC)[reply]

gnuplot

Hello,i'm having a question about gnuplot and i was hoping that someone could help me find a solution. I'm trying to make a contour out of some files with gnuplot for a 2-d graph.Although i've read the manual i can;t find the way to do it.Either it expects more data so that it can make a third axe for 3-d plot or it doesn't make contour. —Preceding unsigned comment added by Zzzmith (talkcontribs) 22:21, 6 July 2009 (UTC)[reply]

Post some input data and describe what you want the output to look like. --Sean 14:27, 7 July 2009 (UTC)[reply]

I want to plot 10 dat files with two coloumns in every file all together in one 2-d plot(x,y)with only one y number to correspond in every x number.One of these files would be for example like this:

0 , 2
0 , 3
1 , 5
2 , 7
2 , 8
3 , 9
4 , 9.5
4 , 10       

etc. So by plotting all the 10 files i want to have 10 different lines in one plot. THAKS FOR YOUR EFFORT —Preceding unsigned comment added by 188.4.16.71 (talk) 18:25, 7 July 2009 (UTC)[reply]

Just type/paste in the following (all on one line):
plot "1.data" with lines, "2.data" with lines, "3.data" with lines, "4.data" with lines,
     "5.data" with lines, "6.data" with lines, "7.data" with lines, "8.data" with lines,
     "9.data" with lines, "10.data" with lines
You'll need to first remove the commas from your data files. --Sean 16:00, 8 July 2009 (UTC)[reply]

comp

what is the role of o.s in developing the software

Read our article operating system, which will probably help you. Tempshill (talk) 03:26, 7 July 2009 (UTC)[reply]
OS means operating system. The article in Wikipedia here may help. --98.154.26.247 (talk) 05:55, 7 July 2009 (UTC)[reply]

Adding MP3 durations

I have hundreds of MP3 files, by various artists, and it would be convenient if I could quickly add up the duration of groups of MP3s on the fly, without having to go through them and laboriously add them mentally. But when I highlight a group of songs, right-click, and enter 'Properties', the 'duration' value is 'multiple values', so that doesn't help. I've tried various things, like copying the songs into a separate folder, or selecting them and pressing 'play selection', but I'm just groping in the dark. Does anyone have a solution? LANTZYTALK 23:09, 6 July 2009 (UTC)[reply]

iTunes can do this easily. I expect other music players can too. Algebraist 23:23, 6 July 2009 (UTC)[reply]
Using Windows Media Player, you can (temporarily) create a playlist. The total play time of the playlist is displayed at the bottom (or top?) of the list. Astronaut (talk) 13:08, 7 July 2009 (UTC)[reply]
On Linux you could do:
mp3info -p '%S\n' song1.mp3 song2.mp3 song3.mp3 | perl -lne '$t += $_; END { print $t }'
--Sean 14:21, 7 July 2009 (UTC)[reply]
Thanks, everyone. I figured it out. LANTZYTALK 17:22, 7 July 2009 (UTC)[reply]

BEAV for Windows 98 ?

I'm looking for something like the Binary Editor And Viewer that runs under Linux. I have a 2GB binary file I'd like to view with it. In case you're wondering, the file is an apparently corrupted file cabinet full of my AOL e-mails, which AOL can no longer read. I'd like to be able to view the data in any way possible. Thanks. StuRat (talk) 23:54, 6 July 2009 (UTC)[reply]

Comparison_of_hex_editors - maybe someone who knows the program could add a link from BEAV to a description on this page as well?83.100.250.79 (talk) —Preceding undated comment added 00:01, 7 July 2009 (UTC).[reply]

July 7

1000 ft Ethernet Cable

I need to get internet from one building to another: let's say building 1 to building 2. The problem is that building 2 is approximately 1000 ft. away from the modem/switch in building 1. I've done some research and determined that it's not a good idea to just run a cat5e cable the whole length (due to loss), and it's not practical to boost the signal partway through (since the wire will be outside). I've thought about using baluns, but I'm not sure if they make them for that application, or which ones would work. Is there any other way to boost the signal so that one wire could be used? A different kind of wire perhaps?

Any suggestions would be appreciated. Thanks! -Pete5x5 (talk) 00:54, 7 July 2009 (UTC)[reply]

What's the budget? - Akamad (talk) 02:32, 7 July 2009 (UTC)[reply]
I'm sorry, but you're simply not going to be able to do it with Cat 5e because (as you've said) after ~100m/328ft you'll lose signal and there isn't a way round that. However, you're probably be better off looking at using a fibre connection instead and 1000Base-LX could easily handle the distance you're looking at and you could simply have a converter at each end to change it back to copper for your two networks (a lot of switches include the ability to plug in different gigabit modules of various types to do this automatically. Hope this helps! ZX81 talk 02:39, 7 July 2009 (UTC)[reply]
If you have a line-of-sight between the rooftops then a microwave link is a good way to do it - but it's gonna cost you $15k for the equipment. SteveBaker (talk) 03:00, 7 July 2009 (UTC)[reply]
Or, needless to say, you could spend $15 without the K and use a Pringles can, though the fact you are considering running a wire tells me that you want more speed and reliability than the Pringles company can provide you. Tempshill (talk) 03:25, 7 July 2009 (UTC)[reply]
I was going to suggest pigeons. Wireless! — Twas Now ( talkcontribse-mail ) 03:37, 7 July 2009 (UTC)[reply]
While some of the options such as fiber and wireless/microwave are certainly viable options, my immediate thought would be that the most cost effective solution would be to lay the problem in your ISPs lap. A second access point/modem/account. Once both buildings are "online", then the solutions to data sharing, communication, intranets, or VPN setups multiply. Just a thought. — Ched :  ?  04:00, 7 July 2009 (UTC)[reply]
There might be 2 solutions using this ~330m ethernet cable: 1. at both ends use DSL modems (or something similar), since DSL has much more range than ethernet, cheap (reasonably) modems will be much slower than ethernet. Using modems made for this particular purpose, will be very expensive. 2. add 2 cheap ethernet switches in middle (and run an additional power cable along ethernet cable, to power them). -Yyy (talk) 04:06, 7 July 2009 (UTC)[reply]

Why not use several cables and connect each one into a hub or someshit to boost the signal half way through —Preceding unsigned comment added by 82.43.91.128 (talk) 07:10, 7 July 2009 (UTC)[reply]

Because the cables would be outside. These signal boosters would be outside in the weather, could get stolen, and would be difficult to power without a nearby outlet. Useight (talk) 14:58, 7 July 2009 (UTC)[reply]
You could stick them in weather proof casings, and run a power supply to them.. (a bit like telephone companies do)83.100.250.79 (talk) 15:29, 7 July 2009 (UTC)[reply]
Alternatively you could boost the signal using UHF amplifiers, though you'd need to know the attentuation to prevent the boosted signal being too high and frizting the electronics.83.100.250.79 (talk) 15:30, 7 July 2009 (UTC)[reply]
I can second the DSL-style approach. There are several companies that sell equipment for just this sort of purpose, with speeds ranging from a few megabit all the way to 100 mbit full duplex (as budget allows) and distances well in excess of 1000ft. Look for "ethernet extender" products on Google. --Jmeden2000 (talk) 18:54, 7 July 2009 (UTC)[reply]

Thanks for the suggestions. The budget is $4000 or less (preferably less, but I have a very nice budget for this project). I would prefer not to join multiple cables, but before this that's the only way I could think of. I will definitely look into the 'ethernet extenders' you speak of. Hopefully there's a way to do it with only one wire. I think the technology must exist for that amount of money.. -Pete5x5 (talk) 07:35, 8 July 2009 (UTC)[reply]

If you are going to be accessing file servers or suchlike from one building to the other I'd go for the fibre optics solution. Or even just to cater for the future. A building of any size can generate quite a bit of traffic. Dmcq (talk) 09:37, 8 July 2009 (UTC)[reply]
Any reason you cannot use WPA encrypted wireless? Like WiMax? --70.167.58.6 (talk) 02:32, 9 July 2009 (UTC)[reply]

pspwxp(wobzip)

is there any way i can install pspwxp using wobzip.heres the address http://wobzip.org if there is can sombody pleaz give me a link to download it and instructions on how to download it. thanks

Hard drive space

I only have about 6.5 GB left on my hard drive, so I deleted 3 GB worth of files and put them on discs, then I checked my memory, and it still said 6.5 How can I get my space back? ---Scarce |||| Talk -Contrib.--- 04:14, 7 July 2009 (UTC)[reply]

This might sound really obvious, but have you emptied the recycled bin? The space isn't actually reclaimed until you do that. ZX81 talk 04:41, 7 July 2009 (UTC)[reply]
My entire drive for the bin is erased. For future reference I'm talking about my main local drive ---Scarce |||| Talk -Contrib.--- 05:19, 7 July 2009 (UTC)[reply]
Try disk cleaning (Start Menu -> Accessories -> System tools -> disk cleaning) if you have Windows. There's probably too much junk in the temporary folder that can be cleaned. Although it's strange that there is no change in disk space at all. --98.154.26.247 (talk) 05:50, 7 July 2009 (UTC)[reply]

If you burned them to disc your CD/DVD writing software may have created a disc image on the hard drive first before burning the files. The disc image will take approx. the same space as the original files, hence you don't see a change. Try searching for ".ISO" files or check your preferences of your burning software to find its "temporary" or "working" folder and delete the disc images from there. Zunaid 10:59, 7 July 2009 (UTC)[reply]

I'll try it ---Scarce |||| Talk -Contrib.--- 21:19, 7 July 2009 (UTC)[reply]
I opened up the computer search program and searched .ISO, it couldn't find anything, I'll try the disk cleaning now ---Scarce |||| Talk -Contrib.--- 21:35, 7 July 2009 (UTC)[reply]
Try searching for files created in the last day or two and/or files greater than 100MB. You may find the offending files, or possibly some other files worth cleaning up. -- Tcncv (talk) 00:09, 8 July 2009 (UTC)[reply]
How? ---Scarce |||| Talk -Contrib.--- 02:09, 8 July 2009 (UTC)[reply]
If you are using XP, right click the C: drive and select search to open the search window. The search dialog has "when was it modified" and "what size is it" options that allow you to define your search. If you have Linux, a Mac, Vista or some other OS, let us know, so perhaps someone else can provide instructions. (I actually have Vista, but have yet to find equivalent built-in search functionality.) -- Tcncv (talk) 03:44, 8 July 2009 (UTC)[reply]

Chipset flashing?

Is there such a thing as chipset flashing? Is it different from BIOS flashing? Or do I just mean updating the chipset drivers? Thanks 78.149.207.75 (talk) 09:25, 7 July 2009 (UTC)[reply]

"flashing" generally means "changing software stored in flash memory". The BIOS is stored in flash memory, so it's possible to change that stored program by flashing that memory. The chipset isn't a program, it's a very complex application-specific integrated circuit. It's not stored in, or run from, any kind of memory; its operation is encoded into its physical structure. So it's not meaningful to "flash the chipset". I think you just mean the drivers. 87.113.26.43 (talk) 13:34, 7 July 2009 (UTC)[reply]
It seems possible that some chipsets could have an internal or external ROM. I don't know of any PC computer chipsets (north-bridge or south-bridge controllers, or audio or wireless peripheral controllers, etc) that make this option available to the user (though I have re-flashed my DVD-ROM drive controller). Generally, a controller chip might not have any ROM at all (a pure ASIC as mentioned above); or they may use a ROM intended to be programmed once at the factory. If there is an EEPROM, it can be flashed; but that does not mean that you can do it without special equipment. (The motherboard is usually designed to allow you to flash the BIOS without connecting any wires - this is not generally the case for all programmable devices). See programmer (hardware). Nimur (talk) 15:44, 7 July 2009 (UTC)[reply]
I actually wrote, then deleted, an addendum to my comment above, about just this subject (fearing we'd drift off from the questioner's presumed intention). Yes, there is a microcontroller inside most chipsets, which takes care of some very basic functions (it's the thing that handles wake-on-lan, and that beeps when the CPU isn't installed or the CPU fan isn't working). I'm aware of no public documentation for these (informally I understand them to be 8051 or H8 logic blocks on the same die as the rest of the southbridge logic), and there's no reason to, or advantage to be gained from, field-programming one. While being factory programmable would be nice (as it stops you making 100,000 bad units for want of a single line of asm being wrong) having erasable memory for it may be a problem. I'm not at all sure that the process by which the high-speed circuits on the southbridge die are deposited would allow for either flash or EEPROM to be built on the same die. If they can't be, having a rewritable program store for the microcontroller would require a second integrated circuit (built with whatever process is compatible with those memory technologies) inside the same package - a cost and complexity that chipset manufacturers would no doubt wish to eschew. Given the very basic program for this thing, it would be tempting to test it very thoroughly and put its code into Mask ROM on the southbridge die. 87.113.26.43 (talk) 16:21, 7 July 2009 (UTC)[reply]

InstantAtlas Error

When creating a map on InstantAtlas I get an error when uploading my .xml data file ( something about Attribute version having a fixed value of 1.2) so I create a demo data file instead. I can then replace the data.xml file with mine in the location I save it. On opening the map with my data file the data that should be displaying on the map doesn't, it just says no data in the comparison table, under the headings I used, and there is nothing in the ordinary table. The map highlights the Popp areas of my map in black when i hover over them. Any ideas? —Preceding unsigned comment added by 195.49.180.146 (talk) 09:50, 7 July 2009 (UTC)[reply]

malloc and structs

Ignoring the lack of error checking code, would this be the proper way to do this?

typedef struct
{
    int data;
} Mystruct;

Mystruct * lotsaStructs;
lotsaStructs = calloc(10, sizeof(Mystruct *));
lotsaStructs[0] = malloc(sizeof(Mystruct));
lotsaStructs[0].data = 5;

Thanks! Horselover Frost (talk) 13:53, 7 July 2009 (UTC)[reply]

No, that doesn't even compile. The following would be typical, though it's not clear whether you want lotsaStructs to point to a single array of Mystructs or to an array of pointers-to-Mystruct:
lotsaStructs = calloc(10, sizeof(Mystruct));
lotsaStructs[0].data = 5;
...
--Sean 14:26, 7 July 2009 (UTC)[reply]
I'm hoping to get an array of pointers-to-Mystruct. I guess the question wasn't to clear, sorry. Horselover Frost (talk) 14:40, 7 July 2009 (UTC)[reply]
TotoBaggins' solution (which is the sensible thing, in many cases) has all of the individual structs in a row (an array of structs). If you wanted to keep Mystruct being an array of pointers (which is what you'd do if you wanted to create the individual ones dynamically, or if they weren't all going to be the same size or the same kind of thing) then you'd do:
 Mystruct ** lotsaStructs;
 lotsaStructs = calloc(10, sizeof(Mystruct *));
 lotsaStructs[0] = malloc(sizeof(Mystruct));
 lotsaStructs[0]->data = 5;
your code was defective in two regards: firstly lotsaStructs is an array of Mystruct*, so you need to write Mystruct** Secondly when you're accessing data via lotsaStructs[0] that's an individual Mystruct*, so you need to dereference the pointer before retrieving the element: C uses the -> shorthand for that, although the line (*lotsaStructs[0]).data = 5 does the same thing (and makes the deref and the .data separate). Don't worry if this seems ridiculously complicated; once you understand this, there's really nothing left in C that's hard. 87.113.26.43 (talk) 14:50, 7 July 2009 (UTC)[reply]

Accessing Wikipedia through my iPhone

Can anyone help with this? Until a few days ago, I had no problem accessing Wikipedia through my iPhone. Now, I just can't. It starts opening en:, seemingly redirects to "en-gb [something - it flashes fast past this] and throws up a "Cannot Open Page" message. I have no problems accessing other websites. Cheers. --Dweller (talk) 16:02, 7 July 2009 (UTC)[reply]

OK: a totally random theory: have you set something on your iPhone's settings to have your language be British English? It might automatically change en to en-gb. Unlikely, but a possibility. Thanks, gENIUS101 21:02, 7 July 2009 (UTC)[reply]

This might be related to changes being made to the MediaWiki:Common.js file – something to do with redirecting mobile devices to an alternate site. I don't know the details, but I'll ask the user to comment. -- Tcncv (talk) 23:54, 7 July 2009 (UTC)[reply]
Up until a few days/weeks ago, any iphone/ipod touch/etc requests to en.wikipedia.org/wiki/* had a banner at the top that offered "View this site on Wikipedia's Mobile Site". Upon clicking the link, you were taken to en.m.wikipedia.org/wiki/* (Main Page - Mobile. It was very succesfull, and much easier to browse. More recently, due to the ease of use, you are automatically redirected to the en.m. site. It works fine for me. I have my iPhone loading it right now :) The page might have just been down when you tried earlier. — Deon555talkI'm BACK! 11:11, 8 July 2009 (UTC)[reply]
As a side note, check out Wikipanion for iPhone (it's free). It's a great browsing app that caches articles for offline viewing. Much better than just viewing Wikipedia through mobile Safari. --70.167.58.6 (talk) 02:23, 9 July 2009 (UTC)[reply]

Mouse totally f....d up

Mouse problems - just doesn't work right

Used to select with left button, hold left button and move to select a block.

Now mouse selects with right button (sometimes), left button causes block selection from last mouse position, scroll button doesn't work...

Same on another mouse.

No such control exists in windows to do this that I'm aware of?

I just tried open office - is this program known to fuck up windows??? Because I've never had anything like this before, maybe it's a virus, anyone know?

Appears to be the "stuck shift key problem" - what causes that - is it open source software? ? —Preceding unsigned comment added by 83.100.250.79 (talk) 21:48, 7 July 2009 (UTC) 83.100.250.79 (talk) 21:10, 7 July 2009 (UTC)[reply]

If this is the problem, it means your keyboard thinks the Shift key is being held down. Try tapping each of your Shift keys repeatedly until the problem goes away. If that doesn't work, unplug the keyboard for a bit and see if that fixes the selection problem. If you can't make it go away by tapping the Shift key and if unplugging it does cause the problem to disappear, it's time to buy a new keyboard. Tempshill (talk) 21:56, 7 July 2009 (UTC)[reply]
If the keyboard thinks shift is being held down - why no caps? 83.100.250.79 (talk) 22:07, 7 July 2009 (UTC)[reply]
I highly doubt it's an issue related to Open Office. Would I be correct in assuming that you've tried a restart of the machine? - Akamad (talk) 22:34, 7 July 2009 (UTC)[reply]
I hope you're right, I actually uninstalled open office, since the computer has been stable for many moons, and had just very recently installed open office. The problem didn't start immediately, but did seem to appear after I had been messing about with the image program (can't remember it's name).
Then the problem seemed to go away. I intend to wait a few days to see if the problem recurs, then reinstall open office, and see if the problem re-occurs.
It appeared to be a 'software' stuck shift key that only affected the mouse, not keyboard - does this sound familiar to anyone?83.100.250.79 (talk) 22:45, 7 July 2009 (UTC)[reply]
Have a look at the windows control panel applet for the mouse, and make sure some joker hasn't switched your mouse to be left handed. Also have a look at the mouse itself - if something got wedged under the buttons so your PC thinks one is being held down, you get all kinds of weird things happening. Astronaut (talk) 01:12, 9 July 2009 (UTC)[reply]

Choose a topic

The "choose a topic" at the top right of the page keeps dissapearing - sometimes it's there. sometimes it's not, sometimes it pops in, and pops out. I also had the problem above - has anyone else got this, or is my computer just screwed up (IE7)83.100.250.79 (talk) 21:31, 7 July 2009 (UTC)[reply]

IE 7 has done this to me before as well. To put it simply, IE is as buggy as hell. Try downloading IE8, or better yet, the new Firefox (both which are free)-- penubag  (talk) 06:23, 8 July 2009 (UTC)[reply]
I've only ever had one problem on IE7 - the above, so does anyone know what it is about the ref desk header template that causes it to go wrong occasionally?83.100.250.79 (talk) 17:47, 8 July 2009 (UTC)[reply]

SImple MySql question

Is there another way to count the amount of rows in a table then using mysql_num_rows? When the rows get passed 5000+ and that query is ran it can cause slowness. —Preceding unsigned comment added by Ivtv (talkcontribs) 23:02, 7 July 2009 (UTC)[reply]

The SQL count() function is much more efficient, sometimes returning a result in constant time. From this discussion, the commands:
$row=mysql_fetch_array(mysql_query("select count(*) as howmany from mytable"));
$number_of_rows=$row["howmany"];
is much more efficient than
$table=mysql_query("select * from mytable");
$number_of_rows=mysql_num_rows($table);
-- Tcncv (talk) 23:44, 7 July 2009 (UTC)[reply]

Yeah. I keep forgetting about count. Thank you for your example. Only thing I would change would be the wildcard because its terrible on a query especially if you are just trying to get one specific piece of data. Should just query your key in this example. You know this though, and you were just giving an example so I thank you. Works perfect

Ivtv (talk) 02:34, 8 July 2009 (UTC)[reply]

My understanding and experience is that the assertion that "count(1) is faster than count(*)" is a myth that has propagated far and wide in various discussion groups. The count(*) function means "count the rows" and is typically optimized to use table statistics or indexes. Count(1) means count a collection non-null ones. Any DBMS worth its salt will produce the same execution plan for each. In neither case is it necessary for the DBMS to actually retrieve column data. MySQL COUNT function documentation specifically states, "COUNT(*) is optimized to return very quickly if the SELECT retrieves from one table, no other columns are retrieved, and there is no WHERE clause." -- Tcncv (talk) 06:48, 8 July 2009 (UTC)[reply]

Service Packs for Linux distros exist?

I was just wondering if there are any known linux distros that uses the concept of "Service Packs"?: something that can can be installed in a graphical and easy way, to update your system? (besides my own distro). Thanks __ Hacktolive (talk) 23:47, 7 July 2009 (UTC)[reply]

Isn't the term Service Pack a word more associated with Windows that Linux? With Linux being much more modular and everything being in packages I was under the understanding that all the recent distributions came with their own form of update system (like in Fedora you'd simply run yum update). ZX81 talk 00:29, 8 July 2009 (UTC)[reply]
Yes, and that is nice, but what about for users without internet? that update system (and also APT) just doesn't work properly and out-of-the-box. Hacktolive (talk) —Preceding undated comment added 00:39, 8 July 2009 (UTC).[reply]
For debian based distributions the install cd tends to be a big package repository. So for every new version you just point apt there and do a dist-upgrade. It doesn't need Internet but I don't know if it's "service pack like". --194.197.235.36 (talk) 01:15, 8 July 2009 (UTC)[reply]
SuSe Enterprise Linux has service packs. --Sean 16:03, 8 July 2009 (UTC)[reply]
Even in Windows, if you have absolutely no access to anything on the Internet in any way whatsoever, you cannot install a service pack. Someone, be it a friend or Microsoft, must download the service pack and burn it to a CD for you. With Linux, there is the same limitation. For example, if you use Fedora, the packages are in RPM format. You can use yum as a command-line updater or one of the graphical RPM management tools. With RPM, Yum, or one of the GUIs, you can update using packages burned to a CD. So, if you can get a friend or Redhat to give you a CD with the new packages on it, it is trivial to do an update.
Now, the concept of "service packs" is a bit different than just "updates". Microsoft gathers up a bunch of bug fixes and eventually puts them all out as a service pack. While updates come out every Tuesday (if I remember correctly), service packs come out every few months or even every few years. The same concept, applied to Linux, would be nothing more than making a CD of all the latest packages at some point in time and calling it a "service pack". When to release the service pack is arbitrary. -- kainaw 16:10, 8 July 2009 (UTC)[reply]

July 8

Troubleshooting Mac OS networking

I'm having an intermittent problem with Mac Mini communicating with the rest of the network computers. From what I can tell, there should be a logging option that I can enable in order to at least get an idea on where to look, but even when it's enabled, it doesn't seem to produce anything. The one I found was for firewalls, located in System Preferences and Sharing. Even though Firewall Logging is enabled, the log file next to it is blank when the problem occurs.

I know the following:

  • The Mac's internet access continues without problem.
  • DNS lookups for all computers work as expected.
  • It generally returns to normal within a minute of poking around the network settings. As such, I can't tell which procedure is actually fixing the problem (whether it's opening an external website, or trying to renew the DHCP lease.)
  • The DNS setting is also wierd, as it only worked in DHCP mode.

It's a rather obscure problem, and multiple attempts to search for the problem don't give anything. The connection loss is simply no packet flow between the mac and other computers on the network; Internet access is not affected. It would be much easier if there was a log around. --Sigma 7 (talk) 01:12, 8 July 2009 (UTC)[reply]

Two computers behind NAT talking to same sever

Lets say there are two computers on a network, both running firefox and both connect to the same website on the same port. How does the NAT router know which incoming packet to translate to which computer? There does not seem to be any way it can do it at the internet layer nor at the transport layer.--155.144.40.31 (talk) 01:17, 8 July 2009 (UTC)[reply]

Check out the Network Address Translation and Stateful firewall articles. Basically, the NAT router keeps track of the connections so it knows what internal system to route traffic to. Also, while both systems are connecting to the same endpoint port, their source port most likely differs. This is why two applications on the same machine can establish connections to the same remote port without being confused. -- JSBillings 01:57, 8 July 2009 (UTC)[reply]
Thanks, I have read both of those articles already. They only mentions states defined by IP and Port. I am aware that IP and Port can be used, but I know in reality that NAT devices somehow differentiate even when the server IP and the ports of both PC's behind the NAT (and at the server) are the same. Even now a router is listing two sessions to different devices behind the NAT to the same server on the same port (both server and client ports identical for these sessions). How exactally can it differentiate and at what layer? --155.144.40.31 (talk) 02:31, 8 July 2009 (UTC)[reply]
The NAT server actually remaps the original source ports of the LAN clients to random ports in its available range. What you're looking at is probably the destination port (let's say 80, for http). That doesn't change. But the client computers pick a source/outgoing port to use, usually in the dynamic port range. If you want to see the ones you're currently using, on windows open a command prompt and type netstat -nap tcp. Anyway, let's say your client's outgoing port is 55526. The NAT server will change that to a unique source port on itself, one that doesn't map to any other ip+port client connection.
Example: the client, IP 10.0.0.5, wants to connect to port 80 on 208.80.152.2. It opens up port 55574, and sends a packet with source 10.0.0.5:55574 and destination 208.80.152.2:80. That packet gets intercepted by the NAT server (external IP 74.125.67.100). It sends out its own packet, with source 74.125.67.100:54885 and destination 208.80.152.2:80. When the web server gets the packet, its reply packet will have source 208.80.152.2:80 and destination 74.125.67.100:54885. When the NAT receives this, it remembers the IP/Port combination for port 54885, modifies the packet destination to be 10.0.0.5:55574, which sends it to the original client.
In order to see the external ports the router (ie, NAT server) is using, you'd have to run netstat (or something similar) on the router, or connect to an external computer whose logs you have access to, using two different NATed computers. But from the web server's perspective, the connections come from two different source ports on the same IP address. Does that make sense? Indeterminate (talk) 03:48, 8 July 2009 (UTC)[reply]


Here's the same answer as Indeterminate's that I wrote up:

On your local network, the outgoing messages from the two different computers have different source IP addresses (for example, something like 192.168.1.x, with different numbers for x), even if the source port, destination IP address, and destination port are the same.

When your router does its network address translation on the outgoing messages, it changes the source IP addresses so they're the same (the WAN IP address the router is getting from your ISP), but changes the source ports so they're unique.

For example, the outgoing messages on your local network

From: 192.168.1.10:2696, To: en.wikipedia.org:80
From: 192.168.1.11:2696, To: en.wikipedia.org:80

Might get translated to something like this on the internet

From: 155.144.40.31:2696, To: en.wikipedia.org:80
From: 155.144.40.31:2697, To: en.wikipedia.org:80

The responses from the internet

From: en.wikipedia.org:80, To: 155.144.40.31:2696
From: en.wikipedia.org:80, To: 155.144.40.31:2697

Get translated back to your local network

From: en.wikipedia.org:80, To: 192.168.1.10:2696 
From: en.wikipedia.org:80, To: 192.168.1.11:2696

--Bavi H (talk) 04:03, 8 July 2009 (UTC)[reply]

Windows Vista question

How do I delete old search results from address bar? Is there any way for me to be sure that people using computer after me cant see which sites I visited (and no,its not for porn believe me). Cause no matter how many times I delete it from history,it still remains in address bar. How can I remove it?

Thanks a lot and please answer as soon as possible.

87.116.161.170 (talk) 03:18, 8 July 2009 (UTC)[reply]

What browser are you using? Algebraist 03:29, 8 July 2009 (UTC)[reply]


Internet Explorer 7 87.116.161.170 (talk) 03:33, 8 July 2009 (UTC)[reply]

Tools/Delete browsing history should do it. Algebraist 03:40, 8 July 2009 (UTC)[reply]
  • Tools/Internet Options/Delete History

if that does not work

Tools/Internet Options/Advanced tab/RESET (button on the lower right) poof* Issue resolved. Ps stay off the porn :) haha j/k Ivtv (talk) 03:43, 8 July 2009 (UTC)[reply]


Thanks a lot,it worked. And hahaha its really not porn,I wouldnt care if anyone sees porn links,but its just that I visited quite a lot of Nazi sites today,but not cause Im Nazi,just cause its interesting. But I wouldnt like my non-white mates to see it or anyone else who might use my computer,they might get the wrong impression.

Thanks once again!

87.116.161.170 (talk) 03:49, 8 July 2009 (UTC)[reply]


Oh,I suppose it cleans your google-search right up as well? 87.116.161.170 (talk) 03:52, 8 July 2009 (UTC)[reply]

resetting your browser will reset everything except your favorites. Even your home page. Hey, at least it is not Nazi Porn. But now that you know how to delete history.....ENJOY Ivtv (talk) 03:54, 8 July 2009 (UTC)[reply]

external hard drive stopped spinning.

How can I bring my external hard drive back to life and rescue all the info? It simply stopped working with no previous notice or funny sound, it just stopped. Looks like an electrical problem. How can I solve this? Manologarriga (talk) 04:07, 8 July 2009 (UTC)[reply]

sadly, if the head or the actual electical motor that drives the head failed the only way to get the documentation off is to send the harddrive to a data recovery team so they can take the platters out in a clean room and put it into a temp drive, copy your data and mail it back. Average cost of that is 100$. Try to use a different USB cord if applicable. If not the above is your only option. Do not try to take the drive apart yourself. Any dust that gets on the discs will make it unreadable. I had this happen myself with an external drive and I was super pissed. But I got the data off 170$ CAD later. Ivtv (talk) 04:45, 8 July 2009 (UTC)[reply]

Actually, if it's an entirely self-contained external hard drive, it might be possible for you to take it apart and try hooking it up to a different external hard drive adapter. You can get external adapters pretty cheap (~$15) online. Try searching online for your hard drive's model name + "disassembly" or "take apart" or something. There might be some guides out there. Indeterminate (talk) 05:20, 8 July 2009 (UTC)[reply]

Maybe the power cable came loose? Astronaut (talk) 01:07, 9 July 2009 (UTC)[reply]

Using Psiphon to access Facebook

So I'm vacationing in China right now and Facebook is blocked. So are many of the online proxies that I find on Google. Would Psiphon allow me access to Facebook? If not, what other ways can I access it? Acceptable (talk) 04:29, 8 July 2009 (UTC)[reply]

You can use proxies to get around this issue. However, you better look into local laws about using internet. Stuff like this is logged and you do not want to have the government at your doorstep. But google JAP. Ivtv (talk) 04:48, 8 July 2009 (UTC)[reply]

I don't know if it'll work, but you can try Tor (anonymity network) - [12]. It's a bit slow, because it routes all your traffic through other peers, but for some people it works well. They have a portable version that's easy to try out. Indeterminate (talk) 05:23, 8 July 2009 (UTC)[reply]

Windows 7 and applications dependent on browser control

Microsoft has recently announced that European versions of Windows 7 will not ship with Internet Explorer. I hope it only means that the OS will not ship with IE "application", but WebBrowser Control will be still there, so that applications that use browser control will still continue to work on Windows 7 without IE. Is this correct? manya (talk) 06:33, 8 July 2009 (UTC)[reply]

We don't know for sure, but surely you're correct; there are too many things that depend on Trident (see Trident (layout engine)#Trident-based applications). I suppose they could ship a stub for it instead, and when you installed something like Steam that needs it, the stub could download Trident for you (but, I assume, not the IE8 app). 87.113.26.43 (talk) 09:43, 8 July 2009 (UTC)[reply]
But what about .chm help files? In Windows, and Windows applications, the browser control is used almost everywhere, so I really hope that it is included in Windows... --Andreas Rejbrand (talk) 11:11, 8 July 2009 (UTC)[reply]
They're talking about no web browser - not a GUI less version of windows - so yes don't panic.!83.100.250.79 (talk) 19:20, 8 July 2009 (UTC)[reply]

site

are there ANY other sites like totse i remember one that started with rotten i cant find it thou it started with roten i think but was NOT rotten com helppp —Preceding unsigned comment added by 74.65.3.30 (talk) 07:07, 8 July 2009 (UTC)[reply]

Presumably not but, www.rottentomatoes.com ? ny156uk (talk) 07:26, 8 July 2009 (UTC)[reply]

encyclopedia dramatica suggested rotteneggs.com. Indeterminate (talk) 09:50, 8 July 2009 (UTC)[reply]

mySQL flat files

So I have this php script that needs to work with a mySQL database. Is there any way, short of re writing the script, to make it use flat files to store it's database? —Preceding unsigned comment added by 82.43.90.6 (talk) 12:27, 8 July 2009 (UTC)[reply]

It is not trivial, but you can change the mysql_query and mysql_fetch_object commands to something like flat_file_query and flat_file_fetch_object. Then, write those functions to access whatever kind of flat file you are going to use. -- kainaw 13:44, 8 July 2009 (UTC)[reply]
But it'll take a lot of work, right? I'm a complete noob with scripting stuff, so I guess it's not going to be easy. Thanks though, it's good to know it can be done in theory. —Preceding unsigned comment added by 82.43.90.6 (talk) 14:04, 8 July 2009 (UTC)[reply]

if you use a program like Jedit, you can edit anything and replace it with something else with one click. So say you have a var called $var1 and you needed it changed globally to $var2. Just CTRL F in the program, click query directory and put in what you want to search for in box 1 and what you want to replace it with in box 2. then click 'find and replace all'. close the app to save changes and POOF you are done. Ivtv (talk) 21:15, 8 July 2009 (UTC)[reply]

Stolen laptop

My laptop, containing many confidential files that I would not wish to become public, has been stolen. It is password protected, but I have heard that it is easy for knowledgeable folk to get into the computer despite this. If they do, will they have access to the confidential files, or have they in effect logged on as a different user, without access to my files? In other words, will they gain access only to the laptop's computing power, or will they also gain access to my files? And what is the position with certain particularly sensitive files that I deleted just a few days ago? Can they somehow restore those as well? Thanks in advance for any help you can give. Maid Marion (talk) 12:34, 8 July 2009 (UTC)[reply]

Unfortunately yes, unless you have taken special measures, all your files are easily accessible. There's a high probability that the recently deleted ones may be recovered as well. Regards, decltype (talk) 12:43, 8 July 2009 (UTC)[reply]
It is trivial to access files on a computer. It is very rare that someone encrypts the actual drive. I am certain that you never went through the process of encrypting your drive (if you don't know what that means, you didn't do it). So, all that is required is to pop in a Linux CD, mount the hard drive, and easily view all the files. Then, it is trivial to change the passwords on the drive to make it even easier to login and view the files. It doesn't require "knowledge" of computer systems. It only requires the ability to use Google to find a website that explains what to do. -- kainaw 12:44, 8 July 2009 (UTC)[reply]
Oh well, that will teach me to be more careful! Thank you for your prompt and helpful responses. One further question Kainaw, if you don't mind: when you say it is trivial to access files, does that include the deleted files as well, or just the current ones? Maid Marion (talk) 13:19, 8 July 2009 (UTC)[reply]
Anything that's still in the computers's recycle-bin/wastebasket has really just been moved to a special place, so that's totally visible. For stuff that's been deleted there are many undelete programs which can retrieve stuff; which stuff is recoverable depends on a multitude of technical circumstances, and for your purpose we can just call it "unpredictable". Probably your one saving grace is that the immediate laptop thief will resell it quickly to a fence, who will in turn sell it to a dodgy computer bloke. Bar poking around for porn, it's mostly in his interest to get the machine cleaned as quickly as possible, removing identifying stuff and returning the machine to a neutral, untraceable state; only then can he sell it on to someone and say it's just a regular used machine. 87.113.26.43 (talk) 13:28, 8 July 2009 (UTC)[reply]
Thanks again, that's slightly reassuring. Maid Marion (talk) 13:32, 8 July 2009 (UTC)[reply]
I personally would cancel any credit cards used to make purchases via that machine, and generally be on the lookout for identity theft. --Sean 16:07, 8 July 2009 (UTC)[reply]
For future laptops/computers/USB sticks you get, I recommend encrypting the data. Truecrypt is an excellent, easy to use piece of software. This way, even if you were to lose the computer, anyone who gets their hands on it cannot read the data. - Akamad (talk) 22:26, 8 July 2009 (UTC)[reply]

gnuplot 2-d

Hello,i'm having some problems in plotting with gnuplot and i was hoping that someone could help me. I want to plot 10 dat files with two coloumns in every file all together in one 2-d plot(x,y)with only one y number to correspond in every x number.One of these files would be for example like this:

0 , 2
0 , 2.5
1 , 3.5
2 , 5
2 , 5.5
3 , 7
4 , 7.5
4 , 8
5 , 8.5
6 , 9
6 , 9.5
7 , 10

etc. So by plotting all the 10 files i want to have 10 different lines in one plot. THAKS FOR YOUR EFFORT —Preceding unsigned comment added by Zzzmith (talkcontribs) 13:05, 8 July 2009 (UTC)[reply]

I answered your question above. --Sean 16:01, 8 July 2009 (UTC)[reply]

Sorry for tiring you but i;ve already done that and my dat files also don't have commasbut the problem is that for x=0 there are to y points (2 and 2.5).The problem is that the line(or better curve) must have only one y number for every x.And my teacher asked me not to erase the other points but to findfrom where the line must pass in order to take into account every point —Preceding unsigned comment added by Zzzmith (talkcontribs) 16:32, 8 July 2009 (UTC)[reply]

You have stated that:
  1. y=2 where x=0
  2. y=2.5 where x=0
  3. there must be a single y value for each x
There is no gnuplot command that can help you with this contradiction. You must understand what your data means before you can plot it. --Sean 18:45, 8 July 2009 (UTC)[reply]

internet issues

My computer has a problem where the internet quits every few minutes for 1-2 minutes and then comes back without any action from me except refreshing the page. This is not an ISP problem since the other computer on the network maintains regular connectivity during these events. Any ideas what the problem might be and more importantly, how to remedy the problem? 65.121.141.34 (talk) 13:49, 8 July 2009 (UTC)[reply]

Is the problem computer a wired or wireless connection to the network? Poor network-signal or a busy channel could be a potential cause. Also have you checked the PC for any spyware/viruses. It's not beyond possibility that they could do this (viruses often do things that are more annoying than anything). Are there any programs/tasks that are running on 1 PC but not the other? I would try to identify all the varient differences between what is occuring on the working PC and that which is on the failing-one, then try test each of them until you find the culprit. I'd start with network-connections - a faulty cable (if wired), a poor or interfered signal (wireless) could all cause something like this. 194.221.133.226 (talk) 15:54, 8 July 2009 (UTC)[reply]

probably a browser issue. try other browsers to pinpoint the issue. Ivtv (talk) 21:16, 8 July 2009 (UTC)[reply]

MySQL: sproc each row of a select

In MySQL, how do I run a stored procedure on each row output by a SELECT, separately? NeonMerlin 16:31, 8 July 2009 (UTC)[reply]

You can write another procedure to take the query and perform a special function on each row of the result. -- kainaw 17:49, 8 July 2009 (UTC)[reply]

Compatability between WYSIWIG HTML editors

If a website is created in a WYSIWYG editor such as Dreamweaver, can it be easily opened and edited later in a different WYSIWYG editor? ----Seans Potato Business 19:30, 8 July 2009 (UTC)[reply]

It can be edited with any WYSIWYG editor, but you should expect a hell of a lot of junk to be produced. For example, if one editor uses <b> for bold and another uses <strong> for bold, you will see <b><strong> produced. Then, both editors may very well get confused (as well as humans trying to read the code) and be unable to turn off the bold. So, you have to delete the bold text and retype it. Then, buried in your code is an absolutely useless <b><strong></strong></b>. Before long, your page that should only be a dozen or so lines of text becomes thousands of lines of garbage. -- kainaw 21:04, 8 July 2009 (UTC)[reply]

Any point in updating chipset drivers before converting from Win2K to Linux Ubuntu?

Someone gave me an old computer which is about eight years old. I do not think the chipset drivers have been updated at all. I am going to install Ubuntu in place of its Win2K. Is there any point in updating the drivers beforehand? Or will they be overwritten (and everything else on the disk) when the Ubuntu is installed? It would be easier for me to update the drivers in Windows than in Linux, since I am more familiar with Windows. The old computer has no internet access, only my Windows computer has internet access. Thanks 89.240.106.124 (talk) 20:34, 8 July 2009 (UTC)[reply]

No. Linux uses its own drivers, not windows' ones. 87.113.26.43 (talk) 20:45, 8 July 2009 (UTC)[reply]

Drivers are software. when you format you lose software. no point Ivtv (talk) 21:22, 8 July 2009 (UTC)[reply]

Generally, Linux will install all of the drivers you need - it's only fairly obscure things or very new things that it doesn't get right 'out of the box'...and Windows drivers simply don't work with Linux anyway. When you install Ubuntu, you'll probably want to do a complete 'brain wipe' and just erase everything that was there before - drivers, the works. On a machine with a reasonably large hard drive, you could set up to dual-boot both Windows and Linux - but I'm betting you'll be tight on disk space with just Ubuntu installed so that's probably not viable advice. You can probably get the beast onto the Internet fairly easily - and you probably should because it's a LOT easier to get updates and stuff if you do. You can pick up old ethernet cards for $10 or less at swapmeets and places like Craigslist and eBay. With an internet connection, OpenOffice, FireFox and Thunderbird, you should be able to surf the web, do email and write using the machine with little problem. Doing all of your web surfing and email on your little Ubuntu box will do wonders for keeping malware off of your Windows machine! There are even a good number of old-school games that ought to run on it pretty well. If you have some kind of 3D graphics card in there - it might even run my old TuxKart game! SteveBaker (talk) 21:38, 8 July 2009 (UTC)[reply]

Thanks. I have been wondering about internet access. I have an old ethernet card I can install in the old computer, removing its dial-up modem card. Currently my Windows computer is connected to internet broadband by an ethernet socket, a short ethernet cable, and an external modem. I've been wondering if I should try temporarily unplugging the Windows computer, and then plugging in the now-Ubuntu computer. Will it mangle the modem settings so that it won't work when I plug the Windows computer back in again? 78.147.135.194 (talk) 23:22, 8 July 2009 (UTC)[reply]

And another point concerns an old nVidia graphics card I have that comes with a windows (I think) instalation CD. After I have installed Ubuntu, will it be enough to simply slot in the nVidia card, start the computer, and let Ubuntu do the rest? Thanks again. 78.147.135.194 (talk) 23:27, 8 July 2009 (UTC)[reply]

Plugging in your older computer into the ethernet socket instead of the new one won't mess up any settings. You can even pick up a fairly cheap ethernet hub (I've seen them new here for $16 - you can probably find a used one for half that) - plug that into your ethernet socket - then connect both computers to the hub. This provides a means for both computers to use the Internet at the same time - and also for the two computers to do stuff like sharing files (which you'll soon find to be indispensible).
If you get THAT working - then you can install this on both computers and share a single keyboard and mouse (a tremendous desktop space saver!) and do things like cut-and-paste between the two machines! Put the two monitors side-by-side and you'll be able to slide the mouse off one side of the Windows machines' screen and onto the Linux machines' display! It's super-cool.
An old nVidia card should work just fine with Ubuntu. It'll be easier to install if you plug it and hook the monitor up to it before you install the operating system so it gets auto-detected and set up along with everything else. You can do it later - but it's much more of a pain. Get both the ethernet card and the graphics card plugged in (the ethernet hub can wait) - THEN install Ubuntu.
SteveBaker (talk) 01:30, 9 July 2009 (UTC)[reply]

MySQL Custom LDML Collations

I've come across a number of people with this same problem, but haven't managed to find a solution.

I've created a custom collation for MySQL 5.1 using LDML based off of utf8. When I run a "show collations" query, I can clearly see that MySQL is aware of the new collation. However, if I actually try to apply it to anything, I get an "Unknown Collation" error. What's going on? Macnas (talk) 20:46, 8 July 2009 (UTC)[reply]

Wolfram 1D CA

I'm researching Wolfram 1D CA, rule 106. Does anybody know any good, freely-available web resources I can use? --128.12.77.73 (talk) 21:28, 8 July 2009 (UTC)[reply]

How deep does the MyIsam Database hole go?

Alice in wonderland reference is win. Curious on the amount of rows per table you are allowed for MyIsam? also does InnoDB offer more? Which one would you consider better? as an opinion? I have also read http://en.wikipedia.org/wiki/InnoDB. Thanks Ivtv (talk) 21:37, 8 July 2009 (UTC)[reply]

SATA Adapters

I own a Dell Dimension 4100 Desktop that I got in January 2001. I recently purchased an HP 1170i DVD writer. (My old Sony CD burner broke. Ugh.) When I went to install the new burner, I found that my data cable and power cable did not fit the new drive. The new drive has SATA connections. I ordered a power adapter, but, unfortunately, the adapter still has an SATA data interface. Is there any adapter that I can purchase to adapt my old data cable leading to the motherboard to the new SATA data port on my DVD burner? --Think Fast (talk) 22:33, 8 July 2009 (UTC)[reply]

I believe you can get an IDE to SATA. But the speed will run IDE. that would be like getting a PS2 adapter to USB. Ivtv (talk) 22:46, 8 July 2009 (UTC)[reply]


You need a SATA controller card, probably PCI. A web search for "PCI SATA" generates a number of products. ---— Gadget850 (Ed) talk 22:47, 8 July 2009 (UTC)[reply]

July 9

Certified Ethical Hacker

I want to know about the Certification in Ethical Hacking?? what are its scope and limitations and from where it should be done so as to get the maximum result..