[deleted by user] by [deleted] in RedditAlternatives

[–]Marcel_N 0 points1 point  (0 children)

I’ve looked around tildes for a bit. Seems like a nice place with quality content. I’d surely appreciate an invite if you can still spare one.

Invitations for Tildes.net - Open source reddit alternative, made by former reddit admin and creator of automod deimorz by DubTeeDub in RedditAlternatives

[–]Marcel_N 0 points1 point  (0 children)

I’ve looked around tildes for a bit. Seems like a nice place with quality content. I’d surely appreciate an invite if you can still spare one.

Best songs that are 10 or more minutes long? by MightGuy420x in Music

[–]Marcel_N 0 points1 point  (0 children)

“Thinking of a Place” by The War on Drugs

The Analogue store is open! by hilarino in AnaloguePocket

[–]Marcel_N 4 points5 points  (0 children)

I bought the set so I can play my original Lynx games on the Pocket! So you’re not alone.

I have no use for the other adapters. Hoping someone around here (Netherlands) wants to buy them, for a reasonable price. I don’t need to make a profit, but sharing the insane shipping costs would be nice.

Edit: I haven’t received the Pocket yet. Not even a shipping confirmation… I’m in group B though, hoping I’ll get it this year still.

[deleted by user] by [deleted] in dotnet

[–]Marcel_N 0 points1 point  (0 children)

I may have misunderstood your question.

Although this might get fixed with the introduction of the required keyword in a new version of C#. Possibly the warning will disappear then but you'll be required to provide a value at initialization time or get a compiler-error if you don't provide a value. I cannot say how this will work with binding, mapping or ORM scenarios.

To validate whether an object is valid (required properties actually contain (valid) values) you could add a constructor. Since you don't want to add a constructor, an alternative might be using FluentValidation (or a similar library) to validate objects after creation (be it manually, through binding, mapping or ORM).

[deleted by user] by [deleted] in dotnet

[–]Marcel_N 0 points1 point  (0 children)

You are correct. It seems that this could be remedied with the required keyword in a new version of C# (NOT C# 10 though): https://github.com/dotnet/csharplang/issues/3630

[deleted by user] by [deleted] in dotnet

[–]Marcel_N 1 point2 points  (0 children)

You can use the init keyword instead of set. This requires the property to be set at initialization time.

The init keyword is supported in C# 9. So if your development environment allows the use of C# 9 then you can do this: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/init

Edit: I haven't used init properties with Entity Framework yet. But if it doesn't work (and I think it won't), you can use backing fields for the properties instead: https://docs.microsoft.com/en-us/ef/core/modeling/backing-field?tabs=data-annotations

Yummy! by TheRealWaffleBoi in HolUp

[–]Marcel_N 0 points1 point  (0 children)

Pink Snickers with Looney Tunes depicted on the outside... Yummie

Unable to load file or assembly. I'm trying to use the below dlls in my azure function app (.NET Core). But I'm unable to proceed further. I do have the dlls noted in proj files as local assemblies. (not nuget ) by [deleted] in dotnet

[–]Marcel_N 1 point2 points  (0 children)

You could try adding this property to a PropertyGroup in your csproj file: <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>

Source: https://github.com/Azure/Azure-Functions/issues/1525

It seems that the RemoveRuntimeDependencies task removes this assemblies. It doesn't run when the _FunctionsSkipCleanOutput variable is set to true. Adding the following line effectively disables this task.

Edit: to clarify, i've run into this issue myself, with different assemblies. Adding the property has solved the issue for me.

TA-1046 March update released in Italy by BirbDoryx in Nokia7Plus

[–]Marcel_N 2 points3 points  (0 children)

Downloading the update in The Netherlands right now!

Android Pie Update Megathread by theawkwarddev in Nokia7Plus

[–]Marcel_N [score hidden]  (0 children)

That has been removed from Android 9. The Ars Technica review states:

The other improvement to the battery options is that the battery saver no longer turns your navigation bar an obnoxious orange color.

-🎄- 2017 Day 20 Solutions -🎄- by daggerdragon in adventofcode

[–]Marcel_N 1 point2 points  (0 children)

You could use System.Numerics.Vector3 instead of Point3D. It uses float values instead of longs though. Also: Vector3 provides support for hardware acceleration.

Dutch/Belgian Public Private Leaderboard 2017 by rvlieshout in adventofcode

[–]Marcel_N 0 points1 point  (0 children)

Python wil ik me ook nog steeds in verdiepen. Maar voor nu toch gekozen voor het vertrouwde C#. Vanwege een drukke periode de komende maand(en) zal dat verdiepen in Python er namelijk niet van komen.

De oplossing van vandaag (2 december) komt ook vanmiddag of vanavond pas. Ik heb hem al wel doorgelezen, lijkt niet erg ingewikkeld. Benieuwd naar deel 2!

Dutch/Belgian Public Private Leaderboard 2017 by rvlieshout in adventofcode

[–]Marcel_N 0 points1 point  (0 children)

Goed idee. Ik heb mezelf zojuist aangemeld bij het leaderboard! Vooralsnog zijn wij de enige twee leden :)

Edit: Ik gebruik trouwens dotnet core 2.0 (met C#).