aeveltstra, (edited ) to Java
@aeveltstra@mastodon.social avatar

Reflection considered harmful

In the and OOP programming languages, is used to not only review an object’s private fields and methods, but also to access and change them.

This is used for instance by large libraries and frameworks, by preprocessors, and of course by the standard library itself.

It is dangerous because it can break a class’ definition of what should be private and inaccessible.

Every programmer should know.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

🔮 We’re doing a in the FUTURE today with Chris Simon. (Actually, he’s just in Australia, but he’s a full day ahead!)

👨‍🏫 He’ll teach us about , , and . Please come hang out in the chat. It's always so lively and fun.

👍 Boosts appreciated.

https://www.youtube.com/watch?v=gXz7gKtRVpM

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

I’m hosting Chris Simon on a to discuss , , and . Not to be confused with D&D, which is about wizards, dragons, and dungeon masters… wait it's pretty similar.

https://www.youtube.com/live/gXz7gKtRVpM?si=Uc_kn-GzdEIvSR_p

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

🕹️ I wrote a tutorial to help you build a pong game using the latest version of and with .

🏓 I'm pretty proud of the guided part, as I was able to break down working in the Godot editor and then code, so the only bouncing back and forth is in the game of .

🧑‍🚀 Give it a try, and let me know what you think.

🙏 Boosts are appreciated :)

https://www.jetbrains.com/guide/gamedev/tutorials/rider-godot-pong/

cwoodruff, to dotnet
@cwoodruff@mastodon.social avatar

The book Beyond Boundaries—Networking Programming with C# 12 and .NET 8 can be read online here! https://csharp-network.com

Chap 1 Overview of Network Programming https://csharp-networking.com/chapter01
Chap 2 Fundamentals of Networking Concepts https://csharp-networking.com/chapter02
Chap 3 Introduction to Socket Programming https://csharp-networking.com/chapter03
Chap 4 Asynchronous Programming with Async/Await https://csharp-networking.com/chapter04
Chap 5 Multithreading in Network Applications https://csharp-networking.com/chapter05

dreamykeaver, to linux
@dreamykeaver@chitter.xyz avatar

Are there reasons why C# is not used much for software ?

Can someone explains me I'm genuinely confused. I haven't heard of Mono a while ago.

beef, to python
@beef@hachyderm.io avatar

hi!

My friend is looking into contributing to open source but doesn't know where to start. They have experience in Python, C# (Unity), Swift, and React. Does anyone have some pointers or projects they could look into to get started?

glitchypixel, to CSharp Spanish
@glitchypixel@mastodon.gamedev.place avatar

Hm is it me or there is some sort of obsession to constantly update a programming language to fill it with "stuff" and "features"

I'm noticing a clear trend for this in #csharp and #cpp, but I'm sure there are others

I mean people keep asking why C is still widely used. I'm pretty sure that one of the reasons is that the spec has barely changed in 50 years or so and it works

C'mon some programming languages are fine as they are, please don't keep crowding them unless absolutely necessary pls?

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.0, Analyzers 1.13.0, and Visual Studio adapter 2.8.0. The primary purpose of this release is a new parallelism algorithm that should make test timing more reliable, and make thread deadlocks in your tests less likely.

Read all about the new algorithm here: https://xunit.net/docs/running-tests-in-parallel#algorithms

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.8.0
https://xunit.net/releases/analyzers/1.13.0
https://xunit.net/releases/visualstudio/2.8.0

joaofbantunes, to Kubernetes
@joaofbantunes@mastodon.social avatar

Exploring some ideas, messing with the API using the client 🙂

poppastring, to fediverse
@poppastring@dotnet.social avatar

Has anyone implemented Activity Pub with ASP.NET Core?

Not just types and objects but something that could be used for basic federation.

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Dew Drop – April 22, 2024 ()

Top links:

  • How to create a trial version for a C# Windows Forms app
  • Will Visual Studio be migrated to .NET Core and become multi-platform?
  • React Native Radio - RIP App Center and other news
  • Wolverine's new PostgreSQL messaging transport
  • A short guide to mastering keyboard shortcuts on GitHub
  • Build your first ML Model with ML.NET Model Builder

https://www.alvinashcraft.com/2024/04/22/dew-drop-april-22-2024-4174/

bradwilson, to vscode
@bradwilson@mastodon.social avatar

I am extraordinarily annoyed by the fact that appears to be enabled by default now in and I can't find any way to turn it off.

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

Uploaded my Pong game. It's really my first game, and I probably would do a few things differently, but it's pretty good for a first attempt (in my opinion).

If you're interested, check it out!

https://github.com/khalidabuhakmeh/RiderPong

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

With the help of @slang25 I learned some interesting stuff today.

🧵↓

maartenballiauw, to CSharp
@maartenballiauw@mastodon.online avatar

The "Collection was modified" inspection in #ReSharper is quite handy. Warns you about those accidental collection updates while looping over them, resulting in a runtime error. And can fix them automatically! #csharp #dotnet

video/mp4

bradwilson, (edited ) to dotnet
@bradwilson@mastodon.social avatar

If I'm writing an analyzer to say "stop doing X in xUnit.net v2 because it's been removed in v3", should that be INFO or WARNING by default?

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

My book on parallel programming & concurrency in C# is part of the Mastery of C# and .NET Awaits Humble Bundle from Packt Publishing

for up to 22 eBooks!

https://www.humblebundle.com/books/mastery-c-sharp-and-dot-net-awaits-packt-books?partner=morningdew

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.7.1, Analyzers 1.12.0, and Visual Studio adapter 2.5.8. This includes a few new assertion overloads, four new analyzers (and two new suppressors), and a handful of bug fixes.

Enjoy!

Release notes:

https://xunit.net/releases/v2/2.7.1
https://xunit.net/releases/analyzers/1.12.0
https://xunit.net/releases/visualstudio/2.5.8

lostprototype, to CSharp
@lostprototype@mastodon.social avatar

An absolute BANGER of a release for Rider 2024!

Thank you @khalidabuhakmeh and co.

Lots of goodies in here, as always, happy to continue being a JetBrains toolbox subscriber.

Also, thank you for unbundling that pesky AI plugin. You did the good thing.

#csharp #dotnet #jetbrains #rider #linux

wagesj45, to ai
@wagesj45@mastodon.jordanwages.com avatar

Instruct 7B v0.2 has a strange quirk I found tonight. I pasted in a C# class and asked it to generate comments for everything. I specifically asked it to not rewrite the content of the methods and such, and it always rewrote the whole thing. It was accurate and the comments were great, but it always wants to redo the whole thing. The line between what it can and can't do is mysterious!

benjaminhirsch, to CSharp
@benjaminhirsch@mastodon.social avatar

I would argue that Entity Framework Core ( ) has the same pros and cons like any other ORM no matter what language.

Those ORMs looking appealing at first, but once you start doing more advanced things, they start to get in your way and getting slow.

Instead I use ADO.NET (Npgsql), Dapper and Fluent Migrator. Having the ability to write your queries in plain SQL and using Dapper for object mapping matches they way I do it in

anna, to rust
@anna@blahaj.zone avatar

Now that I'm on a new instance, I guess I should do an .

I'm Anna, lesbian extraordinaire. I made a lot of plugins for FFXIV, I made Heliosphere (a website+plugin for FFXIV mods), I've made a pastebin... Just a lot of stuff that's caught my interest.

I use a lot of and . I like to read and on my ereader. I like TTRPGs, video games (), some TV and movies, almost all music, and my girlfriend.

I'm very left-leaning, and I believe everyone should have rights - equitable rights at that. (How is this a lefty thing to say and not just normal, basic compassion?) If you are bigoted in any way, I want nothing to do with you.

I don't know. I think I'm pretty average. If I get safe vibes from you, I'll probably approve your follow request.

TLDR: idk am gorl

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

I never thought I'd be uncovering deadlocks in other peoples code by removing synchronization contexts in @xunit, but a third instance was reported last night and I was able to track things down for them fairly quickly.

I guess this is part of my new retirement job. 😂

khalidabuhakmeh, to godot
@khalidabuhakmeh@mastodon.social avatar

Any folks know when will be supported as a target for HTML5. Currently it seems that there is no support for exporting a game for the web when using C# scripts using the latest versions of .

  • All
  • Subscribed
  • Moderated
  • Favorites
  • tester
  • kavyap
  • PowerRangers
  • hgfsjryuu7
  • magazineikmin
  • thenastyranch
  • rosin
  • mdbf
  • Youngstown
  • slotface
  • InstantRegret
  • khanakhh
  • GTA5RPClips
  • DreamBathrooms
  • anitta
  • vwfavf
  • normalnudes
  • ngwrru68w68
  • everett
  • ethstaker
  • osvaldo12
  • cisconetworking
  • Durango
  • Leos
  • tacticalgear
  • cubers
  • modclub
  • provamag3
  • All magazines