Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds

ProgrammingPro

34 Articles
Divya Anne Selvaraj
18 Nov 2024
Save for later

Essential Guides to C# 13 and .NET 9, AI in Unreal Engine 5, and Angular TDD

Divya Anne Selvaraj
18 Nov 2024
Curated for software engineers, game developers, and frontend specialistsEssential Guides to C# 13 and .NET 9, AI in Unreal Engine 5, and Angular TDDHi ,This week, we’re bringing you three new books for developers working with today’s most in-demand tools. Master C# 13 and .NET 9 for cross-platform development, create smarter AI-driven games with Unreal Engine 5, or deliver high-quality code with test-driven development in Angular—each now at upto 30% off.Bundle up & save more!Buy 2 eBooks – save an additional 10%Buy 3 eBooks – save an additional 15%Buy 5 eBooks – save an additional 20%Here’s what’s on offer:C# 13 and .NET 9 – Modern Cross-Platform Development Fundamentals - Ninth Edition by Mark J. PriceStart building websites and services with ASP.NET Core 9, Blazor, and EF Core 9>Explore the newest additions to C# 13, the .NET 9 class libraries, and Entity Framework Core 9>Build professional websites and services with ASP.NET Core 9 and Blazor>Enhance your skills with step-by-step code examples and best practices tipsGet the eBook for $35.99$24.99Get the Print book for $44.99Artificial Intelligence in Unreal Engine 5 by Marco SecchiUnleash the power of AI for next-gen game development with UE5 by using Blueprints and C++>Adopt AI techniques for developing immersive gameplay experiences>Learn how to use the Unreal Engine gameplay framework system with C++ and Blueprints>Plan and develop AI behaviors carefully from start to finishGet the eBook for $39.99$27.98Get the Print book for $49.99Mastering Angular Test-Driven DevelopmentbyBuild high-quality Angular apps with step-by-step instructions and practical examples>Implement test-driven development practices in Angular using tools like Jasmine, Karma, and Cypress>Understand end-to-end testing through real-world scenarios and practical examples>Discover best practices for incorporating TDD into continuous integration and deployment (CI/CD) processesGet the eBook for $30.99$20.99Get the Print book for $37.99*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{font-size:75%;line-height:0}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 9875

Divya Anne Selvaraj
14 Nov 2024
Save for later

ProgrammingPro #82: Domain-Driven Design for Micro Frontends, .NET 9's JSON Boost, and Python Automation Scripts

Divya Anne Selvaraj
14 Nov 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#82Domain-Driven Design for Micro Frontends, .NET 9's JSON Boost, and Python Automation ScriptsHi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, The Art of Micro Frontends - Second Edition, which explains how Domain-Driven Design principles can help define and organize boundaries for micro frontends to ensure modular, isolated, and efficient architecture.News Highlights: .NET 9 launches with major performance boosts, including a 50% JSON processing gain; Java 24 targets memory savings with smaller object headers via Project Lilliput; the US urges developers to move from C and C++ for security; and GitHub Copilot chat adds prompt rewording guidance.My top 5 picks from today’s learning resources:20 Python scripts to automate common daily tasks⚙️Implementing the Repository Pattern with Multiple Databases in C# Clean Architecture🏗️Optimize Database Performance in Ruby on Rails and ActiveRecord🚄Top 50 System Design Terminologies You Must Know📚Netflix’s Distributed Counter Abstraction📊But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-ChiefP.S.:This month'ssurveyis now live. Do take the opportunity to leave us your feedback, request a learning resource, and earn your one Packt credit for this month.Sign Up|Advertise🗞️News and Analysis🔎.NET 9 is now available with several performance improvements:The version introduces a 15% increase in requests per second, optimized Server GC, faster LINQ operations, and a 50% boost in System.Text.Jsonprocessing.Java 24 to Reduce Object Header Size and Save Memory: This optimization is part of Project Lilliput and aims to improve memory density, reduce garbage collection pressure, and benefit workloads with small object sizes.Go language rises in Tiobe popularity index: The Google-developed Go language has reached its highest rank, seventh, in November 2024. Go aims to overtake JavaScript (ranked sixth) within three years.OpenJDK News Roundup: Instance Main Methods, Flexible Constructor Bodies, Module Import Declarations: With 19 JEPs targeted so far, JDK 24 is set for release in March 2025, featuring a robust set of updates aimed at performance, security, and language flexibility.The US government wants developers to stop using C and C++: While CISA mandates roadmaps for migration by 2026, widespread adoption is unlikely in the near future due to resistance, cost, and existing industry priorities.GitHub Copilot chat now provides guidance on rewording prompts: The updated chat suggests more specific prompts when a query lacks context, available in Visual Studio 2022 17.12 Preview 3 and aboveCloudflare Advocates for Broader Adoption of security.txt Standard for Vulnerability Reporting: Cloudflare has introduced a dashboard to create and manage security.txt files for vulnerability reporting, aligning with the RFC9116.🎓Tutorials and Learning Resources💡Python💡20 Python scripts to automate common daily tasks:Lists scripts for tasks such as sending emails, scraping news, downloading stock prices, backing up files, posting to social media, fetching weather updates, and resizing images.For more Python resources, go to PythonProC# and .NET🎓Tutorial | Pushed Authorization Requests (PAR) in ASP.NET Core 9: Explains how the new support for PAR enhances security in OAuth and OpenID Connect by moving sensitive data to secure back-channel requests.💡You Probably Don’t Need Those Interfaces: Challenges the common practice of using interfaces for every dependency, arguing that interfaces may be unnecessary for unit testing (due to modern mocking frameworks).🎓Tutorial | Implementing the Repository Pattern with Multiple Databases in C# Clean Architecture: Demonstrates using separate DbContext instances for different data types and a RepositoryFactory .C and C++🗞️A new chapter, and thoughts on a pivotal year for C++: Herb Sutter, the ISO C++ committee chair, has joined Citadel Securities, where he will lead C++ training and strategy while continuing his C++ standards work.🎓Tutorial | Around the World in C++: Exploring Time Zones with std::chrono: Explores time zone handling using C++20’s <chrono> library, demonstrating how to identify unusual time zones with non-hour UTC offsets.🧾The Design of a Self-Compiling C Transpiler Targeting POSIX Shell: Presents pnut, a C-to-POSIX shell transpiler designed to counteract software supply chain risks by enabling reproducible builds without relying on precompiled binaries.Java📖Open Access Book | Modern Java by Ethan McCue: Provides a structured introduction to Java, covering basics like data types, control flow, and methods, then progressing to complex topics such as classes and data structures.🎓Tutorial | How to Handle Errors Cleanly in Java: Principles for Scalable, Maintainable Code: Covers using custom exceptions, avoiding generic catch-all blocks, leveraging checked exceptions, and utilizing Optional to handle nulls.🎓Tutorial | Creating GenAI Apps in Java with SD4J (Stable Diffusion for Java) and the ONNX Runtime — Part 1: Details the setup of prerequisites such as JDK, ONNX Runtime, and Hugging Face tools, followed by step-by-step instructions to generate custom images from text prompts.JavaScript and TypeScript🎓Tutorial | JavaScript's ??= Operator: Default Values Made Simple: Explains the operator'sfunctionality, benefits over previous methods, and practical use cases for retaining meaningful falsy values.🎓Tutorial | Generating Random Mazes with JavaScript: Walks you through building a random maze generator in JavaScript using a three-step process with tips on handling blocked paths and using helper functions to manage grid cells.🎓Tutorial | Exploring Effect in TypeScript: Simplifying Async and Error Handling: Showcases how Effect can replace multiple libraries like Zod and Lodash, improving code readability and robustness in complex applications.Go🎓Tutorial | Functional programming in Go: Focuses on using functions as the primary control structures, enabling operations likemap,filter, andreduceto simplify and streamline data processing tasks.🎓Tutorial | ML in Go with a Python sidecar: Explores using ML in Go applications, focusing on techniques to integrate Python-based ML models, from cloud-based APIs to local sidecar servers.Rust💼Case Study | Why I love Rust for tokenising and parsing: Covers the author’s development experience using Rust to buildsqleibniz , a static analysis tool for SQLite, focusing on Rust’s macro system, testing frameworks, and more.🎓Tutorial | How to rewrite a C++ codebase successfully: Provides a structured guide for incrementally rewriting a legacy C++ codebase in Rust, focusing on real-world challenges such as cross-platform compatibility.Swift🎓Tutorial | Migrating to Swift 6: Provides a comprehensive framework for migration, including strategies for enabling concurrency checking, resolving common compiler errors, and incrementally adopting concurrency features.💡Problematic Swift Concurrency Patterns: Highlights common pitfalls and patterns to avoid when using Swift’s concurrency features, addressing issues like split isolation, excessive reliance on Task.detached , and more.PHP💡New error messages in PHP 8.4: Key updates include stricter handling of nullable parameters, limitations on unsetting hooked properties, and clearer messaging on invalid operations.SQL🎓Tutorial | 8 Steps in Writing Analytical SQL Queries: Steps covered include defining goals in plain language, inspecting and confirming basic data, incrementally adding joins without calculations, and using CTEs for summations.Ruby🎓Tutorial | Optimize Database Performance in Ruby on Rails and ActiveRecord: Covers best practices in ActiveRecord query optimization, indexing, reducing N+1 queries, batching, and caching techniques.💼Case Study | How we made a Ruby method 200x faster: Details how the team at Campsite identified and resolved a specific performance issue in their codebase, providing insights into their debugging process.Kotlin🎓Tutorial | Modeling ViewModel State in Android: A Guide to Clean, Scalable Patterns: Critiques using plain data classes with multiple Boolean flags, as this approach can lead to conflicting states and increased boilerplate.🌟Best Practices and Advice🚀Efficient Resource Management with Small Language Models (SLMs) in Edge Computing: Covers model optimization, latency reduction, and memory efficiency to support AI capabilities on limited hardware.Netflix’s Distributed Counter Abstraction: Delves into Netflix's Distributed Counter Abstraction, a system that enables high-throughput, low-latency counting within distributed applications.Top 50 System Design Terminologies You Must Know: Outlines essential system design terms covering key concepts like scalability, microservices, CAP theorem, sharding, and more.📖Open Access Book | Architectural Metapatterns by Denys Poltorak: Delves into over a hundred architectural patterns and structures, such as monoliths, layers, services, proxies, orchestrators, and more.🧠Expert Insight📚Here’s an excerpt from “Chapter 4: Domain Decomposition" in the book, The Art of Micro Frontends - Second EditionbyFlorian Rappl, published in October 2024.Principles of DDDThe idea of DDD was first popularized by Eric Evans. In his book, he describes the basic pillars that form DDD, according to his vision. While the book certainly has a lot of truth to it, the entire army of ideas was probably rarely—if ever—realized in real-world projects. Let’s try to distill the most importantideas for our use inmicro frontends.When we refer to DDD in the context of micro frontends, we will not include parts such as value objects or the need for a ubiquitous language. Instead, we almost exclusively take DDD as a blueprint to help us with the followingtwo things:Defining micro frontends withclear boundariesComing up with a strategy to establishthese boundariesWhile DDD uses the wordmodules, which was back then an alias forpackages, we will refer to this unit as amicro frontend. The other thing that DDD introduces is a so-called bounded context. Finally, DDD defines a context map to make sense of it. But let’s back off and look at eacharea separately.ModulesAmoduleserves as a container for a specific set of functionalities in your application. For a web application, this could relate to a full page or parts of a page. For instance, a module dealing with the order process could be responsible for showing a cart symbol on the pages of a web shop, such as the product catalog orproduct details.As mentioned, a module in DDD is usually what we will bring to the table in the form of a micro frontend. Nevertheless, keeping to a general notation here makes sense; after all, this helps us to see that good architectures rarely have anything to do with specific implementations but actually would work in multiple variants. In micro frontends, the functionality will be mostly designedaround components.A module is, however, a part of the full problem domain, focused on a specific area (or subdomain). The general design principles for modules are low coupling and high cohesion. As such, a micro frontend should represent a single unit to solve one problem without relying on any other microfrontend directly.In reality, we will be tempted to rely on other micro frontends to simplify the code. The one strong advice here is to avoid doing that, as the immediate simplification will usually backfire in a more complicated and less flexible solution later. When we start looking at the different architectural patterns later inChapter 7onward, we’ll see how to decouple themicro frontends.To help us figure out what could be part of a module, DDD introduces the theoretical concept of abounded context.Bounded contextAbounded contextis used to define the boundaries of the functionality of a subdomain. This is an area where only the functionality from a certain domainmakes sense.While this may initially seem similar to a module, it is actually quite different. Multiple modules live within the same bounded context. The bounded context is an umbrella connecting them and has nothing to do withruntime considerations.Bounded contexts are also broader than modules as they contain both unrelated concepts and shared concepts. Naturally, this will result in some overlap and duplication between differentbounded contexts.The following diagram illustrates the relationship of two bounded contexts within an exampleproblem domain:Figure 4.1 – Relation of two bounded contexts in an example problem domainHow we split a bounded context into modules is up to us. In the end, however, a more critical question is,what are the bounded contexts in our problem domain?There is no blueprint here, but a nice way to visualize and think about contexts generally is in the form of acontext map.Context mapAcontext mapis a useful tool to illustrate the involved contexts of a system, including their connections. Instead of reusing objects from other contexts, a transformation defined by the context map should be used to always createdomain-specific objects.For our design decisions, a context map can be helpful to see where sharing occurs and how to still produce isolated micro frontends. To do this, we need to first identify these self-contained domains. This is where two principal ways come into play: strategic domain design and—as an alternative—tactical design. Let’s lookat both.Strategic domain design versus tactical designWhile strategic domain design helps us to extend knowledge of a problem domain and come up with useful guidelines, tactical design tries to come up with design patterns and building blocks that form a system. In other words, strategic domain design identifies the different domains and the communication between them, while tactical design is all about structuringthese domains.In our micro frontend space, we have the choice of leaving the tactical design to the implementers of the micro frontends, giving them some guidance, or predefining a structure that needs to be followed already. We will see later on how these architectural boundaries can actuallybe decided.In contrast, strategic domain design is helpful for decomposing a full problem domain into smaller (sub) domains. Starting with a full problem domain, we derive the individual subdomains and extract their bounded contexts. The relationship between the contexts is then captured in a context map. The following diagram shows thistheoretical process:Figure 4.2 – The idealized process of deriving a full domain decomposition from a given problem domain, including a working context mapThe Art of Micro Frontends - Second Edition was published in October 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $29.99$20.98🛠️Useful Tools⚒️Aide: An open-source, AI-native IDE that proactively supports developers with context-aware code edits, error fixes, and easy rollbacks.Arch: An open-source prompt gateway that helps build scalable, secure AI apps with prompt safeguards, API triggers, and built-in monitoring.Sulie: An open-source platform for advanced time series forecasting with the Mimosa foundation model, offering zero-shot and fine-tuned predictions.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.If you have any suggestions or feedback, or would like us to find you a learning resource on a particular subject, take the surveyor just respond to this email!*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{font-size:75%;line-height:0}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 9262

Divya Anne Selvaraj
11 Nov 2024
Save for later

Microsoft Tools for Cybersecurity and App Development: 4 Essential Guides

Divya Anne Selvaraj
11 Nov 2024
Curated for cybersecurity pros, app developers, and DevOps expertsMaster Microsoft’s Best-Kept Secrets in Cybersecurity, DevOps, and App DevelopmentHi ,Whether you’re fortifying cybersecurity, streamlining app management, customizing ERP workflows, or building responsive apps, mastering Microsoft’s ecosystem is crucial. This week, we bring you four new guides that transform Microsoft’s complexity into clear, actionable skills across security, Power Platform, Dynamics 365, and Power Apps—all now at 30% off.Bundle up & save more!Buy 2 eBooks – save an additional 10%Buy 3 eBooks – save an additional 15%Buy 5 eBooks – save an additional 20%Here’s what’s on offer:Microsoft Cybersecurity Architect Exam Ref SC-100 - Second Edition by Abu Zobayer, Graham Gold, and Dwayne NatwickA high-demand certification book for IT pros focused on advancing their cybersecurity skills and passing the SC-100 exam.>Prepare for the SC-100 exam with in-depth coverage, mock tests, and practical examples.>Master zero-trust architecture, encryption standards, and threat intelligence.>Elevate your security expertise by optimizing operations with SIEM and SOAR.Get the eBook for $39.99$27.98Get the Print book for $49.99Microsoft Power Apps Cookbook - Third Edition by Eickhel MendozaAppeals broadly to app developers, IT pros, and non-developers looking to build custom business solutions in a low-code environment.>Create apps with AI-powered Copilot, custom UI components, and advanced automation.>Accelerate development using ready-made recipes for Power Apps.>Expand app functionality with Dataverse, RPA, and Power Pages integration.Get the eBook for $39.99$27.98Get the Print book for $49.99Application Lifecycle Management on Microsoft Power Platform byBenedikt BergmannA valuable resource for developers and DevOps specialists managing app deployments on the Power Platform.>Automate builds and deployments with Azure DevOps and GitHub Actions.>Implement a robust ALM strategy tailored to Power Platform solutions.>Streamline environment management across Power Apps, Power Automate, and Power Virtual Agents.Get the eBook for $35.99$24.99Get the Print book for $44.99Programming Microsoft Dynamics 365 Business Central - Seventh Edition byChristopher D. Studebaker, Natalie Karolak, Marije Brummel, and David StudebakerIdeal for ERP consultants and developers focused on customizing and extending Business Central for complex business needs.>Customize Business Central workflows using AL language and Visual Studio Code.>Integrate external systems with Business Central using API web services.>Optimize business solutions with best practices for scalability and reliability.Get the eBook for$35.99 $24.99Get the Print book for $44.99*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{font-size:75%;line-height:0}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 4740
Subscribe to Packt _ProgrammingPro
A weekly Programming newsletter that helps to keep you up to date on industry trends and advance your skills as a developer or software engineer. ProgrammingPro combines original ideas and curated content, deep dives and tools, all in one place.

Divya Anne Selvaraj
07 Nov 2024
Save for later

ProgrammingPro #81: Debugging Linux Scripts, Tabnine's Code Review Agent, and Zed Editor's SSH Remoting

Divya Anne Selvaraj
07 Nov 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#81Debugging Linux Scripts, Tabnine's Code Review Agent, and Zed Editor's SSH RemotingHi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, The Ultimate Linux Shell Scripting Guide, which explains how to use -u and set -u in shell scripts to identify uninitialized variables and prevent related errors during debugging.News Highlights:Zed editor adds SSH remoting for faster remote workflows; IBM’s AI agents automate GitHub issue resolution; Java’s JEP 491 boosts concurrency with virtual thread improvements; and Tabnine’s Code Review Agent enforces custom coding standards.My top 5 picks from today’s learning resources:Hidden Python Libraries That Will Blow Your Mind✨The magic of keeping one level of abstraction per function🎩Writing secure Go code🐹Being a Responsible Developer in the Age of AI Hype⚖️Using certifications to level up your development career🏆But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-Chief🚀Join this 3-hour AI Workshop (worth $399) - FREE for ProgrammingPro readers to learn AI strategies & hacks to 10X work output and grow your business.🗓️ Tomorrow | ⏱️ 10 AM ESTClick here to register (FREE for the First 100 people only)!Sign Up|Advertise🗞️News and Analysis🔎Rust-based Zed editor preview adds direct SSH remoting, a key feature for potential VS Code switchers: Zed emphasizes speed, performance, and real-time collaboration, appealing to developers seeking a faster, lighter alternative.Tabnine’s new Code Review Agent validates code based on a dev team’s unique best practices and standards: The agent is an AI tool that validates code, flags issues during code reviews, and offers fixes.IBM releases open AI agents for resolving GitHub issues: IBM’s SWE-Agent 1.0, a set of AI-powered open agents, automates GitHub issue resolution, helping developers by localizing, suggesting fixes, and executing tests.Java Evolves to Tackle Virtual Threads Pinning with JEP 491: The change would improve scalability and performance in highly concurrent applications by allowing threads to unmount from platform threads during synchronization.Apache Tomcat 11.0 Delivers Support for Virtual Threads and Jakarta EE 11: The update enhances concurrency, scalability, and security for modern web applications, with upgrades in WebSocket and Servlet performance.Microsoft Introduces Modern Web App Pattern for .NET: Accelerating App Modernization to the Cloud: The pattern guides developers in transforming monolithic applications to cloud-native architectures with a focus on scalability.Amazon Q Developer is not just for coding and not just for AWS, claims cloud giant:It includes features like multi-file edits, unit testing, and security scanning, and plans to add support for Eclipse IDE.🎓Tutorials and Learning Resources💡PythonHidden Python Libraries That Will Blow Your Mind:Introduces six powerful yet lesser-known Python libraries including Streamlit for quick app-building, PyWhatKit for task automation, and Typer for simplified CLIs.For more Python resources, go to PythonProC# and .NET🎓Tutorial | Unlocking the Power of GitHub Models in .NET with Semantic Kernel: Explains how to set up necessary packages, configure access with GitHub tokens, establish a Semantic Kernel client, and run a chat-based application.🎓Tutorial | eShop infused with AI – a comprehensive intelligent app sample: Demonstrates how to integrate AI functionalities like semantic search, summarization, classification, and sentiment analysis into business applications.🎓Tutorial | How to prevent XSS Attacks in ASP.NET Core Web API: Covers essential practices such as input validation, output encoding, and advanced measures like Content Security Policy (CSP) and secure cookies.C and C++🎓Tutorial | Deep Threads Diving Into The Core Of Concurrent Programming With C: Covers core concepts like threads vs. processes, key functions in POSIX threads (pthreads), and synchronization techniques.📖Open Access Book | Is Parallel Programming Hard, And, If So, What Can You Do About It?: Serves as a guide for programming shared-memory parallel systems, offering foundational techniques to prevent common pitfalls.C++, Complexity, and Compiler Bugs: Explores challenges such as temporary lifetime extension, differences in designated initializers between C++ and C, and inconsistent handling of template disambiguation across compilers.JavaJava-Based No-Code and Low-Code Application Bootstrapping Tools: Reviews four Java-based no-code and low-code platforms: Appsmith, Wavemaker, Openkoda, and JHipster.🎓Tutorial | Building thread-safe abstractions in Java versus Go: Through examples, the author compares Java's synchronized keyword for mutual exclusion with Go’s sync.Mutex and channels, showcasing adaptations needed.🎓Tutorial | Server-Side Rendering with Spring Boot: Explains how to use WebJars for managing client-side dependencies via Maven and Thymeleaf for server-side rendering in Spring Boot.JavaScript and TypeScript🎓Tutorial | The magic of keeping one level of abstraction per function: Advocates for breaking down complex tasks into focused, smaller functions, to achieve cleaner code that is easier to update, reuse, and understand.Summary of the AJAX frameworks comparison: Compares Vue.js, Alpine.js, HTMX, and Vaadin—across frontend skills required, team integration, setup ease, and styling flexibility.20 TypeScript Tips for Cleaner, More Efficient Code in 2024: Tips include NonNullable, Partial, Readonly, Mapped Types, Union Exhaustiveness, and Generics, with practical examples demonstrating each.Go🎓Tutorial | Writing secure Go code: Covers tools like go vet, staticcheck, golangci-lint, govulncheck, and gosec which support code analysis and vulnerability detection, and fuzz testing which helps find security flaws.🎓Tutorial | Ranging over functions in Go 1.23: Introduces Go 1.23’s new feature allowing for-range iteration over functions, enhancing custom container iteration without exposing internal data structures.RustRust's Most Subtle Syntax: Explores how Rust’s pattern-matching rules with constants can introduce subtle bugs, especially if naming conventions aren’t followed consistently.Bringing faster exceptions to Rust: Explores speeding up Rust’s panic handling by optimizing the unwinding mechanism, resulting in a 4.3x speed improvement without changing the Rust compiler or system unwinder.Swift🎓Tutorial | swift-format GitHub Action: Covers setting up swift-format as a GitHub Action to automate linting and formatting for Swift projects, including configuration tips and integration with Xcode 16.🎓Tutorial | How to Use URLSession with Async/Await for Network Requests in Swift: Covers GET and POST methods, adding parameters, and decoding JSON responses into Swift structs.PHP🎥🎓Tutorial | Laravel for Beginners:This video series offers a step-by-step introduction to Laravel, covering essentials like setting up, routing, views, Blade directives, layouts, components, and CSS integration with Tailwind.SQL🎓Tutorial | Advanced SQL for Data Professionals: Covers common table expressions (CTEs) for recursive queries, methods to remove duplicates, ways to identify new records, strategies for filling gaps in data, and more.Ruby🎓Tutorial | Understanding Ruby 3.3 Concurrency: A Comprehensive Guide: Covers Threads, Fibers, and Ractors, explaining each's distinct use cases, performance trade-offs, and resource utilization.Kotlin🎓Tutorial | Serializing SQL: Building Serializable Data Classes in Kotlin: Describes building a system in Kotlin to serialize SQL queries into data classes using JSON, enabling dynamic SQL functions like SUM, and COUNT.🌟Best Practices and Advice🚀Cell-Based Architecture Adoption Guidelines: Outlines guidelines for adopting cell-based architecture, a strategy that enhances system resilience by isolating failures, ideal for high-availability systems.Being a Responsible Developer in the Age of AI Hype: Discusses recognizing that AI models like LLMs generate plausible text rather than true reasoning, questioning claims of AI’s capabilities, and addressing biases and ethical risks.A deep look into our new massive multitenant architecture: Explores the the architectural overhaul undertaken by Glauber Costa's team at Turso, focusing on adopting Deterministic Simulation Testing (DST).Using certifications to level up your development career: Explains how obtaining relevant, vendor-neutral certifications can boost developers' careers by validating their skills, improving job prospects, and potentially increasing pay.🧠Expert Insight📚Here’s an excerpt from “Chapter 21: Debugging Shell Scripts" in the book, The Ultimate Linux Shell Scripting Guide byDonald A. Tevault, published in October 2024.Checking for Undefined VariablesAs I said at the beginning of this chapter, in theUnderstanding Common Scripting Errors section, it’s sometimes desirable to define a variable in a script without assigning an initial value to it. But, sometimes it isn’t. You can track down uninitialized variables by appending a -uto the end of your shebang line.In bashfor example, you can use#!/bin/bash -u, which will turn this feature on for the entire script. Or, you can place aset -u command any place in the script where you’d like to start checking. For example, let’s look at the unassigned_var1.sh script, which has variable checking turned off:#!/bin/bashecho "The uninitialized myvar, without setting -u, looks like this : " $myvarechomyvar=Donnieecho "I've just initialized myvar."echo "The value of myvar is: " $myvarHere’s the output:donnie@fedora:~$ ./unassigned_var1.shThe uninitialized myvar, without setting -u, looks like this :I've just initialized myvar.The value of myvar is: Donniedonnie@fedora:~$As you see, without the-usetting, the script runs to completion. It’s just that trying to echo the value of the uninitializedmyvarjust shows us a blank space. Next, let’s turn on variable checking by adding the-u option, as you see in the unassigned_var2.sh script:#!/bin/bash -uecho "The uninitialized myvar, without setting -u, looks like this : " $myvarechomyvar=Donnieecho "I've just initialized myvar."echo "The value of myvar is: " $myvarLet’s see what this does:donnie@fedora:~$ ./unassigned_var2.sh./unassigned_var2.sh: line 2: myvar: unbound variabledonnie@fedora:~$This time the script failed as soon as it saw the uninitialized variable.You can set the-uoption anywhere in the script you like, by usingset -u, as you see here in theunassigned_var3.shscript:#!/bin/bashecho "The uninitialized myvar, without setting -u, looks like this : " $myvarechoecho "I'm now setting -u."set -umyvar=Donnieecho "I've just initialized myvar."echo "The value of myvar is: " $myvarechoecho "Let's now try another uninitialized variable."echo "Here's the uninitialized " $myvar2So now, I have one uninitialized variable at the top, on line 2. (Let’s just say that for whatever reason, I want this particular variable to be uninitialized.) I then turn on variable checking on line 5. Let’s see how this runs:donnie@fedora:~$ ./unassigned_var3.shThe uninitialized myvar, without setting -u, looks like this :I'm now setting -u.I've just initialized myvar.The value of myvar is: DonnieLet's now try another uninitialized variable../unassigned_var3.sh: line 11: myvar2: unbound variabledonnie@fedora:~$Before I turn on variable checking, the uninitializedmyvarjust shows us a blank space. After I turn on variable checking, I initializedmyvarwith a value ofDonnie, and it prints out normally. But, the uninitializedmyvar2at the end crashes the script.NOTE:If you search the web for shell scripting security tutorials, you’ll find several that tell you to make either -uorset -ua permanent part of your scripts. The authors of these tutorials say that it enhances the security of your scripts, without giving any convincing explanation of why or how. Using-uorset -uis great for debugging, but it should only be used for just that—debugging! So, when you’re through debugging your scripts, be sure to remove the-uor theset -ubefore you place the script into production. Otherwise, your scripts could give you some rather unpredictable results.Also, be aware that using-ucan also help you detect typos in your scripts. For example, if you define a variable asmynum=1, but accidentally call back the value with$mymum, the-uwill detect thatmymumis an unset variable.The Ultimate Linux Shell Scripting Guidewas published in October 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $43.99$29.99🛠️Useful Tools⚒️PipelineDP4j: Google’s open-source JVM library for differential privacy in Java, Kotlin, and Scala, supporting Apache Beam.Whirlwind: A high-performance, asynchronous sharded HashMap in Rust for thread-safe, concurrent data access.Modus: An open-source, serverless framework for fast APIs and AI functions using WebAssembly, with support for AssemblyScript and Go.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{font-size:75%;line-height:0}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 6121

Divya Anne Selvaraj
04 Nov 2024
Save for later

Master Python for AI, Forecasting, and Data Engineering

Divya Anne Selvaraj
04 Nov 2024
Curated for data scientists, AI engineers, and Python developersMaster Python for AI, Forecasting, and Data EngineeringHi ,This week, we’ve handpicked five essential titles, all newly published in October 2024, to advance your Python skills across AI, data science, and machine learning. From time series forecasting and pandas data manipulation to mastering Apache Airflow workflows, building large language models, and creating AI applications with OpenAI APIs, these books are designed for practical, real-world application—each now at upto 30% off.Bundle up & save more!Buy 2 eBooks – save an additional 10%Buy 3 eBooks – save an additional 15%Buy 5 eBooks – save an additional 20%Here’s what’s on offer:Modern Time Series Forecasting with Python - Second Edition by Manu Joseph and Jeffrey TackesIndustry-ready machine learning and deep learning time series analysis with PyTorch and pandas>Apply cutting-edge ML and deep learning models to boost forecasting accuracy.>Explore probabilistic forecasting methods for handling real-world uncertainties.>Master techniques for deploying robust time series models with PyTorch and pandas.Get the eBook for $46.99$31.99Get the Print book for $57.99Pandas Cookbook - Third Edition byWilliam Ayd and Matthew HarrisonPractical recipes for scientific computing, time series, and exploratory data analysis using Python>Unlock practical recipes for data manipulation, time series analysis, and data exploration.>Master the latest in pandas 2.x for streamlined data workflows.>Solve real-world data challenges with clear, structured solutions and advanced techniques.Get the eBook for $39.99$27.98Get the Print book for $49.99Apache Airflow Best Practices byDylan Intorf, Dylan Storey, and Kendrick van DoornA practical guide to orchestrating data workflow with Apache Airflow>Build resilient data workflows and pipelines using real-world Apache Airflow use cases.>Optimize workflow orchestration to scale data operations effectively.>Implement best practices for Airflow 2.x, from DAG authoring to cloud deployment.Get the eBook for $35.99$24.99Get the Print book for $44.99LLM Engineer's Handbook byPaul Iusztin, Maxime Labonne, Julien Chaumond, and Hamza TahirMaster the art of engineering large language models from concept to production>Learn how to design, deploy, and optimize LLMs for production use.>Implement data pipelines, fine-tune models, and manage deployment with MLOps techniques.>Master advanced LLM operations, including preference alignment and inference optimization.Get the eBook for$47.99Get the Print book for $59.99 $53.98Building AI Applications with OpenAI APIs - Second Edition byMartin YanevLeverage ChatGPT, Whisper, and DALL-E APIs to build 10 innovative AI projects>Develop AI-powered projects with ChatGPT, Whisper, and DALL-E APIs across 10 innovative projects.>Integrate AI seamlessly into web and desktop applications, from NLP to speech recognition.>Monetize your creations by adding payment systems and using fine-tuning for specific applications.Get the eBook for $31.99$21.99Get the Print book for $39.99*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{font-size:75%;line-height:0}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 5769

Divya Anne Selvaraj
28 Oct 2024
Save for later

Essential 2024 Guides for Cyber Defence and Development

Divya Anne Selvaraj
28 Oct 2024
Curated for cybersecurity engineers, DevOps pros, IT administrators, and developersEssential 2024 Guides for Cyber Defence and DevelopmentHi ,This week, we’ve handpicked six essential titles to bolster your skills across every layer of digital defence. From offensive Python techniques and API pentesting to continuous testing for DevOps, these books offer actionable strategies to stay ahead of evolving threats. Learn to build resilient defence programs, ace cybersecurity interviews, and secure Office 365 environments—all at 30% off.Bundle up & save more!Buy 2 eBooks – save an additional 10%Buy 3 eBooks – save an additional 15%Buy 5 eBooks – save an additional 20%Here’s what’s on offer:Continuous Testing, Quality, Security, and Feedback byMarc HornbeekEssential strategies and secure practices for DevOps, DevSecOps, and SRE transformations>Embed continuous testing, security, and feedback in DevOps and SRE practices.>Leverage AI/ML to drive quality improvements, illustrated with real-world cases.>Map digital transformation goals with frameworks for gap assessment and best practices.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99Offensive Security Using Python byRejah Rehim, Manindar Mohan, and Grant OngersA hands-on guide to offensive tactics and threat mitigation using practical strategies>Automate offensive security tasks with practical Python scripts and custom tools.>Design security tools with secure coding practices to tackle real-world vulnerabilities.>Defend against advanced cyber threats through Python-powered techniques.Get the eBook for $39.99$27.98Get the Print book for $49.99 $34.98Pentesting APIs byMaurício HarleyA practical guide to discovering, fingerprinting, and exploiting APIs>Identify and exploit API vulnerabilities in RESTful and GraphQL environments.>Set up a dedicated API pentesting lab for comprehensive reconnaissance and testing.>Secure APIs with expert recommendations and practical skills to minimize attack surfaces.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99Hack the Cybersecurity Interview - Second Edition by Christophe Foulon, Ken Underhill, and Tia Hopkins Navigate Cybersecurity Interviews with Confidence, from Entry-level to Expert roles>Master techniques to handle technical and behavioural questions across cybersecurity roles.>Discover industry trends, salary expectations, and key certifications to stay competitive.>Showcase your expertise effectively, whether entering the field or advancing your career.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99Resilient Cybersecurity byMark DunkerleyReconstruct your defense strategy in an evolving cyber world>Build an adaptable cybersecurity program with zero trust and regulatory compliance.>Integrate governance, risk, and compliance seamlessly into daily operations.>Explore essential strategies for identity management, architecture, and threat resilience.Get the eBook for $39.99$27.98Get the Print book for $49.99 $34.98Mastering Microsoft Defender for Office 365 bySamuel SotoStreamline Office 365 security with expert tips for setup, automation, and advanced threat hunting>Learn step-by-step configuration to combat phishing, malware, and advanced threats.>Automate security tasks to boost efficiency and streamline threat responses.>Build a robust defence strategy tailored for Office 365 environments.Get the eBook for $35.99$24.99Get the Print book for $44.99*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{font-size:75%;line-height:0}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 5793

Divya Anne Selvaraj
24 Oct 2024
Save for later

ProgrammingPro #79: AI-Driven Product Recommendations, Rust 1.82 Adds Cargo info Subcommand, and 25% JDK Size Reduction Proposal

Divya Anne Selvaraj
24 Oct 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#79AI-Driven Product Recommendations, Rust 1.82 Adds Cargo info Subcommand, and 25% JDK Size Reduction ProposalHi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, AI Strategies for Web Development, which demonstrates how to create an AI-driven product recommendation system for e-commerce using TensorFlow and Keras.News Highlights: Rust 1.82 adds cargo info and lifetime improvements; Java proposal targets 25% JDK size reduction; OpenAI releases Swarm for multi-agent AI; and Microsoft previews .NET AI integration libraries.My top 5 picks from today’s learning resources:Comprehensive Python Cheatsheet📜How fast can you parse a CSV file in C#?🚀Async Rust in Three Parts⚙️Optimizing Wellhub Autocomplete Service Latency: a Multi-Region Architecture🌍Navigating unexpected license changes in open source software🛡️But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-ChiefPS:The October survey is still live. Do take the opportunity to leave us your feedback, request a learning resource, and earn your one Packt credit for this month.Sign Up|Advertise🗞️News and Analysis🔎Rust 1.82 brings Cargo info subcommand:The long-requested cargo info subcommand provides detailed information about packages in the Cargo registry. Additional updates include improvements in lifetime parameter handling.Java proposal would shrink JDK by 25%: The proposal aims to enable the jlink tool to create custom runtime images without using JMOD files to improve efficiency in cloud environments.OpenAI Releases Swarm, an Experimental Open-Source Framework for Multi-Agent Orchestration: The framework allows for more scalable, customizable, and complex AI systems by breaking tasks into subtasks.Microsoft Releases Preview of AI Integration Libraries for .NET: Microsoft.Extensions.AI.Abstractions and Microsoft.Extensions.AI provide unified API abstractions for integrating AI services and middleware.Noxia: Emerging Dark Web Hosting Provider Targets Python, Node.js, Go, and Rust Ecosystems: Noxia facilitates malicious campaigns by hosting malware and providing infrastructure for activities like phishing.Java News Roundup: WildFly 34, Stream Gatherers, Oracle CPU, Quarkiverse Release Process: Also includes updates on Spring Framework, Micrometer, Project Reactor, Apache TomEE, JobRunr, and Gradle.Microsoft 365 Copilot allows users to create their own autonomous agents: The agents can automate tasks and business processes, with new agents being introduced for Dynamics 365 across sales, finance, and more.🎓Tutorials and Learning Resources💡PythonComprehensive Python Cheatsheet:An extensive resource covering a wide array of Python topics, including syntax, data structures, and advanced concepts.For more Python resources, go to PythonProC# and .NETHow fast can you parse a CSV file in C#?: Explores different methods and libraries for parsing CSV files in C#, comparing their performance and showing how a low-level approach can significantly improve processing speed.🎓Tutorial | Build native WebAssembly components with .NET and C#—and deploy on wasmCloud: Explains the current tooling landscape with tools like componentize-dotnet and the process of utilizing WIT interfaces.🎓Tutorial | .NET gRPC: Developing High-Performance and Scalable Services (Sample Project): A guide for building a sample client-server application, including setting up the project and configuring Protocol Buffers.C and C++🎓Tutorial | Triaging clang C++ frontend bugs: Covers best practices and how to identify bug types, use tools for bug reduction, and handle undefined behavior, diagnostics, and implementation differences.💼Case Study | Developing a Beautiful and Performant Block Editor in Qt C++ and QML: Details the process explaining its architecture, performance optimizations, and challenges in creating advanced features.🎓Tutorial | How the ls *.c Command Can Save Your Life as a Developer: Explains how ls *.c can significantly boost your productivity by quickly listing only the C source files in a directory, making file management easier.Java🎥A Sneak Peek at StableValue and SegmentMapper in Java: Introduces two Java features, Stable Value and Segment Mapper, both designed to improve performance and flexibility.WasmGC and the future of front-end Java development: Covers how WasmGC, enables languages like Java to run efficiently on the front end, potentially transforming web development.Navigate Early Development | Simplify Data Storage: Discusses the importance of delaying the selection of a database solution and introduces Filelize, a simple file-based data storage library for Java, Android, and KotlinJavaScript and TypeScriptShould JavaScript be split into two languages? New Google-driven proposal divides opinion: The proposal aims to improve security, performance, and stability by limiting complexity in JavaScript engines.🎓Tutorial | Using Protocol Buffers in JavaScript: Efficient Binary Format: Explains how to use Protobuf for efficient binary data serialization, covering its benefits like compactness, speed, and schema-based data integrity.💼Case Study | How to Build a Query Engine with Automata, TypeScript and Apache Arrow: Describes the development of Sequence Operations Language (SOL), created to address the limitations of SQL.GoGo Exceptions for the Unconvinced: Explains how Go's panic/recover mechanism functions similarly to exceptions in other languages and ignoring this can lead to practical issues, such as leaving data in a corrupted state.What's in an (Alias) Name?": Introduces generic alias types in Go and explains their importance for incremental refactoring of large codebases.Rust🎓Tutorial | Async Rust in Three Parts: Guides you through the process of working with futures, tasks, and async I/O along with practical code examples.🎓Tutorial | When should I use String vs &str?: Offers four levels of advice, starting with using String everywhere, gradually refining to using &str for function parameters and when returning substrings, and avoiding &str in structs.SwiftNative Cross-Platform Apps: Introduces Aparoksha, a cross-platform UI framework for Swift that leverages native frameworks like GNOME's libadwaita and WinUI 3.Vapor and Swift Testing: Running tests in parallel: Explores running parallel tests in Swift for Vapor-based applications and handling the challenge of database reliance.PHPMonitoring PHP Performance and Diagnosing Bottlenecks: Covers performance monitoring tools like Datadog, New Relic, and profiling tools such as Xdebug and Blackfire and key performance metrics such as CPU usage.SQL🎓Tutorial | Introducing the prompt() Function: Use the Power of LLMs with SQL!: Discusses common patterns that cause poor SQL query performance and offers solutions to issues including undersorting.RubyClass methods are Ruby’s useEffect: Draws a parallel between React’s useEffect and Ruby’s class methods, referring to both as "escape hatches" from their respective paradigms that should be used sparingly.Kotlin🎓Tutorial | How To Create a Parallax Movie Pager In Jetpack Compose: Shows you how to utilize offset calculations, image scaling, translation, and Bitmap implementation for enhanced UI effects.🌟Best Practices and Advice🚀Adaptive Responses to Resiliently Handle Hard Problems in Software Operations: Highlights five key traits of adaptive expertise: recognizing changes, revising mental models, replanning, reconfiguring resources, and reviewing performance for learning.Taking Advantage of Cell-Based Architectures to Build Resilient and Fault-Tolerant Systems: Focuses on monitoring, tracing, and logging to identify bottlenecks, detect issues early, and optimize performance.Optimizing Wellhub Autocomplete Service Latency: a Multi-Region Architecture: Outlines how Wellhub optimized its Go-based service by leveraging AWS Global Accelerator and S3 Cross-Region Replication.Navigating unexpected license changes in open source software: Recommends that organizations maintain a software bill of materials (SBOM) and dedicated teams to manage OSS compliance and security.🧠Expert Insight📚Here’s an excerpt from “Chapter 6: Design Intelligence – Creating User-Centric Experiences with AI" in the book, AI Strategies for Web Development, by Anderson Soares Furtado Oliveira, published in September 2024.Example of AI Movie Recommendation ChatbotIn this example, we will create an AI-driven dynamic content personalization system for an e-commerce website. The system will use TensorFlow and Keras to analyze user behavior and personalize product recommendations based ontheir shopping history. We will use the Retailrocket recommender system dataset to store user data and product information.The workflow of the example isas follows:Collect user data from the Retailrocket recommendersystem dataset.Train a TensorFlow model to analyze user behavior and predictproduct preferences.Use Keras to create a personalized product recommendation system based on theTensorFlow model.Implement the recommendation system on thee-commerce website.However, it also hassome disadvantages:Speed limitations: UART is generally slower compared to SPI and I2C, making it less suitable for high-speeddata transferLimited distance: Susceptibility to noise over long distances can limit the range ofreliable communicationPoint-to-point only: UART is designed for direct, point-to-point communication, which can be a limitation if multiple devices needto communicateData DescriptionRetailrocket recommender system dataset is a dataset of user behavior from an e-commerce website, including clicks, purchases, and views. The dataset contains 1,407,580 users and 2,756,101 behavior events, including 2,664,312 views, 69,332 cart additions, and 22,457 purchases. You can access the datasetat:https://www.kaggle.com/datasets/retailrocket/ecommerce-datasetNext, we will learn how to manipulate and analyze this datausing Python.Python Code Step by StepIn this section, we will outline a series of coding steps essential for manipulating and understanding the dataset effectively. Each step will build upon the last, guiding you through the use of various Python libraries to harness the power of this data for building an intelligentrecommender system.We import the necessary libraries for the example, including TensorFlow, Keras,and Pandas.import tensorflow as tffrom tensorflow import kerasimport pandas as pdWe load the Retailrocket recommender system dataset into aPandas DataFrame.events_df = pd.read_csv( "/kaggle/input/ecommerce-dataset/events.csv")We group the data by visitor ID and aggregate the item IDs into a list foreach visitor.user_data = events_df.groupby('visitorid').agg( {'itemid': lambda x: list(x)})We create a sequential model with two hidden layers and an output layer. We compile the model with the Adam optimizer and sparse categorical cross-entropy loss function. We then fit the model to theuser data.model = keras.Sequential([ keras.layers.Dense(64, activation='relu'), keras.layers.Dense(64, activation='relu'), keras.layers.Dense(len(user_data), activation='softmax')])model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy'])model.fit(user_data, user_data, epochs=10)We define a function that takes a user ID as input and returns a list of recommended products based on the user’sshopping history.def recommend_products(user_id): user_data = user_data[user_id] predictions = model.predict(user_data) recommended_products = [] for i in range(len(predictions)): if predictions[i] > 0.5: recommended_products.append(products[i]) return recommended_productsNow, we implement the recommendation system on thee-commerce website.The result of this example is an AI-driven dynamic content personalization system for an e-commerce website that provides personalized product recommendations based onuser behavior.In this example, we discussed techniques for implementing AI-driven dynamic content personalization in e-commerce applications. We also introduced tools like TensorFlow and Keras for incorporating AI into e-commerce environments. By following the above project, you can create a personalized product recommendation system for your e-commerce website and provide a unique shopping experience foreach user.NoteThis is a simplified example and may not work directly without some modifications depending on your development environment. Adjust itas needed.AI Strategies for Web Development was published in September 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $30.99$20.99🛠️Useful Tools⚒️finch:an open-source AWS tool for simplifying container development using containerd and nerdctl across platforms.superhtml: An open-source language server offering real-time HTML5 syntax validation, autocorrect, and reformatting for LSP-compatible editors.Srcbook: An open-source TypeScript platform that uses AI to create, edit, and run web apps and backends with interactive notebooks and live previews.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 3706

Divya Anne Selvaraj
17 Oct 2024
Save for later

ProgrammingPro #78: API-First Development Trends, Google’s New LLM Algorithm, and AI-Powered PHP

Divya Anne Selvaraj
17 Oct 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#78Notion for StartupsThousands of startups use Notion as a connected workspace to create and share docs, take notes, manage projects, and organize knowledge—all in one place.We’re offering 6 months of new Plus plans, including unlimited Notion AI, so you can try it all for free!To redeem the Notion for Startups offer:1. Submit an application using our custom link: https://ntn.so/packtand selectPackton the partner list.2. Include our partner key:STARTUP4110P19151Get your Free 6-month Notion Plus Access!Hi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, Bare-Metal Embedded C Programming, which briefly compares UART, SPI, and I2C communication protocols in embedded systems.News Highlights: Postman's 2024 survey shows 74% of developers adopting an API-first approach; Google unveils an LLM self-correction algorithm; StackBlitz's Bolt.new allows Node.js projects in the browser via AI prompts; and Google’s Code Assist Enterprise now trains on internal code with GitHub and GitLab.My top 5 picks from today’s learning resources:Python 3.12 vs Python 3.13 – performance testing🐍How to use Java generics to avoid ClassCastExceptions🔄Unlocking AI Magic: 10 Ways to Supercharge Your PHP Apps with OpenAI✨The imperative of artifact management in modern software development📦Building a Global Caching System at Netflix: a Deep Dive into Global Replication🌍But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-ChiefPS:The October survey is still live. Do take the opportunity to leave us your feedback, request a learning resource, and earn your one Packt credit for this month.Sign Up|Advertise🗞️News and Analysis🔎Report: Developers are increasingly adopting an API-first approach: Postman’s 2024 survey reveals 74% of respondents adopted this method, citing faster production and recovery times.Ephemeral IDs: Cloudflare's Latest Tool for Fraud Detection: Cloudflare's new fraud detection feature tracks client behavior instead of IP addresses to detect fraudulent activities.Google Publishes LLM Self-Correction Algorithm Self-Correction via Reinforcement Learning (SCoRe): Google's new algorithm is designed to improve LLMs' ability to self-correct math and coding problems.Ktor 3.0 switches to kotlinx.io library: The Kotlin-based framework for building asynchronous applications, now uses the multiplatform kotlinx.io library for handling data sources, improving byte transformation efficiency.TypeScript 5.7 improves error reporting: The version, now in beta, improves error reporting by detecting never-initialized variables, addressing gaps in the type system's checks.StackBlitz Bolt.new blurs boundaries between web development and skilled use of AI prompts: Bolt.new allows developers to create projects using Node.js directly in the browser, guided by precise AI prompts.Google’s Code Assist Enterprise can be trained on internal source code, is focused on Google services: Announced at the Google Cloud Summit, Gemini Code Assist Enterprise, supports integrations with GitHub and GitLab.🎓Tutorials and Learning Resources💡PythonPython 3.12 vs Python 3.13 – performance testing:Tests on AMD Ryzen 7000 and Intel 13th-gen processors show Python 3.13 generally performs faster, especially in asynchronous tasks, but there are slowdowns in certain areas.🎓Tutorial | Get started with the free-threaded build of Python 3.13: Introduces Python 3.13’s new "no-GIL" or free-threaded build, allowing true parallelism by removing the GIL for better concurrency.For more Python resources, go to PythonProC# and .NETEngineering the Scalable Vector Extension in .NET: Covers the new SVE APIs, code generation techniques, and challenges like register handling and context switches.The Role of the Checked Keyword in Managing Overflow in C#: Covers how the checked keyword in C# helps manage arithmetic overflow and ensures reliable type conversions by throwing exceptions when overflow occurs.Func vs. Predicate vs. Expression in C# .Net: Helps you choose the correct delegate type for efficient method encapsulation, condition checking, and expression handling in C# programming.C and C++C++ String Conversion: Exploring std::from_chars in C++17 to C++26: Highlights how std::from_chars provides high-performance, low-level text-to-number conversions with features like non-throwing behavior, and more.Opaque Pointer Pattern in C++: Discusses the the pattern in C++ (also known as the Pimpl Idiom or Bridge Pattern), which helps hide implementation details from clients while maintaining a stable interface.Self-referential variable initialization in C: Highlights that in C, variables are in scope as soon as they are declared, allowing code like int x = x + 1; despite the variable being uninitialized at that point, which leads to undefined behavior.Java🎓Tutorial | How to use Java generics to avoid ClassCastExceptions: Covers upper bounds, wildcard usage, generic methods, type inference, and type erasure, highlighting how generics prevent runtime exceptions.🎥Continuations: The magic behind virtual threads in Java by Balkrishna Rawool: Explains how virtual threads differ from platform threads, and ithe continuation mechanism that pauses and resumes thread execution.🎥Practical LLM Inference in Modern Java by Alfonso² Peterssen, Alina Yurenko: Discusses implementing a fast LLM inference engine in pure Java using GraalVM.JavaScript and TypeScript🎓Tutorial | Time duration in JS: Explains how JavaScript's Temporal API, specifically Temporal.Duration, handles time durations, offering a modern solution to complexities like leap years, time zones, and Daylight Saving Time.The greatness and limitations of the js-framework-benchmark: Covers the benchmark's strengths in measuring JavaScript framework performance, and its limitations in areas like server-side rendering, hydration, and more.🎓Tutorial | TypeScript for Functional Programmers: Introduces TypeScript's type system to functional programmers familiar with Haskell or ML, highlighting its unique features and differences.Go🎓Tutorial | Practical guide for building a blockchain from scratch in Go: Covers the foundational concepts and practical steps to build a blockchain from scratch in Go using gRPC.Go's New Iterators Smell (A Little) Funny, but It's Probably OK: Discusses Go's new iterators, introduced in Go 1.23, and how they work, including potential issues with early loop exits causing panics.Rust💼Case Study | Challenges and Lessons Porting Code from C to Rust: Describes how engineers used c2rust to convert code step-by-step, addressing threading, memory safety, and performance optimizations.🎓Tutorial | Improve an algorithm's performance step by step: Covers profiling techniques, memory optimization, SIMD use, and iterating over different performance-enhancing approaches, including Rust-specific features and tools.SwiftSecurity-scoped bookmarks for URL access: Discusses how security-scoped bookmarks allow macOS apps to store and regain access to user-selected directories across sessions.🎓Tutorial | Write Swift Like Apple: Emphasizes using clear, descriptive naming for variables, methods, and protocols, favoring Apple's own style over other coding standards.PHP🎓Tutorial | Unlocking AI Magic: 10 Ways to Supercharge Your PHP Apps with OpenAI: Provides a step-by-step guide to integrating OpenAI's API with PHP applications, explaining how to leverage AI-powered features.SQL💼Case Study | Uber Completes Major MySQL Fleet Upgrade, Boosting Performance and Security: Details Uber's successful MySQL upgrade from version 5.7 to 8.0, involving over 2,100 clusters and a side-by-side process.RubyThe Hidden Power of Symbols in Ruby: When to Use Symbols Instead of Strings: Highlights their efficiency as immutable identifiers, particularly for hash keys and method references.Kotlin🎓Tutorial | Testing Coroutines — Simplified: Details the setup for testing coroutine functions, including the use of StandardTestDispatcher to manage coroutine execution and ensure proper assertions.🌟Best Practices and Advice🚀The imperative of artifact management in modern software development: Highlights how artifact management platforms streamline development, enhance security, and automate dependency management.Scaling Uber’s Batch Data Platform: a Journey to the Cloud with Data Mesh Principles: Details the migration which aims to enhance scalability, security, and operational efficiency while decentralizing data ownership.How Cell-Based Architecture Enhances Modern Distributed Systems: Explores how cell-based architectures improve scalability, fault isolation, and resiliency in modern distributed systems.Building a Global Caching System at Netflix: a Deep Dive into Global Replication: Explains how Netflix built a global caching system using EVCache to ensure data availability across multiple regions.🧠Expert Insight📚Here’s an excerpt from “Chapter 4: Crossing the Language Barrier with the Arrow C Data API” in the book, Bare-Metal Embedded C Programming, byIsrael Gbati, published in September 2024.Comparing UART, SPI, and I2CLet’s startwith UART.UARTHere are some key featuresof UART:Asynchronous communication: UART doesn’t require a clock signal. Instead, it uses start and stop bits to synchronizedata transmission.Full-duplex: UART can send and receive data simultaneously, which is ideal for many applications requiringreal-time communication.Simple and cost-effective: With minimal hardware requirements, UART is easy to implementand cost-effective.The following are some ofits advantages:Ease of use: Setting up UART communication is straightforward, making it a popular choice for beginners andsimple applicationsWide support: UART is universally supported by most microcontrollers andperipheral devicesLow overhead: The lack of a clock signal means fewer pins are used,reducing complexityHowever, it also hassome disadvantages:Speed limitations: UART is generally slower compared to SPI and I2C, making it less suitable for high-speeddata transferLimited distance: Susceptibility to noise over long distances can limit the range ofreliable communicationPoint-to-point only: UART is designed for direct, point-to-point communication, which can be a limitation if multiple devices needto communicateNext, wehave SPI.SPIHere are some key featuresof SPI:Synchronous communication: SPI uses a clock signal along with data lines, ensuring synchronizeddata transferFull-duplex: It allows data to be sent andreceived simultaneouslyMaster-slave architecture: One master device controls multiple slave devices, with dedicated linesfor eachThe following are some ofits advantages:High speed: SPI supports high-speed data transfer, making it ideal for applications requiringfast communicationVersatility: SPI can connect multiple devices with different configurations, providing flexibilityin designHowever, it also hassome disadvantages:More pins required: Each slave device needs a separate select line, which can increase the pincount significantlyNo standardized acknowledgment: Unlike I2C, SPI does not have a built-in acknowledgment mechanism, which can make error detectionmore challengingLimited multi-master capability: SPI is not designed for multi-master systems, which can be a limitation insome scenariosThe final common communication protocol we’ll coveris I2C.I2CHere are some key featuresof I2C:Synchronous communication: I2C uses a clock signal for synchronizeddata transferMulti-master capability: Multiple master devices can share the same bus, which is useful in morecomplex systemsTwo-wire interface: I2C requires only two lines (SDA and SCL) for communication, minimizing thepin countThe following are some ofits advantages:Simplicity in wiring: The two-wire interface reduces the complexity and number ofpins requiredMulti-device support: I2C easily connects multiple devices on the same bus, each with aunique addressBuilt-in addressing: I2C has a built-in addressing mechanism, making communication with multipledevices straightforwardHowever, it does havesome disadvantages:Slower speed: I2C is generally slower than SPI, which can be a limitation forhigh-speed applicationsComplex protocol: The protocol is more complex than UART and SPI, requiring more sophisticated handling of data transfersand addressingSusceptible to noise: Like UART, I2C can be susceptible to noise over longer distances, potentially affectingcommunication reliabilityChoosing the right communication protocol depends on your specific application needs. If you need simple, straightforward communication and can tolerate slower speeds,UARTis a great choice. For high-speed applications with a need for full-duplex communication,SPIis ideal, especially if you can manage the higher pin count. When you need to connect multiple devices with minimal wiring and have a complex communication setup,I2Cis your go-to protocol. To help you better understand when to choose which protocol, let’s explore some commonuse cases.Bare-Metal Embedded C Programmingwas published in September 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $33.99$22.99🛠️Useful Tools⚒️pan: A privacy-focused PHP analytics library for tracking events like impressions, hovers, and clicks in Laravel without collecting personal data.Parsek: A modular back-end platform that boosts development efficiency with reusable plugins while optimizing speed and performance.arch: A Layer 7 gateway for LLM applications that optimizes prompt handling, API interactions, and security.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 5761

Divya Anne Selvaraj
14 Oct 2024
Save for later

Your 2024 Guide to Mastering IoT and AI Development

Divya Anne Selvaraj
14 Oct 2024
Curated for IoT developers, AI engineers, and embedded systems specialistsYour 2024 Guide to Mastering IoT and AI DevelopmentHi ,This week, we’ve curated six exceptional books that offer practical, real-world guidance to mastering IoT, AI, and embedded systems, all published in 2024.Whether you're building intelligent robots with AI-driven decision-making, crafting custom IoT solutions from scratch, accelerating development with ChatGPT, or even creating secure automotive IoT applications, this collection equips you to design, build, and deploy cutting-edge systems with ESP32, Arduino, cloud computing, and AWS.Each of these 6 eBooks and Print books is available -- for a limited time -- at 30% or more off!Bundle up & save more!Buy 2 – save an additional 10%Buy 3 – save an additional 15%Buy 5 – save an additional 20%Print discounts end October 18th.Here’s what’s on offer:Internet of Things from Scratch byRenaldi GondosubrotoBuild IoT solutions for Industry 4.0 with ESP32, Raspberry Pi, and AWS>Build industry-grade IoT solutions.>Master wireless sensor networks, cloud integration, and security best practices.>Explore generative AI for IoT to future-proof your projects.Get the eBook for $31.99$21.99Get the Print book for $39.99 $27.98Artificial Intelligence for Robotics - Second Edition byFrancis X. Govers IIIBuild intelligent robots using ROS 2, Python, OpenCV, and AI/ML techniques for real-world tasks>Build intelligent robots using AI/ML techniques with Python and ROS 2.>Implement object recognition, reinforcement learning, and natural language processing.>Design robots that navigate autonomously and interact with real-world environments.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99Accelerating IoT Development with ChatGPT byJun WenA practical guide to building your first IoT project using AI-assisted coding and cloud integration>Use ChatGPT to generate code for IoT projects on ESP32 and AWS.>Build 10 practical projects, from flame detection to air quality monitoring.>Master the integration of AI-assisted coding with cloud infrastructure.Get the eBook for $31.99$21.99Get the Print book for $39.99 $27.98Internet of Things Programming Projects - Second Edition byColin DowBuild exciting IoT projects using Raspberry Pi 5, Raspberry Pi Pico, and Python>Develop advanced IoT applications using Raspberry Pi 5, Pico, and Python.>Implement MQTT, LoRa, and ROS for long-range and autonomous systems.>Build projects like smart robot cars, weather indicators, and security systems.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99Hands-on ESP32 with Arduino IDE by AsimZulfiqarUnleash the power of IoT with ESP32 and build exciting projects with this practical guide>Interface ESP32 with sensors, cameras, and displays for IoT projects.>Master Arduino IDE 2.0 for simplified IoT development.>Build automation projects, data loggers, and smart connected devices.Get the eBook for $23.99$15.99Get the Print book for $29.99 $20.98Building Secure Automotive IoT Applications byDr. Dennis Kengo Oka, Sharanukumar Nadahalli, Jeff Yost, and Ram Prasad BojankiDevelop robust IoT solutions for next-gen automotive software>Explore modern vehicle architectures and IoT use cases in automotive software.>Learn cybersecurity practices for developing secure automotive applications.>Master cloud integration, diagnostics, and functional safety processes.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99All books are minimum 30% off, and print discounts end in 5 days on October 18th.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 8738

Divya Anne Selvaraj
10 Oct 2024
Save for later

ProgrammingPro #77: Python 3.13 Finally Debuts, Rspack 1.0, and Importing Arrow Data with Python

Divya Anne Selvaraj
10 Oct 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#77Secure and Simplify: Salesforce Data Protection with RubrikWhat if your Salesforce data was suddenly lost or corrupted? Human errors, accidental deletions, misconfigurations can all contribute to data loss.1 of 2 SaaS users who did not implement SaaS data protection, experienced data loss or corruption in the last 12 months.Check out this exclusive webinar where we reveal Rubrik's new integration with Salesforce, designed to tackle this exact issue.Watch On-DemandHi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, In-Memory Analytics with Apache Arrow - Second Edition, which shows you how to import Arrow data with Python using the C Data API via the pyarrow and cffi modules.News Highlights: Python 3.13 finally debuts with GIL disabling and JIT compiler; Rust firm at 13th in Tiobe, Mojo enters top 50; Rspack 1.0 is 23x faster than Webpack; and Julia 1.11 introduces a faster, lower-overhead Memory type.My top 5 picks from today’s learning resources:10 Jupyter Notebook Features You Didn’t Know Exist📓Reflection in C++26: Metafunctions for Enums and Classes💻The #1 Mistake Developers Make with Redux and How to Fix It🚧Confusing or misunderstood topics in systems programming: Part 0🧩Brutalist Programming Manifesto🛠️But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-ChiefPS:The October survey is still live. Do take the opportunity to leave us your feedback, request a learning resource, and earn your one Packt credit for this month.Sign Up|Advertise🗞️News and Analysis🔎Breaking Down Python 3.13’s Latest Features:Released finally on the 7th of October, the version includes a revamped interactive interpreter with multi-line editing, experimental disabling of the GIL, and a JIT compiler.Rust resumes rise in popularity: Rust has returned to 13th place in the October 2024 Tiobe index and maintained 10th in the Pypl index. Mojo has also entered Tiobe's top 50. Read to learn more about current rankings.Rspack 1.0 Released, 23x Faster than Webpack, Compatible with Top 50 Webpack Plugins: Rspack 1.0, a JavaScript bundler written in Rust from ByteDance, is compatible with over 80% of the top 50 Webpack plugins.Julia language adds lower-overhead Memory type: Julia 1.11 introduces a new Memory type as a lower-overhead alternative to Array, offering significant speed improvements and more maintainable code.Apollo Connectors enables developers to turn REST APIs into GraphQL endpoints: Apollo Connectors simplifies API integration, reduces complexity, and enables a unified API strategy.UNO Platform 5.4 Improves App Performance: The version introduces over 290 new features and enhancements focused on improving app performance, including a 15% reduction in memory allocations.ChatGPT Canvas offers a new visual interface for working with ChatGPT in a more collaborative way: The new offering, currently rolling out to select users, enhances collaboration on writing and coding projects.🎓Tutorials and Learning Resources💡Python10 Jupyter Notebook Features You Didn’t Know Exist:Discusses features including magic commands, interactive widgets, auto-reload for modules, in-notebook documentation, and collapsible headings.For more Python resources, go to PythonProSeptember Python Releases from Packt at 30% offon both eBook and Print BooksGet for $39.99 $27.98!Get for $35.99 $24.99!Get for $27.99 $18.99!Get for $35.99 $17.98!Print discounts end tomorrow on the 11th of October!C# and .NETMicrosoft previews unified .NET API for AI, and delivers .NET 9 Release Candidate with go-live license: The AI extension library aims to standardize interactions with AI services, allowing developers to work with a common API.🎓Tutorial | How to Use StateContainers in .NET MAUI to Manage State in Applications: Explains how to implement StateContainers with code examples and a demo for handling user authentication.🎓Tutorial | Dispose or Finalize in C#? Discover which to use: Provides real-world examples, such as file handling, database connections, and graphics processing, to demonstrate when to use each method.C and C++🎓Tutorial | Reflection in C++26: Metafunctions for Enums and Classes: Demonstrates how developers can use reflection to iterate through enum members and retrieve class members by index or name.Iterating through matched characters in modern C++: Explores using approaches like find_first_of, std::ranges from C++20, and coroutines from C++23.Privileges relinquishing order in C: Explains the correct order for relinquishing privileges in C programs, specifically for setUID and setGID operations, to prevent security vulnerabilities.JavaOracle touts ‘tip and tail’ release model for Java library development: The model, aimed at improving the developer experience allows faster innovation for new development while maintaining stability for long-term projects.🎓Tutorial | Event-driven architecture (EDA) on the modern stack of Java technologies: Explores the implementation of an EDA focusing on Transactional outbox, Inbox, and Saga patterns in microservices.Java 23 New Features With Examples: Covers improvements like primitive type support in patterns, instanceof, and switch statements, the introduction of Markdown documentation comments, and enhancements to concurrency.JavaScript and TypeScript🎓Tutorial | The #1 Mistake Developers Make with Redux and How to Fix It: Discusses the common mistake of overusing Redux, explains the difference between client and server state, and shows you the benefits of React Query.Behind the Scenes at the JavaScript Registry (JSR): Discusses JSR, a modern open-source package repository for JavaScript and TypeScript that offers features like type declaration files, secure publishing, and more.Announcing TypeScript 5.7 Beta: New features include checks for never-initialized variables, path rewriting for relative paths, support for ES2024, faster project ownership checks, JSON import validation, and improved performance.Go🎓Tutorial | Securing gRPC Services with JWT Authentication in Go: Explains how to secure gRPC services using JSON Web Tokens (JWT) authentication in Go, focusing on interceptors, metadata, and JWT handling.The Go libraries that never failed us: 22 libraries you need to know: Lists libraries for routing, middleware, database management, OpenAPI, gRPC, testing, and more, while offering anti-pattern warnings and practical tips.Rust💼Case Study | Rust is rolling off the Volvo assembly line: Discusses how Volvo successfully integrated Rust into the development of their low-power processor ECU, improving code quality and reliability in their vehicles.🎓Tutorial | Understanding Rust's Trait Objects: Vtables, Dynamic Dispatch, and Memory Deallocation: Explains how vtables store method pointers for trait objects, how TCO optimizes performance, and more.Swift🎥Swift & Interoperability - Tony Parker & Ben Cohen: Introduces the new direction for Swift's Foundation, including a major refactor of Foundation for Swift 6, enabling open-source contributions, and transitioning from C to Swift.🎓Tutorial | Writing Cleaner Swift Code: Early Returns & Aligning the Happy Path Left: Explains how handling edge cases upfront and reducing nesting, results in cleaner, more maintainable code with reduced cognitive load.PHP👨‍🏫Open Access Course | Laravel API Course: Covers topics like optimizing a Laravel project for API-first development, data modeling, API design, authentication, rate limiting, versioning, pagination, error handling, and more.SQL🎓Tutorial | Advanced SQL for 10x Data Analysts - Part 1: Explores advanced SQL techniques, focusing on joins, nested data, analytical functions, and efficient query writing.RubyRuby on Rails 8.0 first beta release: A big bet on SQLite in production: The release promotes using SQLite in production environments for various features, including caching, queuing, and as the primary database.Ruby 3.4.0 preview2 Released: The version introduces features like switching to the Prism parser, language changes, core class updates, and C API improvements.Kotlin🎓Tutorial | How Functional Programming Can Help You Write Efficient, Elegant Web Applications: Includes code examples and practical guidance on topics like pure functions, function composition, and functional DI.🌟Best Practices and Advice🚀Proactive Approaches to Securing Linux Systems and Engineering Applications: Key approaches discussed include dynamic vulnerability confirmation, regular security audits, and comprehensive patch management.Brutalist Programming Manifesto: Advocates for simplicity, self-reliance, solving real problems, avoiding unnecessary complexity, and encouraging independent, practical thinking in software development.Confusing or misunderstood topics in systems programming: Part 0: Explains complex systems programming concepts like processes, context switching, and the kernel in a clear, beginner-friendly way.🎥Tacit Talk Episode 5: Combinatory Programming with Zach Smith: Explores how functional programming concepts such as combinatory and tacit programming, can simplify code and improve readability.🧠Expert Insight📚Here’s an excerpt from “Chapter 4: Crossing the Language Barrier with the Arrow C Data API” in the book, In-Memory Analytics with Apache Arrow - Second Edition by Matthew Topol, published in September 2024.Importing Arrow data with PythonThe common terminology for runtimes providing an interface for calling an API of another runtime or language is an FFI. In Python, we’re going to use a library called cffi , which is used by the pyarrow module to implement the Cdata API. Make sure that you’re running the script we’re about to write in the same directory as the libsample.solibrary file that we created in theprevious exercise:First, the imports – the following highlighted line represents the essential case that we’re importing the already compiledffilibrary that is part of thepyarrow module:import pyarrow as pafrom pyarrow.cffi import ffiThere are a few different ways to integrate the FFI module, but for the purposes of this exercise, we’re going to use dynamic loading of the library with the defined interface through thecdeffunction. Then, we’ll load our shared object librarywithdlopen:ffi.cdef("void export_int32_data( struct ArrowArray*);")lib = ffi.dlopen("./libsample.so")Note that this matches ourextern "C"declarationfrom before.Now, we can create anArrowArraystruct and call the function we exported topopulate it:c_arr = ffi.new("struct ArrowArray*")c_ptr = int(ffi.cast("uintptr_t", c_arr))lib.export_int32_data(c_arr)Then, we use thepyarrowmodule to import data. Remember that since we’re passing around pointers, there’s no copying of the data buffers. So, it doesn’t matter whether this array has 1,000 elements or 1 million elements; we’re not copying the data here. Importing the data is just hooking everything up to point to the right areasin memory:arrnew = pa.Array._import_from_c(c_ptr, pa.int32())# do stuff with the arraydel arrnew # will call the release callback # once it is garbage collectedYou can add aprintstatement in there if you like, to confirm that it is actually working as intended. That’s it. The library we created could create that array of data in any way we want, but as long as it properly populates the C struct, we’re able to pass the data around in the Arrow format without having tocopy it.What if we wanted to work in the other direction? We can read in our data with Python and then hand it off to something faster for processing, similar to how Spark used JPype to communicate the data from Python to Java without copying. How would we go aboutdoing that?Memory Analytics with Apache Arrow - Second Editionwas published in September 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $39.99$27.98Get the Print book for $49.99 $34.98🛠️Useful Tools⚒️Drasi: Microsoft's open-source system for real-time change detection and automated reactions in dynamic systems.One:a React framework on Vite, streamlining web and native app development with universal routing and seamless data management.agents: a real-time AI framework for processing text, audio, images, and video, with OpenAI Realtime API support and plugins for popular LLMs.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 6543
Divya Anne Selvaraj
07 Oct 2024
Save for later

Python Must-Reads from September 2024

Divya Anne Selvaraj
07 Oct 2024
Curated for cybersecurity experts, data scientists, web developers, and NLP enthusiasts.Python Must-Reads from September 2024Hi ,This week, we’ve handpicked five standout Python titles for you, all published in September 2024.Whether you're securing networks with Python automation, cleaning and preparing data for analysis, streamlining workflows with Apache Arrow, building web apps, or diving into the power of natural language processing, these new releases offer the guidance you need.Each of these 5 eBook's and Print books is available -- for a limited time -- at 30% or more off!Bundle up & save more!Buy 2 – save an additional 10%Buy 3 – save an additional 15%Buy 5 – save an additional 20%Print discounts end October 11th.Here’s what’s on offer:Offensive Security Using Python by Rejah Rehim and Manindar MohanA hands-on guide to offensive tactics and threat mitigation using practical strategies>Defend. Attack. Automate.>Dive deep into cybersecurity tactics with Python, exploit vulnerabilities, and code securely.>A go-to guide for staying ahead in digital defence.Get the eBook for $39.99$27.98Get the Print book for $49.99 $34.98Python Natural Language Processing Cookbook - Second Edition byZhenya Antić and Saurabh ChakravartyOver 60 recipes for building powerful NLP solutions using Python and LLM libraries>Unlock NLP’s full power.>Recipes packed with practical insights, from text analysis to working with the latest LLMs like GPT-4 and OpenAI.>Real-world NLP mastery awaits.Get the eBook for $35.99$17.99Get the Print book for $44.99 $30.99Python Data Cleaning and Preparation Best Practices byMaria ZervouA practical guide to organizing and handling data from various sources and formats using Python>Turn raw data into gold.Learn to clean, validate, and prepare both structured and unstructured data.>Transform your pipelines and make your data truly actionable.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99In-Memory Analytics with Apache Arrow - Second Edition byMatthew TopolAccelerate data analytics for efficient processing of flat and hierarchical data structures>Boost your analytics.>Discover how Apache Arrow makes data processing lightning-fast.>Perfect for data engineers and analysts seeking seamless integration and peak performance.Get the eBook for $39.99$27.98Get the Print book for $49.99 $34.98Django 5 for the Impatient - Second Edition byDaniel Correa and Greg LimLearn the core concepts of Django to develop Python web applications>Build fast. Launch faster.>Create responsive web apps with Django 5 and deploy them effortlessly.>The fast lane to full-stack web development starts here.Get the eBook for $27.99$18.99Get the Print book for $34.99 $23.99All books are minimum 30% off, and print discounts end in 5 days on October 11th.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 6555

Divya Anne Selvaraj
03 Oct 2024
Save for later

ProgrammingPro #76: Python 3.13 RC 3, Django’s MVT Architecture, and PostgreSQL 17 Performance Enhancements

Divya Anne Selvaraj
03 Oct 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#76:Python 3.13 RC 3, Django’s MVT Architecture, and PostgreSQL 17 Performance EnhancementsIntroducing A Market-Changing Approach to Mobile App Protection by GuardsquareMobile applications face constant, evolving threats; to address these challenges, Guardsquare is proud to announce the launch of our innovative guided configuration approach to mobile app protection.By combining the highest level of protection with unparalleled ease of use, we empower developers and security professionals to secure their applications against even the most sophisticated threats.Guardsquare is setting a new standard for mobile app protection and we invite you to join us on this journey to experience the peace of mind that comes with knowing your mobile applications are protected by the most advanced and user-friendly product on the market.Learn MoreHi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, Django 5 for the Impatient - Second Edition, which introduces Django's MVT architecture, briefly outlining how Models, Views, and Templates work together to build a scalable web application.News Highlights:Python 3.13.0 RC 3 introduces features like free-threaded mode and JIT; PostgreSQL 17 enhances performance, storage, and JSON support; OpenAI reveals Realtime API, prompt caching, and AI updates; and MongoDB 8.0 boosts read throughput, time series handling, and sharding efficiency.My top 5 picks from today’s learning resources:Python 3.13: Cool New Features for You to Try✨Lesser known tricks, quirks, and features of C🕵️‍♂️Comparative Study of Java Native, Platform, and Virtual Threads🧵Planning, Automation and Monorepo: How Monzo Does Code Migrations across 2800 Microservices🚀021 - the tortoise and the hare - building faster with low level programming🐢🐇But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-ChiefPS:The October survey is now live. Do take the opportunity to leave us your feedback, request a learning resource, and earn your one Packt credit for this month.BOOK NOW AT $399.99 $239.99Use code LASTCHANCE40 at checkoutSign Up|Advertise🗞️News and Analysis🔎Python 3.13.0 release candidate 3 released: It includes new features like a free-threaded build mode, an improved interpreter, experimental JIT, and typing enhancements. The final release is now scheduled for October 7, 2024.JRuby 10 due to arrive in early-2025: The Ruby implementation for the JVM, is set to release in early 2025 and will support Ruby 3.4.0, Rails 7.1+, and require Java 17 or 21 to leverage modern JVM features.Java News Roundup: Proposed Schedule for JDK 24, SecurityManager Disabled, Commonhaus Foundation: Also covers JEP 475 (G1 garbage collector changes), updates in Spring Framework, and more.PostgreSQL 17 adds performance gains, storage optimizations and more: The version also introduces expanded JSON support, including SQL/JSON standards for data manipulation.OpenAI announces Realtime API, prompt caching, and more at DevDay: Vision fine-tuning, model distillation, and the company's recent $6.6 billion funding round were also discussed.MongoDB 8.0 offers significant performance improvements to read throughput, bulk writes, and more: It also offers improved handling of time series data, more efficient sharding, and control over query performance.The SQLite team is preparing an efficient remote replication tool: The tool uses ssh for secure data transfer, optimizes bandwidth by only transmitting changed data pages, and targets scenarios needing read-heavy access.🎓Tutorials and Learning Resources💡PythonPython 3.13: Cool New Features for You to Try: Releasing finally on October 7th, Python 3.13 introduces several improvements, including an enhanced REPL, clearer error messages, and progress on removing the GIL.For more Python resources, go to PythonProC# and .NETWhich .NET ORM - Dapper or Entity Framework?: Helps you decidewhen to choose Dapper or EF based on project size, database requirements, and adaptability.🎓Tutorial | Embracing DRY Principle to Streamline Test Automation: Contrasts tests with and without DRY, demonstrating how reusable utility functions and base classes enhance code efficiency and readability.🎓Tutorial | Dotnet Source Generators in 2024 Part 1 - Getting Started: Introduces .NET source generators, focusing on their purpose, types, and usage, particularly for code generation and reducing boilerplate in C# projects.C and C++Lesser known tricks, quirks and features of C: Covers topics ranging from advanced array manipulation and memory usage to uncommon syntactic constructs and obscure type qualifiers.It is never too late to write your own C/C++ command-line utilities: Discusses how a custom C++ command-line utility greatly outperformed a Python script in querying JSON files, improving performance tenfold.std::initializer_list in C++ 2/2 - Caveats and Improvements: Explores the issues and limitations of std::initializer_list in C++, and suggests alternatives like variadic factory functions to reduce copies and improve efficiency.Java🎓Tutorial | How to use generics in your Java programs: Demonstrates generics with collections, type safety benefits, examples of generic classes, and discusses raw types versus generics.Class File API - Not Your Everyday Java API: Introduces the Class-File API, a modern Java library for bytecode manipulation, aimed primarily at framework, tooling, and advanced Java developers.Comparative Study of Java Native, Platform and Virtual Threads: Highlights how virtual threads introduced by Project Loom improve performance and resource management.JavaScript and TypeScriptA guide to destructuring in JavaScript: covers binding patterns, default values, rest properties, and the spread operator for working with complex data structures.Strict mode: Outlines how to invoke strict mode, its restrictions on syntax and behavior, and the advantages over "sloppy mode."📖Open Access Book | The Concise TypeScript Book: Provides a clear and comprehensive overview of TypeScript, covering its type system, advanced features, and latest language updates.GoSome Go web dev notes: Discusses recent learnings from developing a website in Go, covering improved routing in Go 1.22, SQL query handling using sqlc , performance tips for SQLite, and memory management enhancements.CPU Throttling for containerized Go applications explained: Covers Kubernetes CPU limits, Go's concurrency model, how CPU quotas are enforced, and strategies to mitigate throttling, including configuring GOMAXPROCS.RustCode Generation in Rust vs C++26: Explores Rust’s derive procedural macro for code generation and how the upcoming C++26 reflection feature, with introspection and annotation capabilities, offers an equally powerful approach.Should you use Rust in LLM based tools for performance?: Discusses why Rust was chosen for building Swiftide, a text-processing toolchain, and its performance compared to Python's Langchain.SwiftURLSession in Swift: The Essential Guide [with Examples]: Explains the use of URLSession for network requests, handling protocols like HTTP and FTP, and parsing JSON data.Using the #expect macro for Swift Testing: Discusses the #expect macro in Swift Testing, Apple's new framework for writing tests which replaces various XCTest assertions, simplifying debugging.PHPLaravel 11.26 Released: The version introduces features like graceful stopping of process pools, using Enums for rate limiting, an Artisan command to create job middleware, and enhanced factory annotations for model factories.SQLTroubleshooting SQL queries with omni_id: Discusses how by creating new types for primary keys (e.g., user_id, product_id), omni_id helps identify issues, such as incorrect column comparisons, and enhances query accuracy.RubyBuilding a Vector Database in Ruby Using Hash and PStore: Shows how to build a vector database for semantic search and provides an overview of generating embeddings with OpenAI's API, and calculating cosine similarity.KotlinPushing the Boundaries of Compose Multiplatform with AGSL Shaders: Covers the anatomy of shaders, their use in Kotlin Multiplatform, and demonstrates applying effects like vignetting in the Photo-FX app.🌟Best Practices and Advice🚀How to Minimize Latency and Cost in Distributed Systems: Discusses optimizing distributed systems to reduce data transfer costs and latency through zone-aware routing.Planning, Automation and Monorepo: How Monzo Does Code Migrations across 2800 Microservices: Discusses how Monzo efficiently migrates services without downtime, enabling gradual rollouts and quick rollbacks.021 - the tortoise and the hare - building faster with low level programming: Argues that while initially slower, low-level programming offers full control and fewer trade-offs, potentially leading to more optimal results.Five Common Misconceptions About Event-Driven Architecture (EDA): Debunks 5 common misconceptions about EDA, highlighting its distinct characteristics, differences from related concepts, and benefits.🧠Expert Insight📚Here’s an excerpt from “Chapter 1: Installing Python and Django, and Introducing the Movies Store Application” in the book, Django 5 for the Impatient - Second Edition by Daniel Correa and Greg Lim, published in September 2024.Introducing the Django MVT architectureThere are various methodologies and approaches to design and code web applications. One approach involves consolidating all code into a single file toconstruct the entire web application.However, finding errors within such a file, often comprising thousands of lines of code, can be incredibly challenging. Alternatively, other strategies distribute code across different files and directories. Additionally, some approaches segment an application into multiple smaller applications dispersed across several servers, although managing the distribution of these servers presents its own set of challenges.Organizing your code effectively presents challenges. This is why developers and computer scientists have created software architectural patterns.Software architectural patternsoffer structural frameworks or layouts to address common software design issues. By leveraging these patterns, start-ups and inexperienced developers can avoid reinventing solutions for every new project. Various architectural patterns exist, includingModel-View-Controller(MVC),Model-View-Template(MVT), layers, service-oriented, and microservices. Each pattern comes with its own set of pros and cons. Many frameworks, such as Django, adhere to specific patterns in constructingtheir applications.In the case of Django, Django is based on the MVT pattern. This pattern is similar to MVC but with some differences in the responsibilities ofeach component:Models: The model represents the data structure. In Django, models are Python classes that define the structure of the data and how it interacts with the database. Models handle tasks such as querying a database, performingCRUD(Create, Read, Update, Delete) operations, and enforcing data validation. In the case of theMovies Storeapp,Movie,Review,Orderand the other classes from our class diagram will be coded asDjango models.Views: Views in Django are responsible for processing user requests and returning appropriate responses. Views typically receive HTTP requests from clients, fetch data from the database using models, and render templates to generate HTML responses. In Django, views are Python functions or classes that accept HTTP requests and return HTTP responses. In the case of theMovies Storeapp, we will create views and functions to handle the movies, accounts, and cart,among others.Templates: Templates are used to generate HTML dynamically. They contain the application’s user interface and define how data from the views should be displayed to the users. In the case of theMovies Storeapp, we will create a template to allow users to log in, a template to list movies, and a template to display the shopping cart,among others.The MVT pattern offers several benefits such as enhanced code separation, facilitated collaboration among multiple team members, simplified error identification, increased code reusability, and improved maintainability.Figure 1.11illustrates the software architecture of theMovies Store, which we will develop throughout this book. While it may seem overwhelming now, you will understand the intricacies of this architecture by the book’s conclusion. We will delve deeper into the architecture in thefinal chapters.Figure 1.11 – The Movies Store software architecture diagramLet’s briefly analyzethisarchitecture:Positioned on the left are the clients, which are the users of our application, who use browsers on mobile or desktop devices. These clients establish connections with the application via theHypertext Transfer Protocol(HTTP), providing users with a means to interact with ourweb application.On the right side, we have the server, which hosts ourapplication code.All client interactions first pass for a project-level URL file calledurls.py. This file is located in the main project folder calledmoviesstore/. URLs will be explored inChapter 2. This project folder also contains atemplates/folder in which we will design a reusable base template. Base templates will be explored inChapter 3.The project-level URL file passes the interaction to an app-level URL file. For this project, we will design and implement four Django apps –home,movies,cart, andaccounts. Django apps will be explored inChapter 2.Each app-level URL file passes the interaction to aviews.pyfile. Views will be explored inChapter 2.Views communicate with models, if required, and pass information to the templates, which are finally delivered to the clients as HTML, CSS, and JS code. Templates will be explored inChapter 2, and models will be explored inChapter 5.Django 5 for the Impatient - Second Edition was published in September 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $27.99$18.99Get the Print book for $34.99 $23.99🛠️Useful Tools⚒️iceoryx2 v0.4.0: An IPC library for fast inter-process communication with decentralized architecture, modularity, and advanced QoS.dust-core: An Apache-licensed Java library for creating efficient, scalable actor-based systems using lightweight threading.Quadratic: A modern spreadsheet merging JavaScript, Python, SQL, and formulas for dynamic data analysis, API integration, and visualizations.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 705

Divya Anne Selvaraj
30 Sep 2024
Save for later

Master Swift & iOS with 7 Essential Books

Divya Anne Selvaraj
30 Sep 2024
Curated for iOS developers, SwiftUI designers, and aspiring app creators.Master Swift & iOS with 7 Essential BooksHi ,Master Swift, build incredible apps, and save up to 50%.Swift and iOS are evolving—so should you. Swift 6 and iOS 18 are shaping the future, but the foundations haven't changed. We’ve handpicked 7 books to cover practical recipes, project-based learning, animations, app architecture, SwiftUI essentials, and interview preparation—providing you with a strong foundation in Swift and iOS development, built on core concepts, proven techniques, and best practices that transcend version changes.To support your learning journey, we're offering a 30% discount on print and eBook formats of our top Swift books—for a limited time. Buy eBooks in bundles and save even more:Buy 2 – save an additional 10%Buy 3 – save an additional 15%Buy 5 – save an additional 20%Print discounts end October 4th.Here’s what’s on offer:Swift Cookbook - Third Edition by Keith Moon, Chris Barker, Daniel Bolella, and Nathan LawlorProven recipes for developing robust iOS applications with Swift 5.9>Master Swift 5.9’s capabilities with practical recipes to build robust iOS applications.>Dive into Swift’s core features, from UIKit and SwiftUI to machine learning with CoreML.>Empower your skills with step-by-step solutions for real-world challenges.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99An iOS Developer's Guide to SwiftUI byMichele FaddaDesign and build beautiful apps quickly and easily with minimum code>Transform your app development with SwiftUI.>Learn to build clean, responsive architectures and asynchronous programming for modern apps.>Discover SwiftUI’s declarative power which lets you create stunning interfaces across all Apple platforms—efficiently and elegantly.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99The Ultimate iOS Interview Playbook byAvi TsadokConquer Swift, frameworks, design patterns, and app architecture for your dream job>Secure your dream job.>Tackle the toughest interview questions with confidence, from Swift fundamentals to app architecture.>Stand out in a competitive market, mastering every aspect of the iOS interview process to become the candidate every company wants.Get the eBook for $27.99$18.99Get the Print book for $34.99 $23.99SwiftUI Cookbook - Third Edition byJuan C. CatalanA guide for building beautiful and interactive SwiftUI apps>Go beyond the basics.>Unlock SwiftUI 5’s power to build multi-platform apps with advanced controls, data visualisations, and animations.>Create seamless, interactive user interfaces that captivate—while mastering Swift’s most up-to-date features.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99iOS 17 Programming for Beginners - Eighth Edition byAhmad SaharUnlock the world of iOS development with Swift 5.9, Xcode 15, and iOS 17 – your path to App Store success>Jumpstart your journey into iOS development.>Start from scratch and quickly build up to publishing your app, with step-by-step projects covering Swift 5.9, Xcode 15, and iOS 17.>Build strong foundations to adapt effortlessly to iOS 18.Get the eBook for $35.99$24.99Get the Print book for $44.99 $30.99Animating SwiftUI Applications byStephen DeStefanoCreate visually stunning and engaging animations for iOS with SwiftUI>Bring apps to life with stunning animations.>From simple transitions to complex visual effects, master techniques to create engaging user experiences.>Learn declarative programming to combine physics, motion, and creativity with minimal code.Get the eBook for $36.99$24.99Get the Print book for $45.99 $31.99Elevate SwiftUI Skills by Building Projects byFrahaan HussainBuild four modern applications using Swift, Xcode 14, and SwiftUI for iPhone, iPad, Mac, and Apple Watch>Learn by doing.>Build real-world apps for iPhone, iPad, Mac, and Apple Watch using SwiftUI.>Develop hands-on expertise through four diverse projects, from tax calculators to fitness companions, making you a well-rounded SwiftUI developer.Get the eBook for $27.99$18.99Get the Print book for $34.99 $23.99All books are 30% off, and print discounts end in 5 days on October 4th.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 1303
Divya Anne Selvaraj
26 Sep 2024
Save for later

ProgrammingPro #75: Python 3.13 JIT & Free Threading, C# Native AOT Performance, and AI Tools for DevOps & Productivity

Divya Anne Selvaraj
26 Sep 2024
Bite-sized actionable content, practical tutorials, and resources for programmers#75What changed in the way you code for 2024? What has happened in the tech world in the last few months?Take this shorter version of the Developer Nation survey, learn about new tools, influence the future of development and share your insights with the world!What’s in it for you?A virtual goody bag packed with cool resourcesThe more questions you answer the more chances you have to win amazing prizes including aSamsung Galaxy Watch 7!Take the Survey now!Hi ,Welcome to this week’s edition of ProgrammingPro!In today’sExpert Insight, we bring you an excerpt from the recently published book, System Design Guide for Software Professionals, which discusses distributed tracing—tracking requests across distributed systems.News Highlights: JavaScript community petitions to cancel Oracle’s trademark; Microsoft unveils Azure AI Inference SDK for .NET; Harness debuts AI assistants for DevOps, QA, and code; YugabyteDB update enhances distributed PostgreSQL performance.My top 5 picks from today’s learning resources:Python 3.13 Preview: Free Threading and a JIT Compiler🐍C# Native AOT performance⚙️this in JavaScript🧩How Canva Scaled Real-Time Collaboration with WebRTC - From WebSockets to Seamless P2P Communication🔄Study Shows AI Coding Assistant Improves Developer Productivity🤖But there’s more, so dive right in.Stay Awesome!Divya Anne SelvarajEditor-in-ChiefPS:With this issue, we have finished covering all resource requests made through the September survey. Keep your eye out for next month's survey.Experience the easiest File API on the internet!Add file uploads and retrieval in minutes so you can focus on building your app— because you’ve got better things to code than infrastructure.Try now!Sign Up|Advertise🗞️News and Analysis🔎JavaScript community challenges Oracle’s JavaScript trademark:With over 10,000 signatures, the community plans to petition the USPTO to cancel the trademark, aiming to protect the language's widespread use from legal issues.Java 23 highlights crypto performance and security: Key changes include increased buffer sizes for crypto operations, additional root certificates, and adjustments for case-sensitive Kerberos principal name lookups.Microsoft Launches Azure AI Inference SDK for .NET:The SDK is designed to simplify access to genAI models from the Azure AI Studio model catalog, which includes models from Azure OpenAI Service, Mistral, Meta, and more.Harness launches new AI assistants for DevOps, QA, and Code Generation offerings: Harness’s new AI solutions include tools for pipeline creation, code completion, testing automation, and productivity insights.Latest YugabyteDB update enables distributed PostgreSQL: Key improvements include an adaptive cost-based optimizer and smart data distribution to optimise performance and support multi-region applications.Eclipse Foundation forms new working group to help open source community comply with global regulations: The group will focus on the European Cyber Resilience Act, develop best practices, and provide resources.Gleam language reaches 1.5 release: Gleam is a statically typed language for the Erlang VM and JavaScript runtimes. The update brings productivity improvements like better compile-time error messages.🎓Tutorials and Learning Resources💡PythonPython 3.13 Preview: Free Threading and a JIT Compiler:Demonstrates the key new features in Python 3.13, including free threading, which makes the GIL optional, and a JIT compiler that compiles Python code into machine code.For more Python resources, go to PythonProC# and .NET🎓Tutorial | Curve Fitting in C# using Particle Swarm Optimization: Covers setup, theory, and implementation details, guiding users on how to fit custom equations to data points.C# Native AOT performance: Compares the performance of .NET Native AOT applications to regular managed .NET code, focusing on startup time, memory usage, and request processing speed.4 Genius .NET Libraries I Love: Covers Refit for streamlined HTTP requests, Coravel for scheduling, queuing, and background jobs, FluentValidation for cleanly defining data validation rules, and Polly for robust resilience.Recent C#, .NET, and Unity Books from PacktBuy 5 eBooks for 30% + 20% off!Discount automatically calculated when you add items to cartGet the eBook for $39.99$27.98Get the eBook for$43.99$29.99Get the eBook for$38.99$26.99 C and C++🎓Tutorial | Logging all C++ destructors, poor mans run-time tracing: Shows you how to trace destructor calls, set up logging, and filter out unnecessary library output.C++ programmer's guide to undefined behavior: part 6 of 11: Discusses undefined behavior in C++ with a focus on broken syntax and standard library pitfalls, covering topics like variadic functions and iostreams quirks.Hardening C Against ROP: Getting CET Shadow Stacks Working: Provides instructions for compiling a C program with shadow stack support and demonstrates how to enable CET in recent Linux distributions.Java🎓Tutorial | Demystifying Java Reflection: A Guide to Dynamic Code Capabilities (Part 1): Covers accessing class info, creating instances dynamically, modifying fields, and invoking methods at runtime.Java JDBC Best Practices for Developers: Outlines 10 essential best practices including using prepared statements for security, closing resources properly, and handling exceptions.🎓Tutorial | Building an Orders Processing Service with ChatGPT (contribute 70–80% efforts) and Finished in 2 Days: Covers defining API endpoints, designing entities like User and Order, and more.JavaScript and TypeScript🎓Tutorial | this in JavaScript: Provides examples to explain the usage and behavior of the this keyword in different contexts such as objects, functions, constructors, and callback functions, with practical demonstrations.Variable Naming Best Practices in JavaScript: Outlines 12 best practices for variable naming in JavaScript to improve code clarity and maintainability. Key guidelines include using let and const instead of var , and proper naming.Try, catch, but don't throw: Discusses how the standard try-catch-throw approach to error handling in TypeScript lacks type safety, leading to challenges in handling recoverable vs. unrecoverable errors.GoDeveloping a go bot embedding ichiban Prolog: Introduces the new PrologTrigger struct to execute Prolog scripts and discusses implementation steps and improvements.Go sync.Cond, the Most Overlooked Sync Mechanism: Covers its usage for goroutine synchronization, demonstrating patterns for Wait(), Signal(), and Broadcast() with examples, benefits, and internal workings.RustHow to Learn Rust in 2024: A Complete Beginner’s Guide to Mastering Rust Programming: Explains how to effectively approach Rust, understand its unique features like memory safety, and access curated learning resources.“Truly Hygienic” Let Statements in Rust: Explores solutions like using IDENT @ _ patterns, dummy functions, and ultimately choosing pragmatic trade-offs for maintainability and simplicity.SwiftMastering Data Binning with Swift Charts: Explores data binning using Swift Charts' NumberBins and DateBins APIs and demonstrates how these tools enable precise data intervals for numerical and temporal data.Insetting Scrollable Views’ Content With contentMargins In SwiftUI: Discusses using the contentMargins view modifier in SwiftUI (iOS 17), which adds spacing around content within scrollable views like ScrollView , and List .PHPHigh frequency metrics in PHP using TCP sockets: Covers practical examples of logging API and database calls, handling TCP socket connections non-blockingly, and provides a PHP class, MetricObserver .SQLSQL-tips-and-tricks:A repository containing a curated list of SQL tips and tricks for improving query readability, avoiding pitfalls, and leveraging advanced features.Ruby“Gilded Rose” refactoring kata in Ruby — as if it is 2024:Discusses a "stories-first" approach to refactor the "Gilded Rose" kata in Ruby, focusing on readable, concise code rather than small, overly abstracted classes.KotlinLoading Initial Data on Android Part 2: Clear All Your Doubts: Addresses common challenges in loading initial data in Android apps, focusing on using the right triggers to avoid side effects.🌟Best Practices and Advice🚀How Canva Scaled Real-Time Collaboration with WebRTC - From WebSockets to Seamless P2P Communication: Discusses how the adoption of WebRTC for direct data transmission enhanced user experience and more.Dirty code still runs, and that’s not a good thing: Discusses the hidden risks of allowing "dirty code" to persist in software production, highlighting that it functions but causes technical debt and long-term issues.How software teams should prepare for the digital twin and AI revolution: Discusses how these technologies can enable real-time monitoring, enhance analytics, and streamline development.Study Shows AI Coding Assistant Improves Developer Productivity: A study shows that GitHub Copilot increased developer productivity by 26%, based on three randomized controlled trials involving over 4,000 developers.🧠Expert Insight📚Here’s an excerpt from “Chapter 8: Design and Implementation of System Components: API, Security, and Metrics” in the book, System Design Guide for Software Professionals by Dhirendra Sinha and Tejas Chopra, published in August 2024.Distributed tracingDistributed tracing extends the concept of tracing to a distributed system. It involves tracking a request as it travels across multiple services and machines. Each step in the request’s journey isrecorded as a span. Each step in the request’s journey is recorded as a span. A collection of spans forms a trace, which represents the entire journey of the request.Distributed tracing providesseveral benefits:Performance optimization: By visualizing the flow of requests, you can identify performance bottlenecks andoptimize themError diagnosis: If a request fails, you can use the trace to identify where the error occurred and whatcaused itSystem understanding: Tracing helps you understand the flow of requests in your system, which can be useful when onboarding new team members or when planningsystem changesOpen-source tools for distributed tracingSeveral open-source tools are available for implementing distributed tracing, each offering distinct featuresand capabilities:Jaeger: Jaeger is a distributed tracing system that was developed by Uber Technologies and subsequently released as open-source software. It is designed to monitor and troubleshoot microservices-based distributed systems, drawing inspiration from Google’s Dapper and OpenZipkin. Jaeger provides a comprehensive set of features, including distributed context propagation, transaction monitoring, root cause analysis, and performance optimization. It supports various storage backends, including Elasticsearch, Cassandra, and Kafka, for scalabletrace storage.Zipkin: Zipkin is another distributed tracing system that focuses on collecting and managing timing data for troubleshooting latency issues in microservice architectures. It provides a simple and intuitive interface for visualizing trace data, enabling developers to quickly identify and address performance bottlenecks. Zipkin supports multiple data storage options, such as in-memory, MySQL, Cassandra, and Elasticsearch, and can be integrated with various programming languagesand frameworks.OpenTelemetry: OpenTelemetry is a unified observability framework that provides APIs, libraries, agents, and collector services for capturing distributed traces and metrics from applications. It aims to standardize the collection and analysis of telemetry data across different platforms and tools. OpenTelemetry supports a wide range of programming languages and integrates seamlessly with popular observability tools such as Prometheus and Jaeger. It offers advanced features such as context propagation, distributed tracing, and metric collection, making it a versatile choice for moderncloud-native applications.System Design Guide for Software Professionalswas published in August 2024. Packt library subscribers can continue reading the entire book for free or you can buy the bookhere!Get the eBook for $33.99$22.99🛠️Useful Tools⚒️Stride Community Toolkit:A collection of extensions and helpers to simplify and enhance game development in the Stride engine using C# and .NET.Panora: An open-source API that streamlines data integration for LLMs, connecting data sources and managing embeddings and chunking efficiently.Viewport Tester: Enables testing websites on 180+ device viewports simultaneously, with multi-device mode, deep-linking, and favorites for tracking.That’s all for today.We have an entire range of newsletters with focused content for tech pros. Subscribe to the ones you find the most usefulhere.If your company is interested in reaching an audience of developers, software engineers, and tech decision makers, you may want toadvertise with us.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 1227

Divya Anne Selvaraj
23 Sep 2024
Save for later

2024 guides for C#, .NET, and Unity developers

Divya Anne Selvaraj
23 Sep 2024
Curated for software architects, game developers, and .NET engineers2024 guides for C#, .NET, and Unity developersHi ,Great programmers never stop learning. Whether you’re perfecting C#, mastering .NET, or building the next big game with Unity, the right resources make all the difference.That's why we’ve curated 16 essential titles—all published in 2024—covering everything from data structures to advanced game mechanics. This collection is designed to help you build faster, scale bigger, and code smarter.For a limited time, you can get these select expert-led resources at 30% off in both Print and eBook formats. And for those looking to save more:Buy 5 eBooksat Extra 20% offBuy 3 eBooks atExtra 15% offBuy 2 eBooks atExtra 10% offPrint discounts end September 29th.Here’s what’s on offer:C# Programming💡SpotlightC# Data Structures and Algorithms - Second Edition by Marcin JamroHarness the power of C# to build a diverse range of efficient applications>Master lists, stacks, queues, dictionaries, sets, and trees, among other data structures>Delve into effective design and implementation techniques to meet your software requirements>Visualize data structures and algorithms through illustrations for a clearer understanding of their analysisGet the eBook for $39.99$27.98Get the Print book for $49.99 $34.98C# Interview Guide by Konstantin SemenenkoBoost your confidence with answers to hundreds of secret interview questions>Acquire a strong foundation in syntax, data types, and object-oriented programming to code confidently>Develop strategies for addressing behavioral questions, tackle technical challenges, and showcase your coding skills>Augment your C# programming skills with valuable insights from industry expertsGet the eBook for$33.99 $22.99Get the Print Book for $41.99$28.99Also SeeFunctional Programming with C#by Alex Yagur: Unlock coding brilliance with the power of functional magic. eBook $38.99 $26.99 | Print $47.99 $32.99.NET DevelopmentSoftware Architecture & Microservices💡SpotlightSoftware Architecture with C# 12 and .NET 8 - Fourth Edition by Gabriel Baptista and Francesco AbbruzzeseBuild enterprise applications using microservices, DevOps, EF Core, and design patterns for Azure>Get introduced to software architecture fundamentals and begin applying them in .NET>Explore the main technologies used by software architects and choose the best ones for your needs>Master new developments in .NET with the help of a practical case study that looks at software architecture for a travel agencyGet the eBook for $39.99$27.98Get the Print book for $49.99 $34.98Pragmatic Microservices with C# and Azure by Christian NagelBuild, deploy, and scale microservices efficiently to meet modern software demands>Benefit from step-by-step project-based guidance on how to develop a full-fledged microservices application>Gain extensive knowledge of microservices by covering essential concepts, tools, and methodologies>Use essential Microsoft Azure cloud-native services and as alternatives for on-premises environmentsGet the eBook for $39.99$27.98Get the Print Book for $49.99 $34.98Also SeeEnterprise Architecture with .NET by Jean-Philippe Gouigoux: Expert-backed advice for information system design, down to .NET and C# implementation. eBook $41.99 $28.99 | Print $51.99 $35.99Web API DevelopmentArchitecting ASP.NET Core Applications - Third Edition by Carl-Hugo Marcotte: An atypical design patterns guide for .NET 8, C# 12, and beyond.eBook $37.99 $25.99 | Print $46.99 $31.99Cross-Platform Development💡Spotlight.NET MAUI Cross-Platform Application Development - Second Edition by Roger YeBuild high-performance apps for Android, iOS, macOS, and Windows using XAML and Blazor with .NET 8>Handle data effectively with expanded coverage on the MVVM model and data binding>Integrate platform-specific code using plugins and custom controls>Migrate from Xamarin.Forms to .NET MAUI for the latest hybrid app development capabilitiesGet the eBook for $32.99 $22.99Get the Print Book for $40.00 $27.99Also See.NET MAUI Projects - Third Edition by Michael Cummings, Daniel Hindrikes, and Johan Karlsson: Build multi-platform desktop and mobile apps from scratch using C# and Visual Studio 2022. eBook $41.99 $28.99 | Print $51.99 $35.99Systems ProgrammingSystems Programming with C# and .NET by Dennis Vroegop: Building robust system solutions with C# 12 and .NET 8. eBook $38.99 $26.99 | Print $47.99 $32.99Unity Game Development💡SpotlightLearning Design Patterns with Unity by Harrison FerroneLearn the secret of popular design patterns while building fun, efficient games in Unity 2023 and C#>Craft engaging Unity 2023 games while mastering design patterns like Singleton, Object Pool, and more>Write clean, reusable C# code using creational, behavioral, and structural patterns, tailored for the game development environment>Go beyond basic design pattern usage and learn to customize and extend them for your unique game design needsGet the eBook for $35.99$24.99Get the Print Book for $41.99 $28.99Hands-On Unity Game Development - Fourth Edition by Nicolas Alejandro Borromeo and Juan Gabriel Gomila SalasUnlock the power of Unity 2023 and build your dream game>Learn the fundamentals of Unity 2023 and create your dream game>Explore the world of augmented reality (AR) to create captivating mobile games>Propel game performance and player experience to new heights with Data-Oriented Technology Stack (DOTS) insightsGet the eBook for $38.99$26.99Get the Print Book for $47.99 $32.99Also SeeMastering Unity Game Development with C# by Mohamed Essam: Harness the full potential of Unity 2022 game development using C#. eBook $33.99 $22.99 | Print $41.99 $28.99Unity 2022 by Example by Scott H. Cameron: A project-based guide to building 2D and 3D games, enhanced for AR, VR, and MR experiences. eBook $39.99 $27.98 | Print $49.99 $34.98Mastering UI Development with Unity - Second Edition by Dr. Ashley Godbold: Develop engaging and immersive user interfaces with Unity. eBook $39.99 $27.98 | Print $49.99 $34.98AI Development💡SpotlightBuilding AI Applications with Microsoft Semantic Kernel by Lucas A. MeyerEasily integrate generative AI capabilities and copilot experiences into your applications>Link your C# and Python applications with the latest AI models from OpenAI>Combine and orchestrate different AI services such as text and image generators>Create your own AI apps with real-world use case examples that show you how to use basic generative AI, create images, process documents, use a vector databaseGet the eBook for $35.99$24.99Get the Print Book for $44.99 $30.99All books are 30% off, and print discounts end 29th September. Discounts are automatic—no codes needed.Start learning today.*{box-sizing:border-box}body{margin:0;padding:0}a[x-apple-data-detectors]{color:inherit!important;text-decoration:inherit!important}#MessageViewBody a{color:inherit;text-decoration:none}p{line-height:inherit}.desktop_hide,.desktop_hide table{mso-hide:all;display:none;max-height:0;overflow:hidden}.image_block img+div{display:none}sub,sup{line-height:0;font-size:75%}#converted-body .list_block ol,#converted-body .list_block ul,.body [class~=x_list_block] ol,.body [class~=x_list_block] ul,u+.body .list_block ol,u+.body .list_block ul{padding-left:20px} @media (max-width: 100%;display:block}.mobile_hide{min-height:0;max-height:0;max-width: 100%;overflow:hidden;font-size:0}.desktop_hide,.desktop_hide table{display:table!important;max-height:none!important}}
Read more
  • 0
  • 0
  • 1576
Success Subscribed successfully to !
You’ll receive email updates to every time we publish our newsletters.