From 97e588cc897d436ece9108880f693ccd8db13b60 Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 18 Sep 2023 00:53:58 -0400 Subject: [PATCH] 2023-09-17 --- homepage/homepage | 165 ++++++++++++++++++++++++++++------ it/{src => }/Q.py | 0 it/{src/!.py => bang.py} | 0 it/{src => }/buffer.py | 0 it/{src => }/config.py | 0 it/{src => }/dot.py | 0 it/{src => }/exit.py | 0 it/{src => }/f.py | 0 it/{src => }/get_command.py | 0 it/{src => }/hello_world.py | 0 it/{src => }/i.py | 0 it/it | 39 +++++++- it/{src => }/load_module.py | 0 it/{src => }/p.py | 0 it/{src => }/parse_command.py | 0 it/{src => }/q.py | 0 it/{src => }/saved.py | 0 it/src/it.py | 38 -------- it/{src => }/version.py | 0 19 files changed, 177 insertions(+), 65 deletions(-) rename it/{src => }/Q.py (100%) rename it/{src/!.py => bang.py} (100%) rename it/{src => }/buffer.py (100%) rename it/{src => }/config.py (100%) rename it/{src => }/dot.py (100%) rename it/{src => }/exit.py (100%) rename it/{src => }/f.py (100%) rename it/{src => }/get_command.py (100%) rename it/{src => }/hello_world.py (100%) rename it/{src => }/i.py (100%) rename it/{src => }/load_module.py (100%) rename it/{src => }/p.py (100%) rename it/{src => }/parse_command.py (100%) rename it/{src => }/q.py (100%) rename it/{src => }/saved.py (100%) delete mode 100755 it/src/it.py rename it/{src => }/version.py (100%) diff --git a/homepage/homepage b/homepage/homepage index 3333f0c..67e6a99 100755 --- a/homepage/homepage +++ b/homepage/homepage @@ -1928,6 +1928,146 @@ If I don't, escalate the issue to the host of this site (this can also be found +/blah/2023-09-17.html + +[10:33PM] trinity: i like puzzling out timeframes. the more the past makes + sense the more the present does + +I'm twenty years old. Two decades old. No longer teenage by any stretch of the +word. + +Dear future self - + you better be kicking as much fucking ass as I have kicked and am + presently kicking. We have a reputation to keep. + +I was hoping to have a book published by the time I turned 20. I think I tossed +the manuscript. The plot was meandering and while it was serviceable I think +I'm just gonna write something else. + +My paycheck last Friday was $555.28. + +I read Tank Girl and liked it. Tank Girl 2 I liked less but liked a whole lot +more high than sober. Chronologically the next one is the movie novelization +but it's a little harder to find for download and my texts SD card shattered +due to high stress (I get it). + +We arrived at the Orlando Greyhound station, kissed, and I went inside to +double check whether my bus was there yet. They had a different time listed for +my bus than what I had on my ticket so I went to the information desk for help. +They said I needed to jet over to the address on my ticket, which, rather than +the place at which I had been dropped off, that place, which I had foolishly +assumed was the same place I should depart, was a small bus tours business in +an Asian marketplace. So we went over there. + +The car ride took a bit and it was stressed about me missing my bus. I was +stressed too but pretended not to be. I asked if I could get my ticket +rescheduled and the clerk told me in broken English I should catch the bus at +the station we had just left. I said it would be impossible to catch the bus +because it had left by the time we got to Atlanta Bus Tours and the clerk said +that was a real shame because I couldn't reschedule my ticket or get a refund, +but that I should check the Greyhound website. The website was barren except a +cancellation page that errored on my ticket number. + +However before determining I was stranded in Orlando Florida I, heroically, +told my girlfriend it could drop me off and I would Figure It Out. I am averse +to asking for help, severely and perhaps it is terminal without intervention. +But then I would have to bother someone to intervene. I slept that night under +a palm tree across from an abandoned Magic Outlet Mall. I thought this was a +franchise but looking it up it is in fact the one and only Magic Outlet Mall. +The reviews are good. + +The original plan for Orlando was to spend my time browsing the city and visit +a friend in the area (now girlfriend) and the plan slowly morphed into spending +most of the week in a bed and being really well rested. It felt really good to +be well rested, actually. My head was clear. The plan was originally to sleep +in forgotten areas of Orlando but I couldn't have imagined how sparse the city +is. Cities should be dense, naturally developed, zoned curiously and built +vertically where space was no longer available otherwise. Orlando is the +opposite. My time in Florida was the best week of my life despite all of this. +Easily. + +Spotify Playlist: florida +Billy Knows Jamie 100 gecs +Kiss My Own Dick David Shawty, Yungster Jack +dui estelle allen +CREEP U Black Dresses +Tell Me Your Secret death's dynamic shroud +γ†γšγΎγ Machine Girl +I Slept With Someone in Fall Fall Out Boy +Out Boy And All I Got Was This +Stupid Song Written About Me +Somebody's Watching Me Rockwell +Revenge Captainsparklez, Tryhardninja +N95 Kendrick Lamar +Nightcall Kavinsky +Cops and robbers underscores +Loansharks underscores +Old money bitch underscores + +2023-08-28 + +[ 8:53 AM] trinity: fuck plato +[ 8:53 AM] trinity: plato would fuck a mcchicken and say hey guys look i had sex +[ 8:55 AM] trinity: stupid motherfucker + +2023-08-29 + +[12:33 AM] [...]: wgat +[12:33 AM] [...]: what +[12:33 AM] [...]: real +[ 9:05 PM] trinity: full moon. spooky +[ 9:05 PM] trinity: why was i so angry at plato +[ 9:05 PM] trinity: i think i wrote that at a wendys +[ 9:05 PM] trinity: wendys seasoned potatoes sorta fuck +[ 9:19 PM] [...]: cause plato sux + +2018-05-20 + +Disp "GUESSNEXT","CODED BY","DEVEN BLAKE 2018 +Pause +ClrHome +5->A + +//Prepper +Lbl A +5+A->A +Disp "GUESSES:",A +Pause +randInt(1,100)->B +1->D +100->E +ClrHome + +//Main loop +Lbl B +Disp D," TO",E,"","YOUR GUESS? +Input "> ",C +A-1->A +If C=B +Disp "CORRECT"," +//Seperate IFs so as to avoid memory leakage +If C=B +Goto A +If CD + C->D + End +If C>B + Then + Disp "TOO HIGH + If CE + End +If A<1 + Then + Disp "OUT OF GUESSES. + Return + End +Goto B + + /blah/2023-09-16.html The pages got disorganized in my backpack, so here they are as I dig them out. @@ -12089,28 +12229,3 @@ trust them a bit more than a bald guy on Spotify. Today's Juneteenth, which is a memory to a pretty cool event, the end of lawful slavery in the United States. - -/clean.sh - -# cleanup script -#!/bin/sh -#llllmmmm11234567892123456789312345678941234567895123456789612345678971234567890 -set -ex -<"$0" python3 -c ' -import os, sys -class File: - attributes = []; content = ""; substitutions = dict() - figurative = True; stub = True - def addattribute(self, *args): - for a in args: # sloppy but works - if a == "stub": self.stub = True - elif a == "verbatim": self.stub = False - elif a == "figuratively": self.figurative = True - elif a == "literally": self.figurative = False - def __init__(self, **kwargs): - for key in kwargs: - if key == "attributes": self.addattribute(*kwargs[key]) - else: setattr(self, key, kwargs[key]) -files = dict() -for part in reversed(sys.stdin.read().split("\n\n\n")): - name = "." + part.split("\n")[0] diff --git a/it/src/Q.py b/it/Q.py similarity index 100% rename from it/src/Q.py rename to it/Q.py diff --git a/it/src/!.py b/it/bang.py similarity index 100% rename from it/src/!.py rename to it/bang.py diff --git a/it/src/buffer.py b/it/buffer.py similarity index 100% rename from it/src/buffer.py rename to it/buffer.py diff --git a/it/src/config.py b/it/config.py similarity index 100% rename from it/src/config.py rename to it/config.py diff --git a/it/src/dot.py b/it/dot.py similarity index 100% rename from it/src/dot.py rename to it/dot.py diff --git a/it/src/exit.py b/it/exit.py similarity index 100% rename from it/src/exit.py rename to it/exit.py diff --git a/it/src/f.py b/it/f.py similarity index 100% rename from it/src/f.py rename to it/f.py diff --git a/it/src/get_command.py b/it/get_command.py similarity index 100% rename from it/src/get_command.py rename to it/get_command.py diff --git a/it/src/hello_world.py b/it/hello_world.py similarity index 100% rename from it/src/hello_world.py rename to it/hello_world.py diff --git a/it/src/i.py b/it/i.py similarity index 100% rename from it/src/i.py rename to it/i.py diff --git a/it/it b/it/it index de0f4b9..350ca84 100755 --- a/it/it +++ b/it/it @@ -1,3 +1,38 @@ -#!/bin/sh +#!/usr/bin/env python3 +import sys +from buffer import Buffer +from get_command import get_command -python3 src/it.py "$@" +def version(): + print("it.py line editor; ALPHA 2021") + return None + +def main(buffer, supplied_command): + if supplied_command != [] and len(supplied_command) > 1: + command = supplied_command[1:] + else: + command = get_command("") + + while True: + # EOFError in get_command(); ^D + if command == 0: + break + + if command == []: + continue + + if command[0] in buffer.modules.keys() or buffer.import_module_(command[0]): + buffer = buffer.modules[command[0]].main(buffer, command) + if type(buffer) is int: + break + + command = get_command("") + + return buffer + +if __name__ == "__main__": + buffer = main(Buffer(), []) + if type(buffer) is int: + sys.exit(buffer) + else: + sys.exit(0) diff --git a/it/src/load_module.py b/it/load_module.py similarity index 100% rename from it/src/load_module.py rename to it/load_module.py diff --git a/it/src/p.py b/it/p.py similarity index 100% rename from it/src/p.py rename to it/p.py diff --git a/it/src/parse_command.py b/it/parse_command.py similarity index 100% rename from it/src/parse_command.py rename to it/parse_command.py diff --git a/it/src/q.py b/it/q.py similarity index 100% rename from it/src/q.py rename to it/q.py diff --git a/it/src/saved.py b/it/saved.py similarity index 100% rename from it/src/saved.py rename to it/saved.py diff --git a/it/src/it.py b/it/src/it.py deleted file mode 100755 index 350ca84..0000000 --- a/it/src/it.py +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env python3 -import sys -from buffer import Buffer -from get_command import get_command - -def version(): - print("it.py line editor; ALPHA 2021") - return None - -def main(buffer, supplied_command): - if supplied_command != [] and len(supplied_command) > 1: - command = supplied_command[1:] - else: - command = get_command("") - - while True: - # EOFError in get_command(); ^D - if command == 0: - break - - if command == []: - continue - - if command[0] in buffer.modules.keys() or buffer.import_module_(command[0]): - buffer = buffer.modules[command[0]].main(buffer, command) - if type(buffer) is int: - break - - command = get_command("") - - return buffer - -if __name__ == "__main__": - buffer = main(Buffer(), []) - if type(buffer) is int: - sys.exit(buffer) - else: - sys.exit(0) diff --git a/it/src/version.py b/it/version.py similarity index 100% rename from it/src/version.py rename to it/version.py