url
stringlengths
11
2.25k
text
stringlengths
88
50k
ts
timestamp[s]date
2026-01-13 08:47:33
2026-01-13 09:30:40
https://dev.to/farhad_hossain_500d9cf52a/mouse-events-in-javascript-why-your-ui-flickers-and-how-to-fix-it-properly-hbf#why-raw-mouseenter-endraw-solves-this
Mouse Events in JavaScript: Why Your UI Flickers (and How to Fix It Properly) - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Farhad Hossain Posted on Jan 13           Mouse Events in JavaScript: Why Your UI Flickers (and How to Fix It Properly) # frontend # javascript # ui Hover interactions feel simple—until they quietly break your UI. Recently, while building a data table, I ran into a strange issue. Each row had an “Actions” column that appears when you hover over the row. It worked fine most of the time, but sometimes—especially when moving the mouse slowly or crossing row borders—the UI flickered. In some cases, two rows even showed actions at once. At first glance, it looked like a CSS or rendering bug. It wasn’t. It was a mouse event model problem . That experience led me to a deeper realization: Not all mouse events represent user intent. Some represent DOM mechanics—and confusing the two leads to fragile UI. Let’s unpack that. The Two Families of Mouse Hover Events JavaScript gives us two sets of hover events: Event Bubbles Fires when mouseover Yes Mouse enters an element or any of its children mouseout Yes Mouse leaves an element or any of its children mouseenter No Mouse enters the element itself mouseleave No Mouse leaves the element itself This difference seems subtle, but it’s one of the most important distinctions in UI engineering. Why mouseover Is Dangerous for UI State Consider this table row: <tr> <td>Name</td> <td class="actions"> <button>Edit</button> <button>Delete</button> </td> </tr> Enter fullscreen mode Exit fullscreen mode From a user’s perspective, they are still “hovering the row” when they move between the buttons. But from the browser’s perspective, something very different is happening: <tr> → <td> → <button> Each move fires new mouseover and mouseout events as the cursor travels through child elements. That means: Moving from one button to another fires mouseout on the first Which bubbles up And can look like the mouse “left the row” Your UI hears: “The row is no longer hovered.” The user never left. This mismatch between DOM movement and human intent is the root cause of flicker. How My Table Broke In my case: Each table row showed action buttons on hover Borders existed between rows When the mouse crossed that 1px border, it briefly exited one row before entering the next This triggered: mouseout → hide actions mouseover → show actions again Sometimes the timing was fast enough that: Two rows appeared active Or the UI flickered Nothing was “wrong” with the layout. The event model was simply lying about what the user was doing. Why mouseenter Solves This mouseenter and mouseleave behave very differently. They do not bubble. They only fire when the pointer actually enters or leaves the element itself—not its children. So this movement: <tr> → <td> → <button> Triggers: mouseenter(tr) Once. No false exits. No flicker. No state confusion. This makes them ideal for: Table rows Dropdown menus Tooltips Hover cards Any UI that should remain active while the cursor is inside In other words: mouseenter represents user intent mouseover represents DOM traversal When You Should Use Each Use mouseenter / mouseleave when: You are toggling UI state based on hover Child elements should not interrupt the hover Stability matters Examples: Row actions Navigation menus Profile cards Tooltips Use mouseover / mouseout when: You actually care about which child was entered. Examples: Image maps Per-icon tooltips Custom hover effects on individual elements Here, bubbling is useful. React Makes This More Subtle In React, onMouseOver and onMouseOut are wrapped in a synthetic event system. That adds another layer of propagation and re-rendering, which can amplify flicker and race conditions. This is why tables, dropdowns, and hover-driven UIs are often harder to get right than they look. A Practical Rule of Thumb If you are using mouseover to control UI visibility, you are probably building something fragile. Most hover-based UI should be built with: mouseenter mouseleave Because users don’t hover DOM nodes. They hover things . Final Thoughts That small flicker in my table wasn’t a bug—it was a reminder of how deep the browser’s event model really is. The best UI engineers don’t just write logic that works. They write logic that matches how humans actually interact with the screen. And sometimes, the difference between a glitchy UI and a rock-solid one is just a single event name. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Farhad Hossain Follow Joined Dec 10, 2025 More from Farhad Hossain How JavaScript Engines Optimize Objects, Arrays, and Maps (A V8 Performance Guide) # javascript # performance # webdev # softwareengineering 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/evanlin/twdevrel-tech-verse-2022-interesting-agenda-highlights-day-1-5lh#comments
[TW_DevRel] TECH-Verse 2022: Interesting Agenda Highlights - Day 1 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Evan Lin Posted on Jan 11 • Originally published at evanlin.com on Jan 11 [TW_DevRel] TECH-Verse 2022: Interesting Agenda Highlights - Day 1 # security # blockchain # techtalks # ai title: [TW_DevRel] TECH-Verse 2022 Interesting Agenda Sharing - Day 1 published: false date: 2022-11-18 00:00:00 UTC tags: canonical_url: http://www.evanlin.com/twdevrel-techverse2022/ --- ![image-20221118150105191](http://www.evanlin.com/images/2021/image-20221118150105191.png) # Preface The Z Holding developer conference TECH-Verse, held online from 11/17 to 11/18, is about to begin. It includes online developer conferences from 8 companies, including LINE Corp and Yahoo! Japan, with a total of 90 online sessions: All relevant session categories are listed below: - Day 1 - 11.17 (11:00 ~ 18:00) - Data / AI - Security - Infrastructure - Blockchain - Day 2 - 11.18 (10:00 ~ 18:00) - Server Side - UX / Design - Mobile App - Web Front-end - Process & Environment Related event URL: [https://tech-verse.me/en](https://tech-verse.me/en) The slides will be made public immediately after the relevant sessions. The videos after the interpretation is completed will be released successively after 11/25. # Interesting Agenda Sharing on Day 1: ![img](https://github.com/vdaas/vald/raw/main/assets/image/readme.svg) ## Vald: ANN search engine by Golang\*\*Vald: OSS ANN Nearest Neighbor Dense Vector Search Engine Valid: https://github.com/vdaas/vald This is a scalable distributed ANN (approximate nearest neighbor) vector search engine. This is a tool that can be quickly deployed on K8S. It is even used in Yahoo! JP: - Similar product image search - Generate related tags through product names - Similar source code search (this also works!) If you want to know how to use it, you can refer to - [Slides](https://speakerdeck.com/techverse_2022/vald-oss-ann-nearest-neighbor-dense-vector-search-engine-introduction-and-case-studies). - Session: https://tech-verse.me/en/sessions/172 ## Our Automation Tool for Migrating 1,800 MySQL Instances in Only Six Months <iframe frameborder="0" src="https://speakerdeck.com/player/52b80ea6286f4fa9ad587699c3324731" title="Our Automation Tool for Migrating 1,800 MySQL Instances in Only Six Months" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" style="border: 0px; background: padding-box padding-box rgba(0, 0, 0, 0.1); margin: 0px; padding: 0px; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 40px; width: 560px; height: 314px;" data-ratio="1.78343949044586"></iframe> Have you upgraded MySQL before? Due to the expansion of LINE's business, the entire enterprise has more than 6000 MySQL Instances. In order to upgrade the version of MySQL 5.6 (which has stopped maintenance in 2021/02), it will be an incalculable cost. <iframe frameborder="0" src="https://speakerdeck.com/player/52b80ea6286f4fa9ad587699c3324731?slide=15" title="Our Automation Tool for Migrating 1,800 MySQL Instances in Only Six Months" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" style="border: 0px; background: padding-box padding-box rgba(0, 0, 0, 0.1); margin: 0px; padding: 0px; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 40px; width: 560px; height: 314px;" data-ratio="1.78343949044586"></iframe> Generally speaking, the MySQL update process can be divided into: - Create New MySQL Instance - Add User ACL - Set MySQL Variable - Export/Import Data - Start Replication - Inspect Query Performace - Switch to new MySQL. (In midnight?) - Shutdown old MySQL This kind of work is actually quite time-consuming. It is possible that after it is done... <iframe frameborder="0" src="https://speakerdeck.com/player/52b80ea6286f4fa9ad587699c3324731?slide=17" title="Our Automation Tool for Migrating 1,800 MySQL Instances in Only Six Months" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" style="border: 0px; background: padding-box padding-box rgba(0, 0, 0, 0.1); margin: 0px; padding: 0px; border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 40px; width: 560px; height: 314px;" data-ratio="1.78343949044586"></iframe> (This speaker is really humorous) Therefore, the LINE DBA team developed a tool MUH: (MySQL Update Helper) How MUH can help you upgrade MySQL without security concerns. You can refer to this slide to explain the principle: - Slides https://speakerdeck.com/techverse\_2022/our-automation-tool-for-migrating-1800-mysql-instances-in-only-six-months - Session: https://tech-verse.me/en/sessions/61 Enter fullscreen mode Exit fullscreen mode Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Evan Lin Follow Attitude is Everything. @golangtw Co-Organizer / LINE Taiwan Technology Evangelist. Golang GDE. Location Taipei Work Technology Evangelist at LINE Corp. Joined Jun 16, 2020 More from Evan Lin [Learning Notes] [Golang] How to Develop OAuth2 PKCE with Golang - Using LINE Login as an Example # security # webdev # go # tutorial Golang for Mach-O File Reverse Engineering # computerscience # go # security [TIL] Exporting from Apple Notes # security # ios # productivity # tutorial 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://zeroday.forem.com/om_shree_0709
Om Shree - Security Forem Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Security Forem Close Follow User actions Om Shree Technical Evangelist | AI Researcher | Simplifying Complex AI & Agent Workflows for Developers Location India Joined Joined on  Feb 27, 2025 Email address omshree0709@gmail.com Personal website https://shreesozo.com github website twitter website Education Jaypee University Of Information Technology Pronouns He/Him Work Founder of Shreesozo 16 Week Community Wellness Streak You're a dedicated community champion! Keep up the great work by posting at least 2 comments per week for 16 straight weeks. The prized 24-week badge is within reach! Got it Close 2 DEV Challenge Volunteer Judge Awarded for judging a DEV Challenge and nominating winners. Got it Close 100 Thumbs Up Milestone Awarded for giving 100 thumbs ups (👍) to a variety of posts across DEV. This is a mod-exclusive badge. Got it Close 8 Week Community Wellness Streak Consistency pays off! Be an active part of our community by posting at least 2 comments per week for 8 straight weeks. Earn the 16 Week Badge next. Got it Close Build Apps with Google AI Studio Awarded for completing DEV Education Track: "Build Apps with Google AI Studio" Got it Close 4 Week Community Wellness Streak Keep contributing to discussions by posting at least 2 comments per week for 4 straight weeks. Unlock the 8 Week Badge next. Got it Close 2 Week Community Wellness Streak Keep the community conversation going! Post at least 2 comments for 2 straight weeks and unlock the 4 Week Badge. Got it Close 1 Week Community Wellness Streak For actively engaging with the community by posting at least 2 comments in a single week. Got it Close Writing Debut Awarded for writing and sharing your first DEV post! Continue sharing your work to earn the 4 Week Writing Streak Badge. Got it Close More info about @om_shree_0709 Skills/Languages Full-Stack Dev Currently learning Full-Stack Dev Available for MCP Blog Author, Open-Source Contributor, Full-Stack Dev Post 1 post published Comment 330 comments written Tag 1 tag followed October 2025 Security Scoop: AI in Attacks, Fresh Vulns, and Career Boosts Om Shree Om Shree Om Shree Follow Oct 12 '25 October 2025 Security Scoop: AI in Attacks, Fresh Vulns, and Career Boosts # discuss # beginners # aws # news 20  reactions Comments Add Comment 3 min read Want to connect with Om Shree? Create an account to connect with Om Shree. You can also sign in below to proceed if you already have an account. Create Account Already have an account? Sign in loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Security Forem — Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Home About Contact Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Security Forem © 2016 - 2026. Share. Secure. Succeed Log in Create account
2026-01-13T08:49:10
https://dev.to/t/odoo/page/8#main-content
Odoo Page 8 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Forem Close # odoo Follow Hide Create Post Older #odoo posts 1 2 3 4 5 6 7 8 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Run Odoo in docker for local development Alfadil mustafa Alfadil mustafa Alfadil mustafa Follow May 8 '20 Run Odoo in docker for local development # odoo # docker 11  reactions Comments 2  comments 2 min read Speed up your Odoo 12.0 code Apruzzese Francesco Apruzzese Francesco Apruzzese Francesco Follow Mar 23 '20 Speed up your Odoo 12.0 code # odoo # python 34  reactions Comments 6  comments 5 min read Envertis Software Solutions: Expert Odoo Solutions for Streamlined Business Operations Envertis Software Solutions Envertis Software Solutions Envertis Software Solutions Follow Mar 6 '20 Envertis Software Solutions: Expert Odoo Solutions for Streamlined Business Operations # erp # odoo # odooerp # coding 6  reactions Comments Add Comment 2 min read Odoo 101 Perm Chao Perm Chao Perm Chao Follow Jan 17 '20 Odoo 101 # odoo # odoo11 8  reactions Comments 1  comment 1 min read What Should You Expect From Odoo, A Modern ERP System 73Lines 73Lines 73Lines Follow Jun 21 '19 What Should You Expect From Odoo, A Modern ERP System # odoo # erp # opensource # python 6  reactions Comments Add Comment 4 min read Creando widgets para Odoo (Parte 1) Yoandy Rodriguez Martinez Yoandy Rodriguez Martinez Yoandy Rodriguez Martinez Follow Apr 18 '18 Creando widgets para Odoo (Parte 1) # python # odoo # javascript 14  reactions Comments 3  comments 4 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/eachampagne/websockets-with-socketio-5edp#sending-information-to-the-client
Websockets with Socket.IO - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse eachampagne Posted on Jan 12           Websockets with Socket.IO # javascript # node # webdev # networking This post contains a flashing gif. HTTP requests have taken me pretty far, but I’m starting to run into their limits. How do I tell a client that the server updated at midnight, and it needs to fetch the newest data? How do I notify one user when another user makes a post? In short, how do I get information to the client without it initiating the request? Websockets One possible solution is to use websockets , which establish a persistent connection between the client and server. This will allow us to send data to the client when we want to, without waiting for the client’s next request. Websockets have their own protocol (though the connection is initiated with HTTP requests) and are language-agnostic. We could, if we wanted, implement a websocket client and its corresponding server from scratch or with Deno … or we could use one of the libraries that’s already done the hard work for us. I’ve used Socket.IO in a previous project, so we’ll go with that. I enjoyed working with it before, and it even has the advantage of a fallback in case the websocket fails. Colorsocket For immediate visual feedback, we’ll make a small demo where any one client can affect the colors displayed on all. Each client on the /color endpoint has a slider to control one primary color, plus a button to invert all the other /color clients. (The server assigns a color in order to each client when the client connects, so you just have to refresh a few times until you get all three colors. I did make sure duplicate colors would work in sync, however.) The /admin user can turn primary colors on or off. Here’s the app in action: The clients aren’t all constantly making requests to the server. How do they know to update? Establishing Connections When each client runs its <script> , it creates a new socket, which opens a connection to the server. // color.html const socket = io ( ' /color ' ); // we’ll come back to the argument Enter fullscreen mode Exit fullscreen mode The script then assigns handlers on the new socket for the various events we expect to receive from the server: // color.html socket . on ( ' assign-color ' , ( color , colorSettings , activeSettings ) => { document . getElementById ( ' color-name ' ). innerText = color ; controllingColor = color ; currentBackground = colorSettings ; active = activeSettings ; colorSlider . disabled = ! active [ controllingColor ]; document . getElementById ( ' active ' ). innerText = active [ controllingColor ] ? ' active ' : ' inactive ' ; colorSlider . value = colorSettings [ controllingColor ]; updateBackground (); }); socket . on ( ' set-color ' , ( color , value ) => { currentBackground [ color ] = value ; if ( controllingColor === color ) { colorSlider . value = value ; } updateBackground (); }); socket . on ( ' invert ' , () => { inverted = ! inverted ; document . getElementById ( ' inverted ' ). innerText = inverted ? '' : ' not ' ; updateBackground (); }); socket . on ( ' toggle-active ' , ( color ) => { active [ color ] = ! active [ color ]; if ( controllingColor === color ) { colorSlider . disabled = ! active [ color ]; } document . getElementById ( ' active ' ). innerText = active [ controllingColor ] ? ' active ' : ' inactive ' ; updateBackground (); }); Enter fullscreen mode Exit fullscreen mode Meanwhile, the server detects the new connection. It assigns the client a color, sends that color and current state of the application to the client, and sets up its own handlers for events received through the socket: // index.js colorNamespace . on ( ' connection ' , ( socket ) => { const color = colors [ colorCount % 3 ]; // pick the next color in the list, then loop colorCount ++ ; socket . emit ( ' assign-color ' , color , colorSettings , activeSettings ); // synchronize the client with the application state socket . data . color = color ; // you can save information to a socket’s data key, but I didn’t end up using this for anything socket . on ( ' set-color ' , ( color , value ) => { colorSettings [ color ] = value ; colorNamespace . emit ( ' set-color ' , color , value ); }); socket . on ( ' invert ' , () => { socket . broadcast . emit ( ' invert ' ); }); }); Enter fullscreen mode Exit fullscreen mode The /admin page follows similar setup. Sending Information to the Client Let’s follow how user interaction on one page changes all the others. When a user on the blue page moves the slider, the slider emits a change event, which is caught by the slider’s event listener: // color.html colorSlider . addEventListener ( ' change ' , ( event ) => { socket . emit ( ' set-color ' , controllingColor , event . target . value ); }); Enter fullscreen mode Exit fullscreen mode That event listener emits a new set-color event with the color and new value. The server receives the client’s set-color , then emits its own to transmit that data to all clients. Each client receives the message and updates its blue value accordingly. Broadcasting to Other Sockets But clicking the “Invert others” button affects the other /color users, but not the user who actually clicked the button! The key here is the broadcast flag when the server receives and retransmits the invert message: // server.js socket . on ( ' invert ' , () => { socket . broadcast . emit ( ' invert ' ); // broadcast }); Enter fullscreen mode Exit fullscreen mode This flag means that that the server will send the event to every socket except the one it’s called on. Here this is just a neat trick, but in practice, it might be useful to avoid sending a post to the user who originally wrote it, because their client already has that information. Namespaces You may have noticed that the admin tab isn’t changing color with the other three. For simplicity, I didn’t set up any handlers for the admin page. But even if I had, they wouldn’t do anything, because the admin socket isn’t receiving those events at all. This is because the admin tab is in a different namespace . // color.html const socket = io ( ' /color ' ); // ======================= // admin.html const socket = io ( ' /admin ' ); // ======================= // index.js const colorNamespace = io . of ( ' /color ' ); const adminNamespace = io . of ( ' /admin ' ); … colorNamespace . emit ( ' set-color ' , color , value ); // the admin page doesn’t receive this event Enter fullscreen mode Exit fullscreen mode (For clarity, I gave my two namespaces the same names as the two endpoints the pages are located at, but I didn’t have to. The namespaces could have had arbitrary names with no change in functionality, as long as the client matched the server.) Namespaces provide a convenient way to target a subset of sockets. However, namespaces can communicate with each other: // admin.html const toggleFunction = ( color ) => { socket . emit ( ' toggle-active ' , color ); }; // ======================= // index.js // clicking the buttons on the admin page triggers changes on the color pages adminNamespace . on ( ' connection ' , ( socket ) => { socket . on ( ' toggle-active ' , color => { activeSettings [ color ] = ! activeSettings [ color ]; colorNamespace . emit ( ' toggle-active ' , color ); }); }); // ======================= // color.html socket . on ( ' toggle-active ' , ( color ) => { active [ color ] = ! active [ color ]; if ( controllingColor === color ) { colorSlider . disabled = ! active [ color ]; } document . getElementById ( ' active ' ). innerText = active [ controllingColor ] ? ' active ' : ' inactive ' ; updateBackground (); }); Enter fullscreen mode Exit fullscreen mode In all of the examples, events were caused by some interaction on one of the clients. An event was emitted to the server, and a second message was emitted by the server to the appropriate clients. However, this is only a small sample of the possibilities. For example, a server could use websockets to update all clients on a regular cycle, or get information from some API and pass it on. This demo is only a small showcase of what I’ve been learning and hope to keep applying in my projects going forward. References and Further Reading Socket.IO , especially the tutorial , which got me up and running very quickly Websockets on MDN – API reference and glossary , plus the articles on writing your own clients and servers ( Deno version ) Cover Photo by Scott Rodgerson on Unsplash Top comments (2) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   Art light Art light Art light Follow Trust yourself🌞your capabilities are your true power. ❤Telegram - ✔lighthouse4661 ❤Discord - ✔lighthouse4661 Email art.miclight@gmail.com Pronouns He/him Work CTO Joined Nov 21, 2025 • Jan 12 Dropdown menu Copy link Hide Wow, this is an incredibly clear and practical explanation! I really appreciate how you broke down the client-server flow with Socket.IO—it makes even the trickier concepts like namespaces and broadcasting feel approachable. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Lars Rye Jeppesen Lars Rye Jeppesen Lars Rye Jeppesen Follow Aspartam Junkie Location Vice City Pronouns Grand Master Joined Feb 10, 2017 • Jan 12 Dropdown menu Copy link Hide Great article. A question though: why use Socket.IO when NodeJs now has it natively built in? Like comment: Like comment: 1  like Like Comment button Reply Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse eachampagne Follow Joined Sep 5, 2025 More from eachampagne Graphing in JavaScript # data # javascript # science 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/how-to-avoid-plagiarism#thank-you
Guidelines for Avoiding Plagiarism on DEV - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Forem Close Guidelines for Avoiding Plagiarism on DEV This guide was last updated by the DEV Team on July 19th 2023 and is based on DEV Community: How to Avoid Plagiarism . As DEV continues to grow, we want to ensure that DEV remains a place of integrity and inclusiveness. At DEV, we use Community Moderation as a tool to maintain a respectful and positive environment. It is important to us that we provide you all with the tools to identify and flag problems that may affect a single author or countless DEV users. In this post, we hope to provide simple and effective guidance to combat plagiarism as a community. Whether you’re reporting plagiarism as you stumble upon it or learning how to avoid it in your own writing, hopefully, you find this resource helpful! What is Plagiarism? Oxford Languages defines plagiarism as, "the practice of taking someone else's work or ideas and passing them off as one's own," however, plagiarism is multifaceted and it’s not always so clear as this. Bowdoin University wrote a great breakdown of the four most common types of plagiarism , in tl:dr fashion these are: "Direct Plagiarism" "Self Plagiarism" "Mosaic Plagiarism" "Accidental Plagiarism" Let's take a little deeper look into each… Direct Plagiarism is the most blatant form of plagiarism we encounter. This pertains to a user copying and pasting content from another blog, piece of media, or document, and claiming it as their own. Self Plagiarism is described through an academic lens in the Bowdoin University article which is not as relevant to our community, but we can think of this in a different way. For instance, you could potentially self-plagiarize by reposting an article you wrote for a company or publication, if they own your work. In many circumstances, these places will be happy for you to repost your work elsewhere, but make sure that you understand the terms and conditions of your writing before reposting. Mosaic Plagiarism generally starts when someone is inspired by another user's work and wants to write about the same topic. This occasionally manifests as copying and pasting certain passages of someone else’s work or as Bowdoin says “ finds synonyms for the author’s language while keeping to the same general structure and meaning of the original ” but failing to cite the original author. (Notice how we were able to link directly to the specific language in the text... every extra step we can take to clarify where the info came from is ideal!) Accidental Plagiarism happens when folks misquote their sources, forget to cite sources, or copy their sources too closely by accident (like mosaic plagiarism). How to Avoid Plagiarizing Someone's Work? Luckily, avoiding plagiarism is pretty easy once you know how to identify it. Typically, it is as simple as providing a straightforward source and citation to any media you use that is not your own in your post. When should I cite something? If you're pulling information from an external source that you did not create, you should always cite where the information came from. For example, say you're writing an article on using an npm package, axios, and you're using information from their documentation — you should link their docs in your article. This not only gives them credit for their work but also helps the DEV community in case someone wants to do more research about the topic. If you copy a source directly — use quotes and absolutely provide a source + citation. If you just looked at a source and paraphrased it in your own words, you don't need to use quotations, but it is still best to cite the source. If in doubt, always provide a source + citation! It's unlikely anyone will fault you for offering too many citations or listing too many sources. How should I cite something? Great question! See how I linked to the university's actual post on plagiarism ( the source ) and quoted the plagiarism types that they named. Notice that I didn't try to misappropriate these ideas as my own in any way and made it explicitly clear that this information came from Bowdoin University. This allows readers to do more research at the original source and ensures that the writers receive fair credit. A Note on AI Assisted Plagiarism We understand that there are AI tools (like ChatGPT) that can be used to aid in content creation. When used responsibly, these tools can be really cool and are generally allowed on the platform. However, these tools also have the potential for abuse. Please review our guidelines for using AI-assisted tools in your writing here: Guidelines for AI-assisted Articles on DEV Erin Bensinger for The DEV Team ・ Dec 19 '22 #meta #chatgpt #writing #abotwrotethis You should check out the full guidelines, but in regards to plagiarism, take care not to use AI to copy someone’s work unwittingly… and of course, don’t do it on purpose either! Always do your research and be responsible, making sure to cite sources if appropriate and disclose whatever tool you used to write your article. And even then, using AI does not excuse you from posting an article that plagiarizes others’ works. If we discover that you have done so, we will act to unpublish any offending posts and may suspend your DEV account. Be mindful and don’t let your usage of AI cause you to plagiarize. How to Recognize & Report Plagiarism? Now that you know how to properly cite sources, let's talk a bit about how to recognize plagiarism and where to go to report it. Recognizing Plagiarism Sometimes you just get the feeling that something is being plagiarized. Maybe you feel like you read it somewhere before. Or perhaps you notice a sharp change in the author’s voice. Maybe you see strange errors that occur from copying/pasting! Do a little detective work by dropping chunks of the text into your search engine of choice (or try the “quick search” option on plagium.com), and see if you can find any results with similar wording. If you do, report it to us ! (More on that below!) And of course, plagiarism doesn’t just happen in writing — it’s just as important to attribute images, code, videos, and other media. If you see a graph (or code block) you recognize from elsewhere, try to place it, and again, let us know. You might find the reverse image search at tineye.com helpful for seeing if an image is plagiarized! Other times, you may notice that someone isn't taking content from another source word-for-word, but their content feels too close to the original for comfort. Alternatively, maybe their graph is in blue instead of red like the original, or maybe their code has slightly different variables but is otherwise the same as someone else’s. If you feel like it’s off, report it and let us know why! What about those times when someone seems to be claiming that a repo or CodePen is theirs (when it's not)? ... Definitely reportable! As for examples that likely should not be reported: someone is reposting their own work that they first posted elsewhere someone is giving a shout-out to someone else's work or has written a companion piece/response to someone else's post (while making it clear it's unaffiliated) Reporting Plagiarism If you believe you’ve encountered plagiarism or copyright violations, the absolute BEST action you can take is to report the post and provide any evidence you have. Reporting the post sends it directly to our community team to take action. If you're unsure, it's okay to send it to us for review... we won't penalize you for being mistaken. All this said, we do not recommend calling anyone out in the comments section — as we discussed before, plagiarism can be accidental and/or is sometimes enforced differently in a variety of cultures. We ask that you simply report the post rather than getting personally involved which could accidentally trigger arguments, hurt feelings, or possibly even further conduct violations. Thank you! If you have questions or feedback about our approach, we encourage you to contact us via support@dev.to . If you believe that someone isn't following these guidelines, please don't hesitate to report them to us via our Report Abuse page . Also, if you want to help enforce the Code of Conduct, you might consider becoming a DEV moderator. Visit the DEV Community Moderation page for more information on roles and how to get involved. Thanks! 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/rails/page/7
Ruby on Rails Page 7 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Ruby on Rails Follow Hide Ruby on Rails is a popular web framework that happens to power dev.to ❤️ Create Post about #rails Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. It was released in 2005 and powers websites like GitHub, Basecamp, and many others. The framework and community prides itself on developer experience, sensible abstractions and empowering individual developers to accomplish a lot. Older #rails posts 4 5 6 7 8 9 10 11 12 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Rails 8 – New ActiveSupport Timezone Defaults Georgy Yuriev Georgy Yuriev Georgy Yuriev Follow Sep 12 '25 Rails 8 – New ActiveSupport Timezone Defaults # ruby # rails # webdev 3  reactions Comments Add Comment 2 min read Rails Admin panel with Avo: a booking application Exequiel Rozas Exequiel Rozas Exequiel Rozas Follow Sep 24 '25 Rails Admin panel with Avo: a booking application # rails # admin # avo 2  reactions Comments Add Comment 10 min read Two new Ruby podcasts from Rails Foundation and Ruby Central Lucian Ghinda Lucian Ghinda Lucian Ghinda Follow Aug 20 '25 Two new Ruby podcasts from Rails Foundation and Ruby Central # ruby # rails # podcast Comments Add Comment 1 min read *NEW GEM* ActsAsActive: Plug-and-play activity tracking for ActiveRecord Amit Leshed Amit Leshed Amit Leshed Follow Aug 19 '25 *NEW GEM* ActsAsActive: Plug-and-play activity tracking for ActiveRecord # ruby # rails # webdev # programming Comments Add Comment 1 min read Descobrindo a fonte utilizada em um site e aplicando ela ao seu projeto Tailwind 4.0/Rails Dominique Morem Dominique Morem Dominique Morem Follow Aug 18 '25 Descobrindo a fonte utilizada em um site e aplicando ela ao seu projeto Tailwind 4.0/Rails # rails # tailwindcss # googlefonts # devtools Comments Add Comment 3 min read 1 Modal to Rule them All: Rails x Turbo x Stimulus hersoftsyntax hersoftsyntax hersoftsyntax Follow Sep 20 '25 1 Modal to Rule them All: Rails x Turbo x Stimulus # rails # webdev # ruby # frontend 2  reactions Comments 2  comments 10 min read Writing Maintainable AI Prompts in Rails with Promptly Wilbur Suero Wilbur Suero Wilbur Suero Follow Aug 18 '25 Writing Maintainable AI Prompts in Rails with Promptly # ruby # rails # promptengineering 1  reaction Comments Add Comment 2 min read Rails View Helper Scope and the include_all_helpers Option Takashi SAKAGUCHI Takashi SAKAGUCHI Takashi SAKAGUCHI Follow Sep 19 '25 Rails View Helper Scope and the include_all_helpers Option # ruby # rails 2  reactions Comments Add Comment 4 min read From Fat Models to Clean Code: 5 Practical Design Patterns in Ruby on Rails Pratiksha Palkar Pratiksha Palkar Pratiksha Palkar Follow Sep 19 '25 From Fat Models to Clean Code: 5 Practical Design Patterns in Ruby on Rails # designpatterns # rails # ruby # cleancode 2  reactions Comments Add Comment 7 min read Associações polimórficas no Rails: como fazer, prós e contras Pedro Leonardo Pedro Leonardo Pedro Leonardo Follow Sep 16 '25 Associações polimórficas no Rails: como fazer, prós e contras # ruby # rails # sql # development 17  reactions Comments 3  comments 4 min read Stimulus basics: what is a Stimulus controller? Rails Designer Rails Designer Rails Designer Follow Sep 18 '25 Stimulus basics: what is a Stimulus controller? # ruby # rails # hotwire # webdev 1  reaction Comments Add Comment 4 min read How to Get More Detailed Information When RSpec Tests Fail Takashi SAKAGUCHI Takashi SAKAGUCHI Takashi SAKAGUCHI Follow Sep 16 '25 How to Get More Detailed Information When RSpec Tests Fail # ruby # rails Comments Add Comment 2 min read Login e Logout no Rails 8 para apressadinhos Dominique Morem Dominique Morem Dominique Morem Follow Aug 12 '25 Login e Logout no Rails 8 para apressadinhos # rails # authentication # login # logout Comments Add Comment 5 min read TIL Deferred Unique Constraint VS Unique Index Augusts Bautra Augusts Bautra Augusts Bautra Follow Aug 11 '25 TIL Deferred Unique Constraint VS Unique Index # rails # sequences # constraints Comments Add Comment 1 min read Day 3 of why to join Friendly.rb Conference Lucian Ghinda Lucian Ghinda Lucian Ghinda Follow Aug 14 '25 Day 3 of why to join Friendly.rb Conference # techtalks # ruby # rails 1  reaction Comments Add Comment 2 min read Veri v0.4.0 – Multi-Tenancy Update for the Rails Authentication Gem Evgenii S. Evgenii S. Evgenii S. Follow Sep 12 '25 Veri v0.4.0 – Multi-Tenancy Update for the Rails Authentication Gem # news # rails # ruby # webdev Comments Add Comment 1 min read Small Dev Fascination Josua Schmid Josua Schmid Josua Schmid Follow for Renuo AG Sep 12 '25 Small Dev Fascination # rails # ruby 1  reaction Comments Add Comment 1 min read Ruby Argentina September Meetup SINAPTIA SINAPTIA SINAPTIA Follow Sep 12 '25 Ruby Argentina September Meetup # ruby # rails # ai # community 2  reactions Comments Add Comment 2 min read 📼 New Opal Stimulus walkthrough VIDEO! Joseph Schito Joseph Schito Joseph Schito Follow Sep 12 '25 📼 New Opal Stimulus walkthrough VIDEO! # ruby # rails # opal # stimulus Comments Add Comment 1 min read Typography for Rails developers Rails Designer Rails Designer Rails Designer Follow Sep 11 '25 Typography for Rails developers # rails # design # ruby # webdev 4  reactions Comments Add Comment 5 min read rails_code_auditor: A New Ruby Gem for Easy Rails Code Audits Pichandal Pichandal Pichandal Follow Sep 11 '25 rails_code_auditor: A New Ruby Gem for Easy Rails Code Audits # rubygem # newrubygem # gemforcodeaudits # rails Comments Add Comment 3 min read Flexible Feature Access in Rails SaaS Apps Rails Designer Rails Designer Rails Designer Follow Sep 10 '25 Flexible Feature Access in Rails SaaS Apps # ruby # rails # saas # webdev 3  reactions Comments 1  comment 4 min read Why I Chose Bootstrap Over Tailwind for My Rails Template Vladimir Elchinov Vladimir Elchinov Vladimir Elchinov Follow Aug 6 '25 Why I Chose Bootstrap Over Tailwind for My Rails Template # rails # bootstrap # webdev # ruby Comments Add Comment 2 min read Safer sandboxing in Rails Oinak Oinak Oinak Follow Aug 6 '25 Safer sandboxing in Rails # ruby # rails # safety # sandbox Comments Add Comment 2 min read Modern CSS organization (in Rails) Rails Designer Rails Designer Rails Designer Follow Sep 4 '25 Modern CSS organization (in Rails) # webdev # css # rails # ruby 4  reactions Comments Add Comment 5 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/help/fun-stuff#main-content
Fun Stuff - DEV Help - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close DEV Help The latest help documentation, tips and tricks from the DEV Community. Help > Fun Stuff Fun Stuff In this article Sloan: The DEV Mascot Caption This!, Meme Monday & More! Caption This! Meme Monday Music Monday Explore for extra enjoyment! Sloan: The DEV Mascot Why is Sloan the Sloth the official DEV Moderator, you ask? Sloths might not seem like your typical software development assistant, but Sloan defies expectations! Here's why: Moderates and Posts Content: Sloan actively moderates and posts content on DEV, ensuring a vibrant and welcoming community. Welcomes New Members: Sloan greets and welcomes new members to the DEV community in our Weekly Welcome thread, fostering a sense of belonging. Answers Your Questions: Have a question you'd like to ask anonymously? Sloan's got you covered! Submit your question to Sloan's Inbox, and they'll post it on your behalf. Visit Sloan's Inbox Follow Sloan! Caption This!, Meme Monday & More! Caption This! Every week, we host a "Caption This" challenge! We share a mysterious picture without context, and it's your chance to work your captioning magic and bring it to life. Unleash your creativity and craft the perfect caption for these quirky images! Meme Monday Meme Monday is our weekly thread where you can join in the laughter by sharing your favorite developer memes. Each week, we select the best one to kick off the next week as the post image, sparking another round of fun and creativity. Music Monday Share what music you're listening to each week on the Music Monday thread , - check back each week for different themes and discover weird and wonderful bands and artists shared by the community! 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/flo152121063061/i-tried-to-capture-system-audio-in-the-browser-heres-what-i-learned-1f99#was-it-worth-it
I tried to capture system audio in the browser. Here's what I learned. - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Flo Posted on Jan 12           I tried to capture system audio in the browser. Here's what I learned. # webdev # javascript # learning # api I'm building LiveSuggest, a real-time AI assistant that listens to your meetings and gives you suggestions as you talk. Simple idea, right? Turns out, capturing audio from a browser tab is... complicated. The good news Chrome and Edge support it. You use getDisplayMedia , the same API for screen sharing, but with an audio option: const stream = await navigator . mediaDevices . getDisplayMedia ({ video : true , audio : { systemAudio : ' include ' } }); Enter fullscreen mode Exit fullscreen mode The user picks a tab to share, checks "Share tab audio", and boom — you get the audio stream. Works great for Zoom, Teams, Meet, whatever runs in a browser tab. The bad news Firefox? Implements getDisplayMedia but completely ignores the audio part. No error, no warning. You just... don't get audio. Safari? Same story. The API exists, audio doesn't. Mobile browsers? None of them support it. iOS, Android, doesn't matter. So if you're building something that needs system audio, you're looking at Chrome/Edge desktop only. That's maybe 60-65% of your potential users. What I ended up doing I detect the browser upfront and show a clear message: "Firefox doesn't support system audio capture for meetings. Use Chrome or Edge for this feature. Microphone capture is still available." No tricks, no workarounds. Just honesty. Users appreciate knowing why something doesn't work rather than wondering if they did something wrong. For Firefox/Safari users, the app falls back to microphone-only mode. It's not ideal for capturing both sides of a conversation, but it's better than nothing. The annoying details A few things that wasted my time so they don't waste yours: You have to request video. Even if you only want audio. video: true is mandatory. I immediately stop the video track after getting the stream, but you can't skip it. The "Share tab audio" checkbox is easy to miss. Chrome shows it in the sharing dialog, but it's not checked by default. If your user doesn't check it, you get a stream with zero audio tracks. No error, just silence. The stream can die anytime. User clicks "Stop sharing" in Chrome's toolbar? Your stream ends. You need to listen for the ended event and handle it gracefully. Was it worth it? Absolutely. For the browsers that support it, capturing tab audio is a game-changer. You can build things that weren't possible before — meeting assistants, live translators, accessibility tools. Just go in knowing that you'll spend time on browser detection and fallbacks. That's the web in 2025. If you're curious about what I built, check out LiveSuggest . And if you've found better workarounds for Firefox/Safari, I'd love to hear about them in the comments. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Flo Follow Joined Jan 12, 2026 Trending on DEV Community Hot What was your win this week??? # weeklyretro # discuss AI should not be in Code Editors # programming # ai # productivity # discuss The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/rails/page/8
Ruby on Rails Page 8 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Ruby on Rails Follow Hide Ruby on Rails is a popular web framework that happens to power dev.to ❤️ Create Post about #rails Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. It was released in 2005 and powers websites like GitHub, Basecamp, and many others. The framework and community prides itself on developer experience, sensible abstractions and empowering individual developers to accomplish a lot. Older #rails posts 5 6 7 8 9 10 11 12 13 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu How we sped up our rails migration setup in 90% Augusto Pagnossim Frigo Augusto Pagnossim Frigo Augusto Pagnossim Frigo Follow for Virtual360 Sep 3 '25 How we sped up our rails migration setup in 90% # programming # ruby # rails # postgres Comments Add Comment 8 min read Como aceleramos em 90% a execução das nossas migrações em Rails Augusto Pagnossim Frigo Augusto Pagnossim Frigo Augusto Pagnossim Frigo Follow for Virtual360 Sep 3 '25 Como aceleramos em 90% a execução das nossas migrações em Rails # programming # ruby # rails # postgres Comments Add Comment 7 min read AWS::S3::Errors::RequestTimeTooSkewed Aleksandr Aleksandr Aleksandr Follow Jul 28 '25 AWS::S3::Errors::RequestTimeTooSkewed # aws # ruby # rails # bug Comments Add Comment 1 min read Using Phlex helps me be a better programmer Jan Peterka Jan Peterka Jan Peterka Follow Jul 26 '25 Using Phlex helps me be a better programmer # rails Comments 1  comment 7 min read Identificador Único Universal (UUID): o que a pgcrypto e a sua mãe têm em comum... Dominique Morem Dominique Morem Dominique Morem Follow Jul 26 '25 Identificador Único Universal (UUID): o que a pgcrypto e a sua mãe têm em comum... # uuid # rails # humor # postgres Comments Add Comment 6 min read Shift+Click Selection for Bulk Actions with Stimulus Rails Designer Rails Designer Rails Designer Follow Aug 28 '25 Shift+Click Selection for Bulk Actions with Stimulus # ruby # rails # hotwire # webdev 1  reaction Comments Add Comment 2 min read How to Build AI-Generated Loading Messages in Rails 8 with Hotwire & Stimulus Andres Urdaneta Andres Urdaneta Andres Urdaneta Follow Aug 27 '25 How to Build AI-Generated Loading Messages in Rails 8 with Hotwire & Stimulus # webdev # ruby # rails # ai 1  reaction Comments Add Comment 9 min read Organized Configuration in Rails Rails Designer Rails Designer Rails Designer Follow Aug 27 '25 Organized Configuration in Rails # ruby # rails # webdev 1  reaction Comments Add Comment 3 min read Vibe Coding: Building the Brooke & Maisy E-Commerce Store with Rails and Kilo Code Mason Roberts Mason Roberts Mason Roberts Follow Aug 16 '25 Vibe Coding: Building the Brooke & Maisy E-Commerce Store with Rails and Kilo Code # webdev # ai # kilocode # rails 1  reaction Comments Add Comment 4 min read Tame Your Flaky RSpec Tests by Fixing the Seed Takashi SAKAGUCHI Takashi SAKAGUCHI Takashi SAKAGUCHI Follow Jul 23 '25 Tame Your Flaky RSpec Tests by Fixing the Seed # ruby # rails Comments Add Comment 4 min read How to use nested attributes in Ruby on Rails (create multiple objects at once) Douglas Berkley Douglas Berkley Douglas Berkley Follow Jul 23 '25 How to use nested attributes in Ruby on Rails (create multiple objects at once) # webdev # tutorial # rails Comments Add Comment 5 min read How to set a timeout to RSpec test executions Lucas M. Lucas M. Lucas M. Follow Jul 24 '25 How to set a timeout to RSpec test executions # rails # ruby # opensource # programming 1  reaction Comments Add Comment 11 min read How I Built a Database Debugging Tool for Rails and Why You Might Need It Patrick Patrick Patrick Follow Jul 20 '25 How I Built a Database Debugging Tool for Rails and Why You Might Need It # ruby # rails # devtools # opensource Comments Add Comment 2 min read 💎 ANN: kettle-test v1.0.0 Peter H. Boling Peter H. Boling Peter H. Boling Follow Aug 22 '25 💎 ANN: kettle-test v1.0.0 # testing # ruby # rails # devtools 6  reactions Comments Add Comment 2 min read Números em Ruby Henrique Silva Henrique Silva Henrique Silva Follow Jul 16 '25 Números em Ruby # ruby # rails # programming Comments Add Comment 2 min read Bun + Ruby: The New Full-Stack Duo Alex Aslam Alex Aslam Alex Aslam Follow Jul 16 '25 Bun + Ruby: The New Full-Stack Duo # webdev # programming # javascript # rails 2  reactions Comments Add Comment 2 min read A História do Ruby Henrique Silva Henrique Silva Henrique Silva Follow Jul 16 '25 A História do Ruby # ruby # rails # programming Comments Add Comment 2 min read Instalando Ruby no Linux Henrique Silva Henrique Silva Henrique Silva Follow Jul 15 '25 Instalando Ruby no Linux # ruby # rails # ubuntu # sistema Comments Add Comment 3 min read JuggleBee’s Great Leap – Data Migration, ActiveStorage, and Production Readiness (Part 2) Braden King Braden King Braden King Follow Aug 18 '25 JuggleBee’s Great Leap – Data Migration, ActiveStorage, and Production Readiness (Part 2) # ruby # rails # refactoring # webdev Comments Add Comment 7 min read Why I Chose Ruby on Rails to Build Launchzilla.net Zil Norvilis Zil Norvilis Zil Norvilis Follow Aug 15 '25 Why I Chose Ruby on Rails to Build Launchzilla.net # webdev # rails # ruby Comments 1  comment 2 min read Custom `RoutingError` handling in Rails Augusts Bautra Augusts Bautra Augusts Bautra Follow Jul 16 '25 Custom `RoutingError` handling in Rails # rails # exceptions # app 2  reactions Comments Add Comment 1 min read String Inflectors: bring a bit of Rails into JavaScript Rails Designer Rails Designer Rails Designer Follow Aug 14 '25 String Inflectors: bring a bit of Rails into JavaScript # ruby # rails # javascript # hotwire 1  reaction Comments Add Comment 4 min read Day 1 of why you should join Friendly.rb this year Lucian Ghinda Lucian Ghinda Lucian Ghinda Follow Aug 12 '25 Day 1 of why you should join Friendly.rb this year # techtalks # ruby # rails # development 9  reactions Comments 1  comment 1 min read Upscaling Images with AI SINAPTIA SINAPTIA SINAPTIA Follow Aug 13 '25 Upscaling Images with AI # ruby # rails # ai Comments Add Comment 4 min read JuggleBee’s Great Leap - Rebuilding a Rails 4 App in Rails 8 (Part 1) Braden King Braden King Braden King Follow Aug 13 '25 JuggleBee’s Great Leap - Rebuilding a Rails 4 App in Rails 8 (Part 1) # ruby # refactoring # rails # webdev Comments Add Comment 9 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/rails/page/5
Ruby on Rails Page 5 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Ruby on Rails Follow Hide Ruby on Rails is a popular web framework that happens to power dev.to ❤️ Create Post about #rails Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. It was released in 2005 and powers websites like GitHub, Basecamp, and many others. The framework and community prides itself on developer experience, sensible abstractions and empowering individual developers to accomplish a lot. Older #rails posts 2 3 4 5 6 7 8 9 10 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Building an AI Social Media Manager with Ruby on Rails: Architecture, Automation, and Lessons Learned Shaher Shamroukh Shaher Shamroukh Shaher Shamroukh Follow Oct 23 '25 Building an AI Social Media Manager with Ruby on Rails: Architecture, Automation, and Lessons Learned # rails # ruby # architecture # ai 1  reaction Comments Add Comment 3 min read Introducing content_flagging: Effortless Content Moderation for Rails Apps 🚀 Arshdeep singh Arshdeep singh Arshdeep singh Follow Nov 4 '25 Introducing content_flagging: Effortless Content Moderation for Rails Apps 🚀 # ruby # rails # webdev # contentmoderation Comments 1  comment 3 min read Everyone Tests Now But Are We Testing the Right Things? Lucian Ghinda Lucian Ghinda Lucian Ghinda Follow Oct 2 '25 Everyone Tests Now But Are We Testing the Right Things? # ruby # rails # testing 3  reactions Comments Add Comment 1 min read Polymorphic Relationships Matter (and My ADHD Agrees) develaper develaper develaper Follow Oct 22 '25 Polymorphic Relationships Matter (and My ADHD Agrees) # rails # ruby # api # cowboy Comments Add Comment 3 min read Introducing Caelus Rémy Hannequin Rémy Hannequin Rémy Hannequin Follow Oct 31 '25 Introducing Caelus # ruby # rails # webdev # astronomy 7  reactions Comments Add Comment 3 min read Extending the Kanban board (using Rails and Hotwire) Rails Designer Rails Designer Rails Designer Follow Oct 30 '25 Extending the Kanban board (using Rails and Hotwire) # ruby # rails # hotwire # javascript 6  reactions Comments Add Comment 8 min read Rails Upgrade on the Horizon? Here’s What to Watch Out For (and a Free Checklist to Help You Prepare) Pichandal Pichandal Pichandal Follow Oct 31 '25 Rails Upgrade on the Horizon? Here’s What to Watch Out For (and a Free Checklist to Help You Prepare) # railsupgrade # upgradechallenges # rails # webdev Comments Add Comment 3 min read released: active_record_compose 1.0.0 — Wrap multiple models with an ActiveModel interface Takashi SAKAGUCHI Takashi SAKAGUCHI Takashi SAKAGUCHI Follow Sep 25 '25 released: active_record_compose 1.0.0 — Wrap multiple models with an ActiveModel interface # ruby # rails Comments Add Comment 1 min read Action Text Lucas Barret Lucas Barret Lucas Barret Follow Oct 28 '25 Action Text # rails 2  reactions Comments Add Comment 2 min read Fly.io Quinterabok Quinterabok Quinterabok Follow Oct 7 '25 Fly.io # rails # tutorial # devops # beginners 1  reaction Comments 1  comment 13 min read Rails CSRF Internals Uncovered — And a Real-World Bug We Faced Aryamaan jain Aryamaan jain Aryamaan jain Follow Oct 11 '25 Rails CSRF Internals Uncovered — And a Real-World Bug We Faced # debugging # rails # ruby # security Comments Add Comment 6 min read nextjs rutvik nathani rutvik nathani rutvik nathani Follow Sep 22 '25 nextjs # rails # webdev # programming # ai Comments Add Comment 1 min read SafeMigrations: A Rails Gem for Easy Migrations Niko Niko Niko Follow Oct 25 '25 SafeMigrations: A Rails Gem for Easy Migrations # rails # ruby # rubygems # opensource 1  reaction Comments Add Comment 3 min read Announcing Attractive.js, a new JavaScript-free JavaScript library Rails Designer Rails Designer Rails Designer Follow Oct 23 '25 Announcing Attractive.js, a new JavaScript-free JavaScript library # rails # ruby # webdev # hotwire 1  reaction Comments Add Comment 6 min read How I switched from ruby to elixir and to learn it better — built a product Alex Sinelnikov Alex Sinelnikov Alex Sinelnikov Follow Oct 23 '25 How I switched from ruby to elixir and to learn it better — built a product # elixir # saas # ruby # rails 1  reaction Comments Add Comment 4 min read TIL: DB constraints for column values in Rails Augusts Bautra Augusts Bautra Augusts Bautra Follow Oct 23 '25 TIL: DB constraints for column values in Rails # database # rails # ruby Comments 1  comment 1 min read RailsFactory at RubyConf India 2025 Pichandal Pichandal Pichandal Follow Oct 22 '25 RailsFactory at RubyConf India 2025 # rubyconfindia2025 # rails # rubycommunity # techevent Comments Add Comment 3 min read Fixing Tailwind CSS Autocomplete in RubyMine (Rails 8 + Tailwind CSS 4) Mustapha Abdul-Rasaq Mustapha Abdul-Rasaq Mustapha Abdul-Rasaq Follow Oct 7 '25 Fixing Tailwind CSS Autocomplete in RubyMine (Rails 8 + Tailwind CSS 4) # rails # rubymine # jetbrain 2  reactions Comments Add Comment 2 min read Introducing Perron: Rails-based static site generator Rails Designer Rails Designer Rails Designer Follow Oct 16 '25 Introducing Perron: Rails-based static site generator # webdev # rails # ruby # hotwire 1  reaction Comments 1  comment 5 min read How to Serve Multiple Themes in Rails Using Sass and esbuild hersoftsyntax hersoftsyntax hersoftsyntax Follow Oct 5 '25 How to Serve Multiple Themes in Rails Using Sass and esbuild # rails # tutorial # webdev # frontend 1  reaction Comments Add Comment 5 min read A Deep Dive into the Rhino Framework: Part 2 ( Authorization and the CrudController) Alireza Nourbakhsh Alireza Nourbakhsh Alireza Nourbakhsh Follow Oct 14 '25 A Deep Dive into the Rhino Framework: Part 2 ( Authorization and the CrudController) # ruby # rails # programming # vibecoding 3  reactions Comments Add Comment 8 min read Your First Rhino Contribution: Making MVP Development Even Faster Hacktoberfest: Maintainer Spotlight Yousef Yousef Yousef Follow Oct 10 '25 Your First Rhino Contribution: Making MVP Development Even Faster # hacktoberfest # opensource # ruby # rails 8  reactions Comments Add Comment 6 min read Feature Flags | Controlled Chaos in Production Braden King Braden King Braden King Follow Sep 9 '25 Feature Flags | Controlled Chaos in Production # ruby # rails # webdev Comments Add Comment 4 min read What I Learned from Digging into the SolidCache Gem Ali Sepehri Ali Sepehri Ali Sepehri Follow Oct 12 '25 What I Learned from Digging into the SolidCache Gem # rails # redis # database # algorithms Comments Add Comment 1 min read How to Read EXIF Capture Time from HEIC/HEIF Photos in Ruby on Rails Sushil Subedi Sushil Subedi Sushil Subedi Follow Oct 11 '25 How to Read EXIF Capture Time from HEIC/HEIF Photos in Ruby on Rails # rails # programming # ruby # webdev 1  reaction Comments Add Comment 3 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/help/fun-stuff#Caption-This-Meme-Monday-and-More
Fun Stuff - DEV Help - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close DEV Help The latest help documentation, tips and tricks from the DEV Community. Help > Fun Stuff Fun Stuff In this article Sloan: The DEV Mascot Caption This!, Meme Monday & More! Caption This! Meme Monday Music Monday Explore for extra enjoyment! Sloan: The DEV Mascot Why is Sloan the Sloth the official DEV Moderator, you ask? Sloths might not seem like your typical software development assistant, but Sloan defies expectations! Here's why: Moderates and Posts Content: Sloan actively moderates and posts content on DEV, ensuring a vibrant and welcoming community. Welcomes New Members: Sloan greets and welcomes new members to the DEV community in our Weekly Welcome thread, fostering a sense of belonging. Answers Your Questions: Have a question you'd like to ask anonymously? Sloan's got you covered! Submit your question to Sloan's Inbox, and they'll post it on your behalf. Visit Sloan's Inbox Follow Sloan! Caption This!, Meme Monday & More! Caption This! Every week, we host a "Caption This" challenge! We share a mysterious picture without context, and it's your chance to work your captioning magic and bring it to life. Unleash your creativity and craft the perfect caption for these quirky images! Meme Monday Meme Monday is our weekly thread where you can join in the laughter by sharing your favorite developer memes. Each week, we select the best one to kick off the next week as the post image, sparking another round of fun and creativity. Music Monday Share what music you're listening to each week on the Music Monday thread , - check back each week for different themes and discover weird and wonderful bands and artists shared by the community! 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/help/fun-stuff#Sloan-The-DEV-Mascot
Fun Stuff - DEV Help - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close DEV Help The latest help documentation, tips and tricks from the DEV Community. Help > Fun Stuff Fun Stuff In this article Sloan: The DEV Mascot Caption This!, Meme Monday & More! Caption This! Meme Monday Music Monday Explore for extra enjoyment! Sloan: The DEV Mascot Why is Sloan the Sloth the official DEV Moderator, you ask? Sloths might not seem like your typical software development assistant, but Sloan defies expectations! Here's why: Moderates and Posts Content: Sloan actively moderates and posts content on DEV, ensuring a vibrant and welcoming community. Welcomes New Members: Sloan greets and welcomes new members to the DEV community in our Weekly Welcome thread, fostering a sense of belonging. Answers Your Questions: Have a question you'd like to ask anonymously? Sloan's got you covered! Submit your question to Sloan's Inbox, and they'll post it on your behalf. Visit Sloan's Inbox Follow Sloan! Caption This!, Meme Monday & More! Caption This! Every week, we host a "Caption This" challenge! We share a mysterious picture without context, and it's your chance to work your captioning magic and bring it to life. Unleash your creativity and craft the perfect caption for these quirky images! Meme Monday Meme Monday is our weekly thread where you can join in the laughter by sharing your favorite developer memes. Each week, we select the best one to kick off the next week as the post image, sparking another round of fun and creativity. Music Monday Share what music you're listening to each week on the Music Monday thread , - check back each week for different themes and discover weird and wonderful bands and artists shared by the community! 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/help/badges-and-recognition#$%7Bentry.target.id%7D
Badges and Recognition - DEV Help - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Forem Close DEV Help The latest help documentation, tips and tricks from the DEV Community. Help > Badges and Recognition Badges and Recognition In this article Types of Badges Top 7 Badge Earn badges to adorn your profile and celebrate your contributions to the DEV Community! At DEV, we value and appreciate each member of our Community, and we strive to recognize many of your contributions through our badge system. Let's delve deeper into how you can earn these badges! Types of Badges You can explore our extensive badge collection on our comprehensive badge page at https://dev.to/community-badges . Our badges are categorized into two main sections: Community Badges : These celebrate your positive interactions and engagement on DEV, highlighting your role in fostering a thriving community. Coding Badges : These acknowledge your technical expertise, language proficiency, hackathon victories, and more, showcasing a diverse range of skills and achievements. Each badge has specific qualifications, and we regularly introduce new ones and refresh or retire older ones! Click on any badge to learn about its requirements, and stay updated with our DEV Badges' Series to discover new releases. Top 7 Badge One badge of particular interest is our Top 7 badge! Every week, our DEV Team curates a list of the top articles from the previous week. You can explore all our Top 7 articles at https://dev.to/t/top7 to discover past winners and perhaps even prepare a piece to earn your own spot among them! 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/beginners/page/4#for-questions
Beginners Page 4 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Beginners Follow Hide "A journey of a thousand miles begins with a single step." -Chinese Proverb Create Post submission guidelines UPDATED AUGUST 2, 2019 This tag is dedicated to beginners to programming, development, networking, or to a particular language. Everything should be geared towards that! For Questions... Consider using this tag along with #help, if... You are new to a language, or to programming in general, You want an explanation with NO prerequisite knowledge required. You want insight from more experienced developers. Please do not use this tag if you are merely new to a tool, library, or framework. See also, #explainlikeimfive For Articles... Posts should be specifically geared towards true beginners (experience level 0-2 out of 10). Posts should require NO prerequisite knowledge, except perhaps general (language-agnostic) essentials of programming. Posts should NOT merely be for beginners to a tool, library, or framework. If your article does not meet these qualifications, please select a different tag. Promotional Rules Posts should NOT primarily promote an external work. This is what Listings is for. Otherwise accepable posts MAY include a brief (1-2 sentence) plug for another resource at the bottom. Resource lists ARE acceptable if they follow these rules: Include at least 3 distinct authors/creators. Clearly indicate which resources are FREE, which require PII, and which cost money. Do not use personal affiliate links to monetize. Indicate at the top that the article contains promotional links. about #beginners If you're writing for this tag, we recommend you read this article . If you're asking a question, read this article . Older #beginners posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu The Rise of Low-Code and No-Code Development Ravish Kumar Ravish Kumar Ravish Kumar Follow Jan 11 The Rise of Low-Code and No-Code Development # beginners # productivity # softwaredevelopment # tooling Comments Add Comment 3 min read Linux File & Directory Operations for DevOps — v1.0 Chetan Tekam Chetan Tekam Chetan Tekam Follow Jan 11 Linux File & Directory Operations for DevOps — v1.0 # beginners # linux # cloud # devops Comments Add Comment 2 min read HTML-101 #5. Text Formatting, Quotes & Code Formatting Himanshu Bhatt Himanshu Bhatt Himanshu Bhatt Follow Jan 11 HTML-101 #5. Text Formatting, Quotes & Code Formatting # html # learninpublic # beginners # tutorial 5  reactions Comments Add Comment 5 min read [Gaming][NS] Dark Souls Remastered: A Noob's Guide to Beating the Game Evan Lin Evan Lin Evan Lin Follow Jan 11 [Gaming][NS] Dark Souls Remastered: A Noob's Guide to Beating the Game # beginners # learning # tutorial Comments Add Comment 5 min read When Should You Use AWS Lambda? A Beginner's Perspective Sahinur Sahinur Sahinur Follow Jan 11 When Should You Use AWS Lambda? A Beginner's Perspective # aws # serverless # beginners # lambda Comments Add Comment 5 min read My Journey into AWS & DevOps: Getting Started with Hands-On Learning irfan pasha irfan pasha irfan pasha Follow Jan 11 My Journey into AWS & DevOps: Getting Started with Hands-On Learning # aws # devops # beginners # learning Comments Add Comment 1 min read Launching EC2 instances within a VPC (along with Wizard) Jeya Shri Jeya Shri Jeya Shri Follow Jan 10 Launching EC2 instances within a VPC (along with Wizard) # beginners # cloud # aws # vpc Comments Add Comment 3 min read #1-2) 조건문은 결국 사전 처방이다. JEON HYUNJUN JEON HYUNJUN JEON HYUNJUN Follow Jan 11 #1-2) 조건문은 결국 사전 처방이다. # beginners # python # tutorial Comments Add Comment 2 min read Vim Mode: Edit Prompts at the Speed of Thought Rajesh Royal Rajesh Royal Rajesh Royal Follow Jan 10 Vim Mode: Edit Prompts at the Speed of Thought # tutorial # claudecode # productivity # beginners Comments Add Comment 4 min read Accelerate Fluid Simulator Aditya Singh Aditya Singh Aditya Singh Follow Jan 10 Accelerate Fluid Simulator # simulation # programming # beginners # learning Comments Add Comment 3 min read Level 1 - Foundations #1. Client-Server Model Himanshu Bhatt Himanshu Bhatt Himanshu Bhatt Follow Jan 11 Level 1 - Foundations #1. Client-Server Model # systemdesign # distributedsystems # tutorial # beginners 5  reactions Comments Add Comment 4 min read System Design in Real Life: Why Ancient Museums are actually Microservices? Tyrell Wellicq Tyrell Wellicq Tyrell Wellicq Follow Jan 10 System Design in Real Life: Why Ancient Museums are actually Microservices? # discuss # systemdesign # architecture # beginners 1  reaction Comments 1  comment 2 min read Angular Pipes Explained — From Basics to Custom Pipes (With Real Examples) ROHIT SINGH ROHIT SINGH ROHIT SINGH Follow Jan 11 Angular Pipes Explained — From Basics to Custom Pipes (With Real Examples) # beginners # tutorial # typescript # angular Comments Add Comment 2 min read Bug Bounty Hunting in 2026 krlz krlz krlz Follow Jan 11 Bug Bounty Hunting in 2026 # security # bugbounty # tutorial # beginners Comments Add Comment 4 min read Hello dev.to 👋 I’m Ekansh — Building in Public with Web & AI Ekansh | Web & AI Developer Ekansh | Web & AI Developer Ekansh | Web & AI Developer Follow Jan 11 Hello dev.to 👋 I’m Ekansh — Building in Public with Web & AI # discuss # ai # beginners # webdev Comments Add Comment 1 min read Adding a Missing Warning Note Favoured Anuanatata Favoured Anuanatata Favoured Anuanatata Follow Jan 10 Adding a Missing Warning Note # help # beginners # opensource Comments Add Comment 1 min read Python Dictionary Views Are Live (And It Might Break Your Code) Samuel Ochaba Samuel Ochaba Samuel Ochaba Follow Jan 10 Python Dictionary Views Are Live (And It Might Break Your Code) # python # programming # webdev # beginners Comments Add Comment 2 min read Checklist for Promoting Your App: A Step-by-Step Guide That Works Isa Akharume Isa Akharume Isa Akharume Follow Jan 10 Checklist for Promoting Your App: A Step-by-Step Guide That Works # promotingyourapp # webdev # programming # beginners Comments Add Comment 2 min read What Clients ACTUALLY Want From Frontend Devs (Not Clean Code) Laurina Ayarah Laurina Ayarah Laurina Ayarah Follow Jan 10 What Clients ACTUALLY Want From Frontend Devs (Not Clean Code) # webdev # career # beginners # programming 1  reaction Comments Add Comment 9 min read Handling Pagination in Scrapy: Scrape Every Page Without Breaking Muhammad Ikramullah Khan Muhammad Ikramullah Khan Muhammad Ikramullah Khan Follow Jan 10 Handling Pagination in Scrapy: Scrape Every Page Without Breaking # webdev # programming # python # beginners 1  reaction Comments Add Comment 8 min read AWS Cheat Sheet Varalakshmi Varalakshmi Varalakshmi Follow Jan 10 AWS Cheat Sheet # aws # beginners # cloud Comments Add Comment 1 min read # Inside Git: How It Works and the Role of the `.git` Folder saiyam gupta saiyam gupta saiyam gupta Follow Jan 10 # Inside Git: How It Works and the Role of the `.git` Folder # architecture # beginners # git 1  reaction Comments Add Comment 3 min read Metrics + Logs = Zero Panic in Production 🚨 Taverne Tech Taverne Tech Taverne Tech Follow Jan 10 Metrics + Logs = Zero Panic in Production 🚨 # beginners # programming # devops # go Comments Add Comment 4 min read Building Custom Composite Components with STDF in Svelte Lucas Bennett Lucas Bennett Lucas Bennett Follow Jan 10 Building Custom Composite Components with STDF in Svelte # webdev # programming # javascript # beginners Comments Add Comment 7 min read Interactive Program Developement - Semester Project Aleena Mubashar Aleena Mubashar Aleena Mubashar Follow Jan 10 Interactive Program Developement - Semester Project # discuss # programming # beginners # computerscience Comments 1  comment 4 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/siy/the-underlying-process-of-request-processing-1od4#the-underlying-process-of-request-processing
The Underlying Process of Request Processing - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sergiy Yevtushenko Posted on Jan 12 • Originally published at pragmatica.dev The Underlying Process of Request Processing # java # functional # architecture # backend The Underlying Process of Request Processing Beyond Languages and Frameworks Every request your system handles follows the same fundamental process. It doesn't matter if you're writing Java, Rust, or Python. It doesn't matter if you're using Spring, Express, or raw sockets. The underlying process is universal because it mirrors how humans naturally solve problems. When you receive a question, you don't answer immediately. You gather context. You retrieve relevant knowledge. You combine pieces of information. You transform raw data into meaningful understanding. Only then do you formulate a response. This is data transformation--taking input and gradually collecting necessary pieces of knowledge to provide a correct answer. Software request processing works identically. The Universal Pattern Every request follows these stages: Parse - Transform raw input into validated domain objects Gather - Collect necessary data from various sources Process - Apply business logic to produce results Respond - Transform results into appropriate output format This isn't a framework pattern. It's not a design choice. It's the fundamental nature of information processing. Whether you're handling an HTTP request, processing a message from a queue, or responding to a CLI command--the process is the same. Input → Parse → Gather → Process → Respond → Output Enter fullscreen mode Exit fullscreen mode Each stage transforms data. Each stage may need additional data. Each stage may fail. The entire flow is a data transformation pipeline. Why Async Looks Like Sync Here's the insight that changes everything: when you think in terms of data transformation, the sync/async distinction disappears . Consider these two operations: // "Synchronous" Result < User > user = database . findUser ( userId ); // "Asynchronous" Promise < User > user = httpClient . fetchUser ( userId ); Enter fullscreen mode Exit fullscreen mode From a data transformation perspective, these are identical: Both take a user ID Both produce a User (or failure) Both are steps in a larger pipeline The only difference is when the result becomes available. But that's an execution detail, not a structural concern. Your business logic doesn't care whether the data came from local memory or crossed an ocean. It cares about what the data is and what to do with it. When you structure code as data transformation pipelines, this becomes obvious: // The structure is identical regardless of sync/async return userId . all ( id -> findUser ( id ), // Might be sync or async id -> loadPermissions ( id ), // Might be sync or async id -> fetchPreferences ( id ) // Might be sync or async ). map ( this :: buildContext ); Enter fullscreen mode Exit fullscreen mode The pattern doesn't change. The composition doesn't change. Only the underlying execution strategy changes--and that's handled by the types, not by you. Parallel Execution Becomes Transparent The same principle applies to parallelism. When operations are independent, they can run in parallel. When they depend on each other, they must run sequentially. This isn't a choice you make--it's determined by the data flow. // Sequential: each step needs the previous result return validateInput ( request ) . flatMap ( this :: createUser ) . flatMap ( this :: sendWelcomeEmail ); // Parallel: steps are independent return Promise . all ( fetchUserProfile ( userId ), loadAccountSettings ( userId ), getRecentActivity ( userId ) ). map ( this :: buildDashboard ); Enter fullscreen mode Exit fullscreen mode You don't decide "this should be parallel" or "this should be sequential." You express the data dependencies. The execution strategy follows from the structure. If operations share no data dependencies, they're naturally parallelizable. If one needs another's output, they're naturally sequential. This is why thinking in data transformation is so powerful. You describe what needs to happen and what data flows where . The how --sync vs async, sequential vs parallel--emerges from the structure itself. The JBCT Patterns as Universal Primitives Java Backend Coding Technology captures this insight in six patterns: Leaf - Single transformation (atomic) Sequencer - A → B → C, dependent chain (sequential) Fork-Join - A + B + C → D, independent merge (parallel-capable) Condition - Route based on value (branching) Iteration - Transform collection (map/fold) Aspects - Wrap transformation (decoration) These aren't arbitrary design patterns. They're the fundamental ways data can flow through a system: Transform a single value (Leaf) Chain dependent transformations (Sequencer) Combine independent transformations (Fork-Join) Choose between transformations (Condition) Apply transformation to many values (Iteration) Enhance a transformation (Aspects) Every request processing task--regardless of domain, language, or framework--decomposes into these six primitives. Once you internalize this, implementation becomes mechanical. You're not inventing structure; you're recognizing the inherent structure of the problem. Optimal Implementation as Routine When you see request processing as data transformation, optimization becomes straightforward: Identify independent operations → They can parallelize (Fork-Join) Identify dependent chains → They must sequence (Sequencer) Identify decision points → They become conditions Identify collection processing → They become iterations Identify cross-cutting concerns → They become aspects You're not making architectural decisions. You're reading the inherent structure of the problem and translating it directly into code. This is why JBCT produces consistent code across developers and AI assistants. There's essentially one correct structure for any given data flow. Different people analyzing the same problem arrive at the same solution--not because they memorized patterns, but because the patterns are the natural expression of data transformation. The Shift in Thinking Traditional programming asks: "What sequence of instructions produces the desired effect?" Data transformation thinking asks: "What shape does the data take at each stage, and what transformations connect them?" The first approach leads to imperative code where control flow dominates. The second leads to declarative pipelines where data flow dominates. When you make this shift: Async stops being "harder" than sync Parallel stops being "risky" Error handling stops being an afterthought Testing becomes straightforward (pure transformations are trivially testable) You're no longer fighting the machine to do what you want. You're describing transformations and letting the runtime figure out the optimal execution strategy. Conclusion Request processing is data transformation. This isn't a paradigm or a methodology--it's the underlying reality that every paradigm and methodology is trying to express. Languages and frameworks provide different syntax. Some make data transformation easier to express than others. But the fundamental process doesn't change. Input arrives. Data transforms through stages. Output emerges. JBCT patterns aren't rules to memorize. They're the vocabulary for describing data transformation in Java. Once you see the underlying process clearly, using these patterns becomes as natural as describing what you see. The result: any processing task, implemented in close to optimal form, as a matter of routine. Part of Java Backend Coding Technology - a methodology for writing predictable, testable backend code. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sergiy Yevtushenko Follow Writing code for 35+ years and still enjoy it... Location Krakow, Poland Work Senior Software Engineer Joined Mar 14, 2019 More from Sergiy Yevtushenko From Subjective Opinions to Systematic Analysis: Pattern-Based Code Review # codereview # java # patterns # bestpractices Java Should Stop Trying To Be Like Everybody Else # java # kubernetes # runtime # deployment Java Backend Coding Technology: Writing Code in the Era of AI #Version 1.1 # ai # java # codingtechnology 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/sagarparmarr/genx-from-childhood-flipbooks-to-premium-scroll-animation-1j4#why-this-feels-like-a-superpower
GenX: From Childhood Flipbooks to Premium Scroll Animation - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sagar Posted on Jan 13 • Originally published at sagarparmarr.hashnode.dev GenX: From Childhood Flipbooks to Premium Scroll Animation # webdev # performance # animation Build buttery-smooth, Apple-style image sequence animations on canvas + the tiny redraw hack that saves up to 80% GPU/battery power Hey there, fellow web dev enthusiasts! 🖐️ Remember those childhood flipbooks where you'd scribble a stick figure on the corner of your notebook pages, flip through them furiously, and suddenly – bam – your doodle was dancing? That's the nostalgic spark behind one of the coolest tricks in modern web design: image sequence animations . You've seen them on slick landing pages – those buttery-smooth, scroll-driven "videos" that feel alive as you navigate the site. But here's the plot twist: they're not videos at all . They're just a clever stack of images, orchestrated like a symphony on a <canvas> element. In this post, we're diving into how these animations work, why they're a game-changer for interactive storytelling, and – drumroll please 🥁 – a tiny optimization that stops your user's device from chugging power like it's training for a marathon. Let's flip the page and get started! ✨ Classic flipbook magic – the inspiration behind modern web wizardry Quick access (want to play right away?) → Live Demo → Full source code on GitHub Now let's get into how this magic actually works... Chapter 1: The Flipbook Reborn – What Is Image Sequence Animation? Picture this: You're on a high-end e-commerce site, scrolling down a product page. As your finger glides, a 3D model spins seamlessly, or a background scene morphs from day to night. It looks like high-def video, but peek at the network tab – no MP4 in sight . Instead, it's a barrage of optimized images (usually 100–200 WebP files) doing the heavy lifting. At its core, image sequence animation is digital flipbook wizardry : Export a video/animation as individual frames Preload them into memory as HTMLImageElement objects Drive playback with scroll position (0% = frame 1, 100% = last frame) Render the right frame on <canvas> Why choose this over <video> ? 🎮 Total control — perfect sync with scroll, hover, etc. ⚡ Lightweight hosting — images cache beautifully on CDNs, compress with WebP/AVIF 😅 No encoding drama — skip codecs, bitrates, and cross-browser video nightmares But every hero has a weakness: lots of network requests + heavy repainting = GPU sweat & battery drain on big/retina screens. We'll fix that soon. Smooth scroll-triggered image sequence in action Chapter 2: Behind the Curtain – How the Magic Happens (With Code!) Here's the typical flow in a React-ish world (pseudocode – adapt to vanilla/Vue/Svelte/whatever you love): // React-style pseudocode – hook it up to your scroll listener! const FRAME_COUNT = 192 ; // Your total frames const targetFrameRef = useRef ( 0 ); // Scroll-driven goal const currentFrameRef = useRef ( 0 ); // Current position const rafRef = useRef < number | null > ( null ); // Update target on scroll (progress: 0-1) function onScrollChange ( progress : number ) { const nextTarget = Math . round ( progress * ( FRAME_COUNT - 1 )); targetFrameRef . current = Math . clamp ( nextTarget , 0 , FRAME_COUNT - 1 ); // Assuming a clamp util } // The animation loop: Lerp and draw useEffect (() => { const tick = () => { const curr = currentFrameRef . current ; const target = targetFrameRef . current ; const diff = target - curr ; const step = Math . abs ( diff ) < 0.001 ? 0 : diff * 0.2 ; // Close the gap by 20% each frame const next = step === 0 ? target : curr + step ; currentFrameRef . current = next ; drawFrame ( Math . round ( next )); // Render the frame rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => { if ( rafRef . current ) cancelAnimationFrame ( rafRef . current ); }; }, []); function drawFrame ( index : number ) { const ctx = canvasRef . current ?. getContext ( ' 2d ' ); if ( ! ctx ) return ; // Clear, fill background, and draw image with contain-fit const img = preloadedImages [ index ]; ctx . clearRect ( 0 , 0 , canvas . width , canvas . height ); // ...aspect ratio calculations and drawImage() here... } Enter fullscreen mode Exit fullscreen mode Elegant, right? But here's the villain... The Plot Twist: Idle Repaints = Battery Vampires 🧛‍♂️ When users pause to read copy or admire the product, that requestAnimationFrame loop keeps churning 60 times per second … redrawing the exact same frame over and over. On high-DPI/4K retina screens? → Massive canvas clears → Repeated image scaling & smoothing → Constant GPU compositing The result: laptop fans kick into overdrive, the device heats up, and battery life tanks fast. I've seen (and measured) this in real projects — idle GPU/CPU spikes that turn a "premium" experience into a power hog. Time for the hero upgrade! Here are real before/after screenshots from my own testing using Chrome DevTools with Frame Rendering Stats enabled (GPU memory + frame rate overlay visible): Before: ~15.6 MB GPU idle After: ~2.4 MB GPU idle Before Optimization After Optimization Idle state with constant repaints – 15.6 MB GPU memory used Idle state post-hack – only 2.4 MB GPU memory used See the difference? Before : ~15.6 MB GPU memory in idle → heavy, wasteful repainting After : ~2.4 MB GPU memory → zen-like efficiency This tiny check eliminates redundant drawImage() calls and can drop idle GPU usage by up to 80% in heavy canvas scenarios (your mileage may vary based on resolution, DPR, and image size). Pro tip: Enable Paint flashing (green highlights) + Frame Rendering Stats in DevTools → scroll a bit, then pause. Watch the green flashes disappear and GPU stats stabilize after applying the fix. Battery saved = happier users + longer sessions 🌍⚡ Chapter 3: The Hero's Hack – Redraw Only When It Matters Super simple fix: track the last drawn frame index and skip drawImage() if nothing changed. useEffect (() => { let prevFrameIndex = Math . round ( currentFrameRef . current ); const tick = () => { // ... same lerp logic ... currentFrameRef . current = next ; const nextFrameIndex = Math . round ( next ); // ★ The magic line ★ if ( nextFrameIndex !== prevFrameIndex ) { drawFrame ( nextFrameIndex ); prevFrameIndex = nextFrameIndex ; } rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => cancelAnimationFrame ( rafRef . current ! ); }, []); Enter fullscreen mode Exit fullscreen mode Why this feels like a superpower Scrolling → still buttery-smooth (draws only when needed) Idle → zen mode (just cheap math, no GPU pain) Real-world wins → up to 80% less idle GPU usage in my tests Pro tip: Use Paint Flashing + Performance tab in DevTools to see the difference yourself. Try it yourself! Here's a minimal, production-ready demo you can fork and play with: → Live Demo → Full source code on GitHub Extra Twists: Level Up Your Animation Game ⚙️ DPR Clamp → cap devicePixelRatio at 2 🖼️ Smart contain-fit drawing (calculate once) 🚀 WebP/AVIF + CDN caching 👀 IntersectionObserver + document.hidden → pause when out of view 🔼 Smart preloading → prioritize first visible frames The Grand Finale: Flipbooks for the Future Image sequence animations are the unsung heroes of immersive web experiences – turning static pages into interactive stories without video baggage . With this tiny redraw check, you're building cool and efficient experiences. Your users (and their batteries) will thank you. Got questions, your own hacks, or want to share a project? Drop them in the comments – let's geek out together! 🚀 Happy coding & happy low-power animating! ⚡ Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sagar Follow Joined Mar 28, 2024 Trending on DEV Community Hot Prompt Engineering Won’t Fix Your Architecture # discuss # career # ai # programming What was your win this week??? # weeklyretro # discuss Inside the SQLite Frontend: Tokenizer, Parser, and Code Generator # webdev # programming # database # architecture 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://music.forem.com/t/rnb
Rnb - Music Forem Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Music Forem Close # rnb Follow Hide smooth grooves & soul moves Create Post Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu How do I discover new music that actually fits my taste? Luca Luca Luca Follow Jan 8 How do I discover new music that actually fits my taste? # newmusic2026 # risingartists # rnb # streaming 1  reaction Comments Add Comment 3 min read loading... trending guides/resources How do I discover new music that actually fits my taste? 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Music Forem — From composing and gigging to gear, hot music takes, and everything in between. Home About Contact Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Music Forem © 2025 - 2026. We're a place dedicated to discussing all things music - composing, producing, performing, and all the fun and not-fun things in-between. Log in Create account
2026-01-13T08:49:10
https://dev.to/callstacktech
CallStack Tech - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Follow User actions CallStack Tech We skip the "What is AI?" intro fluff. If you're shipping voice agents that handle real users, this is for you. Joined Joined on  Dec 2, 2025 Personal website https://callstack.tech More info about @callstacktech Badges 1 Week Community Wellness Streak For actively engaging with the community by posting at least 2 comments in a single week. Got it Close Writing Debut Awarded for writing and sharing your first DEV post! Continue sharing your work to earn the 4 Week Writing Streak Badge. Got it Close Post 72 posts published Comment 2 comments written Tag 9 tags followed How to Build a Voice AI Agent for HVAC Customer Support: My Experience CallStack Tech CallStack Tech CallStack Tech Follow Jan 13 How to Build a Voice AI Agent for HVAC Customer Support: My Experience # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Want to connect with CallStack Tech? Create an account to connect with CallStack Tech. You can also sign in below to proceed if you already have an account. Create Account Already have an account? Sign in How to Transcribe and Detect Intent Using Deepgram for STT: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 12 How to Transcribe and Detect Intent Using Deepgram for STT: A Developer's Journey # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 11 min read Integrating HubSpot with Salesforce using Webhooks for Real-Time Data Synchronization CallStack Tech CallStack Tech CallStack Tech Follow Jan 12 Integrating HubSpot with Salesforce using Webhooks for Real-Time Data Synchronization # api # webdev # tutorial # programming 1  reaction Comments Add Comment 13 min read How to Build Custom Pipelines for Voice AI Integration: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 11 How to Build Custom Pipelines for Voice AI Integration: A Developer's Journey # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 13 min read How to Set Up an AI Voice Agent for Customer Support in SaaS Applications CallStack Tech CallStack Tech CallStack Tech Follow Jan 10 How to Set Up an AI Voice Agent for Customer Support in SaaS Applications # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 12 min read Build Your Own Voice Stack with Deepgram and PlayHT: A Practical Guide CallStack Tech CallStack Tech CallStack Tech Follow Jan 10 Build Your Own Voice Stack with Deepgram and PlayHT: A Practical Guide # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 12 min read Build Your Own Voice Stack with Deepgram and PlayHT: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 10 Build Your Own Voice Stack with Deepgram and PlayHT: A Developer's Journey # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 14 min read Implementing Real-Time Audio Streaming in VAPI: What I Learned CallStack Tech CallStack Tech CallStack Tech Follow Jan 9 Implementing Real-Time Audio Streaming in VAPI: What I Learned # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read Deploying Custom Voice Models in VAPI for E-commerce: Key Insights CallStack Tech CallStack Tech CallStack Tech Follow Jan 9 Deploying Custom Voice Models in VAPI for E-commerce: Key Insights # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read Implementing Real-Time Streaming with VAPI: Enhancing Customer Support with Voice AI CallStack Tech CallStack Tech CallStack Tech Follow Jan 8 Implementing Real-Time Streaming with VAPI: Enhancing Customer Support with Voice AI # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read How to Set Up Voice AI Webhook Handling for Real Estate Inquiries Effectively CallStack Tech CallStack Tech CallStack Tech Follow Jan 7 How to Set Up Voice AI Webhook Handling for Real Estate Inquiries Effectively # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Integrate Twilio with CRM using Low-Code Tools like Zapier and Make: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 7 Integrate Twilio with CRM using Low-Code Tools like Zapier and Make: My Journey # api # webdev # tutorial # javascript Comments Add Comment 14 min read Implementing Real-Time Streaming with VAPI: My Journey to Voice AI Success CallStack Tech CallStack Tech CallStack Tech Follow Jan 5 Implementing Real-Time Streaming with VAPI: My Journey to Voice AI Success # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read Integrate Voice AI with No-Code Tools and CRM for Automation: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 3 Integrate Voice AI with No-Code Tools and CRM for Automation: My Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 11 min read Secure Integration of Twilio, Zapier, and Railway for Compliance and Data Unification CallStack Tech CallStack Tech CallStack Tech Follow Jan 2 Secure Integration of Twilio, Zapier, and Railway for Compliance and Data Unification # api # webdev # tutorial # javascript Comments Add Comment 13 min read Technical Implementation Focus Areas for Voice AI Integration: Key Insights CallStack Tech CallStack Tech CallStack Tech Follow Jan 2 Technical Implementation Focus Areas for Voice AI Integration: Key Insights # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read How to Integrate Ethically with Retell AI and Bland AI: A Developer's Guide CallStack Tech CallStack Tech CallStack Tech Follow Jan 1 How to Integrate Ethically with Retell AI and Bland AI: A Developer's Guide # ai # voicetech # api # tutorial Comments Add Comment 12 min read Creating Custom Voice Profiles in VAPI for E-commerce: Boosting Sales CallStack Tech CallStack Tech CallStack Tech Follow Jan 1 Creating Custom Voice Profiles in VAPI for E-commerce: Boosting Sales # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read Integrate Voice AI with Salesforce for Sales Automation: A Real Developer's Guide CallStack Tech CallStack Tech CallStack Tech Follow Dec 31 '25 Integrate Voice AI with Salesforce for Sales Automation: A Real Developer's Guide # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Empathetic Meeting Booking: Integrate with HubSpot CRM Using AI Tools CallStack Tech CallStack Tech CallStack Tech Follow Dec 30 '25 Empathetic Meeting Booking: Integrate with HubSpot CRM Using AI Tools # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read How to Monetize Voice AI Agents for SaaS Startups with VAPI: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 30 '25 How to Monetize Voice AI Agents for SaaS Startups with VAPI: My Journey # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read How to Test Multilingual and Contextual Memory for Intuitive Voice AI Agents CallStack Tech CallStack Tech CallStack Tech Follow Dec 29 '25 How to Test Multilingual and Contextual Memory for Intuitive Voice AI Agents # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read How to Calculate ROI for Voice AI Agents in eCommerce: A Practical Guide CallStack Tech CallStack Tech CallStack Tech Follow Dec 29 '25 How to Calculate ROI for Voice AI Agents in eCommerce: A Practical Guide # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 14 min read Retell AI Twilio Integration Tutorial: Build AI Voice Calls Step-by-Step CallStack Tech CallStack Tech CallStack Tech Follow Dec 27 '25 Retell AI Twilio Integration Tutorial: Build AI Voice Calls Step-by-Step # ai # voicetech # machinelearning # webdev Comments 1  comment 13 min read Implementing Real-Time Emotion Detection in Voice AI: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 26 '25 Implementing Real-Time Emotion Detection in Voice AI: A Developer's Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Scale Ethically: Implement Multilingual AI Voice Models with Data Privacy CallStack Tech CallStack Tech CallStack Tech Follow Dec 26 '25 Scale Ethically: Implement Multilingual AI Voice Models with Data Privacy # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read How to Deploy a Voice AI Agent for HVAC Customer Inquiries: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 25 '25 How to Deploy a Voice AI Agent for HVAC Customer Inquiries: My Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Building a HIPAA-Compliant Telehealth Solution with VAPI: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 25 '25 Building a HIPAA-Compliant Telehealth Solution with VAPI: My Journey # ai # voicetech # webdev # tutorial Comments Add Comment 14 min read How to Prioritize Naturalness in Voice Cloning for Brand-Aligned Tones CallStack Tech CallStack Tech CallStack Tech Follow Dec 24 '25 How to Prioritize Naturalness in Voice Cloning for Brand-Aligned Tones # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Building a HIPAA-Compliant Telehealth Solution with VAPI: What I Learned CallStack Tech CallStack Tech CallStack Tech Follow Dec 24 '25 Building a HIPAA-Compliant Telehealth Solution with VAPI: What I Learned # ai # voicetech # webdev # tutorial Comments Add Comment 14 min read Building Custom Voice Profiles in VAPI for E-commerce: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 23 '25 Building Custom Voice Profiles in VAPI for E-commerce: A Developer's Journey # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read Integrate Node.js with Retell AI and Twilio: Lessons from My Setup CallStack Tech CallStack Tech CallStack Tech Follow Dec 22 '25 Integrate Node.js with Retell AI and Twilio: Lessons from My Setup # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 12 min read Seamless Real-Time Multilingual Communication with Language Detection: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 22 '25 Seamless Real-Time Multilingual Communication with Language Detection: My Journey # ai # tutorial # webdev # programming Comments Add Comment 11 min read How to Build a Prompt for Voice AI with Contact and Memory: A Developer's Guide CallStack Tech CallStack Tech CallStack Tech Follow Dec 21 '25 How to Build a Prompt for Voice AI with Contact and Memory: A Developer's Guide # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Create Voice Flows with SDKs and Low-Code Builders for Non-Engineers CallStack Tech CallStack Tech CallStack Tech Follow Dec 20 '25 Create Voice Flows with SDKs and Low-Code Builders for Non-Engineers # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read How to Deploy a Voice AI Agent Using Railway for eCommerce Success CallStack Tech CallStack Tech CallStack Tech Follow Dec 20 '25 How to Deploy a Voice AI Agent Using Railway for eCommerce Success # ai # voicetech # machinelearning # webdev Comments Add Comment 11 min read Implementing Real-Time Streaming with VAPI for Live Support Chat Systems CallStack Tech CallStack Tech CallStack Tech Follow Dec 19 '25 Implementing Real-Time Streaming with VAPI for Live Support Chat Systems # ai # voicetech # webdev # tutorial Comments Add Comment 14 min read Build Voice AI Applications with No-Code: Retell AI Guide to Success CallStack Tech CallStack Tech CallStack Tech Follow Dec 18 '25 Build Voice AI Applications with No-Code: Retell AI Guide to Success # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read Rapid Prototyping with Retell AI: A No-Code Builder Guide to Voice Apps CallStack Tech CallStack Tech CallStack Tech Follow Dec 18 '25 Rapid Prototyping with Retell AI: A No-Code Builder Guide to Voice Apps # ai # voicetech # machinelearning # webdev Comments Add Comment 11 min read Contact Center Automation: Build Inbound/Outbound AI Agents with Twilio CallStack Tech CallStack Tech CallStack Tech Follow Dec 18 '25 Contact Center Automation: Build Inbound/Outbound AI Agents with Twilio # ai # voicetech # machinelearning # webdev Comments 2  comments 12 min read Implementing VAD and Turn-Taking for Natural Voice AI Flow: My Experience CallStack Tech CallStack Tech CallStack Tech Follow Dec 17 '25 Implementing VAD and Turn-Taking for Natural Voice AI Flow: My Experience # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read Quick CRM Integrations with Retell AI's No-Code Tools: My Experience CallStack Tech CallStack Tech CallStack Tech Follow Dec 16 '25 Quick CRM Integrations with Retell AI's No-Code Tools: My Experience # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Integrating Deepgram for Real-Time ASR in Voice Agent Pipelines: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 15 '25 Integrating Deepgram for Real-Time ASR in Voice Agent Pipelines: A Developer's Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read How to Adapt Tone to User Sentiment in Voice AI and Integrate Calendar Checks CallStack Tech CallStack Tech CallStack Tech Follow Dec 15 '25 How to Adapt Tone to User Sentiment in Voice AI and Integrate Calendar Checks # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read Rapid Deployment of AI Voice Agents Using No-Code Builders CallStack Tech CallStack Tech CallStack Tech Follow Dec 15 '25 Rapid Deployment of AI Voice Agents Using No-Code Builders # ai # voicetech # machinelearning # webdev Comments Add Comment 10 min read Monetize Voice AI Solutions for eCommerce Using VAPI Effectively CallStack Tech CallStack Tech CallStack Tech Follow Dec 14 '25 Monetize Voice AI Solutions for eCommerce Using VAPI Effectively # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read Implementing Real-Time Audio Streaming in VAPI: Use Cases CallStack Tech CallStack Tech CallStack Tech Follow Dec 14 '25 Implementing Real-Time Audio Streaming in VAPI: Use Cases # ai # voicetech # webdev # tutorial Comments Add Comment 10 min read Top Advancements in Building Human-Like Voice Agents for Developers CallStack Tech CallStack Tech CallStack Tech Follow Dec 14 '25 Top Advancements in Building Human-Like Voice Agents for Developers # ai # voicetech # machinelearning # webdev Comments Add Comment 11 min read Implementing PII Detection and Redaction in Voice AI Systems CallStack Tech CallStack Tech CallStack Tech Follow Dec 13 '25 Implementing PII Detection and Redaction in Voice AI Systems # implementingpiidetectionandred # piiredactiontranscripts # conversationalintelligenceoper # dualchannelaudioprocessing Comments Add Comment 14 min read Rapid Prototyping with No-Code Tools: Build AI Voice Agents CallStack Tech CallStack Tech CallStack Tech Follow Dec 13 '25 Rapid Prototyping with No-Code Tools: Build AI Voice Agents # rapidprototypingwithnocodetool # voiceactivitydetectionvad # retrievalaugmentedgenerationra # texttospeechtts Comments Add Comment 11 min read Boost CSAT with VAD, Backchanneling, and Sentiment Routing CallStack Tech CallStack Tech CallStack Tech Follow Dec 13 '25 Boost CSAT with VAD, Backchanneling, and Sentiment Routing # boostcsatwithvadbackchanneling # voiceactivitydetectionvad # turntakingmodels # voicecloning Comments Add Comment 10 min read How to Connect VAPI to Google Calendar for Appointment Scheduling CallStack Tech CallStack Tech CallStack Tech Follow Dec 13 '25 How to Connect VAPI to Google Calendar for Appointment Scheduling # howtoconnectvapitogooglecalend # googlecalendartools # vapiassistanttoolsarray # oauthtokenmapping Comments Add Comment 12 min read Scaling VAPI for High Traffic: Load Balancing Best Practices CallStack Tech CallStack Tech CallStack Tech Follow Dec 12 '25 Scaling VAPI for High Traffic: Load Balancing Best Practices # scalingvapiforhightrafficloadb # autoscaling # latencyoptimization # webhookverification Comments Add Comment 13 min read How to Create Production-Ready Builds with Voice AI Tools CallStack Tech CallStack Tech CallStack Tech Follow Dec 12 '25 How to Create Production-Ready Builds with Voice AI Tools # howtocreateproductionreadybuil # voiceaiagents # speechrecognitionasr # texttospeechtts Comments Add Comment 11 min read How to Prioritize Naturalness in Voice AI: Implement VAD CallStack Tech CallStack Tech CallStack Tech Follow Dec 12 '25 How to Prioritize Naturalness in Voice AI: Implement VAD # howtoprioritizenaturalnessinvo # voiceactivitydetectionvad # turntakingendofturndetection # backchannelinglistenercues Comments Add Comment 11 min read Deploy Low-Code/No-Code Voice AI Agents in Under a Week CallStack Tech CallStack Tech CallStack Tech Follow Dec 12 '25 Deploy Low-Code/No-Code Voice AI Agents in Under a Week # deploylowcodenocodevoiceaiagen # voicecloning # realtimespeechrecognition # conversationalpathways Comments Add Comment 11 min read Rapid Deployment with No-Code Builders: A Guide to Retell AI CallStack Tech CallStack Tech CallStack Tech Follow Dec 11 '25 Rapid Deployment with No-Code Builders: A Guide to Retell AI # rapiddeploymentwithnocodebuild # nocodevoiceaiplatform # aivoiceagentbuilder # conversationalaideployment Comments Add Comment 13 min read Implement Omni-Channel Strategies for Voice Agents: SMS, Chat, and More CallStack Tech CallStack Tech CallStack Tech Follow Dec 11 '25 Implement Omni-Channel Strategies for Voice Agents: SMS, Chat, and More # implementomnichannelstrategies # omnichannelcustomerengagement # voiceaiintegration # conversationalaiplatforms Comments Add Comment 12 min read How to Implement Voice AI with Twilio and VAPI: A Step-by-Step Guide CallStack Tech CallStack Tech CallStack Tech Follow Dec 11 '25 How to Implement Voice AI with Twilio and VAPI: A Step-by-Step Guide # howtoimplementvoiceaiwithtwili # twilioprogrammablevoice # vapivoiceaiintegration # voiceaiagentdevelopment Comments Add Comment 14 min read Implementing Real-Time Streaming with VAPI: Build Voice Apps CallStack Tech CallStack Tech CallStack Tech Follow Dec 10 '25 Implementing Real-Time Streaming with VAPI: Build Voice Apps # implementingrealtimestreamingw # realtimevoicestreamingapi # interactivevoiceresponseivrsys # voiceapplicationdevelopment Comments Add Comment 11 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/help/page/3
Help! Page 3 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Help! Follow Hide A place to ask questions and provide answers. We're here to work things out together. Create Post submission guidelines This tag is to be used when you need to ask for help , not to share an article you think is helpful . Please review our community guidelines When asking for help, please follow these rules: Title: Write a clear, concise, title Body: What is your question/issue (provide as much detail as possible)? What technologies are you using? What were you expecting to happen? What is actually happening? What have you already tried/thought about? What errors are you getting? Please try to avoid very broad "How do I make x" questions, unless you have used Google and there are no tutorials on the subject. about #help This is a place to ask for help for specific problems. Before posting, please consider the following: If you're asking for peoples opinions on a specific technology/metholody - #discuss is more appropriate. Are you looking for how to build x? Have you Googled to see if there is already a comprehensive tutorial available? Older #help posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Google Play Termination: Bad Faith, UCL Violations & Potential Antitrust Issues Raen Benny Raen Benny Raen Benny Follow Dec 5 '25 Google Play Termination: Bad Faith, UCL Violations & Potential Antitrust Issues # help # android # google Comments 1  comment 3 min read Docker Containers Unable to Access Internet? Check Your VPS Private Network Riccardo Caprai Riccardo Caprai Riccardo Caprai Follow Oct 29 '25 Docker Containers Unable to Access Internet? Check Your VPS Private Network # help # networking # docker # linux Comments Add Comment 1 min read MySQL Installer Not Working on Windows 11 25H2 — Full Fix (Error Code 2738 / VBScript Missing) Mukesh Lilawat Mukesh Lilawat Mukesh Lilawat Follow Oct 28 '25 MySQL Installer Not Working on Windows 11 25H2 — Full Fix (Error Code 2738 / VBScript Missing) # help # mysql # tutorial # database 1  reaction Comments Add Comment 3 min read Windows Service equivalent in Linux? Mohan Sharma Mohan Sharma Mohan Sharma Follow Dec 1 '25 Windows Service equivalent in Linux? # help # cli # linux # beginners Comments 1  comment 1 min read We are using Augment but not able to use Playwright agents. Konankiani Konankiani Konankiani Follow Oct 24 '25 We are using Augment but not able to use Playwright agents. # help # agents # testing # automation Comments Add Comment 1 min read Solve Dovecot error "Unknown section name: plugin" Sergio Peris Sergio Peris Sergio Peris Follow Oct 24 '25 Solve Dovecot error "Unknown section name: plugin" # help # devops # linux Comments Add Comment 1 min read Why a 4-Day Workweek Just Makes Sense Brian Kim Brian Kim Brian Kim Follow Nov 27 '25 Why a 4-Day Workweek Just Makes Sense # help # workplace # career # leadership 1  reaction Comments Add Comment 3 min read date conversion angular LS LS LS Follow Oct 22 '25 date conversion angular # help # angular # frontend # javascript Comments Add Comment 2 min read requestPermissionsFromUser() does not work or directly returns without asking the user. HarmonyOS HarmonyOS HarmonyOS Follow Oct 20 '25 requestPermissionsFromUser() does not work or directly returns without asking the user. # help # mobile # api # security 1  reaction Comments Add Comment 1 min read Nuxt 3 + Supabase: targetUserId undefined in Chat Component Zyppon Zyppon Zyppon Follow Oct 17 '25 Nuxt 3 + Supabase: targetUserId undefined in Chat Component # help # javascript # vue Comments Add Comment 1 min read Cause and solution for "Too many re-renders" in useEffect Kazutora Hattori Kazutora Hattori Kazutora Hattori Follow Oct 17 '25 Cause and solution for "Too many re-renders" in useEffect # help # react # webdev # programming Comments Add Comment 1 min read Debian First Aid Kit Michael Michael Michael Follow Oct 29 '25 Debian First Aid Kit # help # debian # beginners # tutorial 1  reaction Comments Add Comment 7 min read Local IIS and IIS Express Can't Run Localhost After Windows Update 2025-10 Senad Meškin Senad Meškin Senad Meškin Follow Oct 15 '25 Local IIS and IIS Express Can't Run Localhost After Windows Update 2025-10 # help # webdev # microsoft # dotnet 2  reactions Comments Add Comment 1 min read Best way to convert HTML Markdown in VTEX without losing functionality? Florin Adamache Florin Adamache Florin Adamache Follow Oct 16 '25 Best way to convert HTML Markdown in VTEX without losing functionality? # help # html # webdev # discuss Comments Add Comment 1 min read Can I get DMs from the API? Mirfa Zainab Mirfa Zainab Mirfa Zainab Follow Oct 15 '25 Can I get DMs from the API? # help # api # socialmedia Comments Add Comment 1 min read 🧠 Help Us Name Our Creative Tech Agency! We The Developers We The Developers We The Developers Follow Oct 14 '25 🧠 Help Us Name Our Creative Tech Agency! # discuss # programming # javascript # help 20  reactions Comments 2  comments 1 min read Regarding the use of PrimeNG: the impact of its license on commercial applications Roronoa Zoro Roronoa Zoro Roronoa Zoro Follow Oct 15 '25 Regarding the use of PrimeNG: the impact of its license on commercial applications # help # angular # opensource 1  reaction Comments Add Comment 1 min read MariaDB failed to start because both Aria and InnoDB Brian Ayienda Brian Ayienda Brian Ayienda Follow Oct 10 '25 MariaDB failed to start because both Aria and InnoDB # help # webdev # tutorial # mysql Comments Add Comment 1 min read [Solved] How to Fix "InvalidKey/AuthFailure" Error in Google Maps API (React + Vite) Kazutora Hattori Kazutora Hattori Kazutora Hattori Follow Oct 10 '25 [Solved] How to Fix "InvalidKey/AuthFailure" Error in Google Maps API (React + Vite) # help # googlemapsapi # react # vite Comments Add Comment 1 min read Problem with flutter webview on Android - I cannot create dynamically iframes Chingiz I Chingiz I Chingiz I Follow Oct 9 '25 Problem with flutter webview on Android - I cannot create dynamically iframes # help # flutter # android Comments Add Comment 2 min read Cause and solution for "An import path can only end with a '.tsx'" error when building a Vite project using GitHub Actions Kazutora Hattori Kazutora Hattori Kazutora Hattori Follow Oct 9 '25 Cause and solution for "An import path can only end with a '.tsx'" error when building a Vite project using GitHub Actions # help # githubactions # react # webdev Comments Add Comment 1 min read Error after Angular version 18 upgrade: Content Security Policy Violation Sarthak Jain Sarthak Jain Sarthak Jain Follow Oct 9 '25 Error after Angular version 18 upgrade: Content Security Policy Violation # help # frontend # angular # security Comments Add Comment 1 min read I built this website — I'd love UI/UX feedback shelly shelly shelly Follow Nov 11 '25 I built this website — I'd love UI/UX feedback # help # programming # newbie # frontend 2  reactions Comments 4  comments 1 min read [Solved] Cause and solution for "Failed to get Firebase project" when deploying Firebase GitHub Actions Kazutora Hattori Kazutora Hattori Kazutora Hattori Follow Oct 8 '25 [Solved] Cause and solution for "Failed to get Firebase project" when deploying Firebase GitHub Actions # help # githubactions # firebase # octopusdeploy Comments Add Comment 2 min read WordPress Common Errors (And How to Fix Them Like a Pro) ⚠️ Navin Rao ✍️ Navin Rao ✍️ Navin Rao ✍️ Follow Nov 11 '25 WordPress Common Errors (And How to Fix Them Like a Pro) ⚠️ # help # wordpress # troubleshooting # webdev 7  reactions Comments 3  comments 5 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://twitter.com/intent/tweet?text=%22Declarative%20vs%20imperative%22%20by%20Benoit%20Ruiz%20%23DEVCommunity%20https%3A%2F%2Fdev.to%2Fruizb%2Fdeclarative-vs-imperative-4a7l
JavaScript is not available. We’ve detected that JavaScript is disabled in this browser. Please enable JavaScript or switch to a supported browser to continue using x.com. You can see a list of supported browsers in our Help Center. Help Center Terms of Service Privacy Policy Cookie Policy Imprint Ads info © 2026 X Corp. Something went wrong, but don’t fret — let’s give it another shot. Try again Some privacy related extensions may cause issues on x.com. Please disable them and try again.
2026-01-13T08:49:10
https://dev.to/t/beginners/page/4#promotional-rules
Beginners Page 4 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Beginners Follow Hide "A journey of a thousand miles begins with a single step." -Chinese Proverb Create Post submission guidelines UPDATED AUGUST 2, 2019 This tag is dedicated to beginners to programming, development, networking, or to a particular language. Everything should be geared towards that! For Questions... Consider using this tag along with #help, if... You are new to a language, or to programming in general, You want an explanation with NO prerequisite knowledge required. You want insight from more experienced developers. Please do not use this tag if you are merely new to a tool, library, or framework. See also, #explainlikeimfive For Articles... Posts should be specifically geared towards true beginners (experience level 0-2 out of 10). Posts should require NO prerequisite knowledge, except perhaps general (language-agnostic) essentials of programming. Posts should NOT merely be for beginners to a tool, library, or framework. If your article does not meet these qualifications, please select a different tag. Promotional Rules Posts should NOT primarily promote an external work. This is what Listings is for. Otherwise accepable posts MAY include a brief (1-2 sentence) plug for another resource at the bottom. Resource lists ARE acceptable if they follow these rules: Include at least 3 distinct authors/creators. Clearly indicate which resources are FREE, which require PII, and which cost money. Do not use personal affiliate links to monetize. Indicate at the top that the article contains promotional links. about #beginners If you're writing for this tag, we recommend you read this article . If you're asking a question, read this article . Older #beginners posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu The Rise of Low-Code and No-Code Development Ravish Kumar Ravish Kumar Ravish Kumar Follow Jan 11 The Rise of Low-Code and No-Code Development # beginners # productivity # softwaredevelopment # tooling Comments Add Comment 3 min read Linux File & Directory Operations for DevOps — v1.0 Chetan Tekam Chetan Tekam Chetan Tekam Follow Jan 11 Linux File & Directory Operations for DevOps — v1.0 # beginners # linux # cloud # devops Comments Add Comment 2 min read HTML-101 #5. Text Formatting, Quotes & Code Formatting Himanshu Bhatt Himanshu Bhatt Himanshu Bhatt Follow Jan 11 HTML-101 #5. Text Formatting, Quotes & Code Formatting # html # learninpublic # beginners # tutorial 5  reactions Comments Add Comment 5 min read [Gaming][NS] Dark Souls Remastered: A Noob's Guide to Beating the Game Evan Lin Evan Lin Evan Lin Follow Jan 11 [Gaming][NS] Dark Souls Remastered: A Noob's Guide to Beating the Game # beginners # learning # tutorial Comments Add Comment 5 min read When Should You Use AWS Lambda? A Beginner's Perspective Sahinur Sahinur Sahinur Follow Jan 11 When Should You Use AWS Lambda? A Beginner's Perspective # aws # serverless # beginners # lambda Comments Add Comment 5 min read My Journey into AWS & DevOps: Getting Started with Hands-On Learning irfan pasha irfan pasha irfan pasha Follow Jan 11 My Journey into AWS & DevOps: Getting Started with Hands-On Learning # aws # devops # beginners # learning Comments Add Comment 1 min read Launching EC2 instances within a VPC (along with Wizard) Jeya Shri Jeya Shri Jeya Shri Follow Jan 10 Launching EC2 instances within a VPC (along with Wizard) # beginners # cloud # aws # vpc Comments Add Comment 3 min read #1-2) 조건문은 결국 사전 처방이다. JEON HYUNJUN JEON HYUNJUN JEON HYUNJUN Follow Jan 11 #1-2) 조건문은 결국 사전 처방이다. # beginners # python # tutorial Comments Add Comment 2 min read Vim Mode: Edit Prompts at the Speed of Thought Rajesh Royal Rajesh Royal Rajesh Royal Follow Jan 10 Vim Mode: Edit Prompts at the Speed of Thought # tutorial # claudecode # productivity # beginners Comments Add Comment 4 min read Accelerate Fluid Simulator Aditya Singh Aditya Singh Aditya Singh Follow Jan 10 Accelerate Fluid Simulator # simulation # programming # beginners # learning Comments Add Comment 3 min read Level 1 - Foundations #1. Client-Server Model Himanshu Bhatt Himanshu Bhatt Himanshu Bhatt Follow Jan 11 Level 1 - Foundations #1. Client-Server Model # systemdesign # distributedsystems # tutorial # beginners 5  reactions Comments Add Comment 4 min read System Design in Real Life: Why Ancient Museums are actually Microservices? Tyrell Wellicq Tyrell Wellicq Tyrell Wellicq Follow Jan 10 System Design in Real Life: Why Ancient Museums are actually Microservices? # discuss # systemdesign # architecture # beginners 1  reaction Comments 1  comment 2 min read Angular Pipes Explained — From Basics to Custom Pipes (With Real Examples) ROHIT SINGH ROHIT SINGH ROHIT SINGH Follow Jan 11 Angular Pipes Explained — From Basics to Custom Pipes (With Real Examples) # beginners # tutorial # typescript # angular Comments Add Comment 2 min read Bug Bounty Hunting in 2026 krlz krlz krlz Follow Jan 11 Bug Bounty Hunting in 2026 # security # bugbounty # tutorial # beginners Comments Add Comment 4 min read Hello dev.to 👋 I’m Ekansh — Building in Public with Web & AI Ekansh | Web & AI Developer Ekansh | Web & AI Developer Ekansh | Web & AI Developer Follow Jan 11 Hello dev.to 👋 I’m Ekansh — Building in Public with Web & AI # discuss # ai # beginners # webdev Comments Add Comment 1 min read Adding a Missing Warning Note Favoured Anuanatata Favoured Anuanatata Favoured Anuanatata Follow Jan 10 Adding a Missing Warning Note # help # beginners # opensource Comments Add Comment 1 min read Python Dictionary Views Are Live (And It Might Break Your Code) Samuel Ochaba Samuel Ochaba Samuel Ochaba Follow Jan 10 Python Dictionary Views Are Live (And It Might Break Your Code) # python # programming # webdev # beginners Comments Add Comment 2 min read Checklist for Promoting Your App: A Step-by-Step Guide That Works Isa Akharume Isa Akharume Isa Akharume Follow Jan 10 Checklist for Promoting Your App: A Step-by-Step Guide That Works # promotingyourapp # webdev # programming # beginners Comments Add Comment 2 min read What Clients ACTUALLY Want From Frontend Devs (Not Clean Code) Laurina Ayarah Laurina Ayarah Laurina Ayarah Follow Jan 10 What Clients ACTUALLY Want From Frontend Devs (Not Clean Code) # webdev # career # beginners # programming 1  reaction Comments Add Comment 9 min read Handling Pagination in Scrapy: Scrape Every Page Without Breaking Muhammad Ikramullah Khan Muhammad Ikramullah Khan Muhammad Ikramullah Khan Follow Jan 10 Handling Pagination in Scrapy: Scrape Every Page Without Breaking # webdev # programming # python # beginners 1  reaction Comments Add Comment 8 min read AWS Cheat Sheet Varalakshmi Varalakshmi Varalakshmi Follow Jan 10 AWS Cheat Sheet # aws # beginners # cloud Comments Add Comment 1 min read # Inside Git: How It Works and the Role of the `.git` Folder saiyam gupta saiyam gupta saiyam gupta Follow Jan 10 # Inside Git: How It Works and the Role of the `.git` Folder # architecture # beginners # git 1  reaction Comments Add Comment 3 min read Metrics + Logs = Zero Panic in Production 🚨 Taverne Tech Taverne Tech Taverne Tech Follow Jan 10 Metrics + Logs = Zero Panic in Production 🚨 # beginners # programming # devops # go Comments Add Comment 4 min read Building Custom Composite Components with STDF in Svelte Lucas Bennett Lucas Bennett Lucas Bennett Follow Jan 10 Building Custom Composite Components with STDF in Svelte # webdev # programming # javascript # beginners Comments Add Comment 7 min read Interactive Program Developement - Semester Project Aleena Mubashar Aleena Mubashar Aleena Mubashar Follow Jan 10 Interactive Program Developement - Semester Project # discuss # programming # beginners # computerscience Comments 1  comment 4 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/siy/the-underlying-process-of-request-processing-1od4#why-async-looks-like-sync
The Underlying Process of Request Processing - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sergiy Yevtushenko Posted on Jan 12 • Originally published at pragmatica.dev The Underlying Process of Request Processing # java # functional # architecture # backend The Underlying Process of Request Processing Beyond Languages and Frameworks Every request your system handles follows the same fundamental process. It doesn't matter if you're writing Java, Rust, or Python. It doesn't matter if you're using Spring, Express, or raw sockets. The underlying process is universal because it mirrors how humans naturally solve problems. When you receive a question, you don't answer immediately. You gather context. You retrieve relevant knowledge. You combine pieces of information. You transform raw data into meaningful understanding. Only then do you formulate a response. This is data transformation--taking input and gradually collecting necessary pieces of knowledge to provide a correct answer. Software request processing works identically. The Universal Pattern Every request follows these stages: Parse - Transform raw input into validated domain objects Gather - Collect necessary data from various sources Process - Apply business logic to produce results Respond - Transform results into appropriate output format This isn't a framework pattern. It's not a design choice. It's the fundamental nature of information processing. Whether you're handling an HTTP request, processing a message from a queue, or responding to a CLI command--the process is the same. Input → Parse → Gather → Process → Respond → Output Enter fullscreen mode Exit fullscreen mode Each stage transforms data. Each stage may need additional data. Each stage may fail. The entire flow is a data transformation pipeline. Why Async Looks Like Sync Here's the insight that changes everything: when you think in terms of data transformation, the sync/async distinction disappears . Consider these two operations: // "Synchronous" Result < User > user = database . findUser ( userId ); // "Asynchronous" Promise < User > user = httpClient . fetchUser ( userId ); Enter fullscreen mode Exit fullscreen mode From a data transformation perspective, these are identical: Both take a user ID Both produce a User (or failure) Both are steps in a larger pipeline The only difference is when the result becomes available. But that's an execution detail, not a structural concern. Your business logic doesn't care whether the data came from local memory or crossed an ocean. It cares about what the data is and what to do with it. When you structure code as data transformation pipelines, this becomes obvious: // The structure is identical regardless of sync/async return userId . all ( id -> findUser ( id ), // Might be sync or async id -> loadPermissions ( id ), // Might be sync or async id -> fetchPreferences ( id ) // Might be sync or async ). map ( this :: buildContext ); Enter fullscreen mode Exit fullscreen mode The pattern doesn't change. The composition doesn't change. Only the underlying execution strategy changes--and that's handled by the types, not by you. Parallel Execution Becomes Transparent The same principle applies to parallelism. When operations are independent, they can run in parallel. When they depend on each other, they must run sequentially. This isn't a choice you make--it's determined by the data flow. // Sequential: each step needs the previous result return validateInput ( request ) . flatMap ( this :: createUser ) . flatMap ( this :: sendWelcomeEmail ); // Parallel: steps are independent return Promise . all ( fetchUserProfile ( userId ), loadAccountSettings ( userId ), getRecentActivity ( userId ) ). map ( this :: buildDashboard ); Enter fullscreen mode Exit fullscreen mode You don't decide "this should be parallel" or "this should be sequential." You express the data dependencies. The execution strategy follows from the structure. If operations share no data dependencies, they're naturally parallelizable. If one needs another's output, they're naturally sequential. This is why thinking in data transformation is so powerful. You describe what needs to happen and what data flows where . The how --sync vs async, sequential vs parallel--emerges from the structure itself. The JBCT Patterns as Universal Primitives Java Backend Coding Technology captures this insight in six patterns: Leaf - Single transformation (atomic) Sequencer - A → B → C, dependent chain (sequential) Fork-Join - A + B + C → D, independent merge (parallel-capable) Condition - Route based on value (branching) Iteration - Transform collection (map/fold) Aspects - Wrap transformation (decoration) These aren't arbitrary design patterns. They're the fundamental ways data can flow through a system: Transform a single value (Leaf) Chain dependent transformations (Sequencer) Combine independent transformations (Fork-Join) Choose between transformations (Condition) Apply transformation to many values (Iteration) Enhance a transformation (Aspects) Every request processing task--regardless of domain, language, or framework--decomposes into these six primitives. Once you internalize this, implementation becomes mechanical. You're not inventing structure; you're recognizing the inherent structure of the problem. Optimal Implementation as Routine When you see request processing as data transformation, optimization becomes straightforward: Identify independent operations → They can parallelize (Fork-Join) Identify dependent chains → They must sequence (Sequencer) Identify decision points → They become conditions Identify collection processing → They become iterations Identify cross-cutting concerns → They become aspects You're not making architectural decisions. You're reading the inherent structure of the problem and translating it directly into code. This is why JBCT produces consistent code across developers and AI assistants. There's essentially one correct structure for any given data flow. Different people analyzing the same problem arrive at the same solution--not because they memorized patterns, but because the patterns are the natural expression of data transformation. The Shift in Thinking Traditional programming asks: "What sequence of instructions produces the desired effect?" Data transformation thinking asks: "What shape does the data take at each stage, and what transformations connect them?" The first approach leads to imperative code where control flow dominates. The second leads to declarative pipelines where data flow dominates. When you make this shift: Async stops being "harder" than sync Parallel stops being "risky" Error handling stops being an afterthought Testing becomes straightforward (pure transformations are trivially testable) You're no longer fighting the machine to do what you want. You're describing transformations and letting the runtime figure out the optimal execution strategy. Conclusion Request processing is data transformation. This isn't a paradigm or a methodology--it's the underlying reality that every paradigm and methodology is trying to express. Languages and frameworks provide different syntax. Some make data transformation easier to express than others. But the fundamental process doesn't change. Input arrives. Data transforms through stages. Output emerges. JBCT patterns aren't rules to memorize. They're the vocabulary for describing data transformation in Java. Once you see the underlying process clearly, using these patterns becomes as natural as describing what you see. The result: any processing task, implemented in close to optimal form, as a matter of routine. Part of Java Backend Coding Technology - a methodology for writing predictable, testable backend code. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sergiy Yevtushenko Follow Writing code for 35+ years and still enjoy it... Location Krakow, Poland Work Senior Software Engineer Joined Mar 14, 2019 More from Sergiy Yevtushenko From Subjective Opinions to Systematic Analysis: Pattern-Based Code Review # codereview # java # patterns # bestpractices Java Should Stop Trying To Be Like Everybody Else # java # kubernetes # runtime # deployment Java Backend Coding Technology: Writing Code in the Era of AI #Version 1.1 # ai # java # codingtechnology 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/jess
Jess Lee - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Follow User actions Jess Lee Building DEV and Forem with everyone here. Interested in the future. Location USA / TAIWAN Joined Joined on  Jul 29, 2016 Email address jess@forem.com github website twitter website Pronouns she/they Work Co-Founder & COO at Forem Warm Welcome This badge is awarded to members who leave wonderful comments in the Welcome Thread. Every week, we'll pick individuals based on their participation in the thread. Which means, every week you'll have a chance to get awarded! 😊 Got it Close JavaScript Awarded to the top JavaScript author each week Got it Close React Awarded to the top React author each week Got it Close 2 DEV Challenge Volunteer Judge Awarded for judging a DEV Challenge and nominating winners. Got it Close CSS Awarded to the top CSS author each week Got it Close Build Apps with Google AI Studio Awarded for completing DEV Education Track: "Build Apps with Google AI Studio" Got it Close 2025 WeCoded Challenge Completion Badge Awarded for completing at least one prompt in the WeCoded Challenge. Thank you for participating! 💻 Got it Close Future Writing Challenge Completion Badge Awarded for completing at least one prompt in the Future Writing Challenge. Thank you for participating! 💻 Got it Close 32 Week Community Wellness Streak You're a true community hero! You've maintained your commitment by posting at least 2 comments per week for 32 straight weeks. Now enjoy the celebration! 🎉 Got it Close #Discuss Awarded for sharing the top weekly post under the #discuss tag. Got it Close 24 Week Community Wellness Streak You're a consistent community enthusiast! Keep up the good work by posting at least 2 comments per week for 24 straight weeks. The next badge you'll earn is the coveted 32! Got it Close 16 Week Community Wellness Streak You're a dedicated community champion! Keep up the great work by posting at least 2 comments per week for 16 straight weeks. The prized 24-week badge is within reach! Got it Close Eight Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least eight years. Got it Close 3 Top 7 Awarded for having a post featured in the weekly "must-reads" list. 🙌 Got it Close Mod Welcome Party Rewarded to mods who leave 5+ thoughtful comments across new members’ posts during March 2024. This badge is only available to earn during the DEV Mod “Share the Love” Contest 2024. Got it Close we_coded Modvocate Rewarded to mods who leave 5+ thoughtful comments across #wecoded posts during March 2024. This badge is only available to earn during the DEV Mod “Share the Love” Contest 2024. Got it Close we_coded 2024 Participant Awarded for actively participating in the WeCoded initiative, promoting gender equity and inclusivity within the tech industry through meaningful engagement and contributions. Got it Close 8 Week Community Wellness Streak Consistency pays off! Be an active part of our community by posting at least 2 comments per week for 8 straight weeks. Earn the 16 Week Badge next. Got it Close Writing Debut Awarded for writing and sharing your first DEV post! Continue sharing your work to earn the 4 Week Writing Streak Badge. Got it Close 100 Thumbs Up Milestone Awarded for giving 100 thumbs ups (👍) to a variety of posts across DEV. This is a mod-exclusive badge. Got it Close DEV Resolutions Quester Awarded for setting and sharing professional, personal, and DEV-related resolutions in the #DEVResolutions2024 campaign. Got it Close 4 Week Community Wellness Streak Keep contributing to discussions by posting at least 2 comments per week for 4 straight weeks. Unlock the 8 Week Badge next. Got it Close Game-time Participant Awarded for participating in one of DEV's online game-time events! Got it Close Seven Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least seven years. Got it Close WeCoded 2023 Awarded for participating in WeCoded 2023! Got it Close Tag Moderator 2022 Awarded for being a tag moderator in 2022. Got it Close Trusted Member 2022 Awarded for being a trusted member in 2022. Got it Close 2 Week Community Wellness Streak Keep the community conversation going! Post at least 2 comments for 2 straight weeks and unlock the 4 Week Badge. Got it Close 1 Week Community Wellness Streak For actively engaging with the community by posting at least 2 comments in a single week. Got it Close Five Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least five years. Got it Close SheCoded 2021 For participation in our 2021 International Women's Day celebration under #shecoded, #theycoded, or #shecodedally. Got it Close Four Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least four years. Got it Close Codeland:Distributed 2020 Awarded for attending CodeLand:Distributed 2020! Got it Close She Coded 2020 For participation in our annual International Women's Day celebration under #shecoded, #theycoded, or #shecodedally. Got it Close Three Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least three years. Got it Close 16 Week Writing Streak You are a writing star! You've written at least one post per week for 16 straight weeks. Congratulations! Got it Close She Coded Rewarded to participants in our annual International Women's Day event, either via #shecoded, #theycoded or #shecodedally Got it Close 8 Week Writing Streak The streak continues! You've written at least one post per week for 8 consecutive weeks. Unlock the 16-week badge next! Got it Close Fab 5 Awarded for having at least one comment featured in the weekly "top 5 posts" list. Got it Close 4 Week Writing Streak You've posted at least one post per week for 4 consecutive weeks! Got it Close Two Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least two years. Got it Close DEV Contributor Awarded for contributing code or technical docs/guidelines to the Forem open source project Got it Close Beloved Comment Awarded for making a well-loved comment, as voted on with 25 heart (❤️) reactions by the community. Got it Close One Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least one year. Got it Close Show all 47 badges More info about @jess Organizations The DEV Team CodeNewbie The Future Team Google Developer Experts Available for Speaking engagements, meetups, podcasts, etc. Post 625 posts published Comment 2225 comments written Tag 66 tags followed What was your win this week??? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 9 What was your win this week??? # discuss # weeklyretro 31  reactions Comments 58  comments 1 min read Want to connect with Jess Lee? Create an account to connect with Jess Lee. You can also sign in below to proceed if you already have an account. Create Account Already have an account? Sign in Congrats to the AI Agents Intensive Course Writing Challenge Winners! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 8 Congrats to the AI Agents Intensive Course Writing Challenge Winners! # googleaichallenge # devchallenge # ai # agents 31  reactions Comments 5  comments 2 min read Join the Algolia Agent Studio Challenge: $3,000 in Prizes! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 7 Join the Algolia Agent Studio Challenge: $3,000 in Prizes! # algoliachallenge # devchallenge # agents # webdev 98  reactions Comments 12  comments 5 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 6 Top 7 Featured DEV Posts of the Week # discuss # top7 24  reactions Comments 13  comments 2 min read Do you have any New Year resolutions or goals? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 5 Do you have any New Year resolutions or goals? # discuss # career # accountability 26  reactions Comments 56  comments 1 min read Happy New Year! What was your win this week?! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 2 Happy New Year! What was your win this week?! # discuss # weeklyretro 26  reactions Comments 33  comments 1 min read Congrats to the Xano AI-Powered Backend Challenge Winners! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 1 Congrats to the Xano AI-Powered Backend Challenge Winners! # xanochallenge # backend # api # ai 23  reactions Comments 4  comments 2 min read Join the New Year, New You Portfolio Challenge: $3,000 in Prizes + Feedback from Google AI Team (For Winners and Runner Ups!) Jess Lee Jess Lee Jess Lee Follow for The DEV Team Jan 1 Join the New Year, New You Portfolio Challenge: $3,000 in Prizes + Feedback from Google AI Team (For Winners and Runner Ups!) # devchallenge # googleaichallenge # career # gemini 215  reactions Comments 67  comments 4 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 30 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 24  reactions Comments 4  comments 2 min read How was your 2025? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 29 '25 How was your 2025? # discuss 93  reactions Comments 86  comments 2 min read What was your win this week?! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 26 '25 What was your win this week?! # discuss # weeklyretro 23  reactions Comments 42  comments 1 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 23 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 33  reactions Comments 7  comments 2 min read Congrats to the Winners of the AI Challenge for Cross-Platform Apps! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 19 '25 Congrats to the Winners of the AI Challenge for Cross-Platform Apps! # devchallenge # unoplatformchallenge # dotnet # ai 30  reactions Comments 8  comments 2 min read What was your win this week??? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 19 '25 What was your win this week??? # discuss # weeklyretro 43  reactions Comments 97  comments 1 min read Congrats to the Frontend Challenge: Halloween Edition Winners! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 18 '25 Congrats to the Frontend Challenge: Halloween Edition Winners! # devchallenge # frontendchallenge # css # javascript 40  reactions Comments 14  comments 2 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 16 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 32  reactions Comments 7  comments 2 min read Share your projects in our end of year Show & Tell event! Jess Lee Jess Lee Jess Lee Follow Dec 15 '25 Share your projects in our end of year Show & Tell event! # showdev # muxchallenge # devchallenge # opensource 29  reactions Comments Add Comment 1 min read What was your win this week?? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 12 '25 What was your win this week?? # discuss # weeklyretro 30  reactions Comments 47  comments 1 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 9 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 91  reactions Comments 10  comments 2 min read Our current challenges add up to $9,000 in total prizes! Give one a try this weekend. Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 5 '25 Our current challenges add up to $9,000 in total prizes! Give one a try this weekend. # devchallenge # unoplatformchallenge # xanochallenge # muxchallenge 98  reactions Comments Add Comment 1 min read What was your win this week? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 5 '25 What was your win this week? # discuss # weeklyretro 88  reactions Comments 100  comments 1 min read AI Agents Intensive Course Writing Challenge with Google and Kaggle: Deadline Extended Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 3 '25 AI Agents Intensive Course Writing Challenge with Google and Kaggle: Deadline Extended # devchallenge # googleaichallenge # kaggle 18  reactions Comments Add Comment 1 min read DEV's Worldwide Show and Tell Challenge Presented by Mux: Pitch Your Projects! $3,000 in Prizes. 🎥 Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 3 '25 DEV's Worldwide Show and Tell Challenge Presented by Mux: Pitch Your Projects! $3,000 in Prizes. 🎥 # showdev # devchallenge # muxchallenge # webdev 254  reactions Comments 61  comments 4 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 2 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 24  reactions Comments 10  comments 2 min read Congrats to the Winners of the Agentic Postgres Challenge with Tiger Data! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Dec 1 '25 Congrats to the Winners of the Agentic Postgres Challenge with Tiger Data! # agenticpostgreschallenge # postgres # agents # devchallenge 38  reactions Comments 16  comments 3 min read What was your win this week?? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 28 '25 What was your win this week?? # discuss # weeklyretro 10  reactions Comments 13  comments 1 min read Join the Xano AI-Powered Backend Challenge: $3,000 in Prizes! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 26 '25 Join the Xano AI-Powered Backend Challenge: $3,000 in Prizes! # xanochallenge # backend # ai # api 117  reactions Comments 36  comments 6 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 25 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 31  reactions Comments 6  comments 2 min read Agentic Postgres Challenge: Winner Announcement Delayed Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 21 '25 Agentic Postgres Challenge: Winner Announcement Delayed # agenticpostgreschallenge 5  reactions Comments 6  comments 1 min read FYI: Paige Bailey (AI Developer Experience Lead at Deepmind) will be hosting a live demo and AMA on November 25th about Gemini 3 Jess Lee Jess Lee Jess Lee Follow Nov 21 '25 FYI: Paige Bailey (AI Developer Experience Lead at Deepmind) will be hosting a live demo and AMA on November 25th about Gemini 3 # news # gemini # ai # discuss 30  reactions Comments 1  comment 1 min read What was your win this week?! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 21 '25 What was your win this week?! # discuss # weeklyretro 36  reactions Comments 48  comments 1 min read Congrats to the 2025 Hacktoberfest Writing Challenge Winners! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 20 '25 Congrats to the 2025 Hacktoberfest Writing Challenge Winners! # devchallenge # hacktoberfest # opensource 43  reactions Comments 19  comments 2 min read Join the AI Challenge for Cross-Platform Apps: $3,000 in Prizes! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 19 '25 Join the AI Challenge for Cross-Platform Apps: $3,000 in Prizes! # devchallenge # unoplatformchallenge # dotnet # ai 205  reactions Comments 35  comments 7 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 18 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 28  reactions Comments 5  comments 2 min read What was your win this week!? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 14 '25 What was your win this week!? # discuss # weeklyretro 20  reactions Comments 22  comments 1 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 11 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 45  reactions Comments 12  comments 2 min read What was your win this week? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 7 '25 What was your win this week? # discuss # weeklyretro 22  reactions Comments 13  comments 1 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Nov 4 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 44  reactions Comments 14  comments 2 min read Join the AI Agents Intensive Course Writing Challenge with Google and Kaggle Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 31 '25 Join the AI Agents Intensive Course Writing Challenge with Google and Kaggle # googleaichallenge # kaggle # machinelearning # ai 139  reactions Comments 15  comments 4 min read What was your win this week?!! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 31 '25 What was your win this week?!! # discuss # weeklyretro 23  reactions Comments 36  comments 1 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 28 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 39  reactions Comments 14  comments 2 min read We have four DEV Challenges for you to dive into this weekend! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 24 '25 We have four DEV Challenges for you to dive into this weekend! # devchallenge # auth0challenge # agenticpostgreschallenge # hacktoberfest 19  reactions Comments Add Comment 2 min read What was your win this week!? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 24 '25 What was your win this week!? # discuss # weeklyretro 36  reactions Comments 28  comments 1 min read Join the Agentic Postgres Challenge with Tiger Data: $3,000 in Prizes! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 22 '25 Join the Agentic Postgres Challenge with Tiger Data: $3,000 in Prizes! # agenticpostgreschallenge # devchallenge # postgres # agents 142  reactions Comments 19  comments 3 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 21 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 27  reactions Comments 3  comments 2 min read What was your win this week? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 17 '25 What was your win this week? # discuss # weeklyretro 12  reactions Comments 13  comments 1 min read Join our latest Frontend Challenge: Halloween Edition 🦇 Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 15 '25 Join our latest Frontend Challenge: Halloween Edition 🦇 # devchallenge # frontendchallenge # css # javascript 108  reactions Comments 15  comments 4 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 14 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 35  reactions Comments 7  comments 2 min read What was your win this week?! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 10 '25 What was your win this week?! # discuss # weeklyretro 17  reactions Comments 13  comments 1 min read Heroku "Back to School" AI Challenge: Winner Announcement Delayed Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 9 '25 Heroku "Back to School" AI Challenge: Winner Announcement Delayed # herokuchallenge # devchallenge 2  reactions Comments 3  comments 1 min read Congrats to the latest KendoReact Free Components Challenge Winners! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 9 '25 Congrats to the latest KendoReact Free Components Challenge Winners! # devchallenge # kendoreactchallenge # react # webdev 43  reactions Comments 12  comments 2 min read Join the Auth0 for AI Agents Challenge: $3,000 in Prizes! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 8 '25 Join the Auth0 for AI Agents Challenge: $3,000 in Prizes! # devchallenge # auth0challenge # security # ai 95  reactions Comments 20  comments 3 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 7 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 17  reactions Comments 6  comments 2 min read What was your win this week? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 3 '25 What was your win this week? # discuss # weeklyretro 27  reactions Comments 17  comments 1 min read Congrats to the Google AI Multimodal Challenge Winners! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 2 '25 Congrats to the Google AI Multimodal Challenge Winners! # googleaichallenge # devchallenge # ai # gemini 79  reactions Comments 30  comments 2 min read 🎃 Spotlight your projects and contributions as you go: 2025 Hacktoberfest Writing Challenge is now live! Jess Lee Jess Lee Jess Lee Follow for The DEV Team Oct 1 '25 🎃 Spotlight your projects and contributions as you go: 2025 Hacktoberfest Writing Challenge is now live! # hacktoberfest # devchallenge # opensource 93  reactions Comments 12  comments 4 min read Behind the Scenes: How We Judge DEV Challenge Submissions Jess Lee Jess Lee Jess Lee Follow for The DEV Team Sep 30 '25 Behind the Scenes: How We Judge DEV Challenge Submissions # devchallenge 38  reactions Comments 6  comments 3 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Sep 30 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 28  reactions Comments 3  comments 2 min read What was your win this week!? Jess Lee Jess Lee Jess Lee Follow for The DEV Team Sep 26 '25 What was your win this week!? # discuss # weeklyretro 30  reactions Comments 29  comments 1 min read Top 7 Featured DEV Posts of the Week Jess Lee Jess Lee Jess Lee Follow for The DEV Team Sep 23 '25 Top 7 Featured DEV Posts of the Week # discuss # top7 30  reactions Comments 6  comments 2 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/ed-wantuil/cloud-sem-falencia-o-minimo-que-voce-precisa-saber-de-finops-8ao#main-content
Cloud Sem Falência: O mínimo que você precisa saber de FinOps - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Ed Wantuil Posted on Jan 12           Cloud Sem Falência: O mínimo que você precisa saber de FinOps # devops # cloud # braziliandevs Imagine a cena: você trabalha em uma empresa consolidada. Vocês têm aquele rack de servidores físicos robusto, piscando luzinhas em uma sala gelada, com piso elevado e controle biométrico (o famoso  On-Premise ). Tudo funciona. O banco de dados aguenta o tranco, a latência é zero na rede local. Mas a diretoria decide que é hora de "modernizar". "Vamos migrar para a Nuvem!" , dizem eles, com os olhos brilhando. A promessa no PowerPoint é sedutora:  flexibilidade infinita ,  segurança gerenciada  e o mantra mágico:  "pagar só pelo que usar" . A migração acontece via  Lift-and-Shift  (pegar o que existe e jogar na nuvem sem refatorar). A equipe de Infra e Dev comemoram. O  Deploy  é um sucesso. Três meses depois, chega a fatura da AWS. O diretor financeiro (CFO) não apenas cai da cadeira; ele convoca uma reunião de emergência. O custo, que antes era uma linha fixa e previsível no balanço anual, triplicou e agora flutua violentamente. O que deu errado? Simples:  A engenharia tratou a Nuvem como um Data Center físico, apenas alugado. Hoje, vamos falar sobre os riscos dessa mudança e como aplicar  FinOps  não como burocracia, mas como requisito de arquitetura. (Nota: Usaremos a AWS nos exemplos por ser a stack padrão de mercado, mas a lógica se aplica integralmente ao Azure, GCP e OCI). 🦄 A Ilusão da Mágica: CAPEX vs. OPEX na Engenharia Para entender a conta da AWS, você precisa entender como o dinheiro sai do cofre da empresa. A mudança da nuvem não é apenas sobre onde o servidor roda, é sobre quem assume o risco do desperdício. 1. CAPEX (Capital Expenditure): A Lógica do "PC Gamer" CAPEX  é Despesa de Capital. É comprar a "caixa". Imagine que você vai montar um PC Gamer High-End. Você gasta R$ 20.000,00 na loja. Doeu no bolso na hora, certo? Mas depois que o PC está na sua mesa: Custo Marginal Zero:  Se você jogar  Paciência  ou renderizar um vídeo em 8K a noite toda, não faz diferença financeira para o seu bolso (tirando a conta de luz, que é irrisória perto do hardware). O dinheiro já foi gasto ( Sunk Cost ). O Comportamento do Engenheiro (On-Premise):  Como o processo de compra é lento (meses de cotação e aprovação), você tem medo de faltar recurso. Mentalidade:  "Vou pedir um servidor com 64 Cores, mesmo precisando de 16. Se sobrar, melhor. O hardware é nosso mesmo." Código:  Eficiência não é prioridade financeira. Um código mal otimizado que consome 90% da CPU não gera uma fatura extra no fim do mês. 2. OPEX (Operational Expenditure): A Lógica do Uber OPEX  é Despesa Operacional. É o custo de funcionamento do dia a dia. Na nuvem, você não comprou o carro; você está rodando de Uber 24 horas por dia. Custo Marginal Real:  Cada minuto parado no sinal custa dinheiro. Cada desvio de rota custa dinheiro. O Comportamento do Engenheiro (Cloud):  Aqui, a ineficiência é taxada instantaneamente. Mentalidade:  Aquele servidor de 64 cores e 512GB de ram parado esperando tráfego é como deixar o Uber te esperando na porta do escritório enquanto você trabalha. O taxímetro está rodando. Código:  Um loop infinito ou uma  query  sem índice no banco de dados não deixa apenas o sistema lento; ele  queima dinheiro vivo . Comparativo para Desenvolvedores (Salve isso) Feature CAPEX (On-Premise / Hardware Próprio) OPEX (Cloud / AWS / Azure) Commit Financeiro Você paga tudo antes de usar (Upfront). Você paga depois de usar (Pay-as-you-go). Latência de Aprovação Alta. Precisa de reuniões, assinaturas e compras. Zero. Um  terraform apply  gasta dinheiro instantaneamente. Risco de Capacidade Subutilização.  Comprar um servidor monstro e usar 10%. Conta Surpresa.  Esquecer algo ligado ou escalar infinitamente. Otimização de Código Melhora performance, mas não reduz a fatura do hardware. Reduz diretamente a fatura.  Código limpo = Dinheiro no caixa. Por que isso afeta a sua Arquitetura? Se você desenha uma arquitetura pensando em CAPEX (Mundo Físico) e a implementa em OPEX (Nuvem), você cria um desastre financeiro. No CAPEX , a estratégia de defesa é: "Superdimensionar para garantir estabilidade". (Compre o maior servidor possível). No OPEX , a estratégia de defesa é: "Elasticidade". (Comece com o menor servidor possível e configure para crescer sozinho  apenas  se necessário). 💸 Os 8 Cavaleiros do Apocalipse Financeiro na AWS Na nuvem, os maiores vilões raramente são tecnologias complexas de IA ou Big Data. Quase sempre são  decisões arquiteturais preguiçosas e falta de governança . 1. Instâncias "Just in Case": O Custo do Seguro Psicológico O sobredimensionamento é um vício comum: o desenvolvedor sobe uma instância  m5.2xlarge  (8 vCPUs, 32GB RAM) não porque a aplicação exige, mas porque ele "não quer ter dor de cabeça". É o provisionamento baseado no medo, criando uma margem de segurança gigantesca e cara para evitar qualquer risco hipotético de lentidão. A realidade nua e crua aparece no CloudWatch: na maior parte do tempo, essa supermáquina opera com apenas 12% de CPU e usa uma fração da memória. Pagar por uma  2xlarge  para rodar essa carga é como  fretar um ônibus de 50 lugares para levar apenas 4 pessoas ao trabalho  todos os dias. Você está pagando pelo "espaço vazio" e pelo motor potente do ônibus, enquanto um carro popular ( t3.medium ) faria o mesmo trajeto com o mesmo conforto e muito mais economia. 2. Ambientes Zumbis: A Torneira Aberta Fora do Expediente "Ambientes Zumbis" são servidores de Desenvolvimento e Homologação que operam como cópias fiéis da Produção, mas sem a audiência dela. Eles permanecem ligados e faturando às 3 da manhã de um domingo, consumindo recursos de nuvem para processar absolutamente nada. Manter esses servidores ligados 24/7 é o equivalente digital de  deixar o ar-condicionado de um escritório ligado no máximo durante todo o fim de semana , com o prédio completamente vazio. O impacto financeiro atua como um multiplicador de desperdício. Se você mantém três ambientes (Dev, Staging e Produção) com arquiteturas similares ligados ininterruptamente, seu custo base é  300% do necessário . A matemática é cruel: uma semana tem 168 horas, mas seus desenvolvedores trabalham apenas 40. Você está pagando por 128 horas de ociosidade pura por máquina, todas as semanas. A primeira cura para esse desperdício é o agendamento automático. Utilizando soluções como o  AWS Instance Scheduler  (ou Lambdas simples), configuramos os ambientes para "acordar" às 08:00 e "dormir" às 20:00, de segunda a sexta-feira. Apenas essa automação básica, sem alterar uma linha de código da aplicação, reduz a fatura desses ambientes não-produtivos em cerca de  70% . 3. O Esquecimento Crônico: O Custo do Limbo Um dos "pegadinhas" mais comuns da nuvem acontece no momento de desligar as luzes: quando você termina uma instância EC2, o senso comum diz que a cobrança para. O erro está em assumir que a máquina e o disco são uma peça única. Por padrão, ao "matar" o servidor, o volume de armazenamento (EBS) acoplado a ele muitas vezes sobrevive, entrando num estado de limbo financeiro. O resultado é o acúmulo de  EBS Órfãos : centenas de discos no estado "Available" (não atrelados a ninguém), cheios de dados inúteis ou completamente vazios, pelos quais você paga o preço cheio do gigabyte provisionado. É comparável a vender seu carro, mas esquecer de cancelar o aluguel da vaga de garagem: o veículo não existe mais, mas a cobrança pelo espaço que ele ocupava continua chegando todo mês na fatura. A situação piora com os  Elastic IPs (EIPs) , que possuem uma lógica de cobrança invertida e punitiva. Devido à escassez mundial de endereços IPv4, a AWS não cobra pelo IP enquanto você o utiliza, mas  começa a cobrar assim que ele fica ocioso . É como uma "multa por não uso": se você reserva um endereço IP e não o atrela a uma instância em execução, você paga por estar "segurando" um recurso escasso sem necessidade. 4. O Cemitério de Dados no S3 Buckets S3 tendem a virar "cemitérios digitais" onde logs, backups e assets se acumulam indefinidamente. O erro crucial não é guardar os dados, mas a falta de estratégia: manter 100% desse volume na classe  S3 Standard , pagando a tarifa mais alta da AWS por arquivos que ninguém acessa há meses. Para entender o prejuízo, imagine o  S3 Standard  como uma loja no corredor principal de um shopping: o aluguel é caríssimo porque o acesso é imediato e fácil ( baixa latência ). Manter logs de 2022 nessa classe é como alugar essa vitrine premium apenas para estocar caixas de papelão velhas. Dados "frios", que raramente são consultados, não precisam estar à mão em milissegundos; eles podem ficar num armazém mais distante e barato. A solução é o  S3 Lifecycle , que automatiza a logística desse "estoque". Primeiro, ele atua na  Transição : move automaticamente os dados que envelhecem da "vitrine" (Standard) para o "armazém" ( S3 Glacier ). No Glacier, você paga uma fração do preço, aceitando que o resgate do arquivo leve alguns minutos ou horas (maior latência), o que é aceitável para arquivos de auditoria ou backups antigos. Por fim, o Lifecycle resolve o acúmulo de lixo através da  Expiração . Além de mover dados, você configura regras para deletar objetos definitivamente após um período, como remover logs temporários após 7 dias. Isso garante a higiene do ambiente, impedindo que você pague aluguel (seja no shopping ou no armazém) por dados inúteis que não deveriam mais existir. 5. Snapshots: O Colecionador de Backups Fantasmas Backups são a apólice de seguro da sua infraestrutura, mas a facilidade de criar snapshots na AWS gera um comportamento perigoso de acumulação. O erro clássico é configurar uma automação de snapshot diário e definir a retenção para "nunca" ou prazos absurdos como 5 anos. Embora os snapshots sejam incrementais (salvando apenas o que mudou), em bancos de dados transacionais com muita escrita, o volume de dados alterados cresce rápido, e a fatura acompanha. Para visualizar o desperdício, imagine que você compra o jornal do dia para ler as notícias. É útil ter os jornais da última semana na mesa para referência rápida. Mas guardar uma pilha de jornais diários de  três anos atrás  na sua sala ocupa espaço valioso e custa dinheiro, sendo que a chance de você precisar saber a "cotação do dólar numa terça-feira específica de 2021" é praticamente nula. Você está pagando armazenamento premium por "jornais velhos" que não têm valor de negócio. 6. Licenciamento Comercial (O Custo Invisível) Muitas empresas focam tanto em otimizar CPU e RAM que esquecem o elefante na sala: o custo de software. Ao rodar instâncias com  Windows Server  ou  SQL Server Enterprise  na AWS no modelo "License Included", você não paga apenas pela infraestrutura; você paga uma sobretaxa pesada pelo direito de uso do software proprietário. Esse custo é embutido na tarifa por hora e, em máquinas grandes, a licença pode custar mais caro que o próprio hardware. Para ilustrar a desproporção, usar o  SQL Server Enterprise  para uma aplicação que não utiliza funcionalidades avançadas (como  Always On  complexo ou compressão de dados específica) é como  fretar um jato executivo apenas para ir comprar pão na padaria . O objetivo (armazenar e recuperar dados) é cumprido, mas você está pagando por um veículo de luxo quando uma bicicleta ou um Uber resolveria o problema com a mesma eficiência e uma fração do custo. A primeira camada de solução é a  Otimização de Edição . É comum desenvolvedores solicitarem a versão Enterprise por "garantia" ou hábito, sem necessidade técnica real. Uma auditoria simples muitas vezes revela que a versão  Standard atende a todos os requisitos da aplicação. Fazer esse  downgrade  reduz a fatura de licenciamento imediatamente, sem exigir mudanças drásticas na arquitetura ou no código. 7. Dilema Geográfico: Reduzindo a Fatura pela Metade Hospedar aplicações na região  sa-east-1  (São Paulo) carrega um ágio pesado: o "Custo Brasil" digital faz com que a infraestrutura local custe, cerca de  50% a mais  do que na  us-east-1  (N. Virgínia). Migrar workloads para os EUA é, frequentemente, a manobra de FinOps com maior retorno imediato (ROI): você corta a fatura desses recursos praticamente pela  metade  apenas alterando o CEP do servidor, acessando o mesmo hardware por uma fração do preço. O principal bloqueador costuma ser o medo da  LGPD , mas a crença de que a lei exige residência física dos dados no Brasil é um  mito . O Artigo 33 permite a transferência internacional para países com proteção adequada (como os EUA), desde que coberto por contratos padrão. A legislação foca na  segurança e privacidade  do dado, não na sua latitude e longitude geográfica. Quanto à técnica, a latência para a Virgínia (~120ms) é imperceptível para a maioria das aplicações web, sistemas internos e dashboards. A estratégia inteligente é adotar uma região como US East como padrão  para maximizar a economia, reservando São Paulo apenas para exceções que realmente exigem resposta em tempo real (como High Frequency Trading), evitando pagar preço de "primeira classe" para cargas de trabalho que rodariam perfeitamente na econômica. 8. Serverless: A Faca de Dois Gumes "Serverless" é computação sem gestão de infraestrutura (como AWS Lambda ou DynamoDB). Diferente de alugar um servidor fixo mensal, aqui você paga apenas pelos milissegundos que seu código executa ou pelo dado que você lê. É como a conta de luz: você só paga se o interruptor estiver ligado. A Estratégia:  Para uso esporádico, é imbatível. Mas e para uso constante? Também pode ser uma excelente escolha! Embora a fatura de infraestrutura possa vir mais alta do que em servidores tradicionais, você elimina o trabalho pesado de manutenção. Muitas vezes, é financeiramente mais inteligente  pagar um pouco mais para a AWS do que custear horas de engenharia  ou contratar uma equipe dedicada apenas para gerenciar servidores, aplicar patches de segurança e configurar escalas. O segredo é olhar para o Custo Total (TCO), e não apenas para a linha de processamento na fatura. 🕵️‍♂️ FinOps: Engenharia Financeira na Prática FinOps não é apenas sobre "pedir desconto" ou cortar gastos; é a mudança cultural que descentraliza a responsabilidade do custo, empoderando engenheiros a tomar decisões baseadas em dados, não em palpites. Para que essa cultura saia do papel, ela precisa se apoiar em um tripé de governança robusto: a  visibilidade granular  garantida pelo tageamento correto (saber  quem  gasta), a  segurança operacional  monitorada pelo AWS Budgets (saber  quando  gasta) e a  eficiência financeira  obtida através dos Modelos de Compra inteligentes (saber  como  pagar). Sem integrar essas três frentes, a nuvem deixa de ser um acelerador de inovação para se tornar um passivo financeiro descontrolado. 1. TAGs: Sem Etiquetas, Sem Dados 🏷️ No AWS Cost Explorer, uma infraestrutura sem tags opera como uma "caixa preta" financeira: você encara uma fatura de $50.000, mas é incapaz de discernir se o rombo veio de um modelo crítico de Data Science ou de um cluster Kubernetes esquecido por um estagiário. Utiliza tags como  custo:centro ,  app:nome ,  env  e  dono  no momento dos recursos transformara números genéricos em rastreáveis, permitindo que cada centavo gasto tenha um responsável atrelado, eliminando definitivamente a cultura de que "o custo da nuvem não é problema meu". 2. AWS Budgets e Detecção de Anomalias 🚨 Não espere o fim do mês. Configure o  AWS Budgets  para alertar quando o custo  projetado  (forecasted) ultrapassar o limite. Dica:  Ative o  Cost Anomaly Detection . Ele usa Machine Learning para identificar picos anormais. Exemplo:  Um deploy errado fez a cahamada para um Lambda entrar em loop infinito. O Anomaly Detection te avisa em horas, não no fim do mês. 3. Modelos de Compra: O Fim do On-Demand 💸 Operar 100% em  On-Demand  é pagar voluntariamente um "imposto sobre a falta de planejamento". A maturidade em FinOps exige abandonar o preço de varejo e adotar um mix estratégico: cubra sua carga de trabalho base (aquela que roda 24/7) com  Savings Plans , que oferecem descontos de até  72%  em troca de fidelidade, e mova cargas tolerantes a interrupções, como processamento de dados e pipelines de CI/CD, para  Spot Instances , aproveitando a capacidade ociosa da AWS por até  10% do valor original . Ignorar essa estratégia e manter tudo no On-Demand é uma decisão consciente de desperdiçar orçamento que poderia ser reinvestido em inovação. 🧠 Dev Assina o Código e o Cheque No mundo On-Premise, um código ruim apenas deixava o sistema lento. Na Nuvem,  código ineficiente gera uma fatura imediata . A barreira entre Engenharia e Financeiro desapareceu: cada linha de código é uma decisão de compra executada em tempo real. O desenvolvedor não consome apenas CPU, ele consome o orçamento da empresa. Para entender o impacto, veja o preço das más práticas: O Custo da Leitura:  Uma query sem " WHERE " ou um  Full Table Scan  no DynamoDB não é apenas um problema de performance; você está pagando unidades de leitura para ler milhares de linhas inúteis. É como comprar a biblioteca inteira para ler uma única página. O Custo da Ineficiência:  Um código com vazamento de memória engana o  Auto Scaling . O sistema provisiona 10 servidores para fazer o trabalho de 2, desperdiçando dinheiro para compensar código ruim. O Custo do Ruído:  Logs em modo  VERBOSE  esquecidos em produção são vilões. O CloudWatch cobra caro pela ingestão. Enviar gigabytes de "log de lixo" é literalmente pagar frete aéreo para transportar entulho. A Cultura de Engenharia Consciente de Custos: Estimativa no Refinamento:  O custo deve ser debatido  antes  do código existir. Durante o Refinamento, ao definir a arquitetura, faça a pergunta:  "Quais recursos vamos usar e quanto isso vai custar com a volumetria esperada?" . Se a solução técnica custa $1.000 para economizar $50 de esforço manual, ela deve ser vetada ali mesmo. Feedback Loop:  O desenvolvedor precisa ver quanto o serviço dele custa. Painéis do Grafana ou Datadog devem mostrar não só a latência da API, mas o custo diário dela. Só existe responsabilidade quando existe consciência do preço. Cerimônia de Custo (FinOps Review):  Estabeleça uma reunião recorrente dedicada a olhar o  "Extrato da Conta" . O time analisa os custos atuais, investiga picos não planejados da semana anterior e discute ativamente:  "Existe alguma oportunidade de desligar recursos ou otimizar este serviço agora?" . É a higiene financeira mantendo o projeto saudável. 🌐 O Mundo Híbrido e Multicloud: Complexidade é Custo Nem tudo precisa ir para a AWS, e nem tudo deve sair do seu Data Center local. A maturidade em nuvem não significa "desligar tudo o que é físico", mas sim saber onde cada peça do jogo custa menos. Empresas podem operam em modelos híbridos estratégicos: O Lugar do Legado (On-Premise):  Aquele banco de dados gigante ou mainframe que já está quitado, não cresce mais e roda de forma previsível?  Deixe onde está.  Migrar esses monstros para a nuvem apenas copiando e colando ("Lift-and-Shift") costuma ser um desastre financeiro. Na nuvem, você paga caro por performance de disco (IOPS) e memória que, no seu servidor físico, já são "gratuitos". O Lugar da Inovação (Nuvem):  Seu site, aplicativos móveis e APIs que precisam aguentar milhões de acessos num dia e zero no outro? Leve para a nuvem. Lá você paga pela  elasticidade  e pelo alcance global que o servidor físico não consegue entregar. Cuidado com a Armadilha Multicloud Muitos gestores caem na tentação de usar AWS, Azure e Google Cloud ao mesmo tempo sob o pretexto de "evitar ficar preso a um fornecedor" (Vendor Lock-in). Na prática, para a maioria das empresas, isso  triplica o custo operacional . Você precisará de equipes especialistas em três plataformas diferentes, perderá descontos por volume (diluindo seu gasto) e pagará taxas altíssimas de transferência de dados (Egress) para fazer as nuvens conversarem entre si. Complexidade técnica é, invariavelmente, custo financeiro. Como gerenciar essa infraestrutura sem perder o controle? O uso de ferramentas como  Terraform  ou  OpenTofu . Com elas, criar um servidor não é mais clicar em botões numa tela, mas sim escrever um arquivo de texto (código). Isso habilita a  Revisão de Código Financeira : Um desenvolvedor propõe uma mudança no código da infraestrutura. Antes de aprovar, o time revisa num "Pull Request". A pergunta muda de  "O código está certo?"  para  "Por que você alterou a máquina de  micro  para  extra-large ?" . O Code Review de infraestrutura torna-se a primeira e mais barata linha de defesa do FinOps, barrando gastos desnecessários antes mesmo que eles sejam criados. Conclusão: A Nuvem não é um Destino, é um Modelo Econômico Migrar para a nuvem não é apenas trocar de servidor; é adotar um novo paradigma operacional e financeiro. Tratar a AWS como um "datacenter glorificado" é o caminho mais rápido para transformar a inovação em prejuízo: ao fazer isso, você acaba pagando a diária de um hotel cinco estrelas apenas para estocar caixas de papelão que poderiam estar num depósito simples. A virada de chave acontece na cultura. Comece pelo básico bem feito: aplique Tags rigorosamente, automatize a limpeza de recursos e traga o custo para o centro das decisões de arquitetura. Lembre-se que, neste novo mundo, a excelência técnica é inseparável da eficiência financeira:  o melhor código não é apenas o que funciona, é o que entrega valor máximo consumindo o mínimo de orçamento. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Ed Wantuil Follow Meu objetivo é compartilhar conhecimento, criar soluções e ajudar outras pessoas a evoluírem na carreira de tecnologia. Location Brasil Joined Dec 15, 2023 More from Ed Wantuil Java 25: tudo que mudou desde o Java 21 em um guia prático # java # braziliandevs # java25 # jvm 10 Passos Para Conduzir um Pós-Mortem Que Realmente Evita Novos Incidentes # devops # incidentes # crises # dev Top 5 Vacilos que Desenvolvedores Cometem em uma Crise (e como evitar) # devops # postmortem # deploydesexta 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/cardosource/pickleloads-executando-codigo-arbitrario-2hnj#comments
Pickle.loads() Executando Código Arbitrário - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse cardoso Posted on Jan 6 Pickle.loads() Executando Código Arbitrário # security # programming O módulo pickle do Python fornece mecanismos para serialização binária de objetos, onde o "pickling" transforma estruturas de objetos em fluxos de bytes e o "unpickling" restaura essas estruturas a partir dos bytes (Python Software Foundation, 2024). No entanto, a própria documentação alerta sobre riscos de segurança significativos. É aquela amizade boa mas tem detalhes que vai ferrar com você Nooooossa, que módulo eficiente! Serializa tudo! Você sabe que vai dar merda Todo mundo avisa que vai dar merda A documentação GRITA que vai dar merda Mas... Ah, dessa vez vai ser diferente! Foco nobres camaradas.... O pickle é usado por uma razão simples: vai executar o código automaticamente durante a desserialização isso nunca foi um bug é o design que se tornou uma vulnerabilidade. Vamos ao código principal : 1 stealer = LocalDataCollector() malicious_pickle = pickle.dumps(stealer) # Serializa o objeto 2 result = pickle.loads(malicious_pickle) # DESSERIALIZAÇÃO = EXECUÇÃO pickle.dumps(obj) : Converte objeto Python para bytes pickle.loads(bytes) : Converte bytes para objeto Python EXECUTANDO CÓDIGO E lógico um códi completo para testar. Em cenários reais é criado um tipo de coletor de dados e enviado para algum local ou sequestro dos dados, botnet ou minerar bitcoin as possibilidade são muitas. Esse é meu primeiro post. código fonte completo: github.com/cardosource/ teste: ...cardosource/actions/ até mais... Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse cardoso Follow open source developer and very curious by nature Location https://cardosource.github.io/ Work freelancer Joined Nov 19, 2021 Trending on DEV Community Hot Prompt Engineering Won’t Fix Your Architecture # discuss # career # ai # programming 🧗‍♂️Beginner-Friendly Guide 'Max Dot Product of Two Subsequences' – LeetCode 1458 (C++, Python, JavaScript) # programming # cpp # python # javascript AI should not be in Code Editors # programming # ai # productivity # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/ed-wantuil/cloud-sem-falencia-o-minimo-que-voce-precisa-saber-de-finops-8ao#8-serverless-a-faca-de-dois-gumes
Cloud Sem Falência: O mínimo que você precisa saber de FinOps - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Ed Wantuil Posted on Jan 12           Cloud Sem Falência: O mínimo que você precisa saber de FinOps # devops # cloud # braziliandevs Imagine a cena: você trabalha em uma empresa consolidada. Vocês têm aquele rack de servidores físicos robusto, piscando luzinhas em uma sala gelada, com piso elevado e controle biométrico (o famoso  On-Premise ). Tudo funciona. O banco de dados aguenta o tranco, a latência é zero na rede local. Mas a diretoria decide que é hora de "modernizar". "Vamos migrar para a Nuvem!" , dizem eles, com os olhos brilhando. A promessa no PowerPoint é sedutora:  flexibilidade infinita ,  segurança gerenciada  e o mantra mágico:  "pagar só pelo que usar" . A migração acontece via  Lift-and-Shift  (pegar o que existe e jogar na nuvem sem refatorar). A equipe de Infra e Dev comemoram. O  Deploy  é um sucesso. Três meses depois, chega a fatura da AWS. O diretor financeiro (CFO) não apenas cai da cadeira; ele convoca uma reunião de emergência. O custo, que antes era uma linha fixa e previsível no balanço anual, triplicou e agora flutua violentamente. O que deu errado? Simples:  A engenharia tratou a Nuvem como um Data Center físico, apenas alugado. Hoje, vamos falar sobre os riscos dessa mudança e como aplicar  FinOps  não como burocracia, mas como requisito de arquitetura. (Nota: Usaremos a AWS nos exemplos por ser a stack padrão de mercado, mas a lógica se aplica integralmente ao Azure, GCP e OCI). 🦄 A Ilusão da Mágica: CAPEX vs. OPEX na Engenharia Para entender a conta da AWS, você precisa entender como o dinheiro sai do cofre da empresa. A mudança da nuvem não é apenas sobre onde o servidor roda, é sobre quem assume o risco do desperdício. 1. CAPEX (Capital Expenditure): A Lógica do "PC Gamer" CAPEX  é Despesa de Capital. É comprar a "caixa". Imagine que você vai montar um PC Gamer High-End. Você gasta R$ 20.000,00 na loja. Doeu no bolso na hora, certo? Mas depois que o PC está na sua mesa: Custo Marginal Zero:  Se você jogar  Paciência  ou renderizar um vídeo em 8K a noite toda, não faz diferença financeira para o seu bolso (tirando a conta de luz, que é irrisória perto do hardware). O dinheiro já foi gasto ( Sunk Cost ). O Comportamento do Engenheiro (On-Premise):  Como o processo de compra é lento (meses de cotação e aprovação), você tem medo de faltar recurso. Mentalidade:  "Vou pedir um servidor com 64 Cores, mesmo precisando de 16. Se sobrar, melhor. O hardware é nosso mesmo." Código:  Eficiência não é prioridade financeira. Um código mal otimizado que consome 90% da CPU não gera uma fatura extra no fim do mês. 2. OPEX (Operational Expenditure): A Lógica do Uber OPEX  é Despesa Operacional. É o custo de funcionamento do dia a dia. Na nuvem, você não comprou o carro; você está rodando de Uber 24 horas por dia. Custo Marginal Real:  Cada minuto parado no sinal custa dinheiro. Cada desvio de rota custa dinheiro. O Comportamento do Engenheiro (Cloud):  Aqui, a ineficiência é taxada instantaneamente. Mentalidade:  Aquele servidor de 64 cores e 512GB de ram parado esperando tráfego é como deixar o Uber te esperando na porta do escritório enquanto você trabalha. O taxímetro está rodando. Código:  Um loop infinito ou uma  query  sem índice no banco de dados não deixa apenas o sistema lento; ele  queima dinheiro vivo . Comparativo para Desenvolvedores (Salve isso) Feature CAPEX (On-Premise / Hardware Próprio) OPEX (Cloud / AWS / Azure) Commit Financeiro Você paga tudo antes de usar (Upfront). Você paga depois de usar (Pay-as-you-go). Latência de Aprovação Alta. Precisa de reuniões, assinaturas e compras. Zero. Um  terraform apply  gasta dinheiro instantaneamente. Risco de Capacidade Subutilização.  Comprar um servidor monstro e usar 10%. Conta Surpresa.  Esquecer algo ligado ou escalar infinitamente. Otimização de Código Melhora performance, mas não reduz a fatura do hardware. Reduz diretamente a fatura.  Código limpo = Dinheiro no caixa. Por que isso afeta a sua Arquitetura? Se você desenha uma arquitetura pensando em CAPEX (Mundo Físico) e a implementa em OPEX (Nuvem), você cria um desastre financeiro. No CAPEX , a estratégia de defesa é: "Superdimensionar para garantir estabilidade". (Compre o maior servidor possível). No OPEX , a estratégia de defesa é: "Elasticidade". (Comece com o menor servidor possível e configure para crescer sozinho  apenas  se necessário). 💸 Os 8 Cavaleiros do Apocalipse Financeiro na AWS Na nuvem, os maiores vilões raramente são tecnologias complexas de IA ou Big Data. Quase sempre são  decisões arquiteturais preguiçosas e falta de governança . 1. Instâncias "Just in Case": O Custo do Seguro Psicológico O sobredimensionamento é um vício comum: o desenvolvedor sobe uma instância  m5.2xlarge  (8 vCPUs, 32GB RAM) não porque a aplicação exige, mas porque ele "não quer ter dor de cabeça". É o provisionamento baseado no medo, criando uma margem de segurança gigantesca e cara para evitar qualquer risco hipotético de lentidão. A realidade nua e crua aparece no CloudWatch: na maior parte do tempo, essa supermáquina opera com apenas 12% de CPU e usa uma fração da memória. Pagar por uma  2xlarge  para rodar essa carga é como  fretar um ônibus de 50 lugares para levar apenas 4 pessoas ao trabalho  todos os dias. Você está pagando pelo "espaço vazio" e pelo motor potente do ônibus, enquanto um carro popular ( t3.medium ) faria o mesmo trajeto com o mesmo conforto e muito mais economia. 2. Ambientes Zumbis: A Torneira Aberta Fora do Expediente "Ambientes Zumbis" são servidores de Desenvolvimento e Homologação que operam como cópias fiéis da Produção, mas sem a audiência dela. Eles permanecem ligados e faturando às 3 da manhã de um domingo, consumindo recursos de nuvem para processar absolutamente nada. Manter esses servidores ligados 24/7 é o equivalente digital de  deixar o ar-condicionado de um escritório ligado no máximo durante todo o fim de semana , com o prédio completamente vazio. O impacto financeiro atua como um multiplicador de desperdício. Se você mantém três ambientes (Dev, Staging e Produção) com arquiteturas similares ligados ininterruptamente, seu custo base é  300% do necessário . A matemática é cruel: uma semana tem 168 horas, mas seus desenvolvedores trabalham apenas 40. Você está pagando por 128 horas de ociosidade pura por máquina, todas as semanas. A primeira cura para esse desperdício é o agendamento automático. Utilizando soluções como o  AWS Instance Scheduler  (ou Lambdas simples), configuramos os ambientes para "acordar" às 08:00 e "dormir" às 20:00, de segunda a sexta-feira. Apenas essa automação básica, sem alterar uma linha de código da aplicação, reduz a fatura desses ambientes não-produtivos em cerca de  70% . 3. O Esquecimento Crônico: O Custo do Limbo Um dos "pegadinhas" mais comuns da nuvem acontece no momento de desligar as luzes: quando você termina uma instância EC2, o senso comum diz que a cobrança para. O erro está em assumir que a máquina e o disco são uma peça única. Por padrão, ao "matar" o servidor, o volume de armazenamento (EBS) acoplado a ele muitas vezes sobrevive, entrando num estado de limbo financeiro. O resultado é o acúmulo de  EBS Órfãos : centenas de discos no estado "Available" (não atrelados a ninguém), cheios de dados inúteis ou completamente vazios, pelos quais você paga o preço cheio do gigabyte provisionado. É comparável a vender seu carro, mas esquecer de cancelar o aluguel da vaga de garagem: o veículo não existe mais, mas a cobrança pelo espaço que ele ocupava continua chegando todo mês na fatura. A situação piora com os  Elastic IPs (EIPs) , que possuem uma lógica de cobrança invertida e punitiva. Devido à escassez mundial de endereços IPv4, a AWS não cobra pelo IP enquanto você o utiliza, mas  começa a cobrar assim que ele fica ocioso . É como uma "multa por não uso": se você reserva um endereço IP e não o atrela a uma instância em execução, você paga por estar "segurando" um recurso escasso sem necessidade. 4. O Cemitério de Dados no S3 Buckets S3 tendem a virar "cemitérios digitais" onde logs, backups e assets se acumulam indefinidamente. O erro crucial não é guardar os dados, mas a falta de estratégia: manter 100% desse volume na classe  S3 Standard , pagando a tarifa mais alta da AWS por arquivos que ninguém acessa há meses. Para entender o prejuízo, imagine o  S3 Standard  como uma loja no corredor principal de um shopping: o aluguel é caríssimo porque o acesso é imediato e fácil ( baixa latência ). Manter logs de 2022 nessa classe é como alugar essa vitrine premium apenas para estocar caixas de papelão velhas. Dados "frios", que raramente são consultados, não precisam estar à mão em milissegundos; eles podem ficar num armazém mais distante e barato. A solução é o  S3 Lifecycle , que automatiza a logística desse "estoque". Primeiro, ele atua na  Transição : move automaticamente os dados que envelhecem da "vitrine" (Standard) para o "armazém" ( S3 Glacier ). No Glacier, você paga uma fração do preço, aceitando que o resgate do arquivo leve alguns minutos ou horas (maior latência), o que é aceitável para arquivos de auditoria ou backups antigos. Por fim, o Lifecycle resolve o acúmulo de lixo através da  Expiração . Além de mover dados, você configura regras para deletar objetos definitivamente após um período, como remover logs temporários após 7 dias. Isso garante a higiene do ambiente, impedindo que você pague aluguel (seja no shopping ou no armazém) por dados inúteis que não deveriam mais existir. 5. Snapshots: O Colecionador de Backups Fantasmas Backups são a apólice de seguro da sua infraestrutura, mas a facilidade de criar snapshots na AWS gera um comportamento perigoso de acumulação. O erro clássico é configurar uma automação de snapshot diário e definir a retenção para "nunca" ou prazos absurdos como 5 anos. Embora os snapshots sejam incrementais (salvando apenas o que mudou), em bancos de dados transacionais com muita escrita, o volume de dados alterados cresce rápido, e a fatura acompanha. Para visualizar o desperdício, imagine que você compra o jornal do dia para ler as notícias. É útil ter os jornais da última semana na mesa para referência rápida. Mas guardar uma pilha de jornais diários de  três anos atrás  na sua sala ocupa espaço valioso e custa dinheiro, sendo que a chance de você precisar saber a "cotação do dólar numa terça-feira específica de 2021" é praticamente nula. Você está pagando armazenamento premium por "jornais velhos" que não têm valor de negócio. 6. Licenciamento Comercial (O Custo Invisível) Muitas empresas focam tanto em otimizar CPU e RAM que esquecem o elefante na sala: o custo de software. Ao rodar instâncias com  Windows Server  ou  SQL Server Enterprise  na AWS no modelo "License Included", você não paga apenas pela infraestrutura; você paga uma sobretaxa pesada pelo direito de uso do software proprietário. Esse custo é embutido na tarifa por hora e, em máquinas grandes, a licença pode custar mais caro que o próprio hardware. Para ilustrar a desproporção, usar o  SQL Server Enterprise  para uma aplicação que não utiliza funcionalidades avançadas (como  Always On  complexo ou compressão de dados específica) é como  fretar um jato executivo apenas para ir comprar pão na padaria . O objetivo (armazenar e recuperar dados) é cumprido, mas você está pagando por um veículo de luxo quando uma bicicleta ou um Uber resolveria o problema com a mesma eficiência e uma fração do custo. A primeira camada de solução é a  Otimização de Edição . É comum desenvolvedores solicitarem a versão Enterprise por "garantia" ou hábito, sem necessidade técnica real. Uma auditoria simples muitas vezes revela que a versão  Standard atende a todos os requisitos da aplicação. Fazer esse  downgrade  reduz a fatura de licenciamento imediatamente, sem exigir mudanças drásticas na arquitetura ou no código. 7. Dilema Geográfico: Reduzindo a Fatura pela Metade Hospedar aplicações na região  sa-east-1  (São Paulo) carrega um ágio pesado: o "Custo Brasil" digital faz com que a infraestrutura local custe, cerca de  50% a mais  do que na  us-east-1  (N. Virgínia). Migrar workloads para os EUA é, frequentemente, a manobra de FinOps com maior retorno imediato (ROI): você corta a fatura desses recursos praticamente pela  metade  apenas alterando o CEP do servidor, acessando o mesmo hardware por uma fração do preço. O principal bloqueador costuma ser o medo da  LGPD , mas a crença de que a lei exige residência física dos dados no Brasil é um  mito . O Artigo 33 permite a transferência internacional para países com proteção adequada (como os EUA), desde que coberto por contratos padrão. A legislação foca na  segurança e privacidade  do dado, não na sua latitude e longitude geográfica. Quanto à técnica, a latência para a Virgínia (~120ms) é imperceptível para a maioria das aplicações web, sistemas internos e dashboards. A estratégia inteligente é adotar uma região como US East como padrão  para maximizar a economia, reservando São Paulo apenas para exceções que realmente exigem resposta em tempo real (como High Frequency Trading), evitando pagar preço de "primeira classe" para cargas de trabalho que rodariam perfeitamente na econômica. 8. Serverless: A Faca de Dois Gumes "Serverless" é computação sem gestão de infraestrutura (como AWS Lambda ou DynamoDB). Diferente de alugar um servidor fixo mensal, aqui você paga apenas pelos milissegundos que seu código executa ou pelo dado que você lê. É como a conta de luz: você só paga se o interruptor estiver ligado. A Estratégia:  Para uso esporádico, é imbatível. Mas e para uso constante? Também pode ser uma excelente escolha! Embora a fatura de infraestrutura possa vir mais alta do que em servidores tradicionais, você elimina o trabalho pesado de manutenção. Muitas vezes, é financeiramente mais inteligente  pagar um pouco mais para a AWS do que custear horas de engenharia  ou contratar uma equipe dedicada apenas para gerenciar servidores, aplicar patches de segurança e configurar escalas. O segredo é olhar para o Custo Total (TCO), e não apenas para a linha de processamento na fatura. 🕵️‍♂️ FinOps: Engenharia Financeira na Prática FinOps não é apenas sobre "pedir desconto" ou cortar gastos; é a mudança cultural que descentraliza a responsabilidade do custo, empoderando engenheiros a tomar decisões baseadas em dados, não em palpites. Para que essa cultura saia do papel, ela precisa se apoiar em um tripé de governança robusto: a  visibilidade granular  garantida pelo tageamento correto (saber  quem  gasta), a  segurança operacional  monitorada pelo AWS Budgets (saber  quando  gasta) e a  eficiência financeira  obtida através dos Modelos de Compra inteligentes (saber  como  pagar). Sem integrar essas três frentes, a nuvem deixa de ser um acelerador de inovação para se tornar um passivo financeiro descontrolado. 1. TAGs: Sem Etiquetas, Sem Dados 🏷️ No AWS Cost Explorer, uma infraestrutura sem tags opera como uma "caixa preta" financeira: você encara uma fatura de $50.000, mas é incapaz de discernir se o rombo veio de um modelo crítico de Data Science ou de um cluster Kubernetes esquecido por um estagiário. Utiliza tags como  custo:centro ,  app:nome ,  env  e  dono  no momento dos recursos transformara números genéricos em rastreáveis, permitindo que cada centavo gasto tenha um responsável atrelado, eliminando definitivamente a cultura de que "o custo da nuvem não é problema meu". 2. AWS Budgets e Detecção de Anomalias 🚨 Não espere o fim do mês. Configure o  AWS Budgets  para alertar quando o custo  projetado  (forecasted) ultrapassar o limite. Dica:  Ative o  Cost Anomaly Detection . Ele usa Machine Learning para identificar picos anormais. Exemplo:  Um deploy errado fez a cahamada para um Lambda entrar em loop infinito. O Anomaly Detection te avisa em horas, não no fim do mês. 3. Modelos de Compra: O Fim do On-Demand 💸 Operar 100% em  On-Demand  é pagar voluntariamente um "imposto sobre a falta de planejamento". A maturidade em FinOps exige abandonar o preço de varejo e adotar um mix estratégico: cubra sua carga de trabalho base (aquela que roda 24/7) com  Savings Plans , que oferecem descontos de até  72%  em troca de fidelidade, e mova cargas tolerantes a interrupções, como processamento de dados e pipelines de CI/CD, para  Spot Instances , aproveitando a capacidade ociosa da AWS por até  10% do valor original . Ignorar essa estratégia e manter tudo no On-Demand é uma decisão consciente de desperdiçar orçamento que poderia ser reinvestido em inovação. 🧠 Dev Assina o Código e o Cheque No mundo On-Premise, um código ruim apenas deixava o sistema lento. Na Nuvem,  código ineficiente gera uma fatura imediata . A barreira entre Engenharia e Financeiro desapareceu: cada linha de código é uma decisão de compra executada em tempo real. O desenvolvedor não consome apenas CPU, ele consome o orçamento da empresa. Para entender o impacto, veja o preço das más práticas: O Custo da Leitura:  Uma query sem " WHERE " ou um  Full Table Scan  no DynamoDB não é apenas um problema de performance; você está pagando unidades de leitura para ler milhares de linhas inúteis. É como comprar a biblioteca inteira para ler uma única página. O Custo da Ineficiência:  Um código com vazamento de memória engana o  Auto Scaling . O sistema provisiona 10 servidores para fazer o trabalho de 2, desperdiçando dinheiro para compensar código ruim. O Custo do Ruído:  Logs em modo  VERBOSE  esquecidos em produção são vilões. O CloudWatch cobra caro pela ingestão. Enviar gigabytes de "log de lixo" é literalmente pagar frete aéreo para transportar entulho. A Cultura de Engenharia Consciente de Custos: Estimativa no Refinamento:  O custo deve ser debatido  antes  do código existir. Durante o Refinamento, ao definir a arquitetura, faça a pergunta:  "Quais recursos vamos usar e quanto isso vai custar com a volumetria esperada?" . Se a solução técnica custa $1.000 para economizar $50 de esforço manual, ela deve ser vetada ali mesmo. Feedback Loop:  O desenvolvedor precisa ver quanto o serviço dele custa. Painéis do Grafana ou Datadog devem mostrar não só a latência da API, mas o custo diário dela. Só existe responsabilidade quando existe consciência do preço. Cerimônia de Custo (FinOps Review):  Estabeleça uma reunião recorrente dedicada a olhar o  "Extrato da Conta" . O time analisa os custos atuais, investiga picos não planejados da semana anterior e discute ativamente:  "Existe alguma oportunidade de desligar recursos ou otimizar este serviço agora?" . É a higiene financeira mantendo o projeto saudável. 🌐 O Mundo Híbrido e Multicloud: Complexidade é Custo Nem tudo precisa ir para a AWS, e nem tudo deve sair do seu Data Center local. A maturidade em nuvem não significa "desligar tudo o que é físico", mas sim saber onde cada peça do jogo custa menos. Empresas podem operam em modelos híbridos estratégicos: O Lugar do Legado (On-Premise):  Aquele banco de dados gigante ou mainframe que já está quitado, não cresce mais e roda de forma previsível?  Deixe onde está.  Migrar esses monstros para a nuvem apenas copiando e colando ("Lift-and-Shift") costuma ser um desastre financeiro. Na nuvem, você paga caro por performance de disco (IOPS) e memória que, no seu servidor físico, já são "gratuitos". O Lugar da Inovação (Nuvem):  Seu site, aplicativos móveis e APIs que precisam aguentar milhões de acessos num dia e zero no outro? Leve para a nuvem. Lá você paga pela  elasticidade  e pelo alcance global que o servidor físico não consegue entregar. Cuidado com a Armadilha Multicloud Muitos gestores caem na tentação de usar AWS, Azure e Google Cloud ao mesmo tempo sob o pretexto de "evitar ficar preso a um fornecedor" (Vendor Lock-in). Na prática, para a maioria das empresas, isso  triplica o custo operacional . Você precisará de equipes especialistas em três plataformas diferentes, perderá descontos por volume (diluindo seu gasto) e pagará taxas altíssimas de transferência de dados (Egress) para fazer as nuvens conversarem entre si. Complexidade técnica é, invariavelmente, custo financeiro. Como gerenciar essa infraestrutura sem perder o controle? O uso de ferramentas como  Terraform  ou  OpenTofu . Com elas, criar um servidor não é mais clicar em botões numa tela, mas sim escrever um arquivo de texto (código). Isso habilita a  Revisão de Código Financeira : Um desenvolvedor propõe uma mudança no código da infraestrutura. Antes de aprovar, o time revisa num "Pull Request". A pergunta muda de  "O código está certo?"  para  "Por que você alterou a máquina de  micro  para  extra-large ?" . O Code Review de infraestrutura torna-se a primeira e mais barata linha de defesa do FinOps, barrando gastos desnecessários antes mesmo que eles sejam criados. Conclusão: A Nuvem não é um Destino, é um Modelo Econômico Migrar para a nuvem não é apenas trocar de servidor; é adotar um novo paradigma operacional e financeiro. Tratar a AWS como um "datacenter glorificado" é o caminho mais rápido para transformar a inovação em prejuízo: ao fazer isso, você acaba pagando a diária de um hotel cinco estrelas apenas para estocar caixas de papelão que poderiam estar num depósito simples. A virada de chave acontece na cultura. Comece pelo básico bem feito: aplique Tags rigorosamente, automatize a limpeza de recursos e traga o custo para o centro das decisões de arquitetura. Lembre-se que, neste novo mundo, a excelência técnica é inseparável da eficiência financeira:  o melhor código não é apenas o que funciona, é o que entrega valor máximo consumindo o mínimo de orçamento. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Ed Wantuil Follow Meu objetivo é compartilhar conhecimento, criar soluções e ajudar outras pessoas a evoluírem na carreira de tecnologia. Location Brasil Joined Dec 15, 2023 More from Ed Wantuil Java 25: tudo que mudou desde o Java 21 em um guia prático # java # braziliandevs # java25 # jvm 10 Passos Para Conduzir um Pós-Mortem Que Realmente Evita Novos Incidentes # devops # incidentes # crises # dev Top 5 Vacilos que Desenvolvedores Cometem em uma Crise (e como evitar) # devops # postmortem # deploydesexta 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/ravish2403/the-rise-of-low-code-and-no-code-development-4m0
The Rise of Low-Code and No-Code Development - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Ravish Kumar Posted on Jan 11 The Rise of Low-Code and No-Code Development # beginners # productivity # softwaredevelopment # tooling Software development has traditionally been a specialized skill that required years of learning and hands-on experience. Building applications meant writing extensive code, understanding frameworks, and managing complex systems. In recent years, low-code and no-code development platforms have begun to change this reality by making application development more accessible and faster for a wider range of people. Understanding Low-Code and No-Code Development Low-code and no-code platforms are designed to simplify the process of building software. Instead of writing code for every feature, users work with visual interfaces, pre-built components, and automated workflows. No-code platforms allow people with little or no technical background to create functional applications, while low-code platforms offer the flexibility to add custom code when needed. Both approaches focus on reducing complexity while still delivering practical solutions. Why These Platforms Are Gaining Popularity The demand for software has increased dramatically as businesses rely more on digital tools for daily operations. At the same time, there is a shortage of skilled developers, and traditional development methods can be time-consuming and expensive. Low-code and no-code platforms help bridge this gap by enabling faster development with fewer technical resources. Organizations can build applications quickly and adapt them as requirements change. Faster Development and Time-to-Market One of the biggest advantages of low-code and no-code development is the speed at which applications can be created. Traditional development often involves long planning, coding, and testing phases. With visual builders and ready-made features, applications can be developed and deployed in a much shorter time. This faster time-to-market allows businesses to experiment, gather feedback, and improve products without long delays. Empowering Non-Technical Users Low-code and no-code platforms give non-technical users the ability to turn their ideas into working applications. People who understand business workflows or customer needs can design tools that solve real problems without depending entirely on development teams. This reduces bottlenecks, improves collaboration between teams, and encourages innovation across the organization. Where Low-Code and No-Code Work Best These platforms are commonly used for internal tools, workflow automation, dashboards, and simple web or mobile applications. They are particularly useful when speed and ease of development are more important than deep technical customization. However, for highly complex systems that require advanced performance tuning or unique architecture, traditional development approaches are often more suitable. Limitations and Challenges Despite their advantages, low-code and no-code platforms are not without challenges. Customization can be limited, making it difficult to implement highly specific features. Scalability can also become an issue as applications grow. Another concern is vendor dependency, as applications are often tightly linked to the platform on which they are built. Security and compliance must also be carefully considered, especially for applications handling sensitive data. Impact on Professional Developers Rather than replacing developers, low-code and no-code platforms change how developers work. Developers can focus more on complex logic, system architecture, security, and performance, while routine tasks are handled through visual tools. This shift allows development teams to be more efficient and deliver higher-value solutions. The Future of Low-Code and No-Code Development As these platforms continue to evolve, they are becoming more powerful and flexible. The integration of artificial intelligence, automation, and advanced API support is expanding what can be built with low-code and no-code tools. In the future, software development is likely to combine traditional coding with visual development, creating a more balanced and efficient approach. Conclusion The rise of low-code and no-code development represents a major shift in the software industry. By lowering technical barriers and speeding up development, these platforms enable more people to participate in building digital solutions. While they are not suitable for every use case, they have become an important part of modern software development and will continue to shape how applications are built in the years ahead. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Ravish Kumar Follow Software Developer Location Noida, Uttar Pradesh Joined Dec 31, 2025 More from Ravish Kumar Why APIs Are the Backbone of Modern Applications # api # softwaredevelopment # webdev Cloud Computing: Powering the Digital World from Anywhere # beginners # cloud # cloudcomputing 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/beck_moulton/stop-sending-sensitive-data-to-the-cloud-build-a-local-first-mental-health-ai-with-webllm-5100#conclusion
Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Beck_Moulton Posted on Jan 13 Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM # privacy # typescript # webgpu # webllm In an era where data breaches are common, privacy in Edge AI has moved from a "nice-to-have" to a "must-have," especially in sensitive fields like healthcare. If you've ever worried about your private conversations being used to train a massive corporate model, you're not alone. Today, we are exploring the frontier of Privacy-preserving AI by building a medical Q&A bot that runs entirely on the client side. By leveraging WebLLM , WebGPU , and TVM Unity , we can now execute large language models directly in the browser. This means the dialogue never leaves the user's device, providing a truly decentralized and secure experience. For those looking to scale these types of high-performance implementations, I highly recommend checking out the WellAlly Tech Blog for more production-ready patterns on enterprise-grade AI deployment. The Architecture: Why WebGPU? Traditional AI apps send a request to a server (Python/FastAPI), which queries a GPU (NVIDIA A100), and sends a JSON response back. This "Client-Server" model is the privacy killer. Our "Local-First" approach uses WebGPU , the next-gen graphics API for the web, to tap into the user's hardware directly. graph TD subgraph User_Device [User Browser / Device] A[React UI Layer] -->|Dispatch| B[WebLLM Worker] B -->|Request Execution| C[TVM Unity Runtime] C -->|Compute Kernels| D[WebGPU API] D -->|Inference| E[VRAM / GPU Hardware] E -->|Streaming Text| B B -->|State Update| A end F((Public Internet)) -.->|Static Assets & Model Weights| A F -.->|NO PRIVATE DATA SENT| A Enter fullscreen mode Exit fullscreen mode Prerequisites Before we dive in, ensure you have a browser that supports WebGPU (Chrome 113+ or Edge). Framework : React (Vite template) Language : TypeScript AI Engine : @mlc-ai/web-llm Core Tech : WebGPU & TVM Unity Step 1: Initializing the Engine Running an LLM in a browser requires significant memory management. We use a Web Worker to ensure the UI doesn't freeze while the model is "thinking." // engine.ts import { CreateMLCEngine , MLCEngineConfig } from " @mlc-ai/web-llm " ; const modelId = " Llama-3-8B-Instruct-v0.1-q4f16_1-MLC " ; // Lightweight quantized model export async function initializeEngine ( onProgress : ( p : number ) => void ) { const engine = await CreateMLCEngine ( modelId , { initProgressCallback : ( report ) => { onProgress ( Math . round ( report . progress * 100 )); console . log ( report . text ); }, }); return engine ; } Enter fullscreen mode Exit fullscreen mode Step 2: Creating the Privacy-First Chat Hook In a medical context, the system prompt is critical. We need to instruct the model to behave as a supportive assistant while maintaining strict safety boundaries. // useChat.ts import { useState } from ' react ' ; import { initializeEngine } from ' ./engine ' ; export const useChat = () => { const [ engine , setEngine ] = useState < any > ( null ); const [ messages , setMessages ] = useState < { role : string , content : string }[] > ([]); const startConsultation = async () => { const instance = await initializeEngine (( p ) => console . log ( `Loading: ${ p } %` )); setEngine ( instance ); // Set the System Identity for Mental Health await instance . chat . completions . create ({ messages : [{ role : " system " , content : " You are a private, empathetic mental health assistant. Your goal is to listen and provide support. You do not store data. If a user is in danger, provide emergency resources immediately. " }], }); }; const sendMessage = async ( input : string ) => { const newMessages = [... messages , { role : " user " , content : input }]; setMessages ( newMessages ); const reply = await engine . chat . completions . create ({ messages : newMessages , }); setMessages ([... newMessages , reply . choices [ 0 ]. message ]); }; return { messages , sendMessage , startConsultation }; }; Enter fullscreen mode Exit fullscreen mode Step 3: Optimizing for Performance (TVM Unity) The magic behind WebLLM is TVM Unity , which compiles models into highly optimized WebGPU kernels. This allows us to run models like Llama-3 or Mistral at impressive tokens-per-second on a standard Macbook or high-end Windows laptop. If you are dealing with advanced production scenarios—such as model sharding or custom quantization for specific medical datasets—the team at WellAlly Tech has documented extensive guides on optimizing WebAssembly runtimes for maximum throughput. Step 4: Building the React UI A simple, clean interface is best for mental health applications. We want the user to feel calm and secure. // ChatComponent.tsx import React , { useState } from ' react ' ; import { useChat } from ' ./useChat ' ; export const MentalHealthBot = () => { const { messages , sendMessage , startConsultation } = useChat (); const [ input , setInput ] = useState ( "" ); return ( < div className = "p-6 max-w-2xl mx-auto border rounded-xl shadow-lg bg-white" > < h2 className = "text-2xl font-bold mb-4" > Shielded Mind AI 🛡️ </ h2 > < p className = "text-sm text-gray-500 mb-4" > Status: < span className = "text-green-500" > Local Only (Encrypted by Hardware) </ span ></ p > < div className = "h-96 overflow-y-auto mb-4 p-4 bg-gray-50 rounded" > { messages . map (( m , i ) => ( < div key = { i } className = { `mb-2 ${ m . role === ' user ' ? ' text-blue-600 ' : ' text-gray-800 ' } ` } > < strong > { m . role === ' user ' ? ' You: ' : ' AI: ' } </ strong > { m . content } </ div > )) } </ div > < div className = "flex gap-2" > < input className = "flex-1 border p-2 rounded" value = { input } onChange = { ( e ) => setInput ( e . target . value ) } placeholder = "How are you feeling today?" /> < button onClick = { () => { sendMessage ( input ); setInput ( "" ); } } className = "bg-purple-600 text-white px-4 py-2 rounded hover:bg-purple-700" > Send </ button > </ div > < button onClick = { startConsultation } className = "mt-4 text-xs text-gray-400 underline" > Initialize Secure WebGPU Engine </ button > </ div > ); }; Enter fullscreen mode Exit fullscreen mode Challenges & Solutions Model Size : Downloading a 4GB-8GB model to a browser is the biggest hurdle. Solution : Use IndexedDB caching so the user only downloads the model once. VRAM Limits : Mobile devices may struggle with large context windows. Solution : Implement sliding window attention and aggressive 4-bit quantization. Cold Start : The initial "Loading" phase can take time. Solution : Use a skeleton screen and explain that this process ensures their privacy. Conclusion By moving the "brain" of our AI from the cloud to the user's browser, we've created a psychological safe space that is literally impossible for hackers to intercept at the server level. WebLLM and WebGPU are turning browsers into powerful AI engines. Want to dive deeper into Edge AI security , LLM Quantization , or WebGPU performance tuning ? Head over to the WellAlly Tech Blog where we break down the latest advancements in local-first software architecture. What do you think? Would you trust a local-only AI more than ChatGPT for sensitive topics? Let me know in the comments below! 👇 Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Beck_Moulton Follow Joined Aug 22, 2022 More from Beck_Moulton Private & Fast: Building a Browser-Based Dermatology Screener with WebLLM and WebGPU # privacy # ai # web # webdev Federated Learning or Bust: Architecting Privacy-First Health AI # machinelearning # architecture # privacy # devops Why Your Health Data Belongs on Your Device (Not the Cloud): A Local-First Manifesto # architecture # privacy # offlinefirst # database 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/jwebsite-go/sinie-zielienoie-razviertyvaniie-na-eks-14e3#%D1%81%D0%B0%D0%BC%D0%BE-%D1%80%D0%B0%D0%B7%D0%B2%D0%B5%D1%80%D1%82%D1%8B%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5-%D1%81%D0%B8%D0%BD%D0%B8%D0%B9-%E2%86%92-%D0%B7%D0%B5%D0%BB%D0%B5%D0%BD%D1%8B%D0%B9
Сине-зеленое развертывание на EKS - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Khadijah (Dana Ordalina) Posted on Jan 9 Сине-зеленое развертывание на EKS # eks # aws # bluegreen # programming EKS = Управляемый Kubernetes от Amazon Web Services EKS предоставляет вам: Управляющая плоскость ** Kubernetes** (API-сервер, планировщик). AWS управляет этим за вас. Вам всё ещё необходимо: Рабочие узлы (EC2) → для запуска подов kubectl **→ для связи с кластером **YAML → для указания Kubernetes, что нужно запустить. Очень важная ментальная модель _`Your laptop (kubectl) | v EKS API Server (managed by AWS) | v Worker Nodes (EC2) → Pods → Containers`_ Enter fullscreen mode Exit fullscreen mode Подключаться к узлам по SSH НИКОГДА нельзя. Шаг 1 — Создайте EKS вручную (через консоль AWS, без использования инструментов). 1. Откройте консоль AWS → EKS Выберите регион (например: us-east-1) Нажмите «Создать кластер» . 2. Конфигурация кластера Заполнять только: Имя * : bluegreen-demo * Версия Kubernetes : по умолчанию Роль кластерной службы * : Если AWS отображает её, выберите её. Если нет, нажмите * «Создать роль» (AWS создаст её автоматически). Нажмите Далее 3. Сетевое взаимодействие Использовать значения по умолчанию : VPC по умолчанию Как минимум 2 подсети Доступ к общедоступной конечной точке Нажмите « Создать ». ⏳ Дождитесь активации В этот момент: Kubernetes существует НО пока ничего не может бежать Шаг 2 — Создание рабочих узлов (ЭТО создаст EC2) Зачем нам это нужно Kubernetes размещает поды на узлах . Нет узлов = нет подов. Создать группу узлов Внутри вашего кластера: Перейдите в раздел «Вычисления» → «Добавить группу узлов». Наполнять: Имя: bg-nodes Роль IAM: создать/выбрать роль работника по умолчанию Настройки узла: Тип экземпляра:t3.medium Желательно: 2 Мин.: 2 Макс.: 3 Создать группу узлов → дождаться активации Теперь EC2 существует автоматически. Шаг 3 — Подключите kubectl (так работает DevOps) С вашего ноутбука: aws eks update-kubeconfig \ --region us-east-1 \ --name bluegreen-demo Enter fullscreen mode Exit fullscreen mode Проверять: kubectl get nodes Enter fullscreen mode Exit fullscreen mode Если вы видите узлы → значит, вы соединены. Впредь: Консоль AWS практически неактуальна. Всё делается с помощью kubectl Почему существуют стратегии развертывания (ОЧЕНЬ ВАЖНО) До Kubernetes (старый мир) Остановить приложение Развернуть новую версию Запустите приложение снова. Пользователи видят время простоя Откат происходит медленно. Проблемы, с которыми сталкивался DevOps Простои во время развертывания Пользователи получают ошибки Быстрый откат недоступен. Страх перед развертыванием войск Проблема с Kubernetes решена: - Капсулы - Услуги - Самоисцеление Однако стратегия развертывания определяет, как будет перемещаться трафик. Именно поэтому * существуют стратегии развертывания * . Что такое сине-зеленая стратегия (в простом виде)? Сине-зеленый = две версии, работающие одновременно. Синий → текущее производство Зеленый → новая версия, протестирована Транспортный поток резко меняет направление движения. Отсутствие частичного трафика. Отсутствие замедления развертывания. Почему сине-зеленый цвет используется в DevOps Преимущества Отсутствие простоев Мгновенный откат Безопасные релизы Легко понять Предсказуемое поведение Когда DevOps выбирает сине-зеленый подход Критические приложения API Финансовые системы Внутренние платформы Когда неудача обходится дорого Как работает принцип «сине-зеленого» взаимодействия в Kubernetes (простая истина) Kubernetes уже предоставляет нам такой инструмент: 👉 Сервис Решение принимает служба: «Какие модули посещают пользователи?» Сине-зеленый = * изменить селектор услуги * Вот и все. Внедрение сине-зеленого подхода (с нуля) 1️⃣ Развертывание Blue (версия 1 – в рабочем режиме) apiVersion: apps/v1 kind: Deployment metadata: name: app-blue spec: replicas: 2 selector: matchLabels: app: demo color: blue template: metadata: labels: app: demo color: blue spec: containers: - name: app image: hashicorp/http-echo:0.2.3 args: ["-text=BLUE v1"] ports: - containerPort: 5678 Enter fullscreen mode Exit fullscreen mode 2️⃣ Экологичное развертывание (версия 2 – не запущена) apiVersion: apps/v1 kind: Deployment metadata: name: app-green spec: replicas: 2 selector: matchLabels: app: demo color: green template: metadata: labels: app: demo color: green spec: containers: - name: app image: hashicorp/http-echo:0.2.3 args: ["-text=GREEN v2"] ports: - containerPort: 5678 Enter fullscreen mode Exit fullscreen mode 3️⃣ Сервис (производственный трафик) apiVersion: v1 kind: Service metadata: name: prod-svc spec: selector: app: demo color: blue # LIVE VERSION ports: - port: 80 targetPort: 5678 Это переключатель управления . Разверните всё kubectl apply -f blue.yaml kubectl apply -f green.yaml kubectl apply -f service.yaml Enter fullscreen mode Exit fullscreen mode Трафик → СИНИЙ Само развертывание (синий → зеленый) Измените одну строку: color: green Enter fullscreen mode Exit fullscreen mode Подайте заявку снова: kubectl apply -f service.yaml Enter fullscreen mode Exit fullscreen mode Транспортный поток мгновенно переключается. Перезагрузка Pod не требуется. Простой отсутствует. Откат (безопасность DevOps) Вернитесь назад: color: blue Enter fullscreen mode Exit fullscreen mode Применить → откат завершен. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Khadijah (Dana Ordalina) Follow DevOps Engineer. AWS, Terraform, Docker and CI/CD. Building real projects and sharing my DevOps journey. Location United States Work DevOps Engineer Joined Dec 20, 2025 More from Khadijah (Dana Ordalina) Readiness probe # aws # kubernetes # beginners # devops Kubernetes #1 # kubernetes # nginx # docker # programming 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/beck_moulton/stop-sending-sensitive-data-to-the-cloud-build-a-local-first-mental-health-ai-with-webllm-5100#main-content
Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Beck_Moulton Posted on Jan 13 Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM # privacy # typescript # webgpu # webllm In an era where data breaches are common, privacy in Edge AI has moved from a "nice-to-have" to a "must-have," especially in sensitive fields like healthcare. If you've ever worried about your private conversations being used to train a massive corporate model, you're not alone. Today, we are exploring the frontier of Privacy-preserving AI by building a medical Q&A bot that runs entirely on the client side. By leveraging WebLLM , WebGPU , and TVM Unity , we can now execute large language models directly in the browser. This means the dialogue never leaves the user's device, providing a truly decentralized and secure experience. For those looking to scale these types of high-performance implementations, I highly recommend checking out the WellAlly Tech Blog for more production-ready patterns on enterprise-grade AI deployment. The Architecture: Why WebGPU? Traditional AI apps send a request to a server (Python/FastAPI), which queries a GPU (NVIDIA A100), and sends a JSON response back. This "Client-Server" model is the privacy killer. Our "Local-First" approach uses WebGPU , the next-gen graphics API for the web, to tap into the user's hardware directly. graph TD subgraph User_Device [User Browser / Device] A[React UI Layer] -->|Dispatch| B[WebLLM Worker] B -->|Request Execution| C[TVM Unity Runtime] C -->|Compute Kernels| D[WebGPU API] D -->|Inference| E[VRAM / GPU Hardware] E -->|Streaming Text| B B -->|State Update| A end F((Public Internet)) -.->|Static Assets & Model Weights| A F -.->|NO PRIVATE DATA SENT| A Enter fullscreen mode Exit fullscreen mode Prerequisites Before we dive in, ensure you have a browser that supports WebGPU (Chrome 113+ or Edge). Framework : React (Vite template) Language : TypeScript AI Engine : @mlc-ai/web-llm Core Tech : WebGPU & TVM Unity Step 1: Initializing the Engine Running an LLM in a browser requires significant memory management. We use a Web Worker to ensure the UI doesn't freeze while the model is "thinking." // engine.ts import { CreateMLCEngine , MLCEngineConfig } from " @mlc-ai/web-llm " ; const modelId = " Llama-3-8B-Instruct-v0.1-q4f16_1-MLC " ; // Lightweight quantized model export async function initializeEngine ( onProgress : ( p : number ) => void ) { const engine = await CreateMLCEngine ( modelId , { initProgressCallback : ( report ) => { onProgress ( Math . round ( report . progress * 100 )); console . log ( report . text ); }, }); return engine ; } Enter fullscreen mode Exit fullscreen mode Step 2: Creating the Privacy-First Chat Hook In a medical context, the system prompt is critical. We need to instruct the model to behave as a supportive assistant while maintaining strict safety boundaries. // useChat.ts import { useState } from ' react ' ; import { initializeEngine } from ' ./engine ' ; export const useChat = () => { const [ engine , setEngine ] = useState < any > ( null ); const [ messages , setMessages ] = useState < { role : string , content : string }[] > ([]); const startConsultation = async () => { const instance = await initializeEngine (( p ) => console . log ( `Loading: ${ p } %` )); setEngine ( instance ); // Set the System Identity for Mental Health await instance . chat . completions . create ({ messages : [{ role : " system " , content : " You are a private, empathetic mental health assistant. Your goal is to listen and provide support. You do not store data. If a user is in danger, provide emergency resources immediately. " }], }); }; const sendMessage = async ( input : string ) => { const newMessages = [... messages , { role : " user " , content : input }]; setMessages ( newMessages ); const reply = await engine . chat . completions . create ({ messages : newMessages , }); setMessages ([... newMessages , reply . choices [ 0 ]. message ]); }; return { messages , sendMessage , startConsultation }; }; Enter fullscreen mode Exit fullscreen mode Step 3: Optimizing for Performance (TVM Unity) The magic behind WebLLM is TVM Unity , which compiles models into highly optimized WebGPU kernels. This allows us to run models like Llama-3 or Mistral at impressive tokens-per-second on a standard Macbook or high-end Windows laptop. If you are dealing with advanced production scenarios—such as model sharding or custom quantization for specific medical datasets—the team at WellAlly Tech has documented extensive guides on optimizing WebAssembly runtimes for maximum throughput. Step 4: Building the React UI A simple, clean interface is best for mental health applications. We want the user to feel calm and secure. // ChatComponent.tsx import React , { useState } from ' react ' ; import { useChat } from ' ./useChat ' ; export const MentalHealthBot = () => { const { messages , sendMessage , startConsultation } = useChat (); const [ input , setInput ] = useState ( "" ); return ( < div className = "p-6 max-w-2xl mx-auto border rounded-xl shadow-lg bg-white" > < h2 className = "text-2xl font-bold mb-4" > Shielded Mind AI 🛡️ </ h2 > < p className = "text-sm text-gray-500 mb-4" > Status: < span className = "text-green-500" > Local Only (Encrypted by Hardware) </ span ></ p > < div className = "h-96 overflow-y-auto mb-4 p-4 bg-gray-50 rounded" > { messages . map (( m , i ) => ( < div key = { i } className = { `mb-2 ${ m . role === ' user ' ? ' text-blue-600 ' : ' text-gray-800 ' } ` } > < strong > { m . role === ' user ' ? ' You: ' : ' AI: ' } </ strong > { m . content } </ div > )) } </ div > < div className = "flex gap-2" > < input className = "flex-1 border p-2 rounded" value = { input } onChange = { ( e ) => setInput ( e . target . value ) } placeholder = "How are you feeling today?" /> < button onClick = { () => { sendMessage ( input ); setInput ( "" ); } } className = "bg-purple-600 text-white px-4 py-2 rounded hover:bg-purple-700" > Send </ button > </ div > < button onClick = { startConsultation } className = "mt-4 text-xs text-gray-400 underline" > Initialize Secure WebGPU Engine </ button > </ div > ); }; Enter fullscreen mode Exit fullscreen mode Challenges & Solutions Model Size : Downloading a 4GB-8GB model to a browser is the biggest hurdle. Solution : Use IndexedDB caching so the user only downloads the model once. VRAM Limits : Mobile devices may struggle with large context windows. Solution : Implement sliding window attention and aggressive 4-bit quantization. Cold Start : The initial "Loading" phase can take time. Solution : Use a skeleton screen and explain that this process ensures their privacy. Conclusion By moving the "brain" of our AI from the cloud to the user's browser, we've created a psychological safe space that is literally impossible for hackers to intercept at the server level. WebLLM and WebGPU are turning browsers into powerful AI engines. Want to dive deeper into Edge AI security , LLM Quantization , or WebGPU performance tuning ? Head over to the WellAlly Tech Blog where we break down the latest advancements in local-first software architecture. What do you think? Would you trust a local-only AI more than ChatGPT for sensitive topics? Let me know in the comments below! 👇 Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Beck_Moulton Follow Joined Aug 22, 2022 More from Beck_Moulton Private & Fast: Building a Browser-Based Dermatology Screener with WebLLM and WebGPU # privacy # ai # web # webdev Federated Learning or Bust: Architecting Privacy-First Health AI # machinelearning # architecture # privacy # devops Why Your Health Data Belongs on Your Device (Not the Cloud): A Local-First Manifesto # architecture # privacy # offlinefirst # database 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/rails/page/4
Ruby on Rails Page 4 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Ruby on Rails Follow Hide Ruby on Rails is a popular web framework that happens to power dev.to ❤️ Create Post about #rails Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. It was released in 2005 and powers websites like GitHub, Basecamp, and many others. The framework and community prides itself on developer experience, sensible abstractions and empowering individual developers to accomplish a lot. Older #rails posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Tired of Rails one-off scripts becoming a nightmare? I built something for that. Abd El-latif Abd El-latif Abd El-latif Follow Nov 17 '25 Tired of Rails one-off scripts becoming a nightmare? I built something for that. # ruby # rails 4  reactions Comments Add Comment 2 min read I built a Rails UI library with Tailwind CSS & Stimulus JS (now at 48 component sets with 260+ examples) Alexandru Golovatenco Alexandru Golovatenco Alexandru Golovatenco Follow Nov 21 '25 I built a Rails UI library with Tailwind CSS & Stimulus JS (now at 48 component sets with 260+ examples) # webdev # rails # ruby # tailwindcss 1  reaction Comments 2  comments 2 min read The Solution to Rails schema.sql Fickleness: BetterStructureSql Mashraf Aiman Mashraf Aiman Mashraf Aiman Follow Nov 21 '25 The Solution to Rails schema.sql Fickleness: BetterStructureSql # ruby # tooling # rails # database 15  reactions Comments 1  comment 4 min read Update favicon with badge using custom turbo streams in Rails Rails Designer Rails Designer Rails Designer Follow Nov 20 '25 Update favicon with badge using custom turbo streams in Rails # rails # ruby # hotwire # webdev 8  reactions Comments 1  comment 3 min read Guide on Rhino's Notifications Module Alireza Nourbakhsh Alireza Nourbakhsh Alireza Nourbakhsh Follow Oct 28 '25 Guide on Rhino's Notifications Module # ruby # rails # programming # vibecoding 3  reactions Comments Add Comment 12 min read Why I'm Still Using jQuery in 2025 (Never gonna give you up) Braden King Braden King Braden King Follow Nov 7 '25 Why I'm Still Using jQuery in 2025 (Never gonna give you up) # rails # jquery # javascript # webdev Comments Add Comment 5 min read Competências Essenciais para um Desenvolvedor Ruby on Rails Alef Ojeda de Oliveira Alef Ojeda de Oliveira Alef Ojeda de Oliveira Follow Nov 17 '25 Competências Essenciais para um Desenvolvedor Ruby on Rails # ruby # rails # dev # programmers 1  reaction Comments Add Comment 2 min read Deploy Rails apps for $5/month Samuel G. Samuel G. Samuel G. Follow Nov 15 '25 Deploy Rails apps for $5/month # rails # ruby # devops 1  reaction Comments 2  comments 5 min read 5 Strategies for Random Records from DB kinvoki kinvoki kinvoki Follow Nov 3 '25 5 Strategies for Random Records from DB # ruby # rails # postgres # database 7  reactions Comments Add Comment 4 min read Inline editing with custom elements in Rails Rails Designer Rails Designer Rails Designer Follow Nov 13 '25 Inline editing with custom elements in Rails # rails # ruby # javascript # hotwire 3  reactions Comments Add Comment 4 min read 🧩 How We Solved “Unable to Get Certificate CRL” in Rails: A Debugging Story Madhusudhanan Madhusudhanan Madhusudhanan Follow Nov 14 '25 🧩 How We Solved “Unable to Get Certificate CRL” in Rails: A Debugging Story # ruby # rails # tutorial # security 4  reactions Comments 1  comment 4 min read Notes on Rails Marco Marco Marco Follow Oct 10 '25 Notes on Rails # rails Comments Add Comment 1 min read Organizing Tests with Clarity: the Unfolding Tests Technique Augusto Hubert Augusto Hubert Augusto Hubert Follow Oct 9 '25 Organizing Tests with Clarity: the Unfolding Tests Technique # programming # testing # rails Comments Add Comment 6 min read Setting Up Solid Cache on Heroku with a Single Database Mike Rispoli Mike Rispoli Mike Rispoli Follow Nov 11 '25 Setting Up Solid Cache on Heroku with a Single Database # ruby # rails # heroku # solidcache Comments 1  comment 6 min read 💎 Unless: The Ruby Way to Not Say No Germán Alberto Gimenez Silva Germán Alberto Gimenez Silva Germán Alberto Gimenez Silva Follow Nov 13 '25 💎 Unless: The Ruby Way to Not Say No # coding # programming # ruby # rails Comments 1  comment 2 min read Role-Based Authorization for Rails: How We Built Rabarber Evgenii S. Evgenii S. Evgenii S. Follow Nov 10 '25 Role-Based Authorization for Rails: How We Built Rabarber # ruby # rails # webdev # security 6  reactions Comments 4  comments 4 min read Colocando Favicon na sua Aplicação Ruby/Rails Dominique Morem Dominique Morem Dominique Morem Follow Oct 13 '25 Colocando Favicon na sua Aplicação Ruby/Rails # rails # ruby # favicon # frontend Comments Add Comment 2 min read Rails 7.1 Framework Defaults 🚧 Hassan Ahmed Hassan Ahmed Hassan Ahmed Follow Nov 9 '25 Rails 7.1 Framework Defaults 🚧 # rails # ruby # tutorial 2  reactions Comments Add Comment 5 min read Introducing the new Community Dashboard on TailView.work Harsh patel Harsh patel Harsh patel Follow Nov 9 '25 Introducing the new Community Dashboard on TailView.work # rails # uidesign # hotwire # stimulus 3  reactions Comments Add Comment 3 min read Why Ruby Devs Keep Mixing Up Symbols and Frozen Strings; and How to Tell Them Apart Hinokami Dev Hinokami Dev Hinokami Dev Follow Nov 5 '25 Why Ruby Devs Keep Mixing Up Symbols and Frozen Strings; and How to Tell Them Apart # ruby # immutability # backend # rails 10  reactions Comments 2  comments 3 min read Update page title counter with custom turbo streams in Rails Rails Designer Rails Designer Rails Designer Follow Nov 6 '25 Update page title counter with custom turbo streams in Rails # ruby # rails # hotwire # webdev 1  reaction Comments Add Comment 4 min read Two products, one Rails codebase Rails Designer Rails Designer Rails Designer Follow Nov 5 '25 Two products, one Rails codebase # ruby # rails # webdev 3  reactions Comments Add Comment 5 min read How Makefile Helps Rails Developers Ilya N. Zykin Ilya N. Zykin Ilya N. Zykin Follow Oct 8 '25 How Makefile Helps Rails Developers # rails # ruby # webdev # programming Comments Add Comment 6 min read Two wrongs doesn't make a Polymorphic. develaper develaper develaper Follow Oct 25 '25 Two wrongs doesn't make a Polymorphic. # rails # ruby # api # cowboy Comments 2  comments 3 min read TailView UI: Open-Source Rails Components with Hotwire Magic 🚀 Harsh patel Harsh patel Harsh patel Follow Nov 4 '25 TailView UI: Open-Source Rails Components with Hotwire Magic 🚀 # rails # hotwire # opensource # tailwindcss 7  reactions Comments 1  comment 5 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/inushathathsara/bitcoin-101-from-barter-to-blockchain-1kp7#comments
Bitcoin 101: From Barter to Blockchain - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Malawige Inusha Thathsara Gunasekara Posted on Jan 1 Bitcoin 101: From Barter to Blockchain # bitcoin # blockchain Architecting Web3 (3 Part Series) 1 Architecting Web3: Integrating Blockchain Events with Google Cloud (GKE) 2 A Guide to Web3 Infrastructure & Concepts 3 Bitcoin 101: From Barter to Blockchain Money has evolved significantly over human history. We started with the barter system , trading goods directly, which was inefficient. We moved to commodity money like gold and salt, then to fiat money (USD, EUR) backed by governments, and eventually to digital banking. But in 2009, Bitcoin emerged as the first decentralized, borderless, and scarce digital currency, removing the need for central authorities. In this article, we’ll break down the technical fundamentals of Bitcoin, from the whitepaper to the architecture of a block. The Vision: The 2008 Whitepaper Satoshi Nakamoto’s whitepaper introduced a peer-to-peer digital currency that solved the double-spending problem using Proof-of-Work (PoW) . Core Principles Fixed Supply: There will never be more than 21 million BTC . Decentralization: No single authority controls the network. Immutability: Once a transaction is on the blockchain ledger, it cannot be altered. Censorship Resistance: Anyone can transact; no one can be blocked. Under the Hood: Block Architecture A blockchain is essentially a timestamped chain of blocks. Think of a block like a "page" in a ledger. Structure of a Block Every block contains three main components: Block Header: Metadata about the block. Transaction Counter: The number of transactions included. Transactions: The actual list of payments. The Block Header The header is critical for mining and validation. It includes: Version: The rules the block follows. Previous Block Hash: The link to the previous block (creating the "chain"). Merkle Root: A summary of all transactions. Timestamp: When the block was mined. Difficulty Target (nBits): Defines how hard it is to mine the block. Nonce: The variable number miners change to solve the cryptographic puzzle. Data Structures: Merkle Trees & Roots Bitcoin uses Merkle Trees (a type of binary tree) to verify data efficiently. The Merkle Tree: Hashes every transaction, pairs them up, and hashes them again until only one hash remains. The Merkle Root: This single "root" hash acts as a fingerprint for the entire block. Why is this useful? It allows for Simplified Payment Verification (SPV) . A user can verify a specific transaction existed without downloading the entire blockchain history. If even one bit of a transaction changes, the Merkle Root changes completely. Consensus: Proof-of-Work (PoW) How does the network agree on the truth? Through mining. Miners collect transactions. They compete to solve a cryptographic puzzle by adjusting the Nonce . The winner gets the block reward (new BTC + transaction fees). While secure and decentralized, PoW is energy-intensive and has limited scalability. Scaling & Evolution The Rise of Altcoins Following Bitcoin, "1st Gen" altcoins emerged. Most were forks of Bitcoin with minor tweaks: Litecoin: Faster block times. Namecoin: Decentralized DNS. Ethereum: Eventually introduced smart contracts, moving beyond simple currency. The Lightning Network (Layer 2) Bitcoin processes only ~7 transactions per second. To solve this, the Lightning Network was built as a Layer 2 solution. How it works: Users open payment channels and transact off-chain instantly and cheaply. Settlement: Only the final balances are recorded on the main blockchain. This enables fast micropayments, though it comes with challenges like routing complexity and liquidity constraints. Conclusion Bitcoin revolutionized money by combining cryptography, game theory, and distributed systems. Understanding these fundamentals—Merkle trees, block headers, and consensus mechanisms—is the first step to mastering the wider Web3 landscape. Architecting Web3 (3 Part Series) 1 Architecting Web3: Integrating Blockchain Events with Google Cloud (GKE) 2 A Guide to Web3 Infrastructure & Concepts 3 Bitcoin 101: From Barter to Blockchain Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Malawige Inusha Thathsara Gunasekara Follow IT Undergrad @ University of Moratuwa. Building with Python, Flutter and so much more. I write about technical stuff and clean code. Documenting my journey one commit at a time. Location Colombo, Sri Lanka Education University of Moratuwa Joined Jan 1, 2026 More from Malawige Inusha Thathsara Gunasekara A Guide to Web3 Infrastructure & Concepts # web3 # architecture # blockchain # cloud Architecting Web3: Integrating Blockchain Events with Google Cloud (GKE) # architecture # blockchain # web3 # bitcoin 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/rails/page/6
Ruby on Rails Page 6 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Ruby on Rails Follow Hide Ruby on Rails is a popular web framework that happens to power dev.to ❤️ Create Post about #rails Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. It was released in 2005 and powers websites like GitHub, Basecamp, and many others. The framework and community prides itself on developer experience, sensible abstractions and empowering individual developers to accomplish a lot. Older #rails posts 3 4 5 6 7 8 9 10 11 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Create a Kanban board with Rails and Hotwire Rails Designer Rails Designer Rails Designer Follow Oct 9 '25 Create a Kanban board with Rails and Hotwire # ruby # rails # webdev # hotwire 4  reactions Comments 3  comments 6 min read Best Practices for Deploying Ruby on Rails Apps to Cloud Platforms Devang Devang Devang Follow Oct 10 '25 Best Practices for Deploying Ruby on Rails Apps to Cloud Platforms # ruby # rails # cloudnative # googlecloud 3  reactions Comments 2  comments 4 min read Organizando testes com clareza: a técnica do Unfolding Tests Augusto Hubert Augusto Hubert Augusto Hubert Follow Oct 9 '25 Organizando testes com clareza: a técnica do Unfolding Tests # testing # rails # programming 1  reaction Comments Add Comment 6 min read YPS: YAML Positioning System Taichi Ishitani Taichi Ishitani Taichi Ishitani Follow Oct 8 '25 YPS: YAML Positioning System # ruby # rails 3  reactions Comments Add Comment 1 min read Configuração setup básico p/ projetos Ruby/Rails - utilizando o WSL 2 Dominique Morem Dominique Morem Dominique Morem Follow for Vídeos de Ti Oct 8 '25 Configuração setup básico p/ projetos Ruby/Rails - utilizando o WSL 2 # ruby # rails # wsl2 # windows 4  reactions Comments 1  comment 14 min read Veri v1.0: Minimal Rails Authentication Framework Now Stable Evgenii S. Evgenii S. Evgenii S. Follow Oct 7 '25 Veri v1.0: Minimal Rails Authentication Framework Now Stable # rails # ruby # webdev # security 1  reaction Comments Add Comment 1 min read Announcing Forge — self-hosted community software Rails Designer Rails Designer Rails Designer Follow Oct 7 '25 Announcing Forge — self-hosted community software # ruby # rails # webdev 1  reaction Comments Add Comment 1 min read A Deep Dive into the Rhino Framework Yousef Yousef Yousef Follow Oct 7 '25 A Deep Dive into the Rhino Framework # webdev # ruby # rails # opensource 2  reactions Comments Add Comment 6 min read Contributing to Rhino: Building the Future of MVP Development Hacktoberfest: Maintainer Spotlight Yousef Yousef Yousef Follow Oct 1 '25 Contributing to Rhino: Building the Future of MVP Development # hacktoberfest # opensource # rails # webdev 7  reactions Comments Add Comment 4 min read MCP on Rails SINAPTIA SINAPTIA SINAPTIA Follow Sep 2 '25 MCP on Rails # ruby # rails # ai # mcp Comments Add Comment 9 min read Ruby Triathlon starts this week Lucian Ghinda Lucian Ghinda Lucian Ghinda Follow Sep 2 '25 Ruby Triathlon starts this week # techtalks # programming # ruby # rails 3  reactions Comments 2  comments 2 min read 🧠 The Complete Guide to Validations in Rails Brian Kim Brian Kim Brian Kim Follow Oct 4 '25 🧠 The Complete Guide to Validations in Rails # ruby # tutorial # rails # webdev Comments Add Comment 4 min read When Small Method Choices Cascade Into Big Performance Wins Paul Keen Paul Keen Paul Keen Follow for JetThoughts Sep 3 '25 When Small Method Choices Cascade Into Big Performance Wins # ruby # rails # performance # programming Comments Add Comment 7 min read Layered, Dynamic Turbo Frame Drawers Gabriel Martinez Gabriel Martinez Gabriel Martinez Follow Oct 3 '25 Layered, Dynamic Turbo Frame Drawers # rails # hotwire # turbo # webdev Comments Add Comment 3 min read Visual loading states for Turbo Frames
with CSS only Rails Designer Rails Designer Rails Designer Follow Oct 2 '25 Visual loading states for Turbo Frames
with CSS only # ruby # rails # webdev # hotwire 1  reaction Comments 1  comment 4 min read Life update as a full stack developer Gift Egbonyi Gift Egbonyi Gift Egbonyi Follow Sep 30 '25 Life update as a full stack developer # fullstack # programming # ai # rails 7  reactions Comments 6  comments 2 min read A personal newsletter Lucian Ghinda Lucian Ghinda Lucian Ghinda Follow Oct 3 '25 A personal newsletter # news # ruby # rails # newsletter Comments Add Comment 1 min read The One-Letter Rails Bug That Slipped Past Rubocop, CI, and Code Reviews Madhusudhanan Madhusudhanan Madhusudhanan Follow Sep 3 '25 The One-Letter Rails Bug That Slipped Past Rubocop, CI, and Code Reviews # webdev # rails # rubocop # ai 1  reaction Comments Add Comment 2 min read Helpful Settings When Running RSpec with parallel_tests Takashi SAKAGUCHI Takashi SAKAGUCHI Takashi SAKAGUCHI Follow Sep 3 '25 Helpful Settings When Running RSpec with parallel_tests # ruby # rails Comments Add Comment 4 min read Rhino Framework: The Real-Code Solution for MVP Development Hacktoberfest: Maintainer Spotlight Yousef Yousef Yousef Follow Oct 1 '25 Rhino Framework: The Real-Code Solution for MVP Development # hacktoberfest # opensource # rails # ruby 4  reactions Comments Add Comment 6 min read Better Sidekiq Classes Braden King Braden King Braden King Follow Aug 28 '25 Better Sidekiq Classes # ruby # rails # webdev Comments Add Comment 6 min read Components in Rails without gems Rails Designer Rails Designer Rails Designer Follow Sep 25 '25 Components in Rails without gems # ruby # rails # webdev 3  reactions Comments Add Comment 5 min read Features your SaaS MVP Don't Need Rails Designer Rails Designer Rails Designer Follow Sep 24 '25 Features your SaaS MVP Don't Need # saas # webdev # rails # ruby 6  reactions Comments 3  comments 4 min read How to Fix Random OpenAI 500 Errors in Rails Background Jobs Using retry_on Andres Urdaneta Andres Urdaneta Andres Urdaneta Follow Sep 14 '25 How to Fix Random OpenAI 500 Errors in Rails Background Jobs Using retry_on # tutorial # rails # openai # ruby Comments Add Comment 4 min read Turbo in Rails: A Simple Guide to Drive, Frames, and Streams Pichandal Pichandal Pichandal Follow Sep 25 '25 Turbo in Rails: A Simple Guide to Drive, Frames, and Streams # turboinrails # rails # turboframes # turbostream 1  reaction Comments Add Comment 3 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://future.forem.com/t/wearables#main-content
Wearables - Future Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Future Close # wearables Follow Hide Create Post Older #wearables posts 1 2 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu How Remote Patient Monitoring Software Improves Outcomes for Heart Patients Nisha Verma Nisha Verma Nisha Verma Follow Dec 19 '25 How Remote Patient Monitoring Software Improves Outcomes for Heart Patients # healthtech # iot # wearables Comments Add Comment 4 min read Wearable Tech: How Health and Fitness Devices Are Getting Smarter Tehreem Seorankhive Tehreem Seorankhive Tehreem Seorankhive Follow Nov 20 '25 Wearable Tech: How Health and Fitness Devices Are Getting Smarter # wearables # iot # ai # healthtech Comments Add Comment 5 min read AI Wearables 2025: Smart Health Gadgets That Know You Better Than Ever Creative Soul Creative Soul Creative Soul Follow Nov 11 '25 AI Wearables 2025: Smart Health Gadgets That Know You Better Than Ever # ai # healthtech # wearables Comments Add Comment 5 min read iPhone 17 Rumors: Everything We Know About Apples Next-Gen Flagship Bama Charan Chhandogi Bama Charan Chhandogi Bama Charan Chhandogi Follow Dec 13 '25 iPhone 17 Rumors: Everything We Know About Apples Next-Gen Flagship # ai # arvr # wearables Comments 1  comment 3 min read How Modern Health Sensors Catch Illness Before Symptoms Begin Sana Shaikh Sana Shaikh Sana Shaikh Follow Nov 24 '25 How Modern Health Sensors Catch Illness Before Symptoms Begin # biotech # healthtech # wearables Comments 1  comment 4 min read Як технології лазертаг-систем змінюють військову підготовку: від тренажера до реального бою Максим Чернов Максим Чернов Максим Чернов Follow Oct 17 '25 Як технології лазертаг-систем змінюють військову підготовку: від тренажера до реального бою # education # productivity # wearables Comments Add Comment 1 min read The Little Prince’s Sweet Garden: CGM’s Tiny Guardians 🌟 ersajay ersajay ersajay Follow Oct 14 '25 The Little Prince’s Sweet Garden: CGM’s Tiny Guardians 🌟 # biotech # nanotech # wearables # healthtech 6  reactions Comments Add Comment 4 min read Snap Spectacles 5 - Optical Analysis of the AR HMD AR/VR News AR/VR News AR/VR News Follow Aug 12 '25 Snap Spectacles 5 - Optical Analysis of the AR HMD # arvr # wearables # manufacturing # nanotech Comments Add Comment 1 min read Meta's prototype headsets show off the future of mixed reality AR/VR News AR/VR News AR/VR News Follow Aug 12 '25 Meta's prototype headsets show off the future of mixed reality # arvr # wearables # science # manufacturing Comments Add Comment 1 min read vivo Vision mixed reality headset shown off, testers praise its comfortable design AR/VR News AR/VR News AR/VR News Follow Aug 12 '25 vivo Vision mixed reality headset shown off, testers praise its comfortable design # arvr # wearables # iot # edgecomputing Comments Add Comment 1 min read Meta's prototype headsets show off the future of mixed reality AR/VR News AR/VR News AR/VR News Follow Aug 8 '25 Meta's prototype headsets show off the future of mixed reality # arvr # wearables # science # manufacturing Comments Add Comment 1 min read 'Autofocus' specs promise sharp vision, near or far AR/VR News AR/VR News AR/VR News Follow Aug 7 '25 'Autofocus' specs promise sharp vision, near or far # wearables # healthtech # science # nanotech Comments Add Comment 1 min read Mark Zuckerberg promises you can trust him with superintelligent AI AI News AI News AI News Follow Aug 5 '25 Mark Zuckerberg promises you can trust him with superintelligent AI # ai # wearables # arvr # security Comments Add Comment 1 min read Exclusive: Even Realities waveguide supplier Greatar secures another hundred-million-yuan-level financing AR/VR News AR/VR News AR/VR News Follow Aug 5 '25 Exclusive: Even Realities waveguide supplier Greatar secures another hundred-million-yuan-level financing # arvr # manufacturing # wearables # nanotech Comments Add Comment 1 min read Amazon buys Bee AI wearable that listens to everything you say AI News AI News AI News Follow Jul 28 '25 Amazon buys Bee AI wearable that listens to everything you say # ai # wearables # privacy # iot Comments Add Comment 1 min read Gixel comes out of stealth with a new type of AR optical engine AR/VR News AR/VR News AR/VR News Follow Jul 28 '25 Gixel comes out of stealth with a new type of AR optical engine # arvr # wearables # manufacturing # science Comments Add Comment 1 min read Brilliant Labs to Launch Next-gen Smart Glasses on July 31st AR/VR News AR/VR News AR/VR News Follow Jul 28 '25 Brilliant Labs to Launch Next-gen Smart Glasses on July 31st # ai # arvr # wearables # iot Comments Add Comment 1 min read Karl Guttag: Google XR Glasses Using Google's Raxium MicroLEDs While Waveguide Lab Sold to Vuzix AR/VR News AR/VR News AR/VR News Follow Jul 28 '25 Karl Guttag: Google XR Glasses Using Google's Raxium MicroLEDs While Waveguide Lab Sold to Vuzix # arvr # wearables # nanotech # manufacturing Comments Add Comment 1 min read ALIBABA will announce its first AI Glasses this week: There's a version with display, and a version without AR/VR News AR/VR News AR/VR News Follow Jul 28 '25 ALIBABA will announce its first AI Glasses this week: There's a version with display, and a version without # ai # wearables # arvr # edgecomputing Comments Add Comment 1 min read Xiaomi AI Glasses hands-on: a promising first-gen product AR/VR News AR/VR News AR/VR News Follow Jul 22 '25 Xiaomi AI Glasses hands-on: a promising first-gen product # ai # arvr # wearables # smarthomes Comments Add Comment 1 min read CREAL raised 8.9 M USD. Here is my interview with the founder AR/VR News AR/VR News AR/VR News Follow Jul 22 '25 CREAL raised 8.9 M USD. Here is my interview with the founder # ai # arvr # wearables # iot Comments Add Comment 1 min read Depression linked to ‘internal jet lag', circadian study finds Science News Science News Science News Follow Jul 21 '25 Depression linked to ‘internal jet lag', circadian study finds # science # healthtech # biotech # wearables Comments Add Comment 1 min read Depression linked to ‘internal jet lag', circadian study finds Science News Science News Science News Follow Jul 18 '25 Depression linked to ‘internal jet lag', circadian study finds # science # healthtech # biotech # wearables Comments Add Comment 1 min read Depression linked to ‘internal jet lag', circadian study finds Science News Science News Science News Follow Jul 18 '25 Depression linked to ‘internal jet lag', circadian study finds # science # healthtech # biotech # wearables Comments Add Comment 1 min read New lightweight headset from PICO? AR/VR News AR/VR News AR/VR News Follow Jul 17 '25 New lightweight headset from PICO? # arvr # wearables # ai # edgecomputing Comments Add Comment 1 min read loading... trending guides/resources How Modern Health Sensors Catch Illness Before Symptoms Begin How Remote Patient Monitoring Software Improves Outcomes for Heart Patients AI Wearables 2025: Smart Health Gadgets That Know You Better Than Ever iPhone 17 Rumors: Everything We Know About Apples Next-Gen Flagship Wearable Tech: How Health and Fitness Devices Are Getting Smarter 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Future — News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Home About Contact Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Future © 2025 - 2026. Stay on the cutting edge, and shape tomorrow Log in Create account
2026-01-13T08:49:10
https://dev.to/spubhi/why-hmac-is-the-right-choice-for-webhook-security-and-why-spubhi-makes-it-simple-29p2
Why HMAC Is the Right Choice for Webhook Security (and Why Spubhi Makes It Simple) - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Spubhi Posted on Jan 5 Why HMAC Is the Right Choice for Webhook Security (and Why Spubhi Makes It Simple) # security # backend # api Webhooks are one of the most common integration patterns today. They’re also one of the easiest places to make security mistakes. In this post, I’ll focus on why HMAC is a better approach for securing webhooks and how Spubhi keeps the implementation simple and predictable. This is not a comparison-heavy or theory-heavy article — it’s about practical implementation and reliability. The Core Problem with Webhook Security A webhook endpoint is publicly accessible by design. That means anyone can send a request to it unless you validate the sender. The real challenge is not adding authentication, but ensuring that: The request was not modified The sender actually knows a shared secret The validation works reliably across different clients and platforms This is where many webhook implementations break down. Why HMAC Works Well for Webhooks HMAC (Hash-based Message Authentication Code) solves a very specific problem: verifying both authenticity and integrity of a request. When using HMAC: The sender signs the raw request body using a shared secret The receiver independently generates the same signature If the signatures match, the request is trusted No secrets are sent over the wire. Only a signature is transmitted. This has a few important implications: 1. No secret exposure Unlike tokens or passwords, the shared secret is never transmitted in the request. 2. Payload integrity is guaranteed If even one character in the request body changes, the signature validation fails. 3. Stateless validation The server does not need to store sessions or tokens per request. It only needs the shared secret and the incoming payload. 4. Language-agnostic HMAC works the same way in Java, Node.js, Python, Go, or any other language. This makes it ideal for webhook-based systems. Common HMAC Implementation Pitfalls Most HMAC failures don’t come from cryptography — they come from inconsistencies. Some common issues: Signing parsed JSON instead of the raw body Different JSON serialization on sender and receiver Header mismatches or late header injection Async signing issues in tools like Postman A reliable HMAC implementation must: Use the exact raw request body Normalize the payload consistently Use a predictable header for the signature Validate before any business logic executes Why Spubhi Keeps HMAC Simple Spubhi was designed with webhook security as a first-class concern. Here’s what Spubhi does differently: 1. Raw body handling is explicit Spubhi validates HMAC against the actual incoming payload, not a re-serialized version. This avoids subtle mismatches that break signature verification. 2. Header-based authentication only Spubhi expects the HMAC signature in a single, clear header: X-SPUBHI-SECRET No ambiguity. No hidden behavior. 3. No encoding or decoding of secrets Secrets are treated as-is. There’s no unnecessary base64 wrapping or transformation. What you sign on the client is exactly what Spubhi verifies on the server. 4. Authentication happens before flow execution If authentication fails, the request is rejected immediately. No partial execution, no side effects. This makes webhook behavior predictable and safe. Minimal Client-Side HMAC Example // Normalize JSON exactly like your current logic const body = JSON.stringify(JSON.parse(pm.request.body.raw)); // HMAC secret const secret = "hmac_Qv33h2Yp7SpLwl7mQ8geU7R8SrfRZ27BpX5j0tHM"; // Encode inputs const encoder = new TextEncoder(); const keyData = encoder.encode(secret); const bodyData = encoder.encode(body); // Generate HMAC-SHA-256 crypto.subtle.importKey( "raw", keyData, { name: "HMAC", hash: "SHA-512" }, false, ["sign"] ).then(key => { return crypto.subtle.sign("HMAC", key, bodyData); }).then(signature => { const hmac = Array.from(new Uint8Array(signature)) .map(b => b.toString(16).padStart(2, "0")) .join(""); // SAME header name you already use pm.request.headers.upsert({ key: "X-SPUBHI-SECRET", value: hmac }); }); Enter fullscreen mode Exit fullscreen mode That’s it. No SDKs. No custom formats. No hidden transformations. ** Minimal Server-Side Validation Logic** On the server: Read the raw request body Generate HMAC using the same secret Compare it with the incoming header Reject if it doesn’t match Simple logic — easy to audit, easy to debug. Final Thoughts Webhook security doesn’t need to be complex — it needs to be correct and consistent. HMAC works well because it: Protects payload integrity Avoids secret exposure Scales without state Works across platforms Spubhi keeps this model simple by: Avoiding magic Enforcing clear boundaries Treating authentication as a first step, not an afterthought If you’re building webhook-driven integrations, HMAC done right is enough — and simplicity is what makes it reliable. webhooks apissecurity hmac backend integration Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Spubhi Follow Spubhi is an modern integration platform Joined Sep 21, 2025 Trending on DEV Community Hot Prompt Engineering Won’t Fix Your Architecture # discuss # career # ai # programming AI should not be in Code Editors # programming # ai # productivity # discuss What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/jwebsite-go/sinie-zielienoie-razviertyvaniie-na-eks-14e3#%D1%87%D1%82%D0%BE-%D1%82%D0%B0%D0%BA%D0%BE%D0%B5-%D1%81%D0%B8%D0%BD%D0%B5%D0%B7%D0%B5%D0%BB%D0%B5%D0%BD%D0%B0%D1%8F-%D1%81%D1%82%D1%80%D0%B0%D1%82%D0%B5%D0%B3%D0%B8%D1%8F-%D0%B2-%D0%BF%D1%80%D0%BE%D1%81%D1%82%D0%BE%D0%BC-%D0%B2%D0%B8%D0%B4%D0%B5
Сине-зеленое развертывание на EKS - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Khadijah (Dana Ordalina) Posted on Jan 9 Сине-зеленое развертывание на EKS # eks # aws # bluegreen # programming EKS = Управляемый Kubernetes от Amazon Web Services EKS предоставляет вам: Управляющая плоскость ** Kubernetes** (API-сервер, планировщик). AWS управляет этим за вас. Вам всё ещё необходимо: Рабочие узлы (EC2) → для запуска подов kubectl **→ для связи с кластером **YAML → для указания Kubernetes, что нужно запустить. Очень важная ментальная модель _`Your laptop (kubectl) | v EKS API Server (managed by AWS) | v Worker Nodes (EC2) → Pods → Containers`_ Enter fullscreen mode Exit fullscreen mode Подключаться к узлам по SSH НИКОГДА нельзя. Шаг 1 — Создайте EKS вручную (через консоль AWS, без использования инструментов). 1. Откройте консоль AWS → EKS Выберите регион (например: us-east-1) Нажмите «Создать кластер» . 2. Конфигурация кластера Заполнять только: Имя * : bluegreen-demo * Версия Kubernetes : по умолчанию Роль кластерной службы * : Если AWS отображает её, выберите её. Если нет, нажмите * «Создать роль» (AWS создаст её автоматически). Нажмите Далее 3. Сетевое взаимодействие Использовать значения по умолчанию : VPC по умолчанию Как минимум 2 подсети Доступ к общедоступной конечной точке Нажмите « Создать ». ⏳ Дождитесь активации В этот момент: Kubernetes существует НО пока ничего не может бежать Шаг 2 — Создание рабочих узлов (ЭТО создаст EC2) Зачем нам это нужно Kubernetes размещает поды на узлах . Нет узлов = нет подов. Создать группу узлов Внутри вашего кластера: Перейдите в раздел «Вычисления» → «Добавить группу узлов». Наполнять: Имя: bg-nodes Роль IAM: создать/выбрать роль работника по умолчанию Настройки узла: Тип экземпляра:t3.medium Желательно: 2 Мин.: 2 Макс.: 3 Создать группу узлов → дождаться активации Теперь EC2 существует автоматически. Шаг 3 — Подключите kubectl (так работает DevOps) С вашего ноутбука: aws eks update-kubeconfig \ --region us-east-1 \ --name bluegreen-demo Enter fullscreen mode Exit fullscreen mode Проверять: kubectl get nodes Enter fullscreen mode Exit fullscreen mode Если вы видите узлы → значит, вы соединены. Впредь: Консоль AWS практически неактуальна. Всё делается с помощью kubectl Почему существуют стратегии развертывания (ОЧЕНЬ ВАЖНО) До Kubernetes (старый мир) Остановить приложение Развернуть новую версию Запустите приложение снова. Пользователи видят время простоя Откат происходит медленно. Проблемы, с которыми сталкивался DevOps Простои во время развертывания Пользователи получают ошибки Быстрый откат недоступен. Страх перед развертыванием войск Проблема с Kubernetes решена: - Капсулы - Услуги - Самоисцеление Однако стратегия развертывания определяет, как будет перемещаться трафик. Именно поэтому * существуют стратегии развертывания * . Что такое сине-зеленая стратегия (в простом виде)? Сине-зеленый = две версии, работающие одновременно. Синий → текущее производство Зеленый → новая версия, протестирована Транспортный поток резко меняет направление движения. Отсутствие частичного трафика. Отсутствие замедления развертывания. Почему сине-зеленый цвет используется в DevOps Преимущества Отсутствие простоев Мгновенный откат Безопасные релизы Легко понять Предсказуемое поведение Когда DevOps выбирает сине-зеленый подход Критические приложения API Финансовые системы Внутренние платформы Когда неудача обходится дорого Как работает принцип «сине-зеленого» взаимодействия в Kubernetes (простая истина) Kubernetes уже предоставляет нам такой инструмент: 👉 Сервис Решение принимает служба: «Какие модули посещают пользователи?» Сине-зеленый = * изменить селектор услуги * Вот и все. Внедрение сине-зеленого подхода (с нуля) 1️⃣ Развертывание Blue (версия 1 – в рабочем режиме) apiVersion: apps/v1 kind: Deployment metadata: name: app-blue spec: replicas: 2 selector: matchLabels: app: demo color: blue template: metadata: labels: app: demo color: blue spec: containers: - name: app image: hashicorp/http-echo:0.2.3 args: ["-text=BLUE v1"] ports: - containerPort: 5678 Enter fullscreen mode Exit fullscreen mode 2️⃣ Экологичное развертывание (версия 2 – не запущена) apiVersion: apps/v1 kind: Deployment metadata: name: app-green spec: replicas: 2 selector: matchLabels: app: demo color: green template: metadata: labels: app: demo color: green spec: containers: - name: app image: hashicorp/http-echo:0.2.3 args: ["-text=GREEN v2"] ports: - containerPort: 5678 Enter fullscreen mode Exit fullscreen mode 3️⃣ Сервис (производственный трафик) apiVersion: v1 kind: Service metadata: name: prod-svc spec: selector: app: demo color: blue # LIVE VERSION ports: - port: 80 targetPort: 5678 Это переключатель управления . Разверните всё kubectl apply -f blue.yaml kubectl apply -f green.yaml kubectl apply -f service.yaml Enter fullscreen mode Exit fullscreen mode Трафик → СИНИЙ Само развертывание (синий → зеленый) Измените одну строку: color: green Enter fullscreen mode Exit fullscreen mode Подайте заявку снова: kubectl apply -f service.yaml Enter fullscreen mode Exit fullscreen mode Транспортный поток мгновенно переключается. Перезагрузка Pod не требуется. Простой отсутствует. Откат (безопасность DevOps) Вернитесь назад: color: blue Enter fullscreen mode Exit fullscreen mode Применить → откат завершен. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Khadijah (Dana Ordalina) Follow DevOps Engineer. AWS, Terraform, Docker and CI/CD. Building real projects and sharing my DevOps journey. Location United States Work DevOps Engineer Joined Dec 20, 2025 More from Khadijah (Dana Ordalina) Readiness probe # aws # kubernetes # beginners # devops Kubernetes #1 # kubernetes # nginx # docker # programming 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/beginners/page/4#for-articles
Beginners Page 4 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Beginners Follow Hide "A journey of a thousand miles begins with a single step." -Chinese Proverb Create Post submission guidelines UPDATED AUGUST 2, 2019 This tag is dedicated to beginners to programming, development, networking, or to a particular language. Everything should be geared towards that! For Questions... Consider using this tag along with #help, if... You are new to a language, or to programming in general, You want an explanation with NO prerequisite knowledge required. You want insight from more experienced developers. Please do not use this tag if you are merely new to a tool, library, or framework. See also, #explainlikeimfive For Articles... Posts should be specifically geared towards true beginners (experience level 0-2 out of 10). Posts should require NO prerequisite knowledge, except perhaps general (language-agnostic) essentials of programming. Posts should NOT merely be for beginners to a tool, library, or framework. If your article does not meet these qualifications, please select a different tag. Promotional Rules Posts should NOT primarily promote an external work. This is what Listings is for. Otherwise accepable posts MAY include a brief (1-2 sentence) plug for another resource at the bottom. Resource lists ARE acceptable if they follow these rules: Include at least 3 distinct authors/creators. Clearly indicate which resources are FREE, which require PII, and which cost money. Do not use personal affiliate links to monetize. Indicate at the top that the article contains promotional links. about #beginners If you're writing for this tag, we recommend you read this article . If you're asking a question, read this article . Older #beginners posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu The Rise of Low-Code and No-Code Development Ravish Kumar Ravish Kumar Ravish Kumar Follow Jan 11 The Rise of Low-Code and No-Code Development # beginners # productivity # softwaredevelopment # tooling Comments Add Comment 3 min read Linux File & Directory Operations for DevOps — v1.0 Chetan Tekam Chetan Tekam Chetan Tekam Follow Jan 11 Linux File & Directory Operations for DevOps — v1.0 # beginners # linux # cloud # devops Comments Add Comment 2 min read HTML-101 #5. Text Formatting, Quotes & Code Formatting Himanshu Bhatt Himanshu Bhatt Himanshu Bhatt Follow Jan 11 HTML-101 #5. Text Formatting, Quotes & Code Formatting # html # learninpublic # beginners # tutorial 5  reactions Comments Add Comment 5 min read [Gaming][NS] Dark Souls Remastered: A Noob's Guide to Beating the Game Evan Lin Evan Lin Evan Lin Follow Jan 11 [Gaming][NS] Dark Souls Remastered: A Noob's Guide to Beating the Game # beginners # learning # tutorial Comments Add Comment 5 min read When Should You Use AWS Lambda? A Beginner's Perspective Sahinur Sahinur Sahinur Follow Jan 11 When Should You Use AWS Lambda? A Beginner's Perspective # aws # serverless # beginners # lambda Comments Add Comment 5 min read My Journey into AWS & DevOps: Getting Started with Hands-On Learning irfan pasha irfan pasha irfan pasha Follow Jan 11 My Journey into AWS & DevOps: Getting Started with Hands-On Learning # aws # devops # beginners # learning Comments Add Comment 1 min read Launching EC2 instances within a VPC (along with Wizard) Jeya Shri Jeya Shri Jeya Shri Follow Jan 10 Launching EC2 instances within a VPC (along with Wizard) # beginners # cloud # aws # vpc Comments Add Comment 3 min read #1-2) 조건문은 결국 사전 처방이다. JEON HYUNJUN JEON HYUNJUN JEON HYUNJUN Follow Jan 11 #1-2) 조건문은 결국 사전 처방이다. # beginners # python # tutorial Comments Add Comment 2 min read Vim Mode: Edit Prompts at the Speed of Thought Rajesh Royal Rajesh Royal Rajesh Royal Follow Jan 10 Vim Mode: Edit Prompts at the Speed of Thought # tutorial # claudecode # productivity # beginners Comments Add Comment 4 min read Accelerate Fluid Simulator Aditya Singh Aditya Singh Aditya Singh Follow Jan 10 Accelerate Fluid Simulator # simulation # programming # beginners # learning Comments Add Comment 3 min read Level 1 - Foundations #1. Client-Server Model Himanshu Bhatt Himanshu Bhatt Himanshu Bhatt Follow Jan 11 Level 1 - Foundations #1. Client-Server Model # systemdesign # distributedsystems # tutorial # beginners 5  reactions Comments Add Comment 4 min read System Design in Real Life: Why Ancient Museums are actually Microservices? Tyrell Wellicq Tyrell Wellicq Tyrell Wellicq Follow Jan 10 System Design in Real Life: Why Ancient Museums are actually Microservices? # discuss # systemdesign # architecture # beginners 1  reaction Comments 1  comment 2 min read Angular Pipes Explained — From Basics to Custom Pipes (With Real Examples) ROHIT SINGH ROHIT SINGH ROHIT SINGH Follow Jan 11 Angular Pipes Explained — From Basics to Custom Pipes (With Real Examples) # beginners # tutorial # typescript # angular Comments Add Comment 2 min read Bug Bounty Hunting in 2026 krlz krlz krlz Follow Jan 11 Bug Bounty Hunting in 2026 # security # bugbounty # tutorial # beginners Comments Add Comment 4 min read Hello dev.to 👋 I’m Ekansh — Building in Public with Web & AI Ekansh | Web & AI Developer Ekansh | Web & AI Developer Ekansh | Web & AI Developer Follow Jan 11 Hello dev.to 👋 I’m Ekansh — Building in Public with Web & AI # discuss # ai # beginners # webdev Comments Add Comment 1 min read Adding a Missing Warning Note Favoured Anuanatata Favoured Anuanatata Favoured Anuanatata Follow Jan 10 Adding a Missing Warning Note # help # beginners # opensource Comments Add Comment 1 min read Python Dictionary Views Are Live (And It Might Break Your Code) Samuel Ochaba Samuel Ochaba Samuel Ochaba Follow Jan 10 Python Dictionary Views Are Live (And It Might Break Your Code) # python # programming # webdev # beginners Comments Add Comment 2 min read Checklist for Promoting Your App: A Step-by-Step Guide That Works Isa Akharume Isa Akharume Isa Akharume Follow Jan 10 Checklist for Promoting Your App: A Step-by-Step Guide That Works # promotingyourapp # webdev # programming # beginners Comments Add Comment 2 min read What Clients ACTUALLY Want From Frontend Devs (Not Clean Code) Laurina Ayarah Laurina Ayarah Laurina Ayarah Follow Jan 10 What Clients ACTUALLY Want From Frontend Devs (Not Clean Code) # webdev # career # beginners # programming 1  reaction Comments Add Comment 9 min read Handling Pagination in Scrapy: Scrape Every Page Without Breaking Muhammad Ikramullah Khan Muhammad Ikramullah Khan Muhammad Ikramullah Khan Follow Jan 10 Handling Pagination in Scrapy: Scrape Every Page Without Breaking # webdev # programming # python # beginners 1  reaction Comments Add Comment 8 min read AWS Cheat Sheet Varalakshmi Varalakshmi Varalakshmi Follow Jan 10 AWS Cheat Sheet # aws # beginners # cloud Comments Add Comment 1 min read # Inside Git: How It Works and the Role of the `.git` Folder saiyam gupta saiyam gupta saiyam gupta Follow Jan 10 # Inside Git: How It Works and the Role of the `.git` Folder # architecture # beginners # git 1  reaction Comments Add Comment 3 min read Metrics + Logs = Zero Panic in Production 🚨 Taverne Tech Taverne Tech Taverne Tech Follow Jan 10 Metrics + Logs = Zero Panic in Production 🚨 # beginners # programming # devops # go Comments Add Comment 4 min read Building Custom Composite Components with STDF in Svelte Lucas Bennett Lucas Bennett Lucas Bennett Follow Jan 10 Building Custom Composite Components with STDF in Svelte # webdev # programming # javascript # beginners Comments Add Comment 7 min read Interactive Program Developement - Semester Project Aleena Mubashar Aleena Mubashar Aleena Mubashar Follow Jan 10 Interactive Program Developement - Semester Project # discuss # programming # beginners # computerscience Comments 1  comment 4 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/sagarparmarr/genx-from-childhood-flipbooks-to-premium-scroll-animation-1j4#try-it-yourself
GenX: From Childhood Flipbooks to Premium Scroll Animation - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sagar Posted on Jan 13 • Originally published at sagarparmarr.hashnode.dev GenX: From Childhood Flipbooks to Premium Scroll Animation # webdev # performance # animation Build buttery-smooth, Apple-style image sequence animations on canvas + the tiny redraw hack that saves up to 80% GPU/battery power Hey there, fellow web dev enthusiasts! 🖐️ Remember those childhood flipbooks where you'd scribble a stick figure on the corner of your notebook pages, flip through them furiously, and suddenly – bam – your doodle was dancing? That's the nostalgic spark behind one of the coolest tricks in modern web design: image sequence animations . You've seen them on slick landing pages – those buttery-smooth, scroll-driven "videos" that feel alive as you navigate the site. But here's the plot twist: they're not videos at all . They're just a clever stack of images, orchestrated like a symphony on a <canvas> element. In this post, we're diving into how these animations work, why they're a game-changer for interactive storytelling, and – drumroll please 🥁 – a tiny optimization that stops your user's device from chugging power like it's training for a marathon. Let's flip the page and get started! ✨ Classic flipbook magic – the inspiration behind modern web wizardry Quick access (want to play right away?) → Live Demo → Full source code on GitHub Now let's get into how this magic actually works... Chapter 1: The Flipbook Reborn – What Is Image Sequence Animation? Picture this: You're on a high-end e-commerce site, scrolling down a product page. As your finger glides, a 3D model spins seamlessly, or a background scene morphs from day to night. It looks like high-def video, but peek at the network tab – no MP4 in sight . Instead, it's a barrage of optimized images (usually 100–200 WebP files) doing the heavy lifting. At its core, image sequence animation is digital flipbook wizardry : Export a video/animation as individual frames Preload them into memory as HTMLImageElement objects Drive playback with scroll position (0% = frame 1, 100% = last frame) Render the right frame on <canvas> Why choose this over <video> ? 🎮 Total control — perfect sync with scroll, hover, etc. ⚡ Lightweight hosting — images cache beautifully on CDNs, compress with WebP/AVIF 😅 No encoding drama — skip codecs, bitrates, and cross-browser video nightmares But every hero has a weakness: lots of network requests + heavy repainting = GPU sweat & battery drain on big/retina screens. We'll fix that soon. Smooth scroll-triggered image sequence in action Chapter 2: Behind the Curtain – How the Magic Happens (With Code!) Here's the typical flow in a React-ish world (pseudocode – adapt to vanilla/Vue/Svelte/whatever you love): // React-style pseudocode – hook it up to your scroll listener! const FRAME_COUNT = 192 ; // Your total frames const targetFrameRef = useRef ( 0 ); // Scroll-driven goal const currentFrameRef = useRef ( 0 ); // Current position const rafRef = useRef < number | null > ( null ); // Update target on scroll (progress: 0-1) function onScrollChange ( progress : number ) { const nextTarget = Math . round ( progress * ( FRAME_COUNT - 1 )); targetFrameRef . current = Math . clamp ( nextTarget , 0 , FRAME_COUNT - 1 ); // Assuming a clamp util } // The animation loop: Lerp and draw useEffect (() => { const tick = () => { const curr = currentFrameRef . current ; const target = targetFrameRef . current ; const diff = target - curr ; const step = Math . abs ( diff ) < 0.001 ? 0 : diff * 0.2 ; // Close the gap by 20% each frame const next = step === 0 ? target : curr + step ; currentFrameRef . current = next ; drawFrame ( Math . round ( next )); // Render the frame rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => { if ( rafRef . current ) cancelAnimationFrame ( rafRef . current ); }; }, []); function drawFrame ( index : number ) { const ctx = canvasRef . current ?. getContext ( ' 2d ' ); if ( ! ctx ) return ; // Clear, fill background, and draw image with contain-fit const img = preloadedImages [ index ]; ctx . clearRect ( 0 , 0 , canvas . width , canvas . height ); // ...aspect ratio calculations and drawImage() here... } Enter fullscreen mode Exit fullscreen mode Elegant, right? But here's the villain... The Plot Twist: Idle Repaints = Battery Vampires 🧛‍♂️ When users pause to read copy or admire the product, that requestAnimationFrame loop keeps churning 60 times per second … redrawing the exact same frame over and over. On high-DPI/4K retina screens? → Massive canvas clears → Repeated image scaling & smoothing → Constant GPU compositing The result: laptop fans kick into overdrive, the device heats up, and battery life tanks fast. I've seen (and measured) this in real projects — idle GPU/CPU spikes that turn a "premium" experience into a power hog. Time for the hero upgrade! Here are real before/after screenshots from my own testing using Chrome DevTools with Frame Rendering Stats enabled (GPU memory + frame rate overlay visible): Before: ~15.6 MB GPU idle After: ~2.4 MB GPU idle Before Optimization After Optimization Idle state with constant repaints – 15.6 MB GPU memory used Idle state post-hack – only 2.4 MB GPU memory used See the difference? Before : ~15.6 MB GPU memory in idle → heavy, wasteful repainting After : ~2.4 MB GPU memory → zen-like efficiency This tiny check eliminates redundant drawImage() calls and can drop idle GPU usage by up to 80% in heavy canvas scenarios (your mileage may vary based on resolution, DPR, and image size). Pro tip: Enable Paint flashing (green highlights) + Frame Rendering Stats in DevTools → scroll a bit, then pause. Watch the green flashes disappear and GPU stats stabilize after applying the fix. Battery saved = happier users + longer sessions 🌍⚡ Chapter 3: The Hero's Hack – Redraw Only When It Matters Super simple fix: track the last drawn frame index and skip drawImage() if nothing changed. useEffect (() => { let prevFrameIndex = Math . round ( currentFrameRef . current ); const tick = () => { // ... same lerp logic ... currentFrameRef . current = next ; const nextFrameIndex = Math . round ( next ); // ★ The magic line ★ if ( nextFrameIndex !== prevFrameIndex ) { drawFrame ( nextFrameIndex ); prevFrameIndex = nextFrameIndex ; } rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => cancelAnimationFrame ( rafRef . current ! ); }, []); Enter fullscreen mode Exit fullscreen mode Why this feels like a superpower Scrolling → still buttery-smooth (draws only when needed) Idle → zen mode (just cheap math, no GPU pain) Real-world wins → up to 80% less idle GPU usage in my tests Pro tip: Use Paint Flashing + Performance tab in DevTools to see the difference yourself. Try it yourself! Here's a minimal, production-ready demo you can fork and play with: → Live Demo → Full source code on GitHub Extra Twists: Level Up Your Animation Game ⚙️ DPR Clamp → cap devicePixelRatio at 2 🖼️ Smart contain-fit drawing (calculate once) 🚀 WebP/AVIF + CDN caching 👀 IntersectionObserver + document.hidden → pause when out of view 🔼 Smart preloading → prioritize first visible frames The Grand Finale: Flipbooks for the Future Image sequence animations are the unsung heroes of immersive web experiences – turning static pages into interactive stories without video baggage . With this tiny redraw check, you're building cool and efficient experiences. Your users (and their batteries) will thank you. Got questions, your own hacks, or want to share a project? Drop them in the comments – let's geek out together! 🚀 Happy coding & happy low-power animating! ⚡ Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sagar Follow Joined Mar 28, 2024 Trending on DEV Community Hot Prompt Engineering Won’t Fix Your Architecture # discuss # career # ai # programming What was your win this week??? # weeklyretro # discuss Inside the SQLite Frontend: Tokenizer, Parser, and Code Generator # webdev # programming # database # architecture 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/samuel_ochaba_eb9c875fa89/you-know-python-basics-now-lets-build-something-real-1pco
You Know Python Basics—Now Let's Build Something Real - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Samuel Ochaba Posted on Jan 8 You Know Python Basics—Now Let's Build Something Real # python # gamedev # beginners # programming Who this is for: You've completed a Python basics course or tutorial. You understand variables, loops, conditionals, and strings. But you haven't built anything real yet. This project is specifically for that stage. You've learned variables, loops, conditionals, and string methods. Each concept made sense in isolation. But when you stared at a blank file and tried to build something... nothing came together. This is the gap between knowing syntax and actually programming . I just open-sourced a project specifically designed to bridge that gap: a text adventure game that combines all those foundational concepts into one playable program. Repo: github.com/samuel-ochaba-dev/zero-to-ai-engineer-projects What You'll Practice This isn't just another tutorial—it's a consolidation project. Every Python basic you've learned has a job: Concept How It's Used Variables & Data Types Game state, rooms, player info Dictionaries Nested data for the game world Operators Health checks, item membership String Methods .strip() , .lower() , .split() , .join() User Input Interactive input() game loop Conditionals if-elif-else and match/case for commands While Loops Main game loop For Loops Iterating inventory with enumerate() Type Hints Self-documenting function signatures The point isn't to learn new syntax. The point is to combine concepts you already know. How to Get the Most from This Don't just run the code. That's the mistake most people make with learning projects. Instead: 1. Read the code without running it first Trace through the main loop. Predict what happens when you type go north or take torch . Then run it to check your mental model. 2. Break something intentionally Remove a line. Change a condition. See what error you get. This teaches you what each piece is actually doing. 3. Extend it The repo includes practice exercises: Add a new room with items Implement a locked door puzzle (requires a key) Add a scoring system Create new random events Building on existing code is how real projects work. The Pattern You'll Keep Using The main game loop looks like this: while game_running : # Check win/lose conditions # Display current state # Get player input # Process command # Trigger random events Enter fullscreen mode Exit fullscreen mode This pattern—a loop that reads input, processes it, updates state, and displays results—appears everywhere : CLI tools Chat applications AI chatbots (read user message → send to LLM → display response → repeat) Game engines REPLs Once you understand this pattern deeply, you'll recognize it in every interactive program you encounter. Requirements Python 3.10+ (required for match/case syntax) No external dependencies git clone https://github.com/samuel-ochaba-dev/zero-to-ai-engineer-projects.git cd zero-to-ai-engineer-projects/dungeon-escape-text-adventure-game python3 adventure_game.py Enter fullscreen mode Exit fullscreen mode Sample Gameplay ======================================== DUNGEON ESCAPE ======================================== You wake up in a dark dungeon. Find the exit to escape! Type 'help' for available commands. You are in the Entrance Hall. A dusty entrance with cobwebs covering the walls. A faint light flickers from the north. Exits: north, east Items here: torch Health: 100 | Inventory: empty What do you do? > Enter fullscreen mode Exit fullscreen mode Navigate through rooms, collect items, survive random events, and find the exit. The mental shift from "I know what a while loop is" to "I can use a while loop to build a game loop" is significant. This project is designed to make that shift concrete. Clone it. Break it. Extend it. This is adapted from my upcoming book, Zero to AI Engineer: Python Foundations. I share excerpts like this on Substack → https://substack.com/@samuelochaba Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Samuel Ochaba Follow Building AI apps. Writing about it. Author of "Zero to AI Engineer: Python Foundations" (coming soon). Joined Nov 8, 2025 More from Samuel Ochaba Why Your Python Code Takes Hours Instead of Seconds (A 3-Line Fix) # python # performance # beginners # programming Python Sets: remove() vs discard() — When Silence Is Golden # python # programming # tutorial # webdev Python Dictionary Views Are Live (And It Might Break Your Code) # python # programming # webdev # beginners 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/saas
Saas - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close # saas Follow Hide Create Post Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu I'm Open Sourcing Two SaaS Apps and Everything I'll Work on This Year Ben Ben Ben Follow Jan 12 I'm Open Sourcing Two SaaS Apps and Everything I'll Work on This Year # career # devjournal # opensource # saas Comments Add Comment 3 min read What we intentionally removed when building a feature flag service Illia Illia Illia Follow Jan 12 What we intentionally removed when building a feature flag service # programming # saas # startup # webdev Comments Add Comment 3 min read Quiverstone: The Single Pane of Glass for AWS Multi-Account Chaos Ross Wickman Ross Wickman Ross Wickman Follow for AWS Community Builders Jan 12 Quiverstone: The Single Pane of Glass for AWS Multi-Account Chaos # management # governance # saas # tooling Comments Add Comment 3 min read Your SaaS Doesn’t Have a Traffic Problem — It Has a Clarity Problem Muhammad Faizan Muhammad Faizan Muhammad Faizan Follow Jan 10 Your SaaS Doesn’t Have a Traffic Problem — It Has a Clarity Problem # saas # seo Comments Add Comment 2 min read Being Strong Is a Choice. Brian Kim Brian Kim Brian Kim Follow Jan 11 Being Strong Is a Choice. # showdev # saas # architecture # softwareengineering Comments Add Comment 12 min read Building an AI-Powered GTM Audit Tool: A Technical Breakdown Tom Regan Tom Regan Tom Regan Follow Jan 10 Building an AI-Powered GTM Audit Tool: A Technical Breakdown # saas # startup # ai # webdev Comments Add Comment 4 min read Premium vs Non-Premium Domains: What You’re Really Paying For Alex Cloudstar Alex Cloudstar Alex Cloudstar Follow Jan 10 Premium vs Non-Premium Domains: What You’re Really Paying For # webdev # programming # saas # software Comments Add Comment 4 min read Buildsaas.dev shrey vijayvargiya shrey vijayvargiya shrey vijayvargiya Follow Jan 10 Buildsaas.dev # programming # webdev # saas # javascript 5  reactions Comments Add Comment 6 min read Перестал участвовать в стартапах на «миллионы долларов» Александр Миленькин Александр Миленькин Александр Миленькин Follow Jan 10 Перестал участвовать в стартапах на «миллионы долларов» # startup # vc # saas # entrepreneurship 2  reactions Comments 2  comments 1 min read HarisLab Connect: Manage Website Forms, Feedback, Newsletters & Subscribers Effortlessly 🚀 Muhammad Haris Muhammad Haris Muhammad Haris Follow Jan 10 HarisLab Connect: Manage Website Forms, Feedback, Newsletters & Subscribers Effortlessly 🚀 # webdev # productivity # marketing # saas 5  reactions Comments 1  comment 1 min read Why I built an "Anti-Node" for the Deep Web Ayush Gairola Ayush Gairola Ayush Gairola Follow Jan 10 Why I built an "Anti-Node" for the Deep Web # programming # saas # ai # algorithms Comments Add Comment 2 min read That Ego-Check Moment When You Discover Someone Already Built Your "Unique" Idea... But Way Better Nyanguno Nyanguno Nyanguno Follow Jan 9 That Ego-Check Moment When You Discover Someone Already Built Your "Unique" Idea... But Way Better # saas # startup # indiehackers # validation Comments Add Comment 3 min read Perpetual vs Subscription Licenses: Which Business Model Wins in 2026? Olivier Moussalli Olivier Moussalli Olivier Moussalli Follow Jan 9 Perpetual vs Subscription Licenses: Which Business Model Wins in 2026? # csharp # business # saas # licensing Comments Add Comment 8 min read How to Add Comments to a Flutter App Without a Backend Joris Obert Joris Obert Joris Obert Follow Jan 8 How to Add Comments to a Flutter App Without a Backend # flutter # dart # mobile # saas Comments Add Comment 3 min read Vertical AI over generic tools: a quick observation from real estate tech Roy Kim Roy Kim Roy Kim Follow Jan 9 Vertical AI over generic tools: a quick observation from real estate tech # ai # machinelearning # saas Comments Add Comment 1 min read Building a RAG-Based AI Platform Албакиев Сардорбек Албакиев Сардорбек Албакиев Сардорбек Follow Jan 8 Building a RAG-Based AI Platform # webdev # ai # saas # machinelearning Comments Add Comment 1 min read How Digital HSEQ Systems Are Making Ships Safer (And Why Developers Should Care) Aksa Mariya Aksa Mariya Aksa Mariya Follow Jan 8 How Digital HSEQ Systems Are Making Ships Safer (And Why Developers Should Care) # maritime # software # saas # safety Comments Add Comment 4 min read I Built a SaaS People Actually Needed—Marketing It With $0 Has Been Brutal Nyanguno Nyanguno Nyanguno Follow Jan 8 I Built a SaaS People Actually Needed—Marketing It With $0 Has Been Brutal # saas # indiehacker # buildinpublic # marketing Comments Add Comment 2 min read Building HubSpot apps in 2025: What’s new, what’s changing, and how to get started. Gadget Gadget Gadget Follow for Gadget Jan 6 Building HubSpot apps in 2025: What’s new, what’s changing, and how to get started. # hubspot # webdev # saas # api 11  reactions Comments Add Comment 5 min read AI, Fake Reviews, and the Trust Crisis in SaaS Mukul Sharma Mukul Sharma Mukul Sharma Follow Jan 9 AI, Fake Reviews, and the Trust Crisis in SaaS # startup # saas # product # productivity 6  reactions Comments Add Comment 3 min read Beyond the Code: What I Learned Building My First SaaS Ayush Gairola Ayush Gairola Ayush Gairola Follow Jan 8 Beyond the Code: What I Learned Building My First SaaS # programming # saas # startup # ai 1  reaction Comments 1  comment 2 min read AI-Native Tools: How They’re Finally Delivering Real ROI for Subscription Businesses John John John Follow Jan 8 AI-Native Tools: How They’re Finally Delivering Real ROI for Subscription Businesses # ai # saas # productmanagement # devops Comments Add Comment 3 min read Why I Built a Group Buying App for Shopify Enes Efe Enes Efe Enes Efe Follow Jan 7 Why I Built a Group Buying App for Shopify # shopify # shopifyapp # ecommerce # saas Comments Add Comment 4 min read Feature flags became overkill — small teams need something simpler Illia Illia Illia Follow Jan 8 Feature flags became overkill — small teams need something simpler # startup # saas # programming # webdev Comments 1  comment 3 min read 16+ Free HTML Admin Dashboard Templates for SaaS Sunil Joshi Sunil Joshi Sunil Joshi Follow Jan 11 16+ Free HTML Admin Dashboard Templates for SaaS # webdev # html # opensource # saas Comments Add Comment 6 min read loading... trending guides/resources Learning from failure: Building saas heaven, an open-source archive of failed saas Build in Public: Day Zero Black Friday App Deals: 2025 I Built a Form Backend in a Weekend Because Paying $20/Month for Contact Forms is Stupid Anatomy of an Effective SaaS Navigation Menu Design Tips and Tricks for Creating a Good Login Page Design Getting started with Shop Minis (and other mini apps!) Show DEV: I Built an Image-to-3D SaaS Using Tencent's New Hunyuan 3D AI Progress Indicators Explained: Types, Variations & Best Practices for SaaS Design I Spent 40 Hours Researching Business Ideas So You Don't Have To - Here's What Actually Works in ... My checklist before launching any app How Top Fitness Apps Price & Convert: Insights from 1,200 Paywalls Implementing Multitenancy in Auth0 Using Organizations: A Complete Guide Build in Public: Week 3. First Survive Discovery, Then Enjoy Analysis 🚀 Salesforce Launches a Free CRM Suite for Small Businesses — A Game-Changer for SMBs in 2025 🧩 Part 1: The Ultimate 2025 SaaS Tech Stack — Build, Launch, and Monetize in Under 10 Minutes Building Multi-Tenant SaaS as a Solo Developer Android SaaS App with Subscriptions: Complete 2025 Guide 16+ Free HTML Admin Dashboard Templates for SaaS Stop asking "would you use this?" (here's what to do instead) 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://forem.com/t/esp32/page/6
Esp32 Page 6 - Forem Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close # esp32 Follow Hide Create Post Older #esp32 posts 3 4 5 6 7 8 9 10 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu 讓 MicroPython 完全釋放 ESP32-S3 N16R8 的威力 codemee codemee codemee Follow Mar 7 '24 讓 MicroPython 完全釋放 ESP32-S3 N16R8 的威力 # esp32 # esp32s3 # psram 7  reactions Comments Add Comment 1 min read WiFi Hacking + ESP32 = WIFI32: A wireless security tool. Sypher Sypher Sypher Follow Mar 5 '24 WiFi Hacking + ESP32 = WIFI32: A wireless security tool. # hacktoberfest # wifi # hacking # esp32 8  reactions Comments Add Comment 1 min read Edge IoT with Rust on ESP: WiFi Revisited Omar Hiari Omar Hiari Omar Hiari Follow Mar 2 '24 Edge IoT with Rust on ESP: WiFi Revisited # rust # tutorial # esp32 # iot 4  reactions Comments 2  comments 6 min read ESP Embedded Rust: Ping CLI App Part 2 Omar Hiari Omar Hiari Omar Hiari Follow Feb 24 '24 ESP Embedded Rust: Ping CLI App Part 2 # rust # cli # tutorial # esp32 1  reaction Comments Add Comment 11 min read 取得指向類別成員函式的指位器 codemee codemee codemee Follow Feb 23 '24 取得指向類別成員函式的指位器 # esp32 # arduino # cpp 1  reaction Comments Add Comment 2 min read I built a garage for my roomba with a ESP32. Lucho Peñafiel Lucho Peñafiel Lucho Peñafiel Follow Feb 20 '24 I built a garage for my roomba with a ESP32. # arduino # automation # esp32 # cpp 3  reactions Comments 1  comment 2 min read ESP Embedded Rust: Ping CLI App Part 1 Omar Hiari Omar Hiari Omar Hiari Follow Feb 17 '24 ESP Embedded Rust: Ping CLI App Part 1 # cli # esp32 # tutorial # rust Comments Add Comment 10 min read Edge IoT with Rust on ESP: Ping! Omar Hiari Omar Hiari Omar Hiari Follow Feb 10 '24 Edge IoT with Rust on ESP: Ping! # esp32 # rust # iot # tutorial 3  reactions Comments Add Comment 5 min read FeedMyFurBabies – I am switching my AWS IoT Core project to AWS CDK Chiwai Chan Chiwai Chan Chiwai Chan Follow Feb 2 '24 FeedMyFurBabies – I am switching my AWS IoT Core project to AWS CDK # cdk # esp32 # aws # iot Comments Add Comment 6 min read ESP32 to AWS: Complete IoT Solution with IoT Core, DynamoDB, and Lambda Functions in Golang BERAT DİNÇKAN BERAT DİNÇKAN BERAT DİNÇKAN Follow Jan 29 '24 ESP32 to AWS: Complete IoT Solution with IoT Core, DynamoDB, and Lambda Functions in Golang # esp32 # aws # go # iot 61  reactions Comments Add Comment 18 min read Introduction to hardware programming with DeviceScript Timon van Spronsen Timon van Spronsen Timon van Spronsen Follow Jan 25 '24 Introduction to hardware programming with DeviceScript # javascript # typescript # esp32 # iot 5  reactions Comments 2  comments 6 min read Cultivo Conectado: Do Conceito à Realidade de um Sistema IoT para Monitoramento Agrícola Hugo Souza Hugo Souza Hugo Souza Follow Jan 11 '24 Cultivo Conectado: Do Conceito à Realidade de um Sistema IoT para Monitoramento Agrícola # iot # aws # javascript # esp32 Comments Add Comment 12 min read ESP32 Camera: Hardware and GPIO Functions Sebastian Sebastian Sebastian Follow Jan 8 '24 ESP32 Camera: Hardware and GPIO Functions # microcontroller # arduino # esp32 13  reactions Comments Add Comment 5 min read Embedded Rust Education: 2023 Reflections & 2024 Visions Omar Hiari Omar Hiari Omar Hiari Follow Dec 15 '23 Embedded Rust Education: 2023 Reflections & 2024 Visions # rust # esp32 # embedded 8  reactions Comments 3  comments 8 min read Embassy on ESP: UART Transmitter Omar Hiari Omar Hiari Omar Hiari Follow Dec 9 '23 Embassy on ESP: UART Transmitter # rust # tutorial # iot # esp32 2  reactions Comments 2  comments 9 min read Embassy on ESP: GPIO Omar Hiari Omar Hiari Omar Hiari Follow Dec 3 '23 Embassy on ESP: GPIO # rust # esp32 # tutorial # beginners 3  reactions Comments Add Comment 13 min read Embassy on ESP: Getting Started Omar Hiari Omar Hiari Omar Hiari Follow Nov 26 '23 Embassy on ESP: Getting Started # rust # newbie # tutorial # esp32 41  reactions Comments 5  comments 7 min read How to Use ESP32-CAM with MicroPython Shilleh Shilleh Shilleh Follow Nov 27 '23 How to Use ESP32-CAM with MicroPython # esp32 # micropython # tutorial # iot 79  reactions Comments 1  comment 2 min read Edge IoT with Rust on ESP: MQTT Subscriber Omar Hiari Omar Hiari Omar Hiari Follow Nov 19 '23 Edge IoT with Rust on ESP: MQTT Subscriber # rust # tutorial # beginners # esp32 3  reactions Comments 5  comments 7 min read Edge IoT with Rust on ESP: NTP Omar Hiari Omar Hiari Omar Hiari Follow Nov 3 '23 Edge IoT with Rust on ESP: NTP # rust # esp32 # tutorial # beginners 10  reactions Comments 2  comments 6 min read Edge IoT with Rust on ESP: HTTP Server Omar Hiari Omar Hiari Omar Hiari Follow Oct 20 '23 Edge IoT with Rust on ESP: HTTP Server # rust # tutorial # beginners # esp32 11  reactions Comments 1  comment 8 min read DeviceScript and LCD screens Peli de Halleux Peli de Halleux Peli de Halleux Follow Oct 9 '23 DeviceScript and LCD screens # typescript # esp32 # beginners # iot 4  reactions Comments Add Comment 3 min read Edge IoT with Rust on ESP: HTTP Client Omar Hiari Omar Hiari Omar Hiari Follow Oct 6 '23 Edge IoT with Rust on ESP: HTTP Client # rust # tutorial # iot # esp32 3  reactions Comments Add Comment 8 min read IoT with Rust on ESP: Connecting WiFi Omar Hiari Omar Hiari Omar Hiari Follow Sep 29 '23 IoT with Rust on ESP: Connecting WiFi # rust # tutorial # iot # esp32 15  reactions Comments 7  comments 7 min read DeviceScript and OLED screens Peli de Halleux Peli de Halleux Peli de Halleux Follow Sep 26 '23 DeviceScript and OLED screens # typescript # esp32 # iot # beginners 1  reaction Comments Add Comment 3 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — Your community HQ Home About Contact Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a blogging-forward open source social network where we learn from one another Log in Create account
2026-01-13T08:49:10
https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#react-dom
React v16.8: The One With Hooks – React Blog We want to hear from you! Take our 2021 Community Survey! This site is no longer updated. Go to react.dev React Docs Tutorial Blog Community v 18.2.0 Languages GitHub React v16.8: The One With Hooks February 06, 2019 by Dan Abramov This blog site has been archived. Go to react.dev/blog to see the recent posts. With React 16.8, React Hooks are available in a stable release! What Are Hooks? Hooks let you use state and other React features without writing a class. You can also build your own Hooks to share reusable stateful logic between components. If you’ve never heard of Hooks before, you might find these resources interesting: Introducing Hooks explains why we’re adding Hooks to React. Hooks at a Glance is a fast-paced overview of the built-in Hooks. Building Your Own Hooks demonstrates code reuse with custom Hooks. Making Sense of React Hooks explores the new possibilities unlocked by Hooks. useHooks.com showcases community-maintained Hooks recipes and demos. You don’t have to learn Hooks right now. Hooks have no breaking changes, and we have no plans to remove classes from React. The Hooks FAQ describes the gradual adoption strategy. No Big Rewrites We don’t recommend rewriting your existing applications to use Hooks overnight. Instead, try using Hooks in some of the new components, and let us know what you think. Code using Hooks will work side by side with existing code using classes. Can I Use Hooks Today? Yes! Starting with 16.8.0, React includes a stable implementation of React Hooks for: React DOM React DOM Server React Test Renderer React Shallow Renderer Note that to enable Hooks, all React packages need to be 16.8.0 or higher . Hooks won’t work if you forget to update, for example, React DOM. React Native will support Hooks in the 0.59 release . Tooling Support React Hooks are now supported by React DevTools. They are also supported in the latest Flow and TypeScript definitions for React. We strongly recommend enabling a new lint rule called eslint-plugin-react-hooks to enforce best practices with Hooks. It will soon be included into Create React App by default. What’s Next We described our plan for the next months in the recently published React Roadmap . Note that React Hooks don’t cover all use cases for classes yet but they’re very close . Currently, only getSnapshotBeforeUpdate() and componentDidCatch() methods don’t have equivalent Hooks APIs, and these lifecycles are relatively uncommon. If you want, you should be able to use Hooks in most of the new code you’re writing. Even while Hooks were in alpha, the React community created many interesting examples and recipes using Hooks for animations, forms, subscriptions, integrating with other libraries, and so on. We’re excited about Hooks because they make code reuse easier, helping you write your components in a simpler way and make great user experiences. We can’t wait to see what you’ll create next! Testing Hooks We have added a new API called ReactTestUtils.act() in this release. It ensures that the behavior in your tests matches what happens in the browser more closely. We recommend to wrap any code rendering and triggering updates to your components into act() calls. Testing libraries can also wrap their APIs with it (for example, react-testing-library ’s render and fireEvent utilities do this). For example, the counter example from this page can be tested like this: import React from 'react' ; import ReactDOM from 'react-dom' ; import { act } from 'react-dom/test-utils' ; import Counter from './Counter' ; let container ; beforeEach ( ( ) => { container = document . createElement ( 'div' ) ; document . body . appendChild ( container ) ; } ) ; afterEach ( ( ) => { document . body . removeChild ( container ) ; container = null ; } ) ; it ( 'can render and update a counter' , ( ) => { // Test first render and effect act ( ( ) => { ReactDOM . render ( < Counter /> , container ) ; } ) ; const button = container . querySelector ( 'button' ) ; const label = container . querySelector ( 'p' ) ; expect ( label . textContent ) . toBe ( 'You clicked 0 times' ) ; expect ( document . title ) . toBe ( 'You clicked 0 times' ) ; // Test second render and effect act ( ( ) => { button . dispatchEvent ( new MouseEvent ( 'click' , { bubbles : true } ) ) ; } ) ; expect ( label . textContent ) . toBe ( 'You clicked 1 times' ) ; expect ( document . title ) . toBe ( 'You clicked 1 times' ) ; } ) ; The calls to act() will also flush the effects inside of them. If you need to test a custom Hook, you can do so by creating a component in your test, and using your Hook from it. Then you can test the component you wrote. To reduce the boilerplate, we recommend using react-testing-library which is designed to encourage writing tests that use your components as the end users do. Thanks We’d like to thank everybody who commented on the Hooks RFC for sharing their feedback. We’ve read all of your comments and made some adjustments to the final API based on them. Installation React React v16.8.0 is available on the npm registry. To install React 16 with Yarn, run: yarn add react@^16.8.0 react-dom@^16.8.0 To install React 16 with npm, run: npm install --save react@^16.8.0 react-dom@^16.8.0 We also provide UMD builds of React via a CDN: < script crossorigin src = " https://unpkg.com/react@16/umd/react.production.min.js " > </ script > < script crossorigin src = " https://unpkg.com/react-dom@16/umd/react-dom.production.min.js " > </ script > Refer to the documentation for detailed installation instructions . ESLint Plugin for React Hooks Note As mentioned above, we strongly recommend using the eslint-plugin-react-hooks lint rule. If you’re using Create React App, instead of manually configuring ESLint you can wait for the next version of react-scripts which will come out shortly and will include this rule. Assuming you already have ESLint installed, run: # npm npm install eslint-plugin-react-hooks --save-dev # yarn yarn add eslint-plugin-react-hooks --dev Then add it to your ESLint configuration: { "plugins" : [ // ... "react-hooks" ] , "rules" : { // ... "react-hooks/rules-of-hooks" : "error" } } Changelog React Add Hooks — a way to use state and other React features without writing a class. ( @acdlite et al. in #13968 ) Improve the useReducer Hook lazy initialization API. ( @acdlite in #14723 ) React DOM Bail out of rendering on identical values for useState and useReducer Hooks. ( @acdlite in #14569 ) Don’t compare the first argument passed to useEffect / useMemo / useCallback Hooks. ( @acdlite in #14594 ) Use Object.is algorithm for comparing useState and useReducer values. ( @Jessidhia in #14752 ) Support synchronous thenables passed to React.lazy() . ( @gaearon in #14626 ) Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. ( @gaearon in #14654 ) Warn about mismatching Hook order in development. ( @threepointone in #14585 and @acdlite in #14591 ) Effect clean-up functions must return either undefined or a function. All other values, including null , are not allowed. @acdlite in #14119 React Test Renderer Support Hooks in the shallow renderer. ( @trueadm in #14567 ) Fix wrong state in shouldComponentUpdate in the presence of getDerivedStateFromProps for Shallow Renderer. ( @chenesan in #14613 ) Add ReactTestRenderer.act() and ReactTestUtils.act() for batching updates so that tests more closely match real behavior. ( @threepointone in #14744 ) ESLint Plugin: React Hooks Initial release . ( @calebmer in #13968 ) Fix reporting after encountering a loop. ( @calebmer and @Yurickh in #14661 ) Don’t consider throwing to be a rule violation. ( @sophiebits in #14040 ) Hooks Changelog Since Alpha Versions The above changelog contains all notable changes since our last stable release (16.7.0). As with all our minor releases , none of the changes break backwards compatibility. If you’re currently using Hooks from an alpha build of React, note that this release does contain some small breaking changes to Hooks. We don’t recommend depending on alphas in production code. We publish them so we can make changes in response to community feedback before the API is stable. Here are all breaking changes to Hooks that have been made since the first alpha release: Remove useMutationEffect . ( @sophiebits in #14336 ) Rename useImperativeMethods to useImperativeHandle . ( @threepointone in #14565 ) Bail out of rendering on identical values for useState and useReducer Hooks. ( @acdlite in #14569 ) Don’t compare the first argument passed to useEffect / useMemo / useCallback Hooks. ( @acdlite in #14594 ) Use Object.is algorithm for comparing useState and useReducer values. ( @Jessidhia in #14752 ) Render components with Hooks twice in Strict Mode (DEV-only). ( @gaearon in #14654 ) Improve the useReducer Hook lazy initialization API. ( @acdlite in #14723 ) Is this page useful? Edit this page Recent Posts React Labs: What We've Been Working On – June 2022 React v18.0 How to Upgrade to React 18 React Conf 2021 Recap The Plan for React 18 Introducing Zero-Bundle-Size React Server Components React v17.0 Introducing the New JSX Transform React v17.0 Release Candidate: No New Features React v16.13.0 All posts ... Docs Installation Main Concepts Advanced Guides API Reference Hooks Testing Contributing FAQ Channels GitHub Stack Overflow Discussion Forums Reactiflux Chat DEV Community Facebook Twitter Community Code of Conduct Community Resources More Tutorial Blog Acknowledgements React Native Privacy Terms Copyright © 2025 Meta Platforms, Inc.
2026-01-13T08:49:10
https://dev.to/sagarparmarr/genx-from-childhood-flipbooks-to-premium-scroll-animation-1j4#chapter-3-the-heros-hack-redraw-only-when-it-matters
GenX: From Childhood Flipbooks to Premium Scroll Animation - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sagar Posted on Jan 13 • Originally published at sagarparmarr.hashnode.dev GenX: From Childhood Flipbooks to Premium Scroll Animation # webdev # performance # animation Build buttery-smooth, Apple-style image sequence animations on canvas + the tiny redraw hack that saves up to 80% GPU/battery power Hey there, fellow web dev enthusiasts! 🖐️ Remember those childhood flipbooks where you'd scribble a stick figure on the corner of your notebook pages, flip through them furiously, and suddenly – bam – your doodle was dancing? That's the nostalgic spark behind one of the coolest tricks in modern web design: image sequence animations . You've seen them on slick landing pages – those buttery-smooth, scroll-driven "videos" that feel alive as you navigate the site. But here's the plot twist: they're not videos at all . They're just a clever stack of images, orchestrated like a symphony on a <canvas> element. In this post, we're diving into how these animations work, why they're a game-changer for interactive storytelling, and – drumroll please 🥁 – a tiny optimization that stops your user's device from chugging power like it's training for a marathon. Let's flip the page and get started! ✨ Classic flipbook magic – the inspiration behind modern web wizardry Quick access (want to play right away?) → Live Demo → Full source code on GitHub Now let's get into how this magic actually works... Chapter 1: The Flipbook Reborn – What Is Image Sequence Animation? Picture this: You're on a high-end e-commerce site, scrolling down a product page. As your finger glides, a 3D model spins seamlessly, or a background scene morphs from day to night. It looks like high-def video, but peek at the network tab – no MP4 in sight . Instead, it's a barrage of optimized images (usually 100–200 WebP files) doing the heavy lifting. At its core, image sequence animation is digital flipbook wizardry : Export a video/animation as individual frames Preload them into memory as HTMLImageElement objects Drive playback with scroll position (0% = frame 1, 100% = last frame) Render the right frame on <canvas> Why choose this over <video> ? 🎮 Total control — perfect sync with scroll, hover, etc. ⚡ Lightweight hosting — images cache beautifully on CDNs, compress with WebP/AVIF 😅 No encoding drama — skip codecs, bitrates, and cross-browser video nightmares But every hero has a weakness: lots of network requests + heavy repainting = GPU sweat & battery drain on big/retina screens. We'll fix that soon. Smooth scroll-triggered image sequence in action Chapter 2: Behind the Curtain – How the Magic Happens (With Code!) Here's the typical flow in a React-ish world (pseudocode – adapt to vanilla/Vue/Svelte/whatever you love): // React-style pseudocode – hook it up to your scroll listener! const FRAME_COUNT = 192 ; // Your total frames const targetFrameRef = useRef ( 0 ); // Scroll-driven goal const currentFrameRef = useRef ( 0 ); // Current position const rafRef = useRef < number | null > ( null ); // Update target on scroll (progress: 0-1) function onScrollChange ( progress : number ) { const nextTarget = Math . round ( progress * ( FRAME_COUNT - 1 )); targetFrameRef . current = Math . clamp ( nextTarget , 0 , FRAME_COUNT - 1 ); // Assuming a clamp util } // The animation loop: Lerp and draw useEffect (() => { const tick = () => { const curr = currentFrameRef . current ; const target = targetFrameRef . current ; const diff = target - curr ; const step = Math . abs ( diff ) < 0.001 ? 0 : diff * 0.2 ; // Close the gap by 20% each frame const next = step === 0 ? target : curr + step ; currentFrameRef . current = next ; drawFrame ( Math . round ( next )); // Render the frame rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => { if ( rafRef . current ) cancelAnimationFrame ( rafRef . current ); }; }, []); function drawFrame ( index : number ) { const ctx = canvasRef . current ?. getContext ( ' 2d ' ); if ( ! ctx ) return ; // Clear, fill background, and draw image with contain-fit const img = preloadedImages [ index ]; ctx . clearRect ( 0 , 0 , canvas . width , canvas . height ); // ...aspect ratio calculations and drawImage() here... } Enter fullscreen mode Exit fullscreen mode Elegant, right? But here's the villain... The Plot Twist: Idle Repaints = Battery Vampires 🧛‍♂️ When users pause to read copy or admire the product, that requestAnimationFrame loop keeps churning 60 times per second … redrawing the exact same frame over and over. On high-DPI/4K retina screens? → Massive canvas clears → Repeated image scaling & smoothing → Constant GPU compositing The result: laptop fans kick into overdrive, the device heats up, and battery life tanks fast. I've seen (and measured) this in real projects — idle GPU/CPU spikes that turn a "premium" experience into a power hog. Time for the hero upgrade! Here are real before/after screenshots from my own testing using Chrome DevTools with Frame Rendering Stats enabled (GPU memory + frame rate overlay visible): Before: ~15.6 MB GPU idle After: ~2.4 MB GPU idle Before Optimization After Optimization Idle state with constant repaints – 15.6 MB GPU memory used Idle state post-hack – only 2.4 MB GPU memory used See the difference? Before : ~15.6 MB GPU memory in idle → heavy, wasteful repainting After : ~2.4 MB GPU memory → zen-like efficiency This tiny check eliminates redundant drawImage() calls and can drop idle GPU usage by up to 80% in heavy canvas scenarios (your mileage may vary based on resolution, DPR, and image size). Pro tip: Enable Paint flashing (green highlights) + Frame Rendering Stats in DevTools → scroll a bit, then pause. Watch the green flashes disappear and GPU stats stabilize after applying the fix. Battery saved = happier users + longer sessions 🌍⚡ Chapter 3: The Hero's Hack – Redraw Only When It Matters Super simple fix: track the last drawn frame index and skip drawImage() if nothing changed. useEffect (() => { let prevFrameIndex = Math . round ( currentFrameRef . current ); const tick = () => { // ... same lerp logic ... currentFrameRef . current = next ; const nextFrameIndex = Math . round ( next ); // ★ The magic line ★ if ( nextFrameIndex !== prevFrameIndex ) { drawFrame ( nextFrameIndex ); prevFrameIndex = nextFrameIndex ; } rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => cancelAnimationFrame ( rafRef . current ! ); }, []); Enter fullscreen mode Exit fullscreen mode Why this feels like a superpower Scrolling → still buttery-smooth (draws only when needed) Idle → zen mode (just cheap math, no GPU pain) Real-world wins → up to 80% less idle GPU usage in my tests Pro tip: Use Paint Flashing + Performance tab in DevTools to see the difference yourself. Try it yourself! Here's a minimal, production-ready demo you can fork and play with: → Live Demo → Full source code on GitHub Extra Twists: Level Up Your Animation Game ⚙️ DPR Clamp → cap devicePixelRatio at 2 🖼️ Smart contain-fit drawing (calculate once) 🚀 WebP/AVIF + CDN caching 👀 IntersectionObserver + document.hidden → pause when out of view 🔼 Smart preloading → prioritize first visible frames The Grand Finale: Flipbooks for the Future Image sequence animations are the unsung heroes of immersive web experiences – turning static pages into interactive stories without video baggage . With this tiny redraw check, you're building cool and efficient experiences. Your users (and their batteries) will thank you. Got questions, your own hacks, or want to share a project? Drop them in the comments – let's geek out together! 🚀 Happy coding & happy low-power animating! ⚡ Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sagar Follow Joined Mar 28, 2024 Trending on DEV Community Hot Prompt Engineering Won’t Fix Your Architecture # discuss # career # ai # programming What was your win this week??? # weeklyretro # discuss Inside the SQLite Frontend: Tokenizer, Parser, and Code Generator # webdev # programming # database # architecture 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/flo152121063061/i-tried-to-capture-system-audio-in-the-browser-heres-what-i-learned-1f99#the-annoying-details
I tried to capture system audio in the browser. Here's what I learned. - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Flo Posted on Jan 12           I tried to capture system audio in the browser. Here's what I learned. # webdev # javascript # learning # api I'm building LiveSuggest, a real-time AI assistant that listens to your meetings and gives you suggestions as you talk. Simple idea, right? Turns out, capturing audio from a browser tab is... complicated. The good news Chrome and Edge support it. You use getDisplayMedia , the same API for screen sharing, but with an audio option: const stream = await navigator . mediaDevices . getDisplayMedia ({ video : true , audio : { systemAudio : ' include ' } }); Enter fullscreen mode Exit fullscreen mode The user picks a tab to share, checks "Share tab audio", and boom — you get the audio stream. Works great for Zoom, Teams, Meet, whatever runs in a browser tab. The bad news Firefox? Implements getDisplayMedia but completely ignores the audio part. No error, no warning. You just... don't get audio. Safari? Same story. The API exists, audio doesn't. Mobile browsers? None of them support it. iOS, Android, doesn't matter. So if you're building something that needs system audio, you're looking at Chrome/Edge desktop only. That's maybe 60-65% of your potential users. What I ended up doing I detect the browser upfront and show a clear message: "Firefox doesn't support system audio capture for meetings. Use Chrome or Edge for this feature. Microphone capture is still available." No tricks, no workarounds. Just honesty. Users appreciate knowing why something doesn't work rather than wondering if they did something wrong. For Firefox/Safari users, the app falls back to microphone-only mode. It's not ideal for capturing both sides of a conversation, but it's better than nothing. The annoying details A few things that wasted my time so they don't waste yours: You have to request video. Even if you only want audio. video: true is mandatory. I immediately stop the video track after getting the stream, but you can't skip it. The "Share tab audio" checkbox is easy to miss. Chrome shows it in the sharing dialog, but it's not checked by default. If your user doesn't check it, you get a stream with zero audio tracks. No error, just silence. The stream can die anytime. User clicks "Stop sharing" in Chrome's toolbar? Your stream ends. You need to listen for the ended event and handle it gracefully. Was it worth it? Absolutely. For the browsers that support it, capturing tab audio is a game-changer. You can build things that weren't possible before — meeting assistants, live translators, accessibility tools. Just go in knowing that you'll spend time on browser detection and fallbacks. That's the web in 2025. If you're curious about what I built, check out LiveSuggest . And if you've found better workarounds for Firefox/Safari, I'd love to hear about them in the comments. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Flo Follow Joined Jan 12, 2026 Trending on DEV Community Hot What was your win this week??? # weeklyretro # discuss AI should not be in Code Editors # programming # ai # productivity # discuss The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/sagarparmarr/genx-from-childhood-flipbooks-to-premium-scroll-animation-1j4#chapter-2-behind-the-curtain-how-the-magic-happens-with-code
GenX: From Childhood Flipbooks to Premium Scroll Animation - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sagar Posted on Jan 13 • Originally published at sagarparmarr.hashnode.dev GenX: From Childhood Flipbooks to Premium Scroll Animation # webdev # performance # animation Build buttery-smooth, Apple-style image sequence animations on canvas + the tiny redraw hack that saves up to 80% GPU/battery power Hey there, fellow web dev enthusiasts! 🖐️ Remember those childhood flipbooks where you'd scribble a stick figure on the corner of your notebook pages, flip through them furiously, and suddenly – bam – your doodle was dancing? That's the nostalgic spark behind one of the coolest tricks in modern web design: image sequence animations . You've seen them on slick landing pages – those buttery-smooth, scroll-driven "videos" that feel alive as you navigate the site. But here's the plot twist: they're not videos at all . They're just a clever stack of images, orchestrated like a symphony on a <canvas> element. In this post, we're diving into how these animations work, why they're a game-changer for interactive storytelling, and – drumroll please 🥁 – a tiny optimization that stops your user's device from chugging power like it's training for a marathon. Let's flip the page and get started! ✨ Classic flipbook magic – the inspiration behind modern web wizardry Quick access (want to play right away?) → Live Demo → Full source code on GitHub Now let's get into how this magic actually works... Chapter 1: The Flipbook Reborn – What Is Image Sequence Animation? Picture this: You're on a high-end e-commerce site, scrolling down a product page. As your finger glides, a 3D model spins seamlessly, or a background scene morphs from day to night. It looks like high-def video, but peek at the network tab – no MP4 in sight . Instead, it's a barrage of optimized images (usually 100–200 WebP files) doing the heavy lifting. At its core, image sequence animation is digital flipbook wizardry : Export a video/animation as individual frames Preload them into memory as HTMLImageElement objects Drive playback with scroll position (0% = frame 1, 100% = last frame) Render the right frame on <canvas> Why choose this over <video> ? 🎮 Total control — perfect sync with scroll, hover, etc. ⚡ Lightweight hosting — images cache beautifully on CDNs, compress with WebP/AVIF 😅 No encoding drama — skip codecs, bitrates, and cross-browser video nightmares But every hero has a weakness: lots of network requests + heavy repainting = GPU sweat & battery drain on big/retina screens. We'll fix that soon. Smooth scroll-triggered image sequence in action Chapter 2: Behind the Curtain – How the Magic Happens (With Code!) Here's the typical flow in a React-ish world (pseudocode – adapt to vanilla/Vue/Svelte/whatever you love): // React-style pseudocode – hook it up to your scroll listener! const FRAME_COUNT = 192 ; // Your total frames const targetFrameRef = useRef ( 0 ); // Scroll-driven goal const currentFrameRef = useRef ( 0 ); // Current position const rafRef = useRef < number | null > ( null ); // Update target on scroll (progress: 0-1) function onScrollChange ( progress : number ) { const nextTarget = Math . round ( progress * ( FRAME_COUNT - 1 )); targetFrameRef . current = Math . clamp ( nextTarget , 0 , FRAME_COUNT - 1 ); // Assuming a clamp util } // The animation loop: Lerp and draw useEffect (() => { const tick = () => { const curr = currentFrameRef . current ; const target = targetFrameRef . current ; const diff = target - curr ; const step = Math . abs ( diff ) < 0.001 ? 0 : diff * 0.2 ; // Close the gap by 20% each frame const next = step === 0 ? target : curr + step ; currentFrameRef . current = next ; drawFrame ( Math . round ( next )); // Render the frame rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => { if ( rafRef . current ) cancelAnimationFrame ( rafRef . current ); }; }, []); function drawFrame ( index : number ) { const ctx = canvasRef . current ?. getContext ( ' 2d ' ); if ( ! ctx ) return ; // Clear, fill background, and draw image with contain-fit const img = preloadedImages [ index ]; ctx . clearRect ( 0 , 0 , canvas . width , canvas . height ); // ...aspect ratio calculations and drawImage() here... } Enter fullscreen mode Exit fullscreen mode Elegant, right? But here's the villain... The Plot Twist: Idle Repaints = Battery Vampires 🧛‍♂️ When users pause to read copy or admire the product, that requestAnimationFrame loop keeps churning 60 times per second … redrawing the exact same frame over and over. On high-DPI/4K retina screens? → Massive canvas clears → Repeated image scaling & smoothing → Constant GPU compositing The result: laptop fans kick into overdrive, the device heats up, and battery life tanks fast. I've seen (and measured) this in real projects — idle GPU/CPU spikes that turn a "premium" experience into a power hog. Time for the hero upgrade! Here are real before/after screenshots from my own testing using Chrome DevTools with Frame Rendering Stats enabled (GPU memory + frame rate overlay visible): Before: ~15.6 MB GPU idle After: ~2.4 MB GPU idle Before Optimization After Optimization Idle state with constant repaints – 15.6 MB GPU memory used Idle state post-hack – only 2.4 MB GPU memory used See the difference? Before : ~15.6 MB GPU memory in idle → heavy, wasteful repainting After : ~2.4 MB GPU memory → zen-like efficiency This tiny check eliminates redundant drawImage() calls and can drop idle GPU usage by up to 80% in heavy canvas scenarios (your mileage may vary based on resolution, DPR, and image size). Pro tip: Enable Paint flashing (green highlights) + Frame Rendering Stats in DevTools → scroll a bit, then pause. Watch the green flashes disappear and GPU stats stabilize after applying the fix. Battery saved = happier users + longer sessions 🌍⚡ Chapter 3: The Hero's Hack – Redraw Only When It Matters Super simple fix: track the last drawn frame index and skip drawImage() if nothing changed. useEffect (() => { let prevFrameIndex = Math . round ( currentFrameRef . current ); const tick = () => { // ... same lerp logic ... currentFrameRef . current = next ; const nextFrameIndex = Math . round ( next ); // ★ The magic line ★ if ( nextFrameIndex !== prevFrameIndex ) { drawFrame ( nextFrameIndex ); prevFrameIndex = nextFrameIndex ; } rafRef . current = requestAnimationFrame ( tick ); }; rafRef . current = requestAnimationFrame ( tick ); return () => cancelAnimationFrame ( rafRef . current ! ); }, []); Enter fullscreen mode Exit fullscreen mode Why this feels like a superpower Scrolling → still buttery-smooth (draws only when needed) Idle → zen mode (just cheap math, no GPU pain) Real-world wins → up to 80% less idle GPU usage in my tests Pro tip: Use Paint Flashing + Performance tab in DevTools to see the difference yourself. Try it yourself! Here's a minimal, production-ready demo you can fork and play with: → Live Demo → Full source code on GitHub Extra Twists: Level Up Your Animation Game ⚙️ DPR Clamp → cap devicePixelRatio at 2 🖼️ Smart contain-fit drawing (calculate once) 🚀 WebP/AVIF + CDN caching 👀 IntersectionObserver + document.hidden → pause when out of view 🔼 Smart preloading → prioritize first visible frames The Grand Finale: Flipbooks for the Future Image sequence animations are the unsung heroes of immersive web experiences – turning static pages into interactive stories without video baggage . With this tiny redraw check, you're building cool and efficient experiences. Your users (and their batteries) will thank you. Got questions, your own hacks, or want to share a project? Drop them in the comments – let's geek out together! 🚀 Happy coding & happy low-power animating! ⚡ Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sagar Follow Joined Mar 28, 2024 Trending on DEV Community Hot Prompt Engineering Won’t Fix Your Architecture # discuss # career # ai # programming What was your win this week??? # weeklyretro # discuss Inside the SQLite Frontend: Tokenizer, Parser, and Code Generator # webdev # programming # database # architecture 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://reactjs.org/blog/2019/02/06/react-v16.8.0.html#eslint-plugin-for-react-hooks
React v16.8: The One With Hooks – React Blog We want to hear from you! Take our 2021 Community Survey! This site is no longer updated. Go to react.dev React Docs Tutorial Blog Community v 18.2.0 Languages GitHub React v16.8: The One With Hooks February 06, 2019 by Dan Abramov This blog site has been archived. Go to react.dev/blog to see the recent posts. With React 16.8, React Hooks are available in a stable release! What Are Hooks? Hooks let you use state and other React features without writing a class. You can also build your own Hooks to share reusable stateful logic between components. If you’ve never heard of Hooks before, you might find these resources interesting: Introducing Hooks explains why we’re adding Hooks to React. Hooks at a Glance is a fast-paced overview of the built-in Hooks. Building Your Own Hooks demonstrates code reuse with custom Hooks. Making Sense of React Hooks explores the new possibilities unlocked by Hooks. useHooks.com showcases community-maintained Hooks recipes and demos. You don’t have to learn Hooks right now. Hooks have no breaking changes, and we have no plans to remove classes from React. The Hooks FAQ describes the gradual adoption strategy. No Big Rewrites We don’t recommend rewriting your existing applications to use Hooks overnight. Instead, try using Hooks in some of the new components, and let us know what you think. Code using Hooks will work side by side with existing code using classes. Can I Use Hooks Today? Yes! Starting with 16.8.0, React includes a stable implementation of React Hooks for: React DOM React DOM Server React Test Renderer React Shallow Renderer Note that to enable Hooks, all React packages need to be 16.8.0 or higher . Hooks won’t work if you forget to update, for example, React DOM. React Native will support Hooks in the 0.59 release . Tooling Support React Hooks are now supported by React DevTools. They are also supported in the latest Flow and TypeScript definitions for React. We strongly recommend enabling a new lint rule called eslint-plugin-react-hooks to enforce best practices with Hooks. It will soon be included into Create React App by default. What’s Next We described our plan for the next months in the recently published React Roadmap . Note that React Hooks don’t cover all use cases for classes yet but they’re very close . Currently, only getSnapshotBeforeUpdate() and componentDidCatch() methods don’t have equivalent Hooks APIs, and these lifecycles are relatively uncommon. If you want, you should be able to use Hooks in most of the new code you’re writing. Even while Hooks were in alpha, the React community created many interesting examples and recipes using Hooks for animations, forms, subscriptions, integrating with other libraries, and so on. We’re excited about Hooks because they make code reuse easier, helping you write your components in a simpler way and make great user experiences. We can’t wait to see what you’ll create next! Testing Hooks We have added a new API called ReactTestUtils.act() in this release. It ensures that the behavior in your tests matches what happens in the browser more closely. We recommend to wrap any code rendering and triggering updates to your components into act() calls. Testing libraries can also wrap their APIs with it (for example, react-testing-library ’s render and fireEvent utilities do this). For example, the counter example from this page can be tested like this: import React from 'react' ; import ReactDOM from 'react-dom' ; import { act } from 'react-dom/test-utils' ; import Counter from './Counter' ; let container ; beforeEach ( ( ) => { container = document . createElement ( 'div' ) ; document . body . appendChild ( container ) ; } ) ; afterEach ( ( ) => { document . body . removeChild ( container ) ; container = null ; } ) ; it ( 'can render and update a counter' , ( ) => { // Test first render and effect act ( ( ) => { ReactDOM . render ( < Counter /> , container ) ; } ) ; const button = container . querySelector ( 'button' ) ; const label = container . querySelector ( 'p' ) ; expect ( label . textContent ) . toBe ( 'You clicked 0 times' ) ; expect ( document . title ) . toBe ( 'You clicked 0 times' ) ; // Test second render and effect act ( ( ) => { button . dispatchEvent ( new MouseEvent ( 'click' , { bubbles : true } ) ) ; } ) ; expect ( label . textContent ) . toBe ( 'You clicked 1 times' ) ; expect ( document . title ) . toBe ( 'You clicked 1 times' ) ; } ) ; The calls to act() will also flush the effects inside of them. If you need to test a custom Hook, you can do so by creating a component in your test, and using your Hook from it. Then you can test the component you wrote. To reduce the boilerplate, we recommend using react-testing-library which is designed to encourage writing tests that use your components as the end users do. Thanks We’d like to thank everybody who commented on the Hooks RFC for sharing their feedback. We’ve read all of your comments and made some adjustments to the final API based on them. Installation React React v16.8.0 is available on the npm registry. To install React 16 with Yarn, run: yarn add react@^16.8.0 react-dom@^16.8.0 To install React 16 with npm, run: npm install --save react@^16.8.0 react-dom@^16.8.0 We also provide UMD builds of React via a CDN: < script crossorigin src = " https://unpkg.com/react@16/umd/react.production.min.js " > </ script > < script crossorigin src = " https://unpkg.com/react-dom@16/umd/react-dom.production.min.js " > </ script > Refer to the documentation for detailed installation instructions . ESLint Plugin for React Hooks Note As mentioned above, we strongly recommend using the eslint-plugin-react-hooks lint rule. If you’re using Create React App, instead of manually configuring ESLint you can wait for the next version of react-scripts which will come out shortly and will include this rule. Assuming you already have ESLint installed, run: # npm npm install eslint-plugin-react-hooks --save-dev # yarn yarn add eslint-plugin-react-hooks --dev Then add it to your ESLint configuration: { "plugins" : [ // ... "react-hooks" ] , "rules" : { // ... "react-hooks/rules-of-hooks" : "error" } } Changelog React Add Hooks — a way to use state and other React features without writing a class. ( @acdlite et al. in #13968 ) Improve the useReducer Hook lazy initialization API. ( @acdlite in #14723 ) React DOM Bail out of rendering on identical values for useState and useReducer Hooks. ( @acdlite in #14569 ) Don’t compare the first argument passed to useEffect / useMemo / useCallback Hooks. ( @acdlite in #14594 ) Use Object.is algorithm for comparing useState and useReducer values. ( @Jessidhia in #14752 ) Support synchronous thenables passed to React.lazy() . ( @gaearon in #14626 ) Render components with Hooks twice in Strict Mode (DEV-only) to match class behavior. ( @gaearon in #14654 ) Warn about mismatching Hook order in development. ( @threepointone in #14585 and @acdlite in #14591 ) Effect clean-up functions must return either undefined or a function. All other values, including null , are not allowed. @acdlite in #14119 React Test Renderer Support Hooks in the shallow renderer. ( @trueadm in #14567 ) Fix wrong state in shouldComponentUpdate in the presence of getDerivedStateFromProps for Shallow Renderer. ( @chenesan in #14613 ) Add ReactTestRenderer.act() and ReactTestUtils.act() for batching updates so that tests more closely match real behavior. ( @threepointone in #14744 ) ESLint Plugin: React Hooks Initial release . ( @calebmer in #13968 ) Fix reporting after encountering a loop. ( @calebmer and @Yurickh in #14661 ) Don’t consider throwing to be a rule violation. ( @sophiebits in #14040 ) Hooks Changelog Since Alpha Versions The above changelog contains all notable changes since our last stable release (16.7.0). As with all our minor releases , none of the changes break backwards compatibility. If you’re currently using Hooks from an alpha build of React, note that this release does contain some small breaking changes to Hooks. We don’t recommend depending on alphas in production code. We publish them so we can make changes in response to community feedback before the API is stable. Here are all breaking changes to Hooks that have been made since the first alpha release: Remove useMutationEffect . ( @sophiebits in #14336 ) Rename useImperativeMethods to useImperativeHandle . ( @threepointone in #14565 ) Bail out of rendering on identical values for useState and useReducer Hooks. ( @acdlite in #14569 ) Don’t compare the first argument passed to useEffect / useMemo / useCallback Hooks. ( @acdlite in #14594 ) Use Object.is algorithm for comparing useState and useReducer values. ( @Jessidhia in #14752 ) Render components with Hooks twice in Strict Mode (DEV-only). ( @gaearon in #14654 ) Improve the useReducer Hook lazy initialization API. ( @acdlite in #14723 ) Is this page useful? Edit this page Recent Posts React Labs: What We've Been Working On – June 2022 React v18.0 How to Upgrade to React 18 React Conf 2021 Recap The Plan for React 18 Introducing Zero-Bundle-Size React Server Components React v17.0 Introducing the New JSX Transform React v17.0 Release Candidate: No New Features React v16.13.0 All posts ... Docs Installation Main Concepts Advanced Guides API Reference Hooks Testing Contributing FAQ Channels GitHub Stack Overflow Discussion Forums Reactiflux Chat DEV Community Facebook Twitter Community Code of Conduct Community Resources More Tutorial Blog Acknowledgements React Native Privacy Terms Copyright © 2025 Meta Platforms, Inc.
2026-01-13T08:49:10
https://dev.to/community-badges
Community Badges - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Badges Receive badges for being awesome! Click on a badge to see how you can earn it. All Badges Community Badges Coding Badges Past Badges Sort Recent Alphabetical Stay up-to-date with the latest achievements, DEV Community! Here you’ll find badges in the order they were most recently created and awarded. This collection of badges celebrates your positive interactions and engagement within our platform's community and recognizes your role in making our community thrive. Here you'll find badges categorized by your technical prowess, language expertise, hackathon triumphs, and more, showcasing your diverse skills and accomplishments. Explore this collection for badges that, while no longer active, still hold a piece of your journey. Revisit your past achievements and remember the milestones that have shaped your path on our platform. Title Got it Close 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/help/spam-and-abuse#DEV-Community-Moderation
Spam and Abuse - DEV Help - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close DEV Help The latest help documentation, tips and tricks from the DEV Community. Help > Spam and Abuse Spam and Abuse In this article Reporting spam, plagiarism, and other abuse DEV Community Moderation Utilize various channels available to provide feedback and report issues to us. Reporting spam, plagiarism, and other abuse In general, you can fill out our report abuse form here and a DEV Team member will review it. For a specific comment, navigate to the comment and click the ... for the option to report abuse. For a specific article, navigate to the article and click the ... in the sidebar for the option to report abuse. Otherwise, you may scroll to the bottom of the article, beneath the comments, and click report abuse. DEV Community Moderation We also regularly recruit DEV moderators to help us fight spam, organize the site via tags, welcome new members, spread good vibes, and ensure folks follow our Code of Conduct and   Terms . 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/beck_moulton/stop-sending-sensitive-data-to-the-cloud-build-a-local-first-mental-health-ai-with-webllm-5100#prerequisites
Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Beck_Moulton Posted on Jan 13 Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM # privacy # typescript # webgpu # webllm In an era where data breaches are common, privacy in Edge AI has moved from a "nice-to-have" to a "must-have," especially in sensitive fields like healthcare. If you've ever worried about your private conversations being used to train a massive corporate model, you're not alone. Today, we are exploring the frontier of Privacy-preserving AI by building a medical Q&A bot that runs entirely on the client side. By leveraging WebLLM , WebGPU , and TVM Unity , we can now execute large language models directly in the browser. This means the dialogue never leaves the user's device, providing a truly decentralized and secure experience. For those looking to scale these types of high-performance implementations, I highly recommend checking out the WellAlly Tech Blog for more production-ready patterns on enterprise-grade AI deployment. The Architecture: Why WebGPU? Traditional AI apps send a request to a server (Python/FastAPI), which queries a GPU (NVIDIA A100), and sends a JSON response back. This "Client-Server" model is the privacy killer. Our "Local-First" approach uses WebGPU , the next-gen graphics API for the web, to tap into the user's hardware directly. graph TD subgraph User_Device [User Browser / Device] A[React UI Layer] -->|Dispatch| B[WebLLM Worker] B -->|Request Execution| C[TVM Unity Runtime] C -->|Compute Kernels| D[WebGPU API] D -->|Inference| E[VRAM / GPU Hardware] E -->|Streaming Text| B B -->|State Update| A end F((Public Internet)) -.->|Static Assets & Model Weights| A F -.->|NO PRIVATE DATA SENT| A Enter fullscreen mode Exit fullscreen mode Prerequisites Before we dive in, ensure you have a browser that supports WebGPU (Chrome 113+ or Edge). Framework : React (Vite template) Language : TypeScript AI Engine : @mlc-ai/web-llm Core Tech : WebGPU & TVM Unity Step 1: Initializing the Engine Running an LLM in a browser requires significant memory management. We use a Web Worker to ensure the UI doesn't freeze while the model is "thinking." // engine.ts import { CreateMLCEngine , MLCEngineConfig } from " @mlc-ai/web-llm " ; const modelId = " Llama-3-8B-Instruct-v0.1-q4f16_1-MLC " ; // Lightweight quantized model export async function initializeEngine ( onProgress : ( p : number ) => void ) { const engine = await CreateMLCEngine ( modelId , { initProgressCallback : ( report ) => { onProgress ( Math . round ( report . progress * 100 )); console . log ( report . text ); }, }); return engine ; } Enter fullscreen mode Exit fullscreen mode Step 2: Creating the Privacy-First Chat Hook In a medical context, the system prompt is critical. We need to instruct the model to behave as a supportive assistant while maintaining strict safety boundaries. // useChat.ts import { useState } from ' react ' ; import { initializeEngine } from ' ./engine ' ; export const useChat = () => { const [ engine , setEngine ] = useState < any > ( null ); const [ messages , setMessages ] = useState < { role : string , content : string }[] > ([]); const startConsultation = async () => { const instance = await initializeEngine (( p ) => console . log ( `Loading: ${ p } %` )); setEngine ( instance ); // Set the System Identity for Mental Health await instance . chat . completions . create ({ messages : [{ role : " system " , content : " You are a private, empathetic mental health assistant. Your goal is to listen and provide support. You do not store data. If a user is in danger, provide emergency resources immediately. " }], }); }; const sendMessage = async ( input : string ) => { const newMessages = [... messages , { role : " user " , content : input }]; setMessages ( newMessages ); const reply = await engine . chat . completions . create ({ messages : newMessages , }); setMessages ([... newMessages , reply . choices [ 0 ]. message ]); }; return { messages , sendMessage , startConsultation }; }; Enter fullscreen mode Exit fullscreen mode Step 3: Optimizing for Performance (TVM Unity) The magic behind WebLLM is TVM Unity , which compiles models into highly optimized WebGPU kernels. This allows us to run models like Llama-3 or Mistral at impressive tokens-per-second on a standard Macbook or high-end Windows laptop. If you are dealing with advanced production scenarios—such as model sharding or custom quantization for specific medical datasets—the team at WellAlly Tech has documented extensive guides on optimizing WebAssembly runtimes for maximum throughput. Step 4: Building the React UI A simple, clean interface is best for mental health applications. We want the user to feel calm and secure. // ChatComponent.tsx import React , { useState } from ' react ' ; import { useChat } from ' ./useChat ' ; export const MentalHealthBot = () => { const { messages , sendMessage , startConsultation } = useChat (); const [ input , setInput ] = useState ( "" ); return ( < div className = "p-6 max-w-2xl mx-auto border rounded-xl shadow-lg bg-white" > < h2 className = "text-2xl font-bold mb-4" > Shielded Mind AI 🛡️ </ h2 > < p className = "text-sm text-gray-500 mb-4" > Status: < span className = "text-green-500" > Local Only (Encrypted by Hardware) </ span ></ p > < div className = "h-96 overflow-y-auto mb-4 p-4 bg-gray-50 rounded" > { messages . map (( m , i ) => ( < div key = { i } className = { `mb-2 ${ m . role === ' user ' ? ' text-blue-600 ' : ' text-gray-800 ' } ` } > < strong > { m . role === ' user ' ? ' You: ' : ' AI: ' } </ strong > { m . content } </ div > )) } </ div > < div className = "flex gap-2" > < input className = "flex-1 border p-2 rounded" value = { input } onChange = { ( e ) => setInput ( e . target . value ) } placeholder = "How are you feeling today?" /> < button onClick = { () => { sendMessage ( input ); setInput ( "" ); } } className = "bg-purple-600 text-white px-4 py-2 rounded hover:bg-purple-700" > Send </ button > </ div > < button onClick = { startConsultation } className = "mt-4 text-xs text-gray-400 underline" > Initialize Secure WebGPU Engine </ button > </ div > ); }; Enter fullscreen mode Exit fullscreen mode Challenges & Solutions Model Size : Downloading a 4GB-8GB model to a browser is the biggest hurdle. Solution : Use IndexedDB caching so the user only downloads the model once. VRAM Limits : Mobile devices may struggle with large context windows. Solution : Implement sliding window attention and aggressive 4-bit quantization. Cold Start : The initial "Loading" phase can take time. Solution : Use a skeleton screen and explain that this process ensures their privacy. Conclusion By moving the "brain" of our AI from the cloud to the user's browser, we've created a psychological safe space that is literally impossible for hackers to intercept at the server level. WebLLM and WebGPU are turning browsers into powerful AI engines. Want to dive deeper into Edge AI security , LLM Quantization , or WebGPU performance tuning ? Head over to the WellAlly Tech Blog where we break down the latest advancements in local-first software architecture. What do you think? Would you trust a local-only AI more than ChatGPT for sensitive topics? Let me know in the comments below! 👇 Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Beck_Moulton Follow Joined Aug 22, 2022 More from Beck_Moulton Private & Fast: Building a Browser-Based Dermatology Screener with WebLLM and WebGPU # privacy # ai # web # webdev Federated Learning or Bust: Architecting Privacy-First Health AI # machinelearning # architecture # privacy # devops Why Your Health Data Belongs on Your Device (Not the Cloud): A Local-First Manifesto # architecture # privacy # offlinefirst # database 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/szabgab/perl-weekly-597-happy-new-year-1ofm
Perl Weekly #597 - Happy New Year! - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Gabor Szabo Posted on Jan 2, 2023 • Originally published at perlweekly.com           Perl Weekly #597 - Happy New Year! # perl # news # programming perl-weekly (154 Part Series) 1 Perl 🐪 Weekly #591 - Less than 50% use CI 2 Perl 🐪 Weekly #592 - Perl Blogging? ... 150 more parts... 3 Perl Weekly #593 - Perl on DEV.to 4 Perl Weekly #594 - Advent Calendar 5 Perl Weekly #595 - Happy Hanukkah - Merry Christmas 6 Perl Weekly #596 - New Year Resolution 7 Perl Weekly #597 - Happy New Year! 8 Perl Weekly #598 - TIOBE and Perl 9 Perl Weekly #599 - Open Source Development Course for Perl developers 10 Perl Weekly #600 - 600th edition and still going ... 11 Perl Weekly #601 - The bad apple 12 Perl Weekly #602 - RIP Ben Davies 13 Perl Weekly #603 - Generating prejudice 14 Perl Weekly #604 - P in LAMP? 15 Perl Weekly #605 - Trying to save a disappearing language 16 Perl Weekly #606 - First Love Perl? 17 Perl Weekly #607 - The Perl Planetarium 18 Perl Weekly #608 - Love You Perl!!! 19 Perl Weekly #609 - Open Source and your workplace 20 Perl Weekly #610 - Perl and TPF 21 Perl Weekly #611 - Test coverage on CPAN Digger 22 Perl Weekly #612 - Coming Soon! 23 Perl Weekly #613 - CPAN Dashboard 24 Perl Weekly #614 - Why not Perl? 25 Perl Weekly #615 - PTS - Perl Toolchain Summit 26 Perl Weekly #616 - Camel in India 27 Perl Weekly #617 - The business risks of using CPAN 28 Perl Weekly #618 - Conference Season? 29 Perl Weekly #619 - Maintenance of CPAN modules 30 Perl Weekly #620 - Abandoned modules? 31 Perl Weekly #621 - OSDC - Open Source Development Club 32 Perl Weekly #622 - Perl v5.38 coming soon ... 33 Perl Weekly #623 - perl v5.38.0 was released 34 Perl Weekly #624 - TPRC 2023 35 Perl Weekly #625 - Mohammad Sajid Anwar the new White Camel 36 Perl Weekly #626 - What is Oshun? 37 Perl Weekly #627 - Rust is fun 38 Perl Weekly #628 - Have you tried Perl v5.38? 39 Perl Weekly #630 - Vacation time 40 Perl Weekly #631 - The Koha conference ended 41 Perl Weekly #632 - New school-year 42 Perl Weekly #633 - Remember 9/11? 43 Perl Weekly #634 - Perl v5.39.1 44 Perl Weekly #635 - Is there a Perl developer shortage? 45 Perl Weekly #636 - Happy Birthday Larry 46 Perl Weekly #637 - We are in shock 47 Perl Weekly #638 - Dancing Perl? 48 Perl Weekly #639 - Standards of Conduct 49 Perl Weekly #640 - Perl Workshop 50 Perl Weekly #641 - Advent Calendars 51 Perl Weekly #642 - Perl and PAUSE 52 Perl Weekly #643 - My birthday wishes 53 Perl Weekly #644 - Perl Sponsor? 54 Perl Weekly #645 - Advent Calendars 55 Perl Weekly #646 - Festive Season 56 Perl Weekly #647 - Happy birthday Perl! 🎂 57 Perl Weekly #648 - Merry Christmas 58 Perl Weekly #649 - Happier New Year! 59 Perl Weekly #650 - Perl in 2024 60 Perl Weekly #651 - Watch the release of Perl live! 61 Perl Weekly #653 - Perl & Raku Conference 2024 to Host a Science Track! 62 Perl Weekly #654 - Perl and FOSDEM 63 Perl Weekly #655 - What's new in Perl and on CPAN? What's new in Italy? 64 Perl Weekly #656 - Perl Conference 65 Perl Weekly #657 - Perl Toolchain Summit in 2024 66 Perl Weekly #658 - Perl // Outreachy 67 Perl Weekly #659 - The big chess game 68 Perl Weekly #660 - What's new ... 69 Perl Weekly #661 - Perl Toolchain Summit 2024 70 Perl Weekly #662 - TPRC in Las Vegas 71 Perl Weekly #663 - No idea 72 Perl Weekly #664 - German Perl Workshop 73 Perl Weekly #665 - How to get better at Perl? 74 Perl Weekly #666 - LPW 2024 75 Perl Weekly #667 - Call for papers and sponsors for LPW 2024 76 Perl Weekly #668 - Perl v5.40 77 Perl Weekly #669 - How Time Machine works 78 Perl Weekly #670 - Conference Season ... 79 Perl Weekly #671 - In-person and online events 80 Perl Weekly #672 - It's time ... 81 Perl Weekly #673 - One week till the Perl and Raku conference 82 Perl Weekly #676 - Perl and OpenAI 83 Perl Weekly #677 - Reports from TPRC 2024 84 Perl Weekly #678 - Perl Steering Council 85 Perl Weekly #679 - Perl is like... 86 Perl Weekly #680 - Advent Calendar 87 Perl Weekly #681 - GitHub and Perl 88 Perl Weekly #682 - Perl and CPAN 89 Perl Weekly #683 - An uptick in activity on Reddit? 90 Perl Weekly #685 - LPRW 2024 Schedule Now Available 91 Perl Weekly #686 - Perl Conference 92 Perl Weekly #687 - On secrets 93 Perl Weekly #688 - Perl and Hacktoberfest 94 Perl Weekly #689 - October 7 🎗️ 95 Perl Weekly #690 - London Perl & Raku Workshop 2024 96 Perl Weekly #692 - LPW 2024: Quick Report 97 Perl Weekly #693 - Advertising Perl 98 Perl Weekly #694 - LPW: Past, Present & Future 99 Perl Weekly #695 - Perl: Half of our life 100 Perl Weekly #696 - Perl 5 is Perl 101 Perl Weekly #697 - Advent Calendars 2024 102 Perl Weekly #698 - Perl v5.41.7 103 Perl 🐪 Weekly #699 - Happy birthday Perl 104 Perl 🐪 Weekly #700 - White Camel Award 2024 105 Perl 🐪 Weekly #701 - Happier New Year! 106 Perl 🐪 Weekly #702 - Perl Camel 107 Perl 🐪 Weekly #703 - Teach me some Perl! 108 Perl 🐪 Weekly #704 - Perl Podcast 109 Perl 🐪 Weekly #705 - Something is moving 110 Perl 🐪 Weekly #706 - Perl in 2025 111 Perl 🐪 Weekly #707 - Is it ethical? 112 Perl 🐪 Weekly #708 - Perl is growing... 113 Perl 🐪 Weekly #709 - GPRW and Perl Toolchain Summit 114 Perl 🐪 Weekly #710 - PPC - Perl Proposed Changes 115 Perl 🐪 Weekly #711 - Obfuscating Perl 116 Perl 🐪 Weekly #712 - RIP Zefram 117 Perl 🐪 Weekly #713 - Why do companies migrate away from Perl? 118 Perl 🐪 Weekly #714 - Munging Data? 119 Perl 🐪 Weekly #715 - Why do companies move away from Perl? 120 Perl 🐪 Weekly #716 - CVE in Perl 121 Perl 🐪 Weekly #717 - Happy Easter 122 Perl 🐪 Weekly #719 - How do you deal with the decline? 123 Perl 🐪 Weekly #720 - GPW 2025 124 Perl 🐪 Weekly #721 - Perl Roadmap 125 Perl 🐪 Weekly #723 - Perl Ad Server needs ads 126 Perl 🐪 Weekly #724 - Perl and XS 127 Perl 🐪 Weekly #725 - Perl podcasts? 128 Perl 🐪 Weekly #726 - Perl and ChatGPT 129 Perl 🐪 Weekly #727 - Which versions of Perl do you use? 130 Perl 🐪 Weekly #728 - Perl Conference 131 Perl 🐪 Weekly #729 - Videos from TPRC 132 Perl 🐪 Weekly #730 - RIP MST 133 Perl 🐪 Weekly #731 - Looking for a Perl event organizer 134 Perl 🐪 Weekly #732 - MetaCPAN Success Story 135 Perl 🐪 Weekly #733 - Perl using AI 136 Perl 🐪 Weekly #734 - CPAN Day 137 Perl 🐪 Weekly #735 - Perl-related events 138 Perl 🐪 Weekly #736 - NICEPERL 139 Perl 🐪 Weekly #737 - Perl oneliners 140 Perl 🐪 Weekly #739 - Announcing Dancer2 2.0.0 141 Perl 🐪 Weekly #741 - Money to TPRF 💰 142 Perl 🐪 Weekly #742 - Support TPRF 143 Perl 🐪 Weekly #743 - Writing Perl with LLMs 144 Perl 🐪 Weekly #744 - London Perl Workshop 2025 145 Perl 🐪 Weekly #745 - Perl IDE Survey 146 Perl 🐪 Weekly #746 - YAPC::Fukuoka 2025 🇯🇵 147 Perl 🐪 Weekly #748 - Perl v5.43.5 148 Perl 🐪 Weekly #749 - Design Patterns in Modern Perl 149 Perl 🐪 Weekly #750 - Perl Advent Calendar 2025 150 Perl 🐪 Weekly #751 - Open Source contributions 151 Perl 🐪 Weekly #752 - Marlin - OOP Framework 152 Perl 🐪 Weekly #753 - Happy New Year! 153 Perl 🐪 Weekly #754 - New Year Resolution 154 Perl 🐪 Weekly #755 - Does TIOBE help Perl? Originally published at Perl Weekly 597 Hi there! I hope you had a successful 2022 and you are ready for the next year. I certainly have lots of plans. As always. They are also changing a lot all the time. One of them is a new course I am working on called OSDC - Open Source Development Course . It is a hands-on course that covers git/GitHub/GitLab/Testing/CI using real-world open source projects. It is also not only a plan, I am starting the first session next Sunday. It will be given in Hebrew. For the course I started to collect Open Source projects developed by corporations . There are a few where the product is open source such as Redis and Elastic . There are others where the company shares some of its code as open source such as Netflix, Facebook, or Booking.com. I'd like to ask for your help. Look around at your company and maybe other companies and let me know which one shares projects using an Open Source license. It would help me and the participants of this courses a lot. For the purpose of the course and for my collection the programming languages don't matter. However, if you can also point out Perl-based projects, that would be even better. Then I could feature these projects in the newsletter. Let's start now with one I already found: pakket by Booking.com is an Unopinionated Meta-Packaging System that allows you to manage dependencies. It works by trying to avoid work. Enjoy your year! -- Your editor: Gabor Szabo. Articles Set HTTP headers with WWW-Mechanize Perl Suggestion: Improve metacpan title in Google SEO Yuki is trying hard to improve the ranking of MetaCPAN pages, but does he talk to the MetaCPAN developers. Did he send a pull-request to implement this? If not Yuki, then will someone pick-up the idea and implement it? MetaCPAN most voted distributions in 2022 This is the metacpan most voted distributions in 2022 13 best perl distributions created at 2022 (metacpan rating) This list contains distributions created at 2022 10 best Perl questions at stackoverflow in 2022 This is the ten most rated questions at 2022 Stack Overflow. SemVer but with Extra Steps SemVer is Semantic Versioning. Versions have three parts: MAJOR, MINOR, and PATCH. PSA: Changing your b.p.o password is recommended Aristotle has further improved blogs.Perl.org and now he invites the users to update their passwords to ensure that they are secure. Christmas Fractal Christmas Tree The last entry of the 2022 Perl Advent Calendar - a Christmas tree. Reviews and New Year Views, reactions, and followers on DEV in 2022 A little end of year review on my very short year on DEV. Basically 40 days. Happy New Year! Marketing Committee Achievements in 2022 I am glad they published these accomplishments New Years Resolution: 52 posts in 2023 I am looking forward the articles of JONASBN . CPAN List of new CPAN distributions - Dec 2022 The Weekly Challenge The Weekly Challenge by Mohammad Anwar will help you step out of your comfort-zone. You can even win prize money of $50 Amazon voucher by participating in the weekly challenge. We pick one winner at the end of the month from among all of the contributors during the month. The monthly prize is kindly sponsored by Peter Sergeant of PerlCareers . The Weekly Challenge - 198 Welcome to a new week with a couple of fun tasks "Max Gap" and "Prime Count". If you are new to the weekly challenge then why not join us and have fun every week. For more information, please read the FAQ . RECAP - The Weekly Challenge - 197 Enjoy a quick recap of last week's contributions by Team PWC dealing with the "Move Zero" and "Wiggle Sort" tasks in Perl and Raku. You will find plenty of solutions to keep you busy. Zero Wiggle Lots of Raku gems in one place, thanks for sharing knowledge with us every week. PWC197 - Move Zero Well documented solution as always. Thanks for sharing. PWC197 - Wiggle Sort Interesting task analysis ends up with easy and simple solution. Well done. The Weekly Challenge 197 Elegant yet powerful Perl solutions shared by James week after week. Plenty to learn from his contributions. Perl Weekly Challenge 197: Move Zero and Wiggle Sort Once again Laurent came up with a clean one-liner, worth checking out. Keep it up great work. Lists everywhere! Smart hack to solve the Wiggle Sort. Cool, thanks for sharing. Perl Weekly Challenge 197 Even the complex task like Wiggle Sort is done with ease in one-liner (kind of). Nice work. The Perl Weekly Challege #197 Simply loved the narrative form of blog. You end up with pretty solution in no time. Great work, keep it up. Sorting Lists One place for both Perl and Python fans. Plenty to keep you busy. PWC 197 Very impressive one-liner both in Perl and Raku. Nice work, keep it up. Weekly collections NICEPERL's lists Great CPAN modules released last week ; MetaCPAN weekly report ; StackOverflow Perl report . Perl Jobs by Perl Careers Adventure! Senior Perl roles in Malaysia, Dubai and Malta Clever folks know that if you’re lucky, you can earn a living and have an adventure at the same time. Enter our international client: online trading is their game, and they’re looking for Perl folks with passion, drive, and an appreciation for new experiences. Senior Perl Developer with Cross-Trained Chops. UK Remote Perl Role Sure, you’ve got Perl chops for days, but that’s not all you can do — and that’s why our client wants to meet you. They’re looking for senior Perl developers, Node engineers, and those with mighty Python and SQL skills to lead their team. Cross-trained team members are their sweet spot, and whether you’re cross-trained yourself or are open to the possibility, this may be your perfect role. C, C++, and Perl Software Engineers, Let’s Keep the Internet Safe. Remote UK Perl Role A leading digital safeguarding solutions provider is looking for a software engineer experienced in C, C++, or Perl. You’ll have strong Linux knowledge and a methodical approach to problem solving that you use to investigate, replicate, and address customer issues. Your keen understanding of firewalls, proxies, Iptables, Squid, VPNs/IPSec and HTTP(S) will be key to your success at this company. Perl Developer and Business Owner? Remote Perl role in UK & EU Our clients run a job search engine that has grown from two friends with an idea to a site that receives more than 10 million visits per month. They're looking for a Perl pro with at least three years of experience with high-volume and high-traffic apps and sites, a solid understanding of Object-Oriented Perl (perks if that knowledge includes Moose), SQL/MySQL and DBIx::Class. You joined the Perl Weekly to get weekly e-mails about the Perl programming language and related topics. Want to see more? See the archives of all the issues. Not yet subscribed to the newsletter? Join us free of charge ! (C) Copyright Gabor Szabo The articles are copyright the respective authors. perl-weekly (154 Part Series) 1 Perl 🐪 Weekly #591 - Less than 50% use CI 2 Perl 🐪 Weekly #592 - Perl Blogging? ... 150 more parts... 3 Perl Weekly #593 - Perl on DEV.to 4 Perl Weekly #594 - Advent Calendar 5 Perl Weekly #595 - Happy Hanukkah - Merry Christmas 6 Perl Weekly #596 - New Year Resolution 7 Perl Weekly #597 - Happy New Year! 8 Perl Weekly #598 - TIOBE and Perl 9 Perl Weekly #599 - Open Source Development Course for Perl developers 10 Perl Weekly #600 - 600th edition and still going ... 11 Perl Weekly #601 - The bad apple 12 Perl Weekly #602 - RIP Ben Davies 13 Perl Weekly #603 - Generating prejudice 14 Perl Weekly #604 - P in LAMP? 15 Perl Weekly #605 - Trying to save a disappearing language 16 Perl Weekly #606 - First Love Perl? 17 Perl Weekly #607 - The Perl Planetarium 18 Perl Weekly #608 - Love You Perl!!! 19 Perl Weekly #609 - Open Source and your workplace 20 Perl Weekly #610 - Perl and TPF 21 Perl Weekly #611 - Test coverage on CPAN Digger 22 Perl Weekly #612 - Coming Soon! 23 Perl Weekly #613 - CPAN Dashboard 24 Perl Weekly #614 - Why not Perl? 25 Perl Weekly #615 - PTS - Perl Toolchain Summit 26 Perl Weekly #616 - Camel in India 27 Perl Weekly #617 - The business risks of using CPAN 28 Perl Weekly #618 - Conference Season? 29 Perl Weekly #619 - Maintenance of CPAN modules 30 Perl Weekly #620 - Abandoned modules? 31 Perl Weekly #621 - OSDC - Open Source Development Club 32 Perl Weekly #622 - Perl v5.38 coming soon ... 33 Perl Weekly #623 - perl v5.38.0 was released 34 Perl Weekly #624 - TPRC 2023 35 Perl Weekly #625 - Mohammad Sajid Anwar the new White Camel 36 Perl Weekly #626 - What is Oshun? 37 Perl Weekly #627 - Rust is fun 38 Perl Weekly #628 - Have you tried Perl v5.38? 39 Perl Weekly #630 - Vacation time 40 Perl Weekly #631 - The Koha conference ended 41 Perl Weekly #632 - New school-year 42 Perl Weekly #633 - Remember 9/11? 43 Perl Weekly #634 - Perl v5.39.1 44 Perl Weekly #635 - Is there a Perl developer shortage? 45 Perl Weekly #636 - Happy Birthday Larry 46 Perl Weekly #637 - We are in shock 47 Perl Weekly #638 - Dancing Perl? 48 Perl Weekly #639 - Standards of Conduct 49 Perl Weekly #640 - Perl Workshop 50 Perl Weekly #641 - Advent Calendars 51 Perl Weekly #642 - Perl and PAUSE 52 Perl Weekly #643 - My birthday wishes 53 Perl Weekly #644 - Perl Sponsor? 54 Perl Weekly #645 - Advent Calendars 55 Perl Weekly #646 - Festive Season 56 Perl Weekly #647 - Happy birthday Perl! 🎂 57 Perl Weekly #648 - Merry Christmas 58 Perl Weekly #649 - Happier New Year! 59 Perl Weekly #650 - Perl in 2024 60 Perl Weekly #651 - Watch the release of Perl live! 61 Perl Weekly #653 - Perl & Raku Conference 2024 to Host a Science Track! 62 Perl Weekly #654 - Perl and FOSDEM 63 Perl Weekly #655 - What's new in Perl and on CPAN? What's new in Italy? 64 Perl Weekly #656 - Perl Conference 65 Perl Weekly #657 - Perl Toolchain Summit in 2024 66 Perl Weekly #658 - Perl // Outreachy 67 Perl Weekly #659 - The big chess game 68 Perl Weekly #660 - What's new ... 69 Perl Weekly #661 - Perl Toolchain Summit 2024 70 Perl Weekly #662 - TPRC in Las Vegas 71 Perl Weekly #663 - No idea 72 Perl Weekly #664 - German Perl Workshop 73 Perl Weekly #665 - How to get better at Perl? 74 Perl Weekly #666 - LPW 2024 75 Perl Weekly #667 - Call for papers and sponsors for LPW 2024 76 Perl Weekly #668 - Perl v5.40 77 Perl Weekly #669 - How Time Machine works 78 Perl Weekly #670 - Conference Season ... 79 Perl Weekly #671 - In-person and online events 80 Perl Weekly #672 - It's time ... 81 Perl Weekly #673 - One week till the Perl and Raku conference 82 Perl Weekly #676 - Perl and OpenAI 83 Perl Weekly #677 - Reports from TPRC 2024 84 Perl Weekly #678 - Perl Steering Council 85 Perl Weekly #679 - Perl is like... 86 Perl Weekly #680 - Advent Calendar 87 Perl Weekly #681 - GitHub and Perl 88 Perl Weekly #682 - Perl and CPAN 89 Perl Weekly #683 - An uptick in activity on Reddit? 90 Perl Weekly #685 - LPRW 2024 Schedule Now Available 91 Perl Weekly #686 - Perl Conference 92 Perl Weekly #687 - On secrets 93 Perl Weekly #688 - Perl and Hacktoberfest 94 Perl Weekly #689 - October 7 🎗️ 95 Perl Weekly #690 - London Perl & Raku Workshop 2024 96 Perl Weekly #692 - LPW 2024: Quick Report 97 Perl Weekly #693 - Advertising Perl 98 Perl Weekly #694 - LPW: Past, Present & Future 99 Perl Weekly #695 - Perl: Half of our life 100 Perl Weekly #696 - Perl 5 is Perl 101 Perl Weekly #697 - Advent Calendars 2024 102 Perl Weekly #698 - Perl v5.41.7 103 Perl 🐪 Weekly #699 - Happy birthday Perl 104 Perl 🐪 Weekly #700 - White Camel Award 2024 105 Perl 🐪 Weekly #701 - Happier New Year! 106 Perl 🐪 Weekly #702 - Perl Camel 107 Perl 🐪 Weekly #703 - Teach me some Perl! 108 Perl 🐪 Weekly #704 - Perl Podcast 109 Perl 🐪 Weekly #705 - Something is moving 110 Perl 🐪 Weekly #706 - Perl in 2025 111 Perl 🐪 Weekly #707 - Is it ethical? 112 Perl 🐪 Weekly #708 - Perl is growing... 113 Perl 🐪 Weekly #709 - GPRW and Perl Toolchain Summit 114 Perl 🐪 Weekly #710 - PPC - Perl Proposed Changes 115 Perl 🐪 Weekly #711 - Obfuscating Perl 116 Perl 🐪 Weekly #712 - RIP Zefram 117 Perl 🐪 Weekly #713 - Why do companies migrate away from Perl? 118 Perl 🐪 Weekly #714 - Munging Data? 119 Perl 🐪 Weekly #715 - Why do companies move away from Perl? 120 Perl 🐪 Weekly #716 - CVE in Perl 121 Perl 🐪 Weekly #717 - Happy Easter 122 Perl 🐪 Weekly #719 - How do you deal with the decline? 123 Perl 🐪 Weekly #720 - GPW 2025 124 Perl 🐪 Weekly #721 - Perl Roadmap 125 Perl 🐪 Weekly #723 - Perl Ad Server needs ads 126 Perl 🐪 Weekly #724 - Perl and XS 127 Perl 🐪 Weekly #725 - Perl podcasts? 128 Perl 🐪 Weekly #726 - Perl and ChatGPT 129 Perl 🐪 Weekly #727 - Which versions of Perl do you use? 130 Perl 🐪 Weekly #728 - Perl Conference 131 Perl 🐪 Weekly #729 - Videos from TPRC 132 Perl 🐪 Weekly #730 - RIP MST 133 Perl 🐪 Weekly #731 - Looking for a Perl event organizer 134 Perl 🐪 Weekly #732 - MetaCPAN Success Story 135 Perl 🐪 Weekly #733 - Perl using AI 136 Perl 🐪 Weekly #734 - CPAN Day 137 Perl 🐪 Weekly #735 - Perl-related events 138 Perl 🐪 Weekly #736 - NICEPERL 139 Perl 🐪 Weekly #737 - Perl oneliners 140 Perl 🐪 Weekly #739 - Announcing Dancer2 2.0.0 141 Perl 🐪 Weekly #741 - Money to TPRF 💰 142 Perl 🐪 Weekly #742 - Support TPRF 143 Perl 🐪 Weekly #743 - Writing Perl with LLMs 144 Perl 🐪 Weekly #744 - London Perl Workshop 2025 145 Perl 🐪 Weekly #745 - Perl IDE Survey 146 Perl 🐪 Weekly #746 - YAPC::Fukuoka 2025 🇯🇵 147 Perl 🐪 Weekly #748 - Perl v5.43.5 148 Perl 🐪 Weekly #749 - Design Patterns in Modern Perl 149 Perl 🐪 Weekly #750 - Perl Advent Calendar 2025 150 Perl 🐪 Weekly #751 - Open Source contributions 151 Perl 🐪 Weekly #752 - Marlin - OOP Framework 152 Perl 🐪 Weekly #753 - Happy New Year! 153 Perl 🐪 Weekly #754 - New Year Resolution 154 Perl 🐪 Weekly #755 - Does TIOBE help Perl? Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Gabor Szabo Follow Helping individuals and teams improve their software development practices. Introducing testing, test automation, CI, CD, pair programming. That neighborhood. Location Israel Education HUJI - Hebrew University in Jerusalem, Israel; Fazekas in Budapest, Hungary Work CI, Automation, and DevOps Trainer and Consultant at Self Employed Joined Oct 11, 2017 More from Gabor Szabo Perl 🐪 Weekly #755 - Does TIOBE help Perl? # perl # news # programming Perl 🐪 Weekly #754 - New Year Resolution # perl # news # programming Perl 🐪 Weekly #753 - Happy New Year! # perl # news # programming 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/eachampagne/garbage-collection-43nk#main-content
Garbage Collection - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse eachampagne Posted on Nov 17, 2025 • Edited on Dec 6, 2025           Garbage Collection # computerscience # performance # programming It’s easy to forget, while working in the abstract in terms of functions and algorithms, that the memory our programs depend on is real . The values we use in our programs actually exist on the hardware at specific addresses. If we don’t keep track of where we’ve stored data, we run the risk of overwriting something important and getting the wrong information when we go to look it up again. On the other hand, if we’re too guarded about protecting our data, even after we’re finished with it, we waste memory that the program could better use on other tasks. Most programming languages today implement garbage collection to automate periodically releasing memory we no longer need. The garbage collector cannot predict exactly which values will be used again by our program, but it can find some that cannot due to no longer having any way to use them, and safely free them. Garbage Collection Algorithms Reference Counting The simplest algorithm is just to keep a count of references to a piece of memory. If the number of references ever reaches zero, that memory can no longer be reached and can be safely disposed of. However, this strategy fails with circular references. If two objects, for example, reference each other, their reference counts with never reach zero, even if they are otherwise inaccessible from the main program. Tracing Tracing (usually mark-and-sweep), is a more sophisticated approach to memory management. Starting from some defined root(s), the garbage collector visits every piece of memory accessible from either the root or its descendants, marking that memory as still reachable. Any memory not traversed is unreachable and is garbage collected. This avoids the problem of circular references “trapping” memory, since the cycle will not be reached from the main memory graph. However, this approach has more overhead than the reference counting strategy. Many garbage collectors reduce the overhead of mark-and-search by having two (or more) “generations” of allocations. The generational hypothesis states that most allocations die young (think how many variables you use once in a for loop and never again), but those that survive are much more likely to survive a long time. Thus, the pool of young allocations (the “nursery”) is garbage collected frequently, while the old (“tenured”) pool is checked less often. It’s possible to combine both strategies in a hybrid collector. For example, Python uses reference counting as its primary algorithm, then uses a mark-and-sweep pass over the (now smaller) pool of allocated memory to find and eliminate circular references. The Downsides of Garbage Collection Of course, the garbage collector itself introduces some overhead. Depending on the implementation, it may bring the program to a halt while it scans and frees data or defragments the remaining memory. It is also impossible to create a perfectly efficient garbage collector due to the inherent uncertainty in which values will be used again. Other Approaches to Memory Management There are alternatives to garbage collection. A few languages, such as C and C++, require the programmer to manage memory manually (although you can add garbage collectors to both languages yourself if you wish), both while allocating memory to new variables and when deciding when to free memory. Manual memory management avoids the overhead of garbage collection, but adds to program complexity, since this now must be handled by the code itself rather than happening in the background. This also gives the programmer many opportunities to make mistakes , from creating floating pointers by freeing too soon to leaking memory by freeing too late or not at all, to say nothing of the difficulty of using pointers themselves. Rust takes a third option and introduces the concept of “ ownership ” – only one variable can own a piece of data at a time, and that data is released as soon as its owner goes out of scope. This eliminates the need for garbage collection at runtime, as well with its associated performance costs. However, the programmer has to keep track of ownership and borrowing of data, which limits how data can be read or changed at certain points of the program. This requires thinking in a different way from other languages, since some familiar patterns simply won’t compile, and increases Rust’s learning curve sharply. Garbage Collection in JavaScript JavaScript follows the majority of programming languages in using a garbage collector. However, the garbage collector itself is implemented and run by the JavaScript engine, not the script we write ourselves, so implementation varies slightly across engines. However, the general principles are the same. Modern JavaScript libraries all use a mark-and-sweep algorithm with the global object as the algorithm’s root. Since I regularly use Firefox and Node, I’ll look at their engines in a bit more detail. SpiderMonkey , the engine used by Firefox, applies the principle of generational collection, dividing allocations into young and old. It attempts to garbage collect incrementally to avoid long pauses, and runs parts of garbage collection in parallel with itself or concurrently with the main thread when possible. The V8 engine’s Orinoco garbage collector , has three generations: nursery, young, and old, and claims (as of 2019) to be a “mostly parallel and concurrent collector with incremental fallback.” V8 also brags about interweaving garbage collection into the idle time between drawing frames when possible, minimizing the time spent forcing JavaScript execution to pause. Based only on these descriptions, V8’s garbage collector seems a bit more advanced, perhaps because V8 used by Chromium-based browsers in addition to Node.js and thus has more support. However, they seem to have independently converged to similar architectures. The serious demands to provide a smooth user experience means that browser-based garbage collectors must be efficient and eliminate as much overhead as possible, because, as the Node guide to tracing garbage collection neatly summarizes, “ when GC is running, your code is not. ” I admit I’ve rather taken memory management for granted, since most of the languages I’ve studied have garbage collectors. I’ve been fascinated by Rust for years but haven’t managed to wrap my head around its ownership and borrowing rules. (Maybe this is the time it will finally click for me.) But if I struggle with memory management when the compiler itself is looking out for me, I’m not sure how I’d fare in a manual memory management scheme without guardrails. So for now, I’m very grateful to garbage collectors everywhere for making my life easier. The Memory Management Reference was invaluable while researching this blog post, in addition to many other engine- and language-specific references (linked throughout the text). Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse eachampagne Follow Joined Sep 5, 2025 More from eachampagne Parallelization # beginners # performance # programming # computerscience 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://zeroday.forem.com/ajay_shankar_6520110eb250/from-public-risk-to-private-security-cloudfront-with-internal-alb-bin#comments
From Public Risk to Private Security: CloudFront with Internal ALB - Security Forem Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Security Forem Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Ajay Shankar Posted on Oct 7, 2025 From Public Risk to Private Security: CloudFront with Internal ALB # cloudsecurity # aws # networksec # soc Exposing an Application Load Balancer (ALB) to the public internet might seem like the simplest way to make applications globally accessible. But each public ALB is essentially an open door, accessible to anyone, including hackers, bots, or misconfigured scripts. Even with firewalls and security groups in place, small human errors can create major vulnerabilities. A misconfigured rule could let unauthorized requests reach your backend, or sensitive APIs might be discovered and exploited. As applications expand across multiple environments, accounts, or regions, keeping track of which ALBs are public becomes a daunting task. Complexity grows, and so does the risk. In short, public ALBs make your infrastructure fragile, risky, and harder to manage. Solution: CloudFront with Internal ALB The best way to mitigate this risk is to use AWS CloudFront in front of an internal ALB. This setup allows global users to access applications securely, while the backend remains completely private inside a VPC. Architecture Overview Deploy Internal ALB in a Private Subnet - The ALB is not reachable from the internet, keeping your backend safe. Configure CloudFront Distribution - CloudFront acts as the global entry point. It connects to the internal ALB via a VPC Endpoint / PrivateLink, ensuring private communication. Implement Security Controls - Security groups allow traffic only from CloudFront IP ranges. Optionally, enable AWS WAF for additional protection against malicious requests. Outcome: Users get fast, global access, and your applications remain private and secure. Conclusion : From a cybersecurity standpoint, exposing an ALB to the public internet introduces unnecessary risks. By using AWS CloudFront with an internal ALB, organizations can minimize the attack surface, ensuring that only validated requests from CloudFront reach the backend. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Ajay Shankar Follow AWS • Cloud Security • DevOps/DevSecOps — I build secure pipelines and share what I learn. 🛠️🔒 I talk to IAM more than humans. 🤖 Location India Joined Oct 7, 2025 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Security Forem — Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Home About Contact Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Security Forem © 2016 - 2026. Share. Secure. Succeed Log in Create account
2026-01-13T08:49:10
https://dev.to/eachampagne/garbage-collection-43nk#the-downsides-of-garbage-collection
Garbage Collection - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse eachampagne Posted on Nov 17, 2025 • Edited on Dec 6, 2025           Garbage Collection # computerscience # performance # programming It’s easy to forget, while working in the abstract in terms of functions and algorithms, that the memory our programs depend on is real . The values we use in our programs actually exist on the hardware at specific addresses. If we don’t keep track of where we’ve stored data, we run the risk of overwriting something important and getting the wrong information when we go to look it up again. On the other hand, if we’re too guarded about protecting our data, even after we’re finished with it, we waste memory that the program could better use on other tasks. Most programming languages today implement garbage collection to automate periodically releasing memory we no longer need. The garbage collector cannot predict exactly which values will be used again by our program, but it can find some that cannot due to no longer having any way to use them, and safely free them. Garbage Collection Algorithms Reference Counting The simplest algorithm is just to keep a count of references to a piece of memory. If the number of references ever reaches zero, that memory can no longer be reached and can be safely disposed of. However, this strategy fails with circular references. If two objects, for example, reference each other, their reference counts with never reach zero, even if they are otherwise inaccessible from the main program. Tracing Tracing (usually mark-and-sweep), is a more sophisticated approach to memory management. Starting from some defined root(s), the garbage collector visits every piece of memory accessible from either the root or its descendants, marking that memory as still reachable. Any memory not traversed is unreachable and is garbage collected. This avoids the problem of circular references “trapping” memory, since the cycle will not be reached from the main memory graph. However, this approach has more overhead than the reference counting strategy. Many garbage collectors reduce the overhead of mark-and-search by having two (or more) “generations” of allocations. The generational hypothesis states that most allocations die young (think how many variables you use once in a for loop and never again), but those that survive are much more likely to survive a long time. Thus, the pool of young allocations (the “nursery”) is garbage collected frequently, while the old (“tenured”) pool is checked less often. It’s possible to combine both strategies in a hybrid collector. For example, Python uses reference counting as its primary algorithm, then uses a mark-and-sweep pass over the (now smaller) pool of allocated memory to find and eliminate circular references. The Downsides of Garbage Collection Of course, the garbage collector itself introduces some overhead. Depending on the implementation, it may bring the program to a halt while it scans and frees data or defragments the remaining memory. It is also impossible to create a perfectly efficient garbage collector due to the inherent uncertainty in which values will be used again. Other Approaches to Memory Management There are alternatives to garbage collection. A few languages, such as C and C++, require the programmer to manage memory manually (although you can add garbage collectors to both languages yourself if you wish), both while allocating memory to new variables and when deciding when to free memory. Manual memory management avoids the overhead of garbage collection, but adds to program complexity, since this now must be handled by the code itself rather than happening in the background. This also gives the programmer many opportunities to make mistakes , from creating floating pointers by freeing too soon to leaking memory by freeing too late or not at all, to say nothing of the difficulty of using pointers themselves. Rust takes a third option and introduces the concept of “ ownership ” – only one variable can own a piece of data at a time, and that data is released as soon as its owner goes out of scope. This eliminates the need for garbage collection at runtime, as well with its associated performance costs. However, the programmer has to keep track of ownership and borrowing of data, which limits how data can be read or changed at certain points of the program. This requires thinking in a different way from other languages, since some familiar patterns simply won’t compile, and increases Rust’s learning curve sharply. Garbage Collection in JavaScript JavaScript follows the majority of programming languages in using a garbage collector. However, the garbage collector itself is implemented and run by the JavaScript engine, not the script we write ourselves, so implementation varies slightly across engines. However, the general principles are the same. Modern JavaScript libraries all use a mark-and-sweep algorithm with the global object as the algorithm’s root. Since I regularly use Firefox and Node, I’ll look at their engines in a bit more detail. SpiderMonkey , the engine used by Firefox, applies the principle of generational collection, dividing allocations into young and old. It attempts to garbage collect incrementally to avoid long pauses, and runs parts of garbage collection in parallel with itself or concurrently with the main thread when possible. The V8 engine’s Orinoco garbage collector , has three generations: nursery, young, and old, and claims (as of 2019) to be a “mostly parallel and concurrent collector with incremental fallback.” V8 also brags about interweaving garbage collection into the idle time between drawing frames when possible, minimizing the time spent forcing JavaScript execution to pause. Based only on these descriptions, V8’s garbage collector seems a bit more advanced, perhaps because V8 used by Chromium-based browsers in addition to Node.js and thus has more support. However, they seem to have independently converged to similar architectures. The serious demands to provide a smooth user experience means that browser-based garbage collectors must be efficient and eliminate as much overhead as possible, because, as the Node guide to tracing garbage collection neatly summarizes, “ when GC is running, your code is not. ” I admit I’ve rather taken memory management for granted, since most of the languages I’ve studied have garbage collectors. I’ve been fascinated by Rust for years but haven’t managed to wrap my head around its ownership and borrowing rules. (Maybe this is the time it will finally click for me.) But if I struggle with memory management when the compiler itself is looking out for me, I’m not sure how I’d fare in a manual memory management scheme without guardrails. So for now, I’m very grateful to garbage collectors everywhere for making my life easier. The Memory Management Reference was invaluable while researching this blog post, in addition to many other engine- and language-specific references (linked throughout the text). Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse eachampagne Follow Joined Sep 5, 2025 More from eachampagne Parallelization # beginners # performance # programming # computerscience 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/samuel_ochaba_eb9c875fa89/you-know-python-basics-now-lets-build-something-real-1pco#comments
You Know Python Basics—Now Let's Build Something Real - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Samuel Ochaba Posted on Jan 8 You Know Python Basics—Now Let's Build Something Real # python # gamedev # beginners # programming Who this is for: You've completed a Python basics course or tutorial. You understand variables, loops, conditionals, and strings. But you haven't built anything real yet. This project is specifically for that stage. You've learned variables, loops, conditionals, and string methods. Each concept made sense in isolation. But when you stared at a blank file and tried to build something... nothing came together. This is the gap between knowing syntax and actually programming . I just open-sourced a project specifically designed to bridge that gap: a text adventure game that combines all those foundational concepts into one playable program. Repo: github.com/samuel-ochaba-dev/zero-to-ai-engineer-projects What You'll Practice This isn't just another tutorial—it's a consolidation project. Every Python basic you've learned has a job: Concept How It's Used Variables & Data Types Game state, rooms, player info Dictionaries Nested data for the game world Operators Health checks, item membership String Methods .strip() , .lower() , .split() , .join() User Input Interactive input() game loop Conditionals if-elif-else and match/case for commands While Loops Main game loop For Loops Iterating inventory with enumerate() Type Hints Self-documenting function signatures The point isn't to learn new syntax. The point is to combine concepts you already know. How to Get the Most from This Don't just run the code. That's the mistake most people make with learning projects. Instead: 1. Read the code without running it first Trace through the main loop. Predict what happens when you type go north or take torch . Then run it to check your mental model. 2. Break something intentionally Remove a line. Change a condition. See what error you get. This teaches you what each piece is actually doing. 3. Extend it The repo includes practice exercises: Add a new room with items Implement a locked door puzzle (requires a key) Add a scoring system Create new random events Building on existing code is how real projects work. The Pattern You'll Keep Using The main game loop looks like this: while game_running : # Check win/lose conditions # Display current state # Get player input # Process command # Trigger random events Enter fullscreen mode Exit fullscreen mode This pattern—a loop that reads input, processes it, updates state, and displays results—appears everywhere : CLI tools Chat applications AI chatbots (read user message → send to LLM → display response → repeat) Game engines REPLs Once you understand this pattern deeply, you'll recognize it in every interactive program you encounter. Requirements Python 3.10+ (required for match/case syntax) No external dependencies git clone https://github.com/samuel-ochaba-dev/zero-to-ai-engineer-projects.git cd zero-to-ai-engineer-projects/dungeon-escape-text-adventure-game python3 adventure_game.py Enter fullscreen mode Exit fullscreen mode Sample Gameplay ======================================== DUNGEON ESCAPE ======================================== You wake up in a dark dungeon. Find the exit to escape! Type 'help' for available commands. You are in the Entrance Hall. A dusty entrance with cobwebs covering the walls. A faint light flickers from the north. Exits: north, east Items here: torch Health: 100 | Inventory: empty What do you do? > Enter fullscreen mode Exit fullscreen mode Navigate through rooms, collect items, survive random events, and find the exit. The mental shift from "I know what a while loop is" to "I can use a while loop to build a game loop" is significant. This project is designed to make that shift concrete. Clone it. Break it. Extend it. This is adapted from my upcoming book, Zero to AI Engineer: Python Foundations. I share excerpts like this on Substack → https://substack.com/@samuelochaba Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Samuel Ochaba Follow Building AI apps. Writing about it. Author of "Zero to AI Engineer: Python Foundations" (coming soon). Joined Nov 8, 2025 More from Samuel Ochaba Why Your Python Code Takes Hours Instead of Seconds (A 3-Line Fix) # python # performance # beginners # programming Python Sets: remove() vs discard() — When Silence Is Golden # python # programming # tutorial # webdev Python Dictionary Views Are Live (And It Might Break Your Code) # python # programming # webdev # beginners 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/alexsergey/css-modules-vs-css-in-js-who-wins-3n25#cons
CSS Modules vs CSS-in-JS. Who wins? - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sergey Posted on Mar 11, 2021           CSS Modules vs CSS-in-JS. Who wins? # webdev # css # javascript # react Introduction In modern React application development, there are many approaches to organizing application styles. One of the popular ways of such an organization is the CSS-in-JS approach (in the article we will use styled-components as the most popular solution) and CSS Modules. In this article, we will try to answer the question: which is better CSS-in-JS or CSS Modules ? So let's get back to basics. When a web page was primarily set for storing textual documentation and didn't include user interactions, properties were introduced to style the content. Over time, the web became more and more popular, sites got bigger, and it became necessary to reuse styles. For these purposes, CSS was invented. Cascading Style Sheets. Cascading plays a very important role in this name. We write styles that lay like a waterfall over the hollows of our document, filling it with colors and highlighting important elements. Time passed, the web became more and more complex, and we are facing the fact that the styles cascade turned into a problem for us. Distributed teams, working on their parts of the system, combining them into reusable modules, assemble an application from pieces, like Dr. Frankenstein, stitching styles into one large canvas, can get the sudden result... Due to the cascade, the styles of module 1 can affect the display of module 3, and module 4 can make changes to the global styles and change the entire display of the application in general. Developers have started to think of solving this problem. Style naming conventions were created to avoid overlaps, such as Yandex's BEM or Atomic CSS. The idea is clear, we operate with names in order to get predictability, but at the same time to prevent repetitions. These approaches were crashed of the rocks of the human factor. Anyway, we have no guarantee that the developer from team A won't use the name from team C. The naming problem can only be solved by assigning a random name to the CSS class. Thus, we get a completely independent CSS set of styles that will be applied to a specific HTML block and we understand for sure that the rest of the system won't be affected in any way. And then 2 approaches came onto the stage to organize our CSS: CSS Modules and CSS-in-JS . Under the hood, having a different technical implementation, and in fact solving the problem of atomicity, reusability, and avoiding side effects when writing CSS. Technically, CSS Modules transforms style names using a hash-based on the filename, path, style name. Styled-components handles styles in JS runtime, adding them as they go to the head HTML section (<head>). Approaches overview Let's see which approach is more optimal for writing a modern web application! Let's imagine we have a basic React application: import React , { Component } from ' react ' ; import ' ./App.css ' ; class App extends Component { render () { return ( < div className = "title" > React application title </ div > ); } } Enter fullscreen mode Exit fullscreen mode CSS styles of this application: .title { padding : 20px ; background-color : #222 ; text-align : center ; color : white ; font-size : 1.5em ; } Enter fullscreen mode Exit fullscreen mode The dependencies are React 16.14 , react-dom 16.14 Let's try to build this application using webpack using all production optimizations. we've got uglified JS - 129kb separated and minified CSS - 133 bytes The same code in CSS Modules will look like this: import React , { Component } from ' react ' ; import styles from ' ./App.module.css ' ; class App extends Component { render () { return ( < div className = { styles . title } > React application title </ div > ); } } Enter fullscreen mode Exit fullscreen mode uglified JS - 129kb separated and minified CSS - 151 bytes The CSS Modules version will take up a couple of bytes more due to the impossibility of compressing the long generated CSS names. Finally, let's rewrite the same code under styled-components: import React , { Component } from ' react ' ; import styles from ' styled-components ' ; const Title = styles . h1 ` padding: 20px; background-color: #222; text-align: center; color: white; font-size: 1.5em; ` ; class App extends Component { render () { return ( < Title > React application title </ Title > ); } } Enter fullscreen mode Exit fullscreen mode uglified JS - 163kb CSS file is missing The more than 30kb difference between CSS Modules and CSS-in-JS (styled-components) is due to styled-components adding extra code to add styles to the <head> part of the HTML document. In this synthetic test, the CSS Modules approach wins, since the build system doesn't add something extra to implement it, except for the changed class name. Styled-components due to technical implementation, adds dependency as well as code for runtime handling and styling of <head>. Now let's take a quick look at the pros and cons of CSS-in-JS / CSS Modules. Pros and cons CSS-in-JS cons The browser won't start interpreting the styles until styled-components has parsed them and added them to the DOM, which slows down rendering. The absence of CSS files means that you cannot cache separate CSS. One of the key downsides is that most libraries don't support this approach and we still can't get rid of CSS. All native JS and jQuery plugins are written without using this approach. Not all React solutions use it. Styles integration problems. When a markup developer prepares a layout for a JS developer, we may forget to transfer something; there will also be difficulty in synchronizing a new version of layout and JS code. We can't use CSS utilities: SCSS, Less, Postcss, stylelint, etc. pros Styles can use JS logic. This reminds me of Expression in IE6, when we could wrap some logic in our styles (Hello, CSS Expressions :) ). const Title = styles . h1 ` padding: 20px; background-color: #222; text-align: center; color: white; font-size: 1.5em; ${ props => props . secondary && css ` background-color: #fff; color: #000; padding: 10px; font-size: 1em; ` } ` ; Enter fullscreen mode Exit fullscreen mode When developing small modules, it simplifies the connection to the project, since you only need to connect the one independent JS file. It is semantically nicer to use <Title> in a React component than <h1 className={style.title}>. CSS Modules cons To describe global styles, you must use a syntax that does not belong to the CSS specification. :global ( .myclass ) { text-decoration : underline ; } Enter fullscreen mode Exit fullscreen mode Integrating into a project, you need to include styles. Working with typescript, you need to automatically or manually generate interfaces. For these purposes, I use webpack loader: @teamsupercell/typings-for-css-modules-loader pros We work with regular CSS, it makes it possible to use SCSS, Less, Postcss, stylelint, and more. Also, you don't waste time on adapting the CSS to JS. No integration of styles into the code, clean code as result. Almost 100% standardized except for global styles. Conclusion So the fundamental problem with the CSS-in-JS approach is that it's not CSS! This kind of code is harder to maintain if you have a defined person in your team working on markup. Such code will be slower, due to the fact that the CSS rendered into the file is processed in parallel, and the CSS-in-JS cannot be rendered into a separate CSS file. And the last fundamental flaw is the inability to use ready-made approaches and utilities, such as SCSS, Less and Stylelint, and so on. On the other hand, the CSS-in-JS approach can be a good solution for the Frontend team who deals with both markup and JS, and develops all components from scratch. Also, CSS-in-JS will be useful for modules that integrate into other applications. In my personal opinion, the issue of CSS cascading is overrated. If we are developing a small application or site, with one team, then we are unlikely to encounter a name collision or the difficulty of reusing components. If you faced with this problem, I recommend considering CSS Modules, as, in my opinion, this is a more optimal solution for the above factors. In any case, whatever you choose, write meaningful code and don't get fooled by the hype. Hype will pass, and we all have to live with it. Have great and interesting projects, dear readers! Top comments (30) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   dastasoft dastasoft dastasoft Follow Senior Software Engineer Work Senior Software Engineer Joined Feb 17, 2020 • Mar 12 '21 Dropdown menu Copy link Hide One pro of CSS, the hot reload is instant when you just change CSS, with CSS in JS the project is recompiled. For CSS-in-JS I find easier to reuse that code in a React Native project. My personal conclusion is that we are constantly trying to avoid CSS but at the end of the day, CSS will stay here forever. Great article btw! Like comment: Like comment: 25  likes Like Comment button Reply Collapse Expand   GreggHume GreggHume GreggHume Follow A developer who works with and on some of the worlds leading brands. My company is called Cold Brew Studios, see you out there :) Joined Mar 10, 2021 • Mar 9 '22 • Edited on Mar 9 • Edited Dropdown menu Copy link Hide I ran into issues with css modules that styled components seemed to solve. But i ran into issues with styled components that I wouldn't have had with plain scss. So some things to think about: Styled components is a lot more overhead because all the styled components need to be complied into stylesheets and mounted to the head by javascript which is a blocking language. On SSR styled components get compiled into a ServerStyleSheet that then hydrate the react dom tree in the browser via the context api. So even then the mounting of styles only happens in the browser but the parsing of styles happens on the server - that is still a performance penalty and will slow down the page load. In some cases I had no issues with styled components but as my site grew and in complex cases I couldn't help but feel like it was slower, or didn't load as smoothly... and in a world where every second matters, this was a problem for me. Here is an article doing benchmarks on CSS vs CSS in JS: pustelto.com/blog/css-vs-css-in-js... I use nextjs, it is a pity they do not support component level css and we are forced to use css modules or styled components... where as with Nuxt component level scss is part of the package and you have the option on how you want the sites css to bundled - all in one file, split into their own files and some other nifty options. I hope nextjs sharped up on this. Like comment: Like comment: 3  likes Like Comment button Reply Collapse Expand   Nwanguma Victor Nwanguma Victor Nwanguma Victor Follow 🕊 Location Lagos, Nigeria Work Software Developer Joined Feb 18, 2021 • Jun 22 '22 • Edited on Jun 22 • Edited Dropdown menu Copy link Hide A big tip that might help. Why not use SCSS and unique classNames: For example create a unique container className (name of the component) and nest all the other classNames under that unique container className. .home-page-guest { .nav {} .main {} .footer {} } Enter fullscreen mode Exit fullscreen mode < div className = " home-page-guest " > < div className = " nav " /> < div className = " main " /> < div className = " footer " /> < /div > Enter fullscreen mode Exit fullscreen mode Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide I bet you did Greg Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Hank Queston Hank Queston Hank Queston Follow Work CTO at Bonfire Joined May 25, 2021 • May 25 '21 Dropdown menu Copy link Hide I agreed, CSS Modules make a lot more sense to me over Styled Components, always have! Like comment: Like comment: 7  likes Like Comment button Reply Collapse Expand   Comment deleted Collapse Expand   Alien Padilla Rodriguez Alien Padilla Rodriguez Alien Padilla Rodriguez Follow Joined Jan 24, 2022 • Apr 23 '22 Dropdown menu Copy link Hide @Petar Kokev If something I learned from this years of working with React and other projects is that the correct library for project isn't the correct library for another. So the mos important think that we need to do is select the tools, libraries and technologies that fit better to the current project. In this case you can't use Styled-components on sites that require a good SEO, becouse the mos important think here is the SEO and you cant sacrify it. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   thedev1232 thedev1232 thedev1232 Follow tech enthusiast - code to the nuts Location sanjose Work Senior dev Manager at self Joined Oct 26, 2020 • Mar 31 '22 Dropdown menu Copy link Hide How about having to deal with libraries like Material UI with next js? I have an issue to decide whether to use just makeStyles function or should we use styled components? My main concern is code longevity and maintenance without any issues Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Will Farley Will Farley Will Farley Follow Joined Jan 24, 2022 • Jan 24 '22 Dropdown menu Copy link Hide My big issues with styled components is they are deeply coupled with your code. I've opted to use emotion's css utility exclusively and instructed my team to avoid using any of the styled component features. We've loved it but this was a few years ago. For newer projects I'm going with the css modules design. Also why does anyone care about sass anymore? With css variables and the css nesting module in the specification, you get the best parts of sass with vanilla css. The other features are just overkill for a css-module that should represent a single react component and thus nothing :global . Complicated sass directives and stuff are just overkill. Turn it into a react component and don't make any crazy css systems. Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Nwanguma Victor Nwanguma Victor Nwanguma Victor Follow 🕊 Location Lagos, Nigeria Work Software Developer Joined Feb 18, 2021 • Mar 23 '22 Dropdown menu Copy link Hide Same I was trying to revamp my personal site, I discovered that I would have to rewrite alot of things, and then I later gave up. I would advice css modules are the way to go, and it greatly helps with SEO. And in teams using SC, naming becomes an issue because some people don't know how to name components and you have to scroll around, just to check if a component is a h1 tag 🤮 CACHEing I can't stress this enough, for enterprise in-house apps it doesn't really matter, but for everyday consumer-essentric apps CACHEing should not be overlooked Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide Matty Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Will Farley Will Farley Will Farley Follow Joined Jan 24, 2022 • Jan 24 '22 Dropdown menu Copy link Hide You can still have a top-level css file that isn't a css module for global stuff Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Petar Kolev Petar Kolev Petar Kolev Follow Senior Software Engineer with React && TypeScript Location Bulgaria Work Senior Software Engineer @ alkem.io Joined Nov 27, 2019 • Sep 10 '21 Dropdown menu Copy link Hide It is not true that with styled-components one can't use scss syntax, etc. styled-components supports it. Like comment: Like comment: 6  likes Like Comment button Reply Collapse Expand   Eduard Eduard Eduard Follow Taxation is robbery Joined Oct 25, 2019 • Mar 28 '21 Dropdown menu Copy link Hide How about css-in-js frameworks like material-ua, chakra-ui and others? In my opinion, they dramatically speed up development. Like comment: Like comment: 5  likes Like Comment button Reply Collapse Expand   Alien Padilla Rodriguez Alien Padilla Rodriguez Alien Padilla Rodriguez Follow Joined Jan 24, 2022 • Apr 23 '22 Dropdown menu Copy link Hide In my personal opinion I see Styled Components more for a Single Page Aplications where the SEO isn't important and is unecessary to cache css files. In the case of static web site or a site that must have a good SEO the Module-Css is better. @greggcbs My recomendation is to use code splitting if you have problem with the performans when you use Styled-Components in your project, in order to avoid brign all code in the first load of the site. Good article @sergey Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide Hi Jess Rodriguez celly Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Gass Gass Gass Follow hi there 👋 Email g.szada@gmail.com Location Budapest, Hungary Education engineering Work software developer @ itemis Joined Dec 25, 2021 • Apr 25 '22 • Edited on Apr 25 • Edited Dropdown menu Copy link Hide Good post. I've been using CSS modules for a short time now and I like it. Allows everything to be nicely compartmentalized. I also like that it gives more freedom to name classes in smaller chunks of CSS code. Instead of using it like so: {styles.my_class} I preffer {s.my_class} makes the code looks nicer and more concise. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Mario Iliev Mario Iliev Mario Iliev Follow Joined Jun 14, 2023 • Jun 14 '23 Dropdown menu Copy link Hide I'm sorry but it seems that you don't have much experience with Styled Components. "And the last fundamental flaw is the inability to use ready-made approaches and utilities, such as SCSS, Less and Stylelint, and so on." Not a single thing here is true. SCSS is the original syntax of the package, you can use Stylelint as well. There are a lot more "pros" which are not listed here. By working with JS you are opened to another world. I'll list some more "pros" from the top of my head: consume and validate your theme colors as pure JS object consume state/props and create dynamic CSS out of it you have plugins which can be a live savers in cases like RTL (right to left orientation). Whoever had to support an app/website with RTL will be magically saved by this plugin. You can create custom plugins to fix various problems, or make your own linting in your team project. you don't think about CSS class names and collision. I prefer to be focused on thinking about variable names in my JS only and not spending effort in the CSS as well when you break your visual habits you will realise that's it's easier to have your CSS in your JS file just the way you got used to have your HTML in your JS file (React) In these days CSS has become a monster. You have inheritance, mixins, variables, IF statements, loops etc. Sure they can be useful somewhere but I'm pretty sure that most of you just need to center that div. So in my personal opinion we should strive to keep CSS as simpler as possible (as with everything actually) and I think that Styled Components are kind of pushing you to do exactly that. Don't re-use CSS, re-use components! The only global things you should have are probably just the color theme and animations. Like comment: Like comment: 3  likes Like Comment button Reply Collapse Expand   Annie-Huang Annie-Huang Annie-Huang Follow Joined Mar 14, 2021 • Feb 16 '25 Dropdown menu Copy link Hide Couldn't agree more on the last two bullet points~~ Like comment: Like comment: Like Comment button Reply Collapse Expand   DrBeehre DrBeehre DrBeehre Follow Location New Zealand Work Software Engineer at Self-Employed Joined Nov 10, 2020 • Mar 14 '21 Dropdown menu Copy link Hide This is awesome! I'm quite new to Web dev in particular and when starting a new project, I've often wondered which approach is better as I could see pros and cons to both, but I never found the time to dig in. Thanks for pulling all this together into a concise blog post! Like comment: Like comment: 1  like Like Comment button Reply View full discussion (30 comments) Some comments may only be visible to logged-in visitors. Sign in to view all comments. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sergey Follow Joined Nov 18, 2020 More from Sergey Mastering the Dependency Inversion Principle: Best Practices for Clean Code with DI # webdev # javascript # typescript # programming Rockpack 2.0 Official Release # react # javascript # webdev # showdev Project Structure. Repository and folders. Review of approaches. # javascript # react # webdev # codenewbie 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/aniruddhaadak/from-2am-debugging-to-1000-how-i-built-my-ai-powered-portfolio-2j4g
From 2AM Debugging to $1000: How I Built My AI-Powered Portfolio - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse ANIRUDDHA ADAK Posted on Jan 13 From 2AM Debugging to $1000: How I Built My AI-Powered Portfolio # devchallenge # googleaichallenge # portfolio # gemini New Year, New You Portfolio Challenge Submission This is a submission for the New Year, New You Portfolio Challenge Presented by Google AI About Me I'm a final-year B.Tech student who basically made a Faustian deal where I traded sleep for AI knowledge. By day, I'm grinding through multimedia systems, ML algorithms, and cybersecurity concepts. By night (and I mean literally 2 AM), I'm building projects with Python, JavaScript, and whatever Google AI tool I can get my hands on. I've been freelancing, creating content across Dev.to, Twitter, and LinkedIn, building AI-generated video and image content, and competing in every challenge that promises rewards and bragging rights. This challenge? Perfect fit for someone who's been juggling a portfolio refresh for months while being too busy "just starting one more quick AI experiment." What I'm Building My portfolio is my digital middle finger to generic templates. It showcases: AI & ML Projects : Text-to-image generators, text-to-video experiments, and ML models from graphical models to generative AI Web Dev Work : Full-stack projects with clean UI, responsive design, and actual personality Technical Writing : Dev.to blogs, GitHub documentation, and content that doesn't put people to sleep The Real Me : Casual, slightly sarcastic, obsessed with automation, and absolutely fueled by Gemini API documentation and cold coffee I deployed it to Google Cloud Run because (a) it was surprisingly painless, and (b) I wanted to prove that building modern portfolios doesn't require a PhD in DevOps. How I Built It Tech Stack : HTML/CSS/JavaScript on the frontend, Python for any backend logic, and Google Cloud Run for deployment. Google AI Integration : Used Gemini via AI Studio to help brainstorm portfolio copy that sounds natural, not robotic Leveraged Google Cloud Run free tier (because student budget = zero budget) to deploy without crying Experimented with embedding AI-powered features directly into the portfolio to showcase my skills Design Philosophy : Modern, dark-mode friendly, fast, and with enough personality that judges remember me as "that person who cracked jokes in their portfolio" and not just another submission. What I'm Most Proud Of Honesty Over Hype : This portfolio actually represents who I am—a B.Tech student obsessed with AI and shipping things, not some fictional 10x developer who knows every framework AI Integration Done Right : Not just slapping "powered by Gemini" on things; actually using AI tools meaningfully in both the building and the presentation Speed & UX : The site loads fast, looks good on mobile, and doesn't throw 50 pop-ups at visitors The Copy : Every project description feels like I wrote it while caffeinated at 3 AM (because I did), but it's still clear and compelling Why I'm Here Honestly? The money's nice. The feedback from the Google AI team? Even better. But mostly, I'm here because building is what makes me feel alive, and this challenge forced me to stop procrastinating and actually deploy the portfolio I've been planning since November. If I win, that's $1000 toward my next adventure (probably server costs for some overambitious AI project). If I don't, I still have a portfolio I'm genuinely proud of, and that's not a small thing. Let's see if the judges appreciate my blend of technical skill and comedic timing. 🚀 Portfolio Note to readers : To embed your live Cloud Run portfolio here, follow the Cloud Run embedding guide and use the label --labels dev-tutorial=devnewyear2026 during deployment. Your portfolio URL will appear live in this post. My portfolio is currently live and showcases all the projects, skills, and personality described above. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse ANIRUDDHA ADAK Follow AI Agent Engineer focused on creating self-directed AI systems that learn, adapt, and execute multi-step tasks without human intervention. Joined Nov 11, 2024 More from ANIRUDDHA ADAK Building an Intelligent Product Discovery Agent with Algolia # devchallenge # algoliachallenge # ai # agents Building an AI-Powered Portfolio with Gemini and Google Cloud Run # devchallenge # googleaichallenge # portfolio # gemini MindScribe: An AI-Powered Educational Content Creation Suite with Live Captioning # devchallenge # muxchallenge # showandtell # video 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/ec2
Ec2 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Forem Close # ec2 Follow Hide Create Post Older #ec2 posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu 🩺 How I Troubleshoot an EC2 Instance in the Real World (Using Instance Diagnostics) Venkata Pavan Vishnu Rachapudi Venkata Pavan Vishnu Rachapudi Venkata Pavan Vishnu Rachapudi Follow for AWS Community Builders Jan 12 🩺 How I Troubleshoot an EC2 Instance in the Real World (Using Instance Diagnostics) # aws # ec2 # linux # cloud 4  reactions Comments Add Comment 5 min read Logging Into EC2 Is Easy… Until You Pick the Wrong Way Aishwary Gathe Aishwary Gathe Aishwary Gathe Follow Jan 9 Logging Into EC2 Is Easy… Until You Pick the Wrong Way # aws # cloud # security # ec2 1  reaction Comments 1  comment 3 min read Deploying a Node.js Application on AWS EC2 with Apache Dipu Raj Dipu Raj Dipu Raj Follow Jan 2 Deploying a Node.js Application on AWS EC2 with Apache # node # aws # ec2 # apache Comments Add Comment 1 min read Building a Multi-Channel AWS EC2 Spot Instance Interruption Alert System Prashant Gupta Prashant Gupta Prashant Gupta Follow Jan 1 Building a Multi-Channel AWS EC2 Spot Instance Interruption Alert System # aws # ec2 # monitoring Comments Add Comment 11 min read 🎭 AWS 120: Giving Your Servers a Voice - Creating an IAM Role Hritik Raj Hritik Raj Hritik Raj Follow Dec 31 '25 🎭 AWS 120: Giving Your Servers a Voice - Creating an IAM Role # aws # iam # ec2 # 100daysofcloud Comments Add Comment 3 min read AWS EC2 인스턴스 설정 및 기본 구성 가이드 dss99911 dss99911 dss99911 Follow Dec 31 '25 AWS EC2 인스턴스 설정 및 기본 구성 가이드 # infra # devops # aws # ec2 Comments Add Comment 1 min read Publish Jekyll on Amazon Linux2 on EC2 dss99911 dss99911 dss99911 Follow Dec 31 '25 Publish Jekyll on Amazon Linux2 on EC2 # tools # jekyll # aws # ec2 Comments Add Comment 3 min read Migrate Droplet from DO to AWS using AWS Migration Application Service (MGN) Nam La Nam La Nam La Follow Dec 29 '25 Migrate Droplet from DO to AWS using AWS Migration Application Service (MGN) # aws # ec2 Comments Add Comment 4 min read Beyond Static: Launching My First EC2 Instance with User Data Eric Rodríguez Eric Rodríguez Eric Rodríguez Follow Dec 29 '25 Beyond Static: Launching My First EC2 Instance with User Data # aws # ec2 # linux # devops Comments Add Comment 1 min read 🚨 AWS 130: Routing the Private Way - Implementing a NAT Instance Hritik Raj Hritik Raj Hritik Raj Follow Jan 10 🚨 AWS 130: Routing the Private Way - Implementing a NAT Instance # aws # networking # ec2 # 100daysofcloud 2  reactions Comments Add Comment 3 min read Deploy Node.js App on EC2 Using Docker Image Mayank Tamrkar Mayank Tamrkar Mayank Tamrkar Follow Dec 28 '25 Deploy Node.js App on EC2 Using Docker Image # docker # ec2 # programming Comments Add Comment 3 min read Amazon EC2 – Instance Types & Sizing (Beginner-Friendly Notes) Micheal Angelo Micheal Angelo Micheal Angelo Follow Jan 4 Amazon EC2 – Instance Types & Sizing (Beginner-Friendly Notes) # aws # ec2 # cloudcomputing # beginners Comments Add Comment 2 min read 🛡️ AWS 109: The Ultimate Safety Net - Enabling EC2 Termination Protection Hritik Raj Hritik Raj Hritik Raj Follow Dec 20 '25 🛡️ AWS 109: The Ultimate Safety Net - Enabling EC2 Termination Protection # aws # ec2 # cloudsecurity # 100daysofcloud Comments Add Comment 3 min read 🛡️ AWS 108: Adding a Safety Latch - Enabling EC2 Stop Protection Hritik Raj Hritik Raj Hritik Raj Follow Dec 19 '25 🛡️ AWS 108: Adding a Safety Latch - Enabling EC2 Stop Protection # ec2 # cloudsecurity # devops # 100daysofcloud Comments Add Comment 3 min read 📉 AWS 107: Save Money by Rightsizing - How to Change an EC2 Instance Type Hritik Raj Hritik Raj Hritik Raj Follow Dec 18 '25 📉 AWS 107: Save Money by Rightsizing - How to Change an EC2 Instance Type # aws # ec2 # cloudoptimization # 100daysofcloud Comments Add Comment 3 min read Amazon EC2 in Cloud Computing: Features, Use Cases, and Pricing ABITHA N 24CB001 ABITHA N 24CB001 ABITHA N 24CB001 Follow Dec 18 '25 Amazon EC2 in Cloud Computing: Features, Use Cases, and Pricing # devops # webdev # ec2 # aws Comments Add Comment 2 min read 💻 AWS 106: The Moment of Truth! Launching Your First EC2 Instance Hritik Raj Hritik Raj Hritik Raj Follow Dec 17 '25 💻 AWS 106: The Moment of Truth! Launching Your First EC2 Instance # aws # ec2 # devops # 100daysofcloud Comments Add Comment 4 min read How to Launch an EC2 Instance in AWS Samuel Ojo Samuel Ojo Samuel Ojo Follow Dec 20 '25 How to Launch an EC2 Instance in AWS # webdev # aws # ec2 # cloud Comments Add Comment 4 min read AWS AMI cross-region replication and sharing kingyou kingyou kingyou Follow Dec 15 '25 AWS AMI cross-region replication and sharing # aws # ec2 Comments Add Comment 2 min read Docker-Compose Gettings IAM Error Credentials Daniel Sim-Xien Daniel Sim-Xien Daniel Sim-Xien Follow Dec 12 '25 Docker-Compose Gettings IAM Error Credentials # aws # ec2 # iam # docker 1  reaction Comments Add Comment 2 min read Auto-stop EC2 on low CPU, then auto-start on HTTPS request — how to keep a “front door” while the instance is off? JawherKassas JawherKassas JawherKassas Follow Dec 13 '25 Auto-stop EC2 on low CPU, then auto-start on HTTPS request — how to keep a “front door” while the instance is off? # aws # ec2 # cloud # devops Comments Add Comment 2 min read EC2 Lab: Launching an Instance in a Private Subnet (Private Access) Andres Figueroa Andres Figueroa Andres Figueroa Follow Dec 9 '25 EC2 Lab: Launching an Instance in a Private Subnet (Private Access) # aws # ec2 # private Comments Add Comment 4 min read [AWS] 1. IAM (Identity and Access Management) & AWS CLI (Command Line Interface) Sangwoo Lee Sangwoo Lee Sangwoo Lee Follow Nov 30 '25 [AWS] 1. IAM (Identity and Access Management) & AWS CLI (Command Line Interface) # aws # iam # ec2 # devops Comments Add Comment 5 min read From Zero to Automation: Setting Up Puppet Master & Agent on AWS EC2 Krisha Arya Krisha Arya Krisha Arya Follow Dec 2 '25 From Zero to Automation: Setting Up Puppet Master & Agent on AWS EC2 # puppet # aws # ec2 # automation Comments Add Comment 3 min read AWS Cloud Practitioner Questions | EC2 SAA Level  Minoltan Issack Minoltan Issack Minoltan Issack Follow Nov 30 '25 AWS Cloud Practitioner Questions | EC2 SAA Level  # ec2 # ec2placementgroups # ec2hibernate # aws Comments Add Comment 2 min read loading... trending guides/resources Create and run Windows on Arm virtual machines on AWS Graviton processors using QEMU and KVM Self Hosting n8n on AWS EC2 instance (Step-by-step Guide) 🚨 AWS 130: Routing the Private Way - Implementing a NAT Instance EC2 Lab: Launching an Instance in a Private Subnet (Private Access) The Most Popular AWS Services You Probably Should Use: Key Picks & Why They Matter Elastic Container Service on AWS - How to Get Started Step-by-Step Automated Cloud Migrations with Kiro and the Arm MCP Server How to Automate Instance Management with AWS SDK for Python (Boto3) Migrate Droplet from DO to AWS using AWS Migration Application Service (MGN) Automate NGINX Deployment on AWS EC2 Server using Bash Script 💻 AWS 106: The Moment of Truth! Launching Your First EC2 Instance Automating EC2 Recovery with AWS Lambda and CloudWatch AWS AMI cross-region replication and sharing AWS Cloud Practitioner Questions | EC2 Fundamentals Launch an AWS EC2 Instance [AWS] 1. IAM (Identity and Access Management) & AWS CLI (Command Line Interface) 🛡️ AWS 109: The Ultimate Safety Net - Enabling EC2 Termination Protection How to Create Auto Scaling Groups of EC2 Instances for High Availability AWS EC2 인스턴스 설정 및 기본 구성 가이드 Auto-stop EC2 on low CPU, then auto-start on HTTPS request — how to keep a “front door” while the... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/skorfmann
Sebastian Korfmann - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Follow User actions Sebastian Korfmann Building a Product | AWS DevTools Hero | Formerly HashiCorp, Creator of CDK for Terraform Location Hamburg, Germany Joined Joined on  Feb 10, 2020 Personal website https://skorfmann.com github website twitter website More info about @skorfmann Badges Five Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least five years. Got it Close Writing Debut Awarded for writing and sharing your first DEV post! Continue sharing your work to earn the 4 Week Writing Streak Badge. Got it Close Four Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least four years. Got it Close Three Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least three years. Got it Close Two Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least two years. Got it Close One Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least one year. Got it Close Skills/Languages Ruby, Javascript, Typescript, Go, Terraform, AWS, AWS CDK Post 12 posts published Comment 7 comments written Tag 3 tags followed Skymood - Watch Bluesky's heartbeat through emojis in real-time 🌟 Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Nov 18 '24 Skymood - Watch Bluesky's heartbeat through emojis in real-time 🌟 # bluesky # bunjs # javascript # react 3  reactions Comments Add Comment 5 min read Want to connect with Sebastian Korfmann? Create an account to connect with Sebastian Korfmann. You can also sign in below to proceed if you already have an account. Create Account Already have an account? Sign in The Journey of CDK.dev: From Static Site to Bluesky Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Nov 13 '24 The Journey of CDK.dev: From Static Site to Bluesky # aws # cdk # bluesky # atproto 9  reactions Comments Add Comment 2 min read Exploring TypeScript Type Generation for JSON Paths: An AI-Assisted Journey Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Jun 27 '24 Exploring TypeScript Type Generation for JSON Paths: An AI-Assisted Journey 1  reaction Comments Add Comment 2 min read A Cloud Development Troubleshooting Treasure Hunt Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Jul 25 '23 A Cloud Development Troubleshooting Treasure Hunt # aws # iac # cloud # terraform 3  reactions Comments Add Comment 11 min read Cloud Driven Development - Episode #001 Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Oct 11 '21 Cloud Driven Development - Episode #001 # aws # cdk # testing 2  reactions Comments 1  comment 2 min read CDK for Terraform 0.3 Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Apr 22 '21 CDK for Terraform 0.3 # terraform # cdk # cdktf # iac 11  reactions Comments Add Comment 3 min read CDK for Terraform 0.2 Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Mar 17 '21 CDK for Terraform 0.2 # terraform # cdktf # cdk # cloud 4  reactions Comments 1  comment 2 min read AWS AppSync Direct Lambda vs DynamoDB Resolver Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Nov 17 '20 AWS AppSync Direct Lambda vs DynamoDB Resolver # aws # appsync # graphql # lambda 20  reactions Comments 2  comments 2 min read cdk.dev - Call for Contributors Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Aug 13 '20 cdk.dev - Call for Contributors # cdk # cdk8s # cdktf # awscdk 11  reactions Comments Add Comment 2 min read A Terraform CDK Construct which doubles as native Terraform Module Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Jul 27 '20 A Terraform CDK Construct which doubles as native Terraform Module # terraform # cdk # cdktf # devops 15  reactions Comments Add Comment 5 min read The Journey from Terrastack to Terraform CDK Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Jul 23 '20 The Journey from Terrastack to Terraform CDK # terraform # cdk # cdktf # aws 17  reactions Comments 6  comments 2 min read Introducing Terrastack: Polyglot Terraform supercharged by the CDK Sebastian Korfmann Sebastian Korfmann Sebastian Korfmann Follow Mar 12 '20 Introducing Terrastack: Polyglot Terraform supercharged by the CDK # terraform # aws # cdk # typescript 13  reactions Comments 3  comments 3 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/voicetech
Voicetech - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Forem Close # voicetech Follow Hide Create Post Older #voicetech posts 1 2 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu How to Transcribe and Detect Intent Using Deepgram for STT: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 12 How to Transcribe and Detect Intent Using Deepgram for STT: A Developer's Journey # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 11 min read How to Build Custom Pipelines for Voice AI Integration: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 11 How to Build Custom Pipelines for Voice AI Integration: A Developer's Journey # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 13 min read How to Set Up an AI Voice Agent for Customer Support in SaaS Applications CallStack Tech CallStack Tech CallStack Tech Follow Jan 10 How to Set Up an AI Voice Agent for Customer Support in SaaS Applications # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 12 min read Implementing Real-Time Audio Streaming in VAPI: What I Learned CallStack Tech CallStack Tech CallStack Tech Follow Jan 9 Implementing Real-Time Audio Streaming in VAPI: What I Learned # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read Implementing Real-Time Streaming with VAPI: Enhancing Customer Support with Voice AI CallStack Tech CallStack Tech CallStack Tech Follow Jan 8 Implementing Real-Time Streaming with VAPI: Enhancing Customer Support with Voice AI # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read Deploying Custom Voice Models in VAPI for E-commerce: Key Insights CallStack Tech CallStack Tech CallStack Tech Follow Jan 9 Deploying Custom Voice Models in VAPI for E-commerce: Key Insights # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read How to Set Up Voice AI Webhook Handling for Real Estate Inquiries Effectively CallStack Tech CallStack Tech CallStack Tech Follow Jan 7 How to Set Up Voice AI Webhook Handling for Real Estate Inquiries Effectively # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Implementing Real-Time Streaming with VAPI: My Journey to Voice AI Success CallStack Tech CallStack Tech CallStack Tech Follow Jan 5 Implementing Real-Time Streaming with VAPI: My Journey to Voice AI Success # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read Integrate Voice AI with No-Code Tools and CRM for Automation: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 3 Integrate Voice AI with No-Code Tools and CRM for Automation: My Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 11 min read Technical Implementation Focus Areas for Voice AI Integration: Key Insights CallStack Tech CallStack Tech CallStack Tech Follow Jan 2 Technical Implementation Focus Areas for Voice AI Integration: Key Insights # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read How to Integrate Ethically with Retell AI and Bland AI: A Developer's Guide CallStack Tech CallStack Tech CallStack Tech Follow Jan 1 How to Integrate Ethically with Retell AI and Bland AI: A Developer's Guide # ai # voicetech # api # tutorial Comments Add Comment 12 min read Creating Custom Voice Profiles in VAPI for E-commerce: Boosting Sales CallStack Tech CallStack Tech CallStack Tech Follow Jan 1 Creating Custom Voice Profiles in VAPI for E-commerce: Boosting Sales # ai # voicetech # webdev # tutorial Comments Add Comment 12 min read Integrate Voice AI with Salesforce for Sales Automation: A Real Developer's Guide CallStack Tech CallStack Tech CallStack Tech Follow Dec 31 '25 Integrate Voice AI with Salesforce for Sales Automation: A Real Developer's Guide # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Empathetic Meeting Booking: Integrate with HubSpot CRM Using AI Tools CallStack Tech CallStack Tech CallStack Tech Follow Dec 30 '25 Empathetic Meeting Booking: Integrate with HubSpot CRM Using AI Tools # ai # voicetech # machinelearning # webdev Comments Add Comment 12 min read How to Monetize Voice AI Agents for SaaS Startups with VAPI: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 30 '25 How to Monetize Voice AI Agents for SaaS Startups with VAPI: My Journey # ai # voicetech # webdev # tutorial Comments Add Comment 13 min read How to Test Multilingual and Contextual Memory for Intuitive Voice AI Agents CallStack Tech CallStack Tech CallStack Tech Follow Dec 29 '25 How to Test Multilingual and Contextual Memory for Intuitive Voice AI Agents # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Implementing Real-Time Emotion Detection in Voice AI: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 26 '25 Implementing Real-Time Emotion Detection in Voice AI: A Developer's Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Scale Ethically: Implement Multilingual AI Voice Models with Data Privacy CallStack Tech CallStack Tech CallStack Tech Follow Dec 26 '25 Scale Ethically: Implement Multilingual AI Voice Models with Data Privacy # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Build Your Own Voice Stack with Deepgram and PlayHT: A Developer's Journey CallStack Tech CallStack Tech CallStack Tech Follow Jan 10 Build Your Own Voice Stack with Deepgram and PlayHT: A Developer's Journey # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 14 min read Retell AI Twilio Integration Tutorial: Build AI Voice Calls Step-by-Step CallStack Tech CallStack Tech CallStack Tech Follow Dec 27 '25 Retell AI Twilio Integration Tutorial: Build AI Voice Calls Step-by-Step # ai # voicetech # machinelearning # webdev Comments 1  comment 13 min read Build Your Own Voice Stack with Deepgram and PlayHT: A Practical Guide CallStack Tech CallStack Tech CallStack Tech Follow Jan 10 Build Your Own Voice Stack with Deepgram and PlayHT: A Practical Guide # ai # voicetech # machinelearning # webdev 1  reaction Comments Add Comment 12 min read How to Deploy a Voice AI Agent for HVAC Customer Inquiries: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 25 '25 How to Deploy a Voice AI Agent for HVAC Customer Inquiries: My Journey # ai # voicetech # machinelearning # webdev Comments Add Comment 13 min read Building a HIPAA-Compliant Telehealth Solution with VAPI: My Journey CallStack Tech CallStack Tech CallStack Tech Follow Dec 25 '25 Building a HIPAA-Compliant Telehealth Solution with VAPI: My Journey # ai # voicetech # webdev # tutorial Comments Add Comment 14 min read How to Prioritize Naturalness in Voice Cloning for Brand-Aligned Tones CallStack Tech CallStack Tech CallStack Tech Follow Dec 24 '25 How to Prioritize Naturalness in Voice Cloning for Brand-Aligned Tones # ai # voicetech # machinelearning # webdev Comments Add Comment 14 min read Building a HIPAA-Compliant Telehealth Solution with VAPI: What I Learned CallStack Tech CallStack Tech CallStack Tech Follow Dec 24 '25 Building a HIPAA-Compliant Telehealth Solution with VAPI: What I Learned # ai # voicetech # webdev # tutorial Comments Add Comment 14 min read loading... trending guides/resources Build Voice AI Applications with No-Code: Retell AI Guide to Success Rapid Prototyping with Retell AI: A No-Code Builder Guide to Voice Apps Scale Ethically: Implement Multilingual AI Voice Models with Data Privacy Building a HIPAA-Compliant Telehealth Solution with VAPI: My Journey Build Your Own Voice Stack with Deepgram and PlayHT: A Practical Guide Implementing Real-Time Streaming with VAPI for Live Support Chat Systems Monetize Voice AI Solutions for eCommerce Using VAPI Effectively Implementing Real-Time Emotion Detection in Voice AI: A Developer's Journey Integrate Node.js with Retell AI and Twilio: Lessons from My Setup Creating Custom Voice Profiles in VAPI for E-commerce: Boosting Sales Quick CRM Integrations with Retell AI's No-Code Tools: My Experience How to Adapt Tone to User Sentiment in Voice AI and Integrate Calendar Checks Top Advancements in Building Human-Like Voice Agents for Developers Implementing Real-Time Audio Streaming in VAPI: Use Cases Technical Implementation Focus Areas for Voice AI Integration: Key Insights When the Web Learned to Speak: How Speech Synthesis and Voice Commands Are Transforming User Expe... Rapid Deployment of AI Voice Agents Using No-Code Builders Retell AI Twilio Integration Tutorial: Build AI Voice Calls Step-by-Step Implementing VAD and Turn-Taking for Natural Voice AI Flow: My Experience How to Build Custom Pipelines for Voice AI Integration: A Developer's Journey 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/trishan_fernando/comet-1co5
Comet Browser : Perplexity’s Thinking Browser - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Trishan Fernando Posted on Oct 8, 2025 Comet Browser : Perplexity’s Thinking Browser # webdev # ai # learning # productivity We’ve all been living in browsers for years now — Chrome, Edge, Safari… they all kinda feel the same. Open tabs, search things, maybe add a couple of extensions, repeat. Useful? Sure. Fun? Not so much. And then Comet from Perplexity. And honestly, it doesn’t just feel like another browser — it feels like a new class. It’s as if having an AI buddy floating right amidst your browsing life. Get Early Access & Download Comet Comet is not available for free it needs the 200$ Perplexity Subscription with an invitation. But you can get it through partners for free if you are a university Student. Get Early Access With Your University Email.Use your University email to Verify that you are a student Get Early Access & Download Comet What’s the excitement about? Comet isn’t all about “opening sites faster.” It’s about doing things with your browser instead of just staring at it. Got 10 tabs open doing research? Tell Comet to summarize them into one neat note. Shopping for a laptop? Have it search deals on websites and show you the top choices. Writing an email? Cross out a couple of pages and voila — it writes something that even sounds logical. Doing a project? Keep your tabs + notes + AI summaries all bundled up in a neat space you can return to. It is like the distinction between you driving a vehicle and having a vehicle that helps you drive, monitors your schedule, and maybe even helps you save money on fuel in the bargain. What people are saying I’ve been skimming through Reddit, X, and LinkedIn, and the vibe is clear: folks are hyped. People call it “futuristic,” “the only browser that actually boosts productivity,” and “perfect for research.” Students, writers, and even devs juggling docs love that it cuts down tab chaos. Of course, there’s a catch — some grumblings that it’s invite-only for certain plans, and pricing debates. Totally fair. But that’s what you get when you’re not building another browser, you’re trying to rethink how we browse period. One heads-up though ??? AI browsers are new territory. Security researchers raise the alarms for dangers like nefarious sites trying to trick the AI into making bad decisions (autofilling data, risky clicks, etc.). So yeah — Comet does have a future vibe to it, but maybe don’t fling your banking login data at it just yet. Why I think this matters Comet is the first browser I’ve used that truly seems to be built for the way we actually work in 2025: multitasking, info overload, constant context-switching. Instead of just allowing us to have more tabs, it processes them. And for real? Once you get a taste of it, browsing with a “regular” browser again feels… kinda like using a Nokia brick phone once you’ve had a smartphone. And Comet is only given access to their partners only and this need to pay 200$(Perplexity Pro) If you are an university student , you can get the early access from the below invitation link for 100% Free. Get Early Access to download Comet Stay Tuned with me to more updated Stuff in technology ! Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Trishan Fernando Follow Junior Web Dev Education University of Moratuwa BSc Hons in Information Technology Work Junior Odoo Developer at Crede Technologies Joined Feb 12, 2025 More from Trishan Fernando OWL JS 01 — Why Odoo Created OWL: A Framework Built for Modularity # odoo # owl # odooddevelopment # webdev 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://zeroday.forem.com/thiyagarajan_thangavel/cleanup-of-inactive-ad-accounts-user-computer-over-1-year-old-2ia9#comments
Cleanup of Inactive AD Accounts (User & Computer) – Over 1 Year Old - Security Forem Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Security Forem Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Thiyagarajan Thangavel Posted on Dec 2, 2025 Cleanup of Inactive AD Accounts (User & Computer) – Over 1 Year Old # azure # discuss # networksec Idea To improve Active Directory (AD) security hygiene, performance, and compliance with ARPAN or internal IT policies by identifying and removing inactive user and computer accounts that haven’t been used for over one year. Problem Statement Over time, user and computer accounts in Active Directory become stale due to employee attrition, decommissioned machines, or system account redundancies. These dormant accounts pose the following risks and issues: Security Risks: Inactive accounts are vulnerable to misuse or compromise. License Wastage: Consumes unnecessary licenses in environments like Microsoft 365. Administrative Overhead: Clutters AD with obsolete entries, complicating management. Compliance Gaps: May violate policies such as ARPAN which mandate timely account lifecycle management. Solution Implement a PowerShell-based automated process that: Identifies all user and computer accounts that have not logged on in over 365 days. Exports these accounts to CSV files for review and audit purposes. Deletes the reviewed accounts safely (with optional backup and logging steps). PowerShell Script (Summary): Benefits Enhanced Security: Minimizes attack surface by eliminating dormant accounts. Compliance Assurance: Meets ARPAN and internal audit standards for account lifecycle. Operational Efficiency: Reduces clutter in AD, improving admin productivity. Cost Optimization: Frees up licenses and reduces overhead in systems like Office 365 or Azure AD. # Load AD module Import-Module ActiveDirectory Set time threshold $timeThreshold = (Get-Date).AddDays(-365) --- Export Inactive User Accounts --- $inactiveUsers = Get-ADUser -Filter {LastLogonDate -lt $timeThreshold -and Enabled -eq $true} -Properties LastLogonDate | Select-Object Name, SamAccountName, LastLogonDate $inactiveUsers | Export-Csv -Path "C:\ADCleanup\InactiveUsers.csv" -NoTypeInformation Write-Host "Inactive users exported to InactiveUsers.csv" --- Export Inactive Computer Accounts --- $inactiveComputers = Get-ADComputer -Filter {LastLogonDate -lt $timeThreshold -and Enabled -eq $true} -Properties LastLogonDate | Select-Object Name, SamAccountName, LastLogonDate $inactiveComputers | Export-Csv -Path "C:\ADCleanup\InactiveComputers.csv" -NoTypeInformation Write-Host "Inactive computers exported to InactiveComputers.csv" Optional: Review before deleting Uncomment the following lines to perform deletion <# Delete Inactive Users $inactiveUsers | ForEach-Object { Remove-ADUser -Identity $_.SamAccountName -Confirm:$false } Delete Inactive Computers $inactiveComputers | ForEach-Object { Remove-ADComputer -Identity $_.SamAccountName -Confirm:$false } Write-Host "Inactive users and computers deleted." > Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   Thiyagarajan Thangavel Thiyagarajan Thangavel Thiyagarajan Thangavel Follow Blogs for IT Joined Nov 11, 2025 • Dec 2 '25 Dropdown menu Copy link Hide good Like comment: Like comment: 1  like Like Comment button Reply Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Thiyagarajan Thangavel Follow Blogs for IT Joined Nov 11, 2025 More from Thiyagarajan Thangavel Steps to get certificate from Internal CA server # networksec # tools Clean up in active AD accounts # discuss # networksec 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Security Forem — Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Home About Contact Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Security Forem © 2016 - 2026. Share. Secure. Succeed Log in Create account
2026-01-13T08:49:10
https://dev.to/trishan_fernando/adding-field-attributes-to-multiple-fields-at-once-in-odoo-h0l
Adding Field Attributes to multiple fields at once in Odoo - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Trishan Fernando Posted on Apr 2, 2025 Adding Field Attributes to multiple fields at once in Odoo # odoo # python When developing in Odoo, you might encounter situations where you need to add the same attribute to multiple fields. For instance, imagine you have a model with 20–30 fields and later decide to enable tracking on all of them. Adding the tracking attribute manually to each field definition would be time-consuming and potentially error-prone. This article explores how to leverage Odoo’s fields_get() method to identify fields and modify their attributes programmatically, saving significant development time. Understanding fields_get() Odoo provides a built-in method called fields_get() that returns all fields and their attributes for a specific model. This method has two optional arguments: field name and field attributes. Example Usage Here’s a simple example of how to use fields_get() to view all fields and their attributes in a model: When executed, this function will output something like: Practical Use Case: Adding Tracking to Multiple Fields Let’s look at a practical scenario where this approach is particularly useful. Imagine you’ve created a model with numerous fields, and after development, you decide that all fields should be tracked for audit purposes. Instead of modifying each field definition individually, you can use the following function: def add_attribute(self): model_obj = self.env['your.model.name'] fields = model_obj.fields_get() print(type(fields)) for field_name, field_attrs in fields.items(): # Get the field object from the model's _fields dictionary field_obj = model_obj._fields.get(field_name) if field_obj: # Check if tracking attribute is not already set or is False if not getattr(field_obj, 'tracking', False): # Skip fields that cannot be tracked if field_obj.type == 'one2many' or (field_obj.compute and not field_obj.store): print(f"Field {field_name} cannot be tracked (one2many or computed non-stored).") continue # Set tracking attribute to True field_obj.tracking = True print(f"Field {field_name} is now tracked.") else: print(f"Field {field_name} is already tracked.") else: print(f"Field {field_name} not found in model.") Enter fullscreen mode Exit fullscreen mode This function iterates through all fields in the specified model and sets the tracking attribute to True for eligible fields. It also includes validation to skip fields that cannot be tracked (like one2many fields or computed non-stored fields). Beyond Tracking: Additional Applications While our example focuses on adding tracking, this technique can be applied to modify any field attribute programmatically. Some other potential uses include: Adding specific groups to field access rights Modifying string attributes for internationalization Changing widget attributes for better UI display Setting default values across multiple fields Important Considerations When using this approach, keep these points in mind: Environment Impact: This modification happens at runtime and may not persist after server restart unless you’re modifying the actual field definitions in the Python code. Production Caution: Be careful when applying this in production environments, as modifying field attributes can have system-wide effects. Performance: For very large models, iterating through all fields could impact performance. Conclusion This approach provides an alternative method for modifying field attributes in Odoo models with multiple fields. While direct field definition remains the standard practice for most development scenarios, understanding how to programmatically modify attributes can be useful in specific situations where bulk changes are needed. The technique leverages Odoo’s built-in functionality to access field definitions, offering a way to make consistent changes across many fields without manual intervention. Stay Tuned ! Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Trishan Fernando Follow Junior Web Dev Education University of Moratuwa BSc Hons in Information Technology Work Junior Odoo Developer at Crede Technologies Joined Feb 12, 2025 More from Trishan Fernando GitPulse: GitHub Trending Tool # python # github # restapi # cli OWL JS 01 — Why Odoo Created OWL: A Framework Built for Modularity # odoo # owl # odooddevelopment # webdev 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/mohammadidrees/contrast-sync-vs-async-failure-classes-using-first-principles-d12#4-asynchronous-systems-failure-classes
Contrast sync vs async failure classes using first principles - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Mohammad-Idrees Posted on Jan 13 Contrast sync vs async failure classes using first principles # architecture # computerscience # systemdesign 1. Start from First Principles: What Is a “Failure Class”? A failure class is not: a bug a timeout an outage A failure class is: A category of things that can go wrong because of how responsibility, time, and state are structured So we ask: What must be true for correctness? What assumptions does the model silently make? What breaks when those assumptions are false? 2. Core Difference (One Sentence) Synchronous systems fail by blocking and cascading. Asynchronous systems fail by duplication, reordering, and invisibility. Everything else is a consequence. 3. Synchronous Systems — Failure Classes Definition (First Principles) A synchronous system assumes: “The caller waits while the callee finishes the work.” This couples: time availability correctness Failure Class 1: Blocking Amplification Question asked: What happens while the system waits? Reality: Threads blocked Connections held Memory retained Failure mode: Load increases → latency increases → throughput collapses This is not just “slow.” It is non-linear failure . Failure Class 2: Cascading Failure Question asked: What if a dependency slows down? Because everything is waiting: Agent slows → backend slows Backend slows → frontend retries Retries amplify load Failure mode: One slow dependency can take down the entire system Failure Class 3: Availability Coupling Question asked: Can the system function if the dependency is down? Answer in sync systems: No Failure mode: Partial outage becomes total outage Summary: Sync Failure Classes Category Root Cause Blocking Time is coupled Cascades Dependencies are inline Global outage Availability is transitive 4. Asynchronous Systems — Failure Classes Definition (First Principles) An async system assumes: “Work can finish later, possibly multiple times, possibly out of order.” This decouples time but removes guarantees . Failure Class 1: Duplicate Execution Question asked: What happens if work is retried? Reality: At-least-once delivery Worker crashes Message reprocessed Failure mode: Same logical action happens multiple times This breaks: Exactly-once semantics Idempotency assumptions Failure Class 2: Ordering Violations Question asked: What defines sequence? Reality: Queues don’t know business order Workers process independently Failure mode: Effects appear out of logical order For chat systems: Responses based on future messages Context corruption Failure Class 3: Completion Invisibility Question asked: How does the user know when work is done? Reality: No direct signal Polling or guessing Failure mode: Users wait blindly or see stale state Failure Class 4: Orphaned Work Question asked: What if the user disappears? Reality: Job keeps running Response stored but never consumed Failure mode: Wasted compute, leaked state Summary: Async Failure Classes Category Root Cause Duplication Retries Reordering Decoupled execution Invisibility No direct completion path Orphans Detached lifecycles 5. Side-by-Side Contrast (Mental Model) Dimension Synchronous Asynchronous Time Coupled Decoupled Failure style Blocking, cascades Duplication, disorder Availability All-or-nothing Partial Correctness risk Latency-based Logic-based Debugging Easier Harder 6. Deep Insight (This Is the Interview Gold) Synchronous systems fail loudly and immediately. Asynchronous systems fail quietly and later. Sync failures are obvious (timeouts, errors) Async failures are subtle (double writes, wrong order) 7. Why Neither Is “Better” From first principles: Sync systems protect causality but sacrifice availability Async systems protect availability but sacrifice causality Real systems exist to reintroduce the lost property : Async systems add idempotency, ordering, state machines Sync systems add timeouts, circuit breakers, fallbacks 8. One-Line Rule to Remember Sync breaks under load. Async breaks under ambiguity. If you want next, we can: Map these failure classes to real outages Show how streaming combines both failure types Practice identifying failure classes on a fresh system Tell me the next direction. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Mohammad-Idrees Follow Joined Mar 16, 2023 More from Mohammad-Idrees Thinking in First Principles: How to Question an Async Queue–Based Design # architecture # interview # learning # systemdesign How to Identify System Design Problems from First Principles # architecture # interview # systemdesign # tutorial 🧱 The Blueprint of Success: Mastering the Technical Requirements Document (TRD) # architecture # career # systemdesign 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/nextjs
Next.js - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Next.js Follow Hide Next.js gives you hybrid static and server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed. Create Post submission guidelines Try to keep your posts somehow related to the Next.js framework. Think about what someone else would want to see when viewing this tag Other than that, be kind and respectful to everyone and their opinions/takes, and follow the conditions of use ! about #nextjs Next.js is an open-source web development framework built on top of Node.js enabling React based web applications functionalities such as server-side rendering and generating static websites. 📌 Official website: https://nextjs.org/ 📌 Getting started: https://nextjs.org/docs/getting-started 📌 Next.js in 100 seconds: https://youtu.be/Sklc_fQBmcs Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu How to Handle Stripe and Paystack Webhooks in Next.js (The App Router Way) Esimit Karlgusta Esimit Karlgusta Esimit Karlgusta Follow Jan 13 How to Handle Stripe and Paystack Webhooks in Next.js (The App Router Way) # api # nextjs # security # tutorial 5  reactions Comments Add Comment 2 min read How I Built a Production AI Chatbot (That Actually Handles Complexity) Rizwanul Islam Rizwanul Islam Rizwanul Islam Follow Jan 13 How I Built a Production AI Chatbot (That Actually Handles Complexity) # nextjs # ai # openai # architecture Comments Add Comment 2 min read Modernizing my Portfolio: From Vanilla PHP to Next.js (and why my server thought I was DDOSing it) Hendrik Haustein Hendrik Haustein Hendrik Haustein Follow Jan 12 Modernizing my Portfolio: From Vanilla PHP to Next.js (and why my server thought I was DDOSing it) # webdev # nextjs # react # germandev Comments Add Comment 4 min read Moving from Nextjs to Qwik Jaime Jaime Jaime Follow Jan 12 Moving from Nextjs to Qwik # nextjs # qwik # javascript # performance Comments Add Comment 5 min read How I Built a Healthcare Job Board with 8,295+ Listings Using Next.js and Supabase Sathish Sathish Sathish Follow Jan 12 How I Built a Healthcare Job Board with 8,295+ Listings Using Next.js and Supabase # webdev # ai # buildinpublic # nextjs Comments Add Comment 1 min read 🚀 AI Article Summarizer | Fast & Clean AI-Powered Summary Tool Built with Next.js Reactjs Guru Reactjs Guru Reactjs Guru Follow Jan 12 🚀 AI Article Summarizer | Fast & Clean AI-Powered Summary Tool Built with Next.js # nextjs # ai # react # opensource Comments Add Comment 1 min read Building PDFMitra: A Free PDF Tool with Next.js 14 (Complete Tech Guide) 🚀 Praveen Nayak Praveen Nayak Praveen Nayak Follow Jan 12 Building PDFMitra: A Free PDF Tool with Next.js 14 (Complete Tech Guide) 🚀 # nextjs # typescript # webdev # tutorial Comments Add Comment 3 min read Building a Job Board with Next.js and Supabase: The Backbone of PMHNP Hiring Sathish Sathish Sathish Follow Jan 12 Building a Job Board with Next.js and Supabase: The Backbone of PMHNP Hiring # buildinpublic # webdev # nextjs Comments Add Comment 2 min read How to Create a Next.js Blog - Part 3: Advanced Features Raşit Raşit Raşit Follow Jan 12 How to Create a Next.js Blog - Part 3: Advanced Features # webdev # nextjs # headlesscms # elmapicms 1  reaction Comments Add Comment 9 min read I built a free JSON formatter tool (with $9 API option) Mustapha Kamel Alami Mustapha Kamel Alami Mustapha Kamel Alami Follow Jan 12 I built a free JSON formatter tool (with $9 API option) # showdev # nextjs # tooling # webdev Comments 1  comment 1 min read I built a Multi-Agent Academic Tutor using Next.js 14 & App Router yx j yx j yx j Follow Jan 11 I built a Multi-Agent Academic Tutor using Next.js 14 & App Router # showdev # webdev # ai # nextjs Comments Add Comment 2 min read How to Create a Next.js Blog - Part 2: Table of Contents, Search, and Categories Raşit Raşit Raşit Follow Jan 11 How to Create a Next.js Blog - Part 2: Table of Contents, Search, and Categories # webdev # nextjs # headlesscms # elmapicms 1  reaction Comments Add Comment 12 min read I Built an AI-Powered Portfolio with Next.js, Supabase & Groq - Here's How chiheb nouri chiheb nouri chiheb nouri Follow Jan 11 I Built an AI-Powered Portfolio with Next.js, Supabase & Groq - Here's How # showdev # ai # nextjs # portfolio Comments Add Comment 2 min read Deploying Full-Stack Next.js Apps: Vercel vs Render Comparison Athashri Keny Athashri Keny Athashri Keny Follow Jan 11 Deploying Full-Stack Next.js Apps: Vercel vs Render Comparison # webdev # programming # vercel # nextjs Comments Add Comment 2 min read Next.js 15 App Router: Complete Guide to Server and Client Components jordan wilfry jordan wilfry jordan wilfry Follow Jan 10 Next.js 15 App Router: Complete Guide to Server and Client Components # nextjs # webdev # fullstack # programming 1  reaction Comments Add Comment 9 min read Introducing Neutra: A Minimal Template for Agencies Renildo Pereira Renildo Pereira Renildo Pereira Follow Jan 11 Introducing Neutra: A Minimal Template for Agencies # showdev # webdev # nextjs # react Comments Add Comment 1 min read How to Create a Next.js Blog - Part 1: Setup and Basic Structure Raşit Raşit Raşit Follow Jan 10 How to Create a Next.js Blog - Part 1: Setup and Basic Structure # nextjs # webdev # headlesscms # elmapicms 1  reaction Comments Add Comment 7 min read Building a Theme System with Next.js 15 and Tailwind CSS v4 (Without dark: Prefix) mukitaro mukitaro mukitaro Follow Jan 9 Building a Theme System with Next.js 15 and Tailwind CSS v4 (Without dark: Prefix) # nextjs # tailwindcss # css # webdev Comments Add Comment 5 min read Hacking the Chaos: Why I’m Building a "Matsuri" Platform in Tokyo Ko Takahashi Ko Takahashi Ko Takahashi Follow Jan 9 Hacking the Chaos: Why I’m Building a "Matsuri" Platform in Tokyo # webdev # nextjs # japan # startup Comments Add Comment 2 min read uilayouts: React/Next.js Component Library with Tailwind and Framer Motion jQueryScript jQueryScript jQueryScript Follow Jan 9 uilayouts: React/Next.js Component Library with Tailwind and Framer Motion # webdev # nextjs # react Comments Add Comment 1 min read Next.js Weekly #112: RSC Explorer, React 19.2 Async Shift, Vercel AI SDK 6, Base UI v1, shadcn/create, Next.js notFound() Bug Erfan Ebrahimnia Erfan Ebrahimnia Erfan Ebrahimnia Follow Jan 9 Next.js Weekly #112: RSC Explorer, React 19.2 Async Shift, Vercel AI SDK 6, Base UI v1, shadcn/create, Next.js notFound() Bug # webdev # nextjs # react Comments Add Comment 4 min read Why I dumped LAMP for Next.js + Groq to build an AI SaaS in 48 hours NizarHelius NizarHelius NizarHelius Follow Jan 10 Why I dumped LAMP for Next.js + Groq to build an AI SaaS in 48 hours # showdev # nextjs # ai # webdev Comments Add Comment 1 min read How I Generated 2,800+ SEO Pages for n8n Workflows using Next.js zo Aoo zo Aoo zo Aoo Follow Jan 9 How I Generated 2,800+ SEO Pages for n8n Workflows using Next.js # nextjs # seo # buildinpublic # webdev Comments Add Comment 3 min read Understanding Server Functions: TanStack Start vs Next.js Abdul Halim Abdul Halim Abdul Halim Follow Jan 8 Understanding Server Functions: TanStack Start vs Next.js # frontend # react # nextjs # tanstack Comments Add Comment 3 min read title: How I Optimized My AI Image App from 3s to 300ms with Next.js & Supabase Richard Richard Richard Follow Jan 8 title: How I Optimized My AI Image App from 3s to 300ms with Next.js & Supabase # ai # nextjs # supabase Comments Add Comment 2 min read loading... trending guides/resources Choosing Between Vue.js and Next.js: A Practical Guide for Developers Turbopack: A Better Way to Inline SVG in Next.js 16 How to Build Multi-Language React Apps with Internationalization (i18n) React2Shell: The Critical RCE Vulnerability Every Next.js Developer Must Address Now The Worst Thing to Happen to React and Next.js: React2Shell Next.js Server Actions vs API Routes: Don’t Build Your App Until You Read This SvelteKit vs Next.js in 2026: Why the Underdog is Winning (A Developer’s Deep Dive) 🚨 Critical Next.js Vulnerability: Server Hijacked by Crypto Miner ⚠️ Critical RCE Vulnerability in React Server Components (CVSS 10.0) Build an award Winning 3D Website with scroll-based animations | Next.js, three.js & GSAP I Built a Tool Because I Was Tired of Overthinking Comments Next.js at the Speed of Bun: Why the Runtime is Your New Performance Bottleneck Next.js 16: A Deep Dive into Cache Components with Real-World Examples 📺 IPTV-60 – Mon lecteur IPTV personnel en ligne Using Proxy (before Middleware) in Next.js: a modern layer How to connect the Next.js MCP server to VS Code Copilot Chat Building a Modern Image Gallery with Next.js 16, TypeScript & Unsplash API Setting Up SonarQube Locally for React Native & MERN Projects How Avoiding Next.js Turned Into a 9.8 CVE-Level Security Nightmare Critical Security Vulnerability in Next.js & React: CVE-2025-55182 (React2Shell) 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/mohammadidrees/contrast-sync-vs-async-failure-classes-using-first-principles-d12#failure-class-2-ordering-violations
Contrast sync vs async failure classes using first principles - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Mohammad-Idrees Posted on Jan 13 Contrast sync vs async failure classes using first principles # architecture # computerscience # systemdesign 1. Start from First Principles: What Is a “Failure Class”? A failure class is not: a bug a timeout an outage A failure class is: A category of things that can go wrong because of how responsibility, time, and state are structured So we ask: What must be true for correctness? What assumptions does the model silently make? What breaks when those assumptions are false? 2. Core Difference (One Sentence) Synchronous systems fail by blocking and cascading. Asynchronous systems fail by duplication, reordering, and invisibility. Everything else is a consequence. 3. Synchronous Systems — Failure Classes Definition (First Principles) A synchronous system assumes: “The caller waits while the callee finishes the work.” This couples: time availability correctness Failure Class 1: Blocking Amplification Question asked: What happens while the system waits? Reality: Threads blocked Connections held Memory retained Failure mode: Load increases → latency increases → throughput collapses This is not just “slow.” It is non-linear failure . Failure Class 2: Cascading Failure Question asked: What if a dependency slows down? Because everything is waiting: Agent slows → backend slows Backend slows → frontend retries Retries amplify load Failure mode: One slow dependency can take down the entire system Failure Class 3: Availability Coupling Question asked: Can the system function if the dependency is down? Answer in sync systems: No Failure mode: Partial outage becomes total outage Summary: Sync Failure Classes Category Root Cause Blocking Time is coupled Cascades Dependencies are inline Global outage Availability is transitive 4. Asynchronous Systems — Failure Classes Definition (First Principles) An async system assumes: “Work can finish later, possibly multiple times, possibly out of order.” This decouples time but removes guarantees . Failure Class 1: Duplicate Execution Question asked: What happens if work is retried? Reality: At-least-once delivery Worker crashes Message reprocessed Failure mode: Same logical action happens multiple times This breaks: Exactly-once semantics Idempotency assumptions Failure Class 2: Ordering Violations Question asked: What defines sequence? Reality: Queues don’t know business order Workers process independently Failure mode: Effects appear out of logical order For chat systems: Responses based on future messages Context corruption Failure Class 3: Completion Invisibility Question asked: How does the user know when work is done? Reality: No direct signal Polling or guessing Failure mode: Users wait blindly or see stale state Failure Class 4: Orphaned Work Question asked: What if the user disappears? Reality: Job keeps running Response stored but never consumed Failure mode: Wasted compute, leaked state Summary: Async Failure Classes Category Root Cause Duplication Retries Reordering Decoupled execution Invisibility No direct completion path Orphans Detached lifecycles 5. Side-by-Side Contrast (Mental Model) Dimension Synchronous Asynchronous Time Coupled Decoupled Failure style Blocking, cascades Duplication, disorder Availability All-or-nothing Partial Correctness risk Latency-based Logic-based Debugging Easier Harder 6. Deep Insight (This Is the Interview Gold) Synchronous systems fail loudly and immediately. Asynchronous systems fail quietly and later. Sync failures are obvious (timeouts, errors) Async failures are subtle (double writes, wrong order) 7. Why Neither Is “Better” From first principles: Sync systems protect causality but sacrifice availability Async systems protect availability but sacrifice causality Real systems exist to reintroduce the lost property : Async systems add idempotency, ordering, state machines Sync systems add timeouts, circuit breakers, fallbacks 8. One-Line Rule to Remember Sync breaks under load. Async breaks under ambiguity. If you want next, we can: Map these failure classes to real outages Show how streaming combines both failure types Practice identifying failure classes on a fresh system Tell me the next direction. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Mohammad-Idrees Follow Joined Mar 16, 2023 More from Mohammad-Idrees Thinking in First Principles: How to Question an Async Queue–Based Design # architecture # interview # learning # systemdesign How to Identify System Design Problems from First Principles # architecture # interview # systemdesign # tutorial 🧱 The Blueprint of Success: Mastering the Technical Requirements Document (TRD) # architecture # career # systemdesign 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/trishan_fernando/owl-js-01-why-odoo-created-owl-a-framework-built-for-modularity-3n99#main-content
OWL JS 01 — Why Odoo Created OWL: A Framework Built for Modularity - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Trishan Fernando Posted on Mar 31, 2025 OWL JS 01 — Why Odoo Created OWL: A Framework Built for Modularity # odoo # owl # odooddevelopment # webdev In the JavaScript ecosystem filled with established frameworks like React and Vue, Odoo's decision to create their own framework—OWL (Odoo Web Library)—might seem counterintuitive. After all, why reinvent the wheel? This article explores the key reasons behind this strategic choice and highlights what makes OWL uniquely suited for Odoo's specific needs. The Core Challenge: Extreme Modularity At the heart of Odoo's decision lies one fundamental characteristic: Odoo is extremely modular . This means: Core components don't know beforehand what files will be loaded or executed The UI state is determined entirely at runtime Standard build toolchains aren't viable Odoo isn't just an application with a UI; it's an application that generates a dynamic UI This modularity creates unique requirements that most established frameworks aren't designed to address. Key Considerations Behind Creating OWL 1. Technical Independence Odoo needed to maintain control over their technology stack without depending on decisions made by large companies like Facebook (React) or Google. If these companies changed their licensing or technical direction, it could create significant problems for Odoo's specialized needs. 2. Class Components While modern frameworks are moving away from class components toward functional approaches, Odoo specifically benefits from class-based architecture: Inheritance provides an effective way to share code between generic components Each class method serves as an extension point for addons Components can be monkey-patched to add behavior from outside 3. JIT Template Compilation Odoo's dynamic nature requires just-in-time compilation: Templates are stored as XML in a database and customized via XPaths Templates need to be fetched and compiled at the last possible moment The system must be able to generate and compile templates at runtime 4. Minimal Tooling Requirements OWL is designed to work with minimal mandatory tooling: Templates are compiled by the browser using built-in XML parsers Components can be written with template strings The framework can be integrated with a simple <script> tag No complex build pipeline is required on production servers 5. XML-Based Templates Odoo stores templates as XML documents, allowing for powerful customization through XPaths. This feature is central to Odoo's modularity but isn't well-supported by other frameworks. 6. Simplified Developer Experience OWL prioritizes straightforward APIs: Uses familiar class-based components Features an explicit reactivity system Implements clear scoping rules Avoids unnecessary complexity 7. Optional Reactivity and Concurrency OWL offers: A reactive system that can be optionally disabled when not needed A powerful yet simple concurrent mode for managing asynchronous state changes Conclusion Creating OWL wasn't a decision Odoo made lightly. While established frameworks excel in their designed contexts, Odoo's unique requirements demanded something different. OWL represents a framework built specifically for extreme modularity, just-in-time compilation, and developer accessibility—making it the right tool for Odoo's specialized ecosystem. Stay Tuned for more articles... Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Trishan Fernando Follow Junior Web Dev Education University of Moratuwa BSc Hons in Information Technology Work Junior Odoo Developer at Crede Technologies Joined Feb 12, 2025 More from Trishan Fernando Comet Browser : Perplexity’s Thinking Browser # ai # learning # webdev # productivity Adding Field Attributes to multiple fields at once in Odoo # odoo # python 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/gauravsingh9356/scaling-the-data-layer-in-distributed-systems-49k3
Scaling the Data Layer in Distributed Systems - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Gaurav Singh Posted on Dec 26, 2025           Scaling the Data Layer in Distributed Systems # systemdesign # database # backend # java Scaling a stateless system is relatively straightforward. We can horizontally scale application servers by adding more instances behind a load balancer, and the system continues to work as expected. But what happens to the database? How can a database running on a single machine handle requests coming from N horizontally scaled application servers? Databases must scale too — and this is where things get interesting. The First Idea: Replication A natural first thought is: “Let’s just replicate the database and create multiple copies.” At first glance, this sounds reasonable. But the moment we try to scale traditional SQL databases using replication, we run into fundamental constraints. Why SQL Databases Don’t Scale Easily SQL databases are built around powerful guarantees: Joins across tables Cross-row and multi-table transactions Global constraints (foreign keys, unique keys, auto-increment IDs) All of these assume one critical thing: All data lives in one logical place. Once we attempt to shard or distribute SQL data: Joins turn into cross-network calls Transactions span machines Locks stop working globally As a result: Complexity explodes Performance degrades Application logic becomes significantly more complex This doesn’t mean SQL cannot be sharded — it can — but doing so safely requires heavy coordination and careful design. The Leader–Follower Model To improve scalability, many systems move to a leader–follower replication model. Press enter or click to view image in full size How It Works A single leader (primary) accepts all writes Followers (replicas) copy data from the leader Reads may be served from followers to scale read traffic This gives us: One source of truth for writes Multiple copies for read scaling and fault tolerance But a key question remains: How does the leader propagate writes to followers? The answer lies in replication strategies. Replication Strategies in Leader–Follower Systems Strong Consistency (Synchronous Replication) In this model: The leader writes data locally The leader waits for acknowledgements from a quorum (majority) of replicas Only then does it respond to the client This ensures: Strong consistency No stale reads (when reads also use quorum or leader) Tradeoffs: Higher write latency Reduced availability if replicas are slow or unavailable Importantly, strong consistency does not require waiting for all followers — waiting for a majority is sufficient. Eventual Consistency (Asynchronous Replication) Here: The leader writes data locally It sends replication messages to followers It responds to the client without waiting for most acknowledgements This model: Improves write latency and throughput Allows reads from followers to return stale data temporarily Relies on the system eventually converging This is a deliberate tradeoff: Availability and performance over immediate consistency The Leader Bottleneck Problem Even with replication, a fundamental limitation remains: All writes still go through a single leader. As write QPS grows (e.g., 10K+ writes per second): The leader becomes a bottleneck CPU, I/O, and replication overhead increase Vertical scaling eventually hits limits At this point, simply adding more replicas doesn’t help — because replicas don’t accept writes. This is where partitioning (sharding) becomes necessary. The Entry of NoSQL NoSQL databases emerged to solve exactly this problem: scaling writes and reads horizontally at massive scale. Key motivations behind NoSQL systems: High write throughput High availability Fault tolerance Geo-distribution Low latency at scale Rather than optimizing purely for normalization and storage efficiency, NoSQL systems are designed to scale by default. Sharding in NoSQL Databases NoSQL databases distribute data using sharding. How Sharding Works A partition (shard) key is chosen (e.g., user_id) The key is hashed or range-mapped Data is distributed across shards Each shard owns a mutually exclusive subset of data Common partitioning strategies: Consistent hashing Range-based partitioning (A–G, H–M, etc.) Choosing the correct shard key is critical: A poor shard key can cause hotspots and destroy scalability. Replication Inside a Shard Each shard is still replicated for fault tolerance. This is where two NoSQL replication models appear. Model 1: Leader–Follower per Shard Used by systems like: MongoDB DynamoDB HBase Per Shard: One leader Multiple followers Write Flow: Client routes request to shard leader Leader writes data Leader propagates to followers Leader waits for: Quorum acknowledgements (stronger consistency), or Minimal acknowledgements (eventual consistency) Read Flow: Reads may go to leader (fresh) Or followers (faster, possibly stale) This model is simple and efficient but still has: Leader hotspots Leader failover complexity Model 2: Quorum-Based (Leaderless) Replication Used by systems like: Cassandra Riak Dynamo-style designs Per Shard: No leader All replicas are equal Write Flow: Client sends write to any replica (coordinator) Coordinator sends write to all replicas Write succeeds when W replicas acknowledge Read Flow: Client reads from R replicas Latest version wins Inconsistencies are repaired in the background This model: Avoids leader bottlenecks Improves availability Requires conflict resolution and versioning Quorum Explained (Simply) Let: N = total replicas per shard W = replicas required to acknowledge a write R = replicas required for a read Rules: Strong consistency: R + W > N Eventual consistency: R + W ≤ N Examples: Banking, inventory → strong consistency Social feeds, likes, analytics → eventual consistency Quorum decisions are made per shard, not globally. Final Takeaway SQL databases struggle with horizontal write scaling due to strong global guarantees Leader–follower replication improves read scaling but not write scaling NoSQL databases solve this by sharding data ownership Each shard scales independently Replication within shards is handled using leader-based or quorum-based models Consistency is a configurable tradeoff, not a fixed property Modern data systems don’t ask “Can we scale?” — they ask “What consistency are we willing to trade for scale?” Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Gaurav Singh Follow Sofware Engineer at Amazon | Full Stack Developer | IIIT Kalyani CSE '23 Location India Education BTech CSE IIIT Kalyani, West Bengal, India Pronouns He/Him Work SDE - Amazon Joined Apr 6, 2020 More from Gaurav Singh Hey Team, Do check out this awesome doc for building E2E Distributed Job Scheduler! # systemdesign # backend # interview # aws Building a Distributed Job Scheduler: End2End Design # systemdesign # backend # interview # aws Building a Scalable Real-Time Ticket Queue System - BookMyShow # webdev # systemdesign # redis # socket 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/eachampagne/garbage-collection-43nk#garbage-collection-algorithms
Garbage Collection - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse eachampagne Posted on Nov 17, 2025 • Edited on Dec 6, 2025           Garbage Collection # computerscience # performance # programming It’s easy to forget, while working in the abstract in terms of functions and algorithms, that the memory our programs depend on is real . The values we use in our programs actually exist on the hardware at specific addresses. If we don’t keep track of where we’ve stored data, we run the risk of overwriting something important and getting the wrong information when we go to look it up again. On the other hand, if we’re too guarded about protecting our data, even after we’re finished with it, we waste memory that the program could better use on other tasks. Most programming languages today implement garbage collection to automate periodically releasing memory we no longer need. The garbage collector cannot predict exactly which values will be used again by our program, but it can find some that cannot due to no longer having any way to use them, and safely free them. Garbage Collection Algorithms Reference Counting The simplest algorithm is just to keep a count of references to a piece of memory. If the number of references ever reaches zero, that memory can no longer be reached and can be safely disposed of. However, this strategy fails with circular references. If two objects, for example, reference each other, their reference counts with never reach zero, even if they are otherwise inaccessible from the main program. Tracing Tracing (usually mark-and-sweep), is a more sophisticated approach to memory management. Starting from some defined root(s), the garbage collector visits every piece of memory accessible from either the root or its descendants, marking that memory as still reachable. Any memory not traversed is unreachable and is garbage collected. This avoids the problem of circular references “trapping” memory, since the cycle will not be reached from the main memory graph. However, this approach has more overhead than the reference counting strategy. Many garbage collectors reduce the overhead of mark-and-search by having two (or more) “generations” of allocations. The generational hypothesis states that most allocations die young (think how many variables you use once in a for loop and never again), but those that survive are much more likely to survive a long time. Thus, the pool of young allocations (the “nursery”) is garbage collected frequently, while the old (“tenured”) pool is checked less often. It’s possible to combine both strategies in a hybrid collector. For example, Python uses reference counting as its primary algorithm, then uses a mark-and-sweep pass over the (now smaller) pool of allocated memory to find and eliminate circular references. The Downsides of Garbage Collection Of course, the garbage collector itself introduces some overhead. Depending on the implementation, it may bring the program to a halt while it scans and frees data or defragments the remaining memory. It is also impossible to create a perfectly efficient garbage collector due to the inherent uncertainty in which values will be used again. Other Approaches to Memory Management There are alternatives to garbage collection. A few languages, such as C and C++, require the programmer to manage memory manually (although you can add garbage collectors to both languages yourself if you wish), both while allocating memory to new variables and when deciding when to free memory. Manual memory management avoids the overhead of garbage collection, but adds to program complexity, since this now must be handled by the code itself rather than happening in the background. This also gives the programmer many opportunities to make mistakes , from creating floating pointers by freeing too soon to leaking memory by freeing too late or not at all, to say nothing of the difficulty of using pointers themselves. Rust takes a third option and introduces the concept of “ ownership ” – only one variable can own a piece of data at a time, and that data is released as soon as its owner goes out of scope. This eliminates the need for garbage collection at runtime, as well with its associated performance costs. However, the programmer has to keep track of ownership and borrowing of data, which limits how data can be read or changed at certain points of the program. This requires thinking in a different way from other languages, since some familiar patterns simply won’t compile, and increases Rust’s learning curve sharply. Garbage Collection in JavaScript JavaScript follows the majority of programming languages in using a garbage collector. However, the garbage collector itself is implemented and run by the JavaScript engine, not the script we write ourselves, so implementation varies slightly across engines. However, the general principles are the same. Modern JavaScript libraries all use a mark-and-sweep algorithm with the global object as the algorithm’s root. Since I regularly use Firefox and Node, I’ll look at their engines in a bit more detail. SpiderMonkey , the engine used by Firefox, applies the principle of generational collection, dividing allocations into young and old. It attempts to garbage collect incrementally to avoid long pauses, and runs parts of garbage collection in parallel with itself or concurrently with the main thread when possible. The V8 engine’s Orinoco garbage collector , has three generations: nursery, young, and old, and claims (as of 2019) to be a “mostly parallel and concurrent collector with incremental fallback.” V8 also brags about interweaving garbage collection into the idle time between drawing frames when possible, minimizing the time spent forcing JavaScript execution to pause. Based only on these descriptions, V8’s garbage collector seems a bit more advanced, perhaps because V8 used by Chromium-based browsers in addition to Node.js and thus has more support. However, they seem to have independently converged to similar architectures. The serious demands to provide a smooth user experience means that browser-based garbage collectors must be efficient and eliminate as much overhead as possible, because, as the Node guide to tracing garbage collection neatly summarizes, “ when GC is running, your code is not. ” I admit I’ve rather taken memory management for granted, since most of the languages I’ve studied have garbage collectors. I’ve been fascinated by Rust for years but haven’t managed to wrap my head around its ownership and borrowing rules. (Maybe this is the time it will finally click for me.) But if I struggle with memory management when the compiler itself is looking out for me, I’m not sure how I’d fare in a manual memory management scheme without guardrails. So for now, I’m very grateful to garbage collectors everywhere for making my life easier. The Memory Management Reference was invaluable while researching this blog post, in addition to many other engine- and language-specific references (linked throughout the text). Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse eachampagne Follow Joined Sep 5, 2025 More from eachampagne Parallelization # beginners # performance # programming # computerscience 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/miltivik/how-i-built-a-high-performance-social-api-with-bun-elysiajs-on-a-5-vps-handling-36k-reqsmin-5do4#the-final-result
How I built a high-performance Social API with Bun & ElysiaJS on a $5 VPS (handling 3.6k reqs/min) - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse nicomedina Posted on Jan 13           How I built a high-performance Social API with Bun & ElysiaJS on a $5 VPS (handling 3.6k reqs/min) # bunjs # api # javascript # programming The Goal I wanted to build a "Micro-Social" API—a backend service capable of handling Twitter-like feeds, follows, and likes—without breaking the bank. My constraints were simple: Budget:** $5 - $20 / month. Performance:** Sub-300ms latency. Scale:** Must handle concurrent load (stress testing). Most tutorials show you Hello World . This post shows you what happens when you actually hit Hello World with 25 concurrent users on a cheap VPS. (Spoiler: It crashes). Here is how I fixed it. ## The Stack 🛠️ I chose Bun over Node.js for its startup speed and built-in tooling. Runtime: Bun Framework: ElysiaJS (Fastest Bun framework) Database: PostgreSQL (via Dokploy) ORM: Drizzle (Lightweight & Type-safe) Hosting: VPS with Dokploy (Docker Compose) The "Oh Sh*t" Moment 🚨 I deployed my first version. It worked fine for me. Then I ran a load test using k6 to simulate 25 virtual users browsing various feeds. k6 run tests/stress-test.js Enter fullscreen mode Exit fullscreen mode Result: ✗ http_req_failed................: 86.44% ✗ status is 429..................: 86.44% The server wasn't crashing, but it was rejecting almost everyone. Diagnosis I initially blamed Traefik (the reverse proxy). But digging into the code, I found the culprit was me . // src/index.ts // OLD CONFIGURATION . use ( rateLimit ({ duration : 60 _000 , max : 100 // 💀 100 requests per minute... GLOBAL per IP? })) Enter fullscreen mode Exit fullscreen mode Since my stress test (and likely any future NATed corporate office) sent all requests from a single IP, I was essentially DDOSing myself. The Fixes 🔧 1. Tuning the Rate Limiter I bumped the limit to 2,500 req/min . This prevents abuse while allowing heavy legitimate traffic (or load balancers). // src/index.ts . use ( rateLimit ({ duration : 60 _000 , max : 2500 // Much better for standard reliable APIs })) Enter fullscreen mode Exit fullscreen mode 2. Database Connection Pooling The default Postgres pool size is often small (e.g., 10 or 20). My VPS has 4GB RAM. PostgreSQL needs RAM for connections, but not that much. I bumped the pool to 80 connections . // src/db/index.ts const client = postgres ( process . env . DATABASE_URL , { max : 80 }); Enter fullscreen mode Exit fullscreen mode 3. Horizontal Scaling with Docker Node/Bun is single-threaded. A single container uses 1 CPU core effectivey. My VPS has 2 vCPUs. I added a replicas instruction to my docker-compose.dokploy.yml : api : build : . restart : always deploy : replicas : 2 # One for each core! Enter fullscreen mode Exit fullscreen mode This instantly doubled my throughput capacity. Traefik automatically load-balances between the two containers. The Final Result 🟢 Ran k6 again: ✓ checks_succeeded...: 100.00% ✓ http_req_duration..: p(95)=200.45ms ✓ http_req_failed....: 0.00% (excluding auth checks) Enter fullscreen mode Exit fullscreen mode 0 errors. 200ms latency. On a cheap VPS. Takeaway You don't need Kubernetes for a side project. You just need to understand where your bottlenecks are: Application Layer: Check your Rate Limits. Database Layer: Check your Connection Pool. Hardware: Use all your cores (Replicas). If you want to try the API, I published it on RapidAPI as Micro-Social API . https://rapidapi.com/ismamed4/api/micro-social Happy coding! 🚀 Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   Olivia John Olivia John Olivia John Follow Curious about what makes apps succeed (or fail). Sharing lessons from real-world performance stories. Pronouns She/Her Joined Jun 24, 2025 • Jan 13 Dropdown menu Copy link Hide Great article! Like comment: Like comment: 1  like Like Comment button Reply Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse nicomedina Follow Hello im a Uruguayan Developer and im a person who always want to search, learn, and adapt new habit or skills in me. Location Uruguay Education UTEC Pronouns He/His Joined Jan 11, 2026 Trending on DEV Community Hot Stop Overengineering: How to Write Clean Code That Actually Ships 🚀 # discuss # javascript # programming # webdev 🧗‍♂️Beginner-Friendly Guide 'Max Dot Product of Two Subsequences' – LeetCode 1458 (C++, Python, JavaScript) # programming # cpp # python # javascript What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://forem.com/bogaboga1/odoo-core-and-the-cost-of-reinventing-everything-15n1#odoo-views
Odoo Core and the Cost of Reinventing Everything - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Boga Posted on Jan 12 Odoo Core and the Cost of Reinventing Everything # python # odoo # qweb # owl Hello, this is my first blog post ever. I’d like to share my experience working with Odoo , an open-source Enterprise Resource Planning (ERP) system, and explain why I believe many of its architectural choices cause unnecessary complexity. Odoo is a single platform that provides many prebuilt modules (mini-applications) that most companies need. For example, almost every company requires a Human Resources system to manage employee details, leaves, attendance, contracts, resignations, and more. Beyond HR, companies also need purchasing, inventory, accounting, authentication, authorization, and other systems. Odoo bundles all of these tightly coupled systems into a single installation. On paper, this sounds great — and from a business perspective, it often is. From a technical perspective , however, things get complicated very quickly. Odoo Core Components Below are the main Odoo components, ranked from least complex to most complex, and all largely developed in-house instead of relying on existing mature frameworks: Odoo HTTP Layer JSON-RPC Website routing Odoo Views XML transformed into Python and JavaScript Odoo ORM Custom inheritance system Query builder Dependency injection Caching layers Cache System Implemented from scratch WebSocket Implementation Very low-level handling Odoo HTTP Layer Odoo is not built on a standard Python web framework like Django or Flask. Instead, it implements its own HTTP framework on top of Werkzeug (a WSGI utility library). This HTTP layer introduces its own abstractions, request lifecycle, routing, and serialization logic, including JSON-RPC and website controllers. While technically impressive, it reinvents many problems that have already been solved — and battle-tested — by existing frameworks. Odoo Views In my opinion, this is one of the most problematic parts of Odoo. Instead of using standard frontend technologies, Odoo relies heavily on XML-based views . These XML files are sent to the browser and then transformed using Abstract Syntax Tree (AST) analysis into JavaScript. In other contexts (like the website), the XML may be converted into Python code and sometimes back into JavaScript again. This creates: High cognitive overhead Difficult debugging Tight coupling between backend and frontend Poor tooling support compared to modern frontend stacks It feels like building a car from raw metal just to drive from point A to point B. Odoo ORM Odoo’s ORM is not a typical ORM. It implements: A custom inheritance system (instead of using Python’s built-in one) Its own dependency injection mechanism A query builder Caching layers (LRU) Model extension via monkey-patching While powerful, this system is extremely complex and hard to reason about. Debugging model behavior often feels like navigating invisible layers of magic. WebSocket Implementation Instead of using a mature real-time framework, Odoo implements its WebSocket handling with very low-level logic, sometimes in surprisingly small and dense files. A single comment from the codebase summarizes this approach better than words ever could: The “Odoo Is Old” Argument A common defense of Odoo’s architecture is that “it’s an old system” — originally developed around 2005 using Python 2. However, this argument no longer holds. Odoo was largely rewritten from scratch around 2017 to support Python 3. At that time, many excellent frameworks already existed and had solved the same problems more cleanly, while continuing to evolve without breaking their ecosystems. Today, even small changes in Odoo’s core can break custom modules unless they are limited to simple CRUD models with minimal dependencies on core behavior. Final Thoughts Odoo is a powerful product and a successful business platform. But from a software engineering perspective, many of its design decisions prioritize control and internal consistency over maintainability, clarity, and developer experience . If you work with Odoo long enough, you stop asking “why does it work this way?” and start asking “how do I survive this upgrade?” Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Boga Follow Senior Software Engineer Joined Jan 12, 2026 Trending on DEV Community Hot 🧱 Beginner-Friendly Guide 'Maximal Rectangle' – LeetCode 85 (C++, Python, JavaScript) # programming # cpp # python # javascript The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/t/cicd
Cicd - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close # cicd Follow Hide CI/CD pipelines and automation Create Post Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu Shift-Left Reliability Rob Fox Rob Fox Rob Fox Follow Jan 12 Shift-Left Reliability # sre # devops # cicd # platformengineering Comments Add Comment 4 min read Starting My Journey on DEV.to Sourabh Yogi Sourabh Yogi Sourabh Yogi Follow Jan 13 Starting My Journey on DEV.to # devops # aws # kubernetes # cicd Comments Add Comment 1 min read XCode Cloud Build fails due Command exited with non-zero exit-code: 70 Alexander Hodes Alexander Hodes Alexander Hodes Follow Jan 12 XCode Cloud Build fails due Command exited with non-zero exit-code: 70 # appdev # ios # cicd Comments Add Comment 4 min read Putting the CD Back into CI/CD: A Guide to Continuous Deployment Audacia Audacia Audacia Follow Jan 12 Putting the CD Back into CI/CD: A Guide to Continuous Deployment # devops # cicd # git # software Comments Add Comment 7 min read 🧩 Runtime Snapshots #11 — The Design Loop: From 'Make It Like That Site' to Pixel-Perfect Code Alechko Alechko Alechko Follow Jan 11 🧩 Runtime Snapshots #11 — The Design Loop: From 'Make It Like That Site' to Pixel-Perfect Code # e2llm # cicd # webdev # automation 1  reaction Comments Add Comment 4 min read [Tutorial] CI/CD Architecture for a Hugo Blog on Cloud Run Evan Lin Evan Lin Evan Lin Follow Jan 11 [Tutorial] CI/CD Architecture for a Hugo Blog on Cloud Run # architecture # cicd # cloud # tutorial Comments Add Comment 3 min read [TIL] Deploying to Heroku with Github Releases and Golang Evan Lin Evan Lin Evan Lin Follow Jan 11 [TIL] Deploying to Heroku with Github Releases and Golang # cicd # github # tutorial # go Comments Add Comment 2 min read [Golang][Render] Deploying a Golang App to Render.com with GitHub Actions Evan Lin Evan Lin Evan Lin Follow Jan 11 [Golang][Render] Deploying a Golang App to Render.com with GitHub Actions # cicd # github # go # tutorial Comments Add Comment 2 min read Why Helm Chart Testing Matters (And How to Choose Your Tools) Alexandre Vazquez Alexandre Vazquez Alexandre Vazquez Follow Jan 11 Why Helm Chart Testing Matters (And How to Choose Your Tools) # helm # cicd # cloudnative # devops 2  reactions Comments Add Comment 11 min read How I Automated Database Seeding in CI/CD with One API Call DDLTODATA DDLTODATA DDLTODATA Follow Jan 11 How I Automated Database Seeding in CI/CD with One API Call # postgressql # api # cicd # automation Comments Add Comment 5 min read 🚀 Build, Push, and Deploy a Python App image to Cloud Run Using Google Cloud Build Triggers Latchu@DevOps Latchu@DevOps Latchu@DevOps Follow Jan 9 🚀 Build, Push, and Deploy a Python App image to Cloud Run Using Google Cloud Build Triggers # devops # gcp # cicd # containers 5  reactions Comments Add Comment 2 min read 🧩 Runtime Snapshots #10 — The Loop: E2LLM in Production Alechko Alechko Alechko Follow Jan 9 🧩 Runtime Snapshots #10 — The Loop: E2LLM in Production # e2llm # cicd # webdev # automation Comments Add Comment 3 min read 🧩 Runtime Snapshots #10 — The Loop: E2LLM in Production Alechko Alechko Alechko Follow Jan 9 🧩 Runtime Snapshots #10 — The Loop: E2LLM in Production # e2llm # cicd # webdev # automation Comments Add Comment 3 min read dgoss: Testing the Container, Not Just the Image Francis Eytan Dortort Francis Eytan Dortort Francis Eytan Dortort Follow Jan 9 dgoss: Testing the Container, Not Just the Image # docker # cicd # devsecops # containers Comments Add Comment 6 min read Bastion Host & GitHub Actions on Hostim.dev Pavel Pavel Pavel Follow Jan 8 Bastion Host & GitHub Actions on Hostim.dev # docker # githubactions # cicd # ci Comments Add Comment 2 min read Self-hosted Gitea CI Diogo Diogo Diogo Follow Jan 5 Self-hosted Gitea CI # cicd # devops # docker # tutorial Comments Add Comment 4 min read What I Learned Deploying a Java Application on AWS Using a 3-Tier Architecture Miracle Olorunsola Miracle Olorunsola Miracle Olorunsola Follow Jan 7 What I Learned Deploying a Java Application on AWS Using a 3-Tier Architecture # devops # aws # cicd 1  reaction Comments 1  comment 1 min read The Hidden Pay of Free Test Reporting Tools TestDino TestDino TestDino Follow Jan 7 The Hidden Pay of Free Test Reporting Tools # playwright # opensource # cicd # testing Comments 1  comment 4 min read AI-generated code will choke delivery pipelines srvaroa srvaroa srvaroa Follow Jan 6 AI-generated code will choke delivery pipelines # softwareengineering # cicd # productivity # ai Comments Add Comment 7 min read Day 5: Choosing Our Hosting - How We'll Run This for Under $20/month Erik Erik Erik Follow for Allscreenshots Jan 5 Day 5: Choosing Our Hosting - How We'll Run This for Under $20/month # infrastructureascode # cicd Comments Add Comment 6 min read Day 4: Setting Up CI/CD Erik Erik Erik Follow for Allscreenshots Jan 4 Day 4: Setting Up CI/CD # kotlin # cicd # github Comments Add Comment 7 min read Integration Testing: Definition, How-to, Examples Alok Kumar Alok Kumar Alok Kumar Follow Jan 5 Integration Testing: Definition, How-to, Examples # testing # cicd # automation # software Comments Add Comment 12 min read Beyond CI/CD: The 5 DevOps Pillars You Need to Master in 2026 Meena Nukala Meena Nukala Meena Nukala Follow Jan 4 Beyond CI/CD: The 5 DevOps Pillars You Need to Master in 2026 # devops # ai # productivity # cicd Comments Add Comment 2 min read Deploying An Eleventy Site to NeoCities with GitLab CI/CD Brennan K. Brown Brennan K. Brown Brennan K. Brown Follow Jan 4 Deploying An Eleventy Site to NeoCities with GitLab CI/CD # cicd # webdev # bash # git Comments Add Comment 6 min read Docker is Overkill: Setting Up Lightweight CI/CD for Solo Devs Akshith Anand Akshith Anand Akshith Anand Follow Jan 4 Docker is Overkill: Setting Up Lightweight CI/CD for Solo Devs # webdev # cicd # githubactions # docker 1  reaction Comments Add Comment 7 min read loading... trending guides/resources AWS community day Workshop: Building Your First DevOps Blue/Green Pipeline with ECS CI/CD on Local Gitlab server| Setup GitLab Runner | Self-hosted GitLab Injecting AI Agents into CI/CD: Using GitHub Copilot CLI in GitHub Actions for Smart Failures Alternatives to GitHub Actions for self-hosted runners Helm for DevOps Engineers: From Basics to CI/CD Integration (Complete Practical Guide) How to Build a Real-World CI/CD Pipeline for Microservices with Jenkins and Kubernetes How to set up Slack notifications from GitLab CI/CD using the Slack API How I Built a Secure CI/CD Pipeline Using Kaniko, Jenkins, and Kubernetes 🚀 Building an AI-Powered Code Reviewer for Bitbucket Using Groq & Pipelines Implementing a Self-Healing Serverless CICD Pipeline with AWS Developer Tools. GitLab CI/CD for Next.js — Part 0: Project & Repository Setup Production-Ready Terraform - Part 3: The Finale — Automating Terraform with CI/CD Mastering Istio Canary Deployments: Full CI/CD Pipeline with Jenkins, GitHub Actions & ArgoCD Forge: Lightweight, Fast, and Reliable Local CI/CD 🔥 10+ End-to-End DevOps Projects — Docker, AWS, Jenkins, Terraform, Ansible & More CI/CD for Electron Desktop Apps Auto-Update, CDN, Azure Blob, Matrix Build & OS-Level Security 🎯 Scenario #10 — Use kubectl diff to Preview Changes Before Applying in Kubernetes ⭐ Scenario #6: Auto-Update ConfigMap Without Restarting the Pod (Using Volume Mount) Bayan Flow 0.2.0: finishing the foundations (i18n, RTL, tests, and small UX wins) 🎯 Scenario #12 — To Mount a ConfigMap as a Volume and Update It Dynamically in Kubernetes 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/mohammadidrees/contrast-sync-vs-async-failure-classes-using-first-principles-d12#failure-class-1-duplicate-execution
Contrast sync vs async failure classes using first principles - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Mohammad-Idrees Posted on Jan 13 Contrast sync vs async failure classes using first principles # architecture # computerscience # systemdesign 1. Start from First Principles: What Is a “Failure Class”? A failure class is not: a bug a timeout an outage A failure class is: A category of things that can go wrong because of how responsibility, time, and state are structured So we ask: What must be true for correctness? What assumptions does the model silently make? What breaks when those assumptions are false? 2. Core Difference (One Sentence) Synchronous systems fail by blocking and cascading. Asynchronous systems fail by duplication, reordering, and invisibility. Everything else is a consequence. 3. Synchronous Systems — Failure Classes Definition (First Principles) A synchronous system assumes: “The caller waits while the callee finishes the work.” This couples: time availability correctness Failure Class 1: Blocking Amplification Question asked: What happens while the system waits? Reality: Threads blocked Connections held Memory retained Failure mode: Load increases → latency increases → throughput collapses This is not just “slow.” It is non-linear failure . Failure Class 2: Cascading Failure Question asked: What if a dependency slows down? Because everything is waiting: Agent slows → backend slows Backend slows → frontend retries Retries amplify load Failure mode: One slow dependency can take down the entire system Failure Class 3: Availability Coupling Question asked: Can the system function if the dependency is down? Answer in sync systems: No Failure mode: Partial outage becomes total outage Summary: Sync Failure Classes Category Root Cause Blocking Time is coupled Cascades Dependencies are inline Global outage Availability is transitive 4. Asynchronous Systems — Failure Classes Definition (First Principles) An async system assumes: “Work can finish later, possibly multiple times, possibly out of order.” This decouples time but removes guarantees . Failure Class 1: Duplicate Execution Question asked: What happens if work is retried? Reality: At-least-once delivery Worker crashes Message reprocessed Failure mode: Same logical action happens multiple times This breaks: Exactly-once semantics Idempotency assumptions Failure Class 2: Ordering Violations Question asked: What defines sequence? Reality: Queues don’t know business order Workers process independently Failure mode: Effects appear out of logical order For chat systems: Responses based on future messages Context corruption Failure Class 3: Completion Invisibility Question asked: How does the user know when work is done? Reality: No direct signal Polling or guessing Failure mode: Users wait blindly or see stale state Failure Class 4: Orphaned Work Question asked: What if the user disappears? Reality: Job keeps running Response stored but never consumed Failure mode: Wasted compute, leaked state Summary: Async Failure Classes Category Root Cause Duplication Retries Reordering Decoupled execution Invisibility No direct completion path Orphans Detached lifecycles 5. Side-by-Side Contrast (Mental Model) Dimension Synchronous Asynchronous Time Coupled Decoupled Failure style Blocking, cascades Duplication, disorder Availability All-or-nothing Partial Correctness risk Latency-based Logic-based Debugging Easier Harder 6. Deep Insight (This Is the Interview Gold) Synchronous systems fail loudly and immediately. Asynchronous systems fail quietly and later. Sync failures are obvious (timeouts, errors) Async failures are subtle (double writes, wrong order) 7. Why Neither Is “Better” From first principles: Sync systems protect causality but sacrifice availability Async systems protect availability but sacrifice causality Real systems exist to reintroduce the lost property : Async systems add idempotency, ordering, state machines Sync systems add timeouts, circuit breakers, fallbacks 8. One-Line Rule to Remember Sync breaks under load. Async breaks under ambiguity. If you want next, we can: Map these failure classes to real outages Show how streaming combines both failure types Practice identifying failure classes on a fresh system Tell me the next direction. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Mohammad-Idrees Follow Joined Mar 16, 2023 More from Mohammad-Idrees Thinking in First Principles: How to Question an Async Queue–Based Design # architecture # interview # learning # systemdesign How to Identify System Design Problems from First Principles # architecture # interview # systemdesign # tutorial 🧱 The Blueprint of Success: Mastering the Technical Requirements Document (TRD) # architecture # career # systemdesign 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://www.facebook.com/sharer.php?u=https%3A%2F%2Fdev.to%2Fx0x7b%2Fobserving-behavioral-anomalies-in-web-applications-beyond-signature-scanners-g6p
Facebook에 로그인 Notice 계속하려면 로그인해주세요. Facebook에 로그인 계속하려면 로그인해주세요. 로그인 계정을 잊으셨나요? 또는 새 계정 만들기 한국어 English (US) Tiếng Việt Bahasa Indonesia ภาษาไทย Español 中文(简体) 日本語 Português (Brasil) Français (France) Deutsch 가입하기 로그인 Messenger Facebook Lite 동영상 Meta Pay Meta 스토어 Meta Quest Ray-Ban Meta Meta AI Meta AI 콘텐츠 더 보기 Instagram Threads 투표 정보 센터 개인정보처리방침 개인정보 보호 센터 정보 광고 만들기 페이지 만들기 개발자 채용 정보 쿠키 AdChoices 이용 약관 고객 센터 연락처 업로드 및 비사용자 설정 활동 로그 Meta © 2026
2026-01-13T08:49:10
https://forem.com/bogaboga1/odoo-core-and-the-cost-of-reinventing-everything-15n1#odoo-core-components
Odoo Core and the Cost of Reinventing Everything - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Boga Posted on Jan 12 Odoo Core and the Cost of Reinventing Everything # python # odoo # qweb # owl Hello, this is my first blog post ever. I’d like to share my experience working with Odoo , an open-source Enterprise Resource Planning (ERP) system, and explain why I believe many of its architectural choices cause unnecessary complexity. Odoo is a single platform that provides many prebuilt modules (mini-applications) that most companies need. For example, almost every company requires a Human Resources system to manage employee details, leaves, attendance, contracts, resignations, and more. Beyond HR, companies also need purchasing, inventory, accounting, authentication, authorization, and other systems. Odoo bundles all of these tightly coupled systems into a single installation. On paper, this sounds great — and from a business perspective, it often is. From a technical perspective , however, things get complicated very quickly. Odoo Core Components Below are the main Odoo components, ranked from least complex to most complex, and all largely developed in-house instead of relying on existing mature frameworks: Odoo HTTP Layer JSON-RPC Website routing Odoo Views XML transformed into Python and JavaScript Odoo ORM Custom inheritance system Query builder Dependency injection Caching layers Cache System Implemented from scratch WebSocket Implementation Very low-level handling Odoo HTTP Layer Odoo is not built on a standard Python web framework like Django or Flask. Instead, it implements its own HTTP framework on top of Werkzeug (a WSGI utility library). This HTTP layer introduces its own abstractions, request lifecycle, routing, and serialization logic, including JSON-RPC and website controllers. While technically impressive, it reinvents many problems that have already been solved — and battle-tested — by existing frameworks. Odoo Views In my opinion, this is one of the most problematic parts of Odoo. Instead of using standard frontend technologies, Odoo relies heavily on XML-based views . These XML files are sent to the browser and then transformed using Abstract Syntax Tree (AST) analysis into JavaScript. In other contexts (like the website), the XML may be converted into Python code and sometimes back into JavaScript again. This creates: High cognitive overhead Difficult debugging Tight coupling between backend and frontend Poor tooling support compared to modern frontend stacks It feels like building a car from raw metal just to drive from point A to point B. Odoo ORM Odoo’s ORM is not a typical ORM. It implements: A custom inheritance system (instead of using Python’s built-in one) Its own dependency injection mechanism A query builder Caching layers (LRU) Model extension via monkey-patching While powerful, this system is extremely complex and hard to reason about. Debugging model behavior often feels like navigating invisible layers of magic. WebSocket Implementation Instead of using a mature real-time framework, Odoo implements its WebSocket handling with very low-level logic, sometimes in surprisingly small and dense files. A single comment from the codebase summarizes this approach better than words ever could: The “Odoo Is Old” Argument A common defense of Odoo’s architecture is that “it’s an old system” — originally developed around 2005 using Python 2. However, this argument no longer holds. Odoo was largely rewritten from scratch around 2017 to support Python 3. At that time, many excellent frameworks already existed and had solved the same problems more cleanly, while continuing to evolve without breaking their ecosystems. Today, even small changes in Odoo’s core can break custom modules unless they are limited to simple CRUD models with minimal dependencies on core behavior. Final Thoughts Odoo is a powerful product and a successful business platform. But from a software engineering perspective, many of its design decisions prioritize control and internal consistency over maintainability, clarity, and developer experience . If you work with Odoo long enough, you stop asking “why does it work this way?” and start asking “how do I survive this upgrade?” Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Boga Follow Senior Software Engineer Joined Jan 12, 2026 Trending on DEV Community Hot 🧱 Beginner-Friendly Guide 'Maximal Rectangle' – LeetCode 85 (C++, Python, JavaScript) # programming # cpp # python # javascript The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/mohammadidrees/contrast-sync-vs-async-failure-classes-using-first-principles-d12#6-deep-insight-this-is-the-interview-gold
Contrast sync vs async failure classes using first principles - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Mohammad-Idrees Posted on Jan 13 Contrast sync vs async failure classes using first principles # architecture # computerscience # systemdesign 1. Start from First Principles: What Is a “Failure Class”? A failure class is not: a bug a timeout an outage A failure class is: A category of things that can go wrong because of how responsibility, time, and state are structured So we ask: What must be true for correctness? What assumptions does the model silently make? What breaks when those assumptions are false? 2. Core Difference (One Sentence) Synchronous systems fail by blocking and cascading. Asynchronous systems fail by duplication, reordering, and invisibility. Everything else is a consequence. 3. Synchronous Systems — Failure Classes Definition (First Principles) A synchronous system assumes: “The caller waits while the callee finishes the work.” This couples: time availability correctness Failure Class 1: Blocking Amplification Question asked: What happens while the system waits? Reality: Threads blocked Connections held Memory retained Failure mode: Load increases → latency increases → throughput collapses This is not just “slow.” It is non-linear failure . Failure Class 2: Cascading Failure Question asked: What if a dependency slows down? Because everything is waiting: Agent slows → backend slows Backend slows → frontend retries Retries amplify load Failure mode: One slow dependency can take down the entire system Failure Class 3: Availability Coupling Question asked: Can the system function if the dependency is down? Answer in sync systems: No Failure mode: Partial outage becomes total outage Summary: Sync Failure Classes Category Root Cause Blocking Time is coupled Cascades Dependencies are inline Global outage Availability is transitive 4. Asynchronous Systems — Failure Classes Definition (First Principles) An async system assumes: “Work can finish later, possibly multiple times, possibly out of order.” This decouples time but removes guarantees . Failure Class 1: Duplicate Execution Question asked: What happens if work is retried? Reality: At-least-once delivery Worker crashes Message reprocessed Failure mode: Same logical action happens multiple times This breaks: Exactly-once semantics Idempotency assumptions Failure Class 2: Ordering Violations Question asked: What defines sequence? Reality: Queues don’t know business order Workers process independently Failure mode: Effects appear out of logical order For chat systems: Responses based on future messages Context corruption Failure Class 3: Completion Invisibility Question asked: How does the user know when work is done? Reality: No direct signal Polling or guessing Failure mode: Users wait blindly or see stale state Failure Class 4: Orphaned Work Question asked: What if the user disappears? Reality: Job keeps running Response stored but never consumed Failure mode: Wasted compute, leaked state Summary: Async Failure Classes Category Root Cause Duplication Retries Reordering Decoupled execution Invisibility No direct completion path Orphans Detached lifecycles 5. Side-by-Side Contrast (Mental Model) Dimension Synchronous Asynchronous Time Coupled Decoupled Failure style Blocking, cascades Duplication, disorder Availability All-or-nothing Partial Correctness risk Latency-based Logic-based Debugging Easier Harder 6. Deep Insight (This Is the Interview Gold) Synchronous systems fail loudly and immediately. Asynchronous systems fail quietly and later. Sync failures are obvious (timeouts, errors) Async failures are subtle (double writes, wrong order) 7. Why Neither Is “Better” From first principles: Sync systems protect causality but sacrifice availability Async systems protect availability but sacrifice causality Real systems exist to reintroduce the lost property : Async systems add idempotency, ordering, state machines Sync systems add timeouts, circuit breakers, fallbacks 8. One-Line Rule to Remember Sync breaks under load. Async breaks under ambiguity. If you want next, we can: Map these failure classes to real outages Show how streaming combines both failure types Practice identifying failure classes on a fresh system Tell me the next direction. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Mohammad-Idrees Follow Joined Mar 16, 2023 More from Mohammad-Idrees Thinking in First Principles: How to Question an Async Queue–Based Design # architecture # interview # learning # systemdesign How to Identify System Design Problems from First Principles # architecture # interview # systemdesign # tutorial 🧱 The Blueprint of Success: Mastering the Technical Requirements Document (TRD) # architecture # career # systemdesign 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/mohammadidrees/contrast-sync-vs-async-failure-classes-using-first-principles-d12#failure-class-2-cascading-failure
Contrast sync vs async failure classes using first principles - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Mohammad-Idrees Posted on Jan 13 Contrast sync vs async failure classes using first principles # architecture # computerscience # systemdesign 1. Start from First Principles: What Is a “Failure Class”? A failure class is not: a bug a timeout an outage A failure class is: A category of things that can go wrong because of how responsibility, time, and state are structured So we ask: What must be true for correctness? What assumptions does the model silently make? What breaks when those assumptions are false? 2. Core Difference (One Sentence) Synchronous systems fail by blocking and cascading. Asynchronous systems fail by duplication, reordering, and invisibility. Everything else is a consequence. 3. Synchronous Systems — Failure Classes Definition (First Principles) A synchronous system assumes: “The caller waits while the callee finishes the work.” This couples: time availability correctness Failure Class 1: Blocking Amplification Question asked: What happens while the system waits? Reality: Threads blocked Connections held Memory retained Failure mode: Load increases → latency increases → throughput collapses This is not just “slow.” It is non-linear failure . Failure Class 2: Cascading Failure Question asked: What if a dependency slows down? Because everything is waiting: Agent slows → backend slows Backend slows → frontend retries Retries amplify load Failure mode: One slow dependency can take down the entire system Failure Class 3: Availability Coupling Question asked: Can the system function if the dependency is down? Answer in sync systems: No Failure mode: Partial outage becomes total outage Summary: Sync Failure Classes Category Root Cause Blocking Time is coupled Cascades Dependencies are inline Global outage Availability is transitive 4. Asynchronous Systems — Failure Classes Definition (First Principles) An async system assumes: “Work can finish later, possibly multiple times, possibly out of order.” This decouples time but removes guarantees . Failure Class 1: Duplicate Execution Question asked: What happens if work is retried? Reality: At-least-once delivery Worker crashes Message reprocessed Failure mode: Same logical action happens multiple times This breaks: Exactly-once semantics Idempotency assumptions Failure Class 2: Ordering Violations Question asked: What defines sequence? Reality: Queues don’t know business order Workers process independently Failure mode: Effects appear out of logical order For chat systems: Responses based on future messages Context corruption Failure Class 3: Completion Invisibility Question asked: How does the user know when work is done? Reality: No direct signal Polling or guessing Failure mode: Users wait blindly or see stale state Failure Class 4: Orphaned Work Question asked: What if the user disappears? Reality: Job keeps running Response stored but never consumed Failure mode: Wasted compute, leaked state Summary: Async Failure Classes Category Root Cause Duplication Retries Reordering Decoupled execution Invisibility No direct completion path Orphans Detached lifecycles 5. Side-by-Side Contrast (Mental Model) Dimension Synchronous Asynchronous Time Coupled Decoupled Failure style Blocking, cascades Duplication, disorder Availability All-or-nothing Partial Correctness risk Latency-based Logic-based Debugging Easier Harder 6. Deep Insight (This Is the Interview Gold) Synchronous systems fail loudly and immediately. Asynchronous systems fail quietly and later. Sync failures are obvious (timeouts, errors) Async failures are subtle (double writes, wrong order) 7. Why Neither Is “Better” From first principles: Sync systems protect causality but sacrifice availability Async systems protect availability but sacrifice causality Real systems exist to reintroduce the lost property : Async systems add idempotency, ordering, state machines Sync systems add timeouts, circuit breakers, fallbacks 8. One-Line Rule to Remember Sync breaks under load. Async breaks under ambiguity. If you want next, we can: Map these failure classes to real outages Show how streaming combines both failure types Practice identifying failure classes on a fresh system Tell me the next direction. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Mohammad-Idrees Follow Joined Mar 16, 2023 More from Mohammad-Idrees Thinking in First Principles: How to Question an Async Queue–Based Design # architecture # interview # learning # systemdesign How to Identify System Design Problems from First Principles # architecture # interview # systemdesign # tutorial 🧱 The Blueprint of Success: Mastering the Technical Requirements Document (TRD) # architecture # career # systemdesign 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/beck_moulton/stop-sending-sensitive-data-to-the-cloud-build-a-local-first-mental-health-ai-with-webllm-5100#step-2-creating-the-privacyfirst-chat-hook
Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Beck_Moulton Posted on Jan 13 Stop Sending Sensitive Data to the Cloud: Build a Local-First Mental Health AI with WebLLM # privacy # typescript # webgpu # webllm In an era where data breaches are common, privacy in Edge AI has moved from a "nice-to-have" to a "must-have," especially in sensitive fields like healthcare. If you've ever worried about your private conversations being used to train a massive corporate model, you're not alone. Today, we are exploring the frontier of Privacy-preserving AI by building a medical Q&A bot that runs entirely on the client side. By leveraging WebLLM , WebGPU , and TVM Unity , we can now execute large language models directly in the browser. This means the dialogue never leaves the user's device, providing a truly decentralized and secure experience. For those looking to scale these types of high-performance implementations, I highly recommend checking out the WellAlly Tech Blog for more production-ready patterns on enterprise-grade AI deployment. The Architecture: Why WebGPU? Traditional AI apps send a request to a server (Python/FastAPI), which queries a GPU (NVIDIA A100), and sends a JSON response back. This "Client-Server" model is the privacy killer. Our "Local-First" approach uses WebGPU , the next-gen graphics API for the web, to tap into the user's hardware directly. graph TD subgraph User_Device [User Browser / Device] A[React UI Layer] -->|Dispatch| B[WebLLM Worker] B -->|Request Execution| C[TVM Unity Runtime] C -->|Compute Kernels| D[WebGPU API] D -->|Inference| E[VRAM / GPU Hardware] E -->|Streaming Text| B B -->|State Update| A end F((Public Internet)) -.->|Static Assets & Model Weights| A F -.->|NO PRIVATE DATA SENT| A Enter fullscreen mode Exit fullscreen mode Prerequisites Before we dive in, ensure you have a browser that supports WebGPU (Chrome 113+ or Edge). Framework : React (Vite template) Language : TypeScript AI Engine : @mlc-ai/web-llm Core Tech : WebGPU & TVM Unity Step 1: Initializing the Engine Running an LLM in a browser requires significant memory management. We use a Web Worker to ensure the UI doesn't freeze while the model is "thinking." // engine.ts import { CreateMLCEngine , MLCEngineConfig } from " @mlc-ai/web-llm " ; const modelId = " Llama-3-8B-Instruct-v0.1-q4f16_1-MLC " ; // Lightweight quantized model export async function initializeEngine ( onProgress : ( p : number ) => void ) { const engine = await CreateMLCEngine ( modelId , { initProgressCallback : ( report ) => { onProgress ( Math . round ( report . progress * 100 )); console . log ( report . text ); }, }); return engine ; } Enter fullscreen mode Exit fullscreen mode Step 2: Creating the Privacy-First Chat Hook In a medical context, the system prompt is critical. We need to instruct the model to behave as a supportive assistant while maintaining strict safety boundaries. // useChat.ts import { useState } from ' react ' ; import { initializeEngine } from ' ./engine ' ; export const useChat = () => { const [ engine , setEngine ] = useState < any > ( null ); const [ messages , setMessages ] = useState < { role : string , content : string }[] > ([]); const startConsultation = async () => { const instance = await initializeEngine (( p ) => console . log ( `Loading: ${ p } %` )); setEngine ( instance ); // Set the System Identity for Mental Health await instance . chat . completions . create ({ messages : [{ role : " system " , content : " You are a private, empathetic mental health assistant. Your goal is to listen and provide support. You do not store data. If a user is in danger, provide emergency resources immediately. " }], }); }; const sendMessage = async ( input : string ) => { const newMessages = [... messages , { role : " user " , content : input }]; setMessages ( newMessages ); const reply = await engine . chat . completions . create ({ messages : newMessages , }); setMessages ([... newMessages , reply . choices [ 0 ]. message ]); }; return { messages , sendMessage , startConsultation }; }; Enter fullscreen mode Exit fullscreen mode Step 3: Optimizing for Performance (TVM Unity) The magic behind WebLLM is TVM Unity , which compiles models into highly optimized WebGPU kernels. This allows us to run models like Llama-3 or Mistral at impressive tokens-per-second on a standard Macbook or high-end Windows laptop. If you are dealing with advanced production scenarios—such as model sharding or custom quantization for specific medical datasets—the team at WellAlly Tech has documented extensive guides on optimizing WebAssembly runtimes for maximum throughput. Step 4: Building the React UI A simple, clean interface is best for mental health applications. We want the user to feel calm and secure. // ChatComponent.tsx import React , { useState } from ' react ' ; import { useChat } from ' ./useChat ' ; export const MentalHealthBot = () => { const { messages , sendMessage , startConsultation } = useChat (); const [ input , setInput ] = useState ( "" ); return ( < div className = "p-6 max-w-2xl mx-auto border rounded-xl shadow-lg bg-white" > < h2 className = "text-2xl font-bold mb-4" > Shielded Mind AI 🛡️ </ h2 > < p className = "text-sm text-gray-500 mb-4" > Status: < span className = "text-green-500" > Local Only (Encrypted by Hardware) </ span ></ p > < div className = "h-96 overflow-y-auto mb-4 p-4 bg-gray-50 rounded" > { messages . map (( m , i ) => ( < div key = { i } className = { `mb-2 ${ m . role === ' user ' ? ' text-blue-600 ' : ' text-gray-800 ' } ` } > < strong > { m . role === ' user ' ? ' You: ' : ' AI: ' } </ strong > { m . content } </ div > )) } </ div > < div className = "flex gap-2" > < input className = "flex-1 border p-2 rounded" value = { input } onChange = { ( e ) => setInput ( e . target . value ) } placeholder = "How are you feeling today?" /> < button onClick = { () => { sendMessage ( input ); setInput ( "" ); } } className = "bg-purple-600 text-white px-4 py-2 rounded hover:bg-purple-700" > Send </ button > </ div > < button onClick = { startConsultation } className = "mt-4 text-xs text-gray-400 underline" > Initialize Secure WebGPU Engine </ button > </ div > ); }; Enter fullscreen mode Exit fullscreen mode Challenges & Solutions Model Size : Downloading a 4GB-8GB model to a browser is the biggest hurdle. Solution : Use IndexedDB caching so the user only downloads the model once. VRAM Limits : Mobile devices may struggle with large context windows. Solution : Implement sliding window attention and aggressive 4-bit quantization. Cold Start : The initial "Loading" phase can take time. Solution : Use a skeleton screen and explain that this process ensures their privacy. Conclusion By moving the "brain" of our AI from the cloud to the user's browser, we've created a psychological safe space that is literally impossible for hackers to intercept at the server level. WebLLM and WebGPU are turning browsers into powerful AI engines. Want to dive deeper into Edge AI security , LLM Quantization , or WebGPU performance tuning ? Head over to the WellAlly Tech Blog where we break down the latest advancements in local-first software architecture. What do you think? Would you trust a local-only AI more than ChatGPT for sensitive topics? Let me know in the comments below! 👇 Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Beck_Moulton Follow Joined Aug 22, 2022 More from Beck_Moulton Private & Fast: Building a Browser-Based Dermatology Screener with WebLLM and WebGPU # privacy # ai # web # webdev Federated Learning or Bust: Architecting Privacy-First Health AI # machinelearning # architecture # privacy # devops Why Your Health Data Belongs on Your Device (Not the Cloud): A Local-First Manifesto # architecture # privacy # offlinefirst # database 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:10
https://dev.to/aws-builders/how-i-troubleshoot-an-ec2-instance-in-the-real-world-using-instance-diagnostics-3dk8#main-content
🩺 How I Troubleshoot an EC2 Instance in the Real World (Using Instance Diagnostics) - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Venkata Pavan Vishnu Rachapudi for AWS Community Builders Posted on Jan 12           🩺 How I Troubleshoot an EC2 Instance in the Real World (Using Instance Diagnostics) # aws # ec2 # linux # cloud When an EC2 instance starts misbehaving, my first reaction is not to SSH into it or reboot it. Instead, I open the EC2 console and go straight to Instance Diagnostics . Over time, I’ve realized that most EC2 issues can be understood — and often solved — just by carefully reading what AWS already shows on this page. In this blog, I’ll explain how I use each section of Instance Diagnostics to troubleshoot EC2 issues in a practical, real-world way. The First Question I Answer Before touching anything, I ask myself one simple question: Is this an AWS infrastructure issue, or is it something inside my instance? Instance Diagnostics helps answer this in seconds. Status Overview: Always the Starting Point I always begin with the Status Overview at the top. Instance State This confirms whether the instance is running, stopped, or terminated. If it is not running, there is usually nothing to troubleshoot. System Status Check This reflects the health of the underlying AWS infrastructure such as the physical host and networking. If this check fails, the issue is on the AWS side. In most cases, stopping and starting the instance resolves it by moving the instance to a healthy host. Instance Status Check This check represents the health of the operating system and internal networking. If this fails, the problem is inside the instance — typically related to OS boot issues, kernel problems, firewall rules, or resource exhaustion. EBS Status Check This confirms the health of the attached EBS volumes. If this fails, disk or storage-level issues are likely, and data protection becomes the immediate priority. CloudTrail Events: Tracking Configuration Changes If an issue appears suddenly, the CloudTrail Events tab is where I go next. I use it to confirm: Whether the instance was stopped, started, or rebooted If security groups or network settings were modified Whether IAM roles or instance profiles were changed If volumes were attached or detached This helps quickly identify human or automation-driven changes. SSM Command History: Understanding What Ran on the Instance The SSM Command History tab shows all Systems Manager Run Commands executed on the instance. This is especially useful for identifying: Patch jobs Maintenance scripts Automated remediations Configuration changes If there are no recent commands, that information itself is useful because it confirms that no SSM-driven actions caused the issue. Reachability Analyzer: When the Issue Is Network-Related If the instance is running but not reachable, I open the Reachability Analyzer directly from Instance Diagnostics. This is my go-to tool for diagnosing: Security group issues Network ACL misconfigurations Route table problems Internet gateway or NAT gateway connectivity VPC-to-VPC or on-prem connectivity issues Instead of guessing, Reachability Analyzer visually shows exactly where the network path is blocked. Instance Events: Checking AWS-Initiated Actions The Instance Events tab tells me if AWS has scheduled or performed any actions on the instance. This includes: Scheduled maintenance Host retirement Instance reboot notifications If an issue aligns with one of these events, the root cause becomes immediately clear. Instance Screenshot: When the OS Is Stuck If I cannot connect to the instance at all, I check the Instance Screenshot . This is especially helpful for: Identifying boot failures Detecting kernel panic messages Seeing whether the OS is stuck during startup Even a single screenshot can explain hours of troubleshooting. System Log: Understanding Boot and Kernel Issues The System Log provides low-level OS and kernel messages. I rely on it when: The instance fails to boot properly Services fail during startup Kernel or file system errors are suspected This is one of the best tools for diagnosing OS-level failures without logging in. [[0;32m OK [0m] Reached target [0;1;39mTimer Units[0m. [[0;32m OK [0m] Started [0;1;39mUser Login Management[0m. [[0;32m OK [0m] Started [0;1;39mUnattended Upgrades Shutdown[0m. [[0;32m OK [0m] Started [0;1;39mHostname Service[0m. Starting [0;1;39mAuthorization Manager[0m... [[0;32m OK [0m] Started [0;1;39mAuthorization Manager[0m. [[0;32m OK [0m] Started [0;1;39mThe PHP 8.2 FastCGI Process Manager[0m. [[0;32m OK [0m] Finished [0;1;39mEC2 Instance Connect Host Key Harvesting[0m. Starting [0;1;39mOpenBSD Secure Shell server[0m... [[0;32m OK [0m] Started [0;1;39mOpenBSD Secure Shell server[0m. [[0;32m OK [0m] Started [0;1;39mDispatcher daemon for systemd-networkd[0m. [[0;1;31mFAILED[0m] Failed to start [0;1;39mPostfix Ma… Transport Agent (instance -)[0m. See 'systemctl status postfix@-.service' for details. [[0;32m OK [0m] Started [0;1;39mLSB: AWS CodeDeploy Host Agent[0m. [[0;32m OK [0m] Started [0;1;39mVarnish HTTP accelerator log daemon[0m. [[0;32m OK [0m] Started [0;1;39mSnap Daemon[0m. Starting [0;1;39mTime & Date Service[0m... [ 13.865473] cloud-init[1136]: Cloud-init v. 25.1.4-0ubuntu0~22.04.1 running 'modules:config' at Fri, 05 Dec 2025 01:25:29 +0000. Up 13.71 seconds. Ubuntu 22.04.3 LTS ip-***** ttyS0 ip-****** login: [ 15.070290] cloud-init[1152]: Cloud-init v. 25.1.4-0ubuntu0~22.04.1 running 'modules:final' at Fri, 05 Dec 2025 01:25:30 +0000. Up 14.98 seconds. 2025/12/05 01:25:30Z: Amazon SSM Agent v3.3.2299.0 is running 2025/12/05 01:25:30Z: OsProductName: Ubuntu 2025/12/05 01:25:30Z: OsVersion: 22.04 [ 15.189197] cloud-init[1152]: Cloud-init v. 25.1.4-0ubuntu0~22.04.1 finished at Fri, 05 Dec 2025 01:25:30 +0000. Datasource DataSourceEc2Local. Up 15.16 seconds 2025/12/15 21:35:50Z: Amazon SSM Agent v3.3.3050.0 is running 2025/12/15 21:35:50Z: OsProductName: Ubuntu 2025/12/15 21:35:50Z: OsVersion: 22.04 [1091674.876805] Out of memory: Killed process 465 (java) total-vm:11360104kB, anon-rss:1200164kB, file-rss:3072kB, shmem-rss:0kB, UID:1004 pgtables:2760kB oom_score_adj:0 [1091770.835233] Out of memory: Killed process 349683 (php) total-vm:563380kB, anon-rss:430132kB, file-rss:4096kB, shmem-rss:0kB, UID:0 pgtables:1068kB oom_score_adj:0 [1092018.639252] Out of memory: Killed process 347300 (php-fpm8.2) total-vm:531624kB, anon-rss:193648kB, file-rss:3456kB, shmem-rss:106240kB, UID:33 pgtables:888kB oom_score_adj:0 Enter fullscreen mode Exit fullscreen mode Session Manager: Secure Access Without SSH If Systems Manager is enabled, I prefer using Session Manager to access the instance. This allows me to: Inspect CPU, memory, and disk usage Restart services safely Avoid opening SSH ports or managing key pairs From both a security and operational standpoint, this is my preferred access method. What Experience Has Taught Me Troubleshooting EC2 instances is not about reacting quickly — it is about observing carefully. Instance Diagnostics already provides: Health signals Change history Network analysis OS-level visibility When used correctly, these tools eliminate guesswork and reduce downtime. Final Thoughts My approach to EC2 troubleshooting is simple: Start with Instance Diagnostics. Understand the signals. Act only after the root cause is clear. In most cases, the answer is already visible — we just need to slow down and read it. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse AWS Community Builders Follow Build On! Would you like to become an AWS Community Builder? Learn more about the program and apply to join when applications are open next. Learn more More from AWS Community Builders Explain Basic AI Concepts And Terminologies # aws # ai # aipractitioner # cloud What I Learned Using Specification-Driven Development with Kiro # aws # serverless # kiro 5 Practical Tips for the Terraform Authoring and Operations Professional Exam # terraform # aws 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://forem.com/bogaboga1/odoo-core-and-the-cost-of-reinventing-everything-15n1#odoo-orm
Odoo Core and the Cost of Reinventing Everything - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Boga Posted on Jan 12 Odoo Core and the Cost of Reinventing Everything # python # odoo # qweb # owl Hello, this is my first blog post ever. I’d like to share my experience working with Odoo , an open-source Enterprise Resource Planning (ERP) system, and explain why I believe many of its architectural choices cause unnecessary complexity. Odoo is a single platform that provides many prebuilt modules (mini-applications) that most companies need. For example, almost every company requires a Human Resources system to manage employee details, leaves, attendance, contracts, resignations, and more. Beyond HR, companies also need purchasing, inventory, accounting, authentication, authorization, and other systems. Odoo bundles all of these tightly coupled systems into a single installation. On paper, this sounds great — and from a business perspective, it often is. From a technical perspective , however, things get complicated very quickly. Odoo Core Components Below are the main Odoo components, ranked from least complex to most complex, and all largely developed in-house instead of relying on existing mature frameworks: Odoo HTTP Layer JSON-RPC Website routing Odoo Views XML transformed into Python and JavaScript Odoo ORM Custom inheritance system Query builder Dependency injection Caching layers Cache System Implemented from scratch WebSocket Implementation Very low-level handling Odoo HTTP Layer Odoo is not built on a standard Python web framework like Django or Flask. Instead, it implements its own HTTP framework on top of Werkzeug (a WSGI utility library). This HTTP layer introduces its own abstractions, request lifecycle, routing, and serialization logic, including JSON-RPC and website controllers. While technically impressive, it reinvents many problems that have already been solved — and battle-tested — by existing frameworks. Odoo Views In my opinion, this is one of the most problematic parts of Odoo. Instead of using standard frontend technologies, Odoo relies heavily on XML-based views . These XML files are sent to the browser and then transformed using Abstract Syntax Tree (AST) analysis into JavaScript. In other contexts (like the website), the XML may be converted into Python code and sometimes back into JavaScript again. This creates: High cognitive overhead Difficult debugging Tight coupling between backend and frontend Poor tooling support compared to modern frontend stacks It feels like building a car from raw metal just to drive from point A to point B. Odoo ORM Odoo’s ORM is not a typical ORM. It implements: A custom inheritance system (instead of using Python’s built-in one) Its own dependency injection mechanism A query builder Caching layers (LRU) Model extension via monkey-patching While powerful, this system is extremely complex and hard to reason about. Debugging model behavior often feels like navigating invisible layers of magic. WebSocket Implementation Instead of using a mature real-time framework, Odoo implements its WebSocket handling with very low-level logic, sometimes in surprisingly small and dense files. A single comment from the codebase summarizes this approach better than words ever could: The “Odoo Is Old” Argument A common defense of Odoo’s architecture is that “it’s an old system” — originally developed around 2005 using Python 2. However, this argument no longer holds. Odoo was largely rewritten from scratch around 2017 to support Python 3. At that time, many excellent frameworks already existed and had solved the same problems more cleanly, while continuing to evolve without breaking their ecosystems. Today, even small changes in Odoo’s core can break custom modules unless they are limited to simple CRUD models with minimal dependencies on core behavior. Final Thoughts Odoo is a powerful product and a successful business platform. But from a software engineering perspective, many of its design decisions prioritize control and internal consistency over maintainability, clarity, and developer experience . If you work with Odoo long enough, you stop asking “why does it work this way?” and start asking “how do I survive this upgrade?” Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Boga Follow Senior Software Engineer Joined Jan 12, 2026 Trending on DEV Community Hot 🧱 Beginner-Friendly Guide 'Maximal Rectangle' – LeetCode 85 (C++, Python, JavaScript) # programming # cpp # python # javascript The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/t/beginners/page/7#for-questions
Beginners Page 7 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Beginners Follow Hide "A journey of a thousand miles begins with a single step." -Chinese Proverb Create Post submission guidelines UPDATED AUGUST 2, 2019 This tag is dedicated to beginners to programming, development, networking, or to a particular language. Everything should be geared towards that! For Questions... Consider using this tag along with #help, if... You are new to a language, or to programming in general, You want an explanation with NO prerequisite knowledge required. You want insight from more experienced developers. Please do not use this tag if you are merely new to a tool, library, or framework. See also, #explainlikeimfive For Articles... Posts should be specifically geared towards true beginners (experience level 0-2 out of 10). Posts should require NO prerequisite knowledge, except perhaps general (language-agnostic) essentials of programming. Posts should NOT merely be for beginners to a tool, library, or framework. If your article does not meet these qualifications, please select a different tag. Promotional Rules Posts should NOT primarily promote an external work. This is what Listings is for. Otherwise accepable posts MAY include a brief (1-2 sentence) plug for another resource at the bottom. Resource lists ARE acceptable if they follow these rules: Include at least 3 distinct authors/creators. Clearly indicate which resources are FREE, which require PII, and which cost money. Do not use personal affiliate links to monetize. Indicate at the top that the article contains promotional links. about #beginners If you're writing for this tag, we recommend you read this article . If you're asking a question, read this article . Older #beginners posts 4 5 6 7 8 9 10 11 12 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu You Know Python Basics—Now Let's Build Something Real Samuel Ochaba Samuel Ochaba Samuel Ochaba Follow Jan 8 You Know Python Basics—Now Let's Build Something Real # python # beginners # gamedev # programming Comments Add Comment 3 min read Understanding if, elif, and else in Python with Simple Examples Shahrouz Nikseresht Shahrouz Nikseresht Shahrouz Nikseresht Follow Jan 8 Understanding if, elif, and else in Python with Simple Examples # python # beginners # tutorial # programming Comments Add Comment 2 min read Build Your Own Local AI Agent (Part 4): The PII Scrubber 🧼 Harish Kotra (he/him) Harish Kotra (he/him) Harish Kotra (he/him) Follow Jan 8 Build Your Own Local AI Agent (Part 4): The PII Scrubber 🧼 # programming # ai # beginners # opensource Comments Add Comment 1 min read I finally Deployed on AWS Olamide Olanrewaju Olamide Olanrewaju Olamide Olanrewaju Follow Jan 8 I finally Deployed on AWS # aws # beginners # devjournal Comments Add Comment 3 min read System Design Intro #Day-1 VINAY TEJA ARUKALA VINAY TEJA ARUKALA VINAY TEJA ARUKALA Follow Jan 9 System Design Intro #Day-1 # systemdesign # beginners # computerscience # interview Comments Add Comment 2 min read Day 12: Understanding Constructors in Java Karthick Narayanan Karthick Narayanan Karthick Narayanan Follow Jan 8 Day 12: Understanding Constructors in Java # java # programming # beginners # tutorial Comments Add Comment 2 min read 7 Essential Rust Libraries for Building High-Performance Backends James Miller James Miller James Miller Follow Jan 8 7 Essential Rust Libraries for Building High-Performance Backends # rust # programming # webdev # beginners 1  reaction Comments Add Comment 6 min read Day 11: Understanding `break` and `continue` Statements in Java Karthick Narayanan Karthick Narayanan Karthick Narayanan Follow Jan 8 Day 11: Understanding `break` and `continue` Statements in Java # beginners # java # programming # tutorial Comments Add Comment 2 min read Introdução ao Deploy Yuri Peixinho Yuri Peixinho Yuri Peixinho Follow Jan 8 Introdução ao Deploy # beginners # devops # webdev Comments Add Comment 2 min read Scrapy Cookie Handling: Master Sessions Like a Pro Muhammad Ikramullah Khan Muhammad Ikramullah Khan Muhammad Ikramullah Khan Follow Jan 8 Scrapy Cookie Handling: Master Sessions Like a Pro # webdev # programming # python # beginners Comments Add Comment 7 min read Gear Up for React: Mastering the Modern Frontend Toolkit! (Day 3 – Pre-React Article 3) Vasu Ghanta Vasu Ghanta Vasu Ghanta Follow Jan 8 Gear Up for React: Mastering the Modern Frontend Toolkit! (Day 3 – Pre-React Article 3) # webdev # frontend # react # beginners Comments Add Comment 7 min read Day 9 of 100 Palak Hirave Palak Hirave Palak Hirave Follow Jan 8 Day 9 of 100 # challenge # programming # python # beginners Comments Add Comment 2 min read Why Version Control Exists: The Pendrive Problem Debashis Das Debashis Das Debashis Das Follow Jan 8 Why Version Control Exists: The Pendrive Problem # beginners # git # softwaredevelopment Comments Add Comment 3 min read System Design 101: A Clear & Simple Introduction (With a Real-World Analogy) Vishwark Vishwark Vishwark Follow Jan 8 System Design 101: A Clear & Simple Introduction (With a Real-World Analogy) # systemdesign # architecture # beginners # careerdevelopment Comments Add Comment 3 min read Learning the Foliage Tool in Unreal Engine (Day 13) Dinesh Dinesh Dinesh Follow Jan 8 Learning the Foliage Tool in Unreal Engine (Day 13) # gamedev # unrealengine # beginners # learning Comments Add Comment 2 min read Boot Process & Init Systems Shivakumar Shivakumar Shivakumar Follow Jan 8 Boot Process & Init Systems # architecture # beginners # linux Comments Add Comment 6 min read You Probably Already Know What a Monad Is Christian Ekrem Christian Ekrem Christian Ekrem Follow Jan 8 You Probably Already Know What a Monad Is # programming # frontend # functional # beginners Comments Add Comment 1 min read Course Launch: Writing Is an Important Part of Coding Prasoon Jadon Prasoon Jadon Prasoon Jadon Follow Jan 8 Course Launch: Writing Is an Important Part of Coding # programming # learning # tutorial # beginners 1  reaction Comments Add Comment 2 min read I built a permanent text wall with Next.js and Supabase. Users are already fighting. ZenomHunter123 ZenomHunter123 ZenomHunter123 Follow Jan 8 I built a permanent text wall with Next.js and Supabase. Users are already fighting. # showdev # javascript # webdev # beginners Comments Add Comment 1 min read 🎬 Build a Relax Video Generator (Images + MP3 MP4) with Python & Tkinter Mate Technologies Mate Technologies Mate Technologies Follow Jan 11 🎬 Build a Relax Video Generator (Images + MP3 MP4) with Python & Tkinter # python # desktopapp # automation # beginners 1  reaction Comments Add Comment 3 min read Code Hike in 100 Seconds Fabian Frank Werner Fabian Frank Werner Fabian Frank Werner Follow Jan 11 Code Hike in 100 Seconds # webdev # programming # javascript # beginners 12  reactions Comments Add Comment 2 min read Sliding window (Fixed length) Jayaprasanna Roddam Jayaprasanna Roddam Jayaprasanna Roddam Follow Jan 6 Sliding window (Fixed length) # programming # beginners # tutorial # learning Comments Add Comment 2 min read How To Replace Over-Complicated NgRx Stores With Angular Signals — Without Losing Control kafeel ahmad kafeel ahmad kafeel ahmad Follow Jan 7 How To Replace Over-Complicated NgRx Stores With Angular Signals — Without Losing Control # webdev # javascript # beginners # angular Comments Add Comment 27 min read AI Automation vs AI Agents: What’s the Real Difference (Explained with Real-Life Examples) Viveka Sharma Viveka Sharma Viveka Sharma Follow Jan 8 AI Automation vs AI Agents: What’s the Real Difference (Explained with Real-Life Examples) # agents # tutorial # beginners # ai 1  reaction Comments 1  comment 3 min read Why I rescheduled my AWS exam today Ali-Funk Ali-Funk Ali-Funk Follow Jan 7 Why I rescheduled my AWS exam today # aws # beginners # cloud # career Comments Add Comment 2 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://forem.com/bogaboga1/odoo-core-and-the-cost-of-reinventing-everything-15n1#odoo-http-layer
Odoo Core and the Cost of Reinventing Everything - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Boga Posted on Jan 12 Odoo Core and the Cost of Reinventing Everything # python # odoo # qweb # owl Hello, this is my first blog post ever. I’d like to share my experience working with Odoo , an open-source Enterprise Resource Planning (ERP) system, and explain why I believe many of its architectural choices cause unnecessary complexity. Odoo is a single platform that provides many prebuilt modules (mini-applications) that most companies need. For example, almost every company requires a Human Resources system to manage employee details, leaves, attendance, contracts, resignations, and more. Beyond HR, companies also need purchasing, inventory, accounting, authentication, authorization, and other systems. Odoo bundles all of these tightly coupled systems into a single installation. On paper, this sounds great — and from a business perspective, it often is. From a technical perspective , however, things get complicated very quickly. Odoo Core Components Below are the main Odoo components, ranked from least complex to most complex, and all largely developed in-house instead of relying on existing mature frameworks: Odoo HTTP Layer JSON-RPC Website routing Odoo Views XML transformed into Python and JavaScript Odoo ORM Custom inheritance system Query builder Dependency injection Caching layers Cache System Implemented from scratch WebSocket Implementation Very low-level handling Odoo HTTP Layer Odoo is not built on a standard Python web framework like Django or Flask. Instead, it implements its own HTTP framework on top of Werkzeug (a WSGI utility library). This HTTP layer introduces its own abstractions, request lifecycle, routing, and serialization logic, including JSON-RPC and website controllers. While technically impressive, it reinvents many problems that have already been solved — and battle-tested — by existing frameworks. Odoo Views In my opinion, this is one of the most problematic parts of Odoo. Instead of using standard frontend technologies, Odoo relies heavily on XML-based views . These XML files are sent to the browser and then transformed using Abstract Syntax Tree (AST) analysis into JavaScript. In other contexts (like the website), the XML may be converted into Python code and sometimes back into JavaScript again. This creates: High cognitive overhead Difficult debugging Tight coupling between backend and frontend Poor tooling support compared to modern frontend stacks It feels like building a car from raw metal just to drive from point A to point B. Odoo ORM Odoo’s ORM is not a typical ORM. It implements: A custom inheritance system (instead of using Python’s built-in one) Its own dependency injection mechanism A query builder Caching layers (LRU) Model extension via monkey-patching While powerful, this system is extremely complex and hard to reason about. Debugging model behavior often feels like navigating invisible layers of magic. WebSocket Implementation Instead of using a mature real-time framework, Odoo implements its WebSocket handling with very low-level logic, sometimes in surprisingly small and dense files. A single comment from the codebase summarizes this approach better than words ever could: The “Odoo Is Old” Argument A common defense of Odoo’s architecture is that “it’s an old system” — originally developed around 2005 using Python 2. However, this argument no longer holds. Odoo was largely rewritten from scratch around 2017 to support Python 3. At that time, many excellent frameworks already existed and had solved the same problems more cleanly, while continuing to evolve without breaking their ecosystems. Today, even small changes in Odoo’s core can break custom modules unless they are limited to simple CRUD models with minimal dependencies on core behavior. Final Thoughts Odoo is a powerful product and a successful business platform. But from a software engineering perspective, many of its design decisions prioritize control and internal consistency over maintainability, clarity, and developer experience . If you work with Odoo long enough, you stop asking “why does it work this way?” and start asking “how do I survive this upgrade?” Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Boga Follow Senior Software Engineer Joined Jan 12, 2026 Trending on DEV Community Hot 🧱 Beginner-Friendly Guide 'Maximal Rectangle' – LeetCode 85 (C++, Python, JavaScript) # programming # cpp # python # javascript The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/eachampagne/garbage-collection-43nk#tracing
Garbage Collection - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse eachampagne Posted on Nov 17, 2025 • Edited on Dec 6, 2025           Garbage Collection # computerscience # performance # programming It’s easy to forget, while working in the abstract in terms of functions and algorithms, that the memory our programs depend on is real . The values we use in our programs actually exist on the hardware at specific addresses. If we don’t keep track of where we’ve stored data, we run the risk of overwriting something important and getting the wrong information when we go to look it up again. On the other hand, if we’re too guarded about protecting our data, even after we’re finished with it, we waste memory that the program could better use on other tasks. Most programming languages today implement garbage collection to automate periodically releasing memory we no longer need. The garbage collector cannot predict exactly which values will be used again by our program, but it can find some that cannot due to no longer having any way to use them, and safely free them. Garbage Collection Algorithms Reference Counting The simplest algorithm is just to keep a count of references to a piece of memory. If the number of references ever reaches zero, that memory can no longer be reached and can be safely disposed of. However, this strategy fails with circular references. If two objects, for example, reference each other, their reference counts with never reach zero, even if they are otherwise inaccessible from the main program. Tracing Tracing (usually mark-and-sweep), is a more sophisticated approach to memory management. Starting from some defined root(s), the garbage collector visits every piece of memory accessible from either the root or its descendants, marking that memory as still reachable. Any memory not traversed is unreachable and is garbage collected. This avoids the problem of circular references “trapping” memory, since the cycle will not be reached from the main memory graph. However, this approach has more overhead than the reference counting strategy. Many garbage collectors reduce the overhead of mark-and-search by having two (or more) “generations” of allocations. The generational hypothesis states that most allocations die young (think how many variables you use once in a for loop and never again), but those that survive are much more likely to survive a long time. Thus, the pool of young allocations (the “nursery”) is garbage collected frequently, while the old (“tenured”) pool is checked less often. It’s possible to combine both strategies in a hybrid collector. For example, Python uses reference counting as its primary algorithm, then uses a mark-and-sweep pass over the (now smaller) pool of allocated memory to find and eliminate circular references. The Downsides of Garbage Collection Of course, the garbage collector itself introduces some overhead. Depending on the implementation, it may bring the program to a halt while it scans and frees data or defragments the remaining memory. It is also impossible to create a perfectly efficient garbage collector due to the inherent uncertainty in which values will be used again. Other Approaches to Memory Management There are alternatives to garbage collection. A few languages, such as C and C++, require the programmer to manage memory manually (although you can add garbage collectors to both languages yourself if you wish), both while allocating memory to new variables and when deciding when to free memory. Manual memory management avoids the overhead of garbage collection, but adds to program complexity, since this now must be handled by the code itself rather than happening in the background. This also gives the programmer many opportunities to make mistakes , from creating floating pointers by freeing too soon to leaking memory by freeing too late or not at all, to say nothing of the difficulty of using pointers themselves. Rust takes a third option and introduces the concept of “ ownership ” – only one variable can own a piece of data at a time, and that data is released as soon as its owner goes out of scope. This eliminates the need for garbage collection at runtime, as well with its associated performance costs. However, the programmer has to keep track of ownership and borrowing of data, which limits how data can be read or changed at certain points of the program. This requires thinking in a different way from other languages, since some familiar patterns simply won’t compile, and increases Rust’s learning curve sharply. Garbage Collection in JavaScript JavaScript follows the majority of programming languages in using a garbage collector. However, the garbage collector itself is implemented and run by the JavaScript engine, not the script we write ourselves, so implementation varies slightly across engines. However, the general principles are the same. Modern JavaScript libraries all use a mark-and-sweep algorithm with the global object as the algorithm’s root. Since I regularly use Firefox and Node, I’ll look at their engines in a bit more detail. SpiderMonkey , the engine used by Firefox, applies the principle of generational collection, dividing allocations into young and old. It attempts to garbage collect incrementally to avoid long pauses, and runs parts of garbage collection in parallel with itself or concurrently with the main thread when possible. The V8 engine’s Orinoco garbage collector , has three generations: nursery, young, and old, and claims (as of 2019) to be a “mostly parallel and concurrent collector with incremental fallback.” V8 also brags about interweaving garbage collection into the idle time between drawing frames when possible, minimizing the time spent forcing JavaScript execution to pause. Based only on these descriptions, V8’s garbage collector seems a bit more advanced, perhaps because V8 used by Chromium-based browsers in addition to Node.js and thus has more support. However, they seem to have independently converged to similar architectures. The serious demands to provide a smooth user experience means that browser-based garbage collectors must be efficient and eliminate as much overhead as possible, because, as the Node guide to tracing garbage collection neatly summarizes, “ when GC is running, your code is not. ” I admit I’ve rather taken memory management for granted, since most of the languages I’ve studied have garbage collectors. I’ve been fascinated by Rust for years but haven’t managed to wrap my head around its ownership and borrowing rules. (Maybe this is the time it will finally click for me.) But if I struggle with memory management when the compiler itself is looking out for me, I’m not sure how I’d fare in a manual memory management scheme without guardrails. So for now, I’m very grateful to garbage collectors everywhere for making my life easier. The Memory Management Reference was invaluable while researching this blog post, in addition to many other engine- and language-specific references (linked throughout the text). Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse eachampagne Follow Joined Sep 5, 2025 More from eachampagne Parallelization # beginners # performance # programming # computerscience 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/t/productivity/page/1271
Productivity Page 1271 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Productivity Follow Hide Productivity includes tips on how to use tools and software, process optimization, useful references, experience, and mindstate optimization. Create Post submission guidelines Please check if your article contains information or discussion bases about productivity. From posts with the tag #productivity we expect tips on how to use tools and software, process optimization, useful references, experience, and mindstate optimization. Productivity is a very broad term with many aspects and topics. From the color design of the office to personal rituals, anything can contribute to increase / optimize your own productivity or that of a team. about #productivity Does my article fit the tag? It depends! Productivity is a very broad term with many aspects and topics. From the color design of the office to personal rituals, anything can contribute to increase / optimize your own productivity or that of a team. Older #productivity posts 1268 1269 1270 1271 1272 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/flo152121063061/i-tried-to-capture-system-audio-in-the-browser-heres-what-i-learned-1f99#the-good-news
I tried to capture system audio in the browser. Here's what I learned. - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Flo Posted on Jan 12           I tried to capture system audio in the browser. Here's what I learned. # webdev # javascript # learning # api I'm building LiveSuggest, a real-time AI assistant that listens to your meetings and gives you suggestions as you talk. Simple idea, right? Turns out, capturing audio from a browser tab is... complicated. The good news Chrome and Edge support it. You use getDisplayMedia , the same API for screen sharing, but with an audio option: const stream = await navigator . mediaDevices . getDisplayMedia ({ video : true , audio : { systemAudio : ' include ' } }); Enter fullscreen mode Exit fullscreen mode The user picks a tab to share, checks "Share tab audio", and boom — you get the audio stream. Works great for Zoom, Teams, Meet, whatever runs in a browser tab. The bad news Firefox? Implements getDisplayMedia but completely ignores the audio part. No error, no warning. You just... don't get audio. Safari? Same story. The API exists, audio doesn't. Mobile browsers? None of them support it. iOS, Android, doesn't matter. So if you're building something that needs system audio, you're looking at Chrome/Edge desktop only. That's maybe 60-65% of your potential users. What I ended up doing I detect the browser upfront and show a clear message: "Firefox doesn't support system audio capture for meetings. Use Chrome or Edge for this feature. Microphone capture is still available." No tricks, no workarounds. Just honesty. Users appreciate knowing why something doesn't work rather than wondering if they did something wrong. For Firefox/Safari users, the app falls back to microphone-only mode. It's not ideal for capturing both sides of a conversation, but it's better than nothing. The annoying details A few things that wasted my time so they don't waste yours: You have to request video. Even if you only want audio. video: true is mandatory. I immediately stop the video track after getting the stream, but you can't skip it. The "Share tab audio" checkbox is easy to miss. Chrome shows it in the sharing dialog, but it's not checked by default. If your user doesn't check it, you get a stream with zero audio tracks. No error, just silence. The stream can die anytime. User clicks "Stop sharing" in Chrome's toolbar? Your stream ends. You need to listen for the ended event and handle it gracefully. Was it worth it? Absolutely. For the browsers that support it, capturing tab audio is a game-changer. You can build things that weren't possible before — meeting assistants, live translators, accessibility tools. Just go in knowing that you'll spend time on browser detection and fallbacks. That's the web in 2025. If you're curious about what I built, check out LiveSuggest . And if you've found better workarounds for Firefox/Safari, I'd love to hear about them in the comments. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Flo Follow Joined Jan 12, 2026 Trending on DEV Community Hot What was your win this week??? # weeklyretro # discuss AI should not be in Code Editors # programming # ai # productivity # discuss The First Week at a Startup Taught Me More Than I Expected # startup # beginners # career # learning 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/alexsergey/css-modules-vs-css-in-js-who-wins-3n25#approaches-overview
CSS Modules vs CSS-in-JS. Who wins? - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sergey Posted on Mar 11, 2021           CSS Modules vs CSS-in-JS. Who wins? # webdev # css # javascript # react Introduction In modern React application development, there are many approaches to organizing application styles. One of the popular ways of such an organization is the CSS-in-JS approach (in the article we will use styled-components as the most popular solution) and CSS Modules. In this article, we will try to answer the question: which is better CSS-in-JS or CSS Modules ? So let's get back to basics. When a web page was primarily set for storing textual documentation and didn't include user interactions, properties were introduced to style the content. Over time, the web became more and more popular, sites got bigger, and it became necessary to reuse styles. For these purposes, CSS was invented. Cascading Style Sheets. Cascading plays a very important role in this name. We write styles that lay like a waterfall over the hollows of our document, filling it with colors and highlighting important elements. Time passed, the web became more and more complex, and we are facing the fact that the styles cascade turned into a problem for us. Distributed teams, working on their parts of the system, combining them into reusable modules, assemble an application from pieces, like Dr. Frankenstein, stitching styles into one large canvas, can get the sudden result... Due to the cascade, the styles of module 1 can affect the display of module 3, and module 4 can make changes to the global styles and change the entire display of the application in general. Developers have started to think of solving this problem. Style naming conventions were created to avoid overlaps, such as Yandex's BEM or Atomic CSS. The idea is clear, we operate with names in order to get predictability, but at the same time to prevent repetitions. These approaches were crashed of the rocks of the human factor. Anyway, we have no guarantee that the developer from team A won't use the name from team C. The naming problem can only be solved by assigning a random name to the CSS class. Thus, we get a completely independent CSS set of styles that will be applied to a specific HTML block and we understand for sure that the rest of the system won't be affected in any way. And then 2 approaches came onto the stage to organize our CSS: CSS Modules and CSS-in-JS . Under the hood, having a different technical implementation, and in fact solving the problem of atomicity, reusability, and avoiding side effects when writing CSS. Technically, CSS Modules transforms style names using a hash-based on the filename, path, style name. Styled-components handles styles in JS runtime, adding them as they go to the head HTML section (<head>). Approaches overview Let's see which approach is more optimal for writing a modern web application! Let's imagine we have a basic React application: import React , { Component } from ' react ' ; import ' ./App.css ' ; class App extends Component { render () { return ( < div className = "title" > React application title </ div > ); } } Enter fullscreen mode Exit fullscreen mode CSS styles of this application: .title { padding : 20px ; background-color : #222 ; text-align : center ; color : white ; font-size : 1.5em ; } Enter fullscreen mode Exit fullscreen mode The dependencies are React 16.14 , react-dom 16.14 Let's try to build this application using webpack using all production optimizations. we've got uglified JS - 129kb separated and minified CSS - 133 bytes The same code in CSS Modules will look like this: import React , { Component } from ' react ' ; import styles from ' ./App.module.css ' ; class App extends Component { render () { return ( < div className = { styles . title } > React application title </ div > ); } } Enter fullscreen mode Exit fullscreen mode uglified JS - 129kb separated and minified CSS - 151 bytes The CSS Modules version will take up a couple of bytes more due to the impossibility of compressing the long generated CSS names. Finally, let's rewrite the same code under styled-components: import React , { Component } from ' react ' ; import styles from ' styled-components ' ; const Title = styles . h1 ` padding: 20px; background-color: #222; text-align: center; color: white; font-size: 1.5em; ` ; class App extends Component { render () { return ( < Title > React application title </ Title > ); } } Enter fullscreen mode Exit fullscreen mode uglified JS - 163kb CSS file is missing The more than 30kb difference between CSS Modules and CSS-in-JS (styled-components) is due to styled-components adding extra code to add styles to the <head> part of the HTML document. In this synthetic test, the CSS Modules approach wins, since the build system doesn't add something extra to implement it, except for the changed class name. Styled-components due to technical implementation, adds dependency as well as code for runtime handling and styling of <head>. Now let's take a quick look at the pros and cons of CSS-in-JS / CSS Modules. Pros and cons CSS-in-JS cons The browser won't start interpreting the styles until styled-components has parsed them and added them to the DOM, which slows down rendering. The absence of CSS files means that you cannot cache separate CSS. One of the key downsides is that most libraries don't support this approach and we still can't get rid of CSS. All native JS and jQuery plugins are written without using this approach. Not all React solutions use it. Styles integration problems. When a markup developer prepares a layout for a JS developer, we may forget to transfer something; there will also be difficulty in synchronizing a new version of layout and JS code. We can't use CSS utilities: SCSS, Less, Postcss, stylelint, etc. pros Styles can use JS logic. This reminds me of Expression in IE6, when we could wrap some logic in our styles (Hello, CSS Expressions :) ). const Title = styles . h1 ` padding: 20px; background-color: #222; text-align: center; color: white; font-size: 1.5em; ${ props => props . secondary && css ` background-color: #fff; color: #000; padding: 10px; font-size: 1em; ` } ` ; Enter fullscreen mode Exit fullscreen mode When developing small modules, it simplifies the connection to the project, since you only need to connect the one independent JS file. It is semantically nicer to use <Title> in a React component than <h1 className={style.title}>. CSS Modules cons To describe global styles, you must use a syntax that does not belong to the CSS specification. :global ( .myclass ) { text-decoration : underline ; } Enter fullscreen mode Exit fullscreen mode Integrating into a project, you need to include styles. Working with typescript, you need to automatically or manually generate interfaces. For these purposes, I use webpack loader: @teamsupercell/typings-for-css-modules-loader pros We work with regular CSS, it makes it possible to use SCSS, Less, Postcss, stylelint, and more. Also, you don't waste time on adapting the CSS to JS. No integration of styles into the code, clean code as result. Almost 100% standardized except for global styles. Conclusion So the fundamental problem with the CSS-in-JS approach is that it's not CSS! This kind of code is harder to maintain if you have a defined person in your team working on markup. Such code will be slower, due to the fact that the CSS rendered into the file is processed in parallel, and the CSS-in-JS cannot be rendered into a separate CSS file. And the last fundamental flaw is the inability to use ready-made approaches and utilities, such as SCSS, Less and Stylelint, and so on. On the other hand, the CSS-in-JS approach can be a good solution for the Frontend team who deals with both markup and JS, and develops all components from scratch. Also, CSS-in-JS will be useful for modules that integrate into other applications. In my personal opinion, the issue of CSS cascading is overrated. If we are developing a small application or site, with one team, then we are unlikely to encounter a name collision or the difficulty of reusing components. If you faced with this problem, I recommend considering CSS Modules, as, in my opinion, this is a more optimal solution for the above factors. In any case, whatever you choose, write meaningful code and don't get fooled by the hype. Hype will pass, and we all have to live with it. Have great and interesting projects, dear readers! Top comments (30) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   dastasoft dastasoft dastasoft Follow Senior Software Engineer Work Senior Software Engineer Joined Feb 17, 2020 • Mar 12 '21 Dropdown menu Copy link Hide One pro of CSS, the hot reload is instant when you just change CSS, with CSS in JS the project is recompiled. For CSS-in-JS I find easier to reuse that code in a React Native project. My personal conclusion is that we are constantly trying to avoid CSS but at the end of the day, CSS will stay here forever. Great article btw! Like comment: Like comment: 25  likes Like Comment button Reply Collapse Expand   GreggHume GreggHume GreggHume Follow A developer who works with and on some of the worlds leading brands. My company is called Cold Brew Studios, see you out there :) Joined Mar 10, 2021 • Mar 9 '22 • Edited on Mar 9 • Edited Dropdown menu Copy link Hide I ran into issues with css modules that styled components seemed to solve. But i ran into issues with styled components that I wouldn't have had with plain scss. So some things to think about: Styled components is a lot more overhead because all the styled components need to be complied into stylesheets and mounted to the head by javascript which is a blocking language. On SSR styled components get compiled into a ServerStyleSheet that then hydrate the react dom tree in the browser via the context api. So even then the mounting of styles only happens in the browser but the parsing of styles happens on the server - that is still a performance penalty and will slow down the page load. In some cases I had no issues with styled components but as my site grew and in complex cases I couldn't help but feel like it was slower, or didn't load as smoothly... and in a world where every second matters, this was a problem for me. Here is an article doing benchmarks on CSS vs CSS in JS: pustelto.com/blog/css-vs-css-in-js... I use nextjs, it is a pity they do not support component level css and we are forced to use css modules or styled components... where as with Nuxt component level scss is part of the package and you have the option on how you want the sites css to bundled - all in one file, split into their own files and some other nifty options. I hope nextjs sharped up on this. Like comment: Like comment: 3  likes Like Comment button Reply Collapse Expand   Nwanguma Victor Nwanguma Victor Nwanguma Victor Follow 🕊 Location Lagos, Nigeria Work Software Developer Joined Feb 18, 2021 • Jun 22 '22 • Edited on Jun 22 • Edited Dropdown menu Copy link Hide A big tip that might help. Why not use SCSS and unique classNames: For example create a unique container className (name of the component) and nest all the other classNames under that unique container className. .home-page-guest { .nav {} .main {} .footer {} } Enter fullscreen mode Exit fullscreen mode < div className = " home-page-guest " > < div className = " nav " /> < div className = " main " /> < div className = " footer " /> < /div > Enter fullscreen mode Exit fullscreen mode Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide I bet you did Greg Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Hank Queston Hank Queston Hank Queston Follow Work CTO at Bonfire Joined May 25, 2021 • May 25 '21 Dropdown menu Copy link Hide I agreed, CSS Modules make a lot more sense to me over Styled Components, always have! Like comment: Like comment: 7  likes Like Comment button Reply Collapse Expand   Comment deleted Collapse Expand   Alien Padilla Rodriguez Alien Padilla Rodriguez Alien Padilla Rodriguez Follow Joined Jan 24, 2022 • Apr 23 '22 Dropdown menu Copy link Hide @Petar Kokev If something I learned from this years of working with React and other projects is that the correct library for project isn't the correct library for another. So the mos important think that we need to do is select the tools, libraries and technologies that fit better to the current project. In this case you can't use Styled-components on sites that require a good SEO, becouse the mos important think here is the SEO and you cant sacrify it. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   thedev1232 thedev1232 thedev1232 Follow tech enthusiast - code to the nuts Location sanjose Work Senior dev Manager at self Joined Oct 26, 2020 • Mar 31 '22 Dropdown menu Copy link Hide How about having to deal with libraries like Material UI with next js? I have an issue to decide whether to use just makeStyles function or should we use styled components? My main concern is code longevity and maintenance without any issues Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Will Farley Will Farley Will Farley Follow Joined Jan 24, 2022 • Jan 24 '22 Dropdown menu Copy link Hide My big issues with styled components is they are deeply coupled with your code. I've opted to use emotion's css utility exclusively and instructed my team to avoid using any of the styled component features. We've loved it but this was a few years ago. For newer projects I'm going with the css modules design. Also why does anyone care about sass anymore? With css variables and the css nesting module in the specification, you get the best parts of sass with vanilla css. The other features are just overkill for a css-module that should represent a single react component and thus nothing :global . Complicated sass directives and stuff are just overkill. Turn it into a react component and don't make any crazy css systems. Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Nwanguma Victor Nwanguma Victor Nwanguma Victor Follow 🕊 Location Lagos, Nigeria Work Software Developer Joined Feb 18, 2021 • Mar 23 '22 Dropdown menu Copy link Hide Same I was trying to revamp my personal site, I discovered that I would have to rewrite alot of things, and then I later gave up. I would advice css modules are the way to go, and it greatly helps with SEO. And in teams using SC, naming becomes an issue because some people don't know how to name components and you have to scroll around, just to check if a component is a h1 tag 🤮 CACHEing I can't stress this enough, for enterprise in-house apps it doesn't really matter, but for everyday consumer-essentric apps CACHEing should not be overlooked Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide Matty Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Will Farley Will Farley Will Farley Follow Joined Jan 24, 2022 • Jan 24 '22 Dropdown menu Copy link Hide You can still have a top-level css file that isn't a css module for global stuff Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Petar Kolev Petar Kolev Petar Kolev Follow Senior Software Engineer with React && TypeScript Location Bulgaria Work Senior Software Engineer @ alkem.io Joined Nov 27, 2019 • Sep 10 '21 Dropdown menu Copy link Hide It is not true that with styled-components one can't use scss syntax, etc. styled-components supports it. Like comment: Like comment: 6  likes Like Comment button Reply Collapse Expand   Eduard Eduard Eduard Follow Taxation is robbery Joined Oct 25, 2019 • Mar 28 '21 Dropdown menu Copy link Hide How about css-in-js frameworks like material-ua, chakra-ui and others? In my opinion, they dramatically speed up development. Like comment: Like comment: 5  likes Like Comment button Reply Collapse Expand   Alien Padilla Rodriguez Alien Padilla Rodriguez Alien Padilla Rodriguez Follow Joined Jan 24, 2022 • Apr 23 '22 Dropdown menu Copy link Hide In my personal opinion I see Styled Components more for a Single Page Aplications where the SEO isn't important and is unecessary to cache css files. In the case of static web site or a site that must have a good SEO the Module-Css is better. @greggcbs My recomendation is to use code splitting if you have problem with the performans when you use Styled-Components in your project, in order to avoid brign all code in the first load of the site. Good article @sergey Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide Hi Jess Rodriguez celly Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Gass Gass Gass Follow hi there 👋 Email g.szada@gmail.com Location Budapest, Hungary Education engineering Work software developer @ itemis Joined Dec 25, 2021 • Apr 25 '22 • Edited on Apr 25 • Edited Dropdown menu Copy link Hide Good post. I've been using CSS modules for a short time now and I like it. Allows everything to be nicely compartmentalized. I also like that it gives more freedom to name classes in smaller chunks of CSS code. Instead of using it like so: {styles.my_class} I preffer {s.my_class} makes the code looks nicer and more concise. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Mario Iliev Mario Iliev Mario Iliev Follow Joined Jun 14, 2023 • Jun 14 '23 Dropdown menu Copy link Hide I'm sorry but it seems that you don't have much experience with Styled Components. "And the last fundamental flaw is the inability to use ready-made approaches and utilities, such as SCSS, Less and Stylelint, and so on." Not a single thing here is true. SCSS is the original syntax of the package, you can use Stylelint as well. There are a lot more "pros" which are not listed here. By working with JS you are opened to another world. I'll list some more "pros" from the top of my head: consume and validate your theme colors as pure JS object consume state/props and create dynamic CSS out of it you have plugins which can be a live savers in cases like RTL (right to left orientation). Whoever had to support an app/website with RTL will be magically saved by this plugin. You can create custom plugins to fix various problems, or make your own linting in your team project. you don't think about CSS class names and collision. I prefer to be focused on thinking about variable names in my JS only and not spending effort in the CSS as well when you break your visual habits you will realise that's it's easier to have your CSS in your JS file just the way you got used to have your HTML in your JS file (React) In these days CSS has become a monster. You have inheritance, mixins, variables, IF statements, loops etc. Sure they can be useful somewhere but I'm pretty sure that most of you just need to center that div. So in my personal opinion we should strive to keep CSS as simpler as possible (as with everything actually) and I think that Styled Components are kind of pushing you to do exactly that. Don't re-use CSS, re-use components! The only global things you should have are probably just the color theme and animations. Like comment: Like comment: 3  likes Like Comment button Reply Collapse Expand   Annie-Huang Annie-Huang Annie-Huang Follow Joined Mar 14, 2021 • Feb 16 '25 Dropdown menu Copy link Hide Couldn't agree more on the last two bullet points~~ Like comment: Like comment: Like Comment button Reply Collapse Expand   DrBeehre DrBeehre DrBeehre Follow Location New Zealand Work Software Engineer at Self-Employed Joined Nov 10, 2020 • Mar 14 '21 Dropdown menu Copy link Hide This is awesome! I'm quite new to Web dev in particular and when starting a new project, I've often wondered which approach is better as I could see pros and cons to both, but I never found the time to dig in. Thanks for pulling all this together into a concise blog post! Like comment: Like comment: 1  like Like Comment button Reply View full discussion (30 comments) Some comments may only be visible to logged-in visitors. Sign in to view all comments. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sergey Follow Joined Nov 18, 2020 More from Sergey Mastering the Dependency Inversion Principle: Best Practices for Clean Code with DI # webdev # javascript # typescript # programming Rockpack 2.0 Official Release # react # javascript # webdev # showdev Project Structure. Repository and folders. Review of approaches. # javascript # react # webdev # codenewbie 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/mohammadidrees/contrast-sync-vs-async-failure-classes-using-first-principles-d12#failure-class-4-orphaned-work
Contrast sync vs async failure classes using first principles - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Mohammad-Idrees Posted on Jan 13 Contrast sync vs async failure classes using first principles # architecture # computerscience # systemdesign 1. Start from First Principles: What Is a “Failure Class”? A failure class is not: a bug a timeout an outage A failure class is: A category of things that can go wrong because of how responsibility, time, and state are structured So we ask: What must be true for correctness? What assumptions does the model silently make? What breaks when those assumptions are false? 2. Core Difference (One Sentence) Synchronous systems fail by blocking and cascading. Asynchronous systems fail by duplication, reordering, and invisibility. Everything else is a consequence. 3. Synchronous Systems — Failure Classes Definition (First Principles) A synchronous system assumes: “The caller waits while the callee finishes the work.” This couples: time availability correctness Failure Class 1: Blocking Amplification Question asked: What happens while the system waits? Reality: Threads blocked Connections held Memory retained Failure mode: Load increases → latency increases → throughput collapses This is not just “slow.” It is non-linear failure . Failure Class 2: Cascading Failure Question asked: What if a dependency slows down? Because everything is waiting: Agent slows → backend slows Backend slows → frontend retries Retries amplify load Failure mode: One slow dependency can take down the entire system Failure Class 3: Availability Coupling Question asked: Can the system function if the dependency is down? Answer in sync systems: No Failure mode: Partial outage becomes total outage Summary: Sync Failure Classes Category Root Cause Blocking Time is coupled Cascades Dependencies are inline Global outage Availability is transitive 4. Asynchronous Systems — Failure Classes Definition (First Principles) An async system assumes: “Work can finish later, possibly multiple times, possibly out of order.” This decouples time but removes guarantees . Failure Class 1: Duplicate Execution Question asked: What happens if work is retried? Reality: At-least-once delivery Worker crashes Message reprocessed Failure mode: Same logical action happens multiple times This breaks: Exactly-once semantics Idempotency assumptions Failure Class 2: Ordering Violations Question asked: What defines sequence? Reality: Queues don’t know business order Workers process independently Failure mode: Effects appear out of logical order For chat systems: Responses based on future messages Context corruption Failure Class 3: Completion Invisibility Question asked: How does the user know when work is done? Reality: No direct signal Polling or guessing Failure mode: Users wait blindly or see stale state Failure Class 4: Orphaned Work Question asked: What if the user disappears? Reality: Job keeps running Response stored but never consumed Failure mode: Wasted compute, leaked state Summary: Async Failure Classes Category Root Cause Duplication Retries Reordering Decoupled execution Invisibility No direct completion path Orphans Detached lifecycles 5. Side-by-Side Contrast (Mental Model) Dimension Synchronous Asynchronous Time Coupled Decoupled Failure style Blocking, cascades Duplication, disorder Availability All-or-nothing Partial Correctness risk Latency-based Logic-based Debugging Easier Harder 6. Deep Insight (This Is the Interview Gold) Synchronous systems fail loudly and immediately. Asynchronous systems fail quietly and later. Sync failures are obvious (timeouts, errors) Async failures are subtle (double writes, wrong order) 7. Why Neither Is “Better” From first principles: Sync systems protect causality but sacrifice availability Async systems protect availability but sacrifice causality Real systems exist to reintroduce the lost property : Async systems add idempotency, ordering, state machines Sync systems add timeouts, circuit breakers, fallbacks 8. One-Line Rule to Remember Sync breaks under load. Async breaks under ambiguity. If you want next, we can: Map these failure classes to real outages Show how streaming combines both failure types Practice identifying failure classes on a fresh system Tell me the next direction. Top comments (0) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Mohammad-Idrees Follow Joined Mar 16, 2023 More from Mohammad-Idrees Thinking in First Principles: How to Question an Async Queue–Based Design # architecture # interview # learning # systemdesign How to Identify System Design Problems from First Principles # architecture # interview # systemdesign # tutorial 🧱 The Blueprint of Success: Mastering the Technical Requirements Document (TRD) # architecture # career # systemdesign 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/miltivik/how-i-built-a-high-performance-social-api-with-bun-elysiajs-on-a-5-vps-handling-36k-reqsmin-5do4#the-goal
How I built a high-performance Social API with Bun & ElysiaJS on a $5 VPS (handling 3.6k reqs/min) - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse nicomedina Posted on Jan 13           How I built a high-performance Social API with Bun & ElysiaJS on a $5 VPS (handling 3.6k reqs/min) # bunjs # api # javascript # programming The Goal I wanted to build a "Micro-Social" API—a backend service capable of handling Twitter-like feeds, follows, and likes—without breaking the bank. My constraints were simple: Budget:** $5 - $20 / month. Performance:** Sub-300ms latency. Scale:** Must handle concurrent load (stress testing). Most tutorials show you Hello World . This post shows you what happens when you actually hit Hello World with 25 concurrent users on a cheap VPS. (Spoiler: It crashes). Here is how I fixed it. ## The Stack 🛠️ I chose Bun over Node.js for its startup speed and built-in tooling. Runtime: Bun Framework: ElysiaJS (Fastest Bun framework) Database: PostgreSQL (via Dokploy) ORM: Drizzle (Lightweight & Type-safe) Hosting: VPS with Dokploy (Docker Compose) The "Oh Sh*t" Moment 🚨 I deployed my first version. It worked fine for me. Then I ran a load test using k6 to simulate 25 virtual users browsing various feeds. k6 run tests/stress-test.js Enter fullscreen mode Exit fullscreen mode Result: ✗ http_req_failed................: 86.44% ✗ status is 429..................: 86.44% The server wasn't crashing, but it was rejecting almost everyone. Diagnosis I initially blamed Traefik (the reverse proxy). But digging into the code, I found the culprit was me . // src/index.ts // OLD CONFIGURATION . use ( rateLimit ({ duration : 60 _000 , max : 100 // 💀 100 requests per minute... GLOBAL per IP? })) Enter fullscreen mode Exit fullscreen mode Since my stress test (and likely any future NATed corporate office) sent all requests from a single IP, I was essentially DDOSing myself. The Fixes 🔧 1. Tuning the Rate Limiter I bumped the limit to 2,500 req/min . This prevents abuse while allowing heavy legitimate traffic (or load balancers). // src/index.ts . use ( rateLimit ({ duration : 60 _000 , max : 2500 // Much better for standard reliable APIs })) Enter fullscreen mode Exit fullscreen mode 2. Database Connection Pooling The default Postgres pool size is often small (e.g., 10 or 20). My VPS has 4GB RAM. PostgreSQL needs RAM for connections, but not that much. I bumped the pool to 80 connections . // src/db/index.ts const client = postgres ( process . env . DATABASE_URL , { max : 80 }); Enter fullscreen mode Exit fullscreen mode 3. Horizontal Scaling with Docker Node/Bun is single-threaded. A single container uses 1 CPU core effectivey. My VPS has 2 vCPUs. I added a replicas instruction to my docker-compose.dokploy.yml : api : build : . restart : always deploy : replicas : 2 # One for each core! Enter fullscreen mode Exit fullscreen mode This instantly doubled my throughput capacity. Traefik automatically load-balances between the two containers. The Final Result 🟢 Ran k6 again: ✓ checks_succeeded...: 100.00% ✓ http_req_duration..: p(95)=200.45ms ✓ http_req_failed....: 0.00% (excluding auth checks) Enter fullscreen mode Exit fullscreen mode 0 errors. 200ms latency. On a cheap VPS. Takeaway You don't need Kubernetes for a side project. You just need to understand where your bottlenecks are: Application Layer: Check your Rate Limits. Database Layer: Check your Connection Pool. Hardware: Use all your cores (Replicas). If you want to try the API, I published it on RapidAPI as Micro-Social API . https://rapidapi.com/ismamed4/api/micro-social Happy coding! 🚀 Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   Olivia John Olivia John Olivia John Follow Curious about what makes apps succeed (or fail). Sharing lessons from real-world performance stories. Pronouns She/Her Joined Jun 24, 2025 • Jan 13 Dropdown menu Copy link Hide Great article! Like comment: Like comment: 1  like Like Comment button Reply Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse nicomedina Follow Hello im a Uruguayan Developer and im a person who always want to search, learn, and adapt new habit or skills in me. Location Uruguay Education UTEC Pronouns He/His Joined Jan 11, 2026 Trending on DEV Community Hot Stop Overengineering: How to Write Clean Code That Actually Ships 🚀 # discuss # javascript # programming # webdev 🧗‍♂️Beginner-Friendly Guide 'Max Dot Product of Two Subsequences' – LeetCode 1458 (C++, Python, JavaScript) # programming # cpp # python # javascript What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/t/portfolio/#main-content
Portfolio - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close # portfolio Follow Hide Getting feedback on and discussing portfolio strategies Create Post Older #portfolio posts 1 2 3 4 5 6 7 8 9 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu # MindsEye: Ledger-First AI Architecture New Year, New You Portfolio Challenge Submission PEACEBINFLOW PEACEBINFLOW PEACEBINFLOW Follow Jan 13 # MindsEye: Ledger-First AI Architecture # devchallenge # googleaichallenge # portfolio # gemini 3  reactions Comments 1  comment 36 min read From 2AM Debugging to $1000: How I Built My AI-Powered Portfolio New Year, New You Portfolio Challenge Submission ANIRUDDHA ADAK ANIRUDDHA ADAK ANIRUDDHA ADAK Follow Jan 13 From 2AM Debugging to $1000: How I Built My AI-Powered Portfolio # devchallenge # googleaichallenge # portfolio # gemini Comments Add Comment 3 min read This Portfolio Scrolls Different (And That’s Intentional) Dhanalakshmi.d.gowda23 Dhanalakshmi.d.gowda23 Dhanalakshmi.d.gowda23 Follow Jan 12 This Portfolio Scrolls Different (And That’s Intentional) # devchallenge # googleaichallenge # portfolio # gemini Comments Add Comment 2 min read Building an AI-Powered Portfolio with Gemini and Google Cloud Run New Year, New You Portfolio Challenge Submission ANIRUDDHA ADAK ANIRUDDHA ADAK ANIRUDDHA ADAK Follow Jan 12 Building an AI-Powered Portfolio with Gemini and Google Cloud Run # devchallenge # googleaichallenge # portfolio # gemini Comments Add Comment 2 min read A Place To Store Projects Branden Hernandez Branden Hernandez Branden Hernandez Follow Jan 12 A Place To Store Projects # challenge # devjournal # portfolio Comments Add Comment 2 min read Who is Krishna Mohan Kumar? | Full Stack Developer & B.Tech CSE Student Krishna Mohan Kumar Krishna Mohan Kumar Krishna Mohan Kumar Follow Jan 12 Who is Krishna Mohan Kumar? | Full Stack Developer & B.Tech CSE Student # webdev # beginners # portfolio # google Comments Add Comment 1 min read I Let an AI Agent Rebuild My Portfolio: Here’s How Antigravity Designs My Best UI App Ever New Year, New You Portfolio Challenge Submission Nhi Nguyen Nhi Nguyen Nhi Nguyen Follow Jan 12 I Let an AI Agent Rebuild My Portfolio: Here’s How Antigravity Designs My Best UI App Ever # devchallenge # googleaichallenge # portfolio # gemini Comments Add Comment 4 min read I Built an AI-Powered Portfolio with Next.js, Supabase & Groq - Here's How chiheb nouri chiheb nouri chiheb nouri Follow Jan 11 I Built an AI-Powered Portfolio with Next.js, Supabase & Groq - Here's How # showdev # ai # nextjs # portfolio Comments Add Comment 2 min read My Portfolio on Google Cloud Run YogoCastro YogoCastro YogoCastro Follow Jan 11 My Portfolio on Google Cloud Run # portfolio # devops # docker # react Comments Add Comment 1 min read Open-Source Developer Portfolio Baraa Alshaer Baraa Alshaer Baraa Alshaer Follow Jan 10 Open-Source Developer Portfolio # opensource # portfolio # webapp # typescript 6  reactions Comments Add Comment 1 min read ⚡ From Raw Sockets to Serverless: Reimagining the Architect's Portfolio donghun lee (David Lee) donghun lee (David Lee) donghun lee (David Lee) Follow Jan 10 ⚡ From Raw Sockets to Serverless: Reimagining the Architect's Portfolio # devchallenge # googleaichallenge # portfolio # webdev 1  reaction Comments Add Comment 3 min read Google AI Tools for Building Your Developer Portfolio: What to Use, When, and Why naveen gaur naveen gaur naveen gaur Follow Jan 10 Google AI Tools for Building Your Developer Portfolio: What to Use, When, and Why # webdev # ai # portfolio # googleaichallenge 3  reactions Comments Add Comment 4 min read 🚀 Just Launched My Smart TV / OTT Portfolio 📺 Bruno Aggierni 🇺🇾 Bruno Aggierni 🇺🇾 Bruno Aggierni 🇺🇾 Follow Jan 11 🚀 Just Launched My Smart TV / OTT Portfolio 📺 # showdev # javascript # portfolio # react 1  reaction Comments 2  comments 1 min read From Idea to Launch: How I Built an Instant Messaging App on a Weekend asdryankuo asdryankuo asdryankuo Follow Jan 7 From Idea to Launch: How I Built an Instant Messaging App on a Weekend # devchallenge # googleaichallenge # portfolio # gemini Comments Add Comment 2 min read Data Analyst Guide: Mastering Portfolio Projects That Impress Hiring Managers amal org amal org amal org Follow Jan 6 Data Analyst Guide: Mastering Portfolio Projects That Impress Hiring Managers # career # datascience # portfolio # tutorial Comments Add Comment 4 min read Built My Portfolio with Google's AI Code Agent & Cloud Run - What Took Me Days Now Takes an Hour ⚡ Hongming Wang Hongming Wang Hongming Wang Follow Jan 10 Built My Portfolio with Google's AI Code Agent & Cloud Run - What Took Me Days Now Takes an Hour ⚡ # googleaichallenge # portfolio # ai # webdev 2  reactions Comments Add Comment 2 min read My AI-Powered Developer Portfolio - Built with Google Gemini Simran Shaikh Simran Shaikh Simran Shaikh Follow Jan 10 My AI-Powered Developer Portfolio - Built with Google Gemini # devchallenge # googleaichallenge # portfolio # gemini 5  reactions Comments Add Comment 1 min read My New 2026 Portfolio: Powered by Google Cloud & AI arnostorg arnostorg arnostorg Follow Jan 9 My New 2026 Portfolio: Powered by Google Cloud & AI # devchallenge # googleaichallenge # portfolio # gemini 6  reactions Comments Add Comment 3 min read How a Medical Student is Chasing a $100k Hackathon Prize with AI( GO BIG or GO HOME ) Google AI Challenge Submission CHIN JIE WEN CHIN JIE WEN CHIN JIE WEN Follow Jan 4 How a Medical Student is Chasing a $100k Hackathon Prize with AI( GO BIG or GO HOME ) # devchallenge # googleaichallenge # portfolio # gemini Comments Add Comment 2 min read Paul E. Yeager, Engineer Paul Paul Paul Follow Jan 7 Paul E. Yeager, Engineer # devchallenge # googleaichallenge # portfolio # gemini 3  reactions Comments 2  comments 3 min read Building a Portfolio Site with Django REST API and Vanilla JavaScript Teemu Virta Teemu Virta Teemu Virta Follow Dec 31 '25 Building a Portfolio Site with Django REST API and Vanilla JavaScript # python # django # webdev # portfolio 1  reaction Comments Add Comment 9 min read My Experimental Portfolio is Live! 🚀 Saurabh Kumar Saurabh Kumar Saurabh Kumar Follow Dec 31 '25 My Experimental Portfolio is Live! 🚀 # portfolio # webdev # frontend # javascript Comments 1  comment 1 min read Building a Premium Bento-Style Portfolio with React, GSAP & Tailwind v4 Kiran Balaji Kiran Balaji Kiran Balaji Follow Dec 29 '25 Building a Premium Bento-Style Portfolio with React, GSAP & Tailwind v4 # webdev # typescript # react # portfolio 5  reactions Comments Add Comment 2 min read I Built a 100/100 Google Lighthouse Portfolio website - By Keeping It Boring Sushant Rahate Sushant Rahate Sushant Rahate Follow Dec 28 '25 I Built a 100/100 Google Lighthouse Portfolio website - By Keeping It Boring # showdev # webdev # performance # portfolio Comments Add Comment 3 min read The Deployment From Hades Google AI Challenge Submission John A Madrigal John A Madrigal John A Madrigal Follow Jan 10 The Deployment From Hades # devchallenge # googleaichallenge # portfolio # gemini 2  reactions Comments 1  comment 6 min read loading... trending guides/resources How I Built My Terraform Portfolio: Projects, Repos, and Lessons Learned I Built a Curl Command Generator App with React Experience-First Portfolio: A New Approach to Showcasing Engineering Skills Beyond the Linear CV How I Built My Developer Portfolio with Vite, React, and Bun — Fast, Modern & Fully Customizable How to Build a Frontend Developer Portfolio in 2025 (Step-by-Step Guide + Mistakes to Avoid) How to Sell Your Skills with a Small Project Nobody was interested in my portfolio, so I made everyone play it instead. Best Python Projects for 2026 (Beginner Advanced) The Anthology of a Creative Developer: A 2026 Portfolio AI Study Portfolio – Helping Students Study Smarter with Google AI Building a Premium Bento-Style Portfolio with React, GSAP & Tailwind v4 Host Your Portfolio on Amazon S3: A Beginner's Guide to Static Website Hosting ♊Source Persona: AI Twin Building My Portfolio: From Idea to Launch Md Ismail Portfolio – My Journey as a Web & AI Developer Building a Modern Digital Garden with Google AI: My New Year, New You Portfolio Building a Portfolio Site with Django REST API and Vanilla JavaScript How a Medical Student is Chasing a $100k Hackathon Prize with AI( GO BIG or GO HOME ) New You Portfolio challenge 🤖 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/miltivik/how-i-built-a-high-performance-social-api-with-bun-elysiajs-on-a-5-vps-handling-36k-reqsmin-5do4#diagnosis
How I built a high-performance Social API with Bun & ElysiaJS on a $5 VPS (handling 3.6k reqs/min) - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse nicomedina Posted on Jan 13           How I built a high-performance Social API with Bun & ElysiaJS on a $5 VPS (handling 3.6k reqs/min) # bunjs # api # javascript # programming The Goal I wanted to build a "Micro-Social" API—a backend service capable of handling Twitter-like feeds, follows, and likes—without breaking the bank. My constraints were simple: Budget:** $5 - $20 / month. Performance:** Sub-300ms latency. Scale:** Must handle concurrent load (stress testing). Most tutorials show you Hello World . This post shows you what happens when you actually hit Hello World with 25 concurrent users on a cheap VPS. (Spoiler: It crashes). Here is how I fixed it. ## The Stack 🛠️ I chose Bun over Node.js for its startup speed and built-in tooling. Runtime: Bun Framework: ElysiaJS (Fastest Bun framework) Database: PostgreSQL (via Dokploy) ORM: Drizzle (Lightweight & Type-safe) Hosting: VPS with Dokploy (Docker Compose) The "Oh Sh*t" Moment 🚨 I deployed my first version. It worked fine for me. Then I ran a load test using k6 to simulate 25 virtual users browsing various feeds. k6 run tests/stress-test.js Enter fullscreen mode Exit fullscreen mode Result: ✗ http_req_failed................: 86.44% ✗ status is 429..................: 86.44% The server wasn't crashing, but it was rejecting almost everyone. Diagnosis I initially blamed Traefik (the reverse proxy). But digging into the code, I found the culprit was me . // src/index.ts // OLD CONFIGURATION . use ( rateLimit ({ duration : 60 _000 , max : 100 // 💀 100 requests per minute... GLOBAL per IP? })) Enter fullscreen mode Exit fullscreen mode Since my stress test (and likely any future NATed corporate office) sent all requests from a single IP, I was essentially DDOSing myself. The Fixes 🔧 1. Tuning the Rate Limiter I bumped the limit to 2,500 req/min . This prevents abuse while allowing heavy legitimate traffic (or load balancers). // src/index.ts . use ( rateLimit ({ duration : 60 _000 , max : 2500 // Much better for standard reliable APIs })) Enter fullscreen mode Exit fullscreen mode 2. Database Connection Pooling The default Postgres pool size is often small (e.g., 10 or 20). My VPS has 4GB RAM. PostgreSQL needs RAM for connections, but not that much. I bumped the pool to 80 connections . // src/db/index.ts const client = postgres ( process . env . DATABASE_URL , { max : 80 }); Enter fullscreen mode Exit fullscreen mode 3. Horizontal Scaling with Docker Node/Bun is single-threaded. A single container uses 1 CPU core effectivey. My VPS has 2 vCPUs. I added a replicas instruction to my docker-compose.dokploy.yml : api : build : . restart : always deploy : replicas : 2 # One for each core! Enter fullscreen mode Exit fullscreen mode This instantly doubled my throughput capacity. Traefik automatically load-balances between the two containers. The Final Result 🟢 Ran k6 again: ✓ checks_succeeded...: 100.00% ✓ http_req_duration..: p(95)=200.45ms ✓ http_req_failed....: 0.00% (excluding auth checks) Enter fullscreen mode Exit fullscreen mode 0 errors. 200ms latency. On a cheap VPS. Takeaway You don't need Kubernetes for a side project. You just need to understand where your bottlenecks are: Application Layer: Check your Rate Limits. Database Layer: Check your Connection Pool. Hardware: Use all your cores (Replicas). If you want to try the API, I published it on RapidAPI as Micro-Social API . https://rapidapi.com/ismamed4/api/micro-social Happy coding! 🚀 Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   Olivia John Olivia John Olivia John Follow Curious about what makes apps succeed (or fail). Sharing lessons from real-world performance stories. Pronouns She/Her Joined Jun 24, 2025 • Jan 13 Dropdown menu Copy link Hide Great article! Like comment: Like comment: 1  like Like Comment button Reply Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse nicomedina Follow Hello im a Uruguayan Developer and im a person who always want to search, learn, and adapt new habit or skills in me. Location Uruguay Education UTEC Pronouns He/His Joined Jan 11, 2026 Trending on DEV Community Hot Stop Overengineering: How to Write Clean Code That Actually Ships 🚀 # discuss # javascript # programming # webdev 🧗‍♂️Beginner-Friendly Guide 'Max Dot Product of Two Subsequences' – LeetCode 1458 (C++, Python, JavaScript) # programming # cpp # python # javascript What was your win this week??? # weeklyretro # discuss 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fdev.to%2Fjinali98%2Fcrafting-a-stitch-inspired-memecoin-on-sui-4o0h&title=Crafting%20a%20Stitch-Inspired%20Memecoin%20on%20Sui&summary=Last%20weekend%2C%20I%20went%20out%20with%20friends%20to%20catch%20Lilo%20%26amp%3B%20Stitch%20on%20the%20big%20screen%2C%20the%20heartwarming...&source=DEV%20Community
LinkedIn Login, Sign in | LinkedIn Sign in Sign in with Apple Sign in with a passkey By clicking Continue, you agree to LinkedIn’s User Agreement , Privacy Policy , and Cookie Policy . or Email or phone Password Show Forgot password? Keep me logged in Sign in We’ve emailed a one-time link to your primary email address Click on the link to sign in instantly to your LinkedIn account. If you don’t see the email in your inbox, check your spam folder. Resend email Back New to LinkedIn? Join now Agree & Join LinkedIn By clicking Continue, you agree to LinkedIn’s User Agreement , Privacy Policy , and Cookie Policy . LinkedIn © 2026 User Agreement Privacy Policy Community Guidelines Cookie Policy Copyright Policy Send Feedback Language العربية (Arabic) বাংলা (Bangla) Čeština (Czech) Dansk (Danish) Deutsch (German) Ελληνικά (Greek) English (English) Español (Spanish) فارسی (Persian) Suomi (Finnish) Français (French) हिंदी (Hindi) Magyar (Hungarian) Bahasa Indonesia (Indonesian) Italiano (Italian) עברית (Hebrew) 日本語 (Japanese) 한국어 (Korean) मराठी (Marathi) Bahasa Malaysia (Malay) Nederlands (Dutch) Norsk (Norwegian) ਪੰਜਾਬੀ (Punjabi) Polski (Polish) Português (Portuguese) Română (Romanian) Русский (Russian) Svenska (Swedish) తెలుగు (Telugu) ภาษาไทย (Thai) Tagalog (Tagalog) Türkçe (Turkish) Українська (Ukrainian) Tiếng Việt (Vietnamese) 简体中文 (Chinese (Simplified)) 正體中文 (Chinese (Traditional))
2026-01-13T08:49:11
https://dev.to/t/erp
Erp - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account Forem Close # erp Follow Hide Create Post Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu How Odoo ERP Simplifies VAT Filing for UAE Businesses | Decision Intelligent DECISION INTELLIGENT DECISION INTELLIGENT DECISION INTELLIGENT Follow Jan 5 How Odoo ERP Simplifies VAT Filing for UAE Businesses | Decision Intelligent # ai # decisionintelligent # odoo # erp Comments Add Comment 4 min read How on-demand NetSuite developers work Digiteon Digiteon Digiteon Follow Jan 3 How on-demand NetSuite developers work # netsuite # netsuitedevelopers # erp Comments Add Comment 4 min read How We Built Seamless ERP Integration for Medusa: Base.com Case Study Michał Miler Michał Miler Michał Miler Follow for u11d Dec 15 '25 How We Built Seamless ERP Integration for Medusa: Base.com Case Study # medusa # baselinker # erp # ecommerce 5  reactions Comments Add Comment 5 min read Letting Claude Loose on a NetSuite Demo Account Evan Lausier Evan Lausier Evan Lausier Follow Jan 1 Letting Claude Loose on a NetSuite Demo Account # ai # productivity # netsuite # erp 4  reactions Comments 4  comments 3 min read The Hidden Cost of Manual Asphalt Bidding & How to Fix It Commander ERP Commander ERP Commander ERP Follow Oct 31 '25 The Hidden Cost of Manual Asphalt Bidding & How to Fix It # asphalt # bidding # paving # erp Comments Add Comment 3 min read Oracle Fusion Cloud – 25D AI Agent Studio Executive Summary Rajesh Vohra Rajesh Vohra Rajesh Vohra Follow Oct 14 '25 Oracle Fusion Cloud – 25D AI Agent Studio Executive Summary # oracle # erp # ai # aiops 5  reactions Comments Add Comment 1 min read Understanding ORDS Pre-Hook Functions Rajesh Vohra Rajesh Vohra Rajesh Vohra Follow Oct 14 '25 Understanding ORDS Pre-Hook Functions # oracle # database # erp 3  reactions Comments Add Comment 2 min read Building a PHP-based ERP with Hubleto in few minutes shoki shoki shoki Follow Sep 1 '25 Building a PHP-based ERP with Hubleto in few minutes # php # erp # opensource # webdev Comments Add Comment 2 min read How to publish odoo apps on app store[updated] IT Giggs IT Giggs IT Giggs Follow Aug 30 '25 How to publish odoo apps on app store[updated] # odoo # python # erp # webdev Comments Add Comment 1 min read Smart Education ERP Systems With AI-Driven Structured Data Jenny Smith Jenny Smith Jenny Smith Follow Sep 23 '25 Smart Education ERP Systems With AI-Driven Structured Data # webdev # erp # ai # education 1  reaction Comments 1  comment 3 min read 🚀 Just Shipped: Client Portal for V1‑ERP Anuj Dubey Anuj Dubey Anuj Dubey Follow Aug 3 '25 🚀 Just Shipped: Client Portal for V1‑ERP # buildinpublic # webdev # erp # opensource 5  reactions Comments Add Comment 1 min read ERP Automation for Enterprises: The Beginner's Guide John Stein John Stein John Stein Follow Jul 24 '25 ERP Automation for Enterprises: The Beginner's Guide # erp # automation 1  reaction Comments Add Comment 7 min read How ERP Integrations Are Reshaping the Future of Scalable Business Software Writer Marco Writer Marco Writer Marco Follow Jul 23 '25 How ERP Integrations Are Reshaping the Future of Scalable Business Software # erp # automation # devops # microsoftgraph Comments Add Comment 2 min read Upgrading Oracle VBCS Apps: Moving from Alta to the Modern Redwood Theme Rajesh Vohra Rajesh Vohra Rajesh Vohra Follow Aug 24 '25 Upgrading Oracle VBCS Apps: Moving from Alta to the Modern Redwood Theme # oracle # ui # erp 4  reactions Comments Add Comment 4 min read Why Customizable ERP Is the Future of Enterprise Software Sigzen Technologies Sigzen Technologies Sigzen Technologies Follow Jul 17 '25 Why Customizable ERP Is the Future of Enterprise Software # erp # enterprisesoftware # python # opensource Comments Add Comment 4 min read Is Dynamics 365 CE an ERP? Clearing the Confusion Nikhil Sarpatwari Nikhil Sarpatwari Nikhil Sarpatwari Follow Aug 18 '25 Is Dynamics 365 CE an ERP? Clearing the Confusion # powerplatform # microsoft # erp Comments Add Comment 2 min read What is ERPNext? An Open-Source ERP for Modern Businesses Sigzen Technologies Sigzen Technologies Sigzen Technologies Follow Jul 14 '25 What is ERPNext? An Open-Source ERP for Modern Businesses # erp # webdev # programming # softwaredevelopment 1  reaction Comments Add Comment 1 min read Why Real-Time Data Analytics in ERP Is a Game-Changer for Manufacturers Sigzen Technologies Sigzen Technologies Sigzen Technologies Follow Jul 11 '25 Why Real-Time Data Analytics in ERP Is a Game-Changer for Manufacturers # webdev # erp # programming # ai Comments Add Comment 2 min read EaaS: The Final Future of Work is Fractional ERP Implementations Consultant ERP Implementations Consultant ERP Implementations Consultant Follow Jul 7 '25 EaaS: The Final Future of Work is Fractional # workplace # erp # wms # expertise Comments 1  comment 3 min read Cloud ERP and Edge Computing in Manufacturing: Finding the Perfect Balance for 2025 Elite Mindz Elite Mindz Elite Mindz Follow Jun 27 '25 Cloud ERP and Edge Computing in Manufacturing: Finding the Perfect Balance for 2025 # erp # software # development # manufacturingsoftware Comments Add Comment 4 min read Why Modern Manufacturers Are Choosing ERPNext Services and Custom ERP Software for Operational Excellence Sigzen Technologies Sigzen Technologies Sigzen Technologies Follow Jun 23 '25 Why Modern Manufacturers Are Choosing ERPNext Services and Custom ERP Software for Operational Excellence # erp # webdev # programming # javascript Comments Add Comment 3 min read Odoo CE: Automatic Inventory Valuation Abraham Abraham Abraham Follow Jun 14 '25 Odoo CE: Automatic Inventory Valuation # odoo # erp # accounting # webdev 1  reaction Comments Add Comment 2 min read Odoo's Technical Ecosystem: Real-World Usage Data and Open Source Impact spread thoughts spread thoughts spread thoughts Follow Jul 9 '25 Odoo's Technical Ecosystem: Real-World Usage Data and Open Source Impact # odoo # opensource # python # erp Comments Add Comment 4 min read Preparing for Microsoft Dynamics 365 Implementation Success Ranjith50 Ranjith50 Ranjith50 Follow Jun 2 '25 Preparing for Microsoft Dynamics 365 Implementation Success # erp # crm # azure # cloud Comments Add Comment 3 min read Odoo 101: View Abraham Abraham Abraham Follow Jun 26 '25 Odoo 101: View # odoo # erp # programming # tutorial 1  reaction Comments Add Comment 3 min read loading... trending guides/resources How We Built Seamless ERP Integration for Medusa: Base.com Case Study Letting Claude Loose on a NetSuite Demo Account How on-demand NetSuite developers work The Hidden Cost of Manual Asphalt Bidding & How to Fix It 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV Forem — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . Forem © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/t/productivity/page/1270
Productivity Page 1270 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Productivity Follow Hide Productivity includes tips on how to use tools and software, process optimization, useful references, experience, and mindstate optimization. Create Post submission guidelines Please check if your article contains information or discussion bases about productivity. From posts with the tag #productivity we expect tips on how to use tools and software, process optimization, useful references, experience, and mindstate optimization. Productivity is a very broad term with many aspects and topics. From the color design of the office to personal rituals, anything can contribute to increase / optimize your own productivity or that of a team. about #productivity Does my article fit the tag? It depends! Productivity is a very broad term with many aspects and topics. From the color design of the office to personal rituals, anything can contribute to increase / optimize your own productivity or that of a team. Older #productivity posts 1267 1268 1269 1270 1271 1272 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/alexsergey/css-modules-vs-css-in-js-who-wins-3n25#pros
CSS Modules vs CSS-in-JS. Who wins? - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Add reaction Like Unicorn Exploding Head Raised Hands Fire Jump to Comments Save Boost More... Copy link Copy link Copied to Clipboard Share to X Share to LinkedIn Share to Facebook Share to Mastodon Share Post via... Report Abuse Sergey Posted on Mar 11, 2021           CSS Modules vs CSS-in-JS. Who wins? # webdev # css # javascript # react Introduction In modern React application development, there are many approaches to organizing application styles. One of the popular ways of such an organization is the CSS-in-JS approach (in the article we will use styled-components as the most popular solution) and CSS Modules. In this article, we will try to answer the question: which is better CSS-in-JS or CSS Modules ? So let's get back to basics. When a web page was primarily set for storing textual documentation and didn't include user interactions, properties were introduced to style the content. Over time, the web became more and more popular, sites got bigger, and it became necessary to reuse styles. For these purposes, CSS was invented. Cascading Style Sheets. Cascading plays a very important role in this name. We write styles that lay like a waterfall over the hollows of our document, filling it with colors and highlighting important elements. Time passed, the web became more and more complex, and we are facing the fact that the styles cascade turned into a problem for us. Distributed teams, working on their parts of the system, combining them into reusable modules, assemble an application from pieces, like Dr. Frankenstein, stitching styles into one large canvas, can get the sudden result... Due to the cascade, the styles of module 1 can affect the display of module 3, and module 4 can make changes to the global styles and change the entire display of the application in general. Developers have started to think of solving this problem. Style naming conventions were created to avoid overlaps, such as Yandex's BEM or Atomic CSS. The idea is clear, we operate with names in order to get predictability, but at the same time to prevent repetitions. These approaches were crashed of the rocks of the human factor. Anyway, we have no guarantee that the developer from team A won't use the name from team C. The naming problem can only be solved by assigning a random name to the CSS class. Thus, we get a completely independent CSS set of styles that will be applied to a specific HTML block and we understand for sure that the rest of the system won't be affected in any way. And then 2 approaches came onto the stage to organize our CSS: CSS Modules and CSS-in-JS . Under the hood, having a different technical implementation, and in fact solving the problem of atomicity, reusability, and avoiding side effects when writing CSS. Technically, CSS Modules transforms style names using a hash-based on the filename, path, style name. Styled-components handles styles in JS runtime, adding them as they go to the head HTML section (<head>). Approaches overview Let's see which approach is more optimal for writing a modern web application! Let's imagine we have a basic React application: import React , { Component } from ' react ' ; import ' ./App.css ' ; class App extends Component { render () { return ( < div className = "title" > React application title </ div > ); } } Enter fullscreen mode Exit fullscreen mode CSS styles of this application: .title { padding : 20px ; background-color : #222 ; text-align : center ; color : white ; font-size : 1.5em ; } Enter fullscreen mode Exit fullscreen mode The dependencies are React 16.14 , react-dom 16.14 Let's try to build this application using webpack using all production optimizations. we've got uglified JS - 129kb separated and minified CSS - 133 bytes The same code in CSS Modules will look like this: import React , { Component } from ' react ' ; import styles from ' ./App.module.css ' ; class App extends Component { render () { return ( < div className = { styles . title } > React application title </ div > ); } } Enter fullscreen mode Exit fullscreen mode uglified JS - 129kb separated and minified CSS - 151 bytes The CSS Modules version will take up a couple of bytes more due to the impossibility of compressing the long generated CSS names. Finally, let's rewrite the same code under styled-components: import React , { Component } from ' react ' ; import styles from ' styled-components ' ; const Title = styles . h1 ` padding: 20px; background-color: #222; text-align: center; color: white; font-size: 1.5em; ` ; class App extends Component { render () { return ( < Title > React application title </ Title > ); } } Enter fullscreen mode Exit fullscreen mode uglified JS - 163kb CSS file is missing The more than 30kb difference between CSS Modules and CSS-in-JS (styled-components) is due to styled-components adding extra code to add styles to the <head> part of the HTML document. In this synthetic test, the CSS Modules approach wins, since the build system doesn't add something extra to implement it, except for the changed class name. Styled-components due to technical implementation, adds dependency as well as code for runtime handling and styling of <head>. Now let's take a quick look at the pros and cons of CSS-in-JS / CSS Modules. Pros and cons CSS-in-JS cons The browser won't start interpreting the styles until styled-components has parsed them and added them to the DOM, which slows down rendering. The absence of CSS files means that you cannot cache separate CSS. One of the key downsides is that most libraries don't support this approach and we still can't get rid of CSS. All native JS and jQuery plugins are written without using this approach. Not all React solutions use it. Styles integration problems. When a markup developer prepares a layout for a JS developer, we may forget to transfer something; there will also be difficulty in synchronizing a new version of layout and JS code. We can't use CSS utilities: SCSS, Less, Postcss, stylelint, etc. pros Styles can use JS logic. This reminds me of Expression in IE6, when we could wrap some logic in our styles (Hello, CSS Expressions :) ). const Title = styles . h1 ` padding: 20px; background-color: #222; text-align: center; color: white; font-size: 1.5em; ${ props => props . secondary && css ` background-color: #fff; color: #000; padding: 10px; font-size: 1em; ` } ` ; Enter fullscreen mode Exit fullscreen mode When developing small modules, it simplifies the connection to the project, since you only need to connect the one independent JS file. It is semantically nicer to use <Title> in a React component than <h1 className={style.title}>. CSS Modules cons To describe global styles, you must use a syntax that does not belong to the CSS specification. :global ( .myclass ) { text-decoration : underline ; } Enter fullscreen mode Exit fullscreen mode Integrating into a project, you need to include styles. Working with typescript, you need to automatically or manually generate interfaces. For these purposes, I use webpack loader: @teamsupercell/typings-for-css-modules-loader pros We work with regular CSS, it makes it possible to use SCSS, Less, Postcss, stylelint, and more. Also, you don't waste time on adapting the CSS to JS. No integration of styles into the code, clean code as result. Almost 100% standardized except for global styles. Conclusion So the fundamental problem with the CSS-in-JS approach is that it's not CSS! This kind of code is harder to maintain if you have a defined person in your team working on markup. Such code will be slower, due to the fact that the CSS rendered into the file is processed in parallel, and the CSS-in-JS cannot be rendered into a separate CSS file. And the last fundamental flaw is the inability to use ready-made approaches and utilities, such as SCSS, Less and Stylelint, and so on. On the other hand, the CSS-in-JS approach can be a good solution for the Frontend team who deals with both markup and JS, and develops all components from scratch. Also, CSS-in-JS will be useful for modules that integrate into other applications. In my personal opinion, the issue of CSS cascading is overrated. If we are developing a small application or site, with one team, then we are unlikely to encounter a name collision or the difficulty of reusing components. If you faced with this problem, I recommend considering CSS Modules, as, in my opinion, this is a more optimal solution for the above factors. In any case, whatever you choose, write meaningful code and don't get fooled by the hype. Hype will pass, and we all have to live with it. Have great and interesting projects, dear readers! Top comments (30) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand   dastasoft dastasoft dastasoft Follow Senior Software Engineer Work Senior Software Engineer Joined Feb 17, 2020 • Mar 12 '21 Dropdown menu Copy link Hide One pro of CSS, the hot reload is instant when you just change CSS, with CSS in JS the project is recompiled. For CSS-in-JS I find easier to reuse that code in a React Native project. My personal conclusion is that we are constantly trying to avoid CSS but at the end of the day, CSS will stay here forever. Great article btw! Like comment: Like comment: 25  likes Like Comment button Reply Collapse Expand   GreggHume GreggHume GreggHume Follow A developer who works with and on some of the worlds leading brands. My company is called Cold Brew Studios, see you out there :) Joined Mar 10, 2021 • Mar 9 '22 • Edited on Mar 9 • Edited Dropdown menu Copy link Hide I ran into issues with css modules that styled components seemed to solve. But i ran into issues with styled components that I wouldn't have had with plain scss. So some things to think about: Styled components is a lot more overhead because all the styled components need to be complied into stylesheets and mounted to the head by javascript which is a blocking language. On SSR styled components get compiled into a ServerStyleSheet that then hydrate the react dom tree in the browser via the context api. So even then the mounting of styles only happens in the browser but the parsing of styles happens on the server - that is still a performance penalty and will slow down the page load. In some cases I had no issues with styled components but as my site grew and in complex cases I couldn't help but feel like it was slower, or didn't load as smoothly... and in a world where every second matters, this was a problem for me. Here is an article doing benchmarks on CSS vs CSS in JS: pustelto.com/blog/css-vs-css-in-js... I use nextjs, it is a pity they do not support component level css and we are forced to use css modules or styled components... where as with Nuxt component level scss is part of the package and you have the option on how you want the sites css to bundled - all in one file, split into their own files and some other nifty options. I hope nextjs sharped up on this. Like comment: Like comment: 3  likes Like Comment button Reply Collapse Expand   Nwanguma Victor Nwanguma Victor Nwanguma Victor Follow 🕊 Location Lagos, Nigeria Work Software Developer Joined Feb 18, 2021 • Jun 22 '22 • Edited on Jun 22 • Edited Dropdown menu Copy link Hide A big tip that might help. Why not use SCSS and unique classNames: For example create a unique container className (name of the component) and nest all the other classNames under that unique container className. .home-page-guest { .nav {} .main {} .footer {} } Enter fullscreen mode Exit fullscreen mode < div className = " home-page-guest " > < div className = " nav " /> < div className = " main " /> < div className = " footer " /> < /div > Enter fullscreen mode Exit fullscreen mode Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide I bet you did Greg Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Hank Queston Hank Queston Hank Queston Follow Work CTO at Bonfire Joined May 25, 2021 • May 25 '21 Dropdown menu Copy link Hide I agreed, CSS Modules make a lot more sense to me over Styled Components, always have! Like comment: Like comment: 7  likes Like Comment button Reply Collapse Expand   Comment deleted Collapse Expand   Alien Padilla Rodriguez Alien Padilla Rodriguez Alien Padilla Rodriguez Follow Joined Jan 24, 2022 • Apr 23 '22 Dropdown menu Copy link Hide @Petar Kokev If something I learned from this years of working with React and other projects is that the correct library for project isn't the correct library for another. So the mos important think that we need to do is select the tools, libraries and technologies that fit better to the current project. In this case you can't use Styled-components on sites that require a good SEO, becouse the mos important think here is the SEO and you cant sacrify it. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   thedev1232 thedev1232 thedev1232 Follow tech enthusiast - code to the nuts Location sanjose Work Senior dev Manager at self Joined Oct 26, 2020 • Mar 31 '22 Dropdown menu Copy link Hide How about having to deal with libraries like Material UI with next js? I have an issue to decide whether to use just makeStyles function or should we use styled components? My main concern is code longevity and maintenance without any issues Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Will Farley Will Farley Will Farley Follow Joined Jan 24, 2022 • Jan 24 '22 Dropdown menu Copy link Hide My big issues with styled components is they are deeply coupled with your code. I've opted to use emotion's css utility exclusively and instructed my team to avoid using any of the styled component features. We've loved it but this was a few years ago. For newer projects I'm going with the css modules design. Also why does anyone care about sass anymore? With css variables and the css nesting module in the specification, you get the best parts of sass with vanilla css. The other features are just overkill for a css-module that should represent a single react component and thus nothing :global . Complicated sass directives and stuff are just overkill. Turn it into a react component and don't make any crazy css systems. Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Nwanguma Victor Nwanguma Victor Nwanguma Victor Follow 🕊 Location Lagos, Nigeria Work Software Developer Joined Feb 18, 2021 • Mar 23 '22 Dropdown menu Copy link Hide Same I was trying to revamp my personal site, I discovered that I would have to rewrite alot of things, and then I later gave up. I would advice css modules are the way to go, and it greatly helps with SEO. And in teams using SC, naming becomes an issue because some people don't know how to name components and you have to scroll around, just to check if a component is a h1 tag 🤮 CACHEing I can't stress this enough, for enterprise in-house apps it doesn't really matter, but for everyday consumer-essentric apps CACHEing should not be overlooked Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide Matty Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Will Farley Will Farley Will Farley Follow Joined Jan 24, 2022 • Jan 24 '22 Dropdown menu Copy link Hide You can still have a top-level css file that isn't a css module for global stuff Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Petar Kolev Petar Kolev Petar Kolev Follow Senior Software Engineer with React && TypeScript Location Bulgaria Work Senior Software Engineer @ alkem.io Joined Nov 27, 2019 • Sep 10 '21 Dropdown menu Copy link Hide It is not true that with styled-components one can't use scss syntax, etc. styled-components supports it. Like comment: Like comment: 6  likes Like Comment button Reply Collapse Expand   Eduard Eduard Eduard Follow Taxation is robbery Joined Oct 25, 2019 • Mar 28 '21 Dropdown menu Copy link Hide How about css-in-js frameworks like material-ua, chakra-ui and others? In my opinion, they dramatically speed up development. Like comment: Like comment: 5  likes Like Comment button Reply Collapse Expand   Alien Padilla Rodriguez Alien Padilla Rodriguez Alien Padilla Rodriguez Follow Joined Jan 24, 2022 • Apr 23 '22 Dropdown menu Copy link Hide In my personal opinion I see Styled Components more for a Single Page Aplications where the SEO isn't important and is unecessary to cache css files. In the case of static web site or a site that must have a good SEO the Module-Css is better. @greggcbs My recomendation is to use code splitting if you have problem with the performans when you use Styled-Components in your project, in order to avoid brign all code in the first load of the site. Good article @sergey Like comment: Like comment: 2  likes Like Comment button Reply Collapse Expand   Cindy Vos Cindy Vos Cindy Vos Follow Tuff shed and light and strong enough Joined Sep 11, 2025 • Sep 15 '25 Dropdown menu Copy link Hide Hi Jess Rodriguez celly Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Gass Gass Gass Follow hi there 👋 Email g.szada@gmail.com Location Budapest, Hungary Education engineering Work software developer @ itemis Joined Dec 25, 2021 • Apr 25 '22 • Edited on Apr 25 • Edited Dropdown menu Copy link Hide Good post. I've been using CSS modules for a short time now and I like it. Allows everything to be nicely compartmentalized. I also like that it gives more freedom to name classes in smaller chunks of CSS code. Instead of using it like so: {styles.my_class} I preffer {s.my_class} makes the code looks nicer and more concise. Like comment: Like comment: 1  like Like Comment button Reply Collapse Expand   Mario Iliev Mario Iliev Mario Iliev Follow Joined Jun 14, 2023 • Jun 14 '23 Dropdown menu Copy link Hide I'm sorry but it seems that you don't have much experience with Styled Components. "And the last fundamental flaw is the inability to use ready-made approaches and utilities, such as SCSS, Less and Stylelint, and so on." Not a single thing here is true. SCSS is the original syntax of the package, you can use Stylelint as well. There are a lot more "pros" which are not listed here. By working with JS you are opened to another world. I'll list some more "pros" from the top of my head: consume and validate your theme colors as pure JS object consume state/props and create dynamic CSS out of it you have plugins which can be a live savers in cases like RTL (right to left orientation). Whoever had to support an app/website with RTL will be magically saved by this plugin. You can create custom plugins to fix various problems, or make your own linting in your team project. you don't think about CSS class names and collision. I prefer to be focused on thinking about variable names in my JS only and not spending effort in the CSS as well when you break your visual habits you will realise that's it's easier to have your CSS in your JS file just the way you got used to have your HTML in your JS file (React) In these days CSS has become a monster. You have inheritance, mixins, variables, IF statements, loops etc. Sure they can be useful somewhere but I'm pretty sure that most of you just need to center that div. So in my personal opinion we should strive to keep CSS as simpler as possible (as with everything actually) and I think that Styled Components are kind of pushing you to do exactly that. Don't re-use CSS, re-use components! The only global things you should have are probably just the color theme and animations. Like comment: Like comment: 3  likes Like Comment button Reply Collapse Expand   Annie-Huang Annie-Huang Annie-Huang Follow Joined Mar 14, 2021 • Feb 16 '25 Dropdown menu Copy link Hide Couldn't agree more on the last two bullet points~~ Like comment: Like comment: Like Comment button Reply Collapse Expand   DrBeehre DrBeehre DrBeehre Follow Location New Zealand Work Software Engineer at Self-Employed Joined Nov 10, 2020 • Mar 14 '21 Dropdown menu Copy link Hide This is awesome! I'm quite new to Web dev in particular and when starting a new project, I've often wondered which approach is better as I could see pros and cons to both, but I never found the time to dig in. Thanks for pulling all this together into a concise blog post! Like comment: Like comment: 1  like Like Comment button Reply View full discussion (30 comments) Some comments may only be visible to logged-in visitors. Sign in to view all comments. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink . Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse Sergey Follow Joined Nov 18, 2020 More from Sergey Mastering the Dependency Inversion Principle: Best Practices for Clean Code with DI # webdev # javascript # typescript # programming Rockpack 2.0 Official Release # react # javascript # webdev # showdev Project Structure. Repository and folders. Review of approaches. # javascript # react # webdev # codenewbie 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://www.memorymanagement.org/mmref/recycle.html#reference-counts
3. Recycling techniques — Memory Management Reference 4.0 documentation Memory Management Reference « 2. Allocation techniques | 3. Recycling techniques | 4. Memory management in various languages » Table Of Contents 3. Recycling techniques 3.1. Tracing collectors 3.1.1. Mark-sweep collection 3.1.2. Copying collection 3.1.3. Incremental collection 3.1.4. Conservative garbage collection 3.2. Reference counts 3.2.1. Simple reference counting 3.2.2. Deferred reference counting 3.2.3. One-bit reference counting 3.2.4. Weighted reference counting 3. Recycling techniques ¶ There are many ways for automatic memory managers to determine what memory is no longer required. In the main, garbage collection relies on determining which blocks are not pointed to by any program variables. Some of the techniques for doing this are described briefly below, but there are many potential pitfalls, and many possible refinements. These techniques can often be used in combination. 3.1. Tracing collectors ¶ Automatic memory managers that follow pointers to determine which blocks of memory are reachable from program variables (known as the root set ) are known as tracing collectors. The classic example is the mark-sweep collector. 3.1.1. Mark-sweep collection ¶ In a mark-sweep collection, the collector first examines the program variables; any blocks of memory pointed to are added to a list of blocks to be examined. For each block on that list, it sets a flag (the mark) on the block to show that it is still required, and also that it has been processed. It also adds to the list any blocks pointed to by that block that have not yet been marked. In this way, all blocks that can be reached by the program are marked. In the second phase, the collector sweeps all allocated memory, searching for blocks that have not been marked. If it finds any, it returns them to the allocator for reuse. Five memory blocks, three of which are reachable from program variables. ¶ In the diagram above, block 1 is directly accessible from a program variable, and blocks 2 and 3 are indirectly accessible. Blocks 4 and 5 cannot be reached by the program. The first step would mark block 1, and remember blocks 2 and 3 for later processing. The second step would mark block 2. The third step would mark block 3, but wouldn’t remember block 2 as it is already marked. The sweep phase would ignore blocks 1, 2, and 3 because they are marked, but would recycle blocks 4 and 5. The two drawbacks of simple mark-sweep collection are: it must scan the entire memory in use before any memory can be freed; it must run to completion or, if interrupted, start again from scratch. If a system requires real-time or interactive response, then simple mark-sweep collection may be unsuitable as it stands, but many more sophisticated garbage collection algorithms are derived from this technique. 3.1.2. Copying collection ¶ After many memory blocks have been allocated and recycled, there are two problems that typically occur: the memory in use is widely scattered in memory, causing poor performance in the memory caches or virtual memory systems of most modern computers (known as poor locality of reference ); it becomes difficult to allocate large blocks because free memory is divided into small pieces, separated by blocks in use (known as external fragmentation ). One technique that can solve both these problems is copying garbage collection . A copying garbage collector may move allocated blocks around in memory and adjust any references to them to point to the new location. This is a very powerful technique and can be combined with many other types of garbage collection, such as mark-sweep collection. The disadvantages of copying collection are: it is difficult to combine with incremental garbage collection (see below) because all references must be adjusted to remain consistent; it is difficult to combine with conservative garbage collection (see below) because references cannot be confidently adjusted; extra storage is required while both new and old copies of an object exist; copying data takes extra time (proportional to the amount of live data). 3.1.3. Incremental collection ¶ Older garbage collection algorithms relied on being able to start collection and continue working until the collection was complete, without interruption. This makes many interactive systems pause during collection, and makes the presence of garbage collection obtrusive. Fortunately, there are modern techniques (known as incremental garbage collection ) to allow garbage collection to be performed in a series of small steps while the program is never stopped for long. In this context, the program that uses and modifies the blocks is sometimes known as the mutator . While the collector is trying to determine which blocks of memory are reachable by the mutator, the mutator is busily allocating new blocks, modifying old blocks, and changing the set of blocks it is actually looking at. Incremental collection is usually achieved with either the cooperation of the memory hardware or the mutator; this ensures that, whenever memory in crucial locations is accessed, a small amount of necessary bookkeeping is performed to keep the collector’s data structures correct. 3.1.4. Conservative garbage collection ¶ Although garbage collection was first invented in 1958, many languages have been designed and implemented without the possibility of garbage collection in mind. It is usually difficult to add normal garbage collection to such a system, but there is a technique, known as conservative garbage collection , that can be used. The usual problem with such a language is that it doesn’t provide the collector with information about the data types, and the collector cannot therefore determine what is a pointer and what isn’t. A conservative collector assumes that anything might be a pointer. It regards any data value that looks like a pointer to or into a block of allocated memory as preventing the recycling of that block. Note that, because the collector does not know for certain which memory locations contain pointers, it cannot readily be combined with copying garbage collection. Copying collection needs to know where pointers are in order to update them when blocks are moved. You might think that conservative garbage collection could easily perform quite poorly, leaving a lot of garbage uncollected. In practice, it does quite well, and there are refinements that improve matters further. 3.2. Reference counts ¶ A reference count is a count of how many references (that is, pointers) there are to a particular memory block from other blocks. It is used as the basis for some automatic recycling techniques that do not rely on tracing. 3.2.1. Simple reference counting ¶ In a simple reference counting system, a reference count is kept for each object . This count is incremented for each new reference, and is decremented if a reference is overwritten, or if the referring object is recycled. If a reference count falls to zero, then the object is no longer required and can be recycled. Reference counting is frequently chosen as an automatic memory management strategy because it seems simple to implement using manual memory management primitives. However, it is hard to implement efficiently because of the cost of updating the counts. It is also hard to implement reliably, because the standard technique cannot reclaim objects connected in a loop. In many cases, it is an inappropriate solution, and it would be preferable to use tracing garbage collection instead. Reference counting is most useful in situations where it can be guaranteed that there will be no loops and where modifications to the reference structure are comparatively infrequent. These circumstances can occur in some types of database structure and some file systems. Reference counting may also be useful if it is important that objects are recycled promptly, such as in systems with tight memory constraints. 3.2.2. Deferred reference counting ¶ The performance of reference counting can be improved if not all references are taken into account. In one important technique, known as deferred reference counting , only references from other objects are counted, and references from program variables are ignored. Since most of the references to the object are likely to be from local variables, this can substantially reduce the overhead of keeping the counts up to date. An object cannot be reclaimed as soon as its count has dropped to zero, because there might still be a reference to it from a program variable. Instead, the program variables (including the control stack ) are periodically scanned , and any objects which are not referenced from there and which have zero count are reclaimed. Deferred reference counting cannot normally be used unless it is directly supported by the compiler. It’s more common for modern compilers to support tracing garbage collectors instead, because they can reclaim loops. Deferred reference counting may still be useful for its promptness—but that is limited by the frequency of scanning the program variables. 3.2.3. One-bit reference counting ¶ Another variation on reference counting, known as the one-bit reference count , uses a single bit flag to indicate whether each object has either “one” or “many” references. If a reference to an object with “one” reference is removed, then the object can be recycled. If an object has “many” references, then removing references does not change this, and that object will never be recycled. It is possible to store the flag as part of the pointer to the object, so no additional space is required in each object to store the count. One-bit reference counting is effective in practice because most actual objects have a reference count of one. 3.2.4. Weighted reference counting ¶ Reference counting is often used for tracking inter-process references for distributed garbage collection . This fails to collect objects in separate processes if they have looped references, but tracing collectors are usually too inefficient as inter-process tracing entails much communication between processes. Within a process, tracing collectors are often used for local recycling of memory. Many distributed collectors use a technique called weighted reference counting , which reduces the level of communication even further. Each time a reference is copied, the weight of the reference is shared between the new and the old copies. Since this operation doesn’t change the total weight of all references, it doesn’t require any communication with the object. Communication is only required when references are deleted. © Copyright 2023, Ravenbrook Limited. Created using Sphinx 4.5.0.
2026-01-13T08:49:11
https://www.memorymanagement.org/mmref/begin.html#application-memory-management
1. Overview — Memory Management Reference 4.0 documentation Memory Management Reference « Introduction to memory management | 1. Overview | 2. Allocation techniques » Table Of Contents 1. Overview 1.1. Hardware memory management 1.2. Operating system memory management 1.3. Application memory management 1.4. Memory management problems 1.5. Manual memory management 1.6. Automatic memory management 1.7. More information 1. Overview ¶ Memory management is a complex field of computer science and there are many techniques being developed to make it more efficient. This guide is designed to introduce you to some of the basic memory management issues that programmers face. This guide attempts to explain any terms it uses as it introduces them. In addition, there is a Memory Management Glossary of memory management terms that gives fuller information; some terms are linked to the relevant entries. Memory management is usually divided into three areas, although the distinctions are a little fuzzy: Hardware memory management Operating system memory management Application memory management These are described in more detail below. In most computer systems, all three are present to some extent, forming layers between the user’s program and the actual memory hardware. The Memory Management Reference is mostly concerned with application memory management. 1.1. Hardware memory management ¶ Memory management at the hardware level is concerned with the electronic devices that actually store data. This includes things like RAM and memory caches . 1.2. Operating system memory management ¶ In the operating system, memory must be allocated to user programs, and reused by other programs when it is no longer required. The operating system can pretend that the computer has more memory than it actually does, and also that each program has the machine’s memory to itself; both of these are features of virtual memory systems. 1.3. Application memory management ¶ Application memory management involves supplying the memory needed for a program’s objects and data structures from the limited resources available, and recycling that memory for reuse when it is no longer required. Because application programs cannot in general predict in advance how much memory they are going to require, they need additional code to handle their changing memory requirements. Application memory management combines two related tasks: Allocation When the program requests a block of memory, the memory manager must allocate that block out of the larger blocks it has received from the operating system. The part of the memory manager that does this is known as the allocator . There are many ways to perform allocation, a few of which are discussed in Allocation techniques . Recycling When memory blocks have been allocated, but the data they contain is no longer required by the program, then the blocks can be recycled for reuse. There are two approaches to recycling memory: either the programmer must decide when memory can be reused (known as manual memory management ); or the memory manager must be able to work it out (known as automatic memory management ). These are both described in more detail below. An application memory manager must usually work to several constraints, such as: CPU overhead The additional time taken by the memory manager while the program is running. Pause times The time it takes for the memory manager to complete an operation and return control to the program. This affects the program’s ability to respond promptly to interactive events, and also to any asynchronous event such as a network connection. Memory overhead How much space is wasted for administration, rounding (known as internal fragmentation ), and poor layout (known as external fragmentation ). Some of the common problems encountered in application memory management are considered in the next section. 1.4. Memory management problems ¶ The basic problem in managing memory is knowing when to keep the data it contains, and when to throw it away so that the memory can be reused. This sounds easy, but is, in fact, such a hard problem that it is an entire field of study in its own right. In an ideal world, most programmers wouldn’t have to worry about memory management issues. Unfortunately, there are many ways in which poor memory management practice can affect the robustness and speed of programs, both in manual and in automatic memory management. Typical problems include: Premature frees and dangling pointers Many programs give up memory, but attempt to access it later and crash or behave randomly. This condition is known as a premature free , and the surviving reference to the memory is known as a dangling pointer . This is usually confined to manual memory management . Memory leak Some programs continually allocate memory without ever giving it up and eventually run out of memory. This condition is known as a memory leak . External fragmentation A poor allocator can do its job of giving out and receiving blocks of memory so badly that it can no longer give out big enough blocks despite having enough spare memory. This is because the free memory can become split into many small blocks, separated by blocks still in use. This condition is known as external fragmentation . Poor locality of reference Another problem with the layout of allocated blocks comes from the way that modern hardware and operating system memory managers handle memory: successive memory accesses are faster if they are to nearby memory locations. If the memory manager places far apart the blocks a program will use together, then this will cause performance problems. This condition is known as poor locality of reference . Inflexible design Memory managers can also cause severe performance problems if they have been designed with one use in mind, but are used in a different way. These problems occur because any memory management solution tends to make assumptions about the way in which the program is going to use memory, such as typical block sizes, reference patterns, or lifetimes of objects. If these assumptions are wrong, then the memory manager may spend a lot more time doing bookkeeping work to keep up with what’s happening. Interface complexity If objects are passed between modules, then the interface design must consider the management of their memory. A well-designed memory manager can make it easier to write debugging tools, because much of the code can be shared. Such tools could display objects, navigate links, validate objects, or detect abnormal accumulations of certain object types or block sizes. 1.5. Manual memory management ¶ Manual memory management is where the programmer has direct control over when memory may be recycled. Usually this is either by explicit calls to heap management functions (for example, malloc and free (2) in C ), or by language constructs that affect the control stack (such as local variables). The key feature of a manual memory manager is that it provides a way for the program to say, “Have this memory back; I’ve finished with it”; the memory manager does not recycle any memory without such an instruction. The advantages of manual memory management are: it can be easier for the programmer to understand exactly what is going on; some manual memory managers perform better when there is a shortage of memory. The disadvantages of manual memory management are: the programmer must write a lot of code to do repetitive bookkeeping of memory; memory management must form a significant part of any module interface; manual memory management typically requires more memory overhead per object; memory management bugs are common. It is very common for programmers, faced with an inefficient or inadequate manual memory manager, to write code to duplicate the behavior of a memory manager, either by allocating large blocks and splitting them for use, or by recycling blocks internally. Such code is known as a suballocator . Suballocators can take advantage of special knowledge of program behavior, but are less efficient in general than fixing the underlying allocator. Unless written by a memory management expert, suballocators may be inefficient or unreliable. The following languages use mainly manual memory management in most implementations, although many have conservative garbage collection extensions: Algol ; C ; C++ ; COBOL ; Fortran ; Pascal . 1.6. Automatic memory management ¶ Automatic memory management is a service, either as a part of the language or as an extension, that automatically recycles memory that a program would not otherwise use again. Automatic memory managers (often known as garbage collectors, or simply collectors) usually do their job by recycling blocks that are unreachable from the program variables (that is, blocks that cannot be reached by following pointers). The advantages of automatic memory management are: the programmer is freed to work on the actual problem; module interfaces are cleaner; there are fewer memory management bugs; memory management is often more efficient. The disadvantages of automatic memory management are: memory may be retained because it is reachable, but won’t be used again; automatic memory managers (currently) have limited availability. There are many ways of performing automatic recycling of memory, a few of which are discussed in Recycling techniques . Most modern languages use mainly automatic memory management: BASIC , Dylan , Erlang, Haskell, Java , JavaScript , Lisp , ML , Modula-3 , Perl , PostScript , Prolog , Python, Scheme , Smalltalk , etc. 1.7. More information ¶ For more detailed information on the topics covered briefly above, please have a look at the Memory Management Glossary . Books and research papers are available on many specific techniques, and can be found via our Bibliography ; particularly recommended are: Wilson (1994) , which is survey of garbage collection techniques; Wilson et al. (1995) , which is a survey of allocation techniques; and Jones et al. (2012) , which is a handbook covering all aspects of garbage collection. © Copyright 2023, Ravenbrook Limited. Created using Sphinx 4.5.0.
2026-01-13T08:49:11
https://dev.to/t/functional
Functional - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close # functional Follow Hide Create Post Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu The Underlying Process of Request Processing Sergiy Yevtushenko Sergiy Yevtushenko Sergiy Yevtushenko Follow Jan 12 The Underlying Process of Request Processing # java # functional # architecture # backend Comments Add Comment 4 min read You Probably Already Know What a Monad Is Christian Ekrem Christian Ekrem Christian Ekrem Follow Jan 8 You Probably Already Know What a Monad Is # programming # frontend # functional # beginners Comments Add Comment 1 min read Type-Safe Collections in C#: How NonEmptyList Eliminates Runtime Exceptions Ahmad Al-Freihat Ahmad Al-Freihat Ahmad Al-Freihat Follow Jan 2 Type-Safe Collections in C#: How NonEmptyList Eliminates Runtime Exceptions # csharp # dotnet # functional # architecture Comments Add Comment 4 min read Play: UI Layouts in PureScript Anton Kiłka Anton Kiłka Anton Kiłka Follow Jan 11 Play: UI Layouts in PureScript # purescript # functional # ui # layouts Comments Add Comment 17 min read Stillwater 1.0: Pragmatic Effect Composition and Validation for Rust Glen Baker Glen Baker Glen Baker Follow Dec 24 '25 Stillwater 1.0: Pragmatic Effect Composition and Validation for Rust # rust # functional # validation # opensource Comments Add Comment 8 min read CLI Validation Patterns with Maybe Monads Mike Lane Mike Lane Mike Lane Follow Jan 9 CLI Validation Patterns with Maybe Monads # python # functional # cli # validation 1  reaction Comments 1  comment 6 min read Higher Order Function in JavaScript Sagar Kumar Shrivastava Sagar Kumar Shrivastava Sagar Kumar Shrivastava Follow Dec 25 '25 Higher Order Function in JavaScript # programming # javascript # functional Comments Add Comment 4 min read Core Premise of Function in JavaScript Sagar Kumar Shrivastava Sagar Kumar Shrivastava Sagar Kumar Shrivastava Follow Dec 25 '25 Core Premise of Function in JavaScript # javascript # functional # programming Comments Add Comment 3 min read I Re-implemented Java Streams to Understand Lazy Evaluation Sanjeet Singh Jagdev Sanjeet Singh Jagdev Sanjeet Singh Jagdev Follow Jan 3 I Re-implemented Java Streams to Understand Lazy Evaluation # java # programming # learning # functional Comments Add Comment 5 min read Functional Composition in JavaScript Travis van der F. Travis van der F. Travis van der F. Follow Dec 10 '25 Functional Composition in JavaScript # webdev # javascript # functional # architecture 1  reaction Comments Add Comment 2 min read Closures vs Objects: Understanding 'A Poor Man's' Through the Lens of IVP Yannick Loth Yannick Loth Yannick Loth Follow Dec 4 '25 Closures vs Objects: Understanding 'A Poor Man's' Through the Lens of IVP # functional # objectorientedprogramming # architecture # languagedesign Comments Add Comment 26 min read First-Class Functions in JavaScript Travis van der F. Travis van der F. Travis van der F. Follow Dec 15 '25 First-Class Functions in JavaScript # webdev # javascript # functional # architecture Comments Add Comment 3 min read Functional takes on GoF design patterns Zelenya Zelenya Zelenya Follow Dec 30 '25 Functional takes on GoF design patterns # functional # scala # oop # haskell 8  reactions Comments 1  comment 26 min read Refined Types in Rust: Parse, Don't Validate Glen Baker Glen Baker Glen Baker Follow Dec 28 '25 Refined Types in Rust: Parse, Don't Validate # rust # types # validation # functional 1  reaction Comments Add Comment 7 min read Compile-Time Resource Tracking in Rust: From Runtime Brackets to Type-Level Safety Glen Baker Glen Baker Glen Baker Follow Dec 20 '25 Compile-Time Resource Tracking in Rust: From Runtime Brackets to Type-Level Safety # rust # functional # typesystem # programming 1  reaction Comments Add Comment 6 min read What it was like to give a talk at Clojure South 2025 Marcio Frayze Marcio Frayze Marcio Frayze Follow Dec 3 '25 What it was like to give a talk at Clojure South 2025 # clojure # functional # nubank # elm Comments Add Comment 6 min read Building Type-Safe CLIs in Python with Maybe Monads Mike Lane Mike Lane Mike Lane Follow Nov 10 '25 Building Type-Safe CLIs in Python with Maybe Monads # python # cli # functional # tutorial Comments Add Comment 4 min read Refactoring a God Object Detector That Was Itself a God Object Glen Baker Glen Baker Glen Baker Follow Dec 9 '25 Refactoring a God Object Detector That Was Itself a God Object # rust # refactoring # functional # architecture 1  reaction Comments Add Comment 12 min read Stillwater Validation for Rustaceans: Accumulating Errors Instead of Failing Fast Glen Baker Glen Baker Glen Baker Follow Dec 4 '25 Stillwater Validation for Rustaceans: Accumulating Errors Instead of Failing Fast # rust # validation # functional # errors 1  reaction Comments Add Comment 8 min read From Ruby OOP to Elixir Functional by Example hungle00 hungle00 hungle00 Follow Dec 2 '25 From Ruby OOP to Elixir Functional by Example # ruby # elixir # functional 3  reactions Comments Add Comment 3 min read Three Patterns That Made Prodigy's Functional Migration Worth It Glen Baker Glen Baker Glen Baker Follow Nov 30 '25 Three Patterns That Made Prodigy's Functional Migration Worth It # rust # functional # architecture # refactoring 1  reaction Comments Add Comment 8 min read Value Objects in PHP 8: Let's introduce a functional approach Christian Nastasi Christian Nastasi Christian Nastasi Follow Nov 23 '25 Value Objects in PHP 8: Let's introduce a functional approach # programming # php # functional # software 9  reactions Comments 7  comments 12 min read How was my experience at Lambda Days 2025 Marcio Frayze Marcio Frayze Marcio Frayze Follow Nov 14 '25 How was my experience at Lambda Days 2025 # lambdadays # functional # elm # elixir 5  reactions Comments 2  comments 11 min read Temporal State Coordination: A Timeline of a Timeline Aleta Lovelace Aleta Lovelace Aleta Lovelace Follow Nov 15 '25 Temporal State Coordination: A Timeline of a Timeline # animation # javascript # typescript # functional Comments Add Comment 5 min read Functional Ruby Programming with Trailblazer kinvoki kinvoki kinvoki Follow Nov 3 '25 Functional Ruby Programming with Trailblazer # ruby # trailblazer # functional # codequality 3  reactions Comments Add Comment 2 min read loading... trending guides/resources Value Objects in PHP 8: Let's introduce a functional approach Functional takes on GoF design patterns How was my experience at Lambda Days 2025 Refined Types in Rust: Parse, Don't Validate Temporal State Coordination: A Timeline of a Timeline Closures vs Objects: Understanding 'A Poor Man's' Through the Lens of IVP Cracking the Code: Why AI Still Struggles with List Languages by Arvind Sundararajan First-Class Functions in JavaScript Play: UI Layouts in PureScript Stillwater 1.0: Pragmatic Effect Composition and Validation for Rust What it was like to give a talk at Clojure South 2025 Type-Level Programming na prática: construindo um encoder Base64 somente com tipos Core Premise of Function in JavaScript Functional Ruby Programming with Trailblazer Building Type-Safe CLIs in Python with Maybe Monads Type-Safe Collections in C#: How NonEmptyList Eliminates Runtime Exceptions You Probably Already Know What a Monad Is Refactoring a God Object Detector That Was Itself a God Object From Ruby OOP to Elixir Functional by Example Three Patterns That Made Prodigy's Functional Migration Worth It 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/valentin_tya_327693
Valentin - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Follow User actions Valentin I'm a french freelance consultant in Data Joined Joined on  Dec 10, 2025 More info about @valentin_tya_327693 Badges 1 Week Community Wellness Streak For actively engaging with the community by posting at least 2 comments in a single week. Got it Close Writing Debut Awarded for writing and sharing your first DEV post! Continue sharing your work to earn the 4 Week Writing Streak Badge. Got it Close Post 4 posts published Comment 2 comments written Tag 4 tags followed A detailed breakdown of how this simple SaaS reaches $93k MRR Valentin Valentin Valentin Follow Jan 1 A detailed breakdown of how this simple SaaS reaches $93k MRR # webdev # sideprojects # saas # website Comments Add Comment 5 min read Want to connect with Valentin? Create an account to connect with Valentin. You can also sign in below to proceed if you already have an account. Create Account Already have an account? Sign in How to Get Feedback on Your SaaS Valentin Valentin Valentin Follow Dec 18 '25 How to Get Feedback on Your SaaS # webdev # productivity # saas # testing Comments Add Comment 3 min read What I’ve learned after one week promoting my SaaS Valentin Valentin Valentin Follow Dec 14 '25 What I’ve learned after one week promoting my SaaS # webdev # saas # marketing # webapp Comments Add Comment 2 min read How to find beta users for your SaaS? Valentin Valentin Valentin Follow Dec 10 '25 How to find beta users for your SaaS? # saas # webdev # tutorial # sideprojects Comments Add Comment 4 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/t/portfolio/page/9
Portfolio Page 9 - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close # portfolio Follow Hide Getting feedback on and discussing portfolio strategies Create Post Older #portfolio posts 6 7 8 9 10 11 12 13 14 Posts Left menu 👋 Sign in for the ability to sort posts by relevant , latest , or top . Right menu I’m trying to see if my GitHub portfolio can get any visibility Luca Luca Luca Follow Jul 27 '25 I’m trying to see if my GitHub portfolio can get any visibility # showdev # github # opensource # portfolio Comments 1  comment 1 min read Check-out my Portfolio Website guys!!! Dorji Tsheten Dorji Tsheten Dorji Tsheten Follow Aug 14 '25 Check-out my Portfolio Website guys!!! # discuss # portfolio # design # react 6  reactions Comments 10  comments 1 min read Why Odeta Rose Is the Style Icon for Generations? odetarose odetarose odetarose Follow Aug 15 '25 Why Odeta Rose Is the Style Icon for Generations? # portfolio # photoshop # unsplash # fashion Comments 2  comments 3 min read How I Created My First Portfolio Website Using GitHub Pages Tejaswini Tejaswini Tejaswini Follow Aug 14 '25 How I Created My First Portfolio Website Using GitHub Pages # html # webdev # portfolio # beginners 2  reactions Comments Add Comment 3 min read 🚀 Meet OptiFolio: The Modern Dev Portfolio Template Built for YOU! Pranav Verma Pranav Verma Pranav Verma Follow Jul 15 '25 🚀 Meet OptiFolio: The Modern Dev Portfolio Template Built for YOU! # webdev # opensource # 11ty # portfolio 3  reactions Comments Add Comment 3 min read A Weather Comparison App Built with React and AWS SAM ak0047 ak0047 ak0047 Follow Aug 12 '25 A Weather Comparison App Built with React and AWS SAM # aws # react # beginners # portfolio Comments Add Comment 3 min read Rebuilding My Portfolio: A Week of React, Animations, and Testing Albino Tonnina Albino Tonnina Albino Tonnina Follow Jul 7 '25 Rebuilding My Portfolio: A Week of React, Animations, and Testing # react # animation # testing # portfolio Comments Add Comment 3 min read Christopher Jackson's Professional Portfolio Christopher Jackson Christopher Jackson Christopher Jackson Follow Aug 10 '25 Christopher Jackson's Professional Portfolio # portfolio # security # networking # career Comments Add Comment 1 min read I Built My Developer Portfolio with Next.js 15 + Tailwind — Here’s How Nishul Dhakar Nishul Dhakar Nishul Dhakar Follow Aug 16 '25 I Built My Developer Portfolio with Next.js 15 + Tailwind — Here’s How # webdev # portfolio # nextjs # design 5  reactions Comments 1  comment 1 min read 🎮 Turning My GitHub into a Game — My First Step Toward Showcasing My Skills! Pavithran M Pavithran M Pavithran M Follow Aug 8 '25 🎮 Turning My GitHub into a Game — My First Step Toward Showcasing My Skills! # github # portfolio # productivity 2  reactions Comments 1  comment 1 min read Just launched my personal portfolio site (akhlakul.me) — built with HTML would love dev feedback! 🚀 MAIF. com MAIF. com MAIF. com Follow Jul 4 '25 Just launched my personal portfolio site (akhlakul.me) — built with HTML would love dev feedback! 🚀 # webdev # html # beginners # portfolio Comments Add Comment 1 min read How I Built My 12.8 KB Terminal-Themed Portfolio Site (and Template) Cody Marsengill Cody Marsengill Cody Marsengill Follow Aug 7 '25 How I Built My 12.8 KB Terminal-Themed Portfolio Site (and Template) # webdev # html # opensource # portfolio 3  reactions Comments Add Comment 3 min read I built a job website while rebuilding my life XC XC XC Follow Jul 3 '25 I built a job website while rebuilding my life # showdev # webdev # portfolio # react Comments Add Comment 1 min read How I Built My First Portfolio with React and Vite danielfilemon danielfilemon danielfilemon Follow Jul 3 '25 How I Built My First Portfolio with React and Vite # vercel # vite # react # portfolio 6  reactions Comments Add Comment 2 min read I Just Launched My Developer Portfolio – Built with Next.js, Tailwind & Supabase Shoaib Shoaib Shoaib Follow Jul 2 '25 I Just Launched My Developer Portfolio – Built with Next.js, Tailwind & Supabase # showdev # webdev # portfolio # nextjs Comments Add Comment 1 min read 🧑‍💻 New Portfolio Template Released! DevSk DevSk DevSk Follow Jul 6 '25 🧑‍💻 New Portfolio Template Released! # portfolio # webdev # react # programming Comments 1  comment 1 min read How I Built My Portfolio Using Next.js Nadeem M Siyam Nadeem M Siyam Nadeem M Siyam Follow Jul 1 '25 How I Built My Portfolio Using Next.js # webdev # nextjs # portfolio # react Comments Add Comment 2 min read 🚀 Going Up — Launching Mohab.dev, a Caffeine-Fueled Backend Playground Mohab Abd El-Dayem Mohab Abd El-Dayem Mohab Abd El-Dayem Follow Jul 1 '25 🚀 Going Up — Launching Mohab.dev, a Caffeine-Fueled Backend Playground # discuss # backend # softwareengineering # portfolio 1  reaction Comments Add Comment 2 min read My DevOps Portfolio Site Is Live – Built with Real Infrastructure, Real Tools Fidelis Ikoroje Fidelis Ikoroje Fidelis Ikoroje Follow Aug 3 '25 My DevOps Portfolio Site Is Live – Built with Real Infrastructure, Real Tools # devops # aws # portfolio # infrastructureascode Comments 2  comments 2 min read Introducing My Dev Blog: Learning HTML & CSS Sanghun Han Sanghun Han Sanghun Han Follow Jul 1 '25 Introducing My Dev Blog: Learning HTML & CSS # html # css # learning # portfolio Comments Add Comment 1 min read Introducing kuzur.xyz — My Developer Portfolio & Projects Hub Rahul kuzur Rahul kuzur Rahul kuzur Follow Aug 2 '25 Introducing kuzur.xyz — My Developer Portfolio & Projects Hub # webdev # portfolio # website # beginners Comments Add Comment 2 min read I built a clean, responsive HTML portfolio template for developers – free live demo + source! George Giasemakis George Giasemakis George Giasemakis Follow Aug 2 '25 I built a clean, responsive HTML portfolio template for developers – free live demo + source! # portfolio # htmlcss # webdev # showcase Comments Add Comment 1 min read I Just Revamped My Dev Platform: Custom CMS, Subdomains, & Real Projects 🚀 Lusan Sapkota Lusan Sapkota Lusan Sapkota Follow Jun 29 '25 I Just Revamped My Dev Platform: Custom CMS, Subdomains, & Real Projects 🚀 # showdev # portfolio # softwaredevelopment # saas 1  reaction Comments Add Comment 1 min read Nostalgic web windows 95 portfolio Yudth Soponvit Yudth Soponvit Yudth Soponvit Follow Jul 30 '25 Nostalgic web windows 95 portfolio # webdev # portfolio # react Comments Add Comment 1 min read What I Wish I Knew Before Applying to My First Dev Job Vadym Vadym Vadym Follow Jun 27 '25 What I Wish I Knew Before Applying to My First Dev Job # portfolio # career # careerdevelopment 2  reactions Comments Add Comment 2 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11
https://dev.to/suzuki0430
Atsushi Suzuki - DEV Community Forem Feed Follow new Subforems to improve your feed DEV Community Follow A space to discuss and keep up software development and manage your software career Future Follow News and discussion of science and technology such as AI, VR, cryptocurrency, quantum computing, and more. Open Forem Follow A general discussion space for the Forem community. If it doesn't have a home elsewhere, it belongs here Gamers Forem Follow An inclusive community for gaming enthusiasts Music Forem Follow From composing and gigging to gear, hot music takes, and everything in between. Vibe Coding Forem Follow Discussing AI software development, and showing off what we're building. Popcorn Movies and TV Follow Movie and TV enthusiasm, criticism and everything in-between. DUMB DEV Community Follow Memes and software development shitposting Design Community Follow Web design, graphic design and everything in-between Security Forem Follow Your central hub for all things security. From ethical hacking and CTFs to GRC and career development, for beginners and pros alike Golf Forem Follow A community of golfers and golfing enthusiasts Crypto Forem Follow A collaborative community for all things Crypto—from Bitcoin to protocol development and DeFi to NFTs and market analysis. Parenting Follow A place for parents to the share the joys, challenges, and wisdom that come from raising kids. We're here for them and for each other. Forem Core Follow Discussing the core forem open source software project — features, bugs, performance, self-hosting. Maker Forem Follow A community for makers, hobbyists, and professionals to discuss Arduino, Raspberry Pi, 3D printing, and much more. HMPL.js Forem Follow For developers using HMPL.js to build fast, lightweight web apps. A space to share projects, ask questions, and discuss server-driven templating Dropdown menu Dropdown menu Skip to content Navigation menu Search Powered by Algolia Search Log in Create account DEV Community Close Follow User actions Atsushi Suzuki AWS Community Builder | 15x AWS Certified | Docker Captain Hooked on the TV drama Silicon Valley, I switched from sales to engineering. Developing SaaS and researching AI at a startup in Tokyo. Location Tokyo Joined Joined on  Mar 11, 2021 Personal website https://www.linkedin.com/in/suzuki-09b7171a2 github website twitter website Four Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least four years. Got it Close 2 Week Community Wellness Streak Keep the community conversation going! Post at least 2 comments for 2 straight weeks and unlock the 4 Week Badge. Got it Close 1 Week Community Wellness Streak For actively engaging with the community by posting at least 2 comments in a single week. Got it Close Docker Awarded to the top Docker author each week Got it Close Three Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least three years. Got it Close Writing Debut Awarded for writing and sharing your first DEV post! Continue sharing your work to earn the 4 Week Writing Streak Badge. Got it Close 4 Week Writing Streak You've posted at least one post per week for 4 consecutive weeks! Got it Close Two Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least two years. Got it Close One Year Club This badge celebrates the longevity of those who have been a registered member of the DEV Community for at least one year. Got it Close More info about @suzuki0430 Organizations AWS Community Builders Skills/Languages React(Native)/NestJS/TypeScript/Go/PHP/Laravel/Python/PyTorch/GraphQL/AWS(SageMaker, ECS, ECR, S3, Lambda, Amplify, Aurora, IAM, Glue, Athena, DynamoDB)/GCP(BigQuery, GCF, GCS, Vertex)Docker/Terraform Currently learning AI Post 77 posts published Comment 18 comments written Tag 14 tags followed CKA (Certified Kubernetes Administrator) Exam Report 2026: Don’t Rely on Old Guides (Mastering the Post-2025 Revision) Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jan 13 CKA (Certified Kubernetes Administrator) Exam Report 2026: Don’t Rely on Old Guides (Mastering the Post-2025 Revision) # kubernetes # certification # devops # learning 1  reaction Comments Add Comment 5 min read Want to connect with Atsushi Suzuki? Create an account to connect with Atsushi Suzuki. You can also sign in below to proceed if you already have an account. Create Account Already have an account? Sign in I Automated My Air Conditioner with Kubernetes (kind + CronJob + SwitchBot) Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 26 '25 I Automated My Air Conditioner with Kubernetes (kind + CronJob + SwitchBot) # kubernetes # containers # iot # docker Comments Add Comment 3 min read How to Re-Encrypt Aurora Snapshots with a CMK for Cross-Account Migration Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Nov 14 '25 How to Re-Encrypt Aurora Snapshots with a CMK for Cross-Account Migration # aws # database # security # beginners 2  reactions Comments Add Comment 4 min read Practical Terraform Tips for Secure and Reliable AWS Environments Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Oct 10 '25 Practical Terraform Tips for Secure and Reliable AWS Environments # aws # terraform # devops # beginners 8  reactions Comments Add Comment 6 min read How I Combined Strands Agents, Bedrock AgentCore Runtime, and AgentCore Browser to Automate AWS Docs Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Sep 15 '25 How I Combined Strands Agents, Bedrock AgentCore Runtime, and AgentCore Browser to Automate AWS Docs # aws # ai # python # webdev 14  reactions Comments Add Comment 6 min read Fixing the “Invalid Parameter” Error When Registering an SNS Topic for SES Feedback Notifications Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Sep 11 '25 Fixing the “Invalid Parameter” Error When Registering an SNS Topic for SES Feedback Notifications # aws # security # devops # cloud 3  reactions Comments Add Comment 2 min read AWS Control Tower Landing Zone Setup: Troubleshooting Account Limits and KMS Policies Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Sep 2 '25 AWS Control Tower Landing Zone Setup: Troubleshooting Account Limits and KMS Policies # aws # devops # tutorial # cloud 1  reaction Comments Add Comment 3 min read How I Reduced ELB Access Log Analysis Time by 80% Using AWS Data Processing MCP Server Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Aug 9 '25 How I Reduced ELB Access Log Analysis Time by 80% Using AWS Data Processing MCP Server # mcp # aws # devops # security 3  reactions Comments Add Comment 4 min read Run Multi-Agent AI in the Cloud Without a Local GPU Using Docker Offload and Compose Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jul 21 '25 Run Multi-Agent AI in the Cloud Without a Local GPU Using Docker Offload and Compose # docker # ai # webdev # cloud 1  reaction Comments Add Comment 5 min read Instant Feature Flags on ECS with AWS AppConfig — Zero Redeploys Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Jul 13 '25 Instant Feature Flags on ECS with AWS AppConfig — Zero Redeploys # aws # devops # typescript # productivity 4  reactions Comments Add Comment 6 min read Teleport Across Gather Town Instantly with This Chrome Extension Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jun 20 '25 Teleport Across Gather Town Instantly with This Chrome Extension # extensions # javascript # productivity # webdev 5  reactions Comments Add Comment 4 min read Prevent Unexpected Claude Code Costs with This VSCode/Cursor Extension Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jun 3 '25 Prevent Unexpected Claude Code Costs with This VSCode/Cursor Extension # vscode # cursor # extensions # vibecoding 1  reaction Comments Add Comment 2 min read Why I Chose Service Discovery Over Service Connect for ECS Inter-Service Communication Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders May 6 '25 Why I Chose Service Discovery Over Service Connect for ECS Inter-Service Communication # containers # devops # aws # terraform 6  reactions Comments 1  comment 5 min read How I Used Amazon Nova Reel and Gradio to Auto-Generate Stunning GIF Banners Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Apr 17 '25 How I Used Amazon Nova Reel and Gradio to Auto-Generate Stunning GIF Banners # aws # ai # python # machinelearning 22  reactions Comments 6  comments 3 min read Cut Your API Costs to Zero: Docker Model Runner for Local LLM Testing Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Apr 10 '25 Cut Your API Costs to Zero: Docker Model Runner for Local LLM Testing # docker # ai # llm # webdev 2  reactions Comments Add Comment 4 min read Cost Optimization Gone Wrong: Lessons from Using Arm Runners in GitHub Actions for Fargate Spot Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Apr 3 '25 Cost Optimization Gone Wrong: Lessons from Using Arm Runners in GitHub Actions for Fargate Spot # githubactions # aws # devops # github 5  reactions Comments Add Comment 4 min read The Easiest Way to Set Up MCP with Claude Desktop and Docker Desktop Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Mar 24 '25 The Easiest Way to Set Up MCP with Claude Desktop and Docker Desktop # docker # beginners # ai # productivity 109  reactions Comments 4  comments 3 min read Improving RAG Systems with Amazon Bedrock Knowledge Base: Practical Techniques from Real Implementation Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Mar 17 '25 Improving RAG Systems with Amazon Bedrock Knowledge Base: Practical Techniques from Real Implementation # aws # rag # ai # typescript 4  reactions Comments 2  comments 6 min read LLM Model Selection Made Easy: The Most Useful Leaderboards for Real-World Applications Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Mar 15 '25 LLM Model Selection Made Easy: The Most Useful Leaderboards for Real-World Applications # llm # ai # beginners # machinelearning 10  reactions Comments Add Comment 4 min read Automating Tests for Multiple Generative AI APIs Using Postman (Newman) and Exporting Responses to CSV Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Mar 2 '25 Automating Tests for Multiple Generative AI APIs Using Postman (Newman) and Exporting Responses to CSV # webdev # ai # api # llm 2  reactions Comments Add Comment 3 min read Caught in a Cost Optimization Trap: Aurora Serverless v2 with RDS Proxy Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Feb 2 '25 Caught in a Cost Optimization Trap: Aurora Serverless v2 with RDS Proxy # aws # serverless # devops # database 1  reaction Comments 2  comments 2 min read Resolving CORS Errors Caused by S3 and WebKit's Disk Cache Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow for AWS Community Builders Jan 18 '25 Resolving CORS Errors Caused by S3 and WebKit's Disk Cache # webdev # browser # beginners # aws 4  reactions Comments Add Comment 2 min read Simplify Environment Variable Management with GitHub Environments Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 15 '24 Simplify Environment Variable Management with GitHub Environments # github # githubactions # beginners # devops 2  reactions Comments Add Comment 2 min read Automating Security Hub Findings Summary with Bedrock, Slack Notifications, and Zenhub Task Management Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 14 '24 Automating Security Hub Findings Summary with Bedrock, Slack Notifications, and Zenhub Task Management # devops # aws # ai # security 4  reactions Comments 4  comments 5 min read Automating BigQuery Data Preprocessing and AutoML with Vertex AI Pipelines Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 6 '24 Automating BigQuery Data Preprocessing and AutoML with Vertex AI Pipelines # machinelearning # ai # googlecloud # beginners 1  reaction Comments Add Comment 5 min read Troubleshooting the "JavaScript heap out of memory" Error in a Node.js Application on ECS Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 1 '24 Troubleshooting the "JavaScript heap out of memory" Error in a Node.js Application on ECS # aws # node # beginners # devops 5  reactions Comments Add Comment 3 min read Resolving ECS Task Definition Security Risks Detected by AWS Security Hub Using Secrets Manager Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 1 '24 Resolving ECS Task Definition Security Risks Detected by AWS Security Hub Using Secrets Manager # aws # security # beginners # devops 3  reactions Comments Add Comment 3 min read How to Protect ECS Containers with a Read-Only Root Filesystem Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Nov 30 '24 How to Protect ECS Containers with a Read-Only Root Filesystem # aws # devops # security # beginners 4  reactions Comments Add Comment 2 min read Automate Slack Notifications with Graphs Using Cloud Run Functions and Cloud Scheduler Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Nov 16 '24 Automate Slack Notifications with Graphs Using Cloud Run Functions and Cloud Scheduler # beginners # googlecloud # webdev # python 3  reactions Comments Add Comment 3 min read Avoiding Connection Pinning in Lambda and RDS Proxy with NestJS and Proxy Splitting Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Nov 2 '24 Avoiding Connection Pinning in Lambda and RDS Proxy with NestJS and Proxy Splitting # webdev # aws # database # beginners 1  reaction Comments Add Comment 3 min read From Lambda to Fargate: How We Optimized Node.js Performance with the Right Task Specs Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Oct 15 '24 From Lambda to Fargate: How We Optimized Node.js Performance with the Right Task Specs # aws # webdev # serverless # beginners 5  reactions Comments Add Comment 3 min read Maximizing Cost Efficiency on ECS Fargate: ARM Architecture and Fargate Spot Strategies Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Oct 12 '24 Maximizing Cost Efficiency on ECS Fargate: ARM Architecture and Fargate Spot Strategies # aws # beginners # docker # devops 7  reactions Comments Add Comment 4 min read Automating Monthly Data Deletion for Aurora MySQL with ECS, EventBridge, and DynamoDB Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Sep 15 '24 Automating Monthly Data Deletion for Aurora MySQL with ECS, EventBridge, and DynamoDB # aws # database # webdev # beginners 2  reactions Comments Add Comment 6 min read Optimizing Aurora MySQL Storage by Deleting Unnecessary Data Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Sep 14 '24 Optimizing Aurora MySQL Storage by Deleting Unnecessary Data # aws # database # mysql # beginners 4  reactions Comments 1  comment 3 min read How to Enable the `Allow GitHub Actions to create and approve pull requests` Option When It's Grayed Out Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Sep 12 '24 How to Enable the `Allow GitHub Actions to create and approve pull requests` Option When It's Grayed Out # github # beginners # githubactions # webdev 1  reaction Comments Add Comment 1 min read How to Disable TLS v1.1 and Below in AWS ELB and RDS Aurora Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Sep 2 '24 How to Disable TLS v1.1 and Below in AWS ELB and RDS Aurora # terraform # security # network # aws 3  reactions Comments Add Comment 3 min read Analyzing ELB Access Logs with Athena: Configuration and Query Examples Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Aug 15 '24 Analyzing ELB Access Logs with Athena: Configuration and Query Examples # aws # beginners # sql # devops 4  reactions Comments 1  comment 3 min read Enabling Access Logs for AWS ELB (ALB) with Terraform Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Aug 14 '24 Enabling Access Logs for AWS ELB (ALB) with Terraform # webdev # aws # terraform # beginners 4  reactions Comments Add Comment 2 min read BigQuery and XGBoost Integration: A Jupyter Notebook Tutorial for Binary Classification Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Aug 12 '24 BigQuery and XGBoost Integration: A Jupyter Notebook Tutorial for Binary Classification # googlecloud # machinelearning # python # beginners 2  reactions Comments Add Comment 4 min read Migrating Guide: RDS for MySQL to Aurora Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Aug 10 '24 Migrating Guide: RDS for MySQL to Aurora # database # aws # beginners # webdev 2  reactions Comments Add Comment 6 min read Enhance Code Security with GitHub Actions: Automatically Commenting PRs with Docker Scans Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jul 14 '24 Enhance Code Security with GitHub Actions: Automatically Commenting PRs with Docker Scans # docker # webdev # devops # security 6  reactions Comments Add Comment 4 min read Bypassing TROCCO: Direct Data Transfer from HubSpot to BigQuery Using Cloud Functions Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jul 6 '24 Bypassing TROCCO: Direct Data Transfer from HubSpot to BigQuery Using Cloud Functions # googlecloud # python # beginners # productivity 1  reaction Comments Add Comment 5 min read Common Pitfalls in Machine Learning Model Inference for Beginners and How to Solve Them Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jun 9 '24 Common Pitfalls in Machine Learning Model Inference for Beginners and How to Solve Them # machinelearning # beginners # python # ai 3  reactions Comments Add Comment 2 min read Enhancing ECR Security: Scheduled Automated Container Scans and Slack Notifications Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jun 8 '24 Enhancing ECR Security: Scheduled Automated Container Scans and Slack Notifications # security # aws # devops # beginners 1  reaction Comments Add Comment 6 min read Mastering ECS Task Scheduling: Effective Strategies to Reduce Costs Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jun 1 '24 Mastering ECS Task Scheduling: Effective Strategies to Reduce Costs # devops # terraform # webdev # aws 8  reactions Comments 5  comments 6 min read How to Hide the X-Powered-By Header in NestJS Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow May 19 '24 How to Hide the X-Powered-By Header in NestJS # security # beginners # webdev # nestjs 8  reactions Comments 2  comments 1 min read Mastering Secure CI/CD for ECS with GitHub Actions Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow May 18 '24 Mastering Secure CI/CD for ECS with GitHub Actions # devops # docker # cicd # security 70  reactions Comments 12  comments 7 min read Optimizing S3 Bucket Management and Lifecycle with Terraform Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow May 11 '24 Optimizing S3 Bucket Management and Lifecycle with Terraform # aws # terraform # devops # beginners 2  reactions Comments Add Comment 2 min read How to Temporarily Remove and Reintegrate Cloud Resources from Terraform Management Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Apr 26 '24 How to Temporarily Remove and Reintegrate Cloud Resources from Terraform Management # webdev # terraform # aws # devops 2  reactions Comments Add Comment 2 min read Migrating from AWS SageMaker to GCP Vertex AI: A Training Environment Transition Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Apr 13 '24 Migrating from AWS SageMaker to GCP Vertex AI: A Training Environment Transition # ai # aws # googlecloud # machinelearning 6  reactions Comments 2  comments 4 min read Optimizing Team Productivity: Key Front-End Coding Practices with TypeScript and React Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Mar 18 '24 Optimizing Team Productivity: Key Front-End Coding Practices with TypeScript and React # frontend # beginners # typescript # react 6  reactions Comments Add Comment 4 min read Automating Looker Studio Data Updates with S3 CSVs Processed through BigQuery Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Mar 17 '24 Automating Looker Studio Data Updates with S3 CSVs Processed through BigQuery # webdev # gcp # beginners # devops 4  reactions Comments Add Comment 5 min read Building AI Agent for Pokémon Data Analysis & Reporting with LangChain Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Feb 12 '24 Building AI Agent for Pokémon Data Analysis & Reporting with LangChain # ai # chatgpt # python # openai 16  reactions Comments 1  comment 12 min read Optimizing Docker Images and Conda Environments in SageMaker Training Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jan 31 '24 Optimizing Docker Images and Conda Environments in SageMaker Training # docker # devops # aws # beginners 1  reaction Comments Add Comment 5 min read Optimizing Docker Images with Multi-Stage Builds and Distroless Approach Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jan 7 '24 Optimizing Docker Images with Multi-Stage Builds and Distroless Approach # docker # devops # beginners # go 13  reactions Comments 1  comment 4 min read Strengthening Security with IAM Roles and OpenID Connect in GitHub Actions Deploy Workflows Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Jan 6 '24 Strengthening Security with IAM Roles and OpenID Connect in GitHub Actions Deploy Workflows # devops # beginners # aws # security 3  reactions Comments Add Comment 5 min read Implementing Real-Time Responses with LangChain and LLM Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 24 '23 Implementing Real-Time Responses with LangChain and LLM # ai # openai # webdev # python 11  reactions Comments Add Comment 3 min read Unanticipated Twist: Achieved All 12 AWS Certifications but Ineligible for Japan AWS All Certifications Engineers! Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Dec 4 '23 Unanticipated Twist: Achieved All 12 AWS Certifications but Ineligible for Japan AWS All Certifications Engineers! # aws # certification # webdev # development 2  reactions Comments Add Comment 4 min read Secure Connection between Lambda and RDS: Choosing and Implementing SSL/TLS Certificates Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Nov 23 '23 Secure Connection between Lambda and RDS: Choosing and Implementing SSL/TLS Certificates # webdev # aws # security # database 9  reactions Comments Add Comment 2 min read Enhancing Deployment Security through the Integration of IAM Roles and GitHub Actions Atsushi Suzuki Atsushi Suzuki Atsushi Suzuki Follow Nov 3 '23 Enhancing Deployment Security through the Integration of IAM Roles and GitHub Actions # webdev # aws # githubactions # security 3  reactions Comments Add Comment 3 min read loading... 💎 DEV Diamond Sponsors Thank you to our Diamond Sponsors for supporting the DEV Community Google AI is the official AI Model and Platform Partner of DEV Neon is the official database partner of DEV Algolia is the official search partner of DEV DEV Community — A space to discuss and keep up software development and manage your software career Home DEV++ Podcasts Videos DEV Education Tracks DEV Challenges DEV Help Advertise on DEV DEV Showcase About Contact Free Postgres Database Software comparisons Forem Shop Code of Conduct Privacy Policy Terms of Use Built on Forem — the open source software that powers DEV and other inclusive communities. Made with love and Ruby on Rails . DEV Community © 2016 - 2026. We're a place where coders share, stay up-to-date and grow their careers. Log in Create account
2026-01-13T08:49:11