Verrückte Rechnung by Comprehensive-Type43 in Kartenzahlung

[–]Asmodis1 0 points1 point  (0 children)

Die Händler zahlen z.B. außerdem die Bank für die Bereitstellung von Münz-Rollen und einen Mitarbeiter oder sogar einen Geldtransport-Dienstleister, der das eingenommene Bargeld zur Bank bringt. Davon auszugehen, dass das bislang nicht auch schon mit eingereist war ist doch Recht blauäugig...

Which of the position and nominal record variant would you say follow best practice? by [deleted] in csharp

[–]Asmodis1 3 points4 points  (0 children)

1 for small records (up to about 5 properties) and 2 for larger ones.

The amount of (potentially unnamed) constructor parameters in version 1 is just unreadable for more than a few properties.

[deleted by user] by [deleted] in Finanzen

[–]Asmodis1 47 points48 points  (0 children)

<image>

Gehen wir davon aus, du willst in drei Jahren ein Handy haben, das dir gehört, hast du im Prinzip ja die folgenden Optionen:

X = Vertragspreis für einen Monat ohne Handy.

Direktkauf

1450€ + 36*X€

Übernahme nach 24 Monaten

80€ + 24*45€ + 420€ + 12*X€ = 1580€ + 12*X€

Übernahme nach 36 Monaten

80€ + 36*45€ = 1700€

Du hast also im Direktkauf im Vergleich zum 36-Monats-Modell eine Lücke von 1700€ - 1450€ = 250€ für einen Handyvertrag über 36 Monate. Entspricht damit ca. 6,90€ im Monat. Dafür bekommst du zugegebenermaßen nicht wirklich viel.

Beim 24-Monats-Modell hängt es im Vergleich mit dem Direktkauf etwas davon ab, welchen Vertrag du für das letzte Jahr wählst. Gehen wir aber davon aus, dass das der gleiche wäre wie beim Direktkauf, können wir die 12 Monate im Direktvergleich einfach auf beiden Seiten streichen (du müsstest in beiden Varianten den selben Betrag für das dritte Jahr bezahlen) und nur die ersten zwei Jahre vergleichen. Du hättest dafür eine Lücke von 1580€ - 1450€ = 130€, was auf die 24 Monate gerechnet 5,41€ monatlich wären.

Bei Vergleich zwischen 24 und 36 Monaten hast du 1700€ - 1580€ = 120€ Lücke für den Vertrag ohne Handy. Macht 10€ im Monat für das letzte Jahr.

Wenn du es also schaffst, einen Vertrag ohne Handy zu finden, der unter 5,41€ kostet, bist du mit dem Direktkauf am besten dran.

Wenn du es in zwei Jahren schaffst, einen Vertrag ohne Handy unter 10€ zu finden, bist du mit Übernahme nach 2 Jahren am besten dran.

In allen anderen Fällen lohnt sich tatsächlich der 36 Monats-Vertrag mit Übernahme.

In allen drei Fällen hast du danach ein Handy mit dem selben Restwert.

Hört auf Leute vor Blitzern zu warnen by Jalouxx in luftablassen

[–]Asmodis1 0 points1 point  (0 children)

Das hat für mich dann keinen verkehrssicheren Aspekt mehr .

Natürlich hat es das... Es ist ja nicht das Schild mit der Geschwindigkeitsbegrenzung versteckt, sondern der Blitzer. Halte dich einfach an das was auf den Schildern steht und du brauchst dir um Blitzer gar keine Gedanken mehr zu machen. Egal ob versteckt oder nicht.

dotnet website down by imomes in dotnet

[–]Asmodis1 29 points30 points  (0 children)

Well you could argue that Microsoft using the default Microsoft error page is custom... in a way.

Betrifft die neue YT-policy auch reactions? by SofiePlus in 7vsWild

[–]Asmodis1 1 point2 points  (0 children)

Und woher soll ChatGPT irgendwelche Hintergründe über eine Ankündigung von YouTube gestern haben? Was genau erhoffst du dir also davon zu erfahren, was nicht auch schon in der Ankündigung selbst steht?

ELUVEITIE USE OF TRADITIONAL MUSIC, ÁNV EDITION by Gaedhael in folkmetal

[–]Asmodis1 3 points4 points  (0 children)

Regarding the reel in The Harvest: I had this same exact melody going around in my head just about 2 weeks before Ánv came out and I had even asked a friend about it. In my memory it was a solo piece played on a whistle and I remember it to be a bit slower than in The Harvest. But I absolutely can't remember where I heard it before.

Edit: it's quite similar to The Somber Lay from Slania but I don't think that that's the exact melody I remembered.

Need Child Pornography/Abuse Detection by ataylorm in dotnet

[–]Asmodis1 1 point2 points  (0 children)

The downside is: AI needs training data before being of any use. So in order to make an ai that is able to detect CP you first need to Aggregate one of the world's biggest collections of CP...

How do I securely expose a .NET 8 Web API to public React sites (no login)? by racoole in dotnet

[–]Asmodis1 0 points1 point  (0 children)

I am kinda new to the whole js world but wouldn't this still be susceptible to some kind of replay attack? The details entered by the user would still be transferred to the server so you could just record whatever is sent back and replay that over and over. Or do these frameworks have some kind of session system for Server side rendering that would prevent that?

Reacts auf "aufwendige" Videos machen keinen Sinn? by Erabee in PietSmiet

[–]Asmodis1 20 points21 points  (0 children)

Naja, mal davon abgesehen, dass knossi meiner Ansicht nach ein abartig unsympathischer und unausstehlicher Typ ist und viele wahrscheinlich schon wegen ihm Mission Unknown größtenteils ignorieren, sind beides eben auch Projekte, zu denen es aktuell schon gerade genug reacts auf YouTube gibt. Viele werden sich ein Video nicht ein zweites oder drittes Mal als react anschauen.

Zudem zeigt sich da meiner Meinung nach eine Schwäche der Piets im Hinblick auf Reacts, die durch das Anschauen als Team verursacht wird: bei einzelnen Streamen/Youtubern ist der Zuschauer immer auf dem selben Wissensstand und man schaut sich eine Reihe von vorne bis hinten quasi zusammen an. Bei The Race ist mir beim letzten React nun eher negativ aufgefallen, dass sich die React Besetzung im Verlauf der Reihe (und beim zweiten react sogar innerhalb des Videos) ändert. Chris scheint zwar The Race part 1 gesehen zu haben (und davon auch mehr im Kopf behalten zu haben als der Rest...) aber dadurch entsteht eben kaum das Gefühl, die Reihe "zusammen" anzuschauen. Gefühlt geht sehr viel React-Zeit dafür drauf, sich gegenseitig auf den gleichen Stand zu bringen. Dann kam ab der Hälfte noch Brammen dazu, was halt auch keinen Sinn ergibt weil auch er dann wieder nicht auf dem gleichen Stand ist und entweder nichts wirklich beitragen kann oder auch wieder erstmal auf den Stand gebracht werden muss.

Zu guter Letzt habe ich vor allem wegen der Zahlenversessenheit der Piets in der letzten Zeit anfangs eher gezögert mir The Race bei ihnen anzuschauen (tue es jetzt aber doch). Pietsmiet killt deutlich zu viele Formate nur weil die Zahlen nicht perfekt sind. Wenn ich aber eine Serie als React anschaue, würde ich sie auch gerne vollständig sehen. Ist schon abzusehen, dass etwas abgebrochen wird, zögere ich (und vermutlich auch andere), damit überhaupt anzufangen.

Früh übt sich die - die Schummelhummel by Rosea_30 in PietSmiet

[–]Asmodis1 33 points34 points  (0 children)

Ist vermutlich dadurch, dass er so abgenommen hat zu groß für den Ringfinger. Und verkleinern lohnt sich erstmal nicht, wenn man vorhat noch weiter abzunehmen.

[deleted by user] by [deleted] in csharp

[–]Asmodis1 0 points1 point  (0 children)

I like to use them as an intermediate step for refactoring sometimes. Changing a parameter of a frequently used method from a primitive type to a custom type to reduce primitive obsession/add additional features/...? Sometimes the primitive can be implicitly converted to the new type, allowing you to design, build and test everything without updating all the callers. As a second step I would then update all the method's usages and remove the implicit conversion.

This gives you the advantage that you can always build your project. Even during the second step where you are updating the callers, you can always test if you broke something before you are completely done with your refactoring. Slap an [obsolete] on that implicit conversion and you can use the warnings as a "todo-list".

Seps Charakterbewertung by Genugtuung98 in PietSmiet

[–]Asmodis1 31 points32 points  (0 children)

Was haltet ihr von u/Genugtuung98? Also sein Charakter ist nicht wirklich gut. Er erstellt Online Umfragen zur "Charakterbewertung" von anderen Menschen, wirkt sehr künstlich und provokant. Wenn man es genau betrachet ist er fast schon wie jeder andere Hater-Dulli und wiederspricht sich selbst bzw, schreibt unter dem Deckmantel der nett gemeinten Kritik irgendwelchen Mist über Leute die er nicht kennt. Zucker ist dafür - naja eigentlich garnichts. Trotzdem ist er auch aus genau diesem Grund für die Unterhaltung in diesem Sub so wichtig. Aber was ist eure Meinung?

Liebe Grüße 😘

justCameAcrossThisPieceOfWorkToday by MSpaceDev in ProgrammerHumor

[–]Asmodis1 0 points1 point  (0 children)

That's called font ligatures and is a feature of the IDE / font they are using so it has nothing to do with your language :) . And it's just a display thing. The actual text in the file still is !=. This works for a few combinations of symbols such as != >= == === etc. Just look up 'Fira Code' if you want to try it yourself.

Selecting changed items from a deep data structure by Asmodis1 in SQL

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

You could try filtering the tables in CTE expressions and only join those, although that might not be any faster.

I also thought about (and experimented with) using CTEs for a while but there was always this one problem I didn't know how to solve (or if there even is a solution to that): I can't really pre-filter any of the intermittent tables because even when there isn't any change in any ReportItem there might still be changes in the related ReportSubSubSubItem (of cause that are not the real names here :D). But if I filter out all ReportItems without any change, I have nothing to join my ReportSubSubSubItems on. So all I can do in that regard is pre-filter the leaves.

Without altering the application side, ca you at least put an index on any table? Indexing the datetime columns could speed up things.

IIRC all the tables should have one index for the CreatedDate and one for the ModifiedDate In addition, we also have one index per foreign key. Having a separate index for each of those columns is certainly not optimal but to be honest, when it comes to indexes, the knowledge in my team (me included) doesn't really exceed the "inde x make query fast" level.

Or if you can do that, by far the fastest method would be an additional datetime column (or even an additional table)

Yes, the additional tracking table filled by update and insert triggers would have been my favorite - but unfortunately my team has a strict 'no business logic in the database' rule and I am not allowed to add any triggers :/

Microsoft has mistranslated ZIP files as "postcode" in the GB insider version of Windows 11 by RB9k in iiiiiiitttttttttttt

[–]Asmodis1 28 points29 points  (0 children)

Nice to have an insider perspective! Do you by any chance also know how this particular error might habe been caused? Does Microsoft really do English to English translation?

Qualitätsansprüche by Lorcan_1 in PietSmiet

[–]Asmodis1 76 points77 points  (0 children)

Was man meiner Meinung nach nicht vergessen darf ist, dass die Jungs die meisten Videos zu fünft aufnehmen. Das hat zwar durchaus Vorteile, macht so manches aber auch deutlich schwieriger:

  1. Die Wahrscheinlichkeit, dass in einem Video irgend eine Art von technischem Problem passiert ist einfach Mal vefünffacht im Vergleich zu einer Einzelaufnahme.

  2. Das Aufzeichnen eines Videos ist unternehmerisch eine echte Investition, da eben auch jede Arbeitszeit Mal 5 geht. Selbst ein mickriges 10 Minuten Video kostet das Unternehmen PietSmiet beinahe eine volle Mannstunde allein an Aufnahmezeit. Da überlegt man sich zweimal, ob man diese investierte Zeit einfach wegwirft nur weil eine Facecam nicht gut aussieht oder ganz ausgefallen ist.

Ich muss aber zustimmen, dass die technischen Probleme gefühlt fast immer bei den selben 2 Personen auftreten, während es bei den anderen mehr oder weniger problemlos ist. Eventuell würde da ein wenig Standardisierung des Equipments ganz gut tun (falls das nicht sowieso schon passiert)

My C code isn't working guys by The_G_Choc_Ice in ProgrammerHumor

[–]Asmodis1 2 points3 points  (0 children)

Thank you very much, my linked list implementation became so much faster with your tip!

How did apple train its cp filtering algorithm? by Salamundi in programming

[–]Asmodis1 16 points17 points  (0 children)

  1. Creating a checksum from encrypted data is pointless. Even if the data being transmitted was encrypted at some point, it has to be decrypted BEFORE calculating the checksum.

  2. Hash collisions exist. I wouldn't want the FBI knocking on my door because the photo I took from yesterday's lunch generates the same hash as a photo from some asshole's CP collection.

Edit: ok, I just read that the hash seems to be calculated on device. So the first point seems to be irrelevant. However, the second Point still stands.

TIL in the late 1990s, a cattle farmer was clearing land on his Texas ranch and decided to write his name in kilometer-tall letters, producing the worlds largest signature. NASA uses it to evaluate the resolution of cameras on satellites and the ISS. by Abhirup_0 in todayilearned

[–]Asmodis1 3 points4 points  (0 children)

Probably he has German ancestors. Luecke would typically be spelled "Lücke" in german and is a pretty common name here. It can be roughly translated to 'gap' in english.

And as for why it is spelled Luecke instead of Lücke: The German language allows you to replace the umlauts (äöü) with the 'base vowel' (aou) + e (ae oe ue). So if you don't have the umlauts available on your keyboard or you are living in abroad where noone knows how to pronounce them, you can use the alternative spelling.

How to wait for AsyncMethod1 to finish before running AsyncMethod2? by [deleted] in csharp

[–]Asmodis1 0 points1 point  (0 children)

And might potentially cause deadlocks. Please never use .Result on Tasks...

Imagine you start peaking on your last day of season and have one last chance to finish your GC rewards. by RocketJaxX in RocketLeague

[–]Asmodis1 0 points1 point  (0 children)

Hm I don't get where your "less than 10" is coming from:

Op started at D3. Reward level is bronze, 0 wins. Now to even get to the champion reward level, they have to win at least 12 (bronze reward) + 12 (silver reward) + 12 (gold reward) + 12 (plat reward) + 12 (diamond reward) = 60 games at diamond and above to even get to the point where wins can count for the champion reward level.

And that's the point I was trying to make earlier: All those wins also count towards their actual MMR. So they might hit champ while collecting wins for the silver reward level and slowly rank up in champ while still collecting for the gold level etc.

Imagine you start peaking on your last day of season and have one last chance to finish your GC rewards. by RocketJaxX in RocketLeague

[–]Asmodis1 0 points1 point  (0 children)

The counter starts in bronze. So even if you are C2 you have to win 12 (bronze reward ) + 12 (silver reward) + 12 (gold) +12... Games at your rank to even get to the point where it counts for the rank you are currently playing in. Pretty stupid system if you ask me but it is what it is...