tags: sleep, substring, TrickleUp, XML, GP, falling asleep

Action executed in 0.000

Each Tag

sleep, substring, TrickleUp, XML, GP, falling asleep

Common tags - number of posts

blog (8), articles (5), comment (5), guitar (4), website (4), style (3), database (3), post (3), Atom (3), tag (2), Seele (2), Thoughts (2), work (2), report (2), bug (2), Xerces (2), philosophy (2), truncate (2), development (2), movies (2), color (2), Marc (2), TrickleUp Effect (2), authentication (2), features (2), cookie (1), guest book (1), Selden (1), threading (1), VBA (1), card drive (1), remoteArticles (1), date (1), structure (1), XmlDoc Substring (1), notifications (1), email (1), self (1), Spartan (1), deprivation (1), Alzheimer's (1), account (1), weather (1), Sincora (1), accessibility (1), joke (1), disease (1), toxins (1), projects (1), SSL (1), software (1), television (1), humor (1), RSS (1), XHTML (1), web page (1), right side (1), Italian Job (1), LDAP (1), accounts (1), PHP (1), poll (1), trackbacks (1), computer (1), automation (1), CPR (1), brain (1), Debian (1), well formed (1), sort (1), [Si]dragon (1), Struts (1), delete (1), seo (1), PowerMac G5 (1), Michael (1), limit (1), search (1), kernel (1), beer (1), anonymity (1), Gila (1), Kerberos (1), Moss (1), author (1), Java (1), travel (1), SASL (1), Dunstan (1), Mark (1), news (1), validate (1), notify (1), crash (1), privacy (1), restaurantReview (1), dementia (1), comments (1), address (1), IT (1), USPS (1), registration (1), GSSAPI (1), parent (1), LCLI (1), Eli (1), family (1), Elwing (1), portlet (1), web (1),

Sub groups 5

Sub groups 4

Sub groups 3

Sub groups 2

Atom, TrickleUp, XML (1), TrickleUp, guitar, sleep (1), TrickleUp, falling asleep, work (1), Marc, TrickleUp, XML, Xerces, articles, guitar, truncate (1)

Sub groups 1

TrickleUp, post, report, tag, website (2), Atom, RSS, XML (1), TrickleUp, bug, comments, database, kernel (1), TrickleUp, comment, notifications (1), USPS, XML, XmlDoc Substring, address, well formed (1), Moss, XML, humor, joke, validate (1), GSSAPI, Kerberos, LDAP, SASL, TrickleUp, authentication, movies (1), TrickleUp, comment, email, notify, self (1), TrickleUp, XHTML, account, articles, delete, development, features (1), TrickleUp, anonymity, authentication, blog, cookie, privacy (1), Elwing, TrickleUp, remoteArticles (1), Seele, Selden, TrickleUp, family, travel, website (1), TrickleUp, restaurantReview (1), TrickleUp, beer (1), TrickleUp, bug, features (1), TrickleUp, blog, threading (1), Italian Job, Mark, Spartan, TrickleUp, TrickleUp Effect, movies (1), Java, LCLI, Struts, TrickleUp, card drive, computer, crash, philosophy, portlet (1), CPR, Thoughts, TrickleUp, philosophy (1), SSL, TrickleUp, author, comment, registration (1), TrickleUp, date, right side, seo (1), TrickleUp, parent, post (1), Thoughts, TrickleUp, articles, blog (1), TrickleUp, projects (1), Dunstan, PHP, TrickleUp, color, style, weather (1), TrickleUp, blog, news, structure (1), TrickleUp, blog, database (1), TrickleUp, VBA, [Si]dragon, automation, development, software (1), TrickleUp, blog, trackbacks (1), Michael, TrickleUp, website (1), TrickleUp, blog, comment, database (1), TrickleUp, accounts (1), Debian, Gila, PowerMac G5, Sincora, TrickleUp, style (1), IT, XML, search, web (1), TrickleUp, comment, limit, television (1), TrickleUp, TrickleUp Effect, blog, poll (1), Eli, Seele, TrickleUp, accessibility, color, style, web page (1), TrickleUp, guest book (1), Alzheimer's, brain, dementia, deprivation, disease, sleep, toxins (1), TrickleUp, articles, sort (1)

Brian versus Sleep

Last night i was working on GP as usual. For the last few nights this week me and Sleep have been battling each other. After a late dinner i'll get to work programming. Around 9pm Sleep hits me hard. I'll crash on the couch until midnight or 3am, then return to work. Two nights ago i thought i could work out an idea as i laid down...

Nope! Sleep knocked me out.

But last night, i made a strong come back. I laid down to figure something out and i got the solution before Sleep hit me.

Tonight i look forward to implementing it.

solution

Previously, i've written a function to take the substring of an XML string, while preserving well-formedness. E.g. xml_substring( "<p>The brown <span class='light'>cow jumped over the lazy</span> moon</p>", 50 ) produces <p>The brown <span class='light'>cow jump</span></p>. What i need now is the rest of the string, i.e <p><span class='light'>ed over the lazy</span> moon.</p>. And i figured a way to build this into my recursive algorithm. So far i see only one problem with this, viz. an element with an id attribute can't be split into two.