Computing desk | ||
---|---|---|
< February 22 | << Jan | February | Mar >> | February 24 > |
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. |
Here are the troubles: When I try to open an appleworks file i receive a message saying "An unexpected error ocurred (error code -600)." Appleworks is permanently open for unknown reason(s). It resists my Force Quit attempts. Clicking on Appleworks on the dock does nothing. Any solutions? Thank you in advance 63.231.243.111 02:10, 23 February 2007 (UTC)
I'm writing data acquisition software in C on a PIC 18F2680 microcontroller. I have a serial stream in, which is double precision floating point, in IEEE 754. The stream is read by the chip one byte at a time (the buffer is only one byte wide). Thus, I have an array of 8 bytes, which I want to manipulate as it's value instead of as an array of bytes. Eventually, I want to typecast it to floating point, to cut the data size. How do I make the micro recognize the data as a double instead of as an array of characters? anonymous6494 03:24, 23 February 2007 (UTC)
union data { char chardata[8]; double realdata; };
Which would you guys say is the most semi-competent-windows-user-friendly Linux-based OS? I'm feeling like giving one a try. Is there one that can still run most windows-friendly programs, like Adobe stuff, realplayer, word, rosettastone, firefox, itunes, daemontools and many others? Thanks, 70.108.199.130 04:21, 23 February 2007 (UTC)
Does anybody here use kazaa? does it give any problems with your computer?04:39, 23 February 2007 (UTC)shindo9hikaru
Have to defend Kazaa - I have used it for about 2 years (maybe longer now) and providing you follow some basic rules you should be fine. I always found avoiding downloading strange file names was he easiest way to avoid malware or viruses. Also its dependant on what your downlaoding - if it is music then its normally quite safe though some files will not play as they require codecs or licences. If its videos you might find more of a problem as there are a lot of files that look like video files but when you open them there is nothing there or they require a licence. (Be careful with videos as you can downlaod large files with nothing there or require a pay licence).
Just to go back to your question I find it gives my computer no problems what so ever. Its a tad slow opening up but once that's over with I never have problems. It used to drop a lot of annoying files onto your hard-drive like adware and like but nothing harmful, but the free version I recently downlaoded didn't do that this time. -- PrincessBrat 11:55, 23 February 2007 (UTC)
I've been searching with no success. I figured if anybody could help me, it'd be you guys. I'm looking for (and I may be getting the technical names here slightly off, but hopefully it's somewhat clear) a ~15inch non-Apple laptop with a Core Duo ~2Ghz processor, a hard drive of 150+ gigs at a high clock speed (hopefully 7200ish), good resolution, great internal speakers, 2 gb of memory, a DVD burner, a battery that can last ~3-4 or more hours, and nice, sleek (as in simple, like Macbooks or the Voodoo Envy, not fancy gamer-looking like Alienware or the Dell XPS.) I couldn't care less about graphics cards or gaming potential. I just want a computer that can deal very well and quickly with lots of non-game stuff and multimedia and is very portable. Not a Mac. Hopefully for $3000 or less. Impossible, right? Is there anything that comes to any of your minds, or anything that comes close? If I wait half a year, are my odds of finding something this good going to increase? 70.108.199.130 04:40, 23 February 2007 (UTC)
Is this legally kosher? For example, if I wanted to create my own free implementation of a programming language which was claimed to be copyrighted, would I be violating copyright?
Suppose you want to run an Adult site. Text and images, but no movies. Profit isn't your main motive-- so, a "pay-for-access" site is off the table. That said-- it would be nice if you could at least be break-even-- i.e. having unobtrusive banner ads that could at least page for the domain name, hosting costs, and bandwidth. And in the unlikely event that that your site became super-popular, you would like _you_ to be the one to maintain ownership of the site-- rather than putting it up on some some adult-oriented version of Geocities.
I'm a computer geek by nature, and I've been setting up websites for as long as there have been webrowsers. But I've never had to try to set up adult-site banner ads or the like. Normally I'd just do Google AdSense in a situation like this, but they explicitly forbid sites that contain pornographic content. Is there anyone like AdSense, but open to adult sites?
(While I'm asking, I'd be open to host recommendations). Wouldbewebmaster 12:49, 23 February 2007 (UTC)
i was thinking of starting my own little home project to a help my programming skills and b help me learn all these dam confusing maths equations. basically i want to create a program where i can put in various initial conditions and viola i can create my own solar system. so does any1 one know a good language to try this in. i want to start it from the beginning so i'm really just looking for a good mathematical language that has some end user graphic capability's-- Colsmeghead 14:31, 23 February 2007 (UTC)
I understand that the Unix command at mails the output of the job to the user who scheduled it. What does it do if the system has no email system? Thanks. -- 87.194.21.177 15:51, 23 February 2007 (UTC)
$ at now at> echo "this is my job" | logger -t atjob 2>&1 at> ^D job 3 at 2007-02-23 11:20 $ $ tail -1 /var/log/messages Feb 23 11:20:40 mymachine atjob: this is my job
The bandwidth of the 'northbridge' is quoted at about 20GB/s xbox 360, yet each processor runs at 3.2GHz and the length of a PowerPC instruction is 4 bytes? 3.2x4x3=38.4GB/s - almost twice as much - can someone explain the discrepancy to me. 87.102.43.239 16:57, 23 February 2007 (UTC)
I'm no expert but nothing ever runs at full operating power so maybe 20 gb/s was on average or perhaps there some extra error check codes sent as well that take up some bandwidth?-- Colsmeghead 17:30, 23 February 2007 (UTC)
The processor will not fetch instructions all the time. Looping is extremly common, so it will not need to fetch nearly as many instructions. The ones it fetch will be in the instruction cache, so they will not need to be fetched again within the loop. -- cesarb 18:37, 23 February 2007 (UTC)
@ 2007-02-24T17:32Z
Thanks for your replies - which I found useful. 87.102.3.88 17:54, 26 February 2007 (UTC)
in the example shown on page 3 of http://en.wikipedia.org/wiki/LZW could you explain why during encoding the first 5 sysmbols of the string TOBEORNOTTOBEORTOBEORNOT# a 5 bit output code is used and then 6 bits are used to encode the remaining symbols. Why aren't 6 bits used at all times. How does the decoder know that it is only the first 5 symbols that are using 5 bits? --anonymous
In order to keep things clear, let us assume that we're dealing with a simple alphabet - capital letters only, and no punctuation or spaces. [...] The # is a marker used to show that the end of the message has been reached. : Clearly, then, we have 27 symbols in our alphabet (the 26 capital letters A through Z, plus the # character). A computer will render these as strings of bits; 5-bit strings are needed to give sufficient combinations to encompass the entire dictionary. As the dictionary grows, the strings will need to grow in length to accommodate the additional entries. A 5-bit string gives 25 = 32 possible combinations of bits, and so when the 33rd dictionary word is created, the algorithm will have to start using 6-bit strings. [2]
Does anyone know how to turn off that user icon in vista? In XP you could use TweakUI to take it out of your start menu and you could disable the welcome screen to get a more professional looking login, but I don't see any option in Vista to turn it off. The icon sticks randomly out of the otherwise-greatlooking start menu and it would look a lot better without it. Also my "This computer is locked" screen is dominated by this ridiculous icon- but it would look great without it.
Does anyone at least know what registry key that TweakUI for XP changes to turn off the icon in the start menu? ( Regmon could find this.) The same key might still work in Vista -- froth T 21:13, 23 February 2007 (UTC)
Given...
<element>special fruit name</element>
... is there a way to get
<element type="apple"> <apple>.....</apple> </element>
or
<element type="orange"> <orange>.....</orange> </element>
That is to say, I can determine the type, but I need to grab the child element's name from the result XML. Is that possible? One thought I had was to run the output XML through a second XSLT to handle this, but I'd really rather do it in one transformation. Thanks! -- 207.216.243.201 21:32, 23 February 2007 (UTC)
Ah, found my own answer.
<xsl:variable name="fruitType">apple or orange</xsl:variable> <element type="{$fruitType}"> <xsl:element name="{$fruitType}">.....</xsl:element> </element>
Thanks anyway! -- 207.216.243.201 21:46, 23 February 2007 (UTC)
Computing desk | ||
---|---|---|
< February 22 | << Jan | February | Mar >> | February 24 > |
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. |
Here are the troubles: When I try to open an appleworks file i receive a message saying "An unexpected error ocurred (error code -600)." Appleworks is permanently open for unknown reason(s). It resists my Force Quit attempts. Clicking on Appleworks on the dock does nothing. Any solutions? Thank you in advance 63.231.243.111 02:10, 23 February 2007 (UTC)
I'm writing data acquisition software in C on a PIC 18F2680 microcontroller. I have a serial stream in, which is double precision floating point, in IEEE 754. The stream is read by the chip one byte at a time (the buffer is only one byte wide). Thus, I have an array of 8 bytes, which I want to manipulate as it's value instead of as an array of bytes. Eventually, I want to typecast it to floating point, to cut the data size. How do I make the micro recognize the data as a double instead of as an array of characters? anonymous6494 03:24, 23 February 2007 (UTC)
union data { char chardata[8]; double realdata; };
Which would you guys say is the most semi-competent-windows-user-friendly Linux-based OS? I'm feeling like giving one a try. Is there one that can still run most windows-friendly programs, like Adobe stuff, realplayer, word, rosettastone, firefox, itunes, daemontools and many others? Thanks, 70.108.199.130 04:21, 23 February 2007 (UTC)
Does anybody here use kazaa? does it give any problems with your computer?04:39, 23 February 2007 (UTC)shindo9hikaru
Have to defend Kazaa - I have used it for about 2 years (maybe longer now) and providing you follow some basic rules you should be fine. I always found avoiding downloading strange file names was he easiest way to avoid malware or viruses. Also its dependant on what your downlaoding - if it is music then its normally quite safe though some files will not play as they require codecs or licences. If its videos you might find more of a problem as there are a lot of files that look like video files but when you open them there is nothing there or they require a licence. (Be careful with videos as you can downlaod large files with nothing there or require a pay licence).
Just to go back to your question I find it gives my computer no problems what so ever. Its a tad slow opening up but once that's over with I never have problems. It used to drop a lot of annoying files onto your hard-drive like adware and like but nothing harmful, but the free version I recently downlaoded didn't do that this time. -- PrincessBrat 11:55, 23 February 2007 (UTC)
I've been searching with no success. I figured if anybody could help me, it'd be you guys. I'm looking for (and I may be getting the technical names here slightly off, but hopefully it's somewhat clear) a ~15inch non-Apple laptop with a Core Duo ~2Ghz processor, a hard drive of 150+ gigs at a high clock speed (hopefully 7200ish), good resolution, great internal speakers, 2 gb of memory, a DVD burner, a battery that can last ~3-4 or more hours, and nice, sleek (as in simple, like Macbooks or the Voodoo Envy, not fancy gamer-looking like Alienware or the Dell XPS.) I couldn't care less about graphics cards or gaming potential. I just want a computer that can deal very well and quickly with lots of non-game stuff and multimedia and is very portable. Not a Mac. Hopefully for $3000 or less. Impossible, right? Is there anything that comes to any of your minds, or anything that comes close? If I wait half a year, are my odds of finding something this good going to increase? 70.108.199.130 04:40, 23 February 2007 (UTC)
Is this legally kosher? For example, if I wanted to create my own free implementation of a programming language which was claimed to be copyrighted, would I be violating copyright?
Suppose you want to run an Adult site. Text and images, but no movies. Profit isn't your main motive-- so, a "pay-for-access" site is off the table. That said-- it would be nice if you could at least be break-even-- i.e. having unobtrusive banner ads that could at least page for the domain name, hosting costs, and bandwidth. And in the unlikely event that that your site became super-popular, you would like _you_ to be the one to maintain ownership of the site-- rather than putting it up on some some adult-oriented version of Geocities.
I'm a computer geek by nature, and I've been setting up websites for as long as there have been webrowsers. But I've never had to try to set up adult-site banner ads or the like. Normally I'd just do Google AdSense in a situation like this, but they explicitly forbid sites that contain pornographic content. Is there anyone like AdSense, but open to adult sites?
(While I'm asking, I'd be open to host recommendations). Wouldbewebmaster 12:49, 23 February 2007 (UTC)
i was thinking of starting my own little home project to a help my programming skills and b help me learn all these dam confusing maths equations. basically i want to create a program where i can put in various initial conditions and viola i can create my own solar system. so does any1 one know a good language to try this in. i want to start it from the beginning so i'm really just looking for a good mathematical language that has some end user graphic capability's-- Colsmeghead 14:31, 23 February 2007 (UTC)
I understand that the Unix command at mails the output of the job to the user who scheduled it. What does it do if the system has no email system? Thanks. -- 87.194.21.177 15:51, 23 February 2007 (UTC)
$ at now at> echo "this is my job" | logger -t atjob 2>&1 at> ^D job 3 at 2007-02-23 11:20 $ $ tail -1 /var/log/messages Feb 23 11:20:40 mymachine atjob: this is my job
The bandwidth of the 'northbridge' is quoted at about 20GB/s xbox 360, yet each processor runs at 3.2GHz and the length of a PowerPC instruction is 4 bytes? 3.2x4x3=38.4GB/s - almost twice as much - can someone explain the discrepancy to me. 87.102.43.239 16:57, 23 February 2007 (UTC)
I'm no expert but nothing ever runs at full operating power so maybe 20 gb/s was on average or perhaps there some extra error check codes sent as well that take up some bandwidth?-- Colsmeghead 17:30, 23 February 2007 (UTC)
The processor will not fetch instructions all the time. Looping is extremly common, so it will not need to fetch nearly as many instructions. The ones it fetch will be in the instruction cache, so they will not need to be fetched again within the loop. -- cesarb 18:37, 23 February 2007 (UTC)
@ 2007-02-24T17:32Z
Thanks for your replies - which I found useful. 87.102.3.88 17:54, 26 February 2007 (UTC)
in the example shown on page 3 of http://en.wikipedia.org/wiki/LZW could you explain why during encoding the first 5 sysmbols of the string TOBEORNOTTOBEORTOBEORNOT# a 5 bit output code is used and then 6 bits are used to encode the remaining symbols. Why aren't 6 bits used at all times. How does the decoder know that it is only the first 5 symbols that are using 5 bits? --anonymous
In order to keep things clear, let us assume that we're dealing with a simple alphabet - capital letters only, and no punctuation or spaces. [...] The # is a marker used to show that the end of the message has been reached. : Clearly, then, we have 27 symbols in our alphabet (the 26 capital letters A through Z, plus the # character). A computer will render these as strings of bits; 5-bit strings are needed to give sufficient combinations to encompass the entire dictionary. As the dictionary grows, the strings will need to grow in length to accommodate the additional entries. A 5-bit string gives 25 = 32 possible combinations of bits, and so when the 33rd dictionary word is created, the algorithm will have to start using 6-bit strings. [2]
Does anyone know how to turn off that user icon in vista? In XP you could use TweakUI to take it out of your start menu and you could disable the welcome screen to get a more professional looking login, but I don't see any option in Vista to turn it off. The icon sticks randomly out of the otherwise-greatlooking start menu and it would look a lot better without it. Also my "This computer is locked" screen is dominated by this ridiculous icon- but it would look great without it.
Does anyone at least know what registry key that TweakUI for XP changes to turn off the icon in the start menu? ( Regmon could find this.) The same key might still work in Vista -- froth T 21:13, 23 February 2007 (UTC)
Given...
<element>special fruit name</element>
... is there a way to get
<element type="apple"> <apple>.....</apple> </element>
or
<element type="orange"> <orange>.....</orange> </element>
That is to say, I can determine the type, but I need to grab the child element's name from the result XML. Is that possible? One thought I had was to run the output XML through a second XSLT to handle this, but I'd really rather do it in one transformation. Thanks! -- 207.216.243.201 21:32, 23 February 2007 (UTC)
Ah, found my own answer.
<xsl:variable name="fruitType">apple or orange</xsl:variable> <element type="{$fruitType}"> <xsl:element name="{$fruitType}">.....</xsl:element> </element>
Thanks anyway! -- 207.216.243.201 21:46, 23 February 2007 (UTC)