Computing desk | ||
---|---|---|
< June 2 | << May | June | Jul >> | June 4 > |
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. |
I'm interested in writing a fast lexical scanner that recognizes 50 or so English words. The scanner also has to be able to say "this word is not on the list" if it sees a word that's not part of the fixed vocabularity. Two traditional ways to do it are:
I would have expected the second approach to cause a lot of pipeline stalls because of all the conditional branches, but so far I haven't run benchmarks. Before I do a bunch of work making such measurements, does anyone know if this has already been studied? Thanks.
69.228.171.139 ( talk) 00:19, 3 June 2012 (UTC)
lodsdw ; Get 4 characters. or eax,20202020h ; Force lower case. cmp eax,"isnu" ; Test for beginning of "unsi"(gned), little-endian.
Somebody has to tell me. I have been mystified all day. How is this done? KägeTorä - (影虎) ( TALK) 04:47, 3 June 2012 (UTC)
Hey, seems like I cannot authorize MuseScore to interact with musescore.com. The website shows me the error message which is at http://musescore.com/oauth/authorize?oauth_token=null. What to do? 123.24.125.166 ( talk) 08:42, 3 June 2012 (UTC)
our article Rich Internet Application starts,
"A Rich Internet Application (RIA) is a Web application that has many of the characteristics of desktop application software, typically delivered by way of a site-specific browser, a browser plug-in, an independent sandbox, extensive use of JavaScript, or a virtual machine"
Could you give me more information about or examples in practice of the last of these? (Virtual machines). The article doesn't mention a VM or the words Virtual Machine again. -- 80.99.254.208 ( talk) 09:10, 3 June 2012 (UTC)
Is it possible for someone to send a phishing e-mail using a personal email address, like one that you keep in your Contacts list? 173.2.164.121 ( talk) 09:23, 3 June 2012 (UTC)
Look at this section of the article The Great Giana Sisters. It shows two screenshots from the Commodore 64 version, and the colours look different, despite the fact that the Commodore 64 can only display 16 colours. This doesn't happen with screenshots from Amiga software. I think I know the reason for this: Although both the Commodore 64 and the Amiga use indexed colour, the Amiga knows the exact RGB hues of the colours ("index 0 means colour #07F, index 1 means colour #FFF, index 2 means colour #000, index 3 means colour #F70..."), but the Commodore 64 only knows the general appearances of the colours ("index 0 means black, index 1 means white, index 2 means red, index 3 means cyan..."). So when emulating the Commodore 64 on hardware that does know exact RGB hues, such as the Amiga or modern PCs, there has to be a mapping from palette indices to exact RGB hues, and as there is only general appearance information available on the Commodore 64's colours, this mapping varies between emulators, sometimes even in the same emulator. Now my question is first, am I on the right track here? Second, how exactly does the Commodore 64 convert palette indices to actual colours that the TV or monitor is supposed to draw? Third, is there any attempt to make a global standard about mapping Commodore 64 palette indices to RGB hues? JIP | Talk 16:52, 3 June 2012 (UTC)
xmag
over the image reveals the correspondence between the pixels in the image and those in the original game is 100% perfect, if we don't take into account the mapping between palette indices and RGB colours. So it is obvious that it comes directly from a computer, bypassing the physical world. But that could still mean either an emulator, or a direct screen capture from the Commodore 64.
JIP |
Talk
19:45, 4 June 2012 (UTC)
Computing desk | ||
---|---|---|
< June 2 | << May | June | Jul >> | June 4 > |
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. |
I'm interested in writing a fast lexical scanner that recognizes 50 or so English words. The scanner also has to be able to say "this word is not on the list" if it sees a word that's not part of the fixed vocabularity. Two traditional ways to do it are:
I would have expected the second approach to cause a lot of pipeline stalls because of all the conditional branches, but so far I haven't run benchmarks. Before I do a bunch of work making such measurements, does anyone know if this has already been studied? Thanks.
69.228.171.139 ( talk) 00:19, 3 June 2012 (UTC)
lodsdw ; Get 4 characters. or eax,20202020h ; Force lower case. cmp eax,"isnu" ; Test for beginning of "unsi"(gned), little-endian.
Somebody has to tell me. I have been mystified all day. How is this done? KägeTorä - (影虎) ( TALK) 04:47, 3 June 2012 (UTC)
Hey, seems like I cannot authorize MuseScore to interact with musescore.com. The website shows me the error message which is at http://musescore.com/oauth/authorize?oauth_token=null. What to do? 123.24.125.166 ( talk) 08:42, 3 June 2012 (UTC)
our article Rich Internet Application starts,
"A Rich Internet Application (RIA) is a Web application that has many of the characteristics of desktop application software, typically delivered by way of a site-specific browser, a browser plug-in, an independent sandbox, extensive use of JavaScript, or a virtual machine"
Could you give me more information about or examples in practice of the last of these? (Virtual machines). The article doesn't mention a VM or the words Virtual Machine again. -- 80.99.254.208 ( talk) 09:10, 3 June 2012 (UTC)
Is it possible for someone to send a phishing e-mail using a personal email address, like one that you keep in your Contacts list? 173.2.164.121 ( talk) 09:23, 3 June 2012 (UTC)
Look at this section of the article The Great Giana Sisters. It shows two screenshots from the Commodore 64 version, and the colours look different, despite the fact that the Commodore 64 can only display 16 colours. This doesn't happen with screenshots from Amiga software. I think I know the reason for this: Although both the Commodore 64 and the Amiga use indexed colour, the Amiga knows the exact RGB hues of the colours ("index 0 means colour #07F, index 1 means colour #FFF, index 2 means colour #000, index 3 means colour #F70..."), but the Commodore 64 only knows the general appearances of the colours ("index 0 means black, index 1 means white, index 2 means red, index 3 means cyan..."). So when emulating the Commodore 64 on hardware that does know exact RGB hues, such as the Amiga or modern PCs, there has to be a mapping from palette indices to exact RGB hues, and as there is only general appearance information available on the Commodore 64's colours, this mapping varies between emulators, sometimes even in the same emulator. Now my question is first, am I on the right track here? Second, how exactly does the Commodore 64 convert palette indices to actual colours that the TV or monitor is supposed to draw? Third, is there any attempt to make a global standard about mapping Commodore 64 palette indices to RGB hues? JIP | Talk 16:52, 3 June 2012 (UTC)
xmag
over the image reveals the correspondence between the pixels in the image and those in the original game is 100% perfect, if we don't take into account the mapping between palette indices and RGB colours. So it is obvious that it comes directly from a computer, bypassing the physical world. But that could still mean either an emulator, or a direct screen capture from the Commodore 64.
JIP |
Talk
19:45, 4 June 2012 (UTC)