Crash when attachment file is changed while TC document picker dialog is open

Expected behavior
error message "File not found"
or
Folder rescan when switching back to file picker (TC issue)
Actual behavior
short glimpse of mail editor with attached file, then app crash
Steps to reproduce

Compose mail
open file attachment dialog
select "Total Commander"
navigate to folder X
Switch to some file browser and rename file Y in folder X
Switch back to K-9, select file Y (under old filename), attach

with "TotalCmd (file://url)" - nothing is attached
same with Picasa
stock album or "Simple Gallery" manage to attach the image anyway, but under a generic number

Environment
K-9 Mail version:
5.6
Android version:
7.1.1
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP
Please take some time to retrieve logs and attach them here:
k9-log.txt

Thanks for the bug report. PR #4795 will fix the crash. Part of what was reported might be covered by #4399.


Cleanup old referencing labels from docs

Summary
fixes #453

Quick question: What is actually referenced by the label:
:ref:`top-level functions <qiskit_top_level_functions>`

I dont know if we want to drive to the tutorials. Can we minimize the link and if we need them link to the API source code like I did in the qiskit elements file.

I dont know if we want to drive to the tutorials. Can we minimize the link and if we need them link to the API source code like I did in the qiskit elements file.

okay. I'll do the necessary changes.


cannot accept iota from binance

says my address is wrong, despite using the QR code

Does your address start with atoi?

sorted, thank you!


Depth picking fix

Re-add near plane offset if not the first frustum. Always return the first frustum depth found.

Thanks.  Probably update CHANGES.md in master.


'Update' for Remote host profiles broken

Describe the bug
If you open the Host profiles window and want to import a different set of profiles, Clicking the Update button
yields
There was an error attempting to download hosts.
Please contact VisIt developers.

url: https://raw.githubusercontent.com/visit-dav/visit/develop/src/resources/hosts/networks.dat

TLS initialization failed.

This is printed to terminal:
Qt: Warning: No functional TLS backend was found

It is related to Qt 6, because 3.3.3 works.
Desktop

OS and version: Linux, Windows, (Mac?)
VisIt Version: 3.4.0+

Sounds like QT was not built with openssl support, so it won't be able to fetch from https urls.

It works on pascal from my local build of 3.4RC, but not from /usr/gapps  install of 3.4.1.
There are a couple of issues with files listed in networks.dat not being available, but I don't get the TLS error.
It looks like the networks.dat needs updating.
Error transferring https://raw.githubusercontent.com/visit-dav/visit/develop/src/resources/hosts/llnl_rz/host_llnl_rzhasgpu.xml - server replied:

Error transferring https://raw.githubusercontent.com/visit-dav/visit/develop/src/resources/hosts/llnl_closed/host_lanl_closed_trinity.xml - server replied: .

Error transferring https://raw.githubusercontent.com/visit-dav/visit/develop/src/resources/hosts/llnl/host_llnl_rzalastor.xml - server replied: .

On Windows there are some qt plugins (tls) that need to be installed along with the platform plugins, then the update seems to work. Will check Linux tomorrow for same/similar.

Adding the tls plugins to the qtplugins for my local install of 3.4.1  fixed this issue on pascal.  I will modify the logic in our find module to include this for Qt6.


Support for GCP Secret Manager

This PR has changes to support GCP Secret Manager as a backend.

@karan-kap Did you have a look at this? https://github.com/godaddy/kubernetes-external-secrets/pull/288

Ah! seems like I missed it.
Nevermind, I looked at pull request 288, mostly the changes are similar, a small point though, the example in that PR passes the complete path of the key (including the projectId), whereas this can be obtained from the SecretManagerServiceClient.

I am looking for secret manager tool for k8s. "kubernetes-external-secrets" seems good for me to use secret manager on GKE with this pull request, so I tested it on my GKE cluster.
I works well with the following logs. I hope this pull request will be merged soon.
+ external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz › kubernetes-external-secrets
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm info it worked if it ends with ok
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm WARN npm npm does not support Node.js v12.13.0
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm WARN npm You should probably upgrade to a newer version of node as we
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm WARN npm can't make any promises that npm will work with this version.
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm WARN npm You can find the latest version at https://nodejs.org/
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm info using<EMAIL_ADDRESS>external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm info using<EMAIL_ADDRESS>external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets ><EMAIL_ADDRESS>start /app
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets > ./bin/daemon.js
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950440,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"loading kube specs","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950627,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"successfully loaded kube specs","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950627,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"updating CRD","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950627,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"Upserting custom resource externalsecrets.kubernetes-client.io","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950646,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"successfully updated CRD","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950650,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"starting app","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950655,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"successfully started app","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585194950655,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"MetricsServer listening on port 3001","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets Thu, 26 Mar 2020 03:55:50 GMT kubernetes-client deprecated .getStream use .getObjectStream, see https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md at lib/external-secret.js:40:10

external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195168960,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"starting poller for default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195168969,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"running poll on the secret default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets secret created successfully for key [k8s-secret-test]
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195169363,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"upserting secret default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195169378,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"stopping poller for default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195169379,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"starting poller for default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195174447,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"stopping poller for default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195174453,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"starting poller for default/k8s-secret-test","v":1}
external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz kubernetes-external-secrets {"level":30,"time":1585195179372,"pid":17,"hostname":"external-secrets-kubernetes-external-secrets-6c89c67cf-g7jxz","msg":"running poll on the secret default/k8s-secret-test","v":1}
...

Handled by https://github.com/godaddy/kubernetes-external-secrets/pull/288.  Looks like there was a race with this PR.  Thank you @karan-kap for contributing this PR.  Did you want to consider adding a change based on your comment here: https://github.com/godaddy/kubernetes-external-secrets/pull/301#issuecomment-600196766 ?

This PR support GKE's workload identity and it works well. I try to accomplish same with https://github.com/godaddy/kubernetes-external-secrets/pull/288, now merged into master branch but with no clue how to configure it.
The example https://github.com/godaddy/kubernetes-external-secrets/blob/master/examples/gcpsecretsmanager-example copy.yaml shows we have to configure key such as "projects/111122223333/secrets/my-secret/versions/latest", while in the current PR, key is simply "my-secret", it is a lot simple and easy to fit into multiple projects without templating for different projects (a.k.a environment).

@silasbw - will submit another PR shortly to build the URI with-in the _get method of GCP Secret Manager Backend. Version can be passed as keyOption, if it present then fetch that version, else fetch the latest version.


Lab Package Management with Azure Artifacts

Contact Details
No response
What happened?
The package dotnet pack command is not working We get error

Lab
Package management with Azure Artifacts
Relevant screenshots
paste here 😉
Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

@LuizMacedo  @rob-foulkrod this is due to not having the credential manager installed, which is a little bit confusing, since we asked them to use Visual Studio to add the feed but then revert back to terminal for packing, if they pack using VS it would be OK. Thoughts?

Hi,
So if Task 2 step 8 guides the student to run the commands from the Visual Studio Developer Command Prompt instead of PowerShell prompt, will it work?

Recreating the lab with the credential provider installed and it looks as if building in Visual Studio did not authenticate against the feed. So options are to pack with Visual Studio as @yashints mentioned, or to
dotnet pack .\eshoponWeb.Shared.csproj --interactive
then follow the instructions and authenticate with the devicecode.
Either way, looks like we will need to tweak the instructions.

Lab updated today. Closing the issue. Thanks!


Supported dev OSes

Given the wide usage of Ubuntu 22.04, it would seem a reasonable dev system to work with. Are you guys all working/testing on MacOS or something? Several steps in the quickstart just seem to fail, and trying to hack around them requires installing and sourcing an emsdk, installing node_modules with PUPPETEER_SKIP_DOWNLOAD=true npm i @electric-sql/prisma-generator, doing yarn install, etc. - all things not listed at all in the quickstart.
I realise things are moving fast, but a quick test in a fresh Ubuntu 22.04 VM for the quickstart seems pretty reasonable to me... The issue being, it is very much not "quick" to get started, and wouldn't be possible for someone who hasn't spent a lot of time trying to get things working.

Hey, absolutely, the quickstart should work on Ubuntu.
As it happens we’re half osx half arch linux. We test on Ubuntu but from the sounds of it we may not have tested some of the manual steps or may have an unrepresentative environment.

We fixed the issues with flag on ubuntu; but then was something weird.


Support Spiffe mTLS

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?
Hello Traefik team!
Context and Feature Description
We've been recently investigating SPIFFE and it's runtime SPIRE to deliver cryptographic materials to our workload so they can securely prove their identity and trust each other.
For service to service communication, we are able to instrument our workload to reach this goal relatively easily. But we still need to figure out how to secure the first hop between the ingress controller and our workload.
I can see there's some in progress work on the serversTransport configuration regarding making Traefik able to validate Spiffe certificates, but we would like to propose to go one step further and have Traefik actually integrate with the SPIFFE workload API, retrieve its SVIDs and present them to the backend server when it establishes connector, the goal being having Traefik trust the backend server, but also the backend server trust Traefik.
On top of that, we could implement some sort of authorization by placing constraints on the spiffeID  presented by backend server (either an allow list or allowing a trust domain).
I've been fiddling around and managed to make a PoC of this feature in Traefik, in the context of a Kubernetes cluster running SPIRE, here's a few links:

A demo repository which demonstrates the Traefik -> HTTPS server -> gRPC server use case, everything over SPIFFE.
The code changes in Traefik to add the support in Traefik's core (minimal changes in the roundtripper manager) and in the Kubernetes CRD provider.

The cool thing with SPIFFE is that it works in k8s, but also in many other contexts (swarm, nomad, on prem...), as long as a workload API is reachable and Traefik is properly registered as workload. For the record, I reckon that only Envoy and Nginx plus are supporting this.
How to implement this Feature
Disclaimer: that's how I see this feature I'm highly biased by my use case 😅 , I do believe this deserves some more thinking as SPIFFE can allow to do many things.
Configuration Changes
Static Configuration
First of all, we need to tell Traefik how to reach a SPIFFE agent, the recommended way is to reach it using a unix socket. As it is server transport related, this parameter could fit under the serversTransport section of the static configuration.
# Static config
serversTransport:
  spiffeAgentSocket: unix:///run/spire/sockets/agent.sock

If this parameter is defined, then Traefik establishes a connection to the argent workload API and waits for it's first SVID to be delivered before starting. The spiffe-go library already takes care of this,
This requires to make the spiffe socket reachable in Traefik container, on k8s this translates by the following changes in the deployment manifest.
Dynamic Configuration
What we need here is:

Tell Traefik, per transport if SpiffeMTLS needs to be enabled
Optionally do some authorization on Traefik side

Either pass down an allow list of  SpiffeIDs that could be presented by the backend server
Or pass an allowed trust domain, which will make Traefik allow any SpiffeIDs that comes from the given trust domain. If both options are given, the SpiffeID list is the more specific here so it would take precedence.

Which would translates to the following changes in the ServersTransport structure dynamic config :

Add an EnableSpiffeMTLS boolean that tells if or not SPIFFE mTLS needs to be used for this transport.
Add an optional ServerSpiffeIDs string slice, that allows to pass down a list of allowed SpiffeIDs for the backend servers
Add an optional ServerSpiffeTrustDomain string that allows to pass down an allowed trust domain.

Here's an example of this configuration using the KubernetesCRD + Ingress providers.
Code Changes
The go-spiffe library makes this integration rather easy from a code point of view as it provides the building blocks to get a standard tls.Config easilly. Here's are the important parts:

If a spiffe agent socket path is given, then spin up an x509SSource during boot and pass it down to the  RoundTripperManager. here's the change
From there in the roundtripper manager, build a tlsconfig based on the given x509Source if it is given and an optional authorizer if  the configuration tells to do so. here's the change

Additional Notes
I do think that this could be also done for TCP routing, but I haven't explored this path yet.
Happy to talk about this, and work on this feature if you folks think it's relevant!
Best, and thanks for the hard work anyway!

As discussed with the team on the Discord hackathon, I'll start working on an implementation similar to what's proposed, except that the spiffe socket path should live in it's own structure of the static configuration.
--spiffe.socketpath=unix://run/spiffe/socket.sock


Fix SCCS IDs in fdlibm

Most of the legacy version control IDs in fdlibm are already simple
comments at the beginning of the source files. However, in some
files, there are leftover global variables and pragmas. (The global
variable in e_pow.c even increases the .data section in both debug
and release builds.) This patch turns all legacy IDs to comments of
unified style.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

LGTM

LGTM


[FEATURE REQUEST] - Add non-aligned spectra - OspreyProcess - Eric Porges

Is your feature request related to a problem? Please describe.
Gannet shows averaged spectra pre and post alignment, we want Osprey to do this too.
Additional context
Useful for QA of Siemens data.

Solved in #417. Thank you for the suggestion Eric.


Android Basics: Fragments Navigation component

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-fragments-navigation-component?authuser=1&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-2%3Fauthuser%3D1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-fragments-navigation-component#0
In which task and step of the codelab can this issue be found?

Before you begin

Describe the problem
Typographical error on paragraph 3 says, which says "fragmen" instead of "fragment"
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Thanks for filing! This has now been fixed


Obtaining IF data

Hi,
How did you obtain IF data i.e for Pixel2 https://github.com/francozappa/bias/blob/master/bias/IF_PIXEL2.json?
Any easy way to dump it from the device/retrieve it from the device?
Wondering how easy this is, to judge potential attack practicability.
I want to try possibly with Samsung mobile.
Thanks,

Hi,
You can dump the data by observing the LMP packets that you receive when you try to connect/pair with the device that you want to impersonate. To observe the LMP packets you can use internalblue with a compatible device.

@francozappa Thanks!

CYW920819 devboard

Is this the board you have used?
https://www.aliexpress.com/i/33033506158.html
How did you connect your computer to it?
https://www.cypress.com/file/462851/download

Peripherals
22 GPIOs
I2C, I2S, UART, and PCM interfaces
Two Quad-SPI interfaces
Auxiliary ADC with up to 15 analog channels
Programmable key scan 20 × 8 matrix
General-purpose timers and PWMs
Real-time clock (RTC) and watchdog timer (WDT)

I don't see USB connector.....
via I2C????

I've used different devices including the devboard that you linked connected via USB to my laptop. What you need is a device that is patched to support H4 forwarding to see LMP packets using the HCI interface as per https://github.com/seemoo-lab/internalblue/blob/master/doc/setup.md
Please reefer to the internalblue team if you need support to configure the device to work with internalblue

Will do, thanks.
Ordered this board as per internalblue Guide.
CYW20735B1
https://www.mouser.de/ProductDetail/Cypress-Semiconductor/CYW920735Q60EVB-01?qs=qSfuJ%252Bfl%2Fd6ohu0rHi5aRA%3D%3D
FYI There is Micro USB connector on the left.

@francozappa Sorry to make noise here, but maybe others will find it also useful. Well actually will try the same board as you.
Seems like you patched the Rom, want to spare me this.
Wondering if I have luck and the ROM will be the same as yours (Manufacturer number: CYW920819EVB-02). Did you use CYW920819EVB-02 or other?
Will try with this:
https://www.mouser.de/ProductDetail/Cypress-Semiconductor/CYW920819EVB-02?qs=%2Fha2pyFadugICnogBdJ27y6wc6auC18DiNMDVcMRKbY1cC%2FDSbgy9g%3D%3D
Seems like it is also supported by Internalblue
https://github.com/seemoo-lab/internalblue/blob/96912a5ee224015f7f5e22c57f724a84e491387e/internalblue/fw/fw_0x220c.py#L47
Opened the issue also there:
https://github.com/seemoo-lab/internalblue/issues/27

No worries @marcinguy
Yes I've used the CYW920819EVB-02 devboard and I've patched its Bluetooth firmware at runtime using Cypress's proprietary patchrom mechanisms via internalblue. With such devboard as an attack device you should be able to reuse the AF.json file in the BIAS repo and reproduce the attacks.
Let me know if you have any issue when reproducing the attacks.

@marcinguy can you please create a PR with the IF files that you used for your attacks?


[stable/prometheus] missing doc for server.service.labels

What this PR does / why we need it:
The undocumented option server.service.labels is useful when using this chart for Thanos deployment (adding an extra label to the Prometheus server component to indicate that it is also an instance of the Thanos storage API), and probably for other use cases also.
Did not bump chart version as this capability was already there, just undocumented.
Which issue this PR fixes
N/A
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @mgoodness

blergh I need to learn to git. Sorry about this. Will close and submit something not-awful.


DistilledSGLD regression algorithm shows the MSE is nan

I use my own data insteed of the sample toy data, and the MSE is nan.
I debug in the python source code, and find that the student network output is nan.
Environment info
Operating System:
WIN7
Compiler:
Prebuild 20160531
Package used (Python/R/Scala/Julia):
Python
MXNet version:
0.93
Or if installed from source:
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
Python version and distribution:
Python 2.7

when use one layer architecture the output is fine.
when use multiple layers architecture the output is nan.
data is ok, it works fine for one layer network

    net = mx.symbol.Variable('data')
    net = mx.symbol.FullyConnected(data=net, name='teacher_fc1', num_hidden=400)
    net = mx.symbol.Activation(data=net, name='teacher_relu1', act_type="relu")
    net = mx.symbol.FullyConnected(data=net, name='teacher_fc2', num_hidden=400)
    net = mx.symbol.Activation(data=net, name='teacher_relu2', act_type="relu")
    net = mx.symbol.FullyConnected(data=net, name='teacher_fc3', num_hidden=1)
    net = mx.symbol.LinearRegressionOutput(data=net, name='teacher_output',
                                           grad_scale=teacher_noise_precision)

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Error translation of shf instruction when clamp mode and c>=32

Hi there!
I have found a potential bug in newly merged shf instruction translation function.
    // Left or right shift on `b`
    {
        ir::LLVMShl shl;
        shl.d.name = _tempRegister();
        shl.d.type = b.type;
        shl.a = b;
        shl.b = leftShift ? n : invN;
        _add(shl);
        shiftA = shl.d;
    }

In the translation function, the LLVM "shl" and "lshr" instrucion are used to translate shift operation. However, since the operand c could be greater than 32, shift instruction might try to shift 32-bit registers by 32 bit, which will lead to a poison value according to LLVM Language Reference Manual.
In my practice, the behavier of translated kernel and original PTX kernel is different when c>=32 and clamp mode is different.
I have fixed it in my fork, but I'm not sure whether the shift operation in test reference function is undefined behavior in C/C++ or not:
    U32 result;
    if (direction == ir::PTXInstruction::ShiftLeft)
    {
        result = (b << c) | (a >> (32 - c));
    }
    else if (direction == ir::PTXInstruction::ShiftRight)
    {
        result = (b << (32 - c)) | (a >> c);
    }

Hi @Hdksg10 , thank you very much for this note, I'm going to ask @bjsi to confirm this.

Thanks for your reply @dmikushin @bjsi. According to my test result, the shf instruction in wrap mode works correctly , the same as NVIDIA official JIT compiler's result. Only in clamp mode the result is different. For example, if clampMode and n==32, "shf.l d a b n" is just "d=a" in official result, but translated llvm kernel produce error result.

Ah I understand, thanks for clarifying @Hdksg10! I see that in your fork you compute the result as normal, and do a comparison to check whether n was 32. If it was then for left shift shf.l d,a,b,32 => d = a and for right shift  "shf.r d,a,b,32" => d = b. I suppose we'd still be calculating a poison value if n == 32 (but then ignoring it). The only concern is whether calculating a poison value can effect other calculations even if it is unused? Is this possible?

Thanks for pointing it out @bjsi. I'm not sure whether calculating a poison value produces any side effect or not. Maybe we can use zext/sext llvm instruction to extend operands to 64bit to avoid the poison value? I guess clamp to 31 might leads to a different behavior from official PTX manual and JIT compiler's result.

@Hdksg10 This thread suggests that a poison value can propagate through select, I'm having trouble figuring out if it applies to our case 😅

@bjsi I have checked the thread and I'm going to ask my colleague who is familar with LLVM to examine it. I have tested my fixed version's result, and it is the same as original PTX kernel, at least in my environment. However, it's about 12:00 p.m. now in Shanghai, so I'm going to check my translated result and add more information to help reproduce my test result tomorrow. I will notice you once I finish it.

@bjsi I think problems about posion value and select instruction in the thread has been solved, since the LLVM official document explains that selects' result is poison if and only if the condition is poison or the selected value is poison.

Oh great, in that case I think your fix is perfect! Thanks a lot for your help here.

 It's fine beacuse I'm also working to add full PTX 5.0 ISA support for ocelot (as a PTX To LLVM IR Translator).


chore: automate having mybinder files up to date

This automates replacing the version numbers in the mybinder files.
This uses the _version.py file as truth, maybe you also want an action in the task to update the json file and have a git hook?

Thanks PR @maartenbreddels! :)
I don't know how to use github actions, I just have to add something like this:
 pip install doit
 doit

To the config of github actions?
What do you mean with son file?

No GHA required, if you run this locally with doit, it will make sure your binder files are up to date.
You can try:

pip install doit
modify _version.py
run $ doit
see the changes
enjoy life 😄

Haha seems good!
I thought you meant I should integrate it with GHA when you said

maybe you also want an action in the task to update the son file and have a git hook?

What did you mean here? Sorry :p

update the son file

A very aggressive spell corrector, should have been json.
What i meant is that you can have a git hook execute this locally before you commit, so it's always up to date. And in the file, you see 1 task with 1 action, but it can also have another action, which is to update the son.
feel free not to merge this, only if you like it, I'm just putting it out there for inspiration.

Not at all. I'm interested in merging it, just wanted to understand if I'd have to make any extra changes here.
Thanks a lot for the script <3


Implement events

Events implementation adapted to standard code style. The split of getting a server topology and connecting to a server also enables us to implement ssl authentication in the right place - the connect module.

@watson @sorribas @mafintosh No more WIP but ready to merge

:+1:

@mafintosh had to merge the pull request because with one additional commit this let's us anwers #221 (Does mongojs support SSL/TLS connections?) with YES :dancers:
Implementation was dead simple :beers:


Set-SPOSiteScript requires Identity parameter?

Does Set-SPOSiteScript require "-Identity" parameter?
The document at https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteScript?view=sharepoint-ps does not list the parameter. However when executing Set-SPOSiteScript, it prompts for Identity parameter input.
What about Set-SPOSiteDesign?

Fixed now.


Suggestion: Add "model" in the function parameter of "face_encodings"

Description
Hello,
What am I doing?
I am using your package to extract face encoding which I am later planning to use to compare against a collection of images (by creating a ckd-tree).
PROBLEM:
While extracting features I faced a problem: I am unable to use "large" model in the function "face_encodings" as by default "small" is set in the internal function "_raw_face_landmarks" which I can't change.
Probable SOLUTION:
Change the definition of the function "face_encodings" to
def face_encodings(face_image, known_face_locations=None, num_jitters=1, model="small"):
P.S: I am new to all this so please be kind if what I am suggesting is silly. Thank you

Why do you want to use the large face landmarks model here?

I have tried both small and large face landmarks model and I saw improvement in my results when I used large model to compare faces.
Like I have said, it is just a suggestion. I believe changing the function definition to the one I have suggested will give user (like me) more flexibility.


How does LiteDB respond to changes to class definitions?

I'm considering LiteDB because RDBMS upgrading is cumbersome and I want to be able to change my schema easily.   How does LiteDB handle changes to class definitions?   If a document's fields does not match the class fields in my query, does it raise an error, or just ignore?

Hi @mludlum, take a look here #524 and here #328 - LiteDB, in this aspect, works as MongoDB data structure.

Thanks @mbdavid!
Summary:  New or removed fields are handled gracefully. Changing datatype of existing field can be converted in code by (e.g.) using db.Engine.UserVersion to track your db versions.  When renaming class fields, use BsonField attribute to differentiate between storage name and class field name.


1.1.0 broke my project because of 0.40 support

Just wanted to inform that the latest bump to 1.1.0 broke my project because I had "^1.0.3" in my package.json and was using react-native < 0.40.
I resolved the issue by setting "1.0.3".
Should this not have been a Major version bump rather than a Minor one?

I agree, published 2.0, thanks


0.10 refactor

@v1r0x I reviewed the pr and the changes should be fine. There are a few questions for you in the files tab.
Maybe you can resolve those and then merge the PR? Greetings :)

@Severino I've tried to get rid of some of the v-html usages. Do you want to review again?

Not really :)
If it works fine just merge.


fix(console-exporter): rm redundant warning for debug exporter

Codecov Report

Merging #83 (d83cdc9) into main (ce03de6) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head d83cdc9 differs from pull request most recent head 2426a71. Consider uploading reports for the commit 2426a71 to get more accurate results

@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   87.87%   87.87%
=======================================
  Files          13       13
  Lines         495      495
=======================================
  Hits          435      435
  Misses         60       60

Impacted Files
Coverage Δ

cisco_telescope/options.py
97.72% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce03de6...2426a71. Read the comment docs.


Require that keys for 'put' / 'delete' match the 'dataset_id' of the batch

Fixes #447.

Coverage remained the same when pulling b6ccf75b97dc354164b903a4c2c09a056fb93571 on tseaver:447-require_key_dataset_ids_match_branch into 12ac983fe613785c998aeeb1d8b981f4b5b347d9 on GoogleCloudPlatform:master.

Shall we also ditch _get_dataset_id_from_keys and just rely on this behavior?

_get_dataset_id_from_keys is used by datastore.get, too, and is used to figure out which dataset_id to use in datastore.put and datastore.delete when no batch / transaction is already in play.

OK so let's not remove, but it doesn't make sense to check them at the beginning and then again when each Key / Entity is passed to Batch.put() / Batch.delete().
Proposal:

Stop using _get_dataset_id_from_keys in put() and delete().
Introduce optional dataset_id=None parameter to put() and delete()
Fall back to implicit if no dataset ID is passed

SGTM:  For consistency, get() should work the same way.

But get() is not tied to a batch. How do you mean the same way?

I just mean that the API should be consistent:  get() should take an optional dataset_id, and fall back to the implicit one, rather than deriving it from the keys (it should still check the keys to ensure that they all match).

SGTM

I'm adding a variant on the "inferred connection / dataset ID" bit:  if there is an active batch or transaction, and you don't pass them to datastore.get() / datastore.put() / datastore.delete(), then we use the value
set on the batch or transaction.

Coverage remained the same when pulling 9006e61a0603e1514e5438a918f03fc75bd20e74 on tseaver:447-require_key_dataset_ids_match_branch into be8f5fb2ed597060ea1e41c1ce830a3d094b2639 on GoogleCloudPlatform:master.

RE: Doing the right thing comparing dataset_ids, instead of waiting on #528, how do you feel about just moving regression.datastore._compare_dataset_ids into gcloud.datastore.api?

RE: variant of implicit, that seems to be the right move. Reviewing now.

I forgot regression.datastore._compare_dataset_ids was there, and implemented a stripped-down variant in Batch._match_dataset_id (1b87a7e139cfe14600c978072c9affec21189328)

Yes I just saw it in the review. Unfortunately it would gave false positives like e~foo == s~foo and s~foo == s~notfoo~foo. (These are not likely to be possible values in the wild, but better safe than sorry.)

For a given "project ID" (the un-prefixed dataset ID), is it possible to have more than one prefix?  I'm pretty sure that the project IDs themselves will never have an embedded ~: why else would they have picked it to delimit the "location"-based IDs?
At any rate, we could move the regression.datastore_compare_dataset_ids code into helpers', and call it from within _match_dataset_id` (which wants to raise an error).

I'm fairly certain the two cases I described are impossible, but the extra effort required is minimal since I've already written the code and the tests.
Moving to helpers SGTM, take a peek at
https://github.com/dhermes/gcloud-python/commit/90d50639609ac3edca8d24da2e64672ea3b5afc5
for _dataset_ids_equal and Test__dataset_ids_equal.

Coverage remained the same when pulling ae880b4b8eec0953366ebd0014c4d6a3354294e4 on tseaver:447-require_key_dataset_ids_match_branch into be8f5fb2ed597060ea1e41c1ce830a3d094b2639 on GoogleCloudPlatform:master.

Are you working to merge dhermes@90d5063?  If so, we should update _match_dataset_id to use your helper function afterwards.

I am holding off on it until #528 has some sort of resolution, since it doesn't solve an actual problem, just gives "nice" behavior.

RE: Impossibility of ordering
I think you're correct that without pathological things like
key = Key('Foo')
key._dataset_id = None

the last one can't occur.

I spoke too soon in my recommendation. As implemented, the following will fail but should not:
from gcloud import datastore
datastore.set_defaults(dataset_id='foo')

k = Key('Kind', 10, dataset_id='bar')
datastore.delete([k])

With this, api.delete() will create a new Batch with dataset_id = 'foo' and then will result in an error when Batch.delete() is called on this new batch.
This is why the ordering

dataset_id if passed explicitly
Batch.current().dataset_id
entities[0].key.dataset_id
_implicit_environ.DATASET_ID

is necessary.

This is why the ordering

dataset_id if passed explicitly
Batch.current().dataset_id
entities[0].key.dataset_id
_implicit_environ.DATASET_ID

I think the last is a "can't get there" case, because keys will always have a dataset_id.  If that is so, I can update the PR to match.

It's not the Keys we're worried about, it's the Batch (more than just Key uses the default). See the scenario I mentioned below the 1st line above.

@dhermes: d5d64 adds the keys back per your  comment.

Coverage remained the same at 100.0% when pulling d5d640013912a6602acf6f12e68864e056a9c2a7 on tseaver:447-require_key_dataset_ids_match_branch into 6bbb1444893b2c1eb85b4eec1545a3fded2297e0 on GoogleCloudPlatform:master.

@tseaver Sorry for the email spam, I accidentally commented on the commit and then moved the feedback to the PR.

@dhermes no worries.

Coverage remained the same at 100.0% when pulling db4c728d2904a3218685ad1a84fdc9b8e34c9815 on tseaver:447-require_key_dataset_ids_match_branch into 6bbb1444893b2c1eb85b4eec1545a3fded2297e0 on GoogleCloudPlatform:master.

@tseaver Everything looks good except moving _match_dataset_id to helpers and using the implementation / tests from https://github.com/dhermes/gcloud-python/commit/90d50639609ac3edca8d24da2e64672ea3b5afc5

@dhermes PTAL

Coverage remained the same at 100.0% when pulling 49977da5b0c42fc687f1b8de14c3e75ba495578a on tseaver:447-require_key_dataset_ids_match_branch into 6bbb1444893b2c1eb85b4eec1545a3fded2297e0 on GoogleCloudPlatform:master.

LGTM


Add linux-aarch64 builds

@borkdude could you try the linux aarch64 binary on the M1 docker maybe? Seems okay for me.

Already uploaded to registry and tested, works well.

Awesome!


Support embed_domain for javascript events

Please add support for the embed_domain which is required for catching javascript events.

Hi Terry,
Have you added your host page domain name to the embed domain whitelist on the Admin/Embed page?
-Danny

Yes, I have. I know I'm not the only one having trouble because several people on this page have commented about it not not working with SSO iFrames:
https://discourse.looker.com/t/javascript-embedded-iframe-events/2298
I'm not positive on this and have tried it different ways, but I think the problem with the C# code is that it's using Path on the UriBuilder (where the embed_domain seems to go) for both the string that's encoded and for constructing the final path with builder.Uri.


Self Test A<>B experiment on tarball with history

I'd like to create automation on sonobuoy that does the following:

Stands up the AWS-quickstart
Runs full conformance test and gathers tarball
Store previous good runs on older versions in s3
Compares old tarball with new and verifies that certain results are there and are consistently passing.

@liztio - probably want to chat with @nrb and @kris-nova about potentially leveraging kubicorn to blow out test clusters across providers and check the consistency of the results.

/cc @rosskukulinski @craigtracey too.

Closing, in preference for other ideas.


Add new mintDrop function and useMintDrop hook

Required for https://trello.com/c/FFkLOSNr/947-growth-hacking-drops

mintDrop function added to the core
useMintDrop hook added to the react

Hook added from https://github.com/liteflow-labs/o-mee/blob/main/hooks/useMintDrop.ts
If namings are good, might need to add to the documentation as well.

[x] Add to the documentation

Yes you can fetch the drop to get the info we are doing that in some places where we fetch an offer to get the asset

Have a look one last time Anthony.
Tested with npm pack.
Everything seems to be working as intended. 🎉


Implement Debounce

This is a sketch that doesn't work yet

Fails

:no_entry_sign:

Sources/OpenCombine/Publishers/Publishers.Debounce.swift#L20 - Line should be 90 characters or less: currently 92 characters (line_length)

  Generated by :no_entry_sign: Danger Swift against c91ae301439edcdee5a8d13a5dfca5e4c5f7a0e2


Update certreq_1.md: Corrected sample [Extensions] in INF for SANs

Corrected sample [Extensions] in INF for SANs: &'s were missing.

#assign: @robinharwood, @Xelu86
@robinharwood @Xelu86
Can you review the proposed changes?
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Workaround HF Quantizer apply_quantization_config misuse

CompressedTensorsHfQuantizer attempts to use apply_quantization_config to apply the quantization config to the model
def _process_model_before_weight_loading(self, model, **kwargs):
        from compressed_tensors.quantization import apply_quantization_config

        ct_quantization_config = self.compressor.quantization_config
        apply_quantization_config(model, ct_quantization_config, run_compressed=True)

However, self.compressor.quantization_config can be None in the case that only sparsity is present. This does not align with the function contract of apply_quantization_config. In such a case, an error is thrown.
def apply_quantization_config(
    model: Module, config: QuantizationConfig, run_compressed: bool = False
) -> Dict:

This PR adjusts the function to handle Nones until this branch's changes are landed on transformers

This is needed!


Phantom's Revamp of Null's Titan Shifter Pack V0.3.0 not working properly

i dont know if its a bug but when i try to tranform into a titan my character stays the same size not tirning into a titan

Did you install pehkui?

yes version 2.3.0

I can't find the data pack anywhere. Make sure it is designed for 1.16.5 as origins fabric is out for 1.17, and it has some new capabilities that aren't implemented in 1.16.5.

ok i´ll check that thcks


consolidate meshes, based on a list of DBIds

Can you add a command line option to take in an array of dbID-groups (or via a separate AEC.json file) and mesh-merge the meshes ?
The problem:
When I convert the 'advanced.rvt' model, it produces 1000+ nodes, which crashes Unity/Blender/gltf-pipeline and renders slowly in 3js / Babylon.js etc.
If this utility could do "mesh-merge" (same as mesh-consolidation), it would reduce the nodes, to fix the gltf-tooling crashes, and render the AEC model faster.  I also realize that it means I can no longer pick individual AEC entities (at least, not easily).

I guess by saying "merging" instead of "consolidating", the idea is to simply bundle multiple primitives in a single mesh object, is that right? This would help decrease the number of nodes, but the number of meshes and materials would remain the same. Or are you actually asking for consolidation of multiple objects to a single mesh?

mesh merge...  similar to https://github.com/zeux/meshoptimizer/blob/3e4dc26c243d7cc2ac349f8d2b06c487ed836531/tools/gltfpack.cpp#L786

looks like gltfpack already consolidates by default, based on material shader.

I believe it does. Also, if I remember correctly, @zeux mentioned that gltfpack could potentially support other, less aggressive rules for consolidation. If one could consolidate meshes based on properties of gltf nodes (in our case, dbIDs encoded in node names), that would solve this request quite nicely.

Yeah this is perfectly reasonable - I can implement a separate merge mode (right now there are two, "merge everything possible" and "don't touch anything that has a name") that merges nodes with equivalent names - is that what you mean by "dbIDs encoded in node names"?

In the original file format that we're converting to glTF, "dbIDs" are simply numerical IDs of individual selectable elements that can have certain properties (from an external database) attached to them. We're currently storing the dbIDs in node.name.
The idea here was not necessarily to consolidate nodes with equivalent names, but to consolidate nodes with names belonging to specific "consolidation groups", for example, consolidating nodes "123", "124", "125" into one mesh, and nodes "126", "127", "128" into another mesh. That doesn't sound very flexible/reusable, though... Would it perhaps make more sense to merge based on an "extra" property like node.extra.merge_group?

Ok - I see. In this case it's definitely worthwhile specifying this explicitly.
I'm not sure what the best route for this is. Might make sense to open an issue in glTF repository soliciting feedback for the schema specification so that longer term this solution can be implemented in other tools - it's probably fine to use extras for this similar to targetNames but I just want to make sure.

I guess by saying "merging" instead of "consolidating", the idea is to simply bundle multiple primitives in a single mesh object, is that right? This would help decrease the number of nodes, but the number of meshes and materials would remain the same.

Note that while this would reduce JSON size a bit, I'd expect draw calls and runtime performance of N primitives or N meshes to be pretty much the same.
Added a comment about the tagging suggestion in https://github.com/KhronosGroup/glTF/issues/1731.

glTFpack does mesh merge that reduces draw calls to, typically 2 (maybe 3), for most things converted from our SVF assets.
Currently, when mesh-merge happen, the dbids (nodes) are also merged, losing the ability to associate a node with a dbid.
Thankfully the FEATURE_ID extension proposal, can store the DBID in custom vertices attributes.
https://github.com/CesiumGS/glTF/tree/proposal-EXT_mesh_features/extensions/2.0/Vendor/EXT_mesh_features#feature-id-by-vertex
If glTFPack put the dbids into a custom vertices attribute, during mesh-merge, then we could retrieve the DBID later.
So during a hit-test, we detect the triangle face, it vertices / custom attributes.  This containing the FEATURE_ID and our DBID.
Thus we can have the benefits of glTFpack's mesh-merge (2 draw calls, low-node count, compression) as well as extracting the DBID, thus solving for this problem: https://github.com/KhronosGroup/glTF/issues/1699
Closing

https://github.com/zeux/meshoptimizer/issues/573


Service state montoring

Looking to flag service state change. Service successfully flagged as:
wmi_service_state{instance="server:port",job="name",name="service name",state="running"} Value 1
stopping service the wmi_service_state does not change the value to 0.
unknown 0,continue pending 0,pause pending 0,paused 0,running 1,start pending 0,stop pending 0,stopped 0
Running Ver0.6.0 on Server 2016

example; changes(wmi_service_state{name="amazonssmagent",state="start pending"}[5m]) >1

Thanks for the example, but my point was i receive no state change to service state. Service was running "service name",state="running"} Value 1. Now stopped and I still have the same value "service name",state="running"} Value 1

I banged my head around this because I wanted to report on services that are down but are marked for "Automatic" startup.
Came up with the query below which works well in Grafana.
(avg_over_time(wmi_service_state{job="somejob",state="running"}[1m]))and ignoring(state, start_mode)(avg_over_time(wmi_service_start_mode{job="somejob",start_mode="auto"}[1m]) == 1)


[Suggestion] Activate Lucky Egg at Start Without Evolutions.

Hi, would it be possible to activate lucky egg at startup without having to evolve anything? Thanks.

Why would anyone want to do that? That would be just losing xp

Maybe for users that invest money in their boted account and buy lucky eggs (whyever you should do that)

#3911 You can't both win :p

@pacpac42 still after this?

@k4n30 i stop using the bot so closing this ticket


build: fix generate rules after rules with same names are allowed

follow up for https://github.com/oxc-project/oxc/pull/7496

get 3 new rules in the all integration tests.
because we do not compile oxlint here, that failed test(local) is expected with the right amount of diff
=> Nothing to do


API doc-gen updates

Add an @ngModule @angular/core dgeni tag that can be used to document in what NgModule a directive is exported. This is a "multi" tag in that it can be used multiple times in a single doc, to indicate that a directive is exported from more than one class. This means that the property ngModule on the doc will be an array of strings, rather than a simple string.
Fix the the paths to the API docs to remove the unwanted index and -doctype parts.

cc @IgorMinar
TODO:

at the very least we will need to update the directive template to display the ngModule
think about if the change to the URLs of the API docs will have an impact from external sites linking to the docs

I cherry-picked ebc3757 to master.
the second commit will have to wait a bit because it requires all of the guide pages with links to be modified.

@wardbell this can be closed because the changes are already in the new angular/angular doc gen tooling.


Added dotenv package and cleaned up the Project Structure section

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

Thank you @cmccormack for the great write up!


Does not load as daemon

I've added the daemons gem to my gemfile. crono does not load as a deamon when issuing command bundle exec crono start on Ubuntu 14.04. How do I troubleshoot it?

OK this was my mistake. Have to have the deamons gem before crono in my my gem file. All works now.


Update Default Loan Interest Rates

Our default loan interest rates should be updated to coordinate with the assumptions in the ATB (currently 4% nominal interest rate for all technologies except biopower). We should also probably tag our inflation rate to the ATB, which does currently match at 2.5%. This manual process will hopefully be obviated when we automate the data flow from the ATB to SAM defaults in FY22.

Paul filed a more descriptive version of this issue, so closing this one


Use proper size for heap init

The LockedHeap.init() function takes heap_bottom and heap_size as arguments.  Instead, we pass heap_bottom and heap_top.
This led to unexpected page faults and other weird behavior because the hole sizes were incorrect.

Good catch, seems like we messed something up during the update to the new allocator API. Thanks a lot!


Pittsburgh PA Police accreditation

Someone has requested help on a data project:
Submission notes
When does the City of Pittsburgh Police accreditation come up for review?
Location
Pittsburgh Bureau of Police - PA
Requirements
Data location/data selection
How to help
Leave a comment if you'd like to help. Do you have ideas, questions, or need any more information to get started?

Response from a volunteer:

Current status

According to the PCPA, the Pittsburgh Bureau of Police was accredited on 1/10/2013 by the Pennsylvania Law Enforcement Accreditation Commission (PLEAC) which was developed by the Pennsylvania Chiefs of Police in 2001
Not accredited by the CALEA (Commission on Accreditation for Law Enforcement Agencies), which is a different organization (see here for more information), according to their 2022 annual report

Re-accreditation procedure

According to the PCPA website, “accreditation status will remain valid for a three-year period with annual reports required”
“there is a $1,000 annual program maintenance fee for agencies whose Chief is an Active Member of PCPA.   For all others, the annual program maintenance fee is $1,250.  This annual fee does not apply until you become an accredited agency.  This fee is necessary to help defray the direct costs of your subsequent re-accreditation on-site assessments” (from FAQ page)

Other info:

Civilians are allowed to be Accreditation Managers (from FAQ page)
Link to Standards Manual
In July 2022, WESA published an article summarizing how pittsburgh police was threatened by PLEAC that their accreditation would be revoked. The reason was that the city of pittsburgh passed an ordinance that prohibited police from pulling over motorists for minor infractions like a broken brake light, but PLEAC claimed this violated PA’s vehicle code. Essentially, PLEAC said the city of pittsburgh couldn’t override PA’s vehicle code, and this ordinance did that, so PLEAC threatened revocation of the accreditation (for violating their policy of following all state and federal law, including state vehicle codes).
The ordinance was originally passed as a response to disproportionate enforcement against POC, due to racial bias by police.
Another article published by WESA in January 2023 said that the accrediation agency ultimately decided against revoking accreditation (It says: “According to Jim Adams, accreditation coordinator for the chiefs association, Pittsburgh was granted a waiver through 2025. He said that while following the ordinance runs afoul of the accreditation standards, “it was no fault of the police department or the police chief.”). However, the pittsburgh police department decided to no longer abide by the ordinance, citing officers’ inability to properly do their jobs.


[Feature Request] Toolkits Refactoring

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Motivation
The current style of toolkits is quite chaotic, we need to make it more standardized to ensure the code quality and also for the ease of adding future tools.
Solution
No response
Alternatives
No response
Additional context
No response

Part of the refactoring:
https://github.com/camel-ai/camel/issues/946

I have a couple of detail questions regarding the Toolkits refactoring that might be worth considering：
Q1: Would it make sense to replace BaseToolkit classes that don’t require any configuration with functional tools instead? This way, we could avoid exposing classes without actual tool methods in the ToolManager, streamlining the structure.
Q2: I think it might be better if the tool list returned by ToolManager is List[str] when intended for user interaction, and list[OpenAIFunction] when used by the agent. Since list_toolkits is primarily for users, it seems reasonable for it to return List[str]. As for search_toolkits, should it be designed for user use or for the agent?

Below are the current ways we use tools, and I believe it would be helpful to consider unifying these approaches while also supporting developers in customizing their own tools.
There’s also one more point to consider: the OpenAPIToolkit doesn’t currently support the management approach used by toolkits_manager.
1. Without toolkit_manager
No configuration needed
tools_list = [
  *SEARCH_FUNCS,
  *MathToolkit().get_tools(),
]

Configuration needed
toolkit = GithubToolkit(repo_name=repo_name)

tools_list = [
  *SEARCH_FUNCS,
  *WEATHER_FUNCS,
  *toolkit.get_tools(),
]

2. With toolkits_manager
No configuration needed
tools_list = manager.get_toolkits(names=manager.search_toolkits('weather'))

Configuration needed
camel_github_toolkit = GithubToolkit(repo_name='camel-ai/camel')

tools_list = manager.register_tool([camel_github_toolkit, ])

Custom tools
def div(a: int, b: int) -> float:
    r"""Divides two numbers.
    Args:
        a (int): The dividend in the division.
        b (int): The divisor in the division.
    Returns:
        float: The quotient of the division.
    Raises:
        ValueError: If the divisor is zero.
    """
    if b == 0:
        raise ValueError("Division by zero is not allowed.")
    return a / b

tools_list = manager.register_tool([div, ])


irmin: rename Store.Private to Store.Backend

Fix https://github.com/mirage/irmin/issues/1529.
We still have (P : Backend.S) internally in quite a few places. I didn't change the Ps to Bs because this introduces another ~500 lines of churn – happy to add this back if someone really wants it.

Thanks for the review.


Create models in DB

Create models in Database for videogames and genres

Hi! Can I use MongoDB and Mongoose? If that's the case, can I work on this issue? It's one of my first contributions. ty

Yes, you can! I'm working with PostgreSQL but I'm open to new technologies, here are the specifications for each model:
MODEL 1 | VIDEOGAMES:

ID (different from the ones from the API).
Name. *
Description. *
Platforms. *
Image. *
Release date. *
Rating. *

Genres:
📍 MODEL 2 | Genres

ID. *
Name. *

They  have a many to many relationship in Postgres, if not available in MongoDB just dismiss it.

Perfect , i'm start to work on it


Update tutor.tr.utf-8 (fix typos/errors/replace words)

Hello,
There were quite a number orthographical and grammatical mistakes. In addition to these, replaced the foreign loanword tuş (button, French) with the Turkish equivalent "düğme", and the loanword kelime (word, Arabic) with the Turkish equivalent "sözcük" for better clarity and text quality.

Maybe tutor.tr.iso9 also needs to be updated.

I'll include it, thanks.  The problem with long lines remains.

I tried using "iconv -f UTF-8 -t ISO-8859-1 tutor.tr.utf-8 > tutor.tr.iso9" but it gives an error.

ah, forgot to change the -1 to -9, then it works:
iconv -f UTF-8 -t ISO-8859-9 tutor.tr.utf-8 > tutor.tr.iso9


Projects Search is not working

I'm getting the same list of projects no matter what I search for..

@Omarkth I tried to repro this but couldn't. What search query are you running, and what browser are you on?
My repro steps:

Visit projects page: https://dotnetfoundation.org/projects
Type Cecil into the search box
Hit enter

Expected result: See only the Cecil project
Actual result: See only the Cecil project ✅

@SeanKilleen It seems to be fixed. It didn't work for me yesterday, but it works today.

Yes, it seems to be fixed. It wasn't working when I reported it.


Add missing icons and optimize png

where is the optimize-logo.sh script?

At the base of the project assets/optimize-logo.sh

so it is confirmed that I need glasses.


Unable to download video from Udemy

Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:

First of, make sure you are using the latest version of youtube-dl. Run youtube-dl --version and ensure your version is 2021.06.06. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.

Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.

Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape.

Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates.

Read bugs section in FAQ: http://yt-dl.org/reporting

Finally, put x into all relevant boxes (like this [x])

[ ] I'm reporting a broken site support issue

[ ] I've verified that I'm running youtube-dl version 2021.06.06

[ ] I've checked that all provided URLs are alive and playable in a browser

[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped

[ ] I've searched the bugtracker for similar bug reports including closed ones

[ ] I've read bugs section in FAQ

Verbose log
Provide the complete verbose output of youtube-dl that clearly demonstrates the problem.
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the WHOLE output and insert it below. It should look similar to this:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2021.06.06
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}

youtube-dl -v -u<EMAIL_ADDRESS>-p sahilsahil4075 https://www.udemy.com/share/102kVE2@PW1gZVlYTVUNdkJ4OGJnVBQ=/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.udemy.com/share/102kVE2@PW1gZVlYTVUNdkJ4OGJnVBQ=/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpkqxnwl31\build\youtube_dl\YoutubeDL.py", line 2288, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Description
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
WRITE DESCRIPTION HERE
I wanted to download a video from Udemy but I am unable to download it by using youtube-dl.exe & I have also provided correct username & password

Read other issue reports about udemy.
And please remove your username and password from the log.

@Yash7200 note that github issues have an edit history, so make sure to clear that too. though I'd change the password anyway, you don't know how many people have seen and/or used it already


implement loggers to the project

Current Behaviour:
The current project has random print everywhere in the app.
Expected Behaviour:
Implement a proper logger in the project :💯
Use the logger package from pub.dev https://pub.dev/packages/logger

Replace the print() methods in the entire project with the corresponding log

 Debug
 Error
 Verbose

Steps to Reproduce:
NO/
Environment:
Emulator: Pixel 6 Pro
Android version: 12
Android SDK: 33

I'd like to work on it.

@tarunsamanta2k20 Sure i will add you on it during the meeting in a few hours.

@tarunsamanta2k20  please join the discord channel before starting on the project https://discord.gg/WaF54U9x

@tarunsamanta2k20 Any update on that ticket. Still working on it ?

@JordyHers FAILURE: Build failed with an exception.

What went wrong:
Could not determine the dependencies of task ':app:mergeDebugAssets'.

Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Could not create task ':app:generateDebugLintModel'.
java.lang.NullPointerException (no error message)

@tarunsamanta2k20 look at the #how-to channel on discord. And implement the Google Api key in the correct LOCAL.PROPERTIES FILE


Some async requests keep tokio runtime busy

Simple example that should send request to a given url, display response status code and exit:
extern crate futures;
extern crate reqwest;
extern crate tokio;

use futures::Future;

fn main() {
    let client = reqwest::async::Client::new();
    let task1 = client
        .get(&std::env::args().nth(1).unwrap())
        .send()
        .map(|resp| println!("status code: {:?}", resp.status()))
        .map_err(|err| println!("fetch error: {:?}", err));

    let mut rt = tokio::runtime::Runtime::new().unwrap();
    rt.spawn(task1);
    rt.shutdown_on_idle().wait().unwrap();
}

Dependencies are:
[dependencies]
futures = "0.1"
tokio = "0.1"
reqwest = { git = "https://github.com/seanmonstar/reqwest" }

Platform:
stable-x86_64-apple-darwin (default)
rustc 1.29.0 (aa3ca1994 2018-09-11)

It exits as expected only in  the first case:
$ cargo run https://github.com
...
status code: 200
$ cargo run http://github.com
...
status code: 200
^C
$ cargo run https://google.com
...
status code: 200
^C
$ cargo run http://google.com
...
status code: 200
^C

Same result on stable-x86_64-pc-windows-msvc.

This is because the client spawns a task to watch for if the idle connection gets closed by the remote, and so the runtime doesn't consider itself to be "idle". Because of that, shutdown_on_idle will keep the function blocked until the idle connection closes. The Client would tell the connection to close when it will no longer be used, but since the shutdown_on_idle function call hasn't returned, Client::drop cannot run.
Manually calling drop(client) before calling shutdown_on_idle would fix this exact example.

I wonder whether it's possible not to spawn the task, or at least not spawn on the current runtime, so that we don't block it. It's a bit annoying that I have to drop the client, because I may still want to reuse the connection after I shutdown the current runtime. The current settings of reqwest would require creating a new one, which can be a lot slower than reusing an existing one.

You can probably see this example for how this can make some simple task much more subtle.


Rebase to 0.8.3 phoenix v1.1

Rebase to 0.8.3
Add some new features. Increment phoenix to 1.1.
Added opParams.

Hey do you have a Discord for this?


Fixing alignment when reading map

resolve #703
adding correct alignment for all items in the map

Codecov Report

Merging #704 into master will increase coverage by 0.02%.
The diff coverage is 94.73%.

@@            Coverage Diff             @@
##           master     #704      +/-   ##
==========================================
+ Coverage   72.72%   72.75%   +0.02%
==========================================
  Files          50       50
  Lines       16139    16156      +17
==========================================
+ Hits        11737    11754      +17
  Misses       4402     4402

Impacted Files
Coverage Δ

androguard/misc.py
62% <ø> (ø)
:arrow_up:

androguard/core/bytecodes/dvm.py
63.17% <94.73%> (+0.15%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90892b7...3085a00. Read the comment docs.


Add Interact behavior

I am currently using this controller in a project, I added some very basic Interact logic and am contributing it back. It is not final, so if you need additional features, let me know.
Objects that can be interacted with rely upon a specific group to be set, this can be altered in the Node via the Input Interact field.

Very interesting, however this feature is outside the scope of the plugin that is for character movement, it could be part of the demo, but it cannot change the core.
If you happen to need to change any detail of the core, a PR detailing this adjustment can be made, I will be very happy to see it.
In inventory-system (https://github.com/expressobits/inventory-system) plugin I also have this feature and there it is in demo only.
The inventory-system under current development was based on an asset I created for Unity(https://github.com/expressobits/Inventories), where it is linked to another asset that I also created that has exactly this behavior, Interactions(https://github.com/expressobits/Interactions)


UI is getting overridden

I am getting this :

when I am using active_skin with active admin 0.6.0 for rails 3.2.13.
The css contains body.active_admin prefix to the styles and it is causing the issues, here is a snippet:
    display: inline-block;
    height: 100%;
    margin: 0;
    padding: 0;
}
body.active_admin #header .header-item {
    float: left;
    height: 20px;
    position: relative;
    top: 2px;
}```

Please guide me what I am missing here.

@sibanand-cis you need to switch the order of your mixins. @import "active_skin"; is likely ontop


deferredrenderer: improve lighting.

The deferred renderer is still in its infant stage - use actual scene lights (point, spot, directional) instead of the hard coded test lights.

done a while ago


feat: Add LB exclusion label when deleting node

Fixes # N/A
Description
Currently, when Karpenter drains and then deletes a Node from the
cluster, if that node is registered in a Target Group for an ALB/NLB the
corresponding EC2 instance is not removed. This leads to the potential
for increased errors when deleting nodes via Karpenter.
In order to help resolve this issue, this change adds the well-known
node.kubernetes.io/exclude-from-external-balancers label, which will
case the AWS LB controller to remove the node from the Target Group
while Karpenter is draining the node. This is similar to how the AWS
Node Termination Handler works (see
aws/aws-node-termination-handler#316).
In future, Karpenter might be enhanced to be able to wait for a
configurable period before deleting the Node and terminating the
associated instance as currently there's a race condition between the
Pods being drained off of the Node and the EC2 instance being removed
from the target group.
How was this change tested?

Running Karpenter against a manual cluster that had the AWS LB Controller installed and observing the de-registration in progress.

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

Release Note
NONE

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for this! Would you be able to add a test as well within the termination suite_test.go?

Thanks for this! Would you be able to add a test as well within the termination suite_test.go?

Added, but I'm not entirely happy with the fact that I'm (ab)using a do-not-evict Pod. Feel free to suggest a better way to perform the test


[Release Checklist] 2.5.0

[ ] OpenShift Pipeline
[ ] Konvoy Pipeline
[ ] Native K8s Pipeline
Upgrade Pipelines [spc/cstor/jiva]

[ ]  1.0 to 2.5.0
[ ]  1.1 to 2.5.0
[ ]  1.2 to 2.5.0
[ ]  1.3 to 2.5.0
[ ]  1.4 to 2.5.0
[ ]  1.5 to 2.5.0
[ ]  1.6 to 2.5.0
[ ]  1.7 to 2.5.0
[ ]  1.8 to 2.5.0
[ ]  1.9 to 2.5.0
[ ] 1.10.0 to 2.5.0
[ ] 1.11.0 to 2.5.0
[ ] 1.12.0 to 2.5.0
[ ] 2.0.0 to 2.5.0
[ ] 2.1.0 to 2.5.0
[ ] 2.2.0 to 2.5.0
[ ] 2.3.0 to 2.5.0
[ ] 2.4.0 to 2.5.0

cspc/cstor csi volume upgrade

[ ] 1.10.0 to 2.5.0
[ ] 1.11.0 to 2.5.0
[ ] 1.12.0 to 2.5.0
[ ] 2.0.0 to 2.5.0
[ ] 2.1.0 to 2.5.0
[ ] 2.2.0 to 2.5.0
[ ] 2.3.0 to 2.5.0
[ ] 2.4.0 to 2.5.0

ZFS Upgrade Pipelines

[ ]  0.4 to 1.3.0
[ ]  0.4.1 to 1.3.0
[ ]  0.5 to 1.3.0
[ ]  0.6.0 to 1.3.0
[ ]  0.6.1 to 1.3.0
[ ] 0.7.0 to 1.3.0
[ ] 0.8.0 to 1.3.0
[ ] 0.9.0 to 1.3.0
[ ] 0.9.1 to 1.3.0
[ ] 0.9.2 to 1.3.0
[ ] 1.0.0 to 1.3.0
[ ] 1.0.1 to 1.3.0
[ ] 1.1.0 to 1.3.0
[ ] 1.2.1 to 1.3.0

Migration spc pool to cspc and cstor volume to cstor csi volume

[ ] 1.12.0 to 2.5.0
[ ] 2.0.0 to 2.5.0
[ ] 2.1.0 to 2.5.0
[ ] 2.2.0 to 2.5.0
[ ] 2.3.0 to 2.5.0
[ ] 2.4.0 to 2.5.0

Manual Validation

[ ] Helm chart validation

DogFooding

[ ] Gitlab production cluster

2.5.0 images are available now.
✔ openebs/linux-utils:2.5.0
✔ openebs/cstor-pool:2.5.0
✔ openebs/cstor-istgt:2.5.0
✔ openebs/jiva:2.5.0
✔ openebs/m-apiserver:2.5.0
✔ openebs/cstor-pool-mgmt:2.5.0
✔ openebs/cstor-volume-mgmt:2.5.0
✔ openebs/m-exporter:2.5.0
✔ openebs/m-upgrade:2.5.0
✔ openebs/admission-server:2.5.0
✔ openebs/openebs-k8s-provisioner:2.5.0
✔ openebs/snapshot-controller:2.5.0
✔ openebs/snapshot-provisioner:2.5.0
✔ openebs/velero-plugin:2.5.0
✔ openebs/provisioner-localpv:2.5.0
✔ openebs/cstor-csi-driver:2.5.0
✔ openebs/cvc-operator:2.5.0
✔ openebs/cspc-operator:2.5.0
✔ openebs/cstor-volume-manager:2.5.0
✔ openebs/cstor-pool-manager:2.5.0
✔ openebs/cstor-webhook:2.5.0
✔ openebs/upgrade:2.5.0
✔ openebs/migrate:2.5.0
✔ openebs/zfs-driver:1.3.0
✔ openebs/node-disk-manager:1.1.0
✔ openebs/node-disk-operator:1.1.0
✔ openebs/node-disk-exporter:1.1.0

2.5.0 images are available now.
✔ openebs/linux-utils:2.5.0
✔ openebs/cstor-pool:2.5.0
✔ openebs/cstor-istgt:2.5.0
✔ openebs/jiva:2.5.0
✔ openebs/m-apiserver:2.5.0
✔ openebs/cstor-pool-mgmt:2.5.0
✔ openebs/cstor-volume-mgmt:2.5.0
✔ openebs/m-exporter:2.5.0
✔ openebs/m-upgrade:2.5.0
✔ openebs/admission-server:2.5.0
✔ openebs/openebs-k8s-provisioner:2.5.0
✔ openebs/snapshot-controller:2.5.0
✔ openebs/snapshot-provisioner:2.5.0
✔ openebs/velero-plugin:2.5.0
✔ openebs/provisioner-localpv:2.5.0
✔ openebs/cstor-csi-driver:2.5.0
✔ openebs/cvc-operator:2.5.0
✔ openebs/cspc-operator:2.5.0
✔ openebs/cstor-volume-manager:2.5.0
✔ openebs/cstor-pool-manager:2.5.0
✔ openebs/cstor-webhook:2.5.0
✔ openebs/upgrade:2.5.0
✔ openebs/migrate:2.5.0
✔ openebs/zfs-driver:1.3.0
✔ openebs/node-disk-manager:1.1.0
✔ openebs/node-disk-operator:1.1.0
✔ openebs/node-disk-exporter:1.1.0


Docker version of Cachet not working with HTTPS

I'm using the docker version of Cachet, with Nginx, Postgres and PHP and I can deploy it successfully as out of the box with the HTTP config.  Is there a corresponding nginx.conf, nginx-site.conf and dockerfile to support ssl?  I've tried so many different configurations but I just can't get it working.  I'm running it on an AWS Linux 2 instance: do I need specific modules installed on the server?

related to https://github.com/CachetHQ/Docker/issues/158


Misalignment in bullet point text wrapping

Package
filament/filament
Package Version
v3.2.37
Laravel Version
v10.45.1
Livewire Version
No response
PHP Version
PHP 8.1
Problem description
When a Text Column has bulleted() + wrap(), the bullet points does not align properly with the text in the celd. The first line of text has the bullet point  align correctly, but subsequent lines does not maintain this alignment, causing an inconsistent indentation pattern. This issue impact the visual presentation and readability of the row.

Expected behavior
I expected all lines of text within the bulleted list to maintain consistent alignment with the bullet point, regardless of the length of the text. This means that each line should start at the same horizontal position relative to the bullet point, ensuring a neat and organized appearance throughout the list.
Steps to reproduce
Create a TextColum with bulleted and wrap:
Tables\Columns\TextColumn::make('comportamientos')                     ->listWithLineBreaks()                     ->bulleted()                     ->wrap()                     ->label('Comportamientos'),
Reproduction repository
https://github.com/sergioraldana/SGTH
Relevant log output
No response

I've looked into this issue, but it seems like only dirty hacks are available (like creating fake bullets).
Unfortunately it's not something I'm comfortable with, and it would be a breaking change.
Let us know if you do think you've found a potential solution though.

@zepfietje please checkout my simple fix moving the nowrap css class.


Bug: Parsing lang on loops prints pure html instead of parsed html

Describe the bug
The following block of code is a good example of the issue
        foreach ((new Requirements)->getRequirements() as $requirement => $status) {
            $requirements[] = [
                'requirement' => lang('in_' . $requirement), // this line has html, but fails to parse html.
            ];
        }

        $this->page->setData(array_merge(
            $this->lang->all(), // there are lines with html here, these lines are properly parsed, bold set, links set
            [
                'base_url' => $this->baseUrl,
                'requirements' => $requirements,
            ]
        ))->display('requirements');

Parser was set to raw
\Config\Services::parser()->setData($data, 'raw')->render($template);
In the example above parser receives the template 'requirements' and an array with all the language lines (some including html), and also receives another array with other languages lines that contain html on them.
This is some of the html

            {requirements}

                   {requirement}

            {/requirements}

A print of $data on this line \Config\Services::parser()->setData($data, 'raw')->render($template); produces the following:
Notice that all the lines below are parsed, but only "line_with_html" gets it's html properly parsed. While the ones [requirements][0][requirement] is ignoring the HTML and parsing the whole thing displaying on the page the html. So users will read PHP intl Extension. instead of
PHP intl Extension.

Array
(
    [in_something] => something
    [in_test] => some strong text
    [line_with_html] => PHP mbstring Extension.
    [requirements] => Array
        (
            [0] => Array
                (
                    [requirement] => Minimum PHP version required (7.4)
                )

            [1] => Array
                (
                    [requirement] => PHP intl Extension.
                )

            [2] => Array
                (
                    [requirement] => PHP libcurl Extension.
                )
        )
)

CodeIgniter 4 version
4.0.4
Affected module(s)

Parser
Language

Expected behavior, and steps to reproduce if appropriate
Issue was explained above. I'd expect that any html set on for a parser loop is parsed also as if it was set on the main block.
Context

OS: [Linux]
Web server [Apache/2.4.38 (Debian)]
PHP version [7.4.10]

Thank you for your report.
But unfortunately, I don't understand what is the bug.
Could you show us small code to reproduce it?

While the ones [requirements][0][requirement] is ignoring the HTML and parsing the whole thing displaying on the page the html.

It seems [requirements][0][requirement] does not include HTML at all.

All the code is above, not sure what else is needed.

Sorry, your code does not work at all on my environment.
So I don't know this is a true bug or not.
We need minimum working sample code that reproduces the bug.
Because we need test code to ensure the bug is fixed.
If you could, I recommend you send PR to fix. It is the best and quick way to fix a bug.
<?php

namespace App\Controllers;

class Home extends BaseController
{
    public function index()
    {
        foreach ((new Requirements())->getRequirements() as $requirement => $status) {
            $requirements[] = [
                'requirement' => lang('in_' . $requirement), // this line has html, but fails to parse html.
            ];
        }

        $this->page->setData(array_merge(
            $this->lang->all(), // there are lines with html here, these lines are properly parsed, bold set, links set
            [
             'base_url'     => $this->baseUrl,
             'requirements' => $requirements,
            ]
        ))->display('requirements');
    }
}

$ php public/index.php

[Error]

Class "App\Controllers\Requirements" not found

at APPPATH/Controllers/Home.php:9

Backtrace:
  1    SYSTEMPATH/CodeIgniter.php:823
       App\Controllers\Home()->index()

  2    SYSTEMPATH/CodeIgniter.php:410
       CodeIgniter\CodeIgniter()->runController(Object(App\Controllers\Home))

  3    SYSTEMPATH/CodeIgniter.php:318
       CodeIgniter\CodeIgniter()->handleRequest(null, Object(Config\Cache), false)

  4    FCPATH/index.php:37
       CodeIgniter\CodeIgniter()->run()

No feedback, so I close.


Added explicit git-fetch to ci commands

Issue

https://circleci.com/gh/DroidKaigi/conference-app-2017/679

Overview (Required)

Sometimes circleci fail to fetch branches correctly, so I added fetch command expressly

Links

None

Sorry to be late! Thanks!


Start aiflow with command-line interface

What is the purpose of the change
Start aiflow with command-line interface
Brief change log
(for example:)

Start aiflow with command-line interface

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.

Codecov Report

Merging #211 (e485f58) into master (09efea0) will increase coverage by 0.25%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #211      +/-   ##
==========================================
+ Coverage   65.54%   65.79%   +0.25%
==========================================
  Files         203      203
  Lines       15222    15228       +6
  Branches     2291     2293       +2
==========================================
+ Hits         9977    10020      +43
+ Misses       4721     4684      -37
  Partials      524      524

Impacted Files
Coverage Δ

ai_flow/cli/commands/server_command.py
93.10% <100.00%> (+0.37%)
:arrow_up:

ai_flow/cli/commands/webserver_command.py
94.23% <100.00%> (+0.35%)
:arrow_up:

lib/airflow/airflow/contrib/jobs/event_handlers.py
24.50% <0.00%> (+24.50%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09efea0...e485f58. Read the comment docs.


Upgrade to the latest version of prio

We're in the midst of upgrading prio to the latest VDAF draft: https://github.com/divviup/libprio-rs/issues/839
The next major release will include support for the new draft. In the meantime, we're checking out specific revisisions on main as new features are implemented.
This is issue is to track pointing to the new release. See https://github.com/cloudflare/daphne/pull/435#discussion_r1402510306_

Next version will be 0.16.0 and will include a variety of breaking changes. Namely:

[ ] "prio2" feature moved to "experimental"
[ ] encode() is now fallible
[ ] Implementation of XofHmacSha256Aes128 was upstreamed
[ ] Other stuff I don't know off the top of my head.


test pass with both expectType and expectNotType, pls help me understand

This is an amazing library, thanks for it.
can you pls explain why this pass?
    type T2 = {a: {b: 1}}

    expectNotType<T2>({a:{b:1}})
    expectType<T2>({a:{b:1}})

    expectNotAssignable<T2>({a:{b:1}})
    expectAssignable<T2>({a:{b:1}})

I'd expect expectNotType<T2>({a:{b:1}}) and expectNotAssignable<T2>({a:{b:1}}) to fail.
thanks a lot.

T2 is a type, and {a:{b:1}} is a value. In different contexts, TypeScript can infer different types for the same value.
expectType is declared as export const expectType = <T>(expression: T) => {} - its parameter type is explicitly declared to be the same as the generic type parameter, so {a: {b: 1}} literal argument has type T2 which is the same {a: {b: 1}}, and the types match.
expectNotType is declared as export const expectNotType = <T>(expression: any) => {}, its parameter type is any and literal argument type is widened to {a: {b: number}}, which is different from T2, and the types do not match.
From TypeScript point of view, everything works as expected.
Widening can be suppressed by using as const cast for the argument: expectNotType<T2>({a:{b:1}} as const) fails.
But from the user point of view, it's hard to justify why as const is needed to avoid situation when both seemingly opposite assertions are true.
I don't know if there's any other way to fix this besides choosing entirely different API for assertions. If the purpose is to test types, the assertions should use types, not values - one possible API could be
assertType<T2>().assignableTo<{a: {b: 1}}>();
assertType<T2>().notAssignableTo<{a: {b: 1}}>();

where functions do not take any arguments - for testing types of values, one will have to use .assignableTo<typeof someValue>

I'd think that const type parameters coming in TS 5.0 (microsoft/TypeScript#51865, TS 5.0 RC announcement) would help solve this issue.
Related discussion about API changes in #168.

See #196 for discussion on this.


Elements can become "un-interactable" on iPad

Test device
iPad Air 4th Gen
Operating System
15.2
Browser
Safari
Problem description
This is for https://github.com/phetsims/qa/issues/771
I noticed that when you create a new tab (leaving the simulation) while still interacting with an element in the play area, that element will stop being interact-able once you return to the play screen. I believe this is a multi-touch issue but I'll try to see if I can reproduce on my laptop as well and rename the issue if needed.
Steps to reproduce

Click on any of the sections
Drag an element over the play area
While finger is still on element, click new tab '+' button on top right
Go back to play area and notice how you can't interact with element anymore

Visuals
Troubleshooting information:
!!!!! DO NOT EDIT !!!!!
Name: Number Play
URL: https://phet-dev.colorado.edu/html/number-play/1.0.0-dev.45/phet/number-play_all_phet.html?screens=1,2,3
Version: 1.0.0-dev.45 2022-01-31 11:53:19 UTC
Features missing: touch
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15
Language: en-US
Window: 1512x865
Pixel Ratio: 2/1
WebGL: WebGL 1.0
GLSL: WebGL GLSL ES 1.0 (1.0)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 30 uniform: 1024
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 16384x16384
OES_texture_float: true
Dependencies JSON: {}

Also tagging @kathy-phet to see if this should be a higher priority. It seems like it could make things feel broken often, and I'd like to see if I can find a simple fix.

Yes, I think you should look for a solution @jonathanolson. Thanks!

@KatieWoe can you test previous versions of iOS? I'm curious whether this is a regression. iOS used to send pointercancel events properly (and were the best platform for making sure pointercancel events happened), and now in this case we are NOT getting them (or the lostpointercapture).
iOS (15.3, Safaru 604.1)

Win Chrome (properly working :

Win Firefox (uses touch events instead of pointer events):

If we have any older iOS (or touch-based Safari) devices to test this on, it would be very valuable to see if this is reproducible.
I'll also be checking some older simulations.

Pointer events are currently disabled on Firefox due to https://github.com/phetsims/scenery/issues/837. Disabling pointer events on Safari seems to work around this issue (but may cause others).

Index: js/input/BrowserEvents.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/input/BrowserEvents.js b/js/input/BrowserEvents.js
--- a/js/input/BrowserEvents.js	(revision 3cd5832001ab0cbdb29808f0036a120a489483f5)
+++ b/js/input/BrowserEvents.js	(date<PHONE_NUMBER>714)
@@ -123,8 +123,9 @@
    * @private
    *
    * NOTE: Pointer events are currently disabled for Firefox due to https://github.com/phetsims/scenery/issues/837.
+   * NOTE: Pointer events are currently disabled for Safari due to https://github.com/phetsims/scenery/issues/837.
    */
-  canUsePointerEvents: !!( ( window.navigator && window.navigator.pointerEnabled ) || window.PointerEvent ) && !platform.firefox,
+  canUsePointerEvents: !!( ( window.navigator && window.navigator.pointerEnabled ) || window.PointerEvent ) && !platform.firefox && !platform.safari,

   /**
    * {boolean} - Whether pointer events in the format specified by the MS specification are allowed.

@KatieWoe can you also let me know if the patched version available at https://bayes.colorado.edu/dev/olsonjb/number-play_en_phet.html (with the above patch) seems to show the issue? It seems fixed on my phone.

I'm curious in particular if there are regressions for how the touch events work there (e.g. dragging a finger outside of the sim bounds). I'd probably need to create a more comprehensive test (including iframes) if initial testing looks good.

I cannot reproduce the bug in the link above on iPadOS 15.3


[LIBCLOUD-751] Add tests in Point DNS provider for Redirects and Mail…

…Redirects classes

I made a change to the PointDNSException class so it inherits from ProviderError which is intended to be used for that purpose - 08556656a7d69ad3d5c696f14d8d41b95373c5ee. I also updated the constructor signature so it matches the parent one.
For the future reference - this class doesn't really provide additional value over the existing ProviderError one (all the information is already available via ProviderError class) so there is little value in adding / having it.
Besides that the changes look good so I've merged it into trunk.
Thanks.

Yeah, you're right. My intention only was to specify the provider. If for some reason someone needs to catch an exception only for pointdns, can use it. But, yeah. Is just a little thing.

Thanks for the merges!


remote branch becomes invisible, if it's name ends with '-'

For example, if name of branch is
hotfix/popover-vertical-align-
the branch isn't visible on remote branches list of BRANCHES dashboard.

I am on it, just have to find the regex


when I click on other widget, SelectableText not deselect

SelectableText not deselect
In Windows and Mac, when text is selected from SelectableText and wanting to change the selection, both SelectableText remains as they're selected.
Actual results:

I've used UniqueKey but still not solved.
Im using Flutter (Channel stable, 2.10.0, on macOS 11.6 20G165 darwin-x64, locale en-IQ)

Code sample
Column(
children:[
 SelectableText(
      '1004',
      style: Theme.of(context).textTheme.bodyText2,
      textAlign: TextAlign.center,
    ),
SelectableText(
      '1005',
      style: Theme.of(context).textTheme.bodyText2,
      textAlign: TextAlign.center,
    ),
]
)

@ara-kurd-dev
I think you are hitting same issue as https://github.com/flutter/flutter/issues/78909, so please follow-up in it for further updates.
Closing this as a duplicate.


Trailing commas in profiles schema

Windows Terminal version
1.11.3471.0
Windows build number
10.0.19044.1526]
Other Software
VIsual Studio Code 1.64.2
Steps to reproduce

Open the Windows Terminal Setting
Click on Open JSON File
Opens in VS Code with an error on the schema:

Unable to parse content from 'https://aka.ms/terminal-profiles-schema': Parse error at offset 14830
The problem is
https://github.com/microsoft/terminal/blob/main/doc%2Fcascadia%2Fprofiles.schema.json#L488
See the trailing comma.
Schema file are JSON and trailing commas are a syntax error.
Expected Behavior
No error when opening in VS Code
Actual Behavior
The error comes from trailing commas in the schema file: https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L488
Also:

https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L864
https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L884
https://github.com/microsoft/terminal/blob/f217f6dc331559f57301dfb84ce3898d20c944d6/doc/cascadia/profiles.schema.json#L904

Well, that wouldn't be hard to fix. Thanks for pointing that out!

hi i have the same problem but when i remove the comma, an error occurs and it expected a comma. how do I fix this?

.... how did you remove the comma? That $schema line is telling VsCode to load the schema from a URL (which I think points at this repo). Removing the comma locally isn't going to fix the error itself, you'd have to try and change the $schema line to point at your local copy of the file.

I'm sorry but I'm new in this thing and I still don't understand how do I fix the problem.
I have copied the raw text from "https://aka.ms/terminal-profiles-schema" and save it to a new local json file. Then I redirect the $schema to my new json file and I remain can't parse the file. How do I fix this?


Generate ISO broken with IPv6 addresses

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Ops

Current behavior:

When trying to use the /isos 3.0 interface with both an IPv4 and IPv6 IP specified, TO returns an error message back to TP indicating the IPv6 address is invalid when a CIDR netmask is included like normal.  Looks like at some point we accidentally made the form validation in TO no longer support IPv6 addresses with CIDR netmask.
Expected behavior:

TO API should supply the generate script with all the necessary information
Minimal reproduction of the problem with instructions:

Try to create an iso with a /64 netmask at the end of an IPv6 address like normal.
Anything else:

alerts	[ {…} ]
0	Object { text: "decoding: invalid IP address: ffff:3333:fe2e:b::2/64", level: "error" }
text	"decoding: invalid IP address: ffff:3333:fe2e:b::2/64"
level	"error"

Is it working in API 2.0 and/or 1.x?

I tested with 2.x and the same results.

Should IPv6 Gateways also be allowed to have CIDR prefixes?

No


Recalculate target Y on elements that might be moving while scrolling

Let me know if this is something you're interested in adding.  I tried to match conventions and such, but haven't updated the README yet.

if the target being scrolled to is changing position while the scrolling is happening, the target position needs to be recalculated on the fly to ensure we end up at the right spot
this might happen if clicking a scroll link triggers other actions in the DOM that affect the Y position of the target (such as collapsing an element above the target)

Thanks, looks like an useful feature. Will go through it and check it.
Would be helpful if you could write a test for it, so it doesn't break in the future.

sure, I should be able to make that happen

Awesome, I will check it out tomorrow and then merge it and publish it :)

Thanks!

Sorry about the delay, I will have time check it out in a day or two.

What is new?


Resolve the decorator type as type and check if the symbol has value.

This would make sure we are referencing correct symbol to check if it has value
Fixes #4239

Please add more tests

:+1: but please add some more tests for the namespace/dotted name case. this area does not have enough coverage.
also i would add a unit test in https://github.com/Microsoft/TypeScript/blob/master/tests/cases/unittests/transpile.ts to cover this example in ts.transpile cases.

:+1:


[core] React v18 Peer Dependency updated for mui-styles

With ref to #32063

[x] I have followed (at least) the PR section of the contributing guide.

Should resolve the error:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@mui/styles
npm ERR<EMAIL_ADDRESS>from the root project

Strictly speaking @mui/styles is not compatible.

https://mui.com/styles/basics/

Thank you @oliviertassinari for the kind explanation.
I think you’re right. Let's close this PR for now in favor of https://github.com/garronej/tss-react


How can I link to a nested route with parameter in between?

I have a template, which looks like this:
export default ( props ) => {
  return (

      <Navbar></Navbar>
      { props.children }

  );
}

Inside my app.js, I'm creating the routing paths:
    <Router>
      <Route path="/" component={Template}>
       <IndexRoute component={RestaurantRoulette} />
        <Route name="workspace" path="workspace(/:workspace_id)" component={RestaurantRoulette}>
          <Route name="run" path="run" component={Run}></Route>
        </Route>
      </Route>
    </Router>

But, when I click now on the "run" Link inside my Navbar:

RestaurantRoulette

      <Link to="run">Run</Link>

Save

I'm getting an error with Warning: Location "/run" did not match any routes

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.