khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I noticed that the library is publishing new packages again. In honor of its revival, here is a lightswitch example written in . 💡

Toggling a lightswitch workflow on and off

khalidabuhakmeh, to unity
@khalidabuhakmeh@mastodon.social avatar

This livestream will live on in the halls of Valhalla for eternity… or as long as YouTube is around.

Come join this #JetBrainsRider #Unity livestream and see how to improve your #gamedev workflows and build custom UIs for your designers with a few #csharp attributes thanks to #Odin.

🙏 Boosts appreciated #dotnet

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

jonspark, to CSharp
@jonspark@howdee.social avatar

Is C# development still tied to Windows? It's been a very long time since I looked and I’m curious what people's preferred development environment is…?

ggmueller,
@ggmueller@mastodon.social avatar

@jonspark Been developing for 2 years exclusively on Linux (PopOS) now.

Works very good for backend development, deploying via

is my IDE of choice on Linux.

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Building Linux Desktops apps with .NET and Uno Platform | On .NET with James Montemagno.

#unoplatform #devcommunity #dotnet #csharp #xaml #mobiledev #linux
https://www.youtube.com/watch?v=OxyJYF2HgBM&ab_channel=dotnet

jupiter, to gamedev
@jupiter@mastodon.gamedev.place avatar

How to indent? (also has switched parameter orders, part of the experiment)
(Poll in next Toot)

#GameDev #CSharp #GodotEngine

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@jupiter B immediately jumps out as “comforting” 😅

nicola, to dotnet
@nicola@fosstodon.org avatar

Today, I learned how to handle custom claims in an Open ID Connect-authenticated ASP.NET Core app.

https://nicolaiarocci.com/how-to-handle-custom-claims-in-an-oidc-authenticated-aspnet-core-app/

#dotnet #csharp #programming

arialdo, to CSharp
@arialdo@mastodon.online avatar

Apparently, the fastest way to check if an enumerable contains at least 2 elements in #csharp is:

xs.Skip(2).Any()

Unbelievably faster than:

xs.Take(2).Count() == 2

or a foreach list with a counter.

alvinashcraft, to dotnet
@alvinashcraft@hachyderm.io avatar

Building .NET apps for Linux from any operating system with @UnoPlatform.

#dotnet #linux #unoplatform #csharp
https://platform.uno/blog/building-net-apps-for-linux-from-any-operating-system/

infoq, to CSharp
@infoq@techhub.social avatar

#CSharp 13 is here in preview!

Microsoft unveils notable updates including params parameter improvements, new extension types, and several performance and memory enhancements.

Dive into the details on #InfoQ 👉 https://bit.ly/4aHKuQJ

#dotnet #dotnetCore

peterritchie,
@peterritchie@mastodon.social avatar

@khalidabuhakmeh @infoq I've wanted that since extension methods 😀 But, you can see them here: https://build.microsoft.com/en-US/sessions/689e5104-72e9-4d02-bb52-77676d1ec5bc?source=sessions I've seen demos of language features in the past that didn't make it to release, but 🤞🏽

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@peterritchie @infoq I wanted to play around with it and spike some thoughts and maybe evolve some of my thinking around certain concepts.

I’ve read the article, but I need to play with it directly. 😅

Turious, to dotnet
@Turious@mastodon.social avatar

If I have a simple C# 4.8 application and I wanted to add a way to feed it instructions remotely, how would I do that? This will be a program running fullscreen that needs full control of the mouse/keyboard.

All API tutorials I can find either describe .NET Core or controller options I do not have available because this is a basic project.

#dotNET #csharp #help

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

This is super duper extra important.

C# Nullable Reference Types are a compile-time thing, not a runtime thing. "string?" and "string" are both just "string" at runtime.

This means:

  • Always guard against your users passing null even for types that shouldn't allow it, because it's not a runtime guarantee.

  • You can't create overloads that differ only on nullability (i.e., Method(string) vs. Method(string?)) because they're the same type at runtime.

agocke,
@agocke@hachyderm.io avatar

@tannergooding @khalidabuhakmeh @bradwilson yes. That was the core design of the previous feature. But I want the opposite.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@agocke @tannergooding @bradwilson If you want it, that’s all the reason we need. Ship it!

andrewlock, to dotnet
@andrewlock@hachyderm.io avatar

Blogged: Blocking primary constructor member capture using a Roslyn Analyzer

https://andrewlock.net/blocking-primary-constructor-member-capture-using-an-analyzer/

In this post I describe a Rosyln analyzer you can use to enforce that primary constructors are only used for initialization and never to capture as fields

andrewlock,
@andrewlock@hachyderm.io avatar

@khalidabuhakmeh THANK YOU 😂

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@andrewlock In retrospect, I wonder if having similar syntax to records but different semantics is a landmine waiting for folks to step on. 🤔

Guess it's too late now. C'est La Vie.

maegul, to CSharp
@maegul@hachyderm.io avatar

Iceshrimp: A fediverse platform

Was just told (by @Subversivo ) about this: https://iceshrimp.dev/iceshrimp/iceshrimp.net

are rewriting the whole thing (a JS/Node / fork) in C# with Blazor for the frontend.

Cool to see. Should handle the performance issues that have plagued the *key forks and maybe provide a new general branch of fediverse platform.

What lang/stack isn't represented on the fediverse now? C++, Kotlin?

@fediverse
@fediversenews

mima,

@maegul

What lang/stack isn't represented on the fediverse now?

What about shell script ​:satrithink:​

maegul,
@maegul@hachyderm.io avatar

@mima

LOL ... I'm ready!

jupiter, to gamedev
@jupiter@mastodon.gamedev.place avatar

"Final" state of the N-Body-Problem demo of my FOSS Entity-Component System, https://fennecs.tech 🦊💫

#GameDev #3BodyProblem #ScreenshotSunday #GodotEngine #Csharp

glowy simulations of 2, 3, 4, and 5 star systems, stylized in a demo for a game Engine. The title reads "N-BODY PROBLEM", and there's a logo of a fox stylized as a lightning bolt in the center. An FPS counter reads values at around 500 fps for 100 parallel simulations. A larger block of text reads: This demo showcases the power of fennecs Entity-Entity relations in solving a common ECS challenge: managing N:N relationships efficiently. The renowned 3-Body-Problem demonstrates that even slight variations in initial conditions can lead to dramatically different and chaotic outcomes in systems with three or more interacting bodies. With fennecs, multiple Entities can interact with each other seamlessly, enabling complex behaviors such as flocking, leader-following, and grouping by spheres of influence. The framework achieves this while maintaining good cache coherence, memory locality, and optimal iteration order. Each colored cluster represents a small, self-contained clique where 2, 3, 4, or 5 stars (Entities) have relationships with all other Entities within the same group, forming a distinct Archetype. All simulations coexist harmoniously and interactions are driven by the same runner passed to a single Query, ensuring each Entity is processed exactly once for each other Entity it interacts with. The two other Queries then simply integrate the calculated forces into movement and position.

minioctt, to random Italian

C’è qualche novità per il web, nell’ambiente dei giochi C# e .NET. Già la roba fatta con quelle tecnologie poteva girare da anni sul web eh, ma… non farò finta di sapere cose che non so (non uso nessuna delle due tecnologie), ma ciò che voglio dire è che i gaymers sono passati all’attacco; ora pare esserci qualche risorsa in più, tipo FNA.WASM.Sample, che fa vedere come portare a WASM un gioco fatto con FNA-XNA. 🤔️

Quindi? Beh, un’idea venuta a caso la settimana scorsa era “cosa se portassi Celeste al browser?“, ma non ho poi fatto nulla, presa da altre cose. Volevo quasi quasi iniziare stamane, ma giusto per scrupolo cerco di nuovo sul web “celeste wasm”, sia mai che la volta scorsa mi era sfuggito qualcosa. E, nell’arco di precisamente questa settimana, non so se mi hanno letto nel pensiero o spiato spacctorium, ma hanno effettivamente iniziato e finito il fottutissimo celeste-wasm. Un po’ mi rode, ma meglio così, ho più tempo per altre imprese. 🤯️

Già a dir poco godurioso, ma qualcosa da sistemare rimane, tant’è che mi sono permessa di aprire la issue #1 per consigliare compressione e streaming degli asset. Vi invito a provare direttamente su https://celeste.r58playz.dev, ma per copyright hanno fatto che gli asset sono criptati e bisogna dare un file da un’installazione di Celeste per decifrarli… se vi serve, non lo linko, ma l’ho caricato sull’homeserver come altre volte, e se ravanate lo trovate. 👾️https://octospacc.altervista.org/2024/05/25/gayming-web/

minioctt,

(giuro non sono scarsa a Celeste è solo che nel video giocavo con tastiera e mapping default, con il controller non faccio così schifo giuro)

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