Tumgik
#coding exercises
codingcorgi · 4 months
Text
Tumblr media
Day 3 of coding for a year. I'm a bit late posting this, because I passed out 😅
Last night I worked on the backend of getting the tasks implemented and my husband was getting notifications to work correctly. We had some snags with notifications since we've never done that before (I'm thankful for friends and videos online)
Today I'll be hooking up the tasks with front end work using xaml and testing.
47 notes · View notes
infernal-lamb · 3 months
Text
Tumblr media
Searching your eyes for the saint is an act of futility
something that's just been on my mind recently!
8K notes · View notes
scealaiscoite · 3 months
Text
reasons for there to be only one bed ˗ˏˋ ꒰ 🍊 ꒱
¹⁾ they’re undercover as a married couple, and as such need to act like one
²⁾ there’s technically two beds available, but it’s freezing cold and everybody knows body heat works best
³⁾ it’s a camping trip, and one character’s forgotten their sleeping bag
⁴⁾ a character goes to their friend’s house after an emotional upheaval in search of comfort, and ends up staying the night - but refuses to kick the homeowner out of their own bed, resulting in the two of them sharing it
⁵⁾ in a roommate scenario, one character’s bedroom has been rendered unusable - and with the couch being unsustainable in the long run, they proffer sharing the one remaining bed as a solution
⁶⁾ there are two beds, but only one blanket
⁷⁾ a character’s taken ill, and the other party worries too much to leave them alone for even a minute
⁸⁾ in a fit of anger after a mission gone wrong, both characters sleep in the only available bed because no one was chivalrous to offer to take the floor
⁹⁾ a character’s had a nightmare, and needs company to feel safe enough to go back to sleep
¹⁰⁾ the weather takes a tumultuous turn, meaning a late night hangout has to turn into a sleepover when a character gets stranded there for the night
¹¹⁾ it’s a late night at work and when they both grow too tired to continue on, the only option is the lone office couch
¹²⁾ a threat’s been made against one/all character(s) involved, and so under the guise of safety in numbers it’s deemed safest if they stay together - everywhere
¹³⁾ one character joins the other for a late-night conversation, and ends up getting comfortable in their bed next to them - evidently too comfortable, as the char in bed falls asleep on the visitor and effectively traps them there
¹⁴⁾ there’s no bed in the shoddy refuge they’ve found after things went sideways, so when it comes time to sleep the only real choice is to stay close together
and, of course,
¹⁵⁾ it’s the last room available at the hotel after a long trip
5K notes · View notes
vexacarnivorous · 1 year
Note
Can u teach me python from basic 🙄pls
ok the problem with this question is that it would simply take too long for me to explain to u the basics of programming like functions, statements, loops, variables etc. but i CAN direct u to some good resources that would help u in ur python journey and explain all this stuff
freecodecamp (i think the person for this course explains it nicely here)
pythonprogramming
i especially recommend u look at this website called fullstackpython, which has HEAPS of python beginner recs that seem very useful
u should also be doing projects & exercises to really hammer in what you're learning, so i'd recommend project euler (also found on freecodecamp) or that u search up 'coding exercises' on google. there are some projects listed in fullstackpython i believe as well
103 notes · View notes
vvanessaives · 8 months
Text
WIP DAY
i was tagged by @moonmothers @devilbrakers @flymmcargo @nuclearstorms + @hibernationsuit thank you guys so much!! <3
tagging: @morvaris @faarkas @shadowglens @voerman @faerune @ladyshar @liurnia @halsin @gortash @risingsh0t @necroticpetals @druidgroves @malefiicarum @feypacts @florbelles @calenhads @thedeadthree and anyone else i missed! can't remember exactly who writes or not so if you see this just say i tagged you
disclosing my violante/ruven/gortash (pre-game events) agenda,,even if it's mainly vio here but if i added any more of the wip in here you guys would kill me bc it's already so long. anyways who doesn't like masked balls?
“Dare I ask who I'm in the presence of?” The gems nestled in the fine silver net adorning her hair made a gentle tinkling sound as Violante tilted her head forward in a courteous bow tasked to open the dance. When she rose to meet her partner’s gaze once more, she resumed: “And most of all, is it friend or is it foe?”
Even beneath the mask, the wicked shine of Enver’s dark eyes appeared brighter than the play of light on the golden wings that stretched from the front of the mask to his hair. “Vicare, the only human man that could fly.”
Vicare – Violante wished to laugh. Was his arrogance the cause of her amusement? Or perhaps it was his full, unabashed, commitment to that little theatrical play they were staging? Whichever the reason, she found that trying to conceal her smile around him was beginning to verge on the impossible. Disgraceful…but thrilling, she couldn’t wait to let Ruven hear of it.
The music carried their voices along the notes like they were part of the sheets; it was a concerto of violins, lutes and harps. Violante could hear the distinct sound of a few wind instruments as well but failed to recognize them. The melody was slow and soothing, inviting the dancers to know one another, play their coy games before dealing their full hand when the culmination of the song would strike.
They stood shoulder to shoulder, barely letting the fabrics of their clothes brush one another as they drew a circle on the floor with their steps: a dance that resembled more the stalk of two wolves ready to attack, reach for the throat and sink sharp teeth in the flesh and let fate settle who was going to bleed out first and declare the other victorious.
“The name holds a familiar sound.” She spoke calmly, voice just above a whisper but carrying confidence, pride. A pride soon betrayed; a quick glance stolen with the tail of her eye to the dark haired man, searching for any hint on his half covered face that would reveal his thoughts to her. She hoped for the stars, yet she was no astronomer at all. Whatever Enver Gortash was thinking, from amusement to annoyance, remained a well guarded secret. “I’d like to hear the tale of the man of the golden feathers, if he’s willing to share.”
The violins played a grave note and as if spells were casted, each performing pair jumped into position – facing each other, one arm up as the back of their hands brushed the one of their partner in a gentle kiss of the knuckles. His hand to her waist, her touch above his shoulder. "Do I have to tell? I'm sure you know well how the story goes. The one that dreamt of flying too high in the sky – accused of free will, punished with the amputation of his wings.” He leaned forward, a cunning smile curling his lips upwards charmingly. “They used shears, if I remember correctly, to make me never wish to fly again. Quite the gruesome spectacle it was.”
Enver’s back was straight, tense as the string of a bow ready to let its arrow strike the prey, yet the movement of his steps was nothing but light and elegant as they spun in unison with the other dancers like a gentle breeze barely caressing the marble under his feet. He was a great dancer, Violante couldn’t deny it.
“Yet you persist, don’t you? Behind those walls you still look up for the cobalt sky.” A swirl, restrained in perfect graciousness learned in years of training with a certain drow, the rich crimson fabric of her gown twisting around her body like a tail. “Which amount of punishment is enough to make you learn, I wonder.”
His eyes narrowed yet that wicked grin didn't falter. “Flying is a thought, and nothing can stop an idea. The wind reached me even when my feet were bound to the ground." They waltzed into an outside spin and moved into the next step with a final touch of the wrist, pulse against pulse. “Besides – I can take a fair amount of penance, if rewarding.” His fingers twitched against hers, nothing more than a controlled and quick brush tauntingly demure, yet just enough to make Violante wonder, take the hint of that touch and let her mind carry it on as it pleased. The power of a thought, wasn’t it? 
Enver appeared no less pleased, be it the quick flash of her surprised expression or the sudden rigidity of her muscles. “Now that I’ve answered your question, allow one for myself: who are you in turn?”
Violins stood out from the choir of instruments with a strident sound this time, separating the couples as if the touch of one another was akin to reaching for a flame with naked skin. Violante arms rose up in a fluid movement, like the fluttering of a bird’s wings or the stroke of a brush, while Enver’s form bended in a half-bow, one arm behind his back and the other circling his waist.
“Death.” She expressed sharply, excited as if her time in this play had finally come. “And if I recall correctly, even Vicare couldn’t escape Death.”
44 notes · View notes
cesarescabinet · 3 months
Text
Caligari's been on the brain lately, and since I keep seeing talks about remakes and theoretical recasting--I'm kind of curious to see if anybody on Tumblr has any ideas. For fun, here's some actors who I think could make for an interesting Cesare;
Tom Sturridge (Able to convey sad wet and pathetic with a dash of menace perfectly)
Dev Patel (Imo he conveys a level of kindness I think he could imbue into the role. Idk I'm just curious to see his take on it)
Lee Joon Gi (Could match the physicality needed. Could ALSO emotionally stomp my heart into the dirt at the tragedy of it all.)
Doug Jones (he NEEDS a second chance!!)
And it doesn't even have to be just casting--I'm very curious to see how people on here would approach the aesthetics or the story with a new lens!
16 notes · View notes
projectbatman193 · 15 days
Text
Tumblr media Tumblr media
100 days of math and 240 days of coding.
Little by little we get there, there's very little time in my day for it, but a five minutes lesson here and another there and I'm better at both than I was a few months ago.
Tumblr media Tumblr media
9 notes · View notes
rexscanonwife · 24 days
Text
Sigh...the way I'm playing around with a self insert idea
Tumblr media
10 notes · View notes
wackpedion · 8 months
Text
Tumblr media
Heyyy so a friend made a kokobolt gc which got me thinking about a furroughs server, and some of my other raincodeian friends were into the idea so !!! HERE WE ARE !!!
DM/comment for an invite (I'm not very comfy with just putting up an invite link out there, not just yet atleast)
23 notes · View notes
madame-vera · 3 months
Text
January Mages of Pages Writing Exercise
The writing discord server I'm on, Mages of Pages, usually runs 2-3 competitions every month. They have 1 that lasts about a month. and 1 or 2 lasting about a fortnight each. But this month they decided try something different. Instead of a competition the month-long slot turned into an interesting writing exercise.
Volunteers were to be paired up into groups of two and write a collaborative piece. We were given a hard word limit of 2000-2250. Our work was to be colour-coded and shared equally with no one writers individual work being outside the 25%-50% limits. Blue and red were assigned to authors for individual work. Black for pieces where both authors contributed equally to word choice, theme, character voice and tone. There was to be a minimum of 1 completely collaborative paragraph. The project had to be completely new and fit within PG13 guidelines. It could be an original work or fanfiction.
Pairs who completed this got paired roles.
I was paired with Bjorn Fenrissen and immediately called dibs on blue. XD After checking out each others tastes and preferences and finding shared ground, we settled on a modernish D&D style fantasy in the Underground. And we had a story! The time zone differences were tricky but splitting parts helped circumvent that particular issue and it was so much fun!
We got a cool roll too. Signs of the Underground!
And here's our end result! XD I'll type it out in full without the colour coding in a reblog.
Hope you enjoy
6 notes · View notes
codingcorgi · 2 months
Text
Tumblr media
Days 50-62 of coding everyday for a year! I'm not dead!
I have worked on C# and C++ so much in the last days of development. I haven't posted because I've been so busy with school. I'm on the president's honor roll so I'm working hard to maintain that. I have been working on setting up my .Net Maui application that I'll be using as my C# project final. I'm also going to be doing my C++ midterm this coming week.
I'll be working on getting my project started. Studying for my midterm, and learning as I go.
10 notes · View notes
nyehilismwriting · 1 year
Note
Thank you so much! I only really have three main questions at the moment.
How did you code it to where theres a spot for saving/loading previous saves/starting a new game ??
How did you do the profile card?
How do you do the thing where like in the first chapter the player gets to pick whether they're a man, woman,etc? like the cycling through it thing? sorry i dont know how to word things ^^;
Thank you again for letting me ask questions and sorry for the shitty wording of things
starting with 3 because it's the easiest<3
3. that's a cycling link! in sugarcube, it looks like this:
<<cycle "$variable">> <<option "text 1">> <<option "text 2">> <<option "text 3">> <</cycle>>
where "text 1/2/3" is the text of the links that are cycled. if you'd rather the variable was set to something other than the text (for example, a number or true/false), you can just add it after the option. the sugarcube documentation lays it out pretty clearly :)
1. if you mean the 'resume game' button - that's basically an if statement that checks if there is an autosave and loads it if there is.
<<if Save.autosave.ok() and Save.autosave.has()>> [checking for the existence of an autosave] <<button "Resume Game">> <<run Save.autosave.load()>>[upon selection, this button loads the autosave slot] <</button>> <</if>>
if you just mean the general load a save button, it's just a button which loads the save API, which can be done with the run macro:
<<button 'Load Game'>> <<run UI.saves()>> <</button>>
this is the same process for the settings button, which runs UI.settings() instead of UI.saves().
gonna put the explanation of the profile under the cut because it gets a little long!
there are a couple of ways I considered doing the HUD frame - originally (as per this post) it was a background image, with the border bits built into it. this isn't ideal, since it's a big image which takes a while to load, needs a light mode counterpart, and also can act a bit funny with scrolling and scaling - people with their screens set differently to mine (which sort of seems like it's Everyone sometimes) could potentially run into aesthetic jankiness where it's not the right size and the text overlaps the borders, or the scroll isn't seamless.
since i'm nothing if not a control freak, I don't like this. haunted by the idea that someone is perceiving my game in a way i don't want.
so instead of using the background image, I used the border-image setting. there's a couple of issues with this, too: you have to be quite careful with the scaling, as it's very easy to stretch out images; you have to leave space for a much thicker border around the div than you think you'll need; and, especially in this case, you can't set different images for different sides of the div.
i got around this by already having a fairly complicated setup for the way the hud is coded. there are 3 major divs here: the first is the overall #ui-dialog-body.hud div, which contains everything else; then, there's the different sections (directory, profile, achievements), which all have the .section class; then there's the #ui-menu div, with the buttons along the bottom. these divs each have a slightly different image set as their border on one side to create the look of a cohesive frame.
Tumblr media
by doing it like this, i can guarantee that the scrolling and scaling will behave themselves, and it all looks neat and coherent :) the border-image css rule can take a bit of messing with to get it looking right, even if you're just using it on the one div, with the one image - i'd highly recommend playing around with the w3schools tutorial on it and see if you can get something simple working with it before you attempt something more like.. this bullshit.
34 notes · View notes
trooperst-3v3 · 23 days
Text
Deej was stoked when I told her I was ready to start an exercise routine. She goes to the ship's gym every day, so I asked if I could tag along and do her routine with her.
"Absolutely not," she said.
"Why not?"
"Because my routine will literally kill you. We should start small at first. To build up your endurance."
Then she proceeded to take all my code cylinders that control the lifts.
Guess I'll be taking the stairs for a while.
3 notes · View notes
The agony of being so close to completing a crochet project, but having to put it on hold for the sake of your wrist.
4 notes · View notes
winepresswrath · 1 year
Text
people make such a fuss over who drives on what side of the road but americans vote on the wrong side of the colour spectrum and tbh that’s worse.
42 notes · View notes
greaseonmymouth · 9 months
Text
I got an email from my internet provider saying my 12 month binding period was up and I would now be charged £13 more per month but if I wished to continue with the discount for another 12 months I could call this number and cite this code and all would be well
normally I would just suck up the extra cost instead of participating in the ordeal of a Phone Call With A Stranger, Possibly With An Accent I Struggle To Parse but in this economy that was simply not an option so. fellas I actually called the number
spoke to a customer service guy with such a strong Indian accent I’m 16273% sure he was actually based in India and not the UK for all of 5 minutes
and all that happened is……he put me on another 12 month discount plan but with a better discount than my previous one
9 notes · View notes