@mtothevizzah Add '#if false' around "smart" pointers
Fixed! :D
@mtothevizzah Add '#if false' around "smart" pointers
Fixed! :D
@gamingonlinux the fact that is inside a "#if 0" and clearly a relict from early development makes it a bit less funny though.
#PSiReN-Group #Stills #ComesComplete with #ZeroReports and #TootSuite; #PoweredBy: #FloofsAndSparkles...
#AllMyToots are #HandCrafted and #ComeToYou with #TheVoice of #EgyptianSpanishSeanConnery...
#IF you're #ExperiencingAnyDifficulties; you're #DoingITWrong...
Have we #HadEnoughRainbows yet, #Today...? With #PiratePower...
#DontForget... #TheFediverseRemembers...
#TryNot to #UpsetTheVolcano... #TooHard...
|
Czechia suspends granting citizenship to Russian nationals | MAMUL.am https://www.byteseu.com/725274/ #a #According #Acquiring #be #bill #cases #citizens #citizenship #Czech #CzechRepublic #Czechia #even #from #if #impossible #in #individuals #message #most #nearly #obtaining #on #passports #pavel #petr #president #prohibiting #renounce #russian #s #signed #the #their #to #until #War #website #will
#PSiReN-Group #Stills #ComesComplete with #ZeroReports and #TootSuite; #PoweredBy: #FloofsAndSparkles...
#AllMyToots are #HandCrafted and #ComeToYou with #TheVoice of #EgyptianSpanishSeanConnery...
#IF you're #ExperiencingAnyDifficulties; you're #DoingITWrong...
Have we #HadEnoughRainbows yet, #Today...? With #PiratePower...
|
https://khalidabuhakmeh.com/unit-tests-for-legacy-systems-with-dotnet-6 - in #dotNET, use a compiler directive to #mock #static classes:
```
#if MOCK_TIME
global using DateTimeOffset = StubDateTimeOffset;
#else
global using DateTimeOffset = System.DateTimeOffset;
#endif
```
Sweet technique @khalidabuhakmeh.
#NotNews24 | #UnbreaklingMidMorningBiscuitNotNews... #NotNearly24... #OftenLess... #FrequentlyFewer...
#PSiReN-Group #Stills #ComesComplete with #ZeroReports and #TootSuite; #PoweredBy: #FloofsAndSparkles...
#IF you're #ExperiencingAnyDifficulties; you're #DoingITWrong... And, #IT's #Snowing...
|
#PSiReN-Group #Stills #ComesComplete with #ZeroReports and #TootSuite; #PoweredBy: #FloofsAndSparkles...
#AllMyToots are #HandCrafted and #ComeToYou with #TheVoice of #EgyptianSpanishSeanConnery...
#IF you're #ExperiencingAnyDifficulties; you're #DoingITWrong...
Have we #HadEnoughRainbows yet, #Today...? With #PiratePower...
|
One of my favorite little details in @helm_app is the fact that we celebrate winners of the Apple Design Award and App Store Awards by showing a little icon.
Now, I only hope to not have to show these with a #if DEBUG flag someday.
#PSiReN-Group #Stills #ComesComplete with #ZeroReports and #TootSuite; #PoweredBy: #FloofsAndSparkles...
#AllMyToots are #HandCrafted and #ComeToYou with #TheVoice of #EgyptianSpanishSeanConnery...
#IF you're #ExperiencingAnyDifficulties; you're #DoingITWrong...
Have we #HadEnoughRainbows yet, #Today...? With #PiratePower...
|
#PSiReN-Group #Stills #ComesComplete with #ZeroReports and #TootSuite; #PoweredBy: #FloofsAndSparkles...
#AllMyToots are #HandCrafted and #ComeToYou with #TheVoice of #EgyptianSpanishSeanConnery...
#IF you're #ExperiencingAnyDifficulties; you're #DoingITWrong...
Have we #HadEnoughRainbows yet, #Today...? With #PiratePower...
|
Updated the Steam page for my interactive fiction horror game.
If you want to contribute you can wishlist at: https://store.steampowered.com/app/2278200/Compicactus/
I wrote another article for Both . Org about writing portable C programs. This entry shows how to use #if to write a number-guessing game that compiles in Linux or DOS.
And FYI, this might have been practice for the next FreeDOS video.
I am in C#. I wish to create an #if…#endif block that will always be false. I say "#if false". This will:
- Erase the code because "false" is not a defined symbol
- Keep the code because "false" is a keyword
- Keep or not keep depending on whether a command to define false was sent to the c# compiler
?
Here's some documentation. It doesn't help with this question
@willrbishop change it so it only links on iOS, then use #if !targetEnvironment(macCatalyst) around the relevant code.