M4rc0v0nh4g3n's Categories
M4rc0v0nh4g3n's Authors
Latest Saves
\U0001f1e9\U0001f1ea#Rheinmetall could deliver the first tanks #Leopard1 to #Ukraine\U0001f1fa\U0001f1e6 in six weeks and the rest over the following three months through its subsidiary Rheinmetall Italia if it gets a green light from the German government. https://t.co/DUp8VfLlJB
— \U0001d544\U0001d55a\U0001d55d\U0001d55a\U0001d565\U0001d552\U0001d563\U0001d56a \U0001d546\U0001d553\U0001d564\U0001d556\U0001d563\U0001d567\U0001d556\U0001d563 (@MilitaryEmpire) April 11, 2022
Itse Leopard 1A5 on Leopard1 perheen kehityksen huopentuma, koska kylmän sodan päättyessä uutta A6-mallia ei koskaan otettu käyttöön. Tällä hetkellä vaunu on lähinnä käytössä Etelä-Amerikassa Hollanni ja Belgian jäämistöstä sekä tietysti Euroopan romuhautaamossa Kreikassa 2/x
#Leopard1'n suunniteltufilosofia oli aikanaan suunnitella tulivoimainen, kevyt ja liikkuva, mutta sitä kautta väkisinkin kevyesti panssaroitu taisteluvaunu. Se aseistettiin 60-luvun parhaalla kanuunalla eli Royal Ordinanacen 105mm:n rihlatulla L7:lla. 3/x
Tämä konsepti ei lopulta kantanut, mikä johti sitten 1970-lopussa #Leopard2:n. Samaan aikaan kuitenkin todettiin kylmän sodan ollessa huipussaan pitää myös #Leopard1:n iskukyky yllä.
Leopard1A5 onkin varustettu samoilla lämpökameroilla ja ammunnanhallinnalla kun Leopard2A4. 4/x
#Leopard1A5:n etu 🇺🇦:lle olisikin varsin käyttökelpoinen pimeätaistelukyky joka oli selkeästi parempi kun varsinkin viimeaikoina kuviin ilmestyneissä 🇷🇺:n T-72A ja B malleissa. Toisaalta vaunu heikkous on suoja joka on todella kevyt jopa T-72:n verrattuna ja tulialivoimainen 5/x
Retweets are appreciated ☺️
#dotnet6 #coding #devcommunity #json #programming
Ignore circular
In .NET 5, you can preserve references for circular references using System.Text.Json.
— Oleg Kyrylchuk (@okyrylchuk) October 6, 2021
But you couldn't ignore them. The 'JsonException' is thrown if circular references have been detected.
In .NET 6, you can ignore them \U0001f642#dotnet6 #json #coding #devcommunity pic.twitter.com/FnvR8gjwvN
Notifications for
In .NET 6, System.Text.Json exposes notifications for (de)serialization.
— Oleg Kyrylchuk (@okyrylchuk) October 7, 2021
There are four new interfaces to implement according to your needs:
\u2022 IJsonOnDeserialized
\u2022 IJsonOnDeserializing
\u2022 IJsonOnSerialized
\u2022 IJsonOnSerializing#dotnet6 #json #coding #devcommunity pic.twitter.com/iYpzHsg8Hy
Serialization order of
In .NET 6, the 'JsonPropertyOrderAttribute' has been added to System.Text.Json.
— Oleg Kyrylchuk (@okyrylchuk) October 8, 2021
It allows controlling the serialization order of properties.
Previously, the serialization order was determined by reflection order.#dotnet6 #json #coding #devcommunity pic.twitter.com/5sBJRWOvcX
Write raw JSON with
.NET 6 introduces the possibility to write 'raw' #json with System.Text.Json.Utf8JsonWriter.
— Oleg Kyrylchuk (@okyrylchuk) October 16, 2021
Useful when you want:
\u2022 to enclose existing JSON in new JSON
\u2022 to format values differently from the default formatting#dotnet6 #coding #devcommunity pic.twitter.com/NguR3wEOAM
Retweets are appreciated 😊
#dotnet #csharp #coding #devcommunity
Constant interpolated
C# 10 allows initializing 'const' strings using string interpolation, but the placeholder must also be a 'const' string.
— Oleg Kyrylchuk (@okyrylchuk) September 9, 2021
The placeholder can't be a numeric constant cause it's converted to string at runtime.
Will you use the feature in your code?#dotnet #coding #devcommunity pic.twitter.com/H52ithdZC4
Extended property
Starting from C# 10, you can reference nested properties or fields within a proper pattern.
— Oleg Kyrylchuk (@okyrylchuk) September 10, 2021
The property pattern becomes more readable and requires fewer curly brackets \U0001f642
What do you think about the feature? #dotnet #coding #devcommunity pic.twitter.com/iHmbdYUAOW
File scoped
C# 10 introduces a new way of namespace declarations - file scoped namespaces.
— Oleg Kyrylchuk (@okyrylchuk) September 11, 2021
However, you cannot declare a nested namespace or a second file-scoped namespace in the same file.
C# continue to rid of curly brackets {\U0001f600}#dotnet #programming #devcommunity pic.twitter.com/docHOfZQYf
Global
C# 10 adds a new modifier to a 'using' directive - 'global'.
— Oleg Kyrylchuk (@okyrylchuk) September 12, 2021
It means that 'using' is applied to all files in the compilation.
All 'global using' directives must be before non-global 'using' directives.
It can be combined with a 'static' modifier#dotnet #coding #devcommunity pic.twitter.com/osr3ZPh5AI
https://t.co/OaJ6HSbbl7
I left Basecamp today.
— George Claghorn (@georgeclaghorn) April 30, 2021
https://t.co/VI3NNfEksU
As a result of the recent changes at Basecamp, today is my last day at the company. I joined over 15 years ago as a junior programmer and I\u2019ve been involved with nearly every product launch there since 2006.
— Sam Stephenson (@sstephenson) April 30, 2021
https://t.co/HkG304vGbp
After 7 years, today is my last day at Basecamp. I plan on taking a little time off, but if anyone is looking for an iOS engineer, I would love to chat, my DMs are open.
— Zach Waugh (@zachwaugh) April 30, 2021
https://t.co/z5Cd0SVVFq
I\u2019m leaving my position at Basecamp, where I\u2019ve worked for 4 years, due to the recent changes and new policies.
— Lexi Kent-Monning (@lexicola) April 30, 2021
I work in Customer Support and I love it; any job leads would be so welcome and helpful! (DMs open/personal website with contact in my bio)
Massive container ship EVER GIVEN stuck in the most awkward way possible.
Ongoing for hours. Every tug Egypt could spare appear to be trying to pull it free.
Vessel tracker: https://t.co/MsTUgVgyTH

"Is there a traffic jam?" Answer
After all day trying to refloat the mega container ship 'Ever Given', in the Suez Canal, there is a steady log jam of ships waiting in the Mediterranean & Red Sea and in the canal itself pic.twitter.com/aGFKieoWqE
— N South (@nat_ahoy) March 23, 2021
Latest update: the EVER GIVEN is... still ever-jammed across the #SuezCanal.
Also, a teeny excavator tried to help.
Thanks @rmcfadzean for surfacing the pic!
Source: https://t.co/MuUKctj4YP

How soon till one of the big Dutch salvage companies shows up for an ultra-premium re-floating?
Also: forget #iceroadtruckers, marine salvage YouTube is where it's
Update: still stuck.
How big is this #SuezCanal plug? Ultra big.
MV #EVERGIVEN
Size: 400m long / 59m wide
Gross tonnage: 219,079
Capacity: 20,388 TEUs (20ft container equivalents).
One of the largest container ships in operation.

Last week we talked about #bitcoin climate change denialism, the fallacy of whataboutism, and comparisons to the financial services sector.
Today let's deconstruct the argument concerning bitcoin's absurd energy waste compared to the financial services sector, because this is a very silly bait and switch argument comparing apples and oranges. \U0001f9f5 (1/)
— Stephen Diehl (@smdiehl) February 13, 2021
The common talking point among policy makers is that while bitcoin is boiling the oceans and is nothing but a predatory get rich quick scheme for siphoning money from fools—the underlying technology "the blockchain" is revolutionary tech that will transform global commerce. (3/)
This is however not tethered to the reality of the software industry. The overwhelming consensus among programmers and technologists is that blockchain is completely useless technology for anything but speculative digital gambling on tokens.
Ok, so what do we even mean when we say “blockchain”.
The answer is really that nobody knows, it’s not a term that has any precise definition and it really depends on who you talk to and the context.