No backtrace symbols on MacOS w/ Apple Silicon

I'm building a Lambda function by invoking:
$ RUSTFLAGS="-C strip=none" cargo lambda build --arm64

I'm running on ARM64 MacOS:
$ uname -a
Darwin Ramos-M1 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 arm64

As expected, this produces a binary that appears to contain debug symbols:
$ file ../../target/lambda/bootstrap/bootstrap
../../target/lambda/bootstrap/bootstrap: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 2.0.0, with debug_info, not stripped

However, all of the backtraces I generate via the backtrace crate look like:
 0: <unknown>
 1: <unknown>
...
31: <unknown>
32: __libc_start_call_main
33: __libc_start_main_impl

Panics with RUST_BACKTRACE=1 are similarly empty:
thread 'main' panicked at 'not yet implemented', src/lib.rs:173:5
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I'm not sure if it's related, but when I build with --release, catch_unwind doesn't even catch the panics. They unwind past the catch and terminate the program. It's unclear if the issue described above is just an issue of missing debug symbols, or something deeper related to stack unwinding. Panics are caught in debug mode, however.
Interestingly, everything works fine when I directly build the Lambda via the Homebrew musl-cross toolchain:
$ export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc
$ cargo build --target aarch64-unknown-linux-musl --release

Even in release mode, the Lambda built with musl-cross both prints backtrace symbols and catches panics.
Any ideas?

Oh, I should note that I'm invoking the Lambda using sam local start-api from the AWS SAM CLI, though I don't think any differences between the two Docker images should matter here.

This is because the linker that Cargo Lambda uses by default is probably not keeping that information. See https://www.cargo-lambda.info/guide/cross-compiling.html

Would https://github.com/rust-cross/cargo-zigbuild be the appropriate project to open a bug for this behavior, or is the linker part of another component?

this is expected. See https://www.cargo-lambda.info/guide/release-optimizations.html#panic-behavior

I missed that in the docs, thanks! 🙏

Thanks, I opened an issue there.


DATAJDBC-493 Resolve Deadlock occurs when competing with Jdbc Repository Update and Delete.

DATAJDBC-498
First step for resolving [DATAJDBC-493]

This looks decent, but I'd like to have a complete solution DATAJDBC-493 before merging parts of the fix.
I'd therefore appreciate it if you could combine this PR with #195  and  possibly the rest of what you outlined in DATAJDBC-493 .

@schauder
I added the codes below. Please review.

Add methods for Select With Lock  (SqlGenerator, DataAccessStrategy)
Acquire LOCK before executing delete in JdbcAggregateTemplate.
(LOCK is valid in transaction scope, so it is executed only in ActiveTransaction.)
The tests of # 195 are combined, and the test is successful.
(Deadlock Exception is not thrown.)

I needed to modify the PostgreSQL lock clause, so I committed it further.
https://github.com/spring-projects/spring-data-jdbc/pull/196/commits/64bf8afbdba2ce4bfd80b03677ea50cb78c8b1f3

@schauder
https://github.com/spring-projects/spring-data-jdbc/pull/196/commits/a2c0e31c18334eec67f4a43317c1c6419cbccf15

Change the method of DataAccessStrategy acquireLockById. This method does not return a value. (without returning the entities, no hydrating the objects. just check id exists with lock)

Add DbAction AcquireLockRoot AcquireLockAllRoot and then executed by the executor.

AcquireLock DbAction is executed only when the Aggregate has a Reference Entity.

Thanks, I'll take a look.

Thanks, that is a nice fix.
I squashed, polished and merged it into master.


Fix a typo

It should be data deduplication.
Signed-off-by: Jiachen Zhang<EMAIL_ADDRESS>

Commit sha: b21fdb8, Author: Jaycee Zhang, Committer: GitHub; Expected "Jaycee Zhang<EMAIL_ADDRESS>but got "Jiachen Zhang<EMAIL_ADDRESS>
Please use the same email to commit and sign your change. Thanks!
Also please rebase on master to have the clippy warning fixed.

Replaced by #11


Merge bitbucket and gitlab

Merge bitbucket auth features to staging branch, which already contains gitlab features

Wrong repo ¯_(ツ)_/¯


update navigation

close https://github.com/CartoDB/website/issues/3062
deployed in ded02, footer is already updated
CR @piensaenpixel

🚀


Create ios build artifcact with JS source map

So we can upload it to AppCenter for crash reporting.
https://docs.microsoft.com/en-us/appcenter/crashes/react-native

Ok cool, we don't use bitcode, so we should be able to bundle our the dsym + js source map on CircleCi and upload it from the CLI:
https://dreamteam-mobile.com/blog/2018/02/uploading-ios-dsym-files-to-appcenter-oneliner/

Done


[lockrenewer] Add prom metric for lock renewal timeouts

Add prom metric for lock renewal timeouts

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

18 of 18 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 89.134%

Totals

Change from base Build<PHONE_NUMBER>5:
0.2%

Covered Lines:
968

Relevant Lines:
1086

💛  - Coveralls


Webhook problem after running cashier command

It's more like a question. When i create a subscription the /webhooks/mollie/first-payment webhook is called an i get a subscription in my tabel. I have the subscription set to 2 minutes, so i can test the sepa payments.
But when i do that i would have suspected the next webhook is being called which is webhooks/mollie (in cashier.php)
This never happens, so my order doesnt get updated to paid and in the mollie dashboard the sepa stays on pending...
Is this normal behavior?  I have a ngrok tunnel set up. and i see in the log that it gets POST /webhooks/mollie/first-payment 200 OK but i never see /webhooks/mollie in my logs. (after i run cashier:run)

Hi,
Yes this is normal behavior when using a Mollie testkey. Mollie does not automatically update payment statuses for mandated payments.

Hi,
Yes this is normal behavior when using a Mollie testkey. Mollie does not automatically update payment statuses for mandated payments.

HI Sander, Thank you for your response.
Just to be sure... saying that it doesn't update automatically confuses me a bit. That it doesn't work with a test key, thats fine.
but when i have a scheduled job running the cashier:run command with a production key it will work? and it will update the status in my database and in Mollie or do i have to update it somehow myself?

HI Sander, Thank you for your response.
Just to be sure... saying that it doesn't update automatically confuses me a bit. That it doesn't work with a test key, thats fine.
but when i have a scheduled job running the cashier:run command with a production key it will work? and it will update the status in my database and in Mollie or do i have to update it somehow myself?

Source: https://docs.mollie.com/guides/testing
You could use something like this to access the payment and retrieve the appropriate url from there.
mollie()->payments->get($order->mollie_payment_id)

Source: https://docs.mollie.com/guides/testing
You could use something like this to access the payment and retrieve the appropriate url from there.
mollie()->payments->get($order->mollie_payment_id)

So yes, it's because of the test key and it works in production. But using that payment url you can test your integration - which I recommend. Enjoy!

So yes, it's because of the test key and it works in production. But using that payment url you can test your integration - which I recommend. Enjoy!

Okay! Thank you for your time explaining this to me!

Okay! Thank you for your time explaining this to me!


Certificate verification error installing devcontainer

When I try to start a devcontainer I get this error:
Installing VS Code Server for commit 2213894ea0415ee8c85c5eea0d0ff81ecc191529
Run: docker exec 7602314dc8df0bdf6cd43091a3643b3c89f5ff63ec1a463be93b1ddd3c3c192c mkdir -p /root/.vscode-server/bin/2213894ea0415ee8c85c5eea0d0ff81ecc191529_1563954742342
Error: unable to verify the first certificate
        at TLSSocket.onConnectSecure (_tls_wrap.js:1049:34)
        at TLSSocket.emit (events.js:182:13)
        at TLSSocket._finishInit (_tls_wrap.js:631:8)

I have to use a proxy that is defined in vscode settings. I've deactivated the 'http strict ssl' setting. I've tried to redefine those settings in the devcontainer settings but the certificates keep being verified.

VSCode Version: 1.36.1
OS Version: W10

Do you have the required certificate installed in the OS? If you do, could you check if this is still a problem with the latest Insiders build of VS Code? (Download: https://code.visualstudio.com/insiders/) We just fixed a related issue on Windows (#79044).

Hi,
Yes, the certificate was installed on the OS.
On the latest insiders version the problem is fixed!
Thanks a lot!


Could you please check if this issue can be closed? and if we need to release something?

Issue can be closed.


why not make middleware or hooks that works exactly before sending response that could change or alter the response object

Problem statement
There is a problem which always happens what if we wanted to make certain actions or wrap our responses all our responses in express in a certain standard way right now there is no built in hooks or middlewares which works before the sending
Lots of inefficient workarounds
I know there is workarounds by just overriding the response object but thats sometimes not efficient enough and sometimes breaks some functions while responding so , why not make hooks for the main response functions and just pass in the req and res objects for the user to modify and just return the res and req after the modification.
Just a proposed way for the way to make such hooks
let express = require('express');
let app = express();
let bodyParser = require('body-parser');

// some middlewares

app.use(bodyParser());

// routes here
app.get('/test',(req,res) => res.send('I am a test function'));

// now put a hook in the app to run before the send
// this is an example of how to make send hook
app.hooks.onSend = (req,res) => {

    res.body = {
            body: res.body,
            status : 200
   };

   return { res, req };
};

benefits
It is a simple use case but it will help alot of people make their code way better.
by at least making a way to change res object either in headers or in the body or any other thing according to what they need to change.

Hi @abdoolly,
Thanks for the detailed and well reasoned request.  While I can see your reasoning, I think that what you are asking for is not the domain of Express to solve.  This is a great use case for a wrapper library which exposes the interface you desire.  This is a common way for users to solve problems where Express is still used under the hood. Also, it is the way the Express generally team prefers because it means we do not have to maintain the code for this new interface (smaller core).
Does that make sense?

@abdoolly  Is this what you want?

@jiangwei1995 : Could you please have a look at: https://github.com/prkeshri/express/commit/db50bddde2beb1e1ae3c0b4489c6a421a4c0ffef/
If this could provide some value, I will raise a pull request. Thanks.

I've just made a library called node-ally, you could submit this as a feature request

I think this is a valid request.
Express middlewares are limited by the fact that the control flows downwards to other middlewares or handlers until response is sent.
It is a useful feature to be able to capture certain actions so that people can control different application behaviours. For instance, users may need to wrap their request-response pipeline into as one Unit of Work so that they can either commit or rollback based on the response before being sent.
ASP.NET framework supports this kind of behaviour but sadly express.js doesn't.


Some problem of relevant option

HI Wil Boayue
Thank you very much for your open source project. I have a question about option ordering in the process of using it. How can I use the interface related to the order, similar to the placeOrder interface in Python。

Thanks for trying out my API. It is still under development. For far I’ve implemented and use the market data streaming because my application requires it.
My application is not placing orders yet so I haven’t implemented an orders API. But that is on my list of features to implement.
On Tue, Apr 5, 2022 at 04:06, 汤敏正 @.***> wrote:

HI Wil Boayue
Thank you very much for your open source project. I have a question about option ordering in the process of using it. How can I use the interface related to the order, similar to the placeOrder interface in Python。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


uwsgi does not find pcre

Issue description
When running uwsgi on a project, I see the following, with the relevant line being !!! no internal routing support, rebuild with pcre support !!!:
[nix-shell:~/workspace/arxiv-zero]$  uwsgi --http-socket :8000 -w wsgi -t 3000 --processes 8 --threads 1 -M --async 100 --ugreen --manage-script-name
*** Starting uWSGI 2.0.15 (64bit) on [Mon Dec 18 21:33:36 2017] ***
compiled with version: 6.4.0 on 04 December 2017 13:31:03
os: Linux-4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017
nodename: beb82dell0
machine: x86_64
clock source: unix
detected number of CPU cores: 8
current working directory: /home/brandon/workspace/arxiv-zero
detected binary path: /home/brandon/workspace/arxiv-zero/venv/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1048576
- async cores set to 100 - fd table size: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
initializing 100 uGreen threads with stack size of 262144 (256 KB)
uwsgi socket 0 bound to TCP address :8000 fd 3
Python version: 3.6.3 (default, Oct  3 2017, 07:47:49)  [GCC 6.4.0]
Python main interpreter initialized at 0x218aeb0
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 9828576 bytes (9598 KB) for 800 cores
*** Operational MODE: preforking+async ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x218aeb0 pid: 6897 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 6897)
spawned uWSGI worker 1 (pid: 6900, cores: 100)
spawned uWSGI worker 2 (pid: 6901, cores: 100)
spawned uWSGI worker 3 (pid: 6902, cores: 100)
spawned uWSGI worker 4 (pid: 6903, cores: 100)
spawned uWSGI worker 5 (pid: 6904, cores: 100)
spawned uWSGI worker 6 (pid: 6905, cores: 100)
spawned uWSGI worker 7 (pid: 6906, cores: 100)
spawned uWSGI worker 8 (pid: 6907, cores: 100)

Steps to reproduce
In a nix-shell expression, put pcre a a buildInput, and install uwsgi either as a buildInput (not expected to work) or via pip after the nix-shell has launched (I expected this to work). Run uwsgi on a simple application and observe the output as above.
Technical details
$ nix-shell -p nix-info --run "nix-info -m"
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user//nixenv/brandon/channels/’ does not exist, ignoring
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user//nixenv/brandon/channels/’ does not exist, ignoring
 - system: `"x86_64-linux"`
 - host os: `Linux 4.10.0-38-generic, Ubuntu, 16.04.3 LTS (Xenial Xerus)`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.15`
 - channels(brandon): `"nixos-18.03pre121706.b9347167822, nixpkgs-18.03pre121653.a88146d308f"`
warning: Nix search path entry ‘/nix/var/nix/profiles/per-user//nixenv/brandon/channels/’ does not exist, ignoring
 - nixpkgs: `/home/brandon/.nix-defexpr/channels/nixpkgs`

Here's my example shell file, which can probably be trimmed a bit:
with import <nixpkgs> { config = {
  packageOverrides = pkgs: {
    uwsgi = pkgs.uwsgi.override { xlibs = null; }; # how to make this enable pcre?
  };
};};
with pkgs.python36Packages;
stdenv.mkDerivation {
  name = "impurePythonEnv";
  buildInputs = [
    # these packages are required for virtualenv and pip to work:
    #
    python36Full
    python36Packages.virtualenv
    python36Packages.pip
    # the following packages are related to the dependencies of your python
    # project.
    # In this particular example the python modules listed in the
    # requirements.tx require the following packages to be installed locally
    # in order to compile any binary extensions they may require.
    #
    gcc6
    mysql57
    ncurses # needed by uWSGI
    openssl
    pcre
    zlib
  ];
  src = null;
  shellHook = ''
    # set SOURCE_DATE_EPOCH so that we can use python wheels
    SOURCE_DATE_EPOCH=$(date +%s)
    virtualenv venv
    export PATH=$PWD/venv/bin:$PATH
    export PYTHONPATH=$PWD
    pip install -r requirements.txt
    export LD_LIBRARY_PATH=${mysql57}/lib:${gcc6.cc.lib}/lib:$LD_LIBRARY_PATH
    export FLASK_APP=app.py
    export FLASK_DEBUG=1
    source private_vars.sh
  '';
}

#
# Now you can run the following command to start the server:
#
# uwsgi --http-socket :8000 -w wsgi -t 3000 --processes 8 --threads 1 -M --async 100 --ugreen --manage-script-name

Could you try installing (uwsgi.override { plugins = [ "python3" ]; })?

will this be merged into 18.09?


Add a healthcheck to the docker container

An ability to restart the container if "error: no working indexers available" comes up would also be highly useful.
My use case for this is as follows: when booting up my machine, sometimes cross-seed happens to start before prowlarr does. Cross-seed checks for the configured prowlarr api URLs, those don't work yet and cross-seed fails. It remains in a failed state until I notice that it has failed and restart it manually.

Dupe of #277?


Add means for hiding/filtering errors for reading extended attributes

Output of restic version
restic 0.8.3
compiled with go1.10.1 on linux/amd64

How did you run restic exactly?

export RESTIC_REPOSITORY=sftp:<remote_user>@<remote_host>:/repository
export RESTIC_PASSWORD_FILE=<password_file>
export RESTIC_INCLUDE_FILE=<include_file>
export RESTIC_EXCLUDE_FILE=<exclude_file>

restic backup --hostname <host> --tag <some_tag> --files-from $RESTIC_INCLUDE_FILE --exclude-file $RESTIC_EXCLUDE_FILE

Apr 26 00:35:41 <hostname> restic[6993]: can not obtain extended attribute security.selinux for /mnt/folder1/a:
Apr 26 00:35:41 <hostname> restic[6993]: can not obtain extended attribute security.selinux for /mnt/folder1/b:
Apr 26 00:35:41 <hostname> restic[6993]: can not obtain extended attribute security.selinux for /mnt/folder1:

What backend/server/service did you use to store the repository?
sftp
Expected behavior

Expected backup to complete without errors.
 The sample below shows security.selinux, but I did find messages about other xattrs as well (ie, trusted.glusterfs.dht.mds). Worth noting that the backup does seem to complete successfully, and the files can be restored just fine. It just spams my logs with a bunch of warning/errors. Also, the errors are printed every time. Even if no files have changed and there is nothing new to backup. So the logs fill up quite fast.
Apr 26 00:35:41 <hostname> restic[6993]: can not obtain extended attribute security.selinux for /mnt/folder1/a:
Apr 26 00:35:41 <hostname> restic[6993]: can not obtain extended attribute security.selinux for /mnt/folder1/b:
Apr 26 00:35:41 <hostname> restic[6993]: can not obtain extended attribute security.selinux for /mnt/folder1:

Steps to reproduce the behavior

Create a gluster volume.
Mount the volume locally using the gluster native client.
Initialize a restic repo (This can be a local repo or sftp. I've tested with both and confirmed the error on either one).
Perform a backup of some files located on the gluster volume mount.
???
Profit!

Do you have any idea what may have caused this?
The files/directories being backed up reside on a gluster volume (mounted locally using the gluster native client). I do know that gluster makes heavy use (internally) of xattrs, but they're usually only visible on the underlying bricks. That is, you can see them if you login to the machine hosting the drives and view the files directly there. But not through the client mount.
Do you have an idea how to solve the issue?
¯\(ツ)/¯ Maybe log messages about xattrs in the security, trusted, or system namespaces at a lower level (ie, debug).
Did restic help you or made you happy in any way?

This is a super fast, easy to use backup solution with a friendly, helpful, open-minded development team.

Thanks for the report! I think we need some kind of mechanism within restic to hide errors (maybe based on patterns or types), so that users can consciously decide to ignore certain errors.
In this case, is it relevant to save extended attributes at all? Do you need restic to archive these?

I think saving xattrs in the user namespace could be important. Not sure about the others though. I've tested, and it does actually save the xattrs (or at least the ones in the user namespace). It just complains loudly about the others.

Perhaps you could write something like "An error occurred saving extended attributes for backup. See debug logs for more info." to the console at a high level. And then write the errors about each individual file to the debug logger. Just brainstorming...

I think I'm getting a similar issue when backing up CIFS shares.  It'd be great to collapse these, too, in at least some way (or to have some method of signifying I accept that restic can't back up xattrs on CIFS).
(Just in case this is me doing something dumb with CIFS, the relevant part of /etc/fstab is _netdev,uid=me,gid=me,noauto,user,isocharset=utf8, but I don't think that's really the issue as such—and at any rate, I'm with @joshdreagan that collapsing this class of errors, or having a flag to indicate I don't care for some mount points, might be helpful.)

You definitely want to save and restore all extended attributes if possible. Users and applications can store all sorts of relevant things there (not just SELinux).

Hello -- Since this issue is still open, I'd like to bump it and say that I'm also having a problem that could be solved if I could tell Restic to ignore extended attribute errors, or ignore extended attributes themselves (i.e., not try to include them in backups).
My use case is using Rclone to mount an S3-compatible Ceph bucket, and then using Restic to back it up elsewhere. (That's different from the more typical usage of Rclone for the back end.) This is failing because the mounted bucket has no extended attributes, and Restic reports an input/output error when it tries to read them. (I also get an I/O error if I try to run getfattr against a file in the Rclone mount.) It's my understanding that neither Rclone, nor object storage systems in general, support extended attributes, so it would be great to be able to tell Restic to ignore them, or to ignore error related to them and continue the backup successfully.
A similar problem was reported in issue #1800, in which case the backup source was a CIFS or SMB mount which had no extended attributes. The solution in that case was, I believe, specific to CIFS/SMB -- if I understood it correctly, it was to use a mount option (nouser_xattr) that causes the mount to explicitly report that extended attributes are unsupported, in which case Restic would get the hint and carry on successfully without them. As far as I can tell, there's no way to do this with Rclone.
In both this issue and in #1800, Alexander / fd0 said that he thought it would be appropriate for Restic to be able to carry on successfully despite extended attribute errors, but as far as I can tell this has not been implemented. I add my voice in favor of implementing it.
I'd also welcome suggestions for other solutions to my problem.
I've been using Restic since 2019 and it's fantastic -- thanks!

There is #3034 which sounds like maybe it somehow fixes this, but I don't understand it.  If I'm just doing something wrong, I'd love a tip.

For anyone with a problem like mine (previous two comments), I have a solution:

In rclone config, the acl setting for the Ceph remote needed to be set to authenticated-read
In my restic command, I needed to use the --ignore-inode option, because the Rclone mount is a FUSE filesystem which doesn't provide stable inodes.


LCD: make peers and URI red if unreachable on Tor

as discussed in: #1604
(duplicate of https://github.com/rootzoll/raspiblitz/pull/2136 which was reverted)

The commit is part of: https://github.com/rootzoll/raspiblitz/pull/2148 so closing this.


Program type already present: com.blankj.utilcode.BuildConfig

AGPBI: {"kind":"error","text":"Program type already present: com.blankj.utilcode.BuildConfig","sources":[{}],"tool":"D8"}
:app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/0.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/1.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/2.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/3.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/4.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/5.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/6.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/7.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/8.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/9.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/10.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/11.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/12.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/13.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/14.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/15.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/16.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/17.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/18.jar, /Users/jazzeZhou/AndroidStudioProjects/MyTest3/app/build/intermediates/transforms/dexBuilder/debug/19.jar
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: com.blankj.utilcode.BuildConfig

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

升级到 1.22.1 版本哈

同样的问题，    implementation 'com.blankj:utilcode:1.21.1'
@Blankj


how to publish stereo rectified color image for left and right camera in 400P?

hi, I have OAK-D-SR, which has camera OV9782 and support rgb.
the default rectified stereo publish gray-scale image for left and right (depthai_examples/src/stereo_inertial_publisher.cpp).
for my application, i need the rectified stereo for slam and rgb-scale for deep learning.

Hi, I would suggest adding using depthai_ros_driver for that as you can just set left/right.i_publish_topic: true which should give you color streams, and then use rectify node in ROS to remove distortion, similarly to how it's done here

Thank you for your reply.
i use the method you mentioned, for my application, the left/right color images and stereo rectified left/right image's  timestamps need be the same, the method you mentioned publish these separately, and cannot guarante synchronization of left and right image timestamps.
it will better to simultaneously publish rectified color left/right image, thank you a lot.

@Serafadam  Thank you for your reply.
i use the method you mentioned, for my application, the left/right color images and stereo rectified left/right image's timestamps need be the same, the method you mentioned publish these separately, and cannot guarante synchronization of left and right image timestamps.
it will better to simultaneously publish rectified color left/right image, thank you a lot.

@Serafadam
i use depthai_ros_driver/launch/camera.launch.py to publish raw left/right image, and use "image_proc::RectifyNode" to rectify them, the timestamp is followed:
[INFO] [1730880007.262391017] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.207883
[INFO] [1730880007.263250313] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.207876
[INFO] [1730880007.288508682] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.257876
[INFO] [1730880007.289215117] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.257883
[INFO] [1730880007.339837535] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.307876
[INFO] [1730880007.344171716] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.307886
[INFO] [1730880007.389211416] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.357883
[INFO] [1730880007.389900147] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.357876
[INFO] [1730880007.444667497] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.407885
[INFO] [1730880007.445348543] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.407876
[INFO] [1730880007.489026490] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.457883
[INFO] [1730880007.489738916] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.457876
[INFO] [1730880007.540102982] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.507876
[INFO] [1730880007.540789139] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.507883
[INFO] [1730880007.590778281] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.557876
[INFO] [1730880007.595876277] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.557885
[INFO] [1730880007.639657219] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.607885
[INFO] [1730880007.640347654] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.607876
[INFO] [1730880007.689156439] [camera_info_subscriber]: Left Camera Timestamp (seconds):<PHONE_NUMBER>.657876
[INFO] [1730880007.693225015] [camera_info_subscriber]: Right Camera Timestamp (seconds):<PHONE_NUMBER>.657884

it meet the requirements of time synchronization between left and right images. many thanks.


Bug/add ec2 autoscaler permission

Description
Missing permission added to IAM role; this probably broke when we upgraded to EKS 1.21, now fixed via the extra permission added here.
https://run-x.atlassian.net/browse/RUNX-1162
Safety checklist

[X ] This change is backwards compatible and safe to apply by existing users
[X ] This change will NOT lead to data loss
[X ] This change will NOT lead to downtime who already has an env/service setup

How has this change been tested, beside unit tests?
Manual test

Closing this and sending another one - commits got mixed up


Player/Editor to support new type of questions

Project Details
What is Sunbird inQuiry?
Sunbird inQuiry is a software building block that enables setting up of question banks for various use cases such as assessments, quizzes, practice worksheets, surveys, and many more. These are applicable in multiple domains related to education and human development.
Here are some examples of solutions that can be enabled through Sunbird inQuiry:

Conduct assessments which can evaluate users’ understanding of concepts and issue certificates based on assessment score.
Evaluate assessment data to take informed decisions and plan for interventions.
Launch surveys to collect feedback and analyse responses.

Question Set Editor (QuML editor)
Question set editor is a tool offered by inQuiry to help you kickstart your creation of Question Banks.
Question Set Player (QuML player)
Question set player is a player provided by inQuiry to create engaging & inclusive experiences for end users consuming the question sets.
More details are here
Features to be implemented
Implementing new question type of match the following
Currently the QuML editor and player supports only multi choice question and subjective question. As part of this requirement, we need to introduce the match the following question type.
As this involves QuML Editor and Player changes, once the solution is finalised the execution can be done by 2 contributors to develop QuML Editor and Player changes in parallel.
What exists

QuML Specification
QuML Player that is capable of playing multi choice and subjective questions.
QuML Editor that is capable of creating multi choice and subjective questions.

What needs to be build

[ ] Enhance the QuML Editor to create match the following question.
[ ] Enhance the QuML Player to play match the following question.
[ ] Adherence to the QuML specification

Learning Path
Complexity
Complex
Skills Required
Angular and Node
Name of Mentors
@krgauraw / @vaibhavbhuva / @rajnishdargan
Project size
8 Weeks
Product Set Up
Details of the QuML specification is available here.
Instruction to install the QuML editor is available here
Instruction to install the QuML Player is available here
Acceptance Criteria

[ ] New match the following question can be created using the QuML Editor
[ ] Questions generated are complying to QuML Specification
[ ] New match the following question can be played using the QuML Player

Out of Scope
Enhancing the Backend API
Milestones

[ ] Understanding the requirements
[ ] Understanding QuML Specification
[ ] Understanding QuML Editor
[ ] Understanding QuML Player
[ ] Submit the solution for incorporating the match the following question
[ ] Solution approval
[ ] Setting up the QuML Editor
[ ] Setting up the QuML Player
[ ] Developing the solution for the new question type in QuML editor
[ ] Developing the solution for the new question type in QuML player
[ ] Testing the question creation flow in QuML Editor
[ ] Testing the question playable flow in QuML Player
[ ] Testing the new question type along with ensuring the existing question types has no issues

Hello Mentors! I would like to work on this. Can you help me get started and are any issues open?

Hello Mentors!
I have been looking into the documents of QuML Editor and Player and also looked into the architecture of InQuiry.
Now I'll set up the Editor and Player, anything else I must do that might help with this issue?

Hi @PrathameshGujar08 @kavania2002 @vinayastar01
Thanks for your interest in our project. Please do setup application in local, also make sure to prepare and submit your proposal in unstop platform and join in discord channel for any communication.
Here is the setup steps for player and editor

Hi All,
We are conducting a 30-minute Q&A and issue clarification session to address any doubts regarding proposal submission or any other concerns to clarify.
Here are the session details for the connect:
Date: 9th June 2023 - Friday (Today)
Time: 05:30 PM to 06:00 PM
Meeting Link: https://teams.microsoft.com/l/meetup-join/
Kindly join discord channel for continuous updates.
Looking forward to meeting you all.
Thank you.


Pure Django App or UI/API split?

Two options here:

We could write this app as pure django from model to template
We could create an API layer (e.g. Django Rest Framework) and a separate UI layer

My preference is to separate the two. I've used DRF before and I've used AngularJS to create a UI on top of a DRF API. Left to my own devices, I'd repeat that architecture.

I can't say I know enough to be able to comment (but very much looking forward to learning all this stuff)...

I should add that separating the two also comes in two flavours:

They could be two entirely separate apps in two separate repositories and hosted separately on Heroku (or wherever)
Django could serve both layers within the same app even using AngularJS as the UI framework

Again can't offer much insight here... I'm very much looking forward to learning all this.

I think a distinct JSON API layer using DRF will enable us to serve up results data very easily for those that want to do their own analysis.

I've heard a lot about DRF and am definitely onboard!

And that the various AngularJS widgets will allow us to create visualisation of results for those that would prefer us to do it for them.

This might be one for some discussion at DjangoCon - I'd welcome meeting anyone with experience of hosting AngularJS within Django.

Hi, I don't know if this is the case, but one thing that you have to keep in mind is that if you want to use some kind a user control, keeping Angular and DRF in the same app let's you use SessionAuthentication which is easier to use.
From the DRF docs:

SessionAuthentication

This authentication scheme uses Django's default session backend for authentication. Session authentication is appropriate for AJAX clients that are running in the same session context as your website.

Otherwise I think you'll need to implement a token based auth or the basic with username and password that according to the docs is "generally only appropriate for testing".
Hope this helps. BTW in not an expert so maybe the advantages of decoupling the API from the frontend outweigh this.
Cheers

@alejandrodnm Thanks for that. I'm no expert either!
I'll see if I can get Erik Romijn (who did the security talk) to give us his thoughts.

Technicaly there's a little difference between both options. Static frontend (1st option) or dynamic frontend (REST API + Javascript) are both just "frontend".
I would aim at writing backend first, maybe with simple command line interface. Then I would build frontend on top of it. This way it's actually easier to test the algorithm and implementation of model. Frontend is usually just visualization of business logic and can be kept separately.

We are using JWT tokens to do authentication across Django and Ember. That should work with Angular too, I reckon.
http://jwt.io/

Thanks all. It looks like I'd better create a DjAxelrodUI repository this morning!


add name to structure tree view

Description
What is this PR

[ ] Bug fix
[x] Addition of a new feature
[ ] Other

Why is this PR needed?
We'd like to see the names of the structures in the tree view, not just the acronyms
What does this PR do?
Alternative, simpler-to-implement solution to a toggle between structure acronyms and names: acronyms are always shown, and names can be shown/hidden with a checkbox.
For the more difficult implementation

make the model editable by reimplementingsetData (but make sure the user can't edit)
or
replace model entirely anytime things are toggled. This would work OK if we managed to remember the expanded indices, but this is tricky because we are left with dangling pointers on model replacement. See an attempt at this on
the complex-structure-tree-view branch.

References
Closes #47
How has this PR been tested?
Tests for the new checkbox functionality have been added.
Is this a breaking change?
Nope.
Does this PR require an update to the documentation?
Nope
Checklist:

[x] The code has been tested locally
[x] Tests have been added to cover all new functionality (unit & integration)
[x] The documentation has been updated to reflect any changes
[x] The code has been formatted with pre-commit

Sorry just seen the issues tracking progress on this.


Add comments to package.nls.json

Brief Issue Summary

Add "comment" in package.nls.json wherever a part of a message should not be translated.
Change the corresponding "description" in package.json into "markdownDescription"

For example true or false in this description in package.nls.json:
"cmake-tools.configuration.cmake.ignoreCMakeListsMissing.markdownDescription": { "message": "If `true`, the extension will not ask the user to select a CMakeLists.txt file for configuration when one is found in the workspace but not in the root folder.", "comment": [ "Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered." ] },

And the corresponding description in package.json:
"markdownDescription": "%cmake-tools.configuration.cmake.ignoreCMakeListsMissing.markdownDescription%",

Closing this issue, we have started doing this.


sp.user_playlist_create and user_playlist_change_details has no argument 'description'

Here is what I get after inspecting these functions;
In[ ] inspect.getargspec(sp.user_playlist_create)
Out[ ] ArgSpec(args=['self', 'user', 'name', 'public'], varargs=None, keywords=None, defaults=(True,))
In[ ] inspect.getargspec(sp.user_playlist_change_details)
Out[ ] ArgSpec(args=['self', 'user', 'playlist_id', 'name', 'public', 'collaborative'], varargs=None, keywords=None, defaults=(None, None, None))
So it seems not possible to create a playlist with description yet or add a description afterward either.

@zhammer Geez #211. :smile:

Still not working. Can't update descriptions of playlists anymore.

This should be fixed with version 2.5.0, just do:
pip install spotipy --upgrade


Polls necessary

Your app works as expected. Thank you very much! :smiley:
However, you should mention that it is absolutely necessary to create a poll and add it to a page. If one does not and accesses that page, an exception will be raised.
Therefore you should add an if clause around the template:
{% if self.poll %}
    <form class='poll' method='POST' action='{% vote self.poll %}'>
        {% csrf_token %}
        {{ self.poll.form }}

        <input type="submit" value="Vote">
    </form>
{% else %}
    No polls added to this page yet!
{% endif %}

Furthermore, your link to documentation in the README returns 404. Remove it?

Thanks @Tamriel, I have since made some changes to fix the above! :)


feat(client): basic Storybook setup

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Description
Ref #41580
This PR sets up Storybook in the client folder. I try to keep the PR small with some basic configs, and will have follow-up PRs to iterate. Storybook right now has a stub component that was generated by Storybook's installation script.
To start it, run:
npm run storybook

I will add comments to the code to give a better explanation, but here is a breakdown of what I did:

I followed the Installation doc and ran npx sb init inside /client. The script creates a .storybook folder right under /client, and a stories folder under /client/src
The components files were actually created in TypeScript, I deleted most of them, kept the Button component only and converted it to JavaScript. The component list that the script generates can be found here, and the generated introduction file can be found here
Installed @storybook/addon-postcss as a dev dependency and added it to the .storybook/main.js config
Installed dotenv-webpack and html-webpack-plugin as dev dependencies as a workaround to resolve https://github.com/storybookjs/storybook/issues/14403 (I will elaborate more in the comment)
Themed Storybook a little by adding freeCodeCamp logo
Added the storybook command to the root package.json file

Screenshot

@raisedadead Totally agreed! I'm also in favor of keeping the components platform-agnostic, so it makes sense to move it out of client. I was under the impression that we would built the components from scratch, but headless-ui looks promising.
I'll try to get back to this PR over the weekend 😄
In the meantime, I'm wondering if you have any suggestions on the folder structure. Storybook's default structure is quite flat:
stories
├── Button.css
├── Button.js
├── Button.stories.js

I'm thinking about having a folder for each component, which would be consistent with our components folder in client, and an index.js file that serves as an entry point for component export. It should be something like this:
ui-components
├── Button
│   ├── Button.css
│   ├── Button.js
│   ├── Button.stories.js
│   ├── Button.test.js
├── index.js

One thing I completely forgot in the issue discussion is that we should write unit tests for our components as well.
For components that headless-ui doesn't support yet and we need to build ourselves, we should try to ensure accessibility requirements are covered via unit tests. An example could be making sure icon-only buttons have aria-label specified, or disabled buttons have the disabled attribute set, etc..
I have some experience working with Jest and @testing-library/react and I guess I'm going to propose that 😛 But I would like to get some input from the core team on the testing approach as well.

I like the idea of having a simple flat structure instead of layers like we currently do. One thing to note is that all file names should be kebab-case
As for tests, YESSSS PLEASE!!! we are fans of RTL so that should already align with what we want. Please go ahead.


Fix issue #1399 EXISTS doesn't handle non-existent labels

Fixed issue #1399 where EXISTS doesn't handle non-existent labels. However, the issue actually is due to the extra processing (read: extra distance between the AST nodes) that prevented the transform logic from being able to resolve variables created in previous clauses further than one parent up.
Added logic to allow the find_variable function to search up the parent parse nodes.
Added regression tests to cover these cases.

Issue number in commit description is wrong. I should be 1399 instead of 1339.

@jrgemignani Issue number in commit description is wrong. It should be 1399 instead of 1339.

Oops


Disable XML analysis when documentation diagnostics are disabled

Fix #1190
Fix previously unreported issue where enumeration members would receive warnings when documentation diagnostics were disabled

:+1:


Added Proper Title Case plugin to Text Management section

Checklist

[x] I made something good today 💐.
[x] I put links in the correct format: [Tool](link) — description.
[x] My description starts with the lower-case letter and ends with the full stop.
[ ] I put the tool in the alphabetical order. (This section isn't sorted.)

Optional

[x] I added the appropriate labels: free, open-source or mac.
[x] I put the tool only to one category.
[x] I followed Contribution Guidelines.

Added! thanks for contributing ☀


Restructure library to hide imported modules

The module has unrelated imports like async_generator, attr, ipaddress, etc. These can be hidden by moving the implementation into a private module and re-exporting from the main module.

Any pointers to style guides that explain how to do this? I briefly glanced at the way Trio is structured. I guess the implementation goes into module[s] prefixed with "_" and then the public API is re-exported from trio_websocket.__init__.py? Is there anything else to it?

That's how trio does it, yeah.
Trio is unusually fussy about this. Most python projects don't bother underscoring internal module names, and the stdlib is full of modules that leak random imports (not at a computer to check details, but stuff like os.path.sys and socket.sys.
I wanted to be particularly careful for trio because I've seen big long-running projects like twisted, urllib3, numpy get burned badly by this, and trio is designed to eventually become one of those. And anyway, sticking an underscore on internal modules is not really that hard to do. But your taste may vary.
The bare minimum is to make sure your public namespaces like the main __init__.py have an __all__ to document which symbols you consider public.


Add description to form compontent

Allow users to add and edit a description at the component level. Users often don't know how to add extra descriptive text to their form elements. Adding a link to the base component similar to Google forms will help users create better form fields.

Closing issue. Refer to: Edit/form builder cards: add list, edit description, add other, expand question field #2003


main CI auto-publish to NPM

What is the Problem Being Solved?
As yet publishing is a manual process.
Description of the Design
When main gets a new "version" value in the @agoric/synthetic-chain package.json then it should publish that.
Maybe also publish prerelease versions on each commit to main.

This will make the Git tags and publish
https://github.com/pascalgn/npm-publish-action
Or use Lerna to publish from CI?
https://stackoverflow.com/questions/75873654/how-to-publish-specific-package-in-lerna-using-cicd-configuration
this good be perfect:
https://github.com/changesets/action


Analyze and test OIDC integration options

Overview of the Feature Request
What kind of user is the feature intended for?
SPA developers
What inspired the request?
https://docs.google.com/document/d/1Z9IHtjmbvWpmybk8ObifvfoF1IAGCZiv6ZNz6MamKFQ/edit?pli=1#heading=h.vnet3ylnbji
What existing behavior do you want changed?
None
Any brand-new behavior do you want to add to Dataverse?
Not for the moment, just analysis.
Any open or closed issues related to this feature request?

https://github.com/IQSS/dataverse-frontend/pull/504
https://github.com/IQSS/dataverse/pull/10278
https://github.com/IQSS/dataverse/pull/10905

OIDC pkce library PoC:

dataverse-frontend: https://github.com/IQSS/dataverse-frontend/pull/516
dataverse-client-javascript: https://github.com/IQSS/dataverse-client-javascript/pull/201
dataverse: https://github.com/IQSS/dataverse/pull/10910

I am assigning you to this issue as well, since you are currently working on this topic @ErykKul

Closing since we have already reached a consensus on how to proceed.


Feature Request: @versions -> @Entity({ auditing: true })

Package

db
schema-builder

Description / Use Case for a Feature
Make the old @version directive work again. Or more general, provide a way to provide versioning on tables, e.g. using JSON diff.

The following error is thrown, when inserting an item into a Table with versioning. The error is thrown within the _meta.create_version() trigger function. Weirdly this happens only on my local postgres but not on aiven. Maybe, I need to use an older version of plv8.

Aivens plv8 version: 1.4.4
Local plv8 version: 1.4.8

error: { error: buffer 1078 is not owned by resource owner TopTransaction
    at Connection.parseE (/Users/davidthol/space/fullstack-one/packages/db/node_modules/pg/lib/connection.js:554:11)
    at Connection.parseMessage (/Users/davidthol/space/fullstack-one/packages/db/node_modules/pg/lib/connection.js:379:19)
    at Socket.<anonymous> (/Users/davidthol/space/fullstack-one/packages/db/node_modules/pg/lib/connection.js:119:22)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
  name: 'error',
  length: 129,
  severity: 'ERROR',
  code: 'XX000',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'resowner.c',
  line: '875',
  routine: 'ResourceOwnerForgetBuffer' }

@davidsparkles As mentioned on the phone earlier today, I would rather remove plv8 and therefore this diffing altogether and only store the previous and the current state as a full serialized object.

solved in #101


Adding latest openssl version Based on FF

Task name: AzurePowershellv1- V5, AzureFilecopyV1- V6, PublishSymbolV2, AzureCloudPowershellV1,V2
Description: Changed the common folder to use latest version of openssl
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N)
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

azp /run

/azp run

/azp run


Fixed #11385 -- Made forms.DateTimeField accept ISO 8601 date inputs.

Thanks José Padilla for the initial patch.

IIRC the reasons for not accepting time zone information in date time form fields were:

Forms are intended for user input (remember, this was 2011). Users don't tend to input time zone information spontaneously. When we decided to support ISO 8601, we made this argument irrelevant.
Naive values should be delineated clearly from aware values. Forms are the frontier that converts between naive and aware values. Fields in HTML pages are in "naive values" land. This is a fairly theoretical argument. It may not hold if you counter it with "be strict in what you generate, lax in what you accept".
I didn't want to add complexity that didn't have an obvious use case. Apparently we have a use case now.

None of these arguments should block progress with this ticket. Just generate a suitable datetime.timezone.

OK, thanks @aaugustin. Let's support offsets and Z.

@carltongibson, still in your review queue?

@claudep Thanks :+1: I corrected notes about the default input formats also for DateField and TimeField, added tests for stripping whitespaces in ISO formats, pushed minor edits, and rebased from master.

Awesome! You could even have set you as commit author, as my contributions are now minor :-)


chore: fix some monorepo issues

adds the build step back in for the shared package. we're going to want npm run dev in there so we can update files in there while working in dev on either app, afaict. updates gh workflows appropriately.
fixes the import sort order issue. prettier rc had been updated to use @trivago/prettier-plugin-sort-imports and wasn't configured with our @/ root alias in mind. This made eslint mad every time you opened a file.

Thanks! tsup.config.ts got removed in a merge: https://github.com/tloncorp/landscape-apps/blob/b3700b9f00da58ee358131487721f68bbe27c06f/packages/shared/tsup.config.ts
But the inline options on the build command achieve the same thing - looks good 👍


C PreProcessor Warning no path to include (existing file in path)

Describe the bug
Attempting to parse the headers here with the attached parser profile fails. While I'm sure it should fail at the moment, the CParserPlugin.out file is empty. Scrolling through the very long error popup dialog I see the following warning "WARNING: No path to #include <inttypes.h> /* int64_t, etc. */    Assuming not needed!". However, this file does exist, is in the include path and was the first parsed header. Note that the "Current Include Path:" in the error popup is missing 90% of the include path.
To Reproduce
Steps to reproduce the behavior:

Clone https://github.com/PS5Dev/PS5SDK to acquire the headers to parse.
Modify the attached parser profile to correct the paths.

Expected behavior
No warning, all files in the include path should be considered and errors should go to CParserPlugin.out so they are easy to find.
Attachments
ps5sdk.prf.txt
Environment (please complete the following information):

OS: Microsoft Windows [Version 10.0.22621.1485]
Java Version: 17.0.5
Ghidra Version: 10.3_DEV ca9a56b5f4d51eb2fb0ab66afe801aba30836591

Additional context
Probably related to #3310 if there is a header limit.

The comment at the end of the #include <inttypes.h> might be causing the issue.  Not sure why that isn't stripped off by the PreProcessor.  It may be the changes that were made a while back to try and keep line numbers consistent.  The include occurs in the PreProcessor, so my suspicion is the parsing of the filename to the include directive, and possibly some error checking and stripping of the filename needs to be done before trying to open the file.
There isn't a limit on the number of header files, so I don't think that is it.
There are about to be quite a few changes to the CParser gui.  The includes will be split from the Options section and the files will be red if there is no path to them.  They are red now, but they aren't really checked correctly with the include paths in the options section.  These changes probably don't help with this issue.

I'm assuming that it is just re-emitting the whole line it ingested in the warning and is not actually looking for "#include <inttypes.h> /* int64_t, etc. */" as a file.

No, that is what it is trying to "include"
The original line in archive.h was:   "#include __LA_STDINT_H /* int64_t, etc. */"
Is causing the issue.
The Pre-processor grammar has code for processing a type of include when it doesn't follow the form #include <> or #include "".  It does do an expand of the define which really can't be parsed easily in a grammer, since you can really to anything in a pre-processor because it is text substitution.

No, that is what it is trying to "include"
The original line in archive.h was: "#include __LA_STDINT_H /* int64_t, etc. */" Is causing the issue.
The Pre-processor grammar has code for processing a type of include when it doesn't follow the form #include <> or #include "". It does do an expand of the define which really can't be parsed easily in a grammer, since you can really to anything in a pre-processor because it is text substitution.

Oh, I didn't notice that. Thank you.

Fixed by 3f13d99079e7fb84987a19a57a4daa2e9b1cc73e


Add support for Azure Relay service as an alternative for Ngrok

Description
We should include Azure Relay service as an alternative tunneling tool.

@ceciliaavila - There's a problem with Azure Relay in that it doesn't work with Direct Line Speech. Or, more accurately, DL Speech won't work with Azure Relay which is a problem for anyone wanting to test it in Emulator. I've used and tested Azure Relay a lot over the past few years. I knew from past experience that this issue with DL Speech existed but only dug into it recently.
Tools I tested included: Azure Service Bus Relay, Tunnel Relay, NetPassage, and DevTunnel.
A little background on each.
The Azure Service Bus Relay tool was created by Gabo Gilabert as an alternative to ngrok and works well when used with DirectLine with or without Cognitive Services Speech. Cognitive Services Speech and DL Speech are different products however both are accessed using a secret/token from CS. (Side note - this tool actually only uses Azure Relay and not Azure Service Bus.)
Team's Tunnel Relay does exactly the same thing as Azure Service Bus Relay by utilizing Azure Relay. It just has a GUI to work with. As it is essentially the same, DL Speech also does not work with it.
NetPassage was initially created as a branch on the Azure Service Bus Relay repo. It has since become its own product. It produces a bi-directional web socket tunnel turning any http requests into a message in a web socket stream. This works with DirectLine, but DL Speech still does not.
DevTunnel is another MS product that also makes use of Azure Relay and web sockets, though the implementation is different than the other products. Regardless, DL Speech does not work with it.
Here are some of my findings:

While going over the DL issue with the NetPassage dev, he confirmed what I had started to suspect. That the NetPassage tool only reads the http calls and then redirects them to an Azure Relay web socket instance. It does not support custom web socket connections (i.e., connecting the DL Speech web socket so inbound/outbound traffic could be read). A feature request could be created requesting support for this.
I took a closer look at the wss:// streams that are generated in both a normal DirectLine-based Web Chat conversation and a DirectLine Speech-based Web Chat conversation. In the former, the host of the web socket stream is directline.botframework.com. Copying the connection string and inputing it into a web socket client (e.g., WebSocket King - an Edge extension) will display all the back and forth messages between the user and the bot.
However, in the latter case, where the host of the web socket stream is westus.convai.speech.microsoft.com, neither the inbound nor outbound messages generated from the user or bot are available. This includes the initial conversationUpdate and is true regardless of whether it is text or speech passed into Web Chat. The conversation isn't impeded in any way. The web socket stream simply doesn't display any traffic.
I'm not sure how CS achieves hiding the traffic. Searching the web resulted in alot of results focused on masking or validating/authenticating who can view the messages. I didn't see anything suggesting traffic could just be hidden all-together. Maybe it's tied to the embedded scope, audience or some other claim in the streams token...? Still, I would have expected to see traffic going out from the client to the server, at least.

Anyhow, as ngrok was able to overcome this hurdle, as DL Speech works with it, it really seems that it should be possible to overcome this using another tool, such as NetPassage, Tunnel Relay, or DevTunnel. It's just a matter of getting the correct solution implemented.

Thanks for the detailed information @stevkan!

hi, Is there any guidance / steps available to use DevTunnel with bot emulator?

@sambathrajv there is no support yet. There are limitations on DevTunnel side stopping us from the integration. NgRok v3 should work with Emulator Nightly releases

Closing as Ngrok was removed so the user can set the tunneling tool of preference.


Firebase Crashlytics: Upgrade from Fabric to Firebase Crashlytics SDK

Is your feature request related to a problem? Please describe.
When I tried to upgrade my Crashlytics Plugin, it throws could not find method.
Describe the solution you'd like
I realised that this need to be implemented from plugin side as well.
Here's the link to new implementation
https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android
P.S: I get mails from firebase team to upgrade the Crashlytics SDK as the existing one is going to be deprecated.
Thanks.

Closing as duplicate of https://github.com/FirebaseExtended/flutterfire/issues/2038


MPGTextField inside TableView Cell

Hello
I use MPGTextField inside tablview cell. I not able to select any suggestion.
Thanks

Did you found solution for this?

Bump


i can not find the function _.isNumber in the source code

i downloaded the source code on this repository,but i can not find out where the function _.isNumber is been defined.
what is the matter?

It's defined at runtime.

Please don't use Github issues for questions, it's very rude. Use the gitter channel, StackOverflow, or the mailing list if you have any questions.

Instead of chastising folks lets just point them in a friendly direction of support with a link to the gitter channel and stackoverflow. I think it'd be great if we added these links to the repo's readme too.

A link to the mailing list would also be appreciated. I haven't been able to locate it myself. :crying_cat_face:

As far as I know there isn't an Underscore specific mailing list. However, there is a Backbone one.


[ref] Garbage Collection

Garbage Collection

Use this thread to discuss how GC works, suggestions and improvements.

Here is the pocketlang's Object type (see) (the "abstract base class" for "struct inheritance". How it's implemented isn't related to this discussion)
struct Object {
  ObjectType type;  //< Type of the object.
  Object* next;     //< Next object in the heap allocated link list.
};

Heap Allocations

vmRealloc() is the pocket VM's allocator where, all the "GC magic" happens. All heap allocation calls invoke that function, and when an object is allocated it'll form a linked list in the VM, the Object* next points to the next object in the linked list.
Pocket VM keep track of the number of bytes allocated, and if it reached a threshold value, the garbage collection will be triggered.
The method we're using for GC is called mark-and-sweep
Marking Phase
VM's roots are objects that we have direct reference to and we don't want them garbage collected such as, stack values, temp references, handles, running fiber, current compiler, etc.
In this phase, we'll perform a reachability analysis, by doing a graph traversal and mark objects which are reachable from the roots. (note that the darker green objects below are marked, ie. is_marked = true)

First, we mark and push all the root objects to the working_set of the VM.

Now, pop the top object from the working set mark and push all its referenced values. (ex: a list has reference to all of its elements and a fiber has reference to the stack values and its function object).

Repeat the above step till the working set become empty

Once, we're done with the working_set, any object that isn't marked is a garbage.

Sweeping Phase
At this phase, we'll iterate through the VM's object linked list, and if an object isn't marked we can free the object and remove it from the list. (see here)

Finally, we'll adjust the allocation threshold value depending on the number of bytes we're left with now (see here). See vmCollectGarbage(PKVM* vm)  for the implementation. And here is how you can trigger GC manually in pocketlang
>>> from lang import gc
>>> gc() ## Returns the amount of bytes cleaned.
1520
>>>

Reference:

Wren Language - https://wren.io/
http://www.craftinginterpreters.com/garbage-collection.html

A warm thanks to Bob Nystrom (@munificent) for these wonderful resources.

Any plans for flow analysis to actually eliminate 95% of all garbage collection calls and use malloc() with corresponding free() instead?

At this point, pocketlang is a single pass compiler, which makes it impossible to even perform constant folding. This definitely is an interesting topic when it comes to re-write the front end with a static analyzer. I'll add it to the list of future works.
Thanks for the suggestion!

@ThakeeNathees the state of the art analyzer of that kind is IMHO the one used in Lobster. Feel free to take a look at it - I myself was quite impressed!

@dmitryguzeev Looks interesting, I'll take a look at it.


Fix MediaDisconnection signature

The MediaDisconnectionSignature currently looks for the string 'media was likely disconnected' as an indication to include the signature.
But following https://github.com/openshift/assisted-service/pull/3124, the media disconnection message was changed and that exact string was removed. Thus, modified the ERRORS_PATTERNS string in the signature to: 'was either disconnected'.
Note: tested the change manually on: https://issues.redhat.com/browse/AITRIAGE-3342 (./tools/add_triage_signature.py -d -i AITRIAGE-3342)

/cc @omertuc
/cc @mkowalski
/cc @vrutkovs
/cc @osherdp

/lgtm

/hold

Probably not too critical but would it make sense to look for both the old and new string?

I think not, so feel free to unhold if you agree

I think not, so feel free to unhold if you agree

Yeah it was changed more than half a year ago, so should be fine.

/lgtm

/unhold


String with only spaces is considered as name !

What

Input for the list item is allowing user to put empty string also to list name

Steps to reproduce the behavior

Go to lists > add list > type some spaces >
Add to the list
See error

Expected behavior

Why

Part of

#525

#Screenshot/Mockup/Before-After

Smartphone model

Device:
OS:
App Version:

Additional context

@M123-dev was this feature intentional? Or its just a bug !
Can you clarify this ? Thanks !

@Sudhanva-Nadiger
This definitely wasn't intended to have empty spaces as names, it might create confusion,
Please feel free to raise a pr fixing this 🤖


Hope zenject support async method

We use "addressable" to load and instantiate resources , howerver, it only apply async method to instantiate gameobject. so we can't use FromComponentInNewPrefab method to create a instance。

DI Best practices:
When it comes to applying DI, asynchronous programming should not be an issue.
As the construction of object graphs should always be fast, should never depend on any I/O, and, therefore, should always be synchronous.
Async Extensions (experimental)
That said, there's an experimental feature created by @altuncercan. Which you can find in Plugins/Zenject/OptionalExtras/Async
This has not been published in any release. So you'll have to to pull it from master.
Read more about it here in the Async documentation


cannot associate multiple credentials with an inventory source

I can POST multiple credentials to an inventory source via inventory_source/N/credentials.
tower-cli POSTs to inventory_source/N using the credential field, allowing only one.

this still can't be done in the API, I will re-open the issue when it makes it into AWX


Fixes reference leaks in filterer 'filter' string and relative time

Codecov Report

Merging #58 (7a709e1) into main (7a68c06) will decrease coverage by 0.50%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
- Coverage   86.28%   85.78%   -0.51%
==========================================
  Files          10       10
  Lines        1881     1878       -3
==========================================
- Hits         1623     1611      -12
- Misses        258      267       +9

Impacted Files
Coverage Δ

src/picologging/filterer.cxx
78.57% <71.42%> (-3.25%)
:arrow_down:

src/picologging/logrecord.cxx
85.78% <100.00%> (-0.08%)
:arrow_down:

src/picologging/handlers.py
91.92% <0.00%> (-1.91%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Master

Improve README and fix wrong comment.

Cool. Thanks!

I thought I merged it with my mobile phone. But it seems it cannot merge automatically. I will have to merge it manually unless you update it to master

Sorry, i first time use github. I try see more but maybe i wrong with merge request.

I see graph, see as good. I don't know why problem with merge automatically. I wait. This changes is minor.

Woops. That was strange. I just noticed that was not merged yesterday when pressed the button. And then tried with my phone a moment ago and did not work. Tried again in the computer and now it merges flawlessly. So, this is already done. Thanks for the PR!


Python projects

Closes #21
This PR adds Python project support using pyscaffold.

I'm going to merge your commits into my branch and fix them.


refactor checkAtmosConfig

what
Refactor the checkAtmosConfig code so that the config is loaded once in the root command, checked and added to the context for other commands to use.
why
This code was being called multiple times, which decreased performance in was unnecessary.

Summary by CodeRabbit

New Features

Enhanced handling of Atmos configuration across multiple commands, ensuring correct retrieval and type-checking.

Bug Fixes

Improved error handling when Atmos configuration is missing or incorrectly typed.

Documentation

Comments refined for clarity in the handling of Atmos configuration.

Refactor

Removed unnecessary configuration checks from various commands to streamline execution flow.

Closing this PR in favor of #869


Improve swaylock man

Fixes #1018

Thanks!

should've seen that. thanks
On Sun, Feb 26, 2017 at 12:36 AM, Fabio Alessandro Locati <
<EMAIL_ADDRESS>wrote:

@Fale commented on this pull request.
In swaylock/swaylock.1.txt
https://github.com/SirCmpwn/sway/pull/1084#discussion_r103091464:

-i, --image [:]::

Display the given image, optionally only on the given output.

Display the given image, optionally only on the given output. This option
and -i are mutually exclusive.

yes, and @SirCmpwn https://github.com/SirCmpwn already fixed it in
master
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SirCmpwn/sway/pull/1084#discussion_r103091464, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AViFHFU0zxGcgasaMhtPCgr2GAYhGMN7ks5rgLsEgaJpZM4MMEyx
.


ngclient: Rename constructor arg

metadata_dir matches metadata_base_url better.
This is an API break for anyone using named arguments.
Fixes #1638
Signed-off-by: Jussi Kukkonen<EMAIL_ADDRESS>
I've considered the other ideas mentioned in the issue but I think this is the only one that seems clearly worth the change.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.577%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4091

Relevant Lines:
4176

💛  - Coveralls


get-covid-stats JavaScript version

I implemented the get-covid-stats function for NodeJS, with README and package.json
mentioned on issue appwrite/appwrite#1923
Executed function

Execution log

THANK YOU! All changes merged 🥳
Please reach out to eldadfux on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.
You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub.
You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile.
Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :)


Deal with channel moderation for Twitch chat provider

It might be sensible to remove messages from users that have been timed out or banned, or messages that have been deleted individually from chat by a moderator.
Depending on the content, and because even moderators can make mistakes, maybe a facility to restore some could be helpful, too (probably not a high priority).
Channel bans and unbans are easy enough to deal with. Timeouts are the same event, but with a timestamp saying when it expires.
Finding out if a user was globally banned/suspended sadly requires subscribing to channel.update on EventSub for each user, prior to this happening and checking /helix/users if you get a "user does not exist" response whenever you receive such an update event, which I can't say is ideal. Detecting a global unban is even worse, because only polling /helix/users will get you that...

Not a bad idea..  let's target for Milestone 3 where we will start to automate actions like this


Laravel 6.x Compatibility

The app()->getFallbackLocale() method doesn't exist until Laravel 7.x. I've tweaked the line in question to be Laravel 6.x compatible.
Note: This targets the 2.x version of your package, which still supports L6. Unfortunately, upgrading to L7 or L8 is not currently an option for me.

Hi! Released in version 2.0.5. Hope this helps, good luck!

Thanks for the timely response!


Unable to get past my stores password protection screen (Shopify trial account)

Hi,
So I just installed the foundation theme using Theme Labs and when I do a yarn start as per the instructions, I get a localhost URL as well as a couple of public URLs to customise/preview the foundation theme. The customise/preview public URLs work well, however my localhost URL displays a password screen. When I enter the password that I have set in my Shopify preferences to hide my store, my localhost doesn't accept it and just redirects back to the password page. I believe this is a cookie issue as shopify is returning cookies for the live hostname of the store which then doesn't get set as my browser is currently on the http://<IP_ADDRESS>:<port> URL. I didn't have this issue before using the Foundation theme. Am I doing something wrong here? Apologies if this is not an issue related to the theme itself. I am extremely new to shopify and all this theme stuff. Would really appreciate if someone can point me in the right direction on how to solve this issue.
Thank you! 🙏🏽

This is strange I don't have any issues logging in from the localhost URL.
Some troubleshooting steps:

Have you created the store after June 29, 2021?
When creating your store did you select the development store option
Log out of the store and log in again using the your-store.myshopify.com/admin URL
Log out of your store via the Shopify CLI shopify logout and then log in again shopify login --store your-store.myshopify.com
Are you sure you are using the right password?

In the file shopify/sections/main-password.liquid
Changing the  input name from "customer[password]" to "password" fixed the issue for me.
Change
<input         type="password"         id="CustomerPassword"         name="customer[password]"         placeholder="{{ 'form.password' | t }}"         class="w-full rounded-r-none"         required       >
to
<input         type="password"         id="CustomerPassword"         name="password"         placeholder="{{ 'form.password' | t }}"         class="w-full rounded-r-none"         required       >

Yes, that's a bug. The solution from @boomcruiser should be correct. I was always getting the default Shopify password template and not the custom one from the theme.

@boomcruiser @sergejcodes that was it! I actually ended up deleting the theme I previously initialised and re-initialised a new one based on v4.1.1 that you release above and the issue is now gone. I am able to get into my test store locally. Thank you so much for your assistance and the prompt response/fix. Much appreciated! 🙏🏽❤🙌🏽


Refine Unittest

[ ] Move debug configuration as workaround to inconsistent result for unit testing in OSX vs Ubuntu -- might be platform-dependent bug
[ ] Add safe matmul assertions
[ ] Test for rectangular matrices (small and large)

Review throwing exceptions, might not be ideal. Related to resolving bus error.


Added the @est.itstena.edu.ec domain

Official Website URL: https://www.itstena.edu.ec/
IT Course Offered(>2 years): https://www.itstena.edu.ec/carrera.php?valor=CAR02

@cris6h16 First stage of verification passed, official domain is itstena.edu.ec as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@cris6h16 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Use 'libdir' of rbconfig to get jruby classpath

classpath is not set above java 9. jruby.jar is found in <jruby-home>/lib/ directory and that path can be retrieved from RbConfig::Config['libdir'] without JRUBY_HOME set.
Reference: https://github.com/jruby/activerecord-jdbc-adapter/commit/995be701d58f58a34bc0d1448c9cd54f9fcd9e48

I have removed libdir && as I found that it will always be present.
https://idiosyncratic-ruby.com/42-ruby-config.html

Thanks.

Hi, I just found out that this is the reason why cross compilation broke. It's no longer possible to set JRUBY_HOME when running the rake task on MRI (libdir is obviously pointing into MRI not into JRuby). Therefore this change broke cross compilation. Would you have time to fix the issue?

Can you open a new issue and describe how to reproduce your case there?

@kou I've got this. I've created an issue and will fix it asap :)

Thanks! I'll wait for your fix!


pip installable

This library needs to be installable via pip. ex: pip install ical_dict

This package can now be installed via pip install ical_dict!


Add link to Adrien Bartoli's dataset webpage

The following links
http://igt.ip.uca.fr/~ab/code_and_datasets/index.php
http://igt.ip.uca.fr/~ab/code_and_datasets/datasets/
could be provided as part of the "Repositories holding multiple datasets" section:
https://github.com/luiscarlosgph/list-of-surgical-tool-datasets#repositories-holding-multiple-datasets

Done.


Possible memory issues with particles.js

Referencing this issue pagekit/theme-avion#2
Summary:
I am noticing memory issues on Firefox when running particles.js. Memory leaked to almost 15gb in a few seconds.
Anybody else experienced this too? Please read the other issue for a more elaborate description.

Duplicate #64


Adjust the stopping criterion

Currently the stopping criterion tolerance is often hard coded. For instance in LBFGS,
https://github.com/argmin-rs/argmin/blob/46f43cd753110cd853c74e190fe2dfcf145a5c6e/src/solver/quasinewton/lbfgs.rs#L166-L172
the stopping criterion for the gradient is std::f64::EPSILON.sqrt() ~ 1e-8 while in practical machine learning application 1e-4 could be sufficient, as performance matter more than perfect convergence .
So the question is what API would allow for these stopping conditions to be set by the user. For instance, it could be some combination of,
a) add tol to the struct initialization in new. That's probably not ideal, as for instance LBFGS would require 2 tolerances, and always providing them manually is not great.
b) add tol to the struct but not as an argument in new method
c) implement a Default trait with current values.
d) some form of builder pattern or a method e.g. with_tol.
For now I would likely tend to propose b) with d) using a with_tol or just tol method (which also would be backward compatible), and I'm looking for some feedback. I'm not sure what would best generalize to different solvers. Also ideally the solution should also be consistent with Executor.max_iters approach.

I thought about this problem in the past and couldn't come up with a totally satisfactory solution. Such tolerances may have slightly different meanings for different solvers, therefore a "general" solution at the level of the Executor (like max_iters) may cause confusion.
The downside of b+d is that it would be a bit inconsistent with the max_iters/target_cost/... approach. Nevertheless I personally would still also go for your proposal of b) and d) because it is probably more flexible.
At this point I have do admit I don't care so much about backwards compatibility yet.
In the meantime I started to like the prefix with_ for such methods. Maybe we should change this wherever it makes sense? What do you think?

Closing. All tolerances can now be set by the user.


[WIP][FIX] Run commands via issue comments

@rudehn I don't know what went wrong with #284 but feel free to use this to fix it

Might as well just use this one. I'm afraid my git-fu isn't good enough to figure out how to use this


Error: ModuleNotFoundError: No module named 'groundingdino' torch.distributed.elastic.multiprocessing.errors.ChildFailedError:

I'm running on a single A800：
bash train_dist.sh 1 config/cfg_coco.py config/datasets_od_example.json

new issue: DETR training and evaluation script: error: unrecognized arguments: --local-rank=0

I'm running on a single A800： bash train_dist.sh 1 config/cfg_coco.py config/datasets_od_example.json

This issue has been solved by runing setup.py from the original groundingdino.

You can consider adding a local rank argument to the main function.

You can also try running without the distributed pytorch stuff like this:
!python /content/Open-GroundingDino/main.py
--output_dir ./logs
-c /content/Open-GroundingDino/config/cfg_odvg.py
--datasets /content/Open-GroundingDino/config/datasets_mixed_odvg.json
--pretrain_model_path /content/Open-GroundingDino/groundingdino_swint_ogc.pth
This is on a colab notebook that I don't have 100% working yet but I did solve the local rank issue. Step by step instructions from the authors for  single GPU training would be helpful.

I'm running on a single A800： bash train_dist.sh 1 config/cfg_coco.py config/datasets_od_example.json

This issue has been solved by runing setup.py from the original groundingdino.

This PR fixed this issue
https://github.com/longzw1997/Open-GroundingDino/pull/10


Feature: option to disable admin email verification screen

Hi,
What do think about adding an option to disable the admin email verification screen?
See: https://www.intelliwolf.com/disable-wordpress-admin-email-verification/
Maybe something like:
return [
    'application' => [
        'general' => [
            ...
            'admin-email' =><EMAIL_ADDRESS>            'admin_email_check_interval' => false,
            ...
        ],
    ],
];

I like it! I would probably add it under wp-admin.login.email-verification as it only alerts on login if I'm correct?

Yes, as far as I know it only alerts on login.
I have made a pull request. I added it under wp-admin.login as admin-email-check-interval, which can be used to change the interval or completely disable it. When the admin-email is set in intervention.php, I set it to disable automatically.
I not sure if fits here, because the current settings are about the appearance of login and can set depending the role?
What do you think?

Thanks! Yea, still debating myself where this should belong. It's a tricky one because it feels like we're removing the login validation screen, however we're also setting an application option. I'll try pull in the changes and see what feels more natural.

Added to application.general.admin-email.verification
Thanks!


Persist Previous Account Login (Account Listing on Login Screen)

The login screen looks pretty bare. One I idea that I have is when the user tries the downloader for the first time, the user should be able to click on the associated username and just enter the password (and TOTP if that is enabled). Under the username and password fields, perhaps there should be a listing of previous accounts (just username and profile picture) that were used for the downloader. When the user selects the associated username, it should expand with the password field that can be entered. Bonus points if you can use something like Window's Credential Manager (and the Linux equivalent) to securely store the full credential with an expiration so that the user does not need to type in the password every time. Again, that previous sentence is a nice-to-have, but the other parts mentioned before should be available in the application.

I won't persist passwords or session tokens without encryption at rest of these details.

I certainly hope you won't just store tokens or passwords in plain text! I mentioned Windows Credential Manager because I believe it will securely store and encrypt your credentials. However, due to the short amount of time and just not enough time to read up on it, I would just stick with persisting just the username. That's why I said Bonus Points for the other part.

Been reading: https://github.com/neosmart/SecureStore looks reasonable. There are better options but this one is cross-platform.

We can also operating system define this using DI, https://learn.microsoft.com/en-us/dotnet/standard/security/how-to-use-data-protection should be used if available. which is windows. so just need a linux solution some interfaces and a bunch of DI

You can see the beginnings of this here: https://github.com/GuVAnj8Gv3RJ/NeosAccountDownloader/tree/feat/settings
We're using DataProtection apis for windows, and we'll find a solution for Linux as we go.


Split pipeline instance wizard

Split the wizard into other usable parts.
For instance can be tagged onto create_dataset + version or similar.
The wizard will try to use transformation_schema to help creating the transformation
Try with origo pipelines instances wizard

:broken_heart:


Using PKS, the FluentD pod needs to be root to access the log folders

Add the option in the helm chart to allow for pods to run as root for PKS deployments.
In PKS (Pivotal Kubnernetes Servies), the location of the logs are in /var/log/containers/
Possibly add the same settings as this commit:
https://github.com/splunk/splunk-connect-for-kubernetes/pull/190/commits/1bdbb2e5be2b664d37865a0257be2e3606e98981

You can use the develop branch/ wait for the next release to set the location for pks.

Release is out! Please try with 1.3 and advise if you still have issues!

Closing due to inactivity


TrueNAS Scale Minecraft-java Forge Serveur installation

Enhancement Type
Improve an existing feature
Describe the enhancement
I'm using TrueNAS Scale and I'm trying to install a Minecraft server with forge, but it persists with errors, I succeeded with the "Vanilla" and "Papers" versions but I'm stuck on the Forge version.
I've tried with MC 1.20.4, which creates an error, and now I'm trying with 1.12.2 and I'm getting the following logs.
Container definition
`Image:  itzg/minecraft-server:java8-multiarch
environment:
  TYPE: "FORGE"
  OVERRIDE_SERVER_PROPERTIES: "false"
  EULA: "TRUE"
  VERSION: "1.12.2"
  FORGE_VERSION: <IP_ADDRESS>59
  GUI: "FALSE"
  INIT_MEMORY: "1G"
  MAX_MEMORY: "12G"
  USE_AIKAR_FLAGS: "true"
  JVM_XX_OPTS: "-XX:+UseG1GC"`

Container logs
2024-01-19 00:53:20.604355+01:00[init] Running as uid=568 gid=568 with /data as 'drwxrwxrwx+ 3 3000 3000 12 Jan 19 00:29 /data'
2024-01-19 00:53:20.607072+01:00[init] Resolving type given FORGE
2024-01-19 00:53:22.523894+01:00[mc-image-helper] 00:53:22.521 INFO  : Forge version <IP_ADDRESS>59 for minecraft version 1.12.2 is already installed
2024-01-19 00:53:23.390544+01:00[init] server.properties already created and managed manually
2024-01-19 00:53:24.076346+01:00[mc-image-helper] 00:53:24.074 INFO  : The file ./ops.json already exists, so no changes will be made
2024-01-19 00:53:24.811734+01:00[mc-image-helper] 00:53:24.809 INFO  : The file ./whitelist.json already exists, so no changes will be made
2024-01-19 00:53:27.357883+01:00[init] Using Aikar's flags
2024-01-19 00:53:27.358449+01:00[init] Setting initial memory to 2048M and max to 2048M
2024-01-19 00:53:28.354272+01:00[init] Starting the Minecraft server...
2024-01-19 00:53:28.676214+01:00A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
2024-01-19 00:53:28.676409+01:00at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-01-19 00:53:28.676425+01:00at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2024-01-19 00:53:28.676439+01:00at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2024-01-19 00:53:28.676458+01:00at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2024-01-19 00:53:28.676475+01:00at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
2024-01-19 00:53:28.676512+01:00at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
2024-01-19 00:53:28.676655+01:00Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
2024-01-19 00:53:28.676681+01:00at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
2024-01-19 00:53:28.676726+01:00at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
2024-01-19 00:53:28.676757+01:00... 6 more
2024-01-19 00:53:28.823920+01:002024-01-19T00:53:28.822+0100	WARN	mc-server-runner	Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error.	{"exitCode": 1}
2024-01-19 00:53:28.823969+01:002024-01-19T00:53:28.823+0100	INFO	mc-server-runner	Done

You'll need to use an image tagged for Java 8 rather than the default of Java 17 for Forge less than 1.18:
https://docker-minecraft-server.readthedocs.io/en/latest/versions/java/

oh great thanks my problem, come from there

@itzg I've managed to install the forge server up to 1.19.2 with Java17 JDK but for 1.20.4 I can't do it. Which version should I use?

Please provide the new logs for Forge 1.20.4. You will need to use Java 17 for that.

Here are the new logs for MC 1.20.4 with Java 17JDK
2024-01-19 13:15:56.191813+01:00[init] Running as uid=568 gid=568 with /data as 'drwxrwxrwx+ 3 3000 3000 6 Jan 19 13:15 /data' 2024-01-19 13:15:56.193542+01:00[init] Resolving type given FORGE 2024-01-19 13:15:58.034778+01:00[mc-image-helper] 13:15:58.032 INFO  : Downloading Forge installer 49.0.19 for Minecraft 1.20.4 2024-01-19 13:15:59.496692+01:00[mc-image-helper] 13:15:59.496 INFO  : Running Forge installer. This might take a while... 2024-01-19 13:16:01.221118+01:00[mc-image-helper] 13:16:01.220 ERROR : 'install-forge' command failed. Version is 1.36.9 2024-01-19 13:16:01.221149+01:00me.itzg.helpers.errors.GenericException: Unable to locate forge server jar 2024-01-19 13:16:01.221156+01:00at me.itzg.helpers.forge.ForgeInstaller.install(ForgeInstaller.java:215) 2024-01-19 13:16:01.221161+01:00at me.itzg.helpers.forge.ForgeInstaller.install(ForgeInstaller.java:88) 2024-01-19 13:16:01.221167+01:00at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:103) 2024-01-19 13:16:01.221180+01:00at me.itzg.helpers.forge.InstallForgeCommand.call(InstallForgeCommand.java:19) 2024-01-19 13:16:01.221189+01:00at picocli.CommandLine.executeUserObject(CommandLine.java:2041) 2024-01-19 13:16:01.221196+01:00at picocli.CommandLine.access$1500(CommandLine.java:148) 2024-01-19 13:16:01.221202+01:00at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) 2024-01-19 13:16:01.221211+01:00at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) 2024-01-19 13:16:01.221216+01:00at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) 2024-01-19 13:16:01.221221+01:00at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) 2024-01-19 13:16:01.221226+01:00at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) 2024-01-19 13:16:01.221232+01:00at picocli.CommandLine.execute(CommandLine.java:2170) 2024-01-19 13:16:01.221244+01:00at me.itzg.helpers.McImageHelper.main(McImageHelper.java:157) 2024-01-19 13:16:01.575822+01:00[init] ERROR failed to install Forge

Make sure you have the latest image by running
docker compose pull

That sounds like an issue with Forge 1.20.4 that was recently fixed in the image.

I do have the latest version. (the one offered by TrueNAS Scale)
Name:
minecraft-forge-1-20-4
App Version:
2023.11.1
Chart Version:
7.1.7
Last Updated:
N/A
Source:
[github.com/truecharts/charts/tree/master/charts/stable/minecraft-java](https://github.com/truecharts/charts/tree/master/charts/stable/minecraft-java)[hub.docker.com/r/itzg/minecraft-server](https://hub.docker.com/r/itzg/minecraft-server)[github.com/itzg/docker-minecraft-server](https://github.com/itzg/docker-minecraft-server)
Developer:
N/A
Catalog:
Truecharts
Train:
stable

That'll be a TrueNAS problem or whoever maintains that chart. That version is quite old and missing 44 changes at this point
https://github.com/itzg/docker-minecraft-server/releases/tag/2023.11.1
Please contact the appropriate maintainer there.

it's not going to work.....

I see they updated it last week, so they've got a lot of catching up to do.
Version: 2023.11.1
Source:
[github.com/truecharts/charts/tree/master/charts/stable/minecraft-java](https://github.com/truecharts/charts/tree/master/charts/stable/minecraft-java)[hub.docker.com/r/itzg/minecraft-server](https://hub.docker.com/r/itzg/minecraft-server)[github.com/itzg/docker-minecraft-server](https://github.com/itzg/docker-minecraft-server)
Last App Update: last Monday at 7:33 PM

In the end, I switched to Crafty, which has a better interface and works in 1.20.4.


Minder should validate the config exists

Describe the issue
I made a mistake in giving an incorrect path, yet no error handling occurs

To Reproduce
No response
What version are you using?
No response

I had minder 0.0.50 installed via brew. I see a error message as below
minder auth login --config test.txt Error reading config file: open test.txt: no such file or directoryYour browser will now be opened to: http://localhost:55587/login
In the latest, minder 0.0.63, it is behaving like originally reported. Happy to take a look at this.

Thanks @psekar! I'll assign the issue to you.