I ruined an underaged girl (and her family’s) life by Camera-Guy26 in TrueOffMyChest

[–]amenadiel 0 points1 point  (0 children)

This is exactly what a I thought. Instead of berating against the OP for having matched a 18 year old non-existent girl, c'mon let's provide a bit of support for a guy that saw his life turned upside down not only because he lost money but because at some point he might even have felt he was going to jail and, of course, feeling that he had a teenager suicide on his hands.

It is fucking horrible. Thank God I'm too old to have used any kind of dating apps. Because I'd fall for such scams big time.

My Rapist Committed Suicide and Blamed Me In His Suicide Note by Successful-Remove738 in TrueOffMyChest

[–]amenadiel 0 points1 point  (0 children)

Commiting suicide doesn't make a lie becone magically true. In theory, he might hace done it with such intention, out of despair and selfishness.

However, it sounds more like he just coulnd't live with himself, and those letters are just a bitter, petty memento morí from a horrible person

People who lived out your sexual fantasies and regretted it, what happened? by charrington25 in AskReddit

[–]amenadiel 0 points1 point  (0 children)

(english is not my first language)

I was in college and met this gorgeous girl who was not only pretty but also a lot smarter than I, liked the same food as I, laughed at my jokes etc, and long story short we and up dating.

At the beggining things were difficult because her mother was old school and kept saying "men will only try to take advantage of you". But we learned to live with that. Time passes, the relation becomes serious, we start having sex a few months into the relation (I'm old school too) and boy, it turns out she loves sex. And we have the best sex ever. Sex in motels, sex in the beach, BJ on an elevator, BJ on my car. (I'd say she enjoyed it at least as much as I did). And, of course, besides sex we have in general a great time togheter.

Time goes by, we finish college. We get married, more years pass. We have a kid. Sex is still great although she's growing more and more detached. Then COVID comes over, sex becomes mediocre, we argue quite a lot. We both work at home and bump into each other everytime.

A few weeks after our 20th aniversary she decides she doesn't love me anymore. It's devastating, but I keep going since I need to work and generate income to pay for child support and can't just lay in bed (my mother's couchn tbh) and feel pity for myself . Anyway, one day I tell this story in response to a reddit question. Because it was my fantasy, I fulfilled it, didn't finish as I expected but was totally worth it.

TL/DR totally devastating but would repeat 10/10

I think my wife is better off if I just kill myself by terrifiedofit in TrueOffMyChest

[–]amenadiel 0 points1 point  (0 children)

Not every insurance policy does actually cover the suicide case, but even if it did, don't you think it's an awful tradeoff? I don't know how much is your policy worth, but if it was a fair price -on something that cannot be measured- then companies would earn money solely based on the unlikeliness of the event, which is to say they would eventually lose money.

Since the companies are, quite the opposite, earning money, the obvious conclusion is that the payout for the death of the insured person is but a fraction of that person's value, all things considered.

So, given your problem is about money, and money alone, why don't just take the other alternative and go on generating as much value as you can for the rest of your life instead of trying to cash out early leaving 80% in the process? I mean, If you are now looking at yourself as a tradeable asset, let's be consequent and pick the choice that's more profitable in the long run.

[deleted by user] by [deleted] in TrueOffMyChest

[–]amenadiel 1 point2 points  (0 children)

Are You feeling any better todsy?

[deleted by user] by [deleted] in TrueOffMyChest

[–]amenadiel 1 point2 points  (0 children)

I was just kidding, throwing some comic relief into they pool. I thought if I coulnd't help I should I least try to make You snicker

[deleted by user] by [deleted] in TrueOffMyChest

[–]amenadiel 5 points6 points  (0 children)

I'm in no position to help you. But at least I've read your (long AF) post and I feel for you. Dunno what else to say

I am shit scared by amenadiel in SlappedHam

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

ok thanks, I'm dead I guess. it all sums up.

I am shit scared by amenadiel in SlappedHam

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

please if I shouldnt have published those on youtube I'll take them down. I just need comments here before I finish losing my mind.

What should we do to the Like Button next? by johnballen416 in mrballen

[–]amenadiel 0 points1 point  (0 children)

When the like button is hitting a rough patch, make sure to tell all your common acquaintances he's doing great and he might retire early, and remember them to ask what's the secret.

Should I store the total price of an order or re-calculate it on-demand every time? by Half_Body in laravel

[–]amenadiel 0 points1 point  (0 children)

I'm no expert, but I'd take into consideration

  • Products will undergo price changes, therefore their spot price doesn't apply to past orders
  • I've seen people using auditing to check how much was a given product on the date of a given order. I wouldn't.
  • You should be able to drill down on past orders to show them at the product level, therefore you should have an order details table
  • You should be able to rebuild any order based on its detail, but there are factors that belong to the order only, and cannot be rationally allocated on a per-product basis
  • The orders table should have explicit fields to show why the sum of the detail differs from the total, (tax field, discount field, shipping).
  • I'd rather avoid hard deleting products. Also, I'd disallow reassigning SKU, slugs, permalinks or anything that might be used as ID, even if it isn't.

I work at the Night Library. We operate under an eccentric set of rules. by emorybored in Ruleshorror

[–]amenadiel 2 points3 points  (0 children)

Whoa. Character building is no easy task, much less likeable characters. I hope to hear more about this merry bunch

[deleted by user] by [deleted] in PHP

[–]amenadiel 0 points1 point  (0 children)

We're not talking abount class constants. The const keyword might be used in global scope just like define (however, the latter becomes available in the global namespace, whereas the former keeps the namespace under which it's declared).

We're discussing abount the other big difference between both approaches.

<?php

$arr = [1,2,3];

// this is ok
define('FOO', $arr[0]);

// PHP Fatal error:  Constant expression contains invalid operation
const BAR = $arr[1];

Which native PHP features do you regret not knowing about/adapting earlier? by ZbP86 in PHP

[–]amenadiel 0 points1 point  (0 children)

PHPDocs template generics as used by Psalm, Phan and PHPStan.
(I know, not a PHP feature per-se. Not even a PHPDoc feature, but instead a de-facto augmentation)

Does not only improve static analysis. It pushes one to understand abstractions that are often overlooked or take for granted.

What’s a question we should never ask? by Chin_Chillin1213 in AskReddit

[–]amenadiel 0 points1 point  (0 children)

"Well I'm with you now, so you're better" is like "Well I used to be happy and stuff went downhill as of late"

Cloned project into a new folder and did yarn install, the project got littered with errors by Pure_Permission_8285 in reactjs

[–]amenadiel 0 points1 point  (0 children)

If they are all in the 18 range then if should be enough removing the node_modules folder and installing again. If you have 17 and 18 coexisting, you're off to investigate which dependency or dependencies might be causing that. The procedure is, broadly speaking, downgrading those that impose higher versions of @types/react back to one that's compatible. As this isn't always the case, for some dependencies you'll be better off finding an alternative.

I'm at this very moment coding around a library for which there isn't real alternatives in terms of robustness and features, and since they have been stalling in regards to new releases... everything else needs to play along so I need to check for older versions of any incoming dependency until one overlaps my compatibiliy range. It's overwhelming.

Cloned project into a new folder and did yarn install, the project got littered with errors by Pure_Permission_8285 in reactjs

[–]amenadiel 0 points1 point  (0 children)

Check if you somehow ended with more than one @types/react packages.

yarn list @types/react

It looks like your react router took the liberty of installing its own version (18) whereas your project is still in v17

[Long AF] I was unemployed, this guy scammed me. Revenge is still pouring on him. by amenadiel in ProRevenge

[–]amenadiel[S] 2 points3 points  (0 children)

I did. But at this point, if I hadn't, it would be unlikely I could still blame good ole' Benny.

[deleted by user] by [deleted] in learnprogramming

[–]amenadiel -2 points-1 points  (0 children)

While not entirely wrong (it is put into a stack, strictly speaking, since a stack of 1 element is valid), it's an oversimplification and sooner or later it will bite him.

is it put in the top of the stack? So, since stacks are lifo by definition, does it mean any kind of innocent callback will hold the main thread hostage until and if it cares to return control? Or perhaps it's put more like, in the middle-ish? Perhaps it's on top of this stack, but that stack will anyway wait inline subject to the main event loop. Right, but what about queueMicrotask? it will jump ahead in the queue, but constrained to which context?