<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sanel</title>
    <description>The latest articles on DEV Community by Sanel (@sanneh22).</description>
    <link>https://dev.to/sanneh22</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F288830%2Fe321d312-6f97-40f6-94a7-9b8dc254cdd2.png</url>
      <title>DEV Community: Sanel</title>
      <link>https://dev.to/sanneh22</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanneh22"/>
    <language>en</language>
    <item>
      <title>Hey Siri: Update Siri; Activate ChatGPT with Siri</title>
      <dc:creator>Sanel</dc:creator>
      <pubDate>Thu, 18 Jan 2024 16:20:04 +0000</pubDate>
      <link>https://dev.to/sanneh22/hey-siri-update-siri-activate-chatgpt-with-siri-36g8</link>
      <guid>https://dev.to/sanneh22/hey-siri-update-siri-activate-chatgpt-with-siri-36g8</guid>
      <description>&lt;p&gt;Hey Dev.to community!&lt;/p&gt;

&lt;p&gt;I hope you're all doing great! Today, I'm here to share a nifty trick for boosting productivity: &lt;strong&gt;activating ChatGPT with Siri&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Or more eloquently put: Replacing Siri for all your questioning needs! It's about time to Update Siri ourselves!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;As a software architect running my own business, efficiency is the name of the game, and this combo has been a game-changer for me.&lt;br&gt;
And between you and me, it's surprising that Siri didn't get this upgrade sooner. We've been waiting for it like Apple CEO Tim Cook took a long lunch break. Hah-hah-hah. &lt;em&gt;insert snooze emoji&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution Is Here
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Important Note: This tutorial is tailored for iPhone users running the iOS operating system with the Siri voice assistant. Devices running alternative operating systems or featuring different voice assistants might have their unique tricks. This tutorial may not be applicable in those cases.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;0. Install ChatGPT (The Official version by OpenAI on App Store: BEWARE FAKES)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Shortcut Magic&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Head to your Siri &lt;strong&gt;Shortcuts&lt;/strong&gt; ("Hey Siri open Shortcuts") app and add ChatGPT with a "start voice conversation" prompt to your library. Customize the phrase to something memorable – I went with "Update Siri." Because I find it terribly funny.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Author note: You can also use the default built-in command "Hey Siri Ask ChatGPT" &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Invoke the Power&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now, whenever you need your virtual assistant (read: ChatGPT), say your chosen trigger phrase to Siri. For me, it's "Siri, Update Siri."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Ask Away:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once Siri recognizes your prompt, ChatGPT springs into action. Ask any burning questions or seek insights on your latest coding challenge. Siri will not only send your inquiry to ChatGPT but will also read out the response loud and clear.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Autor note: Alternatively, you can make a custom shortcut that opens a direct voice conversation with ChatGPT - Pending a phone unlock.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzlr6fle1wgdw79fw3ow.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzlr6fle1wgdw79fw3ow.png" alt="screenshot of iPhone iOS Shortcuts screen setting up ChatGPT to work with Siri Voice commands"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Chat Aloud, Learn, Inquire:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Siri's old tricks of leaving you in the dark, struggling with basics, and playing the silent treatment are so last season. Enter ChatGPT – your upgraded assistant, the genius Siri wishes it could be. ChatGPT takes the wheel.&lt;/p&gt;

&lt;p&gt;Stay sharp, stay curious!&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br&gt;
S3&lt;br&gt;
Passionate About Updating Siri&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fonocytrkw8gi98gs8i5g.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fonocytrkw8gi98gs8i5g.jpg" alt="image of an eagle, hand drawn with pencil or ink, black and white 2024"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Dev.To Disclaimer. This post has been in some part, to some degree intelligently composed and refined with the assistance of AI or LLM technology. It in no way replaces or undermines the creative prowess of the original author, but merely assists in finding a common voice and formatting that is friendly for all readers&lt;/em&gt;&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Embracing Simplicity: The Pitfalls of Obscure Complexity in Programming</title>
      <dc:creator>Sanel</dc:creator>
      <pubDate>Thu, 18 Jan 2024 00:49:57 +0000</pubDate>
      <link>https://dev.to/sanneh22/embracing-simplicity-the-pitfalls-of-obscure-complexity-in-programming-3e7g</link>
      <guid>https://dev.to/sanneh22/embracing-simplicity-the-pitfalls-of-obscure-complexity-in-programming-3e7g</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In the ever-evolving landscape of software development, one persistent challenge stands out—the tendency for developers and small developer communities to segregate through obscurity, inadvertently introducing redundant complexities into their projects. While it's understandable that the desire for innovation and uniqueness drives developers, there is a growing concern that these pursuits often lead to convoluted codebases and a lack of accessibility. This blog post advocates for a shift towards smarter programming, emphasizing that more complexity does not necessarily mean better code. In fact, the mantra "MORE is truly LESS" should be at the forefront of our minds as we navigate the intricate world of software development.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Obsession with Obscure Complexity
&lt;/h2&gt;

&lt;p&gt;In the pursuit of creating something distinctive, developers sometimes fall into the trap of adding layers of complexity that serve little purpose. Obscure coding practices, unconventional frameworks, and unique methodologies can lead to projects that are hard to understand and maintain. What starts as an attempt to stand out can end up isolating developers and creating barriers for collaboration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2s08PzB---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yirjmdhplspf91jducsk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2s08PzB---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yirjmdhplspf91jducsk.jpg" alt="paper machet photography of a tunnel toward light, some flowers" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Mistake of Mistakes
&lt;/h2&gt;

&lt;p&gt;While it's essential to acknowledge that mistakes are a natural part of the learning process, it becomes problematic when these mistakes are perpetuated and celebrated within a community. Mistakes in coding, when not rectified, can become embedded in the codebase and lead to a culture of accepting bad practices. This environment, fueled by obscure complexity, can drive away learners who struggle to navigate convoluted codebases.&lt;/p&gt;

&lt;h2&gt;
  
  
  Advocating for Smarter Programming
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Simplicity as a Virtue:&lt;/strong&gt;&lt;br&gt;
Embrace simplicity as a virtue in software development. Clear, straightforward code is not only easier to understand but also facilitates collaboration and maintenance. Prioritize readability over complexity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Learning from Mistakes:&lt;/strong&gt;&lt;br&gt;
It's crucial to learn from mistakes, both individual and collective. Encourage a culture of continuous improvement, where developers can openly discuss and address coding errors. Mistakes are valuable opportunities for growth when approached with a mindset of learning and improvement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Collaboration and Community:&lt;/strong&gt;&lt;br&gt;
Foster a collaborative environment where developers can share insights, best practices, and challenges. Small developer communities can benefit greatly from pooling their collective knowledge and experiences.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Balancing Uniqueness and Pragmatism:&lt;/strong&gt;&lt;br&gt;
Strive for a balance between uniqueness and pragmatism. Innovative solutions are commendable, but they should not compromise the fundamental principles of maintainability and accessibility.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In the programming community, the adage "MORE is truly LESS" resonates profoundly. It serves as a reminder that excessive complexity, obscure practices, and the celebration of bad code can hinder progress and drive away aspiring developers. By advocating for smarter programming—emphasizing simplicity, learning from mistakes, fostering collaboration, and striking a balance between uniqueness and pragmatism—we can contribute to a more inclusive and vibrant programming community. Let's build a future where the beauty of code lies in its clarity and the elegance of its simplicity.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--js69HMQM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ka1i4cf6w7jz42cuzoyv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--js69HMQM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ka1i4cf6w7jz42cuzoyv.jpg" alt="drawing of an eagle, pencil or ink" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What real-life example have you encountered with that made you frustrated? Your voice matters and it's more important than you think. Voice your concerns and tag me on Twitter!&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

&lt;p&gt;Post contents 100% views and original thoughts of the Author&lt;/p&gt;

&lt;p&gt;&lt;em&gt;dev.to disclaimer: Leveraging LLM's or "AI" is a great way to share and connect. I believe that AI-generated content should not be discriminated against or even observed. It has great limitations, but it serves the user by indulging them in the simple process of creation.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For more clarity read these guidelines here &lt;a href="https://dev.to/devteam/guidelines-for-ai-assisted-articles-on-dev-17n6"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>coding</category>
      <category>architecture</category>
      <category>beginners</category>
    </item>
    <item>
      <title>An Unfiltered Journey Through Contentlayer: Windows Woes, JS Hiccups, and Advocating for Developer Zen</title>
      <dc:creator>Sanel</dc:creator>
      <pubDate>Fri, 05 Jan 2024 15:30:10 +0000</pubDate>
      <link>https://dev.to/sanneh22/an-unfiltered-journey-through-contentlayer-windows-woes-js-hiccups-and-advocating-for-developer-zen-4p1n</link>
      <guid>https://dev.to/sanneh22/an-unfiltered-journey-through-contentlayer-windows-woes-js-hiccups-and-advocating-for-developer-zen-4p1n</guid>
      <description>&lt;h2&gt;
  
  
  Hey Dev Fam,
&lt;/h2&gt;

&lt;p&gt;In the sprawling universe of web development, I recently took a detour into the realm of Contentlayer. As a seasoned Software Designer and Engineer at GCS, I'm all about crafting robust web applications and systems. However, my recent rendezvous with Contentlayer, especially as a Windows aficionado, left me with a mix of head-scratching and eyebrow-raising moments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Navigating the Windows Maze
&lt;/h2&gt;

&lt;p&gt;So, here I am, diving into Contentlayer, excited about seamlessly integrating markdown files into the frontend. But guess what? Windows compatibility plays hard to get. The setup process felt like a labyrinth, filled with bugs and glitches that made me question my life choices.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Need for Speed – Or Lack Thereof
&lt;/h2&gt;

&lt;p&gt;Contentlayer, coded in JavaScript, prides itself on being the go-to package. But let's talk real talk – the performance? Not exactly a speed demon. In a world where every millisecond counts, this tool's sluggish dance left me wondering if I accidentally stepped into a time warp.&lt;/p&gt;

&lt;h2&gt;
  
  
  MDX Musings
&lt;/h2&gt;

&lt;p&gt;Now, MDX is supposed to be the rockstar here – Markdown meets JSX. Cool, right? Well, Contentlayer's take on it might not be everyone's cup of code. The lack of a smooth developer experience raised an eyebrow or two. As someone who values efficiency, the MDX abstraction felt like a detour, not the scenic route I was hoping for. Even if used as a low-level SDK, the maintenance for it would not be something reasonable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rallying Cry for Improvement
&lt;/h2&gt;

&lt;p&gt;As a seasoned web warrior, my encounter with Contentlayer sparked more than a few thoughts. It's crucial for us, the devs in the trenches, to speak up. Let's create a culture where feedback is our superpower. Contentlayer might have stumbled, but hey, there's always room for improvement. Let's not just code; let's code better.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vercel's Starter Blog Template: Not Quite Love at First Byte
&lt;/h2&gt;

&lt;p&gt;Oh, did I mention this whole adventure unfolded within Vercel's starter blog template? Yeah, the implementation – not a masterpiece. Even us seasoned architects can be left scratching our heads when faced with less-than-stellar tools on even the most reputable platforms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Lj3MsIKR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6k9cvwzvqknxv0rv8950.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Lj3MsIKR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6k9cvwzvqknxv0rv8950.png" alt="Analyzing the decency of Contentlayer for everyday use" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  In Closing – Code Hard, Code Smart
&lt;/h2&gt;

&lt;p&gt;So, my dive into Contentlayer had its fair share of hurdles. From Windows woes to performance hiccups, it wasn't the smooth ride I anticipated. As we navigate the dev galaxy, let's be discerning about the tools we adopt. Through our unique experiences and voices, we shape an ecosystem that thrives on innovation, accessibility, and a shared commitment to excellence. My personal alternative would be good old JSON files with a simple Markdown parser. This "Content" layer is 2 steps too far for my comfort!&lt;/p&gt;

&lt;p&gt;Keep coding hard, but always code smart!&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br&gt;&lt;br&gt;
Sanel, the Web Architect Extraordinaire at GCS 👨‍💻✨&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>🚀 Finding Harmony in Web Development: Next.js, Vercel, Angular, Svelte, and Beyond! 🌐</title>
      <dc:creator>Sanel</dc:creator>
      <pubDate>Thu, 04 Jan 2024 20:22:02 +0000</pubDate>
      <link>https://dev.to/sanneh22/nextjs-vercel-vite-finding-harmony-in-diversity-for-collective-progress-ob2</link>
      <guid>https://dev.to/sanneh22/nextjs-vercel-vite-finding-harmony-in-diversity-for-collective-progress-ob2</guid>
      <description>&lt;h2&gt;
  
  
  Navigating Web Development: Embracing Harmony in Tech Dominance
&lt;/h2&gt;

&lt;p&gt;In the dynamic world of web development, the push for dominance by platforms like &lt;strong&gt;Next.js&lt;/strong&gt; and &lt;strong&gt;Vercel&lt;/strong&gt; sparks concerns about power concentration. While their ambition is commendable, a singular force dictating standards isn't ideal for a thriving ecosystem.&lt;/p&gt;

&lt;p&gt;Enter &lt;strong&gt;Angular&lt;/strong&gt; and &lt;strong&gt;Svelte&lt;/strong&gt; – two formidable contenders playing vital roles in maintaining balance and preventing monopolization. Competition, as seen between &lt;strong&gt;Next.js&lt;/strong&gt;, &lt;strong&gt;Vercel&lt;/strong&gt;, &lt;strong&gt;Angular&lt;/strong&gt;, and &lt;strong&gt;Svelte&lt;/strong&gt;, fuels innovation and prevents unilateral industry control. Acknowledging Next.js and Vercel's contributions, a balanced and diverse tech ecosystem benefits everyone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SZEfGSDY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2k16ha0ihdlf35hefwrt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SZEfGSDY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2k16ha0ihdlf35hefwrt.jpg" alt="The Atlantean Vision For The Future Is Important For Humanity" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the tech realm, Next.js and Vercel aim for dominance but balance matters. &lt;strong&gt;Angular&lt;/strong&gt; and &lt;strong&gt;Svelte&lt;/strong&gt;, as key players, keep things in check. Collective growth trumps concentration of power. Atlantean visions promote collaborative strength: Less monopoly, more harmony for a thriving tech ecosystem.&lt;/p&gt;

&lt;p&gt;Even though I firmly believe &lt;strong&gt;Next.js&lt;/strong&gt; and &lt;strong&gt;Vercel&lt;/strong&gt; outshine the rest, only through communal continuance can we ensure their sustained success. The web development community's strength lies in collaboration, knowledge-sharing, and shaping the future together. This perspective, grounded in fairness and unity, beckons a resilient and thriving ecosystem.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--srKI8IL4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gpkz6g2104tl5xy372dc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--srKI8IL4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gpkz6g2104tl5xy372dc.png" alt="Image description" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Leave a comment if you want to learn more about this dynamic landscape and the tools shaping our digital future. Or if you want to know more about why I think Next.js and Vercel are something you should take a good look at!&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;&lt;code&gt;Thanks for reading. - S3&lt;/code&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>techinsights</category>
      <category>javascript</category>
      <category>react</category>
    </item>
  </channel>
</rss>
