fix(*.pacscript): remove useless vim:set lines

The shfmt hook exists already, and people can just add this to their personal config if they desire.

Just add a vimrc sample for *.pacscript to the wiki. In any case it doesn't make sense to have this line in some files but not others


Debugger Traffic Snooper filter functionally broken

Using the filter input on the traffic snooper seems to throw an undefined error. The filter does not function.

Filter notation has changed, it is now a boolean expression checker for the packet's context. Accessed as follows in the given case above:
`data.dst === "names.api" || data.src==="names.api"``
This will filter all packets with a destination or src of names.api.
This issue is now a UI update issue and not a functional change. Add some UI element (tooltip/hint) to show how to use the filter.


Refactor predicates and range from model to logic

Don't merge yet please!

Should we close this without merging? I vote yes :(


[PE-D][Tester D] Step numbering issues in UC05-Edit a contact in DG

Similar to the previous issue. Would it be more appropriate to say the Use Case resumes from step 2 instead? :)

Labels: severity.Low type.DocumentationBug
original: vinc3leong/ped#11

makes sense to me, what do ur think?

resolved by ruiming's pr #263


Explanation of application setting "JAVA_COPY_ALL" wanted to be mentioend in the doc.

Hi, Team.
I know there's application settings "JAVA_COPY_ALL" which enable tomcat files (not only tomcat?) to be copied from shared space to local disk space and can prevent resource locking issue.
Could you please include that explanation into official doc if needed?
I discussed with Gregory Goldshteyn in Java Team so he know about this more..!
Thank you.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: df68e904-7b05-38ba-4203-50eb8491946f
Version Independent ID: 921377f7-e428-143d-70e4-c9efc25e41d1
Content: Configure Java apps - Azure App Service
Content Source: articles/app-service/configure-language-java.md
Service: app-service
GitHub Login: @JasonFreeberg
Microsoft Alias: jafreebe

@yutaro113 Thanks for your feedback! We will investigate and update as appropriate.

yutaro113, Your feedback has been shared with the content owner for further review.

Somehow we missed https://github.com/MicrosoftDocs/azure-docs-pr/pull/177817 without merging it. Merged it in a new PR. #please-close


💡[FEATURE]: Pharmaceutical-Products-Sales-Forcasting

A ml project

you can predict pharma stocks

will predict the sales volume in units of 5 pharmaceutical products for 4 months including Covid-19 period. The work fulfilled the best prediction scores in a competition with MAPE scores ranging from 3% to 11% for 4 products.


Updated token to Codecov

@tisnik Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-47


Update @testing-library/user-event to latest version

We want to update @testing-library/user-event to the latest version to migrate our tests to async / await and avoid flaky tests.
Acceptance criteria:

[ ] @testing-library/user-event is updated to the latest version
[ ] All existing tests are still passing

Tech notes:
This update may be blocked by inputmask or some other dependency. Start investigating that to have an overview of the size of this issue.

Closing in favor of #2481


Is it possible to get the size of an existing page?

Hi,
I'm wanting to load a PDF and read out the size of the first page. Is this possible using pdf-lib?
Thanks

Yes, pdf-lib can do this. However, the API for it is not currently documented. But I have explained how to do it here: https://github.com/Hopding/pdf-lib/issues/10#issuecomment-402326518. For example:
const pages = pdfDoc.getPages();
const page1 = pages[0];

const PAGE_WIDTH = page1.get('MediaBox').array[2];
const PAGE_HEIGHT = page1.get('MediaBox').array[3];

Please let me know if you have any trouble with this.


[BUG] docker compose -f ochami-services.yml -f hydra.yml -f opaal.yml -f ochami-krakend-ce.yml up fails port in use

Describe the bug
docker compose -f ochami-services.yml -f hydra.yml -f opaal.yml -f ochami-krakend-ce.yml up fails on
Error response from daemon: driver failed programming external connectivity on endpoint hydra (aa4af1c3010b07aee23f3ea108493764dc7be311c622d24a9d0e632b2aa9962a): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:5555: bind: address already in use
To Reproduce
Steps to reproduce the behavior:
run
docker compose -f ochami-services.yml -f hydra.yml -f opaal.yml -f ochami-krakend-ce.yml up
Expected behavior
Service come up completely.
Desktop (please complete the following information):

OS: Fedora 39

@jhansonhpe Can you recheck that this is still happening?


bugfix back-knapp

A picture tells a thousand words
Before this PR
After this PR
fix #181

Coverage remained the same at 40.701% when pulling 4c2fc10f4d8e491666a37c89907c92031c68d559 on feature/back-knapp-fix into e1cb0b137e6e493bf3ff0d66e3eb160b2d2bcf5e on master.


Sharding integration is much slower than pmap

This is a follow up to https://github.com/patrick-kidger/diffrax/issues/403, where when I do the equinox sharding design, I see it is substantially slower than a pmap (or even just a vmap on 1 device).
Here is a MVC that I run on my laptop with 10 devices (10 cpus).
import os
import multiprocessing

os.environ["XLA_FLAGS"] = "--xla_force_host_platform_device_count={}".format(
    multiprocessing.cpu_count()
)

import jax
import jax.numpy as jnp
import jax.experimental.mesh_utils as mesh_utils
import equinox as eqx
import matplotlib.pyplot as plt
from diffrax import *
import optax

def f(t, y, args):
    return jnp.sin(t) + args["theta"] * y

def g(t, y, args):
    return 0.1 * jnp.eye(1)

t0 = 0.
t1 = 1.
dt0 = 0.05
diffusion_shape = jax.ShapeDtypeStruct((1,), "float32")
solver, cont = Heun(), PIDController(1e-3, 1e-6)
ts = jnp.linspace(t0, t1, 100)

def solve(init, key, args):
    control = VirtualBrownianTree(
        t0=t0,
        t1=t1,
        tol=dt0 / 2,
        shape=diffusion_shape,
        key=key,
    )
    vf = ODETerm(f)
    cvf = ControlTerm(g, control)
    terms = MultiTerm(vf, cvf)
    saving = SaveAt(
        ts=ts
    )
    sol = diffeqsolve(
        terms,
        solver,
        y0=init,
        t0=t0,
        t1=t1,
        dt0=dt0,
        args=args,
        saveat=saving,
        stepsize_controller=cont,
        max_steps=10_000,
    )
    return sol.ys

batch_size = 300
inits = 0.1 * jnp.ones((batch_size, 1))
keys = jax.random.split(jax.random.PRNGKey(0), batch_size)
args = {"theta": 0.1}

num_devices = len(jax.devices())
devices = mesh_utils.create_device_mesh((num_devices, 1))
sharding = jax.sharding.PositionalSharding(devices)
replicated = sharding.replicate()

inits_pmap = inits.reshape(num_devices, batch_size // num_devices, *inits.shape[1:])
keys_pmap = keys.reshape(num_devices, batch_size // num_devices, *keys.shape[1:])

args_shard = eqx.filter_shard(args, replicated)
x, y = eqx.filter_shard((inits, keys), sharding)
fn = eqx.filter_jit(eqx.filter_vmap(solve, in_axes=(0, 0, None)), donate="all")
_ = fn(x, y, args_shard).block_until_ready()
_ = eqx.filter_pmap(fn, in_axes=(0, 0, None))(inits_pmap, keys_pmap, args).block_until_ready()

When I do
%%timeit
_ = fn(x, y, args_shard).block_until_ready()

I see 377 ms ± 19.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
and when I do
%%timeit
_ = eqx.filter_pmap(fn, in_axes=(0, 0, None))(inits_pmap, keys_pmap, args).block_until_ready()

I see 10 ms ± 171 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
I thought it could be something with scoping, but if I move everything inside the solve function it has no impact. This just slightly more complex than the pseudo code I described in the previous issue, but seems to be quite slow. Is there an issue with my sharding approach or is there something more complex going on here?

Note, this is not universal that sharding is just slow on my machine due to some specific problem with my CPUs/install. Running a simpler version of the equinox example yields a sharding that is faster than pmap
import os
import multiprocessing

os.environ["XLA_FLAGS"] = "--xla_force_host_platform_device_count={}".format(
    multiprocessing.cpu_count()
)
import equinox as eqx
import jax
import jax.experimental.mesh_utils as mesh_utils
import jax.numpy as jnp
import jax.random as jr
import jax.sharding as jshard
import numpy as np
import optax  # https://github.com/deepmind/optax

# Hyperparameters
dataset_size = 64
channel_size = 4
hidden_size = 32
depth = 1
learning_rate = 3e-4
num_steps = 10
batch_size = 20  # must be a multiple of our number of devices.

# Generate some synthetic data
xs = np.random.normal(size=(dataset_size, channel_size))
ys = np.sin(xs)

model = eqx.nn.MLP(channel_size, channel_size, hidden_size, depth, key=jr.PRNGKey(6789))
optim = optax.adam(learning_rate)
opt_state = optim.init(eqx.filter(model, eqx.is_inexact_array))

# Loss function for a batch of data
def compute_loss(model, x, y):
    pred_y = jax.vmap(model)(x)
    return jnp.mean((y - pred_y) ** 2)

num_devices = len(jax.devices())
devices = mesh_utils.create_device_mesh((num_devices, 1))
sharding = jshard.PositionalSharding(devices)
replicated = sharding.replicate()

data, label = xs[:batch_size], ys[:batch_size]
data_pmap = jnp.reshape(data, (num_devices, len(data) // num_devices, channel_size))
label_pmap = jnp.reshape(label, (num_devices, len(label) // num_devices, channel_size))
x, y = eqx.filter_shard((data, label), sharding)
model_shard, opt_state_shard = eqx.filter_shard((model, opt_state), replicated)

@eqx.filter_jit
def train_step(model, opt_state, x, y):
    grads = eqx.filter_grad(compute_loss)(model, x, y)
    return grads.layers[0].weight

%%timeit
_ = train_step(model_shard, opt_state_shard, x, y).block_until_ready()

316 µs ± 6.88 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)
%%timeit
_  = eqx.filter_pmap(train_step, in_axes=(None, None, 0, 0))(model, opt_state, data_pmap, label_pmap).block_until_ready()

1.75 ms ± 2.93 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

Hmm, this is a little odd.
I think the main two things I'd highlight are that (a) I think you may be including compile time in your measurements -- if this is larger for sharding then that may skew things, and also (b) I don't know to what extent CPU is supported in each case. CPU support has always been fairly iffy in JAX, so I wouldn't be surprised if sharding/pmap each take better advantage of the hardware somehow. Can you replicate these findings on a GPU?
Other than that I know the plan is to have pmap eventually become a backward-compatibility wrapper for sharding, so it'd be good to get these details straightened out.

This did accidentally include compile time, but I took them out and it has no real impact on times (updated the code above).

I will try on GPUs and report back

I slightly adjusted the code just to make some things a little faster (just reduced integration time). In addition, this is now with 4x A100s, rather than 10 (Mac) CPUs. I see sharding based slowdowns way more severe actually with this code on GPUs than on cpus, which was interesting! For exactness, this is what I ran:
import jax
import jax.numpy as jnp
import jax.experimental.mesh_utils as mesh_utils
import equinox as eqx
import matplotlib.pyplot as plt
from diffrax import *
import optax

def f(t, y, args):
    return jnp.sin(t) + args["theta"] * y

def g(t, y, args):
    return 0.1 * jnp.eye(1)

t0 = 0.
t1 = 0.1
dt0 = 0.05
diffusion_shape = jax.ShapeDtypeStruct((1,), "float32")
solver, cont = Heun(), PIDController(1e-3, 1e-6)
ts = jnp.linspace(t0, t1, 100)

def solve(init, key, args):
    control = VirtualBrownianTree(
        t0=t0,
        t1=t1,
        tol=dt0 / 2,
        shape=diffusion_shape,
        key=key,
    )
    vf = ODETerm(f)
    cvf = ControlTerm(g, control)
    terms = MultiTerm(vf, cvf)
    saving = SaveAt(
        ts=ts
    )
    sol = diffeqsolve(
        terms,
        solver,
        y0=init,
        t0=t0,
        t1=t1,
        dt0=dt0,
        args=args,
        saveat=saving,
        stepsize_controller=cont,
        max_steps=100,
    )
    return sol.ys

batch_size = 300
inits = 0.1 * jnp.ones((batch_size, 1))
keys = jax.random.split(jax.random.PRNGKey(0), batch_size)
args = {"theta": 0.1}

num_devices = len(jax.devices())
devices = mesh_utils.create_device_mesh((num_devices, 1))
sharding = jax.sharding.PositionalSharding(devices)
replicated = sharding.replicate()

inits_pmap = inits.reshape(num_devices, batch_size // num_devices, *inits.shape[1:])
keys_pmap = keys.reshape(num_devices, batch_size // num_devices, *keys.shape[1:])

args_shard = eqx.filter_shard(args, replicated)
x, y = eqx.filter_shard((inits, keys), sharding)
fn = eqx.filter_jit(eqx.filter_vmap(solve, in_axes=(0, 0, None)), donate="all")
_ = fn(x, y, args_shard).block_until_ready()
_ = eqx.filter_pmap(fn, in_axes=(0, 0, None))(inits_pmap, keys_pmap, args).block_until_ready()

%%timeit
_ = fn(x, y, args_shard).block_until_ready()

yields 13.7 s ± 261 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
%%timeit
_ = eqx.filter_pmap(fn, in_axes=(0, 0, None))(inits_pmap, keys_pmap, args).block_until_ready()

yields 57.1 ms ± 3.94 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
(naturally, CPUs are faster than GPUs on such small sequential problems).

I added the EQX_ON_ERROR, then I started to slowly roll back complexities (until we would have a manually stepped Euler ODE) when I noticed something. Stepsize controller seems to be slowdown. If I do controller and saveat ts, sharding is ~80x slower than pmap. Without it, sharding is slightly faster. To put it concretely, I have this code (simple ODE):
import os
import multiprocessing

os.environ["XLA_FLAGS"] = "--xla_force_host_platform_device_count={}".format(
    multiprocessing.cpu_count()
)
os.environ['EQX_ON_ERROR'] = 'nan'
import jax
import jax.numpy as jnp
import jax.experimental.mesh_utils as mesh_utils
import equinox as eqx
from diffrax import *

def f(t, y, args):
    return jnp.sin(t) + args["theta"] * y

t0 = 0.
t1 = 0.1
dt0 = 0.01
diffusion_shape = jax.ShapeDtypeStruct((1,), "float32")
solver, cont = Heun(), PIDController(1e-3, 1e-6)
ts = jnp.linspace(t0, t1, 100)

def solve(init, key, args):
    vf = ODETerm(f)
    terms = vf
    saving = SaveAt(ts=ts)
    #saving = SaveAt(t1=True)
    sol = diffeqsolve(
        terms,
        solver,
        y0=init,
        t0=t0,
        t1=t1,
        dt0=dt0,
        args=args,
        saveat=saving,
        stepsize_controller=cont,
        max_steps=100,
    )
    return sol.ys

batch_size = 300
inits = 0.1 * jnp.ones((batch_size, 1))
keys = jax.random.split(jax.random.PRNGKey(0), batch_size)
args = {"theta": 0.1}

num_devices = len(jax.devices())
devices = mesh_utils.create_device_mesh((num_devices, 1))
sharding = jax.sharding.PositionalSharding(devices)
replicated = sharding.replicate()

inits_pmap = inits.reshape(num_devices, batch_size // num_devices, *inits.shape[1:])
keys_pmap = keys.reshape(num_devices, batch_size // num_devices, *keys.shape[1:])

args_shard = eqx.filter_shard(args, replicated)
x, y = eqx.filter_shard((inits, keys), sharding)
fn = eqx.filter_jit(eqx.filter_vmap(solve, in_axes=(0, 0, None)))
_ = fn(x, y, args_shard).block_until_ready()
_ = eqx.filter_pmap(fn, in_axes=(0, 0, None))(inits_pmap, keys_pmap, args).block_until_ready()

and
%%timeit
_ = fn(x, y, args_shard).block_until_ready()

and
%%timeit
_ = eqx.filter_pmap(fn, in_axes=(0, 0, None))(inits_pmap, keys_pmap, args).block_until_ready()

If I have SaveAt(ts=ts) + controller:

shard = 36.6 ms ± 1.56 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)
pmap = 684 µs ± 5.08 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

If I have SaveAt(ts=ts) + no controller:

shard = 165 µs ± 2.43 µs per loop (mean ± std. dev. of 7 runs, 10,000 loops each)
pmap = 621 µs ± 2.23 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

If I have SaveAt(t1=True) + controller:

shard = 1.01 ms ± 38 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)
pmap = 648 µs ± 40 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

If I have SaveAt(t1=True) + no controller:

shard = 147 µs ± 3.97 µs per loop (mean ± std. dev. of 7 runs, 10,000 loops each)
pmap = 630 µs ± 4.27 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)

As you can see, the only one of (meaningful) difference is SaveAt(ts=ts) + controller. I will look into the implementations, but since you are much more familiar with the code base, maybe there is a reason that stands out to you?

Oh, that's interesting! Okay, so it's probably something to do with this chunk of code:
https://github.com/patrick-kidger/diffrax/blob/5bc3e07e6059a71029e67e6e9df77b2d4fe2afcf/diffrax/_integrate.py#L325-L355
Which is the bit that saves outputs if SaveAt(ts=...) is used. Notably, this is a while loop: at every numerical step we have to do a loop over the times we haven't yet seen, to see whether they occured during the step we just made. When t0, t1 and dt are constant over the batch then this while loop will run for the same number of iterations for every batch element. But for an adaptive step size controller, this might not be the case.
So I'd probably suggest playing around with that and seeing what results you get as you start perturbing things.
One very concrete place to start: can you check whether the output of _cond_fun is batched or unbatched in either case? Depending on this we need to perform different logic:

If it's unbatched then the loop performs the same number of iterations for all batch elements so the vmap and _body_fun commute, so we can lower vmap-of-while-of-(cond, body) into a while-of-(cond, vmap-of-body).
However if this predicate is batched then the loop may run for different numbers of iterations for each batch element: to perform the lowering we still need to commute as above, but need to add in additional logic to ignore the iterations from shorter-than-maximal batch elements.

I was looking more into the while loop, since we have a double while loop as you described, the first is static and the second may vary in length depending on the iteration. To maximally remove complexity, I tried a minimal example in equinox of this varying double while loop, then I tried it even less complex in pure jax. I notice a slowdown in just jax when I have a double while loop.
import os
import multiprocessing

os.environ["XLA_FLAGS"] = "--xla_force_host_platform_device_count={}".format(
    multiprocessing.cpu_count()
)
import jax
import jax.numpy as jnp
import jax.experimental.mesh_utils as mesh_utils
import functools as ft

def f(t, y, theta):
    return jnp.abs(jnp.sin(t)) + theta * y

def solve(init, key):
    def inner_loop_cond(state):
        t, y, _ = state
        return y.squeeze() < 10

    def inner_loop_body(state):
        t, y, theta = state
        dy = f(t, y, theta)
        return (t + 0.1, y + 0.1 * dy, theta)

    def outer_loop_cond(state):
        _, _, _, count = state
        return count < 5

    def outer_loop_body(state):
        t, y, theta, count = state
        y = jax.random.uniform(jax.random.PRNGKey(count), shape=(1,))
        new_t, new_y, _ = inner_while_loop(inner_loop_cond, inner_loop_body, (t, y, theta))
        return (new_t, new_y, theta, count + 1)

    inner_while_loop = jax.lax.while_loop
    outer_while_loop = jax.lax.while_loop
    theta = 5.0
    t_initial = 0.0
    y_initial = init
    count_initial = jax.random.randint(key, minval=-2, maxval=2, shape=())
    final_state = outer_while_loop(outer_loop_cond, outer_loop_body, (t_initial, y_initial, theta, count_initial))
    return final_state[1]

batch_size = 30
inits = 0.1 * jnp.ones((batch_size, 1))
keys = jax.random.split(jax.random.PRNGKey(0), batch_size)

num_devices = len(jax.devices())
devices = mesh_utils.create_device_mesh((num_devices, 1))
sharding = jax.sharding.PositionalSharding(devices)
replicated = sharding.replicate()

inits_pmap = inits.reshape(num_devices, batch_size // num_devices, *inits.shape[1:])
keys_pmap = keys.reshape(num_devices, batch_size // num_devices, *keys.shape[1:])

x, y = jax.device_put((inits, keys), sharding)

fn = jax.jit(jax.vmap(solve))
pmap_fn = jax.pmap(fn)
_ = fn(x, y).block_until_ready()
_ = pmap_fn(inits_pmap, keys_pmap).block_until_ready()

%%timeit
_ = fn(x, y).block_until_ready()

yields 5.11 ms ± 53.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
%%timeit
_ = pmap_fn(inits_pmap, keys_pmap).block_until_ready()

yields 251 µs ± 1.14 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)
I made a jax issue (https://github.com/google/jax/issues/20968) since this is all in jax. There may be something else that can be done in diffrax but unless I am overlooking something, this jax example should be the same speed but isn't.

Ah, this is awesome. I'm glad to have this so clearly isolated in a MWE.
Since I believe at some point the goal is to convert pmap to use jit under the hood, then the pmap version might be of interest to add as a JAX benchmark. If the pmap->jit transition ever happens without this being fixed then it would be good to ensure that this is noticed.
(I'm guessing the root issue here is probably something in XLA. If you're feeling brave then you could maybe try delving down to that level.)


Align overview and import cards

Enhancement
Align overview and import cards

so librarians and researchers can always access predictable relevant info when they need it
so we can simplify code

It would result into 4 types of record cards (with links):

[ ] publication librarian card
[ ] dataset librarian card
[ ] publication researcher card
[ ] dataset researcher card

Related: https://github.com/ugent-library/biblio-backoffice/issues/705
Out of scope: headers on detail pages, will be tackled later
Open questions
Can we align the following cards, and reuse the code blocks for:

[ ] search overview record cards & links
[ ] double detection record cards & links
[ ] "review and publish" import cards & links
[ ] "finished" import cards & links

and do this for this for these record types:

[ ] publications
[ ] datasets

for these profiles

[ ] librarians
[ ] researchers

Context
P U B L I C A T I O N S
--- L I B R A R I A N S ---
Librarian search overview
View https://backoffice.bibliotest.ugent.be/publication as a librarian

Librarian double detected view
Import a publication with a DOI that already exists

Librarian import "review and publish" page
Import a publication,

Librarian imported view

--- R E S E A R C H E R S ---
Researcher search overview
View https://backoffice.bibliotest.ugent.be/publication as a researcher

Researcher double detected view
Import a publication with a DOI that already exists

Researcher bulk import "review and publish" page

Researcher imported view

D A T A S E T S
--- L I B R A R I A N S ---
Librarian search overview
View https://backoffice.bibliotest.ugent.be/dataset as a librarian

Librarian double detected view
Import a dataset with a DOI that already exists

Librarian bulk import "review and publish" page

Librarian imported view

--- R E S E A R C H E R S ---
Researcher search overview
View https://backoffice.bibliotest.ugent.be/dataset as a researcher

Researcher double detected view
Import a dataset with a DOI that already exists

Researcher bulk import view

Researcher imported view

Context for overview, import and header cards
Publications
Librarians
Search overview

Detail view
Import view
Bulk import view
Imported view
Researchers
Search overview
Detail view
Import view
Bulk import view
Imported view
Datasets
Librarians
Search overview

Detail view
Import view
Bulk import view
Imported view
Researchers
Search overview

Detail view

Import view

Bulk import view

Imported view

Will be fixed with new card design


import 'google/protobuf/timestamp.pb.dart' as $0;

I have already run  dart pub global activate protoc_plugin   and add
 protobuf: ^2.1.0
  protoc_plugin: ^20.0.1
but the generated file still has an error, thanks a lot for helping

no , this way will generate these files again and again every time I use this cmd , there must be some problems of the protobuf: ^2.1.0 lib

This generated WellKnownTypes files leads to one more issue:
https://github.com/grpc/grpc-dart/issues/614
so you could note separate them form the generated protocol and could not create packages that will use WellKnownTypes files.
Would be nice to keep it into account while fixing this issue.


[stable/datadog] Handling of valueFrom for env entries

Adds back support for valueFrom in environment variables (env sections).  Currently it only support value.
This in fact is a change in behaviour introduced with [stable/datadog] fix several reported issues (#22006).

👋 @yafernandes Thanks for your PR. After discussing it internally, we feel like we should remove this range through env vars, and use the env block directly, it'd avoid any unnecessary processing and bugs as this one.
If that works for you, we'll take care of updating the Helm chart with this.

👍


"error: GLSL 3.30 is not supported"

A continuation of #2. A new update came to my qemu fork, and they added support for OpenGL 4.1. However, running with MESA_GL_VERSION_OVERRIDE=3.3 build/sp* (because the version string is for some reason, still at 2.1), fails with
Program failed to link!
Vertex shader failed to compile!
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

Fragment shader failed to compile!
0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

glxinfo:
 Device: virgl (ANGLE (Apple, Apple M1, OpenGL 4.1 Metal - 71.5.9)) (0x1010)
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: virgl (ANGLE (Apple, Apple M1, OpenGL 4.1 Metal - 71.5.9))
OpenGL version string: 2.1 Mesa 21.2.5
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

It seems that though OpenGL is at 4.1, GLSL is still at 3.

I'm not 100% sure how to interpret that output, but I think 4.1 is the OpenGL version supported on your Mac, not the VM. It looks like the VM supports OpenGL 2.1 and GLSL 1.2:
OpenGL version string: 2.1 Mesa 21.2.5
OpenGL shading language version string: 1.20


PI-806: cloudflare/cloudflare-frontend to 2.5.2 to fix style bug in l…

…ogin page.

Is this compressed?

Yes, generated with gulp compress


Introduce Grace Period for Graceful Stop in GraphQL Listener

Description:
The Ballerina HTTP library has introduced a graceful period for the gracefulStop() API in the HTTP listener. We should extend this ability to the GraphQL listener.
We should also check whether this is possible in the WebSocket listener as well.

Since this is passed as a listener configuration, there's no change required from the GraphQL side.


Google play service's v8.1.0's location listener is leaking the activity or service it is attached to

I am not sure if this is the right place to report this since I could not find any common "Play Services" issue reporting forum anywhere.. If there is such an issue tracker, please give me the link. Thanks

The latest version of Google play service's (8.1.0 as of writing this report) LocationListener is leaking the activity or service it is attached to according to LeakCanary version 1.3.1.
Steps to reproduce
-Download the LocationUpdate Sample from google's repo (https://github.com/googlesamples/android-play-location/tree/master/LocationUpdates)
-Update the gradle to include the latest version of Google play services (8.1.0, the sample contains Google play services version 6.5.87 which had no issues during my testing)

Add a regular activity (name it "TestActivity" for example) to the project

from the MainActivity, after starting the location update, go to the newly added (startActivity()) TestActivity while finishing the MainActivity (it doesn't matter if you stop or did not stop the location updates)

after about 5 seconds you will see LeakCanary reporting that the MainActivity has leaked (if it is added to the project)

Device Info:
Model: Samsung Galaxy S6 edge
OS: Android Lollipop v5.1.1 API 22
Trace:
D/LeakCanary﹕ In com.hammockstudio.myapplication:1.0:1.

com.hammockstudio.myapplication.MainActivity has leaked:
GC ROOT com.google.android.gms.location.internal.zzd$1$1.zzaFg (anonymous class extends com.google.android.gms.location.internal.zzg$zza)
references com.google.android.gms.location.internal.zzd$1.zzaFe (anonymous class extends com.google.android.gms.location.internal.zzd$zza)
leaks com.hammockstudio.myapplication.MainActivity instance
[ 10-02 15:32:05.124 20752:21895 D/LeakCanary ]
Reference Key: c3aab681-4124-4c8c-ac2c-97d52fe63e4f
Device: samsung samsung SM-G925I zeroltedv
Android Version: 5.1.1 API: 22 LeakCanary: 1.3.1
Durations: watch=5016ms, gc=133ms, heap dump=2572ms, analysis=17078ms
[ 10-02 15:32:05.124 20752:21895 D/LeakCanary ]
Details:
Instance of com.google.android.gms.location.internal.zzd$1$1
|   zzaFg = com.google.android.gms.location.internal.zzd$1 [id=0x32e4f380]
|   mDescriptor = java.lang.String [id=0x32e563a0]
|   mObject =<PHONE_NUMBER>00
|   mOwner = com.google.android.gms.location.internal.zzd$1$1 [id=0x32e56380]
Instance of com.google.android.gms.location.internal.zzd$1
|   zzaFd = com.google.android.gms.location.LocationRequest [id=0x32dedf40]
|   zzaFe = com.hammockstudio.myapplication.MainActivity [id=0x32c179f0]
|   zzaFf = com.google.android.gms.location.internal.zzd [id=0x32df8510]
|   zzZM = com.google.android.gms.common.api.Api$zzc [id=0x32df84d0]
|   zzabg = java.util.concurrent.atomic.AtomicReference [id=0x32e55150]
|   zzL = true
|   zzaaX = com.google.android.gms.common.api.Status [id=0x32cdaf20]
|   zzabh = java.lang.Object [id=0x32e55130]
|   zzabi = com.google.android.gms.internal.zzlc$zza [id=0x32e562a0]
|   zzabj = java.util.ArrayList [id=0x32e56240]
|   zzabk = null
|   zzabl = false
|   zzabm = false
|   zzabn = null
|   zzabo = null
|   zzabp = null
|   zzoS = java.util.concurrent.CountDownLatch [id=0x32e55140]

Again, this leak did not happen in the Google Play Services version that came with the Location Updates sample!

Thanks - I'll try to pass it along to the correct team.

Thanks @claywilkinson . Much appreciated!

Follow https://github.com/googlesamples/android-play-location/issues/26 instead


deploy not reporting reasons for failure

Describe the bug
orchestrator:deploy not reporting error messages when a deployment fails.  This includes metadata related failures as well as code coverage failures
To Reproduce

Create a sfpowerscripts artifact with compile error in one of theapex class
Deploy to an org
Notice the JSON syntax error

Expected behavior
The command should report proper error message
Screenshots

Platform Details (please complete the following information):

Version [e.g. CLI Version  eg: 1.6.6] 7.110.0
Salesforce CLI(sfdx cli) Version: 8.1.13

Additional context
sfpowerscripts is reading update cli warning message from the error stream while trying to parse the json output. Also there is no code to display issues about code coverage

The fix is being tested and will be released tomorrow


Multiple commits when using digest strategy

Describe the bug
I am using the digest strategy to update the images. Sometimes the image updater pushes multiple commits with the same sha256 value but different tags. It changes the tag to the latest, however, I mentioned in the image list to just use the staging tag. In the logs, for the second commit, it says that phpcli and nginx are updated but in the commit details it updated the phpfpm details.
It is happening for all the images, not specific ones and it happens randomly. But always overwrite the tag to the latest.
This is how I configure the image updater(I removed my private repository links):
  annotations:
    # stop reconcile of application
    argocd.argoproj.io/skip-reconcile: "false"
    argocd-image-updater.argoproj.io/write-back-method: git
    argocd-image-updater.argoproj.io/image-list: nginx=nginx:staging, phpfpm=phpfpm:staging, phpcli=phpcli:staging
    argocd-image-updater.argoproj.io/nginx.update-strategy: digest
    argocd-image-updater.argoproj.io/nginx.helm.image-name: nginx.appSoftwareImage
    argocd-image-updater.argoproj.io/nginx.helm.image-tag: nginx.appSoftwareImageVersion
    argocd-image-updater.argoproj.io/phpfpm.update-strategy: digest
    argocd-image-updater.argoproj.io/phpfpm.helm.image-name: phpfpm.appSoftwareImage
    argocd-image-updater.argoproj.io/phpfpm.helm.image-tag: phpfpm.appSoftwareImageVersion
    argocd-image-updater.argoproj.io/phpcli.update-strategy: digest
    argocd-image-updater.argoproj.io/phpcli.helm.image-name: phpcli.appSoftwareImage
    argocd-image-updater.argoproj.io/phpcli.helm.image-tag: phpcli.appSoftwareImageVersion

These are two commits that pushed by image updater exactly after each other:

This is the first commit details:

This is the second commit details, as you can see it just changed the tag to the latest but the sha256 is the same as the previous commit.

To Reproduce
Use digest as the image update strategy.
Expected behavior
The second commit should never been happening.
Additional context
Add any other context about the problem here.
Version
argocd-image-updater: v0.12.2+1aa317c
  BuildDate: 2023-01-21T18:06:54Z
  GitCommit: 1aa317c3c57cdbd3e7f1b7accc99337f112a69e6
  GoVersion: go1.18.10
  GoCompiler: gc
  Platform: linux/amd64

Logs
time="2024-07-24T07:34:08Z" level=info msg="Starting image update cycle, considering 3 annotated application(s) for update"
time="2024-07-24T07:34:08Z" level=info msg="Setting new image to nginx@sha256:eb59aea8912e94968885b735e5b4059851" alias=nginx application=staging image_name=nginx image_tag="sha256:4652d7d89eebb518ea2cc08f9103b71c" registry=...
time="2024-07-24T07:34:08Z" level=info msg="Successfully updated image 'nginx@sha256:4652d7d89eebb518ea2cc08f9103b71c' to 'nginx@sha256:eb59aea8912e94968885b735e5b40598', but pending spec update (dry run=false)" alias=nginx application=staging image_name=nginx image_tag="sha256:4652d7d89eebb518ea2cc08f9103b71c" registry=...
time="2024-07-24T07:34:09Z" level=info msg="Setting new image to phpfpm@sha256:6d20c242f83747fe587565a5fe013e8c8ae" alias=phpfpm application=staging image_name=phpfpm image_tag="sha256:f36e52f6425e53ea399cfb53725da79182bc801" registry=...
time="2024-07-24T07:34:09Z" level=info msg="Successfully updated image 'phpfpm@sha256:f36e52f6425e53ea399cfb53725da79182' to 'phpfpm@sha256:6d20c242f83747fe587565a5fe013e8c8ae', but pending spec update (dry run=false)" alias=phpfpm application=staging image_name=phpfpm image_tag="sha256:f36e52f6425e53ea399cfb53725da79182bc801" registry=...
time="2024-07-24T07:34:09Z" level=info msg="Setting new image to phpcli@sha256:6ee1b02bbbfbaecb797fef48aee8009a9d7" alias=phpcli application=staging image_name=phpcli image_tag="sha256:908c23110ad07f9dd0bdb357d16cc7" registry=...
time="2024-07-24T07:34:09Z" level=info msg="Successfully updated image 'phpcli@sha256:908c23110ad07f9dd0bdb357d16cc7c' to 'phpcli@sha256:6ee1b02bbbfbaecb797fef48aee8009a9d7', but pending spec update (dry run=false)" alias=phpcli application=staging image_name=phpcli image_tag="sha256:908c23110ad07f9dd0bdb357d16cc7c4d" registry=...
time="2024-07-24T07:34:09Z" level=info msg="Committing 3 parameter update(s) for application staging" application=staging

-----------------

time="2024-07-24T07:35:15Z" level=info msg="Starting image update cycle, considering 3 annotated application(s) for update"
time="2024-07-24T07:35:15Z" level=info msg="Setting new image to nginx@sha256:eb59aea8912e94968885b735e5b4" alias=nginx application=staging image_name=nginx image_tag="sha256:4652d7d89eebb518ea2cc08f9103b" registry=...
time="2024-07-24T07:35:15Z" level=info msg="Successfully updated image 'nginx@sha256:4652d7d89eebb518ea2cc08f9103b71c1' to 'nginx@sha256:eb59aea8912e94968885b735e5b40598516', but pending spec update (dry run=false)" alias=nginx application=staging image_name=nginx image_tag="sha256:4652d7d89eebb518ea2cc08f9103b71" registry=...
time="2024-07-24T07:35:16Z" level=info msg="phpcli@sha256:6ee1b02bbbfbaecb797fef48ae" alias=phpcli application=staging image_name=phpcli image_tag="sha256:908c23110ad07f9dd0bdb357d16cc" registry=...
time="2024-07-24T07:35:16Z" level=info msg="Successfully updated image 'phpcli@sha256:908c23110ad07f9dd0bdb357d16cc' to 'phpcli@sha256:6ee1b02bbbfbaecb797fef48aee8009a9d7', but pending spec update (dry run=false)" alias=phpcli application=staging image_name=phpcli image_tag="sha256:908c23110ad07f9dd0bdb357d16cc7c4ddb" registry=...
time="2024-07-24T07:35:16Z" level=info msg="Committing 2 parameter update(s) for application staging" application=staging

@mostafa-rz do you still see this problem in newer image updater versions, e.g., v0.14.0?

@chengfang I increased the image updater --interval to 1 year, somehow disabling the automatic update. I update the images by manually triggering with --once flag. It is fixed now, but I am unsure if I go back to the previous setup it is fixed.


Public URLs with invalid spaces.

return implode('/', array_map('rawurlencode', explode('/', $relativePathAndFilename)));
This part gives problem with the flow resources. Google will mask the masked url again himself. so right now google will give a double masked url while flow will expect the one time masked url.
Till now we handled this problem in our own code. I would love to see that flow itself would handle all resources like this (maybe via a settings option togglable). but right now if only google could storage is doing this but the DB entry of flow stays original we don't get the same public urls!
(Well google sees the % also as a special char he wants to mask again when publishing so that's the problem here)

We identified this problem at the codesprint. The correct solution would be to NOT encode when generating the object name for the new cloud storage object (so for uploading) but then DO encode when generating the public URI to the resource as Google will encode the space in the object name anyway. So currently a space results in double encoded URIs (which the target doesn't produce), which means a round trip fails.

Closed by #8 thanks to @cwenzelg


Security Password Policy Modification and Creating Users

I have the following configuration in the model file:
topology:
  SecurityConfiguration:
    Realm:
      myrealm:
        PasswordValidator:
          SystemPasswordValidator:
            SystemPasswordValidator:
              MinNumericOrSpecialCharacters: 0
              MinNumericCharacters: 0
              MinLowercaseCharacters: 0
              MinUppercaseCharacters: 0
              MinNonAlphanumericCharacters: 0
  Security:
    User:
      restclient:
        Name: restclient
        Password: 'restclient'
        Description: 'REST client'

When I create the domain, I get a warning that the restclient's password does not have at least one digit and it is not set to the value defined above (restclient). Maybe the order is not correct (first the security configuration and then security) or something else that prevents these two changes to be applied in createDomain.
Tested with WDT 1.9.17 and WebLogic <IP_ADDRESS>

WebLogic Server has a minimum requirement for setting passwords.  You must have at least one numeric character in the password field for restclient.
If I add a domainInfo section, I can recreate your case:
./createDomain.sh -oracle_home ~/Oracle/Middleware<IP_ADDRESS>.0_jrf -model_file ./model.yaml -domain_parent ./

with model.yaml
domainInfo:
  AdminPassword: welcome1
topology:
  Security:
    User:
      restclient:
        Name: restclient
        Password: 'restclient'
        Description: 'REST client'

produces
WARNING Messages:

        1. WLSDPLY-01902: Invalid password for user restclient. Must be at least 8 characters and contain one number.

But if you change the password in the model like this:
domainInfo:
  AdminPassword: welcome1
topology:
  Security:
    User:
      restclient:
        Name: restclient
        Password: 'restclient1'
        Description: 'REST client'

The domain is created successfully.

@ddsharpe if you notice in the configuration above, i change the validation rules to not require digits and that does not work. so i think that this is a bug.

Can confirm the same behavior with wdt: 2.4.2 and weblogic: <IP_ADDRESS>.0


fixed group page privacy violations

Fixes #
Describe the changes you have made in this PR -
Screenshots of the changes (If any) -
From admin's view

From member's  view(Before)

From member's  view(After)

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage increased (+0.2%) to 88.18% when pulling 9a170dc68c59606ba1f2e90463a529d9792c2f07 on arjungarg07:group_page-privacy_violations#1893 into 7f404414430c3eb0f29aceda8dbb2ef36b81a122 on CircuitVerse:master.

@arjungarg07 next time please write fixes #1893 in your PR, so when we merge this PR, the issue gets closed automatically. I am adding it now. Thanks!


Rasa Core always going to fallback action with too many checkpoints

Rasa Core version: 0.12.0
Python version: 2.7.12
Operating system (windows, osx, ...): Ubuntu 16
Issue:
I am trying to make a production ready general purpose financial chatbot but I think using checkpoints is causing performance issues and as soon as I get a message it displays me with fallback message. Important thing to note is that the intents are being identified perfectly but the story is not running.
Example:
stories.md :
I have * stories for 8 general purpose questions like Hi , Hello, Thankyou etc.
## story_1
* intent1
  - action1
.
.
.
.
.
## story_8
* intent8
  - action8

After this I have stories for Financial Dialogue.  I will put exactly the structure and stories what I have entered till now
<!-- Financial  -->
<!-- Type Refund status -->
## start_conversation_01a
* start_conversation{"type":"Refund status"}
  - utter_tax_refund_status_question
> checkpoint_yes_or_no

## checkpoint_check_reponse_01a_affirm
> checkpoint_yes_or_no
* affirm
  - utter_tax_refund_status_answer
> checkpoint_ack_no

## checkpoint_ack_no_01a
> checkpoint_ack_no
* find_acknowledgement_number
  - utter_find_ack_number
> checkpoint_download_itrv

## checkpoint_download_itrv_01a
> checkpoint_download_itrv
* download_itrv
  - utter_download_itrv

## story_tax_refund_status
* tax_refund_status
  - utter_tax_refund_status_answer

## story_find_acknowledgement_number
* find_acknowledgement_number
  - utter_find_ack_number

## story_download_itrv
* download_itrv
  - utter_download_itrv

<!-- Type IT Notice -->
## start_conversation_02a
* start_conversation{"type":"it notice"}
  - utter_it_notice_question
> checkpoint_yes_or_no

## checkpoint_check_response_02a_affirm
> checkpoint_yes_or_no
* affirm
  - utter_it_notice_answer

## story_it_notice_panick
* it_notice_panick
  - utter_it_notice_answer

<!-- Type Form 26AS -->
## start_conversation_03a
* start_conversation{"type":"form 26as"}
  - utter_form26as_question
> checkpoint_yes_or_no

## checkpoint_check_response_03a_affirm
> checkpoint_yes_or_no
* affirm
  - utter_form26as_answer

<!-- NO checkpoints -->
## story_checkpoint_negate_with_purpose
> checkpoint_yes_or_no
* negate_with_purpose
  - utter_other_services

## story_checkpoint_negate
> checkpoint_yes_or_no
* negate
  - utter_too_bad

Explanation
I have an intent start_conversation which starts the conversation based on 'type' mentioned in the query. In general a query's response may come with 'Yes' or 'No' options and I have to process further conversation based on that.
Now everything works fine until
After that accuracy drop from 98-99% to 91-92% and I always get fallback response to any query I make with intents which cam after .
My question is I have many other dialogues to enter and this is just the beginning. I was wondering if rasa gives bad performance on this many checkpoints only or I am doing something wrong ?
Is RASA suitable for chatbots with extensive range of conversations ?

I am sorry I closed the issue by mistake.

Please ask these kind of questions in our forum

Please ask these kind of questions in our forum


temp files existance check fix

this is the same as pull request #61 fixes issue #59
see my last comment there
https://github.com/mikiobraun/jblas/pull/61

this is very simple test case - but it is for windows only:
it shows that you could't delete the file under loaded dll.
but if you unload dll, you would be able to delete the file
I used "Files.delete" because it more clearly show that the error is.
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Vector;
public class DllLoadUnload {
public static void main(String[] args) throws Throwable {
String dllName = "C:\Temp\test1\libgcc_s_dw2-1.dll";
System.load(dllName);
	//Try to comment this out - and this delete will fail
	unloadNativeLibs();

	Files.delete(Paths.get(dllName, new String[] {}));
}

public static void unloadNativeLibs() throws Throwable {
	ClassLoader classLoader = DllLoadUnload.class.getClassLoader();
	Field field = ClassLoader.class.getDeclaredField("nativeLibraries");
	field.setAccessible(true);
	Vector libs = (Vector) field.get(classLoader);
	for (Object o : libs) {
		Method finalize = o.getClass().getDeclaredMethod("finalize", new Class[0]);
		finalize.setAccessible(true);
		finalize.invoke(o, new Object[0]);
	}
}

}

Hi boscogh,
ok, I've pondered this question very hard and came up with a solution which

goes trough old temp files on startup and removes old files it finds.
because it cannot know whether these files are still used, it just tries to delete them and then Windows "can't delete if still open" makes sure we don't accidentally delete old files.
In order to make sure we don't accidentally delete old files, I added a interleaved FileInputStream before I close the writing stream and before I load the library to make sure it doesn't accidentally get deleted before the library is loaded.

IMHO this is a cleaner solution than the one you suggested. My biggest concern is that another jblas instance might see that the file exists and try to load it before it is fully copied - and fail, leading to hard to debug and detect startup issues.
In any case, thanks for the discussion! That helped a lot to improve this aspect of jblas on the Windows!
I'll add a note to the RELEASE_NOTES
-M


Jenkins master label

Signed-off-by: Daniel Fenert<EMAIL_ADDRESS>What this PR does / why we need it:
It was not possible to specify label for master node.
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @torstenwalter

/lgtm


[BEAM-10701] Fix Python coverage reporting

run_pytest.sh runs pytest twice. The second run was overwriting the
first's results.
Simplified argument passing to run_pytest.sh.
Use the default coverage.xml report (was generating both coverage.xml
and codecov.xml).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @robertwb @saavannanavati

Wow the coverage doubled.
LGTM


requests.get(user_details_url, user_details_params) - get() takes exactly 1 argument (2 given)

Getting the following error.
File "/app/jobmind/fb_bot/views.py", line 36, in post_facebook_message
user_details = requests.get(user_details_url, user_details_params).json()
TypeError: get() takes exactly 1 argument (2 given)

Perhaps version issues? What versions of Python and requests package are you using?


Updating styles.

Only knowledge of sass is essential.
Can you please update that terrible image and fix some header stylesheet. If possible can we review some styles and best practises?
Update required only for app/stylesheet/application.scss
Thanks.
Check https://chat-ounce-shirshak.c9users.io/ for more details
admin username and password is in readme file

I'll do this!

Hi @bloggervista i can help you with your stylesheet organization

@henriquepjv thanks i am happy to merge

Thanks for PR
Merged #7


ARROW-267: [C++] Implement file format layout for IPC/RPC

Standing up the PR to get some feedback. I still have to implement the read path for record batches and then add a test suite. I'd also like to add some documentation about the structure of the file format and some of the implicit assumptions (e.g. word alignment) -- I put a placeholder IPC.md document here for this.
I also conformed the language re: record batches (had been using "row batch" in the C++ code) to make things more sane.
Note we are not yet able to write OS files here, see ARROW-293. Will tackle that in a follow up PR, and then we should be in a position to integration test.

@emkornfield I had to rejigger things slightly in the IPC writer to accommodate the file format (for example: writing the size of the data header after the serialized flatbuffer). This all will need to be documented outside of code

OK, I think I'm done with the first version of this. I'd like to address inconsistencies with the specification (e.g. String is still handled like List in the IPC code, no IPC for unions) in follow up patches.
I need to do ARROW-293 so that we can write physical files on disk, then we are in a position to write our first integration tests. @julienledem what do you think?

SGTM.
Did you have a JIRA for List -> String ?
+1

I noted this in ARROW-261. Thanks


[admin] Publish

Docs Build status updates of commit d258a21:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/add-in-manifests.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


some apps not working inside term2 on OSX

I followed the fix on issue #45 to get the path working, so I can use command line applications such as yeoman, however, for example, when I use yeoman inside term2, I get this:
yo react-webpack
? ==========================================================================
We're constantly looking for ways to make yo better!
May we anonymously report usage statistics to improve the tool over time?
More info: https://github.com/yeoman/insight & http://yeoman.io
========================================================================== Yes
Error react-webpack

You don't seem to have a generator with the name react-webpack installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 0 registered generators run yo with the `--help` option.
$ React > generator-react-webpack
bash: generator-react-webpack: command not found

however, when I run the same command in terminal.app, it works (because generator-react-webpack is indeed installed). I don't want to make this issue about yeoman-- that's just an example. I am simply identifying this discrepancy in the behavior and wondering if there are any know fixes for this issue?

It seems to be a PATH issue. Do you get different result when you type echo $PATH ?

Dup of #50


Refactor AnalysisServerWrapper with simpler init

Simplify AnalysisServerWrapper a bit:

_init is unused except for "has it been assigned yet" so changed to bool.
init's return value is never used, so instead make it return void.

Looks like this code needs to be fixed: https://github.com/dart-lang/dart-services/runs/2949223890#step:7:8

Thanks!

Any reason not to land this PR?

Sorry, was on vacation; thanks!


During hydration, <!DOCTYPE html> is deleted, which leads to an error in lighthouse

lighthouse

it works fine
export default function Root({ Start }) {
  return (
    <Start>
//
     {"<!DOCTYPE html>"}
//
      <html lang="en">
        <head>
          <meta charset="utf-8" />
          <meta
            name="viewport"
            content="width=device-width, initial-scale=1,minimum-scale=1"
          />
          <Meta />
          <Links />
        </head>
        <body>
          <Outlet />
          <Scripts />
        </body>
      </html>
    </Start>
  );
}

by deleting here of course
https://github.com/solidjs/solid-start/blob/e493fcb96e85a8064e69a574936ee36c34f8d4d9/packages/start/runtime/entries/stringAsync.tsx#L23
https://github.com/solidjs/solid-start/blob/e493fcb96e85a8064e69a574936ee36c34f8d4d9/packages/start/runtime/entries/nodeStream.tsx#L24

This seems to be a hydration issue. The doctype markup was removed after page hydration.

This is fixed now.


Improve codegen error handling

When getting an ENOENT error, it may be because: the schema file cannot be read, or the output file cannot be written. The existing error in the second case is confusing, because the codegen treats it as the first case: telling the user there's no schema file when the problem is that the output file cannot be written.
This PR improves the error handling in these cases, and does some refactorings to be more DRY and have the code better organized.
Besides, the most common example when the file cannot be written is probably when the user specifies generated/xata.ts and generated doesn't exist (like we have in the README). I've made changes to create the directory if it doesn't exist.

Something is still not working (erroring out when it shouldn't). Tested the commands shown in a newly created project without any file nor schema available.

@SferaDev that's weird. Good catch. I'm going to troubleshoot.

@SferaDev It should be fixed now. I also did some other minor changes, like adding a link to the readme.


Fails on debian wheezy

TASK: [geerlingguy.logstash-forwarder | Ensure logstash-forwarder is started and enabled on boot.] ***
failed: [website] => {"failed": true}
msg: update-rc.d: error: no runlevel symlinks to modify, aborting!

This was fixed in #2 - thanks for confirming the problem!


name change to support architecture.md image links

Image Links in architecture.md points to bosh-init* png .

Thanks for contributing! Updated all the links.


Add support for passing a Proc to routes

Add support for passing a Proc to routes instead of a regular
expression for matching - this proc will then be called with the message
in the context of the handler object and should return a boolean
indicating whether the route matches or not.
This allows for dynamically defined routing, plus support for
configuring things like command names and prefixes, which is useful as
plugin configuration is only available on a handler instance, not the
singleton.
Probably addresses most of what #100 is asking for

as an example of the use case:
https://github.com/jsjohnst/lita-pagerduty/blob/master/lib/lita/handlers/pagerduty_utility.rb#L20

Thank you for the PR! This is a great idea I had never considered. I have only two hesitations compared to what I originally had in mind with regards to #100:

It still requires the plugin author to define the route in a special way in order to allow the user to override it. Ideally users would be able to arbitrarily override route conditions no matter how the route is defined.
Potential overhead of evaluating many procs at runtime when a message is received. If the proc is only being used as a workaround for regular expressions that can't be constructed until some user-supplied configuration value is known (as in @jsjohnst's example), then it's redoing the same work every time a new message is received. It'd be much more efficient to have a phase during the robot's start up where the procs get called once and converted into the regular expressions that will actually be used to do the matching. If there are other use cases for this where a single-pass evaluation of the proc isn't sufficient, that might not be possible, but I'd like to hear about those cases.


Refactor how PeerPool listens for external EventBus requests

What was wrong?
Currently, the PeerPool directly handles requests from the event bus to get the peer count or to connect to a specific node. This hinders extensibility and pollutes the peer pool with things it should not be concerned with.
How was it fixed?
This is a spin off from my branch that breaks the peer pool, request server and sync into isolated plugins. This is an attempt to slice out some chunks of that work.
The does:

create a BasePeerPoolEventBusRequestHandler that is run by whoever runs the peer pool
moves all the events that aren't intrinsically needed by the PeerPool to trinity.protocol.common.events.py

Cute Animal Picture

@pipermerriam you had reviewed this before as #251 and I think your main concern was


[UI] Socials Icons can be improved

What would you like to share?
Currently, the website is using different colors for the social icons.
It would look neat if the logos follow the theme or simple b/w logo may also do the work

🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (blank for no)

Hi there,
Currently, someone is working on revamping the whole Footer section at #623 , i'd like to wait for them to work on it.
In case they make no new improvements to the socials, you can raise an issue.
I am closing this for now, to avoid confusions.


Error typo version

Error from react and react-dom 17 compatibility
⚡: npm i --save react-command-palette
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: admin@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react-dom
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-dom@"16 -18" from<EMAIL_ADDRESS>npm ERR! node_modules/react-command-palette
npm ERR!   react-command-palette@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

workaround: package.json

...
  "overrides": {
    "react-command-palette": {
      "react-dom": "$react-dom"
    }
  },
...


spring.cloud.kubernetes.client.namespace

Describe the bug
Kubernetes client doesn't respect spring.cloud.kubernetes.client.namespace property
I have configured property spring.cloud.kubernetes.client.namespace , but when I log
kubernetesDiscoveryClient.getClient().getNamespace() it logs not configured namespace, but namespace in which application pod exists
To be more confused documentation https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/appendix.html
shows default value for spring.cloud.kubernetes.client.namespace  "true" (?)
I am using org.springframework.cloud:spring-cloud-starter-parent:2020.0.3

Can you please try and reproduce this with Spring Cloud 2021.0.2?

It is not so easy to change version to 2021 release train.
I will try
Anyway on 2020.0.5 it is the same result

Support for 2020.0.x ended recently so you will need to upgrade

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Make grpc client cache eviction period configurable

Envoy is currently hardcoded to evict thread-local GRPC clients from its cache if there is no activity for 50s. Due to the low QPS and high number of Envoy worker threads, it is very easy to cross this interval between consecutive requests on the same worker thread. Hence, many authorization requests from worker threads will incur a connection restablishment latency, resulting in high client-side authorization delays.
To avoid this issue, we would like to be able to use a longer cache eviction timeout. It would be preferable if this timeout is configurable per proxy.

For ext auth, can we modify getOrCreateRawAsyncClientWithHashKey to receive a cache eviction timeout parameter and then set it to the EntryTimeoutInterval in RawAsyncClientCache?


Fix typo infer_response_awaits

@oeway Can you please share a signed CLA as described here: https://github.com/triton-inference-server/server/blob/main/CONTRIBUTING.md#contributor-license-agreement-cla?
Let me know once you are done and I will merge your change.


ci: Refactor and update Shaka lab definitions

In karma.conf.js, give ourselves the ability to merge Selenium configs together without clobbering argument lists, for better deduplication in shaka-lab.yaml.  This is based on https://github.com/shaka-project/karma-local-wd-launcher/pull/50
Refactor shaka-lab.yaml to take advantage of this new ability.  This removes a bunch of duplicate command line arguments for various versions of Chrome.
Remove a TODO about a bug that Chrome decided they would never fix.
Sort the list of devices and platforms, with comments to mark out the sections.
Remove IE11, which we are well past supporting or testing.

This should be cherry-picked to all active branches.

Fixed linter errors, but not before I remembered the rules change we discussed.  So @theodab's review was dismissed when I pushed.  PTAL!


[Question/Request] Does this have compatibility with Oh The Biomes We've Gone?

Hi! The description on your modpage states that you support Oh The Biomes You'll Go, which is no longer updated. Instead, the BYG mod team made a successor called Oh The Biomes We've Gone, which has differences as well as similarities with the old mod.

I'm working on a complete rewrite of the pack, but I'll make sure to add support for BWG


Enable compatibility with @graphql-codegen/typed-document-node

Hey @Torsten85, thank you for this great library.
By using the TypedDocumentNode from the @graphql-typed-document-node/core package we can achieve typed queries using code generation as described here: https://www.graphql-code-generator.com/docs/guides/react#optimal-configuration-for-apollo-and-urql
import { createQuery } from '@merged/solid-apollo';
import { postsQueryDocument } from './graphql/generated';

const Posts = () => {
  const data = createQuery(postsQueryDocument);

  // `data` is fully typed!
  // ...
}

@Torsten85 is there any chance that you have time to look into this?

Yes, just now 😉 Thank you!


Publish-PSResource APIKey Parameter

This a minor thing but usually only the first character is capitalized in an acronym APIKey to ApiKey.

Should we change this parameter to accept an object and not a string so that it can also accept SecureString?  Was using this with Get-Secret which defaults to returning a securestring.


Sockeye translate api

We have implemented out MT using sockeye, is there any available API to communicate with sockeye translate?

I also have the same problem I needed a REST API.

There are no REST API as part of Sockeye and you would need to implement REST model serving manually (integrating with whatever pre-processing you're doing before you model) and using the load_models and Translator mentioned above. Defining the Python level translation API more explicitly is something that might make sense to add in the future.

I think we do have something close to a formal API. The preferred approach is to construct inference.TranslatorInput objects, which are then passed to Translator.translate(), which will translate a list of such objects as a batch. There are a handful of convenience functions for building these objects from plain text, from tab-delimited input (for source factors), and from JSON strings. You can see how this is done in translate.py, the command-line API.

closing, feel free to reopen if you have more questions about the existing API.


Research on file sharing modes and protocols

I have conducted research on file sharing modes and ptotocol, we will be using Wi-Fi Direct Service Discovery (WSD) as the sharing protocol, hotspot and bluetooth as the file sharing and  Peer-to-Peer (P2P) as the file sharing mode:


Fix #297 - Close created GATT when cancelling autoconnect requests

Application is registered for notifications when an autoconnected device comes into range. There is a maximum amount of registrations allowed simultaneously, and each connect creates a new registration:
I/mono-stdout(10118): $> Attempt connect (last attempt 4381ms ago)
D/BluetoothManager(10118): getConnectionState()
D/BluetoothManager(10118): getConnectedDevices
D/BtGatt.GattService( 1665): getDeviceType() - device=24:71:89:2B:3F:45, type=2
D/BluetoothGatt(10118): connect() - device: A0:E6:F8:88:C5:12, auto: true
D/BluetoothGatt(10118): registerApp()
D/BluetoothGatt(10118): registerApp() - UUID=dcc69ef2-65ae-4053-b909-a54da55a24f2
D/BtGatt.GattService( 1665): registerClient() - UUID=dcc69ef2-65ae-4053-b909-a54da55a24f2
D/BtGatt.GattService( 1665): onClientRegistered() - UUID=dcc69ef2-65ae-4053-b909-a54da55a24f2, clientIf=6

If the GATT is not closed after the connection attempt is canceled, this limit is reached and all subsequent connection attempts fail immediately:
04-23 21:10:23.998 29113 29266 E bt_att  : GATT_Register: can't Register GATT client, MAX client reached!
04-23 21:10:23.998 29113 29266 E bt_btif : Register with GATT stack failed.
04-23 21:10:23.998 29113 29266 E bt_att  : GATT_Register: can't Register GATT client, MAX client reached!
04-23 21:10:23.998 29113 29266 E bt_btif : Register with GATT stack failed.

Closing the GATT on cancellation frees up the connection slot for future connection attempts:
D/BluetoothGatt(10118): close()
D/BluetoothGatt(10118): unregisterApp() - mClientIf=6
D/BtGatt.GattService( 1665): unregisterClient() - clientIf=6
D/BtGatt.GattService( 1665): onDisconnected() - clientIf=6, connId=0, address=A0:E6:F8:88:C5:12
E/BtGatt.ContextMap( 1665): Context not found for ID 6
I/mono-stdout(10118): $> Attempt connect (last attempt 4381ms ago)

@xabre Hi, can this PR be merged in to master? Both commits in this PR are very important when using autoconnect.
Latest release is calling Disconnect() ( cancellationToken.Register(() => connectGatt.Disconnect()); ) but this is not enough for autoconnected devices, only Close() will releae any resources held by BluetoothGatt.

@nicolasmab will take a look as soon I have some more free time, thanks


"Take me back" has no effect when google-analytics.js blocked

My ad blocker blocks google-analytics.js, which somehow prevents the redirect toast's "Take me back" button from working. There is no log in the console when this occurs. DevTools shows that the only thing "ad-blocked" on this site is google-analytics.js. Manually adding an exception (or disabling the ad-blocker for this page) allows the link to return me to the classic Polymer Elements catalog.
The relevant code:
      _optOut: function() {
        function navigate() {
          window.location.href = 'https://elements.polymer-project.org?redirect=';
        }
        /* global ga */
        if (window.ga) {
          ga('send', 'event', {
            eventCategory: 'Optout',
            eventAction: 'Toast',
            eventLabel: 'Polymer Elements redirect',
            transport: 'beacon',
            hitCallback: navigate,
          });
        } else {
          navigate();
        }
      },

I'm guessing that window.ga exists even when blocked, but since it's blocked, hitCallback is never invoked, so navigate() never gets called.
Environment

macOS Sierra 10.12
Chrome 54
AdBlock 3.8.1

Thanks for filing - do you want to send a pull request to fix this issue?

@samuelli Ok. See #746


I think i have same issue with 4.7 target framework:

I think i have same issue with 4.7 target framework:
---Update
after installed build tool 2015 it worked
Error The "DllExportAppDomainIsolatedTask" task failed unexpectedly.
System.ArgumentException: Requested value 'Version47' was not found.
Server stack trace:
in System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
in System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
in System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
in RGiesecke.DllExport.MSBuild.ExportTaskImplementation1.<>c__DisplayClass8.<GetGetToolPathInternal>b__7(Version version, String toolName) in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:riga 568    in RGiesecke.DllExport.MSBuild.ExportTaskImplementation1.TryToGetToolDirForFxVersion(String toolFileName, Func3 getToolPath, String& toolDirectory) in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:riga 725    in RGiesecke.DllExport.MSBuild.ExportTaskImplementation1.ValidateToolPath(String toolFileName, String currentValue, Func3 getToolPath, String& foundPath) in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:riga 698    in RGiesecke.DllExport.MSBuild.ExportTaskImplementation1.ValidateFrameworkPath() in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:riga 680
in RGiesecke.DllExport.MSBuild.ExportTaskImplementation1.ValidateInputValues() in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:riga 396    in RGiesecke.DllExport.MSBuild.ExportTaskImplementation1.Execute() in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\ExportTaskImplementation.cs:riga 264
in RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask.Execute() in c:\Users\rober_000\Documents\Code\unmanaged-exports\RGiesecke.DllExport.MSBuild\DllExportAppDomainIsolatedTask.cs:riga 241
in System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
in System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
in System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
in System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
in Microsoft.Build.Framework.ITask.Execute()
in Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
in Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()	EasyLoad
Originally posted by @bbday in https://github.com/3F/DllExport/issues/29#issuecomment-349252880

Thanks for share. It is helpfull

I remind everyone,
Our DllExport have no this problem even without my temp solution from #29

https://github.com/3F/DllExport/issues/95#issuecomment-475863295

Yep, just found it again, after #191

Originally posted by @bbday in #29 (comment)
...
Thanks for share. It is helpfull

Absolutely no respect to my work <_< Thanks to me,

try to install msbuild tools (~20 MB):
https://github.com/3F/DllExport/issues/29#issuecomment-284259126

Points exactly to "Microsoft Build Tools 2015" which solves the problem mentioned by @bbday later.
Anyway, again, regarding to #191
2021, I remind everyone, that was a temp solution. Modern 1.7.4 must work fine without everything that I suggested from original issue. For other case, please open a new one.


make error on kali linux

/kalibrate-bladeRF# make
make  all-recursive
make[1]: Entering directory '/root/kalibrate-bladeRF'
Making all in src
make[2]: Entering directory '/root/kalibrate-bladeRF/src'
g++ -DHAVE_CONFIG_H -I. -I..      -g -O2 -MT kal-arfcn_freq.o -MD -MP -MF .deps/kal-arfcn_freq.Tpo -c -o kal-arfcn_freq.o test -f 'arfcn_freq.cc' || echo './'arfcn_freq.cc
mv -f .deps/kal-arfcn_freq.Tpo .deps/kal-arfcn_freq.Po
g++ -DHAVE_CONFIG_H -I. -I..      -g -O2 -MT kal-c0_detect.o -MD -MP -MF .deps/kal-c0_detect.Tpo -c -o kal-c0_detect.o test -f 'c0_detect.cc' || echo './'c0_detect.cc
In file included from c0_detect.cc:32:0:
bladeRF_source.h:31:10: fatal error: libbladeRF.h: No such file or directory
#include "libbladeRF.h"
^~~~~~~~~~~~~~
compilation terminated.
Makefile:442: recipe for target 'kal-c0_detect.o' failed
make[2]: *** [kal-c0_detect.o] Error 1
make[2]: Leaving directory '/root/kalibrate-bladeRF/src'
Makefile:376: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/kalibrate-bladeRF'
Makefile:317: recipe for target 'all' failed
make: *** [all] Error 2
What‘s  the problem  ?

It seems like you need to ensure you have libbladeRF.h in your library.

Please see #18


Wrongly importing BrowserModule

ng2-datepicker is importing BrowserModule but should not.
This will not be a problem if the parent component is at the top level of your app but will be if you try to use date picker in a sub-module.
You will get the error 'browserModule has already been imported".

Fixed in #103


Add react-native to already existing application throws errors

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Hey Guys, I'm trying to follow the docs about adding react-native to an already existing android application.
I am receiving the error(s):
2020-07-09 17:07:12.964 6562-6562/com.blake.testreactnative E/SoLoader: Error when loading lib: dlopen failed: library "libjsc.so" not found lib hash: 37b75c7fd33e8c94378f65171f48bada search path is /data/app/com.blake.testreactnative-QIGbyGF2mRQe_c1Zn8Rq4A==/lib/x86

and also:
2020-07-09 17:07:13.334 6562-6623/com.blake.testreactnative E/SoLoader: couldn't find DSO to load: libhermes.so result: 0
2020-07-09 17:07:13.335 6562-6623/com.blake.testreactnative E/AndroidRuntime: FATAL EXCEPTION: create_react_context
    Process: com.blake.testreactnative, PID: 6562
    java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so result: 0
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:825)
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:673)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:611)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:559)
        at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20)
        at com.facebook.hermes.reactexecutor.HermesExecutorFactory.create(HermesExecutorFactory.java:29)
        at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1017)
        at java.lang.Thread.run(Thread.java:764)

React Native version:
Run react-native info in your terminal and copy the results here.
System:
OS: macOS 10.15.5
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 61.69 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.18.2 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 22, 23, 26, 27, 28, 29
Build Tools: 27.0.3, 28.0.2, 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.0
System Images: android-27 | Google Play Intel x86 Atom, android-28 | Wear OS Intel x86 Atom
Android NDK: 18.1.5063045
IDEs:
Android Studio: 4.0 AI-193.69<IP_ADDRESS>14223
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_242-release - /usr/bin/javac
Python: 2.7.16 - /usr/local/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: ^0.63.0 => 0.63.0
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Expected Results
I would expect the react native view to open and hello world would appear on the screen
Snack, code example, screenshot, or link to a repository:
https://github.com/814k31/testReactNative
Documentation Difficulty
I found the documentation quite confusing as it mentions ReactInstanceManager for the first time like it's already been talked about. The code mentioned in the image below I have placed inside of MyReactActivity.kt because rest of the documentation mentions using ReactInstanceManager there.
Screenshot

Fixed by adding to jsc to the projects dependencies and applying react-natives build.gradle in the apps build.gradle
https://github.com/814k31/testReactNative/pull/1
Perhaps the docs should be updated for others

This fix worked for me as well.

This and all the "couldn't find DSO to load" bugs have been fixed in React Native 0.71.
The issue on previous versions was a "too aggressive" clean-up logic in the react.gradle file. In 0.71 the clean-up logic has been rewritten to be more Android friendly and is now living inside the React Native Gradle Plugin.
I'm closing this, please update to 0.71 and open a new issue if the "couldn't find DSO to load" crash is still happening on 0.71+.


Extending Pod Security Admission

Signed-off-by: ShutingZhao<EMAIL_ADDRESS>

cc @toltol

@MarcelMue @JimBugwadia - I've addressed all comments, can you please review again?


Redux should be a regular dependency

Redux should be defined as a regular dependency; otherwise, one might run into
Error: Cannot find module 'redux' when importing configureStore from redux-mock-store if the package into which it's imported doesn't have redux set (and installed) as a dependency.
This Stack Overflow answer provides more details regarding npm dependencies.

I don't want to force a version of redux of people. You should include redux in your project in order to run the mock library. I read the stackoverflow question but couldn't find anything to support putting it inside the dependencies.

Hmm, okay, the version bit makes sense. Still, I thought it to be unexpected that I had to install redux myself; maybe a mention of it in the README would suffice then?
Oh, it was the "Transitivity" section of his answer:

Transitivity (mentioned by Ben Hutchison):

dependencies are installed transitively: if A requires B, and B requires C,
then C gets installed, otherwise B could not work, and neither would A.

devDependencies are not installed transitively. E.g. we don't need to test B to
test A, so B's testing dependencies can be left out.

I think the second point describes exactly what is happening here: one has to install redux whenever one uses redux-mock-store, even though redux is only needed by redux-mock-store and not by the package that's being tested.

This is what peer dependencies is for, no?
You can warn the user when redux is not installed, like so:
"peerDependencies": {
  "redux": "*"
}

Yeah, sounds good.


cannot install 2.1.5 via brew after updates

running OS X 10.1.1, currently  installed rbenv 2.1.4
> brew update && brew upgrade ruby-build
> rbenv install 2.1.5

Downloading ruby-2.1.5.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/4305cc6ceb094df55210d83548dcbeb5117d74eea25196a9b14fa268d354b100
Installing ruby-2.1.5...

BUILD FAILED (OS X 10.10.1 using ruby-build 20141113)

Inspect or clean up the working tree at /var/folders/qv/jbvzshbs76n4tqm3w4mfcx680000gn/T/ruby-build.20141127071426.92947
Results logged to /var/folders/qv/jbvzshbs76n4tqm3w4mfcx680000gn/T/ruby-build.20141127071426.92947.log
Last 10 log lines:
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
installing default readline libraries
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
linking shared-object readline.bundle
linking shared-object psych.bundle
installing default psych libraries
installing default ripper libraries
linking shared-object ripper.bundle
make: *** [build-ext] Error 2

======  from build log ...
compiling ossl_asn1.c
In file included from openssl_missing.c:22:
./openssl_missing.h:71:6: error: conflicting types for 'HMAC_CTX_copy'
void HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in);
     ^
/usr/include/openssl/hmac.h:102:5: note: previous declaration is here
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
    ^
In file included from openssl_missing.c:22:
./openssl_missing.h:95:5: error: conflicting types for 'EVP_CIPHER_CTX_copy'
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in);
    ^
/usr/include/openssl/evp.h:502:5: note: previous declaration is here
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
    ^
openssl_missing.c:26:1: error: conflicting types for 'HMAC_CTX_copy'
HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in)
^
/usr/include/openssl/hmac.h:102:5: note: previous declaration is here
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
    ^
openssl_missing.c:121:1: error: conflicting types for 'EVP_CIPHER_CTX_copy'
EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in)
^
/usr/include/openssl/evp.h:502:5: note: previous declaration is here
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
    ^
4 errors generated.
make[2]: *** [openssl_missing.o] Error 1
make[2]: *** Waiting for unfinished jobs....

@erwin Did you solve your issue?

Closing due to stale. Further reports should go to https://github.com/sstephenson/ruby-build/issues tracker instead. Thanks!

If someone stumbles over this - this worked for me: https://github.com/rbenv/ruby-build/issues/1489


Added six columns to blocks

Added the following columns to blocks:

gas_limit
uncles_hash
difficulty
mix_hash
nonce
withdrawals_root

looking good. just need to adjust 15-->21 in two of the tests and then ready to merge

awesome


RefreshControl broken on iOS on react-native 0.24.0-rc3

It looks like the refresh control was broken by this commit 88ebdb2a6584293bac38308fece9bc8bed102a71.
When the refresh control gets activated (i.e. pull down and release) it causes the following error:

I have the same problem.

cc @janicduplessis do you have time to look into this? I can cherry-pick the patch into the next RC (0.24.0-rc5).

Seems similar to #6489. Not sure why the ref becomes null, do you do anything special in the onRefresh callback? If you can get a gist or a RNPlay example that reproduces the bug it would help understanding what is happening here.
@ide What's the window before releasing 0.24? I could just add a null check for now.

@janicduplessis I'm planning for either this Friday or next Monday.

Lets add a null check which will probably end up being the right solution but I'd still like to understand why the ref is null.

The ref is set to null in two scenarios: on each render pass because the ref callback function changes during each render since we create a new arrow function each time, and when the NativeRefreshControl is unmounted.
I don't think _onRefresh is getting called in the middle of a render pass -- I don't think much non-React code is allowed to run in that window of time. So my guess is that some code within NativeRefreshControl is invoking _onRefresh even after NativeRefreshControl is unmounted.
The null check would fix this bug but I think the best fix -- assuming my guess is right -- is for NativeRefreshControl not to call onRefresh when it's unmounted.

Is is possible that the ref gets set to null because the RefreshControl gets unmounted during the call to the onRefresh prop via setState?
_onRefresh() {
    this.props.onRefresh && this.props.onRefresh(); // <-- this calls into user code that could unmount the refresh control.
    this._nativeRef.setNativeProps({refreshing: this.props.refreshing});
  },

That's probably correct.  In my onRefresh function, I change state such that the RefreshControl is no longer rendered.

Double checked the native implementation on iOS and it only calls _onRefresh when the RefreshControl detects a pull down gesture, which probably can't happen if the component is unmounted (unless there's a crazy race condition). Unmounting the RefreshControl during the onRefresh callback is probably what causes this, so adding the null check seems like the right solution.

Ok, I reproduced the bug, I can confirm that the issue is caused by unmounting the refresh control during the onRefresh callback.

Nice find!

Fixed in #6931


Update Composer dependencies (2024-09-18-00-12)

Visual regression test passed!
View the visual regression test report


README.md: describe builder options attrkey and charkey

Builder supported  options attrkey and charkey since forever, but they were not mentioned in section "Options for the Builder class". I copied them from the "Options" section.

Coverage remained the same at 97.633% when pulling c1d49d87cf826a99dbd5841d934e2e54bc29f0c3 on jcsahnwaldt:patch-1 into cec9dc085a943b164490bbf214f1fd15bc3ce33b on Leonidas-from-XIV:master.

Thank you!