YAC linking Problem
Fellow list members, I've got a linux linking problem, which has me stumped. Since I've been coding mostly in python, lately, my 'C' brain has atrophied... I've got a C (umm actually C++) program that won't link to some ATLAS libraries which I recently compiled. The program itself will compile, link and run if I link to the baseline (non-optimized) ATLAS libraries. I think it even gives the expected result, as an added bonus! However, if I use /usr/local/atlas/include/cblas.h instead of the system /usr/include/cblas.h in the code snippet below, extern C{ #include /usr/local/atlas/include/cblas.h } the build reports: $ ./build_cblas_test Building cblas1 /tmp/ccSMmtzW.o: In function `main': cbas_tb.cpp:(.text+0x899): undefined reference to `cblas_zgemm' collect2: ld returned 1 exit status Build complete My build file -- not a make file yet because it is just a one liner, is: g++ -O3 -m64 -I/usr/local/atlas/include -L/usr/local/atlas/lib -lcblas -lm -Wall -Wcast-qual -o cblas1 cblas_tb.cpp I've tried copying the include file and lib file and stuffing them in the same directory as the cpp file, but to no avail. (Yes I modified the command above.) Before anyone asks, yes, there are files at the locations. The new cblas.h file looks very close to the old, although I have not run a diff on them. ( cblas_zgemm is in the new header, I looked.) The library is static. Is there a tool to look inside an .a file? I figure the problem is probably an operator error, sigh, but I'm not sure what it is. If someone could point me in the right direction, I'd appreciate it. Assume nothing - it is probably basic. :( I can post the code if people think it would help. (Just didn't want to make this email any longer than necessary.) -Bruce ** Neither the footer nor anything else in this E-mail is intended to or constitutes an brelectronic signature and/or legally binding agreement in the absence of an brexpress statement or Autoliv policy and/or procedure to the contrary.brThis E-mail and any attachments hereto are Autoliv property and may contain legally brprivileged, confidential and/or proprietary information.brThe recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way brdisseminating any material contained within this E-mail without prior written brpermission from the author. If you receive this E-mail in error, please brimmediately notify the author and delete this E-mail. Autoliv disclaims all brresponsibility and liability for the consequences of any person who fails to brabide by the terms herein. br ** ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: YAC linking Problem
Try running your compile command with -v so it announces what it's doing and then use readelf grep to verify that the symbol in question is defined/resolved in the objects you expect. ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
[OT] programming jargon
OT but likely amusing to many on this channel: http://www.globalnerdy.com/2010/05/09/new-programming-jargon/ ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: YAC linking Problem
gnhlug-discuss-boun...@mail.gnhlug.org wrote on 05/10/2010 10:21:50 AM: Fellow list members, I've got a linux linking problem, which has me stumped. Since I've been coding mostly in python, lately, my 'C' brain has atrophied... I've got a C (umm actually C++) program that won't link to some ATLAS libraries which I recently compiled. The program itself will compile, link and run if I link to the baseline (non-optimized) ATLAS libraries. I think it even gives the expected result, as an added bonus! However, if I use /usr/local/atlas/include/cblas.h instead of the system /usr/include/cblas.h in the code snippet below, extern C{ #include /usr/local/atlas/include/cblas.h } the build reports: $ ./build_cblas_test Building cblas1 /tmp/ccSMmtzW.o: In function `main': cbas_tb.cpp:(.text+0x899): undefined reference to `cblas_zgemm' collect2: ld returned 1 exit status Build complete My build file -- not a make file yet because it is just a one liner, is: g++ -O3 -m64 -I/usr/local/atlas/include -L/usr/local/atlas/lib -lcblas -lm -Wall -Wcast-qual -o cblas1 cblas_tb.cpp I've tried copying the include file and lib file and stuffing them in the same directory as the cpp file, but to no avail. (Yes I modified the command above.) Before anyone asks, yes, there are files at the locations. The new cblas.h file looks very close to the old, although I have not run a diff on them. ( cblas_zgemm is in the new header, I looked.) The library is static. Is there a tool to look inside an .a file? I figure the problem is probably an operator error, sigh, but I'm not sure what it is. If someone could point me in the right direction, I'd appreciate it. Assume nothing - it is probably basic. :( I can post the code if people think it would help. (Just didn't want to make this email any longer than necessary.) For the sake of completeness: here is the source: // start of source file /* ** cblas_tb.cpp -- an initial stab at implementing a matrix matrix multiply using the blas library. This is a precursor file for LAPACK Origin Date:5 May 2010 */ #include stdio.h #include complex extern C{ #include /usr/local/atlas/include/cblas.h } using namespace std; using std::complex; typedef complexdouble dcomp; /* Define complex double data type */ int main(void) { int i, j, M, N; M = 5; N = 5; dcomp A[M][N]; // init A to eye(5), sort of... printf(Initial value of A\n); for(i=0; iM; i++) { for (j=0; jN; j++) { if (i==j) { A[i][j] = dcomp(1.0, 0.1); } else { A[i][j] = dcomp(0.0, 0.0); } printf(A[%i][%i]= %f, %f\n, i, j, real(A[i][j]), imag(A[i][j])); } } printf(\n); dcomp C[M][N]; double NN = 1.0/double(N); dcomp alpha = dcomp(NN, 0.0); dcomp beta = dcomp(0.0, 0.0); int m,k,n; // matrix dimensions, A = [m x k], B = [k x n] m = 5; k = 5; n =5; int ldA, ldB, ldC; ldA = 5; ldB = 5; ldC = 5; cblas_zgemm(CblasRowMajor, CblasNoTrans, CblasConjTrans, m, n, k, alpha, A, ldA, A, ldB, beta, C, ldC); printf(Computed value for C\n); for (i=0; i5; i++) { for (j=0; j5; j++) { printf(C[%i][%i]= %f, %f\n, i, j, real(C[i][j]), imag(C[i][j])); } } return 0; } // end of source file Adding a -v to the compile reveals: $ ./buildcblas_test Building cblas1 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) COLLECT_GCC_OPTIONS='-O3' '-m64' '-v' '-I/usr/local/atlas/include' '-L/usr/local/atlas/lib/' '-Wall' '-Wcast-qual' '-o' 'cblas1' '-shared-libgcc' '-mtune=generic' /usr/lib/gcc/x86_64-linux-gnu/4.4.3/cc1plus -quiet -v -I/usr/local/atlas/include -D_GNU_SOURCE cblas_tb.cpp -D_FORTIFY_SOURCE=2 -quiet -dumpbase cblas_tb.cpp -m64 -mtune=generic -auxbase cblas_tb -O3 -Wall -Wcast-qual -version -fstack-protector -o /tmp/ccMNCUj8.s GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (x86_64-linux-gnu) compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1. GGC heuristics: --param ggc-min-expand=100
Re: YAC linking Problem [SOLVED]
gnhlug-discuss-boun...@mail.gnhlug.org wrote on 05/10/2010 11:15:28 AM: gnhlug-discuss-boun...@mail.gnhlug.org wrote on 05/10/2010 10:21:50 AM: Fellow list members, I've got a linux linking problem, which has me stumped. Since I've been coding mostly in python, lately, my 'C' brain has atrophied... I've got a C (umm actually C++) program that won't link to some ATLAS libraries which I recently compiled. The program itself will compile, link and run if I link to the baseline (non-optimized) ATLAS libraries. I think it even gives the expected result, as an added bonus! However, if I use /usr/local/atlas/include/cblas.h instead of the system /usr/include/cblas.h in the code snippet below, extern C{ #include /usr/local/atlas/include/cblas.h } the build reports: $ ./build_cblas_test Building cblas1 /tmp/ccSMmtzW.o: In function `main': cbas_tb.cpp:(.text+0x899): undefined reference to `cblas_zgemm' collect2: ld returned 1 exit status Build complete My build file -- not a make file yet because it is just a one liner, is: g++ -O3 -m64 -I/usr/local/atlas/include -L/usr/local/atlas/lib -lcblas -lm -Wall -Wcast-qual -o cblas1 cblas_tb.cpp [SOLVED] g++ -O3 -m64 -I/usr/local/atlas/include -lm -Wall -Wcast-qual -o cblas1 cblas_tb.cpp /usr/local/atlas/libcblas.a /usr/local/atlas/libatlas.a Many thanks to the anonymous list member who pointed me in the right direction! Who knew C was such an ugly language? Discuss :P -Bruce ** Neither the footer nor anything else in this E-mail is intended to or constitutes an brelectronic signature and/or legally binding agreement in the absence of an brexpress statement or Autoliv policy and/or procedure to the contrary.brThis E-mail and any attachments hereto are Autoliv property and may contain legally brprivileged, confidential and/or proprietary information.brThe recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way brdisseminating any material contained within this E-mail without prior written brpermission from the author. If you receive this E-mail in error, please brimmediately notify the author and delete this E-mail. Autoliv disclaims all brresponsibility and liability for the consequences of any person who fails to brabide by the terms herein. br ** ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Wanted - SATA/PATA/USB2 SSD with bad sectors for bcache testing (and offer of bcache presentation)
Good afternoon, all, Seriously? He wants _bad_ sectors? I hear them say. :-) I'm working on a linux kernel project that uses SSD's to cache normal rotating media hard drives. bcache is in early development and not stable for general use, but the performance numbers are enticing: * md5sum of small files: 3.5MB/sec off hard drive, 14.5MB/sec off SSD cache. * directory listing of large fragmented tree: 390 seconds off hard drive, 202 seconds off SSD cache. * md5sum of 1.995GB file with 23,522 extents: 251 seconds from HD (7.948MB/sec), 82 seconds from SSD cache (24.329MB/sec). On a side note, I'd be happy to give a talk with a live demo on bcache to any gnhlug chapter; get in touch if you have an open month. As part of the testing, I want to make sure that the code is resilient enough to recognize bad sectors on the SSD cache and not panic/bug/die. That requires an SSD with bad sectors. Size and speed are not critical. I have the ability to connect to sata, pata, and usb. Anyone have one? Before I get inundated with offers, I already have a hard drive with underlying bad sectors for that part of the testing. Come to think of it, I probably have 15 to 20 hard drives with issues. :-) Cheers, - Bill --- Power concedes nothing without a demand. It never did, and it never will. Find out just what people will submit to, and you have found out the exact amount of injustice and wrong which will be imposed upon them; and these will continue until they are resisted with either words or blows, or with both. The limits of tyrants are prescribed by the endurance of those whom they oppress. -- Frederick Douglass, August 4, 1857 (Courtesy of Eric S. Raymond) -- William Stearns (wstea...@pobox.com, tools and papers: www.stearns.org) Top-notch computer security training at www.sans.org , www.giac.net -- ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
network monitoring of firewalled/NAT'd systems
We want to monitor (from a central server at HQ) the health and performance status of multiple machines [mostly Windows -( ] at each of multiple customer sites despite them being NAT'd/firewalled. We assume all the remote systems will be able to initiate outbound connections through whatever protective layers are between them and the Internet, so we'll want to rig those remote systems with agents such that they each periodically phone home to report status to HQ's central server [ probably Linux ;- ] as we'll generally not be able initiate such contact in the other direction. So we're evaluating network monitoring packages and, at least for now, I've arbitrarily limited our choices to those mentioned in this table: http://en.wikipedia.org/wiki/Comparison_of_network_monitoring_systems ...since this much larger list: http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html ...makes my brain hurt. I'd be interested in hearing recommendations (pro or con) about those or other network monitoring packages with an emphasis on our situation, ie. gathering info from multiple remote systems that aren't directly IP addressable from HQ. Research so far indicates Zabbix, Pandora and OpenNMS are good candidates so I'd be particularly interested in comments about them. Most such packages have most of their features in common with many of the others, but FWIW some of our criteria are: - Configuring/extending the behaviors of agents and server is assisted via abstractions like groups and templates, where possible/appropriate. - When scripting is necessary, commonly used languages are supported (eg. Perl/Python/etc preferred over Rexx/Tcl/etc). - Pretty charts/graphs/reports to impress management. Bonus: trending/prediction. - Windows agent cooperates with WMI and such; Windows log files can be scraped relayed. - Other entities at HQ (eg. trouble calls to Customer Service) can feed into server's notion of a system's status. - Events of interest trigger arbitrarily scriptable responses. - WWW based access to central server. Bonus: access control on a per-user basis. ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: LUG meetings and topics
On 05/07/2010 05:03 PM, Benjamin Scott wrote: I'm told that in some other LUGs, it's the norm to just gather to help each other and network (people networking, not computer networking). Check out the DLSLUG-announce archives. Last few months: November: Keysigning Party (I did the prezo, coordinated) December: Doug McIlroy talk (Doug volunteered) January: Social Meeting @ Salt Hill (I made reservations) February: Unmeeting (by suggestion, totally free-form) March: Awesome (James Murdza whipped up a demo) April: OpenHatch (Parker Phinney reported on his internship) May: Movie Night (Kurth Bemis sent me a hey, this would be good, Arc Riley sent playback advice) Only one of those required serious planning on my part. Usually, if there's not a speaker, we'll do a Nifties!, which is audience participation night. 5-10 minute mini-demos from the crowd. Somebody set up a machine on the projector. Just marginally more structured than an unmeeting, but often with delightful results. The important thing is consistency. People drop in without checking the -announce list, if they know they can count on it. The few times I've done a hard-cancel I've always received negative feedback. This aspect holds true for any community with regular meetings, nothing LUG-specific. At the last meeting I had a member show up for dinner but not be able to find the meeting afterwards because we got assigned a different room - the beer notwithstanding, he hadn't bothered to look at the announcement 'cause he didn't feel the need to. If we listened to maddog's advice (the allegory of the Scoutmaster in the rocking chair) we'd delegate the speaker, facility, communications, etc. tasks effectively and make that nobody-has-any-time problem into an everybody-has-five-minutes problem. -Bill -- Bill McGonigle, Owner BFC Computing, LLC http://bfccomputing.com/ Telephone: +1.603.448.4440 Email, IM, VOIP: b...@bfccomputing.com VCard: http://bfccomputing.com/vcard/bill.vcf Social networks: bill_mcgonigle/bill.mcgonigle ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: LUG meetings and topics
On Mon, May 10, 2010 at 2:53 PM, Bill McGonigle b...@bfccomputing.com wrote: The important thing is consistency. This is very true. If we listened to maddog's advice (the allegory of the Scoutmaster in the rocking chair) we'd delegate the speaker, facility, communications, etc. tasks effectively and make that nobody-has-any-time problem into an everybody-has-five-minutes problem. Tsk. Brook's Law applies. Facilities and publication turns out to be relatively easy. Finding speakers is apparently the really hard job. -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
[OT] Small business/SOHO accounting
This isn't really Linux-related, but I think there are a number of people on this list likely to have good answers. So: Anyone care to give recommendations in the small business/SOHO accounting product space? QuickBooks is very common, but also rather expensive, and in the past I've had horrible experiences with Intuit customer service, and we all know that most common does not mean best. For this user, traditional software and web services are both acceptable. They've got just one computer, running MS Windows Vista, so it has to work on that. If it works with Linux too, great (seriously), but it has to work for 'doze, too. I Googled quickbooks alternatives and found a bunch of hits, but this is one of those areas where practical experience is invaluable, so I thought I'd see if anyone here has anything they'd want to share. Recommendations on what to avoid would also be useful. advTHANKSance -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On 05/10/2010 03:06 PM, Benjamin Scott wrote: For this user, traditional software and web services are both acceptable. maybe QuickBooks online then? They've got just one computer, running MS Windows Vista, so it has to work on that. If it works with Linux too, great (seriously), but it has to work for 'doze, too. Postbooks has a Windows GUI and runs on PostgreSQL. I've only run the database on Linux but it doesn't require any backend scripts or anything that should preclude the correct version from working on Windows. -Bill -- Bill McGonigle, Owner BFC Computing, LLC http://bfccomputing.com/ Telephone: +1.603.448.4440 Email, IM, VOIP: b...@bfccomputing.com VCard: http://bfccomputing.com/vcard/bill.vcf Social networks: bill_mcgonigle/bill.mcgonigle ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On Mon, May 10, 2010 at 3:17 PM, Bill McGonigle b...@bfccomputing.comwrote: On 05/10/2010 03:06 PM, Benjamin Scott wrote: For this user, traditional software and web services are both acceptable. maybe QuickBooks online then? I've had great experience with QBOE except for the pricing and the Windows only support. They support Firefox now, but still only on Windows. But that doesn't bother you and even the price isn't really terrible at a couple of hundred a year for 2 or 3 users, plus an accountant. It is not enough to motivate me to migrate to some thing else yet. Intuit in general does have sucky support, IMHO, but the QBOE support is fantastic. I have had several interactions with them. They were always on the ball and make an effort to get in touch with you within a hour of your request. Follow up and response time is quick and they are quick to pick up the phone, which you can ignore if you would prefer to proceed by text. They have helped me track down very obsure problems even with the merchant account. Plus the context sensative on-line has basically taught me accounting and bookkeeping: very well written. No ESL or accent problems so far. ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On Mon, May 10, 2010 at 3:17 PM, Bill McGonigle b...@bfccomputing.com wrote: maybe QuickBooks online then? It's an option, but I don't expect it to solve the expensive or Intuit sucks problems. :-) Postbooks has a Windows GUI and runs on PostgreSQL. I've only run the database on Linux ... How do you find Postbooks? -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
Benjamin Scott wrote: This isn't really Linux-related, but I think there are a number of people on this list likely to have good answers. So: Anyone care to give recommendations in the small business/SOHO accounting product space? I've used Open Systems some years ago. It worked well. Their OSAS product cross-platform, including Linux Windows. http://www.osas.com/ ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On Mon, May 10, 2010 at 03:06:40PM -0400, Benjamin Scott wrote: Anyone care to give recommendations in the small business/SOHO accounting product space? Gnucash is a reasonable double-entry accounting package. It'll do the basics to help you manage your finances, file taxes, etc. I haven't used it regularly in a few years, but I read the release notes when they put out a new version, and it seems like the developers have gotten into a nice rhythm of regular releases with bug fixes and a manageable amount of new features. The project had stagnated for a few years where they ended up in a death march to 2.0 after rewriting big chunks of the core, scaring off the casual developers, losing users because they hadn't put out a release in 3 years, etc. They seem to have gotten over the hump and are back on track. -ben -- if stupidity got us into this mess; then why cant it get us out? will rogers ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
[OL] Re: Wanted - SATA/PATA/USB2 SSD with bad sectors for bcache testing (and offer of bcache presentation)
I don't think any of ours are bad, but I've got piles of 512GB SSDs at the moment, and I'm about to order more, so if you would like to do some benchmarking with lots of parallel SSDs, we might be able to help. I don't know if I can let them out of the building since they are supposed to go into production eventually, but we have plenty of bench space and hardware at the moment, so if you want to come here and play some day, just let me know. I am very interested in this project because we are currently paying Bill M. some real money just to TRY and setup my ultimate cloud storage solution use layers of Nexenta virtual machines to get ZFS introduced into our Ubuntu friendly environment. I am wondering if we could tackle this more simply with bcache as part of the picture. I also wonder how bcache would work with FusionIO in the mix. We are about to order a couple more of those, so we should have a window where we can play with them before they go into production. Maybe you Bills and I should get together for lunch to see if there is some way we can help eachother out. Let me know. ___ Alan Johnson a...@datdec.com On Mon, May 10, 2010 at 1:46 PM, William Stearns wstea...@pobox.com wrote: Good afternoon, all, Seriously? He wants _bad_ sectors? I hear them say. :-) I'm working on a linux kernel project that uses SSD's to cache normal rotating media hard drives. bcache is in early development and not stable for general use, but the performance numbers are enticing: * md5sum of small files: 3.5MB/sec off hard drive, 14.5MB/sec off SSD cache. * directory listing of large fragmented tree: 390 seconds off hard drive, 202 seconds off SSD cache. * md5sum of 1.995GB file with 23,522 extents: 251 seconds from HD (7.948MB/sec), 82 seconds from SSD cache (24.329MB/sec). On a side note, I'd be happy to give a talk with a live demo on bcache to any gnhlug chapter; get in touch if you have an open month. As part of the testing, I want to make sure that the code is resilient enough to recognize bad sectors on the SSD cache and not panic/bug/die. That requires an SSD with bad sectors. Size and speed are not critical. I have the ability to connect to sata, pata, and usb. Anyone have one? Before I get inundated with offers, I already have a hard drive with underlying bad sectors for that part of the testing. Come to think of it, I probably have 15 to 20 hard drives with issues. :-) Cheers, - Bill --- Power concedes nothing without a demand. It never did, and it never will. Find out just what people will submit to, and you have found out the exact amount of injustice and wrong which will be imposed upon them; and these will continue until they are resisted with either words or blows, or with both. The limits of tyrants are prescribed by the endurance of those whom they oppress. -- Frederick Douglass, August 4, 1857 (Courtesy of Eric S. Raymond) -- William Stearns (wstea...@pobox.com, tools and papers: www.stearns.org) Top-notch computer security training at www.sans.org , www.giac.net -- ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/ ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On Mon, May 10, 2010 at 4:15 PM, Ben Eisenbraun b...@klatsch.org wrote: Gnucash is a reasonable double-entry accounting package. I didn't state requirements. My bad. They need basic accounting (AP, AR, GL), with the ability to generate/print/track invoices and purchase orders. They also need very basic inventory -- track part number, quantity on-hand, value each, with periodic reconcile with physical inventory. I was under the impression that GnuCash isn't really geared for that. I would be pleased to be told I'm wrong. :) -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On Mon, May 10, 2010 at 4:36 PM, Ted Roche tedro...@gmail.com wrote: How do you find Postbooks? http://lmgtfy.com/?q=Postbooksl=1 I meant: How does Bill find Postbooks to work? What's good, what's bad? I didn't mean, Where is it?. :-) -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: [OT] Small business/SOHO accounting
On Mon, 2010-05-10 at 16:28 -0400, Benjamin Scott wrote: On Mon, May 10, 2010 at 4:15 PM, Ben Eisenbraun b...@klatsch.org wrote: Gnucash is a reasonable double-entry accounting package. I didn't state requirements. My bad. They need basic accounting (AP, AR, GL), with the ability to generate/print/track invoices and purchase orders. They also need very basic inventory -- track part number, quantity on-hand, value each, with periodic reconcile with physical inventory. I was under the impression that GnuCash isn't really geared for that. Gnucash does have AP, AR, GL support that is adequate for a small business. I like the interface; it is easy to track your accounts. Sadly there is no inventory module. Gnucash has a business module for handling customers, vendors, invoices, and bills. I think it is a nice fit for a small service operation where accounting is just another one of my hats. I have a WinXP virtual box to run Intuit's online payroll service. They required IE on Windows. I am paying $10/month. There was a promotion where the first few (6?) months were free. All of the required forms are automated as well as federal payments. The SUTA-NH checks are written by hand and I simply print the filled-in form. I suspect that Intuit is trying to collect a day's interest on the float when making payments for me. On the other hand, I like the convenience and my checking account pays zilch anyway. I would be pleased to be told I'm wrong. :) -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/ -- Lloyd Kvam Venix Corp DLSLUG/GNHLUG library http://dlslug.org/library.html http://www.librarything.com/catalog/dlslug http://www.librarything.com/rsshtml/recent/dlslug http://www.librarything.com/rss/recent/dlslug ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Notes for SLUG 10 May 2010 - Testing web apps
Seven people attended the SLUG[1] meeting on Mon 10 May 2010, titled Simulating web users.[2] Rob showed us some of the stuff he'd been working on to automate testing of a web application. It raises an interesting point -- when your application is a web site, automated testing is a bit more complicated than a shell script wrapped around your program. You have to be a web browser! [1] http://wiki.gnhlug.org/twiki2/bin/view/Www/SLUG [2] http://slug.gnhlug.org/Members/rea/SLUG/slug-meetings/simulating-web-users Rob briefly demonstrated Selenium[3]. From a distance, it's kind of like expect[4] for a web browser. Selenium has several parts. Selenium IDE is a GUI thing that hooks into Firefox and records actions you take as you browse. You can then review and modify the recorded actions. It has several output formats, most of which a programming languages (Java, Python, Ruby, others). The code it generates consists of calls to the Selenium API, in the language of your choice. You can then run that code as a unit test. The API calls talk to Selenium RC (Remote Control). RC is daemon (Java-based) which plays back the actions you recorded with IDE. It starts up the browser you ask for (Firefox, Safari, MSIE) and does what the API calls say to do. The browser runs hidden. It channels the browser through an HTTP proxy it provides, so that it can inject JavaScript code to do the playback. There's also Selenium Grid, which lets you run many RCs. [3] http://seleniumhq.org/ [4] http://expect.nist.gov/ Rob then moved on to his home-grown solution. He needed to get creative because they didn't really have test cases for what they wanted to test (load testing with real world usage). But he did have a bunch of Apache logs. The web app is basically read only (it's kind of like a special-purpose Google Maps), so he figured he could use the Apache web logs to replay what real users have done. And replay a bunch of them at once to simulate lots of users. So he whipped up some Python code. First he had to read the Apache logs. For that, he found an existing log parser in apachelog[5]. It parses each line into a dictionary, where the dictionary keys are the Apache log field symbols (%t for time, %h for client host IP address, etc.). Rob wasn't familiar with those, so he wrapped it in a Python class with get methods. Then Rob moved on to simulating a web user. This turned out to be trickier than it would seem. For one, Apache only writes the log entry when the request is finished, so the log order is not necessarily the order the user did things in. For another, modern web browsers makes multiple requests simultaneously. So Rob had to dive into multi-threaded programming in Python. That proved an adventure in itself. Unfortunately, my understanding of Python is very limited, so most of this part was over my head. It seemed interesting though! [5] http://code.google.com/p/apachelog/ Thanks to Rob for once again coming up with an interesting off the cuff presentation. See you next month! -- Ben ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/