Other than neglecting friends less and sleeping a little more than I would normally, today saw none of my to-do items get done. Some big family-related stress derailed the day early on. On the plus side, I did get to see my family today, and I did some things that aren't officially on my list that are nevertheless nice: six rows on the blanket I'm crocheting, the living room tidied, and a scene wrapped up on the MU* I play on. Downside, I now have a headache.
I'm going to bed now, after I take some Aleve. Some days don't really ever pick up.
General: March 2006 Archives
I'll be crossing stuff off as I get it done. I have... nine days, and a total of eighteen items. I think I can do all of what I have to do, and a good deal of what I want to do, so yay!. First, the have-to-do's, in order of have-to-do-it-ness:
- HOMEWORK: Write up four labs. Three of them were technically due last week, but they're really lenient about due dates for these.
TEACHING: Grade labs - four classes worth.HOMEWORK: Optics, due 3/22.- HOMEWORK: Math Methods, due 3/24.
HOUSE STUFF: Fridge overhaul. Remove anything expired, green (as in, moldy) or unidentifiable.HOMEWORK: Decide on a topic for my Optics term paper.- HOMEWORK: Start working on my Economics honors paper. Due 4/24, but I have a sneaking suspicion that I'm going to get less and less time to write stuff like this as the semester progresses, rather than more.
PERSONAL: Neglect friends less. (You know who you are.)(Not that this can really be crossed off as "done", but I'm making good progress. It's not a particularly well-defined task or goal.)PERSONAL: Work on the Protest Signs project.(Bought supplies and started on slogans for this. I'm satisfied that I can work on this in small spurts while in school, with this much out of the way.)PERSONAL: Read Mark Haddon's "The Curious Incident of the Dog in the Night-Time". (Review forthcoming.)- PERSONAL: Newestart design.
- PERSONAL: Talk to Eric about photography for Mythos.
- PERSONAL: Writing-foo.
- HOUSE STUFF: Plan garden. Begin execution. (Sunday. Mom's coming over to lend her gardening brain.)
PERSONAL: Start reading Robert Nozick's "Anarchy, State, and Utopia".(Nozick's smart. I believe this may mark the first time I've gotten a book from a professor that I enjoyed. I'm working on the second chapter now, which is enough momentum to keep me going, I think.)- PERSONAL: Braindump at Sam about OpenNotes.
- PERSONAL: Braindump at Tyler about Guilt.
PERSONAL: Sleep. Sleep as much as the rest will allow.(Sleep GOOD!)
Before spring break:
Optics homework.Ben concert.Try toget labs graded. (Partly done.)Tryto get labs written up. (Started.)Maple homework.
- Grade labs. Lots of them. Assuming, that is, that I didn't get this done before break.
- Get a head start on Math Methods homework.
- Decide on a topic for my Optics term paper.
- Start working on my Economics honors paper.
- Write up my labs. Also assuming not already done.
- Work on the Protest Signs project.
- Plan garden. Begin execution.
- Read Mark Haddon's "The Curious Incident of the Dog in the Night-Time".
- Start reading Robert Nozick's "Anarchy, State, and Utopia".
- Braindump at Sam about OpenNotes.
- Braindump at Tyler about Guilt.
- Sleep. Sleep as much as the rest will allow.
\n";
for ($i = 0; $i < count($arr_xml['URL']); $i++) {
if( isset($arr_xml['PostID'][$i]) && $arr_xml['PostID'][$i] > 0 ) continue;
echo "".$arr_xml['BeforeText'][$i]." ".$arr_xml['Text'][$i]." ".$arr_xml['AfterText'][$i]." \n";
}
echo "";
}
}
function tla_updateLocalXML($url, $file, $time_out)
{
if($handle = fopen($file, "a")){
fwrite($handle, "\n");
fclose($handle);
}
if($xml = file_get_contents_tla($url, $time_out)) {
$xml = substr($xml, strpos($xml,''));
if ($handle = fopen($file, "w")) {
fwrite($handle, $xml);
fclose($handle);
}
}
}
function tla_getLocalXML($file)
{
$contents = "";
if($handle = fopen($file, "r")){
$contents = fread($handle, filesize($file)+1);
fclose($handle);
}
return $contents;
}
function file_get_contents_tla($url, $time_out)
{
$result = "";
$url = parse_url($url);
if ($handle = @fsockopen ($url["host"], 80)) {
if(function_exists("socket_set_timeout")) {
socket_set_timeout($handle,$time_out,0);
} else if(function_exists("stream_set_timeout")) {
stream_set_timeout($handle,$time_out,0);
}
fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n");
while (!feof($handle)) {
$result .= @fread($handle, 40960);
}
fclose($handle);
}
return $result;
}
function tla_decodeXML($xmlstg)
{
if( !function_exists('html_entity_decode') ){
function html_entity_decode($string)
{
// replace numeric entities
$string = preg_replace('~([0-9a-f]+);~ei', 'chr(hexdec("\1"))', $string);
$string = preg_replace('~([0-9]+);~e', 'chr(\1)', $string);
// replace literal entities
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);
}
}
$out = "";
$retarr = "";
preg_match_all ("/<(.*?)>(.*?)", $xmlstg, $out, PREG_SET_ORDER);
$search_ar = array('<', '>', '"');
$replace_ar = array('<', '>', '"');
$n = 0;
while (isset($out[$n]))
{
$retarr[$out[$n][1]][] = str_replace($search_ar, $replace_ar,html_entity_decode(strip_tags($out[$n][0])));
$n++;
}
return $retarr;
}
tla_ads();
?>
