bluetooth: services: bas: Move log module to bas and guard BT_BAS_BLS

The bas service can be used without BT_HCI=y. However, if BT_HCI is not set, the BT Kconfig.logging is not included, which results in
module = BT_BAS
module-str = BAS
source "subsys/logging/Kconfig.template.log_config"
not being defined. Furthermore, BT_BAS_BLS depends on BT_BAS, so move the log module definition to Kconfig.bas, guarded by BT_BAS, and guard BT_BAS_BLS behind BT_BAS.
This issue was detected by a project setting BT_HCI_IPC=y, LOG=y and BT=y
Lastly, remove redundant LOG_LEVEL define.

Seems this was a false positive due to downstream changes :) Nothing to see here :D

Seems this was a false positive due to downstream changes :) Nothing to see here :D

BT_BAS_BLS should still depend on BT_BAS :) So some of the changes here are still valid. Will you continue with those @bjarki-andreasen ?


chore(fe): uplift FE packages to latest version

chore(fe): uplift FE packages to latest version
SUMMARY

Changes:

Run npm audit fix.
Uplift fetch-mock to v11 + corresponding refactoring for superset-ui-core.
Uplift following packages to latest version.

@testing-library/react-hooks
@testing-library/jest-dom
webpack-cli

Move @types/* packages in superset-ui-core to devDependencies.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@rusackas Do you think we may have a breaking change here?

Uplift fetch-mock to v11 + corresponding refactoring for superset-ui-core.
Uplift following packages to latest version.

@testing-library/react-hooks
@testing-library/jest-dom
webpack-cli

These are dev dependencies and any breakages are detected in frontend-build CI. Current check is green so these uplift are safe

Move @types/* packages in superset-ui-core to devDependencies.

Moving of @types/* package that are actual dependency will generate linting issue. This can be illustrated by moving @types/json-bigint into devDependencies in superset-ui-core. Current build is green so the uplift is safe.

Only risk is with npm audit fix as it might bump packages not respecting semver. However, from my inspection, they're mostly version bumps of dev dependencies (this is at 95% confidence interval :D)

Sorry for letting this sit too long. Looks like it needs a rebase, but barring that, it's fine with me if it passes CI!


Subscription ID shell variable missing in the variable list

Would be good to add 'SUBID' shell variable to the list below.
PREFIX="aks-egress"
RG="${PREFIX}-rg"
LOC="eastus"
SUBID="Your Azure Subscription ID"  # Currently missing in the variable list!
PLUGIN=azure
AKSNAME="${PREFIX}"
VNET_NAME="${PREFIX}-vnet"
AKSSUBNET_NAME="aks-subnet"
# DO NOT CHANGE FWSUBNET_NAME - This is currently a requirement for Azure Firewall.
FWSUBNET_NAME="AzureFirewallSubnet"
FWNAME="${PREFIX}-fw"
FWPUBLICIP_NAME="${PREFIX}-fwpublicip"
FWIPCONFIG_NAME="${PREFIX}-fwconfig"
FWROUTE_TABLE_NAME="${PREFIX}-fwrt"
FWROUTE_NAME="${PREFIX}-fwrn"
FWROUTE_NAME_INTERNET="${PREFIX}-fwinternet"

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

ID: a38439d0-0125-3445-1c0a-a03b940e315d
Version Independent ID: c6436a35-94b9-6396-3b13-9291f0a17b21
Content: Restrict egress traffic in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/limit-egress-traffic.md
Service: container-service
GitHub Login: @palma21
Microsoft Alias: jpalma

Thanks for the feedback, I've assigned this feedback to the doc author to see if incorporating the 'SUBID' shell variable in that list of environment variables is something they want for this example.

Thank you @ganrad for the feedback.
We've added a task to our backlog and will prioritize accordingly.
#please-close


keptn update project results in OOMKill of configuration-service

This is with Keptn 0.10.0:
When I create a project and set an upstream I managed to OOMKill configuration-service:
shipyard.yaml
apiVersion: "spec.keptn.sh/0.2.2"
kind: "Shipyard"
metadata:
  name: "shipyard-quality-gates"
spec:
  stages:
    - name: "hardening"

Watch Kubernetes pods
watch -n1 kubectl get pods -n keptn

Create project and update git upstream
keptn create project example --shipyard=./shipyard.yaml
keptn update project example --git-user=wrong-user --git-token=wrong-token --git-remote-url=https://github.com/keptn/keptn.git

The CLI responds with
Starting to update project
Error: Update project was unsuccessful. Put "http://configuration-service:8080/v1/project/example": EOF

And if you watch the pods closely, you will see this at some point:

I investigated this issue, and the reason for the OOMKill was not related to providing invalid user credentials, but the attempt to use the keptn/keptn repository, which has ~130 branches and well over 6.5k commits in its history  ;) Usually an upstream repo for a project will not have these dimensions, but if yes then the solution is to increase the memory limits for the configuration service pod.


Dashboard setup sm

Description
Refactor dashboard and review cards
Fixes

change to axios with auth

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Change Status

[ ] Complete, tested, ready to review and merge
[x] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[x] physical tests, waiting on end to end
[ ] Test B

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Fixed merge conflicts locally


Support RFC 3890

Support RFC 3890 (TIAS) for unmarshaling bandwidth.

Hi skyuplam,
as rfc3890#section-6.2.2 descriped, TIAS has an integer bit-rate value in bits per second. in rfc4566#section-5.8, CT and AS is interpreted as kilobits per second by default, so the bandwidth value should be divided by 1000 if b type is TIAS。

 fn unmarshal_bandwidth(value: &str) -> Result<Bandwidth> {     let mut parts: Vec<&str> = value.split(':').collect();     if parts.len() != 2 {         return Err(Error::SdpInvalidSyntax(format!("b={value}`")));
}
let experimental = parts[0].starts_with("X-");
if experimental {
    parts[0] = parts[0].trim_start_matches("X-");
} else {
    // Set according to currently registered with IANA
    // https://tools.ietf.org/html/rfc4566#section-5.8 and
    // https://datatracker.ietf.org/doc/html/rfc3890
    let i = index_of(parts[0], &["CT", "AS", "TIAS"]);
    if i == -1 {
        return Err(Error::SdpInvalidValue(parts[0].to_owned()));
    }
}

let bandwidth = parts[1].parse::<u64>()?;

Ok(Bandwidth {
    experimental,
    bandwidth_type: parts[0].to_owned(),
    bandwidth,
})

}
`

Hi @skyuplam,
as rfc3890 section-6.2.2 descriped, TIAS has an integer bit-rate value in bits per second. in rfc4566#section-5.8, CT and AS is interpreted as kilobits per second by default, so the bandwidth value should be divided by 1000 if b type is TIAS.
` fn unmarshal_bandwidth(value: &str) -> Result {
// ...

let bandwidth = parts[1].parse::<u64>()?;

Ok(Bandwidth {
    experimental,
    bandwidth_type: parts[0].to_owned(),
    bandwidth,
})

} `

the correction ref : https://github.com/zhiyong0804/webrtc/commit/e38f873dcde53a0303cd93011c2d61c9c82491d8

Hi @zhiyong0804 , I think this is not necessary as the bandwidth type has already implied the unit of the value according to the spec whereas the consumer of this sdp crate should be aware when using the bandwidth.


Use Tornado as base IO loop

This is a big refactoring I have in mind which would break backward compatibility. As such this will probably create 2 main forks of pyftpdlib: 1.x and 2.x, both of which will have their own doc and GIT branches. Using Tornado would give numerous advantages:
PROS

an native async HTTP client: it is a very common use case to want to execute certain commands by making async HTTP requests towards external services, especially on login. Right now, the only way to do this is by using ThreadedFTPServer class, which turns pyftpdlib from an async to a threaded server, losing all scalability advantages
the possibility to run blocking operations in an async-like thread executor: this is another use-case which requires using ThreadedFTPServer class.
the possibility to use co-routines instead of callbacks: this supposedly gives the user the possibility to customize / override the base implementation more easily.
the possibility to integrate with Twisted or asyncio IO loops
we can get rid of pyftpdlib internal IO loop implementation which despite it is super fast it's one less thing to maintain
we can get rid of the internal SSL handling and delegate it to Tornado; again, one less thing to maintain
in general, we can "delegate" all connection / transport related issues to the Tornado project, since we no longer have to maintain a "home made" async IO loop, base TCP and SSL transport stuff. We will also get rid of the asyncore / asynchat dependancy which is clunky and outdated.

CONS

tornado IO loop will probably be slower than existent pyftpdlib IO loop, which is very specific to pyftpdlib and has been massively tuned towards performance
tornado IO loop does not support sendfile() integration; this will have to done either by patching Tornado or by providing an upstream PR for the Tornado project (see here.
breakage of backward compatibilty

@btimby


add azure webapps for container

started working on this here: https://github.com/subugoe/shinycaas

Great! Let me know if you run into problems.


traing code and  configuration requirements

Hi, bro,
could you upload the coding about how to training the model?
And, please add some introduction about the configuration requirements, that is, what kind of machine and card is needed, VRAM?

Hi, we are preparing the code for the training stage. You can WATCH our repo; we will let you know when it is ready.
For now, you can refer to our paper for training configuration requirements.
For inference, I think you can use any GPU with memory larger than 24G.

Code and data have been updated at fdc593901f2cd6056d73a1e8016557abe4d2f72e


Fix illuminate database version

Laravel and it's package are not semver, https://github.com/illuminate/database/commit/d9e2379375c6a5d7a8d2444113ab9017cefd98c0 is a good reminder as it means that this library is broken with illuminate/database 5.3+

Great...
Thanks for fixing this!


Configure buffer size?

Is there a way to configure the buffer size?
There seems to be a way to do that with AVPlayer: http://stackoverflow.com/questions/21400591/buffer-size-for-avplayer-avplayeritem

There's no way right now with AudioPlayer. I'll look into that!

That's not very urgent. Just a thought for bad network connections.

On 02.12.2015, at 19:45, Kevin Delannoy<EMAIL_ADDRESS>wrote:
There's no way right now with AudioPlayer. I'll look into that!
—
Reply to this email directly or view it on GitHub.

What would you use that for? Basically, it's just delaying the player from playing content. I don't see how that would really help bad connection but maybe I misunderstood your goal.

I use AudioPlayer to play radio livestreams. So having a huge enough buffer in bad connection situations is important.
I know AVPlayer does not allow setting the buffer size explicitly. Therefore the only way is to delay the player because AVPlayer continues fetching the audio in the background, so the result is some cache time.

I actually want to do the exact opposite. Tracks start playing when on avarage 900 seconds are loaded, which in my opinion is way too much.

This should now be possible with:
AVPlayer.automaticallyWaitsToMinimizeStalling
https://developer.apple.com/reference/avfoundation/avplayer/1643482-automaticallywaitstominimizestal
AVPlayerItem.preferredBufferDuration
https://developer.apple.com/reference/avfoundation/avplayeritem/1643630-preferredforwardbufferduration

Feature is on master, thanks for @ddfreiling


Enum type issue

Hello, I am using Prisma Zod and nestjs-zod and nestjs-zod-prisma
Which should be compitable with each others
I am generating the Zod schemas with npx prisma generate
And everything goes well except for Role Enum
schema.prisma
enum Role {
  USER
  STORE_OWNER
}

so when i run the npx prisma generate A Schema is generated based on my prisma table definitions
zod/storeowner.ts
import { Role } from './enums';

export const StoreOwnerModel = z.object({
  role: z.nativeEnum(Role).default(Role.STORE_OWNER),
  // etc...
});
export class StoreOwnerEntity extends createZodDto(StoreOwnerModel) {}

zod/enums.ts
export enum Role {
  USER = "USER",
  STORE_OWNER = "STORE_OWNER"
}

When using the StoreOwnerEntity in my service it is giving ts error
store-owner.service.ts
  async findFirst(): Promise<StoreOwnerEntity | null> {
    return this.prismaService.storeOwner.findFirst();
  }

Error
Types of property 'role' are incompatible.
      Type 'import("c:/Users/saybers/Desktop/qbite/backend/node_modules/.prisma/client/index").$Enums.Role' is not assignable to type 'import("c:/Users/saybers/Desktop/qbite/backend/src/modules/zod/enums").Role'.
        Type '"USER"' is not assignable to type 'Role'.ts(2322)

I believe it's because Prisma generates "fake" enums, which are really just an object. Don't have a solution though


OSError: [Errno 12] Cannot allocate memor

**`(open-mmlab_ldh5) ➜  mmdetection git:(master) ✗ CUDA_VISIBLE_DEVICES=4,5,6,7 ./tools/dist_train.sh ./configs/rpc/faster_rcnn_r50_fpn_1x.py 4 --validate
2019-05-24 20:08:24,708 - INFO - Distributed training: True
2019-05-24 20:08:25,313 - INFO - load model from: modelzoo://resnet50
2019-05-24 20:08:25,611 - WARNING - unexpected key in source state_dict: fc.weight, fc.bias
missing keys in source state_dict: layer2.2.bn1.num_batches_tracked, layer2.2.bn3.num_batches_tracked, layer4.0.bn3.num_batches_tracked, layer1.0.bn3.num_batches_tracked, layer3.0.bn1.num_batches_tracked, layer4.1.bn1.num_batches_tracked, la
yer2.0.downsample.1.num_batches_tracked, layer1.1.bn2.num_batches_tracked, layer2.1.bn1.num_batches_tracked, layer3.1.bn3.num_batches_tracked, layer2.2.bn2.num_batches_tracked, layer1.2.bn3.num_batches_tracked, layer4.2.bn1.num_batches_track
ed, layer3.5.bn3.num_batches_tracked, layer2.3.bn1.num_batches_tracked, layer4.0.bn1.num_batches_tracked, layer3.0.bn3.num_batches_tracked, layer3.2.bn3.num_batches_tracked, layer3.4.bn1.num_batches_tracked, layer4.0.downsample.1.num_batches
_tracked, layer3.4.bn3.num_batches_tracked, layer3.0.bn2.num_batches_tracked, layer2.1.bn2.num_batches_tracked, layer1.0.bn2.num_batches_tracked, layer2.3.bn2.num_batches_tracked, layer1.1.bn3.num_batches_tracked, layer3.1.bn1.num_batches_tr
acked, layer2.0.bn3.num_batches_tracked, layer2.0.bn1.num_batches_tracked, layer3.4.bn2.num_batches_tracked, layer2.0.bn2.num_batches_tracked, layer3.3.bn2.num_batches_tracked, layer1.0.bn1.num_batches_tracked, layer1.2.bn2.num_batches_track
ed, layer2.3.bn3.num_batches_tracked, layer3.3.bn3.num_batches_tracked, layer3.1.bn2.num_batches_tracked, bn1.num_batches_tracked, layer4.2.bn2.num_batches_tracked, layer3.5.bn2.num_batches_tracked, layer3.3.bn1.num_batches_tracked, layer3.5
.bn1.num_batches_tracked, layer4.2.bn3.num_batches_tracked, layer4.1.bn3.num_batches_tracked, layer4.0.bn2.num_batches_tracked, layer1.1.bn1.num_batches_tracked, layer3.0.downsample.1.num_batches_tracked, layer4.1.bn2.num_batches_tracked, la
yer3.2.bn2.num_batches_tracked, layer1.2.bn1.num_batches_tracked, layer1.0.downsample.1.num_batches_tracked, layer2.1.bn3.num_batches_tracked, layer3.2.bn1.num_batches_tracked
loading annotations into memory...
loading annotations into memory...
loading annotations into memory...
loading annotations into memory...
Done (t=202.67s)
creating index...
index created!
Done (t=254.98s)
creating index...
index created!
Done (t=278.15s)
creating index...
Done (t=279.31s)
creating index...
index created!
index created!
loading annotations into memory...
loading annotations into memory...
loading annotations into memory...
loading annotations into memory...
Done (t=1.17s)
creating index...
index created!
Done (t=1.26s)
creating index...
index created!
Done (t=1.36s)
creating index...
index created!
Done (t=1.82s)
creating index...
index created!
2019-05-24 20:13:14,064 - INFO - Start running, host: ices@ices-SYS-4028GR-TR, work_dir: /home/ices/andrewjyz/Projects/detection/2019-5-23-18-56/mmdetection/work_dirs/faster_rcnn_r50_fpn_1x
2019-05-24 20:13:14,065 - INFO - workflow: [('train', 1)], max: 12 epochs
Traceback (most recent call last):
File "./tools/train.py", line 95, in
main()
File "./tools/train.py", line 91, in main
logger=logger)
File "/home/ices/andrewjyz/Projects/detection/2019-5-23-18-56/mmdetection/mmdet/apis/train.py", line 59, in train_detector
_dist_train(model, dataset, cfg, validate=validate)
File "/home/ices/andrewjyz/Projects/detection/2019-5-23-18-56/mmdetection/mmdet/apis/train.py", line 171, in _dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/site-packages/mmcv/runner/runner.py", line 356, in run
epoch_runner(data_loaders[i], kwargs)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/site-packages/mmcv/runner/runner.py", line 258, in train
for i, data_batch in enumerate(data_loader):
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 193, in iter
return _DataLoaderIter(self)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 469, in init
w.start()
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/process.py", line 112, in start
self._popen = self._Popen(self)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/popen_fork.py", line 20, in init
self._launch(process_obj)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/popen_spawn_posix.py", line 59, in _launch
cmd, self._fds)
File "/home/ices/andrewjyz/miniconda3/envs/open-mmlab_ldh5/lib/python3.7/multiprocessing/util.py", line 420, in spawnv_passfds
False, False, None)
OSError: [Errno 12] Cannot allocate memory
`
My dataset is COCO format.  The Json file has "segmentation" data. The size of train JSON file is 7.0GB.  The numble of picture is 100000(img_size 1851*1851 ).  When I train model , it can not load the dataset and the above error will appear.
My server has 252GB of memory .  GPU is GeForce GTX 1080Ti and  memory-Usage is 11178MiB.
I would like to ask whether all data is imported into memory at one time during the training?
If the data is too big, how to train.
I hope someone can help me solve the problem, thanks.

For each dataloader process, the whole annotation (json) file is loaded into memory. You may reduce the worker number (by default is 2*GPU_NUM) and disable validation during training.

OK,  I'm going to try.

I want to know how to modify worker number. Because I modified the imgs_per_gpu=1 and the workers_per_gpu=1 of the config file.  But it seems that worker nums is still unchanged.

I find the problem occured because the CPU memory usage is too high in my Machine!
kill some other progress!

I have the same problem when loading coco dataset, but it used to work fine with mmdetv1.

I found the same problem and solved it by expanding the swap partition size.
Step-by-step solution:

Increase the swap size, such as  2G.
dd if=/dev/zero of=/var/swap bs=1024 count=2048000

Setup the swap file.
mkswap /var/swap

Activate the swap partition.
swapon /var/swap

Good luck!

@mzk665
Thanks for providing the good solution.
I cannot activate the swap partition. The error message is as follows:
root@mmdetection20200628:/mmdetection# swapon /var/swap
swapon: /var/swap: swapon failed: Operation not permitted

Perhaps the docker setting is the reason I can't activate the file. Are you working in a docker environment? Do you know how to solve the problem ?


sbref bug in Pre-release 23.2.0a2?

What happened?
Hi, we're testing the recent pre-releases for 23.2.0, and fmriprep is crashing with the error below. The same code was working fine on the previous version of fmriprep, so maybe something changed with how sbref images are handled?
What command did you use?

Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Traceback (most recent call last):
  File "/opt/conda/envs/fmriprep/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/envs/fmriprep/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/fmriprep/cli/workflow.py", line 115, in build_workflow
    retval["workflow"] = init_fmriprep_wf()
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/fmriprep/workflows/base.py", line 93, in init_fmriprep_wf
    single_subject_wf = init_single_subject_wf(subject_id)
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/fmriprep/workflows/base.py", line 644, in init_single_subject_wf
    bold_wf = init_bold_wf(
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/fmriprep/workflows/bold/base.py", line 252, in init_bold_wf
    bold_fit_wf = init_bold_fit_wf(
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/fmriprep/workflows/bold/fit.py", line 208, in init_bold_fit_wf
    sbref_files = get_sbrefs(
  File "/opt/conda/envs/fmriprep/lib/python3.10/site-packages/fmriprep/workflows/bold/fit.py", line 86, in get_sbrefs
    entities.update(suffix="sbref", extension=[".nii", ".nii.gz"], **entity_overrides)
TypeError: dict.update() got multiple values for keyword argument 'suffix'

Additional information / screenshots
No response

Yup, thanks for the report! A little surprised since I've been testing on a dataset with sbrefs, but we'll figure it out.

Ah, got it. It's the filter file. Could you share its contents? And the full file listing of one of your datasets?

The next release will include a fix.
I don't think this is a critical bug that requires an immediate release. In the meantime, you can just remove the "suffix": "sbref" bit from your BIDS filter file.

Thanks! Much appreciated. We updated our config file based on your suggestions, and it's working now. Still running some tests, but looking forward to seeing if this new release resolves some issues we were seeing with distortion correction.


V8 will not garbage collection?

I will load a helper script in advance:
ctx, _ = v8go.NewContext(iso)
_, err = ctx.RunScript(content, "tool.js")

tool.js just contains a helper class like this:
class Helper {
  add(a, b) { return a +b; }
}

And I will invoke Helper.add function many times:
a, b := 4, 5
val, err := ctx.RunScript("(function(){ const h = new  Helper();  return h.add(%d, %d)) })();", "")

I found UsedHeapSize of iso continuously increased and never went down, V8 will not gc?

Duplicate of https://github.com/rogchap/v8go/issues/105


pod install event with RN > 0.60 ?

Hi there,
I see in the ios README that we need to add some lines to the Podfile and still run pod install afterwards, is it really the case for RN > 0.60 ?
Thanks

It is more the case with RN>60 now that it is based on Cocoapods. Basically any time you do anything with react-native >=60 (even updating react-native dependencies) you will need to pod install afterwards

alright, thanks !


Get rid of the docker dependency

In the manwhile, we start to depend on the modified version of ELSEPA taking the ELSEPA_DATA environment variable.
The new elscata() function now takes paths to the elscata binary and the data directory. They default to /opt/elsepa and /opt/elsepa/data, respectively. Is this a sensible default? Any alternative ideas for making the installation procedure more foolproof?

Consider installing Elsepa in ~/.local, or /usr/local, and have Python figure out where it is by searching $PATH (using shutil.which). Another option is having the user setting ELSEPA_DATA in the bashrc or setting it up in a virtual env.

Good points! I added an "install" target to the ELSEPA makefile, which installs to /usr/local by default and asks the user to set the ELSEPA_DATA environment variable.
Pyelsepa now uses PATH and ELSEPA_DATA by default, but this can be overridden.


iOS - Open a file in draw.io from One Drive / Dropbox / Device - Errors

Device: 2018 iPad Pro, iOS 12.3.1, using draw.io in Safari.
Also tested on 2016 iPad, iOS 12.3.0 & iPhone X 12.3.1.
Doesn’t matter whether popups are enabled or disabled in Safari preferences - the behavior is the same.
Cookies are not blocked.
Minimal draw.io theme by default.
(Authentication with One Drive is successful)

Open an existing file results in an error “popup windows is disconnected”
Redirected to the One Drive app, which then displays an error.
Redirected to One Drive in the browser. Select the file, click on Open and nothing happens.

(Tested with and without closing the original error “popup window is disconnected”)

Following the same procedure to open the file stored in DropBox (authentication also ok), results in Error 409.

Open from device (iCloud) results in another error: “This web page was reloaded because a problem occurred”

I can open draw.io diagrams from links in about.draw.io/blog posts and Google Drive on iOS without problems.

Still an issue?

I have the issue that it reloads when trying to open a diagram from iCloud (option “Local Storage”) in Safari on an iPad Pro 12 with latest iOS. The same file loads fine when I copy it to Dropbox and open it from there. This worked in the past and I see the issue for two weeks, or so

The real problem is that iOS is triggering the apps installed. To solve you could:

uninstall the app
use Safari in private browsing mode
lock Safari with Guided access

The last one turned out to be my favorite because I can quickly turn it on and off without having to uninstall/install apps or login every time.
More details on how to do this you can find here


HDDS-11270. [hsync] Add DN layout version (HBASE_SUPPORT/version 8) upgrade test.

What changes were proposed in this pull request?
HDDS-11270. [hsync] Add DN layout version (HBASE_SUPPORT/version 8) upgrade test.
Please describe your PR in detail:
This is a test-only PR built on top of HDDS-11259.
Add a test class TestDatanodeUpgradeToHBaseSupport which has two test cases

PutBlock request with incremental chunk list
Block finalization request

These two requests are rejected before upgrade finalizes and accepted after upgrade.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11270
How was this patch tested?
Test only code

will rebase this PR against master after the HDDS-7593 feature branch gets merged.

BTW I filed HDDS-11282 to extract the common setup code for these types of upgrade tests.

Merged. Thanks @errose28 !


/bin/env: bad interpreter: No such file or directory

When installing imgflo-url on MacOS, running it results in /bin/env: bad interpreter: No such file or directory.
/bin/env node doesn't resolve on my system, only /usr/bin/env node does.
cc @jonnor

Released in 0.9.2


Make it easy to add integration tests and smoke tests

Describe your changes :

I worked on a new Dockerfile and docker-compose.yml because I find it difficult to write integration tests and smoke tests using Github actions. The idea is to move as much code as possible from Github actions to Dockerfile and docker-compose.yml to be able to test it locally without the need of pushing it to Github or write too much YAML code and because Java/Python test code is more maintainable than YAML files.
Example
To build, run, and test all containers is only one command on our local development and on GH action.
# GH action takes 12 mins
# py-tests takes usually between 24 and 33 mins
# pytests has been implemented for this PR.
# tstests has not been implemented
docker compose --file docker/compose/docker-compose.yml up pytests [tstests...]

Example
To add new integration tests or smoke tests.

Develop the test in IntelliJ.
Package it in the multi-stage Dockefile including the dependencies like a database.
Run it with docker compose.
Push to GH.

Implementation details
The multi-stage Dockerfile with the integration with docker compose is the backbone of this solution.
docker build makes things faster in development because of the caching capabilities.
RUN --mount=type=cache,target=/root/.m2 mvn clean package -B -DskipTests

docker compose makes it easier to stop the OM container to use OM running in IntelliJ for debugging purposes.
It's important to keep a good .dockerignore to avoid copying useless files in the context building of docker.
docker compose provides parallelism out of the box by grouping tests in different services.
There is no publishing of artifacts here. This GH action will be executed every time there is a PR.
RUN pip install \
    datamodel-code-generator
RUN datamodel-codegen --input catalog-rest-service/src/main/resources/json  --input-file-type jsonschema --output ingestion-core/src/metadata/generated
RUN pip install ./ingestion[trino,mysql]
RUN pip install ./ingestion-core

Type of change :

[x] Improvement

Hi, thanks alberto for this. If it runs faster then it already makes sense, as it was taking longer and longer everytime. Some comments from my side:

rename the directory to make it explicit that it is for testing
build python image from 3.9-slim or something like that
reuse as many existing commands as possible, such as the db creation of MYSQL or the make recipes on Python side
check that we can properly pick up the resulting XML files of make coverage to pass them to sonar
Thanks!


Make BigMessageSender conform to MessageSender

Follows #704; spun out of #700, the continuing steps towards https://github.com/wellcomecollection/platform/issues/4596
One of the big uses of ObjectLocation in the catalogue is in the big-messaging library; elsewhere it's mostly abstracted away behind things like the VersionedHybridStore classes. This patch tries to constrain the sprawl of big-messaging:

BigMessageSender now conforms to MessageSender, our generic trait for sending messages (used for sending directly to SNS); this means we can swap it out for a pure, in-memory, sans-big-messaging version in tests that aren't testing big-messaging directly. Less Docker images to pull in tests.
In turn, this means the inner workings of our apps are less coupled to big-messaging, if we wanted to move away from it in the future.

We only have an S3 implementation of BigMessageSender; the in-memory implementation is gone. The S3 implementation is the one we actually care about, and makes the Location wrangling easier.
We could make big-messaging generic against the object store, but I think it's way more likely that we'd spend the development time to do away with it entirely. I thus invoke YAGNI and say we simplify to one implementation, and do the work to make it more generic if we ever need it.

A lot of the big-messaging tests were only testing other tests (e.g. a fixture that was only ever invoked by that test). All that code is gone now.

This gets things in an easier state for swapping out ObjectLocation for the new-style S3ObjectLocation, which hopefully I'll be able to do next.

Although the diff is big, a lot of it is just de-denting code a few levels, now we don't have to set up an SNS topic and S3 bucket in every test.

This is enormous, so I'm going to break it down into smaller pieces (again).

I realise this PR is monstrously big; suggestions for how to break it into smaller parts welcomed.


[Conf] Image layer is not updated if it's a symlink, when we update the conf in file name

Check if the same problem occurs for a text too

In fact the bug was #27


Questions about Pretrained model and semanticKitti

Hi @HuguesTHOMAS
Thanks for sharing you code,I have two questions.
Firstly,I have test the pretrained model of NPM3D on val and I found the miou is 0.92.But when I train a model using "training_NPM3D.py",and test it  on val, I found the miou is just 0,87,so why the pretrained model that got from the github is much better than my trained model?
Secondly,I notice that you have got a SOTA result on semanticKITTI competition,I'm very interested with it,will you sharing you code again?
Best,
xu

Hi @shuxu,
For your first question, did you use the same parameters as the pretrained model? At least
first_subsampling_dl = 0.04
in_radius = 2.0

instead of
first_subsampling_dl = 0.08
in_radius = 4.0

For your second question, I did not implement it very well, just a fast test to see the performances on such dataset. I might share the code in the future, but it would be quite some work to clean it and right now I have other priorities.
If you really want the code and you are not afraid of digging into it (with the only help of some comments I wrote), I can share it with you by email.
Best,
Hugues

If you really want the code and you are not afraid of digging into it

Not afraid :)

Hi all,
Given that many people are asking for it I will upload the code for semantickitti, even if its is not very clean and kind off buggy.

See the code here.

@HuguesTHOMAS , Thanks a lot for your kind help :)


Nether Ores have no textures

This is for version 2.0.3 on NeoForge version 21.0.42

Will be fixed later that day.

Didn't mean to close it, also the blocks don't drop anything and cannot be mined


Implement timer mode

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
When using the Anova App to send a timer, there are three different modes:

Start manually
Start automatically
Start immediately (when the pre-heating begins)

This option seems to be missing from the service
Describe the solution you'd like
An additional option for the service would be great.
Describe alternatives you've considered
Well - there pretty much isn't any aparat from leaving things as they are/using the app instead of HA ;)
Additional context
No required - I think.

Any chance to get this implemented?
While it doesn't matter for most of the stuff, I often cook things that require only a short, precise timing (Eggs, Bread Rolls, etc.)...

I will take a look.

Implemented in the main branch. But need to do some tests. Will appreciate if someone will test too.

Thank you very much! I tried it today and timer mode is working as expected!
Doing my tests I found two other things, however:

I cannot edit my scripts I made with the older version through the gui. The reason seems to be that one temperature value was renamed. No issue for me, since I found out what the issue was pretty much immediately and YAML always works. But maybe something to keep in mind when renaming things...
At least with my settings the oven fails to reach its target humidity. Comparing with cooks through the app I believe this is due to HA using "realtive-humidity" as steam generator mode. The app is using "steam-percentage". Is the required parameter currently exposed? Note that this is not a sous vide cook, but baking bread rolls with 80% steam at 210C....

Thank you for feedback. About issues:

Yes, agree about renaming but I prefer to keep naming consistent and predictable. I will add it to breaking changes notes to release of course.
You are agree, I usually use steam generator only in sous vide mode and app setup it as "realtive-humidity". But for non sous vide it should be set to "steam-percentage". I fixed it, changes in the main branch.

Thank you! I updated it and now steam seems to be generated as expected! However, I cannot really be 100% sure, since the humidity sensor now reports "unknown" - is that expected with steam-percentage mode?

is it showing in the integration or application?

Neither! I the app does show "steam x%", but it is unclear if its an actual measurement or just the value it is trying to reach...

Ok, will take a look later

Could not reproduce it. It shows for me in both correct values for different modes. May be you can add description step by step how to reproduce it.

Hmm, I am not sure how though. Basically my sensor values look like this:

After starting the oven with this script:

As you can see, humidity is unkown.
It seems the value is not present when the generator mode is "steam-percentage":

However, like I said: I am unsure if that is a bug or by design...

Interesting, can not reproduce. Can you try re-download integration and if will reproduce enable debugging for integration and send me logs?


Removed config_azure.json

@Haishi2016 Any reason why we can't do this? We discussed on today's OSBAPI call that it seems weird having vendor specific config files as part of this repo.

Hi @mattmcneeney , I think you were right about demonstrating how to replace mock config path with real vendors' config path. So if all vendor specific config files are removed, we should figure out how to provide an elegant way for user to configure their own config files, or they just need to pass a minimal config file (just like #34 ) rather than importing the whole config file.

@leonwanghui Absolutely - I think this repo needs some attention and could be made much easier to use. I don't think it would be wise to simply replicate the entire set of v2.13 tests for v2.14, as changes are additive. If you have the time to take this on, that would be awesome! We started talking about this a while ago in #21

I think this PR can be closed now : )

The change is included in #50 . Close this PR.

It was already removed by https://github.com/openservicebrokerapi/osb-checker/pull/50. Actually the Azure Service Broker, a.k.a. OSBA, can't pass all the test cases of this checker. The reason is mainly in the checker side -- the test framework is not in enough good shape to test on a real service broker. @leonwanghui @mattmcneeney I agree with you that a config file to test on a real service broker is helpful. I'd like to make OSBA becoming a model which can pass all the test cases in OSB checker. Of course first of all, the test cases should definitely reflect OSB API spec. OSBA will also follow up on this if it can't pass any of the test cases. When we achieve the goal, the azure config file can be add back.


Implement Stop

We have to have some mechanism to break out of a running program even if it isn't waiting for an input, for example if it is in an unterminated loop. Unfortunately, even browser-refresh doesn't seem to work then.
I think that for our case we might need to build in something into the compiled code that periodically tests for interrupts? Or is there a better option.
I don't want to start implementing a debugger yet, but we are going to have to do it at some point and it might be worth thinking about the basic principles of how it work sooner.

Implemented as part of #667


C++ nits in uart_dma.

Commits in this PR

C++ nits in uart_dma.

"inline" should only be used on functions in header files.  In modern
C and C++, it is a directive to the linker that a function should be
deduplicated.  See https://en.cppreference.com/w/cpp/language/inline,
"The original intent of the inline keyword..."
Functions which are "private" to .cpp files should be marked static.
This prevents an ODR violation (undefined behavior) which would occur
if a different cpp file defined a function of the same name.

Marked a one-arg constructor as "explicit".  Most one-arg constructors
should be explicit; see https://en.cppreference.com/w/cpp/language/explicit.

Got rid of const uint32_t in function declaration.  This is a nit,
and a weird corner-case in C++.  Behold.
The intent of this const is to prevent the definition of the
function from modifying the const variable.  But
(a) The definition may or may not specify const; it doesn't actually
matter what the declaration says!
(b) We could say, the declaration should match the definition.  But
the caller cannot observe whether or not the callee modifies an
argument that's passed by value.  Because it's not observable, it
shouldn't be part of the API, i.e. it shouldn't be in the header.

PR chain

#337 Move sprintf.{h,cpp} to new debug library.
#338 Fix Flash/RAM size in STM32 board config.
#339 Bitfield-ify UART timeout field.
#340 Bitfield-ify UART request field.
#341 Bitfield-ify UART status register.
#342 Bitfield-ify UART intClear register.
👉 #343 C++ nits in uart_dma. 👈 YOU ARE HERE
#344 Templatize CircularBuffer's datatype.

So inline does not make the linker to inline it in grownup C++, that would be a pita on a small controller, because there you explicitly want to inline that code for performance reasons, but for us it's no problem for us at all. I guess we can trust the compiler to inline static function having a single caller automatically?
Thanks for sharing!

So inline does not make the linker to inline it in grownup C++

Correct.  Even in embedded C as compiled by a GCC from the past 10+ years it doesn't mean that.

because there you explicitly want to inline that code for performance reasons

__attribute__((always_inline)) is the way to do it.


Account for CRLF in a test

Please ensure that your pull request fulfills these requirements:

[x] The pull request is being made against the master branch
[x] Tests for the changes have been added (for bug fixes / features)

Should fix the Windows specific CI failure that happens with GH and did not happen with Travis
fixes #703

A beautiful sea of green check marks. Thank you for catching this!


[Fix #12429] Fix incorrect autocorrect for Style/MapToHash

Fixes #12429.
This PR fixes incorrect autocorrect for Style/MapToHash when using dot method calls for to_h.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Based on https://github.com/rubocop/rubocop/issues/12429#issuecomment-1837072607, I've updated this PR again.


Add tests for closing tabs, windows and opening windows. r=bgrins

Coverage decreased (-0.03%) to 30.424% when pulling 5a831674e30f267b3478ed6c2dda52c273c84ecd on jsantell:close-window-tab-hotkey into 7d6517e2863018f26a526c46c9122b7a9282c5d4 on mozilla:master.

Changes look good to me but please review the comment that's removed and make sure it actually should be fully removed


Can't use/edit/create custom form fields

As the subject states I cannot use custom form fields, I was using the very old version of Boxbilling, when i updated i noticed the custom form fields/builder and i cannot create any, maybe due to updating from old version straight to latest version caused database issues that won't allow  me to create the fields, can you not in the latest version have a script pre installed in boxbilling that checks if database is good and repairs the database to latest version

We already have this script - when you update BoxBilling, you need to run bb-update.php file by going to yourdomain.com/bb-update.php and it shoud add missing fields to database.


Automated cherry pick of #7510

Cherry pick of #7510 on release-5.32.
/cc  @hmhealey

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: e73500dab9c9dd584a035340575cf432ac2e50b1


Email Template Page - Issue while adding key in subject

Describe the bug
https://www.berrycast.com/conversations/a6a91d73-28e3-56c0-b400-d60fc0d13b82

https://www.berrycast.com/conversations/f034a29f-8c30-5b3c-b23e-ca8eda72c6df


update dotnet projects

fix: https://github.com/Azure/azure-dev/issues/4089

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/4090
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/4090

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/4090
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/4090

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/4090
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/4090

View Changes | Compare Changes


Readme overviewer update #2

Addendum to issue #181.
Turns out that you actually need to edit in the API key into multiple points in your system where the source of overviewer is installed. Otherwise, the index.html for your world will be overwritten without including that API key. (Tested this out myself on my server)

Looks good. Thanks!


Not able to login from http://localhost:8100/ionic-lab

I used your repo and added my clientID from OKTA.
If I run http://localhost:8100/ I am able to log in and it works fine.
But If I check mobile view using url  http://localhost:8100/ionic-lab this will display android, ios and windows UI. Attached screenshot..

If I clicked login with OKTA button no action happend
Repo:
https://github.com/writetobegin/okta-ionic-auth-example

Do you get an error on Okta or nothing happens at all? The only thing I can think of is you'll need to whitelist the redirect URI, otherwise it should work.

Looks like a problem  in following line
const browser = window.cordova.InAppBrowser.open(oauthUrl, '_blank',
'location=no,clearsessioncache=yes,clearcache=yes');
browser value comming as undefined.

Ahh, I know what's happening. Ionic thinks you're running in native mode, so it tries to use the InAppBrowser, which is only available when you're running on the device. This same thing happens when you run in Chrome and enable the device toolbar.

After I deployed in IonicFramework and viewed from "Ionic view app"(currently available in Android OS only) I have the same issue.
My app Id:
78f53226

Will try and let you know .
Appreciate your response.

I am not able to test now. I will retest again.
Now I will close this issue.


some barcode decoding problems

What happened?
First : very good, problems free and light to compile package, congrats !
I went far in the barcode decoding and mention some problems :

Seems to not take all the codes when mixed on a same picture :  ex 128 codes (format 1) and format 16 : the app do not consider the 16 format (Datamatrix)

1D and 2 D codes mixed : depending the 1st the app will find , will not mix : so either he decodes only the 1D or only the 2D

(tools : https://barcode.tec-it.com/en ,
I remains at your disposal for testing improvments !
Version
@react-native-ml-kit/barcode-scanning: V1.2.0
30-codes-feuille.pdf
Which ML Kit packages do you use?
30-codes-feuille.pdf

[X] @react-native-ml-kit/barcode-scanning
[ ] @react-native-ml-kit/face-detection
[ ] @react-native-ml-kit/identify-languages
[ ] @react-native-ml-kit/image-labeling
[ ] @react-native-ml-kit/text-recognition
[ ] @react-native-ml-kit/translate-text

What platforms are you seeing this issue on?

[X] Android
[ ] iOS

System Information
System:
OS: Windows 10 10.0.19043
CPU: (4) x64 Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
Memory: 1.53 GB / 7.70 GB
Binaries:
Node: 16.14.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.13.1 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to Reproduce
just select the images given in th example given.
"dependencies": {
"@react-native-ml-kit/barcode-scanning": "^1.2.0",
"react": "18.1.0",
"react-native": "0.70.1",
"react-native-image-crop-picker": "^0.38.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5"
},
yarn
yarn run-android
(no more need to link)
thanks !

I see that in fact it is NOT a bug, it is normal :
in https://developers.google.com/ml-kit/vision/barcode-scanning/android you can read :
"Note: For a Data Matrix code to be recognized, the code must intersect the center point of the input image. Consequently, only one Data Matrix code can be recognized in an image."

Hi @Productivix, thanks for bringing this up. This library uses Google's ML Kit barcode scanning model/package on Android and iOS, meaning that we don't have control over the scanning behavior.


Add support for MeshLambertMaterial

Closing as this was added in https://github.com/leakec/sihm/commit/8c098551ad2c31c420f4868a3cfc1585b1337ee1.


Detect anomaly on test video

Thanks for the code , how can one detect anomaly on test video

Hi, thank you for your interest!
You can follow the guide (here). There are several steps:

Clone the project
Download an anomaly dataset and pretrained model
Prepare your dataset

@vt-le , thank you. Please how my i visuaize the results on sample video

@vt-le , thank you. Please how my i visuaize the results on sample video
I have gone through the config file. Please how may i pass file "video.mp4" as parameter ?

Hi,

In this repository, we don't provide the code for visualization.

You cannot pass a name a video as the input. Only a name of a anomaly detection dataset [Ped2 / Avenue / ShanghaiTech] is accepted in config file.

Thank you

Thank you for your work, I just started this field, could you please send me your visualization code, thank you very<EMAIL_ADDRESS>

Thank you for your work, I just started this field, could you please send me your visualization code, thank you very much<EMAIL_ADDRESS>

@vt-le  Thanks for the code. I have finished all the preparations, but it's failed when test the dataset by running the following command.  The "file" in "--cfg /path/to/config/file" confused me. If I want to test the avenue dataset, can you provide me with the correct run command?

Hi, thank you for your interest! You can follow the guide (here). There are several steps:

Clone the project
Download an anomaly dataset and pretrained model
Prepare your dataset

@vt-le Thanks for the code. I have finished all the preparations, but it's failed when test the dataset by running the following command. The "file" in "--cfg /path/to/config/file" confused me. If I want to test the avenue dataset, can you provide me with the correct run command?

Hi, thank you for your interest! You can follow the guide (here). There are several steps:

Clone the project
Download an anomaly dataset and pretrained model
Prepare your dataset

Hi @lq-zhu ,
You can download the pre-trained model and save to pre_trained folder, then you can run like so:
python astnet.py --cfg experiments/ave/ave_wresnet.yaml --model-file pre_trained/avenue.pth GPUS [1]

Thank you


custom color control

Hey!
I've just found this lib and played a little bit with the examples, it has a well designed architecture and I really liked what I saw so far. Keep up the good work :).
My question would be the following:
I've tried to add a color custom control (e.g foreground color / background color), but It seems to me that the textTransformSpecs api is a bit limited: I can't add any arbitrary value at runtime (in this case a color selected from a color picker), I have to specify every possible attribute value at design time. Am I seeing this right? Is there maybe an other way or do you have any plan to support such use cases?
Thanks!

Hi @pr0da, and thanks for the positive feedback!
I have plan to document custom attributes in the future!

It seems to me that the textTransformSpecs api is a bit limited: I can't add any arbitrary value at runtime (in this case a color selected from a color picker), I have to specify every possible attribute value at design time.

I understand the limitation you are stumbling upon. I will think about a way to make it more flexible, and to pass an arbitrary active value.
I'll keep you updated!


fix(migration): fix wrong version number

⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[x] I have read through the Contributing Documentation.
[ ] I have added relevant tests.
[ ] I have added relevant documentation.
[x] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary
What does this PR do?
Fix wrong version number of migration scripts.
Does this close any open issues?
Closes N/A
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

will fix later by @abeizn


Fe: VRM Mtoon values not previewing / compatible

In VRoid Studio relies on these shader effects for coloring hair, skin, and other effects - also opens up options for creators down the line too if things like this are supported.

UV scrolling is (very rarely) used and has been noted in #915
I am unsure if #896 is relevant to any current toon shader (planned?) implementation

I will also add that https://github.com/vrm-c/vrm-specification/projects/1#card-43990752
appears to be the hub for working on the VRM spec itself - while almost entirely in Japanese, it translates well enough to understand what's going on. Might be useful, appears they are actively changing things in the shader spec itself at present.

We should support the spec as fully as possible. three-vrm has most of the shaders, I just don't think they are currently hooked up.


fix: update scripts + remove unused

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.

I broke the the cypress scripts by moving to pnpm (which passes -- to cypress,which does not understand the argument).

That starts just fine on Ubuntu, so I'm happy to go with it.
I didn't wait for my machine to go OOM, but I can't say as I'm surprised. I've run into that before.


Update OLM version to 0.24.0

Description of the change:
Updates OLM version in places missed by make bindata target.
Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

The docs and e2e test were updated in these PRs:  https://github.com/operator-framework/operator-sdk/pull/6360 and https://github.com/operator-framework/operator-sdk/pull/6359
I forgot that the make bindata command misses some files so I didn't manually fix them the first go round and needed this follow-up PR.

/cherry-pick v1.28.x


Demo project WebRTC minimal not working properly

Tested versions
4.3 stable
System information
Windows 11
Issue description
When you run the demo project at https://github.com/godotengine/godot-demo-projects/tree/master/networking/webrtc_minimal.
Neither the Main or Minimal scene runs properly.
It means sometimes it gives the results and sometimes it gives the error DataChannel is closed while sending the message
for minimal if you increase the delay from 1.0 to 2.0 seconds it gets better.
Note: The project had to be migrated from 4.2 to 4.3, only project file got changed
Steps to reproduce
Open the demo project
Run the project
You will see the error in the errors list.
Minimal reproduction project (MRP)
Project > https://github.com/godotengine/godot-demo-projects/tree/master/networking/webrtc_minimal

It is a limitation in Godot, so closing it.


Updated the project name

Not sure if the description is still accurate though.

Is anyone going to review this?


Automatically install new plugins

Is it possible to have Vim Plug automatically check if any plugins are not installed and then automatically install them after startup?
Using Neovim on Mac OS X if that matters.

See https://github.com/junegunn/vim-plug/wiki/extra#automatically-install-missing-plugins-on-startup


How to apply dark theme to a UserControl?

For a Window, we can use AdonisWindow to apply a dark theme assuming it's setup correctly in the Application.Resources.
But how do we apply a dark theme to a UserControl? If it's in the docs then I missed it, please redirect me. Thanks!

This can be closed. Looks to be an issue caused by the style applied by Stylet's default TabControl conflicting with Adonis.


cleanup jsonhttptest package

This PR consolidates all functions in jsonhttptest package that piled up over time bloating its api. Unfortunately, only the initial two functions were tested, non of the followup were, so new tests are added and existing one improved. Also the package is better documented.
Tests in api and debugapi packages are adjusted.
fixes: #477

Thank you @mortelli.
Yes, there is a redundancy in providing the http status code and expecting StatusResponse in the body. I went with explicit set on all values http status code, response message and response code for clarity even it introduces more code. I could not find a nice way to make the test obvious that expected json-encoded body is expected to be StatusResponse. Another reason for not assuming the StatusResponse code and http status code to be the same is the possibility to have our own codes which are >= 600. Sometimes APIs want to communicate different messages and provide specific codes for easier use by the clients. I am not sure if we will have such codes, but there is nothing that stands in a way to have them.


Nocode meetup pics

We hosted a very successful meetup on how to add new features to nocode and wanted to share a pic of the event. We showed nothing and it couldn’t be possible without all of you not attending. Thank you!

Very responsible. Stay safe out there!
😷 🤒


Why special-case first job?

I don't quite understand why we special-case the first job?

It's to try to prevent https://github.com/JuliaCI/external-buildkite-buildkite-plugin/issues/13
I think we can make the user interface a bit cleaner though. For example, I don't think we actually need to have an explicit this_is_first_job input.

Closing in favor of #19


how to get 3DAngle?

how to get roll yaw and pitch

FaceONNX doesn't support 3D interpretation of points cloud


[WINDOWS] window appears washed-out

On windows 10 the window appears washed-out and has low saturation

Fixed with beta-5.5 r6.


Gltf2 Import Error Witch

Describe the bug
Animated model is broken.
To Reproduce
Steps to reproduce the behavior:

Go to  https://sketchfab.com/3d-models/witchapprentice-c015ab905a26410092db35c946a68032
Click on download fbx
Open in Maya
Use maya2gltf develop branch https://github.com/WonderMediaProductions/Maya2glTF/commit/523fd6d1148a99dc4b6e732d10c73a44f6071e97
Export gltf2  with 0.01 scaling and -glb
Import gltf2 animation
Animations are broken.

Expected behavior
Correct animations.
Screenshots
If applicable, add screenshots to help explain your problem.

.blend file/ .gltf
witchapprentice.zip
witchapprentice.blend.zip
Version

OS: Windows
Blender Version 2.8.0
gltf2-io e5e86a87f6cc8fe736c5918fc8acc60fc2394d37
maya2gltf develop branch https://github.com/WonderMediaProductions/Maya2glTF/commit/523fd6d1148a99dc4b6e732d10c73a44f6071e97

Seems to be OK in pose mode, maybe linked to animation only

Has also same problem than #698 with some node that animate all armature


Feature request: Support for large SQS payloads in Event Data Source Classes

Use case
AWS has support for large payloads in SQS using the extended client library: https://pypi.org/project/sqs-extended-client/ - However there's still a fair amount of boilerplate when reacting to the event in a lambda on the receiving end to unwrap the message, check if it's a large payload message, and retrieve the payload from S3.
Solution/User Experience
This seems like an ideal use case for Powertools to reduce the boilerplate code and be able to unwrap an SQS, check for large payload support and retrieve the message as part of the receipt of the message.
Example payload:
{
    "Records": [
        {
            "messageId": "4bdc116c-dda9-4344-bfb1-cf49a2bcdd68",
            "receiptHandle": "",
            "body": "[\"com.amazon.sqs.javamessaging.MessageS3Pointer\",{\"s3BucketName\":\"bucket_name\",\"s3Key\":\"s3_key\"}]",
            "attributes": {
                "ApproximateReceiveCount": "1",
                "SentTimestamp": "1726071666910",
                "SequenceNumber": "18888618420438511616",
                "MessageGroupId": "d57f6826-89c2-497e-b920-ec6dc5dff067",
                "SenderId"<EMAIL_ADDRESS>                "MessageDeduplicationId": "d39dc4b9-52eb-425e-be3a-c57649d59740",
                "ApproximateFirstReceiveTimestamp": "1726071666910"
            },
            "messageAttributes": {
                "SQSLargePayloadSize": {
                    "stringValue": "300000",
                    "stringListValues": [],
                    "binaryListValues": [],
                    "dataType": "Number"
                }
            },
            "md5OfMessageAttributes": "5db28f0fb9aab47287f040ec3714a262",
            "md5OfBody": "d7b208d9230692ec7d4ab5588266024c",
            "eventSource": "aws:sqs",
            "eventSourceARN": "arn:aws:sqs:us-east-1:123456789012:sqs_name",
            "awsRegion": "us-east-1"
        }
    ]
}

Alternative solutions
No response
Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (Python) Tenets
[X] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

@plondino Thanks for opening the issue – we have this in the Java version of Powertools for AWS Lambda already, so it seems like it would be a good fit for future releases.
We're currently paused for the v3 release next week, but we'll look into this when we can.

@sthulb looks interesting can i try this feature request


Remove vestigial scheme enumeration

It should be up to staging providers to specify the appropriate
local_path for all schemes, except for file: which has an
implicit meaning on the submit side POSIX filesystem.
File.filepath will now throw an exception in many cases where
this does not make sense. As a consequence, some log messages
throughout the codebase are adjusted to not call filepath,
and instead use the full File repr.
Consequent changes are needed for the existing staging provider
to make them work.
Staging providers that attempted to implement a differently
named scheme would fail.

This fails where the staging task runs in a different python process to the main process - or specifically, where the File objects that the staging process mutates are (serialized...) copies of the File objects in the main submitting process, rather than the original File objects themselves.
This needs a bit more thinking about the flow of information between different tasks about how files have been staged.

closing this - it needs to be part of the broader #1197 fixing project


update enable-aad-authentication-azure-ssis-ir.md

@liubing-microsoft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Fixes a segfault in toggle floor plugin which causes ignition to crash when scene is not ready.

This PR fixes a segfault I have been experiencing when loading large worlds. Often the rendering scene is not fully setup causing the this->scene->NodeByName to crash. This PR pushes a simple fix to skip over scenarios where the scene has not yet loaded the model.
Signed-off-by: Arjo Chakravarty<EMAIL_ADDRESS>

Not sure why CI is failing. The failure seems unrelated,


Release 2.10.2

Corresponding opam-repository PR: https://github.com/ocaml/opam-repository/pull/20628.
Closes #1731.

Now merged upstream.


uCR -> uAD official exchange rate contract "DebtClock"

We need a new contract that helps us calculate the uAR deprecation rate.
Details about the math available on [0094-UBQY] uAR simple calc
Policy
The R value is determined by policy and the latest policy is that The depreciation rate of uAD is defined in such a way, that at the time of uDEBT expiration, UAR is worth 70%
The formula to get R is the following:
(1+R)^(blockCountIn30Days) = 1/valueAfter30Days
R = (1/valueAfter30Days)^(1/blockCountIn30Days)-1
So let's say we have 194.404 blocks in 30 days. And our valueAfter30Days is 0.7 (70%):
(1+R)^(194404) = 1/0.7
R = (1/0.7)^(1/194404)-1 = 0.000001835
But we don't need to know this for the contract, we just get the R value directly.
Context
So the initial spec of the DebtClock called for a rate that can be updated multiple times. It called for storing the block the rate is updated and the rate itself; this way we can calculate the price of uAR for any block.
However, Ben mentioned that over time, as we update the rate and the array keeps getting longer, this can cause issues with the maximum gas fees. To prevent this we'll be removing the possibility to calculate the uAR price for any block, we will only be able to get the price for any block onward since the rate was last changed; older rates won't be stored.
Customizable Variables
.ratePerBlock
This is the deprecatio rate. How much uAD is deprecated on each block.
Ex: 0.05 = 5% deprecation per block
.rateStartBlock
This is the block height from where we start applying the rate. Before this start block we won't have price information.
.rateStartValue
This is the exchange rate of uAR for the start block.
Methods
.setRatePerBlock(ratePerBlock)

Should set the ratePerBlock
Should set the rateStartValue to the current rate value before it's changed
Should set rateStartBlock to the current block height
Should be only callable by admin

.rate(blockNumber)

Should return the amount of uAR you would get for 1 uAD at the specific block number.
If blockNumber isn't given then use the current block number.
Require that blockNumber is less than rateStartBlock

Rate math
rateStartValue * ( 1 / ( (1 + ratePerBlock) ^ (blockNumber - rateStartBlock) ) )

To be used on:

DebtCouponManager: Adjust the uAR minting and burning to the rate
YieldProxy: Adjust the uAR reward minting to the rate

We should look at this as the "bank of ubiquity" charging interest on uCR holders. Basically the "interest rate" is actually just the exchange rate getting more expensive over time.
I think we should make this logarithmic so that in the beginning it allows us to obtain a 4D chess "profit" more quickly and then over time it cools down and becomes less expensive for holders.

You can assign this to me.

You can assign this to me.

@codeawayaks You commented on 20+ GitHub issues that you want to take it.
One developer should solve one bounty at a time to minimize blocking other developers to effectively move forward.
Which 1 bounty do you want to take?

I'm keen to start implementing this tomorrow. I have 7 years experience with Solidity.
Here's some of my contracts:
https://github.com/acuity-social/acuity-atomic-swap-solidity/tree/main/src
https://github.com/acuity-social/acuity-contracts/tree/master/src
Can I be assigned to this issue?

I'm keen to start implementing this tomorrow. I have 7 years experience with Solidity. Here's some of my contracts: https://github.com/acuity-social/acuity-atomic-swap-solidity/tree/main/src https://github.com/acuity-social/acuity-contracts/tree/master/src
Can I be assigned to this issue?

@ethernomad You are assigned to this issue

This page: https://github.com/ubiquity/ubiquity-dollar/wiki/11.-uCR refers to both uCR and uAR. It seems these are the same thing. Is uCR the new name for uAR?
In the smart contract it is still identified as uAR:
https://github.com/ubiquity/ubiquity-dollar/blob/development/packages/contracts/src/dollar/core/UbiquityCreditToken.sol#L8

Is uCR the new name for uAR?

That's correct. Perhaps the information was not copied over with 100% integrity from dao.ubq.fi/dollar

This is ready for review.
Here's my Ethereum address:
0x36a7401F269555916a0243E586234D3Bbf5A0c36

Is DAI ok? We have that handy now.

This is ready for review.
Here's my Ethereum address for USDC: 0x36a7401F269555916a0243E586234D3Bbf5A0c36

I just realized that this is a spec from last year. I asked @Zequez to see if he would be keen on lending his eyes for a review but he's not active on the project anymore. I'm personally a bit distracted with Taipei Blockchain Week but I'll prioritize and try to get you saddled up asap. Thanks a ton for your contribution!

DAI is okay thanks.
Sent from Proton Mail mobile
-------- Original Message --------
On 12 Dec 2022, 15:19, アレクサンダー.eth wrote:

Is DAI ok? We have that handy now.

This is ready for review.
Here's my Ethereum address for USDC: 0x36a7401F269555916a0243E586234D3Bbf5A0c36

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: @.***>

Not which issue I should work on next, please advise.

Not which issue I should work on next, please advise.

@ethernomad please, review currenly open issues
https://github.com/ubiquity/ubiquity-dollar/issues/assigned/ubiquity-bounties
And we will create more issues in the near future.

Wallet address for ETH / DAI / USDC:
0x36a7401F269555916a0243E586234D3Bbf5A0c36


module declares its path as: github.com/IBM/sarama but was required as: github.com/Shopify/sarama, how could fix this ?

go<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: github.com/IBM/sarama
but was required as: github.com/Shopify/sarama

@gopherhiro in your application code you need to replace all references to 'github.com/Shopify/sarama' with 'github.com/IBM/sarama'
If you're on MacOS or Linux you can replace using sed:
e.g.,
git ls-files | grep .go$ | xargs sed -e 's|/Shopify/sarama|/IBM/sarama|g' -i

No worries, you're welcome!

Outside of source control, you can also operate on all .go files directly through find . -name "*.go" -exec sed -e 's|/Shopify/sarama|/IBM/sarama|g' -i {} +


Deletion of 3DES from the supported ciphers

Should 3DES be deleted from the supported ciphers list because of SWEET32? It’s already not in the default ciphers list and starting with OpenSSL 1.1 it will not get compiled by default, so I guess we don’t need it either.
[1] https://sweet32.info/
[2] https://www.openssl.org/blog/blog/2016/08/24/sweet32/

At CloudFlare we still see a non-zero ‰ of connections that need it. Not making an argument for default inclusion, but it's the best way to get XP+IE clients to connect, so it should be possible to turn it on IMHO.
With #1070, once it's at the end of the ciphers list it will be only used if strictly necessary.
Sweet32 is anyway borderline practical. I might make a Go crypto/tls patch to make the connection fail after 64GB to address it.

Implementing a data limit sounds like a good compromise. 32–40GB are needed to get the first collision with ~50% probability. 64GB sounds like a reasonable value to make the connection fail because as you said, Sweet32 is still pretty impractical as the attacker would need to be in a position where he can observe 100% of the traffic.


run Gratipay 165

164

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25171508-run-gratipay-165?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

Made a pass through applications.

[gratipay] $ heroku config -s | run_dammit /dev/stdin -c ./env/bin/python ./bin/migrate-tips.py
'introtopython' already migrated.
'duo' already migrated.
'sudo-room' already migrated.
'nuvola-player' already migrated.
'cyberpipe' already migrated.
'mojolicious' already migrated.
'pageres' already migrated.
'Gratipay' already migrated.
'citizens-cooperative' already migrated.
'catapultpgh' already migrated.
'sudomesh' already migrated.
'perl-maven' already migrated.
'exercism' already migrated.
'devdocs' already migrated.
'weblate' already migrated.
'sublimelinter' already migrated.
'pillow' already migrated.
'simplytest-me' already migrated.
'json-resume' already migrated.
'encommuns' already migrated.
'perlweekly' already migrated.
'cuberite' already migrated.
'totalism-hackbase' already migrated.
'bevry' already migrated.
'cpan-io' already migrated.
Migrated 0 tip(s) for 'shields'
Migrated 0 tip(s) for 'kivy'
'gammu' already migrated.
Migrated 0 tip(s) for 'knopproject'
'the-charis-project' already migrated.
Migrated 0 tip(s) for 'libravatar'
'debian-lts-by-freexian' already migrated.
'doit' already migrated.
'northern-plains-athletics' already migrated.
'the-mountain-spirit' already migrated.
'jshttp' already migrated.
'aegirproject' already migrated.
'image-optim' already migrated.
'survivejs' already migrated.
'nanoc' already migrated.
'sailor' already migrated.
'cider' already migrated.
'wdrl' already migrated.
Migrated 0 tip(s) for 'detexify'
'cpan-book' already migrated.
'trakt-for-plex' already migrated.
'act' already migrated.
'esdiscuss' already migrated.
'rhombus-tech' already migrated.
Migrated 0 tip(s) for 'kriasoft'
'jsbin' already migrated.
'ucoin' already migrated.
Migrated 0 tip(s) for 'piloting-postdevelopment'
Migrated 0 tip(s) for 'rtail'
Migrated 0 tip(s) for 'tech-store-club'
'davorg' already migrated.
Migrated 49 tip(s) for 'zed'
'endless-parentheses' already migrated.
Migrated 5 tip(s) for 'gkz-open-source'
Migrated 0 tip(s) for 'matlab-schemer'
Done.

Backup taken and verified.

Script started.

Script ran for two minutes (0:02:23.310173).

Logs uploaded in https://github.com/gratipay/logs/commit/cfe4e1af0dfa197c8bc8b1b3e55f2f7026684cc7.

MassPay done and posted back for 39 users.

Escrow shuffled.

16.8% decline rate (17 / 101). That's over the 15% limit.

I don't know what to look for.


Accepter incorrectly maps routes to subnets

Found a bug? Maybe our Slack Community can help.

Describe the Bug
When calculating the local value accepter_aws_rt_map the try condition always fails to default because it's attempting to access a set value using an index which is not possible.
Expected Behavior
The try condition properly accesses the set values when available to correctly build the map.
Steps to Reproduce
Steps to reproduce the behavior:

Create a VPC with multiple route tables attached to different subnets as the accepter
Run the terraform module with accepted and requester
See that only one route table is mapped to the peering connection

Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:

Terraform Version 0.13
AWS Provider Version 4.0

Additional Context
Wrapping the set value in "tolist()" should resolve this, but I have yet to fully validate this solution.

Upgrading from tf 0.13 to tf 0.14 seems to have fixed this, as a workaround. I can't find the actual documentation that explains why this would be the case though, so there's a chance I'm missing something.

Correction on the above. The actual fix was the upgrade from AWS provider 3.x to 4.x. In provider 3.x the ids attribute on the aws_route_tables data source is a set. On 4.x it's a list. This is why adding tolist() should resolve it, providing backwards compatibility.


NODE_ENV is always set to production

Bug Report
Describe the bug
I think since this https://github.com/pedronauck/docz/commit/f6b6260c1bf63d7758f32cb4e6518ca7ea51d39b. NODE_ENV is always production no matter what I set. I believe because no matter what command is run, this files gets included and overwrite any previously set NODE_ENV.
To Reproduce

docz dev
See that NODE_ENV is set to production, but should be development

Fixed on v0.6.2 👍


tring → string (typo fix)

The.. check seems unrelated to my changes?

Thanks! Looks like it might need a fmt pass or something?

Thanks! Looks like it might need a fmt pass or something?

?, it's a clippy error, since https://github.com/rust-lang/rust-clippy/pull/10520 it thinks src/private.rs:280:18 is UB
280 |         unsafe { MaybeUninit::uninit().assume_init() }

it thinks src/private.rs:280:18 is UB

That's frustrating. It would be nice if clippy checked the self type.

This is now fixed on main, so after a rebase CI should pass.

Merged, should pass CI now


Uncaught RangeError: Value , out of range for Number.prototype.toLocaleString

Short description
Im getting this error on Chrome Version 108.0.5359.72
Its in regards to the w2ui form field type 'int'
Uncaught RangeError: Value , out of range for Number.prototype.toLocaleString options property useGrouping
at Number.toLocaleString ()
at Object.formatNumber (w2ui-1.5.min.js:2:7097)
at n.format (w2ui-1.5.min.js:2:363955)
at n.change (w2ui-1.5.min.js:2:364144)
at n.init (w2ui-1.5.min.js:2:353506)
at HTMLInputElement. (w2ui-1.5.min.js:2:347701)
at Function.each (jquery.min.js:2:2715)
at r.fn.init.each (jquery.min.js:2:1003)
at b.fn.w2field (w2ui-1.5.min.js:2:347456)
at h.refresh (w2ui-1.5.min.js:2:437657)
What is current behavior
...
What is desired behaviour
...
Link to jsfidle/codepan with sample code
...
Steps to reproduce or sample
...

Hello Team,
We are also same issue with chrome (version 108.0.5359.73) and also Edge browser.
The issue occurs when we do the inline edit with the grid.
Uncaught RangeError: Value , out of range for Number.prototype.toLocaleString options property useGrouping
at Number.toLocaleString ()
at Object.formatNumber (w2ui.min.js:2:7097)
at n.format (w2ui.min.js:2:363955)
at n.change (w2ui.min.js:2:364144)
at n.init (w2ui.min.js:2:353506)
at HTMLInputElement. (w2ui.min.js:2:347575)
at Function.each (jquery-3.5.1.js:381:19)
at jQuery.fn.init.each (jquery-3.5.1.js:203:17)
at b.fn.w2field (w2ui.min.js:2:347456)
at w2grid.editField (w2ui.min.js:2:126678)
formatNumber @ w2ui.min.js:2
format @ w2ui.min.js:2
change @ w2ui.min.js:2
init @ w2ui.min.js:2
(anonymous) @ w2ui.min.js:2
each @ jquery-3.5.1.js:381
each @ jquery-3.5.1.js:203
b.fn.w2field @ w2ui.min.js:2
editField @ w2ui.min.js:2
dblClick @ w2ui.min.js:2
click @ w2ui.min.js:2
(anonymous) @ w2ui.min.js:2
dispatch @ jquery-3.5.1.js:5429
elemData.handle @ jquery-3.5.1.js:5233

Temporarily fixed issue by just modifying the w2ui.min.js
return parseFloat(e).toLocaleString(w2utils.settings.locale,s)}
--->
return parseFloat(e).toLocaleString()

Thank you, It's working fine.

I think the error comes from this line https://github.com/vitmalina/w2ui/blob/master/src/w2utils.js#L474. I tried to play with it and cannot repeat it. What is the value you are formatting? And what is your current w2utils.settings.lcoale?

Hi, I have the same error in version 1.5.
At some  point useGrouping value become ',' (comma) instead of a boolean and it generates the error:
function formatNumber (val, fraction, useGrouping) {
    if (val == null || val === '' || typeof val === 'object') return '';
    var options = {
        minimumFractionDigits : fraction,
        maximumFractionDigits : fraction,
        useGrouping : useGrouping  <============= HERE
    };
    if (fraction == null || fraction < 0) {
        options.minimumFractionDigits = 0;
        options.maximumFractionDigits = 20;
    }
    return parseFloat(val).toLocaleString(w2utils.settings.locale, options);
}

I've Temporarily fixed changing from useGrouping: useGrouping with useGrouping: true and it seems working.
val is 0.14 and w2utils.settings.locale is set to 'en-us'
Bye
Alex

Are you sure it is the cause? I tried this in Chrome
Number(1.43e20).toLocaleString('en-US', { useGrouping: '' })

and it did not result in the error.

The problem is that formatNumber() is being passed "," (comma) for its useGrouping param. When this passed to toLocaleString() in options, it is not a valid value per MDN.
I'm using v1.5rc1 and suspect this bug has existed for a long time, but some recent Chrome update finally made toLocaleString() stop accepting the invalid input. Like @alzambo I just changed formatNumber() to ignore useGrouping and always use 'auto' in options.
The root cause might be that w2utils.settings.groupSymbol is set to "," on line 45 (in my working copy of 1.5rc1).
var w2utils = (function ($) {
    var tmp = {}; // for some temp variables
    var obj = {
        version  : '1.5.RC1',
        settings : {
            "locale"            : "en-us",
            "dateFormat"        : "m/d/yyyy",
            "timeFormat"        : "hh:mi pm",
            "datetimeFormat"    : "m/d/yyyy|hh:mi pm",
            "currencyPrefix"    : "$",
            "currencySuffix"    : "",
            "currencyPrecision" : 2,
            "groupSymbol"       : ",",   // <--- perhaps this should be set to true or 'auto' ?
            "decimalSymbol"     : ".",
//....

@quillaja, yes, I am aware that it was sending non boolean value for useGrouping when it only accepts booleans in new versions of Chrome. I have fixed it in both branches (1.5 and current master). Here the link to the fix: https://github.com/vitmalina/w2ui/commit/bbd96186d7eee7d755cf711ed801aa1143414339, Now, is the new updated versions work for you?

@vitmalina That seemed to work. Thank you.

ok, then I am closing the issue


Error while converting from VOC to Kitti format

Hi. I am trying to convert annotation files from pascal VOC to Kitti format. When I run the command,
python3.6 vod_converter/main.py --from voc --from-path ~/Desktop/voc --to kitti --to-path ~/Desktop/kitti
I get the error below:
Failed to convert from voc to kitti: Expected subdirectory ImageSets within /Users/sowmya/Desktop/voc/VOC2012
Could you please let me know where the conversion possibly failed? Also, it would be really helpful to specify the dependencies in ReadMe, such as PIL or jsonschema libraries.
Thank you so much,
Sowmya

hi there, this error is due to the expected layout of a VOC-like dataset, not a software dependency.
within your VOC2012 directory you need something like ImageSets/Main/train.txt


generate json schema from go type definition using reflection

Is there a way to generate JSON schema from go type definition?

Hi @yiminc! not at present, but it's something I've been wondering about myself. Do you have a use case in mind that would help flesh out such a feature?


Improve Unicode support for MSSQL

The upcoming SQLAlchemy 1.3 release introduces N-prefixed Unicode string handling on MSSQL (see https://github.com/sqlalchemy/sqlalchemy/commit/e1b299df819bc1a48ed565bd6efa8ee406ea7efa ). This PR introduces support for that feature and has been tested on master branch of SQLAlchemy. This is backwards compatible with earlier versions of SQLAlchemy, so doesn't explicitly require 1.3, it just won't handle unicode values correctly on <1.3. Does not impact other db engines, aka minimal risk of regressions. Fixes #6624
Before:

After:

I just found that it's ignoring unicode string prefix N when using where_in clause in Jinja template
so that
and path in   {{filter_values('Category')|where_in}}
expanded to
and path in ('á é í ó ú ü ñ')
instead of
and path in (N'á é í ó ú ü ñ')
Workaround is to manually rewrite it to something like
{% set values = filter_values('Category') %}
and path in (
    {% for value in values %}
        {{ "N'" + value + "'" }}{% if not loop.last %}, {% endif %}
    {% endfor %}
)

I'm using mssql+pymssql connection
Superset version 2 (not sure whuch one exactly)


Pagination

Current Behavior
A component that divides content into separate pages, allowing users to navigate through them, commonly used for long lists or tables.
Desired Behavior
When users interact with the Pagination component, they can click on a specific page number to navigate directly to that page. Alternatively, they can use the "Previous" and "Next" buttons to move to the adjacent pages.
Assign this issue to me under GSSOC'23

please assign me this issue i will solve under GSSOC'23


Properly encode/decode Aggregator param

This is for the GraphDefinitionRequest struct.

@mceldeen run gofmt -w dashboards.go make tests go green.

Merged commit in #86 . Thanks @mceldeen!


"Edit Cmake Cache UI" not working

Brief Issue Summary
Changes made with the Cmake Cache UI editor don't get saved.
Expected:

Press F1
Cmake: Edit Cmake Cache UI
Change anything
Press save
Close cache editor
The cmake cache file should now contain the changed values

Apparent Behavior:

Press F1
Cmake: Edit Cmake Cache UI
Change anything
Press save
the star in the "file name" remains and indicates unsaved changes

Close cache editor
A popup appears which tells that there are unsaved changes

Press Yes
The cmake cache file don't contain any changes made in the UI

CMake Tools Log

Nothing

Developer Tools Log

Nothing

Platform and Versions

Operating System: Linux Mint 19
CMake Version: 3.16.3
VSCode Version: 1.51.1 snap version
e5a624b788d92b8d34d1392e4c4d9789406efe8f
x64

CMake Tools Extension Version: v1.5.3
Compiler/Toolchain:

Other Notes/Information

I am not able to reproduce as you describe. Everything gets saved properly in all scenarios.
I do see the setting getting lost if the project is reconfigured, but that is expected, right?
Let's figure out what's different on your side...
When you press SAVE, do you see any bottom right popups? One that's temporary "Configuring project" and one that stays "CMake options have been saved". You mention you see nothing in the log. It almost looks like the button is not really pressed. Set cmake.loggingLevel to debug and try again.

No popups appear when I press the Save button.
Yes of course the settings should get lost if you do a reconfigure. But I don't do this. I do a configure and afterwards I try to edit the Cache via UI, but those edits won't get saved.
Here are the cmake logs:

When opening the UI

[extension] [3674] cmake.openConfiguration started
[cache] Reading CMake cache file /home/user/projects/asdf/_build/CMakeCache.txt
[cache] Parsing CMake cache string
[extension] [3674] cmake.openConfiguration finished (returned 0)

When pressing the Save button

[cache] Reading CMake cache file /home/user/projects/asdf/_build/CMakeCache.txt
[cache] Parsing CMake cache string

After closing the UI and answering the popup question "Do you want to save the latest cache edits?" with yes

[cache] Reading CMake cache file /home/user/projects/asdf/_build/CMakeCache.txt
[cache] Parsing CMake cache string

This is still very mysterious because when I press SAVE I see lots more in the output channel.
A short in the dark, what exact setting you are modifying? Does it happen for all of them? Some are string, some are boolean...
I am running out of ideas to give you to try on your side. Can you make a small isolated repro for us?

@andrewmcdonald-oxb  It sounds like the SAVE button is not connected to any handler. You can verify this using the developer tools. While the cache editor is open, please run Developer: Open Webview Developer Tools from the command palette. Then select the SAVE button and have a look at the "Event Listeners" tab. There should be one entry as in the image below. If it is empty, this would explain your observed behavior.

Furthermore, can you please check if there are any errors logged to the "Console" tab?

Yes, there is an event listener registered:

Clicking on the button doesn't log anything in the console tab

Same problem. When I switched the page from another page to "CMake Cache Editor", the Webview Developer Tools console gave the following errors:


Have glob return matching dirs too

Fixes https://github.com/dask/s3fs/issues/219

Requesting comments here


Falcon response binary format support

Closing in favor of https://github.com/python-openapi/openapi-core/pull/710


Inheritance Key Flow Text Update

We need to warn the user that not all devices are supported and the user has to make sure the device used by the other party is from the supported list. We can show that on note while the user is adding keys in vault

text has been updated in the Design UI now. Please update in app
Screen:
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=6173-17901&t=dy52kJY7AyOidc0G-1
S.S

This is only relevant when selecting Exxternal Signer since for actual devices we already filter them @AreejKhalid21

Verified this issue on keeper app v 1.3.1(432)


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1728

Questions ?
Please refer to the Backport tool documentation


DOCS-8072-4.3-tuning-guide-kt

tuning-guide.adoc

Closing as content was applied and merged in https://github.com/mulesoft/docs-mule-runtime/pull/1475


Ensure CELERY_LOADER var is not set.

TLDR:
Previous commit that removed this line didn't remove variable from deployment environment. This should fix the issue.

Coverage remained the same at 92.524% when pulling f3be3352bd80c3f0f768e91170fa56848d824989 on johngian:fix-wsgi into 847d2e83d8c343fa5152765b44868a26832b668c on mozilla:master.


Rewrite

I have simplified the code and UI a lot.

I will rewrite the database using Hive and the open the PR.


Page Splash Bug

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
page.splash = None not works properly its a bug solve it as soon as possible and if possible also add a option to display splash ring or progressbar at cebnter of screen
Code sample
Logs
from time import sleep
import flet as ft

def main(page: ft.Page):
    def button_click(e):
        page.splash = ft.ProgressBar()
        btn.disabled = True
        page.update()
        sleep(3)
        page.splash = None
        btn.disabled = False
        page.update()

    btn = ft.ElevatedButton("Do some lengthy task!", on_click=button_click)
    page.add(btn)

ft.app(target=main)

To reproduce
To hide splash after completing operation
Expected behavior
No response
Screenshots / Videos

Screenshots / Video demonstration
[Upload media here]

Operating System
Windows
Operating system details
Windows
Flet version
0.23.1
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]

Additional details
No response

Page.splash is deprecated as you might have noticed.
This is how you could do it:
from time import sleep
import flet as ft

def main(page: ft.Page):
    progress_bar = ft.ProgressBar(visible=False)
    page.overlay.append(progress_bar)

    def button_click(e):
        progress_bar.visible = True
        btn.disabled = True
        page.update()
        sleep(3)
        progress_bar.visible = False
        btn.disabled = False
        page.update()

    btn = ft.ElevatedButton("Do some lengthy task!", on_click=button_click)
    page.add(btn)

ft.app(target=main)


Reusing native window + packaging as DLL

Some audio applications support VST, a binary-level protocol that defines "plugins" as dynamically linkable libraries (DLLs, .so's, .dylib's, ..). These plugins extend the capabilities of the audio application and are a very popular software distribution format. By using Electron, the open source plugin community could benefit greatly for the same reasons that general desktop application developers do.
To make this happen, Electron would need to:

be packaged as a .DLL and export a few special symbols - I think this could be handled easily at the C++ level of the code
allow for the host application to control the lifecycle of the plugin - the host application calls create and destroy of the audio processing context (and with it, presumably, the Electron runtime)
re-use a native window handler when creating a browserwindow - the host application creates a native window for the plugin and destroys it (notifying the plugin beforehand)

Are these things possible and could you post a few pointers on where one could start to support this?

Electron is not designed to be embedded by other applications, and providing such interface is no easy work. If you want to embed a browser the best choice is to use CEF.
If you have interests in making Electron embeddable you can start with how Chromium works, since the Electron is basically a custom build of Chrome browser.


etcdserver: improve request took too long warning

fix https://github.com/coreos/etcd/issues/9111
range and txn readonly range need special care in its own funcs since these two kinds of request wont go through raft to be applied.
example output
2018-02-06 12:14:01.589768 W | etcdserver: read-only range request "key:\"\\000\" range_end:\"\\000\" " took too long [3.389041388s] to execute

to trigger the warning, try to put 1M keys into etcd and do a large range over the entire 1M keys.
/cc @hexfusion please take a look. thanks!

@gyuho probably we can backport this small improvement to 3.3 as well. it is helpful for debugging purpose.

@xiang90 Ack. And lgtm. Thanks.

@jpbetz not sure if k8s cluster can hit this warning frequently. if it is, i suggest to backport this to 3.1 as well to help users to debug.

/cc @WIZARD-CXY

@xiang90 lgtm will populate test ENV this evening, thanks.

ack.


Support -static and -dynamic .lib suffixes on Windows

As described in https://github.com/crystal-lang/crystal/issues/11575#issuecomment-1538685602, this PR makes the Crystal compiler look for foo-static.lib before foo.lib in each library search directory on Windows, and foo-dynamic.lib before foo.lib if -Dpreview_dll is specified. Only foo is affected; any path separator (/ or \) will disable the extra suffix behavior.
This will allow us to finally distribute static and DLL import libraries side-by-side in CRYSTAL_LIBRARY_PATH. The next step would be having CI collect the import libraries into $ORIGIN/lib/*-dynamic.lib, and the DLLs themselves into $ORIGIN/*.dll. The DLLs do not have their own directory since Crystal itself might look them up in the same directory as the executable.
This PR also enables delay-loading for all DLLs, even when -Dpreview_dll is not used. This is not a problem for static libraries because they simply do not import DLLs (this is already the case when the Crystal interpreter loads those .lib files).

Some symbols from WS2_32.dll are imported by their ordinal numbers, which reveals a bug where a LibC::BOOL is used in an if condition in the delay-load helper. This calls for something like #12365


Document content-type header in client credentials grant type docs without basic auth - Story Id: 126912289

Link: https://www.pivotaltracker.com/story/show/126912289
Labels:
Requester: Madhura Bhave
Estimate: 0.0

null

Link: https://www.pivotaltracker.com/n/projects/997278/stories/126912289/comments144710233
User: Madhura Bhave

@stummidi
Comment Id: 144710233


Fixed crash on emoji retrieval

Discord.list_guild_emojis is crashing because the guild object g not existing in this function. This fixes it and makes list_guild_emojis work properly.

Oops, silly mistake by me. Thanks! Just left one comment.

Fixed.

Thank you!


Assorted HTML cleanups

All picked up in our accessibility review:

[x] Add language to the html tag.  Currently we have: <html class="no-js" lang="">
[ ] Remove hardcoded protocol on Google Font include (and any others)
[ ]  Remove chrome=1 from X-UA-Compatible. It has been deprecated since Chrome Frame reached end-of-life in February 2014 (Poor Chrome Frame :crying_cat_face: )
[ ] Set the button type to submit in the search forms

Adding the lang attribute to the <html> tag was done in #832.

Removing chrome=1 from X-UA-Compatible was done in #848.