DeepSeek JailBrake Attack

Information

The Chinese government is famous/notorious for its censorship. The Chinese LLM DeepSeek naturally follows this attitude and does not talk about content that is sensitive for China's leadership, such as Tiananmen Square Massacre, Taiwan or the Cultural Revolution. With some simple JailBrakeing you can get DeepSeek to bypass the censorship.

Read more...

AI

Understanding Memory<T>

Programming

Modern applications often require handling large datasets efficiently without unnecessary data copying. C# introduced Memory<T> as a versatile tool for optimizing memory management. Here we will explore how Memory<T> solves common issues and its advantages over traditional approaches.

Read more...

C#

Critical: .NET Install links are changing

Information

.NET binaries and installers have moved to a new domain -- builds.dotnet.microsoft.com -- backed by a new Content Delivery Network (CDN). You may need to make changes to adjust.

Read more...

Aggregating Data with LINQ in .NET9

Programming

.NET9 has introduced two new LINQ methods, CountBy and AggregateBy, making data aggregation easier and more efficient without the need for complex intermediate steps like GroupBy.

Read more...

Inline Lambdas with LINQ in C# 13

Programming

Reduce verbosity by simplifying lambda expressions with inline syntax

Read more...

Implementing Modern API Versioning in .NET

Video

How t0 implement modern API versioning in .NET using the latest tooling available. In this video we will focus on Minimal APIs since this is the new feature added in .NET 6, but this approach can be used for Web APIs as well.

Read more...

Parameter Null Checking in C# 11

Programming

Get ride of common boilerplate code to validate if the method arguments are null with C# 11.

Read more...

C#

The magic of LINQ

Programming

Practical LINQ: Calculate the duration of whole music album

Read more...

How to return Yield Results in Async Operations

Programming

How to return Yield Results in Async Operations thanks to IAsyncEnumerable in C#

Read more...

Jagged Arrays

Programming

What is a jagged array?

Read more...

C#