HNHacker News
TopNewBestAskShowJobs

james2vegas

43 karma · joined June 15, 2009

submissionscomments
james2vegas··on Love Thy JSON
It was. http://people.csail.mit.edu/rivest/Sexp.txt
james2vegas··on The C Programming Language - Part 0
Only one of those sets of flaws is significant.
james2vegas··on Story behind the animals on O'Reilly book covers
It is a pity that the O'Reilly Menagerie lies abandoned: http://oreilly.com/animals.html
james2vegas··on NoSQL with Postgres - Using Hstore in Rails
"Using Hstore allows us to easily store all these values without having to make a bunch mostly blank columns."

Or they could have used a small Product table with common fields and made fanout tables for Books and Laptops. For some reason it appears impossible for some to create new tables, or have joins and foreign keys.

james2vegas··on HTML5: Edition for Web Authors
Only one of those things is a good thing.
james2vegas··on Learn Regex The Hard Way
This being zedshaw, no surprise at the lack of Perl in this book, but what is funny is at http://regex.learncodethehardway.org/book/learn-regex-the-ha... "Imagine if you could write your regular expressions like this: " I don't have to imagine since Perl's regular expression engine has the x modifier to do just that.
james2vegas··on How to compose apps using WebSockets
I pick Perl, but couldn't find a SockJS server implementation in that language. I could find one for socket.io though.
james2vegas··on What is in your .vimrc
I don't have one, I have a .nexrc
james2vegas··on Free icons for any object in the world
Yeah, I love how, for example, http://thenounproject.com/noun/bread/ is basically a vectorisation of http://www.gerdarntz.org/node/255 without acknowledgment.
james2vegas··on Things you (probably) didn't know about xargs
In GNU utils, incompatible features and extensions are a feature, not a bug.
james2vegas··on Irc in bash
Actually it's an sh thing: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu...
james2vegas··on List of current and upcoming cloud platforms
Perl Cloud at Phenona http://www.phenona.com/
james2vegas··on Windows 8 Welcome Screen And Windows Explorer Screenshots Leaked
The lack of virtual desktops in Windows is especially unfortunate since at least Windows 3.51 (but perhaps Windows NT 3.1) the support for multiple desktops (and multiple interactive login sessions) has been part of the operating system, but not properly exposed to users.
james2vegas··on Is Facebook Preparing to Launch Video Chatting In a Partnership with Skype?
Ekiga (http://ekiga.org/), at least, is both free software (by definition, not free to download binaries) which runs on at least windows and unix-like OSes, supports audio and video connections, works over open standards (SIP and H.323) and even lets you get a free SIP account at ekiga.net.

The uniqueness of Skype is overstated, the principal advantage is the same that using Facebook has over using any open standard social networking, everyone you want to contact is on it. So Skype and Facebook are a good match, both are walled gardens with limited (or no) interoperability or support for open standards.

james2vegas··on Life in Text Mode
You can't use finch instead of pidgin?
james2vegas··on Programming languages have to break free from the tyranny of ASCII
While they are the same, in Unicode, the codepoint U+2211 is summation, U+03A3 is capital letter sigma.
james2vegas··on Why I Am An Anarchist
s/anarchist/(anarcho-capitalist|right libertarian|Libertarian)/
james2vegas··on htty, the HTTP TTY
So, basically http://search.cpan.org/dist/WWW-Mechanize-Shell then. Congratulations, your new wheel is round and shiny.
james2vegas··on NASA to deploy PostgreSQL/Nagios on Space Station
well, they want to deploy Pg/Nagios on the Space Station, pity Nagios's support for anything other than MySQL is poor to non-existent.
james2vegas··on Thoughts on Rule-Based Programming
Prolog isn't all that weird and a pretty good language for adventure ages, see: http://www.csc.villanova.edu/~dmatusze/resources/prolog/slee... http://www.csc.villanova.edu/~dmatusze/resources/prolog/spid...
james2vegas··on CKAN v1.0 Released
Which is a play on CTAN, T is for TeX
james2vegas··on Senator Al Franken Facebook privacy settings
Because dictionary definitions aren't based on literary use at all.
james2vegas··on MySQL vs. Neo4j performance on a Large-Scale Graph Traversal
Well, luckily I would choose neither of these for traversing a graph, neo4j being bound to java, and MySQL lacking recursive CTEs.
james2vegas··on F8 Preview: How Facebook Plans to Take Over the Web
So that explains the timing of that xauth announcement from google.
james2vegas··on HTML5 IRC client built with Mojolicious, ExtJS and WebSockets
You could add code to your ircd to recognize it is being spoken to in a websockets way and speak the necessary HTTP voodoo to make it work.
james2vegas··on You Cannot Parse HTML with Regular Expressions
"Some people, when confronted with a problem, think 'I know, I'll quote Jamie Zawinski.' Now they have two problems."
james2vegas··on The Use Case for Blocks
Because an object does not match the definition of a hash key in Perl, viz. 'Hashes are unordered collections of scalar values indexed by their associated string key'. You can also use a number or filehandle as a hash key, but don't expect to use the keys as anything other than strings without some manipulation.

Just like with ordered hashes, using hashes with non-string keys needs programming on your part (perhaps overloading stringification for your object and providing a way to get your object back from the string) or others (CPAN). Or you could overload (or just add to) the object and provide an accessor for your value so you can set it on the object itself.

james2vegas··on NoSQL: Why it's So Damn Sticky
Yeah, there are, but hey, I'll make comparisons to MySQL 3 and 4 now.
james2vegas··on Bash Vi Command Line Editing Mode
And if you don't have a problem with vi mode, use ESC to enter command mode and enter v to edit the command line in ${EDITOR}
james2vegas··on Bash Vi Command Line Editing Mode
luckily not everything on the command line uses readline, else there'd be way more gpl licensed command line tools. vi mode has been in nsh and pdksh, independent of gnu readline. It is also part of the specification for sh at opengroup.org:

http://www.opengroup.org/onlinepubs/000095399/utilities/sh.h...

Interesting note about emacs mode though:

In early proposals, the KornShell-derived emacs mode of command line editing was included, even though the emacs editor itself was not. The community of emacs proponents was adamant that the full emacs editor not be standardized because they were concerned that an attempt to standardize this very powerful environment would encourage vendors to ship strictly conforming versions lacking the extensibility required by the community. The author of the original emacs program also expressed his desire to omit the program. Furthermore, there were a number of historical systems that did not include emacs, or included it without supporting it, but there were very few that did not include and support vi. The shell emacs command line editing mode was finally omitted because it became apparent that the KornShell version and the editor being distributed with the GNU system had diverged in some respects. The author of emacs requested that the POSIX emacs mode either be deleted or have a significant number of unspecified conditions. Although the KornShell author agreed to consider changes to bring the shell into alignment, the standard developers decided to defer specification at that time. At the time, it was assumed that convergence on an acceptable definition would occur for a subsequent draft, but that has not happened, and there appears to be no impetus to do so. In any case, implementations are free to offer additional command line editing modes based on the exact models of editors their users are most comfortable with.

← PreviousPage 3 of 4Next →