Been working a bit on my lexer! It's now able to be fed a raw string of Lua and parse directly from that instead of looping over lines and tokenizing. It uses (what I call) a pseudo_cursor to track the position on the current line and a regular cursor to track the position within the String (not really sure if I'll need this later but might as well keep it in just in case). As for what it can now parse, it can handle basic identifiers, like variable declarations, and booleans as well numbers, strings, whitespace, comments, and assignment operators.
I got my customizer almost fully working! The CSS stuff is still being kinda quirky but in theory it should work once I put it on a *.hackclub.com domain (CORS issues still lol, I think at this point I probably need to rethink the way I’m applying the CSS). I also made it look a little nicer so the UI will probably stay the same, but if anyone has any suggestions I’d love to hear them!
Had a really awesome time competing in my first CTF. Big shoutout to @luke for encouraging me to do it and to @firstname.lastname@example.org@saharsh for letting me be on their team even though I was a total noob lol.
Over 1 year of hard work and over 6k lines of code i guess i'm done. I guess i can call it an achievement. I've never worked hard like this before on a project in my entire life. Programmed an entire custom OS for this project, faced nightmares , lost hope at some points during the development stage, faced so many challenging problems and i was thinking about leaving it every day but now i'm proud of myself that i didn't quit and finished it. I learned so many things from it and i'm glad that i've made it beyond my potentials and my expectation.
I guess you saw my first post here about my project the interactive cubes, this was my first project i've built in real life. This is my second project bigger than the first one and more complex. A visualization video to visualize how it will looks like in real life is coming soon :ultrafastparrot::ultrafastparrot::ultrafastparrot::ultrafastparrot:
The name of the new project is TEKTABLE 👀
“You’re just trying to help. And where is that taking you? Are you going to risk your life just to save them?”
Quite different from the usual, but I like it. I made the sketch on paper and scanned it in and coloured it on my iPad.
I’m (almost too) excited to ship Frame 🖼️, our SOM project we’ve completed.
🦑 What is it? Previously named Smart Album Cover Display, Frame, which sits on your wall, displays the music you’re listening to. It either uses the Spotify API or detects the music you’re listening to with microphones.
🐳 It’s been a good summer! With all the support from Hack Club we were able to complete this, and I am currently working on a Flutter App to configure settings (currently it’s a react site).
🐝 What’s the purpose? We see it as art. I truly spend hours each day just looking at it (the beauty is not apparent in the photos). Music truly is a beautiful thing.
🍀 Want to make your own? We’re working on a hardware guide. The code is, of course, open source. Contact us with questions.
We couldn’t have done this without Hack Club 🎉 💓
p.s. here is Blonde by Frank Ocean, KIDS SEE GHOSTS by KIDS SEE GHOSTS, Yellow Submarine by The Beatles and Nothing Was The Same by Drake. We’ve also implemented a clock when paused (with custom colors 🎨) and auto-brightness with a light sensor.
started work on a react project, something i haven’t done in a very long time. also reviewed hooks because the last time i worked with react, they weren’t a thing yet lol. also played around with v2 of twitter’s api.
Made some landing gear for an RC plane with lexan. I milled it from 1/4" polycarb, then used a reflow station to heat it and bend to shape. It worked really well for a first try, but I think I’ll need to adjust the size because the bend radius was slightly larger than expected.
I think this is ship-worthy!!! This is the biggest overkill in the history of overkill: I built a full-fledged platform for Jeopardy-style virtual puzzle hunts (can also be used for CTFs) in 4 months, and I finished today! It's built on top of Node.js, PostgreSQL, Redis, caches information locally, and pulls competition puzzles from Airtable for easy modifications. It also comes with a companion standalone announcement/alert system for real-time communication with your competition attendees.
First run of it will be in a few weeks at a <https://integirls.org/puzzle|puzzle hunt> run for middle/high school female/nb students (you should signup if you are eligible!) Still figuring out how to deploy everything across multiple servers so students from around the world would have no trouble using the platform, but that won't take long!
Code is very rushed, but it's completely open-source github.com/itsmingjie/infinity.
as couch camp drew to a close, and our scoring manager fell to sleep way too early.... we found ourselves with scores scattered across 22 separate JSON files.... oh dear making the closing slides would be a pain
but i did not want for the not so techy people to go through any pain... so i stayed up very late last night and built certs.couch.camp/results that went through and linked together all the JSON files to output the critical results needed. it ended up saving hours for my friends today and i'm very happy about that. i'm quite proud of the hacky js stuff i wrote whilst half-ish asleep lol
and then today i built on top of that system to make certificate websites for each scholar... it involved even more linking of JSON files, using square numbers to make it challenging for scholars to find others urls and a whole load of JS to make the award names. all together it looks like certs.couch.camp/71407A, people have to screenshot to save it which i guess is alright
its all a big hack, here's the source code for: github.com/sampoder/couch-camp-certs im so proud of this massive hack
i continue to fall in love with Next.js
I don’t have a specific way of coming up with ideas for projects. A lot of my projects are also iterations on a theme; I made a site called NRA Funded as one of my first React projects in 2016 (nrafunded.now.sh), then Fossil Funded a year later (lachlanjc.github.io/fossilfunded), then returned to the idea last year with Gun Funded (gunfunded.com). The original idea came from the Pulse shooting in the news, then I kinda kept growing it from there. Same thing happened with predictcovid.com then testing.predictcovid.com, those were the dominant news items in March & I wanted to visualize them with data.
My open source libraries are mostly extracting a solution I came up with for a problem (e.g. snowflakes in React for hackclub.com/santa, github.com/lachlanjc/resnow) to make it reusable (Hack Club Theme is this as well). I think otherwise it’s easy to make not-very-useful projects, & once you’ve solved the problem yourself you have more constraints & opinions on how to do it well/make it useful.
I also tend to reuse & remix many elements from past projects (look at Gun Funded vs testing.predictcovid.com), & I’m not afraid of constantly remixing my ideas & code in public. You don’t need to learn a new tech stack & make an entirely new design language for every project—& I think lowering the barrier by reusing elements makes it easier to make more stuff, which is a positive cycle. I wrote about this: notebook.lachlanjc.com/2019-09-06_my_websites_look_the_same (including an image for Scrapbook)
🖼️ My first submission for the Hack Club Fine Arts Gala - my profile picture was in need of a re-draw for a while, since my style changed quite a bit over two years...but knowing me, I wasn't just gonna re-make it. Nah, I had to i n t e n s i f y it far beyond reason. Also, I enjoy harsh shadows. huhuhu
Hey everyone, I wrote a blog post for the first time inspired by a tribute from my friend. Could not share link so here are images! I also shared in #ship but I heard people encourage you to send it here too(?) 🙏 💖