...making Linux just a little more fun!

Talkback

Talkback:155/moen.html

[ In reference to "Book Review: Understanding Open Source and Free Software Licensing" in LG#155 ]

Jimmy O'Regan [joregan at gmail.com]


Fri, 27 Feb 2009 00:03:59 +0000

2008/9/22 Rick Moen <[email protected]>:

> the licensed work.)  Is it possible to donate a work of original
> ownership directly to the public domain, despite the lack of any legal
> mechanism for doing so?  Is it desirable to have a choice-of-law

Probably not, but you can now dedicate a work to 'the Commons': http://creativecommons.org/licenses/zero/1.0/

'The person who associated a work with this document has dedicated
this work to the Commons by waiving all of his or her rights to the
work under copyright law and all related or neighboring legal rights
he or she had in the work, to the extent allowable by law.'

[ Thread continues here (2 messages/3.20kB) ]


Talkback:158/vogel.html

[ In reference to "Using Hyperestraier to search your stuff" in LG#158 ]

Karl Vogel [vogelke+unix at pobox.com]


Fri, 20 Feb 2009 20:23:02 -0500 (EST)

Greetings:

I ran into some problems while searching for portions of words in one of my indexes. If the word "workstation" was present, I wanted to be able to search for (say) "orksta" without getting 0 hits. I can use substrings like leading or trailing asterisks in a command-line search by adding the "-sf" option:

  me% estcmd search -sf -vu -max 40 $db/srch "$pattern"

I'd rather avoid the wildcard stuff when doing a browser search using estseek.cgi, and I found that adding a synonym list works really well. To build a wordlist for synonyms, run "estcmd words" on your search index:

  me% estcmd words srch | awk '{print $1}' | sort -u > /path/to/synonyms

Here are the changes to estseek.conf:

   1  # phraseform: specifies the phrase form.  "1" is usual form, "2"
   2  # is simplified form, "3" is rough form, "4" is union form, "5"
   3  # is intersection form.
   4  phraseform: 2
   5  
   6  # candetail: specifies whether to enable detail display of a
   7  # document.  "true" or "false".
   8  candetail: true
   9  
  10  # candir: specifies whether to enable directory display of a
  11  # document.  "true" or "false".
  12  candir: true
  13  
  14  # If you want query expansion, enable an outer command by editing
  15  # qxpndcmd in estseek.conf.  It specifies the absolute path of
  16  # a command which outputs synonyms of a word specified by the
  17  # environment variable "ESTWORD".
  18  qxpndcmd: /usr/local/share/hyperestraier/filter/myxpnd

Here's the expansion script "myxpnd":

   1  #!/bin/ksh
   2  # myxpand: list synonyms
   3  
   4  # set variables
   5  LANG=C ; export LANG
   6  LC_ALL=C ; export LC_ALL
   7  PATH="/usr/local/bin:/bin:/usr/bin" ; export PATH
   8  
   9  # show help message
  10  case "$1" in
  11      --help) echo 'List synonyms of a word'; exit 0 ;;
  12      *)      ;;
  13  esac
  14  
  15  # list synonyms
  16  exec fgrep "$ESTWORD" /path/to/synonyms
  17  exit 0

Here's part of a search form that works:

  <form method="get" action="estseek.cgi">
    <input type="text" name="phrase" value="" size="20" />
    <input type="hidden" name="phraseform" value="2" />
    <input type="hidden" name="perpage" value="10" />
    <input type="hidden" name="qxpnd" value="1" />
    <input type="hidden" name="navi" value="0" />
    <input type="submit" value="Search" />
  </form>
-- 
Karl Vogel                      I don't speak for the USAF or my company
 
WEDDING DRESS FOR SALE:  Worn once by mistake.  Call Stephanie.
                                                    --seen in the want-ads


Talkback:159/okopnik.html

[ In reference to "Hyperestraier Redux - A User-friendly Approach" in LG#159 ]

Ben Okopnik [ben at linuxgazette.net]


Tue, 3 Feb 2009 21:59:16 -0500

[ Karl, I hope you don't mind me copying this exchange to The Answer Gang; I'd like for the error that you pointed out to be noted in our next issue, and this is the best and easiest way to do it. If you have any further replies, please CC them to '[email protected]'. ]

On Tue, Feb 03, 2009 at 02:59:57PM -0500, Karl Vogel wrote:

> Very cool follow-up article!

Thanks, Karl; I appreciate that. That's a very, very fun program - again, thanks for introducing me to it!

[ ... ]

[ Thread continues here (4 messages/16.55kB) ]


Talkback:144/lg_mail.html

[ In reference to "Mailbag" in LG#144 ]

Kapil Hari Paranjape [kapil at imsc.res.in]


Sat, 21 Feb 2009 11:31:46 +0530

Dear TAG-ers,

I am enclosing a qeury received regarding #144.

Regards,

Kapil.

P.S. (to aditya) please do not mail TAG members directly. Use the mailing list address as above instead.

----- Forwarded message from Aditya Bhiday <[email protected]> -----

Date: Sat, 21 Feb 2009 11:18:15 +0530
Subject: Regarding Proxy Tunneling (TLDP)
From: Aditya Bhiday <[email protected]>
To: [email protected]
Hi,

I came across a post at http://tldp.org/LDP/LGNET/144/misc/lg/qu[...]om_being_used_as_a_socks_proxy.htmlwhich said that

"AllowTcpForwarding Specifies whether TCP forwarding is permitted. The default is "yes". Note that disabling TCP forwarding does not improve security unless users are also denied shell access, as they can always install their own forwarders."

I was just experimenting around with tunneling and as to how to block it. Please could explain to me how one can install their own forwarders if ssh tunneling is blocked, or the name of such a forwarding software?

Thanks,

Regards, Aditya Bhiday

----- End forwarded message -----

[ Thread continues here (6 messages/4.93kB) ]


Talkback:159/dokopnik.html

[ In reference to "Installing VMWare Server 2 on Ubuntu Server 8.10 (Intrepid Ibex)" in LG#159 ]

Stack, David [Stack at sbmc-law.com]


Fri, 13 Feb 2009 23:51:46 -0800

Hello

Thanks for the article. I'm attempting to make this work with the 64 bit version of Ubuntu server 8.10 and the 64bit version of vmware server 2.0. The install went fine but I cannot access the vmware console on the IP of my ubuntu server on port 8222? I know it's alive on my network as it accessed packages from the internet and I have a windows server file share mounted. Any Idea's what to check? Thanks

Dave Stack

-- 
   StackAble IT Solutions LLC
   For SBMC P.S.
   (509) 220-8517

[ Thread continues here (3 messages/2.74kB) ]


Talkback:115/orr.html

[ In reference to "WSGI Explorations in Python" in LG#115 ]

Mike Orr [sluggoster at gmail.com]


Tue, 10 Feb 2009 14:00:01 -0800

Here's a follow-up to my 2005 article "WSGI Explorations in Python" (http://linuxgazette.net/115/orr.html). Michael Will asked me what had happened since then, so I wrote this:

There is no state-of-the-Python-web overview that I know of, but a lot has happened since I wrote that article. Pretty much all new frameworks are written for WSGI, and the older ones have been retrofitted. (CherryPy can run as a WSGI server, Plone can run as an application, parts of Zope have been extracted to independent Repoze components, and Quixote has a WSGI gateway floating around somewhere.) Django works with WSGI sort of, and has been ported to Google App Engine via WSGI.

I'm involved with Pylons, a framework that's fully WSGI and modular to the core, built on top of Paste, which is a low-level WSGI library. TurboGears 2 is being built on top of Pylons. This means that different frameworks with different goals and target users can share the same technology, and essentially makes every TG developer a Pylons developer, doubling our developer base.

There's a group of WSGI framework developers including Pylons/TG/Repoze.BFG developers that is designing a new framework to potentially supercede all of them, with plug-in personalities to reflect their different application styles. This is still at the idea stage but may have some alpha code by the end of the year. If so it could point the way to the next generation of frameworks.

Another big issue is Python 3. Over the next year frameworks will either be ported to Python 3 or replaced by frameworks written for Python 3. (Though the Python 2 frameworks may continue in use for several years.) This has to be done on a dependency basis; e.g., Pylons can't upgrade until all the components it depends on have upgraded.

-- 
Mike Orr <[email protected]>



Talkback: Discuss this article with The Answer Gang

Copyright © 2009, . Released under the Open Publication License unless otherwise noted in the body of the article. Linux Gazette is not produced, sponsored, or endorsed by its prior host, SSC, Inc.

Published in Issue 160 of Linux Gazette, March 2009

Tux