Skip to main content

Posts

Showing posts from October, 2022

Slaying Zombie ‘No Repro’ Crashes with Infer#

You slide into your office chair, cup of coffee in hand, and check your email. Another high severity ticket – your servers have crashed, and you have by tomorrow morning to figure out why. Heaving a heavy sigh, you soon find yourself sifting through tens of thousands of lines of code and logs. Morning soon passes to afternoon, fading into dusk. Finally, you find it, push the fix, and reboot the application. Minutes pass. Crash . Your night of the living dead has begun – no matter how many times you try to put this bug down, it just keeps coming back to life. We’ve all suffered from “zombie bugs” before. There are many static analysis tools on the marketplace today to help you detect bugs, many of which work by searching for a series of syntactic patterns in code. Unfortunately, due to the huge variation and complexity of coding constructs and conventions in different projects, this approach often leads to the high false positive and false negative rates for which static analysis tools...

Slaying Zombie ‘No Repro’ Crashes with Infer#

You slide into your office chair, cup of coffee in hand, and check your email. Another high severity ticket – your servers have crashed, and you have by tomorrow morning to figure out why. Heaving a heavy sigh, you soon find yourself sifting through tens of thousands of lines of code and logs. Morning soon passes to afternoon, fading into dusk. Finally, you find it, push the fix, and reboot the application. Minutes pass. Crash . Your night of the living dead has begun – no matter how many times you try to put this bug down, it just keeps coming back to life. We’ve all suffered from “zombie bugs” before. There are many static analysis tools on the marketplace today to help you detect bugs, many of which work by searching for a series of syntactic patterns in code. Unfortunately, due to the huge variation and complexity of coding constructs and conventions in different projects, this approach often leads to the high false positive and false negative rates for which static analysis tools...

Learn Kotlin Programming – Full Course for Beginners

Curriculum for the course Learn Kotlin Programming – Full Course for Beginners Learn the Kotlin programming language in this full course for beginners. Kotlin is the most popular programming language for building Android apps and it can also be can be used for any kind of development. ✏️ Alexandru Cristian developed this course. 🔗 Alexandru on Instagram: https://www.instagram.com/alexdobinca/ Other courses from Alenxadru: 🎥 Python: https://www.udemy.com/course/python-complete-course-learn-python-from-zero/?referralCode=C5CFAB487FBFEE00E12C 🎥 Kotlin: https://www.udemy.com/course/kotlin-masterclass-learn-kotlin-from-zero-to-advanced/?referralCode=EAB498FC62AF9500D30A ⭐️ Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:01:06) Install Intellij IDEA ⌨️ (0:06:23) Hello World ⌨️ (0:25:41) Variables ⌨️ (0:41:18) Window ⌨️ (0:42:24) Integer Type ⌨️ (0:53:08) DataType: Byte, Short and Long ⌨️ (1:04:42) Float and Double ⌨️ (1:16:16) Char and Boolean ⌨️ (1:25:55) Operators ⌨️ (1:49:47) Commen...

Graph Algorithms Crash Course (with Java)

Curriculum for the course Graph Algorithms Crash Course (with Java) Learn how to use the graph data structures in this full tutorial for beginners. A Graph data structures is a non-linear data structure consisting of vertices and edges. They are used to solve many real-word problems and are commonly needed to solve coding challenges. The course uses Java. Coding Cleverly teaches this course. Check out his channel: https://www.youtube.com/c/CodingCleverly 💻 Source Code: https://github.com/codingcleverly/graphs_freeCodeCamp ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) Introduction to Graphs ⌨️ (0:01:35) Graphical Explanation ⌨️ (0:03:21) Code Implementation ⌨️ (0:06:41) Vertex class ⌨️ (0:09:33) Edge class ⌨️ (0:17:46) Graph class ⌨️ (0:28:06) main method ⌨️ (0:31:31) compile and run ⌨️ (0:32:55) Introduction to Graph Traversals ⌨️ (0:34:49) Traversal Orders ⌨️ (0:35:35) DFS Traversal (Graphical Explanation) ⌨️ (0:41:56) Code Implementation of DFS ⌨️ (0:51:39) BFS Traversal (Graphical Expl...

.NET Framework October 2022 Cumulative Update Preview

Today, we are releasing the October 2022 Cumulative Update Preview for .NET Framework. Quality and Reliability This release contains the following quality and reliability improvements. WPF 1 Addresses an issue where a FailFast crash could occur when using WebBrowser.NavigateToString. Addresses an ArgumentOutOfRangeException that can arise when calling ListBox.ScrollIntoView while there are pending changes to the visual tree that will change or clear the underlying ItemsCollection. Addresses an ArgumentException “Width and Height must be non-negative” that can arise in an ItemsControl with grouping enabled, custom margins on the GroupItems, collapse/expand of GroupItems enabled, and run in high-DPI. Addresses an issue where the opt-out switch Switch.System.Windows.Controls.ToolTip.OptOutOfWCAG21ToolTipBehavior didn’t quite restore the 4.8 behavior, in particular the way it honors Switch.UseLegacyToolTipDisplay (which controls whether keyboard tooltip behavior is enabled). .NET...

.NET Framework October 2022 Cumulative Update Preview

Today, we are releasing the October 2022 Cumulative Update Preview for .NET Framework. Quality and Reliability This release contains the following quality and reliability improvements. WPF 1 Addresses an issue where a FailFast crash could occur when using WebBrowser.NavigateToString. Addresses an ArgumentOutOfRangeException that can arise when calling ListBox.ScrollIntoView while there are pending changes to the visual tree that will change or clear the underlying ItemsCollection. Addresses an ArgumentException “Width and Height must be non-negative” that can arise in an ItemsControl with grouping enabled, custom margins on the GroupItems, collapse/expand of GroupItems enabled, and run in high-DPI. Addresses an issue where the opt-out switch Switch.System.Windows.Controls.ToolTip.OptOutOfWCAG21ToolTipBehavior didn’t quite restore the 4.8 behavior, in particular the way it honors Switch.UseLegacyToolTipDisplay (which controls whether keyboard tooltip behavior is enabled). .NET...

How to Make Money From Your Website Using Microtransactions

Curriculum for the course How to Make Money From Your Website Using Microtransactions Learn how to make money from your website without having to reply on third party advertisers or selling your users data by using the Interledger Protocol and microtransactions. ✏️ Ania Kubów developed this course. Check out her channel: https://www.youtube.com/c/AniaKub%C3%B3w 🔗 Sign up for Uphold: https://wallet.uphold.com/signup 🔗 Coil Chrome extension: https://chrome.google.com/webstore/detail/coil/locbifcbeldmnphbgkdigjmkbfkhbnca?hl=en 🔗 Sign up for Coil: https://coil.com/auth/signup 🏗 Grant for the Web provided a grant to make this course possible. Grant for the Web is an Interledger Foundation program to boost open, fair, and inclusive standards and innovation in Web Monetization. 🎉 Thanks to our Champion and Sponsor supporters: 👾 Raymond Odero 👾 Agustín Kussrow 👾 aldo ferretti 👾 Otis Morgan 👾 DeezMaster -- Learn to code for free and get a developer job: https://www.freecodec...

Flutter Course – Build Full Stack Google Docs Clone

Curriculum for the course Flutter Course – Build Full Stack Google Docs Clone Build a responsive cross-platform Google Docs Clone using Flutter & Node.js. This tutorial is designed for beginners in Node.js and no prior knowledge Javascript is required. This course will go through Google Authentication WITHOUT Firebase, keeping the users logged in, creating new documents, viewing the list of documents created by user, updating the title of the document, sharing link of the document, adding a rich text editor, collaboratively editing with as many users as you want and creating responsive design. We will be using Flutter, Node, Express, Socket, MongoDB and Riverpod. ✏️ Course created by Rivaan Ranawat. Check out his channel: https://www.youtube.com/c/RivaanRanawat 💻 Source Code: https://github.com/RivaanRanawat/flutter-google-docs-clone Special Thanks: @Aadhi Arun Prerequisites: Flutter & Dart Basics Flutter Version: 3.3 ⭐️ Contents ⭐️ ⌨️ (0:00:00) Intro ⌨️ (0:00:57) Cr...

Harvard CS50 – Full Computer Science University Course

Curriculum for the course Harvard CS50 – Full Computer Science University Course Learn the basics of computer science from Harvard University. This is CS50, an introduction to the intellectual enterprises of computer science and the art of programming. 💻 Slides, source code, and more at https://cs50.harvard.edu/x. ⭐️ Course Contents ⭐️ ⌨️ (00:00:00) Lecture 0 - Scratch ⌨️ (01:45:08) Lecture 1 - C ⌨️ (04:13:23) Lecture 2 - Arrays ⌨️ (06:20:43) Lecture 3 - Algorithms ⌨️ (08:37:55) Lecture 4 - Memory ⌨️ (11:03:17) Lecture 5 - Data Structures ⌨️ (13:15:36) Lecture 6 - Python ⌨️ (15:39:25) Lecture 7 - SQL ⌨️ (18:00:55) Lecture 8 - HTML, CSS, JavaScript ⌨️ (20:23:38) Lecture 9 - Flask ⌨️ (22:39:01) Lecture 10 - Emoji ⌨️ (24:02:50) Cybersecurity Recorded in 2021. --- HOW TO JOIN CS50 COMMUNITIES Discord: https://discord.gg/cs50 Ed: https://cs50.harvard.edu/x/ed Facebook Group: https://www.facebook.com/groups/cs50/ Faceboook Page: https://www.facebook.com/cs50/ GitHub: https://gith...

Announcing .NET MAUI support for .NET 7 Release Candidate 2

.NET Multi-platform App UI (MAUI) with .NET 7 Release Candidate 2 is now available in Visual Studio 17.4 Preview 4 on both Windows and Mac. The primary themes of RC2 are quality and .NET support for Xcode 14 with iOS 16. This release is covered by a go-live support license for use in production. In related news, new libraries have also shipped for MSAL.NET and App Center (Preview). These are both key libraries that .NET MAUI developers have been asking for. MSAL.NET is essential when using Azure Active Directory and the Microsoft identity platform for authentication. App Center provides services for app diagnostics and analytics. Authentication for .NET MAUI Apps with MSAL.NET App Center (Preview) Getting Started Install or upgrade to the latest preview of Visual Studio 2022: Visual Studio 2022 for Mac – 17.4 Preview 4 Download Visual Studio 2022 for Windows – 17.4 Preview 4 Download If targeting iOS, you can now build directly to your iOS device on Windows, or if you us...

Learn Svelte – Full Course for Beginners

Curriculum for the course Learn Svelte – Full Course for Beginners Learn Svelte in this full course for beginners! Svelte is a front-end JavaScript framework for making interactive webpages. ✏️ Li Hau Tan developed this course. Li is a core maintainer of Svelte. Check out his channel: https://www.youtube.com/lihautan 💻 Code links in top comment (because of YouTube's description character limit) ⭐️ Course Contents ⭐️ ⌨️ (0:00:23) Introduction ⌨️ (0:00:31) Writing your 1st Svelte component ⌨️ (0:06:25) Style your Svelte component ⌨️ (0:18:48) Adding data to Svelte component ⌨️ (0:23:22) Reactivity in Svelte ⌨️ (0:37:41) Attaching events in Svelte ⌨️ (0:48:07) Reactive Declarations and Statements ⌨️ (1:06:19) tick() ⌨️ (1:19:06) Component and props ⌨️ (1:29:09) Component events ⌨️ (1:44:35) Forwarding component events ⌨️ (1:56:17) class: directive ⌨️ (2:02:31) Binding ⌨️ (2:13:04) bind:group ⌨️ (2:24:18) bind:this ⌨️ (2:35:28) Component Lifecycle ⌨️ (2:45:55) onMount ⌨️ (2:55...

What’s new in System.Text.Json in .NET 7

In .NET 7, our focus for System.Text.Json has been to substantially improve extensibility of the library, adding new performance-oriented features and addressing high impact reliability and consistency issues. More specifically, .NET 7 sees the release of contract customization , which gives you more control over how types are serialized or deserialized, polymorphic serialization for user-defined type hierarchies , required member support , and much more. Getting the latest bits You can try out the new features by using the latest build of System.Text.Json NuGet package or the latest SDK for .NET 7 , which is currently RC. Contract Customization System.Text.Json determines how a given .NET type is meant to be serialized and deserialized by constructing a JSON contract for that type. The contract is derived from the type’s shape — such as its available constructors, properties and fields, and whether it implements IEnumerable or IDictionary — either at runtime using reflection or...