KBP
Jun 22, 12:16 PM
Brrr. Powell's collllld. Stay warm out there if you go.
I know, I have been told :( I don't even have one reserved. I hope I get one!
I know, I have been told :( I don't even have one reserved. I hope I get one!
subsonix
Apr 25, 07:08 AM
In all honesty I think that's a bit harsh. Anyone who uses memcpy a lot should know what it returns (if you don't and just ignore the returned value then you don't know what you are returning which I think is very bad practice).
Except that in the case of memcpy, there is only one possible return value which it always returns.
This case is a bit different though as checking the return value would find out if malloc failed earlier, but it doesn't matter either because if malloc fails, memcpy will copy memory to NULL and the program will crash.
Except that in the case of memcpy, there is only one possible return value which it always returns.
This case is a bit different though as checking the return value would find out if malloc failed earlier, but it doesn't matter either because if malloc fails, memcpy will copy memory to NULL and the program will crash.
Cinch
Sep 18, 08:27 PM
Who knows someday they'll be worth something. On par with vinyl? I think there is always a vintage crowd out there and in the future too. I hope you don't have to wait until you are old and gray before you see your CDs appreciate in value (sentimental and monetary).
Imagine 200 years from now on the Antique Road Show (PBS), your great-great-grandchild is astonished to hear the value of your CD collection! :D
Just joking,
Cinch
Imagine 200 years from now on the Antique Road Show (PBS), your great-great-grandchild is astonished to hear the value of your CD collection! :D
Just joking,
Cinch
KnightWRX
Apr 24, 05:10 PM
Did you try googling the obvious: palindrome python program
One of the top 10 hits is this:
http://forums.macrumors.com/showthread.php?t=861800
nstead this sounds like an academic assignment/exercise/what-have-you.
A quick suggestion OP : If this is homework, do not try "googling the obvious" and especially do not copy/paste code from the top 10 hits. If it was that easy to find, your teacher already found it also and will fail you with good reason when you try to turn in "Internet" code.
One of the top 10 hits is this:
http://forums.macrumors.com/showthread.php?t=861800
nstead this sounds like an academic assignment/exercise/what-have-you.
A quick suggestion OP : If this is homework, do not try "googling the obvious" and especially do not copy/paste code from the top 10 hits. If it was that easy to find, your teacher already found it also and will fail you with good reason when you try to turn in "Internet" code.
more...
jefhatfield
Jan 28, 01:03 PM
and way into high posting, one can be a 601 at 5,000 posts
i don't know what the next level will be or at how many posts
it could be the 602, which was not a widely used processor, or the more common 603...but then i wonder if the 603e will be another level or if arn decides the person is a 604...of course, there was the 604e after that
and after the 6xx levels, there is the G3, G4, and G5 and it's a mystery where those sit at
and is there a G6??
i don't know what the next level will be or at how many posts
it could be the 602, which was not a widely used processor, or the more common 603...but then i wonder if the 603e will be another level or if arn decides the person is a 604...of course, there was the 604e after that
and after the 6xx levels, there is the G3, G4, and G5 and it's a mystery where those sit at
and is there a G6??
Shorties
May 4, 10:24 PM
It really would be nice if biteSMS allowed you to forward to a GV number, and then if you respond to that number it automatically goes through the BiteSMS app to be re routed to your AT&T number.
more...
njaremka
Mar 23, 01:11 PM
can you borrow a keyboard from your neighbor?
arn
Feb 26, 01:18 PM
accounts closed for now...
arn
arn
more...
ulbador
Feb 24, 01:14 PM
Does this script run for an unusually long time or something? I believe the default timeout for MySQL is around 8 hours.
Your code below is calling mysql_ping, but your error message is for mysqli_ping, make sure you are using the right type of connection.
mysql_ping will not do automatic reconnection, however mysqli_ping will if you set the mysqli.reconnect option in php.ini or your code.
Sorry, I just typed up the test cases I had used from memory quickly and copied and pasted (poorly). It is actually using mysqli_ping in the real tests. Thanks for pointing it out. I corrected this in my original post
8 hours is far too long of a timeout for our busy website. We are running a 30 second timeout right on the database out of necessity. Otherwise the resources sit there and are never released and aren't reallocated and used quickly enough.
I know mysqli_ping won't auto-reconnect (at least in some versions of PHP no matter what option you set), I just use it to test if the connection is still open. If not, I grab a new connection. Even if the ping worked and autoreconnected, the code would be fine. I just can't figure out why sometimes it tosses that error, or how to test for it beforehand.
Your code below is calling mysql_ping, but your error message is for mysqli_ping, make sure you are using the right type of connection.
mysql_ping will not do automatic reconnection, however mysqli_ping will if you set the mysqli.reconnect option in php.ini or your code.
Sorry, I just typed up the test cases I had used from memory quickly and copied and pasted (poorly). It is actually using mysqli_ping in the real tests. Thanks for pointing it out. I corrected this in my original post
8 hours is far too long of a timeout for our busy website. We are running a 30 second timeout right on the database out of necessity. Otherwise the resources sit there and are never released and aren't reallocated and used quickly enough.
I know mysqli_ping won't auto-reconnect (at least in some versions of PHP no matter what option you set), I just use it to test if the connection is still open. If not, I grab a new connection. Even if the ping worked and autoreconnected, the code would be fine. I just can't figure out why sometimes it tosses that error, or how to test for it beforehand.
Cox Orange
Apr 15, 01:39 PM
Thanks to both of you.
to get your VHS source onto your computer it would have to be digitized first. So either you digitized the video or someone did it for you. How this was done determines the base quality of your DIGITAL source. It can't be better than your source, but it can be converted to a more useful or less useful digital format (h.264 = more / mpeg2 = less for example).
Ah, I'm stupid. Actually I knew this, do not know how I forgot it when explaining what I am asking. I forgot that I know, that it is the hooked up hardware that changes the source from analogue to digital. Why else should I use this type of thing here called "A/D-converter". (Btw, the A/D-converter I am using is ADVC-300 via firewire and some times EyeTV250 via USB).
I can't explain to myself why I mixed up the hardware's job with what the software does. :o:confused:
it seems your asking how imovie handles video import for various versions.
Yes, that's it.
...but i can tell your quoting some rather old versions ...
I am using Vers. 3 and 5, because I have two PPC-Macs, that I possess for a long time, but never had any need to use iMovie before. I use my Macs 5-6 years (from the day on they were bought). The next buy (first Intel) is actually due, but I am still procrastinating it, but decided to start saving my VHS to an external disk better now then later and so I use my PPC-Macs with the old versions of iMovie they came with.
Noise filtering would be a filter...that's a post process.... - in the software not the hardware, ok.
Have no idea what a "line time base" is.
ah, baseline time correction was the word I was searching for. ADVC uses TBC, EyeTV not. I thought Maybe iMovie does this too, on the fly.
In iMovieHD 5 you can choose that it saves the incoming material as mpeg4. I do not mean the converting to mpeg4 or whatever type after editing (chopping parts in between and all that stuff).
I thought the ADVC-300 changes the analogue one to DV and iMovie puts it in mpeg4.
After that I would cut/edit the film and convert it to h.264.
I choose to let iMovie5 record as DV, because I could not see the sense in capturing it as mpeg4, when I plan to convert it to h.264 afterwords.
If you've got your VCR hooked up to a DV camcorder and the DV camcorder attached to your Mac via Firewire, you can think of capturing it in iMovie as a file transfer. The camcorder is encoding the VCR's output to standard PAL DV, and your Mac is just recording that data.
If you try to do any colour correction or what have you in iMovie, a different engine in different versions might result in different quality. But these versions are so old I don't think you'll find much comparison online — probably best to just suck it and see.
Ok, thanks.
I am assuming this now, (right?): If I plan to save the films on an external disk and convert them to h.264 later, it does not affect the quality, if I use DV coming from iMovie2 or 5.
Example:
1. capture VHS in iMovie
2. save them to disk
3. forget about them
4. buy an Intel-Mac at the end of the year (because I do not want my PPC spend nights with converting DV to h.264
5. open DV file on external disk in mpegstreamclip(converter-app) on new Intel Mac, choose "convert to h.264", setting bitrate and everything I like.
It does not matter if iMovie2 saved it as DV or iMovie5 saved it as DV, right?
PS: I know, me using an ADVC-300 after my questions, sounds like a kid with one guitar lesson playing a Gibson guitar. :)
to get your VHS source onto your computer it would have to be digitized first. So either you digitized the video or someone did it for you. How this was done determines the base quality of your DIGITAL source. It can't be better than your source, but it can be converted to a more useful or less useful digital format (h.264 = more / mpeg2 = less for example).
Ah, I'm stupid. Actually I knew this, do not know how I forgot it when explaining what I am asking. I forgot that I know, that it is the hooked up hardware that changes the source from analogue to digital. Why else should I use this type of thing here called "A/D-converter". (Btw, the A/D-converter I am using is ADVC-300 via firewire and some times EyeTV250 via USB).
I can't explain to myself why I mixed up the hardware's job with what the software does. :o:confused:
it seems your asking how imovie handles video import for various versions.
Yes, that's it.
...but i can tell your quoting some rather old versions ...
I am using Vers. 3 and 5, because I have two PPC-Macs, that I possess for a long time, but never had any need to use iMovie before. I use my Macs 5-6 years (from the day on they were bought). The next buy (first Intel) is actually due, but I am still procrastinating it, but decided to start saving my VHS to an external disk better now then later and so I use my PPC-Macs with the old versions of iMovie they came with.
Noise filtering would be a filter...that's a post process.... - in the software not the hardware, ok.
Have no idea what a "line time base" is.
ah, baseline time correction was the word I was searching for. ADVC uses TBC, EyeTV not. I thought Maybe iMovie does this too, on the fly.
In iMovieHD 5 you can choose that it saves the incoming material as mpeg4. I do not mean the converting to mpeg4 or whatever type after editing (chopping parts in between and all that stuff).
I thought the ADVC-300 changes the analogue one to DV and iMovie puts it in mpeg4.
After that I would cut/edit the film and convert it to h.264.
I choose to let iMovie5 record as DV, because I could not see the sense in capturing it as mpeg4, when I plan to convert it to h.264 afterwords.
If you've got your VCR hooked up to a DV camcorder and the DV camcorder attached to your Mac via Firewire, you can think of capturing it in iMovie as a file transfer. The camcorder is encoding the VCR's output to standard PAL DV, and your Mac is just recording that data.
If you try to do any colour correction or what have you in iMovie, a different engine in different versions might result in different quality. But these versions are so old I don't think you'll find much comparison online — probably best to just suck it and see.
Ok, thanks.
I am assuming this now, (right?): If I plan to save the films on an external disk and convert them to h.264 later, it does not affect the quality, if I use DV coming from iMovie2 or 5.
Example:
1. capture VHS in iMovie
2. save them to disk
3. forget about them
4. buy an Intel-Mac at the end of the year (because I do not want my PPC spend nights with converting DV to h.264
5. open DV file on external disk in mpegstreamclip(converter-app) on new Intel Mac, choose "convert to h.264", setting bitrate and everything I like.
It does not matter if iMovie2 saved it as DV or iMovie5 saved it as DV, right?
PS: I know, me using an ADVC-300 after my questions, sounds like a kid with one guitar lesson playing a Gibson guitar. :)
more...
Chrispy
Sep 23, 08:22 PM
Yeah, just to clarify I have been using a mac for about two years now. It is my friend who switched to mac :) He just placed the order a few hours ago for his new 12" iBook.
Macdude2010
Mar 19, 12:26 PM
Hello Everyone on Macrumors,
Just wanted to say that I am running a Developer Preview of Mac OS X Lion and it is pretty cool. There are a few bugs here and there but otherwise it works great. Has all the features that they Demoed in the Keynote in October (those are the big ones) they also changed the look of all the buttons (They look cool and more modern because the buttons have been the same since 10.0)
If anyone wants to ask me anything about it I will be happy to answer any questions
Posting a Screen Shot of one of my favorite features.
Just wanted to say that I am running a Developer Preview of Mac OS X Lion and it is pretty cool. There are a few bugs here and there but otherwise it works great. Has all the features that they Demoed in the Keynote in October (those are the big ones) they also changed the look of all the buttons (They look cool and more modern because the buttons have been the same since 10.0)
If anyone wants to ask me anything about it I will be happy to answer any questions
Posting a Screen Shot of one of my favorite features.
more...
Sky Blue
Apr 1, 09:20 PM
I'd post a screen shot of this but when I try I just get a full black screen like this:
Read the seed notes.
Read the seed notes.
ThunderLounge
Oct 27, 08:21 AM
I thought I read (in one of these threads somewhere) where someone had stuck it on a PowerBook and it was faster then it had been before the upgrade.
I might try it on my wife's iMac G4, just for kicks. I haven't upgraded it at all (it's still on Jaguar) so it might be an interesting time.
Anybody going down to Ft. Worth next weekend? :D
I might try it on my wife's iMac G4, just for kicks. I haven't upgraded it at all (it's still on Jaguar) so it might be an interesting time.
Anybody going down to Ft. Worth next weekend? :D
more...
jsgreen
May 6, 09:42 AM
Is anyone running Lion on a lower-powered machine? I'd like to hear feedback on those who have tried it on an 11" MBA.
wpotere
Apr 25, 11:16 AM
Apologies, the site is my own and is written in ASP. so no blogging etc, essentially something that will allow me to edit HTML page but with the ability to FTP download and reupload
As posted above, ASP (Active Server Pages) is a dynamic content system written by Microsoft. Visual Studio is the way to edit those pages. That being said, there may be some HTML that you can manipulate in the files but it will be very little. You best bet is to dual boot your Mac with bootcamp and use Windows and VisualStudio.
As posted above, ASP (Active Server Pages) is a dynamic content system written by Microsoft. Visual Studio is the way to edit those pages. That being said, there may be some HTML that you can manipulate in the files but it will be very little. You best bet is to dual boot your Mac with bootcamp and use Windows and VisualStudio.
more...
Legion93
Apr 29, 05:53 PM
That's what you get for jail breaking your device.
sbddude
May 5, 09:44 AM
http://tinyurl.com/3sjf6h2
R94N
Jul 3, 03:59 AM
Wow, the only PC laptop I like is being recalled. Before I got my MacBook, the Vaio was the only PC I was considering buying.
SanFranKyle
Apr 13, 04:47 PM
I've been waiting and waiting, like many others for the white iPhone 4 to be released, and have been disappointed. I think I'm going to get a used iPhone 4 black (hopefully in shotty condition for cheap) and buy the white kit and transfer.
Questions:
Will the proximity sensor work?
Will the earpiece work?
Are these faulty in all white conversions?
How bad is the camera really?
Any insight would be very much appreciated.
Breakdown here:
Proximity Sensor will work at about 85% with the sharpie fix. To the point where you really won't notice it not working, just auto dimming and stuff like that suffers.
Earpiece will work.
All white conversions will have this, unless it's real high quality, which I have not heard of yet.
Camera is not bad. Without flash there is no problem. Using flash you may or may not have bleed, it's kinda luck of the draw. Might be able to fix it if you can find a way to block light bleed. Super low light conditions, where flash is definitely needed is where your pictures will be useless.
Questions:
Will the proximity sensor work?
Will the earpiece work?
Are these faulty in all white conversions?
How bad is the camera really?
Any insight would be very much appreciated.
Breakdown here:
Proximity Sensor will work at about 85% with the sharpie fix. To the point where you really won't notice it not working, just auto dimming and stuff like that suffers.
Earpiece will work.
All white conversions will have this, unless it's real high quality, which I have not heard of yet.
Camera is not bad. Without flash there is no problem. Using flash you may or may not have bleed, it's kinda luck of the draw. Might be able to fix it if you can find a way to block light bleed. Super low light conditions, where flash is definitely needed is where your pictures will be useless.
P-Worm
Sep 10, 10:30 PM
Thanks for the info.
That was spam right? I'll try to stay away from it because it seems to me that that can get annoying very fast.
P-Worm
That was spam right? I'll try to stay away from it because it seems to me that that can get annoying very fast.
P-Worm
Blackhatch
Apr 5, 10:35 PM
Great link and footage.
trainguy77
Nov 11, 11:57 PM
So is anyone else using the beta besides me? It seems to run ok. Still needs work, for example it does not use all more cores to %100. It also uses ALOT of ram. Around 50 mb per core times 4. and thats real ram not including virtual. That alot of ram when you only have a GB. :(
I fold with Team MacOS X.
Would you be interested in switching? You user points stay with your.....besides macrumors is such a better team, we may not have as much output but we have GREAT forums that can't be beat.:D
I fold with Team MacOS X.
Would you be interested in switching? You user points stay with your.....besides macrumors is such a better team, we may not have as much output but we have GREAT forums that can't be beat.:D
balamw
Apr 24, 01:59 PM
Read http://whathaveyoutried.com and http://mikeash.com/getting_answers.html .
You are unlikely to get the answers you seek without giving us a lot more than you already have. Post any code you have tried that doesn't work. Post links to the Java code that you think does what you want, etc...
Especially if this sounds like homework, you need to at least try to solve it.
B
You are unlikely to get the answers you seek without giving us a lot more than you already have. Post any code you have tried that doesn't work. Post links to the Java code that you think does what you want, etc...
Especially if this sounds like homework, you need to at least try to solve it.
B