• 0 Posts
  • 122 Comments
Joined 2 years ago
cake
Cake day: December 24th, 2023

help-circle



  • My understanding so far is:

    if business logic assumes a set of preconditions before a particular piece of code that the language/runtime/os satisfies… then it’s an immediate assert. Any kind of IO, memory creation and OS operations fall into this carefory.

    However if the business logic assumes something in its own domain and that assumption does not hold then its better to handle that instead of crashing. Ex. being you expect a queue to have at least one element in some pipeline and if it is empty then return saying nothing to be done.

    Edit: don’t assert/crash if your application is single process multithreaded unless you want your friend from accounting asking you why their stock ticker crashed just when they clicked a button in the coffee shop module of your app. Use some thread exit mechanism.





  • Hey man just because you got a threesome doesn’t mean its common.

    Spontaneous group happens in real life -> I agree.

    All the time -> I don’t agree

    There are people who seek it out

    But that doesn’t mean they get it “all the time”

    Unfortunately the difference between those two types of people defines the lens through which you define a “naive” person.

    And your lens is too much caliberated to view every encounter as an opportunity even if you don’t know whether the OP is actually into it or not, thus projecting your expectations into the scenario.



  • I didn’t say sex doesn’t happen in real life. I said you watch too much porn.

    The mind of a man who thinks that a random girl tagging along with a potential first date will agree to have a threesome let alone the first date themselves will agree to normal sex is… a young naive mind who believes that everyone is having spontaneous group sex.

    Your mind immediately went to that? Why?






  • Because that other stuff used to work before the company fired all of QA and local devs. Then the bugs after that were used to justify LLMs to replace the “shitty coders” that outsourcing to a sweatshop usually entails. At least with the sweatshops there was some argument to be made that the people working there either had no other choice, or a slim chance they actually cared about their output and made it so at least it would do the bare minimum.

    Now that corporate wants to justify their hype and investment in AI to attract the moneyed entities, they will go to any lengths to show it actually works. Even if the Emperor has no clothes on!