@ajs2560So I have CircuitPython working on Sprig :circuitpython:
@karmanyaahm0my USB Rubber Ducky scripts can block mouse movement with a repeated mouse.move(x=-100,y=-100)
@karmanyaahm0Migrated k.malhotra.cc, my URL shortener and Golang vanity URL thing, from a dedicated CGI python service to a Jekyll collection and some IPFS redirects under my main website, one less thing to build and deploy.
@christina6950Coding our robot with Python for upcoming FLL championships. We finished the hack club workshop: Draw Shapes with Turtle
@BibhavPaudel-U04ANSA6FGT0Working on a WhatsApp automated bot using Selenium in Python. COded a small part today!! #10-days-in-public
@ShawnMalluwa-U04BBP8H9FA0started on getting NP++ working with python. my goal is to be able to convert images into strings which my sprig rendering engine could then interpret.
@adelly130quickly wrote some code for a pictionary game for the python class that iโm teaching!
@aaryan0Day 8/10 of #10-days-in-public! Completed day 6 of AoC, it was much easier than I thought it'd be. Did a lot of work on my "copyright infringement detector" project, sketched a data model for storing perceptual hashes of our videos, hosted a redis instance on digital ocean and pushed all our data on it. Wrote a lot of python, and ffmpeg scripts for the project, kinda getting the hang of python now.
@zrl0Day 1/10: Made it through chapter 1, and starting on chapter 2 of the Deep Learning with Python book. My goal is to understand some of the fundamental concepts of neural networks in the next 10 days.
I wrote and trained my first neural network! (but I donโt understand the code at all). See hackclub.slack.com/archives/C01D7AHKMPF/p1669597204292789 if you want to join the learning group Iโm putting together!@Arpan0Creating a Python course for beginners on Schoolhouse.
@zrl0Working on a Python notebook to make transcribing audio files really easy. Iโm adapting a notebook made by someone else to be easier to use, to export Markdown, and to run faster with cached models / pip packages. I previously made github.com/zachlatta/openai-whisper-speaker-identification and this is an attempt to improve the quality of the output (it would previously sometimes mix speakers up).@zrl0I modified a Python notebook that transcribes audio files using OpenAIโs Whisper model and breaks the text out by speaker to have clean Markdown output. Itโs pretty cool! Give it a try: github.com/zachlatta/openai-whisper-speaker-identification
Once you click โOpen in Colabโ go to Runtime > Run all and then upload an audio file. It will then transcribe the file and download a Markdown file with the transcript, with speakers broken out!
@adelly130created some intro to pygame slides and a piece of basic snake game code to teach an intro to python class!
@jc0Wrote a little Python script to change the background on my computer every so often. Probably could have found something, but this is more fun :)@aaryan0Making a full stack application and trying out FastApi :python: . It's a leads management system (CRM). Frontend in react and bulma, and backend in fastapi โจ
@swarnya2460day 4 of #10-days-in-public
learning more about pygame, i decided im going to make a simple Pong game
@swarnya2460day 3 of #10-days-in-public
wasnt able to figure out the next cyberstart challenge today, but i started learning pygame! i plan on building a project with it very soon
@tejasbhartiya0Day one of #10-days-in-public ! I got started on my first hacktoverfest PR! I spent too long fixing my different python installs since it seems like they all pull from different versions and make a mess! After that I worked on a PR for Pandas which Iโm nearly done with; just a few bugs to fix!
@maggie0yesterday on :meta: meta hacker cupโฆ i failed to mod correctly to prevent overflow so i switched to python (and the code was shorter :peefest:)
@cernockyd0inspired by geohot, I launched offline version of wikipedia as a deamon on my machine. Powered by python zimply.
@avi0haven't touched my polymer simulation in a while :pensivecowboy:
but now i'm back to work on python & google colab! here's a wack ass looking graph that i made :D
@ara0Today, I continued learning functions in python, with more pizazz. I learned a basic idea of a basic algorithm: bubble sort and how to implement a simple version of it in python , and some other things related to python functions.
Here's a picture of a tree
@ara0I went to a beach today, and got a day to rest. Tommrow, I plan on counting learning python
@linus0Last night I hacked this together at @pranavโs hackwa hackathon in about 40 minutes: CharlieQuotes! It features python and rate limiting of the slack api and quotes and html in long python strings! (Shoutout to pranav for making such a fun event!). Source code is attached :charliepog:@ara0Today was a good day! Well, it was alright to be frank.
I got lots to share, so let's begin!
I had some school stuff, which went decent. 1 test that I think I did good on, and somethign I don't think i ddi that well on. I got good progress on an assignment for another class to, so that's :yay:
I took a new book out from the libary: Children of Blood and Bones. Couple pages in, my thoughts? ๐ It is a beatifually written book, and I cannot wait to read it more. Reviews are also good!
I did some programming today ๐งโ๐ป after a while (kind-of)
I found this tutorital on for loops and data for :python: Python. I did most of it, and it's actually really intresting. I lik what you can do with for loops, I plan on finiishing this later this week. I'll ship it here, with my own data and ideas ( i got a few after I look another article on what I can do with this)
You can check it out here; www.dataquest.io/blog/python-for-loop-tutorial
@blakedfreeman0273 Projects! So many creative mini projects. Most just out of the console in Python, but the real struggle was being unique and interesting enough. Very proud to see my Memphis Hackclubers representing! Programing Pinapple, The Epics, Lone Shroom, and Flower trio where all making headway on pyrahacks.com/#/leaderboard. Flower trio was made up of entirely middle schoolers with limited programming knowledge so it was really fun to see them learn and grow during this event
@Aileen0Howdy! :hyper-dino-wave: This is my first Scrapbook post! :scrappy: Today I started reading a book about Python AI and Machine learning :python: and also designed a summer themed Hack Club sticker! I used Figma and Krita for designing and painting the background. Yesterday, I went to my figure skating class and also did 3 half rotation (Waltz) jumps in the ice rink! โธ๏ธ
@benjjjmin0Teaching some python to my sis :)) , I forked this from the replit community as an example
@avi0ooh this has been my first scrapbook in a while
I've been coding a polymer simulation in Python based on what i'm learning about how polymers form :)
It's pretty cool!!
@ArcadeWise0Today I have a stupid ship. Voilรก FizzBuzz, my favorite problem, in gForth! Forth is one of my favorite languages, as itโs stack based and I love stacks. I also am shipping a terrible python implementation of Forth! It doesnt support much, but if you make something cool message me!
FizzBuzz: replit.com/@arbee/fizzbuzz
My Forth: replit.com/@arbee/Forth
@ced0ST7735 LCDs come with little colorful tabs on the sides of them.
there are several different colors: red, green, blue, etc.
the versions we got to use with the gamelab beaker are green.
the javascript driver for this code only has the initialization sequence for the red version.
the code split on the left is the source code for it. on the right, I have the source code for the python initialization code for the green version.
right now, my colors are inexplicably scrambled, and the best guess I have is that I used the wrong initialization sequence.
@rithul0Today, I made a microservice starter, but in python. This is made for my school project and I have set it to be public, find it here
@ced0imagine if you tried to run a gamelab game on a 2 core CPU -- a Raspberry Pi Pico -- using a software rasterizer written entirely in Python.
the fps might be 5.
yeah, the fps is 5.
join #nemea to help us as we scramble to speed this up and get it in the hands of hack clubbers everywhere ๐@ZoeDroulias0I turned my writing prompt from yesterday into a GUI using Tkinter in python. The generated names/objects/villains overlap, and Iโm thinking of moving into Flask/web dev to make sure that the generated parts are just replaced.
@ZoeDroulias0Started coding a writing prompt generator in python today. You just enter a number of prompts you want and it will return some (very generic and simple) writing prompts for you to write about.
@HenryBass-U02KEJ8T6D80Here's what I have so far. I've made a pretty shitty transcript of the text, and have done some analysis on it. For people in the 1800's they sure did fucking make this hard for me. There's no obvious spaces, or consistent symbols. I tried using python to map symbols to letters according to frequency, but that didn't work. if anyone has a good algorithm for this, please tell me lol
Images are:
English letter frequency
Symbol frequency including equals sign, and not including equals sign
Original post: (More info in thread, along with images)
hackclub.slack.com/archives/C01504DCLVD/p1646529906363009
@OmarMobayed0woooh i first successful python program in years! the nostalgia
@Skye0Aaaaa forgot all about this! Just trying to set up my discord server and coding a bot :)
Im using autocode for the server hosting and JavaScript btwโฆ think I may switch to Python.
@ZoeDroulias0Iโve been a little MIA recently, but Iโve just finished this 5 question personality quiz with python and flask! You can give it a go here!
@ced0as I port a game I wrote a while ago in Rust to C to try and see how much smaller I can get the WASM bundle size, I've found that what has the biggest impact is the "culture" of the languages.
for example, the maps in the game I made are laid out in blender, and then exported to JSON with a custom python script I wrote using blender's API.
it's easy to add a Rust dependency to parse the JSON for you, but that bites you in the ass later; serde can inflate your compile times AND your WASM bundle size.
in C, however, package management looks different; there are single header libraries that are pretty easy to include, but using libraries isn't very C-like, and unlike Rust, C has a stable ABI.
that means that if I change my python script to dump a bunch of floats into the file as binary, I can fread those directly into a bunch of C structs. (I do have to handle endianness for integers, though)
in Rust, even if I used #[repr(C)] to force a stable ABI for those structs, I'd still have to jump through a bunch more hoops (unsafe) or pull in a dependency like bincode (which would in turn pull in serde ...).
anyway, so I quickly wrote a python metaprogram to generate a C header that can fread (or just memcpy) in all of the binary data into the fields in the game map object that the first python script pulls out of blender
@audreyolafz0I've worked on creating a Discord bot yesterday and today, tinkering with both Python and JavaScript.
@HenryBass-U02KEJ8T6D80Daily Log day 3:
Messed around with some ML from the hotdog images, and i'm gonna do more machine learning stuff in the future.
Also, for a quick break from that, tried Pyxel I wanted to do somthing with Pico 8, but wasn't really up for the price. Love the minimalism of the code though, so I found a python library that does basically the same thing. 128x128 max res, and color palate of only 16. Coding with limitations is kinda fun. Obviously not a game dev, but in a hour I got somthing bullet-hell-ish working with collisions.
Next, i'll find somthing fun to do with tensorflow. Past experiences with it weren't bad
@HenryBass-U02KEJ8T6D80Daily Log day 2:
I spent all afternoon making a python script to download images of hotdogs under creative commons, with 224x224 aspect ratio.
Send help.
github.com/HenryBass/Hotdogs
Oh and here's what happens when a hotdog download gets glitched:
@taylorleehackclub0Recreated Code Ninjas in Minecraft using Python and the given inventory. Fun fact: Before this, I never knew how to play Minecraft, but now, I can confidently say I know more about it. The coders really loved it :~p Check out the process on Notion
@hugo.y.hu9350Haiiiiiiiiii! Big ship(for me, but not really big lmao)
I shipped a prototype MailCorgi a while back, as a python based application that could purchase the cheapest labels for you. Now, I'm reshipping mailcorgi, but as a slackbot. If you're in my channel or talk to me about mail, you've probably seen me rant about @maildog and how the labels are:
1. more expensive(shipstation does not utilize USPS commercial price base)
2. slow(uses airtable + zapier)
3. breaks sometimes(ughhhhh)
4. is very not flexible(why do i have to buy a 10 dollar label, refund it, just to ship a sticker envelope to another country????)
With these points in mind, I built MailCorgi, with the help of @deven and @tejasag!
MailCorgi is a python based Slack app(using slackbolt) that can store addresses, orders, leader info, nodemasters(using supabase :supabase:). MailCorgi can buy shipping labels(if you give it a shippo API key. It will by default purchase the cheapest shipping option), and can also not buy a label and just generate a 4x6 thermal label with address information. This gives you the ability to just stick a thermal label on an envelope(#6.75) with address info(goodbye ballpoint pens!), or buy your own shipping labels(so that I can get ComPriceBas on my USPS labels and discounts on UPS too)
Oh, did I mention? Mailcorgi is significantly faster. I actually timed it:
Making a mail mission: mailcorgi: <1second, maildog: 30 seconds on a good day, NaN sometimes
Creating a label(no shipping label, just address): 45 seconds + for maildog, <5seconds for mailcorgi
As you can see, these are not just incremental upgrades in speed(sorry max, but you're not in this channel so i think i can roast maildog)
anyway, i think that's mostly it but i have a screen recording of a mailcorgi demo :D@hsbhatia7650Setting headers and HTTP status works now, yet to go through the HTTP spec tho. Boycott Python, Go back to BASIC
@Kxffie-U02D18SMWQP0Been a while since i was last here. Lots of things have happened that i want to scrapbook.
I actually got a girlfriend, it has been amazing.
I've learned a lot more and got back into coding after focusing on school for a bit
Learned better React, and I want to start getting into custom CSS rather than frameworks like Materialize. (I want to learn TailwindCSS)
I might want to move on and learn NextJS and some other things
I am in a competition with my school. I might be the only web developer that is competing. everyone else might be doing Java or C++ or Python
I think that is it