Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    20
    Views
    3,941

    Re: Beginners programming challenge #24

    Using flex and a bit of C

    Compile and run with:


    flex lexer.lex
    gcc -c set.c
    gcc lex.yy.c set.o -lfl
  2. Replies
    5
    Views
    1,043

    [SOLVED] Re: Python 3 List of Lists query

    list_name[1] returns [x, y], so

    list_name[1][0] will thus return x
  3. Replies
    33
    Views
    3,916

    Re: Beginners Programming Challenge 22

    Another Go solution...



    package base

    import "fmt"
    import "math"
    import "os"
  4. Re: ‘div’ and 'mod 'was not declared in this scope

    div is in <cstdlib>

    I dunno about mod, I would just use the % operator.
  5. Replies
    9
    Views
    637

    Re: Functional Languages

    Uh yes, definitely. Although the use of functional languages in industry is perhaps more concentrated in certain areas like theorem proving rather than being general use, it's out there for sure. In...
  6. Replies
    17
    Views
    670

    [SOLVED] Re: Fortran not compiling

    Fortran does not have a += operator. You gotta rewrite the equation without it.
  7. Replies
    10
    Views
    993

    Fedora 16 Artwork

    So Fedora 16 is being called "Verne" after the author Jules Verne, and here is some of the candiate artwork: http://publictest04.fedoraproject.org/artboard/post/list/1

    Some of that stuff looks...
  8. Replies
    17
    Views
    670

    [SOLVED] Re: Fortran not compiling

    You have a parenthesis mismatch (missing an opening parenthesis!)
  9. [SOLVED] Re: Factorials in Java: Integer value larger than a long

    Yep, the public constructor only takes a String. Technically there is another constructor that takes a long, but it's private. :(
  10. Replies
    7
    Views
    462

    [SOLVED] Re: My First Terminal Game

    If you're gonna use python, you may as well go all the way and make it platform independent. The way you're clearing the screen will only work on posix systems. Here's what I do:



    import os
    ...
  11. Replies
    1
    Views
    1,126

    [xfce] Re: Check file corruption

    What if I told you there was a well known and accepted tool that does exactly what you want?

    http://linux.die.net/man/8/fsck
  12. Replies
    18
    Views
    3,778

    Re: Beginners Programming Challenge #21

    Alright, so I finally got around to judging these, and I hereby declare the winner to be.... ziekfiguur! and his bot, botz0r. :KS

    I know this was a difficult challenge, but I am quite grateful...
  13. Replies
    11
    Views
    2,093

    Re: [Python] High Memory Usage

    If you're worried about memory efficiency you shouldn't be working with Python in the first place. The memory usage overhead of Python is obscene at best; it is not nor ever was a design goal of...
  14. Re: How should I go about creating a python installer?

    Seems like you're looking to make an installer for Windows specifically? If so, try asking on a Windows (or perhaps Python) oriented forum.
  15. Replies
    18
    Views
    3,778

    Re: Beginners Programming Challenge #21

    So this challenge has been open for a while... I'll judge what's here next Monday, August 8.
  16. Replies
    17
    Views
    6,182

    Re: OS X -- did they copy Gnome 3?

    You claim favor to something and then start listing off reasons why you don't use it. You have a strange way of presenting an argument.
  17. Replies
    794
    Views
    33,044

    Re: Why is Linux less popular than OS X?

    lolwat

    GCC is GPL.

    Guess which compiler they use, and ship with xcode.
  18. Replies
    13
    Views
    1,509

    Re: Post your .emacs file.

    Haha. Anything. Your .emacs file is a bunch of emacs-lisp code.

    This right here is the key to any happy emacs user:



    ;; put autosave files (ie #foo#) and backup files (ie foo~) in...
  19. Re: Best collection of python example code I have found

    There is nothing better than Rosetta Code for code examples. For any language.

    http://rosettacode.org/wiki/Python
  20. Replies
    10
    Views
    1,196

    Re: Best language to learn for linux programming.

    If it's really gnome development you want, there's no better place to start than: http://developer.gnome.org/

    That being said, if you aren't a strong programmer, you won't survive long trying to...
  21. Replies
    18
    Views
    3,778

    Re: Beginners Programming Challenge #21

    I'm thinking this challenge could use another weekend for people to work on things, since that's when I see people connecting the most into #ufpc. So let's have the last day for submissions be on...
  22. Replies
    18
    Views
    3,778

    Re: Beginners Programming Challenge #21

    I think that's the cool thing about this project: to get a working bot you don't need anything more than a simple socket connection, and there are hundreds of examples on how to do that for any...
  23. Replies
    18
    Views
    3,778

    Re: Beginners Programming Challenge #21

    Ah good catch, my sample bot did the right thing but my overview didn't!
  24. Replies
    18
    Views
    3,778

    Beginners Programming Challenge #21

    Beginners Programming Challenge #21

    The Challenge
    To create an automated RFC-2812 client... more commonly known as an IRC Bot.


    Overview
    This challenge will be an exercise primarily in...
  25. Replies
    36
    Views
    4,341

    Re: Beginners Programming Challenge #20

    I'd be happy to do it
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4