Oh but C# can do even those: https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
C# 8 introduced async generators with IAsyncEnumerable, so you can combine yield and await in C# as well. Those async generators are consumed using the ”await foreach” statement (which offcourse can be used nested from…
Dependently typed languages such as Idris or Agda uses types for validation. Their type systems are also Turing complete, but you are only allowed to use total functions (that do halt) as proofs in types.
I used to work with a medical software where we turned off logging completely in production, to mitigate the risk of accidentally log patient information. We needed to log that kind of data during development and just…
An non-async Task<int> is returning a Task<int> object, where the return statement of an async Task<int> method is of type int (which will be wrapped in the resulting Task). ”return 1;” eg only works in the latter case.
We did exactly this for my first son. We had been trying for weeks without result, both with trainer wheels and to run behind with an attached handle. Then one day we unmounted the pedals and lowered the seat... after…
It depends on the userbase. I write medical imaging software intended to be used by MDs, and can’t just ask a random person at a coffeshop to try to establish a certain cancer diagnosis using our software. Finding…
Indeed, it even has a Y2K bug in it!
Dailyscandinavian seems to have mixed up the numbers a bit. In Sweden parents get 480 in total together, of which 390 are at 80% (capped at 989 SEK = 138 USD / day), and 90 days are at a minimum level (180 SEK = 25…
It’s when you want to synchronize multiple atomics it gets complicated. With a mutex you can lock for an entire ”transaction” where you fetch a unique index and write your value to the queue. With just atomics you can…
A couple of years ago I worked with the 3d engine for an autostereoscopic display at Setred (https://m.youtube.com/watch?v=zkwq_cQNLU8&feature=youtu.be). For us the DVI bandwidth was the limiting factor to deliver 40-50…
Oh but C# can do even those: https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
C# 8 introduced async generators with IAsyncEnumerable, so you can combine yield and await in C# as well. Those async generators are consumed using the ”await foreach” statement (which offcourse can be used nested from…
Dependently typed languages such as Idris or Agda uses types for validation. Their type systems are also Turing complete, but you are only allowed to use total functions (that do halt) as proofs in types.
I used to work with a medical software where we turned off logging completely in production, to mitigate the risk of accidentally log patient information. We needed to log that kind of data during development and just…
An non-async Task<int> is returning a Task<int> object, where the return statement of an async Task<int> method is of type int (which will be wrapped in the resulting Task). ”return 1;” eg only works in the latter case.
We did exactly this for my first son. We had been trying for weeks without result, both with trainer wheels and to run behind with an attached handle. Then one day we unmounted the pedals and lowered the seat... after…
It depends on the userbase. I write medical imaging software intended to be used by MDs, and can’t just ask a random person at a coffeshop to try to establish a certain cancer diagnosis using our software. Finding…
Indeed, it even has a Y2K bug in it!
Dailyscandinavian seems to have mixed up the numbers a bit. In Sweden parents get 480 in total together, of which 390 are at 80% (capped at 989 SEK = 138 USD / day), and 90 days are at a minimum level (180 SEK = 25…
It’s when you want to synchronize multiple atomics it gets complicated. With a mutex you can lock for an entire ”transaction” where you fetch a unique index and write your value to the queue. With just atomics you can…
A couple of years ago I worked with the 3d engine for an autostereoscopic display at Setred (https://m.youtube.com/watch?v=zkwq_cQNLU8&feature=youtu.be). For us the DVI bandwidth was the limiting factor to deliver 40-50…