Environment bug!

Can't take the credit for discovering this one, but can confirm it.
If you try to cable an object of an environment window to an object of another environment window, Logic 9.0.1 (with OSX.6.1) will crash... hard.

Yes, using the other method above. Could you please try this?
Open two environment windows. ie 2 completely separate windows and change the layer of one of them.
Now drag a cable from an object in one of the windows (Environment window 1) to an object in the other window (Environment window 2) without modifier keys...... It will crash.

Similar Messages

  • WebCache ESI Environment Bug

    I found a really stupid and frustrating but with the WebCache ESI Environment functionality.
    I have an ESI environment file containing key/value pairs (in a flat XML structure).
    I have another page which looks up values in this file, using the <esi:environment> and <esi:vars> tag to do the lookup.
    The bug concerns whitespace in the ESI environment file. Specifically, if you have the following at the top of the file:
    <?xml version="1.0" ?>
    ...it will not work. However, it does work if you have:
    <?xml version="1.0"?>
    i.e. no space before the last '?' character.
    XML parsing should be able to cope with this kind of extra whitespace. This is a serious and frustrating bug.
    Francis

    The XML parser currently used in Web Cache is not a general-purpose XML parser for better performance. It may be switched to a general-purpose one for limitations like this in the near future.

  • Reinstall JAVA Environment BUG 1955536

    We have to migrate a production database from 8.1.6 to 8.1.7.
    The new environment should include the XML Parser.
    So we found that when you go into problems with installation of
    JVM it's not possible to remove the JVM by rmjvm.sql
    BUG 1955536.
    Oracle suggestion: Rebuild your database.
    Is it realy true ?
    is anybody expierenced with removing JVM?
    Thanks.

    You need to uninstall jre too. After uninstalling it, delete the files in program files\java and again install j2sdk1.3.

  • Business one development environment bug

    I am using business one development environment version 1.3 with visual studio 2005 and have also been using version 1.1 with visual studio 2003. After using the wizard to help you include the necessary files of your add on project and you have clicked finished it creates for you .ard and .exe files. The thing is when you try edit the project later and build it or run it the add on does not execute, i explored and found out that the .exe file is re-created but the .ard is not when you build therefore rendering both useless.
    Anyone who has encountered this before? What help is there, since i cannot customize my add on installer forms?

    Hi Duncan,
    The B1DE does not recreate the ard file for you once the installer project has been created. However, it does create a batch file that you can use to easily recreate the ard file after each recompile of your installer project. You should find a subfolder called AddOnRegDataGenFile in the folder where you've created your installer project. Within this folder there is a batch file called AddOnRegDataGen.bat. All you have to do is double-click this file after you've recompiled your installer and it will recreate the ard file for you. This batch file and the accompanying xml file store the properties for your addon that are used in the ard file (eg installation time, version number etc) so you can edit these files if you want to change any properties prior to recreating your ard file.
    Kind Regards,
    Owen

  • Do you have the 'By Artist' bug on iPod Video 5G??

    Can anyone help me confirm these?
    The first one is so annoying, as it is effectively disabling a large number of my songs when I go to look for them by 'artist'. The second bug is just annoying!
    1. iPod 5G artist listing bug
    Environment:
    Bug occurs when an 'Artist' has songs attributed to only 1 album and you have tracks for that artist that are not associated to any album (album ID3 tag is blank on some tracks).
    Problem:
    When you browse to Artist, and select the artist, it jumps straight to the album listing of the 1 album you have, not allowing you to browse 'All' to see songs that are not connected to any album. The songs are definitely on the iPod though, as they are listed in the 'Songs' area. Desired behavior is for 'All' to list all tracks, both on albums and not.
    Supplemental: This needs to be fixed regardless - 'All' needs to be present on the screen if the artist only has 1 album but tracks not associated to that album - however, what may be a good addition is a menu option for browsing songs that have no album. - so you could go 'All' (and potentially be faced with a very long list of songs) or choose 'No album' (or similar) to show songs by that artist that have no defined album. I can see user behaviour in some tasks needing this option.
    2. Artist 'All' view song order bug
    Environment:
    When you have an artist that has many albums of content, all with songs.
    Problem:
    Go to an artist you have lots of albums for, then choose 'All' instead of an album. The tracks are ordered alpha *by album* (with the album details not shown, just the song names, obviously). The songs are not listed by 'alpha song title' as you would expect them to be. How on earth are you supposed to find anything on this list? This has to be a bug. Expected behaviour should be that if a user browses to an album, a user wants to see the tracks ordered by track listing, and if no track listing ID3 info, by alpha instead. However, when I go to 'All', I'd expect an alpha ordering by song title (unless shuffle was on, of course!). If you have one unit of information - song titles - ordered by another unit of information that isn't present or explained, then users consider the ordering to be 'random' instead. Please fix!

    Apple's response on your first issue:
    http://docs.info.apple.com/article.html?artnum=302773
    I agree that the second issue is kinda annoying (alphabetic listing of all songs when browsing through Artists -> [artist name] -> All)

  • To transfer data from one db table to anotherdb's table

    I have to transfer data from one db table A to another db table B.
    Both the tables have data which is common.
    I want to transfer data from table A to table B.
    Data transfer needed is only the excess data in table A

    Yes it works from one database to another by means of db links, but you should be aware that there it has been reported a bug with this environment:
    Bug 4311273 - ORA-2064 using MERGE statement over a database link
    Doc ID: Note:4311273.8
    Executing a MERGE statement over database link can
    fail with ORA-2064
    There are patches for this, but I suggest you to verify at metalink patch availability according to your Oracle version and OS platform.
    ~ Madrid

  • IBM DB2 is easier to administer than Oracle, is it true?

    Today i found a reference , here it is
    http://smarterquestions.org/2011/04/why-ibm-db2-is-easier-to-administer-than-oracle/
    http://blog.triton.co.uk/2010/12/db2-beats-oracle-database-in-final-task-showdown/
    they are saying "IBM DB2 is easier to administer than Oracle"
    another one saying "DB2 beats Oracle Database in final task showdown"
    so, whats your opinion sir ?
    Regards
    Halim

    I found below links of your interest :
    http://www.mssqlcity.com/Articles/Compare/oracle_vs_db2.htm
    http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems
    ftp://ftp.software.ibm.com/software/data/highlights/dbmscomparison.pdf
    I think these points will be part of comparison :
    ===========================================================
    Issue               
    ===========================================================
    CODD Rules
    Price
    Support
    Hardware requirements
    Software requirements
    Documentation
    Administration/Manageability
    Performance
    Job opportunities
    Scalability
    Portability
    High Availability
    Application Development
    Business Intelligence
    Integration
    Connectivity and Interoperability
    On-demand and Grid-Computing
    Cloud Environment
    Bugs
    Native network encryption     
    Brute-force protection     
    Enterprise directory compatibility     
    Password complexity rules     
    Patch access     
    Run unprivileged     
    Audit     
    Resource limit     
    Separation of duties      
    Security Certification
    Partitioning
    Data Domain     
    Cursor     
    Trigger     
    Function     
    Procedure     
    External routine
    Data Types
    Union     
    Intersect     
    Except     
    Inner joins     
    Outer joins     
    Inner selects     
    Merge joins     
    Blobs and Clobs     
    Common Table Expressions     
    Windowing Functions     
    Parallel Query
    Indexes and their Types
    Temporary Tables
    Materialized Views
    Limitations/Max sizes
    ACID     
    Referential integrity     
    Transactions     
    Unicode     
    Interface
    Supporting OSs
    Exception handling
    Backups
    OLTP,DSS,VLDB
    Certification/CoursesI am just pasting these points from above links and couple of points from different links though.
    Now, your question. IBM DB2 is easier to administer than Oracle, is it true? What if i or someone says Yes or No. Will you simply ignore above points ?
    Regards
    Girish Sharma

  • Environment Transformer - Randomize Pitch ::: Bug or Feature (Article)

    Hello,
    There are quite many discussions lately about the Logic Environment Transformer "Randomize Note Pitch" operation. By default it does not work as expected passing thru the original Note events data. That's why many Logic users think that it is a bug. Unfortunately this FAQ has never been answered correctly in all Logic forums, PRO training books/workshops, articles etc. As a result, many Logic users contacted the Audiogrocery (which is specialized into Logic Environment & MIDI FX developments). Here is a step by step explanation:
    Bug or Feature?
    It is a Logic self-protection feature! The Environment Transformer object is a complex scripting tool which consists of heavy codes created by the genius Emagic developers more than 15 years ago. There are hundreds of combo settings you can use but a few ones are Protected! The Note Pitch Randomization is one of them - why?
    (Fig.1)
    The example  (Fig.1) shows a triggering note D2 which passes thru the Transformer Pitch Randomizer (Pitch Condition) without any result. The programing reason which blocks that is [B]Note Hanging[/B]!
    Bear in mind that this Transformer setting randomizes ([B]in force Mode - see below[/B]) the Note ONs and the OFFs in a different way causing hanging notes. The factory Script: Note receiving (Condition) & Pitch Random (Scale Operation Assignments) is designed to block such Combo setting because it requires perfect Note ON randomizing registrations followed by proper Note OFFs - see the last Macro tool shown in this article below.
    Force Mode - Note to P-Press (Example)
    Let's force that limitation (Fig.2). In this test you can set the Operation "Status" to Control Change, Fader, P-press etc . In my scenario I have set the Operation Condition to "P-press" status, keeping the original Pitch Random Range "C3- G3".
    [B]Note[/B]: The Transformer is forced and works as expected now! However the Monitor object shows P-Press (ON event F3) and (OFF event E3) which do not match each other and will cause Note hanging for sure - see below!
    (Fig.2)
    Force Mode - Note to P-Press & P-press to Note
    Let's patch/cable one more Transformer object which will transform back the forced "P-press" randomization into Note events (Fig.3).
    (Fig.3)
    This image shows clearly that the source triggered Note (D2) is randomized into D#3 Note ON (according to the 1st Transformer "Rand" setting) while the Note OFF is randomized to E3 which does not match the Note ON! This Environment "Forcing" scheme will cause "Note Hanging"!
    Solution
    The main purpose of this article is to show that this "issue" is a Logic self-protection feature! However there is a forcing method alternative which can put that into work. As I mentioned before you can patch/cable a few Transformers to register the Note ONs event numbers during the randomization and use that register scheme to send proper Note OFFs numbers to the Instrument. Such complex Environment setup takes no more than 5-6 Transformers which can be packed into a Macro (Fig4).
    (Fig.4)
    As you see the Note Pitch Randomizer example Macro shown in Fig.4 sends proper Note OFFs Numbers to the Instrument device.
    A.G

    Hi Mark,
    According to your description, my understanding is that the Article Date column displayed with the value based on GMT0 in the Refinement web part.
    Microsoft SharePoint stores date and time values in Coordinated Universal Time (UTC, but also named GMT or Zulu) format, and almost all date and time values that are returned by members of the object model are in UTC format. So the value
    of the Article Date column stores the date and time in UTC format in the database, and the search indexes the UTC value of the Article Date column after crawling the database so that it displays the UTC value in Refinement web part.
    The list column values displayed in the lists that are obtained through the indexer for the SPListItem class are already formatted in the local time for the site so if you’re working on current context list item and fetch a datetime field
    like so SPContext.Current.ListItem["Your-DateTime-Field"] you’ll retrieve a DateTime object according the specified time zone in the regional settings.
    More references:
    http://francoisverbeeck.wordpress.com/2012/05/24/sharepoint-tip-of-the-day-be-careful-when-wor/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • LPX: Environment-mixer layer bug when moving channel strips

    Please test if you experience the same bug on your system: Open a LP9 song in LPX - go to Environment / Mixer layer - move a few channel strips a little. I tested on two computers and the channel strips jump to random locations. It doesn't happen with all of them right away, so you might have to move a few of them initially. But eventually (after a minute max) most if not all exhibit this behavior.
    I also had this happen in new LPX songs.
    Please let me know if you are able to reproduce this.

    Right Jeanne, should have realized.
    A good workaround for this, if you want to see the mask as you move or transform, is to just hit the backslash key to see the rubylith of the alpha channel. That displays correctly.
    CB

  • Creating a Bug after Launching the Project into Production Environment

    Hello My Friends;
    As I'm New in Implementing TFS 2013, would U advise me How to open a new Bug - after Launching The Project in to Production Environment which has already conducted more than a year ago before implementing TFS. So, a Bug has come from the Business Colleagues.
    I'd like to open a new Bug on TFS ?!
    What Repro Steps Mean ?!
    Thanks for your supportRegards;
    EB

    Hi EB,
    Thanks for your post.
    After you connected to team project using your VS, you can open a new Bug work item in VS, please refer to the steps in this document:
    https://msdn.microsoft.com/en-us/library/dd293538.aspx.
    The Repro Steps mean: provide the detailed reproduce steps there, then developer can follow the detailed steps to reproduce this bug and try fix it.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Bug Datepicker icon position in RTL environment

    Hello everybody!
    My ApEx version is  4.2.3.00.08 on Oracle 11g R2 Windows 64 bit platform.
    My application is Right To Left oriented (language is Hebrew) - it's working application which has been RTL adjusted.
    When using new Date picker (j Query) I get date picker icon to the right of input field while for Classic Date picker icon comes to the left of input field which is proper behavior for RTL oriented application.
    Is there any way to change this behavior for new Date picker i.e. from the right to left the order of objects will be: label - input field - date picker icon
    Thanks and best regards
    Mark

    Nicolette, thank you very much.
    It's very strange, but when instead of apex.jQuery('.hasDatepicker').datepicker("option","isRTL",true); I use apex.jQuery('.hasDatepicker').datepicker("option","isRTL",false); it works correct and icon appears to the left of input field.
    I suppose that it can be a result of RTL oriented application  in combination with jquery.ui.datepicker-he. In your demo application when it's LTR application (jquery.ui.datepicker-en.js) it behaves as expected.
    I'll try to stay with apex.jQuery('.hasDatepicker').datepicker("option","isRTL",false);
    Another point. You suggested to define dynamic action on global page. You meant page 0? I tried but unsuccessfully while when defined in dynamic action on specific page it's OK. I did it in my test application
    Do you think it still should be reported as a bug?
    Thanks
    Mark

  • Bug Alert - MIDI Environment

    Probably nothing to most people but mission critical to me - arpeggiators used live with a length of 'Original' put out no signal at all any more - worked fine through the last many versions of Logic. Total show-stopper, total loss of the cost of upgrade, I have no choice but to go back to Ver 7. (Can't find out where to report a bug either!)

    here is the URL for logic feedback...
    http://www.apple.com/feedback/logicpro.html

  • Potential JavaSSO and Custom Login Module Bugs In Clustered Environment

    We've been working with the custom login modules and JavaSSO and have found issues with deployment on 10.1.3.2 in a clustered environment. Deployment on a single server looks like it is working properly.
    I'm wondering whether any one here has been using CLM with JavaSSO and have deployed in a clustered application server environment? I've posted in the past regarding this in the OC4J side, but never got a response, so I thought I'd try the experts here...
    Here are some TARS that we've logged. Any help from the community would be appreciated.
    6320304.994 JAVASSO JSSOUTIL.LOGOUT FUNCTION REDIRECT NOT WORKING ON CLUSTER
    6365407.993 SETTING <distributable/> TAG IN WEB.XML CRASHES APPLICATION
    6338664.992 JAVASSO LOGIN PAGE DOES NOT LOGIN USER BUT RELOADS LOGIN PAGE
    Thanks!
    Kenton

    Hi Kenton,
    Specifically, what were the issues that you ran into when clustering JavaSSO? Was it a problem only when combined with the Custom LM?
    As long as the same CLM is configured for your app (I assume this is also clustered) and JavaSSO, that should be sufficient. Obviously, CLM need to be configured against the same user repository.
    If the apps were on different hosts, did you remember to set the property "custom.sso.cookie.domain" to set the right domain name in the cookie? Otherwise, you will keep getting redirected to the login page.
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28957/javasso.htm#BABJCGCB
    -skt

  • Gross Bug Affecting Production Environment... Kindly provide a solution

    ####<Sep 13, 2012 9:59:19 AM IST> <Error> <HTTP> <icustodyappdakc> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1347510559181> <BEA-101020> <[ServletContext@1646011178[app:AAL module:AAL.war path:/AAL spec-version:null]] Servlet failed with Exception
    java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
         at java.util.LinkedList.entry(LinkedList.java:365)
         at java.util.LinkedList.get(LinkedList.java:315)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
         at com.orbitech.security.armor.aal.AALInterceptor.doFilter(AALInterceptor.java:762)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.orbitech.security.armor.aal.NoCacheFilter.doFilter(NoCacheFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    When exactly you got this error.
    I mean while startup of server or while accessing the App.
    Regards,
    Kal

  • JRE bug or Windows Vista error?

    Hi everybody. I have a problem with the report generation. I'm using HSQLDB 1.8 as dbms. I am using Hibernate too but I am using a JDBC connection for the reports. I designed some reports with iReport 4.0. I have two types of reports in my application, the first type prints invoices and the second type prints sales reports.
    For the second type I need to include dates (using this notation '2011-1-1') in the WHERE statement. This kind of reports produces an exception but not the first type. This is the message when I request a sales report (I deleted some lines):
    net.sf.jasperreports.engine.JRException: Error executing SQL statement for : salescake
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecu ter.create Datasource(JRJdbcQueryExecuter.java:169)
    at net.sf.jasperreports.engine.fill.JRFillDataset.cre ateQueryDa tasource(JRFillDataset.java:684)
    at net.sf.jasperreports.engine.fill.JRFillDataset.ini tDatasourc e(JRFillDataset.java:605)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.setP arameters( JRBaseFiller.java:1281)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFil ler.java:901)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFil ler.java:845)
    at net.sf.jasperreports.engine.fill.JRFiller.fillRepo rt(JRFille r.java:58)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(Jas perFillManager.java:417)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(Jas perFillManager.java:247)
    at com.reports.SalesByCustomerReport.showReport(Sales ByCustomer Report.java:24)
    at com.presentation.SalesByCustomerInternalFrame.view InvoiceBut tonActionPerformed(SalesByCustomerInternalFrame.ja va:231)
    at com.presentation.SalesByCustomerInternalFrame.acce ss$100(Sal esByCustomerInternalFrame.java:17)
    at com.presentation.SalesByCustomerInternalFrame$2.ac tionPerfor med(SalesByCustomerInternalFrame.java:87)
    at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)
    Caused by: java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [select I.INVOICE_NUMBER, I.SALE_DATE,I.CONSIGNEE,I.DESTINATION_COUNTRY,I.DE LIVERY_CON DITIONS,P.TARIFF_ENTRY,P.LOT,P.DRY_NET_WEIGHT,I.TO TAL
    from INVOICE I, PRODUCT P
    where I.INVOICE_ID=P.INVOICE_ID and I.CONSIGNEE='CONSORCIO MINERO S. A.' and I.SALE_DATE>='2011-1-20' and I.SALE_DATE<='2011-14-20' ]
    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.executeQuery (Unknown Source)
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecu ter.create Datasource(JRJdbcQueryExecuter.java:163)
    ... 48 more
    I tested this query in the HSQLDB utility and it is correct. I am thinking that the problem could be the JRE, I am using this one:
    C:\Program Files\Java\jre6\bin>java -version
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
    As you can see, my Windows Vista pc can't recognize the java command so I have to call it specifically from the directory where it is located. Maybe the problem is that I am using Windows Vista (I know it sucks but I had no time to change it).
    When I copy my program to my Windows XP computer it works fine. All the reports are shown correctly. This pc has this JRE:
    C:\Documents and Settings\Manuel & Juancho>java -version
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
    There is no problem to recognize the java command.
    Let me tell you something. Is it possible that HSQLDB or iReport can delete the database content? It happened to me. I was designing my last report and a "No pages in document" message was shown. I thought that I was wrong. Finally I checked the database and there was no data! What is the problem?
    Please help me.
    Thanks in advance.

    853741 wrote:
    For the second type I need to include dates (using this notation '2011-1-1') No, you should not be using any notation. Presumably it's a DATE or DATETIME column. So you use a PreparedStatement's setDate() or setTimestamp() method.
    in the WHERE statement. This kind of reports produces an exception but not the first type. This is the message when I request a sales report (I deleted some line
    Caused by: java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentExceptionI expect that kind of error would be less likely with PreparedStatements.
    I tested this query in the HSQLDB utility and it is correct. I am thinking that the problem could be the JREAs already pointed out, for something so trivial, it's extremely unlikely that you've uncovered a JRE bug.
    As you can see, my Windows Vista pc can't recognize the java command Because you haven't set up your PATH correctly.

Maybe you are looking for

  • HP Officejet Pro 8100 - AirPrint - wireless

    My HP Officejet Pro 8100 had been working just fine with AirPrint, but then I changed my wireless router and I've forgotten how the printer was configured originally. I only use the 8100 with my apple iPhone 4S, it's not connected to any computer and

  • I have error facing an error continuously on photoshop - Adobe Photoshop cc 2014 has stopped working.how can i resolve it?

    how can i resolve it?

  • Photo sort on Iphone

    My photo events in Itunes are in alpha order. When I sync to Ipad they appear in the exact same order but on my 3Gs they are in some random order that I can't make out. How do I get them to appear in alpha order like on Itunes and Ipad? I've tried ev

  • USB Flash Drive not working

    I have purchased a USB FLASH DRIVE v112b 16GB on 26.12.13 from HP dealer in Agartala. after using 2 months I'm facing problems with it. Suddenly  an error is showing " you need to format the disk before you use it but format is not possible as anothe

  • Simple questions of a new macbook pro user

    i have the 13 inch macbook pro 2011 .firstly what is the core function of the thunderbolt port.secondly i know how to calibrate my mac battery( which runs 3-4 hours maximum) in order to to increase battery efficiency but how do i do this long process