Search:

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

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    17
    Views
    2,273

    [ubuntu] Re: grub2 won't boot when keyboard unplugged?

    I just wanted to confirm the bug and workaround in this thread.

    I have the exact same board, and the exact same issue. The solution is to enable only 10 usb ports rather than 12. Then grub will...
  2. Replies
    16
    Views
    609

    Re: Having trouble with Vim installation

    @OP: Don't go back to gedit, stick with vim! :-D

    Some suggestions to help you ease your way into it:
    - Install gvim. It's vim with a GUI which will help you initially become familiar with vim...
  3. Replies
    20
    Views
    14,790

    [SOLVED] Re: Notepad++ equivalent on Ubuntu

    vim can match html tags using the matchit plugin. Pressing % inside a tag will jump to the matching tag, though I don't think it highlights the other tag.

    For more info, inside vim or gvim just...
  4. Re: how can I extract data automatically from microsoft outlook .pst files?

    Install the readpst package - it includes the pst2ldif utility.
  5. Replies
    2
    Views
    645

    Re: Help! Gnuplot problem

    You need quotes around the filename.

    I usually save plots as PNG because it is lossless, usually smaller than jpg (for plot images) and more portable than gif.

    Using pngcairo seems to give the...
  6. Re: Advanced programming exercise: number generator with rules

    #!/usr/bin/ruby

    def generator(n, rules)
    a = *(1..n); d = []
    rules.each {|rule| a.each {|m| d << m if rule.call(m)}}
    a - d.uniq!
    end

    rules = [ #...
  7. Re: Advanced programming exercise: number generator with rules

    I don't understand the problem description :-(

    Could you please elaborate?
  8. Thread: Future in C++

    by krazyd
    Replies
    8
    Views
    570

    [SOLVED] Re: Future in C++

    KDE!
  9. Re: Advanced programming exercise: All permutations

    Ruby entry:


    #!/usr/bin/ruby

    def permute set
    perms = []
    set.each do |s|
    perms << [s] && next if perms.empty?
    new_perms = []
  10. Re: Newbie to web development and design, need help.

    Just be careful with the info you get from w3schools.com. Apparently they're a bit shady.

    http://w3fools.com/

    I would start here: https://developer.mozilla.org/en-US/docs
  11. Re: Check if a variable has NOT been initialized

    There's a good explanation here: http://stackoverflow.com/questions/2218254/variable-initialization-in-c/2218275#2218275
  12. Replies
    28
    Views
    4,086

    Re: Advanced programming exercise: Power set

    I don't know Haskell at all, but this is very impressive. Is it O(2^n)?
  13. Replies
    28
    Views
    4,086

    Re: Advanced programming exercise: Power set

    Non-recursive, in ruby


    #!/usr/bin/ruby

    def power_set set
    p_set = []

    (0..2**set.size-1).each do |bin_size|
    subset = []
  14. Re: Am I the only one who doesn't like programs with GUIs?

    Are you posting using lynx?
  15. Replies
    8
    Views
    529

    Re: Advanced UI Design

    I would recommend Qt.

    Widgets can be styled using a simple declarative language similar to CSS. This might make things easier if you're not a programmer.

    Check out Qt Style Sheets here:...
  16. Replies
    6
    Views
    1,866

    Re: Obtaining Low Level Access to a USB Port

    yep, try http://www.libusb.org/wiki/libusb-1.0
  17. Re: Qt4: reserve screen space / prevent overlapping

    There is, but I don't know if they maintain python bindings (I don't think they do). There's no harm in asking either way :-)
  18. Re: Qt4: reserve screen space / prevent overlapping

    This has nothing to do with gtk/qt per se; it is about sending hints to the wm (if it is ewmh compliant).

    I would look at python-xlib, or a project like pekwm:
    http://pekwm.org/projects/pekwm
    ...
  19. Replies
    6
    Views
    2,701

    Re: good tutorial for making GUI's in C++?

    This is incorrect. Qt can use the native toolkit to render the GUI on OS X, Gnome, KDE and Windows. All you have to do is recompile for the target OS - and on linux it can use the native GTK+ style...
  20. Thread: Python IDEs

    by krazyd
    Replies
    9
    Views
    884

    Re: Python IDEs

    Try vim or gvim. Nothing else really comes close.
  21. Re: Advanced programming exercise: Fibonacci strings

    Interesting challenge.

    I initially coded a solution which gives the string and index of the character within that string, but runs out of memory in a worst-case scenario of two single-letter words...
  22. Replies
    27
    Views
    1,057

    Re: What to learn next?

    I believe ruby has more modules now.
    http://www.modulecounts.com/

    @O.P. I would recommend ruby over perl, purely for the nicer (my opinion) syntax. Check out BioRuby:
    http://bioruby.open-bio.org/
  23. Replies
    20
    Views
    990

    Re: Request to Ubuntu developers

    There are many download meters available.

    One of my favourites is a firefox extension: http://netusage.iau5.com/

    It supports the indian ISP Reliance.. but why not contact the author if you have...
  24. Re: elegant solution req'd for ugly ugly ugly awk sed sed hack

    This should get you started (I don't quite understand the output format you require):


    awk 'BEGIN{i=371} {if($0!~/^$/) i++; print "<a href=\"#"i"\">"i"</a>",$0}' page1.html page2.html ...
    Note...
  25. Replies
    36
    Views
    4,341

    Re: Beginners Programming Challenge #20

    Great challenge! :)
    I like the idea of demonstrating understanding of a concept, rather than producing a result. Explaining something to someone else always aids your own understanding by making you...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4