jakub_neruda, to programming Czech

Every single day convinces me more and more that IDisposable interface is one of the most disastrous things in C#. So easy to screw up in so many ways...

jakub_neruda,

@khalidabuhakmeh @atruskie I recently started working on a legacy code that injects disposable dependencies through servicecollection/provider into bussiness objects. Bussiness object was not designed to be instantiated repeatedly and unit tests are crashing randomly due to dependencies being disposed at unexpected occassions.

The xUnit using IDisposable for TearDown is confusing and sometimes people forget to inherit Disposable for the Fixture object and only implement Dispose method.

Not to mention all that mess that comes from inheritance. I wonder whether it is possible to enforce Dispose method only being implemented for sealed objects.

atruskie,

@khalidabuhakmeh @jakub_neruda yeah the "using var" is my default when (mostly) I remember. But even though it's neater a missing "using" for a "var" statement kinda blends in. You can't tell at first glance it's missing unless you know the type is disposable...

itsfoss, to programming
@itsfoss@mastodon.social avatar

Grab the Python programming bundle by No Starch Press.

Part of the proceeds go towards the Python Software Foundation!

⏱️ Ends on 22 May.
💸 $1 or more.

https://www.humblebundle.com/books/python-no-starch-books?partner=itsfoss

#python #programming

0xor0ne, to rust

Great repo with useful tricks and tips for reducing the size of Rust binaries

https://github.com/johnthagen/min-sized-rust

#rustlang #programming

image/jpeg
image/jpeg
image/jpeg

xunjin,

@0xor0ne This repo is really great, have used it tons of time :patcat:

hazz223, to tech
@hazz223@mstdn.social avatar

Was suggested by multiple friends yesterday as a note taking app. Currently I use , but I'm interested to see what this has goin' for it.

What are folks favourite note apps?

chrisoffner3d, to programming

😍 Chris Lattner (father of #Swift) just announced this new language for AI programming:
https://www.modular.com/mojo

#AI #programming #Python

chrisoffner3d,

What better person to demo than @jh. 🔥I know he had great hopes for Swift as a better AI language, as did I, but then Google sadly discontinued the "Swift for TensorFlow" project. Now Mojo looks like what we've been waiting for.

https://youtu.be/6GvB5lZJqcE

mjgardner, (edited ) to programming
@mjgardner@social.sdf.org avatar

“It has to run on #Perl 5.8” is like saying, “It has to run on #Windows XP”

#programming #coding #ProgrammingLanguages #SoftwareDevelopment #OpenSource #FOSS @Perl

mos_8502, to programming

I explained to ChatGPT what Turaco is, and asked it for ad copy. This is what it generated:

#retrocomputing #retrogaming #programming

thevowel,

@mos_8502 not bad.

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

Circulation of enemies in nature 📌

The enemy died, but called for help, that died, called another...

> ERRA: EXORDIUM 🚘 Under the hood <

Wishlist https://store.steampowered.com/app/1224030/

video/mp4

blackbird_last_romantic,

@maxim
I like your approach to creativity, although I see only superficially

elijahwilson, to programming
@elijahwilson@fosstodon.org avatar

A year ago, I was uncomfortable using git rebase, but now I can't live without it.

#git #programming

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar
cprovias, to programming

One area I find a lot of software engineers and even software companies lack is a good periodic communication to users. I see a lot who simply point at a commit log, a stack of closed bugs, or release notes and call it a day. Some just don't provide any insight at all.

Something simple like a curated, reliably monthly newsletter can go a long way in informing users of key updates, building a stronger community, and even just letting users know that the lights are still on.

#programming

ivan18rod, to fediverse

[tap, tap] 🎙Is this thing on??

Hello, #Fediverse! I am Ivan Rodriguez. I am a college student in #Amarillo, #Texas. I am learning to become a full-stack #webdeveloper, and although I have not used all of them, I know the basics of many of the mainstream #programming languages (see the color-coded doughnut chart below).

Besides programming, I am an ameture #journalist (when I have the time and energy to do so), and I like learning more about the world.

Where else you can find me:

My main account: @ivan18rod

Medium: https://medium.com/@ivan18rod

GitHub: https://github.com/IRod22

Matrix: https://matrix.to/#/@ivan18rod:matrix.org

(EDIT: I had to redraft because the <center> tag didn't seem to work)

raccoonformality, to programming

I think our jobs are safe for now 💀

#chatgpt #ai #aiart #meme #funny #programming #gamedev #webdev #development

synthphaser, to gaming

hi i'm nick! i realized i shoulda made an intro post first but here i am

i like having discussions abt , , , , , our hellscape , , and

i also do , make , do some , and i like to . oh and i love going to

top animes atm: , , (these basic IK)
top genres: , ,
top artist atm:
top game atm: :blobSweats:
main:

hi!

AccordionGuy, to programming
@AccordionGuy@mastodon.cloud avatar

Have you wished you could write Swift code like:

let futureDate = (2.months + 3.days + 4.hours + 5.minutes + 6.seconds).fromNow

You can, and I’ll show you how in this article on the Auth0 by Okta developer blog!

https://auth0.com/blog/date-time-calculations-swift-2/

MuseumShuffle,
@MuseumShuffle@mastodon.social avatar

@AccordionGuy very nice. I can’t remember if I told you this or not, but your blogs came up in a lot of the searches I was doing when I was learning how to implement time zones properly. They were really helpful!

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