Is there a compelling reason to shift logging to a secondary thread?

2024.11.28 11:22 auximines_minotaur Is there a compelling reason to shift logging to a secondary thread?

Inherited an app where I suspect they kinda over-engineered the logging facility. It is a realtime application, so performance does matter down to the second (not the millisecond or nanosecond). However I feel like maybe this is a bit overboard?
Essentially there's a ThreadedLogger object. This object has queue that you drop log lines into, and a thread that drains the queue.
Thing is, it's kind of a pain, because I have to deal with the care and feeding of this ThreadedLogger object and make sure all the classes have access to it. I guess this is fine if it's worth the performance gain, but is it though? I feel like logging operations are pretty quick on modern hardware, and I should be able to just use the default logger.
Running this on a decently well-provisioned Windows machine.
submitted by auximines_minotaur to learnpython [link] [comments]


2024.11.28 11:22 NeedleworkerBig9259 Sooo.. what should i do? I can't join online because of this, social club stats are normal

Sooo.. what should i do? I can't join online because of this, social club stats are normal submitted by NeedleworkerBig9259 to GTA [link] [comments]


2024.11.28 11:22 Extra_Silver4649 Risk 4..1.. make me beg you not to send your big veiny cock to her 2W3K287MS

Risk 4..1.. make me beg you not to send your big veiny cock to her 2W3K287MS submitted by Extra_Silver4649 to Snapchatgerman [link] [comments]


2024.11.28 11:22 Lillica_Golden_SHIB Plunger kitten

Plunger kitten submitted by Lillica_Golden_SHIB to PlungerPlanet [link] [comments]


2024.11.28 11:22 JJMonster09 What emotes am I missing?

What emotes am I missing? submitted by JJMonster09 to ClashRoyale [link] [comments]


2024.11.28 11:22 Solid-Heron-5455 Friend wants his gift back he gave me

I have a friend who dables in marijuana. He got paid today at work so he gave me some money to pick some up for him. It’s a 30-40 min drive, it’s fine I like driving. I was hoping I’d get maybe a hit from it. After everything’s done I head my way back home where my friend lives as well. Hoping he would share, he said no. I said that’s fine and he tossed me 60$ to get my own. So I ended up going back and getting my own. Now I’m finally done for the day, the same friend is spamming me asking to share with him. If not then we aren’t friends anymore apparently. Idk what to do. He threw me cash for my own purchase
submitted by Solid-Heron-5455 to TrueOffMyChest [link] [comments]


2024.11.28 11:22 Little-Ingenuity7413 Archeology relic storage

Im 120 arch, have every collection etc etc.. But wouldnt the skill be more enjoyable with an archeology relic storage? Based on a smithing interface, you can can deposit your arch relics in the alrdy existing storage for material, and can then choose for example what collecrion, what relic, if you have the relic or what material you are missing etc.
What do you guys think about it
submitted by Little-Ingenuity7413 to runescape [link] [comments]


2024.11.28 11:22 Good-Sherbert-9203 Südländer hier die bock haben über meine deutsche Frau zu reden? Kik/telegr: bimbpig32

Südländer hier die bock haben über meine deutsche Frau zu reden? Kik/telegr: bimbpig32 submitted by Good-Sherbert-9203 to Snapchatgerman [link] [comments]


2024.11.28 11:22 engineering_is_cool Zasto su gotovniski krediti toliko povoljniji u BiH u odnosu na Srbiju?

Poredjenja radi, u Srbiji koliko sam ja nasao uz malo bolju platu najniza neka kamatna stopa koju mozete da dobijete je 9%, dok u BiH bez problema 5-5.5%. Kakva je situacija u Hrvatskoj, drugim zemljama regiona? Sta utice na to?
submitted by engineering_is_cool to finansije [link] [comments]


2024.11.28 11:22 redditreg_v Zase jeden, co se hrne do opakování historie?

Trestný čin příživy nebo "Konečné řešení bezdomovecké otázky "? Možná dokonce moderní fusion...
Kde se title ocasové v té politice berou?
https://www.idnes.cz/zpravy/domaci/bezdomovectvi-senator-zdenek-hraba-navrh-zakona-vezeni.A241128_095212_domaci_misl
submitted by redditreg_v to czech [link] [comments]


2024.11.28 11:22 Paaasta15 I love beating the shit out of children in the Phantom Pain

submitted by Paaasta15 to MetalGearInMyAss [link] [comments]


2024.11.28 11:22 CustomEntity Introducing Zeldadle.net: A Zelda Quizz Game

Greetings, Heroes of Hyrule! Step into a world of boundless adventure and unrivaled Legend of Zelda knowledge with Zeldadle! We're thrilled to be your portal to an immersive and engaging experience centered around one of gaming's most beloved franchises. Whether you're a seasoned adventurer who's explored every corner of Hyrule or a curious newcomer just beginning your journey, Zeldadle is here to challenge, inspire, and entertain you.
🏰 What is Zeldadle? Zeldadle is a webiste designed to put your Legend of Zelda knowledge to the test while celebrating the series' rich history of epic boss battles and iconic musical compositions. It's not just about gaming; it's about diving deeper into the Zelda universe and becoming a true sage of Hyrule's lore.
👿 Boss Mode: Face Off Against Legendary Foes! Challenge your memory of Zelda's most memorable encounters in Boss Mode! Each day, you'll be presented with an image of a boss from any game in the Legend of Zelda series. Test your knowledge as you attempt to identify these iconic adversaries from across the ages. From classic dungeon guardians to epic final battles, prove your mastery of Zelda's most formidable foes.
🎵 Song Mode: Listen to the Melodies of Legend! Immerse yourself in the enchanting soundscape of the Zelda series with Song Mode! Put your musical memory to the test as you listen to brief segments of iconic Zelda compositions. With each attempt, you'll hear more of the melody, helping you identify these beloved tunes. From ocarina songs to background themes, experience the magic of Zelda's musical legacy in a whole new way.
Zeldadle isn't just a game; it's a dynamic community driven by your passion for The Legend of Zelda. We're here to celebrate your journey through Hyrule with exciting challenges that showcase the series' most memorable moments.
Join us on this thrilling adventure of discovery and engagement as we explore the vast world of The Legend of Zelda together. Zeldadle is more than just a guessing game; it's a testament to your dedication to the series and your desire to prove yourself as a true Hero of Time.
Warm regards,
The Zeldadle Team
Website URL: https://zeldadle.net/
https://preview.redd.it/3nas5dfwmm3e1.png?width=2974&format=png&auto=webp&s=b8468d3fb29de56b151dae2f29789675fc2c1298
submitted by CustomEntity to botw [link] [comments]


2024.11.28 11:22 Adventurous-Pop-1989 Problem in Newton's laws of motion

Here's the question: nlm
Block A accelerates rightward due to the acceleration of A, and due to strong constraint Block B moves down with 5m/s2. Block B's acceleration relative to the ground results from the vector addition of both. Hence, the correct answer is √(52 + 52) = 5√2.
But according to the answer keys, the correct answer is (c), that is, 5√5. So where am I going wrong?
submitted by Adventurous-Pop-1989 to AskPhysics [link] [comments]


2024.11.28 11:22 shesingssoso Is it Sunday yet?!

Is it Sunday yet?! submitted by shesingssoso to christmas [link] [comments]


2024.11.28 11:22 C_Ghost [Only war] How to handle Sentinels operators and Comrades?

I'm asking for an advice. There's a wish to make a recon squad Mounted on Scout Sentinels. But we are unable to figure out where the Comrades should go. As long as Sentinel's crew is only one man. Should comrades be operating other Sentinels? Then how to manage those in-game interactions where they should stay in cohesion, add bonuses to PC's attack and so on? Wouldn't it be an overkill for preset campaigns from the books? Or should they be some grease monkeys waiting at base and be of no use during the squads combat operations? Or may be we should drop comrades entirely for the sake of simplicity?
submitted by C_Ghost to 40krpg [link] [comments]


2024.11.28 11:22 Jakob_8 What is this?

This post contains content not supported on old Reddit. Click here to view the full post
submitted by Jakob_8 to Pixelary [link] [comments]


2024.11.28 11:22 plssendsomegoodmemes What is this?

This post contains content not supported on old Reddit. Click here to view the full post
submitted by plssendsomegoodmemes to Pixelary [link] [comments]


2024.11.28 11:22 Xxmarshyxx1234 What new foods do you guys think will be in the update? i hope a snowman marshmellow or white asparagus!

submitted by Xxmarshyxx1234 to SecretStaycation [link] [comments]


2024.11.28 11:22 ContributionCurious9 Why they remove the ssd2 slot for victus 15? 😌

submitted by ContributionCurious9 to HPVictus [link] [comments]


2024.11.28 11:22 Yarriddv H: usa x2 W: 120 leaders each

submitted by Yarriddv to Market76 [link] [comments]


2024.11.28 11:22 New-Touch-8871 Pussy pattern?

Pussy pattern? submitted by New-Touch-8871 to ohnePixel [link] [comments]


2024.11.28 11:22 ShuShu145 Toxic Girlfriend (F, 34) left me (M, 23) for Ex-Boyfriend

This is going to be a long one so bear with me:
some backgroud about me: I always used to be a shy and rather awkward guy. My looks were never the problem and i've been going to the gym the past 6 years constantly, however, my sub par social skills caused me all kinds of trouble along the road. Around a year ago, i made some drastic changes, changed my entire waredrobe, became more social, made many new friends, talked to more girls and just people in general.
Despite me being quite good on all fronts now and most people i meet liking me right away (and having no reason for it), this deep feeling of inadequacy never 100% left my mind. Even If it's just a fleeting shadow of what it used to be.I also struggle with fear of loss and clingyness which i still work on.
I found Bumble to be a convinient way to meet new people, both for dates and just in general. And after a few more or less successful dates and encounters, it's where i met my current ex-girlfriend.
Main Part (basically april until now)
In April, i matched with a Chinese girl on Bumble, aged 34, doing her Phd in Germany (i am 23 year old and just finished my apprenticeship, industrial sales). In the beginning we are just texting a little back and fourth, she tells me about her hometown in china. The conversation kind of dies down from there and i don't think so much of it. Until she keeps sending me product pictures from aliexpress, asking me if those product would be suitable in germany. (She has an Internship for a chinese company at that time). What was kind of funny with me soon became annoying (i must say i was also rather upset at that time because another girl that i was dating a short time dumped me), so i just replied ",are you using me?"...that basically starts a whole argument that ended with her being like "i'm not that type of person"...i replied, if she isn't, we should go out to have lunch on the sunday...to all surprise, she agreed. First we were talking about doing hotpot at her place, but since she said she was uncomfortabel with strangers in her home, we opted out for a hotpot restaurant.
the day comes, sunday, and i am on the train to the girls homecity (about 30 km from my hometown). She already wrote me i should look out for a girl "white shirt, asian face" which i found both adorable and hilarious.
Fast forward, she looks up at her phone and says the restaurant is closed, so we pick some groceries from an asian store and actually make hotpot at her place. How the turntables. (Also turned out she looked up the wrong restaurant, the one we wanted to go to actually was open).
After a tasty hotpot, some interesting conversations and a heartfelt goodbye, see you next time, this girl (or rather woman, since she is 10 years and 6 months older then me) doesn't leave my mind anymore.
Something about her, captivated me completly.
She was friendly, her trying to speak german was adorable and she also had a somewhat "motherly energy" towards her entire dimenour. While at the same time, being playful and somewhat childish at times. It was honestly fascinating to me, so we stay in touch.
fast forward the next friday, she gets a little ill, so i bring her some medicine and we watch a movie at her place together. She doesn't have a couch, only two couch chairs, so we keep having a conversation over quite some distance. A lot of playing and teasing later, things happen all naturally and we end up holding hands while finishing watching the movie. Afterwards, we make an appointment for the sunday to go for a walk.
what happened next was both unexpected and changed things drastically.
I looked up some videos on how to "seduce a woman"...i never actually had sex before (relating to that teen awkardness i was trying so hard to remove out of my system), so i just somwhat watched them like half-seriously because in the back of my mind, i just had a what if...
Also, this week, i was at a university day where you can go and watch the univeristy. I planned to study soon, so i went there to have a look. They gave us a gift bag, including a condom inside.
This sunday, i had sex for the first time. We both were unsure and kind of awkward with it. She told me she was so bad at it and didn't do it in a long time. I, who had zero experince, tried somewhat to take the lead and pretend to know what i was doing, eventhough i told her prior i never did it before.
From there on, a passionate intense relationship with a lots of problems emerged. Sometimes we had sex 3 times a week or more. However, I suspected for a longer time something might be off about her. A gut feeling.
As we started to get more serious and reveal more about eachother as people and just in general, it turns out she has an extremly bad temper. I actually found this out through a coincidence. We were planning to watch a museum in my hometown together and she would tease me with "maybe i will go there with another german boy". I answered her as a joke "maybe i will go with another chinese girl"...20 min later still no reply, when suddently she writes me on chinese she never wants to see me again. I get very confused, go to her place and try to explain it was a joke.
This in some sort of fashion almost always happened every time we met. Those arguments and temper tantrums include: i didn't put a dish the right way into the dishwasher, i put the rice cooker into a wrong shelf, i touched a fly to put it out of the window instead of using paper, i didn't clean the mirror in the bath properly, on a trip i couldn't do a good photo of her and many more. All those tantrums went hand in hand with screaming, sometimes crying, pouting and telling me "i don't like you anymore, can we break up, i hate you". All this time, i always try my best to stay calm, relax, hold her in my arms and calm her down as best as i can. What first was relatively managable soon became a bigger and bigger burden on my psyche. She told me, a man always have to agree with his woman and i can't take care of her.
At the same time, i became friends with another chinese guy who was friends with my girlfriend. They knew eachother from university. He was a goofy, funny easy going guy so i soon became good friends with him, often meeting just us 2 when my gf was busy with her studies. Overtime, i would open up more and more to him, which turned out was a big mistake. Because i would sometimes tell him about the arguments i had with my gf and in the beginning, he seemed quite supportive but over time grew more and more annoyed, as i would tell him more stories that esentially repeat themselves and told me often to break up. In a way he was my go-to person in this relationship, as it was Impossible to discuss these things with my gf herself, as her anger issues seemed to worsen.
Now we get to the biggest problem and the probable beginning of the end of this relationship. My girlfriend told me she came to germany, also because her ex also studied there. They break up here, apparently because he had a problem with her emotionallity and didn't want to get married and stay in germany while she wanted to marry and go back to china. However, despite her feeling deeply hurt, they stay in touch because of the same friendgroup that meets once or twice a month to play majiang. I told her i would be fine If it was just that, but it wouldn't stop there. He would sometimes cook for her and care for her (i didn't know of that), drive or pick her up from places (my gf constantly blaming me why i don't have a license) and they would lend eachother money. Apparently their families in china really hate eachother, but i don't know a lot about it.
All of those things seem shady to me, as i continue to be a constant punching bag for all of her bad emotions while at the same time having an intense sexual relationship. All those odd stories ended up manifesting one evening. As we were returning from IKEA and ate something, we come back to her place just so i can grab my stuff, where i notice the lights are on. Her ex sist at her desk. My gf freaks out as she doesn't know what to do, tells me to leave while she handles the situation. (He's seen the used condoms in the trash). First i refuse, then she tells her ex to wait and get me to the trainstation. She starts crying, telling me how i don't trust her. I was both genuinly concerned because the guy apparently stole her second keys the night before after driving her home from majiang and essentially broke into her home, but i also admit, at this point my trust in her was irrepearably broken. I actually didn't go home but tell the mutual friend, who actually sides with me. We go together to her apartment to confront her and now she is angry at us both.
After one week of no contact, we meet again, have sex, later go to the chinese bbq with the mutual friend and the world is fine again.
In September, my gf returned back to her family in china and i, as i was working full time until uni starts, decided to visit her and her family in China (yes, that's correct, i flew to china for 9 days for her). Visiting parents is a huge deal in china, and although they don't speak english, we actually got along super well. Her family is rich, and i mean rich. My gf drives a cadillac and has a 150 sqm apartment. Her parents have a 500 sqm house with a marble floor, a wine cellar and more. I won't go into too much detail but these people got a lot.
So despite all odds and my expectations, despite my young age and my family only being middle class, depsite me being a foreigner, they are so friendly and accept me right away. I meet her cousins, uncle, aunt and because it was the mooncake festival, we enjoyed a good time.
After i return to germany, things slowly get downhill. We argue more and more over the phone and she blocked me because she didn't like how i was always saying i calculate everything and it's just about the money for me (she asked me what i do for her, i tell her things like getting groceries or flowers, which i love doing , i never tell her how much it cost)...suddently she gets super angry again, blaming me and blocking me. After her return to germany, first things seem fine. I started studying now im her city and we planned moving together, but the arguments get worse and worse. My mental state gets worse and worse, i can't get it up or hard enough during sex anymore because of all the stress and she blames me for that too. The constant walking on eggshells and gaslighting from her side with her ex being in the background eats me up from the inside. I call her a lot, trying to please her where i can. She gets annoyed by me, saying i bother her. Don't saying she loves me anymore.
The arguments now always end with her crying so much, telling me i'm mean, i always complain about her and never say what she do for me. And i also start crying. I can't bear it anymore, so i start crying infront of her, screaming at her why we always have to argue over very single thing. Every single thing. After that, the mutual friend reveals that i have been complaining about her (despite him also complaining to me about her being late, being a bad friend, etc.) and sides with her, saying what a bad person i am. Contact breaks off completly...i try doing a couples therapy with her but it's pointless.
In our last argument, she slaps me. I hold her shoulders with my hands (not grab or shake her or anything), yet she tells the mutual friend she is scared i would get violent towards her. She doesn't want to see me ever again.
Everything i say is just complaining in her eyes. It's pointless to talk about anything. As i leave, i take her doorkey. Later put it in the mailbox as a small nod towards the ex situation, the situation she knew hurt me a lot and she never apologized, even still meeting and having contact with him. (I know it's dumb from me). After that she gets pissed and blocks me. Now i feel lost, learning chinese (for her because we planned living there), studying in a far away city (i only choose because of the proespects of moving together there) and overall, this makes me the biggest clown alive right now. Or at least that's how i'm feeling, as i get ignored and blocked everywhere by my gf and our mutual friend and the last 6 months seems more like a crazy dream then reality...
i write a letter to her parents, explaining what happened to them. I appreciate their kindness so much and they deserve the truth, my point of view what happened.
submitted by ShuShu145 to abusiverelationships [link] [comments]


2024.11.28 11:22 Creative-Hurry2887 Dating apps - hvad er meningen piger?

Kære brevkasse,
Jeg skriver i håb om at blive klogere på mange pigers tendenser på dating apps.
Jeg er M28 og har det sidste halve år været ret aktiv på Tinder og Hinge, da jeg nu er på arbejdsmarkedet, og ikke synes jeg møder så mange nye mennesker i min hverdag længere. Jeg er selv en smule kræsen med mine swipes, og får derfor kun matches jeg umiddelbart er fysisk tiltrukket af. Derfor skriver jeg også til næsten alle matches, da jeg jo allerede kan lide det visuelle, og gerne vil finde ud af, om der potentielt er kemi, om vi har det grineren sammen, og om samtalerne er fyldestgørende eller intetsigende. (Og jeg synes det er fair at den generelle holdning er at fyren skriver først).
Men her møder jeg - og for den sags skyld vitterligt også alle af mine venner på dating apps - ene af dårlige og demotiverende oplevelseresponser fra pigerne.
Det er primært:

  1. Profilering af fyren med udgangspunkt i ingenting. De mange fyre jeg har snakket dating med, oplever alle at de bliver dømt/puttet i en kasse, efter første besked, som afgør om du får en respons eller ej. Og det føles så overfladisk og råddent. Den udbredte holdning er at fyren skriver først, hvilket er forståeligt grundet traditionelle feminine/masculine forhold. Men overvej det lige, fyren skriver til vitterligt et par billeder af en person uden bio, eller en bio kun bestående af en emoji og deres ig. Det er 100% et skud i tågen, du kender ikke deres humor, humør, generelle ordvalg, hvordan de opfatter visse vendinger, samt der er intet tonefald eller kropssprog, så samme beskeder kan allerede læses på flere måder, alt efter hvad modtageren er biased med i forvejen fra deres omgangskreds. Piger der agerer sådan her, træder jo dem selv over fødderne, og vi er så forvirret over at de ikke selv kan se det. Hun ved intet om ham der skriver, og kan intet trække ud af de første beskeder. Det kunne være ham, en ven, hans veninde, forslag fra en 'pickuplines' bog, eller chatgpt for den sags skyld. Så at tro du kan vurdere noget som helst ud fra et par indledende beskeder, er jo en helt delulu tilgang. Man kan aldrig vurdere noget ordentligt, før man har snakket ansigt til ansigt.
  2. Ghosting.. Hvorfor er det blevet kutymen at man bare ghoster? Det sker i helt ekstrem grad. Vi sammenholdte vores profiler, og vitterligt 8/10 samtaler hvor der har været flere beskeder frem og tilbage, ender i at pigen bare ghoster fyren uden videre. Det kan være alt fra efter 5-10 beskeder, til at hun lige har givet en kompliment og skriver 'ja en øl kunne være hyggeligt!', hvorefter han aldrig hører noget igen.
  3. En trang fra pigernes side, til at pakke det ind på alle mulige måder, hvis de ikke længere har interesse. Prinært situationer hvor det de så siger eller skriver, tydeligt står i kontrast til egentlige handlinger. Hvorfor ikke bare give ham en ærlig forklaring/udmelding? Så han ikke går og tænker sig selv ned over hvorfor hun dropper ham, med et behov for at lyve om grunden dertil. Synes hun jeg er dum, grim, ser hun en anden, eller hvad skyldes det? Det er som om at hendes svar primært tager udgangspunkt i hvordan hun selv har det bedst efterfølgende. Hun lyver glædeligt, hvis det giver hende en følelse af "jeg har skånet ham" eller "så har jeg ikke gjort ham ked af det" - mens den tilgang kun har modsatte effekt, når det står så tydeligt at det bare er en løgn der dækker over hendes egentlige tankebegrundelse.
Så med al respekt piger (ikke jer alle, men tydeligt størstedelen af dating apps brugere) - hvad mener i selv ovenstående skyldes? Hvad er jeres egne oplevelser? Har i gjort noget af ovenstående selv, og hvorfor?
Men min største undren - Hvorfor dømmes der så meget ud fra første besked, og hvad dømmer i den på baggrund af? Især jer der er på en datingapp, hvor man primært swiper baseret på fysisk tiltrækning, og ikke selv har en bio - hvad er i egentlig på appen for?
Jeg ved godt at det meste her også går begge veje, og at der også er piger der oplever lignende den anden vej rundt.
Note: i ydmygeste henseende - Jeg har udseendet og det fysiske med mig, og det har mine venner også. Så vores oplevelse er at det vitterligt er det usagte, og det mellem linjerne, som holder forklaringen på hvorfor det er så dårlig en oplevelse at bruge dating apps🤷🏼‍♂️
Tak for din tid, og for at læse opslaget. Håber på dit input til at give os en forståelse af opskriften på den mystiske datinggrød.
submitted by Creative-Hurry2887 to DKbrevkasse [link] [comments]


2024.11.28 11:22 lss_web_1444 Image post title 573

Image post title 573 submitted by lss_web_1444 to automationContentCom [link] [comments]


2024.11.28 11:22 Boring-Ruin-1405 Chi commenta in maniera molto dettagliata e porca la fidanzata di mio cugino? no monosillabi

submitted by Boring-Ruin-1405 to tiktokersITA_ [link] [comments]


https://google.com/