Tumgik
#i accidentally messed up the filter on the last one so i had to redo it lol
simlicious · 2 months
Text
Am I a programmer?
I've spent the last weeks developing an actual little app using Python...
It all started with a Let's Play of Subnautica I saw on YouTube. Since Subnautica is one of my all-time favorite games, I got the itch to dive back in (pun intended). I play with tons of mods, so I had to check for a lot of updates and also juggle different versions since the last Subnautica update broke a lot of the older mods. So after some back and forth, I decided to remain on the older version for now. Great! But then I noticed that because of that back and forth and uninstalling mods, all my mods were reinitialized, and that meant trouble for one of my favorite mods, Autosort Lockers. The mod adds automatic resource sorting inside the game, which is super handy. But it was built to only work with the game's resources, not modded items. It does offer config files though. So when I last used the mod, I painstakingly edited the configs and added all modded items, which took hours. And now, I accidentally messed them up and was supposed to redo all of that. The thought filled me with dread. So I asked ChatGPT, which I have grown quite fond of recently, to help me. Why did I ask ChatGPT? Well, I need to go a bit further back in time to explain that.
One day, not too long ago, I asked ChatGPT to reformat a long list. ChatGPT said, "Apologies, I cannot process such a long list. Here's a Python script, here's how to install Python, copy the script, run it and it will do what you want." I thought ChatGPT was crazy, surely that would never work!? Nut I was curious and also a little desperate so I did install Python and ran the script and ... it did what I wanted. I was stunned. Could I use ChatGPT to write code for me? Apparently, the answer was yes. So I spent a lot of time directing it, add this, add that, and I noticed that it was not at all as easy as I thought. ChatGPT removed code when it felt like it, and the longer it got the more it messed up. But also the more time I spent copying/pasting Python code, the more I understood. Sometimes, I would just ask "What exactly does this bit do?", and ChatGPT patiently gave me answers. Running the Python code from the command prompt got tedious very quickly though. I asked: "Can't you make a button for me that I can click??" To my surprise, ChatGPT said: "Sure, let's make a gui." And that was it, the moment I fell in love with Python. So I made a few attempts at this and that, most only half-finished because the project got too ambitious for the little knowledge I had.
I heard about an AI especially made for writing code: Github's Copilot. I decided I had to try that. Since it only worked in real programmer's tools, I installed Visual Studio Code. Now I really felt like a programmer, using fancy tools! And Copilot made things easier, much easier. It did not delete all kinds of code like regular ChatGPT. It was even more helpful. I was super motivated and got to work on my "Autosort Lockers Filter Update Helper" since Python is very well suited for automating stuff. Because several config files were involved, and several values needed to be loaded, converted, compared, merged, loooked up, reformatted, and saved into multiple files, it was quite the undertaking, but I am at a point where most of the logic actually works and I have a real program with real buttons that I can click on. I made a program that actually works with my very limited coding knowledge! It would not have been possible without the help of AI. My patience and long hours paid off. Can I call myself a programmer yet? I'm not sure, since the code was written mostly by AI, not me personally. But I can confidently call myself the director and mastermind behind it 😎 and I actually want to learn more about Python so I can one-day code stuff myself without needing AI to do it for me. Here is a picture of it (I am proud of those blue buttons 😊): I've spent the last weeks developing an actual little app using Python. It all started with a Let's Play of Subnautica I saw on YouTube. Since Subnautica is one of my all-time favorite games, I got the itch to dive back in (pun intended). I play with tons of mods, so I had to check for a lot of updates and also juggle different versions since the last Subnautica update broke a lot of the older mods. So after some back and forth, I decided to remain on the older version for now. But then I noticed that because of that back and forth and uninstalling mods, all my mods were reinitialized, and that meant trouble for one of my favorite mods, Autosort Lockers. The mod adds automatic resource sorting inside the game, which is super handy. But it was built to only work with the game's resources, not modded items. It does offer config files though. So when I last used the mod, I painstakingly edited the configs and added all modded items, which took hours. And now, I accidentally messed them up and was supposed to redo all of that. The thought filled me with dread. So I asked ChatGPT, which I have grown quite fond of recently, to help me. Why did I ask ChatGPT? Well, I need to go a bit further back in time to explain that.
One day, not too long ago, I asked ChatGPT to reformat a long list. ChatGPT said, "Apologies, I cannot process such a long list. Here's a Python script, here's how to install Python, copy the script, run it and it will do what you want." I thought ChatGPT was crazy, surely that would never work!? Nut I was curious and also a little desperate so I did install Python and ran the script and ... it did what I wanted. I was stunned. Could I use ChatGPT to write code for me? Apparently, the answer was yes. So I spent a lot of time directing it, add this, add that, and I noticed that it was not at all as easy as I thought. ChatGPT removed code when it felt like it, and the longer it got the more it messed up. But also the more time I spent copying/pasting Python code, the more I understood. Sometimes, I would just ask "What exactly does this bit do?", and ChatGPT patiently gave me answers. Running the Python code from the command prompt got tedious very quickly though. I asked: "Can't you make a button for me that I can click??" To my surprise, ChatGPT said: "Sure, let's make a gui." And that was it, the moment I fell in love with Python. So I made a few attempts at this and that, most only half-finished because the project got too ambitious for the little knowledge I had. I heard about an AI especially made for writing code: Github's Copilot. I decided I had to try that. Since it only worked in real programmer's tools, I installed Visual Studio Code. Now I really felt like a programmer, using fancy tools! And Copilot made things easier, much easier. It did not delete all kinds of code like regular ChatGPT. It was even more helpful. I was super motivated and got to work on my "Autosort Lockers Filter Update Helper" since Python is very well suited for automating stuff. Because several config files were involved, and several values needed to be loaded, converted, compared, merged, loooked up, reformatted, and saved into multiple files, it was quite the undertaking, but I am at a point where most of the logic actually works and I have a real program with real buttons that I can click on. I made a program that actually works with my very limited coding knowledge! It would not have been possible without the help of AI. My patience and long hours paid off. Can I call myself a programmer yet? I'm not sure, since the code was written mostly by AI, not me personally. But I can confidently call myself the director and mastermind behind it 😎 and I actually want to learn more about Python so I can one-day code stuff myself without needing AI to do it for me. Here is a picture of it (I am proud of those blue buttons 😊):
Tumblr media
...and the configs the app updated:
Tumblr media Tumblr media
The app is not in a publishable state and I guess I would need to do far more tests and let someone who can actually code Python look it over before I would feel comfortable sharing it with anyone else, but it feels incredible to have pulled off something like this. I just wanted to share this accomplishment with someone!
12 notes · View notes
reiquems · 4 years
Photo
Tumblr media Tumblr media Tumblr media
THE WIND RISES | 風立ちぬ (2013) dir. Hayao Miyazaki
291 notes · View notes
princess-rosie · 4 years
Text
Underneath The Spotlight- A Sanders Sides Fic
Chapter 7- All It Took was One Waltz
(Read chapter 1 here!)
Read here on ao3!!
Warnings for this chapter: kissing, brief mentions of anxiety, nothing else tbh this one’s just a whole bunch of fluff
A/N: .... I don’t know if anyone saw but a while ago I reblogged a post about that “one scene” in every Fic that you’re super excited to write, and you almost base the whole story around that scene? Anyways, I said I wasn’t able to share it for my fic because it hadn’t been posted yet... now this chapter might, just might, contain that scene. Happy reading ;)
Another dance that took place relatively early on in the show was the ballroom number. This time, it was an elegant, some might even say romantic waltz. The usual pairings for partnered dances were Logan and Roman, Patton and Janus, Virgil and Remus. The teachers all agreed that those were the couples that worked best, and the boys... didn’t mind dancing together in those pairings either. They were all wearing fancy suits with bowties in their respective ‘signature colours’, as the teachers liked to say. They had been assigned them a few years ago and everyone agreed that they matched their ‘energies.’ Roman’s was red, Janus’ was yellow, Remus’ was green, Patton’s light blue, Logan’s dark blue and Virgil’s was purple. For this particular dance, they all entered from different wings and each of the couples had around a minute alone together before they had to go onstage. And it wasn’t awkward at all, especially considering how hopelessly gay all six of them were.
Remus was chuckling silently to himself. Virgil looked up at him.
“What?”
“Still can’t believe you wore that bunny onesie.”
“Would you quit making fun of me?”
“I’m not!”
“Remus, please-“
“Virgil, I’m genuinely not! I’m saying I admire you for what you did! You obviously didn’t want to, but Patton needed you, so you did it anyway. I honestly... I’ve never seen you in this way before.”
What? What the hell was Remus saying? He was notoriously known for his complete lack of filter, but Virgil had always been grateful for the fact that he could take everything Remus said at complete face value- no subtext, no hidden meanings. It eased his social anxieties a bit. But what Remus had just said then seemed... different, somehow. There was nothing to read in to here, right? Right?.....
Roman rushed into the wing after just having had a quick costume change, and Logan breathed a visible sigh of relief.
“You’re here.”
“Indeed I am.” Roman immediately went up to Logan and took his arm. Logan looked up at him, half-embarrassed, half-skeptical.
“We still have around thirty seconds, you know. We don’t need to be ready just yet.”
Roman let go, looking away to hide his blush. Logan tried to change the subject in order to divert from the undeniable awkwardness between them.
“You know, since we were allocated as dance partners I haven’t had the opportunity to lead due to the traditional rule that it must be the tallest dancer. Perhaps, one time, we could practise with me leading?”
Roman fought a blush at the thought of him and Logan dancing together outside of the necessary rehearsals.
“I’d like that,” he said. “And there’s not really much difference between us, height-wise, so maybe by next show you’ll be taller.”
“Indeed, maybe, although I’ve never seen the point in traditions like that myself.”
Patton was clinging to Janus’ arm long before they had to go onstage, and the taller boy was repressing a blush. It calmed Patton’s nerves a lot, he was always generally less nervous for any partnered dance. Having someone else to dance with was comforting, especially when it was Janus. The lights went up and the two prepared to go onstage, Janus guiding Patton into position as they bowed to each other before starting to waltz. As he led Patton across the stage, he thought about how much he loved dancing with the smaller boy. Patton didn’t have the natural grace or ability to effortlessly glide across the floor that dancers like Roman had, but he truly put his heart and soul into his dancing, and the two of them seemed to fit so well together in a way Janus could never quite explain. He twirled and even lifted Patton with ease, the two of them truly complimenting each other perfectly.
Virgil and Remus were waltzing swiftly towards the front of the stage, and the taller boy saw the signs of Virgil becoming nervous, Remus assumed because of being near the audience. He let his already poor posture go and leaned in towards his partner.
“Don’t look at them, Virge,” he said. “They don’t know anything about you, so don’t ever give them the chance to judge you. Just look at me, keep on dancing, you’re doing amazing. Just look at me, Virge.”
Virgil did look at him, although admittedly not in the same way as he did before. He had no idea what was going on with the way he viewed Remus, but it was terrifying him to no end.
Roman and Logan’s dancing was practically perfection, and they captured the attention of most of the audience. Posture, footwork, seemingly effortless grace- it had all the ingredients for a flawless ballroom waltz. However, not in the eyes of these two perfectionists.
“You forgot a heel lead,” Roman critiqued Logan under his breath.
“Well, you’re not quite straight,” Logan retorted.
Roman looked into Logan’s eyes with an expression the slightly shorter one couldn’t read.
“You’re right, I’m really not,” he said.
Logan became immediately flustered. “I meant your posture!” he snapped.
“I know,” Roman chuckled, as he led Logan into a series of fast turns, preventing them from speaking any further.
Patton kept smiling at Janus as they waltzed, the other trying his best to deny the flutter in his gut every time the shorter boy beamed at him. Patton’s energy and positivity had definitely been a good constant for him throughout rehearsals. He was truly someone Janus could rely on, and he struggled to imagine a better dance partner.
Both Patton and Janus were secretly extremely disappointed when the dance came to an end and they walked off stage arm in arm, knowing they’d soon have to let go. Janus didn’t know what had overcome him- perhaps it was the pressure of performing, maybe it was just the romantic atmosphere and the fact that they’d been waltzing together, or perhaps he’d accidentally inhaled a few too many hairspray fumes, but, as they walked back towards the dressing room, he found himself leaning towards Patton and kissing him on the lips. Patton immediately froze with shock. Janus soon came back to his senses and pulled away, a realisation hitting him like a bus. He loved Patton. Cute, sweet, innocent, kind, selfless Patton. Patton who he’d been dancing with for years, leading to him only falling more desperately and hopelessly in love with him. And... oh, great job Janus! So much for keeping it a secret and never acting on it! He couldn’t believe what he’d just done. Patton was simply looking up at him, eyes wide, mouth gaping in surprise. When Janus finally caught his eye, he melted into giggles.
“Looks like we’re gonna have to redo our lipstick, huh?”
“And that’s... your only complaint?” Janus dared to ask.
“Pretty much, yeah,” Patton shrugged, before collapsing into his dance partner, hugging him tight. Janus gladly reciprocated, unable to believe how lucky he was to have the sweet, kind boy he loved so much seemingly like him back.
The two of them returned to the dressing room, covering their mouths with their hands to hide their smudged lipstick.
Janus quickly ducked into the room, sneakily grabbed his and Patton’s makeup bags and and exited again, taking Patton to the bathrooms in order to redo their lipstick in secret. Before covering up the evidence, however, they shared one last kiss, with hopes of perhaps more to come after the show. Janus looked in the mirror to do his own lipstick, and placed his hand under Patton’s chin while doing his. Patton was pretty bad at staying still normally, but this time was another level- he became a giggling, blushing mess every time Janus so much as looked at him.
“So,” Patton said. “You kissed me.”
“That I did,” chuckled Janus. “I... I think I’ve always loved you, Patton.”
The smaller boy’s blush was visible even beneath his heavy foundation.
“I think I love you too,” he said.
“Patton, would you be my... partner?”
“We’re already dance partners, silly!”
Janus raised an eyebrow, waiting for Patton to realise.
“Oh. Oh, you mean like... yeah, Jan, I’d love to.”
Patton closed the distance between him and Janus and the other held him tight, the two of them doing a mini waltz around the bathrooms for a few minutes before having to return to the dressing room and prepare for their next dances.
A/N: ....you see what I mean now?
Taglist:
@sophiexwrites , I just wanna thank you once again for your support with all my writing! Your sweet comments really motivate me to keep creating, same with everyone else who’s left comments on my work
Next chapter
20 notes · View notes