Posts tagged with :lower_left_fountain_pen:

Today I wrote a simple todo app using React Native to try out the new Expo API Routes system with Prisma. Next step will be adding authentication to the backend github.com/lorenzo0111/expotodo
I rewrote cross-blogger, a program I wrote two years ago and a soon-to-be headless CMS for posting from Blogger (or other user-friendly blogging platforms) to a static site generator, such as Hugo. Currently, it functions rather well, as well as being extremely fast. However, it's not fully automated. I plan on making it automated (and adding Git integration) so publishing a blog post to a static site doesn't include having to deal with deployment. PR showing changes made with the rewrite: github.com/slashtechno/cross-blogger/pull/37
wrote a partial edge detection algorithm for cs50 I'll probably finish it next hour
Started rewriting my compiler for my language Neon, but in C, because i felt it was a better fit than TypeScript. Here's the lexer i wrote today tokenizing a simple program:
Finally wrote docs
Day 10: Today was an uneventful day mainly filled with travel. I did some work on heat generation/dispersion for ship systems, and also wrote a few more of the weapon infocards (sprites coming soon!™)
Transmitted this image through LoRa using a custom protocol I wrote for my CubeSat project and #orpheus-goes-to-space !!! 3 packets were lost during transmission. This is without any acknowledgments between the transmitter and receiver. Will implement some new code to ask for and receive missing packets!
Day 9: Wrote up a document with all the weapons that will be in the game. I spent some time spriting up a few of them, so here they are! In the future, I want to make the distinctions between the corporations more clear, since right now it's a lot of blue...
For my #hack-hour I wrote the finishing script which clean up after me, I had to do a bit of research but now im done Yippeeee, on the next hack hour I will continue to test and see if there are any error when using this payload
transcribing some old recipes my nan wrote (in case they get destroyed in a fire or something)
So my goal was to design a personal website, so I spent time finalizing a UI sitemap and mood room drawing inspiration. I wrote and drew a bunch of stuff on paper.
This is my main project for #hack-hour! I wanted to learn more about Elixir as a programming language because it has really interesting features focusing on concurrency and distributed systems. So, for my first Elixir project I wrote a little program to watch a folder for new files and sync them between two different computers! The code is really awful and it barely works but I am super proud of the fact that I managed to get it to the point it's at. This was my first time with functional programming and with Elixir so I'm happy it ended up being able to work in the first place. You can check it out at the github repo, but I strongly advise against trying to use it productively. github.com/secondary-smiles/filesync
This ship is for #hack-hour! I just got my hack hour clock and I wrote some firmware to display how much time you have left in your hack hour on the clock; I linked the clock below and here is a short video demonstrating its functionality! github.com/kcoderhtml/hackhour-clock
Time to get to basics! I wrote up some quick code which renders into effect the sphere of influence of each body based on its mass and its distance to the "sun"
Day 111 Today I wrote my first python hello world program & setup a figma for education account using #temp-email because my personal one did not work. I also played with @Tom's sandbox simulation which was really fun!
i started working on an e2ee chat app w/ react native today, and wrote the login/signup page and the handshake protocol between the client/server. when a user opens the app, it initiates a socket-io connection to the server, and they proceed to exchange rsa keys that will be used to encrypt everything from there on out. then, to verify that the keys work, they exchange a common string (which for now is a custom-generated device uuid), encrypted with the other party's public key. tomorrow i'll write the client-client handshake and the chat ui. ill attach screenshots below.
I finally wrote a printf() implementation for my custom OS! I can finally use just one printf call (image 1) instead of like 6 (image 2)! (ignore the print() calls in the switch)
Started working on adding terminal escape codes to my OS. Here's the specification i wrote
Day 100 of #100-days-in-public! WOW. 100 days, 100 posts. This has been quite the interesting journey, which forced me to make progress on my projects & make some cool stuff! Today I worked on my website for boba & wrote some code to make a div container bounce around the screen. Not sure what to add next, any suggestions?
I haven't posted in a while, but I've been starting to self-learn aerospace engineering. I wrote a little website here (please note that it works horribly on non-16:9 screens) that can parse airfoils from CSV and show them on a canvas. However, I realized that browser JS is the most horrible language to do what is basically CFD in, so I've been starting to move the code to C# and Raylib. Left image is my new C# version, and the right image is the old web version.
wrote some really bad ruby code to generate map images from openstreetmap data. this will make me a lot of money someday
I found out how to calculate the normal vector of a line and wrote my own algorithm to normalize it within (-1, 1). It may not be amazing or look great, but it's the small victories that count. Next step: getting this to work with a physics system.
Announcing Chela! I took a few hours to try and make a nice little self hosted URL shortener like bit.ly. I wrote it in Rust and tried to keep it small. I'm currently hosting it at trkt.in. I used sqids to generate ID's which leads to super awesome short URL's like trkt.in/GM! The source is available here.
day 10! Wrote a syntax highlighter plugin for inkdocs
My updates for day 9 and day 10 of #10-days-in-public! Yesterday I spent some time getting github.com/hackclub/wizard-orpheus up to snuff to run a workshop on how to build a game using it at #wonderland! It went really well and everyone built awesome games. I asked for feedback and got an NPS of 18%, which is good - but not great, so I’m working on improving it. The key issues people identified are: • Roughly 1/2 of people built something they were proud of, and a few people got super into it, but 1/2 of people didn’t customize and didn’t make something they’re proud of. I’m going to change the workshop so everyone comes up with their game concept and customizes from the beginning, rather than waiting to customize for the end • For the more advanced people who already knew JS, they wanted to see docs so they could figure out how to customize it deeper. So I wrote them! • The slides were hard to follow visually, so I am working on improving them
Day 2 of #10-days-in-public: Wrote an auto-reloading devserver using websockets.
Day 2 of 10 days in public. I am leaving for a trip today, so I thought the most reliable idea is to post this now. If I do more later today once I get where I am going, I will talk about it tomorrow. Today I wrote out the main story line in its entirety except for characters and details, then watched a bit of a tutorial on making a text based rpg, but realized I needed to know what loops were, so I watched a video on loops, and then experimented with my newfound knowledge. I also tried to figure out how to use the app I got to code things in, but that will take more time. Here is a document with story and stuff: docs.google.com/document/d/1hhrkJPQ7tqSYxhMyzBAnxj3mKT01PaUtq-UWFGhz3r8
I set up a new dev blog for oblong at reese.obl.ong with write freely and wrote about active zone! #10-days-in-public
Today I wrote a BNF (Backus–Naur form) of my language Kin
Wrote an esoteric programming language in just one day! Today i wrote it's standart library and it works well. Here's a simple program in it. It defines a function 'inc' that increments a number you pass into it. Then i define some numbers. Then i just log a natural number in the main function and that number will be inc(69) a.k.a. 69+1
T-67 Days until Orpheus wins! Okay so I'm literally writing this right before I go to bed. I'm super tired because It's been a long day, but here are some notes of what I did today! • Started reading They Both Die at the End. It's really good so far, and I'm halfway in. I'll probably be a bad kid and stay up and read some more • I practiced esperanto on duolingo... I'll probably step up my practicing this friday because I'll be on my way to camp this weekend again. • Finished the rough draft of Episode 2 of my serial novel, Zero Gravity (now publishing on Kindle Vella and Wattpad!) • Explored some new songwriting ideas • Got my learner's permit... Oh, and my license to kill, but that's a secret 😉 • Wrote some stuff for school • Wrote this little scrapbook post Anyway that's all, folks. Stay hacky! PS: You get... A bad 11pm selfie because I took absolutely zero pictures of anything I did, and I don't want to spoil the next episode of Zero Gravity (even though it's kinda predictable tbh)
today's scrapbook post is a little bit abstract as i don't have anything to "visibly" show (i cant just leak movie scripts lmao) but Ive come to a sort of impasse in the writing process. Our plot involves multiple conflicts, from existential to personal, and explores the consequences of idolization, climate change, and the worship of technology. these three themes clash with one another of course, since a film only has so much screen-time, but then begs the question of what is most important to speak about. When I wrote the initial plot for this movie, climate change stood at the forefront of my mind, with idolization 2nd and tech worship 3rd. That was almost two years ago. the existential horror of climate change still scares me, but no longer plagues my everyday thought in the way the other topics too. as a result, I have provided band-aid solutions to the storyline as my view on life has changed. This has created the problem where I find myself solving problems that I did not realize existed with the plot, only for new problems to rear their head. it's sort of a wack-a-mole game with plotholes. NOT FUN. I have gotten to the point where we had to ask ourselves, what even is this movie? what are we trying to say, and what do we think will come of the world? after endless deliberation, that question remains unanswered, , , which i guess i shouldnt be suprised by lmao. its an issue to solve- but after some thinking. I would rather tell a story that has a cohesive opinion than one strapped together over the years.
T-73 days until Orpheus wins! 📚 Today, I completed the current challenge by collaborating with @KaraMassie to make our "read lists" longer (This is day two, since I briefly mentioned it in my last post!) I finished my book, His Majesty's Dragon by Naomi Novik today, and it was so good! I can't wait for the next book to be available at the library for me. Tomorrow, I'll pick up another book that I've been wanting to read. :esperanto: I made it to sapphire league on :duo: Duolingo! Yay! I've also put a textbook on Esperanto on hold from the library. This particular book is held with high esteem in the community and I've had experience with some of its content as well... Its very well written! 🏫 I wrote a letter (Right-center) to someone in order to complete an assignment for my english class. The handwriting is... Let's just say it's not my best work. ✍️ I started writing the last scene of my second chapter. Gotta keep cranking through! I also wrote some song lyrics and poetry that's probably not going to get shared, but whatever. Since today was my writing club, we had some fun creating random story ideas, such as a horror novel about walmart employees trapping customers in the self checkout area and making them go insane from the machine saying "Please scan item then place item in the bagging area." Not only that, but there was even some classism involved! Fun times! 🏋️‍♂️ I'm not sure if I mentioned this in my first post for #100-days, but I'm trying to just be more active/healthier. I went for a walk outside and I have some stuff I'm going to do before I go to bed tonight. 🎼 I got the general concept for and first few lyrics of a twisted version of "Love Story" by Taylor Swift. It's meant to be from Romeo's perspective and ends with... Well, y'know, death. I think it sounds fairly good so far and if enough people peer pressure me ask me to share it, I may send a snippet. That's all for today. Keep on scrapbooking, and remember to support the Orpheus house!
wrote a recursive descent parser (that handles left-recursion) in ocaml for my PL class! functional programming is fun
Wrote my first unit tests today!
Wrote a simple scheduler in C++ for my microcontroller project, it allows me to schedule runs of some "work" function by giving it a delay or a timestamp when I want it run. you can have multiple jobs scheduled, each with different parameters for the function!
hi! i’ve been a bit inactive in this slack but i’m officially back! just wanted to share a couple things i’ve been working on: marrow, markright, and the star of the show, arson! arson :fireball: is a programming language, around, well, ARSON! what else. (excuse the bad inside joke.)👇 here’s a demo of me writing a sudoku puzzle solver in arson with marrow, a text editor i’ve been working on using this amazing guide on writing one in c that i’ve been expanding upon! because i want my own vim alternative but mostly for funsies and to learn c. another things: markright! some people might know that i wrote my own markdown parser a while ago along with a web ui. the web ui has been improved and looks a lot better! (although i have a couple issues to fix in chrome). comes w/ google oauth (i kind of skimped on adding extra auth options) and a recursive filesystem. demo also below 👇 extra things i did or am working on icyi at www.jianminchen.com/article/general/2023-06-04! going forward planning to work on more hc-centric stuff!
I finally finished my confetti thing for #angelhacks-site! :angelhacks: github.com/hackclub/angelhacks3/pull/8 :pr: This is my first time working with Next.js :nextjs: and I wanted to see if I could code something with it without reading any docs! *How?* • Well, first I had an error, I couldn't start the dev environment! :pensive-wobble: To fix this I (somehow) installed next globally and that allowed my package.json :npm: to run next build • After that, I wrote the confetti code and implement it on a React :react: component but I also don't know any react so it didn't work :eggsdee: • So I added the confetti code into the already existing PhotoGallery component! :yay: Everything looked good, but then I got this error: ReferenceError: document is not defined :errors: • To fix that, I run my code client side after watching a small tutorial and it ended up like this:
import Masonry from 'react-masonry-css'
import styles from './PhotoGallery.module.scss'
import { Nunito } from 'next/font/google'
import { useEffect } from 'react'

const nunito = Nunito({
  weight: ['400', '800'],
  subsets: ['latin']

export function Button({ children, fontSize = '7rem', ...props }) {
  const handleClick = () => {
    import('js-confetti').then(({ default: Confetti }) => {
      const confetti = new Confetti()
        emojis: ['🎮', '👾', '🕹️', '💻', '📸', '🎧', '🎨', '🪽']

  return (
    <button className={styles.button} onClick={handleClick} {...props}>
      <span className={styles.shadow} />
      <span className={styles.edge} />
        style={{ fontSize }}
        className={`${styles.front} ${nunito.className}`}>

function Image({ src, text }) {
  return (
    <div className={styles.photo}>
      <img src={src} width="auto" />

export default function PhotoGallery() {
  useEffect(() => {}, [])
  return (
    <div className={styles.photoGallery}>
      <div className={styles.photos}>
This was very fun to work with, and definitely I need to properly learn Next.js on the future. :salute:
Data visualisations are relaxing to make; this one is using Wikipedia editor data. I wrote a little to explain what's going on. Definitely going to do more of these observablehq.com/@malted/wiki-editors
wrote a chess bot!
Just wrote an article on Hashnode about my WHW debugging journey.
Didn’t do anything much today. Went to hardware store and bought superglue and anti-slip rubber mat for my RC car stand, gonna see if this prevents the car from slipping around, wrote a blog on how I made my first web app too.