<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Wu Jiaojiao &amp; Li Yuansan on Medium]]></title>
        <description><![CDATA[Stories by Wu Jiaojiao &amp; Li Yuansan on Medium]]></description>
        <link>https://medium.com/@wujiaojiao?source=rss-7c79335035b0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fDXWuJIt-c1cu8QofNhk1w.png</url>
            <title>Stories by Wu Jiaojiao &amp;amp; Li Yuansan on Medium</title>
            <link>https://medium.com/@wujiaojiao?source=rss-7c79335035b0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:06:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wujiaojiao/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I fix “The true and false expression must have consitent types.” in Terraform]]></title>
            <link>https://wujiaojiao.medium.com/how-i-fix-the-true-and-false-expression-must-have-consitent-types-in-terraform-67cc40b5b0ef?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/67cc40b5b0ef</guid>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[syntax]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Thu, 12 Oct 2023 06:04:04 GMT</pubDate>
            <atom:updated>2023-10-12T06:04:04.912Z</atom:updated>
            <content:encoded><![CDATA[<h4>How I get this error?</h4><p>I need to pass value to a variable. e.g. variableA. The expected format of variableA is like below</p><pre>{<br>name1 = &quot;value1&quot;,<br>name2 = &quot;value2&quot;<br>}</pre><p>In case there is no value, you can only pass it as {}. null is not acceptable.</p><p>So I am wring logic like this:</p><pre>variableA = (var.inputRule != null)? {<br>   name1 = module.XXX.role_name,<br>   name2 = var.inputRule<br>}: {}</pre><p>if my var.inputRule is not null, it will throw an exception “The true and false expression must have consitent types. The given expressions are object and object, respectively”.</p><p>The ticky part is that I need to refer the variable from another module, and variableA doesn’t access null value.</p><h4>Solution — Using loop</h4><p>After serveral trying, finally there is a way to solve it.</p><pre>locals{<br>  roles = [module.XXX.role_name]<br>  variableA = merge(<br>    {for role in local.roles: &quot;name1&quot; =&gt; role},<br>    (var.inputRule != null)? {name2 = var.inputRule}: {}<br>}</pre><p>So in case inputRule is null, the variableA would be {}. And if inputRule is not null, it will be {name1 = module.XXX.role_name,<br> name2 = var.inputRule}</p><p>Problem solved!! Happy coding?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67cc40b5b0ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcement]]></title>
            <link>https://wujiaojiao.medium.com/announcement-97b3be55d6d?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/97b3be55d6d</guid>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Sun, 19 Feb 2023 07:45:59 GMT</pubDate>
            <atom:updated>2023-02-19T07:45:59.916Z</atom:updated>
            <content:encoded><![CDATA[<p>Dear All Readers and Subscribers,</p><p>Thanks for all your support, my book has been officially published into kindle. You can access it from below link.</p><p><a href="https://www.amazon.com/dp/B0BRQLSN1H?ref_=pe_3052080_276849420">Riding The Waves (The Elements Book 1)</a></p><p>Happy Readings!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97b3be55d6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 11 — The Second Attack]]></title>
            <link>https://medium.com/the-elements/chapter-11-the-second-attack-1b34292f4982?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b34292f4982</guid>
            <category><![CDATA[childrens-books]]></category>
            <category><![CDATA[mystery]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[fantasy]]></category>
            <category><![CDATA[friendship]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Sun, 19 Feb 2023 07:44:17 GMT</pubDate>
            <atom:updated>2023-02-19T07:44:17.100Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chapter 11 — The Second Attack</h3><p>Darkness. It surrounded me, engulfed me, wrapped me. Even as this continued, I knew it was not going to bring me back to the library. All I could do was hope for the best.</p><p>And anyways, where were all the weird floating-around colours? But I thought that too early. As I watched, the colours reappeared, and covered everything I could see. The next moment, the colours seemed to move around, then they</p><p>formed a weird picture — or as close to a picture as it could get. I could almost feel some heat from the screen radiating onto me. I saw a blurry image of a toddler — or maybe not — who was walking — no, tripping — her way across the wooden-tiled floor. There was a door in front of her — wooden again — and she pushed it. Before I could see more, the screen started glitching again. She picked something up, and light filled the screen. I closed my eyes, and when I reopened them, I saw a blurry nothing. But I heard some background noises.</p><p>“Wait — ”</p><p>“Stop — ”</p><p>“Where is she?” Two voices rang. One female, one male. They sounded familiar, but I couldn’t quite place them. Then the screen crackled, and the colours disappeared. I felt something. There was a gust of air behind me, and then I got pushed out — like, literally, out. I felt like I was rolling out of a ball, and then the light, once again, blinded me.</p><p>I landed on a soft carpet. I quickly pushed myself up and dusted myself, then looked around. To my extreme relief, I was back in the library.</p><p>My footsteps echoed down a corridor of books. I tried to find the girls, but they refused to appear. As if they suddenly turned invisible or something.</p><p>“There you are!” Aura’s voice came from behind me. I jumped and turned around, meeting air, which suddenly became Aura again. So they <em>did </em>turn invisible after all.</p><p>“I don’t know what’s happening,” Aura said. To my surprise, she suddenly disappeared, then reappeared again. Then her eyes grew wide in shock. “Look!”</p><p>I whipped around, and saw a bookshelf in hungry flames. Smoke billowed through the air. The bookshelf dissolved into dust as if it was made of sand, and a naughty boy just destroyed it. “What — ” Then Amber came out, shouting.</p><p>“What’s happening? I thought it was only you, Aura…” Amber pointed at the fire. “I can’t stop it, and I don’t know how it started either!” Then below her feet, flames erupted again. Scared, I took a few steps backward — and knocked straight into Aura, who solidified right behind me.</p><p>“Guys, can you explain what’s happening — aah!” I felt something lift me out of the ground. What the — ? I looked down, and saw a thick stem. Then I realised I was sitting on flower petals — <em>gigantic </em>ones. Below me, I saw Emerald run over.</p><p>“Our elements are going haywire!” Emerald shouted. Well, at least mine weren’t. I guess I had to jump off the flower. But before I could do anything, there was a sudden burst of light below me. I looked down, over the edges of the petals. The stem seemed to be cut in half, and I realised that half of it was in flames. The flower tilted over, and before I could do anything, flung me off. I mean, literally.</p><p>At least the fall wasn’t bad. Just when I thought things couldn’t get any worse, it was my turn. Water spurted out from my hands. It tumbled out, a big, strong wave. And I couldn’t stop it. It was rushing straight out, towards us.</p><p>Well, at least it doused Amber’s flames. But other than that, there was nothing good about it. A thousand questions buzzed in my mind. What was happening? But before the wave could hit us, something — both bad and good — happened.</p><p>The room was suddenly flooded with darkness. All of a sudden, I could see nothing. But I could make out the silvery outlines of the water, which seemed to have calmed down all of a sudden. The water reached my ankles, but didn’t rise up or do anything. But still. Why — What — How — ?</p><p>The darkness seemed to be growing. I didn’t know how I knew — I just felt it. I looked around wildly — not that I could see much anyways — trying to understand what was happening (this feels like the millionth time I’m saying this). The darkness was creeping up my back, slowly, weirdly, but still there. Then, another unexplainable thing happened. Light.</p><p>I shielded my eyes, which had just adjusted to the dark, against the sudden burst of shimmering light. It rolled towards everything, spilling out against every surface, until all I could see was light. Then the darkness came forth again, seemingly even stronger than before, and engulfed the light. The light, as if angered, burst forward and lit up the darkness. The “fight” continued, dark one second, and bright the next.</p><p>Meanwhile, I closed my eyes, not even trying to make sense of it all. There were just too many questions and too little answers. Ever since I came here, things were going so rogue that sometimes, I even felt like my orphanage life was</p><p>better. Sure, it was boring, but not as life-risking as this. “Aaah!” a scream echoed from somewhere. It was Amber. I opened my eyes, but saw nothing through the darkness.</p><p>My heart started pounding so hard my ribcages hurt. What happened to Amber? Was she hurt? “Amber!” I cried, “You okay?” When no reply came, my mind started forming its own theories of what could have possibly happened. I tried to push down the thoughts. I told myself, “This is exactly like what happened at the orphanage that day to Olivia. Amber’s not hurt too badly, she’s okay.” But how was I to know that for sure?</p><p>I squeezed my eyes shut just as another burst of light came out from my right. The light was so strong I was sure it almost became fire. I swear I could feel the heat as it strayed dangerously close to me. I knew light wasn’t supposed to feel dangerous, but it did.</p><p>Too scared to move, I pressed myself against the wall. That was when I heard a voice — one that I couldn’t recognise.</p><p>“Lyl, get outta here!”</p><p>“What do you mean ‘get outta here’? It’s not my element that isn’t wor — ” A flash of lightning crossed the darkness, nearly giving me a heart attack. There were other people here?</p><p>“See?” the first voice said, “Now get out!”</p><p>“Then you come with me!” I squinted through the temporary darkness, and saw the silhouettes of two figures. One was dragging the other across. “Seriously! There are other people here!” the second voice said, “They’ll judge you!”</p><p>“As if they’re not judging me already.” Having no idea what was going on, I decided to just make a mental note of this and put it into the list of “Things That I Heard Or Know But Have No Idea What It Means”. The library door swung open, and the two of them walked out the door.</p><p>The clear night sky suddenly turned dark and stormy, and lightning flashed. But inside the library, there were no more traces of the darkness, and only the light — the sole commander — stayed. I closed my eyes once again, praying that I wasn’t going blind. Suddenly, hastened footsteps echoed on the marble floor, until the library door swung open with a “whoosh!” once again, then closed.</p><p>I peeked through my fingers, and found that the light was gone, and so was the big mess in the library. All the shelves were back in place, the books all neatly lined on the shelves.</p><p>“Pearl?” A voice called. I turned, and saw Aura and Olivia behind me.</p><p>“Olivia! Thank goodness you’re okay!” I cried. “You too, Aura,” I added begrudgingly. “Wait a sec — where’s the girls?”</p><p>“I thought they were with you!”</p><p>“I thought they were with <em>you</em>!”</p><p>“Then where <em>are </em>they?” No one had the answer to that question.</p><p>“Alexa? Emerald? Amber? Where are you? Come out, it’s not funny!” Olivia shouted, her voice echoing through the library. I half-expected them to come running out from behind a bookshelf and laughing at us for being so paranoid. But that would’ve been better than what actually happened. No reply came, and it set my mind imagining even worse scenarios than the worst case scenario.</p><p>When I tried to shut these out, it only made me think about whether this was my fault. I mean, it <em>did </em>happen right after I came out from the machine thing-y, right? But how was that supposed to connect to what happened here? I had no answer.</p><p>“So, what now?”</p><p>“Well, aside from finding the girls, a place to stay, what in the world is happening to everything, and why everyone is trying to catch us, I don’t think I know what else to do.” I was utterly appalled that luck had me stuck with the one girl I trusted least, of which her element was my parent’s misfortune. But what could I do?</p><p>Aura sighed. “I guess we can work on number two of the list. I have a house, you know.”</p><p>“Alright.” Amber had told me that they had houses, but it still felt terribly weird. “So, where is it?”</p><p>Olivia and I stepped onto the cloud Aura made. It still scared me every time I went on. It was solid but fluffy at the same time, like stepping through snow. You never know when you’re going to sink knee-deep into the cloud.</p><p>With a whoosh that frightened me half to death, the cloud rose into the sky and flew across at amazing speed. Everything was a complete blur. In what I could’ve sworn was less than ten seconds, the cloud “touched down” and we stepped off.</p><p>“More clouds?” I groaned. But I had to admit it was kinda cool. In front of me was a house that was an absolutely normal house, just that it was made of clouds. Well, I was never gonna get used to this weird world. I stepped forward, not trusting the “ground” below me.</p><p>“It’s okay! The clouds will support our weight!” I think I needed Emerald there to remind Aura of the time we fell through the sky on her cloud and ended up in <em>that </em>forest.</p><p>“Alright…” I said, not believing a word of it. After a few steps and more than a few hastened heartbeats, we stepped into the house. And I have to admit, the house looked <em>amazing</em>.</p><p>Sofas of intricate designs (they looked so fluffy!) were placed on the cloudy floor. There were some shelves dedicated to souvenirs, and each was labelled a weird name I couldn’t recognise. But most of all, there were shelves and shelves of — guess what? — papers, and there was one that specially caught my attention. It was titled “IDK WHAT TO DO NEXT SAVE ME”.</p><p>“Uhh… What’s that?” I pointed at it.</p><p>“Umm… That’s nothing.” Aura quickly crumpled the paper and threw it <em>through </em>the cloud.</p><p>“Wait. You get to do that?” Olivia asked, stunned.</p><p>“There’s a rubbish area below this place.”</p><p>Her reply made me even more scared. What if I accidentally dropped through the clouds and fell into a heap of rubbish? I knew I was more than capable of doing that.</p><p>“So what are the shelves of papers for?”</p><p>“Umm… Plans?”</p><p>“For what? And why?” Plans were of no use to me, since I wouldn’t be able to stick to a plan anyway.</p><p>“To use when something goes wrong, duh!” I squinted at one wall of the shelves. The plans were labelled “Plan A” all the way to “Plan Z”. Another wall was labelled “Back-up Plan”, then “Back-up Plan for the Back-up Plan”, then “Back-up Plan for the Back-up Plan for the Back-up Plan.”</p><p>“Why so many plans?”</p><p>“Oh, you really have no idea how important plans are!”</p><p>“Enlighten me.” Then Aura (and Olivia) spent about two hours telling me all about “wonderful” plans, and only left me at the conclusion that no plans were better.</p><p>“Okayyyy…” I said, eager to change the subject. “So, where do we sleep?” Aura led me through a corridor that opened up out of nowhere (how dare she not tell me — I got scared half to death!) We walked through and she twisted the doorknob of an invisible door. A room opened up in front of me. There was one bed, and it was made of clouds, to my despair.</p><p>“Uhh… Where will the two of us sleep?” Aura waved her hands. A few clouds assembled two other beds, right next to hers.</p><p>“Won’t I fall through?” I asked, one last time.</p><p>“You won’t!” Aura looked at the sky. “It’s dark.”</p><p>“And that doesn’t mean we need to go to bed,” I finished for her. “Then what do we do?”</p><p>“Umm… Find the girls?”</p><p>“And how do you propose we do that?” But Aura’s question was never answered. The next moment, I heard the kicking open of a door.</p><p>“Not again,” I muttered under my breath. Was there ever going to be a stop to all this crazy kidnapping and random stuff nonsense?</p><p>“They must be here. There’s nowhere else for them to go,” a voice said.</p><p>“And how are you so sure of that? This is only the third place we searched,” the second voice replied.</p><p>“That one,” the first voice said, “doesn’t live here. They have zero other places to go.” Their footsteps came closer to the room we were in. I looked at Aura.</p><p>“Are they looking for us?” I whispered to her.</p><p>“There’s no reason for them to do that. But again, there’s no reason <em>not </em>for them to do that either.” Aura replied, not really answering my question.</p><p>The footsteps grew louder. Aura suddenly disappeared next to me. That reminded me that I could camouflage myself too. But it was too late. Besides, Olivia couldn’t turn invisible. They walked in.</p><p>Two women. The first thing I noticed was how their faces were completely shrouded in darkness, such that no matter which direction they were in, I couldn’t make out their faces. Both had red dresses on.</p><p>“Hello.” The woman on the right said.</p><p>I raised my eyebrows at them. “What do you want?” They didn’t reply. The one on the right raised her hand. I didn’t know what she wanted to do — answer a question? But I should’ve seen it all along.</p><p>Plants grew out from the floor — or should I say, the clouds below me. It grasped me in a sudden lunging motion, coiling around my entire body. Olivia didn’t have it better. Vines wrapped around her body and no matter how she struggled, she couldn’t escape its deathly grip. I was so surprised by her power that I couldn’t speak. And that was also why I accidentally splattered water over everything there was. The two women were shocked — the plant loosened its hold on me. I managed to pull my hands free before the plant’s clasp on me tightened.</p><p>“Ah!” Suddenly, the woman on the right fell. I mean, there was nothing there to trip over, but she fell. I saw Aura flicker into view next to the woman. <em>Oh, that’s why, </em>I thought. Suddenly, the plant completely shrank into the ground, and I was released from its death grip. Olivia also fell out from the vines’ grasp, and she quickly scrambled to her feet. I didn’t have time to be relieved, though. The woman got up and looked at Aura, then Olivia, then me. Quick as wind (no pun intended) Aura ran over to me, and pushed Olivia and I — guess what? — right out the window. Then she jumped out too.</p><p>“Are you crazy?” I shouted.</p><p>“Am not!” she shouted back. When we were about 10 metres from the ground (I had braced myself for death) we suddenly screeched to a stop. We just floated there.</p><p>“You’re wrong. This <em>is </em>crazy!” Olivia shouted at Aura.</p><p>She shrugged. “At least we’re not dead.” Slowly, we floated to the ground. And unfortunately, we had floated <em>to the ground</em>. The two women followed us here, using a trick Emerald had done before — the one where she randomly popped</p><p>out from a plant. Well, the two of them popped out from a tree in front of us. Made me wish their world had less trees.</p><p>A plant creeped up from the soil below Aura’s feet. “Hey, watch out!” I shouted. Aura didn’t seem to care. She flicked her hand, and somehow <em>uprooted </em>the plant and then blew it away.</p><p>“Whoa,” I said. Before Aura could reply, the other person — the one who hadn’t really attacked yet — snapped her fingers. This time, I was prepared. A wall of water formed around me and Aura, and I was actually kind of lucky — flames grew around me, but the water doused them.</p><p>The water shield faded away as I launched an attack of my own. I gathered a ball of water in my hands (you’ll be surprised how easy these things get when you’re used to it), and threw it at the fire-person. At the same time, flames grew under my feet.</p><p>I guess I had the disadvantage. Small amounts of water can’t really do anything — fire, on the other hand, can hurt you no matter how small an amount. So while my ball of water only splattered her on the face, the flames burnt me to half death. And it was absolute <em>pain</em>. I tried splashing water on the fire — it required quite a few jets of water to extinguish. I tried splashing some on my foot too. It felt okay after a while, so I just ignored the dull pain. In the meantime, I realised that Aura had just thrown a tornado at the earth-person, and she had grown a plant out of the ground and clung onto it, trying not to be blown away.</p><p>Fire surrounded me in a circle. I splashed some more water on it, but these flames just wouldn’t go out! They rose taller and taller around me, as if confining me in the tiny space. But then, I had a brainwave. Water shot up below me, and I stood on the tiny wave, rising even higher than the flames. Looking down, I felt kind of dizzy — but I saw the fire-person looking kind of surprised. <em>This is my chance, </em>I thought.</p><p>Normal amounts of water aren’t very hard to make. You just think about it — and boom, it appears in your hands. But if you’re looking for a <em>lot </em>of water, which I was, you need extra willpower — which I had no idea whether I had or not. So I tried. I drew on that power, deep inside my gut, then I opened my eyes, and — nothing happened. I tried again. And again. On my sixth — or was it seventh? — attempt, a wave crashed out of my hands. No, not a wave. A <em>tsunami</em>.</p><p>I didn’t even know which direction the water was going. I was just completely dumbfounded at what I had done. Aura, seeing this, immediately snapped her fingers — a bubble of air surrounded her. Olivia quickly made an underwater helmet — and she was as surprised as I was when she saw that — and put it on. The other two… well, I don’t really know what happened to them. The water washed over us, and I could hear them sort of shouting. Then, their voices faded away as the water carried them somewhere only it knew.</p><p>After floating around in the water aimlessly for who-knows how long, I bumped into Aura — still in that bubble of hers.</p><p>“Do you know where Olivia is?” she asked me. Before I could answer “I don’t know”, Olivia appeared — literally appeared — behind Aura.</p><p>“I’m here. I just managed to turn on teleportation features on this helmet,” Olivia told us, as if that was the most normal thing in the world. “So, how did you make that wave-thing?”</p><p>“I have no idea.” It was very true. I didn’t know how I did it, and I was too tired to try to figure out the why’s and the how’s.</p><p>“So… Do you have any idea how to get rid of all this water?” Aura asked. I tried. I thought of an imaginary dustbin, and throwing the water inside there. I know it sounds weird, but it worked. The water, as miraculously as it had come, disappeared.</p><p>“This is too much for one day. I’m gonna go to bed, and sleep until tomorrow night,” I said.</p><p>“Wait. I don’t think we should go to my house again.”</p><p>“Why not?”</p><p>“Well… Those two already know we’ve been staying there. If they manage to get the news out… A bunch of people — way too much for us alone to take on — could try to ambush us there.”</p><p>“So, what do you suggest? Sleeping underground?”</p><p>“Actually, that’s not a bad idea. I think I know where Emerald’s house is…” I was completely baffled, but we followed Aura until she reached the middle of nowhere. She stomped her foot four times and a crack appeared in the middle of the ground (why was I even surprised?). We fell through and entered a cosy room as the ground above us closed.</p><p>“Some entrance,” I commented.</p><p>“Hope Em doesn’t mind!” Aura said. She looked a bit <em>too </em>happy about going into someone else’s house without them knowing — and sleeping in there.</p><p>“Where’s the bed?” I asked.</p><p>“Uhh… Emerald’s bed is <em>super </em>hard. Trust me.” Aura made some clouds and moulded them into three bed-like shapes. “Just use this.”</p><p>“Thanks, I guess?” I crawled onto the bed. The day ended with me drifting into oblivion — but the dream felt real.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b34292f4982" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-elements/chapter-11-the-second-attack-1b34292f4982">Chapter 11 — The Second Attack</a> was originally published in <a href="https://medium.com/the-elements">The Elements</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preface]]></title>
            <link>https://medium.com/the-elements/preface-c79946deacc0?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c79946deacc0</guid>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[childrens-books]]></category>
            <category><![CDATA[the-elements]]></category>
            <category><![CDATA[mystery]]></category>
            <category><![CDATA[preface]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Sun, 19 Feb 2023 07:12:11 GMT</pubDate>
            <atom:updated>2023-02-19T07:12:11.368Z</atom:updated>
            <content:encoded><![CDATA[<p>The wave towered over me. It stretched forward ominously as its dark shadow covered me.</p><p>The salty sea wind whipped at my face, as my hair, once so neatly tied, came loose and descended over my shoulders in curls. The cuts and bruises my limbs were displaying tingled with pain as the water rushed in.</p><p>If this had happened just a few days ago, fear would have been coursing through my very veins. If this had happened just a few days ago, I would have lost my balance and plunged right into the endless abyss of ocean. If this had happened just a few days ago, I would have been frozen to the ground like an ancient Greek statue. But this had happened then. And at that moment, I wasn’t scared — or rather, I <em>couldn’t </em>be.</p><p>I would’ve preferred it if my entire body was shivering like a leaf, if tears were welling up in my eyes. But no. A sort of cool numbness had overtaken me.</p><p>After all, it was me who had insisted on making this trip. In fact, <em>everything </em>was because of me. If I hadn’t even opened the box in the first place, I wouldn’t have gotten there. I would have continued living my mundane-but-peaceful life in the orphanage. Now, the new world of adventure I had so gladly opened was a game of life and death.</p><p>But it wasn’t the time to regret past decisions. If I hadn’t come, I wouldn’t have made friends. I wouldn’t have found Amber. I wouldn’t have found my <em>own </em>powers. And at that time, an uncontrollable emotion surged over me — determination. Determination to save the girls. <em>Our friends</em>. I glanced at Aura beside me, and she nodded.</p><p>I stretched my arms forward, and pushed. It felt nothing different pushing a firm brick wall — no matter how hard, it wouldn’t move. Aura joined in, but still, it towered over us threateningly.</p><p>Perspiration peppered my forehead, and my breaths started coming in hitches. If we couldn’t even hold this one wave, how were we to cross the entire ocean? And in that slight moment of doubt, my concentration wavered. All of a sudden, the wave came crashing down over us, along with my emotions, which had returned at the worst possible moment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c79946deacc0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-elements/preface-c79946deacc0">Preface</a> was originally published in <a href="https://medium.com/the-elements">The Elements</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NLB In IP Scarce Situation]]></title>
            <link>https://medium.com/lazy-tech-leader-series/nlb-in-ip-scarce-situation-b235e692cf1f?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b235e692cf1f</guid>
            <category><![CDATA[ip]]></category>
            <category><![CDATA[nlb]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 02:03:53 GMT</pubDate>
            <atom:updated>2022-11-11T02:03:53.512Z</atom:updated>
            <content:encoded><![CDATA[<p>NLB stands for <a href="https://aws.amazon.com/elasticloadbalancing/network-load-balancer/">Network Load Balancer</a>. It is one of the most commonly used load balancer in AWS.</p><p>However, whenever we provision NLB, normally it requires 8 free IPs. In certain cases, you can reduce the IP requirement.</p><h4>Internal Network Load Balancer</h4><p>According to <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-network-load-balancer.html">AWS documentation</a>, For internet-facing load balancer (scheme = external), the subnets that you specify must have at least 8 available IP addresses. For internal load balancers (scheme = internal), this is only required if you let AWS select a private IPv4 address from the subnet.</p><h4>Cross-Zone Load Balancing</h4><p>NLB can now distribute requires regardless of Availability Zone with the support of cross-zone load balancing. This allows NLB to route traffics to applications that are deployed across multiple Availability Zone.</p><p>This is an unique feature that ALB doesn’t have. So if you use NLB, in IP scarce situation, for internal NLB, you can manage to use only one IP for all AZs in one region.</p><p>Please use this feature <strong>with caution,</strong> because if you only have NLB in one subnets. It becomes a single point of failure, which might not be suitable for high resilience.</p><h3>Implementation Samples</h3><h4>Terraform</h4><pre>data &quot;aws_subnet_ids&quot; &quot;example1&quot; {<br>  vpc_id = var.vpc_id<br><br>  tags = {<br>    Tier = &quot;Public&quot;<br>  }<br>}<br><br>resource &quot;aws_lb&quot; &quot;this&quot; {<br>  name               = &quot;basic-load-balancer&quot;<br>  load_balancer_type = &quot;network&quot;<br><br>  // enable_cross_zone_load_balancing = true //enable it if you just want to be in one subnet<br>  <br>  subnet_mapping {<br>     subnet_id = data.aws_subnet_ids.example1.ids[0]<br>     allocation_id = &quot;10.0.1.15&quot;  //change this to your private ip<br>  }<br>  <br>  subnet_mapping { //you can have multiple if you want it to be in multiple subnets<br>     subnet_id = data.aws_subnet_ids.example1.ids[0]<br>     allocation_id = &quot;10.0.2.15&quot;  //change this to your private ip<br>  }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b235e692cf1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lazy-tech-leader-series/nlb-in-ip-scarce-situation-b235e692cf1f">NLB In IP Scarce Situation</a> was originally published in <a href="https://medium.com/lazy-tech-leader-series">Lazy Tech Leader Series</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use AWS SAML Authentication in Java]]></title>
            <link>https://medium.com/lazy-tech-leader-series/how-to-use-aws-saml-authentication-in-java-f6f56a30d451?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6f56a30d451</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aml]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Wed, 13 Jul 2022 08:00:30 GMT</pubDate>
            <atom:updated>2022-07-13T08:00:30.201Z</atom:updated>
            <content:encoded><![CDATA[<p>If you work in a company, and want to move data from on prem to public cloud, e.g. AWS S3 service, programmatically. Before you can code, let us try to understand the infrastructure setup about the connectivity.</p><h4>Network Accessibility</h4><p>In most of the cases, how on-prem network connecting to AWS public cloud are setup in the diagram below. From your organization perspective, the customer network represents the on-prem Network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*wKIbRC-v2gc41LDO.png" /></figure><p>In order for you to be able to connect to services sitting/routing from AWS VPC, the AWS client should know the “customer router/firewall” information. This is normally regarded as “Proxy Server”. It is the starting point to reach AWS network.</p><h4>Authentication</h4><p>If you are hosting a public available information, and no authentication are required, e.g. http connection. You should be able to use curl command with proxy setting to be able to establish the connection.</p><p>However, if you want to connect to AWS services, e.g. S3. and it requires specific role to be able to read and write. How does authentication work in this case?</p><p>I paste one of the common used authentication flow as below. The Enterprise section represents on Prem identify Provider. Most of companies use windows Active Directory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Qxi6iuroUBD04lhL.png" /></figure><p>If you are using browser/aws cli/aws java client to connect to AWS, there are two main steps:</p><ul><li>Authenticate via your AD.</li><li>Get the SAML Assertion from your AD, and send to AWS Sts to authorize.</li></ul><h4>Code</h4><p>After understanding the network and authentication flow, now it is the time for coding:</p><ul><li>Step 1 — prepare the pom.xml</li></ul><pre>&lt;dependency&gt;<br>    &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;<br>    &lt;artifactId&gt;aws-java-sdk-iam&lt;/artifactId&gt;<br>    &lt;version&gt;1.11.444&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>    &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;<br>    &lt;artifactId&gt;aws-java-sdk-sts&lt;/artifactId&gt;<br>    &lt;version&gt;1.11.444&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>    &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;<br>    &lt;artifactId&gt;aws-java-sdk-ec2&lt;/artifactId&gt;<br>    &lt;version&gt;1.11.444&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>    &lt;groupId&gt;com.amazonaws&lt;/groupId&gt;<br>    &lt;artifactId&gt;aws-java-sdk-s3&lt;/artifactId&gt;<br>    &lt;version&gt;1.11.444&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>    &lt;groupId&gt;org.jsoup&lt;/groupId&gt;<br>    &lt;artifactId&gt;jsoup&lt;/artifactId&gt;<br>    &lt;version&gt;1.9.2&lt;/version&gt;<br>  &lt;/dependency&gt;</pre><ul><li>Step 2 — Example code to get credentials:</li></ul><pre>import com.amazonaws.ClientConfiguration;<br>import com.amazonaws.Protocol;<br>import com.amazonaws.auth.AWSStaticCredentialsProvider;<br>import com.amazonaws.auth.BasicAWSCredentials;<br>import com.amazonaws.auth.BasicSessionCredentials;<br>import com.amazonaws.services.securitytoken.AWSSecurityTokenService;<br>import com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClientBuilder;<br>import com.amazonaws.services.securitytoken.model.AssumeRoleWithSAMLRequest;<br>import com.amazonaws.services.securitytoken.model.AssumeRoleWithSAMLResult;<br>import com.amazonaws.services.securitytoken.model.Credentials;<br>import org.jsoup.Connection;<br>import org.jsoup.Jsoup;<br>import org.jsoup.nodes.Document;<br>import org.jsoup.nodes.Element;<br>import org.jsoup.parser.Parser;<br>import org.jsoup.select.Elements;<br><br>import java.io.IOException;<br>import java.net.URL;<br>import java.util.Base64;<br>import java.util.Map;<br><br>public class AWSClientWithADAuth {<br><br>    public static final String <em>ADFS_URL </em>= &quot;https://adfs.example.com/adfs/ls/IdpInitiatedSignOn.aspx?loginToRp=urn:amazon:webservices&quot;;<br>    public static final String <em>ADFS_HOST </em>= &quot;adfs.example.com&quot;;<br>    <br>    public BasicSessionCredentials authorizeWithSamlAssertion(String region, String roleARN) throws Exception {<br>        AWSSecurityTokenService stsClient = AWSSecurityTokenServiceClientBuilder.<em>standard</em>().withRegion(region)<br>                .withCredentials(new AWSStaticCredentialsProvider(new BasicAWSCredentials(&quot;&quot;, &quot;&quot;)))<br>                .withClientConfiguration(<br>                        new ClientConfiguration().withProxyHost(&quot;proxy.example.net&quot;)<br>                                .withProxyPort(8443).withProtocol(Protocol.<em>HTTPS</em>)<br>                ).build();<br><br>        String samlAssertion = getSamlAssertion(&quot;AD&quot;, &quot;username&quot;, &quot;password&quot;);<br><br>        if (samlAssertion != null) {<br>            AssumeRoleWithSAMLRequest request = new AssumeRoleWithSAMLRequest()<br>                    .withRoleArn(roleARN).withPrincipalArn(extractPrincipalArn(samlAssertion,roleARN))<br>                    .withDurationSeconds(3600)<br>                    .withSAMLAssertion(samlAssertion);<br><br>            AssumeRoleWithSAMLResult assumeRoleWithSAMLResult = stsClient.assumeRoleWithSAML(request);<br>            Credentials credentials = assumeRoleWithSAMLResult.getCredentials();<br>            return new BasicSessionCredentials(credentials.getAccessKeyId(),<br>                    credentials.getSecretAccessKey(), credentials.getSessionToken());<br>        } else {<br>            throw new Exception(&quot;Unauthorized Access&quot;);<br>        }<br>    }<br>    <br>    private String getSamlAssertion(String domain, String principal, String credential)<br>            throws IOException {<br>        String userName = domain + &quot;\\&quot; + principal;<br><br>        Connection.Response initialResp = Jsoup.<em>connect</em>(<em>ADFS_URL</em>).execute();<br>        Document loginForm = initialResp.parse();<br>        Map&lt;String, String&gt; cookies = initialResp.cookies();<br>        Element loginElement = loginForm.getElementById(&quot;loginForm&quot;);<br><br>        if (loginElement != null){<br>            URL loginPostUrl = new URL(&quot;https&quot;, <em>ADFS_HOST</em>, loginElement.attr(&quot;action&quot;));<br>            cookies.clear();<br>            Connection conn = Jsoup.<em>connect</em>(loginPostUrl.toString());<br>            Document samlDoc =<br>                    conn.data(&quot;UserName&quot;, userName).data(&quot;Kmsi&quot;, &quot;false&quot;).data(&quot;Password&quot;, credential)<br>                            .method(Connection.Method.<em>POST</em>).execute().parse();<br>            Elements samlElements = samlDoc.getElementsByAttributeValue(&quot;name&quot;, &quot;SAMLResponse&quot;);<br>            if (samlElements.isEmpty()){<br>                throw new IOException(&quot;Invalid SAML Response.&quot;);<br>            } else {<br>                Element samlElement = samlElements.first();<br>                return samlElement.val();<br>            }<br>        }<br>        return null;<br>    }<br>    private String extractPrincipalArn(String samlAssertion, String roleARN) throws Exception {<br>        String assertion = new String(Base64.<em>getDecoder</em>().decode(samlAssertion), &quot;UTF-8&quot;);<br>        Document assertionDoc = Jsoup.<em>parse</em>(assertion, &quot;UTF-8&quot;, Parser.<em>xmlParser</em>());<br>        Elements samlAttribute = assertionDoc.getElementsByAttributeValue(&quot;name&quot;, &quot;https://aws.amazon.com/SAML/Attributes/Role&quot;);<br><br>        for (Element attribue: samlAttribute){<br>            Elements samlAttrValues = attribue.getElementsByTag(&quot;AttributeValue&quot;);<br><br>            for (Element samlRoleAttr: samlAttrValues){<br>                String samlRole = samlRoleAttr.text();<br>                if (samlRole.contains(roleARN)){<br>                    return samlRole.split(&quot;,&quot;)[0];<br>                }<br>            }<br>        }<br>        throw new Exception(&quot;You are not authorized to assume role: &quot;+ roleARN);<br>    }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6f56a30d451" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lazy-tech-leader-series/how-to-use-aws-saml-authentication-in-java-f6f56a30d451">How to use AWS SAML Authentication in Java</a> was originally published in <a href="https://medium.com/lazy-tech-leader-series">Lazy Tech Leader Series</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Lambda Performance Optimization]]></title>
            <link>https://medium.com/lazy-tech-leader-series/aws-lambda-performance-optimization-bef05d97875b?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/bef05d97875b</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[operational-excellence]]></category>
            <category><![CDATA[performance-optimization]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Tue, 12 Jul 2022 10:27:17 GMT</pubDate>
            <atom:updated>2022-07-16T04:14:56.436Z</atom:updated>
            <content:encoded><![CDATA[<p>AWS lambda are a great product to allow you to run your logic without server. Today I want to highlight on the parts of how to use it <strong>smartly</strong>.</p><h4>Lambda Cold Start</h4><p>During lambda execution, there are <strong>cold start period</strong> and <strong>warm start period</strong>. To improve resource management and performance, the Lambda service retains the execution environment for a non-deterministic period of time. During this time, if another request arrives for the same function, the service may reuse the environment. This second request typically finishes more quickly, since the execution environment already exists and it’s not necessary to download the code and run the initialization code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Vun0UnpCebjfaMVp.png" /></figure><p>We can leverage this feature and use it wisely for good purposes like: Instantiate AWS clients and database clients etc. In this way, it can avoid the logic of trying to establish new connection every single lambda execution.</p><p>Where are the cold start logic located? Please check the yellow section below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*HYQtgggCTWlB6sDy9gYwfA.png" /></figure><h4>Some other AWS Lambda Best Practice</h4><p>Below are the common best practices you should follow when using lambda.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*_fXMR-4-tvGp0V1qRHh4TQ.png" /></figure><p>There is also a very good articles about how to operate lambda. I highly recommend you read all of them:</p><ul><li><a href="https://aws.amazon.com/blogs/compute/operating-lambda-performance-optimization-part-1/">Operating Lambda: Performance optimization — Part 1</a></li><li><a href="https://aws.amazon.com/blogs/compute/operating-lambda-performance-optimization-part-2/">Operating Lambda: Performance optimization — Part 2</a></li><li><a href="https://aws.amazon.com/blogs/compute/operating-lambda-performance-optimization-part-3/">Operating Lambda: Performance optimization — Part 3</a></li></ul><h3>Security Concerns</h3><p>Lambda runs inside AWS managed VPC and by default have access to internet. For most of financial institutions, it is not acceptable. The solution is to attach lambda to your AWS VPC, the computing would still happen inside of AWS managed resources, but the network are controlled based on your VPC settings. so in this way, you can control what lambda can access.</p><p>I hope you enjoy the post. Happy Coding!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bef05d97875b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/lazy-tech-leader-series/aws-lambda-performance-optimization-bef05d97875b">AWS Lambda Performance Optimization</a> was originally published in <a href="https://medium.com/lazy-tech-leader-series">Lazy Tech Leader Series</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 10 — Alexa]]></title>
            <link>https://medium.com/the-elements/chapter-10-alexa-7103aa5fdb96?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7103aa5fdb96</guid>
            <category><![CDATA[fantasy]]></category>
            <category><![CDATA[friendship]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[fiction]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Wed, 04 May 2022 12:51:47 GMT</pubDate>
            <atom:updated>2023-02-19T07:30:37.277Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chapter 10 — Behind the Doors</h3><p>Darkness met my eyes. I knew there was something here, though. I had “thought” there was nothing somewhere when there most certainly was too many times. I was not gonna risk it again. Stepping carefully on the slightly creaking floorboard, I looked around cautiously. Still nothing. For some reason, I expected shelves and shelves of books — kinda like those “hidden doors” you see in old libraries in all those stories. But it was just totally and completely empty.</p><p>I walked on, with a strange feeling of being watched. I kept glancing round, but saw nothing.</p><p>“Who’s <em>that</em>?” a voice echoed behind me. Whipping around, I saw a blank area of nothing.</p><p>I hastened my footsteps. What was that? I knew enough not to “mistake” it for my own imagination. But even so, that “thing” must’ve been really good at hiding.</p><p>But when the voice, seemingly directly talking to me, asked, “Who are you?”, I turned behind — where I guessed the voice was coming from. It was actually pretty hard to guess — the sound seemed to be echoing from all around me.</p><p>“Who… are <em>you</em>? Wait. <em>Where </em>are you?” I heard my own voice say.</p><p>“Karen? You can’t see me anymore? Wait… why are you so short?” I could hear a tinge of shock in the voice.</p><p>“Who’s Karen?”</p><p>“Karen… was the most heroic person I’ve ever known. Sorry, I kinda mistook you for her. You two look very similar, you know?”</p><p>“Okay… But can you tell me. Who are you?”</p><p>“It’s a long story…” The “thing” sighed. “Karen once told me to tell it to the ‘one who can hear but not see me, if she comes’. Maybe it’s you.” I seriously doubted that. I didn’t even know who this Karen was.</p><p>“Well, it all started because of Aarav. You have no idea how much damage he inflicted on us…”</p><p>“Who is Aarav?” That would be, in my opinion, what everybody would ask. I mean, who has such a <em>weird </em>name?</p><p>“You… don’t know who he is?”</p><p>“Am I supposed to?”</p><p>“I thought everyone knew that. You know, the ruler of here? Unless… you are not from here? But that’s not possible, is it? Wait. Are you… But she would have told me… Argh! It’s so confusing!”</p><p>‘Umm… Maybe you can just tell me what happened?”</p><p>“Well, yeah. Aarav is basically, well, what I told you just now. He’s just really bad to everyone. He literally sent my wife to battle with, well, us! And that’s how my wife died. Of course, everyone knows that’s wrong. So, guess what, everyone started riots. But he just blew people into his castle and made them fight for him. But Karen and Tyler. They knew how to fight back — in the right way. They formed Frostburn. An indestructible organisation. Even now, they are continuing. I joined them.”</p><p>“Wait. Then why are you here now?” I asked. There was no reply. “Hello? Are you there?” No sound. It was weird. Why would he just leave like that? Fear clenched my heart. There was definitely something wrong with this place. I turned around and ran back in the direction of the door. But wait. Where was the door? Was this</p><p>even the right direction?</p><p>I would just keep walking forward, I decided. If I didn’t get out soon, I would turn back. I walked on. One leg in front of another. I focused all my attention on the simple movement — but even like that, I couldn’t feel anything. I didn’t know when, or how, I suddenly changed direction and bumped into a wall. I tried to turn around, but I couldn’t. It felt like I could no longer control my own body. Then suddenly, I turned exactly 180 degrees and bumped into the other wall — hard. Scared, I took a deep breath and <em>slowly </em>turned towards the direction I had been walking in before.</p><p>Was it “soon” yet? I lost track of time as I walked forward, one minute seemingly a year — or maybe a millisecond. I decided I needed to turn back. I turned around, slowly again, and then walked forward. Then in a second I was caught in a weird place. I saw my leg lift up, but it seemed to be moving through sludge — freezing in time. Then slowly it moved again, and my other leg followed. Like that, I trudged through the sludge-y air, using every ounce of my energy to push myself forward.</p><p>Then suddenly, I dashed forward, landing face-first on the ground with a loud “thud”. I pushed myself up, and I saw a bit of blood on my right foot and hand. Well, that was still better than being in that place.</p><p>I ran forward, not entirely sure that this was the place I had come from. I didn’t remember going through sludge when I came in here. But I didn’t wanna do it again, so I had no choice but to continue walking forward. It was still blank and empty, but this time I heard voices.</p><p>“Pearl? Pearl? Pearl!” somebody’s voice rang. It came from the other side of the wall.</p><p>“Hello? Any of you there?” My voice bounced off the walls. No reply. I sighed and pressed my ears against the walls. Then a familiar cold voice rang.</p><p>“We meet again.”</p><p>I turned. Her? Those cold blue eyes were following my every move. I retreated into the wall — and bumped into it really hard. But really, I was surprised. Why was she not capturing me or something? I thought she could just blast me with water in the back or something.</p><p>“Why… Are you here?” My voice trembled as I spoke.</p><p>“You won’t understand…” She depressed a sigh. It was the first time I had heard her like this — hopeless.</p><p>“Oooookay…” I turned, still afraid I would get blasted behind and took a few quick steps forward.</p><p>“Wait.” I turned around. “Be careful.” Wait, did I just hear what I just heard? Not knowing how to reply, I nodded slowly and walked — no, ran — in the other direction. Panting, I suddenly felt a wall in front of me. Smooth and solid. I groped around in the dark with my hands, hoping against all odds that there was a way to go forward. I seriously did <em>not </em>wanna turn around and go back.</p><p>That was when I realised: it hadn’t ended, just taken a sharp 90-degree turn. I followed the path, running forward. Then I stopped dead.</p><p>In front of me lay a series of metal tubes, swirling and twisting around, connecting to a big computer in a thousand different ways. On the computer screen, random numbers danced around in an unable-to-understand way. In the</p><p>end, a hologram of the box rose up on top of the computer. Then it crackled, like static, and disappeared. The next second it appeared again, then disappeared, and so on.</p><p>I stared up at the complex machine, trying to make out what it was supposed to do. After a while of the staring contest, I gave up, instead wounding round the machine trying to find a way to get out. In the end, I realised I was in a circular room and there was no way out. Depressed, I walked around again, and this time, I noticed something I hadn’t seen before. A sort of hole, in the top of the machine. The weirdest thing was, there were colours shining out from the hole.</p><p>Well, don’t blame me for being curious. I saw a ladder of metal tubes leading up to the hole. Well, I guess it wasn’t really a ladder, but nonetheless I climbed up. Pulling myself up with the metal rungs, I climbed all the way to the top. It was kinda scary, actually. Very unstable. When I pressed too hard on a bar, it would bend downwards.</p><p>My hands gripped the last bar — finally! — and I pulled myself up. But in my moment of joy, I slipped on the smooth metal and fell right off.</p><p>Everything seemed to play out in slow motion. The descent to my doom. I waited for water to come to my aid — I really needed it — but to my frustration it refused to come to me. Of all the times in my life, why now? I closed my eyes, bracing myself for the inevitable. But nothing could prepare me for what happened next.</p><p>Even as my body hit the ground, pain coursed through my every vein, slamming hard into my body. A circle of red had formed on my left hand, and as I watched blood came flowing out. I saw scratches — deep ones — on my right palm. Sighing both in pain and exasperation, I pushed myself up — only to see another patch of blood on my left leg. I limped to the machine. Now it looked dark and ominous, as if laughing at me for my little slip. But I was not gonna give up — not when I was so close.</p><p>I gingerly put my hand on the first bar, and started my ascent.</p><p>The climb was, honestly, tedious. Blood stained metal, pain throbbing in my hands and legs. But I continued. In the end, I managed to climb onto the last metal bar. In front of me the hole sat, ominous as ever. In the back of my mind, a little doubt remained. <em>What if it was something bad? </em>But I had no choice. Taking in a deep breath, I closed my eyes and went in.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7103aa5fdb96" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-elements/chapter-10-alexa-7103aa5fdb96">Chapter 10 — Alexa</a> was originally published in <a href="https://medium.com/the-elements">The Elements</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 9 — Element On]]></title>
            <link>https://medium.com/the-elements/chapter-9-element-on-9cdcd87566dc?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cdcd87566dc</guid>
            <category><![CDATA[fiction]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[fantasy]]></category>
            <category><![CDATA[friendship]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Sun, 01 May 2022 15:12:56 GMT</pubDate>
            <atom:updated>2023-02-19T07:20:57.041Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chapter 9 — The Search</h3><p>“Okay… So now that we know the number, how do we know what it means?” This was the first time one of my questions had sent everyone into silence thinking mode. Finally, Emerald spoke.</p><p>“Look.” Emerald pointed at the edge of the device. I saw a fuzzy combination of words.</p><p>“It says… ‘Made by’… something?” I asked.</p><p>“Exactly. It must be a company of some sort, right?”</p><p>“Right… But how is that gonna help us decode a mysterious number?” Silence again.</p><p>“Actually… It could be a serial number…” Aura suggested.</p><p>“But it’s too small for a serial number,” I immediately retorted.</p><p>“Hey, but a serial number <em>could </em>work,” Aura retaliated. “It could have been made a long time ago by that company.”</p><p>“Then, assuming it <em>is </em>the same company that was trying to catch us all, why would they use a very early version of their product, if they have better ones?” I re-joined.</p><p>“But maybe the company is very new. Then they would have fewer products,” Alexa cut in.</p><p>“And anyways, if it’s not a serial number, what do <em>you </em>think it is?” Aura shot me a glare when I couldn’t answer. But this company… it really sounded suspicious, didn’t it? I mean, who puts a number, whatever its purpose, in ancient mathematical symbols?</p><p>“Or… maybe a model number?” Amber suggested.</p><p>Emerald eyed Amber. “But model numbers contain letters.” A brief silence emanated.</p><p>“How about a company index number?” Emerald propounded.</p><p>“But it can’t be that short, can it?” Amber riposted.</p><p>“Whoa whoa whoa. What’s a company index number?” I was left completely disoriented at their conversation.</p><p>“Yeah. What’s that?” Olivia asked. At least I wasn’t the only one who was confused.</p><p>“Uhh… I’m not sure whether your world has this, but a company index number is basically a number that a company is identified by. But now, all the company numbers are at least six, seven digits long. I don’t know <em>how </em>you can have a company number this short,” Amber elucidated.</p><p>“Yup, we definitely don’t have <em>that </em>in our world,” I remarked. But after this, a hush fell over us. Silence hung uncomfortably in the air as everyone eyeballed one another, as if trying to outstare each other. “Ugh,” I finally let out a groan, “Why is luck so hard on us?” At that exact moment, a guy walked into the “Mathematics” section, but, upon seeing an entire group of girls gathered in a circle and hogging the path, he gave us a confused look and promptly shuffled away.</p><p>“Uhh… I think we should go somewhere else in the library. We look like we’re crazy,” Aura commented. Everyone agreed without hesitation and we walked out. Emerald, once again, helped us in navigating the vast expanse of books and soon, I found myself encircled by tables and chairs, with a sign saying “The Discussion Corner”.</p><p>The Discussion Corner had all sorts of people crowding around, reading books together, discussing about supermassive black holes, and just generally chatting. A glass wall was enclosed around the corner, which Emerald explained was made by those with the element of sound (“What? There’s an element of sound?” I had asked, startled) as a sound barrier so that the rest of the people in the library would not get disturbed. We chose a purple (apparently Alexa’s favourite colour) sofa and sat down.</p><p>“So, back to the topic. What do we do now? We don’t even know what that number means for sure. How are we supposed to continue?” I blurted, failing miserably at my attempts to be optimistic.</p><p>“How about… We go search in the library? I know, I know, this sounds completely weird, but I’ve got a plan.”</p><p>“Trust you to always have a plan,” everyone chorused, before Aura could even start describing her plan.</p><p>Rolling her eyes, Aura continued, “I’ll pretend I didn’t hear that. Anyways, I was thinking we could all split up. Find different categories. Like, maybe Amber, Emerald and Olivia can look for serial numbers, Pearl can look for company index numbers, and Alexa and I can look for model numbers.”</p><p>“Whoa, whoa, whoa, hold your horses,” I protested immediately, “Why am I going myself? I barely know what a company index number <em>is</em>! Besides, why are there three people looking for serial numbers?”</p><p>“Okay, okay, okay, calm down,” Aura replied, “How about Amber go with you?” “Sure!” Both Amber and I yelled at the same time.</p><p>“Wait a sec — why am I going with a <em>pear</em>?” Amber joked. Everyone burst out laughing; even I couldn’t stop myself. But it was comeback time.</p><p>“Oh yeah, why am I going with a <em>hamburger?</em>” I shouted. We laughed ourselves silly, until nearly the entire room was staring at us. Only then did I stop to catch my breath, gasping hard.</p><p>“Okay, okay, that’s enough,” Aura said, “Okay, Hamburger and Pear, looks like you can’t handle yourselves properly together. So I’ll let Pear go with Olivia, and Hamburger still go with Em, ‘kay?” Both Amber and I glared daggers at Aura, but I had to try terribly hard to stifle my laughter. Well, it looked like we were separated for this once — but it was a low enough expense for a joke.</p><p>“Wait, so <em>Olive tree </em>goes with Pear?” Alexa asked. Olivia looked like she had reached her limit and exploded with laughter. Instantaneously, we were off again, nearly rolling on the floor with laughter. Damn it for being so contagious.</p><p>After a long while (and a hard time trying to compose ourselves), we finally stopped — though I had a sinking feeling the nicknames would stick. “Meet here in fifteen minutes?” I asked. Everyone agreed and Emerald, Amber, Olivia and I set off towards the “Companies” section, while Alexa and Aura went to the computer to try finding model numbers.</p><p>Seventy-four thick books later, I chanced upon an ancient-looking column of books. Tracing my finger along the mucky spines of the book, I made out the words “Yellow Page” on all of the books. They seemed to have an order, because I spotted the numbers one to seventeen on the books.</p><p>“Yo, Olivia!” I called, “I think I found something!” As Olivia (sadly, the name Olive tree was still stuck in my mind) came over, I showed her the series of yellow pages.</p><p>“Wow. That’s a great lead.” Olivia pulled one book out, dust seemingly billowing out from it. She flipped open the book and saw the words “Company Index № 400–499”. I nearly jumped up in excitement — this series of books was exactly what we were looking for!</p><p>“Hmm… This is volume five,” I realised, looking at the cover, “Which means 328 is in volume four.” I pushed the book back into the shelf before dusting off my hands. Then I set about looking for volume four. Sadly, they weren’t arranged in order, so I had to blindly guess and check. Luck deserted us and it wasn’t until the last book that we found volume four.</p><p>“Finally!” I cried, swiping the sweat off my forehead as I pulled out volume four. I flipped to the first page; sure enough, it said, “Company Index № 300–399”. We skimmed through the book until we found a page ending with №319. However, the other page seemed to have been torn out hastily — there were jagged ends left at the sides of the page.</p><p>“What? Not again…” Olivia sighed. Soon after, we made our way back to The Discussion Corner and shared our findings with the others.</p><p>“Maybe… we just try looking for more clues?” It was the only thing we could do, so everyone just went to the “Companies” section and tried finding something else. But it just ended up being everyone picking a book and skimming through without finding anything. So I decided to look around at the library itself.</p><p>The many shelves of books just made the library even more confusing to navigate — every shelf looked exactly the same! I walked past millions of shelves, staring at some book covers that made no sense (“How to Abrien” was just plain nonsense). Then, I came across something that caught my attention.</p><p>A rusty, metal door. With a lock on it, that evidently did not work — because I could push open the door. I peered in.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cdcd87566dc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-elements/chapter-9-element-on-9cdcd87566dc">Chapter 9 — Element On</a> was originally published in <a href="https://medium.com/the-elements">The Elements</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Chapter 8 — Ten Steps]]></title>
            <link>https://medium.com/the-elements/chapter-8-ten-steps-e94793c980e0?source=rss-7c79335035b0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e94793c980e0</guid>
            <category><![CDATA[friendship]]></category>
            <category><![CDATA[adventure]]></category>
            <category><![CDATA[fantasy]]></category>
            <category><![CDATA[fiction]]></category>
            <dc:creator><![CDATA[Wu Jiaojiao & Li Yuansan]]></dc:creator>
            <pubDate>Sun, 24 Apr 2022 12:08:29 GMT</pubDate>
            <atom:updated>2023-02-19T07:19:50.450Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chapter 8 — The Hikers</h3><p>“Woof!” Something furry whizzed across the room. Before I could find out what it was, it disappeared.</p><p>“Uhh… What was that? You sure your house is safe, Alexa?” I asked.</p><p>“It’s my dog, silly. Cloudy!” A brown dog bounded into the room. It looked normal enough to me, but I did wonder: How do you get a dog in the middle of nowhere? I took a step back. That was when I actually took in all I was seeing.</p><p>The house was filled with, well, all sorts of things, but perhaps the part I should focus on is all the colours. It looked like Alexa herself: messy but of a nice shade. The many objects inside were of so many different shade that it made me wonder, again: Where did she get all of this?</p><p>“Wait. Where did you get the dog thing and how did you get all this stuff?” Amber voiced out my question. Alexa just pointed at her drawing pad like it was very obvious and started patting her dog. I looked at her in disbelief.</p><p>“What do you mean?”</p><p>“Well, duh. I drew it. I drew them all.” Then Alexa looked behind me. She squinted her eyes at something, and I turned around to see that it was a vase. She started scribbling on her drawing board again and then the vase changed from yellow to blue.</p><p>“What?” It was the only thing I could say. I mean, it’s enough that Alexa can draw things and it comes shooting out from her drawing pad, but now she can just change everything she sees?</p><p>“Uh, yeah. Wait. You don’t have a drawing pad too?”</p><p>Aura’s eyes narrowed. “What do you mean ‘too’? And are we supposed to have one?”</p><p>“Well. I guess I’m the only one I’ve seen who does have a drawing pad… Okay so it’s like this. When I draw stuff here, it just appears. I guess I’m the only one who can do that. ‘Cus the hikers didn’t have a drawing pad either…”</p><p>“Wait, wait, wait, what hikers?” Alexa’s face fell.</p><p>“You want the whole story? I… actually don’t have any parents… I only remember that I was born in a cave with this pen and drawing pad. When I was three — or at least that’s the age the hikers told me I was — I randomly drew squiggly lines that looked like a lightbulb and it came to life. The light attracted some nearby hikers over. They were quite nice to me and brought me to their home. And they didn’t have drawing pads either. When I was five…” Alexa sighed. “You know what? I ran away when I was five for no particular reason. I found the cave I was born in and drew some stuff and they came to life. So I drew this house and all this. Oh, and Cloudy. So ya. That’s all.” For a moment there was silence. Alexa had no parents? That… sounded pretty much like me. I looked at her in pity. Nobody really understood what it felt like to lose your parents — or not even know who they were from the start. But the hikers seemed weird enough. Why did Alexa run away, according to her, for “no particular reason”?</p><p>I was just about to ask when Alexa said, “Now that <em>that </em>depressing story’s over, can you tell me what you were doing with the man?” She listened while Aura and I recounted our tale, with Amber adding in comments about “the hardest way of starting a fire”. When we were done, Alexa asked, “You actually did all that? How do you ‘get’ fire and water and air and plants and all that out?”</p><p>“Uhh… You don’t know about elements?” Aura asked in disbelief.</p><p>“Like you said… Am I supposed to?” So we spent quite some time explaining that to her, with demonstrations from Amber (I told her to “stop burning up Alexa’s stuff!”).</p><p>“Whoa,” Alexa said at the end (while redrawing everything Amber burned), “I think that’s cool. You guys have special powers too.” Amber shrugged.</p><p>“You know, I’ve never really heard of it, but I think it’s possible that your power is also an element. I don’t know — maybe the element of art and creation?” Amber suggested.</p><p>“Huh, yeah, I guess that makes sense. Well, since the ‘people’ are chasing you for some reason, I guess you can stay here for a while. Nobody really knows that I have a house here. People just pass by without really caring.”</p><p>“Um, okay then. Thanks,” I said. Before I could even notice Alexa was drawing something, five beds appeared out of nowhere. Then she drew a line on her drawing pad and all the beds just floated out of the room and into what she called the “bedroom that needs resizing”. I looked at her drawing pad and saw that she pressed on the picture of a bedroom. I was surprised at the details of it all. Then she just drew a bigger version of it, and dragged the beds in.</p><p>“Done!” Alexa said, “Now you can stay here for the night. And it looks like it’s getting very dark.”</p><p>“Yeah. Let’s turn in for the night. Impromptu slumber party, except there’s no partying!” I laughed at Amber’s comment, while everyone else agreed to go to bed. Alexa brought us to her bedroom. It looked exactly like what she had drawn, with the five beds inside — plus Alexa’s own bed. With a “goodnight”, everybody settled into their beds.</p><p>But I couldn’t sleep. The noises were getting louder and louder. <em>They’re coming, </em>something whispered in my head. <em>Who? </em>I asked back, but there was no reply. Then there was a sudden “bang!”. I heard the door being blasted to pieces. I sat up, all traces of sleep long gone.</p><p>Everyone was awake by then. I walked through the corridor and peeped through the wall. There were two men and a woman. I had never seen them before in my life. I gestured to the other people and pointed at them. A startled look crossed both Aura and Alexa’s face.</p><p>“Umm… You know those are the people I told you about, right?” Amber told Aura and Emerald.</p><p>“You mean those drug dealer people?”</p><p>“Yeah. Why are they here now?”</p><p>“Wait, wait, wait. <em>Who</em>?” I asked, confused (Okay. I’ll stop pretending. <em>Way </em>too confused.)</p><p>“I saw them in the forest one day, smuggling drugs. And you know how the police in our side is absolute trash. They still aren’t caught yet,” Amber replied. Hearing this, Alexa’s face turned even paler.</p><p>“Alexa, are you okay?” I asked her.</p><p>“It’s… It’s…” she sighed, “Never mind.” I was starting to get suspicious. Alexa definitely knew them — there could be no doubt now. But why would she refuse to tell us about it? We were so engrossed in our conversation that we didn’t notice the people were moving nearer and nearer towards us.</p><p>“They’re coming.” My one whisper, and everyone was suddenly alert all at once. Aura suddenly disappeared and nobody seemed surprised — I should’ve guessed she could turn invisible with air. Then I remembered something: I could too. I</p><p>tried getting the water up my body. It flowed smoothly across my skin, covering my entire body. Then it changed colour to my surroundings and it worked. When I looked down I saw nothing but thin air.</p><p>“You can do that too?” A voice behind me said. I jumped and looked behind me — and saw nothing. For a second I was too shocked to respond. Then I remembered it was just Aura.</p><p>“Yeah, I guess,” I replied, still intent on ignoring her. But then I realised something. Everybody else in the group had nothing to camouflage themselves with. What could we do?</p><p>Footsteps. The first sign they were coming. We had already each hidden ourselves in Alexa’s bedroom, hoping they wouldn’t come in so much. But Alexa had chosen a spot weirdly at the very front of the door. I wondered why — but didn’t have time to find out when they came in. I saw them more clearly now. They looked like normal people just walking through a forest, but there was something on their face that told me they weren’t as “normal” as they looked.</p><p>Suddenly, I heard a noise coming from somewhere. I whipped around and saw Alexa getting out from her hiding spot under the table. <em>No! </em>I mouthed to her, but of course, nobody could see me when I was invisible. So all I could do was stand there as Alexa got out and stood before the people at the door.</p><p>“Alexa…?” One of the men said.</p><p>“Yes. Alexa. I’m back.” Alexa started scribbling on her board. I walked over to her, still in camouflage, and saw her drawing nothing but a stick, which came to life. It floated in mid-air, before the people, who looked at Alexa, flabbergasted.</p><p>“How did you — ”</p><p>“Remember this stick? You used it on me before. How many times now…? Look at all <em>this! </em>Really, you thought I ran away for nothing? Everything you did to me. It was <em>too much</em>!” Alexa thundered. I saw her lift the edge of her shirt. A bluish black bruise was on her skin.</p><p>“Now, now, Alexa — ”</p><p>“You wanna feel what it’s like on <em>your </em>skin?” The stick was raised higher. The group of people — which I assumed was the hikers — looked at each other fearfully. It was the first time I had seen such a sight — adults running away from a thirteen-year-old-girl. Yet it happened right in front of my face. The stick was</p><p>raised even higher and it followed the hikers all the way out the door. I could hear them screaming something that sounded like “witchcraft!” as they ran around in circles, before their shouts faded away into the night.</p><p>“What. Was. That?” I materialised right next to Alexa, giving her more than a shock. The rest of the girls came out from their respective hiding spots.</p><p>“I don’t wanna talk about it.”</p><p>“What now?” Emerald asked (don’t think I didn’t notice the subject change there!).</p><p>“Uhh… We hide?”</p><p>“No.” I was the first one who protested. Just staying here made me feel uncomfortable. I wanted to be out there already, doing whatever we were supposed to do and fighting those people. “Maybe we should try to find out clues about this mysterious group of people.”</p><p>“Yeah, yeah, we totally have all sorts of clues as to what they’re up to. <em>Totally</em>,” Aura rolled her eyes. Valid point. I fidgeted with the edge of my dress as I wondered what we could do. Suddenly, I felt something bulge out from my dress pocket. I slipped my fingers into my pocket — and out came the device we had found.</p><p>“Whoa! Maybe… <em>this </em>could be the clue?” Before anyone could retort, I flipped the device over. Everyone crowded round and peered at it. Behind, I saw… some combination of symbols — and some slightly faded out words. “Anyone can read this?”</p><p>“Uhh, if you can’t read it, we can’t read it, right?” Aura shot a glance at me.</p><p>“Just in case your written language is different from ours, you know?” The flame of hope had been stamped out once again.</p><p>Suddenly, Emerald’s eyes turned saucer-wide as recognition flickered across her face. “I know!” she exclaimed, “I read it in one of my math books before. It’s the ancient numbering system!” My mind immediately flashed to Roman numerals, before realising this was a different world, so it must’ve had a different numbering system. Such luck that we had a math whiz on our side.</p><p>“So… you can read this?” I perked, hopes up.</p><p>“Uhh… Not exactly. I only know this is 3,” Emerald said, pointing at a symbol that looked oddly like Pi, “But, uh, I didn’t really memorise <em>everything</em>. So I can’t read the rest.” Everybody groaned. “<em>But</em>,” Emerald added, “We <em>can </em>still go to the library and find that book on the ancient numbering system!”</p><p>And that was how we ended up heading to “Stellar Public Library”. As we stepped through the gigantic, welcoming doors of the library, a gush of cold air hit my face. I took in the crisp scent of the books as we walked through the many shelves, following Emerald to the “Mathematics” section as she skipped along a well-known route.</p><p>“I think I found that book somewhere… here,” Emerald stopped in front of a shelf and trailed her fingers lightly on the spines of the books. “Aha! Here it is!” Emerald took out a dusty, old book titled “The Ancient Numbering System”. She flipped through the pages, stopping at the chapter “From Symbol to Number”.</p><p>“So… this is it?”</p><p>Emerald shrugged, “I guess so.” I peered at the crude illustrations, then at the device, trying to make out which symbol matched which number. Circle with an inscribed triangle was two, an ‘L’-like shape was eight…</p><p>“Three, two…” I murmured, trying to get the numbers right. But Olivia was faster.</p><p>“Three, two, eight,” she said, “Three hundred and twenty-eight.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e94793c980e0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-elements/chapter-8-ten-steps-e94793c980e0">Chapter 8 — Ten Steps</a> was originally published in <a href="https://medium.com/the-elements">The Elements</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>