785 karma · joined December 10, 2014
Basically, it is just a journal of all queries (really ANYTHING going on in the db but for developers it is useful to limit to queries) and typically filtered by database and by keyword (e.g. table or stored procedure name).
You can set up a trace to track long-running queries on a production server (DBA might do this) or on a dev server a developer might use it to capture SQL run from their code (e.g. a complex stored procedure with a lot of input params) so you don't have to try to assemble the SQL using a debugger, for example.
A good example might be "I am doing everything right in code, but the data set is coming back empty" so you profile it and realize the SQL is being called with an empty string and not a null, or whatever. When reviewing the code you thought "it will be a null". That kind of thing.
Even the concept of the "print line" debugging into a lot file seems kind of foreign to them sometimes.
They instead rely on running the code, changing something, running it again, etc.
I am a big fan of reading through the code. That is almost always enough for me to find the issue and point it out to them assuming I understand the input and output context well enough. But if that doesn't work, add a debug point and fire it up. Not using a debugger seems like a massive waste of time in a situation like this. So much so that I have started asking "did you debug this" or "have you watched this happen in a debugger" before I will help out much. If they say "no" because they don't know how, I will teach them to do so.
The real issue, though, is the "I'm enlightened" crowd. They are insufferable and need to brought back down to reality before they go to a dinner party and annoy everyone.
I laughed, because I knew exactly how original my thinking was going in. It was really funny (and depressing if I had a big ego) how close it was to my idea.
However, doing so allowed me to iterate a bit and I took a minor aspect of the plot (people don't always have enough to eat) and magnified it (the government is the only source of food and they use this to control people). It has made the story much more interesting (still not super original!).
I tested as a genius level IQ in elementary school. I went to special educational programs in grade 4-5, then a school with a stream just for "enrichment learning" (bused in with other kids) from grade 6-12.
I tried pot for the first time at 12, was a typical stoner at 15, and went into the intellectual pursuit of "working in a kitchen" until my mid-20s.
My family was financially and socially stable enough that I could move back home with my parents at get a degree in Computer Science when various medical conditions prevented me from working as a cook any longer. I would have had a minor in "Math" had my university handed those out (they started a year after I graduated).
I in no way excelled. I had a decent GPA but it was hard work and my mature student status that got me through that first year back and kept me in it to get a degree. I couldn't handle being in university any longer so I dropped out of the Masters program.
I have I had gone to university right out of High School I probably would have failed and gone on the same path. My genius IQ did not set me up for curing cancer. It set me up for "I don't have to study to do well in school" and let me figure out "I can stage in different kitchens to travel around and see the world while also in a job that doesn't care if I am high all the time".
Giving me a guaranteed income would have probably stifled even that little bit of ambition.
I do think there's room for giving kids who didn't have the millions of squandered advantages I had some financial help but it should not be based on IQ.
Don't manage your work from a place of fear. If you really don't want to be promoted, that's fine. I respect people that have that opinion. But don't try to ensure job security by slowing the organization down to reassure yourself you're too essential to replace.
I think a lot of the time when people say they have "food poisoning" what they really have is digestive distress from eating poorly handled food. There's an incredible lack of awareness around safe food handling (which is really very simple) and most of it stems from laziness or inattention. Even if you only have one cutting board, cut the chicken last, and clean the cutting board correctly, etc. Don't leave a knife on the counter and use it over and over. Wash it with the rest of the dishes. If it was used to cut meat, don't use it again until it is properly sanitized. Don't leave leftovers sitting on the stove or counter for hours, esp. things prone to going off. And so on.
I have no idea where he go the watch or how. They were a lower income family and lived in very modest circumstances but he always had the latest and greatest, brought it to school, caused a huge commotion, and would have the device taken away (think personal sized PacMan consoles, sling shots, those robot toys, etc).
It did work. The way it was used was a ton of kids would crowd around this guy and watch a grainy, poorly rendered, CBC program with faint sound (I recall a headphone jack), and we marveled at how cool it was that he could watch TV at school. Unfortunately, nothing interesting would ever be on, and the teacher took it away immeadiately.
~~Either~~ Both are preferable to the standard mouse for me, though!
How would this compare to a raft of asteroids you select in your home system to have the exact stuff you need and the accelerate it? I realize there's differences in mass here but I am asking is it material given the scope? Because you are kind of guessing what is going on with that rogue planetoid but the asteroids you could select at your leisure and also hollow out easily while you are in your home system with access to orbital factories, etc.
Anyway, fun thought experiment! I totally agree that you would have to approach this as if this is your new home and you MIGHT get to a planetary system you could also colonize at some point. Generations in that idea might seem as foreign as living on a colony flotilla.
So yeah, that can be enough (might have been a heart attack as a result of the shock, I am NOT a doctor, but he was gone by the time the ambulance arrived).
Also, one of the reasons street fighting is so dangerous has nothing to do with MMA dudes, it's when someone falls down and hits their head. This happens all the time. They sometimes die from the fall.