Search:

Type: Posts; User: Dubslow; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    4
    Views
    890

    [all variants] Re: Memory management (from command line)

    Ah, thanks. So, if you (e.g.) did `void* ptr = malloc(1024*1024*1024); // 1 GiB`, then that wouldn't show up in RES, but then if I did `memset(ptr, 0, 1024*1024*1024); // access memory` then it would...
  2. Replies
    4
    Views
    890

    [all variants] Memory management (from command line)

    Hello everyone!

    Recently I acquired a headless box meant for solely for number crunching and web hosting. As such the first thing I did was install 12.04 server. Being a headless crunching...
  3. [ubuntu] Re: Trying to install 12.04 server on a machine

    Well, I borrowed a proper Ubuntu install from a friend, and that Startup Disk Creator's finished product installed without problem. Moral: Don't use PenDriveLinux or Ubuntu in a virtual box to create...
  4. [ubuntu] Re: Trying to install 12.04 server on a machine

    Great. I tried making the live disc in an Ubuntu VM, and that seemed to work, but when I booted the server, it said "bootable medium not found".

    And now Windows can't format the flash drive. :/
    ...
  5. [ubuntu] Trying to install 12.04 server on a machine

    Hey everybody. I've recently gotten my hands on a standard consumer desktop ($100 ASUS micro ATX mobo, i5-2500K) which I will be using as a server (i.e. headless, no screen/keyboard etc.).

    As my...
  6. Replies
    5
    Views
    1,017

    [ubuntu] Re: Installing/running a server from a USB drive

    Yes, but that means every time I boot I have to plug in a keyboard and screen and select "Run live disk" from the initial menu. It should be able to boot without me needing to interfere.

    @C.S....
  7. Replies
    5
    Views
    1,017

    [ubuntu] Installing/running a server from a USB drive

    For reasons that aren't relevant, I have a box which needs to be turned into a web server but doesn't have a hard drive. "Okay, we'll just run it off the live disk." (A flash drive, to be clear.) So...
  8. Re: Please recommend some read materials about Compilation

    http://www.network-theory.co.uk/docs/gccintro/

    That's about gcc specifically, but it's also good for compiling and linking in general. (And your case is using g++, which is basically the same as...
  9. Replies
    24
    Views
    1,168

    Re: Where should I go from here (learning)?

    A wonderful point, however I guess we have different definitions of "real world". All the truly great programmers (you might say "software engineers" or "hackers", the ESR meaning) fall into the...
  10. Replies
    24
    Views
    1,168

    Re: Where should I go from here (learning)?

    It's less any particular field of mathematics and more the logic, as Dave said. I agree that computer science and programming are two different things -- however there we diverge.

    I'd say...
  11. Replies
    2
    Views
    2,853

    Here's a Doozy (Python imports failing)

    #! /usr/bin/python3

    import smtplib
    from email.mime.multipart import MIMEMultipart
    from email.mime.application import MIMEApplication
    from email.mime.text import MIMEText
    from email.utils...
  12. Re: How to statically compile my project with Qt on Linux

    You might consider moving this to the Compiling and Packaging forum.
  13. Replies
    4
    Views
    657

    Re: How do I run an sh script from a button

    The error had nothing to do with the subprocess call. He constructs the Window, and then tries to change one of its attributes, which is not allowed. Put another way, you can only set the attribute...
  14. Replies
    2
    Views
    972

    Re: Python Syntax Error

    I thought so!

    But then, I had also thought I had checked all the parentheses pairs (gedit has a nice paren-highlight tool). I guess not! :p

    Thanks! [/stupid]
  15. Replies
    2
    Views
    972

    Python Syntax Error

    Gah...

    This is probably one of things with a missing parenthesis or some sort of whitespace error but... I can't find it.

    I'm using gedit with tabs set to 5 spaces, and using actual spaces...
  16. [ubuntu] Re: Where to put Windows VM for access by multiple users?

    I have relatively limited experience with this sort of admin stuff on Linux, but I have a few ideas.

    A:
    1) Put the VM folder in /home, i.e. "/home/VirtualBox<whatever name>"
    2) For each user to...
  17. Replies
    37
    Views
    3,022

    [ubuntu] Re: Upgrade to 12.04 has totally screwed up my PC

    I've never used Evolution, but it's a decent bet the data's stored in a home folder named .evolution. Select "hidden files" in Nautilus, or do "ls -a" in your home folder. I don't know about VM, but...
  18. Replies
    37
    Views
    3,022

    [ubuntu] Re: Upgrade to 12.04 has totally screwed up my PC

    An alternative to booting into recovery mode is hitting Ctrl+Alt+F1 (or any F up to F6) which should bring you to an actual shell (as opposed to a terminal mimicking a shell in Gnome/Unity). There...
  19. Replies
    4
    Views
    3,110

    [ubuntu] Re: 404 with apt-get

    Like I said, it's been like this for a couple of weeks, meaning before 12.04 was officially released; I initially installed the Alpha, and what I'm running now is still likely mostly beta-level...
  20. Replies
    4
    Views
    3,110

    [ubuntu] Re: 404 with apt-get

    Thanks for the tip, but... theory rarely translates to practice :p

    Err http://ca.archive.ubuntu.com precise/main amd64 Packages
    404 Not Found [IP:...
  21. Replies
    11
    Views
    11,815

    [SOLVED] Re: Intel HD Graphics 3000

    Huh. My laptop couldn't run 64bit USB live discs, but once I got my hands on a DVD everything installed/works just fine.
  22. Replies
    4
    Views
    3,110

    [ubuntu] 404 with apt-get

    For the last 2-3 weeks, I've been getting these errors whenever I run "sudo apt-get update":


    Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
    Hit...
  23. Replies
    11
    Views
    11,815

    [SOLVED] Re: Intel HD Graphics 3000

    For what it's worth, when I tried to put 10.04 on my laptop (i3-2350M) I got similar resolution limiting, Compiz didn't work right... then it occurred to me that 10.04 predated SB by at least a year....
  24. Replies
    1
    Views
    361

    Couple of Python questions

    Hey guys.

    I'm a new Python (3.2.2) coder, and I have some questions.

    Here are the first two.

    1) How exactly do breaks and continues interact with try/except statements and a containing while...
  25. Replies
    3
    Views
    735

    [ubuntu] Re: Crontab appears to not be working

    Actually, what I meant but didn't say was that the link above helped solve my problems. The full path is among the discoveries I made there. I did run a few test cases and those appeared to work...
Results 1 to 25 of 71
Page 1 of 3 1 2 3