From st.schwarzer at geois.de Mon Oct 5 02:19:01 2009 From: st.schwarzer at geois.de (Stefan Schwarzer) Date: Mon, 5 Oct 2009 09:19:01 +0200 Subject: [thelist] Subversion: How to "delete" old, already deleted files Message-ID: Hi there, I am not very fluent in subversion. I just use it for backing up in a versioned manner my code. And because I do the backup ("commit") only from time to time, I have a couple of files which I've deleted or placed somewhere else which show off in the subversion list as "D" files: D htdocs/mod_table/extremes_table.tpl D htdocs/mod_table/table.tpl D htdocs/mod_table/table_profile.tpl I've looked through the doc, but can't find anything. I remember vaguely that one way to solve this is to create the files again, and then delete them from the repository. But is there any other way? Thanks for any tips, Stef ____________________________________________________________________ Lean Back and Relax - Enjoy some Nature Photography http://photoblog.la-famille-schwarzer.de Appetite for Global Data? UNEP GEO Data Portal: http://geodata.grid.unep.ch ____________________________________________________________________ From rob at rob-n-steph.net Mon Oct 5 06:27:41 2009 From: rob at rob-n-steph.net (Robert Lee) Date: Mon, 5 Oct 2009 07:27:41 -0400 Subject: [thelist] Subversion: How to "delete" old, already deleted files In-Reply-To: References: Message-ID: <030401ca45ae$dbbdb730$93392590$@net> Stef, You could check them out from the repository (update) and they will be restored into the folder. Then you could Delete them from the repository. HTH, Rob -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Stefan Schwarzer Sent: Monday, October 05, 2009 3:19 AM To: thelist at lists.evolt.org Subject: [thelist] Subversion: How to "delete" old, already deleted files Hi there, I am not very fluent in subversion. I just use it for backing up in a versioned manner my code. And because I do the backup ("commit") only from time to time, I have a couple of files which I've deleted or placed somewhere else which show off in the subversion list as "D" files: D htdocs/mod_table/extremes_table.tpl D htdocs/mod_table/table.tpl D htdocs/mod_table/table_profile.tpl I've looked through the doc, but can't find anything. I remember vaguely that one way to solve this is to create the files again, and then delete them from the repository. But is there any other way? Thanks for any tips, Stef ____________________________________________________________________ Lean Back and Relax - Enjoy some Nature Photography http://photoblog.la-famille-schwarzer.de Appetite for Global Data? UNEP GEO Data Portal: http://geodata.grid.unep.ch ____________________________________________________________________ -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From symeon at systasis.com Mon Oct 5 07:17:56 2009 From: symeon at systasis.com (Symeon Charalabides) Date: Mon, 05 Oct 2009 13:17:56 +0100 Subject: [thelist] Subversion: How to "delete" old, already deleted files In-Reply-To: <030401ca45ae$dbbdb730$93392590$@net> References: <030401ca45ae$dbbdb730$93392590$@net> Message-ID: <4AC9E3F4.5050306@systasis.com> > I am not very fluent in subversion. I just use it for backing up in a > versioned manner my code. And because I do the backup ("commit") only > from time to time, I have a couple of files which I've deleted or > placed somewhere else which show off in the subversion list as "D" > files: > > D htdocs/mod_table/extremes_table.tpl > D htdocs/mod_table/table.tpl > D htdocs/mod_table/table_profile.tpl > > I've looked through the doc, but can't find anything. I remember > vaguely that one way to solve this is to create the files again, and > then delete them from the repository. But is there any other way? As far as I know, this is the only way. You don't have to restore the original files in order to delete them; just create any dummy files with the required filenames, then either Commit or Update them, then delete them. -- Symeon Charalabides (cosmopolite trainee) ----------------------------------------- http://www.systasis.com http://twitter.com/bluesymeon http://www.linkedin.com/in/symeon http://www.last.fm/user/bluesymeon From joel at bizba6.com Mon Oct 5 10:05:16 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 08:05:16 -0700 Subject: [thelist] file type and space analysis on my web server? Message-ID: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> I'm looking for a tool to scan my web server and report on the files there. I'd like to clean up some space; I know there are loads of files there that don't need to be, but short of popping into every directory and subdirectory, I can't think of a way to see what's taking the most space. I'd love to list all the files in my hosted space in descending size order so I can make the biggest kills first. I can't come up with a Google search that finds ought but *log* file analysis, which is not what I want. It's Windows shared hosting. Any suggestions? -- Joel at Bizba6.com http://BizBa6.com/ From nan at nanharbison.com Mon Oct 5 10:16:15 2009 From: nan at nanharbison.com (Nan Harbison) Date: Mon, 5 Oct 2009 11:16:15 -0400 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> Message-ID: <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> You can do this in most FTP programs, I use WS_FTP, I actually bit the bullet and paid for the pro version. Nan -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel Canfield Sent: Monday, October 05, 2009 11:05 AM To: thelist at lists.evolt.org Subject: [thelist] file type and space analysis on my web server? I'm looking for a tool to scan my web server and report on the files there. I'd like to clean up some space; I know there are loads of files there that don't need to be, but short of popping into every directory and subdirectory, I can't think of a way to see what's taking the most space. I'd love to list all the files in my hosted space in descending size order so I can make the biggest kills first. I can't come up with a Google search that finds ought but *log* file analysis, which is not what I want. It's Windows shared hosting. Any suggestions? -- Joel at Bizba6.com http://BizBa6.com/ -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From joel at bizba6.com Mon Oct 5 10:51:33 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 08:51:33 -0700 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> Message-ID: <619d00930910050851h156e93ebk6cbcef969bd5f14e@mail.gmail.com> On Mon, Oct 5, 2009 at 8:16 AM, Nan Harbison wrote: > You can do this in most FTP programs, I use WS_FTP, I actually bit the > bullet and paid for the pro version. > Nan > > I'm not sure we're talking about the same thing. You're saying that with your version of WS_FTP you can get a list of all files on your entire hosting space, from the root through all subdirectories, output in some sortable fashion? I'm still using my antique version of CuteFTP (or, when my hosting service breaks, I use FTP from DOS) and Cute doesn't seem to have anything remotely like this. It only lets me look at each folder, one at a time, which doesn't do me much good since I've got over 500 folders at various levels of the various sites. joel From willthemoor at gmail.com Mon Oct 5 11:56:14 2009 From: willthemoor at gmail.com (Will) Date: Mon, 5 Oct 2009 09:56:14 -0700 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <619d00930910050851h156e93ebk6cbcef969bd5f14e@mail.gmail.com> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> <619d00930910050851h156e93ebk6cbcef969bd5f14e@mail.gmail.com> Message-ID: <2506fbd50910050956p3f0063f9t5276c6b54d87bf86@mail.gmail.com> if worse comes to worse, you could just pull the whole thing down and find them (the biggies) locally. then go delete them one by one. On Mon, Oct 5, 2009 at 8:51 AM, Joel Canfield wrote: > On Mon, Oct 5, 2009 at 8:16 AM, Nan Harbison wrote: > >> You can do this in most FTP programs, I use WS_FTP, I actually bit the >> bullet and paid for the pro version. >> Nan >> >> I'm not sure we're talking about the same thing. You're saying that with > your version of WS_FTP you can get a list of all files on your entire > hosting space, from the root through all subdirectories, output in some > sortable fashion? I'm still using my antique version of CuteFTP (or, when my > hosting service breaks, I use FTP from DOS) and Cute doesn't seem to have > anything remotely like this. It only lets me look at each folder, one at a > time, which doesn't do me much good since I've got over 500 folders at > various levels of the various sites. > > joel > -- > > * * Please support the community that supports you. ?* * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > From bobm at dottedi.biz Mon Oct 5 12:49:56 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Mon, 05 Oct 2009 11:49:56 -0600 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <2506fbd50910050956p3f0063f9t5276c6b54d87bf86@mail.gmail.com> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> <619d00930910050851h156e93ebk6cbcef969bd5f14e@mail.gmail.com> <2506fbd50910050956p3f0063f9t5276c6b54d87bf86@mail.gmail.com> Message-ID: <4ACA31C4.9010605@dottedi.biz> Will wrote: > if worse comes to worse, you could just pull the whole thing down and > find them (the biggies) locally. then go delete them one by one. > > On Mon, Oct 5, 2009 at 8:51 AM, Joel Canfield wrote: > >> On Mon, Oct 5, 2009 at 8:16 AM, Nan Harbison wrote: >> >> >>> You can do this in most FTP programs, I use WS_FTP, I actually bit the >>> bullet and paid for the pro version. >>> Nan >>> >>> I'm not sure we're talking about the same thing. You're saying that with >>> >> your version of WS_FTP you can get a list of all files on your entire >> hosting space, from the root through all subdirectories, output in some >> sortable fashion? I'm still using my antique version of CuteFTP (or, when my >> hosting service breaks, I use FTP from DOS) and Cute doesn't seem to have >> anything remotely like this. It only lets me look at each folder, one at a >> time, which doesn't do me much good since I've got over 500 folders at >> various levels of the various sites. >> >> joel >> -- >> >> This is reasonably easy on UNIX/Linux to write a shell script. :) Not be Windows-smart myself, another option however might be to write a PHP script to go through the file system and report on nodes/files by both quantity and size. Does PHP have an equivalent to 'find'? Something like "find . -type f -print | wc -l" Either way PHP can certainly list files in a folder. Hopefully I'm not blowing smoke on a windows box. You can run it as a cronjob. -- Bob Meetin Standards - you gotta love em with so many to choose from! Rocket Science - the Art of Managing Distractions From joel at bizba6.com Mon Oct 5 12:54:44 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 10:54:44 -0700 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <4ACA31C4.9010605@dottedi.biz> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> <619d00930910050851h156e93ebk6cbcef969bd5f14e@mail.gmail.com> <2506fbd50910050956p3f0063f9t5276c6b54d87bf86@mail.gmail.com> <4ACA31C4.9010605@dottedi.biz> Message-ID: <619d00930910051054i3f977377y1f1adc22cbffa217@mail.gmail.com> > > This is reasonably easy on UNIX/Linux to write a shell script. :) um, yeah; two minutes ago I realized all I have to do is write some vbscript to traverse the entire structure writing folder, filename, file size into a text file, then sort and play. d'oh. I've trained myself to *look* for tools instead of always building them. backfired this time. thanks joel From bobm at dottedi.biz Mon Oct 5 13:04:41 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Mon, 05 Oct 2009 12:04:41 -0600 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <619d00930910051054i3f977377y1f1adc22cbffa217@mail.gmail.com> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> <223510A6EC50477C9E64FE6F6B8B1FDE@nancyb0bda4ba6> <619d00930910050851h156e93ebk6cbcef969bd5f14e@mail.gmail.com> <2506fbd50910050956p3f0063f9t5276c6b54d87bf86@mail.gmail.com> <4ACA31C4.9010605@dottedi.biz> <619d00930910051054i3f977377y1f1adc22cbffa217@mail.gmail.com> Message-ID: <4ACA3539.5000209@dottedi.biz> Joel Canfield wrote: > > This is reasonably easy on UNIX/Linux to write a shell script. :) > > > um, yeah; two minutes ago I realized all I have to do is write some > vbscript to traverse the entire structure writing folder, filename, > file size into a text file, then sort and play. > > d'oh. > > I've trained myself to *look* for tools instead of always building > them. backfired this time. > > thanks > > joel No that does not backfire. Amongst other things, someone lurking on this list learned from the post as well. Research/awareness is a significant part of what we do. The biggest problem we commonly encounter is falling back into our little cubby, our safe haven for what we know, yet forgetting that someone else probably did it long before we ever even thought of it. Much of what I thought I had to do with my preferred CMS 3 years ago - now can be accomplished much more efficiently by identifying the right "key phrases" and posting a message or doing a search. Key phrases is the key. -- Bob Meetin www.dottedi.biz 303-926-0167 www.Twitter.com/bobmeetin Standards - you gotta love em with so many to choose from! Rocket Science - the Art of Managing Distractions From rudy at r937.com Mon Oct 5 13:14:34 2009 From: rudy at r937.com (r937) Date: Mon, 5 Oct 2009 14:14:34 -0400 Subject: [thelist] file type and space analysis on my web server? Message-ID: <9E9CFCEC677D44F2AFE2FFB76A12F43D@curly> joel, try treesize http://www.jam-software.com/freeware/index.shtml ;o) From lists at snadden.com Mon Oct 5 13:17:54 2009 From: lists at snadden.com (Tim Snadden) Date: Tue, 6 Oct 2009 07:17:54 +1300 Subject: [thelist] Subversion: How to "delete" old, already deleted files In-Reply-To: References: Message-ID: On 5/10/2009, at 8:19 PM, Stefan Schwarzer wrote: > Hi there, > > I am not very fluent in subversion. I just use it for backing up in a > versioned manner my code. And because I do the backup ("commit") only > from time to time, I have a couple of files which I've deleted or > placed somewhere else which show off in the subversion list as "D" > files: > > D htdocs/mod_table/extremes_table.tpl > D htdocs/mod_table/table.tpl > D htdocs/mod_table/table_profile.tpl This is just saying that you have deleted them but that you haven't committed those deletions to the repository yet. Next time you commit they won't be listed. If it bothers you then cd into the mod_tables directory and commit only those files with the comment 'deleting old files' or something. Cheers, Tim From joel at bizba6.com Mon Oct 5 13:22:08 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 11:22:08 -0700 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <9E9CFCEC677D44F2AFE2FFB76A12F43D@curly> References: <9E9CFCEC677D44F2AFE2FFB76A12F43D@curly> Message-ID: <619d00930910051122s42be5cd2i31b6dac2e8c7f599@mail.gmail.com> On Mon, Oct 5, 2009 at 11:14 AM, r937 wrote: > joel, try treesize > http://www.jam-software.com/freeware/index.shtml > > appears to be a tool to run locally; I don't see that it'll grok files on the web server did I miss something? From joel at bizba6.com Mon Oct 5 15:37:27 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 13:37:27 -0700 Subject: [thelist] displaying file size in PHP Message-ID: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> I've tried $filesize = filesize($path/$file); echo "$filesize
"; and echo "filesize($path/$file)
"; and it just displays the words filesize(./path/to/the/file.asp) where's the obvious bit I'm missing? -- Joel at Bizba6.com http://BizBa6.com/ From Paul.Bennett at mch.govt.nz Mon Oct 5 15:44:11 2009 From: Paul.Bennett at mch.govt.nz (Paul Bennett) Date: Tue, 6 Oct 2009 09:44:11 +1300 Subject: [thelist] displaying file size in PHP In-Reply-To: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> References: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> Message-ID: Hi Joel, filesize() will return false if the file doesn't exist (you can also use file_exists() to check for (oddly enough) the existence of a file) Also, you can't pass function references into a quoted string. Try this instead: $filesize = filesize($path/$file); echo ($filesize)? $filesize.'Kb' : "File doesn't exist"; Paul -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joel Canfield Sent: Tuesday, 6 October 2009 9:37 a.m. To: thelist at lists.evolt.org Subject: [thelist] displaying file size in PHP I've tried $filesize = filesize($path/$file); echo "$filesize
"; and echo "filesize($path/$file)
"; and it just displays the words filesize(./path/to/the/file.asp) where's the obvious bit I'm missing? -- Joel at Bizba6.com http://BizBa6.com/ -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From joel at bizba6.com Mon Oct 5 15:55:46 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 13:55:46 -0700 Subject: [thelist] displaying file size in PHP In-Reply-To: References: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> Message-ID: <619d00930910051355u1dffae7ah40080f98de246517@mail.gmail.com> > > Try this instead: > > $filesize = filesize($path/$file); > echo ($filesize)? $filesize.'Kb' : "File doesn't exist"; > > Thanks,Paul. I'm still missing something Have a look here http://bizba6.com/allfiles.php and all the files, immediately after they're named, don't exist ;) here's the complete code (not mine, since I don't know what I'm doing here) $spaces $file
"; getDirectory( "$path/$file", ($level+1) ); // Re-call this same function but on a new directory. // this is what makes function recursive. } else { // // here's where it dies // $filesize = filesize($path/$file); echo "$spaces $file,"; echo ($filesize)? $filesize.'Kb' : "File doesn't exist
"; } } } closedir( $dh ); // Close the directory handle } getdirectory('.'); ?> From symeon at systasis.com Mon Oct 5 15:53:18 2009 From: symeon at systasis.com (Symeon Charalabides) Date: Mon, 05 Oct 2009 21:53:18 +0100 Subject: [thelist] displaying file size in PHP In-Reply-To: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> References: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> Message-ID: <4ACA5CBE.6040704@systasis.com> Joel, > $filesize = filesize($path/$file); > echo "$filesize
"; If this is what you typed verbatim, you will probably need to change the first line to something more like: $filesize = filesize($path.'/'.$file); -- Symeon Charalabides (cosmopolite trainee) ----------------------------------------- http://www.systasis.com http://twitter.com/bluesymeon http://www.linkedin.com/in/symeon http://www.last.fm/user/bluesymeon From joel at bizba6.com Mon Oct 5 15:59:54 2009 From: joel at bizba6.com (Joel Canfield) Date: Mon, 5 Oct 2009 13:59:54 -0700 Subject: [thelist] displaying file size in PHP In-Reply-To: <4ACA5CBE.6040704@systasis.com> References: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> <4ACA5CBE.6040704@systasis.com> Message-ID: <619d00930910051359l36f6600pcfc4c4e0ffd8aea@mail.gmail.com> > > $filesize = filesize($path.'/'.$file); > > bingo thanks, Symeon (and Paul, too) joel From jason.handby at corestar.co.uk Mon Oct 5 11:31:51 2009 From: jason.handby at corestar.co.uk (Jason Handby) Date: Mon, 5 Oct 2009 17:31:51 +0100 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> Message-ID: <9A50776858A21848A96469CDFCBCDEFF027CCBDA@exch-be12.exchange.local> > I'm looking for a tool to scan my web server and report on the files > there. > I'd like to clean up some space; I know there are loads of files there > that > don't need to be, but short of popping into every directory and > subdirectory, I can't think of a way to see what's taking the most > space. > I'd love to list all the files in my hosted space in descending size > order > so I can make the biggest kills first. > I can't come up with a Google search that finds ought but *log* file > analysis, which is not what I want. > > It's Windows shared hosting. > > Any suggestions? If you have access to the Windows desktop, something like TreeSize would help you: http://www.jam-software.com/freeware/index.shtml If not then you may be stuck with using something like an FTP client to go through each directory in turn. (Hmmm, someone should make a version of TreeSize that works over FTP.) Jason From bobm at dottedi.biz Mon Oct 5 16:57:59 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Mon, 05 Oct 2009 15:57:59 -0600 Subject: [thelist] whois and locked Message-ID: <4ACA6BE7.70109@dottedi.biz> My time to be curious. When you do a whois and it lists the website, nameservers, then says locked... Does this locked refer to the registration service or to the nameservers themselves? Mine does not have this entry, yet one of my client's does and we need to get it moved. -- Bob From sales at lycosa.co.uk Mon Oct 5 17:54:53 2009 From: sales at lycosa.co.uk (Sales @ Lycosa) Date: Mon, 5 Oct 2009 23:54:53 +0100 Subject: [thelist] whois and locked In-Reply-To: <4ACA6BE7.70109@dottedi.biz> Message-ID: <0B6ED3BEB4E446488AF80D4DB29A8550@DEV> Certain gTLD domains have a registry lock (.com, .net, etc), which prevents unauthorised transfer, and is not related to the DNS at all. The admin contact will have control over this lock. It needs to be unlocked to allow transfer of the domain to another domain registrar. Some gTLD's do not have registry locks (*.uk). The DNS can be changed without unlocking the domain, so if need be, your customer can continue to keep the domain with their current registrar, but point the domain to a different server. If you definitely need to transfer the domain, your customer will need to unlock the domain, or ask their domain registrar to do this. Then you initiate a domain transfer in the usual way. Phil From bobm at dottedi.biz Mon Oct 5 18:13:55 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Mon, 05 Oct 2009 17:13:55 -0600 Subject: [thelist] whois and locked In-Reply-To: <0B6ED3BEB4E446488AF80D4DB29A8550@DEV> References: <0B6ED3BEB4E446488AF80D4DB29A8550@DEV> Message-ID: <4ACA7DB3.8050300@dottedi.biz> I've encountered the experience of unlocking domains in the past so that the domain could be transferred to another domain registrar but it is not clear whether this is related to the domain or simply, the hosting. In this case the admin contact, the business owner, called CBeyond in advance regarding this site and asked how to get hosting moved. They told him no problem, all that was needed was the new nameservers. Given that info I placed the call to them Friday late aft and they initiated the change. Perhaps wrongly, I assumed they had adequate registrar access to make the change. A couple hours later the website disappeared. I called back, they said I was impatient. This afternoon after a few more calls from my client I called CBeyond and the tech does a whois lookup and says it's locked and that's why. I think he said that did nothing to create the problem. The tech didn't identify with the cause/effect rationale. At that point I told him to revert the hosting. What am I on the trail of here? Sales @ Lycosa wrote: > Certain gTLD domains have a registry lock (.com, .net, etc), which prevents > unauthorised transfer, and is not related to the DNS at all. The admin > contact will have control over this lock. It needs to be unlocked to allow > transfer of the domain to another domain registrar. Some gTLD's do not have > registry locks (*.uk). > > The DNS can be changed without unlocking the domain, so if need be, your > customer can continue to keep the domain with their current registrar, but > point the domain to a different server. > > If you definitely need to transfer the domain, your customer will need to > unlock the domain, or ask their domain registrar to do this. Then you > initiate a domain transfer in the usual way. > > > Phil > > -- Bob Meetin www.dottedi.biz 303-926-0167 www.Twitter.com/bobmeetin Standards - you gotta love em with so many to choose from! Rocket Science - the Art of Managing Distractions From sales at lycosa.co.uk Mon Oct 5 18:38:52 2009 From: sales at lycosa.co.uk (Sales @ Lycosa) Date: Tue, 6 Oct 2009 00:38:52 +0100 Subject: [thelist] whois and locked In-Reply-To: <4ACA7DB3.8050300@dottedi.biz> Message-ID: <28B95DA85A5C493899F0143CBB985892@DEV> > They told him no problem, all that was needed was the new nameservers. That sounds like a simple re-point to the new hosting rather than transfer of the domain. The website could have disappeared if a)the new nameservers were entered incorrectly, b)the new nameservers are not configured properly or c)the current hosting was turned off before the DNS had time to propagate ('they said I was impatient'). For a thorough examination of the DNS, try dnsstuff.com ( my affiliate link is http://www.dnsstuff.com/amember/go.php?r=171169&i=b4 ). This might help identify what the dns is up to, if not the domain lock. Phil From bobm at dottedi.biz Mon Oct 5 18:55:41 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Mon, 05 Oct 2009 17:55:41 -0600 Subject: [thelist] whois and locked In-Reply-To: <28B95DA85A5C493899F0143CBB985892@DEV> References: <28B95DA85A5C493899F0143CBB985892@DEV> Message-ID: <4ACA877D.1020408@dottedi.biz> Phil et al, If I had made voice recordings of me spelling out and enunciating the new nameserver names to at least 4 technicians (in addition to the email I sent) then it would be a very long recording. Just to be sure I contacted hostgator on Sunday and verified with them that everything was right with the new nameservers. Never had a problem before this. It was the last CB technician who said that it will not work because of the lock, thus prompting me to ask them to reverse the changes. Did they do, as you almost suggested, turn the old off at CBeyond only, but without genuine access to update the nameservers. I rarely see changes take as much as 24 hours and commonly overnight. 60 hours is a lot. When I've done this with Tucows, GoDaddy or NetworkSolutions in the past I haven't run into this much time to propagate nor the confusing messages from the tech crew. The client wants to keep his email hosted at CB but only move webhosting. In advance I updated the MX records at hostgator so that this would work. -Bob Sales @ Lycosa wrote: >> They told him no problem, all that was needed was the new nameservers. >> > > That sounds like a simple re-point to the new hosting rather than transfer > of the domain. The website could have disappeared if a)the new nameservers > were entered incorrectly, b)the new nameservers are not configured properly > or c)the current hosting was turned off before the DNS had time to propagate > ('they said I was impatient'). > > For a thorough examination of the DNS, try dnsstuff.com ( my affiliate link > is http://www.dnsstuff.com/amember/go.php?r=171169&i=b4 ). This might help > identify what the dns is up to, if not the domain lock. > > Phil > > > -- Bob Meetin www.dottedi.biz 303-926-0167 www.Twitter.com/bobmeetin Standards - you gotta love em with so many to choose from! Rocket Science - the Art of Managing Distractions From simonmacdonald at uk2.net Tue Oct 6 03:42:14 2009 From: simonmacdonald at uk2.net (Simon MacDonald) Date: Tue, 6 Oct 2009 09:42:14 +0100 Subject: [thelist] PHP Templates Message-ID: <005101ca4660$e75d5a20$b6180e60$@net> An earlier post, which mentioned Komodo triggered this post. I've been using Dreamweaver for some time to build sites, mainly for its HTML templating features. I'm increasingly building more complex sites using PHP and Ajax, and Dreamweaver doesn't really cut the mustard anymore. As replacement IDEs I'm looking at either Aptana, and Komodo. Komodo seems to do everything (and more) that I currently want, one of which is the support of SMARTY, which I'm maybe considering to use for templating. I've searched thelist archives and there some quite old posts about PHP Templating, some of which consider SMARTY to be overkill in many instances. I'm not farming out the look and feel design to anyone else other than myself, so what I'm looking for is a lightweight, easy to use approach. Should I be using a more minimalist approach such as Brian Lozier advocates [1]? I could use a CMS such as Drupal but for many small sites where I just want a bit of database functionality that would probably be overkill. I'd be grateful for your current views on the best way to do PHP templating [1] http://www.massassi.com/php/articles/template_engines/ Cheers Simon Simon MacDonald simonmacdonald at uk2.net __________ Information from ESET Smart Security, version of virus signature database 4482 (20091005) __________ The message was checked by ESET Smart Security. http://www.eset.com From tor.cromwell at yahoo.co.uk Tue Oct 6 06:40:40 2009 From: tor.cromwell at yahoo.co.uk (Tor Cromwell) Date: Tue, 06 Oct 2009 12:40:40 +0100 Subject: [thelist] [Bulk] Re: file type and space analysis on my web server? In-Reply-To: <9A50776858A21848A96469CDFCBCDEFF027CCBDA@exch-be12.exchange.local> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> <9A50776858A21848A96469CDFCBCDEFF027CCBDA@exch-be12.exchange.local> Message-ID: <4ACB2CB8.4020607@yahoo.co.uk> I keep complete copies of all my websites on one of my PCs so I never have this problem. It also makes it easier to do quick edits, like where I've made one of my famous typos :-), and track down coding problems. You can simply download the whole site via FTP, making sure you keep the directory structure of course. Garry Jason Handby wrote: >> I'm looking for a tool to scan my web server and report on the files >> there. >> I'd like to clean up some space; I know there are loads of files there >> that >> don't need to be, but short of popping into every directory and >> subdirectory, I can't think of a way to see what's taking the most >> space. >> I'd love to list all the files in my hosted space in descending size >> order >> so I can make the biggest kills first. >> I can't come up with a Google search that finds ought but *log* file >> analysis, which is not what I want. >> >> It's Windows shared hosting. >> >> Any suggestions? > > If you have access to the Windows desktop, something like TreeSize would > help you: > > http://www.jam-software.com/freeware/index.shtml > > If not then you may be stuck with using something like an FTP client to > go through each directory in turn. (Hmmm, someone should make a version > of TreeSize that works over FTP.) > > > Jason > > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.409 / Virus Database: 270.14.3/2415 - Release Date: 10/05/09 06:19:00 > From nan at nanharbison.com Tue Oct 6 09:26:50 2009 From: nan at nanharbison.com (Nan Harbison) Date: Tue, 6 Oct 2009 10:26:50 -0400 Subject: [thelist] whois and locked In-Reply-To: <4ACA877D.1020408@dottedi.biz> References: <28B95DA85A5C493899F0143CBB985892@DEV> <4ACA877D.1020408@dottedi.biz> Message-ID: I don't know whether this is still true, but a few years ago, I had a domain name transferred to my client's account from the account of a person who did the website originally and wasn't interested in continuing. It was unlocked and then transferred, and it turns out when you do that, the domain name can't have any changes to it for 6 months! So I couldn't point it to new hosting servers. We had to choose a new domain name until that one could be changed. So just a caveat, if this is still true, change the nameservers before you transfer the domain name. Nan -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Bob Meetin Sent: Monday, October 05, 2009 7:56 PM To: thelist at lists.evolt.org Subject: Re: [thelist] whois and locked Phil et al, If I had made voice recordings of me spelling out and enunciating the new nameserver names to at least 4 technicians (in addition to the email I sent) then it would be a very long recording. Just to be sure I contacted hostgator on Sunday and verified with them that everything was right with the new nameservers. Never had a problem before this. It was the last CB technician who said that it will not work because of the lock, thus prompting me to ask them to reverse the changes. Did they do, as you almost suggested, turn the old off at CBeyond only, but without genuine access to update the nameservers. I rarely see changes take as much as 24 hours and commonly overnight. 60 hours is a lot. When I've done this with Tucows, GoDaddy or NetworkSolutions in the past I haven't run into this much time to propagate nor the confusing messages from the tech crew. The client wants to keep his email hosted at CB but only move webhosting. In advance I updated the MX records at hostgator so that this would work. -Bob Sales @ Lycosa wrote: >> They told him no problem, all that was needed was the new nameservers. >> > > That sounds like a simple re-point to the new hosting rather than > transfer of the domain. The website could have disappeared if a)the > new nameservers were entered incorrectly, b)the new nameservers are > not configured properly or c)the current hosting was turned off before > the DNS had time to propagate ('they said I was impatient'). > > For a thorough examination of the DNS, try dnsstuff.com ( my affiliate > link is http://www.dnsstuff.com/amember/go.php?r=171169&i=b4 ). This > might help identify what the dns is up to, if not the domain lock. > > Phil > > > -- Bob Meetin www.dottedi.biz 303-926-0167 www.Twitter.com/bobmeetin Standards - you gotta love em with so many to choose from! Rocket Science - the Art of Managing Distractions -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From chris at gettheedgeonline.com Tue Oct 6 08:35:22 2009 From: chris at gettheedgeonline.com (Chris Dempsey) Date: Tue, 6 Oct 2009 14:35:22 +0100 Subject: [thelist] PHP Templates In-Reply-To: <54BF2681A4F64C9285E9E6648EDD59C6@theedge.local> References: <54BF2681A4F64C9285E9E6648EDD59C6@theedge.local> Message-ID: <2B56E445B5CFF24FA32E2F4FB0112F222C8D5F@sbserver.theedge.local> Simon, Don't have a specific view to put across but you may find the following links useful: http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP -Part-I/ http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP -Part-II/ I needed a lightweight token based template system for some work we did and based it on this. Part two of the article adds caching capability to the template parser. I vaguely remember looking at something called Serendipity at the time of deciding which route to follow. If memory serves, it was a reasonably hefty solution but not quite as big as Smarty so that may also be worth a look. Chris -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Simon MacDonald Sent: 06 October 2009 09:46 To: thelist at lists.evolt.org Subject: [thelist] PHP Templates An earlier post, which mentioned Komodo triggered this post. I've been using Dreamweaver for some time to build sites, mainly for its HTML templating features. I'm increasingly building more complex sites using PHP and Ajax, and Dreamweaver doesn't really cut the mustard anymore. As replacement IDEs I'm looking at either Aptana, and Komodo. Komodo seems to do everything (and more) that I currently want, one of which is the support of SMARTY, which I'm maybe considering to use for templating. I've searched thelist archives and there some quite old posts about PHP Templating, some of which consider SMARTY to be overkill in many instances. I'm not farming out the look and feel design to anyone else other than myself, so what I'm looking for is a lightweight, easy to use approach. Should I be using a more minimalist approach such as Brian Lozier advocates [1]? I could use a CMS such as Drupal but for many small sites where I just want a bit of database functionality that would probably be overkill. I'd be grateful for your current views on the best way to do PHP templating [1] http://www.massassi.com/php/articles/template_engines/ Cheers Simon Simon MacDonald simonmacdonald at uk2.net __________ Information from ESET Smart Security, version of virus signature database 4482 (20091005) __________ The message was checked by ESET Smart Security. http://www.eset.com -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From evolt_org at striderweb.com Tue Oct 6 07:46:31 2009 From: evolt_org at striderweb.com (Stephen Rider) Date: Tue, 6 Oct 2009 07:46:31 -0500 Subject: [thelist] MySQL search everywhere? Message-ID: Hi -- Hopefully this is dead simple for you DB folks out there.... Can anyone give me a quick MySQL command to search everywhere for a particular string? SELECT * FROM * WHERE ??? = "foo" I don't know what to put at the "???". I want to search all tables, all fields, for the string. Thanks, Stephen -- Stephen Rider http://striderweb.com/ P.S. -- Sorry if you get two copies of this. Sent from wrong account before.... From evolt_org at striderweb.com Tue Oct 6 09:50:13 2009 From: evolt_org at striderweb.com (Stephen Rider) Date: Tue, 6 Oct 2009 09:50:13 -0500 Subject: [thelist] CMS Recommendations In-Reply-To: <046501ca4515$7ce0d6a0$76a283e0$@com> References: <02b001ca3ab7$167fa250$437ee6f0$@com> <177c0a10909210810g12c17b34sea0387b86c81fcae@mail.gmail.com> <2506fbd50909210911m3dd89622m72589f0e4b779d46@mail.gmail.com> <006801ca3aeb$684bbcc0$38e33640$@com> <405546F3-5540-4490-BC9A-119F88460B9A@striderweb.com> <046501ca4515$7ce0d6a0$76a283e0$@com> Message-ID: <3D7CDB1F-130F-47DD-8292-CA4A3733226A@striderweb.com> On Oct 4, 2009, at 12:09 PM, Christie Mason wrote: > -----Original Message----- > From: Stephen Rider > > My corporate site has a bit of functionality where a non-techie > employee has to upload data to our site. > > I have an Excel script that turns a worksheet into a csv data file, > and then they upload it via FTP... > > --CM Relies-- > > That's potentially a very, very dangerous approach. Anyone who > knows about > that uploaded file could view it at any time, ex-employees, current > employees, search engines, and many others. It's a big security hole, > especially if the folder's not password protected and the search > engines are > crawling it. If that's confidential data, then that's the type of > exposure > that leads to headlines and lawsuits. A legitimate concern. I should have mentioned that the data directory is not public -- it's above the web root level, so not viewable via the web. ...though notably the web design firm that made the site did put it in the web directory; one of the first things I did was move it. And in my case it's public data anyway -- it's there for the purpose of displaying on a page on the site. Still -- thanks for the caution -- you made an excellent point and I should have been more clear. Stephen -- Stephen Rider http://striderweb.com/ From Groups at beachcomp.com Tue Oct 6 12:20:57 2009 From: Groups at beachcomp.com (Groups at beachcomp.com) Date: Tue, 6 Oct 2009 13:20:57 -0400 Subject: [thelist] Quick combine question In-Reply-To: References: Message-ID: <006001ca46a9$5eac06b0$1c041410$@com> Hello all... Can anyone point me in the right direction on combining all this code so it reduces server stress by opening a single connection? Thanks much!!! <% Function keywords1() DataConn = "D:\Webspace\keywords.mdb" Set Conn = Server.CreateObject("ADODB.Connection") sConnString = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & DataConn & ";" Conn.open(sConnString) sql = "SELECT * FROM keywords where active=yes AND target=Yes" Set RS = Conn.Execute(SQL) If Not RS.Eof Then While Not RS.Eof keywords1 = keywords1 & RS("keyword")& ", " RS.Movenext wend End If Set RS = Nothing Conn.close Set Conn=Nothing End Function %> <% Function keywords2() DataConn = "D:\Webspace\keywords.mdb" Set Conn = Server.CreateObject("ADODB.Connection") sConnString = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & DataConn & ";" Conn.open(sConnString) sql = "SELECT * FROM keywords where active=yes AND target=no" Set RS = Conn.Execute(SQL) If Not RS.Eof Then While Not RS.Eof keywords2 = keywords2 & RS("keyword")& ", " RS.Movenext wend End If Set RS = Nothing Conn.close Set Conn=Nothing End Function %> <% Function keywords() keywords = keywords1 & keywords2 End Function %> From cmason at managersforum.com Tue Oct 6 12:34:56 2009 From: cmason at managersforum.com (Christie Mason) Date: Tue, 6 Oct 2009 12:34:56 -0500 Subject: [thelist] CMS Recommendations In-Reply-To: <3D7CDB1F-130F-47DD-8292-CA4A3733226A@striderweb.com> References: <02b001ca3ab7$167fa250$437ee6f0$@com> <177c0a10909210810g12c17b34sea0387b86c81fcae@mail.gmail.com> <2506fbd50909210911m3dd89622m72589f0e4b779d46@mail.gmail.com> <006801ca3aeb$684bbcc0$38e33640$@com> <405546F3-5540-4490-BC9A-119F88460B9A@striderweb.com> <046501ca4515$7ce0d6a0$76a283e0$@com> <3D7CDB1F-130F-47DD-8292-CA4A3733226A@striderweb.com> Message-ID: <055301ca46ab$55524f50$fff6edf0$@com> > -----Original Message----- > From: Stephen Rider > > My corporate site has a bit of functionality where a non-techie > employee has to upload data to our site. > > I have an Excel script that turns a worksheet into a csv data file, > and then they upload it via FTP... > > --CM Relies-- > > That's potentially a very, very dangerous approach. Anyone who > knows about > that uploaded file could view it at any time, ex-employees, current > employees, search engines, and many others. It's a big security hole, > especially if the folder's not password protected and the search > engines are > crawling it. If that's confidential data, then that's the type of > exposure > that leads to headlines and lawsuits. A legitimate concern. I should have mentioned that the data directory is not public -- it's above the web root level, so not viewable via the web. ...though notably the web design firm that made the site did put it in the web directory; one of the first things I did was move it. And in my case it's public data anyway -- it's there for the purpose of displaying on a page on the site. Still -- thanks for the caution -- you made an excellent point and I should have been more clear. Stephen --CM Relies-- That's good to know. I just didn't want anyone else thinking that was the right thing to do w/o thinking through the security implications. Christie Mason From rudy at r937.com Tue Oct 6 13:26:05 2009 From: rudy at r937.com (r937) Date: Tue, 6 Oct 2009 14:26:05 -0400 Subject: [thelist] MySQL search everywhere? Message-ID: <7AA09FD244254FD5B3557A25DFA4AAF5@curly> > SELECT * FROM * WHERE ??? = "foo" > > I don't know what to put at the "???". > I want to search all tables, all fields, for the string. sorry stephen, it's not good news SELECT * FROM table1 WHERE column1 LIKE '%foo%' OR column2 LIKE '%foo% OR column3 LIKE '%foo% OR column4 LIKE '%foo% OR column5 ... SELECT * FROM table2 WHERE column6 LIKE '%foo%' OR column7 LIKE '%foo% OR column8 LIKE '%foo% OR column9 LIKE '%foo% OR column10 ... rudy http://r937.com/ From prosayist at inbox.com Mon Oct 5 12:13:55 2009 From: prosayist at inbox.com (Dan) Date: Mon, 05 Oct 2009 13:13:55 -0400 Subject: [thelist] file type and space analysis on my web server? In-Reply-To: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> References: <619d00930910050805qe0de227ja2b0aac282680d4@mail.gmail.com> Message-ID: <4ACA2953.4030704@inbox.com> Joel Canfield wrote: > I'm looking for a tool to scan my web server and report on the files there. > I'd like to clean up some space; I know there are loads of files there that > don't need to be, but short of popping into every directory and > subdirectory, I can't think of a way to see what's taking the most space. > I'd love to list all the files in my hosted space in descending size order > so I can make the biggest kills first. > I can't come up with a Google search that finds ought but *log* file > analysis, which is not what I want. > > It's Windows shared hosting. > > Any suggestions? > There was such a tool from gmtt.co.uk (evidently that site has changed but the script may still be out there somewhere) Written in PHP, as were all the GMTT tools, only you know whether any ensuing search could possibly result in a usable program. Search for "GMTT Recursive Directory List" -Dan From Chris at activeide.com Tue Oct 6 15:50:54 2009 From: Chris at activeide.com (Chris Anderson) Date: Tue, 6 Oct 2009 21:50:54 +0100 Subject: [thelist] Quick combine question In-Reply-To: <447583937E1F48ACA4B253ADCFB00E9D@ActiveIDE.local> References: <447583937E1F48ACA4B253ADCFB00E9D@ActiveIDE.local> Message-ID: <09DEC79B6F995248B402303C86CA4912574FBE@scarlet.ActiveIDE.local> > Hello all... > Can anyone point me in the right direction on combining all this code > so it > reduces server stress by opening a single connection? > > Thanks much!!! > 1. Do not use "SELECT *" - only select the fields you want to actually bring back - even if you are using them all now, someone later may change the schema to add a 4000 character string field. 2. use something like "SELECT keyword, target FROM keywords WHERE active=yes" then in your while loop check the value of target before adding it to the right keyword list 3. If you have a *lot* of keywords, I very much doubt the problem is with the database access (although the above will help a little) If you have a lot of keywords (or they are big) the problem may be due to your constant reallocation of memory during the string concatenation. Eg This code keywords = keywords & newKeyword allocates a contiguous block of memory big enough to house the contents of both "keywords" and "newkeyword", copies "keywords" to it, then copies "newKeyword" to it, then points the "keywords" variable to the new block of memory. Doing that a few hundred times results in lots of page faults, etc and lots of memory organisation when the strings get large. Instead, you should try using the Mid statement (note NOT the Mid function - they are different) and pre-allocate memory Eg // Pre-allocate 1kb keywordBuffer = Space(1024) bufferPos = 0 While Not RS.Eof newKeyword = RS("keyword") & ", " // If new keyword will overflow the buffer, increase the buffer size If(bufferPos + Len(newKeyword) > Len(keywordBuffer) keywordBuffer = keywordBuffer + Space(1024) End If // Insert the keyword in the right place within the buffer // This does not allocate new memory, it copies data into existing memory Mid(keywordBuffer, bufferPos, Len(newKeyword)) = newKeyword // Move the insertion point bufferPos = bufferPos + Len(newKeyword) RS.Movenext wend //Finally trim off the last of the buffer keywordBuffer = Left(keywordBuffer, bufferPos + 1) (NOTE: the above was written in my email client, so please ignore syntax and "out by 1" errors - the comments should give you the gist though) The code still has code similar to keywords = keywords & newKeyword in there - but it runs it far fewer times (and feel free to change the 1024, etc to optimise it to your requirements - you might even want to consider growing the buffer by doubling the size (this will reduce the number of allocations as the size increases - more memory used, but far fewer expensive allocations, and so quicker) For those .NET users - the above is how the StringBuilder works, but is a technique I used for years in my VB6 years :-) Chris From evolt at roselli.org Tue Oct 6 17:05:33 2009 From: evolt at roselli.org (aardvark) Date: Tue, 06 Oct 2009 18:05:33 -0400 Subject: [thelist] Amazon S3 secure video tutorial In-Reply-To: <619d00930910041622u1764697dy307a166d71272f73@mail.gmail.com> Message-ID: <4ACB86ED.13493.187594D@localhost> On 4 Oct 2009 at 16:22, Joel Canfield wrote: [...] > I wrote up a moderately annotated tutorial here: > http://72.9.251.146/~bizbacom/code/secure_s3.php [...] boy, joel, this would make a swell article for the evolt.org web-o- tron site, doncha think? i may not need it today, but in the far flung future of the interwebs (Thursday or March) i could be in sudden and dire need of such knowledge and trawling the archives ain't my idea of panic-stricken last minute fun... but if you put it on the evolt.org web-o-tron pages, i can find it later with a simple easy grandparent-friendly search... i'm just sayin'... From joel at bizba6.com Tue Oct 6 17:22:54 2009 From: joel at bizba6.com (Joel Canfield) Date: Tue, 6 Oct 2009 15:22:54 -0700 Subject: [thelist] Amazon S3 secure video tutorial In-Reply-To: <4ACB86ED.13493.187594D@localhost> References: <619d00930910041622u1764697dy307a166d71272f73@mail.gmail.com> <4ACB86ED.13493.187594D@localhost> Message-ID: <619d00930910061522k2887df4eg632bb36ad6d2f9a2@mail.gmail.com> On Tue, Oct 6, 2009 at 3:05 PM, aardvark wrote: > On 4 Oct 2009 at 16:22, Joel Canfield wrote: > [...] > > I wrote up a moderately annotated tutorial here: > > http://72.9.251.146/~bizbacom/code/secure_s3.php > [...] > > boy, joel, this would make a swell article for the evolt.org web-o- > tron site, doncha think? i may not need it today, but in the far > flung future of the interwebs (Thursday or March) i could be in > sudden and dire need of such knowledge and trawling the archives > ain't my idea of panic-stricken last minute fun... but if you put it > on the evolt.org web-o-tron pages, i can find it later with a simple > easy grandparent-friendly search... > > i'm just sayin'... tough crowd tonight; sheesh. hey; I know?why don't I write this up as a 'how to' article for the evolt.org site? the things I'll do to keep burrowing nocturnal mammals off my back . . . > From willthemoor at gmail.com Tue Oct 6 19:08:24 2009 From: willthemoor at gmail.com (Will) Date: Tue, 6 Oct 2009 17:08:24 -0700 Subject: [thelist] PHP Templates In-Reply-To: <2B56E445B5CFF24FA32E2F4FB0112F222C8D5F@sbserver.theedge.local> References: <54BF2681A4F64C9285E9E6648EDD59C6@theedge.local> <2B56E445B5CFF24FA32E2F4FB0112F222C8D5F@sbserver.theedge.local> Message-ID: <2506fbd50910061708v641fa2b8pf7a637fa78e7e671@mail.gmail.com> for small sites, wordpress fits the bill for me a lot. for the simplest of php templating, there's always includes. :) http://www.mezzoblue.com/archives/2005/06/08/simple_templ/ I still use this for really small sites, extending the variables and include structure for sidebars or whatever. On Tue, Oct 6, 2009 at 6:35 AM, Chris Dempsey wrote: > Simon, > > Don't have a specific view to put across but you may find the following > links useful: > > http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP > -Part-I/ > > http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP > -Part-II/ > > I needed a lightweight token based template system for some work we did > and based it on this. ?Part two of the article adds caching capability > to the template parser. > > I vaguely remember looking at something called Serendipity at the time > of deciding which route to follow. ?If memory serves, it was a > reasonably hefty solution but not quite as big as Smarty so that may > also be worth a look. > > Chris > > > > -----Original Message----- > From: thelist-bounces at lists.evolt.org > [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Simon MacDonald > Sent: 06 October 2009 09:46 > To: thelist at lists.evolt.org > Subject: [thelist] PHP Templates > > An earlier post, which mentioned Komodo triggered this post. > > I've been using Dreamweaver for some time to build sites, mainly for its > HTML templating features. I'm increasingly building more complex sites > using > PHP and Ajax, and Dreamweaver doesn't really cut the mustard anymore. As > replacement IDEs I'm looking at either Aptana, and Komodo. > > Komodo seems to do everything (and more) that I currently want, one of > which > is the support of SMARTY, which I'm maybe considering to use for > templating. > I've searched thelist archives and there some quite old posts about PHP > Templating, some of which consider SMARTY to be overkill in many > instances. > > I'm not farming out the look and feel design to anyone else other than > myself, so what I'm looking for is a lightweight, easy to use approach. > Should I be using a more minimalist approach such as Brian Lozier > advocates > [1]? I could use a CMS such as Drupal but for many small sites where I > just > want a bit of database functionality that would probably be overkill. > > I'd be grateful for your current views on the best way to do PHP > templating > > [1] http://www.massassi.com/php/articles/template_engines/ > > > Cheers > > Simon > > Simon MacDonald > simonmacdonald at uk2.net > > > > > __________ Information from ESET Smart Security, version of virus > signature > database 4482 (20091005) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > -- > > * * Please support the community that supports you. ?* * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > > > -- > > * * Please support the community that supports you. ?* * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > From viggie at viggie.com Tue Oct 6 23:39:49 2009 From: viggie at viggie.com (Viggie) Date: Wed, 07 Oct 2009 10:09:49 +0530 Subject: [thelist] displaying file size in PHP In-Reply-To: <619d00930910051355u1dffae7ah40080f98de246517@mail.gmail.com> References: <619d00930910051337u6665040p37562dd8608da60f@mail.gmail.com> <619d00930910051355u1dffae7ah40080f98de246517@mail.gmail.com> Message-ID: <1254890389.7591.4.camel@dell> Hi Joel, Thanks for posting the script. It helps to have such a handy script for quick use. Added to my handy files kitty (of course modified the script with the debug mentioned by Symeon and with display corrections). regards, Viggie On Mon, 2009-10-05 at 13:55 -0700, Joel Canfield wrote: > > > > Try this instead: > > > > $filesize = filesize($path/$file); > > echo ($filesize)? $filesize.'Kb' : "File doesn't exist"; > > > > Thanks,Paul. I'm still missing something > > Have a look here http://bizba6.com/allfiles.php > > and all the files, immediately after they're named, don't exist ;) > > here's the complete code (not mine, since I don't know what I'm doing here) > > function getDirectory( $path = '.', $level = 0 ){ > $ignore = array( 'cgi-bin', '.', '..' ); > // Directories to ignore when listing output. Many hosts > // will deny PHP access to the cgi-bin. > $dh = @opendir( $path ); > // Open the directory to the handle $dh > while( false !== ( $file = readdir( $dh ) ) ){ > // Loop through the directory > if( !in_array( $file, $ignore ) ){ > // Check that this file is not to be ignored > $spaces = str_repeat( ' ', ( $level * 4 ) ); > // Just to add spacing to the list, to better > // show the directory tree. > if( is_dir( "$path/$file" ) ){ > // Its a directory, so we need to keep reading down... > echo "$spaces $file
"; > getDirectory( "$path/$file", ($level+1) ); > // Re-call this same function but on a new directory. > // this is what makes function recursive. > } else { > // > // here's where it dies > // > $filesize = filesize($path/$file); > echo "$spaces $file,"; > echo ($filesize)? $filesize.'Kb' : "File doesn't exist
"; > } > } > } > closedir( $dh ); > // Close the directory handle > } > getdirectory('.'); > ?> > __________________________ Helping websites to work http://www.viggie.com From simonmacdonald at uk2.net Wed Oct 7 03:58:55 2009 From: simonmacdonald at uk2.net (Simon MacDonald) Date: Wed, 7 Oct 2009 09:58:55 +0100 Subject: [thelist] PHP Templates In-Reply-To: <2B56E445B5CFF24FA32E2F4FB0112F222C8D5F@sbserver.theedge.local> References: <54BF2681A4F64C9285E9E6648EDD59C6@theedge.local> <2B56E445B5CFF24FA32E2F4FB0112F222C8D5F@sbserver.theedge.local> Message-ID: <002101ca472c$665ec360$331c4a20$@net> Thanks Chris, that looks useful. Simon -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Chris Dempsey Sent: 06 October 2009 14:35 To: thelist at lists.evolt.org Subject: Re: [thelist] PHP Templates Simon, Don't have a specific view to put across but you may find the following links useful: http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP -Part-I/ http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP -Part-II/ I needed a lightweight token based template system for some work we did and based it on this. Part two of the article adds caching capability to the template parser. I vaguely remember looking at something called Serendipity at the time of deciding which route to follow. If memory serves, it was a reasonably hefty solution but not quite as big as Smarty so that may also be worth a look. Chris -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Simon MacDonald Sent: 06 October 2009 09:46 To: thelist at lists.evolt.org Subject: [thelist] PHP Templates An earlier post, which mentioned Komodo triggered this post. I've been using Dreamweaver for some time to build sites, mainly for its HTML templating features. I'm increasingly building more complex sites using PHP and Ajax, and Dreamweaver doesn't really cut the mustard anymore. As replacement IDEs I'm looking at either Aptana, and Komodo. Komodo seems to do everything (and more) that I currently want, one of which is the support of SMARTY, which I'm maybe considering to use for templating. I've searched thelist archives and there some quite old posts about PHP Templating, some of which consider SMARTY to be overkill in many instances. I'm not farming out the look and feel design to anyone else other than myself, so what I'm looking for is a lightweight, easy to use approach. Should I be using a more minimalist approach such as Brian Lozier advocates [1]? I could use a CMS such as Drupal but for many small sites where I just want a bit of database functionality that would probably be overkill. I'd be grateful for your current views on the best way to do PHP templating [1] http://www.massassi.com/php/articles/template_engines/ Cheers Simon Simon MacDonald simonmacdonald at uk2.net __________ Information from ESET Smart Security, version of virus signature database 4482 (20091005) __________ The message was checked by ESET Smart Security. http://www.eset.com -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! __________ Information from ESET Smart Security, version of virus signature database 4484 (20091006) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 4485 (20091006) __________ The message was checked by ESET Smart Security. http://www.eset.com From simonmacdonald at uk2.net Wed Oct 7 04:00:19 2009 From: simonmacdonald at uk2.net (Simon MacDonald) Date: Wed, 7 Oct 2009 10:00:19 +0100 Subject: [thelist] PHP Templates In-Reply-To: <2506fbd50910061708v641fa2b8pf7a637fa78e7e671@mail.gmail.com> References: <54BF2681A4F64C9285E9E6648EDD59C6@theedge.local> <2B56E445B5CFF24FA32E2F4FB0112F222C8D5F@sbserver.theedge.local> <2506fbd50910061708v641fa2b8pf7a637fa78e7e671@mail.gmail.com> Message-ID: <002201ca472c$98dcc9e0$ca965da0$@net> Will, Thanks! I think the mezzoblue template method is exactly what I was looking for Cheers SImon -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Will Sent: 07 October 2009 01:08 To: thelist at lists.evolt.org Subject: Re: [thelist] PHP Templates for small sites, wordpress fits the bill for me a lot. for the simplest of php templating, there's always includes. :) http://www.mezzoblue.com/archives/2005/06/08/simple_templ/ I still use this for really small sites, extending the variables and include structure for sidebars or whatever. On Tue, Oct 6, 2009 at 6:35 AM, Chris Dempsey wrote: > Simon, > > Don't have a specific view to put across but you may find the following > links useful: > > http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP > -Part-I/ > > http://www.devshed.com/c/a/PHP/Building-a-Template-Parser-Class-with-PHP > -Part-II/ > > I needed a lightweight token based template system for some work we did > and based it on this. ?Part two of the article adds caching capability > to the template parser. > > I vaguely remember looking at something called Serendipity at the time > of deciding which route to follow. ?If memory serves, it was a > reasonably hefty solution but not quite as big as Smarty so that may > also be worth a look. > > Chris > > > > -----Original Message----- > From: thelist-bounces at lists.evolt.org > [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Simon MacDonald > Sent: 06 October 2009 09:46 > To: thelist at lists.evolt.org > Subject: [thelist] PHP Templates > > An earlier post, which mentioned Komodo triggered this post. > > I've been using Dreamweaver for some time to build sites, mainly for its > HTML templating features. I'm increasingly building more complex sites > using > PHP and Ajax, and Dreamweaver doesn't really cut the mustard anymore. As > replacement IDEs I'm looking at either Aptana, and Komodo. > > Komodo seems to do everything (and more) that I currently want, one of > which > is the support of SMARTY, which I'm maybe considering to use for > templating. > I've searched thelist archives and there some quite old posts about PHP > Templating, some of which consider SMARTY to be overkill in many > instances. > > I'm not farming out the look and feel design to anyone else other than > myself, so what I'm looking for is a lightweight, easy to use approach. > Should I be using a more minimalist approach such as Brian Lozier > advocates > [1]? I could use a CMS such as Drupal but for many small sites where I > just > want a bit of database functionality that would probably be overkill. > > I'd be grateful for your current views on the best way to do PHP > templating > > [1] http://www.massassi.com/php/articles/template_engines/ > > > Cheers > > Simon > > Simon MacDonald > simonmacdonald at uk2.net > > > > > __________ Information from ESET Smart Security, version of virus > signature > database 4482 (20091005) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > -- > > * * Please support the community that supports you. ?* * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > > > -- > > * * Please support the community that supports you. ?* * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! __________ Information from ESET Smart Security, version of virus signature database 4485 (20091006) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 4485 (20091006) __________ The message was checked by ESET Smart Security. http://www.eset.com __________ Information from ESET Smart Security, version of virus signature database 4486 (20091007) __________ The message was checked by ESET Smart Security. http://www.eset.com From evolt at roselli.org Wed Oct 7 12:29:33 2009 From: evolt at roselli.org (aardvark) Date: Wed, 07 Oct 2009 13:29:33 -0400 Subject: [thelist] Amazon S3 secure video tutorial In-Reply-To: <619d00930910061522k2887df4eg632bb36ad6d2f9a2@mail.gmail.com> References: <4ACB86ED.13493.187594D@localhost> Message-ID: <4ACC97BD.19711.93E5B1@localhost> On 6 Oct 2009 at 15:22, Joel Canfield wrote: [...] > > the things I'll do to keep burrowing nocturnal mammals off my back . . . that's what she said. (yes, i just did that) Google Translate offers a service to drop their code right on to your web page to allow users to quickly translate the content. While it's a keen service, it's also machine translation, which brings its own risks along with it. More info... http://adrianroselli.blogspot.com/2009/10/facebook-and-google-want-to- translate.html From martin at easyweb.co.uk Thu Oct 8 01:27:23 2009 From: martin at easyweb.co.uk (Martin Burns) Date: Thu, 8 Oct 2009 07:27:23 +0100 Subject: [thelist] Amazon S3 secure video tutorial In-Reply-To: <4ACC97BD.19711.93E5B1@localhost> References: <4ACB86ED.13493.187594D@localhost> <4ACC97BD.19711.93E5B1@localhost> Message-ID: <5AEE9B90-4EA8-4367-B204-B630D295DEEA@easyweb.co.uk> On 7 Oct 2009, at 18:29, aardvark wrote: > > Google Translate offers a service to drop their code right on to your > web page to allow users to quickly translate the content. While it's > a keen service, it's also machine translation, which brings its own > risks along with it. More info... > http://adrianroselli.blogspot.com/2009/10/facebook-and-google-want-to- > translate.html > Doncha mean http://evolt.org/facebook-google-want-to-translate-your-site Doncha? Doncha? Cheers Martin ;-) -- > Spammers: Send me email -> yumyum at easyweb.co.uk to train my filter > http://dspam.nuclearelephant.com/ From joel at bizba6.com Thu Oct 8 01:51:58 2009 From: joel at bizba6.com (Joel Canfield) Date: Wed, 7 Oct 2009 23:51:58 -0700 Subject: [thelist] Amazon S3 secure video tutorial In-Reply-To: <5AEE9B90-4EA8-4367-B204-B630D295DEEA@easyweb.co.uk> References: <4ACB86ED.13493.187594D@localhost> <4ACC97BD.19711.93E5B1@localhost> <5AEE9B90-4EA8-4367-B204-B630D295DEEA@easyweb.co.uk> Message-ID: <619d00930910072351k549a79c9idc92d4fca428e9e@mail.gmail.com> > > Doncha mean > http://evolt.org/facebook-google-want-to-translate-your-site > Doncha? Doncha? > > I thought that URL looked odd, seein' as how I'd just seen the article . . . you just can't trust the lower classes of mammalia any more. From kate.007 at btinternet.com Thu Oct 8 02:25:31 2009 From: kate.007 at btinternet.com (kate.007 at btinternet.com) Date: Thu, 8 Oct 2009 08:25:31 +0100 Subject: [thelist] Amazon S3 secure video tutorial References: <4ACB86ED.13493.187594D@localhost><4ACC97BD.19711.93E5B1@localhost> <5AEE9B90-4EA8-4367-B204-B630D295DEEA@easyweb.co.uk> Message-ID: >Google Translate< Like most of the other translators I can't trust it. I joined a new list this week and I recived an e-mail in a language I don't know (Malaysian as it turned out.) I went to Google translate. It seemed to have no errors in English then sent it off to the list. Obviously their e-mails are copyright so theirs I can't send here but the person who recived it said ' That was hilarious. Properly translated, my e-mail should read' Kate ----- Original Message ----- From: "Martin Burns" To: Sent: Thursday, October 08, 2009 7:27 AM Subject: Re: [thelist] Amazon S3 secure video tutorial > > On 7 Oct 2009, at 18:29, aardvark wrote: > >> >> Google Translate offers a service to drop their code right on to your >> web page to allow users to quickly translate the content. While it's >> a keen service, it's also machine translation, which brings its own >> risks along with it. More info... >> http://adrianroselli.blogspot.com/2009/10/facebook-and-google-want-to- >> translate.html >> > > Doncha mean > http://evolt.org/facebook-google-want-to-translate-your-site > Doncha? Doncha? > > Cheers > Martin > ;-) > > -- > > Spammers: Send me email -> yumyum at easyweb.co.uk to train my filter > > http://dspam.nuclearelephant.com/ > > > > > > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > > __________ Information from ESET Smart Security, version of virus > signature database 4488 (20091007) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > __________ Information from ESET Smart Security, version of virus signature database 4488 (20091007) __________ The message was checked by ESET Smart Security. http://www.eset.com From bobm at dottedi.biz Thu Oct 8 14:12:44 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Thu, 08 Oct 2009 13:12:44 -0600 Subject: [thelist] how high constitutes troublesome load average. Message-ID: <4ACE39AC.1010702@dottedi.biz> I have a couple sites on a shared hosting server which commonly runs a little slow in my opinion and if I check I see what I think is high load average, but which is probably somewhat relative. With data driven sites (CMS) I tend to think performance is more critical than with static, HTML sites. But anyway, how high is unreasonal? 06:55:01 up 51 days, 9:15, 2 users, load average: 2.50, 3.33, 4.18 08:05:02 up 51 days, 10:25, 2 users, load average: 10.13, 10.50, 8.81 08:30:02 up 51 days, 10:50, 1 user, load average: 19.05, 12.61, 9.62 11:32:01 up 51 days, 13:52, 2 users, load average: 35.37, 26.39, 17.53 -Bob From rob at rob-n-steph.net Thu Oct 8 15:29:40 2009 From: rob at rob-n-steph.net (Robert Lee) Date: Thu, 8 Oct 2009 16:29:40 -0400 Subject: [thelist] how high constitutes troublesome load average. In-Reply-To: <4ACE39AC.1010702@dottedi.biz> References: <4ACE39AC.1010702@dottedi.biz> Message-ID: <009c01ca4856$11b8ee00$352aca00$@net> It depends upon the number of CPU cores on the machine. For the 15 minute average (the far right number), you don't want to see much more than .7 for each core on the machine, and anything above 1 per core is reason for concern. For a Dual Quad Core machine (8 CPU's) you'd probably like to see it stay below 6, but lower would be nicer. Of course this doesn't help much if you don't know how many processor(s) the shared hosting box has. HTH, Rob -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Bob Meetin Sent: Thursday, October 08, 2009 3:13 PM To: thelist at lists.evolt.org Subject: [thelist] how high constitutes troublesome load average. I have a couple sites on a shared hosting server which commonly runs a little slow in my opinion and if I check I see what I think is high load average, but which is probably somewhat relative. With data driven sites (CMS) I tend to think performance is more critical than with static, HTML sites. But anyway, how high is unreasonal? 06:55:01 up 51 days, 9:15, 2 users, load average: 2.50, 3.33, 4.18 08:05:02 up 51 days, 10:25, 2 users, load average: 10.13, 10.50, 8.81 08:30:02 up 51 days, 10:50, 1 user, load average: 19.05, 12.61, 9.62 11:32:01 up 51 days, 13:52, 2 users, load average: 35.37, 26.39, 17.53 -Bob -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From bobm at dottedi.biz Thu Oct 8 18:09:50 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Thu, 08 Oct 2009 17:09:50 -0600 Subject: [thelist] Offlist - whois and locked - resolved In-Reply-To: References: Message-ID: <4ACE713E.6000600@dottedi.biz> For those who would like to know, perhaps learn from the experience... There were some assumptions made based upon mis-communications by the CBeyond tech staff. Not knowing better, you take an orange for an orange. When asked who managed the domain several months back the business owner told me CBeyond. I bought this. Why? Some years back I had some sites hosted by a company called digitalinet - part of their package included registering a domain for free if you paid for one year hosting. The assumption here is that if they have access to register the domain I assume they have like access to manage it, including nameservers. This led me to believe that CBeyond had the power, the interface. BTW - I would never do that again; it was a nightmare getting the domain out of digitalinet's clutches. But anyway - Wrong - and the CB technicians didn't even know this. When after speaking with the last tech who said that it was locked (however irrelevant here) I did the whois lookup and saw that enom.com was the registrar. After asking the business owner about this, the gerbils turned and he recalled something about them, perhaps 10 years back. He called them, was able to get his username/password, then got it to me and I logged in and made the nameserver changes. Within about 4 hours it had updated to my neck of the woods. Why CBeyond couldn't get things they did to revert overnight to get the old hosting working just as it had broken overnight escapes me. In my inbox I have a customer feedback form from CBeyond :) -Bob From joel at bizba6.com Thu Oct 8 18:22:04 2009 From: joel at bizba6.com (Joel Canfield) Date: Thu, 8 Oct 2009 16:22:04 -0700 Subject: [thelist] Offlist - whois and locked - resolved In-Reply-To: <4ACE713E.6000600@dottedi.biz> References: <4ACE713E.6000600@dottedi.biz> Message-ID: <619d00930910081622y274da677l7d4cbcdf5bdcb5e5@mail.gmail.com> > > In my inbox I have a customer feedback form from CBeyond :) > > always be cautious when feeding trolls (if, indeed, they be trolls . . . ) I get emails from Register.com about the domain name they raped and raked me for, and every one mentions their award winning world class customer service. I am only waiting until I have it rescued from their evil clutches to write my response to *that* statement. joel From bobm at dottedi.biz Thu Oct 8 18:27:56 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Thu, 08 Oct 2009 17:27:56 -0600 Subject: [thelist] how high constitutes troublesome load average. In-Reply-To: <009c01ca4856$11b8ee00$352aca00$@net> References: <4ACE39AC.1010702@dottedi.biz> <009c01ca4856$11b8ee00$352aca00$@net> Message-ID: <4ACE757C.6040709@dottedi.biz> Robert Lee wrote: > It depends upon the number of CPU cores on the machine. > > For the 15 minute average (the far right number), you don't want to > see much > more than .7 for each core on the machine, and anything above 1 per > core is > reason for concern. > For a Dual Quad Core machine (8 CPU's) you'd probably like to see it stay > below 6, but lower would be nicer. Of course this doesn't help much if you > don't know how many processor(s) the shared hosting box has. > > HTH, > Rob > > I have a couple sites on a shared hosting server which commonly runs a > little slow in my opinion and if I check I see what I think is high load > average, but which is probably somewhat relative. With data driven > sites (CMS) I tend to think performance is more critical than with > static, HTML sites. But anyway, how high is unreasonal? > > 06:55:01 up 51 days, 9:15, 2 users, load average: 2.50, 3.33, 4.18 > 08:05:02 up 51 days, 10:25, 2 users, load average: 10.13, 10.50, 8.81 > 08:30:02 up 51 days, 10:50, 1 user, load average: 19.05, 12.61, 9.62 > 11:32:01 up 51 days, 13:52, 2 users, load average: 35.37, 26.39, 17.53 > > -Bob > Thx - keep in mind hardware is not a core skill of mine. Logged into cPanel here is what I find (in addition to 4GB RAM): Processor #1 Vendor: GenuineIntel Processor #1 Name: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz Processor #1 speed: 2399.990 MHz Processor #1 cache size: 4096 KB Processor #2 Vendor: GenuineIntel Processor #2 Name: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz Processor #2 speed: 2399.990 MHz Processor #2 cache size: 4096 KB In my last exchange with a tech the response was pretty casual that the load is now down below 20 which is apparently fine? -Bob From rob at rob-n-steph.net Thu Oct 8 22:40:03 2009 From: rob at rob-n-steph.net (Robert Lee) Date: Thu, 8 Oct 2009 23:40:03 -0400 Subject: [thelist] how high constitutes troublesome load average. In-Reply-To: <4ACE757C.6040709@dottedi.biz> References: <4ACE39AC.1010702@dottedi.biz> <009c01ca4856$11b8ee00$352aca00$@net> <4ACE757C.6040709@dottedi.biz> Message-ID: <00a001ca4892$311e12c0$935a3840$@net> Bob, The 3060 is a dual core CPU, so if your only seeing two CPU's listed they have a single chip. With that 1.4 or 1.5 would be an ideal high load average. If the machine is running well when you see 2.5, 3.33, 4.18, then it could be that those numbers are ok for that particular server, but consistent loads over 2 means that processes are waiting for CPU time. The one and five minute averages (the first two numbers) aren't as critical, since they could just represent a short term spike, but if you are consistently seeing a 15 minute load of 8 + then that means that there are on average 8 processes being handled by two CPU's, meaning that on average 6 processes are waiting. Keep in mind that there are lots of other factors that could make a machine slow down (IO, DB, etc.), and load average is just one factor, but a continually high load sure doesn't help. Budget hosts tend to milk a machine for all it's worth, but you may be able to get them to move you to another machine with less load. HTH, Rob -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Bob Meetin Sent: Thursday, October 08, 2009 7:28 PM To: the >> "thelist at lists.evolt.org" Subject: Re: [thelist] how high constitutes troublesome load average. Robert Lee wrote: > It depends upon the number of CPU cores on the machine. > > For the 15 minute average (the far right number), you don't want to > see much > more than .7 for each core on the machine, and anything above 1 per > core is > reason for concern. > For a Dual Quad Core machine (8 CPU's) you'd probably like to see it stay > below 6, but lower would be nicer. Of course this doesn't help much if you > don't know how many processor(s) the shared hosting box has. > > HTH, > Rob > > I have a couple sites on a shared hosting server which commonly runs a > little slow in my opinion and if I check I see what I think is high load > average, but which is probably somewhat relative. With data driven > sites (CMS) I tend to think performance is more critical than with > static, HTML sites. But anyway, how high is unreasonal? > > 06:55:01 up 51 days, 9:15, 2 users, load average: 2.50, 3.33, 4.18 > 08:05:02 up 51 days, 10:25, 2 users, load average: 10.13, 10.50, 8.81 > 08:30:02 up 51 days, 10:50, 1 user, load average: 19.05, 12.61, 9.62 > 11:32:01 up 51 days, 13:52, 2 users, load average: 35.37, 26.39, 17.53 > > -Bob > Thx - keep in mind hardware is not a core skill of mine. Logged into cPanel here is what I find (in addition to 4GB RAM): Processor #1 Vendor: GenuineIntel Processor #1 Name: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz Processor #1 speed: 2399.990 MHz Processor #1 cache size: 4096 KB Processor #2 Vendor: GenuineIntel Processor #2 Name: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz Processor #2 speed: 2399.990 MHz Processor #2 cache size: 4096 KB In my last exchange with a tech the response was pretty casual that the load is now down below 20 which is apparently fine? -Bob -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! From eduardok at gmail.com Thu Oct 8 22:49:24 2009 From: eduardok at gmail.com (Eduardo Kienetz) Date: Thu, 8 Oct 2009 21:49:24 -0600 Subject: [thelist] how high constitutes troublesome load average. In-Reply-To: <00a001ca4892$311e12c0$935a3840$@net> References: <4ACE39AC.1010702@dottedi.biz> <009c01ca4856$11b8ee00$352aca00$@net> <4ACE757C.6040709@dottedi.biz> <00a001ca4892$311e12c0$935a3840$@net> Message-ID: <3e7d042a0910082049i51d2311bw5e61351949f70c5b@mail.gmail.com> On Thu, Oct 8, 2009 at 9:40 PM, Robert Lee wrote: > Keep in mind that there are lots of other factors that could make a machine > slow down (IO, DB, etc.), and load average is just one factor, but a > continually high load sure doesn't help. I gotta emphasize this point mentioned by Robert that you should analyze the other factors. What are you running in that machine? Do you write a lot to disk? Do you read a lot from disk? -- Eduardo Bacchi Kienetz From evolt at roselli.org Fri Oct 9 07:29:11 2009 From: evolt at roselli.org (aardvark) Date: Fri, 09 Oct 2009 08:29:11 -0400 Subject: [thelist] Amazon S3 secure video tutorial In-Reply-To: <619d00930910072351k549a79c9idc92d4fca428e9e@mail.gmail.com> References: <5AEE9B90-4EA8-4367-B204-B630D295DEEA@easyweb.co.uk> Message-ID: <4ACEF457.7812.A4390@localhost> On 7 Oct 2009 at 23:51, Joel Canfield wrote: > > Doncha mean > > http://evolt.org/facebook-google-want-to-translate-your-site > > Doncha? Doncha? > > > > I thought that URL looked odd, seein' as how I'd just seen the article . . > . you just can't trust the lower classes of mammalia any more. alright, martin caught me... yes, i posted the wrong link... it's an ego thing... and to be clear -- i'm not a lower class of mammal... i'm just short... now marsupials, there's a whole different discussion about warm- blooded wimps... and don't get me started on monotremes... From martin at easyweb.co.uk Fri Oct 9 07:17:43 2009 From: martin at easyweb.co.uk (Martin Burns) Date: Fri, 9 Oct 2009 13:17:43 +0100 Subject: [thelist] how high constitutes troublesome load average. In-Reply-To: <00a001ca4892$311e12c0$935a3840$@net> References: <4ACE39AC.1010702@dottedi.biz> <009c01ca4856$11b8ee00$352aca00$@net> <4ACE757C.6040709@dottedi.biz> <00a001ca4892$311e12c0$935a3840$@net> Message-ID: On 9 Oct 2009, at 04:40, Robert Lee wrote: > Keep in mind that there are lots of other factors that could make a > machine > slow down (IO, DB, etc.), and load average is just one factor, but a > continually high load sure doesn't help. And while load average is a useful warning sign, it doesn't necessarily follow that the user experience is of slow response times, which is what actually matters. If you are seeing consistently high load averages, then that's probably the point to do some evaluation of the real KPI. (mmm NFRs & NFT) Cheers Martin -- > Spammers: Send me email -> yumyum at easyweb.co.uk to train my filter > http://dspam.nuclearelephant.com/ From bobm at dottedi.biz Sat Oct 10 09:54:20 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Sat, 10 Oct 2009 08:54:20 -0600 Subject: [thelist] how high constitutes troublesome load average. In-Reply-To: References: <4ACE39AC.1010702@dottedi.biz> <009c01ca4856$11b8ee00$352aca00$@net> <4ACE757C.6040709@dottedi.biz> <00a001ca4892$311e12c0$935a3840$@net> Message-ID: <4AD0A01C.1040902@dottedi.biz> > >> Keep in mind that there are lots of other factors that could make a >> machine >> slow down (IO, DB, etc.), and load average is just one factor, but a >> continually high load sure doesn't help. >> > > > And while load average is a useful warning sign, it doesn't > necessarily follow that the user experience is of slow response times, > which is what actually matters. > > If you are seeing consistently high load averages, then that's > probably the point to do some evaluation of the real KPI. > > (mmm NFRs & NFT) > > Cheers > Martin > Quite frankly the only concern I have is how the web server affects the viewers' experience. When I am looking at 2 different servers, have access to view load averages on both, and tell them that server B "appears" to be delivering pages more lethargically than server "A" and of course server A's load average is substantially higher than B's, but then they seem to infer that it's below 20 now (and that is apparently in acceptable range) it leaves me a little breathless. Deaf ears. They don't accept my feedback as laboratory control. The key, I hope, is in running an apples to apples comparison. Yesterday I set up two identical installs of Joomla CMS on each server in subdirectories, one a swift template and one that I know is slow out of the box (4 total). My thinking is that I will run some tests and record the results on each (YSlow) when the load average is low, then record similar results when high. This is a similar test which I would like to do on a dedicated server (to eliminate other variables) but don't care to lease one for three months for a week's testing. -Bob