Do I need to worry about these event handlers in a grid from a memory leak perspective?

I'm pretty new to Flex and coudn't figure out how to add event handlers to inline item renderer components from the containing file script so I attached the listnerers simply as part of the components themselves (eg <mx:Checkbox ... chnage="outerDocument.doSomething(event)"../>):
<mx:DataGrid id="targetsGrid" width="100%" height="100%" doubleClickEnabled="true" styleName="itemCell"
      headerStyleName="headerRow" dataProvider="{targets}"
      rowHeight="19" fontSize="11" paddingBottom="0" paddingTop="1">
     <mx:columns>
     <mx:DataGridColumn width="78" dataField="@isSelected" headerText="">
     <mx:itemRenderer>
          <mx:Component>
               <mx:HBox width="100%" height="100%" horizontalAlign="center">
                    <mx:CheckBox id="targetCheckBox" selected="{data.@isSelected == 'true'}"
                         change="outerDocument.checkChangeHandler(event);"/>
                    <mx:Image horizontalAlign="center" toolTip="Delete" source="@Embed('/assets/icons/delete.png')" useHandCursor="true" buttonMode="true"
                         click="outerDocument.deleteHandler(event);"/>
                    <mx:Image id="editButton" horizontalAlign="center" toolTip="Edit" source="@Embed('/assets/icons/edit-icon.png')" useHandCursor="true" buttonMode="true"
                         click="outerDocument.editHandler(event);"/>
               </mx:HBox>
          </mx:Component>
     </mx:itemRenderer>
     </mx:DataGridColumn>
          <mx:DataGridColumn id="Name" dataField="@collectionDesc" headerText="Name" itemRenderer="com.foobar.integrated.media.ui.component.CellStyleForTargetName"/>
          <mx:DataGridColumn id="Created" width="140" dataField="@createDateTime" headerText="Created"  labelFunction="UiHelper.gridDateFormat" />
     </mx:columns>
</mx:DataGrid>
This grid is part of a view that will get destroyed and recreated potentially many times during a user's session within the application (there's a large dynamic nature to the app and views are created at run-time.) By destroyed I mean that the view that holds the above datagrid will no longer be referenced under certain circumstances and an entire new view object is created (meaning the old datagrid is no longer refernced and a new one is created.)
I heard you should clean up event handlers when they are no longer used, and I know at what point the view is destroyed, but I don't know how to clean up the event handlers added to the item renderer components? Is it something that the Flex garbage collector will handle efficiently?
Also, on a somewhat related note, how could I push the item renderer to an external component since in my event handlers for the item renderer buttons I need a reference to the datagrid.selectedIndex which, as an external item renderer I wouldn't have access to this containing grid?

No. You don't need explicit cleanup in this case: if your outerDocument is going away, you have nothing to worry about. The event handler leak can happen in sort of the reverse situation: suppose you have a long-lived MyView that contains a custom DataGrid like the one below. Now suppose that MyView frequently destroys and re-creates the grid. And suppose that on its creationComplete event, the grid registers a listener for outerDocument's (MyView's) enterFrame Event. Unless you explicitly remove this listener, MyView will still have a reference to it even after the grid that registered the listener is destroyed (and garbage collected).
This is a pretty contrived example, but it sort of illustrates the potential for leaks: a certain component is elligible for garbage collection, but some longer-lived component holds a reference to it (or part of it, such as a listener function). If the longer-lived component is elligible for GC as well, you don't really need to worry about proper cleanup. That's what you're paying the GC processor cycles for.

Similar Messages

  • Do I need to worry about this?

    It has been an interesting few months with my one year old 13" MBP. Lots of spinning beach balls followed by a hard drive crash. Apple was quick to replace the hard drive. And as I had everything backed up on Time Machine I was able to quickly restore everything.
    All was good for a few months until the beachballs, freezes, and finder crahes began again. Made another trip to the Genius bar where they thought I might have re-downloaded a corrupt file from Time Machine. They cleaned my temp files and caches and things seemed to work well in the store.
    When I returned home I had the same issues. They had prepared me for this. So a system restore, a re mount and re start of time capsule and everything seems to be working well. Speedy, no crashes, no freezes.
    The issue is that I wanted to double check so I ran disk verify and permission verify on the disk utility. To my surprise it came back with a LONG error log as below. So long, I could not get it all into this post. But it seems like a recurrent message. Do I need to worry about any of this? What should I do next, if anything? Thanks in advance for your response.
    Verifying volume “Macintosh HD”
    Performing live verification.
    Checking Journaled HFS Plus volume.
    Checking extents overflow file.
    Checking catalog file.
    Checking multi-linked files.
    Checking catalog hierarchy.
    Checking extended attributes file.
    Checking volume bitmap.
    Checking volume information.
    Invalid volume file count
    (It should be 624512 instead of 624514)
    Invalid volume directory count
    (It should be 172781 instead of 172779)
    The volume Macintosh HD was found corrupt and needs to be repaired.
    Error: This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk.
    Verify permissions for “Macintosh HD”
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUAdvanced.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUAdvanced.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUAssistant.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUAssistant.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUDocument.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUDocument.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUDrives.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUDrives.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUStatisticsPanel.nib/keyedobjects.nib ", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUStatisticsPanel.nib/keyedobjects.nib ", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUTaskSheet.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUTaskSheet.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUTasks.strings", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUTasks.strings", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUWirelessPanel.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUWirelessPanel.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/APPanels.nib/keyedobjects.nib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/APPanels.nib/keyedobjects.nib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AUFirmwareDownloader.nib/keyedobjects.n ib", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AUFirmwareDownloader.nib/keyedobjects.n ib", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortAssistant.strings", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortAssistant.strings", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortErrors.strings", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortErrors.strings", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortSettings.strings", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortSettings.strings", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortTimeZones.strings", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortTimeZones.strings", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortUtilityHelp/AirPortUtilityHelp.h elpindex", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortUtilityHelp/AirPortUtilityHelp.h elpindex", should be -rw-r--r-- , they are -rw-rw-r-- .
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortUtilityHelp/AirPortUtilityHelp.h tml", should be 0, group is 80.
    Permissions differ on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AirPortUtilityHelp/AirPortUtilityHelp.h tml", should be -rw-r--r-- , they are -rw-rw-r-- .

    Scott Adelman wrote:
    The issue is that I wanted to double check so I ran disk verify and permission verify on the disk utility. To my surprise it came back with a LONG error log as below. So long, I could not get it all into this post. But it seems like a recurrent message. Do I need to worry about any of this? What should I do next, if anything?
    Verifying volume “Macintosh HD”
    Invalid volume file count
    (It should be 624512 instead of 624514)
    Invalid volume directory count
    (It should be 172781 instead of 172779)
    The volume Macintosh HD was found corrupt and needs to be repaired.
    Error: This disk needs to be repaired. Start up your computer with another disk (such as your Mac OS X installation disc), and then use Disk Utility to repair this disk.
    You definitely need to repair your disk. If you can, boot from something else, such an external disk or the system discs that came with your Mac. You can also cause the disk to be repaired by booting into "Safe Mode": http://support.apple.com/kb/ht1564 . If that process can't repair your disk, you may need one of the more-powerful disk utilities such as Disk Warrior.
    Verify permissions for “Macintosh HD”
    Group differs on "Applications/Utilities/AirPort Utility.app/Contents/Resources/pl.lproj/AAUAdvanced.nib/keyedobjects.nib", should be 0, group is 80.
    You can ignore most permissions repair messages:
    http://support.apple.com/kb/TS1448

  • I have upgraded my MacBook Pro 15 late 2011 to 8Gb RAM, now when I go to about this mac in it more info it doesn't show AMD graphics card as it used to before, it just show  Intel HD Graphics 3000 512 MB is that a problem that I need to worry about?

    I have upgraded my MacBook Pro 15 late 2011 to 8Gb RAM, now when I go to about this mac in it more info it doesn't show AMD graphics card as it used to before, it just show  Intel HD Graphics 3000 512 MB is that a problem that I need to worry about?
    and in system report >> hardware >> Graphics/Display >> it shows both grafics card listed.

    Some Mac's when the RAM is increased the Intel HD 3000 integrated graphics will bump itself up to the higher video RAM it takes, this seems to be what occured.
    It also means the dedicated graphics card will be used less, but only so slightly less.
    You obviously still should have both, you can test this by turning off Graphics Switching in Energy Saver, that will use the decicated AMD card all the time.
    You can also run Cinebench and compare the scores here
    Mac video card performance

  • Hello i need a help about script to export translatable text strings from ai files and import them back

    Hello i need a help about script to export translatable text strings from ai files and import them back after editing, thanks in advance

    Lanny -
    Thank you for taking the time to help with this problem. Can I just say however that as someone who has posted a first comment here and quite clearly never used a forum like this before, your comment unfortunately comes across as very excluding. It makes me feel there are a set of unwritten rules that I should know, and that I don't know them shows that the forum is not for me. In short, it's exactly the kind of response that stops people like me using forums like this.
    I'm sure it's not intended to be received like this and I am sure that the way you have responded is quite normal in the rules of a forum like this. However, it is not normal for those of us who aren't familiar with forums and who only encounter them when they have a genuine problem. This is why I hope it is helpful to respond in full.
    The reason I posted here is as follows. I was directed here by the apple support website. The original comment seemed to be the only one I could find which referred to my issue. As there is no obvious guidance on how to post on a forum like this it seemed perfectly reasonable to try and join in a conversation which might solve more than one problem at once.
    Bee's reply however is both helpful and warm. This could in fact be a template for how new members should be welcomed and inducted into the rules of the forum in a friendly and inclusive way. Thank you very much indeed Bee!

  • What do I need to worry about when running a VI for an extended amount of time?

    Hi, I'm fairly new to LabVIEW as a program, but not new to programming as a whole.
    I'm attempting to build a VI which will, hopefully, be run continuously and take data for weeks-months at a time.
    I've never built a VI, let alone a program, which will be run continuously for so long, and so I'm unsure as to what I should be concerned about. I'm looking right now at optimizing, as best I can, memory allocation, algorithms, etc. but I suppose my main question is: What should I really be worrying about when programming a VI which will be run continuously for an extended period of time?
    Solved!
    Go to Solution.

    In the structure of your VI's, be certain that you are not repetively creating things such as references to queues, or file references, or DAQ tasks, or anything without closing them.  I was working on one application where a DAQ task was getting created every loop iteration and not being closed.  It crashed the PC hard with a blue screen of death after about 20 minutes of operation, through debugging and before I found the cause, I saw I had about 80,000 to 100,000 iterations of a loop fairly consistently before the crash.
    If this loop had run at a slower rate, it might have taken days or weeks before the PC would have crashed.  It would have seemed infrequent and would have taken longer to debug because I would never have seent the pattern.  If it takes a few failures before you discover the problem, it is a lot quicker to find the explanation after a few failures at 20 minutes per failure as opposed to 20 days per failure.  The problem was eventually found in a subVI several layers down and fixed.
    So if you pay attention to these things early enough, then hopefully they won't pop up and bite you weeks or months into a critical run of the program.

  • TCP Programming / Why do not need to worry about Big and little Endian?

    Please help, I do not understand this concept please explain.
    The architecture of a CPU is either little-endian or big-endian; some modern CPU's allow a choice via software.
    The TCP/IP protocol standard specifies that all the bytes that make up an item must be sent in "network order", which happends to be big-endian. Intel Pentium CPU's are little-endian.
    This implies that on an Intel machine the TCP software will have to chop an int into bytes and then reverse the bytes before transmitting them.
    Why does the JAVA TCP software does not need to perform the reversal?
    Thanks,
    Alex

    But why would I need to use the DataOutputStream,You don't have to.
    But that's what the Java API provides for sending java primitives over a stream. You wouldn't have to use that. You could chop the int into bytes yourself, and send the bytes, and your Java code still wouldn't have to worry about the endiannes of it, because the VMs handle that.
    DataOutputStream just does the chopping and reassembling for you, so it's easier than doing it yoursefl.

  • A..NEED AN ADVICE ABOUT THESE 2 VIDEO-CAMERA..!!

    ..
    ..HEY GUYS..!!
    What do you think about these 2 video c.. the first one is the PANASONIC SD1 and the second one is JVC Everio GZ-HD7 60GB Hard Drive Camcorder ..
    I'm going to buy one soon and it's pretty hard to choose .. which one do you think would be the best..??
    se-ya ..andrea..^_^

    andrea,
    I have the SD1 and I love the image quality, form factor and function with iMovie 08. Exports nicely to .mac web gallery. However, I haven't figured out a few things, see: http://discussions.apple.com/thread.jspa?threadID=1130359&tstart=0

  • I worry about could I download and install applications from Creative cloud when I reinstall my windows?

    I have to reinstall my windows, but Im using an adobe pack (ps, id, ai, etc.) that I've downloaded by creative cloud. I worry about could I download and install applications again from Creative cloud without any trouble? Could you share your experieces? THX a lot.
    Krisztina

    Before you remove anything you should sign out of the Creative Cloud so that it is reset for you when you reinstall and sign in again.
    Sign out, Sign in | Creative Cloud desktop app
    http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    Activation & deactivation help
    https://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#a ctivate-how-to

  • What do these logs mean and do I need to worry about them?

    ACK! I've been having trouble with iPhoto and so went to check the logs and crash reporter for info. While there, I found a couple of alarming items: a console.log with info I don't understand and a NetworkSpyAlertErr.log, which reads:
    nsapAgent: kext write Failed!
    nsapAgent: init failed. kext write failed.
    nsapAgent: kext write Failed!
    nsapAgent: init failed. kext write failed.
    nsapAgent: kext write Failed!
    nsapAgent: init failed. kext write failed.
    nsapAgent: kext write Failed!
    nsapAgent: init failed. kext write failed.
    nsapAgent: kext write Failed!
    nsapAgent: init failed. kext write failed.
    Um...not sure what Network Spy agent is, as it sure isn't anything that I've installed. Is this a normal part of the mac OS? When I opened the above log, console also opened with this report:
    Mac OS X Version 10.4.10 (Build 8R218)
    2007-10-30 11:03:54 -0600
    2007-10-30 11:03:55.447 loginwindow[81] FSResolveAliasWithMountFlags returned err = -43
    2007-10-30 11:03:57.574 HPEventHandler[355]: DebugAssert: Third Party Client: ((__null) != m_lock && 0 == (*__error())) Can't create semaphore lock [/Volumes/Development/Projects/HP/mac-software/mac-software/core/HPEventHandler /Sources/HPTMNotificationManager.cpp:60]
    2007-10-30 11:04:11.514 MagicMenuHotKeyDaemon[363] Started
    Child: Can't read length for data
    Created child to sync device with pid 373...
    Waiter has started running...
    Waiter is done running
    Sending final status from child helper tool back to parent...
    Unsafe JavaScript attempt to access frame with URL http://www.theindychannel.com/news/14455773/detail.html from frame with URL http://ad.doubleclick.net/adi/N4441.Tacoda/B2166690.2;sz=160x600;click=http://an ad.tacoda.net/ads/ad13692a-map.cgi/BCPG78014.108755.106765/SZ=160X600A/V=2.1S//R EDIRURL=;ord=80595?. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.cnn.com/2007/TECH/10/30/vampire.electronics.ap/index.html from frame with URL http://ad.doubleclick.net/adi/N3941.cnn/B2492131.28;sz=728x90;click=http://ads.c nn.com/event.ng/Type=click&FlightID=86804&AdID=115255&TargetID=6869&Segments=934 ,2274,2607,2743,3030,3285,4008,4898,5217,6298,6520,6582,7465,8463,8796,9307,9496 ,9779,9781,9784,9853,9937,10033,10375,10956,11085,11877&Values=1588&Redirect=;or d=cnsqtAk,bdsozhntbinx?. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.cnn.com/2007/TECH/10/30/vampire.electronics.ap/index.html from frame with URL http://ad.n2434.doubleclick.net/adi/N2434.cnn/B2523462;sz=160x600;click=http://a ds.cnn.com/event.ng/Type=click&FlightID=87840&AdID=118718&TargetID=16970&Segment s=934,2276,2743,2872,3030,3285,3800,4008,6298,6520,6582,7463,8463,8796,9279,9308 ,9496,9779,9781,9784,9853,10028,10375,10511,11087&Values=1588&Redirect=;ord=cxtb Rkr,bdsozhotbioc?. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.cnn.com/ from frame with URL http://view.atdmt.com/BID/iview/trnrbbri1790000001bid/direct/01/bvNWKpj,bdsozizt bmKh?click=http://ads.cnn.com/event.ng/Type%3dclick%26FlightID%3d85378%26AdID%3d 112854%26TargetID%3d16956%26Segments%3d730,2259,2743,3030,3285,3464,3800,5216,62 01,6298,6301,6520,6582,7324,7464,8342,8463,8796,9276,9306,9496,9632,9742,9779,97 81,9784,9853,10031,10088,10381,11086,11360,11418,11636,11915,12036,12044%26Value s%3d1588%26Redirect%3d. Domains must match.
    (event handler):Object (result of expression cnnSend) does not allow calls.
    (event handler):Object (result of expression cnnSend) does not allow calls.
    Unsafe JavaScript attempt to access frame with URL http://www.cnn.com/2007/SHOWBIZ/TV/10/30/tv.nbc.leno.ap/index.html from frame with URL http://ad.doubleclick.net/adi/N2870.cnn/B1880310.3;sz=160x600;click=http://ads.c nn.com/event.ng/Type=click&FlightID=62996&AdID=85296&TargetID=16970&Segments=657 ,2276,2743,2872,3030,3285,3800,4008,4558,6298,6520,6582,7463,8463,8796,9279,9308 ,9496,9779,9781,9784,9853,10028,10377,10511,11087&Targets=619,15951,2724,16970,1 515,11145,14921,18265&Values=30,46,50,61,73,82,91,100,110,150,682,917,1137,1285, 1557,1588,1598,1599,1600,1601,1697,1815,2675,2727,2743,4413,4418,4442,39896,4718 1,47734,48047,49553,49702,52263,52509,52738,52897&RawValues=ZIP%2C80201&Redirect =;ord=clWNguz,bdsoziRtbnmu?. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.cnn.com/2007/SHOWBIZ/TV/10/30/tv.nbc.leno.ap/index.html from frame with URL http://view.atdmt.com/BID/iview/trnrbbri1790000002bid/direct/01/bNjvlId,bdsoziRt bnms?click=http://ads.cnn.com/event.ng/Type%3dclick%26FlightID%3d85377%26AdID%3d 112853%26TargetID%3d16563%26Segments%3d657,2274,2607,2743,3030,3285,4008,4558,48 98,5217,6298,6520,6582,7465,8463,8796,9307,9496,9779,9781,9784,9853,9937,10033,1 0377,10956,11085,11877%26Values%3d1588%26Redirect%3d. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.cnn.com/2007/SHOWBIZ/TV/10/30/tv.nbc.leno.ap/index.html from frame with URL http://ad.doubleclick.net/adi/N2870.cnn/B1880310.3;sz=160x600;click=http://ads.c nn.com/event.ng/Type=click&FlightID=64204&AdID=85299&TargetID=16970&Segments=657 ,2276,2743,2872,3030,3285,3800,4008,4558,6298,6520,6582,7463,8463,8796,9279,9308 ,9496,9779,9781,9784,9853,10028,10377,10511,11087&Targets=619,15951,2724,16970,1 515,11145,14921,18265&Values=30,46,50,61,73,82,91,100,110,150,682,917,1137,1285, 1557,1588,1598,1599,1600,1601,1697,1815,2675,2727,2743,4413,4418,4442,39896,4718 1,47734,48047,49553,49702,52263,52509,52738,52897&RawValues=ZIP%2C80201&Redirect =;ord=cwkeRIN,bdsoziWtbnox?. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.macrumors.com/ from frame with URL http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2224409576101196&d t=1193764276702&format=728x90as&output=html&correlator=1193764276702&channel=7440724589&url=http%3A%2F%2Fwww. macrumors.com%2F&color_bg=CBD3DE&color_text=000000&color_link=CC0000&color_url=0 08000&color_border=CBD3DE&ad_type=text_image&ga_vid=280090412.1193203054&ga_sid= 1193764275&ga_hid=892053144&ga_fc=true&flash=9&u_h=1200&u_w=1920&u_ah=1129&u_aw= 1920&u_cd=32&u_tz=-360&u_his=3&u_java=true&u_nplug=16&unmime=151. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://www.macrumors.com/ from frame with URL http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2224409576101196&d t=1193764276702&format=728x90as&output=html&correlator=1193764276702&channel=7440724589&url=http%3A%2F%2Fwww. macrumors.com%2F&color_bg=CBD3DE&color_text=000000&color_link=CC0000&color_url=0 08000&color_border=CBD3DE&ad_type=text_image&ga_vid=280090412.1193203054&ga_sid= 1193764275&ga_hid=892053144&ga_fc=true&flash=9&u_h=1200&u_w=1920&u_ah=1129&u_aw= 1920&u_cd=32&u_tz=-360&u_his=3&u_java=true&u_nplug=16&unmime=151. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://forums.macrumors.com/showthread.php?t=376423 from frame with URL http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2224409576101196&d t=1193764644335&format=728x90as&output=html&correlator=1193764644335&channel=8355507924&url=http%3A%2F%2Fforu ms.macrumors.com%2Fshowthread.php%3Ft%3D376423&color_bg=CBD3DE&color_text=000000 &color_link=CC0000&color_url=008000&color_border=CBD3DE&ad_type=text_image&ga_vi d=280090412.1193203054&ga_sid=1193764275&ga_hid=382955828&ga_fc=true&flash=9&u_h =1200&u_w=1920&u_ah=1129&u_aw=1920&u_cd=32&u_tz=-360&u_his=4&u_java=true&u_nplug =16&unmime=151. Domains must match.
    Unsafe JavaScript attempt to access frame with URL http://forums.macrumors.com/showthread.php?t=376423 from frame with URL http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-2224409576101196&d t=1193764644335&format=728x90as&output=html&correlator=1193764644335&channel=8355507924&url=http%3A%2F%2Fforu ms.macrumors.com%2Fshowthread.php%3Ft%3D376423&color_bg=CBD3DE&color_text=000000 &color_link=CC0000&color_url=008000&color_border=CBD3DE&ad_type=text_image&ga_vi d=280090412.1193203054&ga_sid=1193764275&ga_hid=382955828&ga_fc=true&flash=9&u_h =1200&u_w=1920&u_ah=1129&u_aw=1920&u_cd=32&u_tz=-360&u_his=4&u_java=true&u_nplug =16&unmime=151. Domains must match.
    [367] http://discussions.apple.com/resources/merge - Can't find variable: tinyMCE
    The "unsafe JavaScript attempts" are mostly referring to websites I've accessed this am.
    My concerns are:
    -What the heck is Network Spy Alert?
    -From the console log, any ideas what the HPEventHandler is or what the "HPTMNotificationManager" refers to? (Yes, I do have an HP printer but haven't sent anything to print today, so not sure why events need handling, unless this is some sort of automatic log-in thing?)
    -What is "MagicMenuHotKeyDaemon 363"?
    -What constitutes an "Unsafe JavaScript attempt?"
    My question, in a nutshell, is whether this is all par for the course and I'm just noticing it because I happened to be looking into the iPhoto issue, or is there reason to feel paranoid at the mention of "spy," "Third Party Client," "sync" and "unsafe?"
    Any info would be much appreciated!

    You have (at least) two different issues going on there.
    The first one (nsapAgent) is unrelated to the second (HPEventHandler's debug statement).
    nsapAgent is a component of Allume's Internet Cleanup, so I suspect it is something you installed - or at least someone there did.
    It may be that you're running an old version that is not compatible with your machine/configuration, but that's hard to tell.
    I'm pretty sure that the Unsafe JavaScript messages are coming from this app, too.
    I would expect that Allume's site would be a better source of information for that particular one.
    As for the HPEventHandler, I'm guessing you have some kind of HP device there - a printer, scanner, or some such. The error message indicates that app had a problem, but it's impossible to be more specific without more information.

  • My macbook pro keeps logging me out whenever I try to software update. How do I get it to stop and is this something I need to worry about?

    Recently my macbook started logging me out at random times and then I thought that maybe if I updated the software it won't do it anymore but whenever I go to click on the software update icon it logs me out. I'm worried that this might be something serious. Any ideas?

    You've posted this once already.

  • Why do not need to worry about Big and little Endian in Java

    Please help, I do not understand this concept please explain.
    The architecture of a CPU is either little-endian or big-endian; some modern CPU's allow a choice via software.
    The TCP/IP protocol standard specifies that all the bytes that make up an item must be sent in "network order", which happends to be big-endian. Intel Pentium CPU's are little-endian.
    This implies that on an Intel machine the TCP software will have to chop an int into bytes and then reverse the bytes before transmitting them.
    Why does the JAVA TCP software does not need to perform the reversal?
    Thanks,
    Alex

    Java doesn't give you direct access to the individual bytes of a larger data item such as an integer. For this reason you don't have the usual endian problems that occur in C. The actual handling of this is in the DataOutputStream and DataInputStream where the integer is coverted to and from bytes using arithmetic, not by fiddling with the internal structure.
    Note that regardless of the machine architecture the operation value%256 will return the low order 8 bits. It's less efficient than assigning an int* to a char*, but it's not fraught with the endian problems or any of the other hardware baggage.

  • Do I need to worry about Adobe Application Support Folder?

    Running Photoshop CS5 standard on Mac (snow leopard) on top of Photoshop CS4.  Ran into some problems with Adobe Bridge and thinking there might be a conflict between the two Photoshop versions I uninstalled Photoshop CS4 (apparently not smart).  Now on launching Photoshop CS5 a window appears with warning something like: missing files in Adobe Application Support Folder, use Photoshop installer to re-install PhotoshopCS5. Tech support tells me to deactivate Photoshop CS5 then uninstall it and reinstall from the Web where I downloaded it in the first place.
    Questions:  Should I care about this at all?  How about reinstalling Photoshop CS4 (I have the disc)?  Can I just download the Adobe Application Support Folder?
    I undated CS5 just now but it didn't fix the "problem".

    luchiangelo wrote:
    …Tech support tells me to deactivate Photoshop CS5 then uninstall it and reinstall from the Web where I downloaded it in the first place.
    That is very sound advice.  Do it.
    luchiangelo wrote:
    …Questions:  Should I care about this at all? …
    Yes, unless you don't want to run any Adobe applications any more.
    luchiangelo wrote:
    … How about reinstalling Photoshop CS4 (I have the disc)?
    It probably won't even let you install CS4 over CS5.  You would have to uninstall CS5 first.
    luchiangelo wrote:
    … Can I just download the Adobe Application Support Folder?…
    Nope; there's nowhere you could "download it" from.
    Just follow the advice of Tech Support.
    Wo Tai Lao Le
    我太老了

  • On a multiple member Icloud account, do I need to worry about my text messages being restored to one of the other phones?

    I have a multi family icloud acct.  i am concerned that my chat records can be recovered by someone else on the account.  is that a valid concern?

    Your text messages are only stored in your iCloud backup.  Someone else would need to restore your backup to their device in order to access them. 
    But you should be sure that everyone is using a separate Apple ID for iMessage on their devices to prevent you from seeing each others messages on your devices.  (This has nothing to do with iCloud.)

  • Do I need to worry about British Summer Time ?

    As an example a simple 3 program chain job using a set up schedule which is set to run at 10:00 and 16:00 hours daily Mon-Sat
    [repeat_interval   =>   'FREQ=daily; BYHOUR=10,16; BYDAY=mon,tue,wed,thu,fri,sat']
    The default timezone is currently set to Europe/London.
    Schedule start_time is set to TRUNC(systimestamp).
    I would expect and want the job to kick off at the next instance of 10:00; then at 16:00 with this frequency being repeated daily whether we are in BST or not.
    Based upon the above default_timezone and start_date settings, will the job run at 11:00 and 17:00 in BST (April to October) and revert to 10:00 and 16:00 (November to March) ?
    If so, what are the default timesone settings to use and the correct start date
    [E.G.: TRUNC(systimestamp); dbms_scheduler.stime() or something like To_TIMESTAMP_TZ('04-OCT-2010 10:00:00','DD-MON-YYYY HH24:MI:SS') ] which will allow the job to run correctly at 10:00 and 16:00 ?
    Also what would happen to jobs which run over the changeover times from BST to non BST ?
    Any help would be appreciated.

    Thanks for the info. It has put me on the right track.
    The key appears to be setting the timezone in both the scheduler default timezone AND in the start date (of the job or of the schedule if using a named schedule). All our jobs are run off named schedules so re-setting the start date does not affect running jobs and will only come into effect on the next job run. So re-setting can be done with no down time. Here are the results of my testing:
    In order to prevent changes to scheduled times when BST cuts ober in March/October each year:
    1.     set scheduler default timezone to Europe/London
    2.     set job or schedule start date to include the default timezone.
         If this is not done, the correct scheduled run times will be dependent upon when the job is set up (in GMT or BST)
         I.E.      set up in GMT: times will be correct for GMT and 1 hour out in BST
              set up in BST: times will be correct for BST and 1 hour out in GMT
    --check scheduler default timezone:
    select DEFAULT_TIMEZONE from dba_scheduler_global_attribute;
    Attribute_Name               Value
    DEFAULT_TIMEZONE               Europe/London
    cutover dates for 2010:
    Sunday 28 March 01:00 GMT - Sunday 31 October 01:00 GMT (02:00 BST)
    Results for cutover GMT to BST: Sunday 28 March 01:00
    DECLARE
    --set repeat interval
    interval_string VARCHAR2(100) DEFAULT 'FREQ=DAILY;BYDAy=MON,TUE,WED,THU,FRI,SAT,SUN;BYHOUR=1,2,3,4,23,00';
    start_date TIMESTAMP with time zone;
    return_date_after TIMESTAMP with time zone;
    next_run_date TIMESTAMP with time zone;
    no_of_days PLS_INTEGER DEFAULT 40;
    BEGIN
    --set start_date to include timezone     
    --start_date           := to_timestamp_tz('25-MAR-2010 00:00:00 Europe/London' ,'DD-MON-YYYY HH24:MI:SS TZR');
    --set start_date to NOT include timezone     
    start_date := to_timestamp_tz('25-MAR-2010 00:00:00' ,'DD-MON-YYYY HH24:MI:SS');
    return_date_after := start_date;
    FOR i IN 1..no_of_days LOOP
    DBMS_SCHEDULER.EVALUATE_CALENDAR_STRING(
    interval_string
    ,start_date
    ,return_date_after
    ,next_run_date);
    DBMS_OUTPUT.PUT_LINE('next_run_date: ' ||to_char(next_run_date, 'DY DD-MON-YYYY HH24:MI:SS TZD TZH TZR'));
    --DBMS_OUTPUT.PUT_LINE('next_run_date: ' ||to_char(next_run_date, 'DY DD-MON-YYYY HH24:MI:SS'));
    return_date_after := next_run_date;
    END LOOP;
    END;
    Result:
    The offset is incorrect pre change at GMT (+01) and offset correct post change at BST (+01); resulting in times being 1 hour out;
    resulting in times being 1 hour out.
    next_run_date: THU 25-MAR-2010 01:00:00 +01 +01:00
    next_run_date: THU 25-MAR-2010 02:00:00 +01 +01:00
    next_run_date: THU 25-MAR-2010 03:00:00 +01 +01:00
    next_run_date: THU 25-MAR-2010 04:00:00 +01 +01:00
    next_run_date: THU 25-MAR-2010 23:00:00 +01 +01:00
    next_run_date: FRI 26-MAR-2010 00:00:00 +01 +01:00
    next_run_date: FRI 26-MAR-2010 01:00:00 +01 +01:00
    next_run_date: FRI 26-MAR-2010 02:00:00 +01 +01:00
    next_run_date: FRI 26-MAR-2010 03:00:00 +01 +01:00
    next_run_date: FRI 26-MAR-2010 04:00:00 +01 +01:00
    next_run_date: FRI 26-MAR-2010 23:00:00 +01 +01:00
    next_run_date: SAT 27-MAR-2010 00:00:00 +01 +01:00
    next_run_date: SAT 27-MAR-2010 01:00:00 +01 +01:00
    next_run_date: SAT 27-MAR-2010 02:00:00 +01 +01:00
    next_run_date: SAT 27-MAR-2010 03:00:00 +01 +01:00
    next_run_date: SAT 27-MAR-2010 04:00:00 +01 +01:00
    next_run_date: SAT 27-MAR-2010 23:00:00 +01 +01:00
    next_run_date: SUN 28-MAR-2010 00:00:00 +01 +01:00
    next_run_date: SUN 28-MAR-2010 01:00:00 +01 +01:00
    next_run_date: SUN 28-MAR-2010 02:00:00 +01 +01:00
    next_run_date: SUN 28-MAR-2010 03:00:00 +01 +01:00
    next_run_date: SUN 28-MAR-2010 04:00:00 +01 +01:00
    next_run_date: SUN 28-MAR-2010 23:00:00 +01 +01:00
    next_run_date: MON 29-MAR-2010 00:00:00 +01 +01:00
    next_run_date: MON 29-MAR-2010 01:00:00 +01 +01:00
    next_run_date: MON 29-MAR-2010 02:00:00 +01 +01:00
    next_run_date: MON 29-MAR-2010 03:00:00 +01 +01:00
    next_run_date: MON 29-MAR-2010 04:00:00 +01 +01:00
    next_run_date: MON 29-MAR-2010 23:00:00 +01 +01:00
    next_run_date: TUE 30-MAR-2010 00:00:00 +01 +01:00
    next_run_date: TUE 30-MAR-2010 01:00:00 +01 +01:00
    next_run_date: TUE 30-MAR-2010 02:00:00 +01 +01:00
    next_run_date: TUE 30-MAR-2010 03:00:00 +01 +01:00
    next_run_date: TUE 30-MAR-2010 04:00:00 +01 +01:00
    next_run_date: TUE 30-MAR-2010 23:00:00 +01 +01:00
    next_run_date: WED 31-MAR-2010 00:00:00 +01 +01:00
    next_run_date: WED 31-MAR-2010 01:00:00 +01 +01:00
    next_run_date: WED 31-MAR-2010 02:00:00 +01 +01:00
    next_run_date: WED 31-MAR-2010 03:00:00 +01 +01:00
    next_run_date: WED 31-MAR-2010 04:00:00 +01 +01:00
    Re-set start date to include timezone
    I.E.:
    start_date := to_timestamp_tz('25-MAR-2010 00:00:00 Europe/London' ,'DD-MON-YYYY HH24:MI:SS TZR');
    The offset is correct pre change at GMT (+00) and offset correct post change at BST (+01); resulting in correct running times.
    Note also the 1 hour jump on Sun 28th March from 00:00 to 02:00 which omits the 01:00 schedule which does not exist for that day.
    next_run_date: THU 25-MAR-2010 01:00:00 GMT +00 EUROPE/LONDON
    next_run_date: THU 25-MAR-2010 02:00:00 GMT +00 EUROPE/LONDON
    next_run_date: THU 25-MAR-2010 03:00:00 GMT +00 EUROPE/LONDON
    next_run_date: THU 25-MAR-2010 04:00:00 GMT +00 EUROPE/LONDON
    next_run_date: THU 25-MAR-2010 23:00:00 GMT +00 EUROPE/LONDON
    next_run_date: FRI 26-MAR-2010 00:00:00 GMT +00 EUROPE/LONDON
    next_run_date: FRI 26-MAR-2010 01:00:00 GMT +00 EUROPE/LONDON
    next_run_date: FRI 26-MAR-2010 02:00:00 GMT +00 EUROPE/LONDON
    next_run_date: FRI 26-MAR-2010 03:00:00 GMT +00 EUROPE/LONDON
    next_run_date: FRI 26-MAR-2010 04:00:00 GMT +00 EUROPE/LONDON
    next_run_date: FRI 26-MAR-2010 23:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SAT 27-MAR-2010 00:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SAT 27-MAR-2010 01:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SAT 27-MAR-2010 02:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SAT 27-MAR-2010 03:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SAT 27-MAR-2010 04:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SAT 27-MAR-2010 23:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SUN 28-MAR-2010 00:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SUN 28-MAR-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: SUN 28-MAR-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: SUN 28-MAR-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: SUN 28-MAR-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: MON 29-MAR-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: MON 29-MAR-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: MON 29-MAR-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: MON 29-MAR-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: MON 29-MAR-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: MON 29-MAR-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: TUE 30-MAR-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: TUE 30-MAR-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: TUE 30-MAR-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: TUE 30-MAR-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: TUE 30-MAR-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: TUE 30-MAR-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 31-MAR-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 31-MAR-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 31-MAR-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 31-MAR-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 31-MAR-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 31-MAR-2010 23:00:00 BST +01 EUROPE/LONDON
    ===============================================================================================
    Results for cutover BST to GMT: Sunday 31 October 01:00 GMT (02:00 BST)
    DECLARE
    --set repeat interval
    interval_string VARCHAR2(100) DEFAULT 'FREQ=DAILY;BYDAy=MON,TUE,WED,THU,FRI,SAT,SUN;BYHOUR=1,2,3,4,23,00';
    start_date TIMESTAMP with time zone;
    return_date_after TIMESTAMP with time zone;
    next_run_date TIMESTAMP with time zone;
    no_of_days PLS_INTEGER DEFAULT 40;
    BEGIN
    --set start_date to include timezone     
    --start_date            := to_timestamp_tz('27-OCT-2010 00:00:00 Europe/London' ,'DD-MON-YYYY HH24:MI:SS TZR');
    --set start_date to NOT include timezone     
    start_date := to_timestamp_tz('27-OCT-2010 00:00:00' ,'DD-MON-YYYY HH24:MI:SS');
    return_date_after := start_date;
    FOR i IN 1..no_of_days LOOP
    DBMS_SCHEDULER.EVALUATE_CALENDAR_STRING(
    interval_string
    ,start_date
    ,return_date_after
    ,next_run_date);
    DBMS_OUTPUT.PUT_LINE('next_run_date: ' ||to_char(next_run_date, 'DY DD-MON-YYYY HH24:MI:SS TZD TZH TZR'));
    --DBMS_OUTPUT.PUT_LINE('next_run_date: ' ||to_char(next_run_date, 'DY DD-MON-YYYY HH24:MI:SS'));
    return_date_after := next_run_date;
    END LOOP;
    END;
    Result:
    The offset is incorrect pre change at BST (+01) and offset correct post change at GMT (+01); resulting in times being 1 hour out;
    resulting in times being 1 hour out.
    next_run_date: WED 27-OCT-2010 01:00:00 +01 +01:00
    next_run_date: WED 27-OCT-2010 02:00:00 +01 +01:00
    next_run_date: WED 27-OCT-2010 03:00:00 +01 +01:00
    next_run_date: WED 27-OCT-2010 04:00:00 +01 +01:00
    next_run_date: WED 27-OCT-2010 23:00:00 +01 +01:00
    next_run_date: THU 28-OCT-2010 00:00:00 +01 +01:00
    next_run_date: THU 28-OCT-2010 01:00:00 +01 +01:00
    next_run_date: THU 28-OCT-2010 02:00:00 +01 +01:00
    next_run_date: THU 28-OCT-2010 03:00:00 +01 +01:00
    next_run_date: THU 28-OCT-2010 04:00:00 +01 +01:00
    next_run_date: THU 28-OCT-2010 23:00:00 +01 +01:00
    next_run_date: FRI 29-OCT-2010 00:00:00 +01 +01:00
    next_run_date: FRI 29-OCT-2010 01:00:00 +01 +01:00
    next_run_date: FRI 29-OCT-2010 02:00:00 +01 +01:00
    next_run_date: FRI 29-OCT-2010 03:00:00 +01 +01:00
    next_run_date: FRI 29-OCT-2010 04:00:00 +01 +01:00
    next_run_date: FRI 29-OCT-2010 23:00:00 +01 +01:00
    next_run_date: SAT 30-OCT-2010 00:00:00 +01 +01:00
    next_run_date: SAT 30-OCT-2010 01:00:00 +01 +01:00
    next_run_date: SAT 30-OCT-2010 02:00:00 +01 +01:00
    next_run_date: SAT 30-OCT-2010 03:00:00 +01 +01:00
    next_run_date: SAT 30-OCT-2010 04:00:00 +01 +01:00
    next_run_date: SAT 30-OCT-2010 23:00:00 +01 +01:00
    next_run_date: SUN 31-OCT-2010 00:00:00 +01 +01:00
    next_run_date: SUN 31-OCT-2010 01:00:00 +01 +01:00
    next_run_date: SUN 31-OCT-2010 02:00:00 +01 +01:00
    next_run_date: SUN 31-OCT-2010 03:00:00 +01 +01:00
    next_run_date: SUN 31-OCT-2010 04:00:00 +01 +01:00
    next_run_date: SUN 31-OCT-2010 23:00:00 +01 +01:00
    next_run_date: MON 01-NOV-2010 00:00:00 +01 +01:00
    next_run_date: MON 01-NOV-2010 01:00:00 +01 +01:00
    next_run_date: MON 01-NOV-2010 02:00:00 +01 +01:00
    next_run_date: MON 01-NOV-2010 03:00:00 +01 +01:00
    next_run_date: MON 01-NOV-2010 04:00:00 +01 +01:00
    next_run_date: MON 01-NOV-2010 23:00:00 +01 +01:00
    next_run_date: TUE 02-NOV-2010 00:00:00 +01 +01:00
    next_run_date: TUE 02-NOV-2010 01:00:00 +01 +01:00
    next_run_date: TUE 02-NOV-2010 02:00:00 +01 +01:00
    next_run_date: TUE 02-NOV-2010 03:00:00 +01 +01:00
    next_run_date: TUE 02-NOV-2010 04:00:00 +01 +01:00
    Re-set start date to include timezone
    I.E.:
    start_date := to_timestamp_tz('27-OCT-2010 00:00:00 Europe/London' ,'DD-MON-YYYY HH24:MI:SS TZR');
    The offset is correct pre change at BST (+00) and offset correct post change at GMT (+01); resulting in correct running times.
    Note: no one hour jump on Sun 31st Oct
    next_run_date: WED 27-OCT-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 27-OCT-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 27-OCT-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 27-OCT-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: WED 27-OCT-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: THU 28-OCT-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: THU 28-OCT-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: THU 28-OCT-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: THU 28-OCT-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: THU 28-OCT-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: THU 28-OCT-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: FRI 29-OCT-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: FRI 29-OCT-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: FRI 29-OCT-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: FRI 29-OCT-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: FRI 29-OCT-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: FRI 29-OCT-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: SAT 30-OCT-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: SAT 30-OCT-2010 01:00:00 BST +01 EUROPE/LONDON
    next_run_date: SAT 30-OCT-2010 02:00:00 BST +01 EUROPE/LONDON
    next_run_date: SAT 30-OCT-2010 03:00:00 BST +01 EUROPE/LONDON
    next_run_date: SAT 30-OCT-2010 04:00:00 BST +01 EUROPE/LONDON
    next_run_date: SAT 30-OCT-2010 23:00:00 BST +01 EUROPE/LONDON
    next_run_date: SUN 31-OCT-2010 00:00:00 BST +01 EUROPE/LONDON
    next_run_date: SUN 31-OCT-2010 01:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SUN 31-OCT-2010 02:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SUN 31-OCT-2010 03:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SUN 31-OCT-2010 04:00:00 GMT +00 EUROPE/LONDON
    next_run_date: SUN 31-OCT-2010 23:00:00 GMT +00 EUROPE/LONDON
    next_run_date: MON 01-NOV-2010 00:00:00 GMT +00 EUROPE/LONDON
    next_run_date: MON 01-NOV-2010 01:00:00 GMT +00 EUROPE/LONDON
    next_run_date: MON 01-NOV-2010 02:00:00 GMT +00 EUROPE/LONDON
    next_run_date: MON 01-NOV-2010 03:00:00 GMT +00 EUROPE/LONDON
    next_run_date: MON 01-NOV-2010 04:00:00 GMT +00 EUROPE/LONDON
    next_run_date: MON 01-NOV-2010 23:00:00 GMT +00 EUROPE/LONDON
    next_run_date: TUE 02-NOV-2010 00:00:00 GMT +00 EUROPE/LONDON
    next_run_date: TUE 02-NOV-2010 01:00:00 GMT +00 EUROPE/LONDON
    next_run_date: TUE 02-NOV-2010 02:00:00 GMT +00 EUROPE/LONDON
    next_run_date: TUE 02-NOV-2010 03:00:00 GMT +00 EUROPE/LONDON
    next_run_date: TUE 02-NOV-2010 04:00:00 GMT +00 EUROPE/LONDON
    I created a little function to return the start date I want. The IN parameter is defaulted to NULL which will default to today:
    CREATE OR REPLACE FUNCTION get_start_date_with_timezone(p_start IN VARCHAR2 DEFAULT NULL)
    RETURN timestamp with time zone
    IS
    w_check timestamp;
    w_return timestamp with time zone;
    BEGIN
    IF p_start IS NOT NULL
    THEN
    --check if p_start is a valid date
    w_check := to_date(p_start, 'dd-mon-yyyy');
    --if you get here it is a valid date
    w_return := to_timestamp_tz(p_start||' 00:00:00 Europe/London' ,'DD-MON-YYYY HH24:MI:SS TZR');
    ELSE
    --set to midnight this morning
    w_return := to_timestamp_tz(to_char(TRUNC(systimestamp), 'dd-mon-yyyy hh24:mi:ss')||'Europe/London' ,'DD-MON-YYYY HH24:MI:SS TZR');
    END IF;
    RETURN(w_return);
    EXCEPTION
    WHEN OTHERS
    THEN
    RAISE;
    END;
    I'll use this function in a cursor for loop through dba_scheduler_schedules for the users I want using the dbms_scheduler.set_attribute.
    Thanks once again.

  • Can anyone tell me what this is and if i need to worry about this

    Terminate airdrop P2P link,
    then: StatusMonitor::copyMyAppleIDSecIdentity(CSIdentityErrorDomain -100,
    then Wormhole Server::copymyAppleIDSecIdentity returned Null,
    then firewall::::finder is listening from............................ addy is there
    then firewall: finder is listening from ................ proto=6
    all new messages in console when i connect through airdrop to a certain mac book user

    https://discussions.apple.com/thread/3380580?start=0&tstart=0

Maybe you are looking for

  • Online videos lagging on macbook pro

    I can't watch videos online without a considerable amount of video lag. I have high speed internet so I don't know what the problem is. I don't have that problem with my pc. Do you guys know what I can do?

  • Distinguishing the lowest test score in a while loop

    Hi, I am working on a program that collects a series of test scores from the user. The program should tabulate the scores and it should highlight the lowest score amongst the other test scores, but there within lies the problem for me. This is what m

  • Cosmos does not notify me there is new voice mail?

    My phone does not show new voice mail. Really causing problems since the only way I know I have new mail is by calling Verizon...

  • Computer stolen and all downloaded music lost

    Hi, I am trying to find a way to regrant a download of music I have purchased through itunes over the last three or four years. We had our computer stolen and all the downloads. While we have the music on our ipod and old iphone (bought a new one thi

  • How to AirPrint from Tray 2 on HP 8500

    I have an HP 8500A Premium A910 with two trays. I have selected tray 2 as my default because I keep #10 envelopes in tray 1 (the only tray in which they will fit). When I use Printopia to print from my iPhone via my home network the printer properly