• 0 Posts
  • 37 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2023

help-circle




  • I don’t know about intellij, I have worked mainly in VS Pro. I will tell you some of The things I can do in VS that help and then I’m sure intelliJ probably has similar functionality or plugins that will add it. Check to see if you can generate call graphs or call maps. VS enterprise has the ability to add each function to a graph and build up a diagram for you. Unfortunately pro and standard do not.
    Ctrl + “-” will jump back to last. This allows you to reverse through the call tree.
    You should be able to display a call stack that at least tells you how you got down to where you are.
    Make notes about reimplements you want to make and move on. Sometimes just writing it down so you won’t forget is enough for my brain to let it go.
    In VS Pro you can create a break point and then right click on the red break point dot and add conditions and\or actions. Conditions stop it from breaking there unless a condition is met, this is great when you only want to catch one iteration of a loop. Actions are something that will be evaluated and done like printing out information “$FUNCTION, myvar {my var}” will print out current function name, myvar, the value of myvar". You will be surprised how complex of a variable it will print. For instance it may print out an entire structure or contents of a class. You can then set the action to not break, that way the code performs the action and keeps going. Doing this will allow you to generate as detailed a list as you want of breakpoints in the order in which they get hit plus any variables you want to track.





  • Always have been. Or at least since the beginning of the world wide web.
    Stores had long used the “low price guarantee” slogan to draw customers. And they had trained the average customer to believe that it meant they had the lowest prices. Back in those days price comparisons were hard. Sales ads changed every week or two but other than what was in the ads you had to go from store to store checking the price yourself. Yes, you could call around to different stores, but that was unreliable. Even just getting stores phone numbers was a hassle. Plus, most stores didn’t have their inventory computerized, and the ones that did were only close to correct once a year, right after they did their yearly inventory. So they just had to keep track of a couple of their closest and biggest competitors. If you tried hard enough you could save a few dollars, but it was rare and took a lot of effort. Most people would settle on what they thought was the “best store” and just stick with it. Even when a competitor had a sale at a significantly lower price that was simple enough for them to deal with, they would just pull their stock from the shelves and put a sign on it in the back room that said don’t sell until a certain date. If you shopped somewhere like Sears or circuit City where their sales people worked on commission, You could sometimes develop a relationship with one of the veteran sales people as “your guy”. And they would be able to have this insane knack for “searching the storeroom” for you and “mysteriously” finding the “last box that had been misplaced”.
    Then Walmart came on the scene and was a huge pain in the ass by actually having cheaper prices on a lot of things. Enough companies complained that eventually a few suppliers would have a special model number for a few high dollar items that they sold to Walmart and then a different model number for everyone else. But this was only on a few things like computer stuff and car stereos.
    And then the internet came along and they were forced to slowly start giving just about every store “unique models”.



  • They don’t believe that the party is innocent at all. They know that awful shit is happening, but they chose to lie to themselves, and others, because the Republicans deliver something that they value more than their self respect, or respect of others. For most, it is permission to hate. There’s someone, or some group that they hate so much that they are fine with whatever is “actually happening” as long as they can hate, and their hate is rightous and justified. With enough little lies like “both sides are doing it, so what are you going to do?” stacked on top of each other, then they can disassociate the awfulness from themselves and their party, and shift their disgust for what is being done to the other party.
    You just have to realize that the strength of their hate for the Democrats is actually how much they hate then and their own party. So, knowing how much mental effort and emotion goes into lieing to themselves and everyone else, you now have some idea of how truly awful their little secret is.





  • I… I don’t think I’d be able to ever look someone in the eye again if I saw them eating any fruit like that.
    And then I noticed your user name and realized that you are probably that bunny from Monty Python and the Holy Grail, so direct eye contact is probably not a good idea anyways…