sharepoint online – Is this a bug ?only 30 items in the List showing and i need to inspect the page for the rest to show up

Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

oracle – Connect Application with separate DB links from same server

My application is connecting to our internal Oracle Server. Our internal Oracle server connects with a third-party server using a DB link. Now, our internal oracle needs to create another DB link to second third party. So our application currently we have,

Application >> connects to internal Internal:SomePort >> connects to third-party ThirdPartyIp:SomePort(via DB link)

Now, all our queries (from the application) are without @DbLink

Now we have created a new DB link on the same internal server,

Application >> SameInternalServer >> connects to another third-party ThirdPartyIp:SomePort(via DB link)

Is it possible to use different connection strings for different third party DB? or we will be struck to @DbLink syntex from the application?

For Third Party, we can use,

select * from ThirdPartyTable

But for the second we have to use,

select * from ThirdPartyTable@DbLink

Any way to mitigate avoid @DbLink because we have DB structure is same for both third-party servers.

data – function over list mathematica

I work on problem that need to define function with two list of data as follow

a = {0.1, 0.233, 0.65, 1.56};
b = {0.99, 0.8, 0.9, 1.9};

ELCDM1(z_?NumericQ, om_?NumericQ) := 1/Sqrt(om*(1 + z)^3 + 1 - om);

angdist(zmin_?NumberQ, zmax_?NumberQ, om_?NumberQ) := (3*10^5)/(

   1 + zmax) NIntegrate(ELCDM1(z, om), {z, zmin, zmax});

“a” is list of lower bound of integrate and b is upper bound. The true outcome for my function “angdis” is
{100707., 71762., 25625.6, 13508.}. For me I should put first list “a” to my function and at the end of my program put list “b” so as I did as follow the outcome is different with {100707., 71762., 25625.6, 13508.}.

   om_) := (3*10^5)/(1 + #) NIntegrate(ELCDM1(z, om), {z, x, #}) & /@ 

angdist4(om_) := angdist3(#, om)((#)) & /@ a;


here is the outcome :

{{100707., 92199.9, 97142.2, 111441.}((
  0.1)), {82220.6, 71762., 77779.9, 98755.}((
  0.233)), {32424.9, 16710.2, 25625.6, 64584.9}((
  0.65)), {-42008.8, -65580.4, -52333.9, 13508.}((1.56))}

Any suggestions would be greatly appreciated.

dnd 5e – Does Evasion work against effects that don’t target an area?

Evasion requires both area-of-effect and Dexterity-save-for-half

D&D rules are meant to be parsed as plain English – one can write about a “green car” in one sentence, then continue talking about that car in subsequent sentences without the need to repeatedly specify that the car is green. The word “effects” in one sentence is implicitly referring to the same “effects” in the next, there’s no need to repeatedly specify “area”.

Furthermore, one sentence can be used to narrow a definition from a previous sentence. In this case, the first sentence specifies “certain area effects”. The second sentence defines what those certain effects are – effects that include a Dexterity saving throw for half damage.

Could it have been written in a more technically precise manner? Sure1, but that isn’t license to selectively disregard one sentence in favor of another, when there is a valid reading that takes both sentences into account.

There’s nothing beyond the text you’ve already quoted on Evasion, which indicates it only works on Dexterity-based area affects that allow a save-for-half. The examples provided are illustrative, not exclusive-and-complete.

What’s an Area of Effect?

The spell or effect’s description will indicate if it’s an area effect, in most cases using one of a number of defined shapes – line, cone, cube, sphere, or cylinder. Enervation, Disintegrate, and Immolate may have Dexterity saves, but they are not both area effects and save-for-half, so Evasion doesn’t help. Chain Lightning hits multiple targets, but it can skip over people in between, so it’s not an area effect either.

Room for Debate

Flaming Sphere is a bit of an edge case. Evasion definitely wouldn’t help against the ram, because it’s clearly not an area effect. The end-of-turn burn is debatable and could be argued either way; it’d be a DM call. I’d never call it RAW, but this DM would allow Evasion to work against the end-of-turn burn, as I see Evasion being the Rogue easily and quickly finding a very precise position to avoid the brunt of an area spell, and would count skirting the edges of Flaming Sphere‘s heat as doing just that.

1I, for one, would have preferred a more technical/explicit form of writing, but I suspect the 5E authors decided that level of precision in 4E was something that turned people off. I think the pendulum swung too far, and would have preferred it pointed closer to 3.5E than the looser language we ended up with in 5E.

javascript automation – Is JXA still supported?

JavaScript for Automation was released some years ago, but I am having a hard time finding information about its current support status in macOS. It is not encouraging that the JavaScript for Automation Release Notes page starts with the statement

Important: This document is no longer being updated. For the latest
information about Apple SDKs, visit the documentation website.

but if you click the link and search for “JXA” in the Apple Developer Documentation, you get 0 results.

Is JXA still supported by Apple? Does it have a future in macOS?

database – When would I pick NoSQL over SQL when dealing with partly schema-less data?

so, I’m currently developing a feature for a website of mine, which aims to gather a set of financial data from the user so the user can start and take care of a budget, as well as the website offering some budgeting advice and offer some finance charts.

The data is supposed to be used like this:

  • Users have to enter a set of a few “base” expenses or incomes, being groceries, salary etc.
  • Additionally, the user will be offered the possiblity to offer as much free fields as he/she wants, which basically just consist of a name, type (income/expense) and value.
  • There is not much data processing to be done, all my application will use is a accumulated number of total cashflow. The rest of the data is queried from DB, and directly forwarded to the UI
  • The data can be updated at any time

Personally, I have only worked with regular relational databases before, except for Azure TableStorage. But besides that, barely any practical NoSql knowledge. However, I roughly know the differences, advantages and disadvantages. In this case I thought this was a perfect fit for a NoSql database, because:

  1. There’s no complex or rigid relation to be held here
  2. The data is (partly) schemaless and needs to be extensible
  3. This is potentially an operation that is executed a lot

However, after talking to a few people, they still suggested to use SQL for this. The way to do this is quite clear to me, I’d probably have a table with the type (income/expense), the name of the item, the value, and an indication to map this to a given user.

Okay, perfectly valid. However, I thought this is very much a good use case of NoSQL. This is not the first time I thought I hit a good use case for a NoSQL usage, just to find out in the end (when talking to people who definitely know better) that a traditional relational database is the way to go.

So, what boxes would my use case have had to tick in addition to this to be considered a good NoSQL use case?

php – executar comandos docker/docker-compose em pasta externa

Criei um servidor LAMP simples usando docker/docker-compose, consegui inicializar os containers apontando para uma pasta externa à que estão os arquivos do docker, o problema é que preciso rodar alguns comandos, como o composer, na pasta de cada projeto e como o arquivo docker-compose.yml está numa pasta externa isso não é possível, como posso rodar os comandos com pastas externas?


arquivos do docker (Dockerfile e docker-compose.yml):


pastas de vários projetos diferentes:

/home/thiago/www/ (várias pastas, exemplo: projeto1, projeto2, projeto3)

exemplo de uso do composer com docker (na pasta relativa ao projeto):

docker exec -it CONTAINER composer install

tentei adicionar a flag –workdir /home/thiago/www/projeto1/

mas o seguinte erro é retornado:

OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "chdir to cwd ("/home/thiago/www/projeto1") set in config.json failed: no such file or directory": unknown


FROM php:7.4-apache

RUN a2enmod rewrite
RUN docker-php-ext-install mysqli pdo pdo_mysql

# Get latest Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

# Create system user to run Composer and Artisan Commands
RUN useradd -G www-data,root -u 1000 -d /home/sammy sammy
RUN mkdir -p /home/sammy/.composer && 
    chown -R sammy:sammy /home/sammy


version: "3.7"
        build: .
            - "80:80"
            - $HOME/www/:/var/www/html/
            - mysql
            - default
        image: mysql:8.0
            - "3306:3306"
        command: --default-authentication-plugin=mysql_native_password
            MYSQL_PASSWORD: root
            MYSQL_ROOT_PASSWORD: root 
            - ./dump:/docker-entrypoint-initdb.d
            - ./conf:/etc/mysql/conf.d
            - persistent:/var/lib/mysql
            - default

Colliding with an object

What needs to be corrected or rewritten to block movement (square) only in the direction of the wall?
What needs to be corrected or rewritten to block movement (square) only in the direction of the wall?


function lineLineIntersects(a, b, c, d, p, q, r, s) {
    var det, gamma, lambda;
    det = (c - a) * (s - q) - (r - p) * (d - b);
    if (det === 0) {
        return false;
    } else {
        lambda = ((s - q) * (r - a) + (p - r) * (s - b)) / det;
        gamma = ((b - d) * (r - a) + (c - a) * (s - b)) / det;
        return 0 < lambda && lambda < 1 && 0 < gamma && gamma < 1;

function intersectBallWall(targetPos, currPos, square, wall) {
    const isSquareCantMove = lineLineIntersects(
        targetPos.x, targetPos.y,
        currPos.x, currPos.y,
        getXPixelRatio * wall.x, getXPixelRatio * wall.y,
        getYPixelRatio * (wall.x + wall.w), getYPixelRatio * (wall.y + wall.h)

    const isTouchWall = !(
        getXPixelRatio * wall.x >= targetPos.x + square.w ||
        getXPixelRatio * (wall.x + wall.w) <= targetPos.x ||
        getYPixelRatio * wall.y >= targetPos.y + square.h ||
        getYPixelRatio * (wall.y + wall.h) <= targetPos.y

    return isTouchWall || isSquareCantMove;