News for hackers. Stuff that matters.
Re:Pudb – A full-screen, console-based Python debugger by greenyoda on Sunday September 29, 2013 @07:16PM (#6466965)
Pudb depends on the "termios" module (POSIX style tty control), whose doc says it's only available under Unix.[1] Does anyone know if there's a way to make it run on Windows (native Windows command prompt, not Cygwin)?

[1] http://docs.python.org/2/library/termios.html

Re:Pudb – A full-screen, console-based Python debugger by pekk on Sunday September 29, 2013 @11:43PM (#6467648)
It's unclear why you'd want to do so, since the Windows console environment sucks. Just use Winpdb, pdb, your Python IDE or whatever.
Re:Pudb – A full-screen, console-based Python debugger by a3n on Monday September 30, 2013 @01:10AM (#6467909)
Or ssh (putty or your favorite windows ssh) into a vagrant box and use PuDB or whatever you like.

I'm beginning to see vagrant as cygwin's competition. Not quite a killer, because you can't run windows progs from vagrant/linux like you can from cygwin, but for most cygwin scenarios vagrant with a real *nix is much nicer.

Best of both worlds, ssh into vagrant from cygwin.

Re:Pudb – A full-screen, console-based Python debugger by xradionut on Monday September 30, 2013 @08:09AM (#6469060)
Or you can run Linux in a VM for CLI goodness. Better yet, run Windows in a VM for security goodness.
Re:Pudb – A full-screen, console-based Python debugger by Newky on Sunday September 29, 2013 @07:14PM (#6466951)
I have had some success using winpdb. it allows for graphical full screen debugging and it also allows for remotely debugging.

this allows me to set up the debugger in some code on my dev box and run winpdb on my own box.

Re:Pudb – A full-screen, console-based Python debugger by winter_blue on Sunday September 29, 2013 @08:44PM (#6467210)
I think the "Curses"[1] section in the Unix Hater's Handbook[2] applies well[3] here[3] :)

[1] A reference to ncurses.

[2] The book: http://web.mit.edu/~simsong/www/ugh.pdf

[3] ... as in why make a UI for a constrained primitive interface such as a console....

Re:Pudb – A full-screen, console-based Python debugger by glesica on Sunday September 29, 2013 @09:31PM (#6467329)
So I can use it over SSH... which I do often. It's not like curses apps are that hard to make, especially with Python.
Re:Pudb – A full-screen, console-based Python debugger by mjcohen on Sunday September 29, 2013 @10:49PM (#6467522)
I read the UHH many years ago, and learned a lot of useful information from it. It's a wee bit dated, but still a fun read.
Re:Pudb – A full-screen, console-based Python debugger by winter_blue on Sunday September 29, 2013 @11:35PM (#6467629)
It's amazing how so much of it is still so so relevant today!

(The book was published in 1994.)

Re:Pudb – A full-screen, console-based Python debugger by anonymous on Monday September 30, 2013 @04:35AM (#6468400)
That's not amazing, that's just sad.
Re:Pudb – A full-screen, console-based Python debugger by teddyh on Monday September 30, 2013 @05:31AM (#6468575)
"Curses" actually refers to "curses". "ncurses" is new curses. From Wikipedia:

“[…] ncurses is a free software emulation (clone) of the System V Release 4.0 (SVr4) curses, which was itself an enhancement over the discontinued classic 4.4 BSD curses.”

Re:Pudb – A full-screen, console-based Python debugger by dbarlett on Sunday September 29, 2013 @07:53PM (#6467069)
Bugjar [1] is similarly inspired by Turbo Pascal/C, but with a Tkinter GUI.

[1] http://pybee.org/bugjar/

Re:Pudb – A full-screen, console-based Python debugger by algebr on Sunday September 29, 2013 @07:43PM (#6467039)
WHY is easy_install still used?
Re:Pudb – A full-screen, console-based Python debugger by viraptor on Monday September 30, 2013 @08:09AM (#6469064)
To install pip :)
Re:Pudb – A full-screen, console-based Python debugger by shruubi on Sunday September 29, 2013 @08:13PM (#6467123)
Just tried this out, and I must say, this is really freakin' cool! Simple controls, intuitive layout. I don't feel like I'm fighting the debugger to get it do to what I want anymore.
Re:Pudb – A full-screen, console-based Python debugger by publicfig on Sunday September 29, 2013 @07:50PM (#6467057)
Cant wait to try this out in my workflow, but I really wish this was available through PIP. PDB has served me well, but having some if this information intuitively shown will be incredibly helpful.
Re:Pudb – A full-screen, console-based Python debugger by deadbeef404 on Sunday September 29, 2013 @09:24PM (#6467309)
I just installed this using pip. Is PIP something other than regular old pip?
Re:Pudb – A full-screen, console-based Python debugger by djtriptych on Monday September 30, 2013 @07:52AM (#6468993)
Maybe he meant picture-in-picture?
Re:Pudb – A full-screen, console-based Python debugger by rmc on Monday September 30, 2013 @04:51AM (#6468453)
It is available though pip.
Re:Pudb – A full-screen, console-based Python debugger by StavrosK on Sunday September 29, 2013 @07:04PM (#6466915)
I have recently tried PuDB, and, I have to say, it is pretty damn nice. Never again will I use pdb/ipdb for debugging, now I can actually debug like a human being!
Re:Pudb – A full-screen, console-based Python debugger by metaobject on Sunday September 29, 2013 @08:47PM (#6467216)
How is this better than pdb + emacs?
Re:Pudb – A full-screen, console-based Python debugger by deadbeef404 on Sunday September 29, 2013 @09:23PM (#6467307)
Some of us don't use emacs?
Re:Pudb – A full-screen, console-based Python debugger by hartror on Monday September 30, 2013 @12:06AM (#6467718)
Do you have any magic sauce in your emacs config for python debugging or just the standard?
Re:Pudb – A full-screen, console-based Python debugger by shobhitjain26 on Monday September 30, 2013 @11:19AM (#6470058)
Really awesome . Just loved it. Keep it up
Re:Pudb – A full-screen, console-based Python debugger by jiaaro on Sunday September 29, 2013 @10:09PM (#6467428)
If it's a console app... isn't the full-screen bit up to me?
Re:Pudb – A full-screen, console-based Python debugger by andybak on Monday September 30, 2013 @07:07AM (#6468845)
"full-screen" as in "fills your console instead of scrolling" not "makes your console fill your monitor".