From george at metaart.org Sat Aug 2 14:09:46 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:33 2004 Subject: [oak perl] New Newsletter Message-ID: <200308021209.46532.george@metaart.org> The latest newsletter is on our site at http://oakland.pm.org/oreilly/2003/newsletter_20030801.txt should you wish to look at it. Below are snips of some of the things that caught my eye. George Snips from August 1, 2003 Newsletter ............................................................. ... ***"Go On Safari" Tip of the Week Winner--Robert Kuropkat, Oakland Perl Mongers Group ... ***GNU.org Versus OpenSource.org What's the difference between the Free Software Movement and the Open Source Movement? Tim O'Reilly explains their philosophies in the latest "Ask Tim." http://www.oreilly.com/pub/a/oreilly/ask_tim/2003/gnusource_0703.html ... ***Exegesis 6 Damian Conway explains how the new syntax and semantics of subroutines in Perl 6 make for cleaner, simpler, and more powerful code. http://www.perl.com/pub/a/2003/07/29/exegesis6.html ... ***Picn*x12:The Linux 12th Anniversary Picnic/BBQ, Sunnyvale, CA--August 9 ... From george at metaart.org Mon Aug 4 15:34:52 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:33 2004 Subject: [oak perl] LinuxWorld: See You Message-ID: <200308041334.52076.george@metaart.org> Some of us are meeting at LinuxWorld: when: 2pm on Tuesday, August 5th where: booth #1473 (O'Reilly booth) I'm looking forward to seeing whoever is able to make it. George From george at metaart.org Fri Aug 8 20:47:07 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:33 2004 Subject: [oak perl] Meeting: Tue. August 12, 2003 Message-ID: <200308081847.07209.george@metaart.org> See you there. >From the Oakland.pm Website at http://oakland.pm.org/ .................................................... Come to our next meeting: when: Tue. August 12, 2003 7:30pm-9:30pm. (We meet 2nd Tuesdays) where: Arden Schaeffer's place 413 61st Street, Oakland CA directions: original, Arden's theme: Design Patterns what: introductions another lottery brief reports & such: LinuxWorld Expo, ... short talk "using Perl for CGI" by Joshua Wait short talks, etc. on the theme ... who: open to anyone interested. how much: no fee for our meetings. From robert-kuropkat at comcast.net Tue Aug 12 16:54:25 2003 From: robert-kuropkat at comcast.net (robert-kuropkat@comcast.net) Date: Mon Aug 2 21:33:33 2004 Subject: [oak perl] Missing the meeting tonight... Message-ID: <200308122154.h7CLsf712525@mail.pm.org> All, Sorry to say I will probably be missing the meeting tonight. To much to do, to little time, that sort of thing. I look forward to being at the next one though. Robert Kuropkat From george at metaart.org Tue Aug 12 17:27:59 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:33 2004 Subject: [oak perl] Missing the meeting tonight... In-Reply-To: <200308122154.h7CLsf712525@mail.pm.org> References: <200308122154.h7CLsf712525@mail.pm.org> Message-ID: <200308121527.59268.george@metaart.org> Robert, We'll miss you. Anyway, congratulations again for winning the prize, for your Safari comments, including the mug for the group. The mug you won for us will be part of the lottery tonight. :) Yay! But since you won't be here, I guess there will be no group picture with your digital camera. :( See you at the next meeting. George On Tuesday 12 August 2003 2:54 pm, robert-kuropkat@comcast.net wrote: > All, > > Sorry to say I will probably be missing the meeting tonight. To much to > do, to little time, that sort of thing. I look forward to being at the > next one though. > > Robert Kuropkat > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland From edwincime at yahoo.com Wed Aug 13 18:23:42 2003 From: edwincime at yahoo.com (Edwin s) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Abstract Factory pattern source code In-Reply-To: <200308121527.59268.george@metaart.org> Message-ID: <20030813232342.85359.qmail@web41813.mail.yahoo.com> Skipped content of type multipart/alternative-------------- next part -------------- /** * Author: http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html * Date: * Purpose: Implementing Factory for Data Access Objects Strategy * This encapsulates the details of the database implementation * * Design Pattern "Abstract Factory" * * Using the terms from Design Patterns book, here are the participants * AbstractFactory - DAOFactory * ConcreteFactory - MysqlDAOFactory, XmlDAOFactory, PostgresDAOFactory * AbstractProduct - LoginDAO, CompanyDAO * ConcreteProduct - MysqlLoginDAO, MysqlCompanyDAO, etc * * * Design Patterns, Gamma, Helm, Johnson, Vlissides, pages 87 - 95 * see also Java Design Patterns, James Cooper, pages 33 - 38 */ // Abstract class DAO Factory public abstract class DAOFactory { // List of DAO types supported by the factory public static final int MYSQL = 1; public static final int XML = 2; public static final int POSTGRES = 3; // tdb //... // There will be a method for each DAO that can be // created. The concrete factories will have to // implement these methods. public abstract LoginDAO getLoginDAO(); public abstract CompanyDAO getCompanyDAO(); //... public static int getConstant (String value) { if (value.equalsIgnoreCase("MYSQL")) return MYSQL; if (value.equalsIgnoreCase("XML")) return XML; return 0; } public static DAOFactory getDAOFactory( int whichFactory) { switch (whichFactory) { case MYSQL: return new MysqlDAOFactory(); case XML: return new XmlDAOFactory(); //case POSTGRES: // return new PostgresDAOFactory(); //... default : return null; } } } "DAOFactory.java" 57L, 1749C 57,0-1 Bot ******************************************************************************************** ******************************************************************************************** ******************************************************************************************** import java.sql.Connection; import java.sql.SQLException; public class MysqlDAOFactory extends DAOFactory { private static ConnectionPool connectionPool; // class constants // Candidate for putting into a config file or constants class // // Move this up to the class MysqlDAOFactory private static final String dbUrl = "jdbc:mysql://"; private static final String hostName = "localhost"; private static final String databaseName = "sampledb"; private static final String connName = dbUrl + hostName+"/"+databaseName; private static final String connectURL = dbUrl + hostName+"/"+databaseName; private static final String uName = "root"; private static final String pWord = "r8ssi2n"; private static final String driverName = "org.gjt.mm.mysql.Driver"; public MysqlDAOFactory() { } // uses singleton pattern public static Connection getConnection() { if (connectionPool==null) { connectionPool = new ConnectionPool(connectURL, uName, pWord, driverName); } // end if stmt return connectionPool.getConnection(); } public static void closeConnection(Connection conn) { if (connectionPool!=null) { connectionPool.closeConnection(conn); // closes a connection } } public static void release() throws ApplicationException { try { if (connectionPool!=null) { connectionPool.release(); // closes all connections opened } } catch (SQLException e) { throw new ApplicationException(e.getMessage()); } } public LoginDAO getLoginDAO() { return new MysqlLoginDAO(); } public CompanyDAO getCompanyDAO() { return new MysqlCompanyDAO(); } } "MysqlDAOFactory.java" 59L, 1954C 59,1 Bot ******************************************************************************************** ******************************************************************************************** ******************************************************************************************** public class XmlDAOFactory extends DAOFactory { private static DocumentBuilderFactory documentBuilderFactory; private static DocumentBuilder documentBuilder; private static Document document; public final static String LOCATION = "/usr/jwsdp11/webapps/ado/xml/company.xml"; private static void init() throws ApplicationException { try { documentBuilderFactory = DocumentBuilderFactory.newInstance(); //documentBuilderFactory.setValidating(true); documentBuilder = documentBuilderFactory.newDocumentBuilder(); ErrorHandler h = new MyErrorHandler(); documentBuilder.setErrorHandler(h); File file = new File(LOCATION); document = documentBuilder.parse(file); } catch (SAXException e) { throw new ApplicationException (e.getMessage()); } catch (ParserConfigurationException e) { throw new ApplicationException (e.getMessage()); } catch (IOException e) { throw new ApplicationException (e.getMessage()); } } // class constants // Candidate for putting into a config file or constants class // // Move this up to the class MysqlDAOFactory public XmlDAOFactory() { } public static void release() { } public static void close() { } // uses singleton pattern public static Document getDocument() throws ApplicationException { if (document==null) { init(); } return document; } public LoginDAO getLoginDAO() { return null; } public CompanyDAO getCompanyDAO() { return new XmlCompanyDAO(); } public static void main (String args[]) { System.out.println ("----- XmlDAOFactory.main() ----- "); try { Document doc = XmlDAOFactory.getDocument(); NodeList nl = doc.getElementsByTagName("company_record"); System.out.println ("Number of nodes in nl list = " + nl.getLength()); Node node0 = nl.item(0); System.out.println (" ====== node0 ===== "); System.out.println (node0); Node node1 = nl.item(1); System.out.println (" ====== node1 ===== "); System.out.println (node1); NodeList n2 = doc.getElementsByTagName("company_record"); //System.out.println ("Number of nodes in n2 list = " + n2.getLength()); System.out.println (" ============= output of doc.write ============== " ); String location = "/usr/jwsdp11/webapps/ado/src/company.xml"; File file = new File(location); InputSource input = Resolver.createInputSource(file); XmlDocument xmlDoc = XmlDocument.createXmlDocument(input, true); xmlDoc.getDocumentElement().normalize(); xmlDoc.write (System.out); } catch (Exception e) { } } // private class private static class MyErrorHandler implements ErrorHandler { public void warning(SAXParseException e) throws SAXException { System.out.println("Warning: "); printInfo(e); } public void error(SAXParseException e) throws SAXException { System.out.println("Error: "); printInfo(e); } public void fatalError(SAXParseException e) throws SAXException { System.out.println("Fattal error: "); printInfo(e); } private void printInfo(SAXParseException e) { System.out.println(" Public ID: "+e.getPublicId()); System.out.println(" System ID: "+e.getSystemId()); System.out.println(" Line number: "+e.getLineNumber()); System.out.println(" Column number: "+e.getColumnNumber()); System.out.println(" Message: "+e.getMessage()); } } } "XmlDAOFactory.java" 135L, 4299C 135,1 Bot ******************************************************************************************** ******************************************************************************************** ******************************************************************************************** // MysqlCompanyDAO implementation of the // CompanyDAO interface. This class can contain all // MySQL specific code and SQL statements. // The client is thus shielded from knowing // these implementation details. import java.sql.*; import java.util.Iterator; import java.util.ArrayList; import java.util.Collection; public class MysqlCompanyDAO implements CompanyDAO { public MysqlCompanyDAO() { // initialization } public int insertCompany(Company company) throws ApplicationException { Connection connection = MysqlDAOFactory.getConnection(); String ps = "insert into company values (?, ?, ?, ?, ?, ?, ?, ?)"; int result = 0; try { PreparedStatement pStatement = connection.prepareStatement(ps); pStatement.setString(1, company.getCompany()); pStatement.setString(2, company.getEmail()); pStatement.setString(3, company.getJobTitle()); pStatement.setString(4, company.getDescription()); pStatement.setString(5, company.getDate()); pStatement.setString(6, company.getSource()); pStatement.setString(7, company.getContact()); pStatement.setString(8, company.getComment()); result = pStatement.executeUpdate(); if (pStatement!=null) pStatement.close(); if (connection!=null) MysqlDAOFactory.closeConnection(connection); } catch (SQLException e) { throw new ApplicationException(e.getMessage()); } return result; } public int deleteCompany(String company) throws ApplicationException { Connection connection = MysqlDAOFactory.getConnection(); String ps = "delete from company where company = ?"; int result = 0; try { PreparedStatement pStatement = connection.prepareStatement(ps); pStatement.setString(1, company); result = pStatement.executeUpdate(); if (pStatement!=null) pStatement.close(); if (connection!=null) MysqlDAOFactory.closeConnection(connection); } catch (SQLException e) { throw new ApplicationException(e.getMessage()); } return result; } public Company findCompany(String company) throws ApplicationException { Company companyData = new Company(); Connection connection = MysqlDAOFactory.getConnection(); String ps = "select * from company where company = ?"; try { PreparedStatement pStatement = connection.prepareStatement(ps); pStatement.setString(1, company); ResultSet rs = pStatement.executeQuery(); if (rs!=null) { rs.next(); // move into 1st position companyData.setCompany(rs.getString("company")); companyData.setEmail(rs.getString("email")); companyData.setJobTitle(rs.getString("jobTitle")); companyData.setDescription(rs.getString("description")); companyData.setDate(rs.getDate("date").toString()); companyData.setSource(rs.getString("source")); companyData.setContact(rs.getString("contact")); companyData.setComment(rs.getString("comment")); } if (rs!=null) rs.close(); if (pStatement!=null) pStatement.close(); if (connection!=null) MysqlDAOFactory.closeConnection(connection); } catch (SQLException e) { throw new ApplicationException(e.getMessage()); } return companyData; } public int updateCompany(Company company) throws ApplicationException { Connection connection = MysqlDAOFactory.getConnection(); String ps = "update company set email = ?, jobTitle = ?, description = ?, date = ?, source = ?, contact = ?, comment = ? where company = ?"; int result = 0; try { PreparedStatement pStatement = connection.prepareStatement(ps); pStatement.setString(1, company.getEmail()); pStatement.setString(2, company.getJobTitle()); pStatement.setString(3, company.getDescription()); pStatement.setString(4, company.getDate()); pStatement.setString(5, company.getSource()); pStatement.setString(6, company.getContact()); pStatement.setString(7, company.getComment()); pStatement.setString(8, company.getCompany()); result = pStatement.executeUpdate(); if (pStatement!=null) pStatement.close(); if (connection!=null) MysqlDAOFactory.closeConnection(connection); } catch (SQLException e) { throw new ApplicationException(e.getMessage()); } return result; } public Collection getAllCompany() throws ApplicationException { Connection connection = MysqlDAOFactory.getConnection(); String ps = "select * from company"; ArrayList arrayList = new ArrayList(); try { PreparedStatement pStatement = connection.prepareStatement(ps); ResultSet rs = pStatement.executeQuery(); while (rs.next()) { Company company = new Company(); company.setCompany(rs.getString("company")); company.setEmail(rs.getString("email")); company.setJobTitle(rs.getString("jobTitle")); company.setDescription(rs.getString("description")); company.setDate(rs.getDate("date").toString()); company.setSource(rs.getString("source")); company.setContact(rs.getString("contact")); company.setComment(rs.getString("comment")); arrayList.add(company); } if (rs!=null) rs.close(); if (pStatement!=null) pStatement.close(); if (connection!=null) MysqlDAOFactory.closeConnection(connection); } catch (SQLException e) { throw new ApplicationException(e.getMessage()); } return arrayList; } ******************************************************************************************** ******************************************************************************************** ******************************************************************************************** public class XmlCompanyDAO implements CompanyDAO { public XmlCompanyDAO() { // initialization } public int insertCompany(Company companyData) throws ApplicationException { int result = 0; try { Document doc = XmlDAOFactory.getDocument(); Node rootNode = doc.getDocumentElement(); Element element = doc.createElement("company_record"); Element element1 = doc.createElement("company"); element1.appendChild(doc.createTextNode(companyData.getCompany())); Element element2 = doc.createElement("email"); element2.appendChild(doc.createTextNode(companyData.getEmail())); Element element3 = doc.createElement("jobTitle"); element3.appendChild(doc.createTextNode(companyData.getJobTitle())); Element element4 = doc.createElement("description"); element4.appendChild(doc.createTextNode(companyData.getDescription())); Element element5 = doc.createElement("date"); element5.appendChild(doc.createTextNode(companyData.getDate())); Element element6 = doc.createElement("source"); element6.appendChild(doc.createTextNode(companyData.getSource())); Element element7 = doc.createElement("contact"); element7.appendChild(doc.createTextNode(companyData.getContact())); Element element8 = doc.createElement("comment"); element8.appendChild(doc.createTextNode(companyData.getComment())); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element1); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element2); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element3); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element4); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element5); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element6); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element7); element.appendChild(doc.createTextNode("\n ")); element.appendChild(element8); element.appendChild(doc.createTextNode("\n ")); rootNode.appendChild(doc.createTextNode(" ")); rootNode.appendChild(element); rootNode.appendChild(doc.createTextNode("\n")); result = 1; } catch (ApplicationException e){ throw new ApplicationException("XmlCompanyDAO.insert():" + e.getMessage()); } return result; } public int deleteCompany(String company) throws ApplicationException { int result = 0; try { ArrayList arrayList = new ArrayList(); Document doc = XmlDAOFactory.getDocument(); NodeList nl = doc.getElementsByTagName("company_record"); int nodeCount = 0; Node deleteNode = null; boolean found = false; while (!found && nodeCount0) { deleteCompany(company); insertCompany(companyData); result = 1; // successful update } } return result; } // chk 8/11 public Collection getAllCompany() throws ApplicationException { ArrayList arrayList = new ArrayList(); Document doc = XmlDAOFactory.getDocument(); NodeList nl = doc.getElementsByTagName("company_record"); int nodeCount = 0; while (nodeCount References: <20030813232342.85359.qmail@web41813.mail.yahoo.com> Message-ID: <200308131706.10409.george@metaart.org> On Wednesday 13 August 2003 4:23 pm, Edwin s wrote: > ... > For those interested I'm sending the source code for the abstract factory. > > Sorry if I did not have enough copies last night. > ... Hey, thanks for giving the talk, and thanks for having handouts at all. And thanks for providing the code here. George From george at metaart.org Wed Aug 13 23:11:06 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Next Oakland.pm Meeting Message-ID: <200308132111.06601.george@metaart.org> This meeting is intended to be: * interesting * sometimes humorous * useful to people who are still learning Perl (everyone?) * easy to prepare for The idea was to large extent inspired by an idea proposed by a member of PBML, though I take the full responsibility for transmogrifying it. I am the designated villain in this case. I decline to say who in particular, until such time as he or she agrees to it. George Cut & Paste of Announcement from Oakland.pm Home Page at http://oakland.pm.org ................................................................... Come to our next meeting: when: Tue. September 9, 2003 7:30pm-9:30pm. (We meet 2nd Tuesdays) where: Arden Schaeffer's place 413 61st Street, Oakland CA directions: original, Arden's theme: How did you learn Perl? what: introductions yet another lottery short talks, etc. on the theme ... who: open to anyone interested. how much: no fee for our meetings. From george at metaart.org Thu Aug 14 01:21:24 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Newsletter from O'Reilly UG Program, August 13 Message-ID: <200308132321.24581.george@metaart.org> The latest newsletter is on our site at http://oakland.pm.org/oreilly/2003/newsletter_20030813.txt should you wish to look at it. Below are snips of two things that caught my eye. George Snips from August 13, 2003 Newsletter ............................................................. --------------------- Open Source --------------------- ***Five Lessons You Should Learn from Extreme Programming Extreme Programming (XP) is yet another popular idea gaining press. It adapts the best ideas from the past decades of software development. Whether or not you adopt XP, it's worth considering what XP teaches. chromatic, author of "Extreme Programming Pocket Guide," offers five lessons you should learn from Extreme Programming. http://www.onlamp.com/pub/a/onlamp/2003/07/31/extremeprogramming.html?CMP=NLC -Q87B09432775 Extreme Programming Pocket Guide Order Number: 4850 http://www.oreilly.com/catalog/extprogpg/index.html ================================================ Fun Stuff ================================================ ***Take the Geek Test http://www.innergeek.us/geek.html [ The test classifies me as a Geek. But alas according to "them", there are 6 higher levels of Geekiness. I particularly enjoy that they don't bother to list a category for a person who is not a geek and doesn't have geek tendancies.] From arden at lmi.net Thu Aug 14 13:25:57 2003 From: arden at lmi.net (Arden Schaeffer) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Abstract Factory pattern source code In-Reply-To: <200308131706.10409.george@metaart.org> Message-ID: Edwin: i, Arden, also thank you; and, since George said it perfectly, i'm quoting his very own words, below: On Wednesday, Aug 13, 2003, at 17:06 US/Pacific, George Woolley wrote: > On Wednesday 13 August 2003 4:23 pm, Edwin s wrote: >> ... >> For those interested I'm sending the source code for the abstract >> factory. >> >> Sorry if I did not have enough copies last night. >> ... > > Hey, thanks for giving the talk, > and thanks for having handouts at all. > And thanks for providing the code here. > > George > > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland > From extasia at extasia.org Thu Aug 14 15:47:17 2003 From: extasia at extasia.org (David Alban) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] SIG-BEER-WEST this Saturday 8/16 in San Francisco Message-ID: <20030814134717.A30543@gerasimov.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 SIG-beer-west Saturday, August 16, 2003 at 6:00pm San Francisco, CA Beer. Mental stimulation. This event: Saturday, 08/16/2003, 6:00pm, at the Toronado, San Francisco Coming events (third Saturdays): Saturday, 09/20/2003, 6:00pm, location to be determined Saturday, 10/18/2003, 6:00pm, location to be determined Saturday, 11/15/2003, 6:00pm, location to be determined Saturday, 12/20/2003, 6:00pm, location to be determined San Francisco's next social event for computer sysadmins and their friends, sig-beer-west, will take place on Saturday, August 16, 2003 at the [1]Toronado in San Francisco, CA. The Toronado has an impressive selection of [2]draught and [3]bottled beer. Festivities will start at 6:00pm and continue until we've all left. The Toronado has an excellent selection of beer, but no food. It is perfectly okay to score food from neighboring establishments and bring it back to the Toronado to eat. Also, after we are all full with beer we may roam off to a nearby restaurant. [1] http://www.toronado.com/ [2] http://www.toronado.com/draft.htm [3] http://www.toronado.com/bottles.htm Everyone is welcome at this event. We mean it! Please feel free to forward this information and to invite friends, co-workers, and others who might enjoy lifting a glass with interesting folks from all over the place. (O.K., you do have to be of legal drinking age to attend.) For directions to the Toronado, please use the [4]excellent directions at their website. When you show up at the Toronado, you should look for some kind of home made sig-beer-west sign. We will try to make it obvious who we are. :-) [4] http://www.toronado.com/map.htm Note: Check the tables in the back room for us if you don't see us at the tables by the bar. The back room is back and to the left. Can't come this month? Mark your calendar for next month. sig-beer-west is always on the third Saturday of the month. Any Comments, Questions, or Suggestions of Things to Do Later on That Evening ... email [5]Fiid or [6]David. [5] fiid .AT. fiid .DOT. net [6] extasia .AT. extasia .DOT. org There is a sig-beer-west mailing list. To subscribe, send an email with "subscribe" in the body to . sig-beer-west FAQ 1. Q: Your announcement says "computer sysadmins and their friends". How do I know if I'm a friend of a computer sysadmin? I don't even know what one is. A: You're a friend of a computer sysadmin if you can find the sig-beer-west sign at this month's sig-beer-west event. 2. Q: I'm not really a beer person. In fact I'm interested in hanging out, but not in drinking. Would I be welcome? A: Absolutely! The point is to hang out with fun, interesting folks. Please do join us. 3. Q: Is parking difficult around the Toronado, like maybe I should factor this into my travel time? A: Yes. ______________________________________________________________________ sig-beer-west was started in February 2002 when a couple Washington, D.C. based systems administrators who moved to the San Francisco Bay area wanted to continue a [7]dc-sage tradition, sig-beer, which is described in dc-sage web space as: SIG-beer, as in "Special Interest Group - Beer" ala ACM, or as in "send the BEER signal to that process". The original SIG-beer gathering takes place in Washington DC, usually on the first Saturday night of the month. ______________________________________________________________________ [7] http://www.dc-sage.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/O92wPh0M9c/OpdARAqcnAJ9pN4OezoxaIh1rz74Lh6SF6eqRSwCePZu2 MzZcQz+5Wkc3BE7xSGiCwjY= =Hf9R -----END PGP SIGNATURE----- From a_lamothe at operamail.com Sat Aug 16 02:38:42 2003 From: a_lamothe at operamail.com (Adrien Lamothe) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Arden's AMD box now has a working modem. Message-ID: <20030816073842.20307.qmail@operamail.com> We can now access the net using Arden's AMD box. His internal modem was fried, most probably due to a bad PCI power regulator on the motherboard. I replaced the motherboard and CPU, and removed the modem card. I then attached Arden's 33k external modem to the serial port (its a USR V.EVERYTHING.) We tested the new system and everything works fine. So, we now have an alternative to the Macintosh, for those who wish to use something different. - Adrien -- ____________________________________________ http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze From a_lamothe at operamail.com Sat Aug 16 02:44:09 2003 From: a_lamothe at operamail.com (Adrien Lamothe) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Arden's Linux box addendum. Message-ID: <20030816074409.23994.qmail@operamail.com> Oops... I forgot to mention that we also added a CyberPower UPS/power regulator to Arden's system, so we shouldn't experience any more blown components :) - Adrien -- ____________________________________________ http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze From a_lamothe at operamail.com Sat Aug 16 02:51:55 2003 From: a_lamothe at operamail.com (Adrien Lamothe) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Time stamps incorrect on mailing list posts. Message-ID: <20030816075155.29256.qmail@operamail.com> I just noticed that the time stamps on my last two posts are marked 9 hours into the future. Hmm... I don't see any other postings regarding this (hope this posting isn't redundant.) - Adrien -- ____________________________________________ http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze From george at metaart.org Sat Aug 16 12:24:35 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Arden's AMD box now has a working modem. In-Reply-To: <20030816073842.20307.qmail@operamail.com> References: <20030816073842.20307.qmail@operamail.com> Message-ID: <200308161024.35405.george@metaart.org> This is good. Thanks. -- George On Saturday 16 August 2003 12:38 am, Adrien Lamothe wrote: > We can now access the net using Arden's AMD box. > His internal modem was fried, most probably due to a > bad PCI power regulator on the motherboard. I replaced > the motherboard and CPU, and removed the modem card. > I then attached Arden's 33k external modem to the serial > port (its a USR V.EVERYTHING.) We tested the new system > and everything works fine. So, we now have an alternative > to the Macintosh, for those who wish to use something different. > > - Adrien From george at metaart.org Sat Aug 16 12:25:20 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Arden's Linux box addendum. In-Reply-To: <20030816074409.23994.qmail@operamail.com> References: <20030816074409.23994.qmail@operamail.com> Message-ID: <200308161025.20936.george@metaart.org> Even better. -- George On Saturday 16 August 2003 12:44 am, Adrien Lamothe wrote: > Oops... I forgot to mention that we also added a CyberPower > UPS/power regulator to Arden's system, so we shouldn't > experience any more blown components :) > > - Adrien From george at metaart.org Sat Aug 16 12:48:07 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Time stamps incorrect on mailing list posts. In-Reply-To: <20030816075155.29256.qmail@operamail.com> References: <20030816075155.29256.qmail@operamail.com> Message-ID: <200308161048.07607.george@metaart.org> Adrien, Thanks for paying attention to such things. I don't recall any similar posts. I'm not clear exactly where you are experiencing this. I just did two posts to the list and when they came back to me the time stamps were correct. George On Saturday 16 August 2003 12:51 am, Adrien Lamothe wrote: > I just noticed that the time stamps on my last two posts > are marked 9 hours into the future. Hmm... > I don't see any other postings regarding this (hope this > posting isn't redundant.) > > - Adrien From a_lamothe at operamail.com Mon Aug 18 01:49:32 2003 From: a_lamothe at operamail.com (Adrien Lamothe) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Arden's Linux box addendum. Message-ID: <20030818064932.30944.qmail@operamail.com> You should consider getting another power conditioner for your new system. You can get a good one at Fry's for $59 - $119. The power in your building is probably similar to Arden's house. ----- Original Message ----- From: George Woolley Date: Sat, 16 Aug 2003 10:25:20 -0700 To: Oakland Perl Mongers Subject: Re: [oak perl] Arden's Linux box addendum. > Even better. -- George > > On Saturday 16 August 2003 12:44 am, Adrien Lamothe wrote: > > Oops... I forgot to mention that we also added a CyberPower > > UPS/power regulator to Arden's system, so we shouldn't > > experience any more blown components :) > > > > - Adrien > > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland -- ____________________________________________ http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze From george at metaart.org Mon Aug 18 22:33:56 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Review of "Learning Web Design" Message-ID: <200308182033.56446.george@metaart.org> There's a review of the book "Learning Web Design" on our site at: http://oakland.pm.org/reviews/learnweb2.html should you wish to look at it. From joshnjillwait at yahoo.com Wed Aug 20 12:39:05 2003 From: joshnjillwait at yahoo.com (Joshua Wait) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Re: Oakland Digest, Vol 2, Issue 11 In-Reply-To: <200308191700.h7JH0bm28249@mail.pm.org> Message-ID: <20030820173905.73575.qmail@web10702.mail.yahoo.com> Thanks for the informative and thorough review of "Learning Web Design." I've looked at the book before and found it a little elementary for what I'm doing. I am interested in doing book reviews (I did a few a couple of years ago) and would like to do some in the near future. I am currently working on "Learning Perl Objects, References and Modules." It helped me solve a problem recently that I couldn't solve from just reading "Programming Perl." Since I know very little about object oriented programming, it would be from the perspective of someone new to oop. Also, I am interested in reading/reviewing the Perl Cookbook. If it would be possible for me to obtain a copy for reviewing (or borrow for an extended period of time), then I would try to write a review soon. --JOSHUA --- oakland-request@mail.pm.org wrote: > Send Oakland mailing list submissions to > oakland@mail.pm.org > > To subscribe or unsubscribe via the World Wide Web, > visit > http://mail.pm.org/mailman/listinfo/oakland > or, via email, send a message with subject or body > 'help' to > oakland-request@mail.pm.org > > You can reach the person managing the list at > oakland-owner@mail.pm.org > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Oakland digest..." > > > Today's Topics: > > 1. Review of "Learning Web Design" (George > Woolley) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 18 Aug 2003 20:33:56 -0700 > From: George Woolley > Subject: [oak perl] Review of "Learning Web Design" > To: oakland@mail.pm.org > Message-ID: <200308182033.56446.george@metaart.org> > Content-Type: text/plain; charset="iso-8859-1" > > There's a review of the book "Learning Web Design" > on our site at: > http://oakland.pm.org/reviews/learnweb2.html > should you wish to look at it. > > > > > ------------------------------ > > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland > > > End of Oakland Digest, Vol 2, Issue 11 > ************************************** __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From george at metaart.org Wed Aug 20 16:26:31 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Re: Oakland Digest, Vol 2, Issue 11 In-Reply-To: <20030820173905.73575.qmail@web10702.mail.yahoo.com> References: <20030820173905.73575.qmail@web10702.mail.yahoo.com> Message-ID: <200308201426.31030.george@metaart.org> Joshua, Thanks for looking at the review of "Learning Web Design". Both the reviews you suggest would be appreciated. Likely, I can get you a review copy of "Perl Cookbook" (2nd edition) as soon as it's available which should be very soon. I'll also communicate with you off list re all this in more detail. George Everyone, Anyone else want to do a review? George On Wednesday 20 August 2003 10:39 am, Joshua Wait wrote: > Thanks for the informative and thorough review of > "Learning Web Design." I've looked at the book before > and found it a little elementary for what I'm doing. > > I am interested in doing book reviews (I did a few a > couple of years ago) and would like to do some in the > near future. I am currently working on "Learning Perl > Objects, References and Modules." It helped me solve a > problem recently that I couldn't solve from just > reading "Programming Perl." > > Since I know very little about object oriented > programming, it would be from the perspective of > someone new to oop. > > Also, I am interested in reading/reviewing the Perl > Cookbook. If it would be possible for me to obtain a > copy for reviewing (or borrow for an extended period > of time), then I would try to write a review soon. > > --JOSHUA > > --- oakland-request@mail.pm.org wrote: > > Send Oakland mailing list submissions to > > oakland@mail.pm.org > > > > To subscribe or unsubscribe via the World Wide Web, > > visit > > http://mail.pm.org/mailman/listinfo/oakland > > or, via email, send a message with subject or body > > 'help' to > > oakland-request@mail.pm.org > > > > You can reach the person managing the list at > > oakland-owner@mail.pm.org > > > > When replying, please edit your Subject line so it > > is more specific > > than "Re: Contents of Oakland digest..." > > > > > > Today's Topics: > > > > 1. Review of "Learning Web Design" (George > > Woolley) > > ---------------------------------------------------------------------- > > > Message: 1 > > Date: Mon, 18 Aug 2003 20:33:56 -0700 > > From: George Woolley > > Subject: [oak perl] Review of "Learning Web Design" > > To: oakland@mail.pm.org > > Message-ID: <200308182033.56446.george@metaart.org> > > Content-Type: text/plain; charset="iso-8859-1" > > > > There's a review of the book "Learning Web Design" > > on our site at: > > http://oakland.pm.org/reviews/learnweb2.html > > should you wish to look at it. > > > > > > > > > > ------------------------------ > > > > _______________________________________________ > > Oakland mailing list > > Oakland@mail.pm.org > > http://mail.pm.org/mailman/listinfo/oakland > > > > > > End of Oakland Digest, Vol 2, Issue 11 > > ************************************** > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland From george at metaart.org Thu Aug 21 22:35:18 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] New Newsletter Message-ID: <200308212035.18222.george@metaart.org> The latest newsletter is on our site at http://oakland.pm.org/oreilly/2003/newsletter_20030821.txt should you wish to look at it. George From george at metaart.org Fri Aug 22 14:21:50 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Next Oakland.pm Meeting [inspiration revealed] Message-ID: <200308221221.50095.george@metaart.org> I now have the go ahead to reveal the inspiration for the theme of this meeting. Back in January, Jennifer proposed that we have a part of the Oakland.pm website, perhaps a blog-like thingy, where people would recount how they really learned Perl. Jennifer gave three short humorous examples of imagined stories. I thought it was a kool idea then and still do. The difference is that I now see a path to make it real. Who knows, she might say more about this, if ... George ---------- Forwarded Message ---------- Subject: [oak perl] Next Oakland.pm Meeting Date: Wednesday 13 August 2003 9:11 pm From: George Woolley To: oakland@mail.pm.org This meeting is intended to be: * interesting * sometimes humorous * useful to people who are still learning Perl (everyone?) * easy to prepare for The idea was to large extent inspired by an idea proposed by a member of PBML, though I take the full responsibility for transmogrifying it. I am the designated villain in this case. I decline to say who in particular, until such time as he or she agrees to it. George Cut & Paste of Announcement from Oakland.pm Home Page at http://oakland.pm.org ................................................................... Come to our next meeting: when: Tue. September 9, 2003 7:30pm-9:30pm. (We meet 2nd Tuesdays) where: Arden Schaeffer's place 413 61st Street, Oakland CA directions: original, Arden's theme: How did you learn Perl? what: introductions yet another lottery short talks, etc. on the theme ... who: open to anyone interested. how much: no fee for our meetings. _______________________________________________ Oakland mailing list Oakland@mail.pm.org http://mail.pm.org/mailman/listinfo/oakland ------------------------------------------------------- From george at metaart.org Mon Aug 25 00:39:54 2003 From: george at metaart.org (George Woolley) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Next Oakland.pm Meeting -- a question Message-ID: <200308242239.54128.george@metaart.org> The theme of the next Oakland.pm meeting is "How Did You Learn Perl?". Some answers to the following question would actually be of use to me in planning this meeting. If you own less than 5 Perl Books: What are they? If you own more than 5 Perl books and feel left out or for some reason are in the mood for answering questions, how about the following: What book or books do you recommend for learning whatever you consider to be Perl basics? You can send answers here or to my personal email address: george in the domain of metaart.org George From joshnjillwait at yahoo.com Thu Aug 28 11:41:37 2003 From: joshnjillwait at yahoo.com (Joshua Wait) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Has anyone used GD before? Message-ID: <20030828164137.65911.qmail@web10706.mail.yahoo.com> I'm looking to do some basic image manipulation for my web site. Rotate, scale, etc. My ISP only supports GD, I played around with it a bit, and it looks like GD will do the job. While I've found tons of documentation on Image::Magick, I've found scant documentation on GD and not really any examples of "Oh, I used GD in this creative manner to accomplish x, y, z!" Any thoughts? --JOSHUA __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From cpm at bitbucket.com Thu Aug 28 11:51:35 2003 From: cpm at bitbucket.com (Craig McLaughlin) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Has anyone used GD before? In-Reply-To: <20030828164137.65911.qmail@web10706.mail.yahoo.com> References: <20030828164137.65911.qmail@web10706.mail.yahoo.com> Message-ID: <1062089490.3039.56.camel@sith.bitbucket.com> I've used GD to build charts of varying types and some text-based logos, along with the rotating and scaling functions you mention. Have you checked out the GD docs at search.cpan.org? Look under graphics; all the GD modules are listed there. If you don't find what you need, let me know, I'll try to help. Cheers, --Craig On Thu, 2003-08-28 at 09:41, Joshua Wait wrote: > > I'm looking to do some basic image manipulation for my > web site. Rotate, scale, etc. My ISP only supports GD, > I played around with it a bit, and it looks like GD > will do the job. > > While I've found tons of documentation on > Image::Magick, I've found scant documentation on GD > and not really any examples of "Oh, I used GD in this > creative manner to accomplish x, y, z!" > > Any thoughts? > > --JOSHUA > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland > > From joshnjillwait at yahoo.com Thu Aug 28 12:20:33 2003 From: joshnjillwait at yahoo.com (Joshua Wait) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Has anyone used GD before? In-Reply-To: <1062089490.3039.56.camel@sith.bitbucket.com> Message-ID: <20030828172033.84958.qmail@web10704.mail.yahoo.com> Thank you for your quick response. I did find that information. In many ways, it's adequate document for getting the methods I need to do the work, but I was looking for more practical examples. I would be interested in hearing more about how you used GD. Do you have any examples? Did the rotation or other modifications degrade the quality of the image? Did you experience any barriers or any pitfalls I should watch out for? --JOSHUA --- Craig McLaughlin wrote: > > I've used GD to build charts of varying types and > some text-based logos, > along with the rotating and scaling functions you > mention. > > Have you checked out the GD docs at search.cpan.org? > Look under > graphics; all the GD modules are listed there. > > If you don't find what you need, let me know, I'll > try to help. > > Cheers, > --Craig > > > On Thu, 2003-08-28 at 09:41, Joshua Wait wrote: > > > > I'm looking to do some basic image manipulation > for my > > web site. Rotate, scale, etc. My ISP only supports > GD, > > I played around with it a bit, and it looks like > GD > > will do the job. > > > > While I've found tons of documentation on > > Image::Magick, I've found scant documentation on > GD > > and not really any examples of "Oh, I used GD in > this > > creative manner to accomplish x, y, z!" > > > > Any thoughts? > > > > --JOSHUA > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > _______________________________________________ > > Oakland mailing list > > Oakland@mail.pm.org > > http://mail.pm.org/mailman/listinfo/oakland > > > > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From cpm at bitbucket.com Fri Aug 29 13:03:45 2003 From: cpm at bitbucket.com (Craig McLaughlin) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Has anyone used GD before? In-Reply-To: <20030828172033.84958.qmail@web10704.mail.yahoo.com> References: <20030828172033.84958.qmail@web10704.mail.yahoo.com> Message-ID: <1062180220.3039.81.camel@sith.bitbucket.com> Sorry for the current delay after my initial prompt response. :) I could dredge up some examples this weekend; the use of GD is internal to projects and not "standalone," but I could make up some sample scripts. My initial driving reason to start using GD was, surprisingly enough, font-related. I wanted a quick and easy way to see the same text represented in a large (200+) number of TrueType fonts. As GD supports TTF, it was pretty simple to get it to do the job. I haven't done a great deal of work where photo-quality was an issue, but I have seen GD used for such things (gallery comes to mind), and have never noticed quality degredation. YMMV, as image quality is a subjective thing, I find. :) The largest barrier / pitfall I had was in placement and alignment of objects (text, images, etc) within the image. For text I was very happy to find GD::Text::Align. But other items required calculations of radians, use of Pi, etc... quite a pain in the head. --Craig On Thu, 2003-08-28 at 10:20, Joshua Wait wrote: > > Thank you for your quick response. > > I did find that information. In many ways, it's > adequate document for getting the methods I need to do > the work, but I was looking for more practical > examples. > > I would be interested in hearing more about how you > used GD. Do you have any examples? Did the rotation or > other modifications degrade the quality of the image? > Did you experience any barriers or any pitfalls I > should watch out for? > > --JOSHUA > > > --- Craig McLaughlin wrote: > > > > I've used GD to build charts of varying types and > > some text-based logos, > > along with the rotating and scaling functions you > > mention. > > > > Have you checked out the GD docs at search.cpan.org? > > Look under > > graphics; all the GD modules are listed there. > > > > If you don't find what you need, let me know, I'll > > try to help. > > > > Cheers, > > --Craig > > > > > > On Thu, 2003-08-28 at 09:41, Joshua Wait wrote: > > > > > > I'm looking to do some basic image manipulation > > for my > > > web site. Rotate, scale, etc. My ISP only supports > > GD, > > > I played around with it a bit, and it looks like > > GD > > > will do the job. > > > > > > While I've found tons of documentation on > > > Image::Magick, I've found scant documentation on > > GD > > > and not really any examples of "Oh, I used GD in > > this > > > creative manner to accomplish x, y, z!" > > > > > > Any thoughts? > > > > > > --JOSHUA > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! SiteBuilder - Free, easy-to-use web site > > design software > > > http://sitebuilder.yahoo.com > > > _______________________________________________ > > > Oakland mailing list > > > Oakland@mail.pm.org > > > http://mail.pm.org/mailman/listinfo/oakland > > > > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland > > From blyman at iii.com Fri Aug 29 15:51:55 2003 From: blyman at iii.com (Belden Lyman) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Has anyone used GD before? References: <20030828172033.84958.qmail@web10704.mail.yahoo.com> <1062180220.3039.81.camel@sith.bitbucket.com> Message-ID: <3F4FBCEB.10901@iii.com> Craig McLaughlin wrote: > > My initial driving reason to start using GD was, surprisingly enough, > font-related. I wanted a quick and easy way to see the same text > represented in a large (200+) number of TrueType fonts. As GD supports > TTF, it was pretty simple to get it to do the job. This sounds like a cool tool. Will you be able to share code when it's done? Belden From cpm at bitbucket.com Fri Aug 29 16:01:18 2003 From: cpm at bitbucket.com (Craig McLaughlin) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Has anyone used GD before? In-Reply-To: <3F4FBCEB.10901@iii.com> References: <20030828172033.84958.qmail@web10704.mail.yahoo.com> <1062180220.3039.81.camel@sith.bitbucket.com> <3F4FBCEB.10901@iii.com> Message-ID: <1062190875.22161.85.camel@sith.bitbucket.com> I'll dig it out this weekend and send it along. It's QND code (Quick N Dirty), but it works. :) --Craig On Fri, 2003-08-29 at 13:51, Belden Lyman wrote: > > > > Craig McLaughlin wrote: > > > > My initial driving reason to start using GD was, surprisingly enough, > > font-related. I wanted a quick and easy way to see the same text > > represented in a large (200+) number of TrueType fonts. As GD supports > > TTF, it was pretty simple to get it to do the job. > > This sounds like a cool tool. Will you be able to share code > when it's done? > > Belden > > > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland > > From joshnjillwait at yahoo.com Sun Aug 31 12:03:27 2003 From: joshnjillwait at yahoo.com (Joshua Wait) Date: Mon Aug 2 21:33:34 2004 Subject: [oak perl] Re: Oakland Digest, Vol 2, Issue 18 In-Reply-To: <200308301700.h7UH0Sx31940@mail.pm.org> Message-ID: <20030831170327.74385.qmail@web10704.mail.yahoo.com> Excellent. I'm looking forward to seeing the code/examples. I'm curious about the project where you had 200+ fonts. What did you use this project for? Were you creating a font book? Were you checking the appearance of fonts for a print publication or a web publication? Some of the math for rotation sounds painful. I might stick to the methods that rotate at set angles for the first go round. --JOSHUA --- oakland-request@mail.pm.org wrote: > Send Oakland mailing list submissions to > oakland@mail.pm.org > > To subscribe or unsubscribe via the World Wide Web, > visit > http://mail.pm.org/mailman/listinfo/oakland > or, via email, send a message with subject or body > 'help' to > oakland-request@mail.pm.org > > You can reach the person managing the list at > oakland-owner@mail.pm.org > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Oakland digest..." > > > Today's Topics: > > 1. Re: Has anyone used GD before? (Craig > McLaughlin) > 2. Re: Has anyone used GD before? (Belden Lyman) > 3. Re: Has anyone used GD before? (Craig > McLaughlin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: 29 Aug 2003 11:03:39 -0700 > From: Craig McLaughlin > Subject: Re: [oak perl] Has anyone used GD before? > To: joshnjillwait@yahoo.com > Cc: oakland@mail.pm.org > Message-ID: > <1062180220.3039.81.camel@sith.bitbucket.com> > Content-Type: text/plain > > > Sorry for the current delay after my initial prompt > response. :) > > I could dredge up some examples this weekend; the > use of GD is internal > to projects and not "standalone," but I could make > up some sample > scripts. > > My initial driving reason to start using GD was, > surprisingly enough, > font-related. I wanted a quick and easy way to see > the same text > represented in a large (200+) number of TrueType > fonts. As GD supports > TTF, it was pretty simple to get it to do the job. > > I haven't done a great deal of work where > photo-quality was an issue, > but I have seen GD used for such things (gallery > comes to mind), and > have never noticed quality degredation. YMMV, as > image quality is a > subjective thing, I find. :) > > The largest barrier / pitfall I had was in placement > and alignment of > objects (text, images, etc) within the image. For > text I was very happy > to find GD::Text::Align. But other items required > calculations of > radians, use of Pi, etc... quite a pain in the head. > > --Craig > > > > On Thu, 2003-08-28 at 10:20, Joshua Wait wrote: > > > > Thank you for your quick response. > > > > I did find that information. In many ways, it's > > adequate document for getting the methods I need > to do > > the work, but I was looking for more practical > > examples. > > > > I would be interested in hearing more about how > you > > used GD. Do you have any examples? Did the > rotation or > > other modifications degrade the quality of the > image? > > Did you experience any barriers or any pitfalls I > > should watch out for? > > > > --JOSHUA > > > > > > --- Craig McLaughlin wrote: > > > > > > I've used GD to build charts of varying types > and > > > some text-based logos, > > > along with the rotating and scaling functions > you > > > mention. > > > > > > Have you checked out the GD docs at > search.cpan.org? > > > Look under > > > graphics; all the GD modules are listed there. > > > > > > If you don't find what you need, let me know, > I'll > > > try to help. > > > > > > Cheers, > > > --Craig > > > > > > > > > On Thu, 2003-08-28 at 09:41, Joshua Wait wrote: > > > > > > > > I'm looking to do some basic image > manipulation > > > for my > > > > web site. Rotate, scale, etc. My ISP only > supports > > > GD, > > > > I played around with it a bit, and it looks > like > > > GD > > > > will do the job. > > > > > > > > While I've found tons of documentation on > > > > Image::Magick, I've found scant documentation > on > > > GD > > > > and not really any examples of "Oh, I used GD > in > > > this > > > > creative manner to accomplish x, y, z!" > > > > > > > > Any thoughts? > > > > > > > > --JOSHUA > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > Yahoo! SiteBuilder - Free, easy-to-use web > site > > > design software > > > > http://sitebuilder.yahoo.com > > > > > _______________________________________________ > > > > Oakland mailing list > > > > Oakland@mail.pm.org > > > > http://mail.pm.org/mailman/listinfo/oakland > > > > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > _______________________________________________ > > Oakland mailing list > > Oakland@mail.pm.org > > http://mail.pm.org/mailman/listinfo/oakland > > > > > > > > ------------------------------ > > Message: 2 > Date: Fri, 29 Aug 2003 13:51:55 -0700 > From: Belden Lyman > Subject: Re: [oak perl] Has anyone used GD before? > To: Oakland Perl Mongers > Message-ID: <3F4FBCEB.10901@iii.com> > Content-Type: text/plain; charset=us-ascii; > format=flowed > > > > Craig McLaughlin wrote: > > > > My initial driving reason to start using GD was, > surprisingly enough, > > font-related. I wanted a quick and easy way to > see the same text > > represented in a large (200+) number of TrueType > fonts. As GD supports > > TTF, it was pretty simple to get it to do the job. > > This sounds like a cool tool. Will you be able to > share === message truncated === __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com