Unnecessary narrowing

Hello,
I [more than once] stumbled accross code such as:
Object homeRef = namingcontext.lookup("some.jndi.path.for.XxxHome");
XxxHome xHome = (XxxHome)javax.rmi.PortableRemoteObject.narrow(homeRef, XxxHome.class);
Xxx remoteRef = (Xxx)javax.rmi.PortableRemoteObject.narrow(xHome.create(), Xxx.class);The second cast and narrowing seem unnecessary to me. I think it's an overlooking from the developper's part which switched from Java to J2EE recently.
But as I am recent myself to J2EE, I have still a doubt : is there any reason why one would want to do this?

jduprez,
Both casting and narrowing are necessary... coz of the following points,
1. When u narrow a home object it is enabling the object to function under the Distributed environment.. not acutally down casting the object... the down casting happens by the standard java casting code that we usally write.
In fact i have noticed in Weblogic 8.1 that u can downcast the home object and start using it with out running the object through the narrow method. What weblogic does does in this case is i GUESS is it switches off the distributed functionality of the object.
This Concept is clearly explained in the book Mastering Enterprise Java Beans Edit II by Ed Roman. In the Corba Appendix chapter u may want to read it to totally understand why one has to run the home object through narrow method and as well as down cast.
Hope i could clear you curiousity.
Cheers,
Max

Similar Messages

  • Thread view: could the Legend be moved up?

    When viewing a thread, there is a significant amount of empty space on the right. This is due to the Legend occupying a full column alongside all posts, even though the Legend is probably shorter than the first post alone. A lot of the posts here contain code segments, which almost always need to be horizontally scrolled due to the unnecessary narrowness of the post column.
    My suggestion is to move the Legend up, to immediately below the Welcome block. This might force the first post down a centimeter or two on the page, but the gain in width of each post would be well worth it, IMO.
    BTW, I usually read these forums on an HD (1920x1080) screen. I know I could make the browser window a lot wider and kludge-away the problem that way. Personally, though, I find extremely long text lines a pain to read.
    -- Rich

    On second thought, it would be better still if the legend is moved to the FAQ.I don't mind the Legend being there; if the rep system is to work, its nice that one knows what the ranks are. It just needs to be moved up, out of the way of the actual posts.
    That might free up some space to post info on how to use the code tagsThe code tag info would better be placed in the Reply view, where a new poster would most likely benefit in seeing it.
    I have a related suggestion. We could really use a vertical scroll bar in the code panes. I just made a post with 119 lines in a code tag, and it seems silly to have to scroll the whole window when a lot of folks are skimming/ignoring the code segments to begin with. Maybe make the code panes a maximum of 20 lines; any more than that and it would appear with a vertical scroll bar.
    (Yes, I know the vertical scroll bar will further narrow the code panes. With the legend up out of the way, though, there will still be a substantial gain in width.)

  • Unnecessary Acrobat 9 Warning in PDF Portfolio

    When I open a PDF Portfolio using Acrobat 9 Professional, I get a screen advising "For the best experience, open this PDF portfolio in
    Acrobat 9 or Adobe Reader 9, or later."
    This is both unnecessary and confusing. Is this standard behavior, and if so is there some way to prevent it?

    fwiw,
    The ability to upload a file attachment to any of the Adobe Forums has been "off" for some time.
    An easy alternative is to open a free acrobat.com account. Upload a copy of the problem Portfolio to it.
    Use the share feature to provide a link that lets anyone participating here download the file for a look-see.
    Easy, free, and may result in resolution(s).
    Be well...

  • User console redirection webpage uses unnecessary browser sniffing

    User console redirection webpage uses unnecessary browser sniffing
    https://ps.palmws.com/palmcsext/console/
    That user console redirection webpage has this piece of JavaScript that uses unnecessary browser sniffing:
    <script type="text/javascript" language="javascript">
    function checkBrowser()
    var agt=navigator.userAgent.toLowerCase();
    var is_mac = (agt.indexOf("mac")!=-1);
    var is_ie = (agt.indexOf("msie")!= -1);
    var is_opera = (agt.indexOf("opera")!= -1);
    var is_firefox = (agt.indexOf("firefox")!= -1);
    var is_window = (agt.indexOf("window")!= -1);
    var is_safari = (agt.indexOf("safari")!= -1);
    if (is_window) {
    if (is_firefox || is_ie || is_safari) {
    window.location = "/palmcsext/console/pages/LoginPage.iface";
    } else {
    window.location = "/palmcsext/console/notfound/notfound.html";
    } else if (is_mac) {
    window.location = "/palmcsext/console/pages/LoginPage.iface";
    } else {
    window.location = "/palmcsext/console/pages/LoginPage.iface";
    </script>
    The browser sniffing is pretty harmful. Remove it.
    Just simply change the script to:
    window.location = "/palmcsext/console/pages/LoginPage.iface";

    XP1 wrote:
    If you look at the logic, even unsupported browsers will pass the test.
    The if statements only check for supported browsers running on Windows or Mac OSes. If the user is using a different OS, regardless of supported or unsupported browser, the webpage will still redirect correctly.
    The script doesn't do a good job of checking for supported browsers either. The user can set a custom user agent, and the code can't rely on the user agent string.
    Checking for browser support should be done by feature detection, not by user agent string checking.
    If the user sets a custom user agent string or uses a browser with which the code works, then it harms the user.
    The concept of the web is that it should work everywhere. Blocking browsers not only harms the user but also harms the web.
    If the code is written to web standards, the webpage should work in all modern browsers.
    Thus, it is pointless, inefficient, and unnecessary to have those if statements there.
    Like I said, the code can be simplified by just using 1 line:
    window.location = "/palmcsext/console/pages/LoginPage.iface";
    I have asked for more specifics here to find out why that logic is in place.  Not saying I can post back anything, but I have asked.
    And unless I'm reading it wrong, the check for unsupported browsers (so anything NOT firefox, ie or safari) only happens if you're running windows.  If you're on Mac or some other OS, it directs to the working page.  I have asked about that, too.

  • Remove unnecessary SD orders in SCM system

    Hello,
    To remove unnecessary Sales Orders regularly in SCM system I found out a program "/SAPAPO/SDORDER_DEL ". But I am unable to figure out the parameters to be used once I execute this program. Can someone please let me know, if there is a document which explains the fields in the tab of the program /SAPAPO/SDORDER_DEL :
    1. Delete on database
    2. Delete in SAP livecache and in Database
    3. Delete All DB Sales order data
    Suggestions are much appreciated.
    Thanks

    HI,
    This is the Program Documentation available in system
    Short text
    ATP: Delete (SD) Orders From Database
    Purpose
    You use this report to delete the SD sales document data from the database. Normally, the order data remains in the database (it is not deleted as in liveCache).
    In order to limit the data volume, you should schedule the report to delete the orders, if necessary, and it should be dependent on the lifetime of your orders.
    Example
    For example, a sales order is completed in six weeks. Such a sales order would be archived in SAP R/3 but such an archiving concept does not exist in SAP APO. You use this report to remove the sales order from the database.
    Integration
    A location product or a location can only be deleted if SD sales documents for this location product no longer exist in the database (that is, if, for example, no more entries exist in the tables /SAPAPO/ORDADM_I or /SAPAPO/ORDPART).
    Features
    A check is normally carried out before an order is deleted to see if this order still exists in liveCache. If this is the case, the order is not deleted.
    You can also print out a list of the orders that cannot be deleted if you have set the relevant indicator.
    In exceptional cases, you can deactivate this check and nevertheless still delete the selected orders.
    If you have set the Delete all orders indicator, the order data from the database is completely deleted without any check. You should take great care when using this function.
    Note
    If you have deleted orders that are still being used for business purposes, you must start a new initial data supply or, if you know the orders, you must perform a further ATP check to transfer the data from SAP R/3 to SAP APO.

  • Scheduling agreement, unnecessary delivery schedule lines

    Hello
    We use Scheduling agreements for purchasing spare parts. The MRP run checks the warehouse requirements and creates delivery schedule line to scheduling agreement.
    Now the MRP run creates unnecessary delivery schedule lines to scheduling agreement if the earlier created delivery schedule line's delivery date has been changed manually.
    For example,
    Today the MRP run finds requirement for one article  and creates the delivery schedule line, where delivery date is 2.9.2008 (determined from articles basic data).
    The Vendor confirms the delivery date as 3.10.2008 and the purchaser changes manually  (transaction ME38) the delivery date to delivery schedule line accordingly and prints the created message.
    The next MRP run creates new delivery schedule line, where delivery date is again 2.9.2008.
    now there are two open delivery schedule lines for this article with delivery dates 3.10.2008 and 2.9.2008.
    Why the MRP run does not notice the existing delivery schedule line with the new delivery date 3.10.2008?
    we have changed delivery dates manually several years and this has never happened before.
    could you please help me to resolve this.
    Thanks in advance,
    Srikanth

    In addition to the above post,
    as you changed the date manually from 2nd to 3rd....
    so there are was no report for 2nd generated ulitmately...and if generated it was changed...right...
    so when you again run the mrp...the system will generate one more pr for the same article....
    this ultimately happens because of the set del dates in the MMR as i told above..
    Hope it helps..
    Regards
    Priyanka.P

  • How to Narrow the Design of an Entire Page

    Hi,
         I have been working on this problem for a while and still do not have an answer. I use Dreamweaver CS5.5. I am new at writing html code.
    My question is: How do I set the width to a more narrowed setting of my entire design that is currently centered on my page. This would allow more of the background (sky) to show on the left and right sides of my page. Is it even possible at this late date after completeing the website.
    You can see how my webpage looks now at -
    www.lanisakai.com
    Can I change some code to acheive this effect either in the index.html page or the "twoColLiqLtHdr.css" page or both?
    Here is the code for both pages.
    The Index.html Page
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Lani Sakai Pastel Pet Portraits</title>
    <link href="twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
    <style>
    .content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
    ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
    </style>
    <![endif]-->
    <style type="text/css">
    .container .content p .introduction strong {
              color: #000;
    .container .content .introduction {
              color: #000;
    body {
              background-image: url(Logo/sky1.jpg);
              background-position: center center;
              background-attachment: fixed;
    </style>
    </head>
    <body bgcolor="#FFFFCC">
    <div class="container">
      <div class="header"><!-- end .header -->
        <div align="center"><a href="http://www.lanisakai.com/"><img src="Logo/Logo3.jpg" width="805" height="172" border="0" /></a></div>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="http://www.lanisakai.com/">Home</a></li>
          <li><a href="http://www.lanisakai.com/previousworks.html">Previous Works</a></li>
          <li><a href="http://www.lanisakai.com/aboutme.html">About Me</a></li>
          <li><a href="http://www.lanisakai.com/feedback.html">Contact Me</a></li>
          <li><a href="sitemap.html">Site Map</a></li>
          <li><a href="http://www.lanisakaimobie.bugs3.com/">Smartphone Version</a></li>
          <li></li>
        </ul>
        <p><!-- end .sidebar1 --></p>
      </div>
      <div class="content">
        <h1> </h1>
        <h1><img src="Original Drawings/DSCN4352-2.jpg" width="260" height="216" hspace="20" vspace="25" /> <img src="Original Drawings/DSCN9152-2.jpg" width="210" height="266" hspace="40" /></h1>
        <h2 class="introduction"><strong><em>Reasons why you want to have your pet's portrait drawn....</em></strong></h2>
        <p> </p>
        <p><img src="Drawings/untitled2.jpg" width="275" height="214" hspace="125" /></p>
        <p> </p>
        <p align="center"> </p>
        <p> </p>
      </div>
      <div class="footer">
        <p align="center">Copyright &copy; 2013<script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-40745099-1', 'lanisakai.com');
      ga('send', 'pageview');
    </script>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-41801281-1', 'lanisakai.com');
      ga('send', 'pageview');
    </script>
       Lani Sakai Pastel Pet Portraits</p>
      <!-- end .footer --></div>
    <!-- end .container --></div>
    </body>
    </html>
    The twoColLiqLtHdr.css page
    @charset "utf-8";
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              margin: 50;
              padding: 0;
              color: #000;
              background-image: url(images/sky1.jpg);
              background-position: left bottom;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 20px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
              font-size: medium;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color:#000000;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #000000;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
              color: #000;
    /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
              width: 100%;
              max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
              min-width: 780px; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
              font-size: 100%;
              background-color: #6FF;
              margin-top: 0;
              margin-right: auto;
              margin-bottom: 0;
              margin-left: auto;
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background: #6F7D94;
              font-size: x-large;
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
    3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
    4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
    .sidebar1 {
              float: left;
              width: 20%;
              padding-bottom: 10px;
              background-color: #66FFFF;
              font-size: medium;
    .content {
              padding: 10px 0;
              width: 80%;
              float: left;
              font-size: 14px;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 15px; /* this creates the space between the navigation on the content below */
    ul.nav li {
              border-bottom: 1px solid #666; /* this creates the button separation */
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 5px 5px 5px 15px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              text-decoration: none;
              background: #8090AB;
              color: #000;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              color: #FFF;
              font-size: 100%;
              background-color: #66CCFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
              background-color: #66FFFF;
              font-size: small;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    }.logo {
              height: 262px;
              width: 1088px;
              margin-right: auto;
    .logo {
              height: 417px;
              width: 761px;
              margin-right: auto;
              margin-left: auto;
    .introduction {
              font-size: x-large;
              font-style: normal;
              font-weight: lighter;
              color: #0033CC;
    .logo {
              width: 770px;
              margin-right: auto;
              margin-left: auto;
    .introduction {
              font-family: Verdana, Geneva, sans-serif;
    .nameofpage {
              font-size: 200%;
              font-weight: bold;
    .PictureTitle {
              font-size: medium;
    .formby {
              font-size: 25%;
    .formby {
              font-size: 12%;
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-41801281-1', 'lanisakai.com');
      ga('send', 'pageview');
    </script>
    Do I need to just start over from scratch?
    Any suggestions would be appreciated.
    Thank you,
    Mobie Boy

    Or you could include a width to your body style:
    body {
    background-image: url(Logo/sky1.jpg);
    background-position: center center;
    background-attachment: fixed;
    width: 75%;}
    It might work or not depending on your other color scheme.

  • My iphone wont connect to face time and imessage, i've narrowed it down to its trying to connect through my phone number, but when i change to apple id it the screen for the password keeps coming up over and over

    i have narrow my problem down to imessage and facetime are both trying to use my cell phone number to connect but because i am connected thru wifi it wont let me.  I went into the imessage and facetime setting and try to change this to my apple id, problem is it asks for my password and keeps saying its not right, i have the right one, why is it doing this????

    i had this problem, i turned off imessage, turned off phone, turned on phone, turned on imessage and let it reactivate.

  • I hate the narrow scroll bars in Lion. How to adjust?

    I recently upgraded to Lion, which all seems realtively nice and well designed to me. In years of Apple developments, I have learned to appreciate the changes and gradually have come to appreciate most of the stuff they come up with. One thing really annoys me seriously, though, and that is the very narrow scroll bars! When I could easily find the scroll bar in 10.5, an 6. I now have to waste my energy on pointing the mouse at the very narrow scroll bar. Who the **** had the great idea to narrow it? There is NO WAY I can live with this.
    Has anyone come up with a fix? If this is not fixable, I will downgrade to 10.6 again.
    Kimster66

    kimster66 wrote:
    The point is that I dont have a trackpad on my iMac, and thus have to use an ordinary mouse.
    Well, if I were in this situation, I would purchase a Magic Trackpad
    But you miss the point: I am annoyed with the GUI designers for falling in love with their own design and not letting users choose what is best for their own workflow. This is a 'forced' change and a basic violation of all design philosophy. What would you say if the gearchange in your car had been reversed after a visit to the garage? Exactly! To force users to change their workflow is actually very arrogant.
    Lion is a New OS.  If I purchased a new car that had a new shift pattern, It should not be a suprise as I would have (should have) researched and test drove the auto before purchasing.  A quick trip to the Apple Store, or reading on-line reviews would have allerted you to the change in scrollers

  • The bookmarks listing on my laptop is so narrow I can't distinguish among several bookmarks that have similar names. How do I make the bookmarks large enough to read details on, either on the sidebar or the drop down menu?

    What kind of details do you need? I have a bunch of bookmarks imported from Safari (yes, it's a Mac iBook). In Safari I get a whole page for bookmarks and can see easily which one is which. In Firefox they are stuffed into a narrow space I can't seem to widen and I can't tell a bunch of them apart. The categories are fine because they are one word or two, the specific listings however, are not fine. In one particular category they start the same way, so I have a whole bunch of nearly identical bookmarks and the "abbreviated" listing is not sufficient since it doesn't seem to include the distinguishing features. That's pretty much it. This isn't a problem for all bookmarks, just some. I need to make the window wider so I can see more detail and can't figure out how to do it.
    Thanks, Carol.

    see https://support.mozilla.com/en-US/questions/845800
    Bookmarks Toolbar Fx4 Blue/Folders, Red/Bookmarks - Themes and Skins for Browser - userstyles.org
    /* widen all bookmarks dropdown menus -- Chris Ilias 2007-01-12*/ menu.bookmark-item, menuitem.bookmark-item { max-width: 36em !important; }
    http://userstyles.org/styles/46947/
    try 250px instead of 36em and up or down from there.

  • Updated Firefox, now when I open a new tab, there is two seperate google search bars; how do I get rid of the unnecessary search bar?

    I updated Firefox, and after I restarted it, when I opened a new tab, I found that I now had two Google search bars: one next to where you type web addresses, and one right above my pinned sites (or my frequently visited sites). I'm just trying to:
    1. Figure out why it is necessary to have two of the pretty much identically useful search bars when I really only need one (or can physically type Google in)
    and
    2. How do I get rid of the unnecessary second Google search bar above my frequently visited and therefore pinned sites.
    If you have any ideas of how to remove this annoying addition, I would appreciate it.

    I am guessing that you installed an extension, related to "new tab", which added the first search bar. Firefox 31 in includes a search bar for the "new tab" page; so now you have two.
    Take a look at that extension (Options or Preferences) to see how to disable ones of those 2 search bars. Or see if an update has been released for that extension, specifically for Firefox 31, with an option to disable the search bar.

  • Mac creates a save every hour, quickly filling the external drive. The "delete unnecessary files in Trash" does not work.

    How to make the Mac do save at certain intervals?
    Why would I want five saves the day?
    I try to delete unnecessary files to free up space.
    Trash on the Mac has become very slow, the removal process was take hours.
    Then the process of removing all stops.
    Why files are not removed through the trash?
    What could be causing the removal process?

    TimeMachine is designed to back up every hour. It saves only the files that have changed during the hour. After 24 hours TimeMachine culls the (up to) 24 backups to make a single backup for the day. After 30 days it takes the 7 oldest day backups and culls them into a single week backup.
    You should never manually touch files in the TimeMachine backup. It doesn't like that. The best practice for TimeMachine is to devote an external drive to TimeMachine and nothing else. Because TM backups are incremental, it is recommended that your TM hard drive be 2-4 times larger than the amount of drive space your computer is using. In other words, if your 1TB hard drive is 1/4 full (250GB in use) you should have a TM drive between 500GB and 1TB depending on how much more data you expect to add to your drive and how long you wish to keep old back files.
    Having said all this, you might prefer using some other program for backups. CarbonCopyCloner and ChronoSync are two programs you might want to look at.

  • Getting a "Displaying only the newest results below. To view all results, narrow your query by adding a filter" message in error

    I have a list with almost 10000 items. I have a view that should be returning 8 items. For me, the Farm Admin, I see the full set of expected values. The message "Displaying only the newest results below. To view all results, narrow your query by
    adding a filter" shows for other users. This makes no sense -
    there ARE filters on this view. I'd rather not increase the throttle limit.
    Anthony Kelly

    Hi Ajk,
    Check that the list is not scoped by an audience; but, I'm afraid that either way admin, (e.g. non Farm admin or site collection admin)
    I'd recommend exporting to excel, create two new spreadsheets and then import as custom lists.
    Best of luck and cheers,
    Stacy Anothersharepointblog.blogspot.com

  • Keyboard does not connect - have narrowed to a software issue as it works in safe mode, but do not know how to resolve the software issue

    I was in the process of connecting a Razer Blackwidow USB keyboard to my iMAC and something went wrong.
    The new keyboard doe not respond and now my bluetooth keyboard does not work either. No connectivity whatsoever.
    I've tried a number of things, including resetting the PRAM / NVRAM and SMC (interesting that the computer responds to the keyboard commands that are required to reset the PRAM). I also checked all the universal access setting to make sure nothing was interfering with normal keyboard operation.
    btw, blutooth seems to think the keyboard is connected I get a gree light. I can even go through the process of unpairing and pairing and it allows me to type in the numberical code to pair the keyboard, but after that, it still does not work.
    When I start the machine in safe mode, the keyboard works fine. So I've narrowed this down to a software problem. I tried to go to another user account to see if it's just associated with the current user, but since I have no keyboard connection at all, I can't type in a password, so that's no good.
    I've eliminated a number of applications that I have recently installed (including the Razer set up app) that might interfere with keyboard operation, but no luck.
    Any suggestions on how to go about tracking down this software issue?
    Thanks - musikman7

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands.
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” (without the quotes) and press return. You should then get a new line ending in a dollar sign.
    Step 1
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}'
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.)
    Step 2
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}'
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}'
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
    Important: If you synchronize with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output.
    You can then quit Terminal.

  • How important it is to understand Concept of Narrow & Wide casting in ABAP Objects

    Hi Friends,
    I Understood that, it is very important to understand the concept of "Casting ( Narrow Casting & Wide Casting )" properly.
    Let us see the following cases where the concept of "Casting ( Narrow Casting & Wide Casting )" comes into the picture in various practices of Abap, Webdynpro abap and FPM.
    1. ABAP:-
    When we are working with RTTS in abap it is very much important we must know the Casting Techniques. Without knowledge of the Casting of objects, there will be a lot of trouble we may faces.
    Mainly RTTS offers Runtime Type Services, means RTTS Programming enables us to find the type of the particular data obejct or data type or data reference in the run time.
    RTTS also enables us to create the data in the run time very dynamically.
    So, in the run time when we finding the type of the data objects or creation of data objects in the run time, We must do the Wide casting and Narrow casting also some times on the references provided by SAP Dynamically.
    So, here we go to have knowledge on Casting is mandatory.
    2. WEBDYNPRO ABAP:-
    The another point where the concept of casting comes into picture is , When we working with the ALV Reports and Dynamic programming of WEBDYNPRO. Here also we should posses good casting skills.
    3. FPM:-
    The major use of casting comes in hand is none other than FPM. When we working with certain Floor Plans or when we woking with Feeder Class concept of FPM, Casting comes into picture again.
    Along with Casting ( Narrow casting & Wide casting ), We must have the knowledge of 'Field Symbols' and 'Data References (known & Unknown)' to work with our all complex scenarios of Webdynpro and FPM and all.
    So guys, please have Knowledge on the following, befor you master on advanced techniques of WEBDYNPRO and FPM etc.
         1. Field Symbols
         2. Data References (known & unknown)
         3. Casting (Narrow casting & Wide casting)
         4. Brief Idea about RTTS
    All the above 4 concepts will definitely make our life easy when dig more into WEBDYNPRO ABAP and FPM.
    Thank You.
    Please share your comments on the same.

    Hi Shankar,
    It's really good to know.
    It could be great if you can share few technicalities for the concepts explained.
    Regards,
    Rafi

Maybe you are looking for

  • Error in ABAP table

    Hi, I am executing script logic in SAP BPC. however it's back end is SAP BI and i am getting this following error "A dump error occourred in ABAP stack". while i have tried to pull error info by going through ST22, i can see this below error. The cur

  • Missing parameter in stored procedure

    Hi all, I am new to Crystal Report, and I am facing this situation: a file .rpt reporting results of a sql server stored procedure, which takes one parameter in input. This .rpt is invoked by an .net web service, via libraries, passing the parameter.

  • Number of elements inside an XML node?

    If myXML.person.length() gives me the number of person nodes in my XML file, then how do I count the number of elements inside each person node if each one has a different name (such as address, zip, etc.)?

  • Add logo to Payslip - IN01 HRFORM

    Hi    I have a requirement to add logo to payslip (HRForm -IN01 - Tcode PE51).  Could you please let me know is it possible to add logos into HRForms or not? I know that we can add logo by developing a SMART Form for payslip. but my client doesnt wan

  • Entire music library not syncing - 4s

    Just upgraded from iPhone 3 (16G) to the 4s (32G). Strangely enough, all of my music downloads from iTunes into my iPhone3, but my 4s leaves some random albums out. No rhyme or reason as to how it's occuring. Thanks to the extra room, I have NO space