<?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 Tiff José A. on Medium]]></title>
        <description><![CDATA[Stories by Tiff José A. on Medium]]></description>
        <link>https://medium.com/@tiffany-cyber?source=rss-d827700b1c47------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qVE9vh06tgettaqBFk3Bqw.jpeg</url>
            <title>Stories by Tiff José A. on Medium</title>
            <link>https://medium.com/@tiffany-cyber?source=rss-d827700b1c47------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 08:57:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tiffany-cyber/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[Assault on the Capitol: Technology’s Role]]></title>
            <link>https://medium.com/swlh/assault-on-the-capitol-technologys-role-9e95c6c125da?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e95c6c125da</guid>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[activism]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Thu, 14 Jan 2021 22:32:44 GMT</pubDate>
            <atom:updated>2021-01-14T22:50:42.521Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Jan 6, 2021</blockquote><blockquote>Thousands of domestic terrorists raid the U.S. capital building, with the blessing of president Trump</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EtGMlgIXeeLhSiYqILOrrw.jpeg" /><figcaption>Capitol Police aim their guns as domestic terrorists attempt to storm the chamber. Photo: Andrew Harnik/AP</figcaption></figure><p>Thousands of rioters overpower the capitol police and breach the united states capitol building during a congress’s joint session. Inside, Secret Service agents outfitted in black suits grab majority leader Hoyer and rush him off to safety. Mark Meadows calls Ivanka, pleading her to get her father to do something. Nancy Pelosi’s embossed nameplate is ripped off the wall. “Stop the steal,” the rioters screamed as they marched down the ornate capitol halls, sporting Trump flags. Many capitol police officers let these insurrectionists gain ground, leaving their positions. The terrorists are now freely roaming the halls. A noose is erected in front of the capitol [in the year 2021]. Flashbangs go off, intermittent load blasts are accompanied by a puff of smoke, in a futile effort by law enforcement. Secret Service agents draw their pistols; some terrorists attempt to break through the door to the house chamber. These secret service agents frantically obstruct the doors with furniture. A SWAT unit clears a path for congressmen &amp; women to retreat to the tunnels below. The state officials, directed to run as fast as they could. “He’s got a gun,” rioters shout, almost surprised somebody would use lethal force against terrorists. A woman gets up to jump through a doorway through the shattered windowpane; the officer fires a shot, she drops to the ground lifelessly.</p><p>A disturbing video surfaced of Capitol Police units in riot gear outnumbered by thousands of rioters, valiantly trying their absolute best to stand their ground. The thousands of rioters push forward in unison, a young officer in distress, no older than 30, screams in utter agony, being crammed into a metal doorway by the collective force of thousands. Next to him, an officer desperately trying to hold his ground has been beaten, a domestic terrorist hitting him and grasping his gas mask. Meanwhile, on the other end of the spectrum, a C.P. officer gets a selfie with an insurrectionist inside the capitol halls. “Hang Mike Pence” is shouted repeatedly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OKNdTCBpW5kXOg7qqJ_QPg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HwgRNtBsk3XdH7Qr14Tclg.jpeg" /><figcaption>Noose erected outside the capitol. Getty Images | A domestic terrorist hangs from the Senate Chamber&#39;s balcony. Photo: Win McNamee/Getty Images</figcaption></figure><p>Reporters weren’t allowed into the secure room with the congress members. Many young journalists in the hallway, screaming and sobbing in fear. The look of distress on their youthful faces mirrors one of a soldier, terrified in combat. Congressmen Ruben Gallego, a vet himself, leaves the secure room, leads the reporters, and locks them in his office with him — he knows how they feel in that moment. The trauma they endured will remain with them eternally, haunting them. Many people who work in the capital are now traumatized, whenever they see a photo of the capital, let alone go back to work in these halls; the fear they felt during this insurrection will come rushing back.</p><blockquote>This wasn’t an isolated incident, there’s a clear preceding chain of events involving radicalisation, improper moderation, and spread of misinformation online. We’ll take a deep dive into how the pandemic had an effect on the radicalisation of so many people on social media through an analytical lense, as this had a profound role in this tradegy happening.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*9V6AfA3mul4FtgaRaHj1fA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3iJIpfw4eQZrnE2JJek-sg.jpeg" /><figcaption>House members were advised to hide beneath their chairs. Photo: Andrew Harnik/AP</figcaption></figure><h3>Social Media, Misinformation, and Far-Right Reactionary Movements</h3><p>We live in an era of massive tech companies controlling vast swaths of people’s information pipeline without proper oversight. As a result, the content’s accuracy on the social media platforms and search engines you use to educate yourself on current events is seated behind the companies’ best financial interest. Improper and inconsistent moderation of content on Facebook, YouTube, or Twitter, for instance, allows conspiratorial thinking to permeate, for hate and misinformation to propagate.</p><p>The internet normalizes behaviors, fringe beliefs that otherwise may be associated with the risk of being considered unacceptable or inappropriate in person.⁽³𝄒⁴⁾</p><h4>Earnings Over Ethics</h4><blockquote>“It’s the gradual, slight, imperceptible change in your own behavior and perception that is the product.” — Jaron Lanier, The Social Dilemma</blockquote><p>It’s in Silicon Valley’s best interest to squeeze every bit of engagement out of each user. Facebook has shown its complete absence of ethics in favor of engagement time and time again. The ‘move fast and break things’ mentality leads to a complete fixation on maximizing growth with a total disregard of the implications. A developer may initially write algorithms, but once unleashed, it’s the opening of pandora’s box. Here lies the core issue with complex algorithms having sole discretion of what news and posts users see without understanding what’s going on under the hood. Even if tech giants made a push to favor ethics over profit, the dangerous real-world implications of machine learning run amuck would be challenging to fix.</p><h4>Radicalization and Spread of Misinformation</h4><blockquote>“Most studies suggest that the internet is a reinforcing agent or an accelerant, and has broken down the traditional barriers for individuals wanting to become radicalised.” ⁽ ¹¹⁾</blockquote><p>The information ‘echo chamber’ ⁽³𝄒¹⁾ or ‘mental reinforcement activity’ ⁽²𝄒³⁾phenomenon is a disturbing reality. These information bubbles form from showing you results that you will likely engage with, things that specifically <em>you</em> would click on, over things that are non-biased and fact-checked.</p><p>According to Facebook&#39;s artificial intelligence, a conspiracy theory is more likely to be clicked over a peer-reviewed fact-checked publication. It’s well established that the internet, as it stands today, allows for more effortless access to conspiratorial information, sources affirming biases, and misinformation — which is more challenging to do in the real world; where we more routinely speak to individuals with differing opinions or have access to materials presenting different viewpoints⁽³𝄒⁶⁾</p><blockquote>“Brought together by online journals, blogs, services and chat rooms, the participants enter forums where the extremist ideology becomes selfreinforcing.”⁽ ³𝄒 ⁸⁾</blockquote><p>Social media can also give the illusion of ‘strength in numbers,’ making people generally on the fringe seem as if they’re a majority.⁽³𝄒⁷⁾ Members of these reactionary groups find another refuge in encrypted chatrooms and forums, radicalizing each other in the process. The ease of access to encrypted, ‘underground’ communication channels is not inherently evil, of course — but the use of these easily accessible forums incubate further acceleration and radicalization. Once reactionary ideas have been introduced to a prospective new-member via social media, the user can be funneled down a rabbit hole consisting of private chatrooms and forums, entirely free of moderation. Hate groups, hardcore accelerationist terrorists/militias, and dangerous conspiracy theories spread just beneath the surface, splintered into private groups, like wildfire — obfuscated from being tracked by outsiders.</p><blockquote>“[The internet] provides a locus in which they can obtain radicalising material… It provides them with direct access to a community of like-minded individuals around the world with whom they can connect and in some cases can provide them with further instigation and direction to carry out activities.”⁽¹⁰𝄒 ¹¹⁾</blockquote><h3>Covid-19 Primes the Fuse</h3><p>Without a doubt, the COVID-19 pandemic has had a massive effect on the spread of misinformation in 2020 and the exponential growth of reactionary movements like Qanon. The pandemic’s widespread insolation has caused many people to spend considerably more time on social media while being away from their friends and family, who may have views based more on reality.</p><p>Covid-19 has caused a widespread decline in all of our mental wellbeing during a time of continued death and trauma — many people want a straightforward solution, a definitive explanation to cope with the chaos of the world right now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1iySCqmU6MNjFHD3v_R36w.jpeg" /><figcaption><em>Smoke fills the walkway outside the Senate Chamber as insurrectionists are confronted by U.S. Capitol Police officers inside the Capitol, Wednesday, Jan. 6, 2021, in Washington. (AP Photo/Manuel Balce Ceneta)</em></figcaption></figure><h4>“Trust the [Delusional] Plan”: Unachievable Prophecy Leads to Violence</h4><p>Conspiracy theories aren’t based upon reality; instead, they provide followers with a sense of order and protection during a chaotic time in history. For instance, Qanon acts as a warm blanket of “trust the plan” to many believers — they eventually adopt a reality that serves their needs, further isolating themselves, becoming more radicalized, ultimately losing touch with reality. The dilemma is — <em>there is no plan</em>, the prophecy that fuels their hope is destined not to come true, they will never attain their delusional goals, effectively creating a ticking time bomb, not dissimilar to a doomsday cult. Believers of far-right reactionary movements become increasingly disgruntled and dissatisfied that their delusional fantasies don’t attain fruition.</p><blockquote>The grim reality is: their messiah Trump is a deranged fascist, using his supporters ignorance in an attempt to bolster his crazed self-serving delusions. This fact is simply too much to handle. The believers simply cannot accept that they were conned; as shame has a powerful effect on one’s psyche.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*htYfrqzCFrxJViDf296Odg.jpeg" /><figcaption>Rioters climb the west wall of the U.S. Capitol on Wednesday, Jan. 6, 2021. (AP Photo/Jose Luis Magana)</figcaption></figure><p>They no longer aspire to indifferently “trust the plan.” Far-right radicals need a white ethnostate void of any adversaries <em>right now</em> — inspiring many to join hardcore far-right accelerationist militias like the Proud Boys or Boogalo Boys. With further encouragement by a malignant narcissist autocrat named Donald J Trump, the unimaginable happens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tk-iuULCJOjD3v0trrnfEA.jpeg" /><figcaption><em>Rioters try to break through a police barrier, Wednesday, Jan. 6, 2021, at the Capitol in Washington. As Congress prepares to affirm President-elect Joe Biden’s victory, thousands of people have gathered to show their support for President Donald Trump and his false election fraud claims. (AP Photo/Julio Cortez)</em></figcaption></figure><h3>Trump’s Lights the Powder-Keg</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_EoTRq0D84naoUNqlRDKOg.jpeg" /></figure><p><em>The days leading up to the siege: </em>Die-hard Trump supporters and extremists flocked in from all over the country to attend the Trumpian “Save America” rally. A substantial portion of the attendees had come prepared to carry out violence, carrying guns, donning combat gear; at least one man brings flex-cuffs to restrain congress members. Non-profit research group Advance Democracy found that 50% of posts on the subreddit <em>r/TheDonald.Win</em> “featured unmoderated calls for violence in the top five responses.”⁽¹³⁾ Hashtags such as <em>#StormTheCapitol </em>circulated online before the rally and included threats to kill congressional leaders.⁽¹⁴⁾</p><blockquote>“This is America. Fuck D.C. it’s in the Constitution. Bring your goddamn guns.” Another forum member wrote: “ARMED WITH RIFLE, HANDGUN, 2 KNIVES AND AS MUCH AMMO AS YOU CAN CARRY.” said another poster⁽ ¹³⁾</blockquote><p>Wednesday morning, Rudy Giuliani took the stage calling for “Trial by combat.” At noon, Trump came onto the stage in front of the sea of supporters. He turned his baseless rage toward the vice president in a desperate last-ditch effort. He attempted to pressure Mike Pence to overturn the election results, for which he doesn’t have the authority. Trump stated the same incendiary lies to the crowd, claiming the election was wrongly stolen from him and that there was widespread fraud. Of course, every credible source has abundantly established that there was no widespread election fraud, and even if there were, Trump would’ve lost the popular/electoral vote regardless. Trump announced he’d march down to the capitol with his supporters to ‘stop the steal.’ Of course, Trump didn’t come, but thousands of fired-up Trump supporters marched forward to the capitol.</p><p>Things quickly escalated, the rioters converged on the capitol with force. The capital police weren’t prepared; they underestimated how violent these insurrectionists were. Barricades were breached, barricades that weren’t properly set up, to begin with. We all know what happened next, violent insurrectionists seized the capital; our congressmen and women barely escaped. Trump called these violent insurrectionists “patriots,” he told them to “remain peaceful” after they’d already breached the capitol&#39;s interior perimeter. Nobody could reach the president, not even Mike Pence. Trump essentially stopped functioning as POTUS — he refused to listen to his staff&#39;s pleas: to release a video calling these rabid rioters to stand down.</p><p>This siege was a failure of the capitol police, not only the incompetence of President Trump — but also the social media platforms that let misinformation and conspiracies spread like wildfire. Trump’s has since been banned on most social networks thankfully, but this seems like too little, too late. He’s started something he can’t stop, and because of him, over 20,000 national guard troops are tasked to maintain a secure perimeter of Biden&#39;s inauguration, coming up the next week. Over a thousand soldiers sleep on the floors of the capitol; to protect it from domestic terrorists that Trump emboldened for years prior.</p><h4>References</h4><ol><li>(Ramakrishna, 2010; Saddiq, 2010; Stevens and Neumann, 2009)</li><li>(Silber and Bhatt, 2007)</li><li>(von Behr et al. 2013, sec. 3.4)</li><li>(Bjelopera, 2011)</li><li>Behr, Ines von, Anais Reding, Charlie Edwards, and Luke Gribbon. 2013. “Radicalisation in the Digital Era: The Use of the Internet in 15 Cases of Terrorism and Extremism.” <a href="https://www.rand.org/pubs/research_reports/RR453.html.">https://www.rand.org/pubs/research_reports/RR453.html.</a></li><li>(Briggs and Strugnell, 2011; Shetret, 2011)</li><li>(Saddiq, 2010)</li><li>(Schaan, Phillips, 2011)</li><li>(Stevens, Neumann, 2009)</li><li>(von Behr et al. 2013, sec. 3.5)</li><li>(Pantucci, 2011)</li><li>(von Behr et al. 2013, sec. 3.7)</li><li>Wolf, Cam. “How the Attack on the Capitol Happened, From Planning to Siege to Arrests.” GQ. Accessed January 14, 2021. <a href="https://www.gq.com/story/wednesday-capitol-attack-summary.">https://www.gq.com/story/wednesday-capitol-attack-summary.</a></li><li>Craig Timberg, Drew Harwell. “Capitol Siege Was Planned Online. Trump Supporters Now Planning the next One.” The Washington Post. WP Company, January 12, 2021. <a href="https://www.washingtonpost.com/technology/2021/01/09/trump-twitter-protests/">https://www.washingtonpost.com/technology/2021/01/09/trump-twitter-protests/.</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e95c6c125da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/assault-on-the-capitol-technologys-role-9e95c6c125da">Assault on the Capitol: Technology’s Role</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Big Sur Beta: A Developers Opinion & Why I’m Worried for the future of macOS]]></title>
            <link>https://medium.com/macoclock/big-sur-beta-a-developers-opinion-why-im-worried-for-the-future-of-macos-e1c3acbf7dc1?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1c3acbf7dc1</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Sat, 25 Jul 2020 07:11:51 GMT</pubDate>
            <atom:updated>2020-07-31T09:02:30.273Z</atom:updated>
            <content:encoded><![CDATA[<p>I made the impulsive decision to download and install Big Sur on my primary computer, so you don’t have to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lCc7_VxaG5EuzeoDsMPsyw.jpeg" /></figure><p>In this blog, I compare the design language to Catalina while predicting a grim possible future of macOS. We’ll discuss the implications of the transition to ARM for developers. We’ll go into the consequences of Apple’s walled garden, and their affinity for closed-systems like iOS. Finally, we’ll take a look at the reasons this all could paint a grim picture for the future of pro macOS users.</p><h3>OS X is Dead — ARM is Coming</h3><p>On June 22, 2020, Apple announced a significant bombshell at WWDC 2020: Apple will be switching from Intel X86 processors to Apple Silicon ARM processors over the next two years. During that same conference, they announced that macOS X is finally, after 20 years, at the end of its road. There’s a new macOS on the horizon: MacOS 11 Big Sur.</p><p>As soon as I heard that, I jumped onto Apple’s Developer site, and downloaded the Big Sur Developer Beta installer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hy9TxkhUSaXtUIunI8fKUQ.png" /></figure><p>As the computer completed the final restart of the install process, I heard a sound I haven’t heard for a long time: the glorious startup chime blaring, accompanied by the white glow of the Apple logo on the black background.</p><p>Immediately upon seeing the home screen, I see the drastic design language changes. It’s a shock to my system after being used to macOS X Catalina’s modern-yet-familiar design language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*flZ5R1yGP2AxOLtIIiXuJg.jpeg" /></figure><h3>Design Language: Incohesively Neumorphic</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*m3JdDOAqPuzmyDDZUilDeg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DQnsHk00_rOrbZOKSEtu4Q.jpeg" /></figure><blockquote>Neumorphism..? Kind Of.</blockquote><blockquote>A big focus for Big Sur’s design is neumorphism. Neumorphism combines flat design and skeuomorphism. A lot of elements appear ‘cleaner’, utilizing drop shadows and transparency to create depth. Neumorphism mimics real-life objects. It breathes life into a clean UI, adding a physical element to the flat UI paradigm.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7AnDXaceLGUToSSlK6mu_g.png" /></figure><blockquote>Apple missed the mark in my opinion, choosing a low contrast design, sacrificing useability; and clashing iOS 6/7 style elements with other neumorphic elements.</blockquote><h4>Hey Apple: Pick a design language, and stick with it.</h4><p>A lot of icons clash. Neumorphism consists of flat elements, with realistic textures and shadows. They seem to forget to follow their design language, tacking together, clunky/dated skeuomorphic components with modern neuromorphic/material elements. It’s a haphazard attempt at creating a cleaner UX/UI; dated skeuomorphic elements are jumbled together with neumorphic designs, ultimately resulting in an incohesive, somewhat chaotic design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YgAt0pghk3IhmH3jgrKbUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/164/1*bXuREml56MPtnp0NoJYuLA.png" /></figure><p>Here’s a perfect example of a clashing design. The icons look like they belong on iOS 5, sitting right next to neumorphic/material icons. If you haven’t seen the hideous System Preferences battery menu..I’m sorry. I’m speechless by its ugliness and the fact somebody signed off on that horrid design to be released.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*9X_j94ykPjT4Q1x-S1eI3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PV45OJBZMOdddXe9El7upA.png" /><figcaption>Big Sur — Ugly battery icon</figcaption></figure><h3>Big Sur vs. Catalina Design Comparison</h3><p>Big Sur’s design language, at first, seems pretty foreign to me in comparison to the more conventional flat design of OSX. The UI/UX starts to grow on me as I use Big Sur more, but the choice to implement skeuomorphic iOS 6/7 style elements…is not a good one. It’s quite apparent that Apple’s trying to make the design language more like iOS. Many of the sliders look <em>suspiciously like they’re designed for touch</em>. Just looking at this control center, with iOS-Esque sliders, makes me want to touch the screen. I’ve heard that same sneaking suspicion, that Apple may move to a touch interface for macOS, from a variety of tech sites, such as The Verge.</p><p>Let’s take a look at the ‘control center,’ compared to Catalina’s menus:</p><h4>Big Sur Control Center vs. Catalina Menu Controls</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*qJAOt8sPXpj3Ig7wpIkjJQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*qPQDG5zadTgsCJmODPEKoQ.png" /><figcaption>OSX Catalina volume slider</figcaption></figure><p>Above, you can see Big Sur’s addition of simple icons next to dropdown menu options, like the Sound Output. The implementation of new icons brings some life into the otherwise text-only dropdown.</p><blockquote>Control Center — My favorite addition to the OS</blockquote><p>My absolute favorite addition to Big Sur is the control center. I absolutely love the functionality packed into a single, beautiful menu. Notice the <em>proper</em> implementation of Big Sur’s new design: rounded corners, creating multiple layers with varying transparency to create depth and the increased use of the user’s preferred accent color. Every setting you need to access somewhat frequently is right there. The Wi-Fi, Bluetooth, Volume options are only one click away now. There’s also the somewhat redundant addition of display/keyboard brightness control, which is already available on the touch bar. Nevertheless, I found myself using the control center for brightness more often than I used the touch bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*fOXT76i4IdhwNj9cQMzlFA.png" /></figure><p>Control Center is a welcome improvement from Catalina’s separate dropdowns for Bluetooth, volume, and network settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/218/1*qWp_SG1E3C5akik2pUi5Dw.png" /><figcaption>Catalina — Menu bar</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*koMwiOJSqFQ9L7RybghNSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*YfZkKE-cI1_CPRonJIOyBQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*3s01a_lG1dyFQSBvLlSF0A.png" /></figure><p>Do not disturb is no longer hidden at the top of the notification menu, tucked away off-screen until you scroll to reveal it. It’s literally out of view with nothing to let the user know it’s off-screen…good riddance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*ITpjQQomvt98tqLLwPDitg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*XgyaTs4JrhrhHAejUlLbZg.png" /><figcaption>Catalina — Inconveniently hidden menu for do not disturb</figcaption></figure><p><strong>Side-note: Notice how out-of-place the new slider looks compared to the old one:</strong></p><blockquote>Big Sur Sliders — They Belong on a Touch Screen.</blockquote><p>As I mentioned prior, although the new menu sliders may be aesthetically pleasing, they look out of place on a non-touchscreen. It’s like they took iOS sliders…and just slapped them into Big Sur. Their functionality is hampered by having to click and drag a long distance. Sometimes I had to click and drag twice because once would’ t move the slider all the way. I almost touched the screen late one-night, my half-asleep brain seeing the touch-enticing slider on the MacBook in front of me. We’ll get into the implications of this move towards iOS later on.</p><p>The design implementation is, visually, very slick. Again, the use of transparency, minimalist icons, and rounded corners — beautiful presentation, lackluster functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*u7IY40_nYVj7sJaGGDlKOg.png" /><figcaption>Big Sur — volume slider</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*QcGrAFDLddZx2N--KhAq0w.png" /><figcaption>Big Sur — Sliders</figcaption></figure><blockquote>Catalina Sliders</blockquote><p>Looking at the Catalina menu dropdowns after using Big Sur, is jolting. It’s clear the design of Catalina is dated and honestly, kind of ugly, after seeing Big Sur’s implementation. But they did one, crucial, thing right: they used proper sliders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*qJAOt8sPXpj3Ig7wpIkjJQ.png" /><figcaption>Catalina — Sound</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*w_7vtRyQXqPYe4RPaSFOQw.png" /><figcaption>Catalina — Volume Slider</figcaption></figure><p>The menu bar and windows both utilize transparency to create depth and push for a more minimalist design. Again, Big Sur is attempting to use <em>neumorphism</em>. One aspect they did pretty well with is the translucent windows with the user’s preferred accent color and smooth rounded corners are pretty <em>consistent</em> throughout…unlike <em>a lot</em> of other design elements in Big Sur.</p><blockquote>Transparent menu bar is a welcome change</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7suTjnB7_JKC7S3D5AZ8nQ.png" /><figcaption>Big Sur — Menu Bar is no longer opaque white/black.</figcaption></figure><p>Since the menu is continuously visible when not in full-screen mode (in both OSX and Big Sur), it’s a welcome change to make it fully transparent. A simple change, it declutters the screen, as it doesn’t grab your attention as often as the previous opaque menu bar did.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-FG9LMZ0l57-76tMxV-sxw.png" /><figcaption>Big Sur — Transparent Menu Bar</figcaption></figure><blockquote>Catalina menu bar will not be missed.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MVleAsNZdxktYVpNbaSgOA.png" /><figcaption>Catalina — Menu bar and home screen</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*qPQDG5zadTgsCJmODPEKoQ.png" /><figcaption>Big Sur — Volume Menu</figcaption></figure><p>I like the addition of icons next to dropdown menu options, like the Sound Output above. The implementation of new icons brings some life into the otherwise text-only dropdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w7M3__zPV4bCsarTIwpUVg.png" /></figure><p>The new windows are quite lovely to look at, a stark contrast to OS X windows, which are beginning to look a bit dated.</p><blockquote>Notification center looks fantastic — Another Win For Apple</blockquote><p>Along with the control center, Apple nailed the notification center and widgets. The minimalist design looks fantastic, no more grey background obstructing the quite stunning dynamic wallpaper. Your eye goes directly to the softly rounded notifications and widgets, unlike my experience with Catalina’s somewhat cluttered notification center. Like the menu bar, merely removing visual clutter like a solid background, can completely change the design’s visual effect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rBPgXlfZZaUde0BEkDjA0Q.png" /></figure><blockquote>Notification Center Catalina(L) vs. Big Sur(R):</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*qSzVwby5jDsJBNatNliYyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*MGV3dRAGcn5axNIl2f4isw.png" /><figcaption>Notification center, Catalina vs. Big Sur</figcaption></figure><h3>Future of macOS: The Walled Garden &amp; An Uncertain Future for Developers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/0*_FryZJiRh88adT7m.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/0*yPyhtonx0hZgZSo1.jpeg" /><figcaption><a href="https://images.hothardware.com/contentimages/newsitem/52317/content/Apple_Silicon.jpg">Left Source</a> — Right <a href="https://www.google.com/url?sa=i&amp;url=https%3A%2F%2Fhothardware.com%2Fnews%2Fapple-silicon-native-arm-benchmarks-in-macos-big-sur&amp;psig=AOvVaw2qhgJxDlZZNZ9Hcm1giyTM&amp;ust=1595744695091000&amp;source=images&amp;cd=vfe&amp;ved=0CAIQjRxqFwoTCPjA_bHi5-oCFQAAAAAdAAAAABAD">Source</a></figcaption></figure><p>The move to this universal design language, with the transition to ARM, leaves me a bit…worried, for the future of macOS. Now don’t get me wrong; the move away from X86, accompanied by this new macOS, is <em>really</em> exciting. It’s quite clear that Apple wants to make MacOS more and more similar to iOS/iPad OS. For developers who work with primarily macOS, iOS, and iPadOS — the move to a single standard has definite potential.</p><p>Right now, Apple-focused developers have to push thru the complexity of all the different standards (SwiftUI vs. Catalyst, etc.), as well as the core methods for making applications across the Apple product lineup (macOS, iOS, iPadOS). With a more concise and versatile way to develop apps across platforms, it’ll save a lot of developers the headache of otherwise making, and re-making, apps for each platform.</p><h4>Developer’s Mixed Opinion</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/0*HNbR1Sv77NOk5btP.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/0*LgGjmBLAousrJ9IO.png" /><figcaption><a href="https://appdevshop.com/wp-content/uploads/2017/05/react-native-vs-ios-1.png">Left Source</a> — <a href="https://www.ideamotive.co/hubfs/16-01-2019-logo-React-Native-vs-Swift-What-Will-Be-Better-For-Your-Mobile-App.png">Right Source</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T23bpl_7-fYCODNn.jpg" /><figcaption><a href="https://i.ytimg.com/vi/Cdu2O6o2DCg/maxresdefault.jpg">Source</a></figcaption></figure><p>I’ve heard mixed feedback from developers because many of us work outside of Apple’s walled garden (primarily made of pretty closed-systems). What’s going to happen to all my applications that are built using Objective-C, Electron, Flutter, and React Native? Will everything on Mac eventually look like the boiler-plate iOS/iPad apps.</p><p>Just take a look at all the <a href="https://www.digitaltrends.com/computing/how-good-are-macos-catalina-project-catalyst-apps/">ugly Catalyst apps</a>, unsuccessfully attempting to emulate touch with a trackpad/mouse for a touch-focused UX/UI — Spoiler: they look out-of-place, butchered, iOS apps, and function horribly.</p><p>Let’s take a look at the silicon elephant in the room: ARM is fundamentally different from X86. <a href="https://www.computerworld.com/article/3563894/wwdc-2020-yes-apple-is-dumping-intel-gently.html">Although Apple <em>says</em> it’ll be a smooth transition</a>, I can’t help but worry a lot of my developer friends and I. I predict a lot of our time will be spent frustratingly trying to port apps to ARM. I foresee headaches from troubleshooting complex bugs and having to rebuild huge parts of codebases to work around ARM’s limits. I think I’ll be seeing a lot of missing/unusable dependencies and a lot of broken industry-specific apps/plugins.</p><h4>Closed-systems, Right to [NOT] Repair, MacBook e-Waste</h4><p>In my opinion: Mac’s need to be kept a somewhat open ecosystem like they are now (emphasis on <em>somewhat</em>). I believe if I pay $3500 for a spec’d out 2020 16&quot; Macbook Pro i9…which I did recently — <a href="https://www.vice.com/en_us/topic/right-to-repair">then I deserve to access, modify, maintain, and repair my system</a>. I’m a developer, I’m a computer enthusiast, I’m responsible for the consequences of actions on my machine; but Apple, please let me tinker with, and fully utilize my purpose-built pro machine.</p><p>Clearly, Apple has already shown they are trying to lock down the Mac hardware, as seen by their <a href="https://www.vice.com/en_us/article/d3mqna/internal-documents-show-apple-is-capable-of-implementing-right-to-repair-legislation">legal action against independent repairs.[source] </a>They have a history of forcing users to pay outrageous prices for simple fixes, or more likely: telling users their fixable machine needs to be replaced entirely, all for massive financial gain at the expense of customers. <a href="https://www.vice.com/en_us/article/akw558/apples-t2-security-chip-has-created-a-nightmare-for-macbook-refurbishers">Their disregard for the environment</a> is a secondary effect of Apple locking down the hardware of their systems. Thousands of perfectly fine ‘16+ T2-chipped Macbooks are destroyed because the <strong><em>past</em></strong> <strong>owner </strong>fails to remove their old password properly, and Apple refuses to restore access to the current owner<a href="https://www.inputmag.com/culture/apples-repair-policies-are-utterly-shameful-and-shouldnt-be-allowed-e-waste-recycling-macbooks-t2">[source],</a> making the computers effectively worthless shiny slabs[<a href="https://www.vice.com/en_us/article/akw558/apples-t2-security-chip-has-created-a-nightmare-for-macbook-refurbishers">Source</a>].</p><h4>An Uncertain Future for Pro Users</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4wX9D71fsXwYiNvx.jpg" /><figcaption>Source</figcaption></figure><p>Another concern, iOS/iPadOS, is very ‘consumer-focused,’ again very closed off from user’ tampering.’ To modify anything even remotely, you need to jailbreak, break out of Apple’s walled garden. The fact that you can’t just install an app via an APK off some site (like Android), but instead have to go through Apple’s monopolized App Store, restricts both developers and users unfairly. I’m quite a bit concerned, as macOS takes on a very iOS feel, as well as transitioning from X86 to ARM, that Apple could lock-down user access to macOS. I can’t help but fear macOS pro-user/developer freedoms will be slowly replaced, in favor of a more ‘consumer-focused’ experience, with ‘ease of use’ taking total priority. I fear Apple’s pro users will eventually be handicapped by Apple’s heavy hand.</p><p>This scenario is just conjecture <em>at the moment</em>, but macOS could very-well be approaching the slippery slope proposed above.</p><h3>In conclusion</h3><p>Big Sur has the potential to be something great. If they fix the lingering skeuomorphism and make everything cohesively neomorphic, it’ll be a stunning OS. As far as for the future of macOS, nobody knows what Apple’s planning, but there’s a definite push to make all OS’s more unified. How far Apple goes with that, only Apple truly knows (or at least I hope they know..).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nwUvvPiGUOnJUL7S.jpg" /><figcaption>2020 Macbook Pro 16&quot; — <a href="https://images.macrumors.com/t/mgCtDHl8lgCJ2SOld02W_UWYcU0=/1600x1200/smart/article-new/2020/02/16-inch-macbook-pro-orange-background.jpg">Source</a></figcaption></figure><p>I recently upgraded to a new MacBook as I was working on this blog post. My ‘old’ 2018 MacBook(i7, 12GB RAM) was continually running over 200º, hitting 100% CPU usage, and running out of RAM when I was multitasking and creating applications. I can confidently say my 2020 16&quot; MacBook Pro (Intel i9 2.3Ghz, 32GB RAM, AMD Radeon Pro 5500M 8GB) is a perfect development powerhouse so far. Apple shocked the tech community as a whole when they astonishingly listened to customer feedback! The keyboard is no longer flawed; I actually like the feel of the new keyboard better. It runs like an absolute beast, dominating benchmark tests, not even breaking a sweat at a cumbersome developer workflow as I simultaneously stream 4K video with an embarrassingly excessive amount of tabs open.</p><p>This 16&quot; MacBook is a massive win for pro users. Apple has finally shown us they care about the pro users, many of whom previously felt neglected by Apple’s focus on mass-appeal products like the iPhone. It would be a massive mistake to make this well-built powerhouse, only to then kneecap the future lineup of ARM Mac’s. That’s a mistake most pro users would not put up with . I know a ton of developers personally, who’ve switched to Windows in the last couple of years. It may be due to Apple’s neglect to fix a flawed keyboard design for years, or due to Catalina dropping support of legacy applications. But, Apple still has a loyal software-engineer/data science user-base, that they need to keep happy, or there will be a mass developer exodus to Windows.</p><p>I hope as they transition to ARM, that they’ll keep (or even increase) the current standard of functionality and quality that this 2020 MacBook shows in strides — but only time will tell how this plays out.</p><p>Check out:</p><p>Apple’s<a href="https://www.inputmag.com/culture/apples-repair-policies-are-utterly-shameful-and-shouldnt-be-allowed-e-waste-recycling-macbooks-t2"> horrid repair policies are forcing shops to destroy stacks of MacBook Pros</a> — Input Mag</p><p><a href="https://www.theverge.com/2020/6/23/21299992/macos-big-sur-ipados-14-catalyst-native-apps-ux">The iPadification of MacOS</a> — The Verge</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1c3acbf7dc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/macoclock/big-sur-beta-a-developers-opinion-why-im-worried-for-the-future-of-macos-e1c3acbf7dc1">Big Sur Beta: A Developers Opinion &amp; Why I’m Worried for the future of macOS</a> was originally published in <a href="https://medium.com/macoclock">Mac O’Clock</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why You Should Learn Redux for React]]></title>
            <link>https://medium.com/swlh/why-you-should-learn-redux-for-react-c7b8735af453?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7b8735af453</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[redux]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Wed, 04 Mar 2020 19:48:27 GMT</pubDate>
            <atom:updated>2020-03-04T20:07:06.492Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/535/0*4SM3op67I0i5L8vR" /><figcaption>React + Redux — <a href="https://camo.githubusercontent.com/0e68f329614dd02bed25d35e248895cefab1b00f/687474703a2f2f72696368636f7374656c6c6f2e6769746875622e696f2f616d31706f72742f6173736574732f696d616765732f636f6e74656e742f72656163745f72656475785f6c6f676f2e706e67">Source</a></figcaption></figure><h3>What is Redux?</h3><p>Today, we’ll take a look at the benefits of using Redux with React. Redux is a widely used cross-platform JavaScript library, used for managing application state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Z3OHNvPaOFSYZdi.png" /><figcaption>Redux Architecture Diagram — <a href="https://synergytop.com/blog/the-advantages-of-using-redux-along-with-react/">source</a></figcaption></figure><h4>Redux follows two core concepts:</h4><h4>Single Source of Truth</h4><p>Single source of truth means instead of having multiple components managing state, Redux utilizes a singular application state for the entire application, called the Store<strong>.</strong></p><h4>Immutability</h4><p>Immutability essentially means instead of modifying/changing the state object directly, we create a new state when the store updates.</p><h3>The Three Parts of Redux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/0*Ttf3bwHdMvVBOyAe.png" /><figcaption>Action, Reducer, Store — <a href="https://miro.medium.com/max/919/1*EdiFUfbTNmk_IxFDNqokqg.png">source</a></figcaption></figure><h4>Store</h4><p>Application state, called Store<strong>,</strong><em> </em>follows the core concept ‘Single Source of Truth,’ meaning there is only <strong><em>one</em></strong><em> </em>state<em> </em>for the entire application — held in <strong><em>one</em></strong> place: the<strong><em> Store</em></strong>. The Store can be accessed easily from any component in the application.</p><h4>Actions</h4><p>Actions are JavaScript objects that are dispatched to the Reducer (mentioned below). Actions must at least consist of a type which usually describes what action is being performed. It’s common to add some type of payload as well.</p><p>An example of a simple <strong>Action</strong>:</p><pre>{type: ADD_USER , username: &#39;a username&#39;, password: &#39;a password&#39; name: &#39;a name&#39;}</pre><p><em>Note: </em><em>username and </em><em>name are both </em><em>payloads. Commonly, </em><em>payloads are descriptively named.</em></p><h4>Action Creators</h4><p><strong>Action Creators </strong>are functions that can accept parameters, and then dynamically generate/return an action (which is a JavaScript Object).</p><p>An example of an<strong> Action Creator:</strong></p><pre>function addUser(username, name, password){<br>   return {type: ADD_USER, username: username, password: password, name: name}<br>}</pre><h4>Reducers</h4><p>Reducers are functions that dictate how the application state will change and then return the new, updated, state. When an action is dispatched, it goes to the Reducer.</p><p>Let’s take a look at a relatively simple <strong>Reducer</strong>:</p><pre>./reducers/userReducer.js</pre><pre><em>export default function manageUsers</em>(state = {<br>    users: [],<br>    newUser: {<br>        username: &#39;&#39;,<br>        password: &#39;&#39;,<br>        name: &#39;&#39;<br>    }<br>}, action){<br>    <em>switch </em>(action.type) {<br>        <em>case </em>ADD_USER:<br>            <em>return </em>{...state, newUser: action.newUser }<br>        <em>case </em>GET_USERS:<br>            <em>return </em>{...state, users: action.users}<br>        <em>default</em>:<br>            <em>return </em>state;<br>    }<br>};</pre><p>When the ADD_USER action is dispatched, the Reducer will return a new version of the current state (...state) along with the newUser object consisting of a username, password, and name.</p><p>Let’s see how userReducer and the GET_USERS action works with these Action Creators below:</p><pre><em>./actions/user.js</em></pre><pre><em>import axios from &#39;axios&#39;</em></pre><pre><em>export const axiosFetchUsers </em>= (users) =&gt; {<br>    <em>return </em>dispatch =&gt; {<br>        axios.get(&#39;http://localhost:3000/api/users&#39;)<br>            .then(response =&gt; {<br>                dispatch(<em>getUsers</em>(response.data))<br>            })<br>            .catch(e =&gt; <em>console</em>.log(e))<br>    }<br>}</pre><pre><em>export function getUsers</em>(users) {<br>    <em>return </em>{ type: GET_USERS, users: users }<br>}</pre><p>First, axiosFetchUsers is called upon, it makes a fetch call to the backend, then getUsers is dispatched with the parameter: response.data (users index).</p><p>At this point, getUsers action creator dispatches GET_USERS with the payload being an index of user objects.</p><p>Finally, the userReducer returns a new version of the current state (...state)along with the new users array of user objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iMr_BkrAkI630YEL" /><figcaption><strong>Redux Pattern: Component</strong> -&gt; dispatches <strong>ACTION</strong> -&gt; to <strong>REDUCER</strong> -&gt; updates data in <strong>STORE</strong> -&gt; re-renders Component — <a href="https://miro.medium.com/proxy/0*fMuErVTEr_lwKGdA">Source</a></figcaption></figure><h3>Benefits of Redux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MpsdXrrLJgSEJpjF.jpg" /><figcaption>React vs Redux data flow — <a href="https://www.systango.com/blog/wp-content/uploads/2017/05/redux-1024x512.jpg">source</a></figcaption></figure><h4>Dynamic Data-Flow</h4><p>Redux is extremely useful for larger applications with many components.</p><p><em>Without</em> Redux, a larger React application’s data flow between components can quickly become a complicated web of parent-child relationships, with little-to-no flexibility.</p><p>While manageable for smaller applications with fewer components, the standard React data-flow propagating from parent to child, can quickly become overwhelmingly complicated to manage all the individual components’ states.</p><p>With Redux, it’s all kept in the Store, simplifying the management of state significantly. Instead of having the strict flow of data propagating from parent to child components, the Redux’s Store can be easily accessed globally from any component.</p><p>Not only that but debugging and tracking state changes is much easier thanks to Redux’s intuitively simple data-flow.</p><h4>Reusability — Dynamic Components</h4><p>Standard React components can be very difficult to reuse as they’re usually linked closely with the root component, as the data-flow of each component’s state is tightly linked to the application’s specific parent-child relationship hierarchy.</p><p>Luckily, Redux reduces the aforementioned complexity as its globally accessible, meaning your components can be reused much easier.</p><p>Essentially Redux allows you to keep your state <em>independent</em> from your components. This independence gives you the flexibility to be able to build dynamic &amp; reusable components with ease.</p><h3>Conclusion</h3><p>I hope this short article inspired you to look into Redux and start implementing it into your React apps.</p><p>While the learning curve may seem a bit steep at first, I’ve found that as I felt more comfortable using Redux, I found myself strongly preferring it to the standard React data-flow.</p><p>I find that having the ability to dynamically access the centralized state — independent from the actual components — makes managing state much more intuitive, and takes the headache out of having a complex component hierarchy.</p><p>Thanks to Redux’s flexibility, I find myself making applications that I would’ve never attempted before learning Redux.</p><h3>Great Resources</h3><h4><a href="https://react-redux.js.org/">React-Redux official site + docs</a></h4><p>Official React binding for Redux, with docs &amp; a quick start guide.</p><h4><a href="https://medium.com/javascript-in-plain-english/the-only-introduction-to-redux-and-react-redux-youll-ever-need-8ce5da9e53c6">The only introduction to Redux (and React-Redux) you’ll ever need</a></h4><p>This is a fantastically written post diving into what I touched on in much more detail. One of the best resources I’ve found for learning React-Redux.</p><h4><a href="https://synergytop.com/blog/the-advantages-of-using-redux-along-with-react/]">The Advantages of Using Redux along with React</a></h4><p>Another informative article, looking at the advantages of utilizing Redux with React.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7b8735af453" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/why-you-should-learn-redux-for-react-c7b8735af453">Why You Should Learn Redux for React</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Full-Stack Final Project Using React + Redux + Rails]]></title>
            <link>https://tiffany-cyber.medium.com/full-stack-final-project-using-react-redux-rails-d3acc41f05c0?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3acc41f05c0</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[codelikeagirl]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[rails]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Sat, 22 Feb 2020 03:39:45 GMT</pubDate>
            <atom:updated>2020-02-22T03:39:45.509Z</atom:updated>
            <content:encoded><![CDATA[<p>For my coding boot camp final project I’ve made a full-stack web application utilizing React(client-side), Redux, and Ruby on Rails(server-side). The concept: ‘a safe space for the LGBTQ+ community to create and find social meetups near them’.</p><p>I&#39;ll be showing you how I set up my app; implementing user authentication with protected routes. This article is pretty long and I wrote it as I coded the application, I tried to be a thorough as possible but it’s a work in progress. Let’s dive in, starting with the Rails backend!</p><blockquote>Github Project: <a href="https://github.com/boostinwrx/LGBTQ-meetup-app">https://github.com/boostinwrx/LGBTQ-meetup-app</a></blockquote><h3>Setup Backend</h3><p>First, be sure to install the Bcrypt and JWT Ruby gems.</p><pre>#gemfile</pre><pre><em>gem </em>&#39;bcrypt&#39;<br><em>gem </em>&#39;jwt&#39;</pre><pre>gem &#39;pg&#39;</pre><p>We’ll be using JWT(JSON Web Tokens) for token-based authentication and bcrypt for password encryption. We also are utilizing PostgreSQL for backend database management.</p><h4>User model</h4><p>Using the rails g command, we generate a user model with a username, password_digest(encrypted password), name, picture(url), bio, and preferred pronouns.</p><pre>rails g model User username:string password_digest:string name:string bio:text pronouns:string </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*KadPGmmCE8UI95tPAHn4YA.png" /><figcaption># db/migrat/create_users.rb User Table</figcaption></figure><p>Be sure to insert the bcrypt method has_secure_password in your User model, followed by validations. For the sake of simplicity, we won’t touch on the model associations today (lines 3 &amp; 4).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*oQP7PTxR8aXvRzaFtyBB6g.png" /><figcaption># /user.rb model</figcaption></figure><h4>Controllers</h4><p>We’re going to set up three controllers: <strong>AuthController, ApplicationController, </strong>and<strong> UsersController.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oj7DaXsKjGyfUzUJEfspxw.png" /></figure><h4>ApplicationController</h4><p>Application controller begins with <em>before_action</em> :require_login , requiring the user to be logged in before anything else runs. encode_token utilizes JWT.encode to encrypt the token.</p><p>If we take a look at therequire_login action; it renders the JSON &#39;Please Login&#39;, status returns unauthorized unless the logged_in? action returns a valid, truthy,session_user.</p><p>session_user calls on decoded_token which:</p><ul><li>Checks if the HTTP request has a header ‘Authorization’</li><li>Decodes the encrypted token using JWT.decode</li></ul><h4>AuthController</h4><p>In AuthController, you’ll see it begins with:</p><pre>skip_before_action :require_login, only [:login, :auto_login]</pre><p>Essentially, that allows login and auto_login actions to run without requiring the user to be logged in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lq7KIoqtwLRGj2X9oaVpWw.png" /></figure><p>login action is fairly straightforward, it finds a user with a matching username .</p><p><strong><em>If</em></strong> it finds a user with a matching username <strong><em>and</em></strong> bcyrpt authenticates that the username and password are <em>correct</em> (authenticate); it will return a JWT token for that user, effectively logging them in. If login <strong><em>fails</em></strong> (wrong password or username), it will return an error. The error has the <em>key</em> failiure and <em>value</em>:failure: “Log in failed! Username or password invalid!”</p><h4>UsersController</h4><p>Now, let’s take a look at the create action in UsersController :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82PF3uUaHwhTpbSSUfyGBQ.png" /><figcaption>create action for User</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gzBOlFXSHrlaa1ZxR2S_fA.png" /><figcaption>Strong params</figcaption></figure><p>This action is also pretty straightforward, @user is set to the new user with the strong params,user_params. If the user params are valid, it encodes a token for that user, returning an encoded token to that user. It renders the JSON: {user: @user, jwt: token}. If the user is not valid, it’ll return an error user.errors.full_messages along with a status of :not_acceptable.</p><h4>Routes</h4><p>We’re almost ready to start working on the front-end, be sure to set the appropriate routes in config/routes.rb .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*W8mPObj6PwaIUSXt9Q6mFw.png" /></figure><h3>Frontend User Authentication With React + Redux</h3><h4>User Actions</h4><p>Looking at actionTypes.js, for now we’ll be dealing with the user actions exclusively; so ignore all the other actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xT7dMKZlhtn_ePW2i4zOoQ.png" /></figure><blockquote>Now this (below), is where the fetch calls take place, the user.js actions.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QaVYnX9TkUADZO2zWL9ckA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QEei20asfJqzDRlPnCbw5w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IuJVo_v5LCS5eTbnYZ1iQg.png" /></figure><h4>There’s a lot going on here, so break it down a bit:</h4><p>userLoginFetch</p><ul><li>POST request to /api/login which routes to the login controller action</li><li>The body consists of username and password</li><li>if (data.failiure) — if the request returns a Failure, it will dispatch the failure error message to authError, it will return the error as the payload{type: AUTHENTICATION_ERROR, error: error }</li><li>If the login is a success, the token will be saved to localStorage — {<br> localStorage.setItem(“token”, data.jwt)<br> dispatch(<em>loginUser</em>(data.user))</li></ul><p>loginUser</p><ul><li>After authenticated login, the current user’s data is saved to currentUser in store</li></ul><p>userPostFetch</p><ul><li>POST request to /api/users calling on the UsersController create action on the backend</li><li>If successful, it create’s the user on the backend, giving it an ID</li><li>Finally, it returns the JWT token to localStorage, logging the user in, and setting it to currentUser</li></ul><h4>User Reducer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*43gfJVwkgXP922-AcddFnA.png" /></figure><p>LOGIN_AUTHENTICATED</p><ul><li>Called on from loginUser , takes user information as currentUser</li><li>authenticated: true, sets authenticated to true when a user is logged in</li><li>Also sets error to an empty string</li></ul><p>AUTHENTICATION_ERROR</p><ul><li>Sets error to whatever error message was received from fetch call</li></ul><h4>Protected Routes</h4><p>Let’s break down index.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LFqsvP5TPGltqJwoZOSuEQ.png" /><figcaption>index.js BrowserRouter</figcaption></figure><p>The key to making protected routes function is the context via<strong><em> higher-order components</em></strong>. requiredAuth(componentName) is a <strong>protected</strong> component that <em>only</em> renders if authenticated, otherwise it will redirect the user to a page that gives them the option to log in or sign up. noRequireAuth(componentName) is <strong><em>not</em> protected</strong> and <em>can</em> be accessed without logging in.</p><p>At the top of the component, localStorage.getItem(‘token’) is set to userToken .If userToken exists, the user is logged in, and AUTHENTICATED is dispatched, setting this.props.users.authenticated to true. This means the user will be automatically logged in upon their next visit.</p><h4>Higher-Order Components</h4><p>In RequireAuth , the route is <strong>protected</strong> by routing the user to render the /loginRequired page, if they are <strong><em>not</em></strong> authorized. If they <strong><em>are</em></strong> authorized, the protected route’s component is rendered. Below are both the higher-order components:</p><p>RequireAuth.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RwSil21GMYNgA15JpcZ62Q.png" /></figure><p>noRequireAuth.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4DYxDFgiLARRUNJFCXGsoA.png" /></figure><h4>Home Component — If User’s Authenticated</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WxbEffz_vYbl49kxoWWgsw.png" /></figure><h4>If User Is NOT Authenticated — Redirect’s to /loginRequired</h4><p>Home component is rendered above as LoginRequired component, requiring authentication to view any other page.</p><figure><img alt="/loginRequired component prompts user to create account or login" src="https://cdn-images-1.medium.com/max/1024/1*cAEb79fs4y9hobv4SHrOtg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*maMNZCMdSGvTiWCxcZk_4w.png" /><figcaption>loginRequired Component</figcaption></figure><h3>Login</h3><p><em>Note: I won’t go in depth on the login or create account components but I’ll include them for your reference</em></p><h4>Unsuccessful Login</h4><p>If an <strong>error</strong> is returned, it will display as an alert, as seen below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v7HHgvWlZyPqrk3XX3i5zQ.png" /><figcaption>Authentication failed /login</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMwJRCiNC3iU4j7RSFWgcA.png" /><figcaption>Redux Action upon auth error</figcaption></figure><h4>Upon successful authentication</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SgkUBqNulIojKg0i_An2xg.png" /></figure><p>We can see that the LOGIN_AUTHENTICATED action has fired successfully.</p><h4>Login Component</h4><p><em>Included for reference</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lxye32fx7ghre8sXIgftsw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJlVjPbL55YaEFSu7HsFoQ.png" /></figure><h3>Create Account</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VURG5R2XHBdS7LQNEEdBMA.png" /></figure><h4>Upon successful submission:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LTLnq45NCnJ2qRVg2yAf9A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IfV7d4JBsbh-A5ThnJSeaQ.png" /><figcaption>Upon authentication, the token is saved to localStorage</figcaption></figure><p>We can see upon successful account creation, the user is logged in with the JWT token stored in localStorage.</p><p>A quick glance at the backend terminal confirms the successful user creation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*srzmxoM0QEgw4-GjAhQAzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2NhdT4ZqB0pjLjhPORgIJw.png" /></figure><h4>CreateAccount Component</h4><p><em>Included for reference</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TTfHNM7yc2kT-1E3_JScuQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwsTvTX4Gs3UZaIqx7sdcQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJF1zkWSO2UunTptDAD8pA.png" /></figure><h3>In Summary</h3><p>Keep in mind, this is a work in progress, I haven’t completed it yet. I’m sure there are much more polished and secure ways to create a full-stack application. I hope you find parts of this long article, that I wrote while I coded, helpful.</p><p>Please feel free to email me with any questions, if anything needs clarification, or if you notice any errors I should correct.</p><blockquote><em>Questions Are Welcome! Email Me: tifftiff.email@gmail.com</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3acc41f05c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Intro to CyberSecurity + Pumpkin Pi Rogue AP Attack]]></title>
            <link>https://medium.com/swlh/intro-to-cybersecurity-9a4c98fe3c93?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a4c98fe3c93</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Thu, 12 Dec 2019 07:43:06 GMT</pubDate>
            <atom:updated>2019-12-26T19:14:14.786Z</atom:updated>
            <content:encoded><![CDATA[<h4>I’ve always had a fascination with Cybersecurity, an interest that peaked years ago, prior to being a software developer in coding bootcamp.</h4><p>All aspects interest me, from cyberactivism (‘<a href="https://en.wikipedia.org/wiki/Hacktivism">hacktivism</a>’) to elaborate military cyberattacks that sabotage nuclear weapon production via the destruction of centrifuges (<a href="https://www.wired.com/2014/11/countdown-to-zero-day-stuxnet/">Stuxnet</a>). Today I hope to give you an idea of how easy it is to have your identity stolen along with a practical few first steps to improve your digital security. I’ll go into the basics of a man-in-the-middle attack using a Pumpkin Pi as a Rogue AP, to show you just how easy it is with some basic knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kUSPCWR5A0Z1GVhw" /><figcaption>Photo by <a href="https://unsplash.com/@cbpsc1?utm_source=medium&amp;utm_medium=referral">Clint Patterson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Defining Vulnerabilities &amp; Exploits</h4><p>In CyberSec, a <strong>vulnerability</strong> is a weakness of some-type that can be <em>exploited</em> by a threat actor(attacker).</p><p>An <strong>exploit</strong> can be code that takes advantage of a vulnerability to execute an attack.</p><p><strong>“Owned”</strong>: <em>Owned</em> is a slang word that originated among 1990s hackers, where it referred to “rooting” or gaining administrative control over someone else’s computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*eDBbB6_WBc9Kd6G74030DQ.jpeg" /><figcaption>First, of many, Mr.Robot references (sorry not sorry)</figcaption></figure><h3>On Public WiFi? Use a VPN or else.</h3><p>VPN stands for <strong>V</strong>irtual <strong>P</strong>rivate<strong> N</strong>etwork, essentially a VPN creates a secure tunnel from your computer to the internet, adding a layer of security and privacy. This is <em>extremely</em> important when using public WiFi, as I’m about to show you how a trip to Starbucks could end in your identity being compromised via a <strong><em>man-in-the-middle attack.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fWaCcJFOTFCadKUn.png" /><figcaption>MITM attack VS using a secure VPN (green line)</figcaption></figure><h4>What’s a Man-in-the-Middle Attack?</h4><p>A man-the-the-middle (<strong>MITM</strong>) attack is essentially an attack where the attacker eavesdrops on your connection, intercepting your data and potentially capturing log-in credentials, banking information, and more. Using a VPN can protect your internet traffic from being snooped on by an attacker.</p><h3>Choosing a VPN</h3><p><a href="http://The best VPN service 2019">Link: TechRadar comparison of VPN services(2019)</a></p><p><a href="https://www.expressvpn.com/"><strong>ExpressVPN: </strong>I currently use <em>ExpressVPN</em></a>, the Android app has a feature where you can choose to connect to a VPN whenever you’re not on a network you trust (NordVPN seems to have possibly dropped this feature). It’s widely considered one of the best VPNs you can get.</p><blockquote>“[ExpressVPN is] The best all-round VPN service for speed, privacy and unblocking “ — TechRadar 2019</blockquote><p><a href="https://nordvpn.com/">NordVPN</a>: I also <strong><em>used</em></strong> to recommend NordVPN, although I no longer use their service <a href="https://www.cnet.com/news/after-the-breach-nord-is-asking-users-to-trust-it-again/">after a server breach earlier this year; Nord kept the breach secret for months until a security researcher pressured them to disclose via twitter. </a>Hacks are to be expected, but it’s the misleading marketing as ‘most secure VPN’ and lack of transparency makes ExpressVPN the clear choice.</p><h3>The ‘Evil Twin’ Starbucks Attack Example</h3><h4>Disclaimer:</h4><p><em>Knowing how attacks work is a crucial part of educating people who want to learn &amp; potentially work in CyberSec. </em><strong><em>BUT,</em></strong><em> </em><strong><em>I do NOT encourage/promote/endorse illegal activities, IN ANY WAY. </em></strong><em>If you’re in a public place and want to experiment (especially if you’re naming an open network AP something misleading like ‘Starbucks’): </em><strong><em>MAKE SURE YOU HAVE LEGAL PERMISSION TO DO SO, </em></strong><em>otherwise:</em><strong><em> </em></strong><em>unconsenting phones could connect to it, which is potentially illegal (and not cool). </em><strong><em>Again, this is for CyberSecurity educational purposes only.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*CGGFb5c6Ybmp6ufB.jpg" /><figcaption>Pumpkin Pi</figcaption></figure><h4>All the attacker needs is a bit of familiarity with the bash command line, a $35 Raspberry Pi with Kali Linux installed, a wireless network adaptor (roughly $25), and WiFi-Pumpkin installed.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*njuOaLLceIp2us2c.jpg" /><figcaption><a href="https://null-byte.wonderhowto.com/how-to/build-pumpkin-pi-rogue-ap-mitm-framework-fits-your-pocket-0177792/">Image credit: Null-Byte</a></figcaption></figure><p><a href="https://miloserdov.org/?p=1603">WiFi-Pumpkin is a framework for creating rogue access points for MITM attack.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aAlSkNDRITEL9jcl" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8GuNPIutImmCjrCY" /><figcaption>My Raspberry Pi</figcaption></figure><p><em>Here’s a photo of my Raspberry PI running Kali Linux, notice it doesn’t have the wireless network adapter. </em><a href="https://pimylifeup.com/category/projects/"><em>(If you haven’t heard of Raspberry Pi’s potential, check these project ideas out.)</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cl0ebVc_C5hX8MdS.jpg" /><figcaption>Rogue AP named ‘Free WiFi’</figcaption></figure><p>The attacker configures their rogue access point to have the SSID set to “Starbucks” and configures it to be an open unsecured network (allowing random potential victim devices to auto-connect).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WdgSQlhTZa-JrBpz.jpg" /><figcaption>Rogue AP diagram <a href="https://pixelprivacy.com/resources/public-wifi-dangers/">(source)</a></figcaption></figure><p>Let’s say <strong><em>you</em></strong> go into Starbucks, you sit down after getting your venti Toasted White Chocolate Mocha Frappuccino, and open up your laptop. Your computer automatically connects to the attackers rogue Starbucks, and as far as you know, you’re connected “privately”. Also, attackers can easily create a fake login page as well, one that looks just like the Starbucks login. You decide to check your bank account, and everything seems to be normal…but across the room, a nefarious person is listening in.</p><p>The attacker could easily use Pumpkin-Proxy plugins like keylogger; now they’ve got that password you use for way too many websites. Even if your password was amazingly well thought out, they would still have it, because it logs your keystrokes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*31ire8lkbws3WO6R.gif" /><figcaption>Another Mr.Robot GIF</figcaption></figure><h4>You’ve Just Been Owned.</h4><p>Your identity and data: <strong>compromised</strong>, your SSN, DOB, credit card numbers, medical records, your most personal data: <strong>all</strong> <strong>on sale</strong> to the highest bidder on the dark web, on some .onion site.</p><p>The risk doesn’t stop there: the attacker can inject malious script into your browser via HTML or JavaScript using easily configurable pumpkin-proxy plugins. There’s many more intricate attacks that I won’t go into here, these are just to show how easy somebody could execute an attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/0*I7HgsaUJ9IC0rF8w.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/0*D41PXzePiCPK-tlE.jpg" /><figcaption>Plugins mentioned above (keylogger, script injection, etc)</figcaption></figure><p>From there, the hacker can use that malicious script they injected as an entry point to install a <a href="https://blog.malwarebytes.com/threats/remote-access-trojan-rat/"><strong><em>remote access trojan</em> (<em>RAT</em></strong>)</a> into your system. The hacker now can now access your system whenever they want, wherever they want, totally <em>undetected</em>. They can control/access your live web-cam, your live screen, hard-drive contents, your keystrokes, etc.</p><p><em>E</em>ven once you’ve disconnected from the attacker’s evil twin network and you’ve gone home, you’re still compromised. The hacker can still access everything because they installed a back-door into your system earlier.</p><p>They could take full control of your computer and install <strong><em>ransomware</em></strong><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Iw8zUzPqVfKafYTE.jpg" /><figcaption>WannaCry ransomware screenshot — $300 worth of Bitcoin ransom</figcaption></figure><h4>What is Ransomware?</h4><p>Ransomware is a type of malware, designed to deny access to a computer system or data until a ransom is paid. This is under threat of never decrypting your data (meaning you’re never getting your data back) or public release of sensitive data.</p><h3>What You Can Do: 2FA, VPNs, and Password Managers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*uHw_P4Aqgq89Ht-3.png" /><figcaption>I will not be owned (fan-art) | Can you tell I like this show..?</figcaption></figure><h4>So now that I’ve got you sufficiently paranoid, I have some good news: there’s something you can do.</h4><p>As mentioned earlier: <strong>use a VPN when on unsecured networks. </strong>This can make it so the man in the middle attack isn’t successful. It creates a secure tunnel between your device and the VPN server, making your personal data much more secure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zcZrkNcGX-LOw1T5" /><figcaption>LastPass</figcaption></figure><h4>Password Managers</h4><p>And are you somebody that re-uses passwords on multiple sites? That’s a <em>huge</em> <strong>NO-NO</strong>. Sign up for a <a href="https://www.lastpass.com/"><strong>password manager</strong> (like LastPass),</a> then you can use a super-secure password (that you can remember) to keep <em>all</em> your other passwords safe. And many password managers have secure password generators, so you only have to remember that one <em>master</em> <em>password</em>. <a href="https://authy.com/what-is-2fa/">You can also use <strong>2-Factor Authentication</strong> (2FA)</a> to secure your password manager.</p><h4>What is 2FA? Getting Started with Two-Factor Authentication</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*82f3ISHSynmUqDse.png" /></figure><p>2FA is a security process that involves a user providing two factors of authentication.<a href="https://www.vice.com/en_us/article/xyezmn/we-were-warned-about-flaws-in-the-mobile-data-backbone-for-years-now-2fa-is-screwed"> SMS 2FA is not recommended due to vulnerabilities like SIM jacking making it less secure</a>, but it’s better than nothing. I personally use a <a href="https://www.yubico.com/fido-u2f/">YubiKey FIDO U2F USB micro</a>.</p><p>Two-Factor requires a potential bad actor to first sign in with my secure password, then they’re prompted to insert + hold their finger on the physical USB authentication key, which only I have. This USB is verified by an encrypted token that can be re-generated and re-configured via YubiCo software. I also have my YubiKey and computer credentials setup to allow <em>PIV(smart card) </em>, so I can optionally log-in to my 2018 MacBook Pro via YubiKey insertion, followed by typing in a PIN; as an alternative to the biometric sensor.</p><p>If you don’t want to spend money on a USB key, use an app like <a href="https://support.google.com/accounts/answer/1066447?co=GENIE.Platform%3DAndroid&amp;hl=en">Google Authenticator</a>, or <a href="https://authy.com/">Authy</a>. I use a 2FA app as a backup for some of my accounts, these work similarly to the USB key, after entering the initial password; you’re instead prompted to enter the time-sensitive 6 digit code from your authentication app of choice. Most 2FA apps use a <a href="https://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm">Time-based One-time Password Algorithm</a> (TOTP), regenerating new keys frequently and regularly. I prefer LastPass authenticator as it solves the very real issue of what happens if you lose your phone with all your 2FA codes on it, which is a miserable experience that I have dealt with before. LastPass Authenticator backs up your 2FA configuration securely and as a bonus, the LastPass password manager integrates smoothly with it.</p><p>I hope this blog post was both fascinating and educational, and I’ve included some great resources below <strong>for further reference.</strong></p><h3>Fantastic resources for further research:</h3><h4><a href="https://www.avg.com/en/signal/how-to-create-a-strong-password-that-you-wont-forget">Best Method for Creating a Strong Password</a> by AVG</h4><h4><a href="https://www.globalsign.com/en/blog/what-is-a-man-in-the-middle-attack/">MITM Information </a>by GlobalSign</h4><h4><a href="https://blog.malwarebytes.com/threats/remote-access-trojan-rat/">Info on Remote Access Trojans</a> by Malwarebytes</h4><h4><a href="https://pimylifeup.com/category/projects/">Raspberry Pi 101+ Projects </a>by PiMyLifeUp</h4><h4><a href="https://null-byte.wonderhowto.com/how-to/create-evil-access-point-with-mitmap-0180454/">Huge shout-out to Null-Byte for the Pumpkin Pi Tutorial</a> (Null-Byte full tutorial)</h4><h4><a href="https://www.ubuntupit.com/20-best-raspberry-pi-projects-that-you-can-start-right-now/">More Awesome Raspberry Pi Projects </a>by UbuntuPit</h4><h4><a href="https://www.vice.com/en_us/article/d3devm/motherboard-guide-to-not-getting-hacked-online-safety-guide">The Motherboard Guide to Not Getting Hacked</a> (Motherboard by Vice’s comprehensive guide, great read)</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4c98fe3c93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/intro-to-cybersecurity-9a4c98fe3c93">Intro to CyberSecurity + Pumpkin Pi Rogue AP Attack</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Different Event Listeners in React]]></title>
            <link>https://tiffany-cyber.medium.com/different-event-listeners-in-react-e19739fbdf8a?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/e19739fbdf8a</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Wed, 04 Dec 2019 20:26:59 GMT</pubDate>
            <atom:updated>2019-12-12T15:55:09.777Z</atom:updated>
            <content:encoded><![CDATA[<h3>Types of Event Listeners in React (Quick-Read)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0bNW_f0Oxpftw2VLzfbzdg.png" /></figure><h4>Unlike vanilla JavaScript where addEventListener is used to add event listeners to the DOM element <em>after</em> the element is created, React makes it easier. Simply add a listener when the element is initially rendered, like-so:</h4><pre>function ActionLink() {<br>  function handleClick(e) {<br>    e.preventDefault();<br>    console.log(&#39;The link was clicked.&#39;);<br>  }<br><br>  return (<br>    &lt;a href=&quot;#&quot; onClick={handleClick}&gt;<br>      Click me<br>    &lt;/a&gt;<br>  );<br>}</pre><p>As you can see onClick={handleClick} calls on the above function handleClick and console.log’s: ‘The link was clicked’.</p><h3>Some of the many types of event listeners in React include:</h3><h4>Keyboard Events:</h4><p>onKeyDown — Called when a key is depressed</p><p>onKeyPress — Called after a key is released (before onKeyUp is triggered)</p><p>onKeyUp — Called last, after a key is pressed</p><p>You can also check if a modifier key was pressed at the time of an event with these properties (each are booleans):</p><p>altKey</p><p>ctrlKey</p><p>metaKey</p><p>shiftKey</p><h4>Form Events:</h4><p>onChange — Called when the user changes value in form control</p><p>onSubmit — Called when submit button or return is pressed</p><h4>Mouse Events:</h4><p>onClick — A mouse button was pressed <strong>and</strong> released (called before onMouseUp)</p><p>onMouseDown — A mouse button was depressed</p><p>onMouseUp — A mouse button was released</p><p>onContextMenu — The right mouse button was pressed</p><p>onDoubleClick — Triggered by double click</p><p>onMouseEnter — Mouse moves over an element</p><p>onMouseLeave — Mouse leaves an element</p><p>onMouseOver — Mouse moves directly over an element</p><p><a href="https://reactarmory.com/guides/react-events-cheatsheet#Mouse">Here’s a fantastic live example resource for React events</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e19739fbdf8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Setup an App Using Ruby on Rails on the Backend and Javascript on the Front End (Pt 1)]]></title>
            <link>https://tiffany-cyber.medium.com/how-to-setup-an-app-using-ruby-on-rails-on-the-backend-and-javascript-on-the-front-end-pt-1-2b35628fd56b?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b35628fd56b</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Thu, 21 Nov 2019 18:27:39 GMT</pubDate>
            <atom:updated>2019-11-28T09:16:46.126Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to Create a Single Page Web App, Using Ruby on Rails on the Backend and Vanilla Javascript on the Front End (Pt 1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*P_GAXXIzX7f4iSZ3" /><figcaption>Photo by <a href="https://unsplash.com/@cdr6934?utm_source=medium&amp;utm_medium=referral">Chris Ried</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In this blog post, I’ll be walking you through how to build the foundations of a web application utilizing JavaScript for the front-end and Ruby on Rails on the back-end. Specifically we’ll be taking a look at my Flatiron School Mod 3 project: ‘POWAH!’. My project partner and I are both car enthusiasts, so naturally we created a car-themed project with the name being an homage to Top Gear UK’s Jermery Clarkson’s catch phrase.</p><h3><em>(Note: This is Part 1 of an ongoing blog series, this post covers the foundations of setting up a Rails/JavaScript single page web application)</em></h3><h4>Deliverables:</h4><ul><li>A user can create an account</li><li>A user can see a list of cars with car details (from the database) and add multiple cars to their favorites</li><li>A user can create cars and have it added to the database</li><li>A user can login to their account and see a list of their favorites</li><li>A user can remove cars from their favorites</li><li>A user can sort the cars by their attributes (HP,TQ,Price)</li></ul><p><em>Note: We won’t be getting into the nitty-gritty for every line of code or every function, but rather show you some fundamental aspects to the app that you could apply (in one way or another) to your projects in the future.</em></p><h4>It’s crucial to map out the backend’s model relationships before diving into the code, or you’ll have a really bad time trying to get the relationships to work effectively. We have decided to have three models:</h4><ul><li>Car: The database that will hold the cars</li><li>UserCar : The join table that keeps track of the user favorited cars</li><li>User: The database that will hold the users</li></ul><h3>Backend Setup:</h3><p>Let’s go ahead and create our models, migration tables, and associations:</p><pre>$ rails g model UserCar user:references car:references<br>$ rails g model Car picture:string make:string model:string price:integer hp:integer tq:integer des:text link:string<br>$ rails g model User firstName:string lastName:string email:string password:string</pre><p>Then we add some seed data to populate the databases, this will be eventually rendered to JSON(more on that in a minute):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ApjE3YkEJfdkeWUqUOFyug.png" /></figure><p>Now we’re ready to rails db:migrate and rails db:seed</p><p>If you check the schema you’ll see:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2kOMiI1_ve0VNZLTvEMwQ.png" /></figure><p>We can see that we have our three tables; cars, users, and our join table user_cars with all the properties we need to create a JSON object to be fetched from our front end…but wait, you ask; where do you create this JSON object and where are the views??</p><p>I’m glad you asked, diligent blog reader!</p><p>We create the JSON object in our controllers, as we’ll go into below. As for the views, we no longer are using Rails for our front end, so, therefore, views remains unused when creating our API. Let’s finally get to the point where we can see our back end mingle with our soon-to-be built front end.</p><p>Let’s generate our controllers and skip ahead to break down the code from the finished controllers (for the sake of brevity):</p><pre>$ rails g controller Cars<br>$ rails g controller UserCars<br>$ rails g controller Users</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*piQz9d7BoCbgTwaxnTCr8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MSdzJAWGcRdgIQhb9B9tcg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dFZFUpsmLb7JZYVX3tPOLw.png" /></figure><p>Instead of rendering to views, we’re rendering JSON in our controller actions. Make sure to set up your routes as well:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*usqd9oohtRAvXfzCoRgyfQ.png" /></figure><p>Let’s go ahead and jump into the front end.</p><h3>Frontend Setup:</h3><p>We’ll be going through a couple of the functions used in our application. First of all, we need a DOMContentLoaded event listener:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5OJo_NTpDFvZAM-qL4AURA.png" /></figure><p>In this function, we created a carForm which will hide until the createCarBtn is clicked, we created a navbar event listener which will hold the createCarBtn as well as it holding the home, and faveBtn which shows the user favorites. There’s more in here including sort-by event listeners, but for now let’s take a look at the initial fetch function. Clicking on the home button calls on the getCars function, lets take a look at that to see how to fetch the cars from the backend:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X73-7LMDyGnNAazxs2zRsg.png" /></figure><p>In this function, we’re fetching from the rails server that has all our seed data in a JSON file, we’re iterating through the array of car objects, and calling on renderCar which will render each car to the DOM.</p><p>Let’s take a look at the renderCars function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gDKDPuv6XwqM3wBA8xxUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TrZD7cjk-iERbMkvYjJQuQ.png" /></figure><p>So we’re making the navbar visible, as a welcome splash page (which we didn’t cover yet) hid the navbar. We’re making the car card with the make as a header, adding a class of “card-title” for bootstrap CSS styling, and setting the innerText of that to the actual make that we’re pulling from that car’s JSON object. We do the same for model, price, hp, tq, and description. For the link the only variation is instead of innerText we use innerHTML to make an href link out of the string. We then append everything we just made to the card, and then append the card to the container.</p><p>That’s where we’ll leave off this blog post for today, next time we’ll look at the more advanced functions we implemented along with going into how we used Bootstrap CSS framework, and implementing Ruby validations so forms cannot be submitted to the database blank.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b35628fd56b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2019 Essential Ruby Developer Apps for Mac]]></title>
            <link>https://tiffany-cyber.medium.com/2019-essential-ruby-developer-apps-for-mac-4ff37f355271?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ff37f355271</guid>
            <category><![CDATA[rubymine]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Fri, 08 Nov 2019 18:08:53 GMT</pubDate>
            <atom:updated>2019-11-15T20:15:37.167Z</atom:updated>
            <content:encoded><![CDATA[<h3>RubyMine</h3><p>RubyMine by Jet Brains is a superb IDE with unparalleled Ruby on Rails support. I recently switched from VS Code, after getting tired of continuously searching for extension after extension, hoping to improve VS Code’s lackluster Rails support. So-far, RubyMine has amazed me with its myriad of Rails-focused features. Here’s just a sample of the features RubyMine has:</p><h3>Advanced support for Ruby, Rails, JavaScript, CoffeeScript, ERB, HAML, CSS, Sass, and more</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YFig-rMib3mmqvOjw-B6qw.png" /><figcaption>Intelligent auto-completion</figcaption></figure><p>Language-specific syntax-aware error highlighting helps you catch your mistakes before you spend hours trying to find that damn typo. It also helps you develop better coding habits but informing you of best practices via code inspections. Code inspections help you see if you’re following best practices w/ ‘On-the-fly’ improvement suggestions, provides you one-click fixes.</p><p>Intelligent code formatting makes stressing over your messy code a distant memory. The unparalled intelligent, context aware, auto-completion makes any coders life easier. You may even save a trip to Google thanks to the quick references to the docs while you’re coding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pjdT0K739ef9FLSPIlWWAA.png" /><figcaption>Smart search across the project (via MVC view)</figcaption></figure><p>The MVC view gives the programmer a wholistic view of the project. Smart search for classes, models, symbols, files, etc. makes navigating effortless.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gha7DzgR7vwskEk5BLC_2A.png" /><figcaption>Automated refactoring</figcaption></figure><p>My personal favorite is the automated refactoring. The intelligent, automated, and safe refactoring can perform project-wide-changes flawlessly. One click and your entire project can be accurately/safely refactored.</p><h3>WebStorm</h3><p>WebStorm, by Jet Brains, is the JavaScript focused sibling of RubyMine. I’ve been using this Javascript focused IDE when I’m mostly working on the frontend. WebStorm is extremely similar to RubyMine, but is optimized for JavaScript and associated frameworks and file-types. WebStorm is packed with features like intelligent code completion, ‘on-the-fly’ error detection, and smart refactoring; for JavaScript, TypeScript, stylesheet languages, and many popular frameworks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mWKvGK2gIflokvFIZ3BGWw.png" /></figure><h3>iTerm2</h3><p>iTerm2 is a great alternative to the out-of-the-box Mac terminal, it’s fully featured and extremely customizable. I personally enjoy it because of the quick dropdown terminal (I set it to cmd+T), so I can quickly clone GitHub repos and open it in my preferred IDE. I also enjoy it because I can customize it to look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RcxFwX0KLvxfZEhjFsNtMA.png" /><figcaption>Customized terminal</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3bp90e6aXJpgz8e2.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*moy6DIyHJdyMb5vXYpjm7w.png" /><figcaption>Dropdown terminal</figcaption></figure><h3>Magnet</h3><p>As a previous Windows user, when I switched to Mac I was amazed at the lack of window management. There’s no way to organize windows out-of-the-box, that’s where Magnet comes in. Magnet adds window-snapping and window management shortcuts to MacOS. I use this app constantly to keep my windows somewhat managed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*q8FaP-LzH9e0QtfI.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*5K5Somfck8Nje3CH.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/0*xHyxlC1Wiq2qcCVJ.png" /></figure><h3>Quiver</h3><p>Quiver is another essential application I use daily, for note-taking in coding bootcamp. The markdown support makes it easy to quickly format your notes as you type them. It also supports code cells, which are complete with accurate syntax highlighting. I highly recommend Quiver for anyone that takes any sort of coding notes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pm6rLE99G7-J9zMFsdvFlQ.png" /><figcaption>Raw markdown cells (in edit mode)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BwyPBcMixDdRLN8YGRYFiA.png" /><figcaption>Formatted markdown cells (preview mode)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q9DPC4s_RkGBRDUFAnbUDw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ff37f355271" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code Bootcamp: Getting Stuck is an Inevitable Part of Learning Code (and Thats OK!)]]></title>
            <link>https://tiffany-cyber.medium.com/code-bootcamp-getting-stuck-is-an-inevitable-part-of-learning-code-and-thats-ok-6be615e6d80c?source=rss-d827700b1c47------2</link>
            <guid isPermaLink="false">https://medium.com/p/6be615e6d80c</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[flatiron-school]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <dc:creator><![CDATA[Tiff José A.]]></dc:creator>
            <pubDate>Wed, 16 Oct 2019 21:49:19 GMT</pubDate>
            <atom:updated>2019-10-16T21:49:19.870Z</atom:updated>
            <content:encoded><![CDATA[<h3>Code Bootcamp: Getting Stuck is an Inevitable Part of Learning Code (and That&#39;s OK!)</h3><figure><img alt="GIF of an Animated person frantically typing code" src="https://cdn-images-1.medium.com/max/480/1*CYjIXFQFE7gWFH_XFf_2-A.gif" /><figcaption>Me at 3 am trying to pass lab tests on enumerables…and failing</figcaption></figure><p>As a student at Flatiron School, preparing for the beginning of the cohort, I hit a massive roadblock in my pre-work: enumerables. I felt a wave of overwhelming anxiety and self-doubt as I tried my hardest to understand.</p><p>I remember trying to grasp the concept of enumerables, thinking I <em>had</em> to know every part of enumerables <em>right at that moment</em>. I became increasingly frustrated as I stayed up into the late hours of the night, frantically scouring the web for articles and tutorials explaining enumerables. I refused to take a break, which, in hindsight, is the <em>worst</em> thing anyone in that situation could do. That was the first of many times I felt <em>legitimately</em> <strong>stuck</strong>, many times to the point of taking it personally, feeling like I’m ‘too stupid,’ and I’m the only student in the cohort ‘not getting it.’ To my surprise, I found out many of my peers shared similar experiences. Everyone gets stuck on something, whether it be a lab, a hard-to-understand concept, an elusive missing comma, or wrongly pluralized word, hiding deep in their code. For me, the key to dealing with all this was: a radical change in my perspective.</p><figure><img alt="Anime character studying in a tornado of pages GIF" src="https://cdn-images-1.medium.com/max/245/1*ZTqws-KifCHyV7ncGj2vlg.gif" /></figure><figure><img alt="GIF of Homer Simpson with his hand on his head, flipping through a textbook, looking confused" src="https://cdn-images-1.medium.com/max/220/1*X-vDbb695O30lR4YUJCH7Q.gif" /><figcaption>Getting stuck is inevitable during the process building mastery as a developer; it’s part of learning</figcaption></figure><p>Now, over a month into coding bootcamp at Flatiron School D.C., I’m incredibly familiar with getting stuck, sometimes feeling inadequate, feeling perpetually overwhelmed. The difference is, now, I don’t view getting stuck like a huge negative, catastrophic event. I’ve begun to accept that the core principle of learning means you start with little to no knowledge of the material taught to you. During the learning process, some topics can be legitimately difficult to grasp at first, and inevitably you will get stuck.</p><p><strong>Spoiler alert:</strong> As long as you’re a developer, you <em>will</em> get stuck at times</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GejjPMXqCUSXPZGW" /><figcaption>Photo by <a href="https://unsplash.com/@arifriyanto?utm_source=medium&amp;utm_medium=referral">Arif Riyanto</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The fact that you feel stuck is <em>not</em>, in any way, an indication of your ‘inadequate intellect,’ but instead a sign <em>you are building mastery</em>. The feeling of pride I got after finally grasping enumerables, which seemed incomprehensible at first, made me reconsider what it means to feel stuck. I knew I could keep pushing forward in my pursuit to become a developer. This rapid cycle of feeling lost and then feeling like a genius (for a minute) indicates growth as a developer, one step at a time.</p><figure><img alt="Notebook with writing “You are never done learning” GIF" src="https://cdn-images-1.medium.com/max/480/1*N_1iGjCLngp0IYouUwt4Sw.gif" /><figcaption>Developers never ‘know it all,’ learning is a life-long process of growth</figcaption></figure><p>I have mixed feelings about this process of learning code at Flatiron, I love how far I’ve grown as a developer in such a short period, and I love coding. But at times, I can get overwhelmed and frustrated with how difficult immersive coding boot camp can be. It’s dialectical<em>; both</em> are true. I feel like as I grow as a developer, I grow as a person in many respects. Struggling leads to growth in some way or another; whether it be growing as a developer, or growing as a person. If I can get readers to take away anything from this post (<em>especially people learning to code</em>): it’s <em>ok</em> to get stuck,<em> it’s ok</em> if you don’t understand something at first, and it’s <em>normal</em> to feel overwhelmed at times. These are all indicators that you’re building mastery, one step at a time, and that you are capable of overcoming stuck-points in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6be615e6d80c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>