that doesn't work #include int X() {
int x=0;
return x++; } int Y() {
int y=0;
return (y++); } int main(int argc, char *argv[]) {
int x = X();
int y = Y();
printf("x=%d y=%d",x,y);
return 0; }
i see this alot in text book examples of writing C code. i never understood it other then the fact that using parens () forces the evaluation of what is in them before continuing with the rest of the statement. however i could have sworn that return had the lowest priority of all operators.
I ask because 1. i am not a C/C++ expert (i do program in it alot) and 2. i've very interested
Q: can anyone provide me with sample code that will return one result with using parens () and a different result without the parens ()?
ex.
return X vs. return (X)
can someone give me an X for which
return X != return (X)
Re:J2EE security? should be just Java 2 security
on
J2EE Security
·
· Score: 1
i never liked the idea of "single sign on" it reminds me too much of the US Social Security Number. once you have it you got everything. how exactly do you protect yourself against someone that figures out the single sign on? how do you prove you are who you are if it's lost or stolen?
in the case of identity theft. is level 2 ID theft them finding out your SSN and calling and getting a new SSN saying you are the ID theft? (kinda like a reverse ID theft?)
thank you but no thank you.
J2EE security? should be just Java 2 security
on
J2EE Security
·
· Score: 4, Interesting
i find it a little funny how this book only contains three chapters on actual J2EE security.
9. Web Application Security 10. EJB Security 11. Web Service Security
Seems more like this is Security book for all Java 2 folks with J2EE tagged on at end. Ohh let us not forget that J2EE is a big buzzword that will most likely increase sales an extra 10-15% versus naming the book "Java Security"
i'll take the karma hit to state my opinion. Name the book on what it is about not what will generate a large amount of sales.
ohh how i wish this were true. then maybe when it says the movie starts at 5:30 i know i should actually try to get there on time. in my theater they started RotK 20 minutes late with more commercials and trailers then ever. actually let me restate that. the listed time was 5:30. previews/trailers/commercials all started at 5:50. if i wanted commercials i'd watch TV.
your right. it isn't anonymous per say. but if both you and i were nodes in this system then your TCP/IP logs and ISP logs would show that i downloaded something from you or vice versa.
however i may have been a stopping point for the data in a similiar way that proxy servers are a stopping point for highly requested html pages. so that can't say that "I downloaded it" because i may have simply just been relaying the request
i would agree with you for the people that say gain 1 million gold in everquest and sell it on ebay. the article doesn't mention weather he was interested in selling or not or if sold items at all. in which case fine tax him! however he wasn't going after what the items are "worth" in real money he was going after basically a refund. he wasn't even asking for money for his time he spent (Which i believe a lot of americans would do). again the article doesn't mention these things. all it says is he spent approx. $1200 USD on playing the game and he wanted $1200 USD back.
However if you are nice enough to live in the US then the tax law does allow you to make money off your hobbies however i believe it is limited to $500
Verizon had argued at its trial that Internet providers should only be compelled to respond to such subpoenas when pirated music is stored on computers that providers directly control, such as a Web site, rather than on a subscriber's personal computer.
Ok so verizon is arguing that it isn't responsible for what data the users of their service send? that they should only be responsible for data on their servers?
this makes perfect sense to me if i'm reading this right. data is data how is verizon suppose to know what the data is other then the fact that it run on port X and port X is known to be the default port for kazaa.
In his ruling, the trial judge wrote that Verizon's interpretation "makes little sense from a policy standpoint," and warned that it "would create a huge loophole in Congress' effort to prevent copyright infringement on the Internet."
if i was correct before why would this seem silly to the judge? loophole? how is it a loophole? does the USPS scan every mail going through it's buildings for copies of music? it seems to me that kazaa was just speeding up the process.
Ok other then the fact that most ISP block port 80 and 21 (among other ports) why doesn't these P2P services just use a well known port to transfer files? then in order to shutdown P2P they would have to shutdown the WWW. if i download a song off a computer of port 80 how would verizon/any ISP know it was a copyrighted song?
why not just selectively take experience off your resume. if they ask you for a reason why you were unemployeed during time X to Y tell them that your wife was the principal "bread" winner and both your salaries combined could not pay for day care so you quit to become "Mr. Mom" or make some other stuff up. chances are if have a job from 7 years ago that no one will be there to remember why you left. yes this might lead to lower pay but lower pay is better then no pay
grub are you o.k.? So grub are you o.k.? Are you o.k. grub? grub are you o.k.? So grub are you o.k.? Are you o.k. grub? grub are you o.k.? So grub are you o.k.? Are you o.k. grub? grub are you o.k.? So grub are you o.k.? Are you o.k. grub?
grub are you o.k. will you tell us that you're o.k.?
you know when i went to gdconf i attended a session on building video games off of movie/tv IP and the person who ran the show often complained that the company they purchased the IP from was always cutting ideas/game concepts/money/time from the video game in the interest in getting it to market before the IP wasn't "interesting" to people anymore.
i only say this because often the game maker wants to actually make a cool and interesting game but is cut off by the publisher or IP owner. as far as movie/tv related games go rent them from blockbuster if they suck you wasted $5 if they're cool go out and buy them.
1. final fantasy is a PS title 2. GTA Vice City fits in under 2 PC CD ROMs AFAIK given most CD are 700 or 1.4 GB 1.5GB CD that gamecube has 3. games are getting close enough to need multiple DVDs!!! FUCK! Final Fantasy XI on PS2 comes pre-installed on the HD why?
a. people don't want to install games.
b. it's too big. it took 5 PC CD ROMs and 2.5 hrs of updates on cable/dsl
so yes multiple disks are "difficult" for developers to handle but they've done it before.
since when do we need to be in a race with them over building a robot?
or better yet. why do we need to be in a race with anyone at all?
ohh yeah that space race was way freaking cool. we got to the moon (supposedly). although a great accomplishment, how did that better our society?
why can't you just do the nice thing and say "Good Job guys keep it up!" instead of "crap we better get our arses in gear before the japs send their robots to control us"
Not far off topic (at least i hope) but what about companies that have a presense in other countries? like Sony? can Sony.jp spam you and get away with it?
obviously anyone can move their spaming practices off shore to where they don't care but what about those "legit" companies?
what is most likely to happen is that IBM and all it's people (witnesses, experts, lawyers) will sign NDA and then the it will be arguments between the experts. typically in say a murder case the judge may or may not know a lot about the method the person was killed by. that is why they have experts as witnesses.
it is then the job of IBM to show that the SCO experts are talking SMACK. and vice versa. think about it. code will be shown but it's not like there will be a C/C++ training session for the jury. they'll happily sleep through that stuff.
their are q3a tourneys. UT tourneys. i didn't RTFA but over here it seems you make money off of game when you have skill. of course your skill doesn't matter when your title is "Game Tester"
some of what i believe is behind this Unix/Windows cultural divide is the elitist attitude. you have to be elite to use unix which just isn't true. as i've seen other people post and i agree with Apple put a pretty picture in front of unix and users aren't complaining why can't other people?
i personnally don't care what OS i'm using. at home i'm using my computer for video games and sound engineering, so i have 1 up2date windows box for games, and a mac for sound engineering. Why'd i get a mac? because while i'm in the middle of recording a band session i can't turn to the band and say "sorry guys computer crashed i lost the last 3 hours of your work" if windows was stable enough i would be using that. At work is another story though. i write stupid docs and java code so they put me in front of a windows machine. i personnally don't care. although i worry less about my mac then my windows machine.
My family recently decided to get DSL first thing i did was lock that computer down. i almost went so far as to remove IE with some ie removal tool (XPlite for example) but then i realize this would cause more calls to me then it would solve.
i also find that people want a brand name. i was asked to "buy" my own machine for work and i went to one of the lesser known computer builders and the price difference was several hundred dollars compared to what they wanted me to buy from Dell. Take a guess what's on my desk.
A lot of windows users don't care. if you gave them a mac as their first computer they wouldn't switch because they wouldn't know. the example i use alot is "how many people continue to buy automatic tranny cars over stick shift?" neither one is better or worse just a different interface but sticks are slowly getting phased out.
a lot of people (myself included) need to stop saying "windows is for morons" or "windows is less secure use unix" and start to change our "marketing focus" to something more like "building a more structured and secure tomorrow" like it or not "Where do you want to go today" sold computers, it sold windows and increased his market share. unix needs a "where do you want to go today" why? because no normal computer gives a crap about where the source came from.
BTW side story i was on a project where the dev team used exclusively solaris boxes. i had to write a code review document. with no MS office on my computer i wrote it in the other thing available StarOffice. i got hounded for several months by a stupid Q&A team because they couldn't find evidence that this "StarOffice Product" even existed. like just goto google and type "Staroffice" in the freaking search box.
Again just to reiterate my point. people don't care about which OS they run. they want their computer to be like their cars. "if i got someplace else and sit in a car i should be able to drive it". We need to change the marketing strategy of UNIX.
mod me whatever you like but some of you will think i'm flaming which i'm not. some of you will agree with me. i've said all i wanted to say. thank you for reading
why would the FBI/NSA/CIA/any government group need a database?
with the patriot act they can just grab the commercial data without provication. let the private industry pay for your DB storage and Admin cost. so if you think about it all those other databases combined are the FBI/NSA/CIA database.
that doesn't work
#include
int X()
{
int x=0;
return x++;
}
int Y()
{
int y=0;
return (y++);
}
int main(int argc, char *argv[])
{
int x = X();
int y = Y();
printf("x=%d y=%d",x,y);
return 0;
}
thank you.
i see this alot in text book examples of writing C code. i never understood it other then the fact that using parens () forces the evaluation of what is in them before continuing with the rest of the statement. however i could have sworn that return had the lowest priority of all operators.
I ask because 1. i am not a C/C++ expert (i do program in it alot) and 2. i've very interested
Q: can anyone provide me with sample code that will return one result with using parens () and a different result without the parens ()?
ex.
return X
vs.
return (X)
can someone give me an X for which
return X != return (X)
i never liked the idea of "single sign on" it reminds me too much of the US Social Security Number. once you have it you got everything. how exactly do you protect yourself against someone that figures out the single sign on? how do you prove you are who you are if it's lost or stolen?
in the case of identity theft. is level 2 ID theft them finding out your SSN and calling and getting a new SSN saying you are the ID theft? (kinda like a reverse ID theft?)
thank you but no thank you.
i find it a little funny how this book only contains three chapters on actual J2EE security.
9. Web Application Security
10. EJB Security
11. Web Service Security
Seems more like this is Security book for all Java 2 folks with J2EE tagged on at end. Ohh let us not forget that J2EE is a big buzzword that will most likely increase sales an extra 10-15% versus naming the book "Java Security"
i'll take the karma hit to state my opinion. Name the book on what it is about not what will generate a large amount of sales.
Because "TRAILER" means after the movie.
ohh how i wish this were true. then maybe when it says the movie starts at 5:30 i know i should actually try to get there on time. in my theater they started RotK 20 minutes late with more commercials and trailers then ever. actually let me restate that. the listed time was 5:30. previews/trailers/commercials all started at 5:50. if i wanted commercials i'd watch TV.
your right. it isn't anonymous per say. but if both you and i were nodes in this system then your TCP/IP logs and ISP logs would show that i downloaded something from you or vice versa.
however i may have been a stopping point for the data in a similiar way that proxy servers are a stopping point for highly requested html pages. so that can't say that "I downloaded it" because i may have simply just been relaying the request
i would agree with you for the people that say gain 1 million gold in everquest and sell it on ebay. the article doesn't mention weather he was interested in selling or not or if sold items at all. in which case fine tax him! however he wasn't going after what the items are "worth" in real money he was going after basically a refund. he wasn't even asking for money for his time he spent (Which i believe a lot of americans would do). again the article doesn't mention these things. all it says is he spent approx. $1200 USD on playing the game and he wanted $1200 USD back.
However if you are nice enough to live in the US then the tax law does allow you to make money off your hobbies however i believe it is limited to $500
Verizon had argued at its trial that Internet providers should only be compelled to respond to such subpoenas when pirated music is stored on computers that providers directly control, such as a Web site, rather than on a subscriber's personal computer.
Ok so verizon is arguing that it isn't responsible for what data the users of their service send? that they should only be responsible for data on their servers?
this makes perfect sense to me if i'm reading this right. data is data how is verizon suppose to know what the data is other then the fact that it run on port X and port X is known to be the default port for kazaa.
In his ruling, the trial judge wrote that Verizon's interpretation "makes little sense from a policy standpoint," and warned that it "would create a huge loophole in Congress' effort to prevent copyright infringement on the Internet."
if i was correct before why would this seem silly to the judge? loophole? how is it a loophole? does the USPS scan every mail going through it's buildings for copies of music? it seems to me that kazaa was just speeding up the process.
Ok other then the fact that most ISP block port 80 and 21 (among other ports) why doesn't these P2P services just use a well known port to transfer files? then in order to shutdown P2P they would have to shutdown the WWW. if i download a song off a computer of port 80 how would verizon/any ISP know it was a copyrighted song?
why not just selectively take experience off your resume. if they ask you for a reason why you were unemployeed during time X to Y tell them that your wife was the principal "bread" winner and both your salaries combined could not pay for day care so you quit to become "Mr. Mom" or make some other stuff up. chances are if have a job from 7 years ago that no one will be there to remember why you left. yes this might lead to lower pay but lower pay is better then no pay
will that make me a criminal one day?
grub
are you o.k.? So
grub
are you o.k.? Are you o.k.
grub?
grub
are you o.k.? So
grub
are you o.k.? Are you o.k.
grub?
grub
are you o.k.? So
grub
are you o.k.? Are you o.k.
grub?
grub
are you o.k.? So
grub
are you o.k.? Are you o.k.
grub?
grub
are you o.k.
will you tell us that you're o.k.?
You've been a
you've been a smooth criminal.
you know when i went to gdconf i attended a session on building video games off of movie/tv IP and the person who ran the show often complained that the company they purchased the IP from was always cutting ideas/game concepts/money/time from the video game in the interest in getting it to market before the IP wasn't "interesting" to people anymore.
i only say this because often the game maker wants to actually make a cool and interesting game but is cut off by the publisher or IP owner. as far as movie/tv related games go rent them from blockbuster if they suck you wasted $5 if they're cool go out and buy them.
although i agree with you.
1. final fantasy is a PS title
2. GTA Vice City fits in under 2 PC CD ROMs AFAIK given most CD are 700 or 1.4 GB 1.5GB CD that gamecube has
3. games are getting close enough to need multiple DVDs!!! FUCK! Final Fantasy XI on PS2 comes pre-installed on the HD why?
a. people don't want to install games.
b. it's too big. it took 5 PC CD ROMs and 2.5 hrs of updates on cable/dsl
so yes multiple disks are "difficult" for developers to handle but they've done it before.
Wrong, humans are about survival.
correct we must survive the onslaught of japanese robots attacking the US.
can't we just invade them saying these robots are WMD? (danger will robinson sarcasm detected)
since when do we need to be in a race with them over building a robot?
or better yet. why do we need to be in a race with anyone at all?
ohh yeah that space race was way freaking cool. we got to the moon (supposedly). although a great accomplishment, how did that better our society?
why can't you just do the nice thing and say "Good Job guys keep it up!" instead of "crap we better get our arses in gear before the japs send their robots to control us"
I think G. W. Bush would have the "prior art" of that one.
i give this game a week before someone cracks it and figures out where the WMD are.
what actually would be funny is if someone did finish the game and put the FAQ here
if you RTFA you should see that one key system that certain local gov employees need to use requires MS Office.
Not far off topic (at least i hope) but what about companies that have a presense in other countries? like Sony? can Sony.jp spam you and get away with it?
obviously anyone can move their spaming practices off shore to where they don't care but what about those "legit" companies?
this wont happen.
what is most likely to happen is that IBM and all it's people (witnesses, experts, lawyers) will sign NDA and then the it will be arguments between the experts. typically in say a murder case the judge may or may not know a lot about the method the person was killed by. that is why they have experts as witnesses.
it is then the job of IBM to show that the SCO experts are talking SMACK. and vice versa. think about it. code will be shown but it's not like there will be a C/C++ training session for the jury. they'll happily sleep through that stuff.
their are q3a tourneys. UT tourneys. i didn't RTFA but over here it seems you make money off of game when you have skill. of course your skill doesn't matter when your title is "Game Tester"
some of what i believe is behind this Unix/Windows cultural divide is the elitist attitude. you have to be elite to use unix which just isn't true. as i've seen other people post and i agree with Apple put a pretty picture in front of unix and users aren't complaining why can't other people?
i personnally don't care what OS i'm using. at home i'm using my computer for video games and sound engineering, so i have 1 up2date windows box for games, and a mac for sound engineering. Why'd i get a mac? because while i'm in the middle of recording a band session i can't turn to the band and say "sorry guys computer crashed i lost the last 3 hours of your work" if windows was stable enough i would be using that. At work is another story though. i write stupid docs and java code so they put me in front of a windows machine. i personnally don't care. although i worry less about my mac then my windows machine.
My family recently decided to get DSL first thing i did was lock that computer down. i almost went so far as to remove IE with some ie removal tool (XPlite for example) but then i realize this would cause more calls to me then it would solve.
i also find that people want a brand name. i was asked to "buy" my own machine for work and i went to one of the lesser known computer builders and the price difference was several hundred dollars compared to what they wanted me to buy from Dell. Take a guess what's on my desk.
A lot of windows users don't care. if you gave them a mac as their first computer they wouldn't switch because they wouldn't know. the example i use alot is "how many people continue to buy automatic tranny cars over stick shift?" neither one is better or worse just a different interface but sticks are slowly getting phased out.
a lot of people (myself included) need to stop saying "windows is for morons" or "windows is less secure use unix" and start to change our "marketing focus" to something more like "building a more structured and secure tomorrow" like it or not "Where do you want to go today" sold computers, it sold windows and increased his market share. unix needs a "where do you want to go today" why? because no normal computer gives a crap about where the source came from.
BTW side story i was on a project where the dev team used exclusively solaris boxes. i had to write a code review document. with no MS office on my computer i wrote it in the other thing available StarOffice. i got hounded for several months by a stupid Q&A team because they couldn't find evidence that this "StarOffice Product" even existed. like just goto google and type "Staroffice" in the freaking search box.
Again just to reiterate my point. people don't care about which OS they run. they want their computer to be like their cars. "if i got someplace else and sit in a car i should be able to drive it". We need to change the marketing strategy of UNIX.
mod me whatever you like but some of you will think i'm flaming which i'm not. some of you will agree with me. i've said all i wanted to say. thank you for reading
Where is the origionality at?
ORIGINALITY went the way of spellchecker.
gone forever never to return again
why would the FBI/NSA/CIA/any government group need a database?
with the patriot act they can just grab the commercial data without provication. let the private industry pay for your DB storage and Admin cost. so if you think about it all those other databases combined are the FBI/NSA/CIA database.
I thought that 90% of the world's data was irretrievably trapped in IMS?
looks like you got a typo in your question there. let me fix it for you.
I thought that 90% of the world's data was irretrievably trapped in MS?