sharepoint online – Does Office365Users() connector allow to get these info Employee ID & Position

We want to show the following information for a selected user (inside a People picker field), inside inside Power Apps:-

  1. Manager —> inside a People or Group field

  2. Position/Job Title —> inside a free text field

  3. Department —> inside a drop-down field

  4. Employee ID —> inside a free test field

Now based on this documentation @ https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/connection-office365-users the Office365Users allow us to get the Manager + Department.. but does it support getting these 2 information also “Position/job-Title” & “Employee ID” ? If not, then is there another connector we can use to show these info?

Thanks

oracle – AND clause with IN function to compare/validate values from subquery

Greeting,
In the hypothetical scenario, I have a procedure with with an update statement which works by updating the values of specified table with the variable inputs. However, I have five AND clauses with an IN comparison function to validate if the variable values exists with the tables specified in the subquery inside the parenthesis. The procedure executes as expected but no value are updated. The value from the variables exist in the tables specified in the subqueries. Without these five AND clauses, the procedure updates the values as expected but I need to make these validations. Please let me know what could be the issue or if these is a better way to perform this validation. Please also see the image for reference on the specific code. Thank you in advance.

DECLARE 
VAR1 DATE := TO_DATE('11/15/2019', 'MM/DD/YYYY');
VAR2 VARCHAR2(25) := '0000809349';
VAR3 NUMBER := 2017;
VAR4 NUMBER := 4;
VAR5 DATE := TO_DATE('11/18/2019', 'MM/DD/YYYY');

BEGIN

UPDATE MFT 
SET PD = VAR1,
    JI = VAR2,
    FY = VAR3,
    AP = VAR4,
    DPD = VAR5
WHERE RSN = 9097
AND VAR1 IN (SELECT PD FROM MEC)
AND VAR2 IN (SELECT JI FROM CGL)
AND VAR3 IN (SELECT FY FROM CGL)
AND VAR4 IN (SELECT AP FROM CGL)    
AND VAR5 IN (SELECT DPD FROM CGL)
AND PD = TO_DATE('06/09/2017', 'MM/DD/YYYY')
AND JI = '0000911979'
AND FY = 2017
AND AP = 12
AND DPD = TO_DATE('06/09/2017', 'MM/DD/YYYY');
COMMIT;
END;

enter image description here

electrum – Why are Paxful transaction fees so low?

Paxful has withdrawal fees, as any other exchange or Bitcoin service that I am aware of: sending bitcoin is costly, so it will be very unlikely that some company will send you btc without charging a fee.

This is from Paxful Fees webpage:

enter image description here

So Paxful charge you with 0,0004 btc if you withdraw more than 20$, which is usually more than you have to pay to send a standard transaction with Electrum.

As a side note I tell you that in the last few days Bitcoin network fees went crazy, a sharp hashrate reduction has created a long queue of pending transactions and sent commissions to the highest level for 3 years now; so right now you can pay more than 0,0004 btc but it’s a very rare case as you can see at this historical chart: https://jochen-hoenicke.de/queue/#BTC,all,count

list manipulation – Extracting row from specific value

I have a multiple datasets that contains thousands of rows and thousands of columns, and from that I’m trying to extract the row that contains the smallest column value from the entire dataset. Depending on what dataset I am using though, that lowest values position may vary. For example, if I have the following set

a = {{2.5,3.4,5.2,7.3,10},{0.1,7.5,8.9,25,7},{4.6,6.8,1,.75,.25}} b={{2.5,3.4,5.2,7.3,10},{0.9,7.5,8.9,25,7},{4.6,6.8,1,.75,.25}
To find the minimum value of this array I’d just do

Min[a] and Min[b]

and that should return 0.1 for a and .25 for b, now I want to see the entire row that contains that 0.1 value and then another row that contains the .25 value, so {0.1,7.5,8.9,25,7} and {4.6,6.8,1,.75,.25}. I tried

Select[a,Min[a]] 

to get the row from a but that doesn’t return anything. Am I missing something from my select statement, or is there another way I should be going about this?

dnd 5e – Character build for most summoning creatures from lv1 to lv5

I’m looking for advice about building a character starting at lv1 for an adventure up to lv5, and I would like to create something able to cast the most creatures as I can.

So far I am looking into a Rock Gnome for its “Tinker” trait and specifically the “Clockwork Toy” option.

As class I’m looking into Warlock for its access to many summoning spells (conjure).

I should also mention that I am just a beginner with DnD 5e, thus the request for help.

I am not against multiclassing, but if I can stick to 1 class only it would be easier for me to manage the character.

iphone – Add note to phone number without using contacts

On my Android when I view recent calls I can…
click phone number,
click i,
click add note,
type my note such as “May order 1000 widgets”.

Now the next time he phones I will see.

555-555-5555.
May order 1000 widgets

I find this very useful, I can decide to answer or let it go to voicemail.
Can the iphone accomplish more or less the same thing?

continuous integration – Product versioning in a serverless application

We have separate repos – One each for backend and frontend. Backend is all serverless microservices that are independently versioned. Front-end is semantic versioning. Versions are incremented in the CI/CD pipeline and both front-end and backend have their own pipeline.

How should the product versioning(the version that is displayed to the user) be integrated into the workflow?

c++17 – Python’s enumerate for C++

I implemented an enumerate() method for C++ containers similar to Python’s enumerate to iterate through a range with an index and the actual value.

I have the following questions:

  • Does the usage of the Const template parameter make sense for this scenario?
  • Do I need additional iterator methods depending on the type of iterator, e.g. operator+(int) or operator–?
  • Is the construction of the std:pair on dereferencing the iterator too much?
  • Should the operator!= method also compare the current index?
  • Is there something else important missing here?

Thanks!

Usage:

#include <iostream>
#include <string>
#include <vector>

auto main() -> int {
    const std::vector<std::string> names{ "Adam", "Ben", "Chris" };
    for (const auto&& (i, name) : enumerate(names))
        std::cout << i << ") " << name << 'n';
}

Implementation:

#include <cstddef>
#include <iterator>
#include <utility>

template <class Iter, class T, bool Const = false>
class enumerate_iterator {
public:
    using pointer = typename std::conditional_t<Const, const T* const, T*>;
    using reference = typename std::conditional_t<Const, const T&, T&>;

    enumerate_iterator(Iter iterator, std::size_t index);

    auto operator!=(const enumerate_iterator& other) -> bool;
    void operator++();
    auto operator*() const -> std::pair<std::size_t, reference>;

private:
    Iter iterator;
    std::size_t index;
};

template <class Container, bool Const = false>
struct enumerate_range {
    using value_type = typename Container::value_type;
    using container_iterator =
        typename std::conditional_t<Const, typename Container::const_iterator,
                                    typename Container::iterator>;
    using iterator = enumerate_iterator<container_iterator, value_type, Const>;
    using reference = typename std::conditional_t<Const, const Container&, Container&>;

    explicit enumerate_range(reference container);

    enumerate_range() = delete;

    auto begin() -> iterator;
    auto end() -> iterator;

private:
    reference container;
};

template <class Container>
auto enumerate(const Container& container) -> enumerate_range<Container, true> {
    return enumerate_range<Container, true>(container);
}

template <class Container>
auto enumerate(Container& container) -> enumerate_range<Container, false> {
    return enumerate_range<Container, false>(container);
}

template <class Container, bool Const>
enumerate_range<Container, Const>::enumerate_range(reference container) : container(container) {}

template <class Container, bool Const>
auto enumerate_range<Container, Const>::begin() -> iterator {
    return iterator(container.begin(), 0);
}

template <class Container, bool Const>
auto enumerate_range<Container, Const>::end() -> iterator {
    return iterator(container.end(), std::distance(container.begin(), container.end()));
}

template <class Iter, class T, bool Const>
enumerate_iterator<Iter, T, Const>::enumerate_iterator(Iter iterator, std::size_t index)
    : iterator(iterator), index(index) {}

template <class Iter, class T, bool Const>
auto enumerate_iterator<Iter, T, Const>::operator!=(const enumerate_iterator& other) -> bool {
    return iterator != other.iterator;
}

template <class Iter, class T, bool Const>
void enumerate_iterator<Iter, T, Const>::operator++() {
    iterator++;
    index++;
}

template <class Iter, class T, bool Const>
auto enumerate_iterator<Iter, T, Const>::operator*() const -> std::pair<std::size_t, reference> {
    return std::pair<std::size_t, reference>{index, *iterator};
}