Wikipedia:Reference desk/Archives/Computing/2007 June 19

Computing desk
< June 18 << May | June | Jul >> June 20 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


June 19 edit

protocol edit

what is protocol —Preceding unsigned comment added by 24.10.124.11 (talkcontribs) 00:29, 19 June 2007

You could try reading our Protocol article, for a start. (You're probably interested in one of the topics in the "Communications and computing" subsection.) —Steve Summit (talk) 02:01, 19 June 2007 (UTC)[reply]

flash app edit

I need a quick lesson on programming a flash app for my TI-84. where can i find one, or can someone give me a quick one here.

I am trying to create a cash register of sorts that counts number of sales of each product.

thank you, Omnipotence407 01:44, 19 June 2007 (UTC)[reply]

I know next to nothing about asm in TI-84, but here's a link that might help: http://en.wikibooks.org/wiki/TI_83_Plus_Assembly. What is this for? Splintercellguy 02:47, 19 June 2007 (UTC)[reply]
There seem to be C compilers that could possibly build for the TI-83 platform, try googling. Splintercellguy 02:57, 19 June 2007 (UTC)[reply]
Eh I don't think so- only the higher calcs (89, 92) take C, the 82/83/84s are best programmed in direct assembly --frotht 04:52, 19 June 2007 (UTC)[reply]
There are only a few differences between flash apps and normal asm programs - it must be 16k or 32k in size, it runs directly from flash memory, you must use a special application to make it the correct format. if you don't know Z80 assembly, though, you don't stand a chance --frotht 04:52, 19 June 2007 (UTC)[reply]
You sure, Froth? Googling turned up apps that claimed to be able to build for TI-83. Splintercellguy 08:18, 19 June 2007 (UTC)[reply]
Yes I'm sure, the 83 is like programming a watch it has so little resources. If any program actually attempts to compile C to z80 machine code for the 83, it would be terribly slow or resource hogging. Basically the program for compiling C to Z80 is TIGCC but it only compiles for the 89 and 92 --frotht 12:29, 19 June 2007 (UTC)[reply]

Yeah, everything looks like greek to me. I can program in the normal programs but i want to be able to track what i run through, something i think works bestin an app so id doesnt suck as many resources. Omnipotence407 01:27, 21 June 2007 (UTC)[reply]

Codecs edit

What are codecs and where can you get it from?

124.183.39.98 08:08, 19 June 2007 (UTC)[reply]

Have you read our article on codecs? Googling for one can help. Splintercellguy 08:18, 19 June 2007 (UTC)[reply]
Generally speaking, if you want to just play some media files and your program is asking for a codec, yes you can try finding the codec, but I can recommend you try VLC_media_player (free) which tends to have all the codecs you need. There are some exceptions for proprietary codecs, like Real Media. VLC player can't play those files - but it can play just about everything else: DivX, Mpeg, AVI, etc. Highly recommended Rfwoolf 17:18, 19 June 2007 (UTC)[reply]

whats this edit

every time i try to open my yahoo mail i receive this messsage on the address bar.is my email been blocked or sumthin? http://us.mg2.mail.yahoo.com/dc/system_requirements?browser=blocked

It just means you can't use their new version of yahoo mail with your browser. Just click the link on the right that says "proceed to original yahoo mail" and it should be fine. Recury 16:42, 19 June 2007 (UTC)[reply]

Parellels edit

I've set up my own custom tiny linux system under parallels for mac. Now, I would like to take the (30mb) virtual hard drive and copy it ontu my memory key. Does anyone know how to do that...?--67.181.167.227 16:14, 19 June 2007 (UTC)[reply]

Desktop icons broken edit

File:Brokenicons.jpg
weeeeird

Hi, my desktop icons all appear weird - they all have a white box over them (see right). Does anyone know how to fix them. I'm running Vista, and wish to see no smartass comments from anyone about "move to Linux/Mac", thank you. Vista is awesome and has been so since I installed it three months ago, this is the first problem I've had. I tried changing the colour from 32 to 16-bit and back again to see if that would force the icons to redraw, no dice. I've also restarted the computer, and also tried changing the icon, still no luck. Every icon has one of these weird white boxes over it (I don't know what they are called). When I refresh the desktop (right click, hit "Refresh"), they appear normally for a fraction of a second before the white boxes appear again. The shortcuts all do actually work, though, still. Any ideas? Neil  16:44, 19 June 2007 (UTC)[reply]

  • Looks like there's a problem with the files related to your shortcut overlay arrow. Give this site a try [1]. Wizzard2k 17:15, 19 June 2007 (UTC)[reply]
    That solved it! Thanks Wizzard. Neil  19:25, 19 June 2007 (UTC)[reply]

JSF/Facelets, don't render parent, but still render children edit

Is there any way to be able to change the parent's render attribute without affecting its children? I am using the most recent stable versions of JSF/Facelets and I wouldn't be opposed to using an outside library. Basically, what I am trying to do is:

<h:inputTextArea> <h:outputText>#{ManagedBean.value}</h:outputText> </h:inputTextArea>

, where it would only render the text area around the outputText if ManagedBean.edit = "true". Also, there would be an outer h:form element which would only render under the same circumstances as h:inputTextArea. If ManagedBean.edit = "false", it would only render the h:outputText.

Thanks for your help.

149.173.6.51 20:12, 19 June 2007 (UTC)[reply]

Linux joystick problem edit

I've got a Logitech Extreme 3D Pro Joystick. (Actually, I've had two of them; I bought a new one yesterday.) The new one is recognized by Windows and Mac, but not by Linux. (Debian 2.6.8-2-686.)

I had the exact same joystick a little while ago, and Linux recognized it just fine. /dev/input/js0 was created, and I could read from it to my heart's content. But the new one I bought yesterday is not recognized at all. Unfortunately I don't have access to the old one at the moment to confirm whether it still works.

When I plug the new one in, I get

kernel: usb 2-1: new low speed USB device using address 2
kernel: drivers/usb/input/hid-core.c: ctrl urb status -2 received

in /var/log/messages. Sometimes (but not all of the time) I also get

hal.hotplug[4608]: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0

But it does look like somebody's waiting too patiently for a response that never comes. I never get a recognition message in the log file confirming the manufacturer and product name, and I never get any new device files appearing in /dev/input/. Sometimes the whole input subsystem gets hung, and my regular mouse (which is also USB) stops responding, and I have to reboot. This is happening on two different Linux laptops (both Debian 2.6.8-2-686).

Anyone seen anything like this before? Is the driver too sensitive to some timing issue with some models of this joystick? Is the particular joystick I have maybe borderline, and Windows and Mac just have better luck talking to it? (I hope not, because I'll have a hard time convincing the store to take it back with that kind of Linux-specific failure mode...) --Steve Summit (talk) 20:35, 19 June 2007 (UTC)[reply]

Looks like you aren't the only one; a quick Google search by the exact error message gave me [2]. --cesarb 22:59, 19 June 2007 (UTC)[reply]
Thanks, Cesar. Dunno why I didn't find that myself. —Steve Summit (talk) 23:42, 19 June 2007 (UTC)[reply]
Probably because you typed "ctrl urb status -2 received" instead of "ctrl urb status 2 received" on Google; the minus hyphen makes it never match. --cesarb 00:59, 20 June 2007 (UTC)[reply]
Hm, wasn't that, I just tested and it matches... They probably fixed it already. --cesarb 01:00, 20 June 2007 (UTC)[reply]