• Ubuntu [Python] is building strings with append really best?

    I've read many times that building strings from lists is better than concatenating with +. However, the following code seems to suggest that building a list with append is much slower than string concatenation. Is that true or is there something wron

    January 9

  • Ubuntu joinable and detachable threads?

    im pretty new to threads , and reading the following tutorial : https://computing.llnl.gov/tutorials/pthreads/ I cant really figure out what joinable and detachable threads are, can anyone enlighten that point? 10x

    January 9

  • Ubuntu program crashes, memory allocation I think

    Hi Im trying to send a header to a socket, and I want to print the header so that I can see it for myself before its sent to make sure its fine. The line that crashes the program is the "printf" line (5592). take out the printf line and send() c

    January 9

  • Ubuntu Program running out of memory - increase memory size

    everybody. My console program runs out of memory. Is there a way, before I run the program to increase the size of the memory the program is allowed to use?

    January 9

  • Ubuntu PCI device driver

    I have a PCI device that I need to write a device driver for. Can anyone point me to the write direction, like a website that has a bunch of open source PCI device drivers I can use as a base?

    January 9

  • Ubuntu What should i do next?

    well i know GUI programming, i can make some decent games (but i cant take them anywhere because the art is...well ripped from other games because i cant draw), so what should i do next to become better at programming?

    January 9

  • Ubuntu [java+netbeans] can someone help me find this bug

    for some reason when i move the player left it hangs. presumably stuck in an infinite loop. i can't even figure out how to find (for want of better words) "where the program is at" when i pause it in debug mode so yeah, firstly can someone help,

    January 9

  • Ubuntu block group

    hi The file system is divided into partitions known as block groups.Each block group has Boot block,Super block,Inode list,Data(files and directories).Inode list have Inode list tables.Here whether the file in block group 1 and file in block group 2

    January 9

  • Ubuntu Expository Comments

    I've noticed a trend in my programming class: any code the teacher produces (either as part of a presentation or as part of a file we have to add to) has stuff like this in it: //import statements import java.util.*; import javax.swing.*; //global va

    January 8

  • Ubuntu Auto Replace Help!

    What's Up? OK, So im gonna explain this the bets i can, My goal is to append a word onto the end of a url, via terminal, so far i use a various sequence of SED commands. To put it into words what those commands do. after obtaining the url, the execut

    January 8

  • Ubuntu Recursion: real world use

    I would like to know how some people have used Recursion to solve problems in large sized projects.

    January 8

  • Ubuntu Measuring exit rate

    This article here: http://www.stevesouders.com/blog/2009/07/27/wikia-fast-pages-retain-users/ states wikia measures "Exit Rate". I'm interested in doing that myself on my site. But my question is: How can I do that ? How can i measure the load t

    January 8

  • VB.net programs in Ubuntu with mono

    When I try to run programs written in VB.net in Windows in Visual Studio 2008. But when I run the exe from the Debug folder under Ubuntu in the terminal like, mono MyProgram.exe, none of the text shows up. What am I missing?

    January 8

  • Ubuntu Drawable in pygtk ! cant get it work

    After a night searching and trying, finally i think i need your help. Here is the code first: import gtk win=gtk.Window() drawing_area = gtk.DrawingArea() drawing_area.set_size_request(600, 400) win.set_default_size(600,400) win.add(drawing_area) #re

    January 8

  • Ubuntu Wish to improve clumsy IF/ELSE/IF/ELSE... comments please

    I wrote a small program to change plain text files into HTML format (by, for example, replacing new lines with <br> and spaces with " ", etc...) There is a piece of the code that has nested IF/ELSE decisions and something in the back of my

    January 8

  • Ubuntu Some code criticism?

    Ive been working on a rather complex python script to try and grab my google reader feeds and display them in a concise output for the command line/conky. I'm having some issues with the program failing mysteriously and I cannot, for the life of me,

    January 8

  • Ubuntu Java vs. Python for CS

    I'm a college freshman(to be sophomore next semester) and am currently a Computer Science Minor. This semester I took Computer Science and thoroughly enjoyed the experience(I'm taking a 100 in the class), I found the entire process of programming inc

    January 7

  • Ubuntu reentrance of libGMP

    I have some software and I'm experimenting making aspects of it multi-threaded, using pthreads. I'm having some problems making the software compatible with pthreads, in particular I'm getting some segmentation faults. gdb and valgrind have been some

    January 7

  • Ubuntu ruby hash

    i'm trying to learn ruby and i have a question about the following code data = [] line = "first_name=david;last_name=black;country=usa" record = Hash[*line.split(/=|;/)] data.push(record) what does the '*' mean in the hash creation? what does it

    January 7

  • Ubuntu gtk root mac tool

    sooo i been toying with c/c++ for the time being and made this tool i use pretty much everyday took bash commands and executed them with a click of a button .,. made it in gtk to boot so has a nice gui to it but the problem is i still have to boot it

    January 7