Wikipedia:Reference desk/Archives/Computing/2015 June 28

Computing desk
< June 27 << May | June | Jul >> June 29 >
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 28 edit

i have included header of the page using "<?php include 'header.php' ?>" in one php file, i want header not to reload whenever i click on any option on header. how to do it exactly ? 106.51.131.180 (talk) 06:30, 28 June 2015 (UTC)[reply]

You must use AJAX and dynamically update the content section of the page. You could use frames - but that's so 90's. If you waste time trying anything but AJAX, everyone will laugh at you. 75.139.70.50 (talk) 19:29, 28 June 2015 (UTC)[reply]

How to kill a frozenbird edit

I decided to give Ubuntu a chance. "Oh, it's quite stable. You won't want to use Windows again", they told me. However, every now and then a program freezes the system. Sometimes Ctrl + Alt + F3 will take me to a tty and I am able to kill the infringing program, or to kill all with kill -9 -1 and log-in again. Sometimes a terminal can be launched with Ctrl + Alt + t, and xkill be run. Sometimes a compiz --replace or a unity --replace will deal with the problem (I have the impression it's all compiz's and unity's fault, but they might be innocent). Sometimes, though, the system is completely blocked and none of the solutions above will work. That means, no access to any terminal.

Is there a way of always having the possibility to run a command to kill a program or run unity/compiz --replace? Could I for example, make the computer "earmark" some resources just in case the user wants to kill something? Is there something that will always work? Otherwise, I don't see how Ubuntu could be more stable than Windows. It's a pity actually, since I am enjoying some aspects of it (like installing programs from the repository). --Llaanngg (talk) 17:45, 28 June 2015 (UTC)[reply]

Ensue your video adapter and northbridge has no damage and sufficient cooling. Are You using the recent tested video drivers to prevent Xserver crashes? Is Memtest without error messages? --Hans Haase (有问题吗) 20:22, 30 June 2015 (UTC)[reply]

Postcard printing edit

Hi, I'd like to know a few things about printing postcards.

  1. What type of paper is used for printing picture postcards?
  2. What type of printer is used? Please specify some examples of models...

Hope someone one will help me out soon...--Joseph 17:46, 28 June 2015 (UTC)[reply]

The US Postal Service has specifications about postcards: http://pe.usps.com/businessmail101/mailcharacteristics/cards.htm — Preceding unsigned comment added by 75.139.70.50 (talk) 19:26, 28 June 2015 (UTC)[reply]
I'm getting this service is unavailable error. Meanwhile I'm from India.--Joseph 03:05, 29 June 2015 (UTC)[reply]
Postcard size is A6 and probably around 170 gsm --TrogWoolley (talk) 10:25, 29 June 2015 (UTC)[reply]
Which is better for it; matte or glossy paper..? Also, type of printers used...?--Joseph 10:39, 29 June 2015 (UTC)[reply]
You would want photo quality paper (another option is to run it through a lamination machine after). There are printers specifically designed to print this size, or you can print a full sized sheet and cut it down. The special printer would make sense only if you are printing larger numbers. In any case, I suggest a cheap 4 ink inkjet printer (3 colors plus black) or a color laser printer, if you are willing to spend the money for that. StuRat (talk) 20:17, 29 June 2015 (UTC)[reply]
Photo quality paper does have a glossy surface, isn't it.? I don't need that. I want to make postcards that will look like real postcards. Hope you understand what I mean.. --Joseph 02:48, 30 June 2015 (UTC)[reply]
You're going to need thicker paper, like card stock. I don't quite follow what you mean about not wanting a glossy surface. Postcards that I've seen all have a glossy surface on the side with the picture. (There are postcards without pictures, but you specifically mentioned "picture postcards" in your Q.) StuRat (talk) 04:11, 30 June 2015 (UTC)[reply]
I mean I don't need paper (that attracts our fingerprints and dirt) that is usually used for printing photos. Postcards are made of a different type of paper with the front side smooth and backside rough. I don't know what to call that type of paper. That's what I need.--Joseph 05:03, 30 June 2015 (UTC)[reply]
Laser printers use toner. Toner is plastic powder molten on the paper. Ink may be affected when getting wet be resolving in the fluid. Not every color laser printer supports photo quality. --Hans Haase (有问题吗) 20:27, 30 June 2015 (UTC)[reply]