and directional lighting works! the light location has to be adjusted but it's pretty good. next step is to render multiple chunks at a time.day #3 of #bci! today was definitely more goal-focused vs. more research-focused over the last two days: finish the pcb, get a pcb bill of materials, have a meeting with 1517, and continuing to finish my attempt to explain what we're doing. today was another great day ( ;) yes i've said that over the last two days because it has genuinely been so much fun): i spent the first half of the day getting a bill of materials using the jlcpcb plugin on kicad (cost for 2 assembled boards: ~$300), then spent the second half of the day working together with @Cheru to design the usb to uart converter for transferring data between the microcontroller, and of course, an amazing meeting with this really cool guy from 1517 fund who gave us some great advice that we spent like an hour talking about. unfortunately pcb is not done but i'm going to do a lot more work on it tomorrow so we're on track to finish on friday! (the trick is referencing like three datasheets/schematics at any given time.) sadly don't have too much notes today but here is the short draft of my attempt to explain what we're doing: cloud-d4hdmkpwy-hack-club-bot.vercel.app/0bci.pdf
(this is part of #100-days! join us over there, we're working on cool stuff like #something-on-a-bus-this-summer and #toriel-dev!)
day 2 of #bci! today my goals were to get the hang of using kicad, understand the schematic of openbci's cyton board (which is, along with hackEEG and piEEG, the basis for a lot of our understanding of what exactly happens in EEG boards) and spin up a bill of materials for everything going in our pcb. i got to the first two and didn't do the last one (although i will eventually get to it!), but i had a lot of fun! today was another great day because this is the most fun i've had in a while building shtuff (among other things: deciding who would be who in the openai drama, the f*ckboard, dinner at steve). tomorrow's goal is to spend the whole day just building the actual pcb (and then spend thanksgiving off?) we're building this out in the open so my daily notes are all here: cloud-ckujstd4d-hack-club-bot.vercel.app/0jc_0e4ee6c5e5e546ce910bda3e3ad2ac10.pdf
(this is part of #100-days! join us over there, we're working on cool stuff like #apocalypse and #dallas-day-of-service!)
day 1 of #bci! i mostly got caught up on a bunch of things today (including, but not limited to: parts of the brain, eeg concepts like the 10-20 system, reading schematics, understanding what exactly we’re doing including the process of actually designing the eeg circuit: electrodes -> ads1299 (including digital to analog converter) -> microcontroller -> computer for extra processing - so many black boxes we’re trying to figure out!) and generally feel like i’m ready to start playing around with kicad/observing tomorrow! today was a great day overall, although we think we could have focused a bit more and it still feels like i don’t know anything. tomorrow’s goal is to build shit which is the easiest way to understand stuff. we're building this out in the open so my daily notes are all here: cloud-6crgvlqrj-hack-club-bot.vercel.app/0jc_e4acbe3e3aff48778866059bb21c78be.pdf
(this is part of #100-days! join us over there, we're working on cool stuff like #nanowrimo and #polyglot-warriors!)
working on learning (some really basic) linear algebra as part of my plan to learn more about ai/machine learning yesterday! #100-days #100-gord
I should start updating but here's what's up! I've been following along with the USB PCB jam on jams.hackclub.com, which has been a ton of fun. Also went with @deven to a local makerspace to get some boards for #maker-faire laser cut. Also a bit of twiddling on the #blot website! (Will share that maybe later)
Day #93 to 2024! Got CircuitPython running on Adafruit Neopixels thanks to @Cheru. Eventually I want to build the grid from scratch (soldering will be a pain in the a**), but for now this is really coolDay 95 to 2024: I've been working on something with lights and Pyodide (pyodide.org/en/stable)! I'll reveal more information in tomorrow's post but Pyodide is pretty darn cool - it lets you run Python in the web in a way that makes sense. Other things I've been working on include trying to get #scrapbook to work and also something broiling in #clue-game... (although it doesn't work yet haha)
Pyodide!
if you know me, i've been working on marrow (github.com/jianmin-chen/marrow) in my free time and have about ~2300 loc (in the v2 branch) on it (which is absurd until you realize i've been working on this since the start of late april/early may). anyhow, i finally reached a point where i realized that writing it all in c might not be the best thing, esp. if i wanted to extend it, since i hadn't really taken it into account. rather than digging through those loc, i decided: i'm going to rewrite it in rust! (and another thing i also want to work on is building some sort of very very basic terminal emulator for it called stem potentially.) so the first thing to do is to learn rust actually. initially marrow was built on some of the functions introduced in build your own editor, so right now i'm going through a similar guide but in rust. rust is actually real cool! will post more thoughts on it as i work through the guide.
cool stuff!i've spent the entire day working on these! with the help of the raytracer challenge. i was going to write this in rust, but i decided to jump on the wagon with python again. think i'll work on something else in rust, but probably at outernet / after this summer
Lost my USB-C to aux adapter so I set up Spotify Connect with a Raspberry Pi I got my hands on! Also trying to adjust Marrow to run in Linux
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!day 1 of playing with webgl!
Been rewriting markright just for funsies!
Something I was working on a couple days ago:I have things to do but getting a little bit carried away building Coach Chess!
Small ship (bigger one coming soon hehe)! At #horizon I built an unnecessarily complicated hacky project involving Spotify + Neopixels. Basically, the web interface at horizonmusic.vercel.app allows everyone to add music to a Spotify playlist that I play (which means I have ultimate control I guess + yes you can technically still add music) without having to log in (especially if they don't have an account) + automatically filters out explicit songs in the search so nobody adds explicit songs. Waveform with p5.js and Tone.js record surround sound (coming from speakers and other close noise) and transform it into a cool waveform, while a set of LED lights (Neopixels) flash along to the music, utilizing an Adafruit Feather Huzzah to wirelessly communicate with a computer (computer mic -> computer -> computer processing -> send FPS to Adafruit -> flash Neopixels!) through the amazing audio-reactive-led-strip library. The Neopixels we got didn't work fully, but the result was still cool! github.com/jianmin-chen/spotify-collab (and I might be getting working Neopixels for another project!)First time working with matplotlib locally!
I've been learning about tools for Python like Jupyter Notebooks and Anaconda! Holy heck are they useful.
Guess the songNew desk setup!
Experimenting with SSH over the webPlaying around with Svelte! Wrote a little highlight.js component
Day 4/10 of #10-days-in-public! Started working on the forum, really jumped over the place and also worked on some media queries for the landing page. Worked on some other stuff that may be shipped soon :sunglassesblob:
Super busy today but styled the settings modal for day 3/10 of #10-days-in-public!Day 2/10 of #10-days-in-public! I'm mostly done with the blog and blog post page, and starting work on a little settings modal.Day 1 of #10-days-in-public, again! I'me trying to finish the design of a website I've been procrastinating on. Today, I mostly gauged my progress and started working on the design for the blog. It's kind of hard to record in action haha so what I do today is going to be recorded tomorrow and so on.Finally got around to updating the README for the Markdown parser I wrote during #10-days-in-public! You can check it out at github.com/jianmin-chen/markdown-parser/blob/main/README.md
Installed my first Vim plugin, vim-gitgutter! Did it through SSH (I don't normally use Windows, but I'm on a school computer).
Wrote a little Python script to change the background on my computer every so often. Probably could have found something, but this is more fun :)Got my fudge for #10-days-in-public too! The chocolate one is so good
Last day of #10-days-in-public! Unfortunately, I didn't get to attend the Zoom meet, but I just wanted to add my own two cents and say that it was a lot of fun building and sharing the progress of a project in 10 days. Today, I simply finished my write-up, rewrote some of my CSS (adding media queries), and updated the README of my repo. And of course, an obligatory demo of me using the Markdown parser to finish the rest of my write-up:
> What's this? A Markdown parser written from scratch. Demo at jianmin-chen.github.io/markdown-parser, write-up at www.jianminchen.com/article/general/2022-10-07-markdown-parserDay 9/10 of #10-days-in-public! I can't believe that there's one more day. Today, I worked on adding strikethrough, superscript, and subscript features, and started working on a contextmenu, which currently allows me to delete files. I plan on adding more to the contextmenu, and definitely finishing the write-up and adding a README to the GitHub repo. (Currently, I also have some incomplete TypeScript files.)
> What's this? A Markdown parser written from scratch. Demo at jianmin-chen.github.io/markdown-parser and write-up at www.jianminchen.com/article/general/2022-10-07-markdown-parserDay 8/10 for #10-days-in-public! Today, I worked on adding link and image functionality, learning about regular expressions along the way. Everything's coming together, which is super cool!
> What's this? A Markdown parser built from scratch in JavaScript. Demo at jianmin-chen.github.io/markdown-parser and write-up at www.jianminchen.com/article/general/2022-10-07-markdown-parser.Day 7/10 for #10-days-in-public! Was super busy today - got home from a cross country meet and then homework - so I just worked on translating some of the code I've written so far into TypeScript (as a way of learning it). I learned about definition files, and kind of want to write my own to represent the tokens.
> What's this? A Markdown parser built from scratch in JavaScript. Demo at jianmin-chen.github.io/markdown-parser and write-up at www.jianminchen.com/article/general/2022-10-07-markdown-parser.
Day 6/10 for #10-days-in-public! Today, I added bullet list and number list functionality. I also got a little bit sidetracked and transformed the parser into a complete Markdown editor, with the ability to add and save files (currently through localStorage, I'm thinking of creating an Express & AWS API after the ten day challenge so that this can be a functional mini Markdown editor, especially since I'm planning to do the Quality Assurance course on freeCodeCamp at www.freecodecamp.org/learn/quality-assurance. We'll see.
> What's this? A Markdown parser built from scratch in JavaScript. Demo at jianmin-chen.github.io/markdown-parser and write-up at www.jianminchen.com/article/general/2022-10-07-markdown-parser.
Day 5/10 for #10-days-in-public - we're halfway through already, somehow! Today I worked on adding bold text to the parser, as well as tab completion... not exactly part of a parser, but still cool to implement none the less. As usual, a small demo and the write-up at www.jianminchen.com/article/general/2022-10-07-markdown-parser.
> What's this? A small attempt to write a Markdown parser from scratch. Demo currently at jianmin-chen.github.io/markdown-parserDay 4 of #10-days-in-public! I struggled with getting code blocks to work, but I finally figured it out after ~two hours! I've also started a basic writeup at www.jianminchen.com/article/general/2022-10-07-markdown-parser. Current demo is on GitHub Pages at jianmin-chen.github.io/markdown-parser, which I might link to my personal domain sometime.I've been super busy today, so I couldn't get much done for day 3 of #10-days-in-public. However, I did get a GitHub repo up at github.com/jianmin-chen/markdown-parser with the current code, and I'm writing up the post right now!
(Trying again.) Day 2 of #10-days-in-public! I got blockquotes, inline code, italics, and horizontal breaks working. I'm thinking of working on code blocks next, and getting a GitHub repo and blog post up and running.Day 1/10 for #10-days-in-public! (I might do a day 1.5, we'll see.) I currently have headers working in my Markdown parser, which is pretty neat!
Updated my VSCode theme and installed some extensions! I'm trying to learn Vim, so I found an extension for that, which is pretty nice
Got my DALLE invite! Here's Orpheus "Dinomite":
I rewrote my blog using Next.js, MongoDB, and Sass with Chakra UI! Located at jianminchen.com. Also, the video is super neat, it was done entirely on my phone!I won $50 in Replit's Template Jam with this small canvas template: replit.com/@jianmin-chen/canvas-sketch-template! I'm probably going to use the funds to get the supplies needed to salvage my old, broken laptop from 2013 and turn it's LCD screen into a monitor :sunglassesblob: