Easily the worst part of the job is how bitter and hateful you get towards special needs children. I mean it isn't their fault, but the attrition eventually wears you down.
Then again I've only ever worked in business apps and high level stuff, maybe there's some use in low level hardware/device driver programming or something?
Now I'm actually curious
No, because at level you wouldn't be using C++ anyway.
Edit: to clarify I'm a C guy so I had to look up what this "reinterpret_cast" crap is.
Probably not in low level drivers (although you can do it that way), but many modern games are written in C++.
So reinterpret_casts have their uses.
Then again I've only ever worked in business apps and high level stuff, maybe there's some use in low level hardware/device driver programming or something?
Now I'm actually curious
No, because at level you wouldn't be using C++ anyway.
Edit: to clarify I'm a C guy so I had to look up what this "reinterpret_cast" crap is.
Probably not in low level drivers (although you can do it that way), but many modern games are written in C++.
So reinterpret_casts have their uses.
Yeah, big-time games are definitely one of C++'s strongholds, though it seems to be under attack for other native applications.
Just out of curiosity, what is reinterpret_cast legitimately used for?
Then again I've only ever worked in business apps and high level stuff, maybe there's some use in low level hardware/device driver programming or something?
Now I'm actually curious
No, because at level you wouldn't be using C++ anyway.
Edit: to clarify I'm a C guy so I had to look up what this "reinterpret_cast" crap is.
Probably not in low level drivers (although you can do it that way), but many modern games are written in C++.
So reinterpret_casts have their uses.
Yeah, big-time games are definitely one of C++'s strongholds, though it seems to be under attack for other native applications.
Just out of curiosity, what is reinterpret_cast legitimately used for?
One case when reinterpret_cast is necessary is when interfacing with opaque data types. This occurs frequently in vendor APIs over which the programmer has no control. Here's a contrived example where a vendor provides an API for storing and retrieving arbitrary global data:
So I spent about four hours last week shuffling equipment from one storage area to another, only to find out friday afternoon that the space I moved the equipment into is now being leased to someone else and the equipment has to be moved to yet another storage area. So I guess tomorrow instead of being a System Admin I'm going to be a Box Bitch instead.
0
Zonugal(He/Him) The Holiday ArmadilloI'm Santa's representative for all the southern states. And Mexico!Registered Userregular
So while watching the Oscars my boss called me.
Boss: Hey, have you checked the schedule for the week?
Me: Not yet, but I checked my email 2 hours ago.
Boss: Well what have you been doing?
Me: Watching the Oscars.
Boss: Oh? Do the Oscars put food on the table?
Me: What?
Boss: Exactly.
Zonugal(He/Him) The Holiday ArmadilloI'm Santa's representative for all the southern states. And Mexico!Registered Userregular
I don't even know...
This is the same boss who talked down to me about reporting a lot of miles for my bi-weekly report. Never mind the fact that he requested I display how many miles I drove for work or the fact that he set the schedule for such days of work.
Nope, totally my fault that I have to drive 82 miles a day for work.
He doesn't tell you the schedule until... the DAY you're supposed to be working? How in the world is that supposed to work
I will typically receive the schedule the very evening before that week of work.
And this is still a loose schedule because he could immediately, and has in the past, thrown work on me. I'll finish up a case and be driving home when I will get this phone call:
Boss: Hello?
Me: Hey.
Boss: Yeah, hey! How was work?
Me: Okay.
Boss: Good, good... So I'm gonna need you to go work with Jonathan right now.
Me: I'm on the freeway, seven exits away from where he lives. I'm basically half-way home now.
Boss: Hmm... Seems like you're gonna have to pull around than aren't you?
Me: What?
Boss: Yep, bye.
New job is going well, it's a pretty good and fun job. I'm thinking about getting a second job on weekends to supplement my income a little but not sure if I should or not.
Evidently, one month is the time it takes for my female co-workers to become comfortable with flirting with me at work. The downside is that it is annoying and they take pleasure in bossing me around.
How do you solve the bossy female co-worker problem?
So what fun things are there to do in Baltimore on a Tues/Wed night? Not really sure I want to drag my boss to the Inner Harbor but if there's a particularly good restaurant I could probably be convinced
So what fun things are there to do in Baltimore on a Tues/Wed night? Not really sure I want to drag my boss to the Inner Harbor but if there's a particularly good restaurant I could probably be convinced
Go into the downtown area and get mugged/shot/beat up/car jacked/stabbed/sold drugs/peed on
Not necessarily in that order.
Also, go see the USCGC Taney in the Inner Harbor. The last ship floating that fought back during the attack on Pearl Harbor. Also my dad served on the ship during Vietnam.
edit: well not on that ship while literally in Vietnam, but after serving 2 tours he got a better assignment
HunterChemist with a heart of AuRegistered Userregular
edited February 2012
They made them different back then. I think it was built in 1935 or 1936. She's a beast.
Edit: Wait, he may have actually been on that ship in Vietnam. I didn't realize that the ship was part of Operation Market Time to stop the smuggling of troops and supplies from north to south. I really should get him to record his service somewhere.
ceresWhen the last moon is cast over the last star of morningAnd the future has past without even a last desperate warningRegistered User, Moderatormod
He doesn't tell you the schedule until... the DAY you're supposed to be working? How in the world is that supposed to work
I will typically receive the schedule the very evening before that week of work.
And this is still a loose schedule because he could immediately, and has in the past, thrown work on me. I'll finish up a case and be driving home when I will get this phone call:
Boss: Hello?
Me: Hey.
Boss: Yeah, hey! How was work?
Me: Okay.
Boss: Good, good... So I'm gonna need you to go work with Jonathan right now.
Me: I'm on the freeway, seven exits away from where he lives. I'm basically half-way home now.
Boss: Hmm... Seems like you're gonna have to pull around than aren't you?
Me: What?
Boss: Yep, bye.
wow. I've worked with some hardcore Type-A workaholics before, but that sets a new high score
Evidently, one month is the time it takes for my female co-workers to become comfortable with flirting with me at work. The downside is that it is annoying and they take pleasure in bossing me around.
How do you solve the bossy female co-worker problem?
you ask "Are we fuckin'?"
and when they respond in the negative, tell them that is the only leverage they would have for telling you what to do.
0
HunterChemist with a heart of AuRegistered Userregular
Evidently, one month is the time it takes for my female co-workers to become comfortable with flirting with me at work. The downside is that it is annoying and they take pleasure in bossing me around.
How do you solve the bossy female co-worker problem?
you ask "Are we fuckin'?"
and when they respond in the negative, tell them that is the only leverage they would have for telling you what to do.
What if the response was "not yet" or "maybe"?
Then you have to go through a decision process of risk vs reward based on type of work, her level of bossy, the rudeness of titties, and how hittable that ass is.
Evidently, one month is the time it takes for my female co-workers to become comfortable with flirting with me at work. The downside is that it is annoying and they take pleasure in bossing me around.
How do you solve the bossy female co-worker problem?
you ask "Are we fuckin'?"
and when they respond in the negative, tell them that is the only leverage they would have for telling you what to do.
What if the response was "not yet" or "maybe"?
Then you have to go through a decision process of risk vs reward based on type of work, her level of bossy, the rudeness of titties, and how hittable that ass is.
Yeah being a doormat is totally gonna increase your chances of sleeping with them while not ruining your job success at all. Great strategy.
Evidently, one month is the time it takes for my female co-workers to become comfortable with flirting with me at work. The downside is that it is annoying and they take pleasure in bossing me around.
How do you solve the bossy female co-worker problem?
you ask "Are we fuckin'?"
and when they respond in the negative, tell them that is the only leverage they would have for telling you what to do.
What if the response was "not yet" or "maybe"?
Then you have to go through a decision process of risk vs reward based on type of work, her level of bossy, the rudeness of titties, and how hittable that ass is.
Yeah being a doormat is totally gonna increase your chances of sleeping with them while not ruining your job success at all. Great strategy.
Hence decision tree. For a meh to average looking female co-worker, it's not worth the hassle. For say Kate Upton or Mila Kunis...I'd be at least willing to entertain strategies.
Posts
Hey, look. It is just void* because it doesn't know what you WANT.
It wants to make you happy.
It will be anything you want, baby.
Anything.
Programmer jokes all up ins.
Probably not in low level drivers (although you can do it that way), but many modern games are written in C++.
So reinterpret_casts have their uses.
Yeah, big-time games are definitely one of C++'s strongholds, though it seems to be under attack for other native applications.
Just out of curiosity, what is reinterpret_cast legitimately used for?
Reinterpreting bit patterns.
Or this is a good example:
http://stackoverflow.com/questions/573294/when-to-use-reinterpret-cast
One case when reinterpret_cast is necessary is when interfacing with opaque data types. This occurs frequently in vendor APIs over which the programmer has no control. Here's a contrived example where a vendor provides an API for storing and retrieving arbitrary global data:
// vendor.hpp
typedef struct _Opaque * VendorGlobalUserData;
void VendorSetUserData( VendorGlobalUserData p );
VendorGlobalUserData VendorGetUserData();
To use this API, the programmer must cast their data to VendorGlobalUserData and back again. static_cast won't work, one must use reinterpret_cast:
// main.cpp
#include "vendor.hpp"
#include <iostream>
using namespace std;
struct MyUserData {
MyUserData() : m( 42 ) {}
int m;
};
int main() {
MyUserData u;
// store global data
VendorGlobalUserData d1;
// d1 = &u; // compile error
// d1 = static_cast< VendorGlobalUserData >( &u ); // compile error
d1 = reinterpret_cast< VendorGlobalUserData >( &u ); // ok
VendorSetUserData( d1 );
// do other stuff...
// retrieve global data
VendorGlobalUserData d2 = VendorGetUserData();
MyUserData * p = 0;
// p = d2; // compile error
// p = static_cast< MyUserData * >( d2 ); // compile error
p = reinterpret_cast< MyUserData * >( d2 ); // ok
if ( p ) { cout << p->m << endl; }
return 0;
}
Below is a contrived implementation of the sample API:
// vendor.cpp
static VendorGlobalUserData g = 0;
void VendorSetUserData( VendorGlobalUserData p ) { g = p; }
VendorGlobalUserData VendorGetUserData() { return g; }
But it does answer the question of why you couldn't just memcpy it.
Yeah, my first thought of an answer was "The API is shitty and you can't change it" :P
I.e. a lot of projects I've worked on. haha
Boss: Hey, have you checked the schedule for the week?
Me: Not yet, but I checked my email 2 hours ago.
Boss: Well what have you been doing?
Me: Watching the Oscars.
Boss: Oh? Do the Oscars put food on the table?
Me: What?
Boss: Exactly.
I FUCKING DESPISE HIM.
What the hell
This is the same boss who talked down to me about reporting a lot of miles for my bi-weekly report. Never mind the fact that he requested I display how many miles I drove for work or the fact that he set the schedule for such days of work.
Nope, totally my fault that I have to drive 82 miles a day for work.
He doesn't tell you the schedule until... the DAY you're supposed to be working? How in the world is that supposed to work
I will typically receive the schedule the very evening before that week of work.
And this is still a loose schedule because he could immediately, and has in the past, thrown work on me. I'll finish up a case and be driving home when I will get this phone call:
Boss: Hello?
Me: Hey.
Boss: Yeah, hey! How was work?
Me: Okay.
Boss: Good, good... So I'm gonna need you to go work with Jonathan right now.
Me: I'm on the freeway, seven exits away from where he lives. I'm basically half-way home now.
Boss: Hmm... Seems like you're gonna have to pull around than aren't you?
Me: What?
Boss: Yep, bye.
This is a man who mocked a coworker after she complained about one of our teenagers threatening to beat her to death with a steel bat in his hand.
This is a man without rules.
It seems like this is something the state agency that is funding you would probably want to know about.
god damned making puns, sneaking that shit in
They are terrible things.
good to hear!
How do you solve the bossy female co-worker problem?
Stale, Nino and I did some serious damage there once.
Go into the downtown area and get mugged/shot/beat up/car jacked/stabbed/sold drugs/peed on
Not necessarily in that order.
Also, go see the USCGC Taney in the Inner Harbor. The last ship floating that fought back during the attack on Pearl Harbor. Also my dad served on the ship during Vietnam.
edit: well not on that ship while literally in Vietnam, but after serving 2 tours he got a better assignment
Secret Satan 2013 Wishlist
Edit: Wait, he may have actually been on that ship in Vietnam. I didn't realize that the ship was part of Operation Market Time to stop the smuggling of troops and supplies from north to south. I really should get him to record his service somewhere.
Secret Satan 2013 Wishlist
This is what I was thinking. This isn't typical "not good at being a manager" stuff you're describing, it's abuse.
wow. I've worked with some hardcore Type-A workaholics before, but that sets a new high score
you ask "Are we fuckin'?"
and when they respond in the negative, tell them that is the only leverage they would have for telling you what to do.
What if the response was "not yet" or "maybe"?
Then you have to go through a decision process of risk vs reward based on type of work, her level of bossy, the rudeness of titties, and how hittable that ass is.
Secret Satan 2013 Wishlist
Yeah being a doormat is totally gonna increase your chances of sleeping with them while not ruining your job success at all. Great strategy.
Hence decision tree. For a meh to average looking female co-worker, it's not worth the hassle. For say Kate Upton or Mila Kunis...I'd be at least willing to entertain strategies.
It's not a doormat, it's a battle plan.
Secret Satan 2013 Wishlist