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#

Game Devs still aren't warming up to generative AI

Information

LLMs are not super useful for much of game programming, especially things like engine programming. Too niche, not as well covered in the training set as say building web apps or doing Python stuff.

Read more...

AI

Inline Lambdas with LINQ in C# 13

Programming

Reduce verbosity by simplifying lambda expressions with inline syntax

Read more...

Aggregating Data with LINQ in .NET9

Programming

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

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

Performance increase in LINQ 7

Programming

Microsoft used Span and hardware acceleration to work with vectors in order to improve LINQ performance in .NET 7 dramatically.

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