website design – Placement of Previous and Next button in Setup

I would like to know because so far I couldn’t find or think of any website to refer to. What is the best placement of a previous and next button for a setup kind of scene?

We have a stepper but we decided to have both stepper and the prev next button as well.

Is it better to place is relative to the data? (so if user adds data, the prev and next button gets more to the bottom)

or

to place it in a fixed space (so no matter how many data user add, it stays there, kind of like a sticky)

Thank you!

oracle – a value on a raw depend on values of previous rows

I have a column (status) in a table that contain numbers values are 1, 2, 4. I would like, in a SQL query, add a calculated column (bitStatus) that will store the bitwise oerator AND for the status column of the current line and the value of all previous values in the previous line.

like so :

| id | status| bitStatus| 
|----|-------|----------|
| 1  |   1   |   1      |
| 2  |   2   |   3      |
| 3  |   4   |   7      |
| 4  |   1   |   7      |

I tried to use LAG but I guess it is not the best choice as I have, for a specific raw, have the value of the operation done for all the previous values: (for line 4 : the biStatus = 0001 AND 1111)

how to resolve that.

Thank you

ios – Why does my SwiftUI animation revert to the previous frame on rotation?

I have a SwiftUI View that is meant to be sort of a “warning” background that flashes on and off. It appears inside another View with a size that changes depending on device orientation. Everything works properly upon the first appearance, but if the device is rotated while the warning view is active it incorporates the frame of the previous orientation into the animation, making it not only flash on and off, but also move in and out of the view its positioned in, as well as change to and from the size it was on the previous orientation. Why is this happening and how can I fix it? Generic code:

struct PulsatingWarningBackground: View {
    let color : Color
    let speed : Double
    @State private var opacity : Double = 1
    var body: some View {
        GeometryReader {geometry in
            self.color
            .opacity(self.opacity)
            .animation(
            Animation
                .linear(duration: self.speed)
                .repeatForever(autoreverses: true)
            )
            .onAppear(perform: {self.opacity = 0})
        }
    }
}

struct PulsatingWarningViewHolder: View {
    var body: some View {
        GeometryReader {geometry in
            ZStack {
                Color.white
                ZStack {
                    Color.black
                    PulsatingWarningBackground(color: .red, speed: 1/4)
                }.frame(width: geometry.frame(in: .local).width/5, height: geometry.frame(in: .local).height/10, alignment: .center)
            }
        }
    }
}

How to restore to previous version of Workflow with SharePoint Designer 2013?

I have a workflow, that I was editing and due to Office 365 crash, I had to close SharePoint Designer 2013 and reopen.
When reopened, I realize that the workflow got messed up with all condition removed.

Google save me this answer to restore to previous version from All files by:

  1. Go to the folder All Files in SharePoint designer (use SharePoint Designer 2010 if connecting with a SharePoint 2013 farm or you’ll get a server busy error), when you have opened your site
  2. Open Workflow folder
  3. Locate your workflow and expand it (+)
  4. For each file: Right click and click “Version history”, select the correct version and click restore
  5. Restart SharePoint designer
  6. Open the version the normal way (not via All Files), and Publish

The problem is step 3, I can’t find any Workflow in the Workflow folder, except a folder named “Forms”. Which has no item in it too.

How to find the workflow and restore it back to its original glory?
I have Owner access to the site and had previously worked on the said Workflow, edited and published it. But never tried to see its history before.

Any help here is much appreciated.

array – count number of previous elements greater than its element at present index

suppose i have a vector containing n elements. I want to find out the number of previous elements greater than its element at present index i . I mean i want to find A(i)>A(j) && i

constraints : 1<=t <=1000 , 1<=n <=10^5 , 1<=A(i)<=10^5

My code:

  #include<bits/stdc++.h>
 using namespace std;
 int main()
 {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;

while(t--)
{
    int n,a,i,j;
    cin >> n;

    vector<int>v1;

    for(i=0;i<n;i++)
    {
        cin >> a;
        v1.push_back(a);
    }
   int cnt=0,sum=0;

    for(i=0;i<n;i++)
    {
        if( i!=0)
        {
            for(j=0;j<i;j++)
            {
                if(v1(i)<v1(j))
                {
                        cnt++;
                }
            }
        }
      //  cout << cnt << " ";
        sum=sum+cnt;
        cnt=0;

    }

    cout << sum << 'n';
}
}

This code is running fine for all the test cases except only one. It is showing the Time limit exceeded for one of the test cases.Can anyone help me?

Travelling without previous visa in Asia

Most EU citizens usually could enter as tourist many Asian countries without holding a visa before landing. This included Malasya, Taiwan, Japan and Korea among others.

Now, given the travel restrictions, where could an UK passport holder land in Asia as a tourist without requiring:

  • Visa issued prior to landing
  • PCR or medical test
  • Been quarantined for XX days upon arrival to its destination.

To the best or my knowledge this is impossible in May 2020. But maybe someone knows one country that allows this.

navigation – Navigate to next page / previous page based on entity reference field instead of Book module

I am trying to create next/previous page links like the Book module.

I have two content types, Chapter and Page.

The Chapter content type contains an entity reference field (unlimited) for pages.

So, each chapter contains an arbitrary number of pages in the entity reference field Pages in Chapter, and these are re-ordered to determine the order of the pages.

Now, on each Page, I want to make links to the previous and next pages based on the values of the parent Chapter‘s entity reference field Pages in Chapter.

Specifically, using a view or block or similar on the Page, I need to get the Chapter that references the current Page, iterate through the values of the entity reference field Pages in Chapter, find the Page that is immediately before and the Page that is immediately after the current Page, and then output this as a simple unordered list.

I can code a little but I’m not very good so I’m having trouble finding an approach to implement this.

What I tried

I tried to build this in Views. The problem I encountered was that it is very difficult to iterate through the subdivision entity reference field and filter out the previous and next links.

This is a similar question for Drupal 7 but since Drupal 8 includes so much more in core (Views and Entity References, for example), I think it’s fair to ask the question again.

Why not just use the Book module?

I only need the next/previous page functionality, and ideally it would be based on my entity reference field Pages in Chapter. The book module navigation in Drupal 8 doesn’t follow the same patterns as the rest of core (it’s not a block, and it’s not a menu). I spent a couple hours this afternoon going through the Book issue queue and cleaning up old issues, and it seemed there is very little effort to “modernize” the module, so I thought it would be better to try to implement this feature on my own.

How can I update the list of answers to an upcoming question in Google Forms based off of previous answers in the same form?

The title makes this sound more difficult or complex than it actually is.

What I’m trying to accomplish is to build an entire elimination bracket prediction picker through Google Forms. I would have 16 predetermined teams in an elimination style tournament where I split them into their 8 1v1 predetermined match-ups. From here I want to have the user predict the next round which would have half the matches of the previous round but I can’t find a way to have all the teams that the user predicted to be eliminated in the first round to be removed as options in the second round. So if someone picked Team 1 to beat Team 2 in the first round I don’t want Team 2 to be an option to win in the next round. This makes it so when the user gets to the final they don’t have to select the winner out of 16 teams, but rather just 2 since half the teams are eliminated each round. This would also allow this form to scale to much bigger tournaments like for Tennis where there can be many more rounds and competitors.

The only things I could find that are similar are choice eliminator add-ons that remove choices from all forms. Unfortunately that’s only appropriate for scheduling appointments and won’t work for this use case since I want people to have all permutations of the bracket available when they predict.

❓ASK – Experts says 3rd bitcoin halving is not the same with previous halvings | NewProxyLists

Some experts says that the 3rd bitcoin halving will not be as same as the previous ones, as they stress that with previous halvings the miners have most of the bitcoin to sell, but with the 3rd halving most of the bitcoin’s are already in circulation in different markets and exchanges, miners will only have smaller amount of bitcoin to sell this time. They also said that bitcoin price might not rise any time soon.

Privacy. How to prevent the recipient of the transaction from finding my previous transactions

I plan to send BTC to a new BTC address, but I don't have complete confidence in this news.

I'm sending it to someone else, but I want to be sure that if I do, he won't be able to access other people I used the same BTC wallet to send BTC