Snakes In The Ball Pit > Yay, I get to talk about me!
Thread.setTitle("Programmers Anonymous");
Ambious:
today i was reverse engineering a test from another team in order to access some arcane APIs and encountered the a GET call titled "get website". being the intrepid sort that I am, I called it and received a 6.2k line JSON object back containing, presumably, the website. the very next call in the repo is called "update website", which is a POST request that submits a 6.2k line JSON object to a very similar URL. They did, however, change about 20 fields or so. as this is tangentially related to the work i'm doing, i explored around to see if this was relevant to the test that's being run, and no, it doesn't actually have any effect. HOORAY!!!
jack chick, January 05, 2019, 12:58:47 am
--- End quote ---
This is how security breaches are born.
Back when I was working in retail I found a similar call on a competing company's website that basically gave me access to all their products and pricing, and so I made a scraping tool for our sales reps to be able to match prices on the fly.
EYE OF ZA:
Good: I'm learning PHP as I work on building my own portfolio website.
Bad: "//The tag array is sorted alphanumerically by default." The tag array, after thirty minutes of breaking half the web page, turns out to not be sorted alphanumerically, or, indeed, at all.
Emperor Jack Chick:
Hey, question. Anyone super familiar with the builder design pattern? (my project is in Java)
Basically: I have a class with ~30 fields, and an inner public builder class. The build() method of the inner class returns a new instance of the parent class and passes in an instance of itself. the parent class has a private constructor which assigns the fields collected by the inner class to the private fields on the parent. One of my coworkers has requested that I move the initialization of those fields out of the private parent constructor and into the build() method between instantiating the new parent and returning it.
The question is: Does this matter? Is there any real tangible gain here aside from not having to pass an argument? The person making the request hasn't explained why he wants this beyond "the way you're doing it is Bad". Guy is also kinda dumb so I'm not really inclined to listen to him.
Lemon:
This seems like the right place to bring this up:
Trying an experimental redesign of the code block. First attempt was to mimic the Apple ][e color scheme.
https://github.com/AhoyLemon/ballpit/issues/50
If you have a preference on how you'd like to see it, let me know. Keeping in mind that I'm not gonna do syntax colors - whatever it ends up being, it'll be monochrome.
Lemon:
Ignore me, testing something.
javascriptalert('hi');
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version