Taking a break from my cat bot to get some more basic js skills, and using our workshops for this. Looking at the first workshop (make your personal website), I felt our list of example sites could use an update, so I added a couple. I encourage HCers with sites to add more!
@javierzaleta0Today I managed to complete my new 🥮 feature of Splatter Paint 🎨! Now the second type of path looks more like a brush !🖌️ To do this I worked with mouse vectors :cursor-pointer::this-toitle:
Also here's a picture of a cat I saw earlier today.
@KaraMassie-U032A2PMSE91Eeeiii! First #scrapbook post. With the help of the sweetest, smartest co-workers here at HQ, I’ve been building a Slack cat bot in js using Bolt.
I started by roughing out a design that is vastly beyond my current abilities, and that is based on the ~worst~ funniest personality traits of my IRL cat.
A Cat currently lives in #the-litter-box only. It’s very shy, for now.
So far, I’ve learned how to:
• set up a bot using Slack’s API
• use Replit; and then,
• get my Slack tokens revoked by accidentally moving all my code to a public repo in GitHub
• regenerate those, and put them in a non-uploaded file
• Run my bot locally
On the js side I’ve learned how to:
• Set up which channel it is in
• Get the bot to respond to certain words or phrases
• Set up delays and randomization
• Create ‘untriggered’ events (ie the bot does random things without provocation)
• Have the bot react to users entering the channel
@Andrew0I followed a tutorial on how to create CLI’s in rust, and I created cat-say 🐱
@ian7:nodejs: api-pathmaker is a module(ish?) that I made to write less code when you’re implementing an API in Node.js. It lets you model the request in object format and then make the request without having to define everything with an http library. I made it because I was tired of having to use a random API just for a few requests (for example, getting cat pictures) and the API doesn’t have a library, but you still want clean code.
It’s kind of a mini-ship and it’s part of a larger project I’m making.
GitHub & Download: github.com/yodaLightsabr/api-pathmaker
@sevara0not much coding today i had to take my cat to the vet 😞
@RebeccaWang0Final flight of 1:50 air time. It was a good run :sad-cat-thumbs-up:@RebeccaWang0Autonomous drone’s intended path (blue) vs. path with wind disturbance (red) :sad-cat-thumbs-up:@WilliamLane0after 5 minutes of trying to get a file extension in fish I ended up writing a small python script and I now have a new cat configuration complete with syntax highlighting and markdown rendering
@RebeccaWang0PYTHON CONTROLS A PLANE :screaming-cat: MY MIND IS BLOWN, AND IM ADDING IN MORE CODE NOW HEHE@anthonykung0OMG TODAY'S WINDOWS INSIDER UPDATE GIVES WINDOWS 11 :screaming-cat::screaming-morty: 😍 🤪
@aaryan5YESS!!! I finally deployed my sad cats API (ScaaS) to my Oracle Cloud Instance's public IP, I had to learn about Ingress rules, IPTABLES and ufw. I've failed so many times trying to do this oof. But seriously if I had figured out how to do it early, I wouldn't be able to learn so much! (But seriously I should've read oracle cloud's docs at first lol)
@alialiwa20050Today, I've started working on a new Python-based multiplayer game, Pynopoly.
:python::hacker-cat::replit: 🎲 :flying_money_with_wings: 💰
Here's a sneak peek of my program so far:
@alialiwa20050Here's a :python: program I've coded today, hosted on :replit: (repl.it/@alialiwa2005/Minutes-to-Seconds).
It converts minutes to seconds ⏰, with up to two decimal places in the outputted calculation :abacus: for extra precision, and minimized confusion.
This program is opensource under an MIT license.
Feel free to hack and build on my code! :hacker-cat:
@alialiwa20050Odd or Even?
A :python: program, hosted on :replit:, which checks if a user's inputted integer is even or odd.
My program has error checks, such as checking whether an inputted value is truly an integer; if not, it asks for new input, without breaking the entire code.
Additionally, my program also asks users if they'd like to enter a new value and check if it is even or odd, after an integer is determined as odd or even; using loops.
This program is :crazyblackstone-opensource:, under an MIT license; so you can hack :hacker-cat: and build on it however you'd like!
Challenge Solved: bit.ly/3doBhCJ@jeswinsunsi0y e s
@m040Worked on a PCB today but don't have a picture so here's my cat
@kenmueller00Over the past week, I’ve gotten significantly stronger at a much faster rate than normal. Found a workout partner as well 💪
@aurora42lambda0Today was a very busy day, I had a lot of code to do for some other projects, a pull request to manage, etc.
But sadly there's nothing visual to show you, so here's one of my cats, she's very cute :)
Also if someone knows a N-type MOSFET which can drive at least 1A (or 500mA it could work) and only requires 3.3V logic levels at its gate it would be great :D
@christina6950Still getting to know VS Code editor. My cat made for a cuter photo tho.