Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    2,973

    Re: Beginners Programming Challenge #21

    Congratulations, ziekfiguur!

    It was fun to code IRC bot. Thank you, Queue29 for cool programming task.
  2. Replies
    18
    Views
    2,973

    Re: Beginners Programming Challenge #21

    Written in Ruby. You also can read the source code on GitHub (for more convenience).



    require 'socket'
    require 'open-uri'

    =begin

    Really infirm IRC bot implementation.
  3. Replies
    45
    Views
    6,542

    Re: Beginner's Programming Challenge #12

    Written in Ruby language:


    # Warning! Not precise implementation due to my coding ability.

    require 'optparse'
    require 'ostruct'
    require 'etc'

    =begin
  4. Replies
    12
    Views
    597

    Re: Beginner Programming Challeng #2

    My solution written in Ruby. Sorry for cluttering your thread, but maybe someone would be interested in this.



    class ForumMember
    attr_accessor :input, :output
    attr_reader :name, :age,...
  5. Replies
    140
    Views
    12,078

    Re: Beginner Programming Challenge #9

    Written in Ruby



    def read_from_file(path)
    lines = IO.readlines(path) {|l| l.chomp}
    end

    lines = read_from_file("collector.txt")
    numbers_sum = 0
  6. Replies
    6
    Views
    3,538

    Re: Beginner programming challange #8

    Written in Ruby:


    class AdvancedGuesser
    module Message
    class << self
    def welcome_message
    puts "+---------------------------------------+",
    "| Welcome to the...
  7. Replies
    33
    Views
    5,231

    Re: [Beginner] Programming Challenge: 6

    My first Lisp program ever:


    (setf *random-state* (make-random-state t))

    (format t "Guess the secret number (from 1 to 100):")
    (defvar secret_number (+ (random 100) 1))
    (loop for i do
    ...
  8. Replies
    137
    Views
    15,170

    Re: [Beginner] Programming Challenge: 4

    Written in Ruby:



    require 'open-uri'

    module PageScrape

    def self.start_scraping(url="http://www.tomayko.com/")
    # Either open an url from command line argument
  9. Replies
    143
    Views
    16,355

    Re: [Beginner] Programming Challenge: 5

    I know, I'm late, but you didn't close the thread, so here's my solution, written in Ruby:



    puts "Guess the secret number (from 1 to 100):"
    secret_number = rand(100) + 1
    ...
  10. Replies
    60
    Views
    22,424

    [SOLVED] Re: No sound after upgrade to Karmic Koala 9.10

    I've solved my problem by upgrading GRUB to version 2. Then I've used the 2.6.31-14 kernel for boot Linux.


    $ uname -r
    2.6.31-14-genericHowever my computer had frozen until I wrote an ACPI...
  11. Replies
    60
    Views
    22,424

    [SOLVED] Re: No sound after upgrade to Karmic Koala 9.10

    Have the same problem.

    sudo aplay -l
    aplay: device_list:223: no soundcards found...


    $ lsb_release -a && uname -r
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: ...
Results 1 to 11 of 11