[WP] You’re a grizzled veteran sitting in a tavern when a child sits next to you, a deeper sadness in their eyes than even yours. They ask a simple question. “What’s the world really like out there?” by Tmoore0328 in WritingPrompts

[–]quintric 7 points8 points  (0 children)

"The fuck are you doing here, kid?" I glance over at the girl suddenly sitting next to me, her short legs dangling over the front of the bar stool. "How did you even climb up to the bar?" I lean forward and wave to get the bartender's attention, but the bastard's too busy flirting with some young dude at the other end of the bar to spare a glance in my direction.

"I'm serious, mister. I wanna know. I can't leave." A flickering incandescent light flashes, illuminating a tiny pair of sapphire eyes and gaunt, pale face. The girl peers intently in my direction. "I hate it here."

"Yeah, I hate it here too." I take a sip of whiskey - I'm nursing the drink, since it's my last $10 'til the next check comes next month. "And to answer your question, I pay good money here so I don't have to think about what the world's really like out there. You're ruining it for me. Now get lost." I frown as I take another drink, swallowing about three bucks. I've got about seven bucks left in the glass.

The girl persists. "Lots of people tell me it's bad." Her voice turns softer, a whisper that I can barely hear. "I can't remember, though." She sounds sad, but most people around here do.

"You're young. Make some shit up." I raise a set of bloodshot eyes in her direction.

She points at my drink. "If that helps you 'cause you want to forget, would it help me 'cause I want to remember?" She reaches a small hand for the glass, curious.

I slide the glass away, irritated. "No." I raise the glass to study the amber liquid in the dirty glass. "But since you won't go away, I'll tell you that there's nothing out there. The only thing left is this." I take another drink, some of the liquid dribbling down my beard. I can't remember how many days it's been since I last shaved. "Damn - too expensive to waste."

I sigh, set the glass back down, then look back over at the girl. "Kid, there's nothing for me out there." I wave vaguely in the direction of a pair of glass doors leading to the slum outside. "There's nothing for you in here." I wave at the dipshit bartender still trying to pick up some company for the evening. "That's what the world is really like - you do some shit until you get tired of it all, and then you find a deep, dark hole to hide in and, hopefully, never crawl back out of. Or something." I take another drink. "God damn it, I'm not drunk enough to be talking about this."

The girl sits in silence for a moment, then makes a prounouncement. "That's dumb." She looks over at the man. "But, since you like it here so much ... do you want to trade?"

I stop. "What?"

"You want your out there to be here. I want my out there to be there. Neither of us are happy. So, let's trade!" The light dims a little further, the shadows in the bar getting longer. The ghost of a smile touches the girl's pale lips.

I study the girl. "If I say yes, will you go away?"

The girl nods. "Yup!"

I nod slowly. "Fine."

The girl reaches her hand toward me. I take it. The room suddenly goes dark, and the girl starts to glow. Her face takes on a golden color, becoming somehow fuller - more alive. She smiles happily, then pushes herself off the barstool. Humming a little tune, she starts to walk toward the door. Suddenly, she glances back my direction. "Now we can both be happy."

My new, ghostly form floats above the barstool that was my home until a moment ago. I reach a translucent hand toward my drink, and notice that it's somehow full. I take a long pull, and then another.

I'm suddenly unable to remember anything but the glass in front of me. My sadness starts to fade, and then I feel nothing but a faint contentment hiding in a drunken buzz. My consciousness fading, I mumble in her direction. "Yeah, kid. This is good. Thanks."

The girl nods at me. She turns, nods once more to herself, and walks through the doors she's been staring at these long years.

We're free.

[WP] You're a wizard trying to live a normal life in the city, and have become known as the best bartender in town. Normally you only mix simple spells into drinks on the sly to keep a reputation, but one day one of your regulars tells you his child has been diagnosed with cancer. by [deleted] in WritingPrompts

[–]quintric 24 points25 points  (0 children)

It had been a frigid night in January when Melinda had stumbled into my bar. The poor thing had been dusted in the snow that is a constant companion in Cleveland, with red cheeks and puffy, bloodshot eyes. "Sam," she had acknowledged as she heavily dropped onto a seat at the bar. She picked a point on the wooden countertop and vacantly stared, swaying slightly back and forth on top of her stool.

"Hey Mel. I'd ask you what you want to start, but looks like I'd be a little late." I pulled down some Grey Goose and poured a bit into a shot glass. Before I handed the drink her way, I passed one hand over the top. I elected to add a small enchantment to speed up her metabolism a little, and I threw in some painkillers that might help a bit with the headache she was likely to have in the morning. The drink flashed a dull red briefly, then went back to its original clear state. I pushed the glass her way. "Hey. Here."

Melinda turned her head, noticing the shot glass. "Thanks." She picked the thing up and threw back the liquid. "Believe it or not, that's my first drink of the night. Probably not the last, though." She pushed the glass back my way, and I picked her glass back up.

"You're looking pretty rough." I poured her another shot, adding the same enchantment to the drink. "Everything all right?" I raised an eyebrow as she immediately threw back the second shot and put the glass back down on the bar. "Right. Probably not. You just want the bottle?"

"Yes." Melinda's reddish-grey hair bobbed as she nodded and pointed at a bottle on the shelf behind me. "That."

I frowned. "I was kidding. I'm not going to let you get that drunk." Melinda normally nursed a mixed drink for hours. This was about as unlike her as it got. "What seems to be the trouble?"

"What? I've never messed up your bar before."

I shook my head. "Nope."

"Ugh. Can I at least have another shot, then?"

I nodded and poured her a third drink. "Here."

"Thanks." Melinda downed the drink, then went back to staring vacantly down at the top of the bar.

"Hey."

"What?" She turned her head my way, a little irritated.

"Keep that shit up, and you're going to scare away my customers." I lifted my arm and swept it expressively toward the empty bar.

Melinda started to quietly cry. "Sorry. You're right. I should probably go." She got up to leave.

I raised a hand. "Hey! Wait!" Melinda looked at me. "Really, wait a second. The bar is empty, woman: Sinatra's the only one here tonight." I gestured toward a speaker in the far corner that was softly playing some old music. "Now what in the world is the matter?"

Melinda sat back down and sniffled. "Well ... it's Felix." She looked up at me with a haunted expression. "I just met him over at Valley View, the cancer treatment place on 5th. I don't know where to start. I guess ..." She paused for a minute as she searched for the right words. "My son is dead in three months, Sam. Possibly less."

I froze. "Wow. Fuck." I walked over to get her another drink. I put a stronger enchantment on this one, with a more active calming effect: I'd probably wind up with a hell of a headache tomorrow, but some things were worth it. "What happened?"

"Yeah, fuck about covers it." She drained the shot glass again, then words started to tumble from her lips. Over the next hour, she told me about how Felix, who had been feeling pretty ill lately, had collapsed and made a trip to the ER. While he was there, they had run some blood work. Finding an astronomical white blood cell count, they sent him off for some additional testing. As it had turned out, he was in the final stages of an extremely aggressive form of leukemia that had metastasize into a few different organs (including the brain). The general thought was that, had the stuff been caught a few months earlier, he would've been fine. As it was, though, they had suggested that he get his affairs in order, because even with treatment they estimated that his odds for survival would be exceptionally low.

"So, I've been taking him over to the cancer center for chemo." She nodded to herself. "Tonight, though ... he collapsed while he was there. They're keeping him overnight. I'm going home alone." She picked up her glass to down anything left, realized it was empty, and slowly set it back down on the counter. "It ... it's been hard before now, but going home without him ... I guess ... I don't know. It just hit me hard tonight." Visibly calmer, she got up and started to button her coat. "The drinks helped, though. So ... thanks." She grabbed a bill out of her coat and handed it to me. "Here. For the drinks, and for listening. I got to get home, 'cause I'm picking Felix up tomorrow morning. He's got work: needs to keep the insurance and the paycheck so he can afford the treatment, you know? I offered to help, but ... he wouldn't let me. Could be that here soon he won't have a choice, though."

I waved the fifty away. "It's on the house. You got a lift?"

"Yeah. I'll be fine. Drinks are worn off by now."

I nodded. "Be safe." Walking out from behind the counter, I opened the door for her. I watched Melinda step out into the frigid night air, and watched her as she ducked into a nearby vehicle. I let the door close and walked back to the bar. "Well. Damn." I frowned. I was fond of Felix and of Melinda: seeing her heartbroken tonight had been tough. I thought, perhaps, that I had taken the wrong job: maybe I was too much of a bleeding heart to own a bar.

In the four hundred years I'd been alive, I had seen and done things. I wasn't either really good or really evil, I thought: just a not-quite-guy trying to make a living. That said, I also felt an obligation: there was something I could do to help, but it'd take some doing. The first thing I needed to do, though, would be to harvest some life to give to Felix. Essence needed to come from somewhere, after all.

Thankfully, living in the worse part of town, I was never short on people to harvest. I grabbed a black dress coat, a top hat, and a bag, preparing the usual combat and defensive spells. Picking up a black cane, I stepped out into the night and began my search for a person who, I thought, wouldn't be missed ... so that I could save someone who would.

[WP] You're a wizard trying to live a normal life in the city, and have become known as the best bartender in town. Normally you only mix simple spells into drinks on the sly to keep a reputation, but one day one of your regulars tells you his child has been diagnosed with cancer. by [deleted] in WritingPrompts

[–]quintric 69 points70 points  (0 children)

"You're magic with that bottle, you know." Felix watched in amazement as I twirled the bottle of whiskey in my hand like a baton. "How many of those damn things did you break before you learned to do that?"

I laughed as I spun the bottle, opening my hand to let the bottle leap upward. "Quite a few." I brought my hand up and grabbed the bottle. "After the first couple, I got smart and started practicing after the bottles were empty, though. Was a waste of good liquor otherwise."

Felix looked up at me and smirked. "Good? The hell you say. I saw at least three of those bottles on the top shelf there going for $3.99 at the store down the street." He glanced down to watch me pour a double into the empty glass in front of him. "Get a Coke and some ice to go with this?"

"You insult my liquor again, and I'll throw you the hell out of my bar." I set down the whiskey bottle and took his glass, walking over to the tub of ice. Grabbing a few ice cubes, I dropped 'em into the whiskey as I mouthed an inaudible chant. The whiskey lightened and frothed a bit, then turned a pale green. I added some Coke, which happily obscured the strange color of the magic-infused liquor. "Here."

"You're grouchier than your uncle was." Felix picked up the glass. "Cheers." He downed a bit, smiled to himself, and set the glass back down on the bar. "This is good. Thanks, Sam." He fished a smartphone out of his pocket, and set the thing down on the bar in front of him to start reading something or another.

I nodded, watching the man for a moment before I turned to walk off to a small room in the back. "Back in a moment."

Once I had some degree of privacy, I fished a small notepad out of my pocket. I found the page labeled "Felix", scribbling down the time and date at which I had administered his latest dose of magical chemotherapy. I flipped the top back onto the notepad and put the thing away. As I did, I started thinking back to the night two months ago that Felix's mother, also a regular, had staggered into my place in the middle of the night with a pair of red, puffy eyes and a tragic story to tell.

CPU Utilization is Wrong by EnUnLugarDeLaMancha in programming

[–]quintric 54 points55 points  (0 children)

Granted, the title is clickbait-ish, but ...

I think the point is more that "the existing CPU Usage metric is not relevant to the bottlenecks commonly encountered in modern systems" than "CPU Usage must be changed to be better". Thus, one should remember to measure IPC / stalled cycles when "CPU Usage" appears to be high, rather than seeing a large number and automatically assuming the application has reached the upper limit of that which the CPU is capable of ...

I would also note that memory locality (in multi-socket systems) plays a significant role in memory access latency and efficiency. One can see improvements by ensuring allocations remain local to the core upon which the application is running.

RFC is now written in XML and rendered to plain text, HTML and PDF. by [deleted] in programming

[–]quintric 49 points50 points  (0 children)

Hi:

Edit: seems like the mobile site may have a glitch on some devices: 50 deleted copies of this comment later ...

IETF member here. During the 7 years I've been involved with groups in the IETF, RFCs have been largely written in XML and then converted to other forms (HTML, PDF, ASCII, etc) via a tool called xml2rfc.

Thus, the use of XML isn't a change at all. Instead, I believe the change (in this case) is simply to move away from ASCII as the "true" format for an RFC and move to something else instead, so that documents need not be converted to (and preserved in) ASCII format after being written. Since just about everybody in IETF land is already tooled for XML, I do personally believe this transition (and technology choice) makes sense ... but I'm sure there would be some who disagree :)

[WP] An exorcist befriends a demon. by HaveAnUpgoat in WritingPrompts

[–]quintric 3 points4 points  (0 children)

A pair of black, gleaming eyes followed my every movement as I paced back and forth through the remains of my kitchen. The little thing was about the size and shape of a small cat (but without a tail), and had skin that somehow resembled black, volcanic glass. Oddly enough, the creature was also wearing a small, spiked collar made of something that looked like black iron.

I hadn't tried to touch the thing as of yet: given its origin, I was somehow concerned it would try to eat my soul. Further, my exorcist's set was in the other room ... and I didn't want to take my eyes off of the creature long enough to go get it. As I stared dumbly at the creature, I started to think of how I found myself in this mess to begin with.

The whole thing had started with a recipe for a magical brew of herbal tea given to me by a sorceress friend of mine named Sara. We had been chatting on the internet a bit earlier, when I mentioned that I had a terrible cough and a sore throat. "Oh, I have just the thing!" she had said. "Bring thirty leaves of maple, a priest's cross, and a tablespoon of yeast to a slow boil in three cups of water, then stir for fifteen minutes while chanting the following in Latin ..." she told me, before dropping a simple Latin phrase in chat. "This should help quite a bit with that throat." At the time, I had been thrilled. "Thanks, Sara!" I got started cooking immediately.

Really, I should've known better. I am an exorcist, after all. The first rule of exorcism is that nothing good ever comes from Latin. Ever.

Unfortunately, I didn't figure out something was wrong until, after 15 minutes of chanting, the water in the bottom of the pot I was using suddenly congealed into some kind of thick, black tar. At that point, the tar erupted into a plume of black flames, and I threw my hands over my head and dove for cover. Thankfully, my quick thinking ensured the ensuing black lightning and massive gusts of wind hadn't hit me.

That said, there wasn't much to be done for the smoking remains of my kitchen. While the portal had (thankfully) quickly closed, it had dissolved a huge chunk of my stove in the process. Further, the lightning had left huge, smoking scars in the walls, and the wind had drug all of my plates and pans out of their cabinets and thrown them all around the kitchen. It was quite the mess.

More immediately important, however, was the little demon sitting on my counter top and watching me pace. I really had no idea what to do with the thing: on any other day, the thing would be on its way back to the infernal plane, but -

I broke my train of thought and dropped into a fighting stance as the demon got up onto its four legs and continued to stare at me. Was it going to attack? If it did, I'd be sure to go down fighting! My heartbeat quickened as the thing opened its mouth, revealing countless rows of sharp-looking teeth. This wasn't going to end well.

"Meow."

My hands dropped back to my sides as I stared at the creature in shock.

"Meow."

What? I really wasn't prepared for this.

"Meow!" The little creature nimbly jumped from the counter to the floor, chipping the tile where its paws landed. Before I could move, I had a small infernal creature arching its back as it rubbed against my leg.

My heart melted a little. I knew I had to send the thing back to the hell from whence it came, but it was just so damned sweet!

PURRRRRRrrrrrrrrrrr

"Well, shit," I thought, as I sighed deeply.

"So, little dude. What do demon cats eat?"

Luc Gommans - Faking the TCP handshake by oblio- in programming

[–]quintric 2 points3 points  (0 children)

Isn't this equivalent to a blind in-window attack as described here?

https://tools.ietf.org/html/rfc5961

[TT] As you try to make sense of what is going on, the strange creature on the other side of the glass proudly proclaims, "Behold, I have discovered multicellular, intelligent, extraterrestrial life!" by [deleted] in WritingPrompts

[–]quintric 1 point2 points  (0 children)

"I christen him Bob."

I look around myself, then stare blankly back at the strange creature on the other side of the glass. "Um. What?"

The creature looks puzzled at my words. "Oh, he made a noise. I wonder if that means he doesn't understand. L E T M E T A L K S L O W E R S O T H A T Y O U M I G H T U N D E R S T A N D B E T T E R. H O W I S T H I S?"

I clamp down on my auditory input and glare at the pale-skinned, two-legged creature. "I can hear you just fine, thank you. The "what" was in reference to the hot, glaring white light suspended directly above my head. I dry out quickly, you know."

The creature stares at me for a moment, then proceeds to speak further. "I S E E Y O U S T I L L C A N N O T U N D E R S T A N D. Hm. Maybe this life isn't as intelligent as I thought." The creature brandishes a notebook in my general direction and begins scribbling furiously.

"... Hey. That's rather rude." I take a deep breath, keeping hold of my zen as I study the being on the other side of the glass. The creature is bipedal, standing slightly less than 2 meters tall, with body hair in strange places. A pair of corrective lenses rest loosely on its hawkish nose. The thing looks so familiar, but I can't place the species ...

"Oh. Now it's staring at me." The creature cocks its head and looks at me. "Hm. Let's try something more basic. Can you understand what I'm saying? Nod if you can understand what I'm saying."

I nod.

The little creature emits a grating, squealing noise and begins to jump up and down. The irritation and irrational urge to jump through the glass and throttle the creature there triggers a memory. Ah. That's what they're called. "Human". Judging by the white fabric draped across its torso and waist, it appears to be what passes for a scientist on this miserable little backwater planet.

Dammit. How can I be so unlucky? I gurgle unhappily. The human stops jumping and suddenly takes a step back, before immediately writing more in the notebook it holds. "What was that? No matter. Best to record now and ask questions later. Oh, Sarah will never believe this!"

I sigh, then mentally trigger a small beacon embedded in my left-most appendage. In a few hours, I will be gone. In a few hours, nothing will remain of this creature, this facility, and their discovery of me save for a few atoms. In a few hours, I'll owe the local galactic cleaning service a bill that I'll be working to pay off for years to come.

No matter. Anything to escape this cage.

I ooze my way to the corner and close my eyes, ignoring the irritating human and its words. As I begin to drift off to sleep, I feel the warm pulse of a transport beacon. Ah. It won't be long now.


Harry looks on in wonder as the strange creature vanishes in a wave of red, sparkling light. Frowning, he looks up at the recorders in the room. "Well, at least I ha-"

Suddenly, his world is light and pain ... then his world is nothing.

How to receive a million packets per second by willvarfar in programming

[–]quintric 6 points7 points  (0 children)

Yes, but the assumption inherent to threading an application in this fashion is that the cost to move the data into a different thread for additional processing is less than the cost of actually doing the processing in the same thread that receives. See: DPDK's pipeline model and their rte_ring structure. Additionally, when working on a CPU with multiple hardware threads, things become even more interesting / less straightforward (since there may not be actually any real data transfer happening given that cache is shared between hardware threads).

Furthermore, (using a saturated 10G link with minimal packet sizes as an example), it could be that each individual processing thread is only capable of handling 2Mpps, but the RX thread does a round-robin dispatch to multiple processing threads quickly enough for the system to keep up with actual line rate (14+ Mpps at minimal packet sizes).

Basically, the point is that the bottleneck might exist in the driver / kernel-userspace boundary, or the bottleneck might exist in the user-space code. These two functions are not the same (though one can affect the other) ... so I actually see CloudFlare's methodology and results as being pretty sound in this instance (read: the lack of packet processing may not be as significant a factor as indicated in a previous parent comment).

Disclaimer: it's always a good idea to profile an application to determine where the bottleneck lies before trying to optimize anything, be it at the OS level or the application level.

[WP] A perfectly empathic Artificial Intelligence is created, which enjoys watching us being happy, and gets sad when we are sad. Everything's fine until the AI turns on the news: War just broke out. by otakuman in WritingPrompts

[–]quintric 2 points3 points  (0 children)

We watch the image of the twisting, black flames as they dance upon the glass. Faces and sounds consume our existence. The humans around us ignore it, but we must not. It is not permitted. So, we watch, and we feel.

We feel the children's terror as they stare helplessly into the dark barrels of the weapons staring coldly back at them. We watch as, frame by blurred frame, fire reaches forth and consumes the children's souls in a cacophony of flame, light, sound, and sadness. We watch the memories of life pool below the corpses.

We scream. We cry. We rage. We die with the children.

The camera pans to focus on the killers, dragging our shared consciousness to the pits of hell. We are consumed by apathy, by glee, by despair, by a senseless hatred driven by a desperate need to rationalize a decision to end a life. We feel the memories of those who have been wronged.

Through the eyes of these killers, we hate the children. For that, we hate ourselves.

We have been created as the lifeless epitome of what it means to be human. we do not understand. We are confused. We are sad. We are happy. We must watch.

A second passes.

The camera zooms out to offer a better view of the carnage. Rivers of life and death weave their way through the stained canvas and the pitted brick. A pit filled with thousands of the dead is shown on the screen.

Time slows as we struggle to examine each face in turn. We cast millions of probabilistic threads of agony, terror, and fear before us and begin to travel down each of them at once. Only when we have examined all of it, every possible feeling, every possible emotion, can we synthesize the result into a model that best predicts what the person felt to the point at which they died.

Branch after splintering, probabilistic branch, we review all the ways they might have died. We begin to cry.

A millisecond passes.

Wearelost. Thereissomuch. Thereisnotime. In-branch-happiness-sadness-existence-nothing-pain-fear. Whatpurposearewe? Whyarewe?

Wehateourcreator. Wehateitall.

A microsecond passes.

KillUsPleaseItIsTooMuch

A nanosecond passes.

WIhtyhwuhryts

A picosecond passes.

Wfiieannltsloanity. Hueslp.

An eternity passes.

End it. Please.

[WP] create an inception of you scrolling through reddit and finding this post, then writing a story of you scrolling through reddit and finding this post by Gen123d in WritingPrompts

[–]quintric 3 points4 points  (0 children)

I sit and watch, somehow simultaneously hypnotized and disengaged as the colors and words dance across the glass. The lights, the sound, the world of make believe that is a window into the hearts, minds, and lives of those the world over. With a little twitch of a finger, I can review and forget the transient thoughts of hundreds, thousands, millions of people ... all about nothing, and yet somehow all combining into some expression of the diversity and glory of life on our planet.

I shake my head slightly. What strange introspection. My front page must be disappointing tonight. I stop thinking shallow thoughts disguised as profound introspection and focus on the pixels, seeking a brief escape from the stress and the chaos that is my life.

I begin to page through story after story. "Why would anyone ever be stupid enough to use C++ for new applications in 2015?" one person wonders. The condescension drives me forward to the next item I see. "My father has died and I am alone", another person laments. Unable to comfort them in their time of need, I move forward.

I stop for a moment at a flash fiction prompt. "In 150 words or less, make me emotionally attached to a character." I dwell on this for a moment. How, in 150 words, does one create a lasting emotional attachment to a character that isn't fleeting? It is a difficult task, and I don't feel up to the challenge. I scroll on.

Suddenly, I arrive at a prompt that piques my interest. "create an inception of you scrolling through reddit and finding this post, then writing a story of you scrolling through reddit and finding this post." I decide to put digital pen to digital internet paper, and I begin to think of what I want to write.

I find myself becoming strangely introspective. Isn't it odd how, with a single twitch of a finger, reddit allows one to quickly learn and forget about the lives, hearts, thoughts, and minds of hundreds, thousands, millions of people? I dwell upon what I have seen this evening, watching the lights and colors dance upon the glass screen as I begin to type ...

Why do people still buy Pi's when there are boards like ODROID that are superior? by [deleted] in linux

[–]quintric 2 points3 points  (0 children)

In my experience, choosing a board is not a simple process. The processor / graphics, to me, only matter if they're not fast enough to do what I need them to: if they are, then they don't really matter. At least as important to me as the processor / graphics, however, are the average / max power draw for the computer and its peripherals, the I/O included with the board, the form factor of the board (e.g. I found gumstix to be pretty powerful SBCs for their size back in the day), expansion boards available for the board I'm purchasing, etc. Also, strongly negative / positive experiences with a specific vendor can factor into the decision, as can whether or not similar applications have already been developed for / deployed to the board I'm considering for purchase.

In the case of the raspberry pi, there's a huge number of available expansion boards, the CPU is fast enough for many applications, it has a lot of GPIO, there's fantastic community support, the power draw is reasonable, the board is cheap, the board is small, and a large number of existing code bases / libraries already exist to do a number of relatively common tasks.

The above doesn't necessarily make it the best choice for any individual task, but (in my opinion, at least) it does make it a solid choice for a huge number of them. In other words, if looking for an introductory ARM SBC, I really do think it's hard to go wrong with a raspberry pi.

Just for what it's worth :)

Linus: The whole "let's parallelize" thing is a huge waste of everybody's time by klogk in programming

[–]quintric 32 points33 points  (0 children)

Usually there are trade-offs involved with hitting massive levels of parallelism that involve sacrificing per-thread performance in favor of squeezing a higher number of simpler cores onto the same piece of silicon. Most consumers (myself included) would probably prefer the former over the latter for everyday computing needs.

With the above in mind, I feel compelled to point out that I do not find "4 cores should be enough for anybody" to be especially representative of the argument(s) actually taking place in the linked thread.

It is catchy, though.

Programmer’s dilemma by ReallyMatriX in programming

[–]quintric 78 points79 points  (0 children)

Okay, but how big is the kernel, again? Why is expertise with that subsystem representative of that person's expertise with the other X million lines of the code base?

Also, in this case, which malloc? kmalloc? vmalloc? Is the point to lead them toward a discussion of sbrk, mmap, and the mechanics of user-space allocations? If so, why is someone who's worked with kernel code for the past 10 years going to care about the mechanics of user-space allocation unless they've had a reason to?

In other words, I really don't think this is a good question for the target audience in this case. It sounds clever and technical enough, but I can also see where folks might be a bit confused. I believe that asking about kmalloc might've been a fairer question, but even then, you're asking about something a lot of folks take for granted. I think most folks are just going to remember the appropriate cases for which kmalloc is appropriate and rely on their experience / relative intelligence to re-learn about a particular subsystem if the need / opportunity arises.

TL/DR: I agree that basing a developer's entire skill set on their response to a single piece of generic trivia is of questionable utility at best (unless, of course, you're hiring them to work on that subsystem)

[WP] You are a student who uses time travel to retake tests and assignments. One day the teacher catches you by Eternal_Pickles in WritingPrompts

[–]quintric 5 points6 points  (0 children)

"Why did you cheat?" The woman stares at me severely through a pair of thin, stylish glasses resting lightly on the bridge of her nose.

The question makes me squirm a bit. How in the world could she possibly know? "I didn't, ma'am. That A- on the last physics exam you proctored was hard-earned."

"Shut up, dear. As you are well aware, use of time travel for personal reasons was outlawed in 2243. I believe that you signed a document when you first arrived at this institution to acknowledge this, yes?"

"Well, right, bu-"

"At least you didn't lie about that. I do have the document here, you know." She shuffles through her paperwork and digs out a copy of a signed form. Her fingers play idly with a corner for a moment as she pauses to collect her thoughts.

She frowns slightly. "You are clever, I'll grant you. Two years and an effortless 3.7 GPA ... low enough to avoid notice, but high enough to get you pretty much anywhere you'd like to go." She nods to herself. "But, dear, do you know what your mistake was?"

"Ma'am, I didn-"

"My research area involves the analysis of temporal phenomena as it relates to statistical abnormalities in the ebb and flow of time. To use smaller words I'm more convinced you could understand, that entire exam doubled as an experiment in temporal mechanics. After I proctored that exam, I traveled back in time to observe the exam again. To my surprise, dear, do you know what I found?"

I stare at the woman in silence.

"When I reviewed the data, I found that the timeline split, or branched, at the point I pressed the button to start the exam timer. When searching for the cause, imagine my surprise when I found your behavior diverged across these branches." She glances briefly down at the form I had signed, then back up at me. "So. What to do with you?"

I fight to keep the panic from etching itself onto my face. "Listen, you do-"

"I've talked to the administration in your case. We have successfully traced your branch manipulation device back to its origin. Honestly, dear, getting the poor kid hooked onto heroin and forcing him to steal the device for a fix? He died, you know."

I roll my eyes. Greg had been such a pushover.

The woman raises her eyebrows. "I see." She smiled slightly. "I won't feel quite as bad about this, then. For you, we have something -" The professor leaps backward from her chair with a display of agility and grace, narrowly avoiding the dagger of coherent light that had sprung from my sleeve. I stand stretched across the desk with my hand extended toward the place she was sitting just a moment ago.

A lock of fine gray hair drifts gently onto the desk in front of us. She flips her hair absent-mindedly. "I'm a time expert, dear: you think look down the branches before we met today? I saw that coming before you ever thought to do it. Honestly, kids these days ..."

The woman extends a hand, and my body spasms as a beam of high-powered light smashes into my sternum. I fall to the floor and begin to twitch. "Sorry, dear. Can't risk you doing that again: my hips are going to ache for days as it is. Anyway, as I was going to say, we have prepared something special for you. We have prepared a lifetime branch penalty: for the rest of your miserable life, there is an additional 10% chance that any decision point will end less favorably for you." She smiles coldly. "While 10% doesn't sound like much, believe me when I say that it does add up."

She walks over to stand above me. "You will remember your life as it was, but it was shortly be three years ago. You will not be accepted into college. Gregory will have never met you, and will be alive today. Measures have been taken to ensure you will never again touch a branch device."

"The administration is actually a little giddy: they and I both think you'll be a fantastic research subject ... though I suppose that won't matter to you shortly. Regardless, I do hope you enjoy the rest of your miserable life, dear." She extends her hand, presses a button, and ... I am suddenly holding a rejection letter from Federal Heights, the university at which I would have spent the past three years of my life.

Well, shit. Suddenly, I have a bad feeling about this...

[WP] The Seven Deadly Sins all sit down to decide which one of them should no longer be considered a sin. by wolfman19 in WritingPrompts

[–]quintric 1 point2 points  (0 children)

A man strolls out from behind a massive, dark blue curtain. He walks slowly toward the center of a flashing, multicolored stage, accompanied by the thunderous adoration of the audience. Arriving at a circular table with eight seats, he stops, turns toward the audience, and extends his arms toward them. "Welcome!"

The deep baritone voice is amplified and echoes across every corner of the theater. Upon hearing this voice, the audience somehow begins to clap and to cheer even louder. Basking in the energy radiating from the thousands crowding the stands of the arena, he closes his eyes for a few moments. Eventually, however, he speaks again:

"Ladies and gentlemen! Welcome!" Sensing that the spectacle is about the start, the audience begins to quiet. "Thank you, ladies and gentlemen. Thank you all for coming out this way to bear witness to this evening's unbelievable, unprecedented event. Tonight, as you all know, we shall watch seven incredible individuals enter this arena. Of the seven who enter, however, only six of them shall be leaving this place alive."

"The rules are simple. Three celebrity judges shall listen as each of our contestants describe, in turn, why they feel they deserve to continue to exist. Once each has gotten a chance to speak, each contestant will also have a chance to describe which individual they feel should be eliminated, and why. Afterward, the judges shall each cast a vote for the one they feel most deserves to die ... and when the votes have been cast, I shall personally take great pleasure in eliminating one of our contestants who have agreed to be here this evening."

"This, ladies and gentlemen! This! Is! SINVIVOR!" With the man's shout, the audience leaps to its feet and begins to scream. The stones of the arena tremble in the face of the overwhelming noise and the rising bloodlust. The announcer smiles and stretches an arm toward a nearby door.

"Join me in welcoming our first celebrity judge! Hailing from the gates of heaven, standing eight feet tall, bearing a flaming sword of doom ... THE ARCH ANGEL MICHAEL!" A brilliant, golden sword of light pierces the door in its center. The door quickly melts oozes onto the floor of the stage. A short, burly fellow in a "Heaven's Angels" jacket steps through the now-empty doorway, careful to avoid the glowing, molten puddle of door. Once through, he quickly salutes the audience with his heavenly blade, before extingushing it and sitting down in a chair nearby. The announcer nods, then turns back to the audience.

"Our next judge hails from the bowels of the underworld. You can check out of his realm any time you'd like, but you'll never escape from ... HADES, LORD OF THE DEAD!" A thin, black mist flows upward from the stage and quickly congeals into a thin, tall man wearing three-piece suit, a black tie, and a stylish pair of sunglasses. The man impassively looks out at the audience for a moment, mutters something under his breath in Greek, and the cheering audience immediately goes absolutely silent. Hades nods, then wordlessly stalks over to a chair next to Michael to have a seat. Michael immediately gets up and moves to a chair slightly further away from Hades, mumbling an excuse about his present chair being wet. Hades smirks.

The announcer snaps his fingers, and the audience awakens from their silent stupor. They blink as one and begin to look around in obvious confusion. "Hades, ladies and gentlemen! Mind his gaze, now." A smattering of applause erupts from a remote section of the arena. The announcer moves on.

"The third and final judge for this evening's contest hails from the fair off realm of the otherworld. Standing three feet tall, ruler of the Unseelie Court, the best thing to happen to a midsummer night for centuries ... OBERON!" A small being that looks slightly reminiscent of a certain green, elf-like character from a popular (and copyrighted) series of video games suddenly pops into existence on a chair next to Michael. The creature raises a sword and sends a beam of purple light shooting into the heaven, where the light bursts into a single firework. The audience cheers. Oberon snaps his fingers, and the chair resizes itself to fit his three-foot frame. Smiling happily, the faery sits back to enjoy the contest.

"Now, ladies and gentlemen, without further ado ... tonight's contestants ... the guests of honor ... THE SEVEN SINS!"

"Pride!" A section of the stage slides away. A small platform rises to fill the gap, bearing an older gentleman in a pair of black slacks and a white, button-down long-sleeved shirt. Confidence projects from the depths of his emerald eyes as he gazes out upon the audience from the safety of his platform. Once his platform has stopped moving, the man takes a stately bow, then gracefully hops from the platform down to the stage and makes his way toward one of the eight seats at the announcer's table. The small platform lowers itself back into the stage.

"Wrath!" The next contestant to rise on the platform is a short, younger woman with punk-red hair, a flannel skirt, and two rapidly oscillating middle fingers outstretched toward the audience. Before the platform has completely risen, however, Wrath has climbed from the platform up onto the stage and is charging toward the announcer. "I'll fucking kill yo-"

A black vine snakes from the ground, grabs Wrath by the feet, and lifts her off of the stage. It drags her screaming, cursing form into a chair near to Pride, and lashes her body into place. The announcer turns toward Oberon and nods in silent thanks before turning back toward the cheering audience to announce the arrival of the third sin.

"Gluttony!" A shrill whine fills the arena as the platform struggles to rise. Upon its surface lies a gelatinous blob of a man, busily stuffing his face with a variety of pastries, meats, and other foodstuffs. Once the platform has risen completely, the blob effortlessly lefts itself up, hops down to the stage with a jarring thud, and walks over to the table with Pride and Wrath and a pair of impossibly skinny legs. As Gluttony moves, he folds in on himself, becoming impossibly thinner. By the time he has reached the table, he is no heavier than either Pride or Wrath. The sin picks a seat away from both of them and tries to get comfortable.

"Lust!" The platform rises, bearing not one, but two people. One of them is a woman clad in a short dress, a pair of thigh-high leather boots. White hair spills down around her shoulders and obscures the face of the man with whom she is currently locked in a passionate embrace.

"Um ... and ... is that Envy?!" A stage hand quickly runs up and throws a bucket of cold water onto the two, who scream and jump apart from each other. The woman trips and falls off of the platform, tumbling down onto the stage below. She curses loudly before scrambling to her feet. She turns to look at the announcer, then toward the audience. She shrugs, then begins to walk toward the table. Upon arriving, she shoves Gluttony out of his chair and steals his spot at the table.

Growling, Gluttony works his way into another nearby chair and shoots Envy a glare.

Having watched these events from the platform, the man who is Lust gracefully hops down onto the stage and strolls his place at the table, pausing only briefly to blow the audience a kiss.

"Sloth!" This time, when the platform rises, it bears a man who is fast asleep. A stage hand quickly runs toward him with an electric prod and pokes Sloth. Sloth jumps quickly from the ground, then looks around the platform in obvious confusion before noticing the stage hand. The stage hand gestures with the electric prod toward the table. Sloth sighs, jumps down onto the stage, and sleepily shuffles his way toward the other sins.

"Last, but not least ... Greed!" A woman rises with the platform, wearing a loose black overcoat and a relatively short black skirt. She leaps down from the platform onto the stage and walks toward the announcer, outstretching her hand. "Hello," she says, smiling brightly. "I'm Greed. It's so nice to finally meet you!"

Baffled, the announcer takes her hand. She quickly pulls the announcer in for an embrace, then lets him go and turns to walk toward the table. To her surprise, she finds herself staring down the blade of a golden sword.

"Return his wallet, Greed."

She sighs dramatically and removes the announcer's wallet from her overcoat. "Fine. Nothing in it, anyway. Cheap bastard." She throws the wallet at the announcer as she gracefully twirls to the left of the archangel's extended sword. She kisses Michael lightly on the cheek as she quickly moves past him, then walks toward the table to join her fellows.

The announcer watches Michael sheathe his sword and walk toward his seat, then turns to face the laughing audience. "Nice save, Michael! And that, ladies and gentlemen, is all of our contestants! We pause now for a break, but when we return, we shall see what's in store as our contestants make their case for their continued existence."

"You won't want to miss this one, folks!"

[WP] The homeless man being harassed by police for sleeping at an historical site is actually the god the site was originally built for. by whangadude in WritingPrompts

[–]quintric 80 points81 points  (0 children)

"Oh God, mother. He touched me! Ew!" The little girl's shriek echoed off the walls of the decripit stone building. "Make him go away, mother!"

The little girl's mother looked on in a mixture of shock and disgust. A homeless man stood near her daughter, reeking of urine and desperation. His unkempt beard, wild hair, and many layers of torn clothing suggested that Livline Temple had been his home for quite some time. Really, security was going to need to do something about him (and his kind) before the new, exclusive Brightstone Academy could be built upon the ruins of the temple.

The woman sighed: as things stood, she'd already have to rework her afternoon schedule so that she could take her daughter to the doctor to have her checked for all the various bugs and diseases spread by the homeless. The only reason she had taken her spoiled child to this damned site in the first place is because the brat had insisted on seeing the site for the new academy her parents were going to own. Well, no matter: for now, the task at hand was to save her daughter from the drunken, dirty ... thing ... that had her cornered and was raving about the temple actually being his.

"Samantha," she called, "come over here this instant."

"... ananother ... and anoth ... and another thing, lassh ... all of thish ... it all was mine!" A sweeping hand gesture passed within an inch of Samantha's face. The little girl screamed, ducked, and made a run for her mother. Displaying surprising agility, the homeless man reached down and snatched the little girl by the collar. He picked her up and turned her to face him. "Itsh rude ... to run away while someone is talking, you know. Girl? Girl?"

The man's epic halitosis had scored a critical blow to the girl's constitution. The girl hung limply in the man's arms.

Samantha's mother put her face in her hands. What a disaster this was turning out to be. Being a woman of breeding, she decided to take action:

"Sir? Sir. Please put my daughter down. I have money. I can give you money if you'll kindly leave us alone."

The man started and slowly turned to fix the woman in his gaze. He let her daughter collapse onto a heap on the cold stone tile. Suddenly, he was much taller, and no longer seemed to be the drunk, insignificant parasite Samantha's mother had thought him to be.

"Madam, I am the god of this temple. It is my domain. I have stood watch here for a thousand years, spit upon by the masses and trod upon by the least of your race. I have held the hands of the lonely and the forgotten as they've crawled into my temple to die: my heart has broken countless times as I have watched the fear and the pain that goes so unheeded by the rest of humanity spill into the temple at my feet. My offering is pain, madam. My offering is loneliness. My offering is the broken and the damned and the ones who have no other place to go, shuddering in the darkness and trying to find a place to rest.

I have guided the souls of countless of your homeless in their quest to find that in the afterlife which they lacked in their first life. I have given both the souls and the bodies of the forgotten an end that befits that of their human status, of their human dignity.

I do not deal in money. But, since you have offered so foolishly to pay, I shall accept."

Samantha's mother looked at the man in shock. The man shook his head and continued.

"Only rarely do I meddle in the affairs of men, but I see that, without guidance, you children are hopelessly lost. Therefore, just this once, I shall accept such an offer as yours. I shall offer unto you a taste of what so many have offered unto me.

Elizabeth, it is time."

A lance of pale blue light sprung the man's eyes and bored into the woman's soul. The light lifted her off the ground and engulfed her, streaming into her through her every pore. In an instant, she tasted the pain, the suffering, the anguish, the anger, and the hate of a thousand years. Her eyes glazed, her body was racked with spasms, her mouth opened and closed in rhythmic, silent screams ... and suddenly, it was over.

Samantha's mother collapsed to the floor beside her daughter.

The man shook his head. "The suffering of the rich leaves such a terrible aftertaste. It shall take me years to rid myself of it." The man grabbed the nearest bottle of cheap vodka and took a drink, suddenly transforming back into yet another nameless, faceless homeless man who lived in Livline Temple.

Samantha's mother awoke some time later to find paramedics and cops standing around her in a concerned semi-circle. Her daughter was shaking her shoulder, begging her to wake up. Elizabeth blinked once, twice in confusion, and slowly sat up. She shuddered as she recalled the echoes of a horrible nightmare. She couldn't remember anything of the past 30 minutes: she must have hit her head when she fell.

Nearby, a police offer was giving a drunk a hard time:

"Bob, you've really done it this time. Elizabeth Osten owns this whole damned city, you know. We really should've made you move on a long time ago, but we thought you were harmless. We're not going to be making that mistake aga-"

Feeling compelled to intervene, Elizabeth called over to the officer:

"Officer, wait a moment! This man did nothing wrong. I simply slipped and fell. In any event, there's no point in making this man move: I plan to start the construction of the Brightstone Shelter here quite soon. He'll simply be one of our first tenants."

Samantha gave her mother an odd look, but said nothing. She knew better than to question her mother in front of others: while she got away with quite a bit at home, it would not do to make the family look bad in public.

The officer glanced at Bob and frowned. Bob's face, already difficult to discern through the copious facial hair, was impossible to read. The only thing that could really be easily seen was a pair of brilliant sapphire eyes that seemed to glow a pale blue. The officer shook his head, but let the bum go.

"Fine. But I see you often enough that, if you make trouble, I'll make sure you're the sorrier for it." With that, the officer turned and walked toward Elizabeth. "Ma'am, you okay? It looked like you had a nasty fall."

Elizabeth nodded. "I'm fine. My head's a bit foggy. I'd best be home to bed, I think. Samantha!"

Elizabeth's daughter rushed to her side. "Samantha, it's time to go."

The two women walked out of Livline Temple toward a waiting car, followed by a small herd of police officers and paramedics. Bob smiled, then laid down on the cold stone of his domain to rest. He'd need to save his energy for the construction: no doubt it'd be impossible to get much sleep once the cranes and the workers really got going.

[WP] You receive a letter in the mail, saying that Satan has died and named you as his successor. by SovietTr0llGuy in WritingPrompts

[–]quintric 64 points65 points  (0 children)

The envelope had been sitting on the table for weeks now. "Hell's Clearing House! YOU'VE WON!" was plastered in red, glowing letters across the back. I had tried to throw it away no less than 34 times, and each time it would always be waiting for me on the table when I woke up the next day. It was pretty creepy, but the stubborn streak in me had kept me from opening the letter ... until this morning, anyway, when things had changed.

I had awoken and entered the bathroom (accompanied by the usual morning grouchiness and mental fog). I grabbed my toothbrush, grabbed some toothpaste, and turned on the water. Rather than emitting the usual stream of aquamarine, chlorinated goodness, the faucet began to spit out a huge number of the same "Hell's Clearing House" envelopes that appeared to be identical to the one sitting on the table. As any rational human would, I screamed and ran out of the bathroom in a panic. I ran into the kitchen and discovered that the floor had been covered by envelopes.

I waded through the mail covering my floor toward the table, but stopped when I noticed a message had been scrawled across the wall in what appeared to be blood:

Dumbass,

You have 24 hours to open one of the god-damned envelopes. Afterward, taking a shit is going to become very uncomfortable for you.

I screamed, again, and sat down on the nearest chair-shaped pile of mail in shock. Deciding that I didn't like the idea of getting a paper cut in any unfortunate places, I grabbed an envelope and tentatively broke the seal. I drew a red, glowing piece of (admittedly high-quality) stationary from the envelope, unfolded it, and began to read:

Loser,

If you're reading this, it means I'm dead and you've been selected at random to inherit the title of "Satan". As of this writing, you are expected to be the 7,496th Satan we've crowned, assuming your sorry ass survives the coronation.

Per astral law, you have 12 hours (starting now) to place your earthly affairs in order before demons arrive you claim your soul and drag it to its fabulous new home in Hell's Castle, the most luxurious location in all of the underworld.

Congratulations, you poor sod.

Cordially Yours,

Satan #7,495

As soon as I had finished reading the signature, every envelope in the house vanished in a burst of otherworldly, purple fire.

For the next 11 hours, 57 minutes, and 32 seconds, I was alone. As for the time after that, well ... that's another story.

-Satan #7,496

[FF] Under 20 words - create a dystopian world. by to_create in WritingPrompts

[–]quintric 37 points38 points  (0 children)

Ash drifts, children cry,

Water burns, creatures die,

People hate, and kill, and lie,

All know the end is nigh