you misunderstood. I will gladly show example code I've written, but the point was show Open Source projects you've worked on. I always keep source I worked on.
If I happen to think of it as I'm writing the code, fine. But my point was GET IN DONE, OPTIMIZE LATER. As long as you are separating things into functions and objects, you can easily optimize a section of code later. If I do this task less than five times in the program and it takes less than five seconds to execute, more than one minute thinking about optimization of the code before I start writing the function is a WASTE OF TIME.
BS... maybe If I'm being hired to work at a company that releases Open Source software. I agree with the poster, I don't give a code. Period. It's my work, someone wants code, they pay for it and I don't feel one smidgeon of guilt.
IMHO, the "proper" answers below given to the missing number question wouldn't be the one I'd give (or want to hear).
My answer:
"I'd do it the simplest, quickest way to code that achieved the desired result. Offhand, I'd just write a damn loop from 1 to 10, compare and see if the current index is in the list, and if not, I'd have my answer. If at some point in the future, the application had speed problems and a code analysis showed this loop near the top of time wasters, then and only then would I think about ways to improve my code. Too many programmers get stuck on doing things perfectly and fritter away countless hours on 'great' designs so their code will be 'maintainable and scalable' only to find that their code is long retired before it gets too slow or the business rules have changed SO drastically it is worthless."
I like to determine if they geniunely LIKE computers and using them. Some people don't -- they just got inthis for the money. I ask about there computer at home. I don't care if it's old or not, they ought to tell me SOMETHING about it, preferably something like a harry IRQ conflict they had to solve or something.
I want to ask them something about solving a particular problem (in general terms).. in one case we're hiring a VB programmer to take over an existing program. This program is pretty large LOTS of forms and.dlls. I explained the project and asked if they would have any concerns. The ones who talked about being concerned with memory useage/leaks got my attention. Then I asked how they would solve it. I liked one guy who rattled off four or five good tips (maybe split up the program into multiple versions for the different user types... switch from MDI to SDI.. make sure to clean up references to.dlls by expliciting clearing references -- VB is supposed to do this for you, but is notoriously sloppy for doing so).
That's a good example of an answer. Bad example: One guy's response was: Well, the install probably wouldn't fit on a floppy, and you'd probably have to use a CD-ROM... I dunno when this guy last used VB because freakin' hello world ain't fitting on a floppy in VB by the time the installer packs all the GD runtime dlls on it, but even so: Who cares? CDr's cost essentially nothing. That's not the issue. Anybody who knows anything about the industry knows that distribution is essentially free. You're obviously clueless. next.
Royale has a $1 blackjack table (at least the last time I was there). Usually pretty crowded. But they have several $3 tables (which is two deck, slightly better odds). Plus, it backs up to the bar, fullfilling both my wife's requirements. Cheap gambling, quick drinks.
Hmmm, when I played Hearts a while back, had the Queen of spades left in my hand as the only spade and had counted 11 other spades played and hadn't seen the Ace of spades, so I led it and that player was forced to play his Ace and eat the queen, was I cheating?
(P.S. -- is there any other feeling so sweet in cards as doing the above? Maybe winning a big hold 'em tournament, but not much)
ummmm. no. The "odds" bet has Zero edge. Nada. You get paid based on the odds of the event happening. For instance Odds on a point of ten (this is behind the pass line) pays $2 for every $1 wagered. This is because there are six ways to lose ( six ways to roll 7: 1-6, 6-1, 5-2, 2-5, 4-3, 3-4) and only three ways to win ( 5-5, 6-4, 4-6) 6:3 = 2:1. This is, to my knowledge, the ONLY bet in a casino which has no house edge (in other words, in the long run, the casino makes no money from it. That's why you usually don't get comp credit for odds bets)
BUT, to be able to place that bet, you have to place a pass bet, which DOES have a small house edge (1.414%). This is why casino's limit the size of the odds bets to some multiple of the size of the pass line (or don't pass line) bet. When you see an advertisement for 3x craps, that means you can place 3 times your pass line bet.
Want some good, cheap entertainment while gambling? Forget slots. Go play craps. Ask the dealer for help. Just play the pass line for the minimum (usually $5, but you can find cheaper in downtown Vegas) and the max odds behind it unless it's out of your $$$ range. Cheer like a mad heyena, drink a lot, and under no circumstances say "seven" out loud. Craps players are a superstituious lot.
there is a deal in the Dallas area for hockey on HDTV. all I can say is I WANT! I saw a demo of it and OMG it was beautiful. They show the whole rink, so you can see the line changes, pick up the puck eaiser, etc. It rocked!
good. Maybe it'll stop this ridiculous "drug war" once and for all and spend the money on something else. Oh, and stop giving up rights and liberty left and right. Oh wait, I'm being rational and honest and admitting we'll never "win" this war and so hoping for a quicker defeat. I'm UnAmerican (I'd say unUSian, but,as noted, I don't give a shit).
Your argument makes no sense... I have a question, where is this "America?" I see a North American continet, South American continent, that's it. I also see a United States of America. none of those countries in the continents you mentioned have "America" in the name. All of those countries came later, correct? That's why they didn't put America in their names, right? If people in the U.S. called themselves "Mexicans" or "Columbians", that would be ridiculous. If Brazil was called the "United States of Southern America", then maybe, MAYBE you would have an argument, because we would have people from two countries who could be called America.
I'd say that the vast, vast majority of the world will stick with "Americans". If I walked around the office, no one would no what a "USian" is. Your chances of forcing this name on Americans are, slim, slim and none.
as others pointed out below, you should separate the parts of your service (or whatever) that need to run with system privs and have them talk to a separate GUI app (which isn't running with system privs).
The real problem is third-party apps. It doesn't surprise me that there are a TON which don't do this. There are a ton of things which just don't function when run under anything other than an account in the local admin group). I think this is a holdover from the 9x days. Hopefully, these problems are getting fewer, but I had a scanner which simply wouldn't work with a non-admin account. Tech support thought I was nuts "I don't want to do that! why not?".
the "culture" on NT/2k/xp is you are running under admin. The "culture" of unix is: Don't run as root! I would prefer to not have my usual account in the admin group and instead use a "run as" shortcut when I need it (or log in under the account). Everytime I've done this, I've gotten tired of handling all the little crap permissions and just switched my account back.).
so, enlighten me.... I thought it was the United Kingdom? Or was that the full name? United Kindgom of England which is now Great Britain/Northern Ireland? Sorry, geography illiterate.
Ok, this is completely offtopic, but I've had it with freaking USian... It's the United States of America I'm terribly sorry that later, there came to be different countries in areas that later came to be known as North America, Central America and South America, but those terms, correct me if I am wrong, came later. Even if they didn't, it's our country, it is the only one with "America" in the name, and calling ourselves after the name of our country is, it would seem, our right. Otherwise I will maintain that the "English" stop calling themselves that, because there are many countries that speak English.
I worked at a place that developed server software. We had to have so many devleopment servers ( for testing, development, etc), that we didn't bother getting keyboards mice. Many were in racks with switchable KVM, but many weren't. They just all ran VNC servers. I had about five under my desk... in two subdomains. worked great. A hell of a lot cheaper..
holy shit. those four things are individually, all deal killers for me..
Yeah, I mean, no real geek uses Visual Studio right?
you misunderstood. I will gladly show example code I've written, but the point was show Open Source projects you've worked on. I always keep source I worked on.
If I happen to think of it as I'm writing the code, fine. But my point was GET IN DONE, OPTIMIZE LATER. As long as you are separating things into functions and objects, you can easily optimize a section of code later. If I do this task less than five times in the program and it takes less than five seconds to execute, more than one minute thinking about optimization of the code before I start writing the function is a WASTE OF TIME.
BS... maybe If I'm being hired to work at a company that releases Open Source software. I agree with the poster, I don't give a code. Period. It's my work, someone wants code, they pay for it and I don't feel one smidgeon of guilt.
IMHO, the "proper" answers below given to the missing number question wouldn't be the one I'd give (or want to hear).
My answer:
"I'd do it the simplest, quickest way to code that achieved the desired result. Offhand, I'd just write a damn loop from 1 to 10, compare and see if the current index is in the list, and if not, I'd have my answer. If at some point in the future, the application had speed problems and a code analysis showed this loop near the top of time wasters, then and only then would I think about ways to improve my code. Too many programmers get stuck on doing things perfectly and fritter away countless hours on 'great' designs so their code will be 'maintainable and scalable' only to find that their code is long retired before it gets too slow or the business rules have changed SO drastically it is worthless."
helped out our PM with interviews...
.dlls. I explained the project and asked if they would have any concerns. The ones who talked about being concerned with memory useage/leaks got my attention. Then I asked how they would solve it. I liked one guy who rattled off four or five good tips (maybe split up the program into multiple versions for the different user types... switch from MDI to SDI.. make sure to clean up references to .dlls by expliciting clearing references -- VB is supposed to do this for you, but is notoriously sloppy for doing so).
I like to determine if they geniunely LIKE computers and using them. Some people don't -- they just got inthis for the money. I ask about there computer at home. I don't care if it's old or not, they ought to tell me SOMETHING about it, preferably something like a harry IRQ conflict they had to solve or something.
I want to ask them something about solving a particular problem (in general terms).. in one case we're hiring a VB programmer to take over an existing program. This program is pretty large LOTS of forms and
That's a good example of an answer. Bad example: One guy's response was: Well, the install probably wouldn't fit on a floppy, and you'd probably have to use a CD-ROM... I dunno when this guy last used VB because freakin' hello world ain't fitting on a floppy in VB by the time the installer packs all the GD runtime dlls on it, but even so: Who cares? CDr's cost essentially nothing. That's not the issue. Anybody who knows anything about the industry knows that distribution is essentially free. You're obviously clueless. next.
let me tell ya something, the government contract selection process period (IT or not) is heavily politicized.
Pay for things? but I want it all for free/Free!
and somehow, I want to make money for doing it for free/Free.
u mmmm... because I'm not 22 anymore?
Royale has a $1 blackjack table (at least the last time I was there). Usually pretty crowded. But they have several $3 tables (which is two deck, slightly better odds). Plus, it backs up to the bar, fullfilling both my wife's requirements. Cheap gambling, quick drinks.
Hmmm, when I played Hearts a while back, had the Queen of spades left in my hand as the only spade and had counted 11 other spades played and hadn't seen the Ace of spades, so I led it and that player was forced to play his Ace and eat the queen, was I cheating?
(P.S. -- is there any other feeling so sweet in cards as doing the above? Maybe winning a big hold 'em tournament, but not much)
ummmm. no. The "odds" bet has Zero edge. Nada. You get paid based on the odds of the event happening. For instance Odds on a point of ten (this is behind the pass line) pays $2 for every $1 wagered. This is because there are six ways to lose ( six ways to roll 7: 1-6, 6-1, 5-2, 2-5, 4-3, 3-4) and only three ways to win ( 5-5, 6-4, 4-6) 6:3 = 2:1. This is, to my knowledge, the ONLY bet in a casino which has no house edge (in other words, in the long run, the casino makes no money from it. That's why you usually don't get comp credit for odds bets)
BUT, to be able to place that bet, you have to place a pass bet, which DOES have a small house edge (1.414%). This is why casino's limit the size of the odds bets to some multiple of the size of the pass line (or don't pass line) bet. When you see an advertisement for 3x craps, that means you can place 3 times your pass line bet.
Want some good, cheap entertainment while gambling? Forget slots. Go play craps. Ask the dealer for help. Just play the pass line for the minimum (usually $5, but you can find cheaper in downtown Vegas) and the max odds behind it unless it's out of your $$$ range. Cheer like a mad heyena, drink a lot, and under no circumstances say "seven" out loud. Craps players are a superstituious lot.
Crap!, I've got mod privs right now, but I can't find my -1, Fawning!
there is a deal in the Dallas area for hockey on HDTV. all I can say is I WANT! I saw a demo of it and OMG it was beautiful. They show the whole rink, so you can see the line changes, pick up the puck eaiser, etc. It rocked!
good. Maybe it'll stop this ridiculous "drug war" once and for all and spend the money on something else. Oh, and stop giving up rights and liberty left and right. Oh wait, I'm being rational and honest and admitting we'll never "win" this war and so hoping for a quicker defeat. I'm UnAmerican (I'd say unUSian, but ,as noted, I don't give a shit).
Your argument makes no sense... I have a question, where is this "America?" I see a North American continet, South American continent, that's it. I also see a United States of America. none of those countries in the continents you mentioned have "America" in the name. All of those countries came later, correct? That's why they didn't put America in their names, right? If people in the U.S. called themselves "Mexicans" or "Columbians", that would be ridiculous. If Brazil was called the "United States of Southern America", then maybe, MAYBE you would have an argument, because we would have people from two countries who could be called America.
I'd say that the vast, vast majority of the world will stick with "Americans". If I walked around the office, no one would no what a "USian" is. Your chances of forcing this name on Americans are, slim, slim and none.
as others pointed out below, you should separate the parts of your service (or whatever) that need to run with system privs and have them talk to a separate GUI app (which isn't running with system privs).
The real problem is third-party apps. It doesn't surprise me that there are a TON which don't do this. There are a ton of things which just don't function when run under anything other than an account in the local admin group). I think this is a holdover from the 9x days. Hopefully, these problems are getting fewer, but I had a scanner which simply wouldn't work with a non-admin account. Tech support thought I was nuts "I don't want to do that! why not?".
the "culture" on NT/2k/xp is you are running under admin. The "culture" of unix is: Don't run as root! I would prefer to not have my usual account in the admin group and instead use a "run as" shortcut when I need it (or log in under the account). Everytime I've done this, I've gotten tired of handling all the little crap permissions and just switched my account back.).
so, enlighten me.... I thought it was the United Kingdom? Or was that the full name? United Kindgom of England which is now Great Britain/Northern Ireland? Sorry, geography illiterate.
Ok, this is completely offtopic, but I've had it with freaking USian... It's the United States of America I'm terribly sorry that later, there came to be different countries in areas that later came to be known as North America, Central America and South America, but those terms, correct me if I am wrong, came later. Even if they didn't, it's our country, it is the only one with "America" in the name, and calling ourselves after the name of our country is, it would seem, our right. Otherwise I will maintain that the "English" stop calling themselves that, because there are many countries that speak English.
Geez. I meant ISN'T ready on time. I need more cofee. Back in a second ....
you're kidding right? When the financial report is ready on time causes FAR more uproar, at least among upper management of a public company.
God save us married geeks for Emeril... at least my wife's cooking has improved, but I can't stand that f*ck.
funny thing is I worked at a company that sold a PBX that did this. Now bankrupt....
I worked at a place that developed server software. We had to have so many devleopment servers ( for testing, development, etc), that we didn't bother getting keyboards mice. Many were in racks with switchable KVM, but many weren't. They just all ran VNC servers. I had about five under my desk... in two subdomains. worked great. A hell of a lot cheaper..