Pre-Cal Program not working as expected

Ok, my Pre-Cal teacher asked us the following question, and said that we can make a computer program to solve it if we want. So the question is:
If your calculator reciprocal button (1/x) breaks, you can use a sequence of 4 trig and arc trig function butons to replace the reciprocal button. What is that sequence?
So I made the following program, to test all of the possibilities (in an admittedly very inefficient way), and print out the correct one.
public class Test
     public static void main (String[]args)
          int num = 2;
          int cnt = 0;
          double correctAnswer = 1/num;
          double x;
          int temp;
          String[] funcs = new String[4];
          boolean isSolved = false;
          while(!isSolved)
               x = num;
               for(int y=3; y>=0; y--)
                    temp = (int)(Math.random()*6+1);
                    if(temp==1)
                         x=Math.sin(x);
                         funcs[y]="sin";
                    else if(temp==2)
                         x=Math.cos(x);
                         funcs[y]="sin";
                    else if(temp==3)
                         x=Math.tan(x);
                         funcs[y]="tan";
                    else if(temp==4)
                         x=Math.asin(x);
                         funcs[y]="arcsin";
                    else if(temp==5)
                         x=Math.acos(x);
                         funcs[y]="arccos";
                    else if(temp==6)
                         x=Math.atan(x);
                         funcs[y]="arctan";
               if(correctAnswer-.0025<=x && correctAnswer+.0025>=x)
                         isSolved =true;
               if(++cnt %1000==0)
                    System.out.println(cnt);
          System.out.println(funcs[0] + " "+funcs[1] + " "+funcs[2] + " "+funcs[3]);     
}A few side notes:
int num can be anything, I just set it to 2 for simplification purposes.
int cnt is just used so I can see how many times the while loop has been running.
At this point, I don't want the answer to the question as much as I want the program to function properly.
It's a basic program, yet I can't figure out why it doesn't work. Even if the while loop runs 13,000,000 times it still doesn't get the correct answer, any ideas?

dk00111 wrote:
Ah, I forgot to cast the correctAnswer as a double. Thanks, it works now! (disregard the username change)I sense you're still misunderstanding, so I decided to follow up.
The issue isn't that you weren't casting your expression to a double before assigning to correctAnswer. That cast is implicit as an integer is automatically promoted to a double, since it is a widening conversion (see here).
What you had before was like this:
double d = 1 / 5;
System.out.println(d); //0.0In this case, we have an integer divided by an integer, and so the result is (naturally!) an integer. Since 1 / 5 is truncated to 0, that's the result of the expression.
"Casting to a double" would be this:
d = (double)(1 / 5);
System.out.println(d); //0.0But that's no different! The cast is pointless, as it happens anyway when you assign the result of the expression to d. 1 / 5 is still occurring with integer operands.
Instead, based on the fact that it worked, I'm guessing what you did was this:
d = (double)1 / 5;
System.out.println(d); //0.2 That's not casting the result of (1 / 5), it's casting 1 to a double, and then dividing by 5. It's equivalent to this:
d = ( (double) 1 ) / 5;Since now one of the operands is a double, the result of the expression is a double, so you get the expected 0.2.
You could get the same result by doing this in your code:
double correctAnswer = 1.0 / x;As the literal 1.0 is obviously not an integer, but a double, so x is promoted to a double and the division occurs on two doubles instead.

Similar Messages

  • SAP BW Pre-calculation Server Not Working as Expected

    Hi All,
    It has already been 2 months since we have installed our pre-calculation servers. We have been bumping to issue with our server showing as "At Capacity" after a few runs of workbooks. Then we need to restart the service in order to resume the pre-calculation. Something really dumb is that any workbooks that failed during that time will not get pre-calculated again.
    This is really bugging me as every morning when I know, there is some broadcasting, then I need to start monitoring the queue, to see if the symptoms of only a few workbooks (usually 10 workbooks) being able to calculate before I need to restart the service.
    Please help as I am really in a dire situation.
    David Yee

    dk00111 wrote:
    Ah, I forgot to cast the correctAnswer as a double. Thanks, it works now! (disregard the username change)I sense you're still misunderstanding, so I decided to follow up.
    The issue isn't that you weren't casting your expression to a double before assigning to correctAnswer. That cast is implicit as an integer is automatically promoted to a double, since it is a widening conversion (see here).
    What you had before was like this:
    double d = 1 / 5;
    System.out.println(d); //0.0In this case, we have an integer divided by an integer, and so the result is (naturally!) an integer. Since 1 / 5 is truncated to 0, that's the result of the expression.
    "Casting to a double" would be this:
    d = (double)(1 / 5);
    System.out.println(d); //0.0But that's no different! The cast is pointless, as it happens anyway when you assign the result of the expression to d. 1 / 5 is still occurring with integer operands.
    Instead, based on the fact that it worked, I'm guessing what you did was this:
    d = (double)1 / 5;
    System.out.println(d); //0.2 That's not casting the result of (1 / 5), it's casting 1 to a double, and then dividing by 5. It's equivalent to this:
    d = ( (double) 1 ) / 5;Since now one of the operands is a double, the result of the expression is a double, so you get the expected 0.2.
    You could get the same result by doing this in your code:
    double correctAnswer = 1.0 / x;As the literal 1.0 is obviously not an integer, but a double, so x is promoted to a double and the division occurs on two doubles instead.

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Subtraction of two key figures normalized to result not working as expected

    Hello SAP Community!
    I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
    In order to explain the problem I am facing please analyze below text:
    1) Let's assume I have below data:
    LOAD MONTH  PLANT    MATERIAL HORIZON MONTH     FORECAST UNITS
    200805         PLANT-A  MAT-1            200805         510,235.00
    200805         PLANT-B  MAT-1           200805          74,240.00
    200805         PLANT-A  MAT-1           200806         438,721.00
    200805         PLANT-B  MAT-1           200806          74,240.00
    200805         PLANT-A  MAT-1           200807         356,981.00
    200805         PLANT-B  MAT-1           200807          74,240.00
    200806         PLANT-A  MAT-1           200805               0.00
    200806         PLANT-B  MAT-1           200805               0.00
    200806         PLANT-A  MAT-1           200806         510,235.00
    200806         PLANT-B  MAT-1           200806          74,240.00
    200806         PLANT-A  MAT-1           200807         438,721.00
    200806         PLANT-B  MAT-1           200807          74,240.00
    2) Then, assume I have a comparison report, restricted by load month for two months May and June 2008 (filter restricted by two month variables) with FORECAST units spread accross columns for whole horizon (two months also in this case).
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Comparison Units (June 2008) 510,235.00  438,721.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Comparison Units (June 2008)  74,240.00   74,240.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    3) Now, let's suppose we want to know the proportions (%) of Base vs Comparison units, so
    we normalize forecats to results an we get the below report:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    4) Finally, let's suppose we want to know the deltas (differences) of Base vs Comparison
    units, for both number of units and %. The report now look as below:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  1.77%       2.74%
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %  -1.77%      -2.74%
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    5) PROBLEM:
    In my report, the "Delta base vs. comp. units %" is not working as expected and
    calculates number of units just as "Delta base vs. comp. units" does instead of calculating the % difference.
    So my report looks as follows:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  71,514.00  81,740.00 <<<WRONG!!
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %       0.00        0.00
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    The formulas are:
    a) Delta base vs. comp. units %
      Delta base vs. comp. units % = Comparison Units % - Base Units %
    b) Delta base vs. comp. units
      Delta base vs. comp. units = Comparison Units - Base Units
    The KFs
    - Comparison Units %
    - Base Units %
    Are RESTRICTED key figures (restricted to Base and comparison month variables) which
    are setup as:
    1) Calculate Result As:  Summation of Rounded Values
    2) Calculate Single Value as: Normalization of result
    3) Calculate Along the Rows
    The KFs
    - Delta base vs. comp. units %
    - Delta base vs. comp. units
    are FORMULAS setup to:
    1) Calculate Result As:  Nothing defined
    2) Calculate Single Value as: Nothing defined
    3) Calculate Along the Rows: user default direction (grayed out)
    Thanks for the time taken to read in detail all of this. Long text but necessary to understand what the problem is.
    Any help is highly appreciated.
    Thank you.
    Mario

    Hi,
    The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
    I hope this will solve your issue.
    Regards,
    S P.

  • Events in SubVi not working as expected

    Hi, I am reposting this question as my previous one didn't resulted in any satisfactory conclusion.
    I have attached my Vi's which are not working as expected. If I remove ONE subVi and its associated 3 controls and two indicators, the other one works just fine, but when I add two SUB Vis, it goes messy. I am trying to learn this way, I am sure it can be done many other ways, but please help me finding out the problem doing it this way as in my final MainVi, I would like to use 8 such sub Vis. Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Main.vi ‏11 KB
    SubVi.vi ‏12 KB
    SubVi_2.vi ‏15 KB

    Your main problem is DATA FLOW.  A loop cannot iterate until EVERYTHING in it has completed.  So, as you have it, you have to have both event structures execture before you can go back to look for the next event.  So if you insist on having these subVIs, they need to be in seperate loops.
    BTW, you can get away with a single subVI.  Go into the VI properties and make it reentrant (preallocated clone).  Then each call of your subVI will have its own memory space.  A lot easier to maintain that way.
    And I know you said you didn't want alternatives, but here's how you can do it all with a single event structure in your main loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Main_MODTR.vi ‏10 KB

  • AFS ARUN Size Substitution Not Working As Expected

    Hi All,
    I need help with this. If any one of you have worked with AFS ARUN size substitution, kindly provide me with some details on how can I set it up. I am specially interested in setting up size substitution with two-dimensional grids.
    I have setup some examples but it does not work as expected.
    Here is a small example:
    Say I have a size 28/30, 28/32 .........29/30....
    What I want to achieve is that during ARUN if there is a shortage of stock in 28/30 then the remaining requirement qty should be confirmed from size 28/32.
    with my setup after 28/30 it goes into looking for stock in 29/30, which is what I do not want.
    Any inputs will be really appreciated.
    Thanks!!

    srdfrn wrote:
    Hi YOS,
    I tried importing a PCX image into CVI 2010 and then sizing the image to the control and didn't see the behavior you have been describing.  Would you mind posting an example (alongside an image file) that demonstrates this?
    Also, one thing I noticed is that PCX images appear to be quite dated.  Could upgrading them to a JPEG or PNG format be an option for you?
    Thanks,
    Stephanie R.
    National Instruments
    Stephanie, thanks for the reply.
    I am very sorry to state that I made a mistake.
    VAL_SIZE_TO_IMAGE indeed works.
    What fails to work is VAL_SIZE_TO_PICTURE. (Second option in Fit Mode attribute in control editing panel)
    I tried with JPEG and it's the same.
    I am attaching an example.(Load_Image.c & ONEP_3Trow_POS1.JPG)
    A panel with two picture rings.
    - SW_1 remains at the intended size and the loaded picture is not clear.
    - SW_2 will fit to picture size and looks OK.
    Appreciate your support,
    YOSsi Seter
    Attachments:
    Load_Image.c ‏2 KB
    ONEP_3Trow_POS1.JPG ‏4 KB

  • Notification "Launch the app and go to the library" not working as expected

    Hello,
    we are sending notification "Launch the app and go to the library" - but it's not working as expected, it's still just launching app with last open folio.
    Whats wrong there? Do we need v30 app? We have V29, but this is not mentioned in documentation.
    Thanks
    Martin

    Ah.
    Ok, now it's clear.
    Anyway i would appreciate possibility to force viewer to switch to library view after new issue is detected, even without notification. Quite often requested feature - "there is new cover in Newsstand, but customer don't know how to download new publication easily".
    Martin

  • 'Program not working' - panorama

    When I attempt to create a panorama using Photoshop Elements 9 on my recently purchased Windows 8.1 pc I get a message saying 'Program not Working' and I have to close the editor. This function was ok on my old Windows XP pc. Can anyone help?

    First, quit the editor, then restart it while holding down ctrl+alt+shift. Keep the keys down till you see a window asking if you want to delete the settings file. You do. Note that if you have set the welcome screen to automatically open the editor, it won't work from that shortcut. Use the actual .exe/application file or the buttons in the organizer or on the welcome screen.

  • DB Adapter polling as singleton process is not working as expected

    Am using poller DB adapater to control the transaction per seconds to the downstream system and i want this poller process as singleton (One instance should be in running state at a time).
    As suggested in oracle documents , below is the parameters configured in composite.xml file.
    <service name="polling_Mange_Alert_Events"
      ui:wsdlLocation="polling_Mange_Alert_Events.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/Application1/int_app_manageAlerts/polling_Mange_Alert_Events#wsdl.interface(polling_Mange_Alert_Events_ptt)"/>
      <binding.jca config="polling_Mange_Alert_Events_db.jca">
      <property name="singleton">true</property>
      </binding.jca>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
      override="may">1</property>
      <property name="jca.retry.backoff" type="xs:int" many="false"
      override="may">2</property>
      <property name="jca.retry.maxInterval" type="xs:string" many="false"
      override="may">120</property>
      </service>
    Below is the JCA file parameters configured :
    <adapter-config name="polling_Mange_Alert_Events" adapter="Database Adapter" wsdlLocation="polling_Mange_Alert_Events.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/DB/vff-int-fus" UIConnectionName="PT_APPINFRA" adapterRef=""/>
      <endpoint-activation portType="polling_Mange_Alert_Events_ptt" operation="receive">
        <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
          <property name="DescriptorName" value="polling_Mange_Alert_Events.ManageAlertEvents"/>
          <property name="QueryName" value="polling_Mange_Alert_EventsSelect"/>
          <property name="MappingsMetaDataURL" value="polling_Mange_Alert_Events-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="TRANSACTION_STATUS"/>
          <property name="MarkReadValue" value="Processing"/>
          <property name="PollingInterval" value="10"/>
          <property name="MaxRaiseSize" value="5"/>
          <property name="MaxTransactionSize" value="5"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
          <property name="MarkUnreadValue" value="Pending"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>
    This poller process is running on clustered environment (2 soa nodes) and it is not working as expected as singleton process.
    Please advise to solve this issue ?

    Hi,
    1.Set Singleton property outside   <binding.jca> like this:
    <binding.jca config="polling_Mange_Alert_Events_db.jca"/>
      <property name="singleton">true</property>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
    2.Also you can try setting these values in jca file:
    <property name="RowsPerPollingInterval" value="100"/>
    <property name="MaxTransactionSize" value="100"/>
    3. try to increase the polling interval time.
    Regards,
    Anshul

  • TCP Window sizing not working as expected for Windows server 2008 R2 SP1

    Hi ,
    TCP window size is not working as expected. It is varying . Aplied the hotfix suggested by Microsoft and set the multipliccation factor as 1.The window size is not getting auto tuned based on the client machine. The data transfer rate is getting degraded.
    Please help.
    Thanks,
    Pro1962

    Hi,
    I think window auto-tuning is enabled.
    You can disable it by running the following commend.
    netsh interface tcp set global autotuninglevel=disabled
    Hope this helps.

  • Container-Managed Transaction Type Attributes not working as expected

    I am having a problem with the container-managed transactions not working as expected. I have 2 methods that work as follows:
    MethodA{
    for(a lot)
    call MethodB;
    @Transaction Type = RequiresNew
    MethodB{
    EntityManager Persist to database
    I want the code in MethodB to be committed to the database when methodB returns. The problem is that I am running out of memory and MethodA is failing. When methodA fails after numerous calls to MethodB nothing is persisted to the database.
    It is my understanding that when using requires new transactions that a new transaction is started for each call to the method and ends when the method returns while the calling method transaction is suspended.
    How am I misunderstanding the requiresNew transaction attribute. What can I do to make a batch insert into my database that will not run out of memory (commit when a methodB returns)?
    Thanks in advance.

    The problem is that EJB invocation semantics for security, container-managed transactions, etc.
    only apply when an invocation is made through an EJB reference. In your case, you are directly
    invoking the implementation method from within the bean. The EJB container has no idea that's
    happening. It's no different than invoking a utility method.
    In order to get the behavior you'd like, you need to retrieve a reference to your own bean and invoke
    through that. You can use SessionContext.getBusinessObject() to get the EJB reference for the
    business interface through which the method in question is exposed.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Namespaces not working as expected

    Hi, I've got problems with namespaces not working as expected. When I isolate a process into a new network and mount namespace, a newly mounted file system will be visible to all processes.
    Steps to reproduce:
    $ sudo unshare -mn bash
    bash# mount -t sysfs sysfs /sys
    bash# exit
    $ cat /proc/mounts
    Result:
    /proc/mounts will contain a new line for sysfs. This means the /sys/fs/cgroups directory will appear to be empty as the new sysfs is mounted over the old However you can undo it by
    sudo umount /sys
    Expected result:
    The /sys directory will only be new inside the bash process started using unshare and not anymore once you exit bash.
    Did I understand something wrong? Or might this be a bug in the kernel?
    Note that when using
    unshare -m bash
    without isolating the network namespace it will refuse to mount sysfs as it is already mounted or busy. Strange.

    Hello, because sysfs is shared, see unshare(1) for more details.

  • My adobe is not working with Windows 7 it says "program not working"

    My adobe does not worked with I have tried 9 & 10 both versions. It does not seem to work with Windows 7.

    Adobe Reader X works very well on Windows 7.
    Please give us the exact error message you're getting; "program not working" is not a message that Windows or Adobe Reader would issue.

  • UpsertDocumentAsync not working as expected

    I'm using UpsertDocumentAsync to either insert or update a document, but it doesn't seem to work as expected. When I use it either inserts / creates or
    replaces the document. I doubt I'm calling it wrong?
    await client.UpsertDocumentAsync(documentsLink, this.document);
    Working as expected (but with incorrect name) or not working as expected?
    Regards,
    Joakim
    Joakim Rosendahl Consultant at OnTrax AB, Sweden.

    Found this one (doesn't contain the work PATCH though)
    http://feedback.azure.com/forums/263030-documentdb/suggestions/7075256-provide-for-upsert
    Voted for that one, but it doesn't seem like the developer community is interested in upsert/patch functionality =/.
    Joakim Rosendahl Consultant at OnTrax AB, Sweden.

  • Exchange Online Protection (standalone) permissions are not working as expected

    Exchange Online Protection (standalone)  permissions are not working as expected.
    we provided access to Hygiene Management to some members and they not able to access EOP site.
    This is standalone EOP.
    ksrugi

    Hi,
    what roles did you have assigned to them and what error message do you get?
    Greetings
    Christian
    Christian Groebner MVP Forefront

Maybe you are looking for

  • Cisco Unity Express 8.6.6 Voice Mail not deleting when e-mail with attachment deleted

    I have a Cisco Unity Communications Manager rel 9.1.2 that supports a remote location with a Unity Express rel 8.6.6 voice mail service module in the voice gateway to insure if WAN goes down the location still has voice mail. We have Voice Mail to E-

  • Too long export to PDF from Indesign CS6

    When I exporting PDF from InDesign CS6 takes too long. For example, a few minutes (5minutes). In InDesign CS3, which I used earlier, the file is exported immediately (few seconds). It is a problem in setting or higher hardware requirements? I use lap

  • Where are Bridge's keywords stored?

    Hey I am using Bridge CS3. My image storage methodology in brief: I have a partition on my main work station that acts as my image storehouse. I have the same on my laptop. I have Bridge pointing at those partitions, receptively on each computer. Whe

  • CSM in Bridge mode and Server initiated connections

    I know one can use Source NAT for server initiated connections back to VIP using CSM in routed mode. How do I achieve the same for bridge mode? Thanks in advance, Shahid

  • Ipod Nano and my VW

    We have a Ford F150, and a VW Cabrio. My Ipod plays beautifully in the Ford but sounds like.....awful...in the VW! Maybe like only a couple of the speakers are working, and I have 6. CD's play fine and the radio plays fine. Any suggestions? Thanks HP