Wikipedia:Reference desk/Archives/Computing/2012 May 6

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Computing desk
< May 5 << Apr | May | Jun >> May 7 >
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.

May 6[edit]

How do I copy/transfer saved Xbox360 games?[edit]

A good friend is moving to Boston next month and I've had many hours' worth of gaming saved on game-save files from a few games. I tried to connect a Belkin transfer cable between my laptop and his XBox360 but it didn't seem to get anywhere? (How can I make the transfer happen this way?)

I also wonder whether the game-save information can be transferred from his account to a new one of mine.

Failing the other methods, I see USB ports. How easy is it to put on a USB card and are there possible snags to watch out for? Thanks. -- (talk) 04:47, 6 May 2012 (UTC)

I think you need to use a memory card. See Xbox_360_accessories#Memory_units. RudolfRed (talk) 06:10, 6 May 2012 (UTC)
You can use a USB flash drive for storage now. You'll want to get a new one, then hook it up and (I think) format it. Use the storage manager to copy save files to the flash drive. (talk) 15:45, 8 May 2012 (UTC)

Why did the IANA choose port 80 for HTTP?[edit]

Hi Guys - Why did IANA choose port 80 for HTTP? Did Berners-Lee's web server run on port 80? Tewner (talk) 12:10, 6 May 2012 (UTC)

Yes, I think TBL had it at 80. It's certainly 80 by the time of the first public HTTP documentation in 1991. Unfortunately I can't find old releases of CERN httpd on its website (only source for v3 from 1996). The changelog (which goes back to v0.1 in 1991, presumably matching that HTTP spec) doesn't mention a port change. So I think we can say, for anything remotely public, TBL always had it at 80. -- Finlay McWalterTalk 12:47, 6 May 2012 (UTC)
It was probably the next big step up from Gopher (protocol) on port 70. Graeme Bartlett (talk) 12:58, 6 May 2012 (UTC)

Cleaning an imac's screen[edit]

What do you use? I was about a second away from spritzing it with Windex and then it occurred to me "this isn't glass!"-- (talk) 13:04, 6 May 2012 (UTC)

Google it up, man. --Mr.98 (talk) 14:32, 6 May 2012 (UTC)
I recently investigated precisely the same question and I believe the Apple approved method for cleaning pretty much all iProduct screens is a microfiber cloth srayed lightly with plain water. Vespine (talk) 00:39, 7 May 2012 (UTC)
Water is only going to remove water-soluble schmutz. If you get some type of oil on it (like skin oil), this could be a problem. A Windex-soluble device sounds like a bad idea, to me. StuRat (talk) 22:21, 8 May 2012 (UTC)
Along with warnings that most of their screens are coated with various useful things that will get wiped off if you use some kind of astringent cleaner. --Mr.98 (talk) 11:38, 7 May 2012 (UTC)
Actually i've found that even with oily marks like fingerprints, a very slightly damp cloth is all you need. I think all iDevices these days have oleophobic screen surfaces. Vespine (talk) 23:10, 8 May 2012 (UTC)

CSS Code[edit]

Hi, I only started coding a couple of days ago, so I'm pretty clueless, and I'm just trying to look at other people's code to learn. I am coding in CSS to style websites that already exist, so I can't change their code; this CSS is for Stylish on Firefox. I want a side bar to stay fixed where it is on the page, and not scroll up, and "position:fixed" works fine for this. But the page has a navigation bar on the top, which I don't want fixed, and it isn't. The problem is, when scrolling down, the top bar disappears like I want, but the sidebar then has a lot of empty space above it. I want the sidebar to scroll up with the page until the page is scrolled down by 250px, and then to be fixed to the side. Is that possible?

I know I'm not the best at explaining things, so I'll give an example. Imagine the Wikipedia logo on the left spanned the whole top of the page. I would want the sidebar below that logo to stay fixed to the left, but let the logo scroll up. The problem would be that the links would have a lot of space above them when the page is scrolled down, because of the space the logo took. So I need to have that sidebar scroll up the size of the logo, and then be fixed.

I think it only possible if I use JavaScript, but I don't think that's possible with Stylish. Thanks for any help you can provide. (talk) 15:14, 6 May 2012 (UTC)

I wouldn't rule out the possibility of some fancy not-quite-fully-standardized way to hack that to work with just CSS, but it'd probably be simpler to do in JS, you might look into Greasemonkey . ¦ Reisio (talk) 18:18, 6 May 2012 (UTC)
Rather disappointingly, CSS isn't as general a style description language as one might like. In particular, one can't reorder how elements are arranged in HTML (one can often work around this with layout CSS, but it becomes increasingly complicated) and one can't change which elements are inside which. And CSS has very limited capacity to add and remove content from HTML. CSS certainly doesn't allow one total control over all aspects of every website. People have done amazing things styling in CSS Zen Garden, but the HTML for that is deliberately very simple and entirely semantic, which makes doing things much more straightforward. If your intention is to learn CSS (which is still a worthy and useful goal, as CSS is still a valuable thing and mostly a big improvement over what we had to do in HTML alone) then I'd personally recommend generating your own HTML and CSS together and following a sensible CSS tutorial (e.g. Dave Raggett's). Taking a look at how people did some wildly different things with the same content on CSS Zen Garden is also a useful learning tool. I think if you try to learn by simply manipulating the CSS of existing, often rather uncooperatively written, pages, you might get rather frustrated, and miss some of the deeper ideas of how things are supposed to work. -- Finlay McWalterTalk 18:35, 6 May 2012 (UTC)
I'm sure Finlay is aware of this, but just to clarify for others, CSS Zen Garden has a lot of semantically appropriate HTML heavily augmented by lots of completely meaningless cruft HTML to make it easier to do more with companion CSS. ¦ Reisio (talk) 20:20, 6 May 2012 (UTC)
Aside from the general problems, what you're asking to do, as far as I know, isn't even possible with just CSS. The CSS can't know that you want the logo to only scroll as far as the logo and then go to the very top. I can't think of a way I'd implement such a thing in pure CSS, in any case, even if I did have arbitrary control over the HTML. You would need some kind of Javascript in any event to do something like that. --Mr.98 (talk) 21:19, 6 May 2012 (UTC)

Thank you all for your help. I first decided to leave it with the space above it, but I then changed it so the top bar is narrower, such that it is never above the sidebar. It looks good like this, I think. I will definitely look at learning HTML and JavaScript, like you suggest, and I will look at Greasemonkey, as I have it installed, but I've never used it. Many thanks to you all for all of the help and support that you have provided! (talk) 22:51, 6 May 2012 (UTC)