Archive for the ‘ Languages ’ Category

Google didn’t google “Go” before naming their programming language

Google’s Go programming language, which is designed for exceptionally fast compilation times with built-in support for garbage collection.

It’s too early to actually tell if Go will be a game changing new language, or just another one of Google’s geeky side projects, but with Unix co-creator Ken Thompson and operating system pioneer Rob Pike behind Go, it is, understandably, getting a lot of press.

But do a Google search for “go programming language” and you’ll find that Google’s Go isn’t the only Go programming language. In fact, there’s another language that has already had that name, and its creator is furious.

“Go!” creator Frank McCabe doesn’t understand how Google could have failed to be aware of the name of his own programming language. It’s an obscure language, but hardly something Google themselves couldn’t have found reference to in their own search engine.

As McCabe explains: “I have been working on [Go!] for the last 10 years. There have been papers published on this and I have a book.” That book, incidentally, is available for browsing over at Google Books, which appears to have scanned the whole thing in.

Needless to say, McCabe’s not taking this lying down: he’s demanding that Google change the name of their Go programming language so he doesn’t have to abandon the name of his own language, one he’s spent a better part of a decade fine tuning. I tend to doubt Google will heed the complaint, but I personally hope they do: steamrolling over a poor programming underdog is the very antithesis of “don’t be evil.”

via Google didn’t google “Go” before naming their programming language – Tech Products & Geek News |

Nikto2 – comprehensive web server scanner

Nikto2 |

Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 6400 potentially dangerous files/CGIs, checks for outdated versions of over 1000 servers, and version specific problems on over 270 servers. It also checks for server configuration items such as the presence of multiple index files, HTTP server options, and will attempt to identify installed web servers and software. Scan items and plugins are frequently updated and can be automatically updated.
Nikto is not designed as an overly stealthy tool. It will test a web server in the quickest time possible, and is fairly obvious in log files. However, there is support for LibWhisker’s anti-IDS methods in case you want to give it a try (or test your IDS system).
Not every check is a security problem, though most are. There are some items that are “info only” type checks that look for things that may not have a security flaw, but the webmaster or security engineer may not know are present on the server. These items are usually marked appropriately in the information printed. There are also some checks for unknown items which have been seen scanned for in log files.

Nikto is written by Chris Sullo and David Lodge.

Bash shortcuts on the command line

Even when you’re using the command line for quite a few years, you might have missed or forgotten some very handy shortcuts which are very useful in daily use.
The command to show the complete list:

bind -P | less

You can also create your own:

  • to go backward one word at time with ‘control-b’
$ bind '"\C-b"':backward-word
  • or launch an application
$ bind -x '"\C-e"':xeyes

I googled a bit around and came up with this nice table which summarizes some of the most useful shortcuts.

Bash Shortcuts Quick Reference
Ctrl-a Move to the start of the line.
Ctrl-e Move to the end of the line.
Ctrl-b Move back one character.
Alt-b Move back one word.
Ctrl-f Move forward one character.
Alt-f Move forward one word.
Ctrl-] x Where x is any character, moves the cursor forward to the next occurance of x.
Alt-Ctrl-] x Where x is any character, moves the cursor backwards to the previous occurance of x.
Ctrl-u Delete from the cursor to the beginning of the line.
Ctrl-k Delete from the cursor to the end of the line.
Ctrl-w Delete from the cursor to the start of the word.
Esc-Del Delete previous word (may not work, instead try Esc followed by Backspace)
Ctrl-y Pastes text from the clipboard.
Ctrl-l Clear the screen leaving the current line at the top of the screen.
Ctrl-x Ctrl-u Undo the last changes. Ctrl-_ does the same
Alt-r Undo all changes to the line.
Alt-Ctrl-e Expand command line.
Ctrl-r Incremental reverse search of history.
Alt-p Non-incremental reverse search of history.
!! Execute last command in history
!abc Execute last command in history beginning with abc
!abc:p Print last command in history beginning with abc
!n Execute nth command in history
!$ Last argument of last command
!^ First argument of last command
^abc^xyz Replace first occurance of abc with xyz in last command and execute it

Thanks to:

There was also a very beautiful? But nevertheless very useful sheet out there which can help you out with even more bash shell shortcuts:

Thanks to: