This commit is contained in:
Adam 2023-06-17 00:12:25 -04:00
parent fb7a44bbe9
commit f391616dd2
13 changed files with 59 additions and 64 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 KiB

View file

@ -1,5 +1,5 @@
<article> <article>
<p className="align-right date"> <p style="text-align: right;">
April 22, 1958<br /> April 22, 1958<br />
57 Perry Street<br /> 57 Perry Street<br />
New York City<br /> New York City<br />
@ -19,7 +19,7 @@
to give you to give you
<i>specific</i> advice, it would be too much like the blind leading the blind. <i>specific</i> advice, it would be too much like the blind leading the blind.
</p> </p>
<p className="align-center"> <p style="text-align: center;">
<i> <i>
"To be, or not to be: that is the question: Whether 'tis nobler in the mind to "To be, or not to be: that is the question: Whether 'tis nobler in the mind to
suffer the slings and arrows of outrageous fortune, or to take arms against a sea of suffer the slings and arrows of outrageous fortune, or to take arms against a sea of
@ -151,7 +151,7 @@
</p> </p>
<br /> <br />
<p>&nbsp;&nbsp;&nbsp;&nbsp;And that's it for now. Until I hear from you again, I remain,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;And that's it for now. Until I hear from you again, I remain,</p>
<p className="align-right"> <p style="text-align: right;">
your friend...<br /> your friend...<br />
Hunter Hunter
</p> </p>

View file

@ -1,7 +1,5 @@
<article> <article>
<p className="align-right date">May 06, 2022</p> <p style="text-align: center;">
<h2 className="title">Change</h2>
<p className="align-center">
<i>"Life should not be a journey to the grave with the intention of arriving safely in <i>"Life should not be a journey to the grave with the intention of arriving safely in
a pretty and well preserved body, but rather to skid in broadside in a cloud of a pretty and well preserved body, but rather to skid in broadside in a cloud of
smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a

View file

@ -1,12 +1,10 @@
<article> <article>
<p className="align-right date">May 20, 2022</p>
<h2 className="title">It's about time, NVIDIA</h2>
<p>&nbsp;&nbsp;&nbsp;It's about time... NVIDIA has finally released and is starting to <p>&nbsp;&nbsp;&nbsp;It's about time... NVIDIA has finally released and is starting to
support Open-source software with their new modules released recently for the Linux support Open-source software with their new modules released recently for the Linux
kernel. NVIDIA historically has been seemingly against Linux/OSS for whatever reason. kernel. NVIDIA historically has been seemingly against Linux/OSS for whatever reason.
This is a huge step forward both for end users and NVIDIA. This is a huge step forward both for end users and NVIDIA.
</p> </p>
<p className="align-center"> <p style="text-align: center;">
<a href="https://github.com/NVIDIA/open-gpu-kernel-modules"> <a href="https://github.com/NVIDIA/open-gpu-kernel-modules">
NVIDIA open-gpu-kernel-modules</a > on github. NVIDIA open-gpu-kernel-modules</a > on github.
</p> </p>

View file

@ -1,6 +1,4 @@
<article> <article>
<p className="align-right date">Jun 02, 2022</p>
<h2 className="title">Back to School</h2>
<h3>Where the hell have I been!?</h3> <h3>Where the hell have I been!?</h3>
<p> <p>
Looking back at the past 5 weeks, it's impressive the amount of new things that have Looking back at the past 5 weeks, it's impressive the amount of new things that have

View file

@ -1,8 +1,6 @@
<article> <article>
<p className="align-right date">Jul 01, 2022</p>
<h2 className="title">It's a post about nothing!</h2>
<p>The progress update</p> <p>The progress update</p>
<p className='align-center'> <p style='text-align: center;'>
<img src="https://doordesk.net/pics/plates.gif" /> <img src="https://doordesk.net/pics/plates.gif" />
</p> </p>
<h3>Bots</h3> <h3>Bots</h3>

View file

@ -1,2 +0,0 @@
with open('./000000000-swim.html') as file:
print(file.read());

View file

@ -1,6 +1,4 @@
<article> <article>
<p className="align-right date">May 29, 2022</p>
<h2 className="title">Predicting Housing Prices</h2>
<p> <p>
A recent project I had for class was to use A recent project I had for class was to use
<a href="https://scikit-learn.org/stable/index.html" target="new">scikit-learn</a> <a href="https://scikit-learn.org/stable/index.html" target="new">scikit-learn</a>
@ -30,20 +28,20 @@
Well, I don't know much about appraising houses. But I have heard the term "price per Well, I don't know much about appraising houses. But I have heard the term "price per
square foot" so we'll start with that: square foot" so we'll start with that:
</p> </p>
<p className="align-center"><img src="https://doordesk.net/pics/livarea_no_outliers.png" /></p> <p style="text-align: center;"><img src="https://doordesk.net/pics/livarea_no_outliers.png" /></p>
<p> <p>
There is a feature for 'Above Grade Living Area' meaning floor area that's not basement. There is a feature for 'Above Grade Living Area' meaning floor area that's not basement.
It looks linear, there were a couple outliers to take care of but this should be a good It looks linear, there were a couple outliers to take care of but this should be a good
signal. signal.
</p> </p>
<p>Next I calculated the age of every house at time of sale and plotted it:</p> <p>Next I calculated the age of every house at time of sale and plotted it:</p>
<p className="align-center"><img src="https://doordesk.net/pics/age.png" /></p> <p style="text-align: center;"><img src="https://doordesk.net/pics/age.png" /></p>
<p> <p>
Exactly what I'd expect to see. Price drops as age goes up, a few outliers. We'll Exactly what I'd expect to see. Price drops as age goes up, a few outliers. We'll
include that in the model. include that in the model.
</p> </p>
<p>Next I chose the area of the lot:</p> <p>Next I chose the area of the lot:</p>
<p className="align-center"><img src="https://doordesk.net/pics/lot_area.png" /></p> <p style="text-align: center;"><img src="https://doordesk.net/pics/lot_area.png" /></p>
<p> <p>
Lot area positively affects sale price because land has value. Most of the houses here Lot area positively affects sale price because land has value. Most of the houses here
have similarly sized lots. have similarly sized lots.

View file

@ -1,6 +1,4 @@
<article> <article>
<p className="align-right date">Jun 14, 2022</p>
<h2 className="title">What Goes Into a Successful Reddit Post?</h2>
<p> <p>
In an attempt to find out what about a Reddit post makes it successful I will use some In an attempt to find out what about a Reddit post makes it successful I will use some
classification models to try to determine which features have the highest influence on classification models to try to determine which features have the highest influence on

View file

@ -1,36 +1,36 @@
<p className="align-right date">Feb 17, 2023</p> <article>
<h2 class="title">Cartman</h2> <ul>
<ul> <li><a href="https://github.com/adoyle0/chatbots">Cartman</a> is trained by combining Microsoft's
<li><a href="https://github.com/adoyle0/chatbots">Cartman</a> is trained by combining Microsoft's <a href="https://huggingface.co/microsoft/DialoGPT-large">DialoGPT-large</a>
<a href="https://huggingface.co/microsoft/DialoGPT-large">DialoGPT-large</a> NLP model (trained on 147M samples of multi-turn dialogue from Reddit) with 17 seasons of
NLP model (trained on 147M samples of multi-turn dialogue from Reddit) with 17 seasons of <a href="https://southparkstudios.com">South Park</a>
<a href="https://southparkstudios.com">South Park</a> transcripts.
transcripts. </li>
</li> <li>
<li> <p>
<p> Requests are routed from
Requests are routed from <a href="https://nginx.com">Nginx</a>
<a href="https://nginx.com">Nginx</a> through
through <a href="https://www.wireguard.com">WireGuard</a>
<a href="https://www.wireguard.com">WireGuard</a> to a
to a <a href="https://www.tomshardware.com/news/raspberry-pi-4-8gb-tested">Raspberry Pi 4B 8GB</a>
<a href="https://www.tomshardware.com/news/raspberry-pi-4-8gb-tested">Raspberry Pi 4B 8GB</a> running
running <a href="https://fastapi.tiangolo.com">FastAPI</a>,
<a href="https://fastapi.tiangolo.com">FastAPI</a>, and the Cartman model using <a href="https://pytorch.org">PyTorch</a>.
and the Cartman model using <a href="https://pytorch.org">PyTorch</a>. It has enough RAM for more, but the CPU is pretty much at its limit. Expect it to take a few
It has enough RAM for more, but the CPU is pretty much at its limit. Expect it to take a few seconds, I'm cheap. Sorry(kinda).
seconds, I'm cheap. Sorry(kinda). </p>
</p> </li>
</li> </ul>
</ul> <p>
<p> You can download a Docker image if you'd like to run it on your own hardware for either
You can download a Docker image if you'd like to run it on your own hardware for either <a href="https://doordesk.net/files/chatbots_api_x86_64.tar.gz">x86_64</a>
<a href="https://doordesk.net/files/chatbots_api_x86_64.tar.gz">x86_64</a> or
or <a href="https://doordesk.net/files/chatbots_api_aarch64.tar.gz">aarch64</a>.
<a href="https://doordesk.net/files/chatbots_api_aarch64.tar.gz">aarch64</a>. </p>
</p> <p>
<p> More info <a href="https://github.com/adoyle0/cartman">here</a> as well as
More info <a href="https://github.com/adoyle0/cartman">here</a> as well as <a href="https://github.com/adoyle0/cartman/tree/master/api/test">example scripts</a>
<a href="https://github.com/adoyle0/cartman/tree/master/api/test">example scripts</a> to talk to the docker container.
to talk to the docker container. </p>
</p> </article>

View file

@ -12,7 +12,7 @@ export type Ammo = {
export default function Slingshot(props: { ammo: Ammo }) { export default function Slingshot(props: { ammo: Ammo }) {
return ( return (
<main class="bg-zinc-900 mx-auto p-4 my-5 w-11/12 max-w-screen-xl"> <main class="bg-zinc-700 mx-auto p-6 my-5 w-11/12 max-w-screen-xl rounded-md shadow-lg bg-opacity-20">
<p class="text-right"> <p class="text-right">
{props.ammo.date} {props.ammo.date}
</p> </p>

View file

@ -1,3 +1,12 @@
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
/* for innerHTML articles */
article p, h3 {
margin-top: 2em;
}
article h3 {
font-size: 1.5em;
}

View file

@ -25,16 +25,16 @@ export default function Root() {
: "border-transparent hover:border-orange-700 duration-300"; : "border-transparent hover:border-orange-700 duration-300";
return ( return (
<Html lang="en" class="text-zinc-300"> <Html lang="en" class="text-orange-50">
<Head> <Head>
<Title>doordesk</Title> <Title>doordesk</Title>
<Meta charset="utf-8" /> <Meta charset="utf-8" />
<Meta name="viewport" content="width=device-width, initial-scale=1" /> <Meta name="viewport" content="width=device-width, initial-scale=1" />
</Head> </Head>
<Body class="bg-zinc-950"> <Body class="bg-gradient-to-br from-zinc-900 to-zinc-950 ">
<Suspense> <Suspense>
<ErrorBoundary> <ErrorBoundary>
<nav class="bg-gradient-to-b from-zinc-800 to-zinc-900"> <nav class="bg-gradient-to-b from-zinc-800 to-zinc-900 shadow-lg sticky top-0">
<ul class="container flex items-center p-3"> <ul class="container flex items-center p-3">
<li class={`border-b-2} mx-1.5 sm:mx-6`}> <li class={`border-b-2} mx-1.5 sm:mx-6`}>
DoorDesk DoorDesk