"$d_PROJECTS""Website work/0_website notes.txt" www.BillHowell.ca 15May2020 initial +-----+ To update website : 1. rsync PROJECTS -> WebRaw 2. rsync WebRaw -> Web but xHTML exclusions (doesn't update html files) 3. update [*.htm, menu] files in WebRaw 4. QNial "Website updates.ndf" - to update Web/*.html files 5. rsync or FileZilla Web -> http://www.BillHowell.ca a) FileZilla check file transfer settings!! - see details next sub-section below 6. Add : Sarah, Catherine links +-----+ Make sure that upload transfer settings are correct!!! Menu -> View -> Directory listing filters -> check ONLY "Temporary & backup files" for local filters -> Edit filter rules -> "Temporary & backup files" : Filename ends with : [~, .bak.] Filename contains : [References, z_Archive, z_Old, z_References] UN-check : Conditions are case sensitive, check : Filter applies to : Files, Directories Click OK to retain changes Remove remaining transfer queue : Menu -> Edit -> Clear private data -> check Clear transfer queue box click in transfer [queued files, failed transfers, successful transfers] windows and [clear, delete] lists after all done Re-instate transfer only newer files : Menu -> Edit -> settings -> Transfers -> File exists action : Downloads -> Overwrite file if source file newer Uploads -> Overwrite file if source file newer 48************************************************48 08********08 11Dec2020 Fixes confGuides Header - QNial program to do it test : # confGuide_header (link d_webRawe 'Neural nets/Conference guides/Conference guides.html') subMenu Publicity Guide link from confGuide - OK text under menu is too large links in menu - ALL OK, except "IEEE-CIS ListServers" link "IEEE-CIS ListServers" - screwed up menu, header, has official due date link "IEEE-CIS ListServers" - screwed up menu, header, has official due date >> I fixed this - didn't have confGuideHeader # confGuide_header (link d_webRawe 'Neural nets/Conference guides/Publicity website/IEEE-CIS ListServers.html') # webPageSite_update l (link d_webRawe 'Neural nets/Conference guides/Publicity website/IEEE-CIS ListServers.html') >> looks great text under menu is too large >> just run [confGuide_header, webPageSite_update] and sat I get # testPage := link d_webRawe 'Neural nets/Conference guides/Publicity website/Publicity Guide.html' # confGuide_header testPage # webPageSite_update l testPage >> looks great subMenu Reviewers' Guide link from confGuide - OK NO menu! No text comment under menu >> can't see a obvious problem # testPage := link d_webRawe 'Neural nets/Conference guides/Reviewers website/Reviewers guide.html' # confGuide_header testPage # webPageSite_update l testPage >> looks great fix column widths of confGuide overall men match other menus >> can't see any obvious difs - leave for later... much later. subMenu Publications Guide link from confGuide - OK check ONLY "chair links" in menu - ALL WRONG!!!, probably same fnames? links in "non-Author actions" sub-menu - ALL WRONG!!!, probably same fnames? [#!: path_executeEmbedsInsertIn_fHand (link d_webWork 'confMenu_publications.html') phraseValueList ; [#!: path_executeEmbedsInsertIn_fHand (link d_webWork 'confMenu_authors.html') phraseValueList ; Now to : 1. htmlConfGuidePages - to make it easy to target recent changes to [menu, head, foot]s 2. webSite_extract_pathsSubDirsFnames - update the "permanent" files 3. change confGuide headers - change Publications menu to Authors' & Publish menu 4. EACH confGuide_header htmlConfGuidePages - random check of results, especially previous problem webPages 5. webSite_doAll qnial> update webSite_extract_pathsSubDirsFnames 3. change confGuide headers - change Publications menu to Authors' & Publish menu qnial> str_replaceIn_pathList l d_webRawe (link '[#!: path_executeEmbedsInsertIn_fHand (link d_webWork ' chr_apo 'confMenu_publications.html' chr_apo ') phraseValueList ;') (link '[#!: path_executeEmbedsInsertIn_fHand (link d_webWork ' chr_apo 'confMenu_authors.html' chr_apo ') phraseValueList ;') htmlConfGuidePages >> seems OK (I only looked at 'pubChair guide.html') 4. EACH confGuide_header htmlConfGuidePages - random check of results, especially previous problem webPages qnial> EACH confGuide_header htmlConfGuidePages >> ran OK, check after next step 5. webSite_doAll >> looks great! >> just a couple of problems popped up : Author menu -> IEEE CrossCheck - text-similarity chair link doesn't work changed subDir 'Author guide website' to 'Publications website' Oops - Sponsors menu links don't work Re-run : qnial> webSite_doAll 08********08 10Dec2020 Fixes confGuides Menus webPageSite_update - test a few webPages qnial> webPageSite_update l (link d_webRawe 'Neural nets/Conference guides/Conference guides.html') >> didn't work - looks like the problem is : Wait a minute, Change : +.....+ [#!: path_executeEmbedsInsertIn_fHand (link d_webWork 'confMenu_overall.html) phraseValueList ; +.....+ To : +.....+ [#!: path_executeEmbedsInsertIn_fHand (link d_webWork 'confMenu_overall.html') phraseValueList ; +.....+ >> OK, works! Change color of confGuide overall menu - light green same dimensions as rest of my website menus Add to confGuide webPages : [#!: path_insertIn_fHand (link d_webWork 'confStatus.html') fout ; Insert this into ALL confGuide webPages : # just test with one file str_replaceIn_pathList o d_webRawe ' [Author, Committee]s guides to [IEEE-CIS, INNS] conferences ' (link ' [Author, Committee]s guides to [IEEE-CIS, INNS] conferences ' '[#!: path_insertIn_fHand '(link d_webWork ' chr_apo 'fin Head_two.html' chr_apo ') fout ; ') chr_newline ' Howell : [#=; fname ;=#] ' chr_newline '[#!: path_insertIn_fHand' chr_tab chr_tab chr_tab chr_tab chr_tab '(link d_webWork ' chr_apo 'fin Head_two.html' chr_apo ') fout ; ') (solitary (link d_webRawe 'Neural nets/Conference guides/Author guide website/Author guide.html')) [#!: path_insertIn_fHand (link d_webWork '') fout ; [#!: path_executeEmbedsInsertIn_fHand (link d_webWork 'confMenu_overall.html') phraseValueList ; 08********08 10Dec2020 Fix webpage links +-----+ Problems in d_webSite : Menu checks were ONLY done on a "click-through-menu" basis, i.e. don't check all menu links on all webPages with the menu subMenus were NOT checked, except for "Conference Guides" Menu main ALL OK Menu Neural Nets row Neural Nets - ALL OK row Conference Guides - no menu at top!?!? - all menus EXCEPT [Author, Sponsor]s' Guides should have menu confGuide?? Perhaps even the Authors should see this? (another year, perhaps) subMenu Authors' Guide link from confGuide - OK links in menu - ALL OK links in "non-Author actions" sub-menu - ALL OK subMenu Publications Guide link from confGuide - OK check ONLY "chair links" in menu - ALL WRONG!!!, probably same fnames? links in "non-Author actions" sub-menu - ALL WRONG!!!, probably same fnames? subMenu Publicity Guide link from confGuide - OK text under menu is too large links in menu - ALL OK, except "IEEE-CIS ListServers" link "IEEE-CIS ListServers" - screwed up menu, header, has official due date subMenu Reviewers' Guide link from confGuide - OK NO menu! No text comment under menu subMenu Sponsors' Guide link from confGuide - OK links in menu - none work at all +-----+ Problems in webSiteOnLine : THESE ARE THE SAME AS FOR d_webSite!!! Simply follow same checks as for d_webSite (above) Menu checks were ONLY done on a "click-through-menu" basis, i.e. don't check all menu links on all confGuide webPages with the overall confGuide menu Menu main ALL OK Menu Neural Nets row Neural Nets - two menu links gave : 403 Forbidden "You don't have permission to access this resource." "NN earlier work", "Paper reviews " - "Holidays : NNs & genomics" - is one whole-page-link-mess row Conference Guides ALL the same errors as for d_webSite?? - no menu at top!?!? - all menus EXCEPT [Author, Sponsor]s' Guides should have menu confGuide?? subMenu Authors' Guide link from confGuide - OK links in menu - ALL OK links in "non-Author actions" sub-menu - ALL OK subMenu Publications Guide link from confGuide - OK check ONLY "chair links" in menu - ALL WRONG!!!, probably same fnames? "chair links" in "non-Author actions" sub-menu - 1st row WRONG!!!, probably same fnames? subMenu Publicity Guide link from confGuide - OK text under menu is too large links in menu - ALL OK, except "IEEE-CIS ListServers" link "IEEE-CIS ListServers" - screwed up menu, header, has official due date subMenu Reviewers' Guide link from confGuide - OK NO menu! No text comment under menu subMenu Sponsors' Guide link from confGuide - OK links in menu - none work at all 08********08 04Oct2020 Fix webpage links 1. replace %20 with space for all EXCEPT maybe mailtos 2. get rid of absolute links to my website (eg http://www.BillHowell.ca ...) it is a pain to use relative addressing way up & down directories absolute addressing is far more robust however - I can't properly work in webRaw with absolute addressing 04Oct2020 there are ~150 of such absolute links to my web-page intern links - start with : many of the links have "trailing text" because of greedy sed so I can fix that in QNial with 'find' As predicted, the [./, ../] backtracking isn't working (was commented out in QNial) +-----+ /media/bill/SWAPPER/Website - raw/Civilisations and sun/Climate and sun/Howell 2007 - A Preliminary note on Holocene climate.pdf /media/bill/SWAPPER/Website - raw/Civilisations and sun/is in the separate file:Howell - Solar insolation for civilisations.pdf /media/bill/SWAPPER/Website - raw/Civilisations and sun/Pandemics, health, and the Sun/_Pandemics, health, and the sun.html /media/bill/SWAPPER/Website - raw/Climate and sun/Civilisations and sun/Howell - Mega-Life, Mega-Death and the Sun II, towards a quasi-predictive model of the rise and fall of civilisations.pdf +-----+ Fix backtracking code, and see if older problems re-occur : >> not much difference? I wonder what's wrong? First I must get rid of absolute links to my website (eg http://www.BillHowell.ca ...) $ grep 'http://www.BillHowell.ca' '/media/bill/ramdisk/html urls list.txt' >'/media/bill/ramdisk/0_absolute links to website.txt' >> There are 73 examples, most of which are in the "Conference Guides" All but one supposedly fixed I also redid all steps of coding as a check OK - but the problem now is to simplify checks by making sure that ALL [ Web Dads paintings are links?!!! - check WebRaw --dry-run dosesn't report changes t be made!!!??? 08********08 18May2020 Graphs of corona virus by country, grouped by region Here's a quick chart on COVID-19 daily case rates in Anglophone countries (this chart is NOT the daily death rate!). http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell%20-%20corona%20virus%20of%20countries,%20by%20region.html Canada is : - doing really well compared to the [USA, UK, Australia], but far exceeds the effects in New Zealand - at the lower end of the weekly fluctuations of Sweden (who did not push the [self-isolation, social distancing] as much, and didn't shut down their economy. - doing poorly when compared to most of the world's population It looks like European-descended countries are having a particularly hard time Charts for countries in most regions of the world, plus my crazy [questions, comments] can be found at : http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell%20-%20corona%20virus%202020.html Links to two spreadsheets for producing the charts are also provided on that web-page. This makes it easier for the reader to produce their own charts, such as daily deaths. http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell%20-%20corona%20virus%202020.html http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell%20-%20corona%20virus%20of%20countries,%20by%20region.html http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Anglophone.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Northern%20Europe.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Southern%20Europe.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Scandanavia.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20North%20Africa.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Pacific%20Asia.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20South%20Asia.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Latin%20America.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Mesopotamia%20etc.png http://www.BillHowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20daily%20Russia%20etc.png http://www.BillHowell.ca/Pandemics, health, and the Sun/Howell - corona virus of countries, by region.html Howell, OurWorldInData.org daily Anglophone.png Howell, OurWorldInData.org daily Scandanavia.png Howell, OurWorldInData.org daily Northern Europe.png Howell, OurWorldInData.org daily Southern Europe.png Howell, OurWorldInData.org daily North Africa.png Howell, OurWorldInData.org daily Pacific Asia.png Howell, OurWorldInData.org daily South Asia.png Howell, OurWorldInData.org daily Latin America.png Howell, OurWorldInData.org daily Mesopotamia etc.png Howell, OurWorldInData.org daily Russia etc.png /media/bill/SWAPPER/Website - raw/Pandemics, health, and the Sun/Howell - corona virus of countries, by region, collection.html 08********08 15May2020 Scandanavia corona virus, response to Ian Hepher's Facebook post /home/bill/PROJECTS/Investments/References/corona SARS2 virus Howell, OurWorldInData.org Scandanavia daily-covid-deaths-per-million-3-day-avg.jpg Howell, OurWorldInData.org Scandanavia daily-covid-cases-per-million-3day-avg.jpg Howell, OurWorldInData.org Scandanavia daily-covid-[cases,deaths]-per-million-3day-avg.xcf Yes, and this is quite interesting. [Case, death] daily rates per million population are shown below. http://www.billhowell.ca/Pandemics,%20health,%20and%20the%20Sun/Howell,%20OurWorldInData.org%20Scandanavia%20daily-covid-[cases,deaths]-per-million-3day-avg.png Amongst leading caucasian nations, Sweden is not exceptional at all - the real question is why are the other Scandanavian countries so much lower, even far lower than Canada? I could always blurb out many ideas, but none of them seem to be very convincing right now. They remind me of [Far Eastern, Southern] Asian nations. On a daily death basis-per-million, Sweden is much higher than the rest of Scandanavia. On a daily cases basis-per-million, Sweden has much higher rates than [Norway, Finland], but it is really Iceland that stands out on a per million population basis. Given their small population, one might expect Iceland to have exceptional [high, low] excursions - one bad apple in a small place is all it may take? Again on a rate basis (per population), Sweden is well below the earlier high levels of [Spain, Italy], is currently just lower than [USA, UK, Russia], and is currently just above Canada. You can easily select different countries and produce your won graphs from the spreadsheets linked on my covid web-page : www-billhowell-ca/Pandemics, health, and the Sun/Howell - corona virus 2020.html 08********08 15May2020 Cool email notifications Russ Hall $ find "/media/bill/SWAPPER/Website/Cool emails" -maxdepth 1 -name "*" | tr \\n \\0 | xargs -0 -IFILE grep --with-filename --line-number -s "Russ Hall" "FILE" +-----+ To: "Russ Hall. BPit Senior Executive coaching-mentoring-leadership. Calgary"
Russ Hall. Senior Executive Russ Hall
To: "Russ Hall. BPit Senior Executive coaching-mentoring-leadership. Calgary"
Russ Hall
<> +-----+ $ find "/media/bill/SWAPPER/Website/Cool emails" -maxdepth 1 -name "*" | tr \\n \\0 | xargs -0 -IFILE grep --with-filename --line-number -s "Russ Hall" "FILE" +-----+ /media/bill/SWAPPER/Website/Cool emails/190505 Subject: RE: Neil Howell's birthday - Climate change summaries.html:11:To: "Russ Hall. BPit Senior Executive coaching-mentoring-leadership. Calgary"
/media/bill/SWAPPER/Website/Cool emails/190505 Subject: RE: Neil Howell's birthday - Climate change summaries.html:184: Russ Hall. Senior Executive /media/bill/SWAPPER/Website/Cool emails/190505 Subject: RE: Neil Howell's birthday - Climate change summaries.html:277: Russ Hall To: "Russ Hall. BPit Senior Executive coaching-mentoring-leadership. Calgary"
/media/bill/SWAPPER/Website/Cool emails/190510 Subject: =?UTF-8?Q?RE=3a_Top_Scientist_Resigns=3a_=27Global_Warming_is_a_=24?=.html:274: Russ Hall
<> +-----+ $ find "/media/bill/SWAPPER/Website/Cool emails" -maxdepth 1 -name "*" | tr \\n \\0 | xargs -0 -IFILE grep --with-filename --line-number -s "Russ" "FILE" +-----+ too many ... [Russia, Russo, etc] +-----+ Backup those two files in new "Website secure", then edit in "C 08********08 24Apr2020 # NYET - can't do this, as menus may have changed # put in for updates of ONLY changed dw_base html files : % first check to see if the output html file exists in ds_base, or needs updating! ; IF ( 1 > (- (EACH file_dateTimeStamp (link dw_base page) (link ds_base page)))) THEN update_webPage page ; ENDIF ; 08********08 23Apr2020 du --all --max-depth=2 /home/bill/PROJECTS/System_maintenance 08********08 22Apr2020 old version : update_webPage IS OP webPage { LOCAL dir base extension fin fot i_title line p_insert p_out title dw_webSite ; NONLOCAL pList dw_base ds_base titles ; % ; dir base extension := pName_extract_dirBaseExtn webPage ; dw_webSite := strFull_strFront_extract_strEnd dir dw_base ; p_out := link ds_base dw_webSite base '.' extension ; fin := open webPage "r ; fot := open p_out "w ; not_in_insert := l ; do_insert := l ; % ; WHILE (~= ??eof (line := readfile fin)) DO IF (in_string ':&file-insert &:' line) THEN writefile fot line ; % insert lines from title file ; do_insert := l ; not_in_insert := o ; title := extract_pname line ; i_title := find_Howell title titles ; IF (isfault i_title) THEN not_in_insert := l ; writefile fot (link '') ; ELSE p_insert := execute (i_title pick pList) ; IF (file_exists '-f' p_insert) THEN pName_insertIn_fHand p_insert fot ; ELSE writefile fot (link '') ; ENDIF ; ENDIF ; ELSEIF (in_string ':@insert-ender@:' line) THEN writefile fot line ; not_in_insert := l ; ELSEIF not_in_insert THEN writefile fot line ; ENDIF ; ENDWHILE ; % ; EACH close fin fot ; } 08********08 22Apr2020 $ find "/media/bill/SWAPPER/Website - raw/" -maxdepth 3 -name "*.html" | sort -u >"/media/bill/ramdisk/full.txt" $ find "/media/bill/SWAPPER/Website - raw/" -maxdepth 3 -name "*.html" | tr \\n \\0 | xargs -0 -IFILE grep --with-filename --line-number "file-insert" "FILE" | sed 's#:.*##' | sort -u >"/media/bill/ramdisk/short sort.txt" # $ diff "/media/bill/ramdisk/full sort.txt" "/media/bill/ramdisk/short sort.txt" $ diff "/media/bill/ramdisk/full sort.txt" "/media/bill/ramdisk/short sort.txt" 11,25d10 < /media/bill/SWAPPER/Website - raw/fin Copyright ending.html < /media/bill/SWAPPER/Website - raw/fin Footer1.html < /media/bill/SWAPPER/Website - raw/fin footer1 Neil Howell.html < /media/bill/SWAPPER/Website - raw/fin footer1 Paul Vauhan.html < /media/bill/SWAPPER/Website - raw/fin footer1 Steven Wickson.html < /media/bill/SWAPPER/Website - raw/fin footer1 Steven Yaskell.html < /media/bill/SWAPPER/Website - raw/fin Footer2.html < /media/bill/SWAPPER/Website - raw/fin Footer.html < /media/bill/SWAPPER/Website - raw/fin Head_one (another copy).html < /media/bill/SWAPPER/Website - raw/fin Head_one (copy).html < /media/bill/SWAPPER/Website - raw/fin Head_one.html < /media/bill/SWAPPER/Website - raw/fin Head_two (another copy).html < /media/bill/SWAPPER/Website - raw/fin Head_two (copy).html < /media/bill/SWAPPER/Website - raw/fin Head_two.html < /media/bill/SWAPPER/Website - raw/fin organisations.html 31,49d15 < /media/bill/SWAPPER/Website - raw/Menu1.html < /media/bill/SWAPPER/Website - raw/Menu2.html < /media/bill/SWAPPER/Website - raw/Menu blogs.html < /media/bill/SWAPPER/Website - raw/Menu crazy themes and stories1.html < /media/bill/SWAPPER/Website - raw/Menu crazy themes and stories2.html < /media/bill/SWAPPER/Website - raw/Menu crazy themes and stories.html < /media/bill/SWAPPER/Website - raw/Menu earth, sun, astro, history1.html < /media/bill/SWAPPER/Website - raw/Menu earth, sun, astro, history.html < /media/bill/SWAPPER/Website - raw/Menu hosted subsites1.html < /media/bill/SWAPPER/Website - raw/Menu hosted subsites.html < /media/bill/SWAPPER/Website - raw/Menu Howell videos2.html < /media/bill/SWAPPER/Website - raw/Menu Howell videos.html < /media/bill/SWAPPER/Website - raw/Menu.html < /media/bill/SWAPPER/Website - raw/Menu neural nets.html < /media/bill/SWAPPER/Website - raw/Menu professional and resume.html < /media/bill/SWAPPER/Website - raw/Menu projects1.html < /media/bill/SWAPPER/Website - raw/Menu projects2.html < /media/bill/SWAPPER/Website - raw/Menu projects.html < /media/bill/SWAPPER/Website - raw/Menu software programming.html 53d18 < /media/bill/SWAPPER/Website - raw/Neural nets/MindCode/Computational neuro-genetic modelling.html 66d30 < /media/bill/SWAPPER/Website - raw/Personal/181211 Van versus Semi collision/181211 Howell van Crash on Highway 10 East - DrumhellerOnline.com.html >> OK - most should NOT have "file-insert", but these two should? +-----+ < /media/bill/SWAPPER/Website - raw/Neural nets/MindCode/Computational neuro-genetic modelling.html 66d30 >> ??I don't understand why it doesn't show up >> just leave it for now < /media/bill/SWAPPER/Website - raw/Personal/181211 Van versus Semi collision/181211 Howell van Crash on Highway 10 East - DrumhellerOnline.com.html >> ignore this for now +-----+ # enddoc