Computing desk | ||
---|---|---|
< December 10 | << Nov | December | Jan >> | December 12 > |
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 am trying to get my website to have no borders (i.e., hug the sides of the screen instead of the usual 1 or 2px borders), but it's not really working. I can't figure out what I'm doing wrong. The header and footer have no border (yay) but all the other tables on the page (and every other page on my site) still have the 1 or 2px borders, which annoys me because it's not aesthetically pleasing at all. I have my body tag set to margin:0 and padding:0. I'm not going to post the entire source code here, so I'll link to it and assume you can press Ctrl-U or whatever the button is. flaminglawyercneverforget 00:55, 11 December 2008 (UTC)
margin:0px;
, not just margin:0;
. By setting your body tag to have no margin or padding, the content will be able to go all the way to the top and sides of the page. For content inside the page, such as a div, p, or table, there is a margin around those. You need to set the margin for those tags to 0px also if you don't want a margin around them. Look up info on the "box-model" for CSS for plenty of descriptions about how margin and padding are used. -- kainaw™ 02:28, 11 December 2008 (UTC)On Windows, I'd like to stick a line of commands into the "Run..." dialog, have it execute them in the Command Prompt window, then stay open long enough to read the results. I don't seem to be having much luck :-) One example is systeminfo | find "Up Time".
I've tried piping that to "more", and tried prefixing the whole thing with "start", to no avail. The latter really surprises me, start systeminfo | find "Up Time" gives error message "Windows cannot find start. What am I missing? --DaHorsesMouth (talk) 02:52, 11 December 2008 (UTC)
Did you count the keystrokes in some of those solutions? Anyway, Jørgen comes closest -- thanks! (1) Click Start (2) Click Run (3) Click previously entered string cmd /K systeminfo | find "Up Time" (4) Read screen and click X to close. No cutting, no pasting, no pause.
Thanks to all for the education; I thought cmd.exe was the program behind the Command Prompt, and didn't know you could actually call it directly. --DaHorsesMouth (talk) 23:46, 11 December 2008 (UTC)
Is there any way to make an Illustrator document's artboard size itself to fit to the content automatically? It seems like I either have to specify a print media size (e.g. letter, tabloid) or have to specify my own dimensions. Because I usually am exporting Illustrator images for use in other programs (e.g. InDesign), it'd be way more convenient if I could just automatically have the artboard crop itself to the minimum dimensions to fit the content, as can be easily done in Inkscape. Can this be done in Illustrator? --140.247.11.18 (talk) 03:16, 11 December 2008 (UTC)
Hi, I made a created a design on a piece of software called ProDesktop. I added components I had already made to create a table and saved the finished design, but did NOT let it save copies of all the referenced documents because I already had them saved on my desktop so I thought there was no point. I have now tried to open the finished design now and I have been told that ProDesktop can't find the file, so I browse myself and show it the file, but it says it "is not the correct file."
I tried to open this referenced file but it can't find it, so I have tried to replicate it (it was simple so I think I have everything correct) but that doesn't work either, it also says it is not the correct file.
I've just spent over 4 hours on this so I really can’t have it fail on me now!
Is there any way I can force it to think that the correct file is in fact the right file, or could I force it to use the replica instead (as it is the same)?
Also what makes it think that this is the wrong file, i.e. how does it know (or in this case falsely know)?
Thanks. 92.6.195.164 (talk) 03:40, 11 December 2008 (UTC)
P.S. I think the origonal referenced file corrupted itself (somehow) and soit can't accept it. I can't see why it doesn't accept my replica.92.6.195.164 (talk) 03:47, 11 December 2008 (UTC)
My mom and sister have a very slow computer with a very slow connection to the internet. They use OE for their email, which, besides the usual problems, means they have to download an entire email to read it. I think they'd be better off using one of the many web-based free email services, but my guess is that something like GMail is going to be too slow to load due to flashy GUI, ads, etc. Can someone recommend a web-based email service that's a)free, b)simple to use, and c)targeted to folks with slow dial-up connections? It doesn't have to have any kewl options, it just needs to let them see an email before downloading all the attachments. Matt Deres (talk) 04:04, 11 December 2008 (UTC)
My CAD software allows me create artwork for producing electronic circuits. Recently I have produced several designs that are very small. Single sided PCBs (printed circuit boards) can be produced at home with a little time and effort. The process that I use requires pre-sensitized circuit boards that are available in various sizes, but I frequently use single sided 4inch by 6inch boards like these: [http://www.circuitspecialists.com/level.itml/icOid/3802}.
Given that it is problematic and wasteful, but not impossible, to cut the boards into smaller size before the lithographic and wet chemical processing, and given that the size of the typical circuits that I have been producing are very small (many less than 2in^2), and given that (manual step and repeat) the process of printing many copies and manually and carefully taping the tiny pieces of fairly expensive vellum or onion skin paper while maintaining cleanliness and good UV transparency for the lithographic exposure is a pain and wastes a lot of paper,
So now the question...
Is there any FREE way to step and repeat the postscript file, the HPGL file, or the gerber file, which are the convenient output for me to generate, so that I can expose the whole board from one master and reduce the wasted time, effort and materials that I have had to expend to accomplish the seemingly simple task of making many copies of a circuit on one PCB.
Additionally, in the past (and without some resolution here, perhaps in the future) I have offset the design from center, in each of the 4 quadrants, and passed the same sheet through the printer 4 times, and found this does work; however, it is a lot of work, error prone, time consuming, and limited to 4 repeats.
One more thing, I have already looked at a shareware named ABviewer, but it showed a black page when I opened the HPGL output intended for my HPLJ5MP printer (generated via print to file).
Thanks in advance. U.S.Citizen (talk) 04:37, 11 December 2008 (UTC)
I'm implementing a binary search tree in D with a Node class and a BinaryTree class. I've finished a basic unbalanced binary tree and I'm trying to implement an AVL tree. The Node class has several methods like depth, max, and min which are all non-modifying but make things a lot easier (depth calls other nodes' depth function). I want to have a new AVLNode class that inherits from the Node class (since AVL trees' nodes have an extra attribute - the balance factor). This makes the compiler go crazy:
I've tried to fix (1) by using templates and aliases but they don't work for (2). Any suggestions? --wj32 t/c 07:29, 11 December 2008 (UTC)
class Node { protected: Node *left ; Node *right ; public: Node () {} ; } ;
class AVLNode : protected Node { public: AVLNode () { left = new AVLNode ; // This works just fine! right = new AVLNode ; } } ;
It's impossible to find a computer keyboard anymore that isn't messed up. It either has lots of extra unwanted buttons like "power management" that if you accidentally bump it, these buttons shut down your computer in a way worse than yanking out the plug and garble half your hard drive. If they don't have that, then they have the buttons all messed up. The insert button is moved far to the top right and the delete is double size with he home, end, and page up, page down buttons turned on their site. Also the arrow keys are moved all around so they are under the right shift.
Anyone know what's going on with all the new computer keyboards? Are you ready for IPv6? (talk) 09:29, 11 December 2008 (UTC)
Is there any tag (like <br />, I'm imagining) that enforces whitespace? Transcluding a template and inserting a few spaces here doesn't work (and a colon, which does enforce some whitespace, is just displayed). -- Mentisock 11:03, 11 December 2008 (UTC)
Also, if you start the line with a blank, then your spacing is maintained. StuRat (talk) 14:58, 11 December 2008 (UTC)
<poem>...</poem>
; this maintains both spacing and line breakspadding-left:
; it can be set in px, em or ex. I use poem for formatted text as you don't have to add line breaks. --—— Gadget850 (Ed) talk - 21:10, 11 December 2008 (UTC)i'm a engineering graduate in computer engg..i want to know if i can make my career in networking..i don't have any clue..how can i do so.i need ur help or can say i need your guidance in making my career in networking —Preceding unsigned comment added by Shubham 3112 (talk • contribs) 13:00, 11 December 2008 (UTC)
I am having a little trouble with my laptop computer. As I am going to visit my parents over Christmas, and my larger computer is rather too big to take with me everywhere, I was hoping to get all my work done on my laptop, but now it seems that isn't going to be possible.
Sometimes my computer decides to install updates I don't want to things I'm not even sure I have without my permission. this is annoying in itself, but the real problem is that after doing this, my computer then sometimes comes up with a message saying it will restart in 5 minutes. I've managed to get it to stay on as long as I want it to, but with my new laptop, unlike any other computer I've had, when I turn it off afterward, even though I intend to turn it back on later, thereby restarting it, it instead decides to restart right then, leaving me to wait for it to load in again before i can turn it back off. Usually, especially when in a hurry, I simply push the on button, which turns the computer straight off, the only problem being that when I turn it back on I have to select 'start windows normally', after which it works properly again.
But this one time that isn't happening. Instead whenever I turn it on, whichever option I choose, it loads a little way, then after making a few strange whirring noises it stops and starts loading from the beginning again, after which it tells me something is wrong and asks me how I want it to load. I've tried safe mode, last setting that worked and normal, but the same thing always happens. I tried unplugging the internet, taking the CD out, then I tried unplugging it so it was running just on battery power, but the only difference then was that it made a slightly different whirring sound. I went into the setting menu, but I don't know what most of the stuff there does, and none of the options look like they would help at all anyway. I found a way to ask it to use a different boot driver, or something like that, I may not have remembered the name quite right, but whatever it was, I tried all three and nothing changed.
I've about run out of options now, and I need this computer to work, or I will have no access to any of my work on it, or to the internet for three weeks, and with my work due in another week after that, and this computer barely working either, I'll probably end up failing everything. I'm already behind in most of my work, and a lot of what I have done before hasn't worked out too well, so this is my last chance to prove that I can understand what I am told, can do the work and am not an idiot who should go back to school, or whatever it is they are planning now. That's enough ranting though, I don't suppose you really want to know all my trouble, apart from with my computer. I've completely run out of things to try, and I really need it working by saturday morning.
148.197.114.165 (talk) 14:28, 11 December 2008 (UTC)
I tried 'last good configuration', but it didn't help. And I haven't been interrupting the updates, only the restarting of the computer afterward. Though I suppose that's just as bad.
My dad spent a long time setting it to download and install updates when I first got the laptop, and it wouldn't have seemed right undoing all that work, even if I knew how, and he seemed sure it was important. I don't really mind the updates, except when they interrupt whatever else I'm trying to do. The only real problem I had was when the computer decided to restart itself either part of the way through my doing something else, or instead of turning off.
I had though about taking the hard drive out, but it seemed too much like those unusual and rather too practical schemes I sometimes come up with, that my parents have spent a lot of time persuading me not to do.
148.197.114.165 (talk) 12:55, 12 December 2008 (UTC)
How do I tell Python to open file xy? (using the standard program in the OS, and not opening a file for reading its content). Mr.K. (talk) 15:52, 11 December 2008 (UTC)
f = file('poem.txt', 'w') # open for 'w'riting
f.write(poem) # write text to file
f.close() # close the file
import gnomevfs
gnomevfs.url_show("file:///home/myname/Examples/oo-trig.xls") # it seems to require an absolute path
import win32api win32api.ShellExecute ( 0, # window handle "open", # action e.g. "edit", "print", or None for default action filename, # file to open None, # parameters to application ".", # default directory 0 # flags for showing application )
alright, i know how to use resource hacker and how to edit the resources of ntoskrnl.exe to change the boot screen. But i'd like to know whether or not i can use GIMP 2.6.3 to edit the boot screen, or if i'll have to get Paint Shop Pro or some other program. Don't suggest BootSkin; i like to hack and to me that program is cheating. Buffered Input Output 17:26, 11 December 2008 (UTC)
Ok, i tried it and it didn't work, the screen stayed the same. Is there a palette file i need to load or something? Buffered Input Output 13:42, 12 December 2008 (UTC)
another question, i have several videos downloaded as an MPEG file. The audio and video tracks are in a "MPEG 1 Muxed" format that refuses to export sound to any other format. I want these videos on my iPod and would really like to have sound with them. Is there any way to "un-mux" this muxed track? Buffered Input Output 17:34, 11 December 2008 (UTC)
iTunes won't import or even add .mpeg files to the library. My codec pack says i have 6 different demuxers, but all of them are in .dll files. Buffered Input Output 14:29, 15 December 2008 (UTC)
Does MSN/Windows Live Messenger have any alternative clients that can use webcams on Windows? Specifically, it's for use under VMware Fusion. My Mac OSX client (Adium) isn't (yet) compatible.81.143.61.181 (talk) 23:28, 11 December 2008 (UTC)