Wikipedia:Reference desk/Archives/Computing/2012 April 4

= April 4 =

Operating systems that run on feature phones
I have identified Brew/Brew MP (really more of a runtime), Nucleus RTOS, MontaVista Linux, and Samsung Handset Platform (SHP is actually what powers bada devices). Does anyone know of any others? Internal names of the operating systems that companies like LG use on their feature phones would be great. --Melab±1 &#9742; 00:17, 4 April 2012 (UTC)
 * You've also got Symbian, iOS, Android, and Windows Phone 7. This article's old but suggests that LG will use Windows Phone 7 and android on its new phones and not develop its own. But again, that's over 2 years old.


 * LG's definitely still turning out Windows Phone 7 models currently like the C900. Some earlier LG phones like LG Viewty used a proprietary OS according to our article... I can't find much more on that. Shadowjams (talk) 06:03, 4 April 2012 (UTC)


 * Nokia's feature phone OS has been Series 40 for more than a decade. --Colapeninsula (talk) 09:42, 4 April 2012 (UTC)
 * Nokia also has variants of Maemo and Meego, which have linux as kernel and X server for graphics. --145.94.77.43 (talk) 11:57, 4 April 2012 (UTC)
 * Sadly our article Mobile operating system is largely restricted to smartphone OSes. --Colapeninsula (talk) 09:45, 4 April 2012 (UTC)

JavaScript variables
If I define a variable in Javascript eg does the function get re-run EVERYIME I read this.price?

Thanks Duomillia (talk) 13:33, 4 April 2012 (UTC)


 * this.price is a function; if you just were to read it, you'd get the text of the function (which isn't much use for you). To call the function, you need to say this.price
 * But your function isn't very useful anyway, as it doesn't return anything. Instead you probably want something like:


 * -- Finlay McWalterჷTalk 13:40, 4 April 2012 (UTC)


 * I was wrong when I wrote "if you just were to read it, you'd get the text of the function". You actually get a function reference; in some javacript engines (like Rhino) if you print that it helpfully prints the text of the function; in others, like JägerMonkey, it just prints "function". -- Finlay McWalterჷTalk 14:45, 4 April 2012 (UTC)

images from Word doc
I want to extract some images from a Word doc and use them on a web page. In Word I right clicked on the image to Save as Picture and stored it in a folder on my computer. Clicking on the name successfully displayed the image in my browser (Firefox). No trouble importing it into my web editor (KomPoser). I FTP'ed the image file and the web file containing it to the web site, but the image does not appear. No broken link, just nothing. This is the case for the other images as well. The code for the relative paths to the images is the same on my computer and the web site. The image files do exist on the web site, in the right place. Also, if I place an image not from a Word doc in the web file, it does successfully display.

What is happening? What can I do about it? --Halcatalyst (talk) 18:51, 4 April 2012 (UTC)


 * What type of image is this? Jpeg? Looie496 (talk) 19:16, 4 April 2012 (UTC)
 * One .png and the rest .jpg. --Halcatalyst (talk) 22:19, 4 April 2012 (UTC)


 * Have you tried opening your saved image in an image/photo editor, resaving it, and using that version instead? Word is probably doing something funny to the file, but I don't know what. --Colapeninsula (talk) 09:21, 5 April 2012 (UTC)
 * Let me try that in a moment. --Halcatalyst (talk) 01:09, 6 April 2012 (UTC)
 * When I went back to do this, I recalled that I had had to do that to re-size most of the images. I tried it again with this one and it made no difference. --Halcatalyst (talk) 01:18, 6 April 2012 (UTC)


 * Could you let us know where this is, so we can look at the web page and the images?--Phil Holmes (talk) 15:56, 5 April 2012 (UTC)
 * The page I'm testing with is at http://k9cola.org/events-test.shtml. An image called 4RK9s.jpg should be displayed above "Word image." You can see the link in the source: src="test/4RK9s.jpg". When I try to see the image with http://k9cola.org/test/4RK9s.jpg, I get a message from Microsoft saying, "The page cannot be displayed. There is a problem with the page you are looking for and it cannot be displayed. This error can occur if you are trying to display an HTML page that resides in a directory that is configured to allow Execute or Script permissions only." ... "HTTP Error 403.2 - Forbidden: Read access is denied." --Halcatalyst (talk) 01:09, 6 April 2012 (UTC)


 * Well, there you go. You've put that image in a directory that doesn't allow the web server to read it.  Stick it in images and you should be OK. --Phil Holmes (talk) 08:47, 6 April 2012 (UTC)
 * I did that and the result is the same. Moreover, I have quite a few subdirectories under images and they all work fine. It must be something in the image file. --Halcatalyst (talk) 13:46, 6 April 2012 (UTC)


 * I found out how to do this on the Microsoft site. Thank you. --Halcatalyst (talk) 00:20, 8 April 2012 (UTC)