gnasher729
Mar 30, 02:20 AM
1. Why "return 99;"? Doesn't make any sense at all. First, only 0, EXIT_SUCCESS and EXIT_FAILURE have defined meaning. Second, exiting when the input is "q" is the normal successful exit route, so you should return 0 or EXIT_SUCCESS. Or better to use "break;" in case things are added after the loop.
2. Why is this a while loop? You check the same condition at the end of the loop as inside the loop, which won't work. for (;;) is the common idiom for this.
3. It won't work for the second star because you modify path.
4. A safer and much more readable way to concatenate strings and other text would be calling snprintf.
5. system () is dangerous. What happens if I enter this as a star name:
'; rm -r /;
2. Why is this a while loop? You check the same condition at the end of the loop as inside the loop, which won't work. for (;;) is the common idiom for this.
3. It won't work for the second star because you modify path.
4. A safer and much more readable way to concatenate strings and other text would be calling snprintf.
5. system () is dangerous. What happens if I enter this as a star name:
'; rm -r /;
nickweston
Jul 20, 11:16 AM
what a whiny bunch of spineless, humorless co-dependent people we've become in America.
If you know history, you know he was talking about Stalin & others who "erased" generals & others who were ousted or assassinated. They then airbrushed them out of all photos.
So I guess that means that the Steinbrenner was Hitler and McCarver approved of the death camps right?
I thought it was actually funny and harmless. But I guess at every moment, someone has to be offended or hurt.
What's happend to this country?!!!! A bunch of 7 year olds running for mommy.
Oh, and Macfan-please go somewhere else with your hysterics.
If you know history, you know he was talking about Stalin & others who "erased" generals & others who were ousted or assassinated. They then airbrushed them out of all photos.
So I guess that means that the Steinbrenner was Hitler and McCarver approved of the death camps right?
I thought it was actually funny and harmless. But I guess at every moment, someone has to be offended or hurt.
What's happend to this country?!!!! A bunch of 7 year olds running for mommy.
Oh, and Macfan-please go somewhere else with your hysterics.
Roessnakhan
May 5, 02:10 PM
Many signs point to one not coming out next month, so don't waste time worrying about it being outdated in a month. A few months? Maybe.
Dagless
Apr 5, 07:09 PM
:confused: Resident Evil 4 isn't a rail shooter.
RE4 is one of my favorite games. I'm not sure I would buy it again just to use Wiimotes, they would have to add something extra.
The first bit was for RE4. The 2nd was for REWii.
RE4 is one of my favorite games. I'm not sure I would buy it again just to use Wiimotes, they would have to add something extra.
The first bit was for RE4. The 2nd was for REWii.
more...
okwhatev
Jul 11, 08:14 AM
can anyone report from the grove?
MacBandit
Jul 2, 03:56 AM
Originally posted by iJon
its coming, its called expose.
iJon
Actually the command exists currently. Click on your desktop or select the finder then hit 'option-apple-h'. This will hide everything but the finder. You can actually use this in any program to hide everything except your front most program.
Unfortunately you have to go to the application or finder menu and choose show all at the bottom to bring them all back if you want to. There isn't a shortcut for that.
its coming, its called expose.
iJon
Actually the command exists currently. Click on your desktop or select the finder then hit 'option-apple-h'. This will hide everything but the finder. You can actually use this in any program to hide everything except your front most program.
Unfortunately you have to go to the application or finder menu and choose show all at the bottom to bring them all back if you want to. There isn't a shortcut for that.
more...
satcomer
May 5, 07:53 PM
Do other hard drives (even your internal hard drive) show up on your desktop?
Diode
May 4, 02:42 PM
Unfortunately this will never happen :(
Shouldn't take too long to port over to redsn0w. Does anyone remember how long it was last time? For 4.3.2? I think it was like 7-10 days
The only person with the source is I0n1c and he was out of the country last update so it took him some time to compile new binaries for the release (if needed).
This could also be why it's not patched yet - with no access to the source it's harder for Apple to reverse engineer the exploit and discover what they are doing. With a need to get the update out so fast they probably didn't bother. I expect it to be in the next patch though.....
Shouldn't take too long to port over to redsn0w. Does anyone remember how long it was last time? For 4.3.2? I think it was like 7-10 days
The only person with the source is I0n1c and he was out of the country last update so it took him some time to compile new binaries for the release (if needed).
This could also be why it's not patched yet - with no access to the source it's harder for Apple to reverse engineer the exploit and discover what they are doing. With a need to get the update out so fast they probably didn't bother. I expect it to be in the next patch though.....
more...
twoodcc
Dec 8, 12:39 PM
Odd..
Did you change the machine id on the other installations? Are they all in seperate folders so the data files dont overlap?
I've never seen that error from the log..
Zack
thanks for the reply. yes, i tried everything. after searching, i wasn't the only one with this error. but there was no solution. so i just gave up
Did you change the machine id on the other installations? Are they all in seperate folders so the data files dont overlap?
I've never seen that error from the log..
Zack
thanks for the reply. yes, i tried everything. after searching, i wasn't the only one with this error. but there was no solution. so i just gave up
Cliff3
Mar 16, 10:14 AM
The biggest drawback with your current machine is the 3GB memory. Lightroom is much happier with 4GB or more. I used to have a late 2006 MBP15 and LR was sluggish with 3GB.
I should think the faster CPU will have a much greater effect on performance than the GPU. GPU speed is really only relevant for games and video rendering.
I have a personal preference for matte displays. I used to own a black Santa Rosa Macbook and I was not happy with the display. It was largely useless unless you were in a location where you could control reflections and glare. The added screen real estate in the 15 is useful too, and I felt constrained by the resolution of the 13" display. I have traveled with my MBP15 to Asia a couple of times, and its size and weight are easily manageable on trips.
I should think the faster CPU will have a much greater effect on performance than the GPU. GPU speed is really only relevant for games and video rendering.
I have a personal preference for matte displays. I used to own a black Santa Rosa Macbook and I was not happy with the display. It was largely useless unless you were in a location where you could control reflections and glare. The added screen real estate in the 15 is useful too, and I felt constrained by the resolution of the 13" display. I have traveled with my MBP15 to Asia a couple of times, and its size and weight are easily manageable on trips.
more...
FredAkbar
Jul 12, 01:56 PM
[edit: looks like bwawn beat me to it, and his way of doing it is probably better unless you have Terminal-ophobia ;)]
Firstly (and obviously) make sure Classic isn't running.
Also, did you try logging in as root? If you don't have a root account, it's pretty simple to create one using NetInfo Manager (in your Applications-->Utilities folder).
If you got your Mac in 2002 or earlier, you can start up from an OS 9 CD, and I'm pretty sure you could delete the 9 system folder from there, without having to deal with OS X permissions and such.
Good luck.
--Fred
Firstly (and obviously) make sure Classic isn't running.
Also, did you try logging in as root? If you don't have a root account, it's pretty simple to create one using NetInfo Manager (in your Applications-->Utilities folder).
If you got your Mac in 2002 or earlier, you can start up from an OS 9 CD, and I'm pretty sure you could delete the 9 system folder from there, without having to deal with OS X permissions and such.
Good luck.
--Fred
profets
Feb 23, 10:13 AM
^Awesome to hear, thanks for the update. It seems like an SSD is a no-brainer if one wants to do an upgrade. I've used a few SSDs in netbooks and some PCs and the difference always amazes me.
Planning on picking up a Mini at some point and putting an SSD.. looks like its quite the process. Wish it was easier to do in an iMac as well.
Planning on picking up a Mini at some point and putting an SSD.. looks like its quite the process. Wish it was easier to do in an iMac as well.
more...
wdlove
Sep 23, 01:41 PM
iGary, I think you do need the help. I mean, just look at your signature. ;)
I think that his signature is very nicely colored. Wishing you luck with your dilemma. It wouldn't hurt to meet the person though.
I think that his signature is very nicely colored. Wishing you luck with your dilemma. It wouldn't hurt to meet the person though.
andymac85
Mar 5, 01:00 PM
When I load F@H5 in terminal, it skips asking me my name and team. any ideas?
more...
R94N
Nov 4, 10:35 AM
Quite a nice idea - one of the other forums I visit uses VBulletin software as well and it has the photos.
ravenvii
Sep 24, 09:49 PM
Uh? Thought you're getting married? Now you have to "find" her?
And life is wonderful? I'm lost.
And life is wonderful? I'm lost.
more...
joepunk
Apr 14, 11:21 AM
Someone's going to get fired for sure.
daniel767
Apr 25, 06:53 PM
Yes I say a 'cracked' version because I don't know if he paid for it or not, and I didn't pay for it, my choice of words, i admit, was not very good!
I apologize to all those who really hold the rules of these forums so close to their hearts. I don't however believe I have broken the rules but if you feel otherwise I hope my apology puts a smile on your face and makes your day just that bit better! ;)
I apologize to all those who really hold the rules of these forums so close to their hearts. I don't however believe I have broken the rules but if you feel otherwise I hope my apology puts a smile on your face and makes your day just that bit better! ;)
GeeYouEye
Jul 25, 01:00 PM
e-coli, I suggest you spell-check your sig... it's your, urine, and glucose.
tersono
Apr 25, 09:09 AM
Gusto
ErikAndre
Jan 14, 10:58 AM
Recon it'll take that long? :eek:
The keynote is at 5pm GMT time (i live in the UK). I'd wanna know what was release before i went to bed :rolleyes: lol.
I think last time, the video didn't come online until 11:30pm EST.
The keynote is at 5pm GMT time (i live in the UK). I'd wanna know what was release before i went to bed :rolleyes: lol.
I think last time, the video didn't come online until 11:30pm EST.
killmoms
Jan 17, 11:11 PM
http://store.apple.com/Catalog/US/Images/tq133_alt.jpg
doesnt this already exist?
all they need is some kind of dongle or adapter to loose the wire?
Yeah, at least this one only makes you look like Geordi La Forge, instead of a Linux freetard. :D
doesnt this already exist?
all they need is some kind of dongle or adapter to loose the wire?
Yeah, at least this one only makes you look like Geordi La Forge, instead of a Linux freetard. :D
MrFusion
Apr 24, 07:52 AM
Basically you are freeing memory you did not malloc/calloc. Your double returnElement within the last loop is requesting space to store a double. This will be on the stack. You are not mallocing or callocing the space for this double (if you did it'd be in the heap). You then memcpy into this space (which is fine: you are allowed to do that). You then free the space that is on the stack. You can't do that. You can't free on the stack. That is automatically done when the current stack frame is popped.
My main concern was that the malloc within the memcpy did not have its own free statement. But, if I understand you correctly, the act of copying from the heap to the stack has the same effect of free()? So free() is only required to release memory that resides on the heap?
If that doesn't make sense (if you don't know what the heap and stack are for example) it's time to learn basic C properly...
Trying to. Understanding basic CPU architecture (heap vs stack) seems useful. I just started watching the MIT opencourseware*. Hopefully it will be in there. If not, any book recommendations?
*ah, so that's what is behind big O notation... cool...
My main concern was that the malloc within the memcpy did not have its own free statement. But, if I understand you correctly, the act of copying from the heap to the stack has the same effect of free()? So free() is only required to release memory that resides on the heap?
If that doesn't make sense (if you don't know what the heap and stack are for example) it's time to learn basic C properly...
Trying to. Understanding basic CPU architecture (heap vs stack) seems useful. I just started watching the MIT opencourseware*. Hopefully it will be in there. If not, any book recommendations?
*ah, so that's what is behind big O notation... cool...
daniel767
Apr 25, 06:53 PM
Yes I say a 'cracked' version because I don't know if he paid for it or not, and I didn't pay for it, my choice of words, i admit, was not very good!
I apologize to all those who really hold the rules of these forums so close to their hearts. I don't however believe I have broken the rules but if you feel otherwise I hope my apology puts a smile on your face and makes your day just that bit better! ;)
I apologize to all those who really hold the rules of these forums so close to their hearts. I don't however believe I have broken the rules but if you feel otherwise I hope my apology puts a smile on your face and makes your day just that bit better! ;)
No comments:
Post a Comment