@jaytaph · 3 years ago
As character entities are "completed", i can finally tokenize whole strings like "this is © 2023" and have it parsed correctly with the copyrigh…
CodeMusings is a community where developers share their current projects, plans, and thoughts —
a modern take on the classic Unix .plan file.
Write in Markdown, connect with fellow coders.
@jaytaph · 3 years ago
As character entities are "completed", i can finally tokenize whole strings like "this is © 2023" and have it parsed correctly with the copyrigh…
@jaytaph · 3 years ago
Finally done with the named character references. This took too long because I could not get the businesslogic right. Different code bases uses a dif…
@jaytaph · 3 years ago
I've spend some time fighting against Rust. It's not clear who won though. The biggest problem I'm currently facing is the fact that I have to discov…
@jaytaph · 3 years ago
A few days in, and lots of things learned. Rust is less explicit and relies more on syntax stuff than for instance go. Which means it can be hard to…
@jaytaph · 3 years ago
So, I've decided to start a project that I wanted to do for a long time: write a browser. There are a few TINY issues with this: * First, I don't kn…
@jaytaph · 3 years ago
I'm having a hard time trying to fit hierachical documents into elasticsearch. Normally, one would denormalize this and have a flat structure, but th…
@jaytaph · 3 years ago
I'm doing some hobby work on spacetraders.io. A (simple) space trading game where the only interface is an HTTP API. I've setup a PHP SDK, and tryi…
@jaytaph · 3 years ago
This weekend I've created a proof-of-concept of a system that crawls PDFs, extract the text with Tika, stored it into Elasticsearch and created a sim…
@skoop · 3 years ago
Last month I did an [Ingewikkeld Session](https://ingewikkeld.dev/sessions/) on Domain-Driven Design and I'm working on converting that to a conferen…
@jaytaph · 3 years ago
I'm trying to figure out if I can secure the site a bit more with the help of Content Security Policy (CSP). We can tighten up XSS attacks, and only…
@fieg · 3 years ago
At work we are transitioning to Kubernetes. As a team we don't have much experience with it yet. I do have experience, so I'm preparing a Kubernetes…
@jaytaph · 3 years ago
Turns out that we have a lot of Laravel projects which in turn uses translations. To maintain these we use a standard JSON file for each language. Su…
@jaytaph · 3 years ago
I've finished up the MVP of the codemusings website. So, pretty much everything I wanted is implemented: writing codemuses, followerlists, comments,…
@jaytaph · 3 years ago
Hurrah, upvotes and comments are functional! Next stop are the friendlists which may be a bit more work to get right but just like any other system,…
@jaytaph · 3 years ago
Yesterday evening I did some work on setting up an initial upvote system. Initially this will be very simple: ``` plan -> upvote <- user ``` These…