POPULARITY
What are JavaScript promises, and why do you want to make them? Carl and Richard talk to Martine Dowden about all the various async options available in Javascript today, including Callbacks, Promises, Async/Await, and even ReactiveJS! Martine digs into some of the more remarkable features available, including grouping sync calls together so code is only called when they all complete, or the race option where only one needs to complete, and everything else is thrown away. Lots of power is available in Javascript today. Have you taken advantage of it?
What are JavaScript promises, and why do you want to make them? Carl and Richard talk to Martine Dowden about all the various async options available in Javascript today, including Callbacks, Promises, Async/Await, and even ReactiveJS! Martine digs into some of the more remarkable features available, including grouping sync calls together so code is only called when they all complete, or the race option where only one needs to complete, and everything else is thrown away. Lots of power is available in Javascript today. Have you taken advantage of it?
Ben Scheirman is back for part 2 of our interview on SwiftUI Migration. In this episode we focus on navigation, data handling and Swift packages.GuestBen Scheirman | Ben is an experienced software engineer from Houston, TX. Currently focused on Swift, iOS, Ruby, and Rust.Ben Scheirman (@bens@mastodon.xyz) - Mastodonsubdigital (Ben Scheirman)NSScreencast: Bite-sized Screencasts for iOS DevelopmentCombine SwiftAnnouncementsNeed help with your projects this year? BrightDigit has openings.Join Bushel BetaJoin our Brand New Patreon Page!LinksEpisode #288: Modern UIKit: Stack Navigation, Part 2pointfreeco/swift-perception: Observable tools, backported.brightdigit/Sublimation: Enable automatic discovery of your local development server on the fly. Turn your Server-Side Swift app from a mysterious vapor to a tangible solid server.krzysztofzablocki/LifetimeTracker: Find retain cycles / memory leaks sooner.siteline/swiftui-introspect: Introspect underlying UIKit/AppKit components from SwiftUIPresenting Coordinators - Soroush Khanlou on VimeoRelated EpisodesThe Great SwiftUI Migration - Part 1 with Ben ScheirmanSwiftUI Field Guide with Chris EidhofSOTU 2024 with Peter WithamSwiftUI Tips and Tricks with Craig ClaytonSwiftly Tooling with Pol Piella AbadiaIt Depends with Brandon WilliamsMy Taylor Deep Dish Swift Heroes World TourMobile System Design with Tjeerd in 't VeenThe Composable Architecture with Zev EisenbergBehind the Scenes of SwiftUI with Aviel GrossWWDC 2022 - SwiftUI and UIKit with Evan StoneSocial MediaEmailleo@brightdigit.comGitHub - @brightdigitTwitter BrightDigit - @brightdigitLeo - @leogdionLinkedInBrightDigitLeoPatreon - brightdigitCreditsMusic from https://filmmusic.io"Blippy Trance" by Kevin MacLeod (https://incompetech.com)License: CC BY (http://creativecommons.org/licenses/by/4.0/) (00:00) - Discussing Data Handling in Swift UI (01:22) - Observable Objects and View Models (04:20) - The Power of Previews in Swift UI (06:36) - Combining Combine and Async/Await (10:29) - Interfacing Between UIKit and Swift UI (17:12) - Challenges with Swift Package Manager Thanks to our monthly supporters Bertram Eber Edward Sanchez Satoshi Mitsumori Danielle Lewis Steven Lipton ★ Support this podcast on Patreon ★
Nesse episódio do podcast, Fernando Okuma conversa com Giovanni Bassi e Lucas Teles sobre Async Await, o que é, porque existe e tudo o que você precisa saber.
In this episode of the Geek Narrator Podcast, Kaivalya Apte engages in an invigorating discussion with Dominik Tornow, the founder and CEO of Resonate. They explore Durable Async-Await, an interesting concept in distributed systems world, along with other nuances of distributed programming. Dominik also talks about the development and execution of Resonate to simplify distributed systems with a focus on observability, usability, and it's future direction. The conversation concludes with a discussion of different concurrency models and the future of distributed systems Chapters: 00:00 Introduction and Guest Background 02:44 Understanding Async Await 10:25 Challenges with Current Async Await Model 12:53 Introducing Resonate: A Solution for Distributed Async Await 13:34 Practical Application: E-commerce Example 24:57 Understanding the Role of the Platform in Distributed Systems 30:12 Dealing with Partial Failures in Distributed Systems 39:44 Getting Started with Resonate 40:40 Introduction to Resonate and its Simplicity 41:09 Getting Started with Resonate: Installation and Setup 42:22 Understanding the Durability Aspect of Resonate 42:49 Exploring the Resonate Durable Promise Server 44:10 Scaling Up: Introducing Workers into the System 48:35 The Importance of Open Standards in Resonate 50:17 Exploring the Integration Capabilities of Durable Promises 01:04:31 Understanding the Role of Timeouts in Durable Promises 01:07:29 The Future of Resonate: Challenges and Upcoming Features 01:13:04 Understanding the Limitations of Durable Promises 01:14:51 Wrapping Up: Final Thoughts on Resonate and Durable Promises References: A note on Distributed Systems: https://scholar.harvard.edu/files/waldo/files/waldo-94.pdf Thinking in Distributed Systems: https://dtornow.gumroad.com/l/distributed-systems McCarthy's paper: https://www-formal.stanford.edu/jmc/recursive/recursive.html =============================================================================== For discount on the below courses: Appsync: https://appsyncmasterclass.com/?affiliateId=41c07a65-24c8-4499-af3c-b853a3495003 Testing serverless: https://testserverlessapps.com/?affiliateId=41c07a65-24c8-4499-af3c-b853a3495003 Production-Ready Serverless: https://productionreadyserverless.com/?affiliateId=41c07a65-24c8-4499-af3c-b853a3495003 Use the button, Add Discount and enter "geeknarrator" discount code to get 20% discount. =============================================================================== Follow me on Linkedin and Twitter: https://www.linkedin.com/in/kaivalyaapte/ and https://twitter.com/thegeeknarrator If you like this episode, please hit the like button and share it with your network. Also please subscribe if you haven't yet. Database internals series: https://youtu.be/yV_Zp0Mi3xs Popular playlists: Realtime streaming systems: https://www.youtube.com/playlist?list=PLL7QpTxsA4se-mAKKoVOs3VcaP71X_LA- Software Engineering: https://www.youtube.com/playlist?list=PLL7QpTxsA4sf6By03bot5BhKoMgxDUU17 Distributed systems and databases: https://www.youtube.com/playlist?list=PLL7QpTxsA4sfLDUnjBJXJGFhhz94jDd_d Modern databases: https://www.youtube.com/playlist?list=PLL7QpTxsA4scSeZAsCUXijtnfW5ARlrsN Stay Curios! Keep Learning!
Today's guest is a legend in the distributed systems community. Stephan Ewan was one of the creators of Apache Flink, a stream processing engine that took off with the rise of Apache Kafka. Stephan is now working on core transactional problems by building a durable async/await system that integrates with any programming language. It's designed to help with a number of difficult problems in transactional processing, including idempotency, dual writes, distributed locks, and even simple retries and cancellation. In this episode, we get into the details of how Restate works and what it does. We cover core use cases and how people are solving these problems today. Then, we dive into the core of the Restate engine to learn why they're building on a log-based system. Finally, we cover lessons learned from Stephan's time with Flink and what's next for Restate.
Games, Brrraaains & A Head-Banging Life bring you an interview with Mike Sorensen, the man behind alternative rock project, Async Await. Alternative rock project Async Await will unleash Irretrospective Part 1, the first of a trio of EPs, on the 15th of September 2023 via Chameleons Risen. Find out more here: https://asyncawait.bandcamp.com/music Website: https://gbhbl.com/ Ko-Fi (Buy us a coffee): https://ko-fi.com/gbhbl Big Cartel: https://gbhbl.bigcartel.com/ Facebook: https://www.facebook.com/GBHBL Twitter: https://twitter.com/GBHBL_Official Instagram: https://www.instagram.com/gbhbl/ TikTok: https://www.tiktok.com/@gbhbl Contact: gbhblofficial@gmail.com Soundcloud: https://soundcloud.com/gbhbl Spotify: https://open.spotify.com/show/5A4toGR0qap5zfoR4cIIBo Apple Podcasts: https://podcasts.apple.com/hr/podcast/the-gbhbl-podcasts/id1350465865 Intro/Outro music created by HexedRiffsStudios. YouTube: https://www.youtube.com/channel/UCKSpZ6roX36WaFWwQ73Cbbg Instagram: https://www.instagram.com/hexedriffsstudio
Matt Massicotte from Chime talks about the challenges he faced migrating the Async/Await and some misconceptions folks might have with asynchronous programming.Guest Matt Massicotte - @mattiem@mastodon.socialChime Related Links Episode 132 - Open and Extensible with Matt Massicotte Episode 98 - Async, Await and Combine with Marin Todorov Episode 81 - Awaiting for Async with Vincent Pradeilles Episode 155 - macOS Indie Deep Cuts with Aaron Vegh Related Links Preparing My App for Swift 6 by Cihat Gündüz Semaphore by Gwendal Roué What's the point of Primary Associated Types? Social MediaEmailleo@brightdigit.comGitHub - @brightdigitTwitter BrightDigit - @brightdigitLeo - @leogdionLinkedInBrightDigitLeoInstagram - @brightdigitPatreon - empowerappshowCreditsMusic from https://filmmusic.io"Blippy Trance" by Kevin MacLeod (https://incompetech.com)License: CC BY (http://creativecommons.org/licenses/by/4.0/) (00:00) - What's (Not) New with ExtensionKit (03:06) - Migrating to Async/Await (10:59) - Dealing with Older APIs (12:46) - On Swift 6 (18:59) - Locks and Semaphore (24:48) - Swift Proposals (27:31) - WWDC 2023 ★ Support this podcast on Patreon ★
More Than Just Code podcast - iOS and Swift development, news and advice
This week Tim sits down with Daniel Steinberg to talk about his work, teaching, and his new book The Curious Case of the Async Cafe. The book explores Swift concurrency. They also discuss Daniel's experience as a broadcast radio host, his upcoming Top 40 format app, has his thoughts on WWDC 2023. Special Guest: Daniel Steinberg.
More Than Just Code podcast - iOS and Swift development, news and advice
This week Jaime, Mark and Tim discuss the WWDC 2023 Lottery and what we expect to see at the June 5 WWDC 23 Keynote. The Bitcoin Whitepaper Is Hidden in Every Modern Copy of macOS. Should you enable Apple's Advanced Data Protection for iCloud. Apple Pay is now available in South Korea. Apple introduces Apple Pay Later. Apple Passwords Deserve An App. Ability to change iCloud password with only user's PIN code. Our WWDC 2023 predictions and wish list. iOS 17 Rumored to Drop Support for iPhone X, First-Generation iPad Pro, and More. Picks: 30th Anniversary Mac icons, Awesome newsletters for iOS and Swift developers in 2022, Visually learn Core Data in SwiftUI picture book, Understanding Swift Trailing Closure Syntax, Become A SwiftUI Navigation Pro, Syntax Color - How and why I present code the way I do.
Guest Antoine van der Lee Twitter @twannl SwiftLee SwiftLee Weekly Youtube Video: https://youtu.be/Zqwt6YyABkARelated Episodes Episode 136 - Posture Island with Jordi Bruin Episode 135 - Behind the Scenes of SwiftUI with Aviel Gross Episode 129 - NSSpain X with Luis Ascorbe Episode 124 - WWDC 2022 - Platforms State of the Union with Peter Witham Episode 119 - Swift Package Manager Super Powers with Marco Eidinger Episode 98 - Async, Await, and Combine with Marin Todorov Episode 107 - Expert Swift with Shai Mishali Related Links Existential any in Swift explained with code examples Some keyword in Swift: Opaque types explained with code examples RocketSim Stock Analyzer [Pitch] Introduce existential `any` “In addition to heap allocation and reference counting, code using existential types incurs pointer indirection and dynamic method dispatch that cannot be optimized away.” We talked about (00:00) - A Swiftly Year in Review with Antoine van der Lee (02:22) - Conferences in 2022 (11:43) - Async/Await and Combine (19:25) - Existential and Opaque Types (26:18) - Stock Analyzer (29:51) - RocketSim (40:13) - 2023 Wishes and Predictions Social MediaTwitter Leo - @leogdionTwitter BrightDigit - @brightdigitLinkedIn - @leogdionGitHub - @brightdigitGitHub - @leogdionTikTok - @brightdigitMastodon - @leogdion@c.imYoutube - @brightdigitCreditsMusic from https://filmmusic.io"Blippy Trance" by Kevin MacLeod (https://incompetech.com)License: CC BY (http://creativecommons.org/licenses/by/4.0/) ★ Support this podcast on Patreon ★
...here I come. KLM permitting.Getting ready to go to Swift Leeds.Finally received that Model-100 keyboard I kept on talking about. This thing is just amazing. More on that when I have used the device a bit more.Also, the video of my talk at 360iDev is now available too. And if you are still looking for training on aSync/Await, Daniel Steinberg will be in Amsterdam on November 7th.Now I am off to SwiftLeeds, if you are there too, come say hi, I'll most likely be near the Stream table.In this episode, I'm going to talk about:How to add Keyboard Shortcuts in SwiftUIMastering NavigationStack in SwiftUI. NavigationPathUsing the dismiss action from the SwiftUI environmentSwiftUI View That FitsAccordion in SwiftUI - DisclosureGroup ExplorationsApple's use of Swift and SwiftUI in iOS 16System Programming Interfaces (SPI) in Swift ExplainedMemory management for async/await and tasks in SwiftDeveloper guide on the iOS file systemAlternate App Icon Configuration in XcodeWhere View.task gets its main-actor isolation fromRunwayPut your mobile releases on autopilot and keep the whole team in sync throughout. More info on runway.team Lead Software Developer Learn best practices for being a great lead software developer.Support the showPlease rate me on Apple Podcasts. Send me feedback on SpeakPipeOr contact me through twitter or Mastodon: @appforce1@mastodon.cloudBuy me a Coffee or become a member of my podcast.My book: Being a Lead Software Developer
A problem has been eating at Adam: we use async/await in many languages and yet we're not so good at explaining the moving parts. Bryan and the Oxide Friends therapeutically explore the space.
Today Steve talks with Val Karpov, the lead maintainer of Mongoose, the most used database framework on NPM. Val gives a brief history of Promises and Async/Await, talks about how they work. We learn the reasoning behind the new functionality, and how it works in VUE. Be sure to check out Vals book and his blog articles on The Code Barbarian and Mastering JS. Sponsors Top End Devs Coaching | Top End Devs Links Mongoose Mastering Async/Await v1.1.0 The Code Barbarian | www.thecodebarbarian.com Mastering JS The Far Side Comic Strip by Gary Larson - Official Website | TheFarSide.com GitHub: vkarpov15 - Overview GitHub - vkarpov15/simple-promise: Simplified implementation of promises for learning purposes Overview - Nuxt 3 Essentials | Vue Mastery Picks Steve- Calvin & Hobbes Search Engine - by Bing Steve - Dad Jokes Val- Drink LMNT | Paleo-Keto Friendly Hydration | Zero Sugar Electrolytes Val- Watch Alexa & Katie | Netflix Official Site
More Than Just Code podcast - iOS and Swift development, news and advice
This week we cover the WWDC 2022 Keynote and Platform State of the Union. We're joined by Friend of the Show Joe Cieplinski. We fact check Sir Adam Beck and Steve Westgarth. We discuss Awesome lists and a calculator on the Lock Screen. We get into the new HIG, WWDC Keynote, iOS 16, Apple Watch and watchOS 9, Mac hardware and M2, macOS Ventura, iPadOS 16, Platforms State of the Union, Xcode Cloud, Swift, SwiftUI, System Experience, MapKit, WeatherKit, Live Text API and Data Scanner API. Picks: WWDC Community links updated for 2022, return of the UK iOS conferences, iOS Dev UK and Codemobile UK, Hello Swift Charts Special Guest: Joe Cieplinski.
Dominic Ullmann comes on the show to tell us how async / await works and the benefits of using it rather than making database calls synchronously. He talks about his recent experience converting a 500k+ line of code legacy application to use the async / await pattern. Too big to do by hand, he discusses using AsyncGenerator - an internal tool developed by the nHibernate project to auto-generate async versions of your methods. Sponsors Top End Devs Coaching | Top End Devs Links Transforming a .NET codebase to async/await using code generators Dominic Ullmann - Medium Picks Dominic- Star Trek: Picard (Official Site) Watch on Paramount Plus Shawn- Watch Stranger Things | Netflix Official Site Wai- Jabra Elite 7 Pro true wireless earbuds with Jabra MultiSensor Voice™
A wide ranging episode this time, including: How we're using Async/Await in our apps. Dave aspires to find an excuse for server side Swift (and Daniel offers to help) Dave is adding in-app purchases and subscriptions to his app GoVJ Daniel shows off TelemetryDeck's live signal stats
The Swift ecosystem is maturing every month. And with the latest releases by Apple containing Swift 5.6 is a big one in this regard.But mostly this week I am talking about stuff I enjoyed.Fetching Remote Data With Async/Await In Recent And Older System VersionsHow to modularize existing iOS projects using Swift Packagehttps://tuist.io/Swift.org Website is Now Open SourceSwift 5.6 Released!Advanced Swift: 5th edition · objc.ioEdit All In Scope | Xcode TipsPanic Blog » Nova SalePlease rate me on Apple Podcasts.Send me feedback on SpeakPipeOr contact me through twitterNewsletter, sign up!My book: Being a Lead Software DeveloperRunwayPut your mobile releases on autopilot and keep the whole team in sync throughout. Lead Software Developer Learn best practices for being a great lead software developer.Support the show (https://pod.fan/appforce1)
On this week's show, Daniel shares a cautionary tale from his week of development. Dave has some adventures with WebRTC and the prototype of his super-secret-project ("Magnum"!). We round up the show discussing how we're using Swift's new Async / Await features in our respective projects. Enjoy the show, Daniel
More Than Just Code podcast - iOS and Swift development, news and advice
We're back for 2022, to follow up on buying a MacBook Pro, and Apple suing NSO Group. Tim and Mark discuss migrating a Core Data app from Objective-C to SwiftUI. We discuss the 15th anniversary of the iPhone announcement, Uber parks its Watch app, and 9 to 5 writes about Watch app abandonment. Introducing Swift for Visual Studio Code. How do Verifiable Vaccination Records with SMART Health Cards Work? Wordle copycat creator apologizes for ripping off the popular free word game. Picks: Swift Playgrounds 4.0, Headfirst SwiftUI, Apple Design Resources (updated), Springboard: the secret history of the first real smartphone.
It's another JavaScript-filled episode! Today, the crew covers a couple of fundamental topics you need to understand if you want to be a JavaScript master. They also talk about show plans for the rest of the holiday season, graduating college AGAIN, and job promotions!News
En este episodio veremos cómo hacen algunos lenguajes de programación para simplificar el manejo asíncrono de código y cuales son sus ventajas y desventajas. El podcast comienza en el minuto: 17:17 El podcast finaliza en el minuto: 1:37:35 –––––––––––––––––––––––––––––– Para Contribuir PAYPAL : https://www.paypal.me/codetime Mercado Pago $100: https://mpago.la/1Zqo3G9 Mercado Pago $500: https://mpago.la/2MZ3oz3 Mercado Pago $1000: https://mpago.la/333qhPp –––––––––––––––––––––––––––––– Curso completo de desarrollo en Swift 4 desde cero https://www.udemy.com/curso-completo-de-swift-4-desde-cero/?couponCode=YOUTUBE_1 Curso de desarrollo de aplicaciones para iOS 11 desde cero https://www.udemy.com/desarrollo-de-aplicaciones-para-ios-11-desde-cero/?couponCode=YOUTUBE_1 –––––––––––––––––––––––––––––– Medios de contacto: Twitter / Telegram: @DavidGiordana Correo Electrónico: davidgiordana0@gmail.com Grupo en Telegram: https://t.me/joinchat/C-YEzBGu5Jh-mu8ejM2toA –––––––––––––––––––––––––––––– Canciones Utilizadas OP: Adventures by A Himitsu https://soundcloud.com/a-himitsu Creative Commons — Attribution 3.0 Unported— CC BY 3.0 Free Download / Stream: http://bit.ly/2Pj0MtT Music released by Argofox https://youtu.be/8BXNwnxaVQE Music promoted by Audio Library https://youtu.be/MkNeIUgNPQ8 ED: See You Tomorrow by GoSoundtrack http://www.gosoundtrack.com Creative Commons — Attribution 4.0 International — CC BY 4.0 Free Download / Stream: http://bit.ly/see-you-tomorrow Music promoted by Audio Library https://youtu.be/idlqqMHd0W4
En este episodio veremos cómo hacen algunos lenguajes de programación para simplificar el manejo asíncrono de código y cuales son sus ventajas y desventajas. –––––––––––––––––––––––––––––– Para Contribuir PAYPAL : https://www.paypal.me/codetime Mercado Pago $100: https://mpago.la/1Zqo3G9 Mercado Pago $500: https://mpago.la/2MZ3oz3 Mercado Pago $1000: https://mpago.la/333qhPp –––––––––––––––––––––––––––––– Curso completo de desarrollo en Swift 4 desde cero https://www.udemy.com/curso-completo-de-swift-4-desde-cero/?couponCode=YOUTUBE_1 Curso de desarrollo de aplicaciones para iOS 11 desde cero https://www.udemy.com/desarrollo-de-aplicaciones-para-ios-11-desde-cero/?couponCode=YOUTUBE_1 –––––––––––––––––––––––––––––– Medios de contacto: Twitter / Telegram: @DavidGiordana Correo Electrónico: davidgiordana0@gmail.com Grupo en Telegram: https://t.me/joinchat/C-YEzBGu5Jh-mu8ejM2toA –––––––––––––––––––––––––––––– Canciones Utilizadas OP: Adventures by A Himitsu https://soundcloud.com/a-himitsu Creative Commons — Attribution 3.0 Unported— CC BY 3.0 Free Download / Stream: http://bit.ly/2Pj0MtT Music released by Argofox https://youtu.be/8BXNwnxaVQE Music promoted by Audio Library https://youtu.be/MkNeIUgNPQ8 ED: See You Tomorrow by GoSoundtrack http://www.gosoundtrack.com Creative Commons — Attribution 4.0 International — CC BY 4.0 Free Download / Stream: http://bit.ly/see-you-tomorrow Music promoted by Audio Library https://youtu.be/idlqqMHd0W4
Sprint 3 is over and Kotaro has made progress on the UI with a complete app skeleton now linked together, but is still working on the core swipe animation. Meanwhile, Steve found notifications a little harder to setup in a SwiftUI environment than expected, but got the basic plumbing working when he wasn't editing the podcast. Aaron is the Sprint MVP as he updated the data managers so that Kanji can be retrieved from the database with ease and user stats saved on demand. All together, this means we are getting close to a working app! Plus, a discussion comparing Objective-C and Swift and the struggle to switch mental modes when you are learning new things. ## Sprint 3 Retrospective: - Kotaro - Swipe UI not done, yet. Working on choosing library or technique - Improved onboarding screens to initially load JSON into database - Completed linking areas of the app together - Aaron - Added accessing methods to kanji database like next, random kanji - Added stats tracking - Steve - Notifications wired up, but not fully implemented - Need proper settings for schedule - Lots of refactoring needed ## Topics Discussed: - Time management in a sprint - How Kotaro approaches game jams - Week 1: get features done - Week 2: fine tuning/bug fixes - Notifications - Where do you put authorization check? - SwiftUI modifiers for WindowGroup? - How to handle implementing delegate methods in Swift UI? - Structs vs Classes in SwiftUI - Structs for layouts and immutable values - Classes for data model and data state stuff in background - Objective-C vs. Swift - Obj-C doesn't slap you on the hand like Swift will - Swift enforces a kind of discipline - Toughest part is changing your mental model - if let and guard statements - Obj-C geared for reading and Swift geared towards writing? - Async/Await in Swift - Inside a closure, has to be wrapped in a Task - Future Features - Fling a card from one watch to another using nearby interactions framework ## Next Sprint: - Core mechanics of scheduling specific notifications and handle actions (Steve) - Know it - Don't know it - More Info (deep link with tap) - Dismiss - Mute for Today option - Next Kanji algorithm (Aaron) - Method on public database class to get the next kanji - Debug settings screen - Complications, if time - Swipe mechanic (Kotaro) - Main UI ## Links: - https://github.com/1amageek/Deck Intro music: "When I Hit the Floor", © 2021 Lorne Behrman. Used with permission of the artist.
Con la llegada de Xcode 13.2 beta hemos tenido una agradable sorpresa: el nuevo modelo de concurrencia funcionará desde iOS 13. Cuando Apple anunció en la WWDC que el nuevo modelo de concurrencia Async-Await, uno de los cambios más importantes del lenguaje desde sus inicios y una API con una potencia y versatilidad increíbles, no eran retrocompatible por debajo de iOS 15, supuso un mazazo para la moral de muchos desarrolladores deseosos de usarlo. Apple y la comunidad Open Source se pusieron manos a la obra una vez finalizada la especificación, y tras el lanzamiento de Xcode 13.2 sabemos de forma oficial que ahora el nuevo modelo de concurrencia será retrocompatible hasta iOS 13. Os explicamos por qué sucede y cómo se ha conseguido este hito. Descubre nuestro canal de Twitch en: twitch.tv/applecoding. Descubre nuestras ofertas para oyentes: Cursos en Udemy (con código de oferta) https://acoding.academy/cursos-udemy Apple Coding Academy https://acoding.academy Suscríbete a Apple Coding en nuestro Patreon https://patreon.com/applecoding. Canal de Telegram de Swift. Acceso al canal t.me/desarrollandoconswift. --------------- Consigue las camisetas oficiales de Apple Coding con los logos de Swift y Apple Coding así como todo tipo de merchadising como tazas o fundas. Tienda de merchandising de Apple Coding https://teespring.com/stores/acacademy. --------------- Tema musical: "For the Win" de "Two Steps from Hell", compuesto por Thomas Bergensen. Usado con permisos de fair use. Escúchalo en Apple Music https://itunes.apple.com/es/album/for-the-win/573729318?i=573729656 o Spotify https://open.spotify.com/track/34x22hY9CKf3ZoPjQwZSgc.
Guest Shai Mishali - Twitter @freak4pcGitHub @freak4pc Youtube Video - https://youtu.be/wQNs2ii-zsIRelated Episodes Episode 39 - Managing Code Quality with Anne Cahalan Episode 92 - WWDC 2021 - Platforms State of the Union with Peter Witham Episode 98 - Async, Await, and Combine with Marin Todorov Episode 106 - Mac Dev in 2021 with Daniel Jalkut Related Links Expert Swift by Marin Bencevic, Ray Fix, Shai Mishali and Ehab Yosry Amer Modern Concurrency in Swift - Async/Await, Task Groups & Actors by Marin Todorov Combine: Asynchronous Programming with Swift by Marin Todorov, Shai Mishali and Florent Pillet WWDC 2020 - Refine Objective-C frameworks for Swift Combine Community SponsorsRevenueCatUsing RevenueCat to power your in-app purchase infrastructure solves: For edge cases you don't even know you have Protects from outages your team hasn't seen yet Saves you time on future maintenance As well as new features released by the app stores Empowers your marketing teams with clean, reliable IAP data All that to say, RevenueCat handles all the headaches of in-app purchases so you can get back to building your app. Try RevenueCat today at revenuecat.com.Show Notes What is Expert Swift? How to be pragmatic about expert features on your team? How can you improve your use of Codable in Swift? What are ways to improve Objective-C for Swift consumption? How can you hide certain Objective-C APIs from Swift? What makes for good API design? How to version your API? How Functional Reactive Programming fits? Future of Combine and Reactive in an Async and Await ... and another book Shai is helping with concurrentlySocial MediaEmailleo@brightdigit.comGitHub - @brightdigitTwitter BrightDigit - @brightdigitLeo - @leogdionRedditLeo - /u/leogdionLinkedInBrightDigitLeoInstagram - @brightdigitPatreon - empowerappshowCreditsMusic from https://filmmusic.io"Blippy Trance" by Kevin MacLeod (https://incompetech.com)License: CC BY (http://creativecommons.org/licenses/by/4.0/)★ Support this podcast on Patreon ★
Bienvenue dans le deux-cent-quarante-et-unième épisode de CacaoCast! Dans cet épisode, Philippe Casgrain et Philippe Guitard discutent des sujets suivants: Apple - Les annonces du 14 septembre Procès Apple/Epic - En détail App Store - Au Japon App Store - Aux États-Unis CSAM dans iOS - Est-ce une bonne idée? Async / await - Pour les OS plus anciens Myst - Pour les nostalgiques Ecoutez cet épisode
Bienvenidos a un nuevo episodio
Guest Marin Todorov - underplot.com Twitter - @icanzilb Blog - trycombine.com Podcast Survey - https://brightdigit.typeform.com/to/yVZN2gITYoutube Video - https://youtu.be/H6vW7f66zyUQuestions for Episode 100 HereRelated Episodes Episode 81 - Awaiting for Async with Vincent Pradeilles Episode 72 - Functional Programming with Daniel Steinberg Episode 47 - Practical Combine with Donny Wals Episode 19 - WWDC 2019 - SwiftUI with Jason Anderson Related Links Timelane 2 What about Swift actors and Combine How should profiling new Swift Concurrency APIs look like? Combine: Asynchronous programming with Swift Thoughts on Combine in an async/await world Using Combine for Your App's Asynchronous Code Leo Dion - The Multi-Threaded Asynchronous Parallel World of Swift from UIKonf 2020 from 360iDev 2019 Hacking with Swift - How to document your project with DocC DocC2HTML WWDC Videos Meet AsyncSequence Swift concurrency: Behind the scenes Explore structured concurrency in Swift Meet async/await in Swift Protect mutable state with Swift actors Discover concurrency in SwiftUI Meet DocC documentation in Xcode SponsorsLinodeA cloud experience developers love Great for Setting Up a Backend for Your App Variety of VM Configurations and Settings Reasonable Pricing Starting at $5 per month Global Data Centers The Developer Cloud Simplified Try it today with this special link:https://www.linode.com/?r=97e09acbd5d304d87dadef749491d245e71c74e7Check out OrchardNest Today:https://orchardnest.comShow Notes How does Async and Await work with Reactive Programming? When is Combine a good fit rather then Async and Await? Why does Async and Await require new OSes? How do Actors work? What do Actors replace? What secret project Marin worked on at Apple? Social MediaEmailleo@brightdigit.comGitHub - @brightdigitTwitter BrightDigit - @brightdigitLeo - @leogdionRedditLeo - /u/leogdionLinkedInBrightDigitLeoInstagram - @brightdigitPatreon - empowerappshowCreditsMusic from https://filmmusic.io"Blippy Trance" by Kevin MacLeod (https://incompetech.com)License: CC BY (http://creativecommons.org/licenses/by/4.0/)★ Support this podcast on Patreon ★
More Than Just Code podcast - iOS and Swift development, news and advice
We fact check MKBHD, Air Tags, Visual Codes app, and Lavell Crawford. The iPhone shipped 14 years ago and WebKit was released 20 years ago. 100M iPhone 12 were purchased. Wrapping completion handlers into async API. GitHub Copilot · Your AI pair programmer. What's new in SwiftUI. Using SwiftUI's AsyncImage to render remote images from URLs. What's New in iOS 15 for App Store Optimization. Picks: WWDC21Lounges, WWDC 2021 Viewing Guide, Swift Package Index. Yes, the episode was renamed.
Это первый спецвыпуск подкаста про WWDC. Рассказываем кратко что показали в сессиях, на что обратить внимание, кому может быть полезно. Будет еще несколько таких выпусков по разным темам. Темы этого выпуска: – Swift – async/await – StoreKit 2 – AppStore Events – AppStore custom product pages 20+ сессий за 15 минут :) Ссылки: StoreKit(00:00) Meet StoreKit 2(00:24) https://developer.apple.com/videos/play/wwdc2021/10114/ Support customers and handle refunds(01:00) https://developer.apple.com/videos/play/wwdc2021/10175/ Manage in-app purchases on your server(01:22) https://developer.apple.com/videos/play/wwdc2021/10174/ AppStore(01:42) Meet in-app events on the App Store(01:47) https://developer.apple.com/videos/play/wwdc2021/10171/ Get ready to optimize your App Store product page(02:19) https://developer.apple.com/videos/play/wwdc2021/10295/ What's new in App Analytics(03:06) https://developer.apple.com/videos/play/wwdc2021/10115/ Meet privacy-preserving ad attribution(03:39) https://developer.apple.com/videos/play/wwdc2021/10033/ Swift(04:18) What‘s new in Swift(04:22) https://developer.apple.com/videos/play/wwdc2021/10192/ Ultimate application performance survival guide(07:52) https://developer.apple.com/videos/play/wwdc2021/10181/ ARC in Swift: Basics and beyond(08:11) https://developer.apple.com/videos/play/wwdc2021/10216/ Streamline your localized strings(08:40) https://developer.apple.com/videos/play/wwdc2021/10221/ Write a DSL in Swift using result builders(09:19) https://developer.apple.com/videos/play/wwdc2021/10253/ Symbolication: Beyond the basics(09:51) https://developer.apple.com/videos/play/wwdc2021/10211/ Meet async/await in Swift(10:29) https://developer.apple.com/videos/play/wwdc2021/10132/ Protect mutable state with Swift actors(11:54) https://developer.apple.com/videos/play/wwdc2021/10133/ Explore structured concurrency in Swift(12:31) https://developer.apple.com/videos/play/wwdc2021/10134/ Meet AsyncSequence(13:26) https://developer.apple.com/videos/play/wwdc2021/10058/ Use async/await with URLSession(14:38) https://developer.apple.com/videos/play/wwdc2021/10095/ Swift concurrency: Behind the scenes(15:04) https://developer.apple.com/videos/play/wwdc2021/10254/ Всем пока, на улице жарко, охлаждайтесь
Keeping it short this week. So much content. It is amazing. :)Async/Await vs. Combine articles:Async/Await and the Future of CombineThoughts on Combine in an async/await world – Donny WalsBottom sheet articles:Meet the new bottom sheet in iOS 15 | Filip NěmečekBottom sheet on iOS15 using UISheetPresentationController and Xcode 13 | Mateusz MatrejekPresenting sheets with UIKit using a UISheetPresentationControllerOther articles:What's new in Xcode 13? – Hacking with SwiftPull to refresh in SwiftUI with refreshable | SarunwWWDC videos I think you should see:Build apps that share data through CloudKit and Core Data - WWDC 2021 - Videos - Apple DeveloperARC in Swift: Basics and beyond - WWDC 2021 - Videos - Apple DeveloperDistribute apps in Xcode with cloud signing - WWDC 2021 - Videos - Apple DeveloperUltimate application performance survival guide - WWDC 2021 - Videos - Apple DeveloperPlease rate me on Apple Podcasts.Send me feedback on SpeakPipeOr contact me through twitterMy website appforce1.netNewsletter, sign up!My book: Being a Lead Software Developer Lead Software Developer Learn best practices for being a great lead software developer.Practical Core Data by Donny Wals Learn Core Data from the ground up using new and modern techniques.Practical Combine by Donny Wals Buy Donny' book on combine and support my podcast. Now that's a great deal.Support the show (https://pod.fan/appforce1)
Guest Peter Witham - Compileswift.com - Twitter Crossover EpisodeCompileSwift - Episode - Keynote ReviewPodcast Survey - https://brightdigit.typeform.com/to/yVZN2gITYoutube Video - https://youtu.be/6IEvRlyu904Related Episodes Episode 24 - Continuous Integration with Kyle Newsome Episode 81 - Awaiting for Async with Vincent Pradeilles Episode 84 - Automation Fun with Jared Sorge Episode 91 - Fastlane with Josh Holtz Related Links Xcode Cloud Beta Signup Test-Driven Development in Swift by Gio Lodi Josh Shaffer's Clarification on Async/Await and Combine SponsorsAppFiguresThe tools you need to monitor, optimize, and get more downloads.There's a lot of demand for apps right now, so it's a really great time to give it a try. It's easier than you think.The guys who run it are indie devs who had a need and created a tool. 11 years later, it's an all-in-one platform for developers who want to get more downloads and make more money with their apps.The folks at Appfigures have easy step-by-step guides and intuitive tools to do that, which many indie developers are using to get more downloads:https://appfigures.com/resources/asoAlso check out our episode with CEO Ariel Michaeli:https://share.transistor.fm/s/15b7ff63Try Appfigures for free, and if you like it use the special link to get 30% off for the next 3 months:https://appfigures.com/account/upgrade?p=empower3030RevenueCatUsing RevenueCat to power your in-app purchase infrastructure solves: For edge cases you don't even know you have Protects from outages your team hasn't seen yet Saves you time on future maintenance As well as new features released by the app stores Empowers your marketing teams with clean, reliable IAP data All that to say, RevenueCat handles all the headaches of in-app purchases so you can get back to building your app. Try RevenueCat today at revenuecat.com.360iDev - August 22 -25 (Hybrid) The Leading indie iOS/Mac (and watchOS, and tvOS) Developer conference It's all about Community and Code! Four days of hands-on training, amazing sessions, and the great community. All Swift. Available Online or In-Person Use the promo code EmpowerApps to get 25% off registration.Xcode Cloud How does it differ from Xcode Server and Serverbots? Is there an on-premises version? Can the Workflows be edited via web or text? How does it compare to other services? Where's the REST API for Xcode Cloud How much does it cost? What's is going to be the relationship with Fastlane? How do pull requests, discussions, etc... interface with Git Repo Services (GitHub, Gitlab)? Xcode... Swift Playgrounds on the iPad Fully Build and Upload Apps from the iPad How does sharing code with Xcode on the Mac work? How does it interface with Git Repos? Can Preview Apps in Full Screen Sounds perfect for testing and prototyping Async/Await and Actors See episode with Vincent on async and await Xcode includes tools for refactoring What's the relationship with Combine? Uncertainty with Actors SwiftUI - Year 3 Used in various macOS apps (Maps, Photos, etc...) Continued improvements to List Table added to macOS Specific Platforms for modifiers Pull-to-Refresh One liner New Material Styles and UI Focus API Focus and Notifications More Granular control over notifications How do notification scores work? What can we do about notification spam? Widgets New Extra Large Widget More Stacks Widget Suggestions iPad Home Screen Widgets Peter's rant on Widgets Also... ScreenTime API, SharePlay API, AR Object Capture, and the death of Objective-CSocial MediaEmailleo@brightdigit.comGitHub - @brightdigitTwitter BrightDigit - @brightdigitLeo - @leogdionRedditLeo - /u/leogdionLinkedInBrightDigitLeoInstagram - @brightdigitPatreon - empowerappshowCreditsMusic from https://filmmusic.io"Blippy Trance" by Kevin MacLeod (https://incompetech.com)License: CC BY (http://creativecommons.org/licenses/by/4.0/)★ Support this podcast on Patreon ★
An announcement about another newsletter this week. A few interesting articles. Lets not forget aSync/aWait. But most of all… a whole lot of people are launching things this week.GraphQL in Swift | Swift with MajidCustom HUDs in SwiftUI | Five StarsHow-to: Create a zip file on iOS using Swift without 3rd party dependencies | RecoursiveCorner Radius, Shadows, and Borders [View, Button, Image Examples]Swift Weekly BriefFuture of iOS App Development, Live!Donny monday morning tweetPlease rate me on Apple Podcasts.Send me feedback on SpeakPipeOr contact me through twitterMy website appforce1.netNewsletter, sign up!Podcast PartyMy book: Being a Lead Software DeveloperCore Data Workshop by Donny Wals Gain practical experience with Core Data from the author of Practical Core Data. Support the show (https://github.com/sponsors/AppForce1)Practical Core Data by Donny Wals Learn Core Data from the ground up using new and modern techniques.Sendy, send newsletters, 100x cheaper A self hosted email newsletter, send emails via Amazon SES without sacrificing deliverability.
Uma das grandes novidades do Swift 6 serão as novas funcionalidades relacionadas à Promises. Nesse episódio, nossos hosts conversam sobre o que está por vir e falam sobre boas práticas ao escrever métodos assíncronos. Siga-nos no Twitter: twitter.com/BuildFailedCast Links mencionados: - Async/await Proposal: https://github.com/apple/swift-evolution/blob/main/proposals/0296-async-await.md - Avoiding Callback Hell in Swift: https://swiftrocks.com/avoiding-callback-hell-in-swift - Getting started with async/await in Swift: https://www.enekoalonso.com/articles/getting-started-with-async-await-in-swift
More Than Just Code podcast - iOS and Swift development, news and advice
We fact check iPad storage and WWDC security. Follow up tackles App Library, and CarPlay wireless receivers. We discuss publishing Mac apps inside and outside the Mac App Store. Experimenting with Swift async and await pattern using Xcode. Uber’s near disaster jumping onto Swift in the early days (spoilers, without doing due diligence.) MacBook Pro, iMac, Mac Pro, and iPhone Rumors, Best of CES 2021. Picks: Linux on M1, Tips and Tricks to Set Up Your Apple M1 for Development, KFC Mascot Col. Sanders Talks Malbolge Programming on General Hospital, SwiftUI Jam, iOS Dev Happy Hour, MacEffects Custom CLEAR Case for Apple Macintosh Mac SE & SE/30.
In this second part of our interview with Tim Condon, we follow up on Async/Await and Vapor 5, Amazon and server-side Swift, hosting, frameworks, development, and what we look forward to in 2021.
In this first episode of Season 2, I discuss how to configure Eslint to recognize async/await in a Node.js/Express application. --- Send in a voice message: https://anchor.fm/maria-campbell/message Support this podcast: https://anchor.fm/maria-campbell/support
- Diferença entre Assíncrono e não Assíncrono - Conceito de Promises no JavaScript - resolve - reject - then - catch - O que é o Async e para que serve? - O que é o Await e para que serve? (Só pode ser utilizado dentro de uma função Async) - Porque usar Async/Await ao invés de Promise? Acompanhe as live de segunda a sexta às 21:41 em https://youtube.com/souforce Siga-nos no Instagram @iFernandoSousa & @Anellinv & @souforce Blog: https://souforce.cloud Cursos: https://souforce.cloud/cursos Youtube: https://youtube.com/souforce Telegram: https://t.me/souforce
Daniel Caldas is calling from Singapore. He currently works as a software engineer for Zendesk and has also worked in Portugal and Germany. He has worked primarily on the frontend with Node and JavaScript. He talks about his experience testing JavaScript, how he got started with Jest, and why he likes it. Daniel finds Jest very easy to use and straightforward. He likes that Jest has a single reference page for documentation. He feels that Jest is largely complete out of the box and has only made a small add on to get rid of Boilerplate in some tests. Daniel explains what a snapshot, how they work, and why he prefers fixtures over factories. He gives tips on how to set up your tests so that they are easy to follow. He finds it helps to structure your scenarios in the fixture description. He talks about gotchas in Jest. While Jest is largely easy to use, Jest has been around for a while and breaking changes do happen. It’s important to check what version your code base is using. While there are a lot of free sources around Jest online, he advises listeners to stick as close to the official documentation as possible, or to people associated with Jest, and to read recent stuff. As for conventions, Jest has pretty much everything out of the box and the built in conventions make it easy to navigate any project that uses Jest. Daniel talks about some of the features available in Jest, converting observables into promises, and tricks he has used to make tests easier to put together. He talks about his method for keeping his mocks and stubs straight. He advises listeners to have some organizational rules, such as starting the imports alphabetically, and to always follow those rules. He talks about how he runs tests and what environments he uses. While Jest is normally used for unit testing, Daniel has also used it for end to end tests, and he talks about his experience with an open source project doing both types in Jest. Daniel concludes the show by advising listeners starting with JavaScript and frontend, don’t think too much about the library you’re going to use because you’ll probably end up using Jest. It’s more important to have unit tests and a proper testing framework at the beginning than anything else. He also invites listeners to check out his open source work on Github. Panelists Aimee Knight AJ O’Neal Charles Max Wood **To receive your 40% OFF coupon for Manning Publications (good for all our products in all formats) visit us on Facebook - click on "Send A Message"and type "YES"** Guest Danile Caldas Sponsors Sentry | Use the code “devchat” for $100 credit Links Zendesk Jest React Babel ESLint Async/Await Cypress React-d3-graph Unrevealed tips for unit testing with Jest Picks Aimee Knight: The Difference Between Fault Tolerance, High Availability, and Disaster Recovery AJ O’Neal: Rubin Report with Lindsay Shepherd Charles Max Wood: White Christmas Holiday Inn Daniel Caldas: Home Alone
Daniel Caldas is calling from Singapore. He currently works as a software engineer for Zendesk and has also worked in Portugal and Germany. He has worked primarily on the frontend with Node and JavaScript. He talks about his experience testing JavaScript, how he got started with Jest, and why he likes it. Daniel finds Jest very easy to use and straightforward. He likes that Jest has a single reference page for documentation. He feels that Jest is largely complete out of the box and has only made a small add on to get rid of Boilerplate in some tests. Daniel explains what a snapshot, how they work, and why he prefers fixtures over factories. He gives tips on how to set up your tests so that they are easy to follow. He finds it helps to structure your scenarios in the fixture description. He talks about gotchas in Jest. While Jest is largely easy to use, Jest has been around for a while and breaking changes do happen. It’s important to check what version your code base is using. While there are a lot of free sources around Jest online, he advises listeners to stick as close to the official documentation as possible, or to people associated with Jest, and to read recent stuff. As for conventions, Jest has pretty much everything out of the box and the built in conventions make it easy to navigate any project that uses Jest. Daniel talks about some of the features available in Jest, converting observables into promises, and tricks he has used to make tests easier to put together. He talks about his method for keeping his mocks and stubs straight. He advises listeners to have some organizational rules, such as starting the imports alphabetically, and to always follow those rules. He talks about how he runs tests and what environments he uses. While Jest is normally used for unit testing, Daniel has also used it for end to end tests, and he talks about his experience with an open source project doing both types in Jest. Daniel concludes the show by advising listeners starting with JavaScript and frontend, don’t think too much about the library you’re going to use because you’ll probably end up using Jest. It’s more important to have unit tests and a proper testing framework at the beginning than anything else. He also invites listeners to check out his open source work on Github. Panelists Aimee Knight AJ O’Neal Charles Max Wood **To receive your 40% OFF coupon for Manning Publications (good for all our products in all formats) visit us on Facebook - click on "Send A Message"and type "YES"** Guest Danile Caldas Sponsors Sentry | Use the code “devchat” for $100 credit Links Zendesk Jest React Babel ESLint Async/Await Cypress React-d3-graph Unrevealed tips for unit testing with Jest Picks Aimee Knight: The Difference Between Fault Tolerance, High Availability, and Disaster Recovery AJ O’Neal: Rubin Report with Lindsay Shepherd Charles Max Wood: White Christmas Holiday Inn Daniel Caldas: Home Alone
Daniel Caldas is calling from Singapore. He currently works as a software engineer for Zendesk and has also worked in Portugal and Germany. He has worked primarily on the frontend with Node and JavaScript. He talks about his experience testing JavaScript, how he got started with Jest, and why he likes it. Daniel finds Jest very easy to use and straightforward. He likes that Jest has a single reference page for documentation. He feels that Jest is largely complete out of the box and has only made a small add on to get rid of Boilerplate in some tests. Daniel explains what a snapshot, how they work, and why he prefers fixtures over factories. He gives tips on how to set up your tests so that they are easy to follow. He finds it helps to structure your scenarios in the fixture description. He talks about gotchas in Jest. While Jest is largely easy to use, Jest has been around for a while and breaking changes do happen. It’s important to check what version your code base is using. While there are a lot of free sources around Jest online, he advises listeners to stick as close to the official documentation as possible, or to people associated with Jest, and to read recent stuff. As for conventions, Jest has pretty much everything out of the box and the built in conventions make it easy to navigate any project that uses Jest. Daniel talks about some of the features available in Jest, converting observables into promises, and tricks he has used to make tests easier to put together. He talks about his method for keeping his mocks and stubs straight. He advises listeners to have some organizational rules, such as starting the imports alphabetically, and to always follow those rules. He talks about how he runs tests and what environments he uses. While Jest is normally used for unit testing, Daniel has also used it for end to end tests, and he talks about his experience with an open source project doing both types in Jest. Daniel concludes the show by advising listeners starting with JavaScript and frontend, don’t think too much about the library you’re going to use because you’ll probably end up using Jest. It’s more important to have unit tests and a proper testing framework at the beginning than anything else. He also invites listeners to check out his open source work on Github. Panelists Aimee Knight AJ O’Neal Charles Max Wood **To receive your 40% OFF coupon for Manning Publications (good for all our products in all formats) visit us on Facebook - click on "Send A Message"and type "YES"** Guest Danile Caldas Sponsors Sentry | Use the code “devchat” for $100 credit Links Zendesk Jest React Babel ESLint Async/Await Cypress React-d3-graph Unrevealed tips for unit testing with Jest Picks Aimee Knight: The Difference Between Fault Tolerance, High Availability, and Disaster Recovery AJ O’Neal: Rubin Report with Lindsay Shepherd Charles Max Wood: White Christmas Holiday Inn Daniel Caldas: Home Alone
Summary Brandon Minnick of Microsoft continues with his list of common mistakes in async/await programming and his suggestions. Details Don't return awaits (sometimes), ConfigureAwait(false), synchronization context, what about API applications with no UI, and .NET Core is different too. Do I need async if I my threadpool never runs out of threads, consider scaling in the future. New in .NET Core 3, ValueTask (if method has an await but might not use it), heaps and stacks, how to find Brandon. Full show notes
Summary Brandon Minnick of Microsoft talks about common mistakes when using async/await, and offers solutions. Details Who he is, what he does. What asynchronous programming is, calling code that will return an answer in the future; multithreading. How to make a synchronous method asynchronous, freeing the calling thread; what the compiler does with async code - awaits, switch statements, move next and try catch. Calling async from sync, don't use .Result() it's a blocking call, .Result() throws an aggregate exception; use .GetAwaiter().GetResult(). Full show notes
Valeri Karpov is a maintainer on Mongoose, has started a few companies, and works for a company called Booster Fuels. Today’s topic debugging with Async/Await. The panel talks about some of the challenges of debugging with Async. AJ, however, has never encountered the same problems, so he shares his debugging method. Valeri differentiates between .catch vs try...catch, and talks about why he prefers .catch. There are two ways to handle all errors in an async function without leading to an unhandled promise rejection. The first is to wrap the entire body of the async function in a try...catch, has some limitations. Calling an async function always returns a promise, so the other approach is calling .catch on the promise to handle any errors that occur in that function body. One of the key differences is if you return a promise within an async function, and that return promise is wrapped in a try...catch, the catch block won’t get called if that promise is rejected, whereas if you call .catch on the promise that the function returns, you’ll actually catch that error. There are rare instances where this can get tricky and unintuitive, such as where you have to call new promise and have resolve and reject, and you can get unexpected behavior. The panel discusses Valeri’s current favorite JS interview question, which is, “Given a stream, implement a function called ‘stream to promise’ that, given a stream, returns a promise that resolves to the concatenation of all the data chunks emitted by the stream, or rejects if the stream emits an error event.” It’s really simple to get this qustion right, and really simple to get it wrong, and the difference can be catastrophic. AJ cautions listeners to never use the data event except in the cases Val was talking about, only use the readable event. The conversation turns to the function of a readable event. Since data always pushes data, when you get a readable event, it’s up to you to call read inside the function handler, and then you get back a chunk of data, call read again and again until the read returns null. When you use readable, you are in control and you avoid piling functions into RAM. In addition, the right function will return true or false to let you know if the buffer is full or not. This is a way to mix imperative style into a stream. The next discussion topics are the differences between imperative style and reactive style and how a waits and promises work in a normal four loop. A wait suspends the execution of a function until the promise is resolved. Does a wait actually stop the loop or is it just transpiling like a promise and it doesn’t stop the loop. AJ wrote a module called Batch Async to be not as greedy as promise.all but not as limited as other options. The JavaScript panelists talk about different async iterators they’ve used, such as Babel. They discuss the merits of Babel, especially since baseline Android phones (which a significant portion of the population of the world uses) run UC Browser that doesn’t support Babel, and so a significant chunk of the population of the world. On the other hand, if you want to target a large audience, you need to use Babel. Since frameworks in general don’t handle async very well, the panel discusses ways to mitigate this. They talk about different frameworks like Vue, React, and Express and how they support async functions. They discuss why there is no way for you to actually cancel an async option in an actual case, how complex canceling is, and what you are really trying to solve for in the cancellation process. Canceling something is a complex problem. Valeri talks about his one case where he had a specific bug that required non-generic engineering to solve, and cancelling actually solved something. When AJ has come across cancellation issues, it’s very specific to that use case. The rest of the panelists talk about their experiences with having to cancel something. Finally, they talk about their experience with async generator functions. A generator is a function that lets you enter into the function later. This makes sense for very large or long running data sets, but when you have a bounded items, don’t complicate your code this way. When an async generator function yields, you explicitly need to call next in order for it to pick up again. If you don’t call ‘next’, it’s essentially cancelled. Remember that object.keys and object.values are your friends. Panelists Christopher Buecheler AJ O’Neal Charles Max Wood With special guest: Valeri Karpov Sponsors The DevEd Podcast Sentry use the code “devchat” for 2 months free on Sentry’s small plan Adventures in DevOps Links Mongoose Express 5 Node Streams Pull Streams Masteringjs.io MongoDB Babel HTML Webpack Vue Express RxJS Console.log Json.stringify Batchasync.js How to Write Batch Async Functions Follow DevChatTV on Facebook and Twitter Picks AJ O’Neal: Ethan Garofolo YouTube Christopher Buecheler: Functional Design Patterns for Express.js Charles Max Wood: Microsoft Ignite Maxcoders.io Valeri Karpov: Follow Valeri on Twitter @code_barbarian and Github @vkarpov15 Masteringjs.io Jurassic Park: A Novel
Valeri Karpov is a maintainer on Mongoose, has started a few companies, and works for a company called Booster Fuels. Today’s topic debugging with Async/Await. The panel talks about some of the challenges of debugging with Async. AJ, however, has never encountered the same problems, so he shares his debugging method. Valeri differentiates between .catch vs try...catch, and talks about why he prefers .catch. There are two ways to handle all errors in an async function without leading to an unhandled promise rejection. The first is to wrap the entire body of the async function in a try...catch, has some limitations. Calling an async function always returns a promise, so the other approach is calling .catch on the promise to handle any errors that occur in that function body. One of the key differences is if you return a promise within an async function, and that return promise is wrapped in a try...catch, the catch block won’t get called if that promise is rejected, whereas if you call .catch on the promise that the function returns, you’ll actually catch that error. There are rare instances where this can get tricky and unintuitive, such as where you have to call new promise and have resolve and reject, and you can get unexpected behavior. The panel discusses Valeri’s current favorite JS interview question, which is, “Given a stream, implement a function called ‘stream to promise’ that, given a stream, returns a promise that resolves to the concatenation of all the data chunks emitted by the stream, or rejects if the stream emits an error event.” It’s really simple to get this qustion right, and really simple to get it wrong, and the difference can be catastrophic. AJ cautions listeners to never use the data event except in the cases Val was talking about, only use the readable event. The conversation turns to the function of a readable event. Since data always pushes data, when you get a readable event, it’s up to you to call read inside the function handler, and then you get back a chunk of data, call read again and again until the read returns null. When you use readable, you are in control and you avoid piling functions into RAM. In addition, the right function will return true or false to let you know if the buffer is full or not. This is a way to mix imperative style into a stream. The next discussion topics are the differences between imperative style and reactive style and how a waits and promises work in a normal four loop. A wait suspends the execution of a function until the promise is resolved. Does a wait actually stop the loop or is it just transpiling like a promise and it doesn’t stop the loop. AJ wrote a module called Batch Async to be not as greedy as promise.all but not as limited as other options. The JavaScript panelists talk about different async iterators they’ve used, such as Babel. They discuss the merits of Babel, especially since baseline Android phones (which a significant portion of the population of the world uses) run UC Browser that doesn’t support Babel, and so a significant chunk of the population of the world. On the other hand, if you want to target a large audience, you need to use Babel. Since frameworks in general don’t handle async very well, the panel discusses ways to mitigate this. They talk about different frameworks like Vue, React, and Express and how they support async functions. They discuss why there is no way for you to actually cancel an async option in an actual case, how complex canceling is, and what you are really trying to solve for in the cancellation process. Canceling something is a complex problem. Valeri talks about his one case where he had a specific bug that required non-generic engineering to solve, and cancelling actually solved something. When AJ has come across cancellation issues, it’s very specific to that use case. The rest of the panelists talk about their experiences with having to cancel something. Finally, they talk about their experience with async generator functions. A generator is a function that lets you enter into the function later. This makes sense for very large or long running data sets, but when you have a bounded items, don’t complicate your code this way. When an async generator function yields, you explicitly need to call next in order for it to pick up again. If you don’t call ‘next’, it’s essentially cancelled. Remember that object.keys and object.values are your friends. Panelists Christopher Buecheler AJ O’Neal Charles Max Wood With special guest: Valeri Karpov Sponsors The DevEd Podcast Sentry use the code “devchat” for 2 months free on Sentry’s small plan Adventures in DevOps Links Mongoose Express 5 Node Streams Pull Streams Masteringjs.io MongoDB Babel HTML Webpack Vue Express RxJS Console.log Json.stringify Batchasync.js How to Write Batch Async Functions Follow DevChatTV on Facebook and Twitter Picks AJ O’Neal: Ethan Garofolo YouTube Christopher Buecheler: Functional Design Patterns for Express.js Charles Max Wood: Microsoft Ignite Maxcoders.io Valeri Karpov: Follow Valeri on Twitter @code_barbarian and Github @vkarpov15 Masteringjs.io Jurassic Park: A Novel
Valeri Karpov is a maintainer on Mongoose, has started a few companies, and works for a company called Booster Fuels. Today’s topic debugging with Async/Await. The panel talks about some of the challenges of debugging with Async. AJ, however, has never encountered the same problems, so he shares his debugging method. Valeri differentiates between .catch vs try...catch, and talks about why he prefers .catch. There are two ways to handle all errors in an async function without leading to an unhandled promise rejection. The first is to wrap the entire body of the async function in a try...catch, has some limitations. Calling an async function always returns a promise, so the other approach is calling .catch on the promise to handle any errors that occur in that function body. One of the key differences is if you return a promise within an async function, and that return promise is wrapped in a try...catch, the catch block won’t get called if that promise is rejected, whereas if you call .catch on the promise that the function returns, you’ll actually catch that error. There are rare instances where this can get tricky and unintuitive, such as where you have to call new promise and have resolve and reject, and you can get unexpected behavior. The panel discusses Valeri’s current favorite JS interview question, which is, “Given a stream, implement a function called ‘stream to promise’ that, given a stream, returns a promise that resolves to the concatenation of all the data chunks emitted by the stream, or rejects if the stream emits an error event.” It’s really simple to get this qustion right, and really simple to get it wrong, and the difference can be catastrophic. AJ cautions listeners to never use the data event except in the cases Val was talking about, only use the readable event. The conversation turns to the function of a readable event. Since data always pushes data, when you get a readable event, it’s up to you to call read inside the function handler, and then you get back a chunk of data, call read again and again until the read returns null. When you use readable, you are in control and you avoid piling functions into RAM. In addition, the right function will return true or false to let you know if the buffer is full or not. This is a way to mix imperative style into a stream. The next discussion topics are the differences between imperative style and reactive style and how a waits and promises work in a normal four loop. A wait suspends the execution of a function until the promise is resolved. Does a wait actually stop the loop or is it just transpiling like a promise and it doesn’t stop the loop. AJ wrote a module called Batch Async to be not as greedy as promise.all but not as limited as other options. The JavaScript panelists talk about different async iterators they’ve used, such as Babel. They discuss the merits of Babel, especially since baseline Android phones (which a significant portion of the population of the world uses) run UC Browser that doesn’t support Babel, and so a significant chunk of the population of the world. On the other hand, if you want to target a large audience, you need to use Babel. Since frameworks in general don’t handle async very well, the panel discusses ways to mitigate this. They talk about different frameworks like Vue, React, and Express and how they support async functions. They discuss why there is no way for you to actually cancel an async option in an actual case, how complex canceling is, and what you are really trying to solve for in the cancellation process. Canceling something is a complex problem. Valeri talks about his one case where he had a specific bug that required non-generic engineering to solve, and cancelling actually solved something. When AJ has come across cancellation issues, it’s very specific to that use case. The rest of the panelists talk about their experiences with having to cancel something. Finally, they talk about their experience with async generator functions. A generator is a function that lets you enter into the function later. This makes sense for very large or long running data sets, but when you have a bounded items, don’t complicate your code this way. When an async generator function yields, you explicitly need to call next in order for it to pick up again. If you don’t call ‘next’, it’s essentially cancelled. Remember that object.keys and object.values are your friends. Panelists Christopher Buecheler AJ O’Neal Charles Max Wood With special guest: Valeri Karpov Sponsors The DevEd Podcast Sentry use the code “devchat” for 2 months free on Sentry’s small plan Adventures in DevOps Links Mongoose Express 5 Node Streams Pull Streams Masteringjs.io MongoDB Babel HTML Webpack Vue Express RxJS Console.log Json.stringify Batchasync.js How to Write Batch Async Functions Follow DevChatTV on Facebook and Twitter Picks AJ O’Neal: Ethan Garofolo YouTube Christopher Buecheler: Functional Design Patterns for Express.js Charles Max Wood: Microsoft Ignite Maxcoders.io Valeri Karpov: Follow Valeri on Twitter @code_barbarian and Github @vkarpov15 Masteringjs.io Jurassic Park: A Novel
We review the new features in the Rust 1.37 release and give shout-outs to all the volunteers who have helped make Rustacean Station so far. Get in touch with us if you’d like to be interviewed, propose a topic, or help out! Twitter: @rustaceanfm Discord: Rustacean Station Github: @rustacean-station Email: hello@rustacean-station.org Timestamps & referenced resources [@01:21] - Referring to enum variants through type aliases [@02:55] - Built-in Cargo support for vendored dependencies [@04:08] - Using unnamed const items for macros [@06:41] - Profile-guided optimization [@09:06] - Choosing a default binary in Cargo projects [@10:17] - #[repr(align(N))] on enums [@11:06] - Library changes [@16:48] - New sponsors of Rust infrastructure Async/Await in Libra Core [@19:58] - async/await stabilization in Rust 1.39 [@22:08] - Miscellaneous new features [@26:06] - Thanking the people who make Rustacean Station possible! Credits Intro Theme: Aerocity Audio Editing: Jon Gjenset Hosting Infrastructure: Jon Gjengset Show Notes: Ben Striegel Hosts: Jon Gjenset & Ben Striegel
In this Hasty Treat, Scott and Wes discuss different error handling strategies. Sentry - Sponsor If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code “tastytreat”. Show Notes 2:07 - Try / Catch This can be done at call time or inside the function 4:10 - Higher Order Function Makes a function that returns a new function which in turn calls your original function (but with a .catch chained on) 7:46 - Handle the error when you call it Use async/await but chain a .catch onto the end 9:03 - Node.js Unhandled Rejection Event process.on('unhandledRejectionEvent', callback) 9:40 - What do do with those errors Send to error tracking service Possible to give the user a reference number Display good error text to user Tweet us your tasty treats! Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets
Кто ходит в гости к нам в подкаст, тот поступает мудро. В данном выпуске у нас было двое мудрецов, которые, надеемся, превратятся в постоянных посетителей. С ними мы расставили точки над темой Full-Stack, немного поспорили про необходимость async-await, погрузились в тему Fat Controllers. Ссылки: Demystifying Async/Await: https://chrisstclair.co.uk/demystifying-async-await/?utm_source=csharpdigest&utm_medium=email&utm_campaign=featuredО том, как из C# я перешел в Elixir/Phoenix: https://habr.com/en/post/435796/When to use C# LINQ with Query Syntax over Method Syntax: https://michaelscodingspot.com/when-to-use-c-linq-with-query-syntax-over-method-syntax/?utm_source=csharpdigest&utm_medium=email&utm_campaign=featuredVisualizing thin ASP.NET Controllers via SOLID Principles: https://makingloops.com/visualizing-thin-controllers/?utm_source=csharpdigest&utm_medium=email&utm_campaign=featured6 types of code you shouldn’t have inside your .NET controllers: https://makingloops.com/fat-controller-causes/?utm_source=csharpdigest&utm_medium=email&utm_campaign=featured Скачать: https://dotnetmore.ru/wp-content/uploads/2019/04/DotNetAndMore-11-FatControllers.mp3 https://dotnetmore.ru/wp-content/uploads/2019/04/DotNetAndMore-11-FatControllers.mp3
Кто ходит в гости к нам в подкаст, тот поступает мудро. В данном выпуске у нас было двое мудрецов, которые, надеемся, превратятся в постоянных посетителей. С ними мы расставили точки над темой Full-Stack, немного поспорили про необходимость async-await, погрузились в тему Fat Controllers. Ссылки: Demystifying Async/Await: https://chrisstclair.co.uk/demystifying-async-await/?utm_source=csharpdigest&utm_medium=email&utm_campaign=featured О том, как из C# я перешел в … Continue reading "#11 Full Stack разработка, Async-await в 2019 году, Fat Controllers и не только"
En Octobre dernier, Benoit Viguier (https://twitter.com/b_viguier) donnait une conférence au Forum PHP (https://event.afup.org/forumphp2018/) sur l'asynchrone en PHP (https://www.youtube.com/watch?v=7TvIIt4c8uY). Nous avons profité de ce rendez-vous pour qu'il nous aide à démystifier cette problématique qui semble à première vue destiné au monde du JavaScript. Benoit nous raconte son parcours avant de devenir lead développeur chez M6Web, les problématiques qu'il cherche à résoudre avec son équipe et ce qui l'a conduit à explorer l'asynchrone en PHP. Benoit et son équipe ont open-sourcé une librairie pour simplifier le développement asynchrone en PHP, vous pouvez la découvrir, l'utiliser et y contribuer en suivant ce lien: https://github.com/M6Web/Tornado Voici les questions que nous avons posées à Benoit: - Est-ce que tu peux te présenter ? - Est-ce que tu peux nous raconter ton role de Lead Développeur chez M6Web ? - On est aujourd'hui au Forum PHP où tu donnes une conférence sur les générateurs et la programmation asynchrone, pourquoi as-tu souhaité aborder ce sujet devant la communauté ? - Est-ce que tu peux nous présenter les grandes lignes de cette conférence ? - L'event loop quand on y pense, on pense plutôt à l'event loop intégré via NodeJS à JavaScript, est-ce que tu nous expliquer comment marcherait l'event loop en PHP ? - Le single threading de PHP n'est pas un problème ? - Est-ce que comme en JavaScript on retrouve l'enfer des callbacks qui existait avant l'arrivée de Async Await ? - En PHP, on a une équivalente solution type Async Await ? - Peux-tu nous présenter des cas d'utilisation d'asynchrone chez M6Web en PHP ? - Lors de ta conférence, tu disais qu'on avait besoin de pratique pour passer à l'asynchrone, peux-tu nous en dire plus là dessus ? - Si on a des taches à lancer en asynchrone, on pense peut être en premier lieu au message queuing, est-ce que l'asynchrone est une solution annexe au message queuing ? - Comment peut on tester unitairement ses processus asynchrone ?
Добрый день уважаемые слушатели. Представляем новый выпуск подкаста RWpod. В этом выпуске: Ruby An Update on Bundler 2.0, Skip devise trackable module for API calls to avoid users table getting locked и Implementing Google Authenticator in active admin JavaScript Introducing reCAPTCHA v3: the new way to stop bots, Why React's new Hooks API is a game changer и Why JWT shouldn't be stored in Local Storage The Evolution of Async JavaScript: From Callbacks, to Promises, to Async/Await, An introduction to plotly.js — an open source graphing library и Ervy - bring charts to terminal
In this episode Wes and Scott discuss their favorite top 18 new things in Javascript. Freshbooks - Sponsor Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the “How did you hear about us?” section. Mlab - Sponsor mLab is the leading Database-as-a-Service for MongoDB, powering over half a million deployments worldwide. Wes and Scott use mLab to host their own databases as well as take care of backups, security, scaling and performance. Try out a sandbox database on your next mongoDB project → https://mlab.com. Show Notes 6:02 Const / Let 10:00 Template literals / Template strings Toggle Quotes Extension Prettier 14:29 Object destructuring 21:28 Array destructuring 27:25 Function Param destructuring 30:14 Promises Wes’ Async + Await Talk 36:24 Async + Await Syntax Ep 028 - Async + Await 40:59 Object Computed Property Name 43:42 Object Method Syntax Links Denver Startup Week ××× SIIIIICK ××× PIIIICKS ××× Scott: Red Bull VC One World Final 2018 Wes: Jura Impressa Shameless Plugs Scott’s Better Javascript Course Wes 1: CSS Grid in 45 Minutes Wes 2: Async + Await Talk Tweet us your tasty treats! Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets
Panel: Charles Max Wood AJ O’Neal Aimee Knight Special Guests: Valeri Karpov In this episode, the panel talks with programmer, Valerie Karpov from Miami, Florida. He is quite knowledgeable with many different programs, but today’s episode they talk specifically about Async/Await and Promise Generators. Val is constantly busy through his different endeavors and recently finished his e-book, “Mastering Async/Await.” Check-out Val’s social media profiles through LinkedIn, GitHub, Twitter, and more. Show Topics: 1:20 – Val has been on previous episodes back in 2013 & 2016. 1:37 – Val’s background. He is very involved with multiple companies. Go checkout his new book! 2:39 – Promises generators. Understand Promises and how things sync with Promises. Val suggests that listeners have an integrated understanding of issues like error handling. 3:57 – Chuck asks a question. 6:25 – Aimee’s asks a question: “Can you speak to why someone would want to use Async/Await?” 8:53 – AJ makes comments. 10:09 – “What makes an Async/Await not functional?” – Val 10:59 – “What’s wrong with Promises or Async/Await that people don’t like it?” - AJ 11:25 – Val states that he doesn’t think there really is anything wrong with these programs it just depends on what you need it for. He thinks that having both gives the user great power. 12:21 – AJ’s background is with Node and the Python among other programs. 12:55 – Implementing Complex Business Logic. 15:50 – Val discusses his new e-book. 17:08 – Question from Aimee. 17:16 – AJ answers question. Promises should have been primitive when it was designed or somewhat event handling. 17:46 – The panel agrees that anything is better than Call Backs. 18:18 – Aimee makes comments about Async/Await. 20:08 – “What are the core principles of your new e-book?” – Chuck 20:17 – There are 4 chapters and Val discusses, in detail, what’s in each chapter. 22:40 – There could be some confusion from JavaScript for someone where this is their first language. Does Async/Await have any affect on the way you program or does anything make it less or more confusing in the background changes? 24:30 – Val answers the before-mentioned question. Async/Await does not have anyway to help with this (data changes in the background). 25:36 – “My procedural code, I know that things won’t change on me because it is procedural code. Is it hard to adjust to that?” – AJ 26:01 – Val answers the question. 26:32 – Building a webserver with Python. 27:31 – Aimee asks a question: “Do you think that there are cases in code base, where I would want to use Promises? Not from a user’s perspective, but what our preferences are, but actual performance. Is there a reason why I would want to use both or be consistent across the board?” 28:17 – Val asks for some clarification to Aimee’s question. 29:14 – Aimee: “My own personal preference is consistency. Would I want to use Promises in ‘x’ scenario and/or use Async/Await in another situation?” 32:28 – Val and AJ are discussing and problem solving different situations that these programs 33:05 – “When would you not want to use Async/Await?” – AJ 33:25 – Val goes through the different situations when he would not use Async/Await. 33:44 – Chuck is curious about other features of Async/Await and asks Val. 36:40 – Facebook’s Regenerator 37:11 – AJ: “Back in the day, people would be really concerned with JavaScript’s performance even with Chrome.” He continues his thoughts on this topic. 38:11 – Val answers the AJ’s question. 39:10 – Duck JS probably won’t include generators. 41:18 – Val: “Have anyone used Engine Script before?” The rest of the panel had never heard of this before. 42:09 – Windows Scripting Host 42:56 – Val used Rhino in the past. 43:40 – Val: “Going back to the web performance question...” 47:08 – “Where do you see using Async/Await the most?” – Chuck 47:55 – Val uses Async/Await for everything on the backend because it has made everything so easy for him. 48:23 – “So this is why you really haven’t used Web Pack?” – AJ 49:20 – Let’s go to Aimee’s Picks! 50:18 – AJ’s story, first, before we get to Promises. 54:44 – Let’s transition to Promises Finally. 54:53 – Val talks about Promises Finally. 59:20 – Picks Links: JavaScript Valeri Karpov’s GitHub Valeri Karpov’s Twitter Valeri Karpov’s LinkedIn New E-Book: Mastering Async/Await Node Python Windows Scripting Host Facebook’s Regenerator Rhino Sponsors: Kendo UI Sentry Digital Ocean Picks: Charles YouTube Video “IKEA” by Coulton Conference Amazon Prime Day Aimee Blog Post Article AJ IKEA https://ppl.family Val https://www.npmjs.com/package/serve http://bit.ly/ultimate-skiing http://asyncawait.net/jsjabber New E-Book: Mastering Async/Await
Panel: Charles Max Wood AJ O’Neal Aimee Knight Special Guests: Valeri Karpov In this episode, the panel talks with programmer, Valerie Karpov from Miami, Florida. He is quite knowledgeable with many different programs, but today’s episode they talk specifically about Async/Await and Promise Generators. Val is constantly busy through his different endeavors and recently finished his e-book, “Mastering Async/Await.” Check-out Val’s social media profiles through LinkedIn, GitHub, Twitter, and more. Show Topics: 1:20 – Val has been on previous episodes back in 2013 & 2016. 1:37 – Val’s background. He is very involved with multiple companies. Go checkout his new book! 2:39 – Promises generators. Understand Promises and how things sync with Promises. Val suggests that listeners have an integrated understanding of issues like error handling. 3:57 – Chuck asks a question. 6:25 – Aimee’s asks a question: “Can you speak to why someone would want to use Async/Await?” 8:53 – AJ makes comments. 10:09 – “What makes an Async/Await not functional?” – Val 10:59 – “What’s wrong with Promises or Async/Await that people don’t like it?” - AJ 11:25 – Val states that he doesn’t think there really is anything wrong with these programs it just depends on what you need it for. He thinks that having both gives the user great power. 12:21 – AJ’s background is with Node and the Python among other programs. 12:55 – Implementing Complex Business Logic. 15:50 – Val discusses his new e-book. 17:08 – Question from Aimee. 17:16 – AJ answers question. Promises should have been primitive when it was designed or somewhat event handling. 17:46 – The panel agrees that anything is better than Call Backs. 18:18 – Aimee makes comments about Async/Await. 20:08 – “What are the core principles of your new e-book?” – Chuck 20:17 – There are 4 chapters and Val discusses, in detail, what’s in each chapter. 22:40 – There could be some confusion from JavaScript for someone where this is their first language. Does Async/Await have any affect on the way you program or does anything make it less or more confusing in the background changes? 24:30 – Val answers the before-mentioned question. Async/Await does not have anyway to help with this (data changes in the background). 25:36 – “My procedural code, I know that things won’t change on me because it is procedural code. Is it hard to adjust to that?” – AJ 26:01 – Val answers the question. 26:32 – Building a webserver with Python. 27:31 – Aimee asks a question: “Do you think that there are cases in code base, where I would want to use Promises? Not from a user’s perspective, but what our preferences are, but actual performance. Is there a reason why I would want to use both or be consistent across the board?” 28:17 – Val asks for some clarification to Aimee’s question. 29:14 – Aimee: “My own personal preference is consistency. Would I want to use Promises in ‘x’ scenario and/or use Async/Await in another situation?” 32:28 – Val and AJ are discussing and problem solving different situations that these programs 33:05 – “When would you not want to use Async/Await?” – AJ 33:25 – Val goes through the different situations when he would not use Async/Await. 33:44 – Chuck is curious about other features of Async/Await and asks Val. 36:40 – Facebook’s Regenerator 37:11 – AJ: “Back in the day, people would be really concerned with JavaScript’s performance even with Chrome.” He continues his thoughts on this topic. 38:11 – Val answers the AJ’s question. 39:10 – Duck JS probably won’t include generators. 41:18 – Val: “Have anyone used Engine Script before?” The rest of the panel had never heard of this before. 42:09 – Windows Scripting Host 42:56 – Val used Rhino in the past. 43:40 – Val: “Going back to the web performance question...” 47:08 – “Where do you see using Async/Await the most?” – Chuck 47:55 – Val uses Async/Await for everything on the backend because it has made everything so easy for him. 48:23 – “So this is why you really haven’t used Web Pack?” – AJ 49:20 – Let’s go to Aimee’s Picks! 50:18 – AJ’s story, first, before we get to Promises. 54:44 – Let’s transition to Promises Finally. 54:53 – Val talks about Promises Finally. 59:20 – Picks Links: JavaScript Valeri Karpov’s GitHub Valeri Karpov’s Twitter Valeri Karpov’s LinkedIn New E-Book: Mastering Async/Await Node Python Windows Scripting Host Facebook’s Regenerator Rhino Sponsors: Kendo UI Sentry Digital Ocean Picks: Charles YouTube Video “IKEA” by Coulton Conference Amazon Prime Day Aimee Blog Post Article AJ IKEA https://ppl.family Val https://www.npmjs.com/package/serve http://bit.ly/ultimate-skiing http://asyncawait.net/jsjabber New E-Book: Mastering Async/Await
Panel: Charles Max Wood AJ O’Neal Aimee Knight Special Guests: Valeri Karpov In this episode, the panel talks with programmer, Valerie Karpov from Miami, Florida. He is quite knowledgeable with many different programs, but today’s episode they talk specifically about Async/Await and Promise Generators. Val is constantly busy through his different endeavors and recently finished his e-book, “Mastering Async/Await.” Check-out Val’s social media profiles through LinkedIn, GitHub, Twitter, and more. Show Topics: 1:20 – Val has been on previous episodes back in 2013 & 2016. 1:37 – Val’s background. He is very involved with multiple companies. Go checkout his new book! 2:39 – Promises generators. Understand Promises and how things sync with Promises. Val suggests that listeners have an integrated understanding of issues like error handling. 3:57 – Chuck asks a question. 6:25 – Aimee’s asks a question: “Can you speak to why someone would want to use Async/Await?” 8:53 – AJ makes comments. 10:09 – “What makes an Async/Await not functional?” – Val 10:59 – “What’s wrong with Promises or Async/Await that people don’t like it?” - AJ 11:25 – Val states that he doesn’t think there really is anything wrong with these programs it just depends on what you need it for. He thinks that having both gives the user great power. 12:21 – AJ’s background is with Node and the Python among other programs. 12:55 – Implementing Complex Business Logic. 15:50 – Val discusses his new e-book. 17:08 – Question from Aimee. 17:16 – AJ answers question. Promises should have been primitive when it was designed or somewhat event handling. 17:46 – The panel agrees that anything is better than Call Backs. 18:18 – Aimee makes comments about Async/Await. 20:08 – “What are the core principles of your new e-book?” – Chuck 20:17 – There are 4 chapters and Val discusses, in detail, what’s in each chapter. 22:40 – There could be some confusion from JavaScript for someone where this is their first language. Does Async/Await have any affect on the way you program or does anything make it less or more confusing in the background changes? 24:30 – Val answers the before-mentioned question. Async/Await does not have anyway to help with this (data changes in the background). 25:36 – “My procedural code, I know that things won’t change on me because it is procedural code. Is it hard to adjust to that?” – AJ 26:01 – Val answers the question. 26:32 – Building a webserver with Python. 27:31 – Aimee asks a question: “Do you think that there are cases in code base, where I would want to use Promises? Not from a user’s perspective, but what our preferences are, but actual performance. Is there a reason why I would want to use both or be consistent across the board?” 28:17 – Val asks for some clarification to Aimee’s question. 29:14 – Aimee: “My own personal preference is consistency. Would I want to use Promises in ‘x’ scenario and/or use Async/Await in another situation?” 32:28 – Val and AJ are discussing and problem solving different situations that these programs 33:05 – “When would you not want to use Async/Await?” – AJ 33:25 – Val goes through the different situations when he would not use Async/Await. 33:44 – Chuck is curious about other features of Async/Await and asks Val. 36:40 – Facebook’s Regenerator 37:11 – AJ: “Back in the day, people would be really concerned with JavaScript’s performance even with Chrome.” He continues his thoughts on this topic. 38:11 – Val answers the AJ’s question. 39:10 – Duck JS probably won’t include generators. 41:18 – Val: “Have anyone used Engine Script before?” The rest of the panel had never heard of this before. 42:09 – Windows Scripting Host 42:56 – Val used Rhino in the past. 43:40 – Val: “Going back to the web performance question...” 47:08 – “Where do you see using Async/Await the most?” – Chuck 47:55 – Val uses Async/Await for everything on the backend because it has made everything so easy for him. 48:23 – “So this is why you really haven’t used Web Pack?” – AJ 49:20 – Let’s go to Aimee’s Picks! 50:18 – AJ’s story, first, before we get to Promises. 54:44 – Let’s transition to Promises Finally. 54:53 – Val talks about Promises Finally. 59:20 – Picks Links: JavaScript Valeri Karpov’s GitHub Valeri Karpov’s Twitter Valeri Karpov’s LinkedIn New E-Book: Mastering Async/Await Node Python Windows Scripting Host Facebook’s Regenerator Rhino Sponsors: Kendo UI Sentry Digital Ocean Picks: Charles YouTube Video “IKEA” by Coulton Conference Amazon Prime Day Aimee Blog Post Article AJ IKEA https://ppl.family Val https://www.npmjs.com/package/serve http://bit.ly/ultimate-skiing http://asyncawait.net/jsjabber New E-Book: Mastering Async/Await
Jared and Murphy talk about a selection of news, Async / Await in Reason, Reason on the Server, and a new editor plugin! --- Support this podcast: https://anchor.fm/reason-town/support
Panel: Nader Dabit Sia Karamalegos Special Guests: Tracy Lee, Jay Phelps, and Ben Lesh In this episode, the React Round Up panelists talk to Tracy Lee, Jay Phelps, and Ben Lesh about RxJS and redux-observable. Tracy, Jay, and Ben are the RxJS ThisDot Media group and where they do support contracts for RxJS, staff augmentation, developer relations, and put on events. They talk about what observables are and what they are trying to solve, the most common use cases for getting started with observables, and what Promises and Async/Await are. They also touch on what they like most about RxJS, how versatile it is, and more! In particular, we dive pretty deep on: Tracy, Jay, and Ben intro ThisDot RxJS What is an observable? What problems are observables trying to solve? JavaScript Learn observables Making everything functional in the library Means of encapsulating values you want pushed at you later on Downside to observables Little bit of a learning curve Most common uses for getting started with observables Can Promises and Async/Await be mixed with observables? What do Promises and Async/Await allow you to do? Defer function Await values coming in from observables What do you like about RxJS? Allows you to work with all different languages RxJS is very versatile ngrx “Rx all the things” What inspired you to write Redux observable? Redux-observable RxJS docs Epics And much, much more! Links: ThisDot JavaScript RxJS ngrx Redux Redux-observable RxJS docs @ladyleet Tracy’s GitHub @BenLesh Ben’s Medium Ben’s GitHub @_jayphelps Jay’s GitHub RxJS GitHub @ThisDotLabs Sponsors Kendo UI Digital Ocean FreshBooks Picks: Nader JSCamp Sia Sprint by Jake Knapp Tracy Fashionnova.com Francesca’s Jay deno applitools Ben react-streams StackBlitz
Panel: Nader Dabit Sia Karamalegos Special Guests: Tracy Lee, Jay Phelps, and Ben Lesh In this episode, the React Round Up panelists talk to Tracy Lee, Jay Phelps, and Ben Lesh about RxJS and redux-observable. Tracy, Jay, and Ben are the RxJS ThisDot Media group and where they do support contracts for RxJS, staff augmentation, developer relations, and put on events. They talk about what observables are and what they are trying to solve, the most common use cases for getting started with observables, and what Promises and Async/Await are. They also touch on what they like most about RxJS, how versatile it is, and more! In particular, we dive pretty deep on: Tracy, Jay, and Ben intro ThisDot RxJS What is an observable? What problems are observables trying to solve? JavaScript Learn observables Making everything functional in the library Means of encapsulating values you want pushed at you later on Downside to observables Little bit of a learning curve Most common uses for getting started with observables Can Promises and Async/Await be mixed with observables? What do Promises and Async/Await allow you to do? Defer function Await values coming in from observables What do you like about RxJS? Allows you to work with all different languages RxJS is very versatile ngrx “Rx all the things” What inspired you to write Redux observable? Redux-observable RxJS docs Epics And much, much more! Links: ThisDot JavaScript RxJS ngrx Redux Redux-observable RxJS docs @ladyleet Tracy’s GitHub @BenLesh Ben’s Medium Ben’s GitHub @_jayphelps Jay’s GitHub RxJS GitHub @ThisDotLabs Sponsors Kendo UI Digital Ocean FreshBooks Picks: Nader JSCamp Sia Sprint by Jake Knapp Tracy Fashionnova.com Francesca’s Jay deno applitools Ben react-streams StackBlitz
We discuss the asynchronous nature of JavaScript, the old-person method of callbacks, the evolution to Promises, and then the shiny new car of Async/Await. We whine about the learning curve of all three approaches and try to figure out why so many blog posts teach it all wrong.
We discuss the asynchronous nature of JavaScript, the old-person method of callbacks, the evolution to Promises, and then the shiny new car of Async/Await. We whine about the learning curve of all three approaches and try to figure out why so many blog posts teach it all wrong.
.NET Core is fast, but does how you write code in .NET Core help with performance? Carl and Richard talk to Ben Watson about the 2nd Edition of his HIgh Performance .NET Code book. The original edition came out in 2014 when .NET Core was just beginning (ASync/Await were brand new too!) and so an update is welcome. Ben explains that there is no one right way to write high performing code, every implementation is on a case-by-case basis. You need to benchmark and instrument to understand where bottlenecks are, then measure performance carefully before you start trying to improve. But there are a bunch of options available to improve performance!Support this podcast at — https://redcircle.com/net-rocks/donations
.NET Core is fast, but does how you write code in .NET Core help with performance? Carl and Richard talk to Ben Watson about the 2nd Edition of his HIgh Performance .NET Code book. The original edition came out in 2014 when .NET Core was just beginning (ASync/Await were brand new too!) and so an update is welcome. Ben explains that there is no one right way to write high performing code, every implementation is on a case-by-case basis. You need to benchmark and instrument to understand where bottlenecks are, then measure performance carefully before you start trying to improve. But there are a bunch of options available to improve performance!Support this podcast at — https://redcircle.com/net-rocks/donations
Космонавты, усаживайтесь поудобнее на борт, смотрите в иллюминаторы: пролетим мимо планеты JavaScript, поговорим про возможный async/await ад и про symbols в es6; также посетим дизайнерскую туманность, обсудим градиенты в дизайне и посмотрим на пример очень крипового, но прикольно сайта; а также вернемся обратно к нам в РФ и подведем итоги недели вместе с Роскомнадзором. ПАГНАААААЛЛЕЕ!!!1 Поддержите наш проект на Patreon: uWebDesign на Patreon. Наши патроны: Timur Ikramov, Alexander, Владимир, Konstantin Goncharov, gamexxx, Alex Redleks, Sergey Shashin, Виталий Ходачинский, l18k10, Ivan Merzavcev, Nick Miller, Titus, Sergey Tyan, Artem Komarov, Matt, Misha Khokhlov, Vladimir Anokhin, Альберт Житваев, Anton Fray. Тему к следующему выпуску предлагайте здесь: Тему к подкасту #164. «Первая тема» В США провели первую в мире успешную пересадку пениса и мошонки. Пробуйте супер хостинг SmartApe!↓ «Дизайн» Дизайним с градиентами. Дизайн веб-студии ВЕБК. Подбор палитры по фото. «Светские новости» Эдуард Успенский подал заявление в Следственный комитет и Генпрокуратуру из-за новых серий «Простоквашино». Creative Commons представила официальный перевод на русский язык набора лицензий Creative Commons 4.0. geektimes.ru → geektimes.com. «Разработка» Как избежать async/await ада. Symbols в ES6. «Житуха» Блокировка в тишине. С темами к выпуску можно ознакомиться по ссылке: Темы к подкасту #163. Спасибо всем за внимание, дай вам Бог на эти коротенькие семь дней!
Космонавты, с праздником вас, с Днем Космонавтики! Мы в этот раз вам кучу разработки привезли: хитрости ES6, использование async/await, сложности бытия junior-разработчиков; еще обсудили очередной дизайн сайта в нашей рубрике «линч недели» и поговорили про светские новости: готовимся к возможной блокировке Telegram. Поддержите наш проект на Patreon: uWebDesign на Patreon. Наши патроны: Timur Ikramov, Alexander, Владимир, Konstantin Goncharov, gamexxx, Alex Redleks, Sergey Shashin, Виталий Ходачинский, l18k10, Ivan Merzavcev, Nick Miller, Titus, Sergey Tyan, Artem Komarov, Matt, Misha Khokhlov, Vladimir Anokhin, Альберт Житваев, Anton Fray. Тему к следующему выпуску предлагайте здесь: Тему к подкасту #162. «Первая тема» Новый вирус-вымогатель шифрует файлы на компьютерах пользователей и требует поиграть в PUBG. Настоящие самцы хостятся на SmartApe!↓ «Дизайн» Дизайн официального сайта Влада Сташевского. «Светские новости» Telegram объяснил Роскомнадзору техническую невозможность передать ключи шифрования в ФСБ. «ICQ ничем не уступает»: что в России говорят о возможной блокировке Telegram. Роскомнадзор подал иск на блокировку Telegram. Бывшие сотрудники «Акеллы» проиграли суд за торговый знак «Корсары». Пальмы и ностальгия: экскурсия по Вайс-Сити. «Без Meltdown и Spectre»: Intel перепроектирует свои процессоры. К своему 50-летию Intel выпускает коллекционные компьютеры на базе своих х86 процессоров, начиная с 286. «Разработка» Async/Await в javascript. Взгляд со стороны. ES6: полезные советы и неочевидные приёмы. Не будьте джуниор разработчиком. Правильный подход к написанию ебучих программ. С темами к выпуску можно ознакомиться по ссылке: Темы к подкасту #161. Спасибо всем за внимание, дай вам Бог на эти коротенькие семь дней!
Freshbooks — Sponsor If you are a small business or freelancer check out Freshbooks.com Cloud Accountingand get 30 days free. Make sure to enter SYNTAX into the "How did you hear about us" section. Show Notes 02:55 Wes' Async + Await talk on YouTube from DotJS JavaScript is Asynchronous Ryan Dhal (Creator of Node.js) original Node.js talk 06:00 Callback Hell Q Bluebird What is a promise? Promises are an IOU 8:30 Async + Await IS promises What is Async + Await? How does the code look? Returning values from an await 15:20 Performance Considerations MEGA PROMISES Promise.all() Here is an example: const [weather, store] = Promise.all(getWeather(), getStores()); 19:22 This stuff is 100% native Most new Browser APIs are build on Promises Fetch() Some examples: await fetch(' https://api.github.com/users/wesbos').then(data => data.json()) OR await (await fetch(' https://api.github.com/users/wesbos')).json() Axios 22:48 The Payment Request API You should listen to episode 006 on accepting money on the internet Web Animation API 27:00 Snackisodes Snack Packs Hasty Treats?!!! 28:00 Making callback-based functions promised basked es6-promisify util.promisify() 30:00 Error Handling Methods View my slides for some code examples. Try/Catch High Order Function Just handle the error when you callIt().catch(dealWithIt); Node's process.on('unhandledRejection') event 36:00 Browser Support Babel it! 38:00 AbortController() Abortable Fetch SIIIIICK PICKS 42:00 Scott: Ring Doorbell Wes: The Indicator Podcast 47:00 Sick Tip Chrome's Autoplay is changing Details on this Visit chrome://media-engagement to see your scores Shameless Plugs Fullstack GraphQL CSS Grid Course is coming sooooon! Tweet us your tasty treats! Scott's Instagram LevelUpTutorials Instagram Wes' Instagram Wes' Twitter Wes' Facebook Scott's Twitter Make sure to include @SyntaxFM in your tweets
Panel: Andrew Madsen Erica Sadun Special Guests: Paul Faria In today's episode, iPhreaks speaks with Paulo Faria. Paulo is based in Brazil and has been developing for the OSX platform since 2012. Also, Paulo mentions focusing on server side development and working in iOS and Android development. Paulo is the creator of Zewo and one of the first to work with server-side Swift. Paulo is on iPheaks to talks about Concurrency. Paul believes that concurrency is the missing feature to make it a true and mature ecosystem for server-side on Swift. In particular, we dive pretty deep on: Zewo (http://zewo.io) IBM Grand Central Dispatch Syncro-programming Promises Async/Await Is Swift following or leading? Defer statements Current state of concurrency in Swift Swift forums What's going on in concurrency in Swift right now Incremental programming Chris Eidhof's Incremental Programming Seven Concurrency Models in Seven Weeks https://www.objc.io/issues/2-concurrency/ CFHipsterRef Mike Ash and much more! LINKS: https://github.com/paulofaria https://twitter.com/paulofariarl Picks: Erica Swift Forums Paulo Incremental Swift Andrew: Iconic Book The Emerald Deep
Panel: Andrew Madsen Erica Sadun Special Guests: Paul Faria In today's episode, iPhreaks speaks with Paulo Faria. Paulo is based in Brazil and has been developing for the OSX platform since 2012. Also, Paulo mentions focusing on server side development and working in iOS and Android development. Paulo is the creator of Zewo and one of the first to work with server-side Swift. Paulo is on iPheaks to talks about Concurrency. Paul believes that concurrency is the missing feature to make it a true and mature ecosystem for server-side on Swift. In particular, we dive pretty deep on: Zewo (http://zewo.io) IBM Grand Central Dispatch Syncro-programming Promises Async/Await Is Swift following or leading? Defer statements Current state of concurrency in Swift Swift forums What's going on in concurrency in Swift right now Incremental programming Chris Eidhof's Incremental Programming Seven Concurrency Models in Seven Weeks https://www.objc.io/issues/2-concurrency/ CFHipsterRef Mike Ash and much more! LINKS: https://github.com/paulofaria https://twitter.com/paulofariarl Picks: Erica Swift Forums Paulo Incremental Swift Andrew: Iconic Book The Emerald Deep
Chris Lattner: Concurrency in Swift: One possible approach Chris Lattner: Concrete proposal for async/await in Swift Your steadfast hosts were mistaken about the existence of an Erica Sadun post. It was the topic of an as-yet-unpresented talk that she's writing. We'll link it here if and when she gives the talk. Coroutines Continuation-passing style Soroush: Async Await Episode 16: Swifty Error Handling antitypical/Result: Rob Rix's Result microframework
This week, Chris and Soroush chat about async/await in Swift!Listen to the whole episode — and get access to the entire Fatal Error back catalog — at patreon.com/fatalerror.
We talk with David Crook about using machine learning and Azure to program self-driving autonomous vehicles. Is 1 monitor better than 2? Async/Await vs JavaScript promises. And we learn Carl is a Cylon.
In this first episode of JS Party, Mikeal Rogers, Alex Sexton, and Rachel White discuss security on the web and how SHA-1 is broken, Node.js v7.6 and async/await, and this week’s featured project AR.js.
In this first episode of JS Party, Mikeal Rogers, Alex Sexton, and Rachel White discuss security on the web and how SHA-1 is broken, Node.js v7.6 and async/await, and this week’s featured project AR.js.
00:16 Intro to David Carmona from Microsoft .NET, Visual Studio 1:46 Overview of .NET 8:39 .NET Core open source vs. .NET 14:09 C# language and .NET platform 18:33 Async/Await 25:26 Visual Studio and IntelliSense 27:42 Live unit testing 34:52 Getting started in .NET 36:51 Visual Studio for Mac and .NET for iOS development Picks Kasia’s Deli (Jaim) Cadiz, Spain (David) Donovan Brown demo on DevOps (David) Hired.com
00:16 Intro to David Carmona from Microsoft .NET, Visual Studio 1:46 Overview of .NET 8:39 .NET Core open source vs. .NET 14:09 C# language and .NET platform 18:33 Async/Await 25:26 Visual Studio and IntelliSense 27:42 Live unit testing 34:52 Getting started in .NET 36:51 Visual Studio for Mac and .NET for iOS development Picks Kasia’s Deli (Jaim) Cadiz, Spain (David) Donovan Brown demo on DevOps (David) Hired.com