more words

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2020-12-18 02:51:31 +00:00
parent 3e5f833806
commit a5f5be5483
5 changed files with 110 additions and 35 deletions

View File

@ -21,3 +21,39 @@ I'm considering making a pubnix for a community I'm a part of. It'd have a few s
This is probably gonna end up being a bad idea, but meh yolo. This is probably gonna end up being a bad idea, but meh yolo.
## 21:30
I'm playing with my gemini framework in Go for Rhea[1] some more and I managed to implement reverse proxying in an impressively small amount of code:
```go
package main
import (
"crypto/tls"
"fmt"
"io"
"math/rand"
"github.com/Xe/rhea/gemini"
)
type ReverseProxy struct {
To []string `json:"to"`
Domain string `json:"domain"`
}
func (rp ReverseProxy) HandleGemini(w gemini.ResponseWriter, r *gemini.Request) {
conn, err := tls.Dial("tcp", rp.To[rand.Intn(len(rp.To))], &tls.Config{InsecureSkipVerify: true})
if err != nil {
w.Status(gemini.StatusProxyError, err.Error())
return
}
defer conn.Close()
r.URL.Host = rp.Domain
fmt.Fprintf(conn, "%s\r\n", r.URL.String())
io.Copy(w, conn)
}
```
That's it. I love how minimal this is.

View File

@ -0,0 +1,19 @@
# Quarantine Diary Day 6
## 15:08
Almost halfway done with quarantine! I swear the moment I get out of quarantine I am going to have a meal from McDonalds. I'm gonna get my usual triple quarter pounder order with a McFlurry.
I had leftover beans and rice from Day 4[1] for lunch. I need to cook the chicken today. I might make pasta tonight.
=> ./12-14-2020-quarantine-4.gmi [1] Day 4
Still spinning up at work. I am told it will take about a month in total to spin up. I am not rushing it :).
I kinda wish we stocked up on more snack food. Usually we go out for snacks about once per week, but we're in quarantine so we can't. I would kill for some BBQ chips.
I've continued working on my Gemini server/framework and I've gotten close to the point where I want to throw it online and test it in the real world. It's surprisingly little code to implement a Gemini server. If you want to use my framework in its current state, check out the types here[1].
=> https://godoc.org/github.com/Xe/rhea/gemini [1] github.com/Xe/rhea/gemini
It's really rough at the moment, but I'm working on cleaning it up.

View File

@ -0,0 +1,18 @@
# Quarantine Diary Day 7
## 20:05
Halfway done! Good god it feels like this has been going on for forever. Next friday I'll be free. I plan to celebrate with a trip to McDonalds for a burger.
I just realized I said that yesterday, lol. I've been really craving having food that I didn't have to cook.
Tonight's dinner was stir fry. I took a chicken breast and cut it up into chunks then added that to a pan with some frozen veggies. I let it cook in avacado oil until everything heated up, then I dumped in a healthy amount of General Tao sauce and soy sauce for flavor. I let it cook until it was boiling in the pan, then I cut heat. I served it on plates. It was really good. If the instant pot was ready I would have used that to make rice to go with it, however I didn't have it clean at the time and didn't feel like washing it.
I got to an ending in Cyberpunk 2077 today and boy do I have opinions on it. I'm gonna go into more detail in a future post, but I had low standards and they couldn't even meet that.
I had cinnamon in my coffee today. It was probably a mistake. I will probably have a monster tomorrow.
Tomorrow is the holiday party for work. It involves a cooking part. I can only imagine what kind of a clusterfuck that will end up as. I hope I have the right pans for it.
I'm continuing to work on the wedding chapel in my animal crossing island. Bootstrapping a new character can be really annoying. There is so much snow there, but there's practically zero snow outside right now. This time last year there was a crapton of snow, but it's all melted away.

View File

@ -2,7 +2,7 @@
<feed xmlns="http://www.w3.org/2005/Atom"> <feed xmlns="http://www.w3.org/2005/Atom">
<id>gemini://cetacean.club/journal/</id> <id>gemini://cetacean.club/journal/</id>
<title>Flight Journal</title> <title>Flight Journal</title>
<updated>2020-12-16T00:26:36.353965+00:00</updated> <updated>2020-12-18T01:22:55.292095+00:00</updated>
<author> <author>
<name>Cadey Alicia Ratio</name> <name>Cadey Alicia Ratio</name>
<email>cadey@firemail.cc</email> <email>cadey@firemail.cc</email>
@ -10,18 +10,6 @@
<link href="gemini://cetacean.club/journal/atom.xml" rel="self"/> <link href="gemini://cetacean.club/journal/atom.xml" rel="self"/>
<link href="gemini://cetacean.club/journal/" rel="alternate"/> <link href="gemini://cetacean.club/journal/" rel="alternate"/>
<generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator> <generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator>
<entry>
<id>gemini://cetacean.club/journal/immigration.gmi</id>
<title>Immigration</title>
<updated>2020-12-05T00:34:03.218631+00:00</updated>
<link href="gemini://cetacean.club/journal/immigration.gmi" rel="alternate"/>
</entry>
<entry>
<id>gemini://cetacean.club/journal/you-complete-me.gmi</id>
<title>You Complete Me</title>
<updated>2020-12-06T02:10:04.636023+00:00</updated>
<link href="gemini://cetacean.club/journal/you-complete-me.gmi" rel="alternate"/>
</entry>
<entry> <entry>
<id>gemini://cetacean.club/journal/new-you.gmi</id> <id>gemini://cetacean.club/journal/new-you.gmi</id>
<title>New You</title> <title>New You</title>
@ -67,7 +55,19 @@
<entry> <entry>
<id>gemini://cetacean.club/journal/12-15-2020-quarantine-5.gmi</id> <id>gemini://cetacean.club/journal/12-15-2020-quarantine-5.gmi</id>
<title>Quarantine Diary Day 5</title> <title>Quarantine Diary Day 5</title>
<updated>2020-12-16T00:26:36.353965+00:00</updated> <updated>2020-12-16T02:32:24.241705+00:00</updated>
<link href="gemini://cetacean.club/journal/12-15-2020-quarantine-5.gmi" rel="alternate"/> <link href="gemini://cetacean.club/journal/12-15-2020-quarantine-5.gmi" rel="alternate"/>
</entry> </entry>
<entry>
<id>gemini://cetacean.club/journal/12-16-2020-quarantine-6.gmi</id>
<title>Quarantine Diary Day 6</title>
<updated>2020-12-16T20:46:22.018414+00:00</updated>
<link href="gemini://cetacean.club/journal/12-16-2020-quarantine-6.gmi" rel="alternate"/>
</entry>
<entry>
<id>gemini://cetacean.club/journal/12-17-2020-quarantine-7.gmi</id>
<title>Quarantine Diary Day 7</title>
<updated>2020-12-18T01:22:55.292095+00:00</updated>
<link href="gemini://cetacean.club/journal/12-17-2020-quarantine-7.gmi" rel="alternate"/>
</entry>
</feed> </feed>

View File

@ -6,27 +6,29 @@ Want to stay up to date? Follow the atom feed!
## Personal Logs ## Personal Logs
These logs will contain thoughts, feelings, major events in my life and other such things. The topics covered will range from programming to spirituality and more. These logs will contain thoughts, feelings, major events in my life and other such things. The topics covered will range from programming to spirituality and more.
=> 07-26-2020-beginning.gmi 7/26/2020 - The Beginning => 07-26-2020-beginning.gmi 07-26-2020 - The Beginning
=> 07-27-2020-6e-notes.gmi 7/27/2020 - 6E Notes => 07-27-2020-6e-notes.gmi 07-27-2020 - 6E Notes
=> 07-27-2020-majc-0-2-0.gmi 7/27/2020 - [ANN] majc 0.2.0 => 07-27-2020-majc-0-2-0.gmi 07-27-2020 - [ANN] majc 0.2.0
=> 07-28-2020-dreams-favicons-more.gmi 7/28/2020 - Favicon, Weird Dreams and More => 07-28-2020-dreams-favicons-more.gmi 07-28-2020 - Favicon, Weird Dreams and More
=> 07-28-2020-majc-0-2-1.gmi 7/28/2020 - [ANN] majc 0.2.1 => 07-28-2020-majc-0-2-1.gmi 07-28-2020 - [ANN] majc 0.2.1
=> 07-29-2020-book-published.gmi 7/29/2020 - My Book is Published! => 07-29-2020-book-published.gmi 07-29-2020 - My Book is Published!
=> 07-29-2020-flavortext.gmi 7/29/2020 - Some Hacks for Writing Scenery and Characters => 07-29-2020-flavortext.gmi 07-29-2020 - Some Hacks for Writing Scenery and Characters
=> 07-31-2020-newsbook.gmi 7/31/2020 - Newsbook Experiment => 07-31-2020-newsbook.gmi 07-31-2020 - Newsbook Experiment
=> 08-01-2020-hosted-with-maj.gmi 8/1/2020 - This site is hosted with Maj => 08-01-2020-hosted-with-maj.gmi 08-01-2020 - This site is hosted with Maj
=> 08-05-2020-lewa-development.gmi 8/5/2020 - L'ewa Development => 08-05-2020-lewa-development.gmi 08-05-2020 - L'ewa Development
=> 08-05-2020-rpg-backstory-gen.gmi 8/5/2020 - RPG Character Backstory Generator => 08-05-2020-rpg-backstory-gen.gmi 08-05-2020 - RPG Character Backstory Generator
=> 08-08-2020-maj-cgi-support.gmi 8/8/2020 - Maj CGI Support => 08-08-2020-maj-cgi-support.gmi 08-08-2020 - Maj CGI Support
=> 08-11-2020-keyboard-thonks.gmi 8/11/2020 - Keyboard Thonks => 08-11-2020-keyboard-thonks.gmi 08-11-2020 - Keyboard Thonks
=> 08-15-2020-the-source-draft.gmi 8/15/2020 - The Source 0.2.0 => 08-15-2020-the-source-draft.gmi 08-15-2020 - The Source 0.2.0
=> 09-12-2020-origami-king.gmi 9/12/2020 - My Thoughts on Paper Mario and the Origami King => 09-12-2020-origami-king.gmi 09-12-2020 - My Thoughts on Paper Mario and the Origami King
=> 12-10-2020-mod-dh.gmi 12/10/2020 - Colemak Mod-DH => 12-10-2020-mod-dh.gmi 12-10-2020 - Colemak Mod-DH
=> 12-11-2020-quarantine-1.gmi 12/11/2020 - Quarantine Diary Day 1 => 12-11-2020-quarantine-1.gmi 12-11-2020 - Quarantine Diary Day 1
=> 12-12-2020-quarantine-2.gmi 12/12/2020 - Quarantine Diary Day 2 => 12-12-2020-quarantine-2.gmi 12-12-2020 - Quarantine Diary Day 2
=> 12-13-2020-quarantine-3.gmi 12/13/2020 - Quarantine Diary Day 3 => 12-13-2020-quarantine-3.gmi 12-13-2020 - Quarantine Diary Day 3
=> 12-14-2020-quarantine-4.gmi 12/14/2020 - Quarantine Diary Day 4 => 12-14-2020-quarantine-4.gmi 12-14-2020 - Quarantine Diary Day 4
=> 12-15-2020-quarantine-5.gmi 12/15/2020 - Quarantine Diary Day 5 => 12-15-2020-quarantine-5.gmi 12-15-2020 - Quarantine Diary Day 5
=> 12-16-2020-quarantine-6.gmi 12-16-2020 - Quarantine Diary Day 6
=> 12-17-2020-quarantine-7.gmi 12-17-2020 - Quarantine Diary Day 7
## Stories ## Stories
Occasionally I write little stories that are not really connected to anything. I have not really had a good place to publish these in the past. This place seems as good as any. Occasionally I write little stories that are not really connected to anything. I have not really had a good place to publish these in the past. This place seems as good as any.