more lipstick
This commit is contained in:
parent
849b9454d7
commit
d880e10313
11 changed files with 80 additions and 78 deletions
|
@ -26,25 +26,32 @@ def get_html(content):
|
|||
fake_db = [
|
||||
|
||||
Article(
|
||||
content_type='chatbot',
|
||||
title='''cartman''', # this stuff will change
|
||||
date=date(2023, 2, 17),
|
||||
content=get_html('bots/cartman.html'),
|
||||
content_type='project',
|
||||
title='''Cartman is public!''',
|
||||
date=date(2022, 10, 20),
|
||||
content=get_html('projects/20221020-cartman.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='project',
|
||||
title='''Cartman''', # this stuff will change
|
||||
date=date(2023, 2, 17),
|
||||
content=get_html('projects/20230217-cartman.html'),
|
||||
content_type='game',
|
||||
title='''fps''',
|
||||
date=date(2022, 10, 9),
|
||||
content=get_html('games/fps.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='game',
|
||||
title='''balls''',
|
||||
date=date(2022, 9, 13),
|
||||
content=get_html('games/balls.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='game',
|
||||
title='''adam''', # this stuff will change
|
||||
date=date(2023, 2, 17),
|
||||
date=date(2022, 9, 11),
|
||||
content=get_html('games/adam.html'),
|
||||
),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='blog',
|
||||
|
@ -56,17 +63,10 @@ fake_db = [
|
|||
Article(
|
||||
content_type='project',
|
||||
title='''What Goes Into a Successful Reddit Post?''',
|
||||
date=date(2022, 6, 14),
|
||||
date=date(2022, 6, 16),
|
||||
content=get_html('projects/20220614-reddit.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='game',
|
||||
title='''fps''',
|
||||
date=date(2022, 6, 14),
|
||||
content=get_html('games/fps.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='blog',
|
||||
title='''Back to School''',
|
||||
|
@ -75,31 +75,24 @@ fake_db = [
|
|||
),
|
||||
|
||||
Article(
|
||||
content_type='blog',
|
||||
title='''It's about time, NVIDIA''',
|
||||
date=date(2022, 5, 20),
|
||||
content=get_html('blog/20220520-nvidia.html'),
|
||||
),
|
||||
content_type='game',
|
||||
title='''snek''',
|
||||
date=date(2022, 5, 29),
|
||||
content=get_html('games/snek.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='project',
|
||||
title='''Predicting Housing Prices''',
|
||||
date=date(2022, 5, 29),
|
||||
content=get_html('projects/20220529-housing.html'),
|
||||
),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='game',
|
||||
title='''snek''',
|
||||
date=date(2022, 5, 29),
|
||||
content=get_html('games/snek.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
content_type='game',
|
||||
title='''balls''',
|
||||
date=date(2022, 5, 29),
|
||||
content=get_html('games/balls.html'),
|
||||
content_type='blog',
|
||||
title='''It's about time, NVIDIA''',
|
||||
date=date(2022, 5, 20),
|
||||
content=get_html('blog/20220520-nvidia.html'),
|
||||
),
|
||||
|
||||
Article(
|
||||
|
@ -112,7 +105,7 @@ fake_db = [
|
|||
Article(
|
||||
content_type='blog',
|
||||
title='''Hume''',
|
||||
date=date(2020, 6, 23),
|
||||
date=date(2022, 2, 7),
|
||||
content=get_html('blog/000000000-swim.html'),
|
||||
),
|
||||
|
||||
|
@ -131,12 +124,7 @@ async def serve_blog():
|
|||
@api.get('/dennis/projects')
|
||||
async def serve_projects():
|
||||
|
||||
return [entry for entry in fake_db if entry.content_type == 'project']
|
||||
|
||||
@api.get('/dennis/games')
|
||||
async def serve_games():
|
||||
|
||||
return [entry for entry in fake_db if entry.content_type == 'game']
|
||||
return [entry for entry in fake_db if entry.content_type == 'project' or entry.content_type == 'game']
|
||||
|
||||
@api.get('/dennis/bots')
|
||||
async def serve_bots():
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
57 Perry Street<br />
|
||||
New York City<br />
|
||||
</p>
|
||||
<p>Dear Hume,</p>
|
||||
Dear Hume,
|
||||
<p>
|
||||
You ask advice: ah, what a very human and very dangerous thing to do! For to give advice
|
||||
to a man who asks what to do with his life implies something very close to egomania. To
|
||||
|
@ -12,7 +12,7 @@
|
|||
finger in the RIGHT direction is something only a fool would take upon himself.
|
||||
</p>
|
||||
<p>
|
||||
I am not a fool, but I respect your sincerity in asking my
|
||||
I am not a fool, but I respect your sincerity in asking my
|
||||
advice. I ask you though, in listening to what I say, to remember that all advice can
|
||||
only be a product of the man who gives it. What is truth to one may be a disaster to
|
||||
another. I do not see life through your eyes, nor you through mine. If I were to attempt
|
||||
|
@ -37,14 +37,14 @@
|
|||
or the swimming.
|
||||
</p>
|
||||
<p>
|
||||
But why not float if you have no goal? That is another question.
|
||||
But why not float if you have no goal? That is another question.
|
||||
It is unquestionably better to enjoy the floating than to swim in uncertainty. So how
|
||||
does a man find a goal? Not a castle in the stars, but a real and tangible thing. How
|
||||
can a man be sure he's not after the "big rock candy mountain," the enticing sugar-candy
|
||||
goal that has little taste and no substance?
|
||||
</p>
|
||||
<p>
|
||||
The answer—and, in a sense, the tragedy of life—is
|
||||
The answer—and, in a sense, the tragedy of life—is
|
||||
that we seek to understand the goal and not the man. We set up a goal which demands of
|
||||
us certain things: and we do these things. We adjust to the demands of a concept which
|
||||
CANNOT be valid. When you were young, let us say that you wanted to be a fireman. I feel
|
||||
|
@ -55,12 +55,12 @@
|
|||
reaction is a learning process; every significant experience alters your perspective.
|
||||
</p>
|
||||
<p>
|
||||
So it would seem foolish, would it not, to adjust our lives to
|
||||
So it would seem foolish, would it not, to adjust our lives to
|
||||
the demands of a goal we see from a different angle every day? How could we ever hope to
|
||||
accomplish anything other than galloping neurosis?
|
||||
</p>
|
||||
<p>
|
||||
The answer, then, must not deal with goals at all, or not with
|
||||
The answer, then, must not deal with goals at all, or not with
|
||||
tangible goals, anyway. It would take reams of paper to develop this subject to
|
||||
fulfillment. God only knows how many books have been written on "the meaning of man" and
|
||||
that sort of thing, and god only knows how many people have pondered the subject. (I use
|
||||
|
@ -70,7 +70,7 @@
|
|||
paragraphs.
|
||||
</p>
|
||||
<p>
|
||||
I'm going to steer clear of the word "existentialism," but you
|
||||
I'm going to steer clear of the word "existentialism," but you
|
||||
might keep it in mind as a key of sorts. You might also try something called
|
||||
<i>Being and Nothingness</i> by Jean-Paul Sartre, and another little thing called
|
||||
<i>Existentialism: From Dostoyevsky to Sartre.</i> These are merely suggestions. If
|
||||
|
@ -81,7 +81,7 @@
|
|||
OURSELVES.
|
||||
</p>
|
||||
<p>
|
||||
But don't misunderstand me. I don't mean that we can't BE
|
||||
But don't misunderstand me. I don't mean that we can't BE
|
||||
firemen, bankers, or doctors—but that we must make the goal conform to the
|
||||
individual, rather than make the individual conform to the goal. In every man, heredity
|
||||
and environment have combined to produce a creature of certain abilities and
|
||||
|
@ -89,7 +89,7 @@
|
|||
will be MEANINGFUL. A man has to BE something; he has to matter.
|
||||
</p>
|
||||
<p>
|
||||
As I see it then, the formula runs something like this: a man
|
||||
As I see it then, the formula runs something like this: a man
|
||||
must choose a path which will let his ABILITIES function at maximum efficiency toward
|
||||
the gratification of his DESIRES. In doing this, he is fulfilling a need (giving himself
|
||||
identity by functioning in a set pattern toward a set goal) he avoids frustrating his
|
||||
|
@ -99,7 +99,7 @@
|
|||
conform to his own abilities and desires).
|
||||
</p>
|
||||
<p>
|
||||
In short, he has not dedicated his life to reaching a
|
||||
In short, he has not dedicated his life to reaching a
|
||||
pre-defined goal, but he has rather chosen a way of like he KNOWS he will enjoy. The
|
||||
goal is absolutely secondary: it is the
|
||||
<i>functioning toward the goal</i> which is important. And it seems almost ridiculous to
|
||||
|
@ -108,20 +108,20 @@
|
|||
definitive act of will which makes a man an individual.
|
||||
</p>
|
||||
<p>
|
||||
Let's assume that you think you have a choice of eight paths to
|
||||
Let's assume that you think you have a choice of eight paths to
|
||||
follow (all pre-defined paths, of course). And let's assume that you can't see any real
|
||||
purpose in any of the eight. Then—and here is the essence of all I've
|
||||
said—you MUST FIND A NINTH PATH.
|
||||
</p>
|
||||
<p>
|
||||
Naturally, it isn't as easy as it sounds. you've lived a
|
||||
Naturally, it isn't as easy as it sounds. you've lived a
|
||||
relatively narrow life, a vertical rather than a horizontal existence. So it isn't any
|
||||
too difficult to understand why you seem to feel the way you do. But a man who
|
||||
procrastinates in his CHOOSING will inevitably have his choice made for him by
|
||||
circumstance.
|
||||
</p>
|
||||
<p>
|
||||
So if you now number yourself among the disenchanted, then you
|
||||
So if you now number yourself among the disenchanted, then you
|
||||
have no choice but to accept things as they are, or to seriously seek something else.
|
||||
But beware of looking for
|
||||
<i>goals</i>: look for a way of life. Decide how you want to live and then see what you
|
||||
|
@ -129,19 +129,19 @@
|
|||
look; I don't know what to look for."
|
||||
</p>
|
||||
<p>
|
||||
And there's the crux. Is it worth giving up what I have to look
|
||||
And there's the crux. Is it worth giving up what I have to look
|
||||
for something better? I don't know—is it? Who can make that decision but you? But
|
||||
even by DECIDING TO LOOK, you go a long way toward making the choice.
|
||||
</p>
|
||||
<p>
|
||||
If I don't call this to a halt, I'm going to find myself writing
|
||||
If I don't call this to a halt, I'm going to find myself writing
|
||||
a book. I hope it's not as confusing as it looks at first glance. Keep in mind, of
|
||||
course, that this is MY WAY of looking at things. I happen to think that it's pretty
|
||||
generally applicable, but you may not. Each of us has to create our own credo—this
|
||||
merely happens to be mine.
|
||||
</p>
|
||||
<p>
|
||||
If any part of it doesn't seem to make sense, by all means call
|
||||
If any part of it doesn't seem to make sense, by all means call
|
||||
it to my attention. I'm not trying to send you out "on the road" in search of Valhalla,
|
||||
but merely pointing out that it is not necessary to accept the choices handed down to
|
||||
you by life as you know it. There is more to it than that—no one HAS to do
|
||||
|
@ -150,7 +150,7 @@
|
|||
lots of company.
|
||||
</p>
|
||||
<br />
|
||||
<p> And that's it for now. Until I hear from you again, I remain,</p>
|
||||
<p>And that's it for now. Until I hear from you again, I remain,</p>
|
||||
<p style="text-align: right;">
|
||||
your friend...<br />
|
||||
Hunter
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
(Hunter S.Thompson)
|
||||
</p>
|
||||
<p>
|
||||
There comes a time in one's life, perhaps multiple, when there
|
||||
There comes a time in one's life, perhaps multiple, when there
|
||||
is an unquestionable need for change. Maybe you're not sure how, why, or where it came
|
||||
from, or where even it is you're headed, or how to get there, but here you are taking
|
||||
your first steps toward a new life. A journey into the unknown. I've just set out on one
|
||||
|
@ -17,7 +17,7 @@
|
|||
quite honest. But I know where I've been.
|
||||
</p>
|
||||
<p>
|
||||
Growing up I would always be taking things apart, I HAD to see
|
||||
Growing up I would always be taking things apart, I HAD to see
|
||||
what was inside. What makes this thing, a thing. What makes it tick? Can it tick faster?
|
||||
For no particular reason I just had to know every little detail about what made the
|
||||
thing the thing that it was and why it did what it did. It's a gift and a curse of
|
||||
|
@ -28,7 +28,7 @@
|
|||
old at that time, and it still puzzles me just what is going on inside there.
|
||||
</p>
|
||||
<p>
|
||||
I have a better idea now, naturally I had to figure out just
|
||||
I have a better idea now, naturally I had to figure out just
|
||||
what all those pieces were, what they did, and how they did it. What if I replaced some
|
||||
of these parts with other parts? As I honed my web searching skills to try to answer the
|
||||
seemingly endless hows and whys I ended up building myself a little hotrod computer and
|
||||
|
@ -41,7 +41,7 @@
|
|||
I believe) and RAM cooler.
|
||||
</p>
|
||||
<p>
|
||||
After getting comfortable with hardware I started to study the
|
||||
After getting comfortable with hardware I started to study the
|
||||
software side of things, I tried teaching myself C++ (and didn't get very far), I did
|
||||
teach myself HTML and CSS, some JavaScript, and started playing around with Linux. It
|
||||
took until only a year or two ago to finally be completely on Linux full time (gaming
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<article>
|
||||
<p> It's about time... NVIDIA has finally released and is starting to
|
||||
<p>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
|
||||
kernel. NVIDIA historically has been seemingly against Linux/OSS for whatever reason.
|
||||
This is a huge step forward both for end users and NVIDIA.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<article>
|
||||
<p>The progress update</p>
|
||||
The progress update
|
||||
<p style='text-align: center;'>
|
||||
<img src="https://doordesk.net/pics/plates.gif" />
|
||||
</p>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
adam
|
||||
<article>
|
||||
<p><a href="https://doordesk.net/games/adam/" target="_blank">adam</a> is a quick fps demo to test how well WebGL performs using <a href="https://unity.com">Unity</a>.</p>
|
||||
</article>
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
balls
|
||||
<article>
|
||||
<p><a href="https://doordesk.net/games/balls/">balls</a> is another demo to test WebGL performance. This time using <a href="https://godotengine.org/">Godot Engine</a>.</p>
|
||||
</article>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<article>
|
||||
<ul>
|
||||
<li><a href="https://github.com/adoyle0/chatbots">Cartman</a> is trained by combining Microsoft's
|
||||
<li><a href="https://doordesk.net/cartman">Cartman</a> is trained by combining Microsoft's
|
||||
<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
|
||||
<a href="https://southparkstudios.com">South Park</a>
|
|
@ -12,14 +12,14 @@ export type Ammo = {
|
|||
export default function Slingshot(props: { ammo: Ammo }) {
|
||||
|
||||
return (
|
||||
<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">
|
||||
{props.ammo.date}
|
||||
</p>
|
||||
<h1 class="max-6-xs text-3xl text-red-600 font-light uppercase">
|
||||
<main class="bg-zinc-700 mx-auto p-7 my-5 w-11/12 max-w-screen-xl rounded-md shadow-lg bg-opacity-10">
|
||||
<h1 class="max-6-xs text-3xl text-orange-600 font-light capitalize">
|
||||
{props.ammo.title}
|
||||
</h1>
|
||||
<p class="m-2">{props.ammo.content_type}</p>
|
||||
<hr class="opacity-50" />
|
||||
<p class="opacity-50 text-xs pt-1.5 pb-3.5">
|
||||
{props.ammo.date}
|
||||
</p>
|
||||
<div innerHTML={props.ammo.content} />
|
||||
</main>
|
||||
) as JSXElement;
|
||||
|
|
|
@ -3,10 +3,19 @@
|
|||
@tailwind utilities;
|
||||
|
||||
/* for innerHTML articles */
|
||||
article p, h3 {
|
||||
margin-top: 2em;
|
||||
article p {
|
||||
@apply mt-5;
|
||||
@apply indent-4;
|
||||
}
|
||||
|
||||
article h3 {
|
||||
font-size: 1.5em;
|
||||
@apply mt-8;
|
||||
}
|
||||
|
||||
article h3 {
|
||||
@apply text-2xl text-orange-600;
|
||||
}
|
||||
|
||||
article a {
|
||||
@apply text-orange-300 hover:underline border-orange-300 duration-300;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ export default function Root() {
|
|||
: "border-transparent hover:border-orange-700 duration-300";
|
||||
|
||||
return (
|
||||
<Html lang="en" class="text-orange-50">
|
||||
<Html lang="en" class="text-orange-50 antialiased font-mono tracking-tighter">
|
||||
<Head>
|
||||
<Title>doordesk</Title>
|
||||
<Meta charset="utf-8" />
|
||||
|
@ -56,6 +56,7 @@ export default function Root() {
|
|||
</ErrorBoundary>
|
||||
</Suspense>
|
||||
<Scripts />
|
||||
<p class="text-center hover:rotate-180 duration-200"><A href="https://open.spotify.com/playlist/3JRNw9gpt1w5ptsw8uDeYc?si=8f7e4191113f41f9">:)</A></p><br />
|
||||
</Body>
|
||||
</Html>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue