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...

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...

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...

.NET October 2022 Updates – .NET 6.0.10 and .NET Core 3.1.30

Today, we are releasing the .NET October 2022 Updates . These updates contain security and non-security improvements. Your app may be vulnerable if you have not deployed a recent .NET update. You can download 6.0.10 and 3.1.30 versions for Windows, macOS, and Linux, for x86, x64, Arm32, and Arm64. Installers and binaries: 6.0.10 | 3.1.30 Release notes: 6.0.10 | 3.1.30 Container images Linux packages: 6.0.10 | 3.1.30 Release feedback/issue Known issues: 6.0 | 3.1 Improvements CoreFX: 3.1.30 ASP.NET Core: 6.0.10 Installer: 6.0.10 Runtime: 6.0.10 Templating: 6.0.10 Security CVE 2022-41032: .NET Elevation of Privilege Vulnerability Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 7.0.0-rc, .NET 6.0, .NET Core 3.1, and NuGet (NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol). This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. A vuln...

Authentication for .NET MAUI Apps with MSAL.NET

We are pleased to announce official .NET MAUI support in Microsoft.Identity.Client 4.47.0 to easily add authentication into your apps. In this blog we will take a look at how to perform authentication in .NET MAUI apps to acquire the desired token. Commonly authentication is done in three ways: Basic – This is used when authentication is done for both personal and corporate accounts without using a broker (or Authenticator). For clarity, personal account mean Microsoft personal account such as Outlook, Hotmail etc. With Broker – This is intended for corporate accounts where an extra layer of security is added by using Authenticator/Broker. This is useful for MFA and is required to comply with other security policies such as conditional access. B2C – This is used when the end user is allowed to login using OAuth2 credentials such as Google, Facebook etc. This does not support broker. We provided one sample for each type Samples . All the samples use the standard Acquire Token S...