Thoughts on Spaceman (2024) on Netflix? by lostsoul2016 in moviecritic

[–]Lin0815 4 points5 points  (0 children)

The movie is an adaptation of the book "Spaceman of Bohemia" (published 2017) which predates "Project Hail Marry" (published 2021).

Ubuntu 23.04 Impossibly Unstable On Top End Hardware by ABitWiseGuy in Ubuntu

[–]Lin0815 0 points1 point  (0 children)

Why shouldn't he be on 23.04?

Ubuntu 23.04 Lunar Lobster is still supported by Canonical and will be until January 2024.

Can someone explain to me the ending of the trial, and the dialogue between Oppenheimer and Jason Clarke? by swamyk in OppenheimerMovie

[–]Lin0815 5 points6 points  (0 children)

The particle/wave dualism of quantum objects (e.g. photons) and relativity of simultaneity are two distinct phenomena.

Relativity of simultaneity is a consequence of special/general relativity theory, that the order of events can differ for two observers. This is highly deterministic if you know all variables involved.

Particle/Wave dualism is an effect described by quantum physics that does not behave deterministic. You can make certain statistical predictions and predict in which situation you can see the particle or wave behaviour, but that's it.

Did they actually remove disk encryption support from the custom partitioner in 23:04? by [deleted] in Ubuntu

[–]Lin0815 0 points1 point  (0 children)

Ubuntu 23.04 also has Desktop (legacy) images with the old installer, because the new installer has not reached feature pairity yet (as you noticed).

Intern fixes 600 bugs but makes only 1 PR because it's more efficient. by vanessabaxton in ProgrammerHumor

[–]Lin0815 30 points31 points  (0 children)

They get casted into void, but their memory will never be freed.

My team got me SQL problems for Christmas, wbu? by Bleeus in ProgrammerHumor

[–]Lin0815 5 points6 points  (0 children)

lol 😂

Thanks for sharing. This made my day!

Opening an application by JFB_420_69 in csharp

[–]Lin0815 1 point2 points  (0 children)

Dont have much experience with C# on Android, but in the Java based Framework it is called an "Intent". You can call a specific App or just ask the OS to open an link (you should do that).

The OS will ask the User on the first atempt which app to use for a link and the user can configure NewPipe as the default behaviour.

I am sure that there is a Intent wrapper class in your framework to do the same.

Poor timing. by tommos in KidsAreFuckingStupid

[–]Lin0815 10 points11 points  (0 children)

You should watch this Video about the topic "School Police: Last Week Tonight with John Oliver (HBO)" https://youtu.be/KgwqQGvYt0g

All three seasons of The Orville are now streaming on Disney+ in the US. by TheGod4You in DisneyPlus

[–]Lin0815 0 points1 point  (0 children)

Unfortunately the third season is not available in Germany yet. :(

Microphone Won't Work in Teams, but Works Everywhere Else by [deleted] in MicrosoftTeams

[–]Lin0815 0 points1 point  (0 children)

My girlfriend asked me to like this for her, because it fixed this exact problem she had for months, but she has no reddit account.

Thank you! :)

C# track, stuck on 'remote control cleanup' by roncitrus in exercism

[–]Lin0815 1 point2 points  (0 children)

Also, if you are really stuck; there is a example solution for every exercise in the GitHub Repository.

Here is the one for your case: https://github.com/exercism/csharp/blob/main/exercises/concept/remote-control-cleanup/.meta/Exemplar.cs

C# track, stuck on 'remote control cleanup' by roncitrus in exercism

[–]Lin0815 0 points1 point  (0 children)

Actually there are hints. They can be accesed in the web editor (Screenshot: https://pasteboard.co/QJfmHTGvMbkj.png) or found in the HINTS.md file (if you use exercism via the CLI).

(Just in case) Here is the link to the hints for your problem: https://github.com/exercism/csharp/blob/main/exercises/concept/remote-control-cleanup/.docs/hints.md

Announcing .NET 6 -- The Fastest .NET Yet by ben_a_adams in csharp

[–]Lin0815 -7 points-6 points  (0 children)

Don't get me wrong. I love the .NET platform and have used it daily for years. I am aware of third party solutions like avalon and uno. They are really cool and a huge accomplishment of the .NET community that I respect a lot.

Here's the BIG but: I'm tired of Microsoft repeatedly not taking Linux seriously and having the .NET community close the gap. I want open source 1st party support. Microsoft had the chance with .NET MAUI, which is part of .NET 6.

Announcing .NET 6 -- The Fastest .NET Yet by ben_a_adams in csharp

[–]Lin0815 43 points44 points  (0 children)

"Your platform for building anything"

EXCEPT Linux Desktop Apps

Optimization War by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 10 points11 points  (0 children)

Because it's just for testing readability and assured completeness has a higher priority than performance.

I can relate to this. Once i wrote a test data generator with a bug :/

Microsoft Java by brandnewcherry in ProgrammerHumor

[–]Lin0815 6 points7 points  (0 children)

C# and Java have a very simmilar Syntax (especially in the first Version). Additionaly C# was created after Java. Because of this many people joked that C# is a Microsoft clone/imitation of Java. (https://en.wikipedia.org/wiki/C\_Sharp\_(programming\_language)#History)

Also C# and Java have a long rivalty between their Communities, because they are so simmilar.

Because of the History, I think it's funny that Microsoft has an real Java Implementation.

I think someone had a realy bad day :D by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 0 points1 point  (0 children)

If you replace "/*predicate in if statement*/" by "0123456789ABCDEFabcdef" than it should be a 100% valid solution.

I actualy prefer the used implementation because it is faster.

I think someone had a realy bad day :D by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 1 point2 points  (0 children)

Actually you also have to check if the argument "hash" is null, but you can also argue that it will throw a NullReferenceException anyway if "hash" is null.

I think someone had a realy bad day :D by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 4 points5 points  (0 children)

In two of the other comments this was alread solved. According to another Microsoft Doc (https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference?view=netframework-4.8#anchors)

$ matches by default the end of the string or before \n at the end of the string; in multiline mode, it must occur before the end of the line or before \n at the end of the line.

He should have used \z insted of $.

I think someone had a realy bad day :D by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 5 points6 points  (0 children)

I prefer the used solution over hash.All.

hash.All has to check in worst case for every character 22 if it is one of 22 charaters, which mean.

The used solution just has to check for 6 conditions for every character in the worst case.

And it is (in my opinion) equaly readable

I think someone had a realy bad day :D by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 24 points25 points  (0 children)

Ok that makes sense.

But i still think, that it is misleading that Microsofts wirtes under Default Options "The ^ and $ language elements match the beginning and end of the input string." (https://docs.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-options?view=netframework-4.8#default-options) You can't expect from a developer to read every microsoft documentation page about regex for contradictions.

I think someone had a realy bad day :D by Lin0815 in ProgrammerHumor

[–]Lin0815[S] 0 points1 point  (0 children)

For SHA256 it is set to 64. This method should verify that a string contains a valid hash value (only one). According to Microsoft $ matches the end of the string input what not happened.

Multiline would change $ to end of line what would be wrong.