ndunn2's comments

ndunn2 | 14 years ago | on: Pinterest = No Unit Tests

When you reach a certain size, no amount of due diligence on your part can ensure that your changes aren't going to break something in some other part of the code base without automated tests. Do you think Google or Amazon gets by without unit tests?

ndunn2 | 15 years ago | on: CSS Markup Detective

Looks very cool. There are a few typos littered throughout the page that the author should fix:

accessility -> accessibility maet -> met

ndunn2 | 15 years ago | on: Functional Programming with Java

exactly the example I was going to cite. In Scala this would be

val b = a.exists(str=>str.forall(_.isLowerCase))

or

val b = a.exists(x=>x.toLowerCase() == x)

There's no way I'd start using functional programming in Java if it's this clunky. Just stick with Scala.

ndunn2 | 15 years ago | on: 25 Even More Slick Linux Commands

#2 can be replaced with a 'tree' command

#3 doesn't work for me on Mac OSX with Bash; the ! is interpreted as the last command. Not sure if this works in other shells

#4 is clever, but I would think if you're doing something that complex that you need to recall time and time again you'd make an alias for it.

#8 is clever. I love AWK. But not sure when I'd ever use this.

The rest were pretty bleh to me. Always looking for new shell kung fu but unfortunately this list did nothing for me.

ndunn2 | 15 years ago | on: Introducing Word Lens

You didn't learn any lessons about.. how well it works? I had very poor success in my apartment, but I'd like to try it outside.

ndunn2 | 15 years ago | on: SkyFly - Vertical Takeoff & Landing Ultralight Aircraft

"Why be stuck in two dimensions when you can fly in three!". I don't know about the rest of you, but given how awful people drive while constrained to two dimensions, I'd be truly terrified to see the state of things if travel like this became ubiquitous.

ndunn2 | 15 years ago | on: Syntax highlighting, auto complete and more within Python interpreter

This is awesome. But the colors seem to interact badly with the terminal backgrounds in Mac OSX. I also can't get any of the function shortcuts (F8 = pastebin) to work; I just get gibberish instead. Also I get a crash when I resize the window:

Traceback (most recent call last): File "/usr/local/bin/bpython", line 8, in <module> load_entry_point('bpython==0.9.7', 'console_scripts', 'bpython')() File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 1739, in main banner=banner) File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 1636, in curses_wrapper return func(stdscr, args, *kwargs) File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 1706, in main_curses clirepl.repl() File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 996, in repl inp = self.get_line() File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 589, in get_line key = self.get_key() File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 567, in get_key self.idle(self) File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 1579, in idle do_resize(caller) File "/Library/Python/2.5/site-packages/bpython-0.9.7-py2.5.egg/bpython/cli.py", line 1591, in do_resize curses.endwin() _curses.error: endwin() returned ERR

page 1