Something different on my blog now, my submission for this week’s Riddler Classic challenge from Fivethirtyeight.com. If you don’t like math or puzzles, feel free to scroll down and ignore this.
The challenge is as follows:
There are N wires leading from the top of a bell tower down to the ground floor. But as wires tend to do, these have become hopelessly tangled. Good thing the wires on the top floor are all labeled, from 1 to N. The wires on the bottom, however, are not. (In retrospect, somebody probably should have anticipated a tangle or two.)
You need to figure out which ground-floor wire’s end corresponds to which top-floor wire’s end. (The bulk of the wiring is hidden behind a wall, so you can’t simply untangle them.) On the ground floor, you can tie two wire ends together, and you can tie as many of these pairs as you like. You can then walk to the top floor and use a circuit detector to check whether any two of the wires at the top of the tower are connected or not. Tying two wire ends together and using the circuit detector are both very quick and easy, but this is an old tower and there is no elevator. So, bring your pedometer.
What is the smallest number of trips to the top of the tower you need to take in order to correctly label all the wires on the bottom?
I assume that the circuit breaker works as follows: We connect it to two wires at the top, and it tells us, yes or no, if the two are connected. Since it’s such a quick thing to do, we can always see for all pairs of wires which are connected whenever we’re at the top floor.
My solution is that it only requires two trips to the top of the tower to match the wires. The way to do this is as follows:
Let us label the wires at the top as T1, T2,… , TN, and the wires at the bottom as B1, B2, … ,BN. For an example, let us say N = 8, and the wires are matched as follows:
We start by matching the wires at the bottom, the B-wires, in the first round as follows: We connect B1 to B2, B3 to B4, B5 to B6, etc. If N is odd, the last wire is not connected. If N is even we do not match the last two wires. Here is an example
.
(Yes, my pictures were made in Microsoft Paint. It was convenient)
Now we run upstairs, and see which T-wires are connected to which other T-wires, and draw a graph of it, as follows for our example:
We run downstairs again, and disconnect all the wires. Next, we connect the wires as follows: We leave B1 disconnected, and connect B2 to B3, B4 to B5, etc. If N is odd, we connect B{N-1) to BN, and if N is even, we again leave BN unconnected. In the following picture, the connections in the first round are marked blue, and the connections in the second round as red.
Now we run upstairs and use the circuit breaker on all the wires again, and draw the result in our graph:
Notice we have created a chain or path of sorts. It starts with the wire B1 that was only connected during the first round (blue) and ends with the wire that was only connected during the second round (BN or B{N-1}, depending on if N was odd or even). If N was even, BN and thus, its corresponding T wire, will never be connected, so we can match them. If we ‘untangle’ the chain on our graph, we will get a similar picture as the B wires, and can thus match the wires:
This works for any N larger than 2. If N is odd, the last, unconnected wire simply disappears without impacting the matching of the other wires.
I’ve got tons of feels about Yurippe. Because really, above all else, her story is the lifeblood of Angel Beats! and the strongest element to come from the series. And I’d like to talk some about the most intricate parts of said story, in particular how her theme song, the ED credits theme titled “Brave Song”, factors in and sets the tone for Yurippe’s entire journey.
To make what was since day one apparent to me apparent here…Yurippe is Lucifer. Yes, she is Lucifer, not literally so, but she’s very much a Luciferian figure in this tale, someone with a monumental sense of pride, strong feelings of passion, lots of charisma, and the balls to try and take on a being so high above her level. She’s decided that God is an unfair tyrant who should pay the highest penalty for allowing the life He created to go to shit and should be rendered obsolete to eternity going forward so that humanity can have all the power to decide everything for itself, as though that would put an end to all pain and misery in the world. Half the time Yurippe doesn’t even bother to disguise her petty vendetta as anything more noble, outright admitting she wants to take personal revenge on God for allowing her siblings to be unfairly murdered, allowing her life to take such a downturn, and seemingly sticking her in Purgatory after said life had come to an untimely end. Her main adversary is a girl she names “Angel” since she believes her to be an agent of God. She puts “Rebelling Against God” right there on the SSS logo. This girl’s a fall from grace all unto herself. She is a fiend.
“Brave Song” thus has this very somber, melancholic, downright unnerving feeling to it despite having the presentation of being a heroic anthem. The image the song is always set to is Yurippe standing alone in a tranquil, composed state as all of her followers in the SSS Battlefront appear behind her one by one. And the lyrics speak of walking alone far ahead of everyone else, being strong and unafraid, a nihilistic view of life and death, fighting on and never showing tears. This is a villain song that thinks it’s a hero song, fitting the character.
Yurippe’s trajectory really starts to change after the fight with Naoi. After she’d momentarily been confronted by an illusion of the siblings whose killing she refuses to let go as a burden on her, after witnessing Otonashi solve the problem through asserting that all lives have justification and value, and showing simple compassion and empathy towards Naoi. She’s not completely changed yet, as she still has her moments of being her usual evil self (”I can slit your throat with my spare knife if you’d like!”), but she’s notably more mellow than she’d been beforehand. But it’s the fallout of the crisis with the clones, in which Otonashi talks Kanade into returning to her position on the student council and posing as the Battlefront’s enemy while he works to get his friends to come to terms with their lives and pass on, that truly starts the big shift in Yurippe, as she figured out what was really going on from the start.
Which eventually brings Yurippe to the conflict with the Shadows. Having not shaken off her “I can fight alone” mentality, Yurippe goes off on her own in search of who and what’s sourcing the Shadows and where. But years of having fought like this begin taking their toll on Yurippe as she takes her literal descent down underground, constantly getting hounded by Shadows all the while. One Shadow eventually gets her and pulls her into it’s illusion, which would start the process of turning her into a soulless, compliant NPC should she give into it as all others have. The illusion shows her the ideal school life she could have, placing her right in the middle of a day in a prettied up version of her life with new friends and no burdens. Yurippe states she finds this life wonderful…but it isn’t her life. The only thing truly pertaining to her life in that classroom is her herself, as herself, as Yurippe, with all the faults and personal baggage that comes with being herself. So she makes a speech about why she can’t accept any better life and has to keep fighting, going into her rage against the Heavens as it goes on and she speaks of feeling forced to accept the one shot at God-given life she has regardless of how cruel and unfair she thinks that life was, and why this too is something she can’t accept. As she does so, she asks “Don’t you understand, sir?”, but she’s not addressing the illusionary teacher at this point, as he’s no longer there. The “Sir” she’s really speaking out to is God. And when it reaches this point, we see the illusion has come down and are shown Yurippe’s actual life as she perceives it- an empty classroom with no friends and no signs of happiness in sight. And it’s all tinted with the color red, as to symbolize all the evil and rage that this girl has been carrying with her in her heart. Red like the blood of her little siblings that she feels is on her and she hasn’t washed away. Red like Hell. Red like the Devil.
Once Yurippe has passed through the door of the Programmer and is inside the room that controls this world’s system with all of it’s stolen computers, she’s at the end point of her descent. In the one-on-one talk she has with the Programmer’s NPC that runs the system, the NPC reveals that the Shadows are part of a clean-up program that’s launched whenever the amount of love in Purgatory exceeds a certain amount, for if too much love takes root and is allowed to blossom, the purgatorial world would turn into an eternal Eden and the Programmer, for whatever reason, did not want that. He states that Yurippe could seize the chance to choose the path that the Programmer didn’t choose - run the system herself, harness the power of love for herself, and essentially become God of this world. As this idea is running through Yurippes’s head, a demented grin spreads across her face and she goes laughing mad as the temptation rushes over her and entices her darker side with the idea that she’s finally won, that she could take God’s place, defeat Angel, and become invincible with this system at her disposal. The moment is terrifying, for this is the moment where Yurippe might take the big, fate-deciding step of her entire existence. This is where she might fully evolve from Lucifer to Satan. Better to reign in Hell Purgatory than serve in Heaven, after all.
But instead, the temptation passes her by as quickly as it had come and she states she could never make that choice. By declining, she puts her foot down firmly on a different course, stating the reason she fought her way here was to protect all the friends she’s made in this world, all the people she’s come to love as though they were family. This confirms that the source of all the blossoming love was in fact Yurippe and the love she’d come to have for all her friends, even Kanade. When the Programmer NPC asks if she’s certain of this course since she does have an eternity’s worth of time to wait and decide, Yurippe alludes to her past trauma with one hell of a Pre-Asskicking One-Liner: “Us humans? We don’t even have the patience to wait 10 whole minutes for something!” and then starts shooting up all the computers with her two pistols, finishing by shooting two bullets into both the final computer and the NPC who sits in front of it. Yurippe then sinks to the floor, thinking to herself that though she’s succeeded at what she was aiming to do and more or less finished her mission, she considers this a personal failure on her part because she came to love all her friends as much as she loved her dead siblings, to the point where she’d forfeit any chance at revenge on God in favor of saving everyone who matters to her now. She then starts feeling all the bad feelings inside her, everything that was keeping her fighting in this world, starting to fade away from her, being replaced by feelings far stronger and more positive. And then she succumbs to a near-death experience where she’s given a vision of her siblings from Heaven, telling her that it’s okay to stop fighting now, that’s she’s done enough and that they love and appreciate her anyway for how hard she’s worked in spite of her failings. And at this, Yurippe finds she can’t hold it in any more. She finally allows herself to break down and bawl.
What is so damn powerful and meaningful about this is the sense you get that Yurippe from the start of the show absolutely would have taken the Programmer up on his offer to play God over Purgatory, would have gone full-on Satan. But the Yurippe who was presented with such an offer at the end of the show is a very different Yurippe from who she’d been at the start. She, who’d started down her path on a mission born of hatred, had come to a point where she felt so much love for everyone around her, and that love was the driving force behind her actions in the continued fight for Purgatory. And ultimately she chose that love over fulfilling her hateful crusade against God, the laws of the universe, and the unfairness of her life. She threw away any hope of accomplishing the fool’s errand mission she’d wanted to accomplish, and instead she accomplished the mission she needed to accomplish. As a result, she finally arrives at a point of accepting her life and herself as is, just as her siblings and friends accept her and love her in spite of all the failings she’d long sought to make amends for. In the moment where this person so easily could’ve made herself a true villain, she became a hero.
Bringing this home is the credits for Episode 12. It starts off normally, though “Brave Song” had already begun playing over the episode’s final scene that sees Yurippe’s arc reach it’s zenith. But then, out of nowhere, Yui is there. And so is Iwasawa, and the members of Girl’s Dead Monster who’d passed on at the start. And everyone in the SSS Battlefront that we find out in the next episode ended up passing on after their fight with the Shadows. Yurippe becomes surrounded.by everyone, all the friends she fought for and who fought for her. Whom she loves and who love her. The song seems to start over at it’s first verse, but then goes quiet, and then the music swells as the song’s final chorus plays, with new lyrics and different background instrumentals that set a different mood and gives off a different feeling from before. This one is a joyful feeling. A heroic feeling. A feeling of triumph. A feeling that says “Mission accomplished. We made it. We did it. It’s done.” And so now that it’s done, now that the fucked up SoB who’d been misusing the world of departed souls for his own vision is finally gone, Yuri’s lyrics state she can finally let go of the type of “strength” that had been driving her forward, can finally freely show all the tears and vulnerabilities of a normal girl.
As reward, Yurippe finds a special message written on her graduation diploma.
You’re our hero, Yurippe. You rose from your own darkness and found light again.
Hey everyone, here’s chapter 2 of Grey Stains. Our first glimpse of Hogwarts, and backstory for Astrid! I hope you enjoy it! I will also update my masterpost with this story, so if you want to find chapter 1, look there or check my ‘grey stains’ tag.
One thing I would like to address here are the side characters. Pretty much all side characters like professors and classmates, are lifted from other franchises that I enjoy. However, you shouldn’t feel obligated to know all (or any) of them to understand my story. They’re simply there to add some color to the scenes, and because I think having Hiro and Rayla is more interesting and easy to remember for you, the reader, than Ravenclaw OC #1 and Gryffindor OC #2. So if you don’t know a character in the story, I hope the context explains enough about them. If you do know the character, I hope you enjoy some of the in-jokes I put in. After this chapter their presence should be less overwhelming, as the story will focus more on Hiccup and Astrid proper.
——————————–
“And we’re here, with fifteen minutes to spare! Those Muggle ‘taxis’ are faster than I thought!” Astrid’s uncle Finn said as he led the way into King’s Cross Station. It was filled with people, and the loud announcements and screeching of the trains made Astrid’s head hurt. Her owl, a yellow-blue bird with the powers of a Blast-ended Skrew who she named Stormfly, screeched loudly, and she hoped none of the Muggles would notice the puff of smoke coming out of Stormfly’s beak.
Hey everyone! Those of you who follow me on Ao3 or FFN might have noticed this already, but last week I posted the first chapter of a new story of mine, called Grey Stains. It’s a HTTYD Hogwarts AU, taking place several years after the end of Harry Potter.
Summary: Post-Deathly Hallows Hogwarts AU. When Harry Potter escaped Gringotts on the back of a dragon and flew off towards the battle of Hogwarts, most of the wizarding world saw a hero. For a young Hiccup whose mother died in the Gringotts escape, it is much more complicated to grow up in a post-war world that still bears scars no one wants to talk about, especially when you’re bad at magic, your father is overprotective and paranoid of dragons, and there is a rising fear of neo-Death Eaters threatening the fragile peace. An original story (i.e. not Harry Potter retold) about trauma of all kinds, but also about overcoming your fears with the help of others. Eventual Hiccstrid.
I have been planning this story literally for years, so I’m very excited to finally share it with you all! I hope you like it! If you have any comments, thoughts, reviews, or questions, please let me know!
Enough talk, here’s the first chapter. I’ll be updating weekly, on Sundays. If you’d rather read on FFN or AO3 you can find it there as well, under the usernames wolfie-dragon and wolfie_dragon respectively.
—————————-
Hiccup broke out into coughs the moment he hit the ground. The world span around him, unfocused and blurred, as he tried not to suffocate.
“Oh, come on, son. Apparating is not that bad,” Stoick said, roughly pulling him up by his armpits from the dusty courtyard tiles.
“You-” Hiccup couldn’t finish his retort at first, too busy getting air back into his lungs. The dust, the tight suffocating space he had just been in, it brought back flashes. Screams. Crumbling masonry.
“Easy for you to say. You’re not… allergic to dust and tight spaces,” he eventually managed to spit out. Stoick scoffed for a second, but didn’t start a rant at least. Hiccup was grateful for that. Whenever he’d panic at a small room or dust cloud Stoick would normally complain that he should ‘man up’ already since he was not “actually allergic to dust”.
Maybe he was right, but that didn’t mean Hiccup didn’t get physically sick every time he had to face it.
“Look, you’re okay, so let’s get your stuff. You have your list, right?” Stoick asked, grabbing his wand and tapping several stones on the wall next to him. Hiccup reached into his pocket to grab the parchment he received last week.
Just a reminder that we have a lively HTTYD Fanfic and general fandom server, with a fairly healthy server culture, and this is an open invite to join!
We’re a safe place to come and join in the discussions on your favorite media properties. A number of fanfic authors, including myself, @shipmistress9, @primedoverlord, @aleteia-ff, @wolfie-dragon-rider, @alejandrathemexican and @saieras have dedicated channels for discussing their fics and projects, along with general channels for other other fics and authors.
We also have a writing corner for those authors who want to sit back and chat with their peers on writing craft and ideas, talk about their WIPs, or just drop in some plot bunnies for adoption, along with a happy and robust section of general channels covering music, history, games and other media properties. And we’re also starting to build up a once-per-week boardgame night via Steam. :)
Hi! I just finished reading everything you've published for your Blind-Hiccup AU, and I wanted to say that I truly enjoyed reading all of it, and it's evident how much time and effort you've put into that world. Thank you so much for sharing it!
Thank you so much! I’m very happy you enjoyed it all!
A/N: Hello everyone, I’m back with another chapter. Only 3 more to go! I hope you like it!
——————–
Astrid woke very slowly, a sunbeam from the skylight making her blink. It must be nearly midday then.
When Hiccup had suggested retirement from being chief, she had been against it. They had done it for nearly four decades, surely they were the most capable people on Berk to keep leading the town. But eventually, he had convinced her that Thora was more than ready to take over. She had been doing more and more chiefly duties already over the past few years, so in some ways her becoming full chief was just a formality.
Some days she still missed leading. It was exhilarating, having people listen to her commands and seeing them prosper under her leadership.
But on days like this, when she could just sleep for as long as she wanted with no boring ceremonies or meetings to attend, she was grateful Hiccup had retired. They had given it their all for so long, they deserved to relax in their old age.
“Morning, sleepyhead,” Hiccup said as she groaned and stretched, making her squint against the bright light to see him already up and dressed. Next to him, on the wall of their bedroom, was an old painting of them right after they were married.
Although his hair had turned grey and he had to lean heavily on his walking stick, he still looked as handsome to her as he did forty years ago.