Comment on: Seems like someone's gotten their fingers into stackoverflow
0 30 Sep 2019 16:31 u/sore_ass_losers in v/programmingComment on: I'm Writing a Program that Calculates the Value of a Woman in Metric Spherical Cow Units. If That Doesn't Peak Your Interest, I Don't Know What To Tell You Buddy.
Good enough, definitely not peak.
Comment on: I'm Writing a Program that Calculates the Value of a Woman in Metric Spherical Cow Units. If That Doesn't Peak Your Interest, I Don't Know What To Tell You Buddy.
Spreche die Englisch? That's 'picque'.Besides that, Hilary is worth 90,000 cows, to whom? No thanks.
Comment on: how to take one bool in a large C# set, and compare it to the rest of the set to know if a duplicate result pops up?
Okay I get the Cursor better now.
You could have a Board object that has the Square[8][8] array and creates each Square with appropriate checkerboard colors in the constructor. It could have a reset method that loops through and sets all Square.Piece to null, called from the constructor and whenever you clean and reset.
Board could create all of the Pieces too. That reset method could position them on the Squares and put all of them in the Active Set and clear the Captured Set. Something like that.
Don't forget a method to knock the board over, j/k.
Comment on: how to take one bool in a large C# set, and compare it to the rest of the set to know if a duplicate result pops up?
I don't understand that first thing "2 variable sets tracking each board axis with bools". Sets are good for keeping track of unordered collections of stuff, like a set of active white pieces, or another of captured black pieces, or whatever. For something like the board you know there are exactly 64 squares or 8x8 so build a two dimenstional array of squares.
The Cursor is used for considering potential moves?
The whole big deal about an object oriented approach is you try to model the real world. So make a Square object and have an 8x8 array of them. The Square object holds whatever is of interest about chess squares. It can have a Piece or null for empty. Pieces are Black or White, Live or Captured. A Rook is a specialized kind of Piece. Now you can move the Cursor according to Rook movement and for each position x, y just look up the Square directly and see what's happening on that Square.
Comment on: how to take one bool in a large C# set, and compare it to the rest of the set to know if a duplicate result pops up?
Okay, I'll bite. A set is just a collection of things, wouldn't you want an 8 x 8 array of booleans to keep track of which squares are occupied, true or false.
Comment on: How to fix any bug in software
Just give it a big Hug.
Comment on: Release status : SNAFU
You mean SNAHU, Situation Normal: All Hugged Up, don't you?
Comment on: I have no coding experience but one class in Pascal! I want to know about tracking beacons in images please.
AFAIK a tracking single pixel image is something that's part of webpage HTML, not an image. The single pixel image is not apparent to the user, yet his browser hits some server to get it, hence tracking hits.
Comment on: With the news of Microsoft buying Github, I thought it'd be a good time to remind everyone that it's run by ideologically possessed SJWs
Literally and quite demonstrably in this instance: Apparently Cory Bell "Coraline Ada" Ehmke previously styled himself "Reverend Doctor Corey Bantik" and claimed to be an authority on 'magick' on the net:
Satanic Transgender SJW Wants to Control 'Open Source' Code Community
http://theothermccain.com/2018/05/30/coraline-ada-ehmke-transgender-feminist-satanic-sjw/
Comment on: With the news of Microsoft buying Github, I thought it'd be a good time to remind everyone that it's run by ideologically possessed SJWs
Oh man, is it really like this in the tech industry nowadays?
There was that male programmer at Google who wrote about their stupid SJW culture and got fired, then it turned out there was a creature similar to Ehmke at Google, apparently spending his/"her" time on the company bulletin board badmouthing "cis" white males and creating a poisonous atmosphere.
On the plus side, if you're a guy who wants to work in tech, just put on a dress for the interview. They'll be on tiptoes to avoid affronting you.
Why would stackoverflow have a Judaism subforum?