Recurring Events: SharePoint Online’s Lists.asmx Service Not Returning Expected Results

I have the following query which returns some of the recurring events but not all. The query is not returning the items in the correct order, nor is it returning the items after today’s date.

How can I modify the query below to return events that occur after today and in ascending order?

<soap:Envelope xmlns:xsi='' xmlns:xsd='' xmlns:soap=''>   <soap:Body>     <GetListItems xmlns=''>       <listName>521dx906-1zdc-429d-b4c8-185fafa88029</listName>       <query>         <Query>           <Where>             <And>               <Eq>                 <FieldRef Name="fRecurrence" />                 <Value Type="Boolean">1</Value>               </Eq>               <DateRangesOverlap>                 <FieldRef Name="EventDate" />                 <FieldRef Name="EndDate" />                 <FieldRef Name="RecurrenceID" />                 <Value Type="DateTime">2019-08-16T14:29:03.361Z</Value>               </DateRangesOverlap>             </And>           </Where>         </Query>       </query>       <viewFields>         <ViewFields>           <FieldRef Name="Category" />           <FieldRef Name="Location" />         </ViewFields>       </viewFields>       <queryOptions>         <QueryOptions>           <ViewAttributes Scope="RecursiveAll" />           <RecurrencePatternXMLVersion>v3</RecurrencePatternXMLVersion>           <DateInUtc>TRUE</DateInUtc>           <ExpandRecurrence>TRUE</ExpandRecurrence>         </QueryOptions>       </queryOptions>     </GetListItems>   </soap:Body> </soap:Envelope> 

My calendar contains the recurring “Merchandising Notes Posted!” event on the following days:

  • 8/17
  • 8/24
  • 8/31
  • etc…

enter image description here

However, just two “Merchandising Notes Posted!” events are being returned from the query above, and one’s from last month!

  • 7/27
  • 8/17

enter image description here

Fail to apt-get update and Unable to find expected entry of sources

enter image description here

Failed to fetch Unable to find expected entry ‘’ in Release file (Wrong sources.list entry or malformed file)

The entry website is not found.

I tried a lot of methods like changing source of update, changing DNS and autoclean the list.They did not work for me. Hope someone can fix my problem.

Thank you very much!

error: “)” expected }

Galera, to tentando fazer um programa que ao clicar no botão confirmar, abra outra JFrame, mas fica dando o erro

error: ")" expected }                      ^ 

e o erro

" error: class, interface, or enum expected" 


import javax.swing.JLabel; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; import javax.swing.SwingConstants; import javax.swing.JTextField; import javax.swing.JPasswordField; import javax.awt.event.ActionListener;    public class teladelogin implements ActionListener{       public static void main(String[] args){          JFrame frame = new JFrame();          JTextField cx = new JTextField(30);          JPasswordField cs = new JPasswordField(30);          JButton prime = new JButton("CONFIRMAR");          frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);            JPanel painel = new JPanel();          frame.add(painel);          JLabel login = new JLabel("Login: ");          JLabel senha = new JLabel("Senha: ");          painel.add(login);          painel.add(senha);          painel.add(cx);          painel.add(cs);          painel.add(prime);          prime.setBounds(60,90,120,40);          cs.setBounds(100,50,80,25);          cx.setBounds(100,25,80,25);         painel.setLayout(null);         senha.setBounds(50,38,60,50);         login.setBounds(50,10,50,50);         frame.setVisible(true);         frame.setSize(200,200);         frame.setLocationRelativeTo(null);         prime.addActionListener(new ActionListener(){             public void actionPerformed(ActioEvent e){                  JFrame fr = new JFrame();                  fr.setVisible();                  }           }    } } 

Drag n Drop API not working as expected

I am working on a project on which user will drag a text from webpart(e.g. webpart1) & dropping the same text into other webpart(e.g. webpart2) . I am referring This link as reference . Based on below 2 scenarios I need to remove/retain list item from drag-able list.

  1. If user drags the list item on to same webpart drop container , item must be retained as it is .
  2. If user drags list item from webpart 1 and drops to webpart 2 , that item must get removed from list of webpart 1.

With the current implementation , if we drag the bottom last list item on itself , that item is getting removed from list .

Any kind of suggestion will be helpful .

Magento 2.3.1 varnish and cloudlfare – pages not caching as expected

We have a Magento 2.3.1 store that uses CloudFlare and has Varnish enabled. If we use wget or curl to load a page, that page is cached in Varnish if we try wget or curl again on that same page.

However, if we then test that URL via a browser, the page is not cached. It is then cached after the first browser visit, and then remains cached on reloads from a browser.

We added the CF+Varnish rules as listed at:

but that did not seem to make a difference. We’re using the recommended Magento default.vcl file that is generated.

Any ideas what could be stopping a wget/curl from loading a page into the Varnish cache such that any request from a browser would be served that cached page instead of causing Varnish to cache the page again?

SSRS 2016 – Client found response content type of ”, but expected ‘text/xml’

I’ve got SQL Server 2017 Developer installed on my workstation, and just installed SSRS 2017. I am able to navigate in the SSRS portal, and upload files of dummy data, and create KPIs. However, when click “+New”, then “Dataset” or “Data Source”, I get the message “Something went wrong. Please try again later.” The only clue in a log file is in my RSPortal_yyyy_mm_dd……log file which shows the following:

OData exception occurred: Microsoft.SqlServer.ReportingServices2010.RSConnection2010+MissingEndpointException: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. —> System.InvalidOperationException: Client found response content type of ”, but expected ‘text/xml’

I get the same error if trying to upload an .rdl file.

I did a “next/next/next” install of SSRS, keeping the defaults. The only unusual thing is that I am logged in with a machine account, not a user account. This machine account does show in the top right corner of the SSRS web portal, so that is passing through at least.

What could be happening here?

Keras data generator “Error when checking input: expected input_8 to have 4 dimensions, but got array with shape ()”

I am using data generator in Keras to train a model with a large dataset. But I am getting the error Error when checking input: expected input_8 to have 4 dimensions, but got array with shape () ever time on the last batch of the first epoch. But I checked my dataset file, it doesn’t have an empty array, so how did empty array come? I even tried printing the array as they were generated and few of them were shown empty. Here is my code for the data generator:

class data_generator(Sequence):     def __init__(self,data_file,type_data,batch_size,shuffle=True):         self.data_file = data_file         self.type_data = type_data          self.batch_size = batch_size         self.shuffle = shuffle         self.on_epoch_end()      def on_epoch_end(self):       if self.type_data == "train":         self.indices = np.arange(3450000)       else:         self.indices = np.arange(345000)         if self.shuffle:             np.random.shuffle(self.indices)      def __data__generation(self,indices):          return X,Y              def __len__(self):       if self.type_data == "train":         return int(np.ceil(10000 / float(self.batch_size)))       else:         return int(np.ceil(1000 / float(self.batch_size)))      def __getitem__(self,index):         #print(self.indices[(index)*self.batch_size], self.indices[(index+1)*self.batch_size])         X = np.array(HDF5Matrix(self.data_file, self.type_data + "_X", start = self.indices[index*self.batch_size], end = self.indices[(index+1)*self.batch_size]))         Y = np.array(HDF5Matrix(self.data_file, self.type_data + "_Y", start = self.indices[index*self.batch_size], end = self.indices[(index+1)*self.batch_size]))         #print(X.shape, Y.shape)         return X,Y  

And here is my code for starting the fit generator:

train_generator = data_generator("drive/My Drive/Dataset/dataset.h5", "train", 20) eval_generator = data_generator("drive/My Drive/Dataset/dataset.h5", "eval", 20) model = create_model() history = model.fit_generator(generator = train_generator,epochs = 100,validation_data=eval_generator,use_multiprocessing=False) 

How do I solve this issue? Also is there any alternative for data generator for training on large datasets? The data generator is very buggy and gives lots of error.

Item Update “Value does not fall within the expected range”

If I run each line individually, it works. But If I try to run the script with the for each loop, I get: Exception calling “Update” with “0” argument(s): “Value does not fall within the expected range.”


 $  listItems = $  list.GetItems($  query)    $  query.ListItemCollectionPosition = $  listItems.ListItemCollectionPosition   foreach($  item in $  listItems)        {                # DeleteItems              # UpdateItems              # CancelWorkflows              $  reason = $  item["Reason"] + "  -- This Exception was open more than 30 days and will be closed by the administrator"              $  item["Reason"] = $  reason              $  item.Update()              Write-Host "Added Reason Code - $  ($  item.ID)"               $  reason = $  null               $  count = $  count+1        } 

Do I need to update a different way? When I break and check the variables, $ item[“Reason”] is empty so it makes sense that I have 0 arguments.

Expected behaviour when adding items to your ‘favourites’

I am tweaking our current user journey for adding specific items to your ‘favourites’ list.

The question is: if the user isn’t logged in when they add an item to their ‘favourites’ – should they be prompted to log in at that point?

Or should they be allowed to add more items until they click checkout and then be prompted to log in then?

I feel it would be less disruptive to what the user expects if they need to log in after clicking ‘Checkout’ then being prompted. But then my concern is if the users don’t click checkout and the session ends. They could potentially lose their items.

LinearLayout layout_widht=”match_parent” not working as expected

I am working on custom ListView and custom ArrayAdapters. In my custom list_view.xml file the child LinearLayout’s attribute android:layout_width=”match_parent” is working as wrap_content. This is the code.

<ImageView     android:id="@+id/description_image_view"     android:layout_width="@dimen/list_item_height"     android:layout_height="@dimen/list_item_height"     android:layout_margin="4dp"     android:contentDescription="@string/description" />  <LinearLayout     android:id="@+id/text_linear_layout"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:layout_gravity="center"     android:background="@color/category_numbers"     android:orientation="vertical">      <TextView         android:id="@+id/miwok_text_view"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:layout_weight="1"         android:gravity="bottom"         android:textAppearance="?android:textAppearanceMedium"         android:textColor="@android:color/white"         android:textStyle="bold"         tools:text="Miwok" />      <TextView         android:id="@+id/default_text_view"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:layout_weight="1"         android:gravity="top"         android:textAppearance="?android:textAppearanceMedium"         android:textColor="@android:color/white"         tools:text="English" />  </LinearLayout> 

Any help is appreciated.