Search Results

Search found 3 results on 1 pages for 'gradguy'.

Page 1/1 | 1 

  • Swap is not copied back into physical memory

    - by GradGuy
    I have a question regarding swap and physical memory. Often times I run a program that requires a lot of memory and as a result I can see some of the data is copied from the physical memory into swap. However, once the program is terminated, and the physical memory is freed I can still see a considerable amount of data on swap which significantly slows down the system and is annoying! What is the reason behind this and how does the OS decide which part of data should go to swap? How long is this data supposed to be there and how is it "freed"?

    Read the article

  • What makes C so popular in the age of OOP?

    - by GradGuy
    I code a lot both in C and C++ but did not expect C to be the second popular language, slightly behind Java! http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html I'm curious as why, in this age of OOP, C is still all that popular? Note that 4 out of top 5 popular languages are all "modern" object-oriented capable languages. Now I agree that you can do OOP in C to some extend, but that's sort of painful and not quite elegant! (well at least compared to C++ I guess) So what makes C this popular? efficiency? being low-level? or the vast majority of libraries that already exist? ... or something else?

    Read the article

  • Add a remote printer over ssh on OSX?

    - by GradGuy
    I have a printer at my office that is connected to a local network and my linux box at work can see it on the network. However, it is not visible to the outside world. I was trying to figure out a way to add it on my MacAir and so far have found two options: 1) Using ssh tunnel via CLI: cat file.pdf | ssh user@linuxbox lpr. 2) With Chrome installed on the linux box, using the Google Cloud Print service on the remote box and automator on my MacAir I can add the printer to Cmnd+p dialog box I like the first method since it does not require Chrome be installed and the second one since it allows to use Cmnd+p inside all applications. I was wondering if there is a way to combine by using automator to run the first command line script. What about port forwarding? Is it possible to forward the remote CUPS 631 port to a local port and then add the printer normally? What other methods would you recommend?

    Read the article

1