rustlang emoji

Posts tagged with :rustlang:

m04
@m040
Since I have this week off (fall break) I'm finally learning rust, after >4 years of wanting to do so
https://cloud-dxd6nymvm-hack-club-bot.vercel.app/0image.png
Andrew
@Andrew0
i made a script called janitor that updates a bunch of stuff on my mac machine like: • brew packages • rust • pip • and so on i made an alias so I can just type janitor in my terminal and it runs the script, it feels like a real cli to me even though its like 20 lines of bash code 😂
https://cloud-e2pdmtl63-hack-club-bot.vercel.app/0screen_shot_2022-10-17_at_5.46.54_pm.png
rustlang emoji
goose-honk-technologist emoji
HenryBass-U02KEJ8T6D8
@HenryBass-U02KEJ8T6D80
*What's Henry™ Been Up to After Assemble?*™ --------------------------------------------------- The question on all of your minds: What's Henry™ Doing With His Time After Assemble™? Ever since the groundbreaking release of his team's Assemble™ project, the world has awaited his next ship™. When asked about this, he will say: "_I'm working on a few different projects_" What he means to say is that he currently has 12 windows open, 5 of them Firefox™ instances, each with more tabs then can fit on the navigation bar. One of those browser windows is entirely devoted to Wikipedia™ pages that he opens, and then refuses to close until he fully reads, despite the fact that he has no interest in doing so. In another window, he has everything from Ben Eater 8-bit breadboard CPU schematics, to Rust™ documentation, to TensorFlow™ docs and a partially written auto-encoder. He also has 3 Sprig ™windows, and article on how BitTorrent™ works, and a random CVE™. There is also an article on TradeMark™ Law, that he has clearly not read. There is even the skeleton of a 6502™ Emulator™ that he may or may not finish. There's a few 3Blue™1Brown™ videos that he's stuck trying to follow. There is an article on how memory works that he does not remember if he has read. In another window, we have 1 Gig of raw Wikipedia™ data, and a Visual™ Studio™ Code™ window with code for an GO™ algorithm he is trying to use to compress said 1 Gig of Wikipedia™ data. Beyond that he has a Logisim™ window, with a partially designed ALU™ that he is trying to work on. Each time he makes progress on one project, he gets interested in something else and opens 100 tabs for that. He is secretly hoping for his computer to crash and wipe his computer he can reorganize. He is spending large amounts of time studying useless aspects of computer science™, and math™. It has been like this since Assemble™ ended, and will continue indefinitely. This has been What's Henry™ Been Up to After Assemble?™. --------------------------------------------------------------------------------------- Thank you for skimming over: _What's Henry™ Been Up to After Assemble?_™
https://cloud-8deag5n5g-hack-club-bot.vercel.app/0what_s.png
warren
@warren0
decided to work on a cool new project using two of the most based languages: go and rust (i have never coded in rust before so i am quite happy at how well this is going)
https://cloud-nm2i19q84-hack-club-bot.vercel.app/0image.png
rustlang emoji
cooll-dino emoji
bongo emoji
summer-of-making emoji
zrl
@zrl0
spent some of the weekend learning rust!
https://cloud-9re8d699r-hack-club-bot.vercel.app/0screen_shot_2022-08-01_at_1.23.43_pm.png
summer-of-making emoji
rustlang emoji
ferrisbongo emoji
khalby786
@khalby7860
Trying out Rust for the first time! After a few days of struggling with move-before-use situations and just Rust in general, I managed to have a triangle move around my screen when arrow keys are pressed. I have possibly written really bad code, but I'm just happy I managed to give a triangle wings. Would love it if y'all could give me feedback on my messy code: gist.github.com/khalby786/c4211667fd399a96ba39c0d3a1eb377b.
https://cloud-ff1oe62sn-hack-club-bot.vercel.app/0ttlsgx1854.gif
goose-honk-technologist emoji
github emoji
spring-of-making emoji
rustlang emoji
rithul
@rithul0
Reading the rust lang book
https://cloud-nl2jsbr1c-hack-club-bot.vercel.app/0img_20220505_150155.jpg
spring-of-making emoji
rustlang emoji
Andrew
@Andrew0
I followed a tutorial on how to create CLI’s in rust, and I created cat-say 🐱
https://cloud-8vsov0qf1-hack-club-bot.vercel.app/0screen_shot_2022-04-16_at_10.18.54_am.png
matt
@matt0
matt
@matt0
porting a driver written in python to rust!
https://cloud-81pmskvwd-hack-club-bot.vercel.app/0screen_shot_2022-03-13_at_6.45.46_pm.png
python emoji
wom emoji
rustlang emoji
ced
@ced0
I think the last time I posted here neither the physics nor the sword were a thing. well. they are now! I also wrote like a six paragraph summary in DMs with someone somewhere about what I'm doing differently this time 'round other than simply writing it in C. it's a neat overview of some of the things I've learned about making games in the past year+ since the Rust version. could probably turn that into a neat blog post at some point. I also got the game working on mac. still looking for someone to try it on Windows to see if DirectX has the rendering bug I think it might have. now all that's left to do for feature parity with the original version is um, I guess, physics for the sword, enemy AI, combat, then the bow and arrow, inventory ui, then quests. I want to add cool things you can interact with in the forest like pots you can break, grass you can cut, other assorted RPG tropes.
ced
@ced0
the C port is coming along nicely :) :c: 🌳 🌳 🌳 it can render the same forest, but with much better fps than the Rust version because of a handful of graphics programming tricks I've picked up since then. similarly to @AakankshaRangdal-U02F16CHZA4's post, also made mostly with circles! (okay, nonagons, but still hehe) actually, on that note, I've attached a picture of the original version I made in Rust: do you prefer its circles to the nonagons? let me know by reacting with 🟢 or :stop-green: (technically an octogon, but close enough) repo here: :githubparrot: github.com/cedric-h/rpgc if anyone has a second and would like to try to build and test the native executable on windows, shoot me a DM. I suspect I might have some depth sorting issues on DirectX but want to make sure. 🚧 :blender: I've also attached a picture of what the map looks like in Blender, as well as a tiny glimpse of the script I wrote to export it. if you've played the Rust version then maybe you can guess what each line, diamond, square and circle means 😁
https://cloud-k8bkszz7v-hack-club-bot.vercel.app/0image.pnghttps://cloud-fsqfnzqml-hack-club-bot.vercel.app/0image.pnghttps://cloud-onn7kpj09-hack-club-bot.vercel.app/0image.png
matt
@matt0
goose-honk-technologist emoji
hardware emoji
github emoji
rustlang emoji
ferrisbongo emoji
wom emoji
ced
@ced0
as 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
https://cloud-265bwmhxm-hack-club-bot.vercel.app/0image.png
ian
@ian7
Finally learning rust! Just wrote a hello world
https://cloud-5upsj7wut-hack-club-bot.vercel.app/0image.pnghttps://cloud-h60lm9l17-hack-club-bot.vercel.app/0image.png
caleb
@caleb0
#adventofcode day 2 :wahoo-fish:
https://cloud-5880o9jxl-hack-club-bot.vercel.app/0screen_shot_2021-12-02_at_10.54.48_am.png
aom-21 emoji
wahoo-fish emoji
rustlang emoji
aoc emoji
Andrew
@Andrew0
https://cloud-nsu0zwhye-hack-club-bot.vercel.app/0screen_shot_2021-11-27_at_2.42.30_pm.png
github emoji
rustlang emoji
aom-21 emoji
JinmayJhaveri
@JinmayJhaveri0
After some hardwork got folder based project query to work for github.com/Borrus-sudo/Zeus It now can filter out stuff based on whether a folder is a git,node,rust (and many more!)project. Now adding support for time based filter for it! . Edit: So if you wanna see all your node projects which have git intialized in your sea of files, the filter can help it for you. It uses a technique to find if the folder is that project or any of its direct children is one or any of its depth is one. In this way it decides whether to show or remove that directory.
https://cloud-qs2kjadlq-hack-club-bot.vercel.app/0image.png
aom-21 emoji
github emoji
yay emoji
rustlang emoji
caleb
@caleb0
doin' what i do best (code, that is)
https://cloud-ofdd4a4n7-hack-club-bot.vercel.app/0screen_shot_2021-09-23_at_9.19.24_pm.png
goose-honk-technologist emoji
aom-21 emoji
rustlang emoji
Andrew
@Andrew0
i did some stuff on github.com/gem-app, getting closer to finishing the waitlist page for it I also read up on rust docs since Im still learning that :cooll-thumbs:
https://cloud-751k40zch-hack-club-bot.vercel.app/0img.png
beachball emoji
aom-21 emoji
github emoji
rustlang emoji
Andrew
@Andrew0
Not that much coding today other then my current rust project but I made a pan cookie :kekw:
https://cloud-cwpa95nd6-hack-club-bot.vercel.app/0image_from_ios.jpg
aom-21 emoji
rustlang emoji
syn
@syn0
It's not much, but it's honest work.
https://cloud-d54bb9ogn-hack-club-bot.vercel.app/0image.png
matt
@matt0
rust analyzer is drunk
https://cloud-96d3d4bra-hack-club-bot.vercel.app/0screen_shot_2021-08-25_at_11.33.17_pm.png
rustlang emoji
summer21 emoji
eggsdee emoji
caleb
@caleb0
https://cloud-llzwysnlk-hack-club-bot.vercel.app/0screen_shot_2021-08-19_at_9.32.18_pm.png
spring-of-making emoji
rustlang emoji
amy7296
@amy72960
Trying to learn rust the same way i learnt c++: by osdev
https://cloud-kv8cbjpw1-hack-club-bot.vercel.app/0image.png
summer21 emoji
rustlang emoji
warren
@warren0
time to learn rust because yes
https://cloud-999awe4js-hack-club-bot.vercel.app/0image.png
summer21 emoji
ferrisbongo emoji
rustlang emoji
caleb
@caleb0
https://cloud-dt63holy8-hack-club-bot.vercel.app/0image.png
github emoji
summer21 emoji
graphql emoji
rustlang emoji
Skye
@Skye0
Just started learning Rust. I kinda like it!
https://cloud-3u8guzuns-hack-club-bot.vercel.app/0image.png
rustlang emoji
yay emoji
summer21 emoji
JonathanTao
@JonathanTao0
trying out rust for the first time, seems interesting
https://cloud-adzos7tf8-hack-club-bot.vercel.app/0image.png
rustlang emoji
ferrisbongo emoji
spring-of-making emoji
kognise
@kognise0
Made a super simple tool to automate fixing up this documentation I have to take from a shittily formatted PDF and put in my Rust code, since I realized that was taking a lot of time.
https://cloud-nxmbifjz7-hack-club-bot.vercel.app/0image.png
rustlang emoji
spring-of-making emoji
goose-honk-technologist emoji
kognise
@kognise0
First scrapbook entry, somehow! Also, woooo cursed Rust macros go brrr
https://cloud-drhcwgcwp-hack-club-bot.vercel.app/0image.png
rustlang emoji
spring-of-making emoji
parrot_upvote emoji
Odyssey346
@Odyssey3460
Gonna try learning Rust by making a Discord bot with it.. Clearly going well
https://cloud-fabgzp0m8-hack-club-bot.vercel.app/0image.png
matt
@matt0
https://cloud-o0hup49jb-hack-club-bot.vercel.app/0img_0060.jpg
spring-of-making emoji
ferrisbongo emoji
rustlang emoji
github emoji
upvote emoji
caleb
@caleb0
woooooooooooo i got a svelte app embedded in a Rust binary 🎉 :ferrisbongo: 🎉 (for clb.li/shorty of course)
https://cloud-r1m9x6l9w-hack-club-bot.vercel.app/0screen_shot_2021-04-12_at_12.30.13_am.png
spring-of-making emoji
svelte emoji
rustlang emoji
matt
@matt0
Over the past few days I have been rewriting my first GitHub action, profile_stack , in rust from python! The action now runs 4 times faster, has some rock solid unit tests, improved documentation, a super clean codebase, and an army of crabs :ferrisbongo:! Super glad that I am finally getting comfortable with rust :) ~I am starting to see why there is a rust cult~ github.com/Matt-Gleich/profile_stack
https://cloud-qr1a883oc-hack-club-bot.vercel.app/0screen_shot_2021-04-08_at_11.00.37_pm.jpg
python emoji
ferrisbongo emoji
github emoji
spring-of-making emoji
rustlang emoji
matt
@matt0
got my docker install of cargo-make to install the existing binary so my images don’t take 8 minutes to build!
https://cloud-gic8xnkzq-hack-club-bot.vercel.app/0screen_shot_2021-04-04_at_11.18.00_pm.jpg
eggsdee emoji
yay emoji
spring-of-making emoji
rustlang emoji
docker emoji
matt
@matt0
~I write the best unit tests~
https://cloud-5p6r4amr7-hack-club-bot.vercel.app/0screen_shot_2021-04-04_at_5.40.14_pm.jpg
upvote emoji
rustlang emoji
spring-of-making emoji
Khushraj
@Khushraj0
lets go, I'm rewriting repl.deploy in rust and I HAVE TESTS! A 100 LINES OF TEST CODE FOR 96 LINES OF CODE
https://cloud-aglnn4kdq-hack-club-bot.vercel.app/0screenshot_2021-04-03_at_10.36.11_pm.png
rustlang emoji
goose-honk-technologist emoji
spring-of-making emoji
replit emoji
matt
@matt0
https://cloud-ffwi0neza-hack-club-bot.vercel.app/0screen_shot_2021-04-01_at_8.56.41_pm.jpg
rustlang emoji
spring-of-making emoji
upvote emoji
ferrisbongo emoji
matt
@matt0
compiling a rust binary :sad-rat:
https://cloud-njrof835x-hack-club-bot.vercel.app/0screen_shot_2021-03-29_at_8.57.30_pm.jpg
rustlang emoji
spring-of-making emoji
aaryan
@aaryan5
Continuing my rust journey :luggage:
https://cloud-hzpdiicqv-hack-club-bot.vercel.app/0image.png
ferrisbongo emoji
spring-of-making emoji
rustlang emoji
upvote emoji
aaryan
@aaryan5
Reading "Ray Tracing in C++ in One Weekend" this weekend. 10/10 worth a read. I'll try to re-implement this book in rust after I'm done with this!
https://cloud-tjgc16pep-hack-club-bot.vercel.app/0image.png
c++ emoji
spring-of-making emoji
rustlang emoji
matt
@matt0
The PRs I made to the cargo book and crates.io website got merged today!
https://cloud-rh8mv7jjd-hack-club-bot.vercel.app/0screen_shot_2021-03-14_at_7.54.58_pm.jpg
pullrequest emoji
spring-of-making emoji
ferrisbongo emoji
rustlang emoji
github emoji
caleb
@caleb0
i made that previous snippet ⬆️ look nicer
https://cloud-1uckvg9we-hack-club-bot.vercel.app/0uploaded_using_raythis_extension_4_.png
spring-of-making emoji
rustlang emoji
caleb
@caleb0
rewriting my link shortener in rusty rust
https://cloud-b4519tz1c-hack-club-bot.vercel.app/0ferris_bongo.png
spring-of-making emoji
rustlang emoji
caleb
@caleb0
Slack request verification in Rust (please ignore the horrendous error handling lol)
https://cloud-5mdgwphno-hack-club-bot.vercel.app/0uploaded_using_raythis_extension_3_.png
rustlang emoji
spring-of-making emoji
slack emoji
matt
@matt0
ok just started reading the rust book and damn cargo is sooooo much better than go modules. Excited to learn more about rust!
https://cloud-hzca5f70h-hack-club-bot.vercel.app/0screen_shot_2021-03-07_at_9.26.36_pm.jpg
rustlang emoji
upvote emoji
wom emoji
caleb
@caleb0
I’m doing some macro-backed GraphQL queries in Rust :ferrisbongo:
https://cloud-qbp263i31-hack-club-bot.vercel.app/0uploaded_using_raythis_extension.png
rustlang emoji
wom emoji