Question to a developer ?

Hello,
As many people, I try to prevent the (programmed) death of my external hard drives by allowing them to stop spinning when they are not required (in system preferences > Energy saver > put the hard disk(s) to sleep when possible.
This is a nice work around the fragility and crappy components used in today's hardware.
But this also the best way to drive you out of your mind, for example when you are simply browsing in Safari, and all in a sudden, Mac OS decides it absolutely needs to check something that is on one of your idling external disks, and not only you don't understand why it would have anything to do with these drives, but also you get stuck waiting there until your drive finishes to start up again before being able to continue browsing. This doesn't happen only in safari : Mac OS seems to have been designed to "randomly" need to use your external drives even if there is no apparent reason for it to need them. Sometimes the drives even start up one AFTER the other, making the unnecessary waste of time even more enjoyable!
I am sure everyone can agree the decision to have this work this way, was not taken on a very productive meeting in Apple Developement seminaire in the Caribbean.
So I would really enjoy an answer to :
• why would my computer need to access an external hard drive to load a page in a browser (it works fine when my drives are not plugged in you know..)
• why did a developer team think it would be a good idea to simply BLOCK all possible user activity, and just leave him hang there until the drive he never even asked for in the first place finishes spinning back up
Peace

Since this is a user forum and there aren't any Apple employees, I'll respond, but from the standpoint of being a sometimes Linux kernel hacker...
First, spinning down drives isn't hedge against hardware failure, but an energy-saving feature. Truth is that spinning down drives doesn't impact hardware life. When drives are spun down, there's clearly no mechanical wear, but the act of spinning them up or down produces more wear than leaving them spinning. In the end, the increased wear of spin up/down is offset by the reduced wear of the idle state -- meaning the setting has no net benefit (or detriment) with regard to wear on the drive. Energy-wise, though, the impact can be substantial.
With regard to drive access... UNIX systems in general, and including OS X, use a considerable amount of caching on disk I/O. Writes can queue for a while and may flush when caches fill or when the system idles, and reads will be from cache unless the cache is polluted or an object isn't in a cache. Web browsers in particular do astonishing amounts of I/O - each graphical element is a file, cookies are stored in a database, Javascript can have local storage, Flash can write temporary files, documents are cached, images and links are preloaded, etc.
That said, most of those cache misses will affect the boot-disk. If other drives (like externals) are spinning up, then it may be any number of causes. First, there's periodic tasks that run in the background that defragment files, refresh indexes, etc. If you have security software, it will periodically enumerate disks for scanning (waking everything up), and there are models of external drives (mostly cheap USB models) that require that they be polled periodically or they go to sleep entirely and disconnect.
Disk accesses are generally asynchronous, however, and should not affect the browser. The only reason that it would block is if the browser is making a request for disk enumeration. That would only happen if the page has Flash or Java content that requests it. Normal HTML wouldn't have that issue. Unfortunately, both Flash and Java (not JavaScript) do have features whereby they internally request and accounting of all the attached volumes. When they make that request, they block the browser until the function returns. You could always ask Adobe or Oracle to address that.

Similar Messages

  • Dumb newbie question on iphone development

    Hi there, just a quick dumb question: Can i develop Iphone apps in Windows platform? This is b'coz I dun have Mac machine.

    a simple answer is YES in opposite of what you read here.
    +I'm a .NET developer and I started building web apps in .NET (ASP.NET).+
    The iPhone/iPod Touch supports 2 different ways to develop something for it, a Web Application (applications that runs on Safari browser, like Facebook and Wordpress) and a SDK Application (Self contain applications, like games, utilities, etc). *Under Windows, you can do any Web Application*, you will need a Mac to do SDK Applications
    Reading the Wrox book entitled: Professional iPhone Application Development (ISBN 0470251557) in page 5 the writer tells about 4 levels to do Web Apps:
    *Level 1 - Full compatible website/application*
    The ground level approach is to develop a Web site/app that is “ iPhone/iPod touch – friendly ” and is fully compatible with the Apple mobile devices. These sites avoid using technologies that the Apple mobile devices do not support, including Flash, Java, and other plug - ins. The basic structure of the presentation layer also maximizes use of blocks and columns to make it easy for users to navigate and zoom within the site. This basic approach does not do anything specific for iPhone/iPod touch users, but makes sure that there are no barriers to a satisfactory browsing experience.
    (just like http://del.icio.us/
    *Level 2 - Web site/application optimized for Safari*
    The second level of support for iPhone and iPod touch is to not only provide a basic level of experience for the Mobile Safari user, but also to provide an optimized user experience for users who use Safari browsers, such as utilizing some of the enhanced WebKit CSS properties supported by Safari.
    *Level 3 - Dedicated iPhone/iPod Touch web site/application*
    A third level of support is to provide a Web site tailored to the viewport dimensions of the iPhone and iPod touch and provide a strong Web browsing experience for Apple device users. However, while these sites are tailored for iPhone/iPod touch viewing, they do not always seek to emulate Apple UI design. And, in many cases, these are often stripped - down versions of a fuller Web site or
    application.
    (just like Amazon.com and Facebook)
    *Level 4 - Native - looking iPhone/iPod touch application*
    The final approach is to provide a Web application that is designed exclusively for iPhone and iPod touch and closely emulates the UI design of native applications. One of the design goals is to minimize user awareness that they are even inside of a browser environment. Moreover, a full - fledged iPhone application will, as is relevant, integrate with iPhone - specific services, including Phone, Mail, and Google Maps.
    I did 2 web apps using Dreamweaver for Windows, using Level 4, coding plain HTML - there is no visual aid, but you just pick up an iPhone/iPod Touch (or if you don't have this, use Safari browser or any WebKit Browser).
    You can always start here
    Remember, if you really want to build a self contain application in Objective-C/Java, then you need a Mac running Leopard (Mac OS X 10.5), with XCode (the Mac Visual Studio) and the iPhone SDK
    Hope that with this you can see some light under Windows

  • General questions about mobile development

    Hello all,
    We need to choose a multi-targeting development platform for mobile devices and need some expert views before deciding. Our options are going ahead with HTML 5 and CSS (which limits us in some ways, especially file uploading and downloading limitations with mobile Safari) and of course Adobe Air.
    I have some questions and appreciate if you answer them.
    What do you think? Is mobile development with Adobe Air is mature enough?
    Is there a need to install Adobe Air runtime before running mobile applications or the runtime is embedded to the application in some way?
    Is it possible to access file system of mobile devices?
    Is it possible to use SQLite on iOS or is there an alternative?
    In a comment to a blog post, someone said that Apple doesn't allow Flash to communicate with web, is that true? (I don't think it's true but needed to confirm)
    This is it for now, thanks in advance.

    Lots of questions! Here are answers in the order you said things:
    Amongst HTML5 limitations is the ability to play sound. If you look at Google's version of Angry Birds, it uses Flash to play the sound. That wouldn't be possible in iOS.
    Adobe AIR is very nearly mature enough. Lots of people already have apps in the stores with the current version, but one of these days it will get better still.
    The runtime is part of the app package on iOS. With Android the device may come with AIR installed, but if not, only the first AIR based app the user installs will trigger an automatic install of AIR, or an update of that if need be.
    You can't roam around the file system of mobile devices, but you can save and load data.
    I don't know if you can have SQLite in AIR based apps. If that becomes the most important feature, and if AIR doesn't do it, you could look at LiveCode, it supports SQL. http://www.runrev.com/
    Flash cannot load in anything from the web that includes executable code. That isn't a Flash limitation, it's an iOS restriction. It can use images, sounds, video, and Flash animations from the web. And it can read from or write to web services.

  • Question about HSL Develop Controls vs. Photoshop Selective Color

    Im an advanced Photoshop user and I enjoy shooting landscapes, macros and abstracts. Ive just started to experiment with Lightroom and have used it to process several hundred shots from a recent trip to the California Coast.
    Even though my usage of the next Develop controls in Lightroom is still pretty limited, I find the new Basic Develop and Tone Controls to be very intuitive to use and Im getting better results than I could from Adobe Camera Raw 3.7 and earlier. Therefore, kudos to the Lightroom team.
    But, I also have some questions regarding the HSL controls and what seems to be an omission of some useful functionality. To help with framing my question lets assume that we have shot of a waterfall in the forest. The waterfall is in partial shade and the rest of the scene is in partial to full sun. Also the histogram for image indicates that a blend of several bracketed images isnt needed to deal with the overall dynamic range within the scene.
    If I was processing this shot in Photoshop, I would likely adjust the overall White Balance / Exposure / Black Clip / Contrast / Brightness in Camera Raw and then finish the image within Photoshop. Since the water of the waterfall described above is in the shade, it will likely have a color cast relative to the White Balance that I set for the rest of the image that is full sun.
    With Photoshop, I would often set a couple of sample points and then use a Selective Color layer to correct for the color cast in the whites of the water and to neutralize the blacks in the shade. I would also sometimes increase the amount of black in the Selective Color Blacks tab to enhance the image contrast. These adjustments could have layer masks associated with them but for this example lets assume that the dont need any mask. Thus, I would hope that I could accomplish the same type of globally based whites and blacks color cast removal within Lightroom but I cant seem to find a way to accomplish this.
    With Lightroom, I see that there are a set of HSL controls that should be able to handle much of what Selective Color could handle on a global level within Photoshop but I dont see any controls to deal with the Whites or Blacks. Am I missing something? Is there a way to accomplish the type of correction that I described above with Lightroom or am I going to have to take the image out to Photoshop and use Curves and/or Selective Color?
    Dave

    Fred, Richard - Thanks for responding.
    I've tried the TAT tool but it only controls the colors controlled by the sliders in the HSL palette. Therefore, it doesn't seem to have any affect on the hue of the whites or blacks in a picture.
    Regarding selective editing, I realize the the controls within Lightroom are global but unless I use a Layer Mask the Selective Color functionality within Photoshop is also global. That is, if I change the hue of the blacks then all blacks are affected. Hence, it seems to me that the HSL controls within Lightroom and the CYMK controls within Selective color can be used to do much the same thing. The big difference is that the Selective Color control set include the ability to adjust blacks and whites but this isn't included within Lightroom.
    I also posted my message in the ACR forum as ACR 4.0 is going to include the same set of controls that the Develop module in Lightroom contains. Someone there suggested that I might be able to use the split toning controls to warm up the shadows and I will give this a try. I also plan to post in the Feature Requests Forum.
    Thanks again for your help.
    Dave

  • Three questions about the developer tools

    At my company we have evaluated this very handy tool, and we have only three questions...
    * Will the autocomplete feature be more intelligent. For example pl/sql developer recognize partially written table names and suggest a full name.
    * How to debug and step through the procedures?? This is a MUST!!!!
    * Is it possible to add source control integration (source safe) for the packages/procedures?
    With these features, it will be super!!
    /henrik

    When I was at the VSLive in San Francisco back in February, I spent some time at the Oracle booth and I asked for Source Control also.
    I was told to my happy suprise that lots of other developers had been asking for that also but I was shocked when the Oracle reps told me that they didn't understand why people would want this feature or how they would use it. They tried to convince me that "Generate Create Script" was what I wanted.
    Btw, "Generate Create Script" ticks me off. It always sticks the package owner in the create script and when I check it back in VSS I have to go in and edit it back out!!!
    It seems to me that the mindset behind many Oracle tools is to work "on the database". I will admit that I don't use many Oracle tools. I used Procedure builder a few times but thats about it. To me it seemed pretty clunky, but it was nice to be able to debug a stored procedure. Or it was until you crashed the SP and it became locked in the database and un-updatable without a bounce ;)
    Most developers that I know, prefer to work "on their hard-drives" and publish to the database or some variation on that.
    I would love to see a tool for editing SPs and Packages where I could check out my code, make a change, compile it on the DB, and check my changes back into the source control. One more catch, we use VSS's ability to update the version number in a source code file on check-in so the version that ends up in the DB should have the "new" version number in the comment header.
    Also, the "Auto Code Generation" tool is not geared towards the type of code I write. I thought we were supposed to get away from writing data access code in our forms? Yet, this tool throws all kinds of stuff in for doing just that and no tools to make it easier (that I could find) to create a data acces layer for wrapping my stored procedures and packages. Where are these tools, Oracle? Help us write better code, not worse.
    The autocomplete is nice, but I have trouble with it. For example, if I type a table name and "." it will bring up all the columns in the table. If I type "R" it scrolls to the first column that starts with "R". But if I type "S" next, instead of scrolling to the first column that starts with "RS" it spits out the currently selected column and sticks an "S" on the end. Other times it doesn't work at all.
    The "Query" window is next to useless. It should work more like a SQL Plus (DOS) window. Or at the very least more like a SQL Server Query Analyzer Query window. I'll keep my SQL Plus until this is way better.
    Hopefully the next version (or 2 or 3) will be better. I hope Oracle is listening. They did acknowledge that other developers were asking for some of the same improvements.

  • Questions about Oracle Developer

    Hi,
    Can anyone provide me with information regarding the difference between Oracle Developer 6.0 and Oracle Developer Server 6.0? I need to use the Developer tools to connect to a remote server for development purpose and would like to know which software I have to use.
    Thanks!

    Hi! Please post this question in the Forms6i or Oracle Reports forums. Forms and Reports were previously parts of Oracle Developer.
    Thanks!
    -- Brian
    null

  • A question about game development

    How much time would it take you to make a game from planning to the final testing?
    And for those of you that will say that it depends on the game, here is a more specific example: How much would it take you to develop a backgammon game, with computer AI included?

    Well, it still is dependant on many other things..
    For one, how much people are working on it. what are their skills, what are the exact specs of the game...
    We can't look into a glass marble and tell you how long it will take ;)

  • Questions related SQL Developer Data Modeling

    1) Is it possible to import ERwin 3.5.2 version(called as Platinum Erwin) erx file to SQl developer data
    modeling tool?
    2) When this tool going to be released as a standalone Product?
    3) One of our requirements is calculating Table and Database size from Data model tool(as a volumetric
    report). Is it possible in this tool?. Also i couldn't able to define storage properties(like Tablespace).

    I have also replied to you in the feedback application where you logged your query. I have added my response here for others who may be interested.
    1)We currently only support import from ERwin 4.x
    2) It is company policy not to disclose release dates. We plant to release in 2009.
    3) You can define Tablespace using the Physical model. Expand the Relational node and then the physical model. The two nodes you can use for your tablespaces are the Tablespaces and Segment Templates nodes.
    Regards
    Sue Harper

  • Oracle 1Z0-242 Exam Questions (PeopleSoft Application Developer II )

    Folks,
    Hello. I am working on 1Z0-242 exam. I have freely downloaded the exam questions for PeopleCode and Application Engine. But I cannot find any questions for Integration Tools.
    Do any folks know where to freely download 1Z0-242 exam questions for Integration Tools ? Or, do any folks have taken 1Z0-242 exam and have a copy of 1Z0-242 exam questions ? Please let me know.
    Thanks in advance.

    Hi,
    Did you get all the Q&A for this exam? Could you please share what you got for free?
    or you can tell me where to download from.
    Thanks,

  • Question regarding the developer program

    I'd like to enroll in the iphone developer program.
    After selecting the individual application, I cant submit my personal profile without supplying a 'Company / Organization' name.
    Do I need to open a company and specify my company name in that field?
    Or do I specify my full name?
    Thanks.

    It is not that it impossible, it is that your account is going to be royally screwed up. There is money involved here. Why would you take a chance on it getting misdirected? Getting any kind of problem corrected with a developer account can take months or even years. I'm serious here. The Apple Developer system doesn't even support changing your address.
    You can have multiple Apple IDs. From Apple's prespective, each one is a different person. Apple recommends using multiple Apple IDs if you are selling products on both the iBookstore and the App Stores, for example. If you were doing work for two different companies, I would advise using a different Apple ID for each. If you want to have your own products, you definitely need and Apple ID and developer account free from any external involvement.
    The only real downside is that Safari will never again suggest the correct Apple ID to use. No matter which one you want, it will pick the other one. Your Xcode certificates will be an unrecognizeable mess, but then that is true even if you only have one account.

  • Just a question for mobile development ...

    Hello everyone !
    I was wondering :
    I have a bunch of movieclips in my library. Each one contains it's own class and functions etc.
    I put each of these movieclips on diffrent frames in my timeline.
    My question was, if I am going to put these movieclips, on 2 or 3 frames on my timeline what will be the impact on speed of application (in mobile afcourse).
    For example MovieClip2 will be put on frames 2,3 and 6.
    It has 300 lines of code. Is the impact noticable ?

    that depends on what you coded.  for example, if there no enterframe or timeline or setinterval loops, the impact should be negligible.

  • Some basic questions on Java development and NetWeaver CE

    Hi there,
    Can someone please explain for me:
    1. What are the development tools that will help me do Java development in SAP?
    2. Can I use non-SAP Java development tools (e.g. WebSphere or Eclipse) to develop custom extensions?  Are these equivalent to the functionality provided by CE?
    3. Given the options for doing Java development in SAP, are there any situations where I would need to do custom development in ABAP? (Is the Java functionality equivalent to the ABAP functionality?)
    4. Is NetWeaver CE only meant for Java development, or can it also be used for ABAP development?
    regards,
    Eric

    Hi
      for Java development you can user Eclipse or NWDS , which are both and the same .
      And about the ABAP development in CE 7.1 in the developer studio is it not possible .
      you are allowed for the java development .  And about using Non-SAP java development tools
      you can use the tools for java development , may the UI building ..... has to be build  when compared to
      CE 7.1  developer studio
    Developer Studio for ABAP
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7ef5ad90-0201-0010-b2b5-b112ca87e421
      https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/100dac80-f93c-2a10-15a1-a9ac1fd3166c
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40af00ad-8080-2a10-88b5-cc4cec99d8ac
    Thanks

  • Unicode question for Android development

    I am embedding Arial Unicode typface to display Armenian characters on my HTC Desire HD phone. Armenian is not supported by Android OS yet (Desire HD is running Android ver.2.3). At the moment  on the emulator it displays characters properly. When i am trying to check same application on the phone it displays squares instead of characters.
    I am curious if i am embedding type into my application does it make an application independent from OS supported locales ot typefaces installed on the phone?
    Thanks,
    Mika

    I need linux to package the apk for me because I will be changeing some files like some xml files in the bin folder and then I need the new files repackaged again... the linux will be used as a server side packaging for us... get the idea?
    I've been using 3.0 in the xml namespace and it created "app.air" for me on the linux! I know I must put the -target apk to the "adt" call but when I set the -target method, it throws many errors!

  • Question about Tutorial: Developing RIA Web Applications with Oracle ADF

    I'm learning about ADF and JDeveloper:
    According to the tutorial, after I've bound the data controls for the top right panel and bottom right panel, the bottom panel should always show the employee selected from the collection above.
    However when I do the instructions, the employee information in the bottom right employee area never changes regardless if I select a different employee in the top panel collection.
    I can't figure out why the top and bottom panels don't link together. I'm using the same View in both panels....
    I'm using Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Thanks in advance for any suggestions!
    Rob

    The mechanism that synch the two section of the page is called partial page rendering.
    It should work if you follow the instructions in the tutorial, but if it doesn't it is quite easy to fix:
    In the structure pane, select the Form component that surrounds the employees update section
    Then look at the properties inspector for a property call partial trigger
    Click the arrow on the right of it to select edit - and navigate your page hierarchy to choose the table component.
    An example is here:
    http://blogs.oracle.com/shay/2008/05/master_with_two_details_on_the.html

  • SQL Developer question

    Hi Folks
    I am using SQL Developer tool. I have a procedure with compilation errors so i can see that procedure with red X mark in SQL Developer tool.
    When am clicking on the procedure it is going to the editor there i can see "code"."grants","dependencies","references","details","profiles" tabs
    But i can't able to see "Errors" tab in the editor. And main thing is i didnt see any red lines in the editor for the invalid procedure
    And when i recompiled that procedure it got recompiled successfully and that red x mark is vanished.
    Here my question is the "Errors" tab is only appears when the procedure/function/package has errors and surprisingly i didnt see any red lines in the editor for invalid procedure (may be my proc has no errors).
    ps: i have asked this question in sql developer forum but i posted here as you may work on this
    Thanks

    Dear Sir
    I have this procedure Find_Emp
    create or replace
    procedure find_emp(p_in_empno in number)
    as
    v_ename emp.ename%type;
    begin
    select ename into v_ename from emp where empno=p_in_empno;
    dbms_output.put_line(v_ename);
    end;and i have done
    alter table emp add dname varchar2(10)I dont know why Find_Emp is invalid now,Folks can you please help.
    But that change doesnt affecting the below procs also, i mean these procs are not showing as invalid
    create or replace
    procedure test
    is
    cursor c is select ename,empno from emp;
    v_result c%rowtype;
    begin
    open c;
    loop
    fetch c into v_result;
    exit when c%notfound;
    dbms_output.put_line(v_result.ename||' '||v_result.empno);
    end loop;
    close c;
    end;
    and
    create or replace
    procedure p1
    AUTHID CURRENT_USER
    as
    v_cyc_dt varchar2(10);
    begin
    v_cyc_dt := '20120101';
    execute immediate 'create table t1 as
    select * from emp
    where hiredate >=to_date(''||v_cyc_dt||'',''yyyymmdd'')
    and rownum <= 1000';
    end p1;

Maybe you are looking for