Re: [vox-tech] windows-linux connection
On Tuesday, November 29, 2011, Alex Mandel wrote: On 11/29/2011 03:18 PM, Dylan Beaudette wrote: Hi, I have a windoze computer and linux box sitting next to each other on my desk. One is a government computer, locked-down and on a secured network, the other on a DSL connection to the internet. I can get the windows computer to talk to the linux box over the internet, but it is far too slow for most things. The windows computer does have a wireless card, that can connect to any access point. I can live with semi-slow SSH access, however, I have large files to move around. Are there any ways to connect these machines via USB for file-transfers? Any other ideas? Thanks! Dylan What about a read/write samba share on the Linux box. If they are both on the same access point the windows box would probably be able to see it, you can even fake add the Linux box to the same domain and use the same user in the samba config. Otherwise if the data isn't super sensitive - dropbox? webdav running on the linux box? and last filezilla running on an usb stick on the windows machine (if you can't install it). Enjoy, Alex Yeah... the problem is that they are not on the same network, and can't really be on the same network per policy... unless I can get them both on a third, ad-hoc wireless network. Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Said pc-dl dual xeon
Plugged in a usb device, machine froze, and now will not POST ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Hardware crash
Hi, Accidentally sent part of this message too soon. I have been using an ASUS PC-DL Delux dual Xeon based machine since about 2005. Overall it has been a very decent machine. However, this morning I plugged in a usb device, the machine froze, and now will not POST. I have tried disconnecting everything inside of the machine, but it will not sound the POST beep, and no video appears on the monitor. I have tried pulling the CMOS battery and resetting the BIOS via jumper... but nothing. I have had problems with the USB ports on this machine in the past, however it would always recover after a reboot. Any ideas? Or is it time for a new motherboard + CPUs ? Thanks in advance, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Hardware crash
Thanks Jeff, That was my first thought... but I had just replaced the power supply a couple of months ago. When trying to resurrect the dead machine, I unplugged everything attached to the power supply except the mother board. Dylan On Sat, Feb 26, 2011 at 4:31 PM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: Before you write off the mobo, I would check the power supply. Of course, ps failures sometimes take out the mobo along their way out, but not always. --- Jeff Newmiller The . . Go Live... DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --- Sent from my phone. Please excuse my brevity. Dylan Beaudette dylan.beaude...@gmail.com wrote: Hi, Accidentally sent part of this message too soon. I have been using an ASUS PC-DL Delux dual Xeon based machine since about 2005. Overall it has been a very decent machine. However, this morning I plugged in a usb device, the machine froze, and now will not POST. I have tried disconnecting everything inside of the machine, but it will not sound the POST beep, and no video appears on the monitor. I have tried pulling the CMOS battery and resetting the BIOS via jumper... but nothing. I have had problems with the USB ports on this machine in the past, however it would always recover after a reboot. Any ideas? Or is it time for a new motherboard + CPUs ? Thanks in advance, Dylan vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Hardware crash
Thanks Bill, Yes-- I made sure to unplug *everything*. Hell, I even removed the video card, RAM (2 x 2 DIMMs), and USB cords plugged into the headers on the motherboard. Dylan On Sat, Feb 26, 2011 at 4:50 PM, Bill Broadley b...@broadley.org wrote: On 02/26/2011 04:31 PM, Jeff Newmiller wrote: Before you write off the mobo, I would check the power supply. Of course, ps failures sometimes take out the mobo along their way out, but not always. Agreed. When you tried disconnecting everything inside don't forget the outside as well. In particular I've seen USB devices keep machines from booting. I had a desktop of similar vintage that wouldn't boot if I left my mp3 player plugged in. ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Fwd: strange error loading google earth
[snip] Thanks. I wonder if the problem I am having may have something to do with this other error I just noticed: kate: symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv ??? Dylan Even stranger, I am seeing all kinds of unresolved symbol errors- mostly with Qt and KDE libraries: kmail: symbol lookup error: /usr/lib/libQtScript.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv checking for all un-defined symbols: ldd -r /usr/lib/libQt*.so.* 21 | grep undefined | tr -d '()' | awk '{print $4}' | sort -n | uniq /usr/lib/libQt3Support.so.4 /usr/lib/libQt3Support.so.4.6 /usr/lib/libQt3Support.so.4.6.3 /usr/lib/libQtCLucene.so.4 /usr/lib/libQtCLucene.so.4.6 /usr/lib/libQtCLucene.so.4.6.3 /usr/lib/libQtDBus.so.4 /usr/lib/libQtDBus.so.4.6 /usr/lib/libQtDBus.so.4.6.3 /usr/lib/libQtDesignerComponents.so.4 /usr/lib/libQtDesignerComponents.so.4.6 /usr/lib/libQtDesignerComponents.so.4.6.3 /usr/lib/libQtDesigner.so.4 /usr/lib/libQtDesigner.so.4.6 /usr/lib/libQtDesigner.so.4.6.3 /usr/lib/libQtGui.so.4 /usr/lib/libQtGui.so.4.6 /usr/lib/libQtGui.so.4.6.3 /usr/lib/libQtHelp.so.4 /usr/lib/libQtHelp.so.4.6 /usr/lib/libQtHelp.so.4.6.3 /usr/lib/libQtNetwork.so.4 /usr/lib/libQtNetwork.so.4.6 /usr/lib/libQtNetwork.so.4.6.3 /usr/lib/libQtOpenGL.so.4 /usr/lib/libQtOpenGL.so.4.6 /usr/lib/libQtOpenGL.so.4.6.3 /usr/lib/libQtScript.so.4 /usr/lib/libQtScript.so.4.6 /usr/lib/libQtScript.so.4.6.3 /usr/lib/libQtScriptTools.so.4 /usr/lib/libQtScriptTools.so.4.6 /usr/lib/libQtScriptTools.so.4.6.3 /usr/lib/libQtSql.so.4 /usr/lib/libQtSql.so.4.6 /usr/lib/libQtSql.so.4.6.3 /usr/lib/libQtSvg.so.4 /usr/lib/libQtSvg.so.4.6 /usr/lib/libQtSvg.so.4.6.3 /usr/lib/libQtTest.so.4 /usr/lib/libQtTest.so.4.6 /usr/lib/libQtTest.so.4.6.3 /usr/lib/libQtWebKit.so.4 /usr/lib/libQtWebKit.so.4.6 /usr/lib/libQtWebKit.so.4.6.3 /usr/lib/libQtXmlPatterns.so.4 /usr/lib/libQtXmlPatterns.so.4.6 /usr/lib/libQtXmlPatterns.so.4.6.3 /usr/lib/libQtXml.so.4 /usr/lib/libQtXml.so.4.6 /usr/lib/libQtXml.so.4.6.3 which is a lot of stuff ! What could be causing this? Cheers, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Fwd: strange error loading google earth [solved]
wow. what a mess. It looks like anything that was linking with Qt was being mis-directed to google earth's local copy: ldd -r /usr/lib/libQtGui.so.4 linux-gate.so.1 = (0xb786c000) libQtCore.so.4 = /usr/local/google-earth/libQtCore.so.4 (0xb6b2e000) [...] and thus symbols were getting mangled. I'll back-off on google earth for a while, and make sure everything else is working. Dylan On Tue, Nov 9, 2010 at 2:35 PM, Dylan Beaudette dylan.beaude...@gmail.com wrote: [snip] Thanks. I wonder if the problem I am having may have something to do with this other error I just noticed: kate: symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv ??? Dylan Even stranger, I am seeing all kinds of unresolved symbol errors- mostly with Qt and KDE libraries: kmail: symbol lookup error: /usr/lib/libQtScript.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv checking for all un-defined symbols: ldd -r /usr/lib/libQt*.so.* 21 | grep undefined | tr -d '()' | awk '{print $4}' | sort -n | uniq /usr/lib/libQt3Support.so.4 /usr/lib/libQt3Support.so.4.6 /usr/lib/libQt3Support.so.4.6.3 /usr/lib/libQtCLucene.so.4 /usr/lib/libQtCLucene.so.4.6 /usr/lib/libQtCLucene.so.4.6.3 /usr/lib/libQtDBus.so.4 /usr/lib/libQtDBus.so.4.6 /usr/lib/libQtDBus.so.4.6.3 /usr/lib/libQtDesignerComponents.so.4 /usr/lib/libQtDesignerComponents.so.4.6 /usr/lib/libQtDesignerComponents.so.4.6.3 /usr/lib/libQtDesigner.so.4 /usr/lib/libQtDesigner.so.4.6 /usr/lib/libQtDesigner.so.4.6.3 /usr/lib/libQtGui.so.4 /usr/lib/libQtGui.so.4.6 /usr/lib/libQtGui.so.4.6.3 /usr/lib/libQtHelp.so.4 /usr/lib/libQtHelp.so.4.6 /usr/lib/libQtHelp.so.4.6.3 /usr/lib/libQtNetwork.so.4 /usr/lib/libQtNetwork.so.4.6 /usr/lib/libQtNetwork.so.4.6.3 /usr/lib/libQtOpenGL.so.4 /usr/lib/libQtOpenGL.so.4.6 /usr/lib/libQtOpenGL.so.4.6.3 /usr/lib/libQtScript.so.4 /usr/lib/libQtScript.so.4.6 /usr/lib/libQtScript.so.4.6.3 /usr/lib/libQtScriptTools.so.4 /usr/lib/libQtScriptTools.so.4.6 /usr/lib/libQtScriptTools.so.4.6.3 /usr/lib/libQtSql.so.4 /usr/lib/libQtSql.so.4.6 /usr/lib/libQtSql.so.4.6.3 /usr/lib/libQtSvg.so.4 /usr/lib/libQtSvg.so.4.6 /usr/lib/libQtSvg.so.4.6.3 /usr/lib/libQtTest.so.4 /usr/lib/libQtTest.so.4.6 /usr/lib/libQtTest.so.4.6.3 /usr/lib/libQtWebKit.so.4 /usr/lib/libQtWebKit.so.4.6 /usr/lib/libQtWebKit.so.4.6.3 /usr/lib/libQtXmlPatterns.so.4 /usr/lib/libQtXmlPatterns.so.4.6 /usr/lib/libQtXmlPatterns.so.4.6.3 /usr/lib/libQtXml.so.4 /usr/lib/libQtXml.so.4.6 /usr/lib/libQtXml.so.4.6.3 which is a lot of stuff ! What could be causing this? Cheers, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] complex XML to CSV via XSLT
Hi, I have an XML file generated via PHP, and containing the contents of several linked tables from a relational database. I would like to generalize some sample XSLT documents to convert the entire file into a sequence of CSV files. The XML file will essentially be exploded back into a set of CSV files, one for each of the original tables. The idea would be to create a couple XSLT files for converting the XML format into several possible output formats. Attached is the XML file, as well as two XSLT files. I suppose that I could loop over the tables of interest, and apply separate XSLT files to the original XML-- saving to different output files each time. It would be more convenient to have all of that logic embedded in the XSLT file-- if possible. Any ideas? Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ?xml version=1.0? pedon_collection pedon description creation_date2008-08-02 22:13:15/creation_date modification_date2009-08-17 12:30:17/modification_date pedon_idS08CALATIGO-001/pedon_id transect_bearing/transect_bearing transect_stop/transect_stop transect_interval/transect_interval date2008-05-30/date time10:00:00/time describersDB,ATO/describers air_temp_c23/air_temp_c soil_temp_c/soil_temp_c soil_temp_depth/soil_temp_depth topo_quad/topo_quad landscapeFH/landscape landformHI/landform microreliefML/microrelief field_elevation/field_elevation field_aspect200/field_aspect field_slope_pct/field_slope_pct slope_complexityS/slope_complexity slope_shape_down/slope_shape_down slope_shape_across/slope_shape_across hill_profile_positionBS/hill_profile_position geomorphic_componentSS/geomorphic_component type/type drainageMW/drainage floodingNO/flooding pondingNO/ponding soil_moisture_statusM/soil_moisture_status permeability/permeability land_coverSNS/land_cover parent_materialSAL/SAP/parent_material bedrock_kindGRE/bedrock_kind bedrock_fracture_class5/bedrock_fracture_class bedrock_depth60/bedrock_depth lithostratic_unitsCalaveras Formation/lithostratic_units erosion_kind/erosion_kind erosion_degree/erosion_degree surface_frags_gr/surface_frags_gr surface_frags_cb/surface_frags_cb surface_frags_st/surface_frags_st surface_frags_bd/surface_frags_bd surface_frags_cn/surface_frags_cn surface_frags_fl/surface_frags_fl pcs_dep_top12/pcs_dep_top pcs_dep_bottom60/pcs_dep_bottom field_classificationFine, mixed, semiactive, thermic, Mollic Haploxeralf/field_classification project_id1/project_id /description pedon_spatial pedon_idS08CALATIGO-001/pedon_id x-120.68351190131/x y38.0963938542273/y precision_meters1/precision_meters /pedon_spatial diagnostic diagnostic_record pedon_idS08CALATIGO-001/pedon_id diagnostic_index0/diagnostic_index kindOchric/kind top0/top bottom12/bottom /diagnostic_record diagnostic_record pedon_idS08CALATIGO-001/pedon_id diagnostic_index1/diagnostic_index kindArgillic/kind top12/top bottom60/bottom /diagnostic_record diagnostic_record pedon_idS08CALATIGO-001/pedon_id diagnostic_index2/diagnostic_index kindParalithic/kind top60/top bottom/bottom /diagnostic_record /diagnostic vegetation vegetation_record pedon_idS08CALATIGO-001/pedon_id veg_index1/veg_index common_nameblue oak/common_name pct_cover20/pct_cover usda_codeQUDO/usda_code /vegetation_record vegetation_record pedon_idS08CALATIGO-001/pedon_id veg_index2/veg_index common_namelive oak/common_name pct_cover20/pct_cover usda_codeQUAG/usda_code /vegetation_record vegetation_record pedon_idS08CALATIGO-001/pedon_id veg_index3/veg_index common_nameann. grasses/common_name pct_cover20/pct_cover usda_code/usda_code /vegetation_record /vegetation notes notes_record pedon_idS08CALATIGO-001/pedon_id note_index1/note_index notepasture #2 at Latigo/note /notes_record notes_record pedon_idS08CALATIGO-001/pedon_id note_index2/note_index notenearby outcropping of greenstone/note /notes_record notes_record pedon_idS08CALATIGO-001/pedon_id note_index3/note_index noteunder oak canopy/note /notes_record notes_record pedon_idS08CALATIGO-001/pedon_id note_index4/note_index notemetasediment outcroppings at summit/note /notes_record /notes memo
[vox-tech] mysterious powersupply failures
Hi, We have a dual-processor opteron machine that has now gone through 2 antec 500W powersupplies. This machine is attached to a UPS, and is on most of the time. Each powersupply has lasted about 1.5 years, and has died abruptly. Any ideas on what could be causing this? Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Mysterious error with android SDK -- probably a java problem
Hi, Just installed the android SDK on a debian/unstable machine. When I attempt to install new components I get this error: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: java.lang.RuntimeException: error instantiating default socket factory: java.security.KeyManagementException: java.security.KeyStoreException: java.io.FileNotFoundException: /usr/lib/jvm/java-1.5.0-gcj-4.4/jre/lib/security/cacerts (No such file or directory) Could I be missing some critical java component? Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] OS killing jobs that are CPU/memory intensive
Hi, Anyone know why Ubuntu is killing jobs that peg the CPU for 10 minutes, or use a large fraction of the memory? Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Mysterious Errors on Debian/Unstable
Thanks for the ideas. Fortunately It was something much more benign: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551885 All fixed now! Dylan On Mon, Nov 16, 2009 at 6:47 PM, Bill Broadley b...@broadley.org wrote: Dylan Beaudette wrote: U just noticed that some cron events were not firing, and the following errors in dmesg: [6514433.261103] cron[9252]: segfault at 6fab8db0 ip b7f16012 sp bfc305e3 error 4 in ld-2.9.so (deleted)[b7f16000+1c000] [6514433.263982] cron[9253]: segfault at 6fab8db0 ip b7f16012 sp bfc305e3 error 4 in ld-2.9.so (deleted)[b7f16000+1c000] [6514990.285433] cron[9385]: segfault at 6fab8db0 ip b7f16012 sp bfc305e3 error 4 in ld-2.9.so (deleted)[b7f16000+1c000] Out of ram or disk? An unchecked failed malloc or fopen if used might well generated that error. ALso a corrupted disk, but I'd expect more disk related errors with something like that. yikes! Any ideas? Cheers, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Mysterious Errors on Debian/Unstable
U just noticed that some cron events were not firing, and the following errors in dmesg: [6514433.261103] cron[9252]: segfault at 6fab8db0 ip b7f16012 sp bfc305e3 error 4 in ld-2.9.so (deleted)[b7f16000+1c000] [6514433.263982] cron[9253]: segfault at 6fab8db0 ip b7f16012 sp bfc305e3 error 4 in ld-2.9.so (deleted)[b7f16000+1c000] [6514990.285433] cron[9385]: segfault at 6fab8db0 ip b7f16012 sp bfc305e3 error 4 in ld-2.9.so (deleted)[b7f16000+1c000] yikes! Any ideas? Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Campus Affiliation
On Tuesday 14 July 2009, Alex Mandel wrote: So I was poking around looking for meeting rooms on campus and noticed that LUGOD could be eligible to officially book rooms(I'm sure there are limits) on campus when we need. To become a campus affiliate group here's what it takes: 10 UC Davis employees, students, alumni, and spouses of employees or students $35 a year I think this might be a good investment so we can directly book rooms for meetings or Installfests on campus without having to jump through departmental hoops every time. If so we'll need 9 other UC affiliates to step up and volunteer to put their names on the application. 2 of us will be the official Business Representatives, ie the 2 people who can call in and make the reservations. Thanks, Alex ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech you can put my name on it. Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] [fwd] Cal Tea Party Needs Computer/Sys Admin Help
On Tue, May 5, 2009 at 6:20 PM, Bill Kendrick n...@sonic.net wrote: - Fwd via Lee Welter. He said to pass it along to a LUGOD list. - From: Nancy Craighill nancycraighill at mac d-o-t com Sent: Monday, May 4, 2009 11:02:35 PM GMT -08:00 US/Canada Pacific Subject: Cal Tea Party Needs Computer/Sys Admin Help I need help organizing all the contacts we made at the Sac Tea Party on April 15th. Please contact me if you are or know someone who is a computer system administrator familiar with GNU Mailman that can volunteer a few hours. Referrals must be patriotic and trustworthy! Thanks. - Nancy - End forwarded message - -- -bill! Sent from my computer patriotic and trustworthy !? I hope that this doesn't actually mean jingoistic and sheeplike! couldn't resist that one. hehahha. sorry Bill. Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] CUPS oddities
Hi, Lately I have been noticing some strange behavior from CUPS. The printer is a HP3600DN, and I am printing to it using its built-in ethernet port. Some details on this printer here: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-Color_LaserJet_3600 I have the HPLIP 3.9.2-3() and hpijs (3.9.2-3) packages installed. When using the HPLIP driver, and printing from 'lp' I get the following PCL error when a PDF file contains rotated pages: PCL XL Error: Subsystem: KERNEL Error: IllegalTag Operator: 0x00 Position: 2 When I print the same PDF from 'xpdf' it works as expected, however the type is somewhat degraded. I have heard that xpdf is using 'pdftops', while CUPS (lp) uses 'pdf2ps' for the conversion (I think). So far I get the best quality printing using 'lp' (CUPS). Does anyone have any UNIX/CUPS/HP related wisdom to share? Thanks in advance! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] mysterious messages
Hi, I have seen these messages recently (dmesg): [1434580.283311] INFO: task vol_id:904 blocked for more than 120 seconds. [1434580.283321] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. [1434580.283325] vol_idD 85e7f2c5 0 904 1 [1434580.283331]e55db0c0 0086 e5646800 85e7f2c5 00036dde e55db24c c2817fa0 [1434580.283356]e10ee24c 11162f58 91ed 11162f58 e10ee24c 11162f58 c2802678 [1434580.283382]c2817fa0 0245d000 c2802678 c015800f c02b8458 ddbede50 ddbede50 c01568bd [1434580.283410] Call Trace: [1434580.283476] [c015800f] sync_page_killable+0x0/0x2a [1434580.283488] [c02b8458] io_schedule+0x49/0x80 [1434580.283500] [c01568bd] sync_page+0x33/0x36 [1434580.283505] [c0158014] sync_page_killable+0x5/0x2a [1434580.283510] [c02b8584] __wait_on_bit_lock+0x2a/0x52 [1434580.283523] [c0156828] __lock_page_killable+0x51/0x57 [1434580.283538] [c0131909] wake_bit_function+0x0/0x3c [1434580.283553] [c01584a2] generic_file_aio_read+0x331/0x4da [1434580.283611] [c017420a] do_sync_read+0xbf/0xfe [1434580.283666] [c01318dc] autoremove_wake_function+0x0/0x2d [1434580.283681] [c016624f] vma_merge+0xd3/0x142 [1434580.283711] [c01b94cf] security_file_permission+0xc/0xd [1434580.283725] [c017414b] do_sync_read+0x0/0xfe [1434580.283732] [c0174992] vfs_read+0x81/0x11e [1434580.283747] [c0174de3] sys_read+0x3c/0x63 [1434580.283764] [c0103853] sysenter_past_esp+0x78/0xb1 [1434580.283809] === Does this mean anything to anyone on the list? Thanks, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] powersupply + capacitor whine when CPU is idle
Hi, My powersupply (I think) is making a deafening whining, reminiscent of a capacitor on its last legs. I notice that when the CPU is busy, the whine goes away. Any clues on what could be causing this besides a faulty power supply? I have ordered a new one just in case. Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] powersupply + capacitor whine when CPU is idle
On Monday 16 February 2009, jim wrote: i've never heard capacitors make noise and am interested to know if that happens. my guess is the noise is coming from a fan, either in the power supply itself, or in the case, or on the heatsink of the CPU, or... The funny thing is that only some people can hear the whining sound. Only seems to be younger people (better hearing?). odd that the noise goes away when the CPU is busy: maybe the CPU heatsink fan smooths up when there's heat (frame or spindle alignment changes)? Yeah, I can't figure that one out... if the power supply breaks down, it may damage data on your hard drive (i've seen multiple lost+found directories nested because of the jitters of a dying power supply--a big mess to recover). OK. Hopefully the new one is on the way! Dylan On Mon, 2009-02-16 at 13:25 -0800, Dylan Beaudette wrote: Hi, My powersupply (I think) is making a deafening whining, reminiscent of a capacitor on its last legs. I notice that when the CPU is busy, the whine goes away. Any clues on what could be causing this besides a faulty power supply? I have ordered a new one just in case. Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] keyboard problems after aptitude upgrade
Hi, ran aptitude upgrade this morning, and now the keyboard seems to have a funky layout in X.org... I can use the keyboard as usual from the console. Any ideas? Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] keyboard problems after aptitude upgrade
On Monday 09 February 2009, Troy Arnold wrote: On Mon, Feb 09, 2009 at 12:21:14PM -0800, Dylan Beaudette wrote: Hi, ran aptitude upgrade this morning, and now the keyboard seems to have a funky layout in X.org... I can use the keyboard as usual from the console. Any ideas? dpkg-reconfigure xserver-xorg? Edit /etc/X11/xorg.conf and set the Options for the input device representing your keyboard? Option XkbLayout us Thanks for the ideas Troy. Just tried this, without effect. The keyboard appears to be setup properly in X.org... I just tried another keyboard, and it does the exact same thing. The symptoms are very strange: - keys pressed several times will cause the caps lock LED to toggle on/off - the number pad keys work fine - the keyboard layout appears to be somewhat mixed up, although some letters appear to match the keyboard Again, the keyboard works fine from the console... Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] keyboard problems after aptitude upgrade
On Monday 09 February 2009, Troy Arnold wrote: On Mon, Feb 09, 2009 at 12:51:13PM -0800, Dylan Beaudette wrote: On Monday 09 February 2009, Troy Arnold wrote: On Mon, Feb 09, 2009 at 12:21:14PM -0800, Dylan Beaudette wrote: Hi, ran aptitude upgrade this morning, and now the keyboard seems to have a funky layout in X.org... I can use the keyboard as usual from the console. Any ideas? dpkg-reconfigure xserver-xorg? Edit /etc/X11/xorg.conf and set the Options for the input device representing your keyboard? Option XkbLayout us Thanks for the ideas Troy. Just tried this, without effect. The keyboard appears to be setup properly in X.org... I just tried another keyboard, and it does the exact same thing. The symptoms are very strange: - keys pressed several times will cause the caps lock LED to toggle on/off - the number pad keys work fine - the keyboard layout appears to be somewhat mixed up, although some letters appear to match the keyboard That is funky. Judging by your Kmail User-Agent, you might be using KDE. If so, you should try the kde keyboard config widget. kcontrol for kde 3.5x or system settings for 4x. If you can't fix it quickly, try creating a new user and logging into KDE as that user. If it works, then you know the issue is with something in your kde configs. A KDE brainfart actually makes more sense to me than having xorg freakout after an update. -t ___ Hmmm. The problem is happening even before I login -- at the KDM login screen. I will try a different login manager tomorrow. Thanks, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] looking for a new video card
Hi, I had been hearing an annoying hum from my machine for a couple days now, and took it apart this morning to find the fan on the video card buzzing in place. Cycling the power resulted in a brief attempt at turning on, and then the system shut off- as if there were an excessive power draw / powersupply failure. Unpluggin the offending fan on the video card resulting in a normal power-on, although now the video card is running hot. The card is : nVidia Corporation NV31 [GeForce FX 5600XT] (rev a1) I would like to stick to nVidia, as the accelerated hardware is fairly well supported. Ideally a card without fan would be nice. An alternative would be to replace the fan on the video card. Does anyone have experience in something like this? There are some resources on the internet, but I thought I would also ask here. Finally, is there any potential for melt-down if I operate this video card without a fan? Thanks! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] looking for a new video card
On Thursday 05 February 2009, Jeffrey Nonken wrote: Unless you really need an upgrade, I'd just replace the fan. Much cheaper. Buying a new video card just because of the fan is like getting a new car because the ashtray is full. :) Yeah. I know, I really don't want to waste a perfectly good card. I'll check into replacement fans. This one might do it: http://www.provantage.com/zalman-tech-zmvf700cu~7ZALM00W.htm Cheers, Dylan On Feb 5, 2009, at 9:52 AM, Dylan Beaudette wrote: Hi, I had been hearing an annoying hum from my machine for a couple days now, and took it apart this morning to find the fan on the video card buzzing in place. Cycling the power resulted in a brief attempt at turning on, and then the system shut off- as if there were an excessive power draw / powersupply failure. Unpluggin the offending fan on the video card resulting in a normal power-on, although now the video card is running hot. The card is : nVidia Corporation NV31 [GeForce FX 5600XT] (rev a1) I would like to stick to nVidia, as the accelerated hardware is fairly well supported. Ideally a card without fan would be nice. An alternative would be to replace the fan on the video card. Does anyone have experience in something like this? There are some resources on the internet, but I thought I would also ask here. Finally, is there any potential for melt-down if I operate this video card without a fan? Thanks! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ARE (Tcl / Postgresql) REGEX question [solved]
On Tuesday 02 December 2008, Wes Hardaker wrote: On Mon, 1 Dec 2008 18:45:44 -0800, Dylan Beaudette [EMAIL PROTECTED] said: DB ([0-9]?[\\.]?[0-9][Y|y|R|r]+[ ]+?[0-9]/[0-9]).*?([0-9]?[\\.]?[0-9][Y|y|R|r]+[ ]+?[0-9]/[0-9]) Add '|' here: ^ to become ...[0-9]|) Which will let the second pattern match against nothing so you'll get an empty string as the result. However, what if you need to match against 100 colors? It would be better to loop over the string multiple times until no further matches are found. I was able to solve this problem by following the great advice that was suggested on vox-tech. Turns out that regexp_matches() with the 'g' (global) option will return a row for each match. I was then able to use a custom aggregate -- array_accum() to convert the multiple rows into a single array. Details on the array_accum() aggregate can be found here: http://www.postgresql.org/docs/8.3/static/xaggr.html Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] ARE (Tcl / Postgresql) REGEX question
Hi, I have a rather complex (for me) regular expression that I am trying to figure out. Here is an example that works just fine: -- I am trying to extract the two colors: -- 10YR 6/4 and 7.5YR 4/4 from the following block of text SELECT regexp_matches('B11t Light yellowish brown (10YR 6/4) gravelly clay loam, brown to dark brown (7.5YR 4/4) moist; weak coarse subangular blocky; hard, friable, sticky and plastic; few very fine and many fine and medium roots; many very fine and fine interstital and tubular pores; few thin clay films lining pores; pH 5.4; clear smooth boundary.' , E'([0-9]?[\\.]?[0-9][Y| y|R|r]+[ ]+?[0-9]/[0-9]).*?([0-9]?[\\.]?[0-9][Y|y|R|r]+[ ]+?[0-9]/[0-9])') ; regexp_matches -- {10YR 6/4,7.5YR 4/4} However, this pattern does not work when there is only one color: SELECT regexp_matches('B11t Light yellowish brown (10YR 6/4) gravelly clay loam; weak coarse subangular blocky; hard, friable, sticky and plastic; few very fine and many fine and medium roots; many very fine and fine interstital and tubular pores; few thin clay films lining pores; pH 5.4; clear smooth boundary.' , E'([0-9]?[\\.]?[0-9][Y|y|R|r]+[ ]+?[0-9]/[0-9]).*?([0-9]?[\\.]? [0-9][Y|y|R|r]+[ ]+?[0-9]/[0-9])') ; I have tried making the second capturing clause optional by appending the '?' operator. This causes the single color example to be parsed correctly, but now the double color example does not work: SELECT regexp_matches('B11t Light yellowish brown (10YR 6/4) gravelly clay loam, brown to dark brown (7.5YR 4/4) moist; weak coarse subangular blocky; hard, friable, sticky and plastic; few very fine and many fine and medium roots; many very fine and fine interstital and tubular pores; few thin clay films lining pores; pH 5.4; clear smooth boundary.' , E'([0-9]?[\\.]?[0-9][Y| y|R|r]+[ ]+?[0-9]/[0-9]).*?([0-9]?[\\.]?[0-9][Y|y|R|r]+[ ]+?[0-9]/[0-9])?') ; regexp_matches --- {10YR 6/4,NULL} Any ideas on how to improve this regex? Thanks! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] mystery error when connecting USB HD
Hi. Recently upgraded my kernel and noticed the following message when connecting an external USB HD: [111490.755865] attempt to access beyond end of device [111490.755865] sdc: rw=0, want=586072369, limit=586072368 With the the previous kernel it just read: Buffer I/O error on device sdc2 Any ideas on how this may have happened or how to fix this? Thanks, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Free Sony Trinitron Monitor
Were moving! Sony Trinitron CPD200ES, manual, and W95 monitor information disk needs new home. This 17 inch CRT is in excellent, no fantastic, condition. Crisp clear picture that blows TFT monitors away. Come and get it. 530-574-7121 to get directions to my home to pick it up. Sony site http://esupport.sony.com/US/perl/model-home.pl?mdl=CPD200ES Contact [EMAIL PROTECTED] ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] missing partition table and smartctl output
Hi, I was working on my machine this morning (fixing a fan). I pulled the side panel off before turning the thing off, and watched in horror as one of the IDC power connectors brushed against some pins on the motherboard (the gameport header). A couple sparks flew before I was able to grab the swinging power cable and turn the computer off. After fixing the fan, crossing my fingers, and turning the machine back on-- all seemed to be well. I don't know if it was a coincidence, but... somehow my second internal hard disk didn't mount at startup. Trying to mount by hand revealed that udev hadn't identified a valid partition table on /dev/sdb . I fired up smartctl, and sure enough the drive was accessible, and all SMART parameters appeared OK. Except a couple: Seek_Error_Rate 0x000f 060 060 030Pre-fail Always - 1233573 Raw_Read_Error_Rate 0x000f 108 100 006Pre-fail Always - 17159523 Hardware_ECC_Recovered 0x001a 023 020 000Old_age Always - 17159523 Other than the non-zero values, SMART didn't report any problems, even after a long, off-line test. Wondering what was wrong with the partition table, I re-made a new table based on my notes: a single partition using the entire drive. I was then able to mount the XFS file system. I have no idea how the partition table got hosed. I can now work with the disk just as I had before, even as much as starting a virtual machine from an image on this disk... Could the hosed partition table been caused by the near catastrophic sparking, or indicative of possible disk failure. This disk is nearly brand new. Any ideas? Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] any points one should consider before getting a new HD?
Hi, Looking to add some storage to a linux system, and was considering one of the Seagate 500Gb or 750Gb drives. These both use the new perpendicular recording technology. anything to consider before getting one of these? thanks, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] c code question
see the 'reshape' package for R. Dylan On Thu, Mar 20, 2008 at 11:55 AM, Carl Boettiger [EMAIL PROTECTED] wrote: Hi, This isn't a linux question directly but I'm going to abuse the generosity and knowledge on this list and ask anyway: I'm running a c code where I'd like to print out data to a file in a matrix form. I run a loop that fills in each entry of a column, which I print to a file fprintf(file, %.5e\n, variable). When the loop starts again, I'd like to print the next set in an adjacent column, rather than under the existing data. (currently I import the file into matlab and use reshape to convert the long vector into a matrix, but this doesn't work if the vectors are of different lengths). Hope that made sense. Any ideas? Thanks! -Carl ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] latest vmware problems
On Tuesday 18 March 2008, Wes Hardaker wrote: DB == Dylan Beaudette [EMAIL PROTECTED] writes: DB Unable to make a vmmon module that can be loaded in the running DB kernel: There is probably a slight difference in the kernel DB configuration between the set of C header files you specified and DB your running kernel. You may want to rebuild a kernel based on that DB directory, or specify another directory. There are modified versions of the vmware modules that let you run on older/newer kernels (and contain other fixes). DB /usr/src/linux-headers-2.6.16-2-686-smp That's certainly older. Generally vmware doesn't support older/newer kernels and they're pretty specific on a particular kernel range for a particular version. google for vmware-any-any in a .cz TLD and try those modules. (it's also linked from the wikipedia vmware entry) Thanks for the tips Wes. I had tried the vmware-any-any patch, and get the same result... dang! -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] latest vmware problems
Hi, After a recent VMware related crash, I downloaded the latest VMware workstation software (5.5.6). The installer worked fine, however when compiling the kernel modules I get a segmentation fault when vmmon.o is inserted into the kernel. Some details: Debian/Unstable 2.6.16-2-686-smp #1 SMP Fri Aug 18 19:25:21 UTC 2006 i686 GNU/Linux # the script attemps this: sudo insmod -p /tmp/vmware-config7/vmmon.o # and results in this: Segmentation fault Unable to make a vmmon module that can be loaded in the running kernel: There is probably a slight difference in the kernel configuration between the set of C header files you specified and your running kernel. You may want to rebuild a kernel based on that directory, or specify another directory. As far as I can tell I am using the stock kernel headers that match the runnin kernel: /usr/src/linux-headers-2.6.16-2-686-smp If the kernel has been changed on a recent update I would have been notified by aptitude, right? Any ideas? Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] tips on linux power-saving features
Hi, Does anyone have experience with setting up a desktop linux machine to reduce CPU speed, or anything like that in off hours? Ideally I would shut my machine off at the end of the day. However I tend to work remotely, sometimes at odd hours. Are there any mechanisms for going into a lower power mode on demand? The machine in question is a dual xeon. thanks! -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008 04:58:13 pm Ken Bloom wrote: On Tue, 15 Jan 2008 09:33:44 -0800 Dylan Beaudette [EMAIL PROTECTED] wrote: Hi, some of the people in my lab are interested in collaboratively compiling a large quantity of environmental data- each user appending several hundred measurements of several variables every week. They are currently emailing around a spread sheet file and there have been numerous data accidents. Now they are asking to put the file onto a shared drive, so that they can access it remotely. This sounds like a terrible idea to me- even worse than the previous attempt. The data are essentially rows and cols of numbers that are added to and edited weekly. At first I thought subversion might be helpful, but revision control doesn't work so well with binary data (excel files)... unless there is something I don't know about. It would be hard to detect conflicts, or to merge data. However, it would allow for timestamps and revision numbers to provide some level of authority. Designing some kind of database-driven system seems like a logical choice, but I do not have the time to do this. Perhaps there is already something out there. Does anyone have some insight into how to solve this data management nighmare? In what format do your colleagues generate their data to begin with? Is this append-only or are there updates too? --Ken They work exclusively with Excel. A discussion about this problem with my sig. other last night resulted in mutual distrust of the way most people in academics and professional circles are handling data. There really should be a 'data management' course which is either part of the Technical Writing courses (which are required) or taught as a single quarter class. Everyone who is not in computer science or mathematics should be required to either test out of the course or take it. Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008 09:57:57 pm Jeff Newmiller wrote: Dylan Beaudette wrote: On Tuesday 15 January 2008, Henry House wrote: On 2008-01-15, wrote Dylan Beaudette: [...] YES - this is how I would approach this problem if I were in a position to babysit their data. I have put together several LAPP (linux-apache-postgres-php) projects- but only for things I was directly working on. I was searching for some kind of compromise between doing it correctly (i.e. a database) and doing it less incorrectly via SVN or the like. Well the good thing about using SVN is that at least no data will be lost once it is committed. So even if person A overwrites person B's work, the data can be recovered (albeit with manual intervention). And if this happens it just might demonstrate the need for a proper RDBMS-base solution to those in charge. Yeah... It looks like they will be resorting to their old system of personal communication mitigated data disaster prevention (PCMDDP) When it crashes and burns I think that I will have them go with an SVN + CSV file setup. Thanks for all of the great ideas! Dylan I highly recommend using a real database with ODBC client access. Microsoft Access is quite easy for Microsofties to get used to, and has already been mentioned can serve as a front-end for connecting to the shared data. OpenOffice can also present a tabular user interface with no programming. No programming means practically no maintenance on your part. They can use a query builder to get subsets of the data, copy it into Excel, and analyze it to their hearts content. Another advantage of this is that it is easy to copy/paste large blocks of data around (including appending their data to the table) which is not so easy with a web interface. Jeff, Sounds like a great idea. Want to implement it as a donation? I am working with others who do not have the training or time to be interested in such things. I advocated something like this last year, but they went with the 'email a spreadsheet around' approach. When they asked me to host the file on a machine I manage for the lab I got roped into looking out for their data. I will keep all of the suggestions around for when their approach leaves them in a world of data pain. Thanks again, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Wednesday 16 January 2008 02:44:41 pm Gandalf Parker wrote: On Wed, 16 Jan 2008, Bryan Richter wrote: On Jan 16, 2008 1:30 PM, Dylan Beaudette [EMAIL PROTECTED] wrote: They work exclusively with Excel. The big cheese couldn't understand that they needed a database application! We're talking terabytes of data over the life of the project, and they're trying to get Sue to whip something together all by herself because of their complete unfamiliarity with the concept. In the computer classes I taught the military I had to broach that subject. I would say yes you CAN do it in a spreadsheet, or in Word tables, or a presentation, etc etc. But why ignore what they do best? Basically its like this. If its going to be read, then Word does it best. If its going to be presented, then a presentation is best. If you are going to do mathematical things with numbers, then a spreadsheet will do it best. If you are doing things with words like sort and search then a database is best. Ok, this is a practical stance dealing with the symptoms of a lack in data management training. What would be really nice is a required data management course - possibly coupled with technical writing - to alleviate the fundamental problems. If you start a project in the wrong application then somewhere down the line you will want it to do something and you will spend alot of extra time trying to get that application to do it. After all you can haul freight in a car but if you know the job is hauling freight then why would you ask for a car? Gandalf Parker all in all a fun discussion! Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Wednesday 16 January 2008 04:27:08 pm Ken Bloom wrote: On Wed, 16 Jan 2008 13:33:06 -0800 Dylan Beaudette [EMAIL PROTECTED] wrote: On Tuesday 15 January 2008 09:57:57 pm Jeff Newmiller wrote: Dylan Beaudette wrote: On Tuesday 15 January 2008, Henry House wrote: On 2008-01-15, wrote Dylan Beaudette: [...] YES - this is how I would approach this problem if I were in a position to babysit their data. I have put together several LAPP (linux-apache-postgres-php) projects- but only for things I was directly working on. I was searching for some kind of compromise between doing it correctly (i.e. a database) and doing it less incorrectly via SVN or the like. Well the good thing about using SVN is that at least no data will be lost once it is committed. So even if person A overwrites person B's work, the data can be recovered (albeit with manual intervention). And if this happens it just might demonstrate the need for a proper RDBMS-base solution to those in charge. Yeah... It looks like they will be resorting to their old system of personal communication mitigated data disaster prevention (PCMDDP) When it crashes and burns I think that I will have them go with an SVN + CSV file setup. Thanks for all of the great ideas! Dylan I highly recommend using a real database with ODBC client access. Microsoft Access is quite easy for Microsofties to get used to, and has already been mentioned can serve as a front-end for connecting to the shared data. OpenOffice can also present a tabular user interface with no programming. No programming means practically no maintenance on your part. They can use a query builder to get subsets of the data, copy it into Excel, and analyze it to their hearts content. Another advantage of this is that it is easy to copy/paste large blocks of data around (including appending their data to the table) which is not so easy with a web interface. Jeff, Sounds like a great idea. Want to implement it as a donation? I am working with others who do not have the training or time to be interested in such things. I advocated something like this last year, but they went with the 'email a spreadsheet around' approach. I'm not convinced that you've actually played with the OpenOffice Database idea yourself, becuase it's so easy to set up, and so similar in interface to a spreadsheet, that you'd kick yourself for complaining about not having training. There is a reason for that- I haven't, yet. I just monkeyed around with it for a couple minutes and you are right- it does look pretty simple. I suppose that given some *free* time to implement, idiot-proof, and train staff this would work out ok. In short, start OpenOffice, click new database, set up the database connection from the wizard. If you're going to do MySQL, then you may want to install that first -- connecting shoudn't be terribly hard, and I doubt installation is either. For now create an embedded database, and just know that you can use OpenOffice to set up the schema of a MySQL database when you decide that's the way to go. Yes- this looks nice. I wonder how hard it would be to get this working with PostgreSQL... and how this setup works with concurrent use... Then hop on over to Tables and hit Create table in design view Just fill in the names and types of the field, and save the table. Now, if you double-click the table's name, it will look just like a spreadsheet. (As long as your guys don't want any formulas in it.) It's pretty simple, and takes less than 5 minutes to set up. To be fair, I couldn't copy/paste a range of data from spreadsheet to database in OpenOffice (it wants to put it all in one field in one row), but MS Access should be similarly simple to use, and may get rid of this bug as well. --Ken I like the ideas. I reality these guys should be using a database, with several tables. They are accumulating data and pairs of sensor values - standards. It would be extremely useful, and a lot of fun to program, a data collection system where you could input data and standards- with everything tied together by common ids... This would allow both raw data and standards to be coherently stored in a highly structured format. Any compsci students looking for a project? thanks Ken, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Wednesday 16 January 2008 08:45:58 pm Alex Mandel wrote: Dylan Beaudette wrote: On Tuesday 15 January 2008 04:58:13 pm Ken Bloom wrote: On Tue, 15 Jan 2008 09:33:44 -0800 Dylan Beaudette [EMAIL PROTECTED] wrote: Hi, some of the people in my lab are interested in collaboratively compiling a large quantity of environmental data- each user appending several hundred measurements of several variables every week. They are currently emailing around a spread sheet file and there have been numerous data accidents. Now they are asking to put the file onto a shared drive, so that they can access it remotely. This sounds like a terrible idea to me- even worse than the previous attempt. The data are essentially rows and cols of numbers that are added to and edited weekly. At first I thought subversion might be helpful, but revision control doesn't work so well with binary data (excel files)... unless there is something I don't know about. It would be hard to detect conflicts, or to merge data. However, it would allow for timestamps and revision numbers to provide some level of authority. Designing some kind of database-driven system seems like a logical choice, but I do not have the time to do this. Perhaps there is already something out there. Does anyone have some insight into how to solve this data management nighmare? In what format do your colleagues generate their data to begin with? Is this append-only or are there updates too? --Ken They work exclusively with Excel. A discussion about this problem with my sig. other last night resulted in mutual distrust of the way most people in academics and professional circles are handling data. There really should be a 'data management' course which is either part of the Technical Writing courses (which are required) or taught as a single quarter class. Everyone who is not in computer science or mathematics should be required to either test out of the course or take it. Dylan ___ This is on my list of course to create, and may happen soon if I decide to do a Phd. In the meantime we might do a spatial databases group study next quarter. Alex Hi Alex, If that course happens, let me know as there was some interest in an (attribute) database course in our dept. which Garrett and I were thinking about putting together. Cross-listing and including spatial DB stuff might draw a larger audience. One more fun class to think about! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] collaborative data storage (of excel files)
Hi, some of the people in my lab are interested in collaboratively compiling a large quantity of environmental data- each user appending several hundred measurements of several variables every week. They are currently emailing around a spread sheet file and there have been numerous data accidents. Now they are asking to put the file onto a shared drive, so that they can access it remotely. This sounds like a terrible idea to me- even worse than the previous attempt. The data are essentially rows and cols of numbers that are added to and edited weekly. At first I thought subversion might be helpful, but revision control doesn't work so well with binary data (excel files)... unless there is something I don't know about. It would be hard to detect conflicts, or to merge data. However, it would allow for timestamps and revision numbers to provide some level of authority. Designing some kind of database-driven system seems like a logical choice, but I do not have the time to do this. Perhaps there is already something out there. Does anyone have some insight into how to solve this data management nighmare? Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008, Stuart Turner wrote: How about Google spreadsheets? ~ Stuart This has been suggested in lab meetings, but the PI is not interested... Also, I have had some bad experiences with collaboratively working on documents using the Google Suite. thanks for the idea! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008, Henry House wrote: On 2008-01-15, wrote Dylan Beaudette: Hi, some of the people in my lab are interested in collaboratively compiling a large quantity of environmental data- each user appending several hundred measurements of several variables every week. They are currently emailing around a spread sheet file and there have been numerous data accidents. Now they are asking to put the file onto a shared drive, so that they can access it remotely. This sounds like a terrible idea to me- even worse than the previous attempt. Their idea is distilled evil! But you already knew that. Indeed! The data are essentially rows and cols of numbers that are added to and edited weekly. At first I thought subversion might be helpful, but revision control doesn't work so well with binary data (excel files)... unless there is something I don't know about. It would be hard to detect conflicts, or to merge data. However, it would allow for timestamps and revision numbers to provide some level of authority. Designing some kind of database-driven system seems like a logical choice, but I do not have the time to do this. Perhaps there is already something out there. Does anyone have some insight into how to solve this data management nighmare? The right way to do this is to use a database. But, an easier maybe-almost-as-good solution might be to use subversion and save the data as CSV text files (excel can do this just fine). It is useful to add comment lines (maybe you could have an internal convention about this) that help subversion to figure out where to merge in changes. This is a good idea. Unfortunately we might be stuck with 4 or 5 mega CSV files which are constantly appended to, but SVN should be able to deal with keeping things sane. The trick will be to get people to realize that these are CSV files, and therefore no monkeying around with formulas, etc. I'll keep digging around for ideas. Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008, Stuart Turner wrote: OK, how about using Open Document Format (ODF) within OpenOffice (OpenOffice spreadsheet application Calc and their .ods format). These are XML (text files) that can deal with CVS (and Subversion) better than binaries and for those who want the binary Microsoft loyalty format (.xls) at the end of the game can do so easily via a conversion to Excel. ~ Stuart Would this still work despite the fact that the ODF container is gzipped? Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008, Alex Mandel wrote: Dylan Beaudette wrote: Hi, some of the people in my lab are interested in collaboratively compiling a large quantity of environmental data- each user appending several hundred measurements of several variables every week. They are currently emailing around a spread sheet file and there have been numerous data accidents. Now they are asking to put the file onto a shared drive, so that they can access it remotely. This sounds like a terrible idea to me- even worse than the previous attempt. The data are essentially rows and cols of numbers that are added to and edited weekly. At first I thought subversion might be helpful, but revision control doesn't work so well with binary data (excel files)... unless there is something I don't know about. It would be hard to detect conflicts, or to merge data. However, it would allow for timestamps and revision numbers to provide some level of authority. Designing some kind of database-driven system seems like a logical choice, but I do not have the time to do this. Perhaps there is already something out there. Does anyone have some insight into how to solve this data management nighmare? Cheers, Dylan While it might seem like a lot of work for a database, it might be less work than teaching all of them to use svn. If you make a DB table then you can just create an OpenOffice and or Access database that contains a linked table via the proper odbc driver(so postgres, mysql, whatever you want), they would all see the same table at the same time and if they're just doing appends it should work out ok. This way no new software to learn or install for most, just need to configure the odbc connection once. Alex Right- This was my initial plan a couple of months ago, but I cannot allocate time into doing it the right way as it is not my project. Unfortunately I get sucked into these things, and would like to suggest the best possible solution. Maybe it is time to have data librarian for the dept. Thanks for all of the helpful comments, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] collaborative data storage (of excel files)
On Tuesday 15 January 2008, Gandalf Parker wrote: On Tue, 15 Jan 2008, Jimbo wrote: The next step up, sorta, might be to set up a web server with a very simple CGI for appending records to the CSV and committing, accessed via a web form. From there you could proceed to using an low-admin database if you wanted. Im glad I read thru the answers because that was the direction I was heading also. Apparently its a huge database (unless you are doing extensive math things then it should be a database instead of a spreadsheet). But the individuals are not working with the entire database? I would grab a LAMP book. There is even a dummies version which is usually great for getting a feel for something and deciding if you want to read further. L.A.M.P. Linux, Apache, MySQL, and PHP (or Perl). Or you might even want to NOT go with direct updates. Use an old standard form CGI to retrieve data if necessary, take the changes, then process it by script. The script can update the database thru MySQL, AND also save off the original input with info on time, date, terminal, etc for tracking and verification purposes. If the updating of the database is done by cron working whats in a queue directory then it would simplify avoiding file access collisions. YES - this is how I would approach this problem if I were in a position to babysit their data. I have put together several LAPP (linux-apache-postgres-php) projects- but only for things I was directly working on. I was searching for some kind of compromise between doing it correctly (i.e. a database) and doing it less incorrectly via SVN or the like. ah well... Cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] globally switch math-mode font in latex
Hi, Is there any way to globally switch the math-mode font within a latex document ? I would like all math-mode symbols to _not_ be in italics. I know that this goes against the conventions, and it bothers me too- but there is a pesky editor (who has been brainwashed by too many viewings of poorly typeset word documents) that is insisting on the change... So far I have found incantations such as : \SetMathAlphabet{\mathnormal}{normal}{\encodingdefault}{cmtt}{m}{n} -or- \DeclareMathAlphabet{\mathnormal}{normal}{\encodingdefault}{cmtt}{m}{n} unsuccessful. Any ideas? Or am I stuck inserting \mathrm{} all over the place? Cheers, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] GPS logging and linux.
On Saturday 01 December 2007 07:41:34 pm Bill Broadley wrote: Just wanted to mention to anyone interested. The i-blue 747 works quite well with linux. I avoided it in the past because the only driver I could find was windows. Thanks for the post Bill. I have been thinking about getting something like this for path logging, but wanted to make sure that it would work well with linux. Currently I am using an old Garmin GPS 12, which can only record 1024 track points- usually enough for a single day's hike. Some 16KB of storage leaves it a fair bit of room for logging, and you can specify time rates, min distance, or min speed for storing results. You can also control what is logged. Nest. The unit gets substantially better reception than others I've tried, works in my living room (not near a window) and even inside various buildings like Sophia's. The accuracy drops of course, but I've never seen the results get too far off. Something the GPS 12 has problems with... I'm using (command line and perl): http://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/gps_logger_i_blue _747 But if java and ugly GUIs are your thing: http://sourceforge.net/projects/bt747 Have you tried any of the other tools for working with GPS data out there: gpsd gpsbabel gpstrans ? In any case if you wanted a GPS to record tracks but didn't want to carry a fragile pda with limited battery life (like say a nokia 770) on a mountain bike ride you could use this and record a track like: http://broadley.org/bill/yum-tahoe-epic.png It even has a button for recording POIs. Thanks for the review- I know what I am getting for Christmas this year! Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] change font size for table in latex
Hi, Working on a rather wide table, and finding that the only way to change the font size is by applying it to every element, one-by-one. This seems very inefficient, and surely there must be a better way. I have tried using \tiny and such commands just before the \begin{tabular} environment, but there is no change in font size. Any ideas? thanks, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] tips on the LATEX letter doc class
Hi, anyone know of a quick way to reduce the amount of space between the page header and letter content within the 'letter' document class ? The default spacing is about 3 inches, and wastes a lot of paper. thanks in advance, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] why is bash more intellegent on my home computer?
On Friday 05 October 2007, David Rosenstrauch wrote: Dylan Beaudette wrote: Hi, Just installed Debian/Sid on a home computer, and notice that bash will autocomplete parameters for many of the applications which I use. For example, I can type sudo aptitude instab .. and 'tall' magically pops up. My Debian/Sid machine at work does not do this... anyone know why this might be ? cheers, Dylan Maybe its using zsh instead of bash? I will check. Another thing it was doing was expanding directory/file names on a remove machine specified over ssh... Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] why is bash more intellegent on my home computer?
Hi, Just installed Debian/Sid on a home computer, and notice that bash will autocomplete parameters for many of the applications which I use. For example, I can type sudo aptitude instab .. and 'tall' magically pops up. My Debian/Sid machine at work does not do this... anyone know why this might be ? cheers, Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] why is bash more intellegent on my home computer?
On Friday 05 October 2007, Rick Moen wrote: Quoting Dylan Beaudette ([EMAIL PROTECTED]): Just installed Debian/Sid on a home computer, and notice that bash will autocomplete parameters for many of the applications which I use. For example, I can type sudo aptitude instab .. and 'tall' magically pops up. My Debian/Sid machine at work does not do this... anyone know why this might be ? Seems to be /etc/bash_completion . http://www.debian-administration.org/articles/316 http://www.debian-administration.org/articles/317 https://lists.ubuntu.com/archives/kubuntu-users/2007-April/015538.html http://www.adminlife.net/en/howto/bash-completion-unter-debian-etch/ http://www.caliban.org/bash/index.shtml#completion Have fun! ___ Yeah! that was it! thanks! Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Firewire port stopped working...
After a recent aptitude upgrade (debian unstable) -- disks connected via firewire no longer mount, refusing with an error which made me think that my disk had died. Here is the output from dmesg after connecting the drive: ieee1394: Current remote IRM is not 1394a-2000 compliant, resetting... ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Error parsing configrom for node 0-01:1023 ieee1394: Node suspended: ID:BUS[0-00:1023] GUID[00e0188ac941] ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Error parsing configrom for node 0-01:1023 ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Error parsing configrom for node 0-01:1023 ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Error parsing configrom for node 0-01:1023 ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Error parsing configrom for node 0-01:1023 ieee1394: Error parsing configrom for node 0-00:1023 ieee1394: Error parsing configrom for node 0-01:1023 ieee1394: Node resumed: ID:BUS[0-00:1023] GUID[0050770e0040] ieee1394: Node changed: 0-00:1023 - 0-01:1023 ieee1394: Node resumed: ID:BUS[0-01:1023] GUID[00e0188ac941] scsi10 : SBP-2 IEEE-1394 ieee1394: sbp2: Logged into SBP-2 device ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048] Vendor: ST330083 Model: 1ARev: Type: Direct-Access-RBC ANSI SCSI revision: 04 SCSI device sdb: 586072368 512-byte hdwr sectors (300069 MB) sdb: Write Protect is off sdb: Mode Sense: 00 13 00 00 SCSI device sdb: drive cache: write back SCSI device sdb: 586072368 512-byte hdwr sectors (300069 MB) sdb: Write Protect is off sdb: Mode Sense: 00 13 00 00 SCSI device sdb: drive cache: write back sdb: [mac] sdb1 sdb2 sdb3 sdb4 sd 10:0:0:0: Attached scsi disk sdb printk: 4 messages suppressed. Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 Buffer I/O error on device sdb2, logical block 293167232 ... this disk / enclosure used to work over the firewire port, but now when trying to mount the partition returns the following: mount: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so ... however if it connect this same disk / enclosure via USB it works fine. any ideas? cheers, Dylan -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] refering to a subsubsection in latex (article document class)
Hi, wondering if it is possible to refer to the number associated with a \subsubsection in latex, using the article document class. example: \section{A Section} \subsection{A Subsection} \subsubsection{A Subsubsection} \label{label_of_this_subsubsection} ... as seen in section \ref{label_of_this_subsubsection} this will print the number associated with the \subsection above the labeled \subsubsection, resulting in: as seen in section 1.1 ... when actually I would like to see: as seen in section 1.1.1 any ideas? thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] refering to a subsubsection in latex (article document class)
Fantastic. Thanks Aaron, that did the trick. Cheers, Dylan On Tuesday 28 August 2007 14:39, Aaron A. King wrote: Check out the secnumdepth counter. It sets how deep the sections should be numbered. I.e., \documentclass{article} \setcounter{secnumdepth}{3} \begin{document} \section{A Section} \subsection{A Subsection} \subsubsection{A Subsubsection}\label{label_of_this_subsubsection} \section{Another section} As seen in section \ref{label_of_this_subsubsection} \end{document} On Tuesday 28 August 2007, Dylan Beaudette wrote: | wondering if it is possible to refer to the number associated with a | \subsubsection in latex, using the article document class. -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] debian confusion
Hi, I had a rather well functioning install of debian testing on a laptop. After doing a recent aptitude upgrade I am faced with a rather bizzare situation: debianutils_2.19.i386 cannot be installed because it replaces things provided by the package 'passwd' . This seems to be a bug- but there is little online as to how to fix it. my apt sources point to 'testing' and my debian_version file says 'lenny/sid' ??? any tips on fixing this old beast? cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] debian confusion
On Thursday 28 June 2007 15:51, Ken Bloom wrote: On 06/28/2007 01:04:07 PM, Dylan Beaudette wrote: Hi, I had a rather well functioning install of debian testing on a laptop. After doing a recent aptitude upgrade I am faced with a rather bizzare situation: debianutils_2.19.i386 cannot be installed because it replaces things provided by the package 'passwd' . This seems to be a bug- but there is little online as to how to fix it. my apt sources point to 'testing' and my debian_version file says 'lenny/sid' ??? any tips on fixing this old beast? cheers, The two bug reports relating to this issue (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428633 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428008) suggest to me that you either don't keep your distribution updated very well, or you're upgrading from pre-etch to lenny without hitting etch in between. --Ken yup - thanks for the tips. some folks on the #debian channel pointed this out, along with some tips. had to change my sources to point to 'etch' do a dist-upgrade, then point the sources to 'lenny', followed by a final dist-upgrade. cheers, dylan -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] For Sale: MacMini 1.33 Ghz PPC
Apologies for the advertisement, but I thought that I would let the locals have the first pass at this. 1.33 Ghz PPC G4 512Mb RAM 40Gb HD CDRW 15 inch LCD keyboard all original cables, software, and box. Unit is in great shape. $450 or best offer! cheers! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] NVIDIA drivers
On Monday 04 June 2007 10:39, hajhouse wrote: I've avoided NVIDIA's video cards like the plague for the last few years, because I really dislike the idea of being tied to a proprietary driver. Now I am faced with a problem: basically the only high-performance video available on laptops is NVIDIA. I know about the proprietary binary-only drivers that will provide full 3d acceleration. I don't play games but I do use 3d data visualization (not realtime). What I would like to know is: if for whatever reason NVIDIA stop supporting the Linux drivers, will I be SOL and stuck with an unaccelerated card? Or is there a viable Free alternative that will provide at least some acceleration? (There is this: http://nouveau.freedesktop.org/wiki/ --- anyone tried it?) What about emulating the GPU in software (assuming a fast dual-core CPU)? Hi Henry, I have been using the proprietary drivers for the last 3 yrs now on debian/unstable - and it seems to work ok. Just beware that updating some packages will break the drivers - resulting in a simple recompile with module-assistant. cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] NVIDIA drivers
On Monday 04 June 2007 12:31, Henry House wrote: h == hajhouse [EMAIL PROTECTED] writes: h I've avoided NVIDIA's video cards like the plague for the last few h years, because I really dislike the idea of being tied to a proprietary h driver. Well, I've been down this road many times in the past. I've had both nvidia and ati cards at various times... At least nvidia *offers* a driver! In the end, when I've tried the OSS vs proprietary drivers the proprietary ones are *always* better when it comes to 3D acceleration. I've used both, but it's always something like Google Earth that makes me go switch to NVidia's. For Fedora, both the atrms and the livna repositories distributes the pre-compiled drivers so a yum update should grab them. (Yes, I realize I'm speaking to a largely Debian crowd). The biggest problem with the commercial drivers is that at some point their installation system drops support for older cards and you have to make sure you start grabbing the backwards-compatibility snapshot instead (again, the rpm repositories above distributes compat versions too). Thanks all for your comments on the usability of the proprietary drivers. However, that's not really what I was asking. I know that the proprietary drivers work (at least with current kernels); I am specifically interested in alternatives that I may be forced to used in the unfortunate event that NVidia stops supporting the CPU/kernel/OS combination I want to use before I retire the computer. ah, there is the 'nv' driver which works ok... -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] sticky bits and such
Hi, I have a shared folder accessible via both ssh and samba - I would like anything put into that folder to have some basic permissions set: i.e. the owner can stay the same, but I would like the group permission to be set to a default group which has read+write permissions. for example someone has made a folder which has the permissions: drwxr-sr-x the group is correctly set, but I cannot make any changes within the folder, even though I am in the group... any ideas ? thanks -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] creating a lookup table in awk
Hi everyone, I have a rather interesting problem, that i would like to solve with awk or bash scripting - but if all else fails then I will switch to python. here is the idea: i have a set of files, each with 30 columns - coming from a set of 10 data loggers. each file represents the output from a single datalogger. the ordering of the columns is consistant, and maps to a soil-pit id and moisture probe id. I need to create a look-up table to index ids to column numbers. Then, looping over the dimensions of the look-up table would allow me to process the file line-by line, column-by column accordingly: do bash or awk support these type of data structures? this is how i would envision it in something like python / php: # a multi-dimensional hash for each datalogger: # referencing the sensors assigned to a pit # and the row number in which the sensor values exist in the output file datalogger_1[ pit_1[ sensor_1 = 4 sensor_2 = 5 sensor_3 = 6 sensor_4 = 7 ], pit_2[ sensor_1 = 8 sensor_2 = 9 sensor_3 = 10 sensor_4 = 11 sensor_5 = 12 ], ... ] # the logic of the program would be : iterate over the pits in the datalogger hash iterate over the sensors in each pit hash lookup the column number for each sensor do cool stuff end end any ideas ? or should I just stick with python for this? cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] creating a lookup table in awk
Hi Issac, Actually I regularly use R + Postgresql for all of my research, thanks though. I am helping a colleague -- and we looking for a quick alternative to python. thanks, dylan On Thursday 03 May 2007 13:28, Issac Trotts wrote: If you want to do data analysis and plotting then your best bet would probably be GNU R: www.r-project.org. It has a steeper learning curve than Python, but it's really dedicated to doing stats. Issac On 5/3/07, Dylan Beaudette [EMAIL PROTECTED] wrote: Hi everyone, I have a rather interesting problem, that i would like to solve with awk or bash scripting - but if all else fails then I will switch to python. here is the idea: i have a set of files, each with 30 columns - coming from a set of 10 data loggers. each file represents the output from a single datalogger. the ordering of the columns is consistant, and maps to a soil-pit id and moisture probe id. I need to create a look-up table to index ids to column numbers. Then, looping over the dimensions of the look-up table would allow me to process the file line-by line, column-by column accordingly: do bash or awk support these type of data structures? this is how i would envision it in something like python / php: # a multi-dimensional hash for each datalogger: # referencing the sensors assigned to a pit # and the row number in which the sensor values exist in the output file datalogger_1[ pit_1[ sensor_1 = 4 sensor_2 = 5 sensor_3 = 6 sensor_4 = 7 ], pit_2[ sensor_1 = 8 sensor_2 = 9 sensor_3 = 10 sensor_4 = 11 sensor_5 = 12 ], ... ] # the logic of the program would be : iterate over the pits in the datalogger hash iterate over the sensors in each pit hash lookup the column number for each sensor do cool stuff end end any ideas ? or should I just stick with python for this? cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] postgres: run function on each row returned from select statement
On 4/23/07, Harold Lee [EMAIL PROTECTED] wrote: Dylan Beaudette wrote: Is there any way to run a function, which expects a single value as an argument, for each row returned from a select statement? Note that this is a special function, used in the following way: SELECT sum(length(the_geom )) as dist_meters FROM shortest_path_as_geometry('roads', 2192, 154) ; In the above example the function shortest_path_as_geometry expects three arguments... Is there any way to feed a function like this its arguments from column returned from a previous select statement? Or, would this function have to be re-written to allow for this flexibility? thanks in advance, You question isn't 100% clear to me, but I'm not going to let that stop me from opining :-) Sounds like you have some query that returns (string, roadid1, roadid2) and you want to call the shortest_path_as_geometry function on each row that comes back from that, then sum the length of those geometries. Approach #1: Change the sum_path_as_geometry function to take an array or row instead of three value and move the shortest_path_as_geometry function into the SELECT list, e.g. SELECT sum(length(sum_path_as_geometry(a.c1, a.c2, a.c3))) FROM ( SELECT c1, c2, c3 FROM ... ) a; Approach #2: Glue the other query and sum_path_as_geometry together with a new table function (i.e. a function that returns a set of rows). Define the new function to apply the sum_path_as_geometry function to the appropriate rows and then use the new function in your query: SELECT sum(length(the_geom)) FROM new_function(); Thanks for the ideas Harold. Here is the actual function definition, it would be nice to make the changes that you suggested: allow this function to work on rows of data instead of a single set of 3 values. --- -- Compute the shortest path using edges and vertices table, and return -- the result as a set of (gid integer, the_geom gemoetry) records. --- CREATE OR REPLACE FUNCTION shortest_path_as_geometry(geom_table varchar, geom_source anyelement, geom_target anyelement) RETURNS SETOF GEOMS AS $$ DECLARE r record; source int4; target int4; path_result record; v_id integer; e_id integer; geom geoms; BEGIN FOR r IN EXECUTE 'SELECT id FROM ' || quote_ident(geom_table) || '_vertices WHERE geom_id = ' || quote_literal(geom_source) LOOP source = r.id; END LOOP; IF source IS NULL THEN RAISE EXCEPTION 'Can''t find source edge'; END IF; FOR r IN EXECUTE 'SELECT id FROM ' || quote_ident(geom_table) || '_vertices WHERE geom_id = ' || quote_literal(geom_target) LOOP target = r.id; END LOOP; IF target IS NULL THEN RAISE EXCEPTION 'Can''t find target edge'; END IF; FOR geom IN SELECT * FROM shortest_path_as_geometry_internal_id(geom_table, source, target) LOOP RETURN NEXT geom; END LOOP; RETURN; END; $$ LANGUAGE 'plpgsql' VOLATILE STRICT; the above function then calls another function, which actually does the work, but instead using internal id numbers: CREATE OR REPLACE FUNCTION shortest_path_as_geometry_internal_id(geom_table varchar, source int4, target int4) RETURNS SETOF GEOMS AS $$ DECLARE r record; path_result record; v_id integer; e_id integer; geom geoms; BEGIN FOR path_result IN EXECUTE 'SELECT vertex_id, edge_id FROM shortest_path(''SELECT id, source, target, cost FROM ' || quote_ident(geom_table) || '_edges '', ' || quote_literal(source) || ' , ' || quote_literal(target) || ' , false, false) ' LOOP v_id = path_result.vertex_id; e_id = path_result.edge_id; FOR r IN EXECUTE 'SELECT gid, the_geom FROM ' || quote_ident(geom_table) || ' WHERE edge_id = ' || quote_literal(e_id) LOOP geom.gid := r.gid; geom.the_geom := r.the_geom; RETURN NEXT geom; END LOOP; END LOOP; RETURN; END; $$ LANGUAGE 'plpgsql' VOLATILE STRICT; Can these type of functions easily be generalized to work on a rows of data instead of what they currently use? any ideas would be greatly appreciated! PS: these functions are part of a shortest path routing solution for PostGIS, the spatial extension to PostgreSQL. Cheers, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] postgres: run function on each row returned from select statement
Hi everyone, this may be a simple question, but I cannot seem to figure it out: Is there any way to run a function, which expects a single value as an argument, for each row returned from a select statement? Note that this is a special function, used in the following way: SELECT sum(length(the_geom )) as dist_meters FROM shortest_path_as_geometry('roads', 2192, 154) ; In the above example the function shortest_path_as_geometry expects three arguments... Is there any way to feed a function like this its arguments from column returned from a previous select statement? Or, would this function have to be re-written to allow for this flexibility? thanks in advance, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] OCR notes
Hi everyone, I am about to embark on an exciting adventure into the land of original character recognition, processing nearly 1,000 documents and extracting numbers from them. I am interested in any anecdotal wisdom regarding: 1. efficient scanning parameters: DPI color / BW / grayscale 2. pre-processing steps one might do with imagemagick 3. any filtering that one might do to get ready for the OCR I plan to use Google's new OCR project, ocropus, which currently uses the 'tesseract' engine. Naive attempts to OCR these documents is resulting in marginal accuracy, so any help is appreciated. Vertical and horizontal lines on the original documents are confusing the OCR, so removing them might be a start. I have thought about extracting each 'cell' of data with imagemagick, and then running the resulting mini-images though the OCR... that might be a last resort though... thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] NAT in vmware broken
Hi everyone, Fired up vmware for the first time in a while, and noticed that NAT-based networking does not work anymore. I have a nearly identical machine nearby where this is not the case. Both are running Debian/unstable- however the working machine is using a k7-based kernel. I noticed that when I run ifconfig -a there is no listing for the vmnet8 device, which is normally used for NAT in vmware. Has anyone else experienced anything like this? I have tried updating vmware to the latest version, and re-compiled the kernel modules... still no luck. cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Mirrored drive setup for backup
Hi everyone, I am looking into some methods of keeping some of our labs shared data in a slightly safer disk setup. Currently there are two single 300Gb SATA drives in this machine. I am thinking about installing another set of mirrored 300Gb drives and using this mirrored setup to hold all of the shared data. This would give me two single drives for operations which require instant access (i have heard that a mirrored setup is not as fast as a single drive), and the mirrored array for redundancy. This machine is running Debian/Unstable, and has a Tyan Thunder K8WE motherboard. It looks like this board supports up to 4 SATA drives, along with RAID 0, 1, 0+1, and 'JBOD' . Another machine in this lab only supports RAID level 0 for the SATA connectors. Is there a workable software RAID strategy for mirroring disks in linux or will I need to purchase a new hard disk controller? Would this type of setup be either possible or worthwhile for a simple safeguard against hardware failure? If not, are there other options which would be better suited for this task? Thanks in advance for any ideas! dylan -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] ignore auth for specific page in .htaccess file
Hi everyone, any tips on ignoring a single file within a dir protected by an .htaccess file? I have tried using the FilesMatch directive with no luck. Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] pl/pgsql question: dynamic access to record.column
Hi, I am learning how to use PL/PGSQL and have come upon something that I just don't seem to be able to solve on my own. I have a function, which takes a column name as an argument. A FOR loop iterates over rows, using a RECORD datatype to store each iteration of the loop. If I hard-code in a column name into some calculation, things work fine. However, I cannot seem to figure out how to _dynamically_ access a column from a RECORD datatype: -- this works fine : 'field_pct_clay' is a hard-coded column name DEFINE hz_record RECORD; wt_column FLOAT; thick FLOAT; ... wt_column := wt_column + (hz_record.field_pct_clay * thick) ; -- this does not work: 'the_column' is an argument to the function being defined: wt_column := wt_column + (hz_record.the_column * thick) ; ^ obviously, the interpreter tells me that there is no column named 'the_column' in the RECORD iterator... Searching on google, it seems that a dynamic expression like this needs to be evaluated with the EXECUTE keyword However something like this does not work: wt_column := EXECUTE 'wt_column + (hz_record.' || quote_ident(the_column) || ' * thick)' ; any tips would be a great help! thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] new gaming computer
for some hints on maintaining a working nvidia binary driver (kernel and X.org) I have put some of my notes here: http://casoilresource.lawr.ucdavis.edu/drupal/node/299 of particular interest is the source article here: http://home.comcast.net/%7Eandrex/Debian-nVidia/installation.html Note that this is for a debian system, might work on debian-derivatives... ? Cheers, Dylan On Sunday 07 January 2007 16:31, Bill Kendrick wrote: On Sun, Jan 07, 2007 at 03:01:31PM -0800, Jimbo wrote: Maybe I can bring it to the next installfest IF they have some sort of wifi internet. W/o internet I won't be able to research or d/l what is needed for the genius that will be helping me get 3d working. FWIW, _I_ figured out Nvidia drivers on Kubuntu, and have accel'd 3D working for my purposes (lately, Xgl, Compiz and Beryl GUI eye candy... previously, just to get things like Stellarium and Google Earth working... I'm not a hardcore gamer, and, while I have Windows on a drive in that box, I no longer touch it since work issued me a laptop). So, it shouldn't be _too_ hard. I would really like to get pclinux working because I am very familiar with it. On my last pc I was able to get 3d working and was even able to watch, edit and even save/burn dvd's, be it copywrited or not. Plus it has bittorent, synaptic w/ fresh cutting edge supositories, frostwire and other things all rolled up into one. It was soo user friendly. I'm not familiar with PCLinuxOS, having only ever used RedHat, Debian and Kubuntu... nor will I be attending an Installfest any time soon. But, I say: RSPV for the next one. I think they're trying to work out when it will be, probably later this month: http://www.lugod.org/if/ For discussion, see: http://lists.lugod.org/pipermail/vox-if/2007-January/thread.html to participate, go sign up at: http://www.lugod.org/mailinglists/#vox-if -bill! [EMAIL PROTECTED] http://www.newbreedsoftware.com/ ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] LATEX, ucthesis.cls and changes in font size
On Thursday 07 December 2006 16:32, [EMAIL PROTECTED] wrote: On Thu 07 Dec 06, 8:50 AM, Dylan Beaudette [EMAIL PROTECTED] said: On 12/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue 05 Dec 06, 7:44 PM, Dylan Beaudette [EMAIL PROTECTED] said: Greetings, I am attempting to use the ucthesis.cls document class for my MS thesis, but have run into a bit of a snag in terms of altering font size. Commands like \tiny \scriptsize etc. do not seem to have any effect within a verbatim environment. I did not have this problem when using a different document class. Ideally I would like all verbatim blocks to be slightly smaller than the rest of the text so that they don't take up as much room on the page. here is a link to some of the details: http://www.movesinstitute.org/~kolsch/ucthesis/ucthesis.readme Cheers, Hey Dylan, Do yourself a favor and don't ever use verbatim. There's another package which is at least an order of magnitude better. Maybe even two orders of magnitude. It's called fancyvrb. You can change font size quite easily with it: \usepackage{fancyvrb} \begin{Verbatim}[fontsize=8] foobar \end{Verbatim} The fancyvrb environment rocks supremely when you include another package called 'relsize' because it allows you to change fontsize relative to the current fontsize: \usepackage{fancyvrb,relsize} \begin{Verbatim}[fontsize=\relsize{-2}] foobar \end{Verbatim} It also allows you to print line numbers next to the text on the left margin (note you can also use numbers=right to get the numbers to the right of the text). \begin{Verbatim}[fontsize=\relsize{-2},numbers=left] item 1 item 2 item 3 \end{Verbatim} You can even define your own environment so you don't have to keep putting the same options within the [] everytime you use fancyvrb: \DefineVerbatimEnvironment% {VerbatimProg}% {Verbatim}% {numbers=left, fontsize=\relsize{-2}, frame=single} \begin{VerbatimProg} int main( int argc, char *argv[] ); \end{VerbatimProg} BTW, the frame=single means put a frame box around the verbatim text. Another very cool feature. One really great thing about fancyvrb is that you __can__ use LaTeX commands from within the verbatim environment. OH YE!! \DefineVerbatimEnvironment% {VerbatimCmdProg}% {Verbatim}% {numbers=left, fontsize=\relsize{-2}, frame=single, commandchars=\\\{\}} Allows you to do... \begin{VerbatimCmdProg} int main( void ) \{ printf(hello world\Backslash{n}); \label{printf_call} return 0; \} \end{VerbatimCmdProg} Here we call {\tt printf()} at line \ref{printf_call}. Two things to note when you use the commandchars feature of fancyvrb: * You have to escape the French braces { and }. * You also have to jump through a hoop to print backslashes. Here's how I defined \Backslash: \newcommand{\Backslash}[1]{\texttt{\symbol{92}}#1} This is just a very tiny example of the power of fancyvrb. Have fun! Peter Thanks Pete! I will look into this immediately! Also, as a more general question: would you or any others recommend using the slightly dated ucthesis.cls ? Or would the book class, with some tweaking be better? Any ideas? Cheers, Dylan The ucthesis is subtley different from Davis's requirement. I believe ucthesis is actually ucberkeleythesis. Apparently the requirements are _not_ uniform across the UC campuses. That said, it gets you very close. It all depends on the mood of the person who checks your document. I don't think anyone hunches over your thesis with a ruler and straight edge any longer. There was a very minor thing with my dissertation, but I can't even remember what it was anymore. That's the other fiction...since the advent of a computer, all of a sudden, reformatting your thesis takes on a whole different dimension. A few clicks of a keyboard. Back in the day, of course, you had to rewrite a 100+ page tech document. I would start with ucthesis since it's so close to what you need. Borrowing someone's modified file is the best thing to do. If you like, I can dig around for my modified ucthesis and send it to you offlist. Pete ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech Thanks Pete. The document is looking better already. Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech
Re: [vox-tech] LATEX, ucthesis.cls and changes in font size
On Friday 08 December 2006 10:47, Shwaine wrote: On Thu, 7 Dec 2006, Dylan Beaudette wrote: Thanks Pete! I will look into this immediately! Also, as a more general question: would you or any others recommend using the slightly dated ucthesis.cls ? Or would the book class, with some tweaking be better? Any ideas? Cheers, Dylan Dylan, I will mail you privately the ucdthesis tarball that I used for my PhD thesis that was submitted in June. It's one of those holy artifacts handed down from one Computer Science major to another, but I suppose we can go outside the department for this once, heh. It was updated by a former roommate of mine and several others to be consistent with UC Davis requirements. I added one more update to properly do the UMI abstract in the abstract environment. Additionally, the inline abstract needs to be moved inside of the frontmatter environment according to my coordinator, so I updated the sample document to reflect that. I did not change the font size of my verbatim environments, so I can't tell you if that will work or not. And Pete, they do still check the margins with rulers, along with making sure the paper had the appropriate watermark and that all the pages were numbered appropriately. As if my filing wasn't hectic and stressful enough, I had to sit there for 10 minutes while she checked all the minutia. At least I walked out with the little pieces of paper, although I'm still waiting for the actual diploma to be mailed to me. Melissa Danforth Melissa, Wow! This is will be a great time save for both me and my wife (writing MS thesis at the same time). In addition this fills a nice gap in my latex installs -- texlive at work (debian unstable) has a newer ucthesis.cls than my texlive install at home (mac os ) -- causing strange errors. I will double check with the authorities and post back of this document class is ok as far as my dept. is concerned- it should be... just for the record, I unarchived what you sent, adjusted my thesis, and it compiles cleanly into a shiny PDF -- thanks! Cheers, dylan -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] LATEX, ucthesis.cls and changes in font size
On 12/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Tue 05 Dec 06, 7:44 PM, Dylan Beaudette [EMAIL PROTECTED] said: Greetings, I am attempting to use the ucthesis.cls document class for my MS thesis, but have run into a bit of a snag in terms of altering font size. Commands like \tiny \scriptsize etc. do not seem to have any effect within a verbatim environment. I did not have this problem when using a different document class. Ideally I would like all verbatim blocks to be slightly smaller than the rest of the text so that they don't take up as much room on the page. here is a link to some of the details: http://www.movesinstitute.org/~kolsch/ucthesis/ucthesis.readme Cheers, Hey Dylan, Do yourself a favor and don't ever use verbatim. There's another package which is at least an order of magnitude better. Maybe even two orders of magnitude. It's called fancyvrb. You can change font size quite easily with it: \usepackage{fancyvrb} \begin{Verbatim}[fontsize=8] foobar \end{Verbatim} The fancyvrb environment rocks supremely when you include another package called 'relsize' because it allows you to change fontsize relative to the current fontsize: \usepackage{fancyvrb,relsize} \begin{Verbatim}[fontsize=\relsize{-2}] foobar \end{Verbatim} It also allows you to print line numbers next to the text on the left margin (note you can also use numbers=right to get the numbers to the right of the text). \begin{Verbatim}[fontsize=\relsize{-2},numbers=left] item 1 item 2 item 3 \end{Verbatim} You can even define your own environment so you don't have to keep putting the same options within the [] everytime you use fancyvrb: \DefineVerbatimEnvironment% {VerbatimProg}% {Verbatim}% {numbers=left, fontsize=\relsize{-2}, frame=single} \begin{VerbatimProg} int main( int argc, char *argv[] ); \end{VerbatimProg} BTW, the frame=single means put a frame box around the verbatim text. Another very cool feature. One really great thing about fancyvrb is that you __can__ use LaTeX commands from within the verbatim environment. OH YE!! \DefineVerbatimEnvironment% {VerbatimCmdProg}% {Verbatim}% {numbers=left, fontsize=\relsize{-2}, frame=single, commandchars=\\\{\}} Allows you to do... \begin{VerbatimCmdProg} int main( void ) \{ printf(hello world\Backslash{n}); \label{printf_call} return 0; \} \end{VerbatimCmdProg} Here we call {\tt printf()} at line \ref{printf_call}. Two things to note when you use the commandchars feature of fancyvrb: * You have to escape the French braces { and }. * You also have to jump through a hoop to print backslashes. Here's how I defined \Backslash: \newcommand{\Backslash}[1]{\texttt{\symbol{92}}#1} This is just a very tiny example of the power of fancyvrb. Have fun! Peter Thanks Pete! I will look into this immediately! Also, as a more general question: would you or any others recommend using the slightly dated ucthesis.cls ? Or would the book class, with some tweaking be better? Any ideas? Cheers, Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] extraction of numbers from graph images
Hi, i know that I have heard of something like this in the past- even perhaps a linux program... say i have a scanned graph, with legible axis - is there a program that with a little help can extract the coordinate data from the graph? Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] LATEX, ucthesis.cls and changes in font size
Greetings, I am attempting to use the ucthesis.cls document class for my MS thesis, but have run into a bit of a snag in terms of altering font size. Commands like \tiny \scriptsize etc. do not seem to have any effect within a verbatim environment. I did not have this problem when using a different document class. Ideally I would like all verbatim blocks to be slightly smaller than the rest of the text so that they don't take up as much room on the page. here is a link to some of the details: http://www.movesinstitute.org/~kolsch/ucthesis/ucthesis.readme Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] VMware and usb disks
On Friday 27 October 2006 08:26, Wes Hardaker wrote: DB == Dylan Beaudette [EMAIL PROTECTED] writes: DB is there any good way to tell hal / hotplug not to load the driver DB when VMware is running ? Move the linux module aside in the module tree ;-) Thanks Wes. Any tips on how to do this ? -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] adding line numbers to an HTML file
Hi everyone, wondering if there is a simple way to add line numbers to every non-html tag in a webpage: here is a dirty hack that does not work very well: lynx -source http://casoilresource.lawr.ucdavis.edu/drupal/node/319/print | cat -n test.html or - if there is a way to add line numbers to non-tag data, similar to how the paste (http://rafb.net/paste/) service works. any ideas would be very helpful! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] adding line numbers to an HTML file
On Thursday 26 October 2006 14:25, Micah Cowan wrote: On Thu, 2006-10-26 at 14:23 -0700, Dylan Beaudette wrote: Hi everyone, wondering if there is a simple way to add line numbers to every non-html tag in a webpage: here is a dirty hack that does not work very well: lynx -source http://casoilresource.lawr.ucdavis.edu/drupal/node/319/print | cat -n test.html or - if there is a way to add line numbers to non-tag data, similar to how the paste (http://rafb.net/paste/) service works. any ideas would be very helpful! The link you show doesn't seem to distinguish tag data, and it's really not clear to me exactly what you're trying to accomplish. Perhaps if you could post a short before-and-after example? Depending on what you want, Perl or Python--or possibly even just awk--should be able to meet your needs, but I can't really give you a solution until I understand the problem properly :) some clarification is indeed warranted: the page in question (http://casoilresource.lawr.ucdavis.edu/drupal/node/319/print) produces printer-friendly output (simple html). I would like to add line numbers to this document so that the students in my class can easily refer to specific lines of code. In my hack posted above, i add a line number to *every* line - even html tags like head, body , etc. I would like to add line numbers to the text in-between html elements. i.e body 1 something 2 about 3 some other thing 4 here ... /body perhaps some regex-fu is required? -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] VMware and usb disks
Hi everyone, I have a machine running linux and vmware, with a virtual machine running windows. I find that the first time i plug in a usb key I am able to access it from the virtual machine. every subsequent time i find that the usb_storage kernel driver in linux takes over and I cannot access the device in the virtual machine. is there any good way to tell hal / hotplug not to load the driver when VMware is running ? thanks in advance! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] mime types and firefox
Hi everyone, running debian unstable with the latest version of firefox. Is there some way to make firefox prompt for an application to open a given file type? i.e. i would like all .xml documents to be opened by kxmleditor. in other web browsers it is possible to setup helper applications. How can I do this with firefox? any ideas? thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] connecting to postgresql via with python 2.5
Hi everyone, just niticed that some of my older python scripts are not working as expected when running the new python2.5 version: mostly with respect to pgsql connections. it looks like the module 'pgdb' is no longer needed however, i use a pgdb.connect() method associated with this module for connections to postgresql. any ideas on how to accomplish the same thing with python2.5 ? thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] PHP and XML or python and XML ....
hi everyone, I am looking for a good way to export records from a series of tables stored in a RDBMS. currently I am entering data into this system via a PHP-driven web-interface. I would like to be able to export data from the database into a common, parseable format (XML) . I am struggling with the best approach to dynamically creating XML from the results of a query. so far I have played around with doing the work in PHP with XML_fastcreate (http://pear.php.net/package/XML_FastCreate) ... but am having some difficulties. Now I am considering relegating all import/export operations to a python script, so I do not have to deal with web-browser issues at all. Does anyone have any suggestions for semi-automated creation of XML via python, based on the results of a DB query ? For some background: I am trying to come up with a convenient, intermediate format for storing complex data- which will eventually all end up in a DB. However several people will potentially be generating data, and some without network access- thus the need for a transportable intermediate file. any thoughts / input would be greatly appreciated. Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] dual-boot machine / vmware / SATA drives...
Hi everyone, recently purchased a new machine for the lab, and have plan on using it for the following : two SATA drives, one with WinXP the other with Debian Linux. Right now it boots into Linux by default, and will provide remote-login services among other things to our lab members. The Windows XP install was going to be accessed via VMware, with linux as the host operating system of course, for people who actually sit down at the machine. I was planning on accessing the first SATA disk in raw mode as opposed to creating a virtual disk for windows to live in. however, according to the vmware docs, raw access mode will not work with SCSI disks. with kernel 2.6 SATA devices appears as SCSI devices- so it seems that this approach will not work. one possible work-around would be to dump windows on the first disk, format with ext3, and create a large VMware virtual disk in its place. This option should work fine. one small problem (?) -- my bootloader (grub) is stored in the MBR of the first SATA disk, will re-partitioning this disk destroy the MBR ? and if so, how can i safely restore it ? any comments / thoughts -- I am pretty sure that the above is reasonable, but I would sure appreciate any other options! thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] auto-load Xsources / Xdefaults at login
Hi everyone, recently noticed that i now have to manually load my .Xresources / .Xdefaults everytime i restart X xrdb -load .Xdefaults xrdb -load .Xresources i have put these lines into .bashrc and .bash_profile ... but without any effect. any ideas on how to address this ? also, which of these is the best to define aliases and modifications to PATH ? thanks in advance! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] auto-load Xsources / Xdefaults at login
thanks for the tips ken, i am using kde, and after making the changes you suggested things are not yet working... i still have to manually run xrdb ... note that this happened after a fairly recent upgrade to unstable. thoughts ? dylan On Friday 22 September 2006 12:44, Ken Bloom wrote: On Friday 22 September 2006 14:56, Dylan Beaudette wrote: Hi everyone, recently noticed that i now have to manually load my .Xresources / .Xdefaults everytime i restart X xrdb -load .Xdefaults xrdb -load .Xresources i have put these lines int o .bashrc and .bash_profile ... but without any effect. any ideas on how to address this ? What desktop environment are you using. I've written my own .xsession, so the secret to loading .bashrc and .bash_profile is: [EMAIL PROTECTED] ~]$ head -n 1 .xsession #!/bin/bash --login You should put the xrdb command in .xsession, the PATH modifications in .bash_profile, and the aliases in .bashrc. Oh, and each of my .bashrc and my .bash_profile looks to see if the other one was called (by checking for an environment variable that the other sets) and if it wasn't called, it calls it: At the beginning of .bashrc: export BASHRC_STARTED=true if [[ x$R == x ]]; then if [ -f .bash_profile ]; then source .bash_profile fi fi at the end of .bash_profile: # include .bashrc if it exists if [[ x$BASHRC_STARTED == x ]]; then if [ -f ~/.bashrc ]; then source ~/.bashrc fi fi (And somewhere in .bash_profile, I set the envornment variable $R to point to the subversion repostiory that contains all of my documents.) --Ken -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] aptitude problems after a couple dist-upgrades
On Wednesday 20 September 2006 14:08, Cam Ellison wrote: Dylan Beaudette wrote: Thanks for the comments Richard; However, when i performed the dist-upgrade i did the following: updated to latest Sarge changed sources to testing updated to latest testing changed sources to unstable updated to latest unstable note that the initial sources list pointed to Sarge i'll wait a couple days to see if this fixes itself. Keep in mind that, for Debian, unstable is definitely bleeding edge. Weird bugs show up sometimes, because the package itself is not quite right. Cheers Cam Thanks for the tips. now for some new strangeness after one more shot at a dist-upgrade on this machine, i am informed that the nvidia-glx package is broken and will need to be removed if i am to keep xorg installed #aptitude install xserver-xorg The following packages are BROKEN: nvidia-glx-dev The following NEW packages will be automatically installed: xkb-data xresprobe xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-cyrix xserver-xorg-video-dummy xserver-xorg-video-fbdev xserver-xorg-video-glint xserver-xorg-video-i128 xserver-xorg-video-i740 xserver-xorg-video-i810 xserver-xorg-video-imstt xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-newport xserver-xorg-video-nsc xserver-xorg-video-nv xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via xserver-xorg-video-vmware xserver-xorg-video-voodoo The following packages will be automatically REMOVED: nvidia-glx note that kde still will not install, and now xorg is borked. not sure what to do now... anyone have an idea? thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] aptitude problems after a couple dist-upgrades
Hi everyone, just installed Debian Sarge from some old install media, and performed a dist-upgrade twice to get to the unstable distribution. however, i am not able to install a couple of new packages, namely kde: #apti tude install kde [] The following packages are BROKEN: kcontrol kdepim-kfile-plugins kpilot [] The following packages have unmet dependencies: kdepim-kfile-plugins: Depends: libpisock8 but it is not installable kcontrol: Depends: libraw1394-5 but it is not installable kpilot: Depends: libpisock8 but it is not installable Resolving dependencies... The following actions will resolve these dependencies: Keep the following packages at their current version: blinken [Not Installed] kcontrol [Not Installed] kde [Not Installed] kde-amusements [Not Installed] kde-core [Not Installed] kdeaddons [Not Installed] kdeadmin [Not Installed] kdebase [Not Installed] kdeedu [Not Installed] kdepim [Not Installed] kdepim-kfile-plugins [Not Installed] konq-plugins [Not Installed] konqueror [Not Installed] kpilot [Not Installed] lilo-config [Not Installed] any ideas on how to fix this? also i noticed that this machine calls itself 'debian testing/unstable' -- what exactly does this mean? thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] aptitude problems after a couple dist-upgrades
Thanks for the comments Richard; However, when i performed the dist-upgrade i did the following: updated to latest Sarge changed sources to testing updated to latest testing changed sources to unstable updated to latest unstable note that the initial sources list pointed to Sarge i'll wait a couple days to see if this fixes itself. thanks! Dylan On Wednesday 20 September 2006 10:51, Richard Harke wrote: You probably have a mismatch between distribution versions. There are two ways to name debian releases and they move with respect to each other whenever a new version is released. i.e., at some point sarge was testing and later it became stable But the install likely set up your sources.list to point at unstable rather than explicitly pointing to sarge. So when you did a apt-get dist-upgrade, you were actually trying to jump a whole release. This has been known to create the crap you are seeing. I'm not sure how to fix this except to start over and before you do the dist-upgrade, be sure your sources.list is pointing explicitly to sarge. Once you have the latest sarge, you can change your sources.list and move to etch, if you want to. You could of course just stay with sarge. Richard On Wed September 20 2006 10:40, Dylan Beaudette wrote: Hi everyone, just installed Debian Sarge from some old install media, and performed a dist-upgrade twice to get to the unstable distribution. however, i am not able to install a couple of new packages, namely kde: #apti tude install kde [] The following packages are BROKEN: kcontrol kdepim-kfile-plugins kpilot [] The following packages have unmet dependencies: kdepim-kfile-plugins: Depends: libpisock8 but it is not installable kcontrol: Depends: libraw1394-5 but it is not installable kpilot: Depends: libpisock8 but it is not installable Resolving dependencies... The following actions will resolve these dependencies: Keep the following packages at their current version: blinken [Not Installed] kcontrol [Not Installed] kde [Not Installed] kde-amusements [Not Installed] kde-core [Not Installed] kdeaddons [Not Installed] kdeadmin [Not Installed] kdebase [Not Installed] kdeedu [Not Installed] kdepim [Not Installed] kdepim-kfile-plugins [Not Installed] konq-plugins [Not Installed] konqueror [Not Installed] kpilot [Not Installed] lilo-config [Not Installed] any ideas on how to fix this? also i noticed that this machine calls itself 'debian testing/unstable' -- what exactly does this mean? thanks! ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Links for presentation material from last night's meeting on GIS, GPS, cartography
can be found here: http://casoilresource.lawr.ucdavis.edu/drupal/node/95 Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] awk and multi-line records
so it looks like my simple approach to dealing with some files, that normally contain single-line records, breaks when they decide to use multiline records some of the time the nature of the data is something like this: fixed number of columns, with '|' delimiter: col 1| col 2 | col 3 | ... col_n col 1| col 2 | col 3 | ... col_n col 1| col 2 | col 3 | ... col_n col 1| col 2 | col 3 | ... col_n some of the time one of these columns will contain multi-line text: col 1| col 2 | col 3 | blah blah blah ... blah blah blah ... blah blah blah ... blah blah blah ... blah blah blah ... | ... col_n (!) I was using a simple awk script to add an extra column to each record as follows: awk -v areasymbol=$areasymbol '{gsub(\,) ; print areasymbol|$0}' input-table output-table ... newco | col 1| col 2 | col 3 | ... col_n newcol | col 1| col 2 | col 3 | ... col_n ... the question is then: is there any simple way to add a column to this kind of flat text file using awk when there is: 1. consistent field delimeters 2. consistent number of fields 3. inconsistent records delimiters thoughts? PS: this is being used to prep. some data for loading into PGSQL with the COPY command. Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] webpage element positioning via coordinates
Hi, how about PHP and GD - and put it into an image[map] ? or use a pre /pre environment so that a fixed width font is used? treat the space as a matrix / grid, starting from 1,1 in the upper left-hand corner? Dylan On Tuesday 01 August 2006 21:00, Peter Jay Salzman wrote: I'd like to position text links in an ellipse, like: a h b g c f d e I may be adding more links, so it behooves me to use a general equation for the coordinates. To keep the discussion simple, let's talk about a circle. Is it possible to position something using the equation: x,y = R * cos(t), sin(t) where t = i 2\pi / n where n-1 is the number of text links and i runs from 0 to n? Is it possible to position things via coordinates like this on a web page? Thanks, Pete -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] debian mess: after dist-upgrade machine does not boot!
Well damnit. After doing a couple upgrades, and then moving to X.org, 2.6.16 kernel, and the new NVIDIA drivers, I thought that I was going to be ok after an aptitude dist-upgrade Things were working fine, until I started monkeying around with sound modules. Somehow KDE was breaking the snd-intel8x0 kernel module... but this is a side story. After getting fed-up with the sound issues, I rebooted the machine. About half-way through the boot sequence, the message: Begin: waiting for root file system... and then nothing. Fortunately I have an older Knoppix CD, that I am currently using to boot the machine, and write this email. Everything looks fine on the HD, but I knoticed one thing. In /boot/grub/menu.lst I see that: title Debian GNU/Linux, kernel 2.6.16-2-686-smp root(hd0,2) kernel /boot/vmlinuz-2.6.16-2-686-smp root=/dev/hdc3 ro initrd /boot/initrd.img-2.6.16-2-686-smp savedefault boot I have a serial-ATA drive in this machine, and since kernel 2.6 this drive has appeared as a SCSI device. I think that aptitude must have changed the values in the grub configuration so that: root=/dev/sda3 -- root=/dev/hdc3 I am hoping that this is the reason that my machine is not booting. If so, is there anyway to make aptitude remeber that my root drive should be on /dev/sda3 ??? Ok. crossing my fingers, and re-booting to see if this fixed things... Dylan ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] Re: debian mess: after dist-upgrade machine does not boot!
Ok. Looks like fixing /boot/grub/menu.lst got my machine into a bootable state. it sure would be nice to know why aptitude changes this file without asking... Dylan On Tuesday 25 July 2006 13:14, Dylan Beaudette wrote: Well damnit. After doing a couple upgrades, and then moving to X.org, 2.6.16 kernel, and the new NVIDIA drivers, I thought that I was going to be ok after an aptitude dist-upgrade Things were working fine, until I started monkeying around with sound modules. Somehow KDE was breaking the snd-intel8x0 kernel module... but this is a side story. After getting fed-up with the sound issues, I rebooted the machine. About half-way through the boot sequence, the message: Begin: waiting for root file system... and then nothing. Fortunately I have an older Knoppix CD, that I am currently using to boot the machine, and write this email. Everything looks fine on the HD, but I knoticed one thing. In /boot/grub/menu.lst I see that: title Debian GNU/Linux, kernel 2.6.16-2-686-smp root (hd0,2) kernel/boot/vmlinuz-2.6.16-2-686-smp root=/dev/hdc3 ro initrd/boot/initrd.img-2.6.16-2-686-smp savedefault boot I have a serial-ATA drive in this machine, and since kernel 2.6 this drive has appeared as a SCSI device. I think that aptitude must have changed the values in the grub configuration so that: root=/dev/sda3 -- root=/dev/hdc3 I am hoping that this is the reason that my machine is not booting. If so, is there anyway to make aptitude remeber that my root drive should be on /dev/sda3 ??? Ok. crossing my fingers, and re-booting to see if this fixed things... Dylan -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] KDE somehow breaking snd-intel8x0 kernel module
back to the task at hand. As previously mentioned, a dist-upgrade broke sound support on this machine. If I kill KDE, and manually remove/re-insert the snd-intel8x0 kernel module sound magically works. However, there is no (known) way for me to do this type of module re-load when KDE is running: modprobe -r snd_intel8x0 FATAL: Module snd_intel8x0 is in use. I can't seem to figure out what in the heck is using it though... the sound system in KDE is not enabled... Perhaps there is a way to force the re-load of a kernel module? Perhaps there is a setting in KDE that can prevent all of this... I have heard that ALSA is the way to go for sound in linux, but alsaconf always seems to crash KDE / terminal app that i launch it from. Any ideas? Thanks in advance, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] debian mess: after dist-upgrade machine does not boot!
On Tuesday 25 July 2006 13:24, Ken Bloom wrote: On Wednesday 31 December 1969 17:59, Dylan Beaudette wrote: Well damnit. After doing a couple upgrades, and then moving to X.org, 2.6.16 kernel, and the new NVIDIA drivers, I thought that I was going to be ok after an aptitude dist-upgrade Things were working fine, until I started monkeying around with sound modules. Somehow KDE was breaking the snd-intel8x0 kernel module... but this is a side story. After getting fed-up with the sound issues, I rebooted the machine. About half-way through the boot sequence, the message: Begin: waiting for root file system... and then nothing. Fortunately I have an older Knoppix CD, that I am currently using to boot the machine, and write this email. Everything looks fine on the HD, but I knoticed one thing. In /boot/grub/menu.lst I see that: title Debian GNU/Linux, kernel 2.6.16-2-686-smp root(hd0,2) kernel /boot/vmlinuz-2.6.16-2-686-smp root=/dev/hdc3 ro initrd /boot/initrd.img-2.6.16-2-686-smp savedefault boot I have a serial-ATA drive in this machine, and since kernel 2.6 this drive has appeared as a SCSI device. I think that aptitude must have changed the values in the grub configuration so that: root=/dev/sda3 -- root=/dev/hdc3 I am hoping that this is the reason that my machine is not booting. If so, is there anyway to make aptitude remeber that my root drive should be on /dev/sda3 ??? Ok. crossing my fingers, and re-booting to see if this fixed things... Dylan Debian's kernels run update-grub to update your grub configuration every time you upgrade kernels. This causes the stanzas referring to your kernels to be overwritten. The proper way to change kernel parameters in Debian grub is to edit the commented line that starts # kopt= (do not uncomment) and then run update-grub which will propagate the new kernel parameters to the kernels. --Ken Bloom Thanks Ken. Sage advice. I made the changes. Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] PostGreSQL: COPY FROM syntax
Hi everyone, I am attempting to load in some data files into pgsql, however the COPY FROM function is not allowing insertion of records that do not match the column types. i.e. if a column in the input text file is quoted, then it is interpreted as a string, and therefore an illegal entry into an integer field. is there anyway to force coercion to the column definition at load time? any ideas? Thanks in advance! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] HD Repartition frustration
On Thursday 15 June 2006 06:37, Donald Greg McGahan wrote: I have a 100Gb Seagate 2.5 inch hard drive that currently has a ntfs partition, and extended partition with a fat32 partition within it. I wanted to repartition it to a single fat32 partition. I removed it from it's (third party) external enclosure and installed it as an secondary IDE slave (adapter) in my AMD K7 (1.33MHz) Ubuntu OS box. I cannot seem to accomplish this task?!? I've tired deleting all of the partitions and then writing but no joy. I've been fussing with this on and off for a few days and thought I get some help. Here is what I'm doing. I pop open a terminal window and fdisk /dev/hdd (i've tried both with sudo and sudo su) then Command (m for help): p Disk /dev/hdd: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 1 10027805418467 HPFS/NTFS /dev/hdd2 10028 1216117141355f W95 Ext'd (LBA) /dev/hdd5 10028 1216117141323+ b W95 FAT32 Command (m for help): d Partition number (1-5): 5 Command (m for help): p Disk /dev/hdd: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 1 10027805418467 HPFS/NTFS /dev/hdd2 10028 1216117141355f W95 Ext'd (LBA) Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. [EMAIL PROTECTED]:~$ sudo fdisk /dev/hdd The number of cylinders for this disk is set to 12161. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/hdd: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdd1 1 10027805418467 HPFS/NTFS /dev/hdd2 10028 1216117141355f W95 Ext'd (LBA) /dev/hdd5 10028 1216117141323+ b W95 FAT32 Command (m for help): This is strange. I just tried using fdisk and parted on this drive, and neither were able to alter the existing partition table. Checking kern.log revealed some odd errors: usb 5-1: reset high speed USB device using address 28 scsi: Device offlined - not ready after error recovery: host 22 channel 0 id 0 lun 0 SCSI error : 22 0 0 0 return code = 0x5 end_request: I/O error, dev sdb, sector 3168 Buffer I/O error on device sdb, logical block 396 lost page write due to I/O error on sdb scsi22 (0:0): rejecting I/O to offline device Buffer I/O error on device sdb, logical block 397 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 398 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 399 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 400 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 401 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 402 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 403 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 404 lost page write due to I/O error on sdb Buffer I/O error on device sdb, logical block 405 lost page write due to I/O error on sdb scsi22 (0:0): rejecting I/O to offline device ... looks like the disk is bad? anyone else have any ideas? Cheers, -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] puzzling over MySQL query: joining aggregated values in a single query
Hi! I have a simple table with multiple records per id number: soil horizons from numerous pits. the top and bottom of each horizon or layer is defined in the fields 'top' and 'bottom' a quick example of a single pit's records would like like this: +-+---+--+--++ | pedon_id| hz_number | name | top | bottom | +-+---+--+--++ | SSGG-spring-05-P009 | 1 | O|0 | 3 | | SSGG-spring-05-P009 | 2 | A1 |3 | 14 | | SSGG-spring-05-P009 | 3 | A2 | 14 | 26 | | SSGG-spring-05-P009 | 4 | AB | 26 | 70 | | SSGG-spring-05-P009 | 5 | Bw1 | 70 |108 | | SSGG-spring-05-P009 | 6 | Bw2 | 108 |145 | | SSGG-spring-05-P009 | 7 | 2C | 145 |170 | | SSGG-spring-05-P009 | 8 | 3Ab | 170 |226 | | SSGG-spring-05-P009 | 9 | 3Bwb | 226 |240 | +-+---+--+--++ I am able to select out the soil depth, excluding certain horizons with the following query: select pedon_id, max(bottom) as depth from horizon where name REGEXP '.?C.?| R|.b.?' != 1 group by pedon_id ; a simple result for the above example would be: +-+---+ | pedon_id| depth | +-+---+ | SSGG-spring-05-P009 | 145 | +-+---+ This works well, except for when I would like to join this aggregated information to a new table in a single query. Is it possible to do something like this: pseudo-SQL; select table_a.* , (pedon_id, max(bottom) as depth from horizon where name REGEXP '.?C.?|R|.b.?' != 1 group by pedon_id) from table_a, horizon where i.e. is it possible to perform an aggregation in the same step as the join, or am I going to need to use some temp. tables? Any thoughts -- am i trying to do something completely ridiculous? Thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] unzip producing output that is garbage
Howdy, downloaded some data from the seamless.usgs.gov website, only to find that the ZIP archives that it delivered expanded to garbage! running `file` on all of the contents returned data, when other types should have been recognized. Also, a tiff file that was included in the archive is not being recognized as a tiff in any program. Text files have extra garbage near the top of the files. Any thoughts on what could be causing this? I have tried `unzip -b` as well, trying to force the un-archiving of the tiff file as binary, but without luck. Any thoughts/ ideas? Thanks! -- Dylan Beaudette Soils and Biogeochemistry Graduate Group University of California at Davis 530.754.7341 ___ vox-tech mailing list vox-tech@lists.lugod.org http://lists.lugod.org/mailman/listinfo/vox-tech