A list of the most recently updated pages.
Apr 19, 2024 | » | Client/Server Interface
4 min; updated Apr 19, 2024
How to handle redirects without setting window.location.href? Right now, there’s a pattern of doing: sendHTTPRequest("POST", "/login/", {}) .then((_) => { window.location.href = "/"; }) .catch((err) => { console.error(err); }); Isn’t this something that the server can do? In response, why not issue a redirect? Screenshot of the redirect chain from /login. The POST request gets a 303 (See Other) redirect to /home. The browser then makes a GET request to /home, which results in a 304 (Not Modified).... |
Apr 19, 2024 | » | App Layout
1 min; updated Apr 19, 2024
Is there a use-case for the container that lays out the various app elements? When considering a <nav-bar> , the conclusion was that a web component wasn’t necessary. Possible Organization The high-level picture is: <body> <nav> <div id="topnav-banner">...</div> <ul id="topnav-items">...</ul> </nav> <div id="main_div">...</div> <footer>...</footer> </body> We should move #topnav-banner out of the <nav> so that we can potentially apply lateral spacing to #topnav-items and #main_div without it applying to #topnav-banner.... |
Apr 18, 2024 | » | Use of Local Storage
3 min; updated Apr 18, 2024
Back when I wrote this, the motivation for using localStorage was to reduce the trips to the server so that the app is usable offline. However, with two data stores (localStorage and the server), the former has a possibility of going stale. What usage is correct and how can we avoid stale data? localStorage['session_info'] getAccountInfo: () => AuthenticateUser | null fetches the session_info entry and JSON.parses it into an AuthenticateUser. This is a possible failure point because the parsed JSON cannot be trusted to be a valid AuthenticateUser instance.... |
Apr 18, 2024 | » | Wiki Page
2 min; updated Apr 18, 2024
Overview Starting with this page because it’s mostly static. The body is basically: <div class="topnav">...</div> <div id="main_div"> <div id="study_buddy_details"> <div class="details_section">...</div> <div class="details_section">...</div> ... <div class="details_section">...</div> </div> </div> <footer>...</footer> The corresponding web components would be something along the lines of: <nav-bar></nav-bar> <wiki-container> {Table of Contents} <wiki-section></wiki-section> <wiki-section></wiki-section> </wiki-container> <wiki-container> Maybe <wiki-section> can be a template owned by <wiki-container>? Nah, there are benefits to a separate <wiki-section> component, e.g., each component can define its title for use in the ToC.... |
Mar 27, 2024 | » | Hosting the Flashcards App
3 min; updated Mar 27, 2024
Current State: SaaS The app is hosted at render.com on Render’s free tier that gives us these free web services: Custom domains Managed TLS certificates Pull request reviews Log streams Rollbacks up to the two most recent previous deploys. … with these limitations: Spins down after 15min of no inbound traffic. Spinning up on the next request causes a noticeable delay for a couple seconds.... |
Feb 21, 2023 | » | Animal Man (1988 - 1995)
12 min; updated Mar 4, 2024
body { background-image: url('/img/fiction/morrison-animal-man.jpeg'); } Animal Man. Grant Morrison. www.dc.com . www.hoopladigital.com . dc.fandom.com . 1988. Accessed Mar 5, 2023. Snapshots He took himself into the desert. And rose up. And went into the presence of God. And God spoke unto Crafty saying, “You must be punished for this rebellion against my will. Nevertheless, I am a good God and my judgment will be tempered with mercy.... |
Mar 4, 2024 | » | Deadpool Kills the Marvel Universe (2011 - 2012)
2 min; updated Mar 4, 2024
body { background-image: url('/img/fiction/deadpool-kills-marvel-universe.webp'); } Deadpool Kills the Marvel Universe. Cullen Bunn; Dalibor Talajic. www.marvel.com . www.hoopladigital.com . marvel.fandom.com . 2012. Accessed Mar 4, 2024. WATCHER. It is here that Dr. Benjamin Brighton has introduced radical new treatments designed to ease troubled minds… and turn malicious souls toward the pursuit of peace. DEADPOOL. This little gadget I stole from Mr.... |
Mar 2, 2024 | » | World War Hulk
7 min; updated Mar 3, 2024
body { background-image: url('/img/fiction/world-war-hulk-2007.jpg'); } World War Hulk. Greg Pak; John Romita Jr.;. www.marvel.com . www.hoopladigital.com . 2007. HULK. We made a world. I was the Green King. And Caiera the Oldstrong was my queen. But your “heroes” sent a bomb. Killed a million people. Now this city will fall. You have twenty-four hours to evacuate. This raises the question of who should be held accountable.... |
Dec 3, 2022 | » | Invisible Kingdom (2019 - 2021)
8 min; updated Mar 3, 2024
body { background-image: url('/img/fiction/wilson-invisible-kingdom.jpg'); } Invisible Kingdom. G. Willow Wilson; Christian Ward. www.darkhorse.com . www.hoopladigital.com . 2019. Accessed Dec 3, 2022. A Flawed Religious Organization [Vess] But what if… What if you found something here that seemed wrong? That seemed out of place? [Krikko] I would go straight to Mother Proxima and ask for guidance. That’s why she’s here. [Vess] And… If the something wrong had to do with Mother Proxima herself?... |
Jan 31, 2024 | » | Riddler: Year One
4 min; updated Mar 3, 2024
body { background-image: url('/img/fiction/dano-riddler.jpg'); } The Riddler: Year One. Paul Dano; Stevan Subic. www.dc.com . www.hoopladigital.com . batman.fandom.com . 2023. EDWARD. Do they deserve a chance? How do they go on in a city that tells them day after day that they are fractured and broken… that there is not way out or up? EDWARD. The pieces don’t fit. C’monnn, Edward, think!... |
Feb 4, 2024 | » | Suicide Squad: Blaze
5 min; updated Feb 8, 2024
body { background-image: url('/img/fiction/spurrier-blaze.avif'); } Suicide Squad: Blaze. Simon Spurrier; Aaron Campbell; Jordan Bellaire. www.dc.com . www.hoopladigital.com . dc.fandom.com . 2022. Snapshots Suicide Squad is the quintessential trolley problem story. The anti-heroes have done terrible things to get where they are, but the how can the writer make the reader care about them? Amanda Waller is as amoral as they come, but to a point, she becomes unjust to villains.... |
Jan 13, 2024 | » | March
11 min; updated Feb 4, 2024
Growing Up in Segregated America Enlightening to see the struggles addressed by the civil rights movement through a child’s viewpoint. I can relate to John Lewis more at a young age because we have shared experiences, but his were in a segregated environment whereas mine weren’t. The thing is, when I was young, there wasn’t much of a civil rights movement. I wanted to work at something, but I grew up in rural Alabama.... |
Jan 29, 2024 | » | American Jesus
5 min; updated Feb 4, 2024
body { background-image: url('/img/fiction/millar-american-jesus.jpg'); } The American Jesus Trilogy. Mark Millar; Peter Gross. imagecomics.com . www.hoopladigital.com . 2019. Accessed Jan 30, 2024. Snapshots It’s a coming of age story interrogating how a hero is formed, how a villain is created, and how similar the lives of the righteous and wretched can be, how fine the fault lines of good and evil are.... |
Sep 6, 2022 | » | Fiction Potpourri
6 min; updated Jan 30, 2024
A collection of notes/impressions from titles where I didn’t find enough to necessitate a dedicated page. Usually short works of fiction. Unknown Number Unknown Number. Blue Neustifter. twitter.com . genderdysphoria.fyi . Jul 27, 2021. Accessed Sep 6, 2022. tells the story of a person who has gender dysphoria. In an alternate universe, they never transitioned but went on to become an established physicist who could communicate across parallel universes.... |
Dec 23, 2022 | » | Doom Patrol (1987 - 1995)
13 min; updated Jan 28, 2024
body { background-image: url('/img/fiction/doom-patrol-1987.jpg'); } Doom Patrol (1987-1995). Grant Morrison; Richard Case; John Nyberg. www.dcuniverseinfinite.com . www.hoopladigital.com . 1987. Accessed Dec 23, 2022. Punchlines Father McGarry has long since ceased to believe in miracles. Saturdays, he trudges out to the dump, looking for God among the debris. Saturdays are always the longest days and, in the winter, chilly. He asks for very little.... |
Dec 30, 2023 | » | 3 point
3 min; updated Dec 31, 2023
Quick Hammer Plays A quick hitter is a play that uses a brief number of passes, cuts, screens, or dribble actions to create one or more scoring opportunities. Their typical simplicity might not be effective against a team with solid defense fundamentals. A hammer set occurs when a weak side player cuts to the nearby corner, usually with the help of a screen. It is generally difficult for the defense to productively guard the baseline attack on the strong side and the off-ball actions on the weak side.... |
Dec 14, 2023 | » | Introduction to LLMs
4 min; updated Dec 17, 2023
What is a Language Model? A language model (LM) is a probability distribution over sequences of tokens. Suppose we have a vocabulary \(\mathcal{V}\) of a set of tokens, then a language model \(p\) assigns each sequence of tokens \(x_1, …, x_L \in \mathcal{V} \) a probability. To assign meaningful probabilities to all sequences requires syntactic knowledge and world knowledge. Given \( \mathcal{V} = \{ \text{ate}, \text{ball}, \text{cheese}, \text{mouse}, \text{the} \} \):... |
Mar 3, 2021 | » | LLMs: Stochastic Parrots 🦜 and How (Not) to Use Them
10 min; updated Dec 14, 2023
was written in a period when NLP practitioners are producing bigger (# of parameters; size of training data) language models (LMs), and pushing the top scores on benchmarks. The paper itself was controversial because it led to Gebru being fired from Google, following disagreements with her managers on conditions (withdraw, or remove Google-affiliated authors) for publishing the paper. A lot changed since mid-2021, when I initially wrote this page.... |
Jul 4, 2020 | » | On Socio-Economic Classes
13 min; updated Nov 24, 2023
#meritocracy #inequality #socioeconomics Our Lot in Life Not recognizing your blessings feeds into the dark side of capitalism and meritocracy: success is a choice, and that those who haven’t achieved success are not unlucky, but unworthy. I’m relatively lucky. I don’t know how much of the techie hubris that I bear. I have unresolved feelings about meritocracy and fairness. Race is usually used as a proxy for bridging the gap, e.... |
Nov 22, 2018 | » | You Probably Won't Make it to the Top [DHH]
1 min; updated Nov 24, 2023
You Probably Won't Make it to the Top. David Heinemeier Hansson (DHH). m.signalvnoise.com . Nov 22, 2018. Fallacy: If you really set your mind to it, you can do it… That’s how I did it. I just wanted it more, worked hard, and eventually all my dreams came true. I won’t say it’s easy, but it’s up to you! Odds are overwhelmingly that you will not make it to the top.... |