Failed to import numpy_backend when building docs

When attempting to build the docs with KERAS_BACKEND=tensorflow python autogen.py, I get the following error message:

Using TensorFlow backend.
Traceback (most recent call last):
File "autogen.py", line 18, in  from keras.backend import numpy_backend
ImportError: cannot import name 'numpy_backend' from 'keras.backend' (/home/stefan/Documents/Programming/Python/keras/venv/lib/python3.7/site-packages/keras/backend/init.py)

Creating a new virtualenvironment and reinstalling the packages didn't solve the issue.
System information

TensorFlow backend: yes
TensorFlow version: 1.13.1
Keras version: 2.2.4
Python version: 3.7.3

The docs/README.md says to run KERAS_BACKEND=tensorflow python autogen.py from the docs dir, which produces this error.
If you instead run the script from the repo directory, the error mentioned does not appear, however another error appears: Could not get the docstring from ~/src/keras/examples/class_activation_maps.py.
I tried adding a module docstring for class_activation_maps.py, and viola it works!
Looking back at the version history for the README.md, it seems the directory to call the script from has not recently changed, and I am unsure how to fix it other than to change the calling directory.
Additionally... I can no longer recreate the original error after git reset --hard and git clean -f.
It could be one of the .gitignore files? Very confusing.

Same problem for me when I tried to generate the offline documentation for my Keras. The following is the error
(base) [bilal@bilal docs] $ KERAS_BACKEND=tensorflow python autogen.py
Using TensorFlow backend.
Traceback (most recent call last):
File "autogen.py", line 18, in
from keras.backend import numpy_backend
ImportError: cannot import name 'numpy_backend'

first of all if you have multiple version of python then run the python that has keras installed.
for python2
KERAS_BACKEND=tensorflow python autogen.py
for python3
KERAS_BACKEND=tensorflow python3 autogen.py
ImportError: cannot import name 'numpy_backend'
this error happened cause there no file named numpy_backend.py.
To solve this go to python dist-packages directory then keras/backend (in Linux  cd /usr/local/lib/python3.5/dist-packages/keras/backend) and make a file called numpy_backend.py
and copy the code in the numpy_backend.py from the link given below
[https://github.com/keras-team/keras/blob/master/keras/backend/numpy_backend.py]
run mkdocs serve
if you find any error like No module named 'docs.structure'.
then change import statement of the autogen.py from docs
from
from docs.structure import EXCLUDE
from docs.structure import PAGES
from docs.structure import template_np_implementation
from docs.structure import template_hidden_np_implementation

to
from structure import EXCLUDE
from structure import PAGES
from structure import template_np_implementation
from structure import template_hidden_np_implementation

finaly build
mkdocs build

I'm still facing this issue while doing a fresh installation of keras and trying to build docs. Also the project structure @Sumon-miazi mentioned seems to have been changed and therefore the link taken off.
Would be grateful for some help @KappaDistributive @fchollet


I get very strange constant  Sending state<PHONE_NUMBER>0 W  readings.

Hi
I get very strange constant  Sending state<PHONE_NUMBER>0 W  readings, anyone also get this. Not sure where to begin.
See my debug log,
[D][sensor:131]: 'House - Power consumption': Sending state 2310.65454 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.05300 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2298.85059 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.05400 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.05400 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2282.81543 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.05600 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2282.81543 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.05800 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2271.29346 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.05900 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06100 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06300 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2271.29346 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06400 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06400 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2282.81543 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06600 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2271.29346 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06700 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.06800 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2282.81543 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.07000 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2282.81543 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.07200 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state<PHONE_NUMBER>0 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Power consumption': Sending state 2271.29346 W with 0 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.07300 kWh with 3 decimals of accuracy
[D][sensor:131]: 'House - Total energy': Sending state 0.07300 kWh with 3 decimals of accuracy

Please check issue #34.

Try setting the sensitivity on you photo diode.I had a similar problem and fine tuning it solved my problem.

I am also getting this high value readings regularly. 600.000W, 450.000W, 900.000W... Every flash on the meter is detected correctly and the red led is flashing. Not sure why I am getting those glitches. How did you do the fine tuning on the photodiode?

@mrwhite31 you have a potentiometer on your module (blue box with gray screw top). Try adjusting that. Please check your photodiode if it soldered correctly. Many of us had the photodiode soldered in reverse. Check issue #34 for details.

@KixMan28 thanks. I've alteady adjusted the potentiometer to the lowest possible sensitivity that it is still catching the flashes. Isn't that correct?
the diode is soldered the correct way. Also tried other modules.
I forgot to mention that it started not too long ago. It ran fine and without glitches for one and a half month before

@mrwhite31 Sorry, I cannot help you further. I had similar issues when my photodiode was soldered in reverse. Since I re-soldered it everything works as intended.

Try adding this
internal_filter: 100ms

@jLynx adding internal_filter solved it, thanks!

I think we can close the issue then?

@klaasnicolaas please close this issue


Added Myself to data.json

This looks good, why did you close the Pull Request?

This looks good, why did you close the Pull Request?


withdraw_auto_from_l1 escrow is not zeroed

From https://codehawks.cyfrin.io/c/2024-07-ark-project/s/177
L2 escrow is not reset when withdrawn.
details
When tokens are deposited on L2 via deposit_tokens(), they will be deposited in the escrow mapping, so when someone transfers back the same NFTs from L1 → L2 to take it from the contract balance, because they already exist.
But when they are transferred back to L2, withdraw_auto_from_l1() transfers them if they exist in the escrow mapping, but never resets the mapping when transferring it, this creates confusion that the tokens are still in the bridge.cairo contract.
Unit test must be provided.

Hi @ptisserand , please can I be assigned this when od hack starts tomorrow?

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a Experience Cairo smart contract developer with experience working on projects such as Just Art Peace, Dojo, Kart, TBA, and Shinigami. Before transitioning to Cairo development, I was a backend developer specializing in Rust.
My recent work with cairo starknet

https://github.com/keep-starknet-strange/raito/pull/128
https://github.com/keep-starknet-strange/raito/pull/143
https://github.com/horuslabsio/TBA/pull/45
https://github.com/horuslabsio/karst-core/pull/60
https://github.com/keep-starknet-strange/art-peace/pull/121
https://github.com/keep-starknet-strange/zkramp/pull/33
https://github.com/keep-starknet-strange/art-peace/pull/32
https://github.com/horuslabsio/TBA/pull/53

My recent work with rust

https://github.com/mubarak23/axum-user-auth
https://github.com/antoyo/rustc_codegen_gcc/pull/1
https://github.com/antoyo/rustc_codegen_gcc/pull/5
https://github.com/fedimint/fedimint/pull/5994
https://github.com/mubarak23/soroban-bank

How I plan on tackling this issue
As issue describe
Am going to reset the mapping to zero once the withdrawal is handle
ETH: 15HRS

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Please can I be assigned this issue? This is my first time applying in this ecosystem and I’d love to be given the opportunity. I am a blockchain Developer, and my experience includes html, css, react, JavaScript,TypeScript and solidity, python and Cairo.
How I plan on tackling this issue
To solve this issue, I'd take the following steps:
1. I’ll update withdraw_auto_from_l1() (add logic to reset the escrow mapping after tokens are transferred, ensuring they are no longer recorded in the contract's state).
2. I’ll test that after depositing tokens, withdrawing them using withdraw_auto_from_l1() resets the escrow.
Validate the escrow mapping is cleared after the withdrawal.
3. I’ll ensure tests cover multiple scenarios to confirm the escrow is correctly reset in all cases.
Please assign me.

The maintainer ptisserand has assigned od-hunter to this issue via OnlyDust Platform. Good luck!

Thank you ser🫡

Hi @od-hunter any update on this ?

I’ve started working on it. Will push a pr soon


add arm64 support to external-dns

Add arm64 support to external-dns
kubectl logs external-dns-85d8669d46-9t68s -n external-dns --context=sbox
standard_init_linux.go:219: exec user process caused: exec format error

These Helm charts are no longer supported
We use the Bitnami chart

https://github.com/bitnami/charts/tree/master/bitnami/external-dns
https://charts.bitnami.com/bitnami
with the image: k8s.gcr.io/external-dns/external-dns:v0.9.0
which does support ARM

Wonderful! it's working in arm64 now.
thanks @aRobinson-R7


fix: object schemas for labels and annotations

py-mtcli
Description
The existing way to defining object in our schemas did not enforce the regex validation it intended to enforce.
For example,
A schema
{
           "matchLabels": {
           	"type": "object",
                "items": {
            	    "type": "string",
                    "pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$"
                }
           }
}

still continued to allow the following input
{
    	"matchLabels": {
        	"wrong with : $": "foo with spaces x"
        }
}

which is unexpected.
This PR fixes that by making use of the patternProperties which allow us to enforce regex restriction on the keys of on objects as well as its values.
PS: you might notice that the sub-schema is repeated across the 6 places and it would've been better to use create a single labels.json schema and refer to it via $ref in the metadata.schema.yaml. But we can't do so because then, we wouldn't be able to test across the fields as the hypothesis-jsonschema tests aren't capable of resolving references to schema files, thereby affecting the test coverage.

LGTM


Create-t3-app expo feature request

It would be great to have create-t3-app also create an expo app that links with trpc.
I was thinking something along the lines of if you need a server, mobile frontend, and web, t3-app can create a monorepo that has all three options and you can pick or choose which ones you want. So you could go mobile frontend with server, web frontend with server, the classic combined front and server, or all three.
It would be great to also have the trpc client as a shared module that can be imported from a common modules folder so both web and mobile frontend can consume.
- root
 -- server
 -- mobile
 -- web
 -- common

or
- root
 -- server/web
 -- mobile
 -- common

The app can default to current way if only the option of just next.js.
Would like to know thoughts of the community and if this is useful for others.

possibly with the option of using turborepo

I think this is outside the scope of what create-t3-app is aiming to do.
Check out zART and create-kaol-app.


How to train uni-direction TSM ? for example？？

hi  ,Thank you very much for uploading the code of TSM. Now I want to trainuni-direction TSM . May I modify the code in this way
def shift(x, n_segment, fold_div=3, inplace=False):
nt, c, h, w = x.size()
n_batch = nt // n_segment
x = x.view(n_batch, n_segment, c, h, w)
    fold = c // fold_div
    if inplace:
        # Due to some out of order error when performing parallel computing.
        # May need to write a CUDA kernel.
        raise NotImplementedError
        # out = InplaceShift.apply(x, fold)
    else:
        out = torch.zeros_like(x)
        out[:, :-1, :fold] = x[:, 1:, :fold]  # shift left
        #out[:, 1:, fold: 2 * fold] = x[:, :-1, fold: 2 * fold]  # shift right
        #out[:, :, 2 * fold:] = x[:, :, 2 * fold:]  # not shift
        out[:, :, fold:] = x[:, :, fold:]  # not shift
    return out.view(nt, c, h, w)

I think you can try to set fold_div=8/4 as user does (as the numbers of channel can be usually divided by 8/4), and you can train uni-direction TSM as follows
 out = torch.zeros_like(x)
        out[:, :-1, :2*fold] = x[:, 1:, :2*fold]  # shift left
        out[:, :, 2 * fold:] = x[:, :, 2 * fold:]  # not shift

hi,to train uni-direction TSM the only changes i need is the below one ? or are there anymore modifications required?
out = torch.zeros_like(x)
out[:, :-1, :2fold] = x[:, 1:, :2fold]  # shift left
out[:, :, 2 * fold:] = x[:, :, 2 * fold:]  # not shift


Bamboo JUnit Parser Task not merging the test cases

Hi,
When parsing the JUnit xml results in Bamboo its clubbing the test cases and not showing the proper test results. IS there any specific setting to be done for cucumber-junit-formatter to make the bamboo parser read properly?
Also how to provide the format options? I there an example?
Thanks.,
Harish Rao

could you please provide some examples. I never ever use bamboo so I need more information

Hi,
Thanks for a quick response.
Results XML that Bamboo JUNIT Parser understands:
Feature is  and Test cases contain feature and Scenario in Classname and name is the step details.
Attached if the xml file as TXT bamboo-junit-parser-friendly.txt
bamboo-junit-parser-friendly.txt
cucumber-junit-formatter.txt
Using Cucumber-junit-formatter we get below XML :  cucumber-junit-formatter.txt
Is there a way we can get XML format that Bamboo Parser undertands by using the cucumber-junit-formatter?
Appriciate your support. Let me know if you need more detials.

Thanks for examples. I'll look and try to fix this issue in next two-three day

I have a question. Looks like cucumber-junit-fomatter.txt from your example is not well-formed xml. So is this file was edit?

Hello,
Attached is the full file. Can provide you with more information as needed.
-Harish
On Tue, Oct 22, 2019 at 7:59 PM Vasyl Moskalov<EMAIL_ADDRESS>wrote:

I have a question. Looks like cucumber-junit-fomatter.txt from your
example is not well-formed xml. So is this file was edit?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mvtm-dn/cucumber-junit-formatter/issues/6?email_source=notifications&email_token=ANOO2XAGZU2QJTEY6VVDBXTQP3BXVA5CNFSM4JBSZPM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB5DFHQ#issuecomment-544879262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANOO2XDVV54GG2WU5D7D27TQP3BXVANCNFSM4JBSZPMQ
.

Unfortunately I can't reproduce issue. Also I see that the resulting junit file provided by you is not well-formed xml.

Can't reproduce


[stable/redis] Add missing if statement for redis password for metrics sidecar

This commit checks to see if usePassword=true for redis for the metrics sidecar. The metrics sidecar is currently failing if redis isn't using a password because the secret key cannot be found.

CLA signed.

/ok-to-test

/cc @prydonius

oops, thanks @miles-!


monitor GPU ressources

New feature: monitoring for harware metrics
For a first discussion on this PR content, you can look at here. It was a outdated version of this PR that only contains CPU, ram and disk metrics.
Monitoring hardware
In this PR we add the possibility for the user to monitor the GPU, CPU, RAM, and disk during one experiment.
The GPU metrics are only collected if at least one GPU is detected.
To use this feature you can use it with a simple argument:
from dvclive import Live

with Live(monitor_system=True) as live:
    ...

If you want to use advance features you can specify each parameter this way:
from dvclive import Live
from dvclive.monitor_system import SystemMonitor

with Live() as live:
    live.system_monitor = SystemMonitor(interval = 0.1, num_samples=15, directories_to_monitor={"data": "/path/to/data/directory", "home": "/home"}))

If you allow the monitoring of your system, if will track the following:

system/cpu/count -> number of CPU cores
system/cpu/usage (%) ->  the average usage of the CPUs.
system/cpu/parallelization (%) -> How many CPU cores use more than 20% of their possibilities? It is useful when you're looking to parallelize your code to train your model or process your data faster.
system/ram/usage (%) -> percentage of the RAM used. Useful to increase batch size or data processed at the same time in the RAM.
system/ram/usage (GB) -> RAM used. Useful to increase batch size or data processed at the same time.
system/ram/total (GB) -> Total RAM in your system
system/disk/usage (%) -> Amount of disk used by the partition that contain the given path, in %. By default uses "/". You can specify the paths to the partition you want to monitor. For instance, the code example above monitors /data and /home. Data and code often live in very different paths/volumes, so it is useful for the user to be able to specify its own path.
system/disk/usage (GB) ->  Amount of disk used at a given path.
system/disk/total (GB)  -> Total disk storage at a given path.
system/gpu/count -> Number of GPUs detected.
system/gpu/usage (%) -> Usage of each GPU in %.
system/vram/usage (%) -> Usage of each GPU virtual memory in %.
system/vram/usage (GB) -> Usage of each GPU virtual memory in GB.
system/vram/total (GB) -> total amount of GPU virtual memory in GB, for each GPU.

Note that as several paths can be specified, the full metric name is system/disk/usage (%)/<user defined name>. For instance it would be system/disk/usage (%)/data for the /path/to/data/disk and system/disk/usage (%)/home for /home.
Note that as several GPUs can be detected, the full metric name for GPU metrics (except count) is suffix with /<idx> that indicate the index of the GPU. Example: system/gpu/usage (%)/0
All the values that can change during an experiment can be saved as plots. Timestamps are automatically recorded with the metrics. Other metrics (that don't change) such as GPU count, GPU vram total, CPU count, RAM total and disk total are saved as metrics but cannot be saved as plots.
I decided to split the usage in % and GB. First, because it is more consistent with the other loggers out there. Second, both are extremely relevant based on which cloud instance you run your experiment. If you only run your experiment on the same hardware, the distinction is not really interesting.
Files generated
The metrics about the CPU are stored with the log_metric function. It means that the .tsv files are stored in the dvclive/plots folder. A specific folder, system, contains all the metrics about the CPU to distinguish them from the user-defined metrics. The metrics are also saved in the dvclive/metrics.json file.
Plot display
Here is what VScode extension looks like:

Here is what Studio looks like:
https://studio.iterative.ai/user/AlexandreKempf/projects/image_classification-imzssxc5ew
Note that studio live update is a little buggy, but it is fixed in this PR
Note that we're calling nvmlShutdown and nvmlInit at each fetch of the GPU metrics like in labML code

[x] ❗ I have followed the Contributing to DVCLive guide.
[x] 📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here: https://github.com/iterative/dvc.org/pull/5138

Codecov Report
Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (719087b) 95.10% compared to head (b44881b) 94.96%.

Files
Patch %
Lines

src/dvclive/live.py
62.50%
5 Missing and 1 partial :warning:

tests/test_monitor_system.py
94.91%
0 Missing and 3 partials :warning:

src/dvclive/monitor_system.py
91.30%
2 Missing :warning:

Additional details and impacted files
@@                    Coverage Diff                     @@
##           monitor-cpu-ressources     #785      +/-   ##
==========================================================
- Coverage                   95.10%   94.96%   -0.14%
==========================================================
  Files                          57       57
  Lines                        3701     3797      +96
  Branches                      342      353      +11
==========================================================
+ Hits                         3520     3606      +86
- Misses                        124      130       +6
- Partials                       57       61       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hey @AlexandreKempf, take a look at my remaining questions/suggestions, but if @shcheklein is satisfied from a technical perspective, feel free to merge when you feel it's ready.

but if @shcheklein is satisfied from a technical perspective, feel free to merge when you feel it's ready.

I've approved it already!

I added the doc here fyi.

Added changes based on recommendations in the documentation PR

install psutil and pynvml by default
removed plot argument since we always want these metrics plotted
add method monitor_system to Live instead of a property|

Should this have closed #81?


Fix minor typos and broken links

PRRT: review required

@jwmsft  : The PR passed the acceptance checklist. Please evaluate further and approve/complete the PR if appropriate. Thanks!


Fails on platforms with variants

I tried a lot of stuff that ended with an UNAUTHORIZED response from the docker API.
Some troubleshooting let me to that this error is gone if I remove the platforms with variants. E.g. removing linux/arm/v6 and linux/arm/v7 from the platforms input.
My code that fails:
jobs:
  get-docker-version:
    runs-on: ubuntu-latest
    steps:
      - name: Docker Image Update Checker
        id: check
        uses<EMAIL_ADDRESS>        with:
          base-image: alpine:latest
          image: zinen2/alpine-pigpiod:latest
          platforms: linux/arm/v6,linux/arm/v7,linux/arm64
          # platforms: linux/arm64
        env:
          DEBUG: true

Hey @zinen, I run into a similar issue and created a fork to fix this issue. It's a bit tricky since the variant seams to be optional eg. linux/arm64 and linux/arm64/v8 means the same architecture. I have tested my new version with some of my repositories and it looks quite good. Would be great to know if my changes would also fix your issue - could you try it out by changing the action to clowa/docker-image-update-checker@342608bb9829d85eeeeb292e78115184b5a6657d ? Let me know if this fixes your issue too, then I will create a PR.

Tried this with clowa/docker-image-update-checker@342608bb9829d85eeeeb292e78115184b5a6657d and platforms: linux/arm/v6,linux/arm/v7,linux/arm64 and it did not throw an error.  The logs from DEBUG: true indicated that your fork successfully loops the variants of my images and compares back to the base-image.
I think maybe you solved this.

Works with your fork (clowa/docker-image-update-checker@cebb3edee1fc9ed36c1526c23c784998c7ac2d75, the sha from previous comments isn't valid anymore), however..
Base Images from library seem to use linux/arm64/v8 as platform, when I build images on my own the v8 get's removed by Docker Build for whatever reason.
library/alpine 3:

dersimn/github-actions-to-docker-hub-simple, using this workflow:

This still fails with error Error: Platform linux/arm64/v8 not found in the image dersimn/github-actions-to-docker-hub-simple.


SentNotificationData is growing with notification:1 partition keys

I noticed that since 4.1.5 upgrade the SentNotificationData table is creating two records for each sent message. That is causing the table to grow very fast. Why do we need a notificationid:1 records on that table?

@cristianoag This is the optimization to handle large scale data. Earlier the data was handled in-memory and used to cause issues when sending messages for large number of users. Now, the data is saved in the table and :1 denotes the batch count number and is processed in batches.

Thanks @priyank29, I imagined from analyzing the code. The thing I see with the approach is that the table will grow twice as fast. We need a way to housekeep those records as soon as the message is sent. IMHO.

Hi @cristianoag ,
We have added the enhancement/feature in our backlog items and we will taking it in the future sprints depending on the priority and bandwidth.


Sync release notes from release-2.3 into main

This commit simply copies the current release_notes folder from 2.3 into the development branch.

Cool. I hit both of the prominent flakes on a PR that changed no code.

Timeout running common/cluster (FAIL github.com/hyperledger/fabric/orderer/common/cluster 1200.197s)
Active vs. Inactive from the channel participation test (fabric/integration/raft/channel_participation_test.go:1133)

We've decided to just keep the release notes in the associated release branch, rather than copy into master every release.'
If your intent is to move the release notes forward as a template for the next release from master, rename the file to v2.4.0 and remove the v2.3.0 content.

We've decided to just keep the release notes in the associated release branch, rather than copy into master every release.

Then maybe remove the old stuff to make that clear?


Qt wallet sometimes crash when loading exteral links like "yunbi.com"

hard to reproduce. recheck after port to QWebEngine


Added support for side-by-side projects

run parseGruntFile on document change;
update parseGruntFile to use project path that matches current file;
update handleTask to only toggle if starting (IE don’t toggle on
document change);

I'm happy to merge this but @nickclaw is MIA so there won't be any new versions i'm afraid :/


Ghost source file in generated sourcemap

var gulp = require('gulp');
var tsc  = require('typescript');
var concat = require('gulp-concat');
var minify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');
var ts = require('gulp-typescript');

var prj = {
  src: '/dev/prj/src/main/webapp/',
  dst: '/dev/prj/build/webapp/main/',

  min: 'src/bundle.min.js',

  tsFiles: [
    'src/config.ts',
    'src/log.ts',
    'src/main.ts'
  ],

  tsProject: null,
  tsConfig: {
    typescript: tsc,
    sortOutput: true,
    module: 'commonjs',
    target: 'ES5',
    declarationFiles: false,
    noExternalResolve: false,
    noImplicitAny: true
  }
};

prj.tsProject = ts.createProject(prj.tsConfig);

gulp.task('transpile', function() {
  gulp.src(prj.tsFiles, {cwd: prj.src, base: prj.src})
    .pipe(sourcemaps.init())
    .pipe(ts(prj.tsProject))
    .pipe(concat(prj.min))
    .pipe(minify())
    .pipe(sourcemaps.write('.'))
    .pipe(gulp.dest(prj.dst));
});

When executing the above gulpfile the generated 'bundle.min.js.map' sourcemap contains the following:
"sources":["src/config.ts","src/log.ts","src/main.ts","src/bundle.min.js"]
"file":"src/bundle.min.js"

'bundle.min.js' is in the list of sources but its source code is not inlined in the sourcemap, resulting in a ghost 'bundle.min.js' source file when debugging in Chrome.
After manually removing "src/bundle.min.js" from the "sources" array in the sourcemap, Chrome JavaScript console works as expected.

I can't reproduce that, are you using the latest versions of these plugins? Also I think it has nothing to do with gulp-typescript, since gulp-typescript doesn't know about src/bundle.min.js, it could only be added by gulp-concat, gulp-uglify or gulp-sourcemaps.

Yes, as far as I can tell I'm using the latest versions of all the plugins:
"devDependencies": {
  "gulp": "^3.9.0",
  "gulp-concat": "^2.5.2",
  "gulp-sourcemaps": "^1.5.2",
  "gulp-typescript": "^2.7.6",
  "gulp-uglify": "^1.2.0",
  "typescript": "^1.5.0-beta",
}

I'm really confused who's adding the empty 'bundle.min.js' to the sourcemap.
I tried the following, removing typescript and reusing .js generated by a previous transpilation:
var gulp = require('gulp');
var concat = require('gulp-concat');
var minify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');

var prj = {
  src: '/dev/prj/src/main/webapp/',
  dst: '/dev/prj/build/webapp/main/',

  min: 'src/bundle.min.js',

  jsFiles: [
    'src/config.js',
    'src/log.js',
    'src/main.js'
  ]
};

gulp.task('testmap', function() {
  gulp.src(prj.jsFiles, {cwd: prj.src, base: prj.src})
    .pipe(sourcemaps.init())
    .pipe(concat(prj.min))
    .pipe(minifyJS())
    .pipe(sourcemaps.write('.'))
    .pipe(gulp.dest(prj.dst));
});

and the sourcemap is generated correctly, with all the sources properly inlined:
"sources":["src/config.js","src/log.js","src/laundry.js"]
"file":"src/bundle.min.js"

I still cannot reproduce it. Maybe you can try using relative paths instead of absolute paths, as the paths in your example look to be wrong.
Also, you're using gulp-concat and module: 'commonjs', you can't use these two combined. You should use something like browserify instead.

the absolute paths are actually OK end everything works as expected if I comment the line
.pipe(minify())

but of course nothing gets minified then.
Apologies for opening the issue in the wrong place. I'll repost it over to gulp-uglify.


Get a copy of the CT_Border when about to mutate it

GetCTBorder() returns a shared instance when applyBorder is true. When GetCTBorder() is invoked from inside a property setter, that shared instance is then mutated and all other XSSFCellStyle instances that referred to the original (before mutation) CT_Border are changed as well. This appears to be unintentional. If we know we are inside a setter (and therefore about to mutate the state of the CT_Border) then we should perform that mutation on a copy.

This change resolves #288 and #499

This bug can be demonstrated with the following code snippet:
var workbook = new XSSFWorkbook();

var sheet = workbook.CreateSheet("Bug");

var row = sheet.CreateRow(0);

XSSFCell cell;
XSSFCellStyle cellStyle;

cell = (XSSFCell)row.CreateCell(0);
cellStyle = (XSSFCellStyle)workbook.CreateCellStyle();
cellStyle.BorderLeft = BorderStyle.Thin;
cell.CellStyle = cellStyle;
cell.SetCellValue("left:thin");

cell = (XSSFCell)row.CreateCell(1);
cellStyle = (XSSFCellStyle)workbook.CreateCellStyle();
cellStyle.BorderLeft = BorderStyle.Thin;
cellStyle.BorderBottom = BorderStyle.Double;
cell.CellStyle = cellStyle;
cell.SetCellValue("left:thin;bottom:double");

cell = (XSSFCell)row.CreateCell(2);
cellStyle = (XSSFCellStyle)workbook.CreateCellStyle();
cellStyle.BorderLeft = BorderStyle.Thin;
cellStyle.BorderBottom = BorderStyle.Double;
cellStyle.SetBorderColor(BorderSide.LEFT, new XSSFColor(IndexedColors.Red));
cell.CellStyle = cellStyle;
cell.SetCellValue("left:thin+red;bottom:double");

using (var stream = File.Create($"out-{DateTime.Now:yyyyMMddHHmmss}.xlsx"))
{
	workbook.Write(stream);
}

Your fix works in this case. But I worry that this change may cause huge number of unnecessary CTBorder clone for any sub-properties settings on border.


feat: Implementation of CRUD with JSON files (transports)

Pull Request

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality
to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

Task linked: CU-8689n1ev7 Implementation of CRUD with JSON files transports


[BUG] SQ-7 loses connection // no connection for SQ4You or MixPad

Describe the bug
The SQ-7 repeatedly loses the connection to Companion for a short time. Under "Connections" it stands approx. 2-3 sec. on "OK" and then briefly on "Error". In the logs the error "MIDI error: connect ETIMEOUT" is displayed.
Sporadically the mixer freezes, so that only a restart helps. It also happens that I want to change a fader on the console that I have controlled via Companion, but it moves to -inf. It is then no longer possible to move the fader to 0.
Only if I have deactivated the SQ module in Companion, I can access it with MixPad or SQ4You. If the module is active, no connection is possible and a timeout occurs.
After deactivating the module, I still have to restart the console for the connection to work again.
Steps to reproduce the behavior:

activate companion module
try to connect via MixPad or SQ4You
check connections page and log to see error (attempt to reconnect)

Desktop:
OS: macOS Ventura 13.1
Browser: Safari
Companion Version v2.4.2
Additional context
Desk will reconnect if rebooted but will lose connection again after a short amount of time

I also experience what it posted here:
https://github.com/bitfocus/companion-module-allenheath-sq/issues/41

The same phenomenon occurs.
When used, the sq console network becomes unusable.
None of the methods work and the problem is solved only by rebooting the sq console.


Feature:Lance Lambda Layer in AWS Serverless Application Repository

SDK
Node
Description
Deploy and maintain a Lance lambda layer for use by Node.js Lambda functions in the AWS Serverless Application Repository. This will greatly facilitate onboarding.

Any chance of this getting bumped up in priority? I'd love to use LanceDB more often and share it with more developers, but setup on AWS is still kind of a pain. It would be really nice to be able to tell people that setup and use is EASY. Thanks for your consideration.

I'm not sure any of the devs at LanceDB have bandwidth to work on this right now. However, we'd welcome a contribution if someone wanted to set up whatever templates and CI jobs are needed to do this. Even if you didn't want to do that yourself, writing down in this issue what the necessary steps would be to complete this would be a useful step in the right direction.

HI @LincolnCannon - can you share some information on how using a layer would make things easier for your use-case vs. using a package manager like NPM?

@LincolnCannon do you know of any open repositories / projects that have good existing CI for building / packaging / releasing lambda layers that we can use as an example?
I assume we can use something like aws-sdk-pandas-layer-py3-11 as the base layer?  Is there any other pyarrow base layer that might be more standard?

@LincolnCannon do you know of any open repositories / projects that have good existing CI for building / packaging / releasing lambda layers that we can use as an example?

@westonpace I recommend Serverless for building and packaging AWS lambda layers. https://www.serverless.com/

I assume we can use something like aws-sdk-pandas-layer-py3-11 as the base layer? Is there any other pyarrow base layer that might be more standard?

I also recommend that you start with a Nodejs lambda layer, rather than Python, to accelerate adoption.


[Feature Request] Image Segments

Add support for image segments.

Thank you for the request. Feel free to create a Pull Request adding this feature.

I'll be happy to work on it, however I'm on vacation for the next 8 days. So I won't get much done until then.

Would you be ok with either text or images exclusively?
Apple design guidelines discourage mixing both in the segmented control.

 Although individual segments can contain text or images, mixing the two in a single control can lead to a disconnected and confusing interface.

@rjantz3 I think it makes sense to follow the Apple guidelines here.
I'm a bit fan of using vector icons. Like svg. I think that should be a possibility here.

I was thinking more in line with enabling the option to include a ContentView or similar. This way anything could really be embedded.

@1iveowl  I didn't have a good way thought out yet. Go ahead if you do.

I don't. Just some lose thinking and very little time to execute at the moment.


Prepare for next Style Council meeting - June

What
Invite people, prepare the agenda and slides for the meeting.
To do

Agree meeting date
Arrange Teams meeting and send out invite with notes from last meeting
Firm up agenda
Prep slides
Get issues ready with colleagues
Make sure that GitHub is up to date
Share agenda and info about topics up for discussion - by email, on NHS.UK and NHS digital service manual Slack
Prepare slides
Sent out slides the day before
SEND OUT EMAIL AFTER PUBLICATION

For next meeting

trauma-informed content design - making content clear: https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/315
fit (sick) note - at first mention? https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/505
WCAG AAA points - no update
aged 13 or over (Albert)
imperial and metric (in https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/321] - maybe leave for next time?
micrograms (mcg)
Down's syndrome
log in/login
fetus/fetal

Meeting held 24 July. Next steps: Actions after July Style Council meeting #2000


WIP: [VC-35738] Various

Closing. This was just a collection of changes which I have since broken out into smaller logging PRs.


New Cohorts and Workshop sections images

Uploading new images for the Cohorts section and the new Workshops section of main BG site.

Good evening, I'm Officer Carlos from PR police. May I see your driver's license and vehicle registration, please?
haha ok, I need more context here: Are these images for the new sections, right? Do we have the design + the copy for them?
Regarding the PR: check the naming standards on the public/assets folder:

lowercase + hyphens for spaces.
In this PR we have hyphen & underscore, capitalized words, and a space at the end of the second one.

Alright, I'm just going to issue you a warning for this minor violation :police_officer:

Hey! Very funny but please don't issue this poor designer 🥺
Sorry, never uploaded pictures to the repo before & thought it was a bit different to other types of PRs, my bad! Context:

One is for a new section (the Workshops one) which we don't have the copy for yet
The other one is just replacing the image for the existing Cohorts section (no more changes on that one for now).

Also sorry about the messy names lol, should I replace them in this pr somehow to fix it?
And for next time I should open a PR with the new section & content right? + while uploading the necessary files to the repo.
Thanks Carlos aka PR police

Thanks for the context @andrealbiac !

One is for a new section (the Workshops one) which we don't have the copy for yet

Ok, great. We can code it whenever we have the section design  + copy

The other one is just replacing the image for the existing Cohorts section (no more changes on that one for now).

This should be an easy one! Just replacing this image, right?

we just need to replace this image: https://github.com/BuidlGuidl/buidlguidl.com/blob/main/packages/nextjs/pages/index.tsx#L265
Do you want to try? If not, @Pabl0cks can help!

Also sorry about the messy names lol, should I replace them in this pr somehow to fix it?

No worries, we can change them when we use them on the site (currently they are only in a folder waiting to be used)

Thanks Carlos aka PR police

All good. Thank you for being a good citizen :saluting_face:


Test custom events

General Support Request
While we are meeting our minimum test coverage, essential custom events are not being tested and these are critical parts of the API.

Support request
Write tests that cover the custom events.

Also
offClick(event) {
  // Hide the dropdown content if we clicked anywhere outside auro-dropdown
  const expectedIndex = -1;

  if (event.composedPath().indexOf(document.expandedAuroDropdown) === expectedIndex) {
    document.expandedAuroDropdown.hide();
  }
}

Fixed during earlier release.


November, 2018 Servicing Update

Addresses the following:
CVE-2018-8541
CVE-2018-8542
CVE-2018-8543
CVE-2018-8551
CVE-2018-8555
CVE-2018-8556
CVE-2018-8557
CVE-2018-8588

LGTM

@dotnet-bot test

@dotnet-bot test

@dotnet-bot test all

@pleath Close and reopen the PR.    It missed the synchronization update message most likely


How to share to which exist at mobile app?

I want to share without aimed to google or others, I only want to share to all application who can share at mobile.
I don't need add the ICON.
What should i do ?
I only want
pressShare = () =>{
   Share.open(options).catch(err => console.log(err))
}

but it not work for me.

When the file url has : it will show none share target.


switch to q35

we need to switch to Q35, since this machine type has more features and better performance

switch to q35 is not an option, we will continue with pc

So we have a historical trail, can you elaborate just a little why it is not an option? thx


Trouble Installing

I've tried installing with hpm and manually configuring the config file but get the following erros in the console:
bundle.js:1 Error: Cannot find module '/Users/timhope/.hyper_plugins/node_modules/hyper-cat'
    at Module._resolveFilename (module.js:455:15)
    at Function.Module._resolveFilename (/Applications/Hyper.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (module.js:403:25)
    at require (internal/module.js:20:19)
    at de.plugins.concat.map.ge (file:///Applications/Hyper.app/Contents/Resources/app/dist/bundle.js:1:8503)
    at Array.map (native)
    at ie (file:///Applications/Hyper.app/Contents/Resources/app/dist/bundle.js:1:8457)
    at Object.A.reload (file:///Applications/Hyper.app/Contents/Resources/app/dist/bundle.js:1:6014)
    at EventEmitter.U.a.on (file:///Applications/Hyper.app/Contents/Resources/app/dist/bundle.js:45:377742)
    at emitOne (events.js:96:13)
    at EventEmitter.emit (events.js:188:7)de.plugins.concat.map.ge @ bundle.js:1
bundle.js:1 [Notification] Plugin load error: "hyper-cat" failed to load in the renderer process. Check Developer Tools for details.

I'm new to Hyper so I'm not sure if there's something I missed or if it might be a Hyper issue. I wound up getting it working by using npm to install it in the plugin directory though.

Actually the install is incomplete, I just get the rainbow trail, nothing else. (I don't mind it's quite a nice effect on its own.)

Thanks for reporting this @SnappyCroissant. I had a co-worker that ran into something similar to this but it wasn't apparent what was happening.  He ran npm install directly from the .hyper_plugins directory (which sounds like what you did) and everything worked fine for him afterward. It looks like others are receiving a similar message with other plugins as well: https://github.com/zeit/hyper/issues/191
Could you try the suggestion in https://github.com/zeit/hyper/issues/191#issuecomment-282262481

That's fixed it! Thanks :)

Good to hear!


Configure Default Labels for Issues for new repositories

In my use o Gogs I found the necessity of having a default set of labels for every repository that I create.
Let me explain my case:
I'm using Gogs to manage a small team, we have a set of components in C#, a Framework, that follows a
development workflow, so for every new repository I have to add the set of default Labels before opening a Issue, so it would be great if I could create a repository that already have this set of labels.
I think this should be configurable, or globally or by Organization.
Thanks for the greate work!

I'll use this approche https://discuss.gogs.io/t/how-to-use-predefined-label-templates/599,
approche, haven't seen it before.


How to modified configs files for tiny or small model

I want to use small or tiny model to train myself datasets because of GPU memory is too small. but I do not how to modify configs.
I do not find some parameters where is set. for example , set of adapter (N, CFFN, head).

Hi, you can set with_cp=True (in backbone and head) to save GPU memory. For example, when the input image is 512x512, the BEiT-Adapter-L-Mask2Former requires about 15G memory with 1 image per card (see my logs in issue #38).
Also, you can modify cffn_ratio, deform_num_heads, interaction_indexes to reduce GPU memory. cffn_ratio is set to 0.25 now, you can try 0.125. You can try reducing deform_num_heads by half, and reducing interaction_indexes. Of course, these modifications will hurt performance to some extent.
For a 24-layer ViT model, we set N=4, that is to say, interaction_indexes=[[0, 5], [6, 11], [12, 17], [18, 23]]. If you want to set N=2, you should use interaction_indexes=[[0, 11], [12, 23]].

@czczup Hi，i would like to save gpu memory，so i change the crop size from 512 to 256，when training voc2007 dataset，it occurs other issue，assertionerror at the iteration of evaluation（160000/20000）。And i test the voc datasets also occur the same issue。But when i change the crop size from 256 to 512，it tests successfully，but the out of memory issue occurs。 I wonder  whether is the reason of change crop size that occurs the assertionerror？I am waiting for your answers，thanks！

@czczup Hi，i would like to save gpu memory，so i change the crop size from 512 to 256，when training voc2007 dataset，it occurs other issue，assertionerror at the iteration of evaluation（160000/20000）。And i test the voc datasets also occur the same issue。But when i change the crop size from 256 to 512，it tests successfully，but the out of memory issue occurs。 I wonder whether is the reason of change crop size that occurs the assertionerror？I am waiting for your answers，thanks！

Hi, in addition to crop size, you also need to set the img_size as same as crop size in backbone.

@czczup Thanks for your reply.I used to change the crop size in config file and datasets setting.But I can not find the img_size in backbone of vit_adapter.py.If I need to change the img_size in segmentation/mmseg_custom/models/backbones/base/vit.py from 224 to 256,or can you tell in details.thanks for your generous help!

Regarding your comments on changing layers and interaction indexes, I'm trying to modify these parameters in upernet_deit_adapter_tiny_512_160k_ade20k.py.

Would the red highlight be the number of blocks? (I know N=4 was used in most of the models, but I'm experimenting with changing this. When I make these changes I get the following error:

What other changes might I need to make in order to get this to run?


Fix forward slashes not being escaped in .meme

Fixes cases like .meme <link> 7/10 | Too much water

Thanks. I've added this to the working repo.


Allign the properties form with the left side

Describe the Bug
There seems to be a space on the left side of the input fields for properties in Beans Configuration.
Steps to Reproduce the Bug or Issue

open Beans Configuration
Specify several properties
see the empty space on left in the properties forms

Screenshots or Videos

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [latest]

It's a space for expand toggle, once you add object property then you'll see a toggle to expand the children there


bug: RuntimeError: src/whispercpp/context.cc#L69: c.wctx is not initialized

Describe the bug
Hello! First of all thank you for your work!
I wanted to report this problem that I'm having when trying to load quantized models. Could someone give me a hand to see if I'm doing something wrong?
To reproduce

Given a quantized Whisper model in ggml format (e.g. ggml-model-whisper-small-q5_1.bin)
When I try to load it with Whisper.from_pretrained("ggml-model-whisper-small-q5_1.bin")
I get the error RuntimeError: src/whispercpp/context.cc#L69: c.wctx is not initialized
I also get the following log:

whisper_model_load: unknown tensor 'X����ب��G]���u��H.�*sKGi�����ڔ�����<�! L�Ϊ�����' in model file

Expected behavior
The model should be loaded and it shouldn't crash
Environment
python: 3.10.12
OS: Ubuntu 22.04

same, want to see quantized models running


Support reusing definitions across multiple automation files

Is your feature request related to a problem? Please describe.
We'd like to avoid copy-pasting the same snippets in multiple .cm files.  For instance, we have a list of devs grouped by team that is present in all our automations.  We also have a CODEOWNERS-ish division of the project into platform boundaries.
Describe the solution you'd like
Some sort of include or import functionality that would allow a section defined in one automation file to be referenced from multiple other files.  This could be as crude as a template system where a placeholder variable does text replacement using the contents of a referenced file in a sub-directory.
Describe alternatives you've considered

Continuing to copy-paste and manually synchronize the block in multiple automation files.
Writing a git pre-commit script to do this prior to every commit that touches the .cm directory.

If this something that would be possible with custom filter functions after they are available?  Could it be done with a Jinja template somehow?

@tresat This is a fantastic idea! We would love to add this capability, but it would add quite a lot of complexity to how gitStream processes automations, and that would be a fairly significant effort to implement. We will be sure to provide updates here when we pursue this.
In the meantime, the best solution is to condense your automations into a single file where possible. This creates the risk of your CM files becoming more burdensome to update, but gitStream is designed to handle any number of automations in a single file.

@tresat I'm happy to announce that we have a new feature that may solve this use case for you. We introduced the env context variable that provides access to environment variables that are available to your GitHub Actions workflow for gitStream. I.e. you can add custom variables to your .github/workflows/gitstream.yml to store your user lists and access them in your automation.
Let me know if you have any questions, and feel free to re-open this if you continue to have issues.

I just gave this a try and unfortunately env seems to be limited to a map of boolean, number or string types.  There's no way to supply arrays or nested objects.
When I try something like:
steps:
  - name: Evaluate Rules
    env:
      team1:
        - 'Tom'
        - 'Joe'

And then print out {{ env.team1 }} in a comment I just see null.
So this is only a partial solution for us - many of our potential use cases involve lists of values.  What would be most valuable is to have a list of values defined in env which we can then test against in our automations.  If we could define a list of authors in gitstream.yml and test in a .cm file if the current author is in that list, it would be very helpful.  We'd also like to define nested data structures that define properties about various directories in our build - I think doing this with arrays alone wouldn't be easy, we'd want custom nested objects for this.
Can you please re-open this?

@tresat We had a conversation about this today and decided that this will be something we can support when we release custom JavaScript plugins early next year. I will provide any future updates here. Thanks!

@tresat I'm happy to announce that gitStream now supports JavaScript plugins to build new filter functions that should solve this problem for you. Here's the docs.
For example, we created an isFlaggedUser filter function that accomplishes something similar to what you're looking for: https://docs.gitstream.cm/filter-function-plugins/#isflaggeduser
If you have other ideas for plugins, or if you build some of your own, we would love to hear about it! You can share your ideas here.


Script not working

I have set up the script on a Debian 11 system. When I run it with customized IPs and passwords, I encounter the following error. I use a local admin as the user on the UDM.
Getting host information...
Creating API session...
Logging into the controller...
Login successful!
Getting a list of clients and IPs...
Traceback (most recent call last):
File "/home/lokal_admin/UDM-DNS-Fix/./update-udmpro-dns.py", line 239, in
main()
File "/home/lokal_admin/UDM-DNS-Fix/./update-udmpro-dns.py", line 206, in main
for c in get_clients(args.baseurl, args.username, args.password, args.site, args.fixed_only, args.verbose):
File "/home/lokal_admin/UDM-DNS-Fix/./update-udmpro-dns.py", line 88, in get_clients
fqdn = build_fqdn(c, networks)
File "/home/lokal_admin/UDM-DNS-Fix/./update-udmpro-dns.py", line 54, in build_fqdn
if client['network_id'] in networks:
KeyError: 'network_id'

I've not seen this issue previously... Can you give me the string you used to launch this script (with the passwords redacted), please?

Hi,
I'm using the following string from GitHub.
./update-udmpro-dns.py -b https://<IP_ADDRESS>:443 -p  -u  -su root -sp <ssh_password> -sa <IP_ADDRESS> -f -vvv
I'm using a fresh install of Ubuntu 22.04.3 LTS. I installed git and pip to download and install the requirements.
Login via UI is working with  and . Login via SSH is working too with root and the <ssh_password>.
My password are in quotes. For example 'safe123!'

Ran into the exact same error running from the command line as above.  Linux Mint 21.3.


Generate feeds for all categories, instead of only configured categories

To my knowledge it is not currently possible to have feeds automatically be generated for all categories, unlike tags. This appears to have had past requests, which were all closed either automatically or via PRs that only implemented this for tags. I would like to not have to modify _config.yml for every new category I add to the Jekyll site, if at all possible.
Is this possible? If not, is there a bounty program where I can put down some money for this to be added?

I see in the readme that the config is just feed.tags: true, so I'd recommend something similar here:
feed:
  categories: true


Allow empty "where" filters

It would be great to allow the where parameter to be empty and contain undefined fields.
photon.users.findMany({
  where: {
    // any undefined values will be ignored in filtering
    country,
    gender,
    company,
    membership
  }
})

Any undefined field in the filter object would be ignored.
So, .find({ filter: { country: undefined } }) would just return all objects.
Current usage: (in this example, my resolver's fields are all optional)
({ country, gender, company, membership }) => {
  const where = {}
  if (country) where.country = country
  if (gender) where.gender = gender
  if (company) where.company = company
  if (membership) where.membership = membership

  if (Object.keys(where).length > 0) {
    return photon.users.findMany({ where })
  } else {
    return photon.users.findMany()
  }
}

As you can see, I have to manually build a where object by checking every value I want to filter. Then I have to make sure the where object isn't empty before passing it in.
With my proposal, this becomes extremely simple:
({ country, gender, company, membership }) => {
  return photon.users.findMany({
    where: {
      country,
      gender,
      company,
      membership
    }
  })
}

Or, I could even do this, if all my args are used for filtering:
(args) => photon.users.findMany({ where: args })

Note, while this is fixed from the TypeScript side, we still need to wait for #136 to allow empty where: {} from the Rust side.


Show class name as html 'code'

Wrap the link text (the class name) in <code> to style it as other code (but within the a-tag).

The tests will require an update with the changes in https://github.com/lightbend/paradox/pull/376

Now that I look at it again, this should be when rendering Paradox @scaladoc/@javadoc` directives instead.

I'll do it directly in Paradox instead.


fix(curriculum): test both stories in Sentence Maker

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Tests both stories in separate tests.

I started to review but then I realized that this doesn't work since the variables adjective, noun, verb, place, adjective2, and noun2 are reassigned. So you cannot check the first story without regex. This is the reason for which only the second story is tested.

At the point of re-assigning, the firstSentence is already defined, so it will have string with values filled from variables.

One test fails because the expected string contains the reassigned values
Test text:
Your should use the correct story format for first story: "Once upon a time, there was a(n) [adjective] [noun] who loved to eat [noun2]. The [noun] lived in a [place] and had [adjective2] nostrils that blew fire when it was [verb].".  The dragon lived in a garden and had sparkling nostrils that blew fire when it was jumping.
      +Once upon a time, there was a(n) cute puppy who loved to eat flower. The puppy lived in a park and had colorful nostrils that blew fire when it was barking.

At the point of re-assigning, the firstSentence is already defined, so it will have string with values filled from variables.

but expected is built with the current values of the variables, not with the previous ones

Ah! 🤦♂ I wasn't thinking about what happens in the test. I think we could capture values initially assigned with regex, to still test the complete sentence.

Ah! 🤦♂ I wasn't thinking about what happens in the test. I think we could capture values initially assigned with regex, to still test the complete sentence.

I don't see other options :+1:


Add a pipeline resolver with an undefined data source

Fixes #1115

It might be desirable to refactor and introduce isPipelineResolverProps instead of relying on isDataSourceResolverProps ⬇
   private isDataSourceResolverProps(object: AppSyncApiResolverProps): boolean {
     return object.dataSource !== undefined;
   }
+  private isPipelineResolverProps(object: AppSyncApiResolverProps): boolean {
+    return (
+      false === this.isDataSourceResolverProps(object) &&
+      undefined !== object.resolverProps?.pipelineConfig
+    );
+  }

     else if (
       this.isDataSourceResolverProps(resValue as AppSyncApiResolverProps)
     ) {
       resValue = resValue as AppSyncApiResolverProps;
       dataSourceKey = resValue.dataSource as string;
       dataSource = this.dataSourcesByDsKey[dataSourceKey];
       resolverProps = resValue.resolverProps || {};
     }
+    // Pipeline resolver
+    else if (
+      this.isPipelineResolverProps(resValue as AppSyncApiResolverProps)
+    ) {
+      resValue = resValue as AppSyncApiResolverProps;
+      dataSourceKey = undefined;
+      dataSource = undefined;
+      resolverProps = resValue.resolverProps || {};
+    }
...
     // fails here since dataSourceKey can be undefined
     if (lambda) {
       this.dataSourcesByDsKey[dataSourceKey] = dataSource; // <-- Type 'undefined' cannot be used as an index type
       this.functionsByDsKey[dataSourceKey] = lambda; // <-- Type 'undefined' cannot be used as an index type
     }
     this.dsKeysByResKey[resKey] = dataSourceKey; // <-- Type 'string | undefined' is not assignable to type 'string'.

⬇⬇⬇
-    if (lambda) {
-      this.dataSourcesByDsKey[dataSourceKey] = dataSource;
-      this.functionsByDsKey[dataSourceKey] = lambda;
+    if (dataSourceKey && dataSource) {
+      if (lambda) {
+        this.dataSourcesByDsKey[dataSourceKey] = dataSource;
+        this.functionsByDsKey[dataSourceKey] = lambda;
+      }
+      this.dsKeysByResKey[resKey] = dataSourceKey;
     }
-    this.dsKeysByResKey[resKey] = dataSourceKey;

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Can't compile datastore sample with jdk 1.7

To successfully compile from the datastore/ folder, in java-docs-samples/datastore/pom.xml, I needed to change the source and target to use 1.7 (they are set up for 1.8).

I'll switch the target and source to 1.7.  Like you mentioned, there aren't any 1.8 features being used here.


multiple choice survey option - value for fifth option seems character limited

In the test survey I'm putting together on https://demo2.measuringbroadband.org the "value" of the fifth option seems to have a character limit, or I'm observing something odd.

In the "Value" text field, I can enter "rarel" but when I type "y" the entire field contents disappear. Is this happening for you?

This isn't continuing to happen for me on other fields, so must be something weird on my side. Closing


Add as_ref to Script

Added as_ref to Script, as it's common for wrapper types (such as in other types in this code base), in order to have access to slice functions, immutable reference iterators, for loop iterate, etc.
My specific use case that led to this was immutable reference iterators, as I wanted to traverse the commands (besides assert so couldn't use visit_asserted) to collect information without creating a new Script, and this felt cleaner than running a map over the commands since I'm not creating new commands.
I'm using this in my fork, so wanted to offer it upstream.
In any case, thanks for writing the lib!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the PR.


Polygon interactivity problem in 4.1.1

Hi,
Just upgraded to 4.1.1 and noticed this problem:
Polygon hit test working in 3.0.8 http://jsfiddle.net/symbolShift/om5a4qwL/1/
But acting strangely in 4.1.1 http://jsfiddle.net/symbolShift/6wxa46gL/1/

This is already fixed in the dev branch; just waiting for that to get brought into a release version :)
Proof: http://jsfiddle.net/knvL9ekL/2/

Ah, my bad :) Thanks!


Runs on Linux with wine version 9.0 or better

Not an issue, I know, but I thought the Linux tribe would like to know this.
I have tried DSMapStudio on wine version 7, it crashes with a vulkan error.
On wine version 8, it loads and displays, but freezes when I open an existing project.
On wine version 9, it just works (TM).
You can check your vulkan version as follows:
vulkaninfo | grep -i apiversion

and your GPU device as follows:
glxinfo | grep -i device

It did not need any fiddling at all, just create a wineprefix using distribution provided wine package, and run it.
For example:
mkdir -p <your-wineprefix-path>
export WINEPREFIX=<your-wineprefix-path>
wineboot --init
wine <path-to-DSMapStudio.exe>

I have only tried the parameter editor on Armored Core 6 so far, and it works.
This is big news, at least it is for me :-) I'm hoping that others searching for how to run DSMapStudion on Linux will find this.
Don't expect any feedback, and feel free to just close this issue.

Moved some information into the readme, closing the issue for now.


Switch to built-in Node crypto package

When I used Node 12 (LTS)
I receive this warning, not sure if it is complicated to update.
warning twitter-v2 ><EMAIL_ADDRESS>This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.

This is fixed as of 1.0.6


Having trouble running 12c SE in a pod

Found the files from here (If someone knows the right location, please share): http://support.ginesys.in/downloads/apps/Oracle/Database/Linux/12CR1/
Image built successully by below command:
./buildContainerImage.sh -e -v <IP_ADDRESS> -o '--build-arg SLIMMING=false'
When running it as a pod, getting the below error, please suggest what could be causing this error. The files it is complaining about exists in that location.

ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: mypassLSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 19-OCT-2022 21:01:12Copyright (c) 1991, 2014, Oracle.  All rights reserved.Starting /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/tnslsnr: please wait...TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/db-12-s/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                19-OCT-2022 21:01:13
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/db-12-s/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
Copying database files
1% complete
/opt/oracle/createDB.sh: line 65:    28 Killed                  dbca -silent -responseFile $ORACLE_BASE/dbca.rsp
cat: /opt/oracle/cfgtoollogs/dbca/ORCLDB/ORCLDB.log: No such file or directory
cat: /opt/oracle/cfgtoollogs/dbca/ORCLDB.log: No such file or directory
mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/spfileORCLDB.ora': No such file or directory
mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/tnsnames.ora': No such file or directory
The Oracle base remains unchanged with value /opt/oracle
#####################################
########### E R R O R ###############
DATABASE SETUP WAS NOT SUCCESSFUL!
Please check output for further info!
########### E R R O R ###############
#####################################
The following output is now a tail of the alert.log:
Wed Oct 19 21:01:39 2022
MMNL started with pid=22, OS id=212
Wed Oct 19 21:01:39 2022
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
ORACLE_BASE from environment = /opt/oracle
Wed Oct 19 21:01:39 2022
ALTER DATABASE   MOUNT
Wed Oct 19 21:01:41 2022
Using default pga_aggregate_limit of 20132 MB
Wed Oct 19 21:01:42 2022
Instance Critical Process (pid: 6, ospid: 180, MMAN) died unexpectedly
PMON (ospid: 170): terminating the instance due to error 822
Wed Oct 19 21:01:42 2022
System state dump requested by (instance=1, osid=170 (PMON)), summary=[abnormal instance termination].
System State dumped to trace file /opt/oracle/diag/rdbms/orcldb/ORCLDB/trace/ORCLDB_diag_184_20221019210142.trc
Wed Oct 19 21:01:42 2022
Dumping diagnostic data in directory=[cdmp_20221019210142], requested by (instance=1, osid=170 (PMON)), summary=[abnormal instance termination].
Wed Oct 19 21:01:42 2022
Instance terminated by PMON, pid = 170

sorry, about the formatting of the message

I removed the resource limits in the pod and this works fine.


remove dist from master

This PR removes /dist from master.  This will help avoid merge conflicts when updates are made.
To release versions, you can create a branch then force add the 'dist' folder

@algenty -- this PR is really just rm -rf dist and then adding /dist to git ignore

i've create a new branch origin/0.6.0_grafana_toolkit to keep master clean and buildable


Training and deploying a gesture recognition model as a calculator from within MediaPipe

Hello, I am trying to train and deploy a simple model to detect simple dynamic gestures in real time, such as left and right swipes, by taking a sequence of landmarks of the right hand and flattening them into a 1D input array, and then train a classifier. I was wondering how to deploy a trained model in Tensorflow or PyTorch as a calculator within MediaPipe or in C++ built with Bazel. Also, looking forward to any tutorial links of others who have done so.

@prantoran,
Can you please confirm if you have gone through Hands/Gesture Tracking Solution? Thanks!

@prantoran,
Can you please respond to the above comment? Thanks!

Thank you for sharing the blog. I am sorry for the late reply, I am stuck in another feature.
I read the blog which provide details for Python APIs to access the landmarks. I did the same in C++ to implement detection of static gestures. But in order to detect dynamic gestures, I would need to train a simple classifier using the sequence of landmarks.
I guess one way is to collect landmarks data for different gestures and save them as datasets, then train and save a Tensorflow classifier in Python script, then load the saved model using loadSavedModel() from within MediaPipe workspace.


Changing the hoverstates for the focus inbox items

Tunneled deep inside Nylas, this errant background-image was offending.
Before

After

Nice, man! :clap:


Update config.yml with new options

This PR adds the following config options:

EnableIncompatibleClientAlert
MinecraftMentionSound

Waiting on #21 before merging to move options to correctly ordered places

Closing this in favour of adding the new options directly to #21


i18n Text Translations:  edit profile and other files

Files:

components
EditProfilePage
PersonalInfoTab

components
EditProfilePage
ProfileSettingsModal

components
EditProfilePage
UnfollowModal

components
Email
unsubscribe

components
FollowingCard
FollowingCard

components
HearingsScheduled
dateUtils

components
HearingsScheduled
HearingsScheduled

components
HeroHeader
HeroHeader

components
HotBillCard
HotBillCard

components
HotBillCard
Positions

Move user-visible text from these section into json files in the public/locales/en folder; use the next-i18next 'useTranslation' hook to connect the text from the json files
You'll decide how to group and name your text in a way that makes sense for your section by default, make separate json files following the structure of the project pages/folders, but feel free to diverge from that if needed.
make sure to get titles, headers, buttons, labels, and alt text
Put common words, labels, etc in the common.json file
At this time, don’t worry about translating content on the files in the pages folder itself at this time, but you will need to update these files to include the json files you created.
some pages may have already been extracted more or less into files next to or near the component files, usually with the same file name with 'content' on the end. That text needs to be moved as above, and it's up to you what to do with the content file.

I will take this one, if nobody else is working on this

Hi @timblais, I have question for the HotBillCard component. For EditProfilePage component there is a file in pages/editprofile.tsx to define which json file it would be used for translation. https://github.com/codeforboston/maple/blob/96b8c8c371cf26e179c1e22cf158fefc621b1b36/pages/editprofile.tsx#L13C1-L19C3
But for HotBillCard, I cannot find such file or lines to tell which json file to use. Can you help me with that? Thank you in advanced!


Switch to two-space indentation

@XhmikosR can this be handled by xo? I noticed the only chande was made is for .editorconfig file

It's handled by xo, I changed the package.json too.


Created utility class for simple conversions

@csmoore Please review when you get a chance. This PR is part of the larger task #470

@kgonzago - looks good - you may want to wait to merge until we can test/validate with the other repos? Your call - PR is approved.

@csmoore I'll add the header info. You're right. let's test first with Viz and D&D before merging.

@csmoore Tested and verified with Viz add-in behaves as expected when referencing the CC library conversion function. Can you review the two commits I added after your first review? Thanks.


When i move my app to other dir, the app doesn't work...

For example, my app is in c:/app/ and i run it, it will generate the plugins.db which in c:/app/configuration, i know the plugins.db records the plug-in's meta information and the plug-in path. But when i move c:/app/ to d:/app, it doesn't work... But after i delete d:/app/configuration, my app can work again.
So my guess is that the plug-in path in plugin.db causes the program to fail to start. Using FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT can solve my problem but I used ctkManagedService to save my plug-in information and FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT would delete my plug-in information when the program started, so it was not appropriate.
Could you please give me some advice to solve this problem? Thank you!

@ysx1993 If you have a chance, do not hesitate to propose a PR to accommodate your use case, in the mean time we are closing this issue.

@jcfr Thanks to you! I have fixed this bug by using relative path...
QString pluginPath = QLatin1String("plugins"); ctkPluginFrameworkLauncher::addSearchPath(pluginPath, true);


Safari and nghttp hang on large JSON output

Only happens over encrypted connections. I created a test server here that uses Cowboy 2.6:
https://github.com/whitepaperclip/safari_bug
After compiling/running, visit https://localhost:4000/iodata to see the timeout, and https://localhost:4000/binary to see the same output work.
Note that this doesn't happen over HTTP 1.1, only HTTP 2.

I am taking a closer looked at this issue. To recap what has been said, the issue happens on HTTP 2.
On the failing case (iodata), the server sends 4 data frames and then it gets stuck, with the following size and fin status:
{4817,nofin}
{5601,nofin}
{4928,nofin}
{5320,nofin}
...STUCK...

On the successful case (binary), the following frames are sent:
{16384,nofin}
{16384,nofin}
{16384,nofin}
{16383,nofin}
{2095,fin}

In both cases, the headers are the same (except for Date):
#{<<"cache-control">>=><<"max-age=0, private, must-revalidate">>,<<"content-length">>=><<"67630">>,<<"content-type">>=><<"application/json">>,<<"date">>=><<"Mon, 25 Mar 2019 07:37:43 GMT">>,<<"server">>=><<"Cowboy">>,<<"x-request-id">>=><<"2m7i721o693j0ub7a4000062">>}

Now I will start to dig up in the code and take a look at how the iodata is being split.

If the sizes are not the same then the bug is probably in https://github.com/ninenines/cowlib/blob/master/src/cow_iolists.erl
Because when sending we go through the same code for both binaries and iolists: https://github.com/ninenines/cowlib/blob/master/src/cow_http2_machine.erl#L1262

@essen yup, it is in cow_iolists. PR incoming.

@essen PR sent here: https://github.com/ninenines/cowlib/pull/76

This should be fixed, Cowboy release pending depending on CI build results. Cowlib 2.7.1 has already been released with the fix for this. Thanks!

Cowboy 2.6.2 is out: https://ninenines.eu/docs/en/cowboy/2.6/guide/migrating_from_2.6/#_cowboy_2_6_2
Also released Cowlib 2.7.2 because 2.7.1 had an issue with OTP-19.
Enjoy!


why i set console.log  in line 13 but the chrome console.log show the line is 28 ?

Describe the bug
A clear and concise description of what the bug is.
your bug should start with lib, like:

[vant] get error xxx

Libarary Info(please complete the following information):
Libarary: [name]

Version [e.g. 22]

To Reproduce
Steps to reproduce the behavior:
Paste your code here or provide a minimal reproduce repo link.
Expected behavior
A clear and concise description of what you expected to happen.
** Error message**
Paste the error message here.
Additional context
Add any other context about the problem here.

pelease provide a minimal repo or an online link(codesandbox/stackblitz) to reproduce the issue.


[openni2] Build error on x64-windows

Package<EMAIL_ADDRESS>Host Environment

Host: x64-windows
Compiler: MSVC 19.38.33133.0
vcpkg-tool version: 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e
vcpkg-scripts version: 0e47c1985 2023-12-15 (3 days ago)

To Reproduce
vcpkg install openni2
Failure logs
CMake Error at ports/openni2/portfile.cmake:3 (message):
  Could not find <cor.h>.  Ensure the NETFXSDK is installed.
Call Stack (most recent call first):
  scripts/ports.cmake:170 (include)

I found issue https://github.com/microsoft/vcpkg/issues/12039 with the difference that I have the SDK installed. cor.h can be found under C:/Program File (x86)/Windows Kits/NETFXSDK/4.8.1/Include/um. vcpkg is made available for the current, non-admin user only and the installation fails for said user.
I wrote a simple CMakeLists.txt that just contains the find_path part, and I could reproduce that CMake isn't able to find the cor.h. I could fix it by providing a CMAKE_INCLUDE_PATH environment variable. Is there something similar I could do for vcpkg?

@herrwusel We recommend using vs to install NETFXSDK (COR_H_PATH is provided by default).
Of course, you can manually pass in your locally installed NETFXSDK via CMAKE_INCLUDE_PATH.

Thank you for your reply! Interestingly enough I installed NETFXSDK via vs.

COR_H_PATH is not set though.

Manually setting COR_H_PATH and installing NET 4.7.2 solved this issue for me. Thanks!


docs: Fix typo in bootstrap config

What type of PR is this?

Make the example config match the api spec
What this PR does / why we need it:
The example config is invalid, the key should be value and not bootstrap according to the API reference: https://gateway.envoyproxy.io/v0.6.0/api/extension_types/#proxybootstrap

/retest


Contributing

@MicheleBertoli   nice work :+1:

Thanks @kasiriveni for your PR.
I understand the point of having some contribution guidelines and a changelog.
However, I don't believe they add any value to the repo at this stage.
Therefore I'm going to close this.


podman.errors.exceptions.APIError: 400 Client Error: Bad Request

We're using script for image scanning. It's executed on pipeline agent( RedHat 8.5 with podman 3.3.1) and got following error:
podman.errors.exceptions.APIError: 400 Client Error: Bad Request (error pushing image "container-upload.us-1.crowdstrike.com/docker.io/library/python:slim": trying to reuse blob sha256:fd95118eade99a75b949f634a0994e0f0732ff18c2573fabdfc8d4f95b092f0e at destination: unable to retrieve auth token: invalid username/password: unauthorized)
I've attached details in this txt file for your reference.
27.txt
I've had a quick look, it seems a missing "auth_config" parameter in your "container_push" method??
https://github.com/CrowdStrike/container-image-scan/blob/5258ea8b242173e47954bd723d6f7d1b71bda949/cs_scanimage.py#L89
podman-py lib ref:
https://github.com/containers/podman-py/blob/a174c43ea07c960cc11af8444ad7143094749246/podman/domain/images_manager.py#L187
Thanks!
BTW:
The client id and secret are available and have been verified.

Hello,
Thank you for reporting this. Can you provide the version of podman and python3-podman that you are using?

RedHat 8.5 with podman 3.3.1
python3-podman: podman (3.2.0)

And in order to rule out potential podman service configuration issue on above pipeline agent, I tested the script on an Ubuntu server and got same error. Versions info is as following:
Ubuntu 20.04.4 LTS with podman 3.4.2
python3-podman: podman (4.0.0)
And in both above cases, podman login and podman push are working fine.

I've had a look at podman-py latest release 4.0.0, seems like auth_config is not implemented yet... that should be the reason of causing this error, just my thought anyway, please check and confirm.

Hello,
Please make sure that both podman and python3-podman are at version 4.

Closing as there isn't any further information provided on this. Please re-open with more info around podman versioning.


feat: Popover overlay

This PR adds an (optional) overlay element builder to the Popover to enable modal behavior. To simplify the review process, I'll create separate PRs to add this functionality to the other floating builders and once they are all merged/released will close #1023
It will be portalled to the same destination as the content.

[x] Update data-portal prop once #1018 is merged and before this is merged
[x] Add example preview component to docs

Added a comment in #1023


python310Packages.mailchecker: 4.1.18 -> 5.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.mailchecker is: "Module for temporary (disposable/throwaway) email detection"
meta.homepage for python310Packages.mailchecker is: "https://github.com/FGRibreau/mailchecker"
meta.changelog for python310Packages.mailchecker is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 5.0.0 with grep in /nix/store/7nar8wclfmykp3wg4fzbw7igif70acy5-python3.10-mailchecker-5.0.0
found 5.0.0 in filename of file in /nix/store/7nar8wclfmykp3wg4fzbw7igif70acy5-python3.10-mailchecker-5.0.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
dvc
dvc-with-remotes
python310Packages.mailchecker
python310Packages.python-benedict
python39Packages.mailchecker
python39Packages.python-benedict

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7nar8wclfmykp3wg4fzbw7igif70acy5-python3.10-mailchecker-5.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.mailchecker https://github.com/r-ryantm/nixpkgs/archive/98ba23d04346c36eb359bd254834dad132e88434.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7nar8wclfmykp3wg4fzbw7igif70acy5-python3.10-mailchecker-5.0.0
ls -la /nix/store/7nar8wclfmykp3wg4fzbw7igif70acy5-python3.10-mailchecker-5.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages marked as broken and skipped:

dvc
dvc-with-remotes

2 packages failed to build:

python310Packages.python-benedict
python39Packages.python-benedict

2 packages built:

python310Packages.mailchecker
python39Packages.mailchecker

Maintainer pings
cc @fabaff for testing.

nixpkgs-review runs fine on NixOS 22.05 Linux 64.
python-benedict fails to build because it requires a fixed version of mailchecker. Will fix this in a separate PR.


Implement Response Continuation Token Size Limit when querying items

Description
Adds a feature to add a response continuation token size limit when querying items. This also fixes an issue where a response header value is too large, as currently AIOHTTP only supports up to 8KB. To use this feature, pass in the new kwarg "response_continuation_token_limit_in_kb" with a positive integer value. A value of 0 will make it default back to no limit.
Here is an example:
query = "Select * from c where c.some_value='2'"
response_query = container.query_items(query, partition_key='123', max_item_count=100,
response_continuation_token_limit_in_kb=1)
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run python - cosmos - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos

/azp run python - cosmos - tests


The dataflow score is 0

WARNING:root:WARNING: There is no reference data-flows extracted from the whole corpus, and the data-flow match score degenerates to 0. Please consider ignoring this score.
I get this warning when I'm calculating, and I want to know why is this a problem

It is warning from the original implementation, so i can not consult on why dataflow works as it works =)
I can suggest you calc single example and get this warning. data flow designed to be applied to some corpus, not the single example.


Add metrics for Oracle Database Connector

Closes #71

The test failures are addressed in another PR.

Merged, thanks @pruivo


async... await

async... await
Description

await and async functions dont work on nunustudio

const json = await fetch('https://image.shutterstock.com/image-photo/beautiful-water-drop-on-dandelion-260nw-789676552.jpg').then(response => response.text());
console.log(json);

Version

Platform

Web Version [X]
Windows [X]
Linux [X]

Hello
Since the update and iniialize methods need to be syncronized with the rest of the engine they are not async.
You can however define other async methods / classes etc.
Cheers


RC1 Release Checklist

[ ] Write release notes (@cliffckerr)
[ ] Grab screenshot for InfoHub (@lgeorge-idm)
[x] Cut a release branch and tag (@lgeorge-idm)
[ ] Update Docker container at https://hub.docker.com/r/idmod/covasim (@devclinton)
[ ] Publish Python package on PyPi (@cliffckerr)

Release branch at https://github.com/InstituteforDiseaseModeling/covasim/releases/tag/v0.29.8

@bryanressler-idmod, screenshots:


Release 2022.12.24

This release adds the following fix:

#67

:tada: This PR is included in version 1.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


updating reusable workflow to use buildah for multi-arch builds

Changes introduced with this PR
Currently our multi-arch builds to not properly set expiration dates in quay.io. It was suggested that we try buildah in place of docker buildx, so this is an attempt at that change.

By contributing to this repository, I agree to the contribution guidelines.

I've moved this out of draft state because it has proven to build example plugin containers correctly and for the resulting quay manifests to have proper expiration dates set. I spent some time trying to address the problems with repeated work in the workflow, but I find the Github actions format makes this complicated. If anyone can suggest specific improvements, please open a PR against this one.

I realized I could squash the entire tags into the conditional vars up front, and then the action would only need a single build and single push step. I think this will address most of @webbnh's concerns.