@Krypt-U04FR44ATBL0Winter Hardware Wonderland Day 1:
Installed the DC Buck Converter.
Wired the battery pack to it and used the output of it to the servo.
Configuring each servo with VSCode and calibrating them
@Marios7+Unexpectedly took an interest on Raspberry Pi Picos from Arduinos and decided to experiment with them. The windows setup with vscode was definitely a pain and it took ~2 hours, so I didn't have much time to do any other project but a modified blink project with a reset switch. Also I almost bent a pin 😑.
@j_cordz6I finally add more colors to my vscode theme! Now I'm ready to work on the syntax highlighting! :vsc::burst:
@j_cordz6:burst: More research for my vscode theme! I need a good background color. :sadge: Now I'm looking at solarized and rosé-pine for ideas, most likely I'll go with a dark gruvbox like color.
@j_cordz6Today I started to remake a workshop repo I did and learned more on how to make a vscode theme! Also here's my macbook uptime.
@j_cordz6I'm going to be making a Slack bot with Bolt! 🤖 Also I learned how to make a VScode theme :vscode: , I was planning to start this first, but I need to think on the colors I'll use so I'll work on the bot first. :salute:
@j_cordz6Today I learned a bit more on how npm :npm: works, made a small test site with Astro :astro: to understand deployment and changed my VScode theme to Vitesse! :vsc:
@ShubhamPatil0made a vscode extension! it's going to be a status updater (e.g. editing one.js in adventofcode_2022)
@jc1Updated my VSCode theme and installed some extensions! I'm trying to learn Vim, so I found an extension for that, which is pretty nice
@sheryl0finally learning how to go from figma to a website. BUTT new fav vscode theme?? 👀 "Winter is coming dark blue no italics" theme is hot af
@j_cordz6Today I learned more on how to work with VScode! :vsc: I didn't knew :thinking: it was possible to open a terminal :macintosh-stcicker: on it! I tried as well to open the neofetch command and Vim :vim: on it and my Splatter Paint 🎨 project files! Today I also worked again on details for two new Hack Club :hack-club: PR! :pr: The first one is to add Scrapbook to the GitHub :github: README and the second is my Workshop translation guide! :mexicoparrot: All of this are from ideas talked with @jessicard yesterday, thanks a lot for guiding me and reviewing my work! :yay: Lastly for today, I kept studying for my Biology Exam! 🦠 🔬
@j_cordz6Today I started to work on my Visual Studio Code setup! :vsc: I installed Atom's :atom: One Dark theme which is awesome, and Prettier code formatter :macbook-air-space-gray-screen: that was a recommendation from @caleb! I also studied for my exams 🦠 , and worked on a new PR :pr: for Hack Club! :hack-club: Also here's macOS penguin default wallpaper. 📸
@jessicard0today @belle and I got commodore 64 emulators running so we could write assembly programs in 6502!
we followed github.com/Esshahn/acme-assembly-vscode-template, but had to make a few tweaks to make it work.
first, their application path to VICE is different than ours was - ours was /Applications/vice-x86-64-gtk3-3.6.1/x64sc.app/Contents/MacOS/x64sc
second, when assembling the program, our vscode setup didn’t automatically open VICE for us. so we had to manually open the .prg in VICE after we created it
@malted0:sunglassesblob: I have finally found a theme & font combo I love. It might only be One Dark Pro Darker and JetBrains Mono but I still love it
@j_cordz6Here's an extra image from yesterday's Biology Lab Class! 🪴 🧪
(I forgot to mention yesterday that my next practice besides Connective tissue will include Epithelial tissue as well!)
Also today I'm setting up VScode again to add a better theme and maybe some cool extensions to get done things more easily and add new functions to the IDE! I'm learning too Firefox customization with CSS and how to make a theme for the browser and lastly learning about SSH Connections! 💻
@TechnoBladePlayz-U030JABEJ920Day 2 of VS Code
from utils import scaleimage, blitrotatecenter
GRASS = scaleimage(pygame.image.load("images/grass.jpg"), 2.5)
TRACK = scaleimage(pygame.image.load("images/track.png"), 0.9)
TRACKBORDER = scaleimage(pygame.image.load("images/track-border.png"), 0.9)
REDCAR = scaleimage(pygame.image.load("images/red-car.png"), 0.55)
GREENCAR = scaleimage(pygame.image.load("images/green-car.png"), 0.55)
WIDTH, HEIGHT = TRACK.getwidth(), TRACK.getheight()
WIN = pygame.display.setmode((WIDTH, HEIGHT))
pygame.display.setcaption("Racing Game For None!")
FPS = 60
def init(self, maxvel, rotationvel):
self.img = self.IMG
self.maxvel = maxvel
self.vel = 0
self.rotationvel = rotationvel
self.angle = 0
self.x, self.y = self.STARTPOS
self.acceleration = 0.1
def rotate(self, left=False, right=False):
self.angle += self.rotationvel
self.angle -= self.rotationvel
def draw(self, win):
blitrotatecenter(win, self.img, (self.x, self.y), self.angle)
self.vel = min(self.vel + self.acceleration, self.maxvel)
radians = math.radians(self.angle)
vertical = math.cos(radians) self.vel
horizontal = math.sin(radians) self.vel
self.y -= vertical
self.x -= horizontal
self.vel = max(self.vel - self.acceleration / 2, 0)
IMG = REDCAR
STARTPOS = (180, 200)
def draw(win, images, playercar):
for img, pos in images:
run = True
clock = pygame.time.Clock()
images = [(GRASS, (0, 0)), (TRACK, (0, 0))]
playercar = PlayerCar(4, 4)
draw(WIN, images, playercar)
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
keys = pygame.key.getpressed()
moved = False
moved = True
if not moved:
@JinmayJhaveri0Zeus update: Got a new UI with better perf and rewrote some hacky parts of codebase. The version is now testable github.com/Borrus-sudo/Zeus Currently is supports traversing the file directory and opening files in VSCode. Next I am gonna code opening the command line at the clicked folder to save us unnecessary cd, cd .. and stuff!
@Odyssey3460going to try vscode again
some bumps in the road aaaaaaaaaaaaaaa
A new blackbird release is out! v5.0.0 brings blackbird dusk, a slightly lighter version of blackbird with all the same juicy colors. There are also a few other changes such as custom diff colors and color unifications (such as deep blue being used for arithmetic operations as it is already used for numbers). On the left is blackbird midnight (classic blackbird) and on the right is blackbird dusk. Get it fresh off the press on the vscode store!
@matt0you can have source control be in the bottom panel!?!?
@aaryan0Self hosted vscode! I can host my projects really fast now :)
@christina6950used GitHub pages to open a repo and clone it into VSCode…usually I start in VSCode and then use the command line to push to GitHub. It was cool to just figure out a new way on my own that’s actually easier
@caleb0Wrote a React useState snippet for VS Code (and Vim too) :celebratoryrat:@aaryan0VS Code's SSH support is amazing, I'm obsessed! I was really missing this in my life, now I'm gonna ship cool stuff in seconds trust me
@matt0trying out vscode vim for like the billionth time. Hopefully I actually get used to it :bro:
@caleb0vs-slack is slowly coming to life :eyes_squint:
(you can try out the beta at clb.li/vs-slack if you like)
@Devnol0For all you Raspberry Pi Pico fellas with macs that use vscode (that narrowed it down a lot geez), I made a repo with all the hard work of getting the pico-sdk to work in your development environment already done! github.com/Devnol/pico-boilerplate All you have to do is follow the getting started guide on the Pico website!
@safin.singh0I've been struggling to put together large-ish completed projects lately so I decided to just go all out and see how much I can get done in a day-ish. I just finished up ankylos (github.com/safinsingh/ankylos) a modular bootstrapper thing for node projects. Here's what it does:
1. Grab a preset to clone from. This will be copied to whatever destination you specify via a tarball from NPM
2. run ankylos bootstrap to read from the ankylos.config.js in the preset. this tells ankylos what plugins to install and configure. for example, the next preset automatically installs and configures the 'editorconfig', 'eslint', 'github', 'husky', 'markdownlint', 'pnpm', 'prettier', 'renovate', and 'vscode' plugins. it'll also send instructions for build scripts to set, dependencies, etc. ankylos will take care of the explicit dependencies in the preset first. then, it'll install your plugins (ive made like 10 of them for convenience) and install your plugin's dependencies (these are stages 1 & 2 of the bootstrap phase)
3. ankylos prompt you for project metadata and will insert your custom build scripts along with this metadata into a fully-filled out and templated package.json file. finally, ankylos will walk through each of your plugins and apply/copy the files specifies in ankylos.config.js
4. from there, pnpm install will bump you in to your new, modular, automatically-bootstrapped, linted, formatted, <insert a bunch more buzzwords> project!
i only had enough time to create a next and node preset so be sure to check those out. anyway, i'm glad i was able to follow through with this and i hope y'all like it! p.s: you can check out all 16, yes, 16 projects from the ankylos monorepo on its dedicated npm org: www.npmjs.com/org/ankylos. anyway, i'll try my best to maintain this (it's in my best interest too so thats good) if anyone else decides to use it
@riley33chou0you know you’ve matured when you stopped keeping streaks on snapchat and started keeping a streak on scrapbook