• 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • They’re not meant to be used to change prices on the fly. The 10 minute window is literally just so you can fix mistakes like typos, in case it says 179.9 when you meant to put 17.99. Like when a customer comes in, and says “the advertising said this is supposed to be $5 this weekend, but the price tag still says its $8, what gives?” Then you can go to the back, change the price to $5, and it will update all the tags for this item on the fly. There is no limitation stating you need to wait 24 hours or however long you think would be fair. You can also use it to schedule sales that start at a specific time of day, fx food items that are made to be consumed on the same day might get cheaper near closing time.

    Price gouging is still price gouging, and generally, at least where im from, there is a legal obligation that the customer can rely on the listed price at the time they pick up the item. I can’t imagine it’s that much different in the us?

    Source: l literally used to program the software that’s used for these things






  • I was in a queue two days ago for tickets to a show. Of course, I got kicked out of the queue twice, and then lost my chance to get a ticket at all. When I wrote their support about it, they said they hadn’t anticipated this amount of traffic and it had crashed their servers.

    On a pre-sale that you had to sign up for.

    You know, so they will know how many people they can expect.

    Something that Ticketmaster routinely does, giving them exclusive access to the numbers, telling them exactly how much traffic they can expect.

    A slightly more cynical person might say that maybe, just maybe, the only goal Ticketmaster has is to spend the bare minimum to keep their website afloat, so they can pocket the rest. They don’t give a fuck about anyone or anything except their own profits. If this criminal organization would go down in flames tomorrow, I would buy pizza for everyone on my floor to celebrate.

    Honestly, I’m just surprised that they’re still allowed to exist in Europe.




  • Its even worse than that. It is completely unpredictable and just does what it want. When I type in “Vi”, the first choice is Visual Studio. It will stay on Visual Studio until I have typed in “Visual Studi”. But if I’m a fast typer, and I type in the entirety of “Visual Studio”, it opens Visual Studio Code.

    So the fastest way to open up Code is to type “VSC”. This doesn’t work with “VS” for Visual Studio.

    I have to type out “Spot” specifically to open Spotify. Typing out Spotify opens edge.

    There are also files and programs it cannot find despite having been installed for years, even though I’ve MANUALLY added the paths to the searched directories.

    If anyone of you is on Windows for whatever reason and want your mind blown, try downloading a little program called Everything. It can literally find every single program on your computer as fast as you can type. And it looks up exactly what you type in. It also supports wildcard characters etc. This is the kind of behavior I expect from my computer. Sure, make a shiny frontend for casual users who don’t need to see every single file on their system, but please, why do I have to go through third parties to get this experience on an OS that my company paid for, when I can get the same experience out of the box on any free Linux distro?





  • What you’re describing is an interface. An interface is a contract that ensures you can do something, but doesn’t care how.

    Abstract classes can have abstract functions. When you do this, you’re basically just creating a base class with an interface on top; you’re saying “all my children must implement this interface of mine” without having to actually make a separate interface.

    Abstract classes also offer additional functionality though, such as the ability to define properties, and default implementations of methods. You can even utilize the base class implementation of the method in your child class, in order to perform extra steps or format your input before you do whatever it is you were doing in the first place.

    So, an interface is a contract that allows you to call a method, without having to know the specific class or implementation.

    Inheritance is more like “it does everything that X does, but it also does Y and Z.” If you’re ever finding yourself writing an abstract class with purely abstract methods, you probably want to write an interface instead. That way, you get all the same functionality, but it’s more loosely coupled

    Epecially when you think in “real” OOP terms:

    Abstract classes are “child is a parent”, fx “duck is a bird”. Bird describes all the traits that all birds have in common. But not all birds fly, so flight must come from an interface. This interface can be passed around to any number of objects, and they’re not as tightly coupled because unlike an abstract class, an interface doesnt imply that “duck is a flight”. The interface is just something we know the duck can do.

    As you can probably tell, I work with OOP on a daily basis and have for years. There are a lot of valid criticisms of the OOP philosophy, and I have heard a lot of good points for the record. I am just educating on the OOP principles because you said you were interested and to clear up any misconceptions.