about train.py

hello, when i run python train.py, it returns error as: type error,load_weights() got 2 argument 'skip_mismatch' argument error, it seems like 'skip_mismatch'returns the argument error,whats the problem, my environment setting as keras version:2.1.5, pls help,tks,by simon

You can reinstall Keras and try again.

hi,i've reinstall keras 2.1.5 for more times,but it doesnt seem to solve the problem

Is there more than one Python environment in your pc? Keras 2.1.5 works fine.

tks,it works, and do you know how to using keras model to train on different size of images??

What do you mean about different size? The different sizes are usually preprocessed to a fixed size. And that's what we already do.

I want to train on different images  with unet model, do you know ow to build the model and put different input shape of images into the model to train??

Sorry but I don't know U-net. Since U-net is a fully convolutional network, it is similar to YOLOv3. Just set the height and width of input layer to None.

i've set it to none,but it says the wrong shape,i think its my training set with wrong image shape,btw,do you know how to store different size of images into array to form a training dataset in python?

An array with different wh is not workable. Try model.fit_generator and use a date generator to generate arrays one by one.  In particular, set batch size to 1. I don't know if this is what you need or not.

ok,tks,i'll try it,and one more question,can i install both gpu drivers on both systems to run gpu on windows and ubuntu?
or can just install it on one system??
tks for reply, by Simon~

I'm not sure but I think the system is independent.


Assigning user when an applicant applies in the OSCP

We are using the 2 separate instances of the OSCP that point to the same BullHorn instance.  Each instance is for a different site we have configured.  The OSCP uses this endpoint to apply to the job:
https://public-rest5.bullhornstaffing.com/rest-services/{swimlane}/apply/{job_id}/raw
We'd like the job application to be assigned to a different user depending on what site the request comes from.  The sites are at two different URL's.  Is there a way to specify what user to assign the application to in this endpoint?  We've been speaking with customer support and they say it is possible but we need to ask in this forum to get help.
Thank you!
Current behavior
Applied jobs don't get assigned to the correct user.
Expected behavior
Based on the site they're applying from, a different user should be assigned.

Hey @jasonziolo ,
That is possible, however you will need to change your career portal from using the public-api endpoints to our normal rest api.  This would involve adding backend files for authorization.
Instead, I suggest modifying your portal's code to send with the candidate payload a source of which portal the application has come from.  That way you are still operating within the bounds of the public API.

For the first option, this would require a drastic overhaul of your out of the box OSCP, true?
For the second option, is there any documentation for this API endpoint to do this (this endpoint doesn't show up anywhere in your documentation I can find)?  Also, I believe that will require additional configuration inside of BullHorn to read that payload and assign it to the correct user.  Do you agree?
Thanks for the prompt reply.

The first option would require a major out of the box career portal change, correct.
The latter option, there isn't much documentation on the public api as there isn't much variability in behavior.
There is not any additional configuration required to read the source parameter from the payload.

I just reread your message,
This option would not attribute to a specific user.  This option would only add the source to the user record inside Bullhorn.

Can you provide more details on the latter option?  From the source code, I see we can specify name, email, phone, gender, ethnicity, veteran, disability and title.  I'm not sure how to use these fields to specify which user to assign the application to.  Is there ANY documentation on this web service I can reference?  If not, can you provide an example of how to send in the information to specify which user to assign this to or what portal it came from?

https://github.com/bullhorn/career-portal/blob/master/src/app/services/apply.service.js#L74
We already optionally add a source if a parameter is in the URL.  instead of optionally adding the source option, you can just hardcode the source to the portal of choice.
I would also like to reiterate: This is not going to assign ownership within Bullhorn to a recruiter. This is only going to set the source field, which you can then filter by the source of each candidate.

Thank you, I see source now.  One final question, is there a way assign the issue to the right person in BullHorn based on this source by adding a configuration in BullHorn?

There is not a way to do this within Bullhorn's settings.

Thank you for your prompt replies, I think I have what I need for now.

Note to other developers:
I think this definitively answers the fact there isn't any documentation or ability to extend the web service at
https://public-rest5.bullhornstaffing.com/rest-services/{swimlane}/apply/{job_id}/raw.
Hopefully that saves you the time I spent scouring their documentation for more details.  =)

Heya,
The url actually is https://public-rest{swimlane}.bullhornstaffing.com/rest-services/{corpToken}/apply/{job_id}/raw.


TensorFlow support, and setuptools

Enjoy

This is really impressive work ! Thanks for your contribution.
However, the whole point of this project to have a copy and paste-able script as the core, se.py, and the rest of the scripts just as helpers. With the additions of _data/logging.yml and conversion of this script to be more of a package, I think it has become overly heavy compared to its original purpose.
If you can revert it to its original script-like form, without the additional logging, yaml files and setup.py, I can merge this immediately.
If you would like this to be on a seperate branch than master, thats fine too.

Hi @titu1994,
Yes I can make those changes, however I would like you to reconsider including setuptools support.
I'm already depending on this repository now:
https://github.com/SamuelMarks/ml-glaucoma/commit/e7f7c4651d8aa13adc213daa9a5e88ae86e67b9d#diff-ec2fb3d92db262b37034b4b1926a31e5R9
from keras_squeeze_excite_network import se_resnet

Am confident others will find it useful in much the same way. You can even upload it to pypi to get interest from even more people!
PS: In terms of making the se.py really approachable, you can just mention it in the README with an [even] smaller snippet, and link to deeper within the repository.

Hmm. Alright. Let's go with your work then. However the logging still needs to be removed. Is that alright ?

@titu1994 Missed your reply! - Made the changes

Thanks for the update ! Just the se.py file remains, and of you could, remove the .editorconfig file as it's no longer needed.

Perfect. Ready to merge when you give the go ahead.

Thanks for the fantastic PR !


qpdf: 11.8.0 -> 11.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/qpdf/qpdf/releases.
meta.description for qpdf is: A C++ library and set of programs that inspect and manipulate the structure of PDF files
meta.homepage for qpdf is: https://qpdf.sourceforge.io/
meta.changelog for qpdf is: https://github.com/qpdf/qpdf/blob/v11.9.0/ChangeLog
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 11.9.0 with grep in /nix/store/asxkc0cjv1h6r2wwwpql9s89kflqwmd7-qpdf-11.9.0
found 11.9.0 in filename of file in /nix/store/asxkc0cjv1h6r2wwwpql9s89kflqwmd7-qpdf-11.9.0

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

1949 total rebuild path(s)

1949 package rebuild(s)

First fifty rebuilds by attrpath
activitywatch
appdaemon
authentik
aw-watcher-afk
baserow
bitwarden-menu
borgbackup
borgmatic
browsr
buildbot-full
buildbot-plugins.badges
buku
cfripper
checkov
cmake-format
cmake-language-server
conan
crackql
cups-filters
cve-bin-tool
datasette
dvc
dvc-with-remotes
emacsPackages.python-isort
emborg
faraday-agent-dispatcher
flexget
flitter
foomatic-db
foomatic-db-ppds
foomatic-db-ppds-withNonfreeDb
gdbgui
ggshield
glaxnimate
gup
heisenbridge
home-assistant
home-assistant-component-tests.abode
home-assistant-component-tests.accuweather
home-assistant-component-tests.acmeda
home-assistant-component-tests.adax
home-assistant-component-tests.adguard
home-assistant-component-tests.advantage_air
home-assistant-component-tests.aemet
home-assistant-component-tests.aftership
home-assistant-component-tests.agent_dvr
home-assistant-component-tests.air_quality
home-assistant-component-tests.airly
home-assistant-component-tests.airnow
home-assistant-component-tests.airq

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/asxkc0cjv1h6r2wwwpql9s89kflqwmd7-qpdf-11.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/87c22ad506908f5653cd7fcf5629a2c9c750f15a#qpdf

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/asxkc0cjv1h6r2wwwpql9s89kflqwmd7-qpdf-11.9.0
ls -la /nix/store/asxkc0cjv1h6r2wwwpql9s89kflqwmd7-qpdf-11.9.0/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @abbradar for testing.

This addresses CVE-2024-24246 (though the CVE description is incorrect - 11.9.0 does fix the issue assuming the issue is addressed by https://github.com/qpdf/qpdf/commit/cb0f390cc1f98a8e82b27259f8f3cd5f162992eb)


Add ability to highlight specific lines

It would be nice to have ability to highlight specific lines of code to catch
viewer's attention (by changing background color for example).

Syntax could be

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 23 Dec 2010 at 10:41

As mikesamuel suggested, here is an example of using CSS nth-child to highlight a specific line as well as a range of lines:

https://jsfiddle.net/amroamroamro/535tw4bf/

The example by @amroamroamro works only for prettified code that includes line numbers (i.e. the linenums class has been used), so it is not a general solution.
But, more importantly, it seems to me that the code that needs to be highlighted should be highlighted in the HTML code, with CSS specifying only how it is to be highlighted. So the  approach suggested earlier by @GoogleCodeExporter with  tagging seems more appropriate. In my case, I need to highlight code segments that get inserted and deleted, so I use the  and  tags, instead of .
However, one problem is that s, s and  s are inline elements and so only the code gets highlighted, not the whole line. If you display them with as  display: block, the formatting breaks (whitespace is inserted). I can't think of a simple solution that can do the trick of highlighting whole lines that are appropriately tagged, without using CSS hacks.


Check if resource after filesystem::putStream still exists, before closing

1. Why is this change necessary?
See https://github.com/shopware/platform/issues/1223
2. What does this change do, exactly?
Add checks after each putStream.
3. Describe each step to reproduce the issue or behaviour.
See https://github.com/shopware/platform/issues/1223
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-10182
Please use this issue to track the state of your pull request.

Hey @tinect, thanks for your contribution 💙


Add webterminal to container

On Online Demo Sever there is no console.
So I  added Webterminal to be installed in Docker Build.
---
The links to SMP and Terminal on Online Demo Sever asr now in README.md
-------------
In the actual online version, I installed it online without restart. ;-)

Thanks Robert


Fix RepeatedTask scheduling logic to run on the correct EL

FixesRepeatedTask scheduling bug, exhibited if the task returns ELF bound to another ELG than the task itself.
Motivation:
Fixes: https://github.com/apple/swift-nio/issues/1334
Modifications:
ELF hops on the correct EL before executing.
Result:
Fixes precondition failure, caused by being on the wrong ELG.

@swift-nio-bot add to whitelist

@gmilos Looks like you didn't run the test generation script

The 5.1 test failed due to timeout:
19:13:39 Running test 'test_01_allocation_counts.sh'... Build timed out (after 10 minutes). Marking the build as failed.
19:23:39 $ ssh-agent -k

Is that common? Rerun and hope for the best?

Yeah, it's a known issue with the allocation counter tests. @PeterAdams-A is investigating.

@swift-nio-bot test this please


Add ability to override exchange type for the producer, because it is hardcoded to topic

Add ability to override exchange type for the producer, because it is hardcoded to topic

Hi @iborysenko , if changing the hardcoded value to a configurable string would be the only required work, that would be already implemented.
In order to take into account your request. What is the Exchange type you would like us to support?

Hi @alombarte
I'm using direct exchange type, without declaration queue-name and always with routing-key
AMQP allows publishing messages to the broker without a specified queue-name if routing key declared

Hi, @alombarte Do you have any plans to fix it?


 There is no panic.
homotopy_io_export (1).zip

This is a biasing problem. If you drag while holding shift (which forces bias = 0), it works.

I think the correct behaviour would be to introduce a braid, but I am not sure why that doesn't happen.


Docstring + gitignore edits

Added some testing/build files to gitignore
Added docstring for jsonschema.validators.create id_of kwarg

Hi! Thanks. Can you split these changes from each other?
The docstring fix seems good more or less. The gitignore stuff I've generally said belongs in your global gitignore rather than in every project (including this one), which is where it is for me.


Using search and only prefix works

Hi,
I am trying to test the substring and regex search options in the explorer and I can't get either one to work. Is there  something special I need to do? It also seems, once I try to use them, the prefix search stops working too. Then I have to refresh the whole page to get it working again.
Scott

Hmm can you share any examples?

For instance, I know I have a file with "Admin" in the middle of the file name. If I try to use the substring option and  just add "Admin" in the search text box, nothing happens. Or if I try to use a regex expression like /(Admin)+ to search too, nothing happens. Maybe I am doing it wrong and expecting something to happen, but for sure, after I play with the setting and go back to prefix mode, the search stops working completely. I have to refresh the page to get it to work again, which shouldn't be the case.
Scott


PROTEUS grid-search

For moving towards an inverse method of PROTEUS sometime down the road, we need to consider a computationally feasible approach to run many models to fit a given set of observations.
To give an example of the problem: Let's assume a given exoplanet has the following known/observed parameters with uncertainties: stellar age, orbital distance, planet radius, planet mass, transmission/emission spectrum. Given these parameters, we would like to compute the best-fitting PROTEUS models over a set of input parameters, and then compute a goodness-of-fit metric. This is essentially the description of an atmospheric retrieval, only that PROTEUS simulations are way too computationally expensive as to perform 100k+ simulations.
I am not certain yet what is the best strategy to approach this problem. Here are a few that have some opportunities and drawbacks:

A modified chi-squared or r-squared algorithm to compute some measure of goodness-of-fit for an arbitrary grid. E.g. Madhusudhan & Seager (2009).
Train a machine learning model on the simulation data and use the machine learning model for the retrieval, e.g., Ardevol Martinez et al. (2024).
Brute-force retrieval approach, e.g., nested sampling, MCMC, or some other random sampler, ignoring the computational cost, and possibly achieving a pretty low-confidence result.

The machine learning method of Ardevol Martinez (2024) seems potentially useful to me for this in principle. It can work together with an arbitrary "atmospheric code" (which could be PROTEUS) and does not need a large amount of training data to be generated upfront. Code here: https://github.com/franciscoardevolmartinez/FlopPITy.

I agree that this would be incredibly powerful. I can imagine that running an MCMC (or similar method) would be tricky because of the slow runtimes. When we are ready to look into this, maybe we could involve someone who has experience doing retrievals with large models?

I believe they need fewer simulations than a "normal" Bayesian model, which is one of their selling points. Nevertheless, even 100k simulations are not impossible when using a large-scale computing facility. We can and should do this sometime in the next year to achieve a large simulation grid, once the current plans with aragog and zephyrus are done. Cosmology solves this problem by running updated large-scale forward models every few years with high-performance codes (e.g. Illustris project) and then using these models to train machine learning on them. This is a way to go, but if we can find an algorithm that enables running highly specialised simulations in a nexted sampling way and compute the Bayesian evidence directly, this would be preferable I think.

This is pretty cool! I like it a lot, this seems like a good solution to analyse our outputs. However, it still requires us to set the parameter space by hand, which means that we run many models that are not particularly useful/necessary and do not add valuable information. A Bayesian model selection or sth similar would save computation time until a statistically robust answer is achieved.

This tool came up today: https://wandb.ai/
It's meant for hyperparameter optimization in machine learning. Via a yaml file you define the parameters to search. You just have to write the interface in python.

Also on the theme of optimisation, I think we should consider Emcee, since it's well established within the astronomy community.
https://emcee.readthedocs.io/en/stable/


Documentation fails due to pyplots/10min/model_run_visual.py

The documentation regularly fails due to some bugs in the code when trying to run the model for the 10min example.
Here are some seeds that lead to the documentation failing, to reproduce the error locally:<PHONE_NUMBER>,<PHONE_NUMBER>.
Note, we do not fix the seed for the documentation example. Eventually we probably should, to make the docs reproducible, but for now it is an unintentional bug-finder, so let's leave it.

Seems like this error is still rearing its head - a more recent docs build failed
The log file contains the following:
2020-08-28 23:21:25,538 - INFO - Setting model constants
2020-08-28 23:21:25,538 - INFO - Setting random seed to:<PHONE_NUMBER>
2020-08-28 23:21:25,538 - INFO - Random seed is:<PHONE_NUMBER>
2020-08-28 23:21:25,538 - INFO - Creating model domain
2020-08-28 23:21:25,542 - INFO - Generating netCDF file for output grids
2020-08-28 23:21:25,544 - INFO - Output netCDF file created
2020-08-28 23:21:25,544 - INFO - Model initialization complete
2020-08-28 23:21:25,544 - INFO - Storing stratigraphy data
2020-08-28 23:21:25,545 - INFO - ---- Model time 0.0 ----
2020-08-28 23:21:26,725 - INFO - ---- Model time 20000.0 ----
2020-08-28 23:21:28,038 - INFO - Finalize model run
2020-08-28 23:21:28,038 - INFO - Saving final stratigraphy to netCDF file
2020-08-28 23:21:28,042 - INFO - Stratigraphy data saved.
2020-08-28 23:21:28,043 - INFO - Closed output netcdf file


How do I obtain the following data

We (Chem4Word) have been using the Sign Client to succesfully sign our deployable artifacts for several years (since 2018)
I would like to transition to the new service as soon as possible
I think I have been able to establish most of the required command line attributes so that we can continue to use the Azure Key Vault store which has been set up for us
I am struggling to find out these required parameters.
--azure-key-vault-certificate "$(SignKeyVaultCertificate)"
--azure-key-vault-url "$(SignKeyVaultUrl)"
@clairernovotny - You provided us with the credentials via a shared lastPass file/folder "shared-chem4word"

Forgot to add do the description and description-url need to be specific to our certificate in the Key Vault or are they still free form as in the previous Sign Client?

Hi, @MikeWilliams-UK.  I can't provide specific values for you, but I can show you where to find them, provided you have access to your Azure Key Vault's web site.
The value for --azure-key-vault-certificate is the value shown in the Name column of the Azure Key Vault's Certificates page.

The value for --azure-key-vault-url is the value shown in Azure Key Vault Essentials section:

The --description and --description-url options should be the same as the previous sign client.

Unfortunatly the Key Vault Store is locked down so I don't have access to this page.
I suspect that only @clairernovotny may be able to help here as they created the keys in the tenancy codesign.dotnetfoundation.org

I understand.  Sorry I could help here.

No Worries, thanks for trying

@ChrisSfanos has that info

@ChrisSfanos has that info

@ChrisSfanos can you please send it to me via email to mike at doublewide dot co dot uk

sent just now - thanks

Thanks I will got it a try next week.

After entering the details given to me by @ChrisSfanos
from a CMD prompt
sign code azure-key-vault ^
        "Setup.msi" ^
        --timestamp-url "http://timestamp.digicert.com" ^
        --publisher-name "Chem4Word" ^
        --description "Chem4Word installer" ^
        --description-url "https://www.chem4word.co.uk" ^
        --azure-key-vault-tenant-id "**********" ^
        --azure-key-vault-client-id "***********" ^
        --azure-key-vault-client-secret "********" ^
        --azure-key-vault-certificate "******" ^
        --azure-key-vault-url "https://********.vault.azure.net/"

I am getting this error message.
fail: Sign.Core.Signer[0]
ClientSecretCredential authentication failed: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details.  Original exception: AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app '*****-
sign code azure-key-vault ^
        "Setup.msi" ^
        --timestamp-url "http://timestamp.digicert.com" ^
        --publisher-name "Chem4Word" ^
        --description "Chem4Word installer" ^
        --description-url "https://www.chem4word.co.uk" ^
        --azure-key-vault-tenant-id "**********" ^
        --azure-key-vault-client-id "***********" ^
        --azure-key-vault-managed-identity<EMAIL_ADDRESS>^
        --azure-key-vault-client-secret "********" ^
        --azure-key-vault-certificate "******" ^
        --azure-key-vault-url "https://********.vault.azure.net/"

Adding the user id given to me by @clairernovotny in 2018 (which still works for the old sign client) I then get this
Unrecognized command or argument<EMAIL_ADDRESS>Am I doing something wrong?
Not sure if this is relevant, but when I log on to https://codesign.dotnetfoundation.org/ in a browser with the credentials given in 2018 I am asked to set up 2FA, (I have skipped this)

Make sure the client secret is correct.  Unlike the tenant ID and client ID, the client secret is not a GUID.  Also, you want the client secret value not the client secret ID.  If I pass client secret ID instead of value I get the same error as you.

This screenshot is from my "App registrations" |  | Certificates & secrets" page in Azure Portal.  (The values shown here are just for the screenshot.  They won't work for you or anyone else.)
Also, Sign CLI supports two methods of authenticating to Azure Key Vault:

using a tenant ID, client ID, and client secret tuple --- pass the --azure-key-vault-tenant-id, --azure-key-vault-client-id, and --azure-key-vault-client-secret options
using a managed identity --- pass the --azure-key-vault-managed-identity option.  This is a flag option.  When the option isn't passed, it's false.  When it's passed (with no value), it's true.  (See sign code azure-key-vault --help.)  Passing a value of<EMAIL_ADDRESS>is invalid because it's a valueless option.

You should use either tenant ID+client ID+client secret OR managed identity.

Hi @MikeWilliams-UK  - there are some steps that aren't complete for you.  I'm going to work on that right now and I'll send you an email.  As a note we post the client secret value in LastPass, so I will need an email to use for sharing the item from there.  You can email me directly with that info - thanks

@ChrisSfanos please use the same email mike at doublewide dot co dot uk, the same one I used for the lastpass account I set up for @clairernovotny to use in 2018

Thanks @ChrisSfanos SignTool now working via CMD prompt.


Generating INT8 Calibration Table

According to documentation, we need a Calibration Table to export the .onnx file as an INT8 optimized .plan file
export{.exe} model.onnx engine.plan INT8CalibrationTable
I'm assuming that in order to generate the calibration table, I need to do the export on the host machine.
My machine currently uses a RTX 3090 and the 20.03 repo is running in a docker container. However, every time I try to do the export on the host machine, the program aborts. I've tried to vary the --size and --calibration-batches but still no luck.
Here is an example of the output that I usually get.
odtk export /models/retinanet-kitti-rn50fpn_fp.pth /models/retinanet-kitti-rn50fpn_8int.plan --int8 --calibration-images /dataset/Kitti-Coco/validate/data --calibration-batches 12  --size 640
Loading model from retinanet-kitti-rn50fpn_fp.pth...
     model: RetinaNet
  backbone: ResNet50FPN
   classes: 8, anchors: 9
Exporting to ONNX...
Building INT8 core model...
Building accelerated plugins...
Applying optimizations and building TRT CUDA engine...
Half2 support requested on hardware without native FP16 support, performance will be negatively affected.
Int8 support requested on hardware without native Int8 support, performance will be negatively affected.
Assertion failed: Unsupported SM.
../rtSafe/cuda/caskUtils.cpp:80
Aborting...

../rtSafe/cuda/caskUtils.cpp (80) - Assertion Error in trtSmToCask: 0 (Unsupported SM.)
Writing to /models/retinanet-kitti-rn50fpn_8int.plan...
Segmentation fault (core dumped)

Any help would be greatly appreciated.

Why are you using 20.03 repo? It doesn't support Ampere architecture, please use master branch.

Hi. Sorry, I forgot to mention that I need to run the models on my Jetson Nano and Jetson NX devices. Can I generate the Calibration table using the master branch on my 3090 and use the calibration table to generate the INT8 TensorRT model on the Jetson nano using the 20.03 branch?

I just tried generating the table on the master branch using the 3090 and go the following error
odtk export /models/retinanet-kitti-rn50fpn_fp.pth /models/retinanet-kitti-rn50fpn_8int.plan --int8 --calibration-images /dataset/Kitti-Coco/validate/data --calibration-batches 12  --size 640                                                                                Loading model from retinanet-kitti-rn50fpn_fp.pth...                                                                                model: RetinaNet                                                                                backbone: ResNet50FPN                                                                                classes: 8, anchors: 9                                                                                Exporting to ONNX...                                                                                Building INT8 core model...                                                                                Building accelerated plugins...                                                                                Applying optimizations and building TRT CUDA engine...                                                                                Half2 support requested on hardware without native FP16 support, performance will be negatively affected.                                                                                Int8 support requested on hardware without native Int8 support, performance will be negatively affected.                                                                                ../rtSafe/cuda/caskUtils.cpp (98) - Assertion Error in trtSmToCask: 0 (Unsupported SM.)                                                                                Segmentation fault (core dumped)

I just tried generating the table on the master branch using the 3090 and go the following error
odtk export /models/retinanet-kitti-rn50fpn_fp.pth /models/retinanet-kitti-rn50fpn_8int.plan --int8 --calibration-images /dataset/Kitti-Coco/validate/data --calibration-batches 12  --size 640                                                                                Loading model from retinanet-kitti-rn50fpn_fp.pth...                                                                                model: RetinaNet                                                                                backbone: ResNet50FPN                                                                                classes: 8, anchors: 9                                                                                Exporting to ONNX...                                                                                Building INT8 core model...                                                                                Building accelerated plugins...                                                                                Applying optimizations and building TRT CUDA engine...                                                                                Half2 support requested on hardware without native FP16 support, performance will be negatively affected.                                                                                Int8 support requested on hardware without native Int8 support, performance will be negatively affected.                                                                                ../rtSafe/cuda/caskUtils.cpp (98) - Assertion Error in trtSmToCask: 0 (Unsupported SM.)                                                                                Segmentation fault (core dumped)

Can you pull the master branch again, and pip install --no-cache-dir -e retinanet-examples/ and try again?

That worked. Thank you so much.


Revert "display totals & exchange rate in usd"

Reverts ethereumproject/emerald-wallet#134
sorry, i accidentally clicked on MERGE. i am an idiot today.

do we really need to revert? or maybe keep it merged and fix what wasn't finished in that PR?

@splix sure, that's fine if @whilei does not mind. sorry @whilei :)

No problem.
By the way, do either of you  know why I get this error when I try to add a couple modules?
// $ npm install -S os-locale locale-currency
// $ npm run build ->
// > Module not found 'child_process', 'fs', and 'spawn-sync'.
// import osLocale from 'os-locale';
// import LocaleCurrency from 'locale-currency';

https://github.com/ethereumproject/emerald-wallet/blob/master/src/lib/types.js#L3

These modules may help with small remaining issue with PR as-is w/r/t currency formatting.
Anyway, shall we go ahead and close this PR? and I'll soon submit a follow-up patch for tidying and fixes

I don't think os-locale locale-currency will work in browser, it seems to be node.js backend libraries

Copy that.
Closing...


Update dependencies, formatting, refactoring

Should not affect any program functionality, just changes the structure a little bit + dependency update.
Various commands ran include: cargo fix, cargo check, cargo fmt, cargo +nightly clippy, cargo clippy, cargo +nightly clippy --fix -Z unstable-options.
PS: I was just going through my starred projects and you wrote both thes and libretranslate-rs! I didn't even notice this before. I use both of these including thes pretty much regularly (beats using the browser)! Thanks a bunch.

perfect, thanks!


[local_auth] authentication call Iris instead of Fingerprint

Steps to Reproduce on Samsung S8, SM G950F
1# Register fingerprint to your device and enable it to unlock the screen.
2# Register irises for iris scanning and enable it in Knox Secure Area
3# Attempt biometric authentication via local_auth plugin on an app installed on the regular area (not in knox)
Expected results:
Ask for fingerprint authentication.
Actual results:
Ask only for Iris Scanner.
More details:
Iris Scanner is disabled to unlock the screen, but it is enable to authenticate on Knox secure area.
There is no way to ask for a specific authentication method to local_auth, and even if the app is installed in the "common area" and not in the knox secure area, local_auth ask for Iris authentication on:
await localAuth.authenticateWithBiometrics(localizedReason: 'Please authenticate');

@apoleo88
There's similar open issue describing your case, https://github.com/flutter/flutter/issues/41272
Please follow-up there for updates.
Closing this as duplicate. If you disagree, write in comments and I'll reopen it.


GitLab code snippets get highlighted by hljs when they shouldn't be

Describe the issue/behavior that seems buggy

hljs.highlightAll() combined with GitLab code snippets causes those GitLab code snippets to also be highlighted. This should obviously not happen because GitLab is already making sure that the code gets proper highlighting.
Sample Code or Instructions to Reproduce

Import hljs and start it with <script>hljs.highlightAll();</script>
Create and embed a GitLab snippet

Snippet with hljs enabled

Snippet without hljs
Code used:
<link
  rel="stylesheet"
  href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/styles/default.min.css"
/>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"></script>
<script>hljs.highlightAll();</script>

<script src="https://gitlab.com/Pistrie/opdracht-gun-file-upload/-/snippets/2342584.js"></script>

Expected behavior

The GitLab snippet should not be touched by hljs

https://highlightjs.readthedocs.io/en/latest/api.html#configure
See noHighlightRe... if GitLab applies a certain class then you can modify the regex to match that class and tell us to magically exclude those code snippets.  If not then you'd have to go a layer lower and write your own highlightAll with custom detection code to decide which blocks to skip and which to highlight.

Also perhaps cssSelector might be of interest if you could try some sort of negative match rule against a higher level parent in the HTML.

I've made it work by adding highlight to noHighlightRe.

<script>
  hljs.configure({
    noHighlightRe: /^highlight$/i,
  });
  hljs.highlightAll();
</script>

Here is a screenshot of the entire structure of the snippet. Would there be a more 'elegant' way to do this, or is using highlight fine as it is?

If GitLab uses highlight by default I'd say that's about perfect.

I mean you may want a more flexible regex in the future allowing for your own excludes, but otherwise looks good.
// highlighted by GitLab or we manually say "nohighlight"
/^highlight|nohighlight$/i


Subscriber re-reads data when Media Driver exits if the publisher is on the same driver.

If a publisher and subscriber are both on the same Media Driver and the media driver is killed, then the subscriber re-reads the current log and delivers those messages again.
Basic Subscriber Output (notice the messages repeat after 4)
Subscribing to udp://localhost:40123 on stream Id 10
New connection on udp://localhost:40123 streamId 10 sessionId e41fc947 @ position 0 from <IP_ADDRESS>:43795
Message to stream 10 from session e41fc947 (14@24) <<Hello World! 0>>
Message to stream 10 from session e41fc947 (14@64) <<Hello World! 1>>
Message to stream 10 from session e41fc947 (14@104) <<Hello World! 2>>
Message to stream 10 from session e41fc947 (14@144) <<Hello World! 3>>
Message to stream 10 from session e41fc947 (14@184) <<Hello World! 4>>
--media driver killed using CTRL-C--
Message to stream 10 from session e41fc947 (14@24) <<Hello World! 0>>
Message to stream 10 from session e41fc947 (14@64) <<Hello World! 1>>
Message to stream 10 from session e41fc947 (14@104) <<Hello World! 2>>
Message to stream 10 from session e41fc947 (14@144) <<Hello World! 3>>
Message to stream 10 from session e41fc947 (14@184) <<Hello World! 4>>
uk.co.real_logic.aeron.exceptions.DriverTimeoutException: Driver has been inactive for over 10000ms
Basic Publisher Output:
Publishing to udp://localhost:40123 on stream Id 10
offering 0/1000000 yay!
offering 1/1000000 yay!
offering 2/1000000 yay!
offering 3/1000000 yay!
offering 4/1000000 yay!
offering 5/1000000 Offer failed because publisher is not yet connected to subscriber
offering 6/1000000 Offer failed because publisher is not yet connected to subscriber
offering 7/1000000 Offer failed because publisher is not yet connected to subscriber
offering 8/1000000 Offer failed because publisher is not yet connected to subscriber
offering 9/1000000 Offer failed because publisher is not yet connected to subscriber
offering 10/1000000 Offer failed because publisher is not yet connected to subscriber
offering 11/1000000 Offer failed because publisher is not yet connected to subscriber
offering 12/1000000 Offer failed because publisher is not yet connected to subscriber
offering 13/1000000 Offer failed because publisher is not yet connected to subscriber
uk.co.real_logic.aeron.exceptions.DriverTimeoutException: Driver has been inactive for over 10000ms

I've tracked this down to a line in Agrona in CountersManager.free():
countersBuffer.putLongOrdered(counterOffset(counterId), 0L);
I don't know why it puts 8 bytes of zeros before adding it to the free list, but the position being read by the subscription is in that location. The subscriber then believes it needs to read from the beginning. Removing that line causes this issue's behavior to go away. I don't know what other issues might be caused by the removed code but all system tests and unit tests in both projects still pass.

The counter should have been zero'ed on allocation not on free. Does the follow fix work for you?
https://github.com/real-logic/Agrona/commit/160eca7c12479e8cdf8bc73b82635d6e4def108d

Yep, I don't see the issue after that change to Agrona.


Task input parameters from showOpenDialog

It sure would be helpful if the task and launch input pickers implemented by #4758 were expanded to include one that wrapped the window.showOpenDialog API with its options for file vs. folder and filtering.
The window.showOpenDialog API offers to extension authors the ability to offer the user a dialog to select a file (optionally with an extension filter) or a folder.
The feature available to users is to be able to define  input variables for usage as task parameters. This user-facing feature only offers the ability to either select between preset strings (pickString) or accept a manually-typed input string (promptString), but offers no ability to present the user with a file or folder selection dialog.
This feature could be very helpful for users as well, not just extension authors. For example, I want to debug a program that supports command-line parameters for input files or directories, and I'd rather prompt the user to provide them differently for each session, than to have them hard-coded in a shared project tasks file.

@bryceschober Do you mean what was mentioned here.
@alexr00 You added the feature from issue #4758 in the documentation; although what do I search for in the documentation ?

@SheepDomination In your question, you just linked to the same issue that I originally linked to, so I'm not sure what you're asking. Did you intend to link to a specific comment in that issue?

@bryceschober I linked to the same issue because I wanted to know has this issue been implemented into visual studio code and if so; what is it called in the documentation, from my understanding it has been implemented ?

@SheepDomination They are called input variables.

@bryceschober I assume this variable ${input:variableID} cannot be changed to a custom name ?

@SheepDomination Sorry, but I really don't understand what you're asking. Can you provide more context?
For example, I want to debug a program that supports command-line parameters for input files or directories, and I'd rather prompt the user to provide them for a session, than to have them hard-coded in a shared project tasks file.

@bryceschober I want to run a program which prompts a user for two inputs, those inputs being folders on the local machine within terminal.

@SheepDomination: I think you misunderstand. This issue is asking for a new feature that doesn't exist.
The window.showOpenDialog API offers to extension authors the ability to offer the user a dialog to select a file (optionally with an extension filter) or a folder.
The feature available to users is to be able to define  input variables for usage as task parameters. This user-facing feature only offers the ability to either select between preset strings (pickString) or accept a manually-typed input string (promptString), but offers no ability to present the user with a file or folder selection dialog.

@alexr00 I added more description to the initial comment, from ensuing conversations, in case there was any ambiguity about what feature I'm requesting.

@bryceschober You answered the question which I was asking.

If we add a command that pops the picker then returns the path then you could use command variables to get the path...
I'll think about whether we should add such a command.

@alexr00 Please add such a feature; is there any work around ?
Sorry @bryceschober I now understand your question completely 👍
I suppose for now I'll have to have the user give the exact string name of the path, bit of pain cause it can lead to errors in the path, hopefully it gets added or there is a workaround.

I also need it: the user hits F5 but before actually starting debug, I have to ask which JavaScript file he wants to execute.
I've resorted to pickString for now but it would be nice if the list was populated dynamically.
Maybe let me set a glob patten in the input variabile so I can decide precisely which files and/or directories will be shown.

Would be good if this feature has gotten more attention. I need to ask which dmp file the user would like to debug and to do this via launch configuration I direly need this implemented.

@BrightSoul You can create a file picker with the extension Command Variable and use the command extension.commandvariable.file.pickFile to show a file/directory picker that has a glob pattern to include and exclude files

In the extension Command Variable v1.61 I have implemented the commands:

extension.commandvariable.file.openDialog that calls vscode.window.showOpenDialog
extension.commandvariable.file.saveDialog that calls vscode.window.showSaveDialog


[WIP] v3 (BREAKING CHANGES)

Major rewrite to move to using the IFeatureManagerSnapshot and ISessionManager interfaces from Microsoft.FeatureManagement.  This will allow layering of ISessionManager implementations to give flexibility in how the feature value is calculated.
There's opposing viewpoints on this that say we could lean into FeatureFlagDefinition and FeatureFilterConfiguration for deciding whether a feature should be turned on/off if it was not already set via the ISessionManager.  We're deferring those choices until later; even if we do go down that route it will (likely) be a minor change compared to what we had to do for v3.
see: CHANGE_LOG.md file for full details

Current UI

Notes

May need language at the top explaining which database table is being updated by these rows?
Null/False/True may need more explanation.
We've discussed a 3-state slider / button panel thingy.

The "null" means that the feature is not set in the database.  It might be defined at a layer above/below this point.  We may need RimDev.FeatureFlags to be better about supplying information about how the feature value is calculated (it's a priority layered system, the first layer to give a definitive true/false answer is what gets returned).
Links
https://stackoverflow.com/a/57424477
https://stackoverflow.com/a/56790599
https://codepen.io/ahaywood/pen/yLJbRbP?editors=1100

Platform UI Styling

Updated UI


Dependabot creates incompatible upgrade for pip-compile project

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
pip
Package manager version
pip-tools 7.4.1; pip 24.2
Language version
python 3.12
Manifest location and content before the Dependabot update
/requirements.txt
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
#    pip-compile --strip-extras pyproject.toml
#
attrs==23.2.0
    # via
    #   cattrs
    #   jsii
aws-cdk-asset-awscli-v1==2.2.202
    # via aws-cdk-lib
aws-cdk-asset-kubectl-v20==2.1.2
    # via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.0.3
    # via aws-cdk-lib
aws-cdk-lib==2.153.0
    # via foo (pyproject.toml)
cattrs==23.2.3
    # via jsii
constructs==10.3.0
    # via
    #   aws-cdk-lib
    #   foo (pyproject.toml)
importlib-resources==6.4.3
    # via jsii
jsii==1.102.0
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
publication==0.0.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
    #   jsii
python-dateutil==2.9.0.post0
    # via jsii
six==1.16.0
    # via python-dateutil
typeguard==2.13.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
    #   jsii
typing-extensions==4.12.2
    # via jsii

/pyproject.toml
[project]
name = "foo"
dynamic = ["version"]
requires-python = ">=3.12,<3.13"
dependencies = [
    "aws-cdk-lib>=2.153.0,<3.0.0",
    "constructs>=10.3.0,<11.0.0",
]

[build-system]
requires = ["hatchling>=1.25.0,<2.0.0"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "foo/__about__.py"

dependabot.yml content
version: 2
updates:
  - package-ecosystem: "pip"
    directory: /
    schedule:
      interval: "weekly"
    groups:
      dev-dependencies:
        applies-to: version-updates
        dependency-type: development
      prod-dependencies:
        applies-to: version-updates
        dependency-type: production

Updated dependency
Unexpected upgrades
dependabot made these additional upgrades, which were not included by the native package manager

cattrs 23.2.3 -> 24.1.2
typeguard 2.13.3 -> 4.3.0

Missing dependency
dependabot failed to add the following transitive dependency, which the native package manager added:

aws-cdk-cloud-assembly-schema==36.3.0

Via upgrade to aws-cdk-lib

What you expected to see, versus what you actually saw
Dependabot created dependency conflict by including an upgrade to cattrs and typeguard libraries:
When running pip-sync requirements.txt I get the following error:
ERROR: Cannot install -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 7) and cattrs==24.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested cattrs==24.1.2
    jsii 1.103.1 depends on cattrs<23.3 and >=1.8

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Full output of pip-sync requirements.txt
pip-sync requirements.txt
Found existing installation: cfgv 3.4.0
Uninstalling cfgv-3.4.0:
  Successfully uninstalled cfgv-3.4.0
Found existing installation: distlib 0.3.8
Uninstalling distlib-0.3.8:
  Successfully uninstalled distlib-0.3.8
Found existing installation: filelock 3.16.0
Uninstalling filelock-3.16.0:
  Successfully uninstalled filelock-3.16.0
Found existing installation: identify 2.6.0
Uninstalling identify-2.6.0:
  Successfully uninstalled identify-2.6.0
Found existing installation: iniconfig 2.0.0
Uninstalling iniconfig-2.0.0:
  Successfully uninstalled iniconfig-2.0.0
Found existing installation: mypy 1.11.2
Uninstalling mypy-1.11.2:
  Successfully uninstalled mypy-1.11.2
Found existing installation: mypy-extensions 1.0.0
Uninstalling mypy-extensions-1.0.0:
  Successfully uninstalled mypy-extensions-1.0.0
Found existing installation: nodeenv 1.9.1
Uninstalling nodeenv-1.9.1:
  Successfully uninstalled nodeenv-1.9.1
Found existing installation: platformdirs 4.3.2
Uninstalling platformdirs-4.3.2:
  Successfully uninstalled platformdirs-4.3.2
Found existing installation: pluggy 1.5.0
Uninstalling pluggy-1.5.0:
  Successfully uninstalled pluggy-1.5.0
Found existing installation: pre-commit 3.8.0
Uninstalling pre-commit-3.8.0:
  Successfully uninstalled pre-commit-3.8.0
Found existing installation: pytest 8.3.2
Uninstalling pytest-8.3.2:
  Successfully uninstalled pytest-8.3.2
Found existing installation: PyYAML 6.0.2
Uninstalling PyYAML-6.0.2:
  Successfully uninstalled PyYAML-6.0.2
Found existing installation: ruff 0.6.4
Uninstalling ruff-0.6.4:
  Successfully uninstalled ruff-0.6.4
Found existing installation: virtualenv 20.26.4
Uninstalling virtualenv-20.26.4:
  Successfully uninstalled virtualenv-20.26.4
Collecting attrs==24.2.0 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 1))
  Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting aws-cdk-asset-awscli-v1==2.2.204 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 2))
  Downloading aws_cdk.asset_awscli_v1-2.2.204-py3-none-any.whl.metadata (1.1 kB)
Collecting aws-cdk-asset-node-proxy-agent-v6==2.1.0 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 3))
  Using cached aws_cdk.asset_node_proxy_agent_v6-2.1.0-py3-none-any.whl.metadata (1.1 kB)
Collecting aws-cdk-lib==2.159.1 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 4))
  Downloading aws_cdk_lib-2.159.1-py3-none-any.whl.metadata (59 kB)
Collecting cattrs==24.1.2 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 5))
  Downloading cattrs-24.1.2-py3-none-any.whl.metadata (8.4 kB)
Collecting importlib-resources==6.4.5 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 6))
  Using cached importlib_resources-6.4.5-py3-none-any.whl.metadata (4.0 kB)
Collecting jsii==1.103.1 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 7))
  Using cached jsii-1.103.1-py3-none-any.whl.metadata (79 kB)
Collecting typeguard==4.3.0 (from -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 8))
  Using cached typeguard-4.3.0-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: publication>=0.0.3 in /Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages (from aws-cdk-asset-awscli-v1==2.2.204->-r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 2)) (0.0.3)
Requirement already satisfied: aws-cdk.asset-kubectl-v20<3.0.0,>=2.1.2 in /Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages (from aws-cdk-lib==2.159.1->-r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 4)) (2.1.2)
Collecting aws-cdk.cloud-assembly-schema<37.0.0,>=36.0.24 (from aws-cdk-lib==2.159.1->-r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 4))
  Downloading aws_cdk.cloud_assembly_schema-36.3.0-py3-none-any.whl.metadata (3.9 kB)
Requirement already satisfied: constructs<11.0.0,>=10.0.0 in /Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages (from aws-cdk-lib==2.159.1->-r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 4)) (10.3.0)
INFO: pip is looking at multiple versions of jsii to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r /var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk (line 7) and cattrs==24.1.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested cattrs==24.1.2
    jsii 1.103.1 depends on cattrs<23.3 and >=1.8

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Traceback (most recent call last):
  File "/Users/jprestel/.pyenv/versions/3.12.4/bin/pip-sync", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages/piptools/scripts/sync.py", line 145, in cli
    sync.sync(
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/site-packages/piptools/sync.py", line 263, in sync
    run(  # nosec
  File "/Users/jprestel/.pyenv/versions/3.12.4/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/Users/jprestel/.pyenv/versions/3.12.4/bin/python3.12', '-m', 'pip', 'install', '-r', '/var/folders/vw/6x775j054cg2z84cr4q2cq55ghvmww/T/tmp22vzx3dk']' returned non-zero exit status 1.

Diff of dependabot vs native package manager
diff --git a/requirements.txt b/requirements.txt
index ea95ec4..762c56a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -14,11 +14,9 @@ aws-cdk-asset-kubectl-v20==2.1.2
     # via aws-cdk-lib
 aws-cdk-asset-node-proxy-agent-v6==2.1.0
     # via aws-cdk-lib
-aws-cdk-cloud-assembly-schema==36.3.0
-    # via aws-cdk-lib
 aws-cdk-lib==2.159.1
     # via foo (pyproject.toml)
-cattrs==23.2.3
+cattrs==24.1.2
     # via jsii
 constructs==10.3.0
     # via
@@ -31,7 +29,6 @@ jsii==1.103.1
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
     #   aws-cdk-asset-node-proxy-agent-v6
-    #   aws-cdk-cloud-assembly-schema
     #   aws-cdk-lib
     #   constructs
 publication==0.0.3
@@ -39,7 +36,6 @@ publication==0.0.3
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
     #   aws-cdk-asset-node-proxy-agent-v6
-    #   aws-cdk-cloud-assembly-schema
     #   aws-cdk-lib
     #   constructs
     #   jsii
@@ -47,12 +43,11 @@ python-dateutil==2.9.0.post0
     # via jsii
 six==1.16.0
     # via python-dateutil
-typeguard==2.13.3
+typeguard==4.3.0
     # via
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
     #   aws-cdk-asset-node-proxy-agent-v6
-    #   aws-cdk-cloud-assembly-schema
     #   aws-cdk-lib
     #   constructs
     #   jsii

Native package manager behavior
Upgrade procedure
rm requirements.txt
pip-compile --strip-extras pyproject.toml

Resulting /requirements.txt
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
#    pip-compile --strip-extras pyproject.toml
#
attrs==24.2.0
    # via
    #   cattrs
    #   jsii
aws-cdk-asset-awscli-v1==2.2.204
    # via aws-cdk-lib
aws-cdk-asset-kubectl-v20==2.1.2
    # via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.1.0
    # via aws-cdk-lib
aws-cdk-cloud-assembly-schema==36.3.0
    # via aws-cdk-lib
aws-cdk-lib==2.159.1
    # via foo (pyproject.toml)
cattrs==23.2.3
    # via jsii
constructs==10.3.0
    # via
    #   aws-cdk-lib
    #   foo (pyproject.toml)
importlib-resources==6.4.5
    # via jsii
jsii==1.103.1
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-cloud-assembly-schema
    #   aws-cdk-lib
    #   constructs
publication==0.0.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-cloud-assembly-schema
    #   aws-cdk-lib
    #   constructs
    #   jsii
python-dateutil==2.9.0.post0
    # via jsii
six==1.16.0
    # via python-dateutil
typeguard==2.13.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-cloud-assembly-schema
    #   aws-cdk-lib
    #   constructs
    #   jsii
typing-extensions==4.12.2
    # via jsii

Diff versus previous:
diff --git a/requirements.txt b/requirements.txt
index eac943b..ea95ec4 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,17 +4,19 @@
 #
 #    pip-compile --strip-extras pyproject.toml
 #
-attrs==23.2.0
+attrs==24.2.0
     # via
     #   cattrs
     #   jsii
-aws-cdk-asset-awscli-v1==2.2.202
+aws-cdk-asset-awscli-v1==2.2.204
     # via aws-cdk-lib
 aws-cdk-asset-kubectl-v20==2.1.2
     # via aws-cdk-lib
-aws-cdk-asset-node-proxy-agent-v6==2.0.3
+aws-cdk-asset-node-proxy-agent-v6==2.1.0
     # via aws-cdk-lib
-aws-cdk-lib==2.153.0
+aws-cdk-cloud-assembly-schema==36.3.0
+    # via aws-cdk-lib
+aws-cdk-lib==2.159.1
     # via foo (pyproject.toml)
 cattrs==23.2.3
     # via jsii
@@ -22,13 +24,14 @@ constructs==10.3.0
     # via
     #   aws-cdk-lib
     #   foo (pyproject.toml)
-importlib-resources==6.4.3
+importlib-resources==6.4.5
     # via jsii
-jsii==1.102.0
+jsii==1.103.1
     # via
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
     #   aws-cdk-asset-node-proxy-agent-v6
+    #   aws-cdk-cloud-assembly-schema
     #   aws-cdk-lib
     #   constructs
 publication==0.0.3
@@ -36,6 +39,7 @@ publication==0.0.3
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
     #   aws-cdk-asset-node-proxy-agent-v6
+    #   aws-cdk-cloud-assembly-schema
     #   aws-cdk-lib
     #   constructs
     #   jsii
@@ -48,6 +52,7 @@ typeguard==2.13.3
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
     #   aws-cdk-asset-node-proxy-agent-v6
+    #   aws-cdk-cloud-assembly-schema
     #   aws-cdk-lib
     #   constructs
     #   jsii

Images of the diff or a link to the PR, issue, or logs
Diff created by dependabot
diff --git a/requirements.txt b/requirements.txt
index eac943b..762c56a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,27 +4,27 @@
 #
 #    pip-compile --strip-extras pyproject.toml
 #
-attrs==23.2.0
+attrs==24.2.0
     # via
     #   cattrs
     #   jsii
-aws-cdk-asset-awscli-v1==2.2.202
+aws-cdk-asset-awscli-v1==2.2.204
     # via aws-cdk-lib
 aws-cdk-asset-kubectl-v20==2.1.2
     # via aws-cdk-lib
-aws-cdk-asset-node-proxy-agent-v6==2.0.3
+aws-cdk-asset-node-proxy-agent-v6==2.1.0
     # via aws-cdk-lib
-aws-cdk-lib==2.153.0
+aws-cdk-lib==2.159.1
     # via foo (pyproject.toml)
-cattrs==23.2.3
+cattrs==24.1.2
     # via jsii
 constructs==10.3.0
     # via
     #   aws-cdk-lib
     #   foo (pyproject.toml)
-importlib-resources==6.4.3
+importlib-resources==6.4.5
     # via jsii
-jsii==1.102.0
+jsii==1.103.1
     # via
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20
@@ -43,7 +43,7 @@ python-dateutil==2.9.0.post0
     # via jsii
 six==1.16.0
     # via python-dateutil
-typeguard==2.13.3
+typeguard==4.3.0
     # via
     #   aws-cdk-asset-awscli-v1
     #   aws-cdk-asset-kubectl-v20

Full resulting /requirements.txt from dependabot
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
#    pip-compile --strip-extras pyproject.toml
#
attrs==24.2.0
    # via
    #   cattrs
    #   jsii
aws-cdk-asset-awscli-v1==2.2.204
    # via aws-cdk-lib
aws-cdk-asset-kubectl-v20==2.1.2
    # via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.1.0
    # via aws-cdk-lib
aws-cdk-lib==2.159.1
    # via foo (pyproject.toml)
cattrs==24.1.2
    # via jsii
constructs==10.3.0
    # via
    #   aws-cdk-lib
    #   foo (pyproject.toml)
importlib-resources==6.4.5
    # via jsii
jsii==1.103.1
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
publication==0.0.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
    #   jsii
python-dateutil==2.9.0.post0
    # via jsii
six==1.16.0
    # via python-dateutil
typeguard==4.3.0
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
    #   jsii
typing-extensions==4.12.2
    # via jsii

Smallest manifest that reproduces the issue
pyproject.toml
[project]
name = "foo"
dynamic = ["version"]
requires-python = ">=3.12,<3.13"
dependencies = [
    "aws-cdk-lib>=2.153.0,<3.0.0",
    "constructs>=10.3.0,<11.0.0",
]

[build-system]
requires = ["hatchling>=1.25.0,<2.0.0"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "foo/__about__.py"

And initial /requirements.txt
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
#    pip-compile --strip-extras pyproject.toml
#
attrs==23.2.0
    # via
    #   cattrs
    #   jsii
aws-cdk-asset-awscli-v1==2.2.202
    # via aws-cdk-lib
aws-cdk-asset-kubectl-v20==2.1.2
    # via aws-cdk-lib
aws-cdk-asset-node-proxy-agent-v6==2.0.3
    # via aws-cdk-lib
aws-cdk-lib==2.153.0
    # via foo (pyproject.toml)
cattrs==23.2.3
    # via jsii
constructs==10.3.0
    # via
    #   aws-cdk-lib
    #   foo (pyproject.toml)
importlib-resources==6.4.3
    # via jsii
jsii==1.102.0
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
publication==0.0.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
    #   jsii
python-dateutil==2.9.0.post0
    # via jsii
six==1.16.0
    # via python-dateutil
typeguard==2.13.3
    # via
    #   aws-cdk-asset-awscli-v1
    #   aws-cdk-asset-kubectl-v20
    #   aws-cdk-asset-node-proxy-agent-v6
    #   aws-cdk-lib
    #   constructs
    #   jsii
typing-extensions==4.12.2
    # via jsii

I think, we have a similar case here. I have created a repository that showcases this: https://github.com/Crosswind/dependabot-pip-bug-showcase
Our dependency node2vec requires numpy<2.0.0 and yet we receive a PR from dependabot stating that we should upgrade to numpy>2. I have set up an action which tries to do a simple pip install which fails. The PR with the failed pipeline run that's triggered on PR creation: https://github.com/Crosswind/dependabot-pip-bug-showcase/pull/1
@jprestel-rue Do you think this is the same issue or should I rather open a separate one? I am not familiar with pip-compile. We only use basic pip.

@jprestel-rue Do you think this is the same issue or should I rather open a separate one? I am not familiar with pip-compile. We only use basic pip.

I couldn't say if it's the same issue exactly, but, at the very least, it's the same sort of symptom.

Thank you! I'll leave it here for now and in case someone at GitHub decides to want this tracked separately, I'll happily create an issue for it.


No issue.

I had absolutely no problem while working with this.

I can reproduce this.

I can reproduce this.


create a section for "Contributing" for the website with instructions from the README.

I also think as things get a little more complex we can make them into that CONTRIBUTING.md file and link to it from the README

          I just organized the files for the README or the website. If we don't want public to production we can exclude in the `config.yml`

I think we can create a section for Contributing for the website and reuse this images
Originally posted by @oleksis in https://github.com/BlackPythonDevs/blackpythondevs.github.io/issues/49#issuecomment-1759930216

I will add the "CONTRIBUTING.md"


[PART 1] Templates

Description
Begin implementing the template feature, achieving most of the functionality in absence of the UI.
What was completed

You can create new templates from selections, and access them across projects
You can insert any of your templates into the project
The code that handles inserting a group of elements has been reorganised as it is used across templates and copy/paste

What is yet to be achieved

A good UI. At the moment, alerts and not user-friendly interface is used to just get the functionality up and running. The next step is to implement a solid UI in the right side panel, this is my current idea:

The goal is also to include a search to look up templates by name and to only show templates that match the current project type.

Naming of templates - this will come along with the UI
Ghost rendering of template before finalising position, like when you make a new state
Deleting/clearing templates (the methods are there, just not called anywhere again will come with UI)

How to test it

Create a template

Enter a project
Select the states and transitions you want to make a template out of
Right click and choose 'New template from selection' at the bottom of the menu (or press command J)
You should get a confirmation via alert
Don't make a template where you select a transition but not the from and to states. It won't be able to insert it. eg. a template from a selection like this

Make another template. If you don't start with at least 2 the store sometimes won't update properly. Once you have more than 2 you don't have to worry. This is an issue with initialising the store that I'll fix once the UI is done because it will be easier to sort out then. For now just make 2 templates pls :)

Inserting the template

Open the templates tab on the right side panel (star symbol)
There is a dropdown where you can choose which template to insert - it's just the unreadable IDs for now, but titles and thumbnails will be added in once the UI is updated. Choose a template from the dropdown
Once you've chosen the template you want to insert, choose the template tool from the left tools panel (star icon)
Now you can click in the project to insert the template
You can also change which template you're inserting from the dropdown on the right side

Note that in the final version there won't be the tool as well as the panel, but just needed it for now before doing the proper UI. Please see code comments for clarification on code
Common error
If you see this template when you insert, and errors in the console:

This is just the template the store is initialised with for now. I will fix the initialisation of the store once the UI is done as it will be easier then. For now, to fix this just create another template and select that from the dropdown menu and it won't happen again.

Looking good so far, excited to see how the UI turns out 🚀

I believe I have addressed all feedback, except disabling the action but I am going to do that along with the UI.
I am going to branch off of this branch for the UI (I have merged with dev so this branch is not stale), then once everything is finalised I'll merge the whole branch train. So pretty much I am re-requesting review to check that I have suitably addressed all feedback, NOT with the intention of merging this branch to dev.

Re-requested myself so I don't forget 😵💫
Will review after you merge in dev :rocket:


Refactor _Trochoid.animate to check if issubclass(self, _Cycloid) then raise error if d arg is passed

Is your feature request related to a problem? Please describe.
Similar to #118 (see notes there for more info) we are redefining and slightly tweaking the functionality for animate, we should leverage inheritance and instead just raise error manually if is subclass of Cyloid and passing d arg

I'll take this

Refactored animate code into _misc with #115


How can I solve this problem

can you set the number of works to zero when debugging? I can't tell what errors caused this problem from this screenshot.

just copy self.mask_paths = [] behind line 32: self.depth_paths = [], and this problem can be solved.


[TableRow] Implement disabled state

Can we disable a row in the table by a prop, something like this:

Row number 4 is disabled

Hello @behnammodi. Can I work on this with guidance please?

@sudhay23 We need a prop on <TableRow /> to disable that something like this:
<TableRow
  disabled={true}
/>

@behnammodi for more advanced usecases we advise to use the DataGrid instead of the Table.
But maybe the disabled prop is simple enough to be added to Table, I let the core team answer on that point.

@behnammodi

@sudhay23 We need a prop on <TableRow /> to disable that something like this:
<TableRow
  disabled={true}
/>

Is this the file I must look at changing? Link

@sudhay23 Yes, I think but let the core team answer on that

@flaviendelangle Thanks, I think this prop is very simple to have it

@behnammodi sure. Should we tag someone though? And If that's allowed, can I have this as part of my Hacktoberfest PRs?

@sudhay23, You can find core team members from here https://github.com/mui-org/material-ui/graphs/contributors, and I can't answer to the second question, what is Hacktoberfest PRs?

Hacktoberfest is an event that occurs through October where we get recognized for the Pull requests we make during October. So thought of participating in the same

@sudhay23, You can find core team members from here https://github.com/mui-org/material-ui/graphs/contributors, and I can't answer the second question, what is Hacktoberfest PRs?

Thanks for the link.

@behnammodi

@sudhay23 We need a prop on <TableRow /> to disable that something like this:
<TableRow
  disabled={true}
/>

Is this the file I must look at changing? Link

@oliviertassinari Can you please help me out with this?

Hacktoberfest is an event that occurs through October where we get recognized for the Pull requests we make during October. So thought of participating in the same

Awesome, so please tell me to know if you need any help about implemantation

Yeah thanks for the support, since I'm contributing for the first time here, can you help me get started on this?

@sudhay23 Sure, to start contributing read this https://github.com/mui-org/material-ui/blob/master/CONTRIBUTING.md

@flaviendelangle Thanks, I think this prop is very simple to have it

I removed my comment because on the DataGrid I don't see an easy way to disable a row (you can disable the interaction easily but not the style). So it does not solve your problem.

@flaviendelangle Thanks a lot for investigating that

Hi team! Wondering if there's any activity on this, if not. Wondering if I could have a go :D


Change default name of shell-only app from Atom to e.g. AtomShell

I'm switching a project over from node-webkit to give atom-shell a good try. When updating the documentation on the atom branch, I noticed that the instructions I gave other developers for launching the project don't really work with Atom shell.
On OS X, we used to be able to simply call open -n -a node-webkit . in terminal to open the app. But changing this to open -n -a Atom . does not work — it opens the Atom Editor instead. The app identifier in the shell releases is the same as the Editor app itself! Can this please be changed?

Atom Shell is now renamed to Electron.


serverless deploy fails without a reason when using esbuild-plugin-tsc

When using the ci/cd pipeline of the serverless dashboard, the deployment fails most of the
times but without a specific reason. When doing the same from my local console with serverless deploy, everything works fine.
I found out it has something to Do with the esbuild-plugin-tsc which i need to be able to use typescript decorators in my Code (nestJS)

I also tried debugging if it is a specific file where it breaks, but it is always another one when it just stops.
Also tried the concurrency settings, but without effect.
SOMETIMES the deploy works as expected. But then when redeploying the same thing it b Re eaks without change...
Have no clue whats going  on. anyone an idea?

was in contact with support of serverless framework... it was just due to the build-machine running out of memory (but unfortunately did not give me a error-message stating that)
so i will close again :)


M1 Blend mode errors

Encountered an issue with the blend mode using the generator on an M1 Mac. Overlay does not have the same results as it is in photoshop / CanvasRenderingContext2D.globalCompositeOperation. My code: { name: "layer", blend: 'overlay' }. I checked the layer files and rebuilt them in photoshop. The overlay looks very dark. I took the same exact files in the previous generator on my old NON-M1 machine and they looked fine. I spent a long time trying to figure it out reading Github and on the readme. I read the // see src/blendMode.js for available blend mode. It was also recommended to find other people with similar issues of other people using node canvas.
Any help is appreciated. Thank you!

I belive this was related to the double draw issue, fixed in #190


[Zeppelin-1540] fix note url input placeholder

What is this PR for?
Fix input form placeholder for note url
What type of PR is it?
Improvement
Todos

[x] - Task

What is the Jira issue?
ZEPPELIN-1540
How should this be tested?
go to import note menu -> add from url -> see input forms
Screenshots (if appropriate)
Before:

After:

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@khalidhuseynov nice catch! yeah it's really confusing. Looks good 👍

LGTM!

LGTM. Merge if there is no more discussion


detect the device in the example code instead of a note

This may be a preferable choice rather than the note

Hey @Atomic-Germ I wrote some scripts that use some of your snippets here. Do you mind if I add the changes on top of this PR so that you get coauthor on the commit when I merge? :)

Or if you're comfortable sending me the email that you use for your git config, I can add it that way instead :) would be a bit cleaner, but totally fine if you'd prefer not to do that way


calendar showacl does not retrieve next page of acl's, limited to 100 results

Full steps to reproduce the issue:

Retrieve the calendar ID for a calendar that is shared with more than 100 users
Enter "gam calendar  showacl"
Verify output

Expected outcome (what are you trying to do?):
All 100+ ACL's should be output.
Actual outcome (what errors or bad behavior do you see instead?):
Only the first 100 ACL's are output.
The Google Calendar API https://developers.google.com/google-apps/calendar/v3/reference/acl/list supports a maxresults parameter and a pageToken parameter. It looks like GAM does not utilize either of these, so just the default first page of 100 results are returned.

def doCalendarShowACL():
calendarId, cal = buildCalendarDataGAPIObject(sys.argv[2])
if not cal:
return

acls = callGAPIpages(cal.acl(), u'list', u'items', calendarId=calendarId,
fields=u'nextPageToken,items(role,scope)')
i = 0
count = len(acls)
for rule in acls:
i += 1

print u'Calendar: {0}, ACL: {1}{2}'.format(calendarId,

formatACLRule(rule), currentCount(i, count))
On Mon, Aug 7, 2017 at 11:36 AM, aitcriver<EMAIL_ADDRESS>wrote:

Full steps to reproduce the issue:

Retrieve the calendar ID for a calendar that is shared with more
than 100 users
Enter "gam calendar showacl"
Verify output

Expected outcome (what are you trying to do?):
All 100+ ACL's should be output.
Actual outcome (what errors or bad behavior do you see instead?):
Only the first 100 ACL's are output.
The Google Calendar API https://developers.google.com/
google-apps/calendar/v3/reference/acl/list supports a maxresults
parameter and a pageToken parameter. It looks like GAM does not utilize
either of these, so just the default first page of 100 results are returned.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/546, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU8Lzzvh0vzoOtOozQ7VbNTJTGPv5eyks5sV1kygaJpZM4Ovyyr
.

--
Ross Scroggs
<EMAIL_ADDRESS>

That looks like it works from my end. I have a calendar with 181 ACL's, and this updated function pulls them all down correctly.


FEATURE: MPNT-28 Support data-load supported format

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/compliance/job/gdc-public-demos-oss-check/23/ : SUCCESS in 6s

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gdc-public-demos-gate-PR11
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gdc-public-demos-fossa-scanning-zuul-el7/11/ : SUCCESS in 56s (non-voting)
https://checklist.intgdc.com/job/compliance/job/gdc-public-demos-sonarqube-scan-zuul-gate/11/ : SUCCESS in 35s
https://checklist.intgdc.com/job/compliance/job/gdc-public-demos-merge-compliance-check/12/ : SUCCESS in 27s


Pi 4 w/ 4GB RAM getting a memory allocation error

I have a USB accelerator and a Raspberry Pi 4 w/ 4GB RAM. I've installed the software with no errors, but when I run python3 pose_camera.py, I get this output:
> python3 pose_camera.py 2>&1 | tee output
Error: gst-resource-error-quark: Failed to allocate required memory. (13): gstv4l2src.c(658): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Loading model:  models/posenet_mobilenet_v1_075_481_641_quant_decoder_edgetpu.tflite
Gstreamer pipeline:  v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,framerate=30/1 ! decodebin ! videoflip video-direction=identity ! tee name=t
               t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! freezer name=freezer ! rsvgoverlay name=overlay
                  ! videoconvert ! autovideosink
               t. ! queue max-size-buffers=1 leaky=downstream ! videoconvert ! videoscale ! video/x-raw,width=641,height=480 ! videobox name=box autocrop=true
                  ! video/x-raw,format=RGB,width=641,height=481 ! appsink name=appsink emit-signals=true max-buffers=1 drop=true

I'm not really sure why I'm getting a memory allocation error - I should have more than enough for this application with 4GB RAM, right?

multiple reboots later, it just worked ¯_(ツ)_/¯


OpenCV-based rank detection

Summary
Rank detection is hard. This is a computer-vision-based implementation of rank detection, using opencv. I've tested it with images from twitch streams as well as in-game.
Pros

This detector should be very robust. I tested it on games that I've played between ranks 7 and 9 and it was correct every time. I also took screenshots from twitch streams to test the other ranks. All were classified correctly.
We do not need to worry about screenshotting the rank icon perfectly. I feed in the bottom third and left fifth of the screen.
It's fast: 0.2 seconds per call.
In the future, we might be able to add a number of features based on computer vision. For example, reading decklists off of the "My Collection" screen to make a deck in the tracker.

Cons

OpenCV is written in C++, so we have to wrap everything.
The framework is pretty large. So far, I've managed to strip it down from 300 MB to 96 MB. We might be able to do better.
The screenshot is currently passed to the C++ code via a file. I tried to convert NSImage to opencv's cv::Mat object, but this led to crashes that I couldn't even trace. See e.g. http://stackoverflow.com/questions/8563356/nsimage-to-cvmat-and-vice-versa

I left the other rank detection code in place in case we want an option to switch between them.

Nice

Manually merged


B1 Submission

The logs will be committed later.

confirmed:B1
node:b37234959a375b35

Form Submitted 2022-04-29 17:30 JST(UTC+9)


Add support for FigJam; Clean up

Fixes #23

Changes proposed in this Pull Request:

Added support for FigJam
Added changelog
Addressed 2 dependabot PRs
Verified that all functions work in both Figma and FigJam, light or dark theme.

To Test:

Follow the readme instructions
To test light / dark theme: switch your system preference theme to light / dark. Figma's UI will update itself to reflect the change. The plugin should also reflect the change

Build isn't working for me locally

^^^ Here are your instructions ^^^ but I don't have any such option for "link existing plugin"... just this...

There is an "import plugin from manifest" option though... ¯_(ツ)_/¯

Everything should be working now


[HOLD for payment 2024-09-04][Search v2.1][Web-E] Deprecate old Search params

Implement this section of the design doc.
Holding on:

[x] https://github.com/Expensify/App/pull/46481

Issue OwnerCurrent Issue Owner: @strepanier03

Still on hold

Not yet, the holding PR is still in draft

Just in case - adding another BZ - I'll be out until 8/21 and will check in on this then.

looks like the PR is in production - should we pay out the C+ for the review? @luacmartins

That PR is not related to this issue. I still haven't worked on this one.

Since this is all internal, I'll unassign you from this issue.

@luacmartins I reviewed the PR, which has now been in production for a week. However, I wasn't assigned to the issue or involved in the proposal review. Should I be assigned to this issue for compensation, or given the simple nature of the PR, can we close the issue and move on? Thank you.

@brunovjk I updated the issue to make sure we process payment for the PR review. Thanks for raising this!

Thank you @luacmartins 🙏

Thank you @luacmartins 🙏

Sent an offer to @brunovjk - I'll check tomorrow to issue payment.

Payment summary

[ ] $250 - @brunovjk via Upwork (offer)

Regression Test Proposal

Open the search page.
Select "Transactions."
Open your browser console.
Click on "Download."
Verify that the API request to ExportSearchToCSV includes jsonQuery in the payload.

Do we agree? 👍 or 👎

No need to add the steps above, we're covering them as part of the project wrap up.

Thanks @luacmartins, was just going to close the GH and saw you took care of that too, appreciate it!

All right, I've paid and closed the contract and this is ready to be closed as well. Thanks everyone!


Ben/lmb 1037 hide duplicate kandidatenlijsten

Description
In faciliteitsgemeentes, kandidatenlijsten were shown for gemeente and ocmw. Hide those for the OCMW, we don't really care about them.
How to test
Go to faciliteitsgemeente, check if kandidatenlijsten are only shown once and check if the flow of iv and syncing still works as expected.

Instead of the promise hell, I can also just filter kandidatenlijsten with type KANDIDATENLIJST_GEMEENTE, but this feels more correct.

Instead of the promise hell, I can also just filter kandidatenlijsten with type KANDIDATENLIJST_GEMEENTE, but this feels more correct.


Scrape new dcs prom

I have amended the config here to only add the hostname of the internal prometheus, hoping we can add more labels from the other end more reliably.


Bump ks version from 3.1.0 to 3.1.1

Considering if there's no negative feedback, I'm going to merge this.


Create custom Logger

@MuhammadKasimov Maybe we should just create logger wrapper ? So multiple implementations will be available to use

@MuhammadKasimov Maybe we should just create logger wrapper ? So multiple implementations will be available to use

Ok i will do that


Feature request: implement function docstring popup

I notice that currently the language server doesn't support function docstring popups. If we look at other language servers, for example, Java, we see that if the user specifies some comments right on top of the function, when the user hovers over the function name, a popup showing the comments appears.
I think this feature is useful, considering that a lot of users usually write some comments about the function usage.

Millet does support this, you just have to write the comment in a certain way: https://github.com/azdavis/millet/blob/main/docs/manual.md#doc-comments

Weirdly that doesn't work for me. Do I have to enable something in the extension settings? I'm running VSCode 1.71.2 on Windows and the Millet version is v0.3.10.
Also, I think it is nice if we can define some convention for our docstrings. For example, in the above screenshot, we see that the Java extension uses @param to denote the definition of a function parameter.

Seems like hovering for doc works for everywhere except the def site itself.

As for conventions, 🤷 . You can use whatever style you want, as long as it's Markdown. There are other existing ML doc comment styles, but I just 'invented' one for the purposes of Millet.

I can work to improve the hovering for the def site if no one plans to do it. It will take me a lot of time since I'm unfamiliar with VSCode API, but this seems low-priority, so I hope it won't matter much.

Closing this since the original issue itself (doc comments) is resolved. If you want to send a patch to implement hover for doc on the def site feel free to.


[android demo] add check to SpeechActivity.java for call requestPermissions only with API>=23

requestPermissions call possible only with API>=23
minSdkVersion set to 21 for the Project.
Hence check required, otherwise, on devices with API 21 and 22 we'll get the error:
...
09-02 15:14:21.979 24890-24890/org.tensorflow.demo E/AndroidRuntime: FATAL EXCEPTION: main
                                                                     Process: org.tensorflow.demo, PID: 24890
                                                                     java.lang.NoSuchMethodError: No virtual method requestPermissions([Ljava/lang/String;I)V in class Lorg/tensorflow/demo/SpeechActivity; or its super classes (declaration of 'org.tensorflow.demo.SpeechActivity' appears in /data/app/org.tensorflow.demo-1/split_lib_slice_7_apk.apk)
                                                                         at org.tensorflow.demo.SpeechActivity.requestMicrophonePermission(SpeechActivity.java:160)
...

Can one of the admins verify this patch?

Sorry guys. Looks like I've messed up with this PR GitHub branch :( Trying just to add another small commit and rebased on the upstream branch...
Just cleaned up my local branch and push it as new remote branch here: https://github.com/ArtsiomCh/tensorflow/tree/SpeechActivity
Should I force push to this PR branch my cleaned local branch? Or Should I close that PR and reopen another one based on my clean branch? Or may be you know a better solution how to solve that?...
I'm sorry again, unfortunately, I'm not too proficient with Git...

Thanks for this PR, it's a good catch!

Should I force push to this PR branch my cleaned local branch?

I think this might be the easiest way. I'm not too proficient with git though either, so if this gets too sticky feel free to open a clean PR and link to it in a comment here, we can continue the review there.

Just did force push. Looks like it solved the mess. :)
My second commit 84218e21424d64078c5dc2102443a1d66e4233b6 add call of startRecording() for the API<23. Originally it was called only at onRequestPermissionsResult() which is never executed when API<23, so Recording thread was never invoked.
Unfortunately, even after that fix, I can see through the debugger (and injecting some additional Log output into the code) that recognition works but do not animate label at labelsListView on the Activity screen.
For me it looks like the problem is somewhere inside that piece of code:
...
                final View labelView = (View) labelsListView.getChildAt(labelIndex - 2);
                ValueAnimator colorAnimation =
                     ValueAnimator.ofArgb(0x00b3ccff, 0xffb3ccff, 0x00b3ccff);
                colorAnimation.setDuration(750);
                colorAnimation.addUpdateListener(
                    new ValueAnimator.AnimatorUpdateListener() {
                      @Override
                      public void onAnimationUpdate(ValueAnimator animator) {
                        labelView.setBackgroundColor((int) animator.getAnimatedValue());
                      }
                    });
                colorAnimation.start();
...

@tensorflow-jenkins test this please

@petewarden are we ready to merge this PR? Thanks!

@petewarden good to go?

@petewarden ping

Jenkins, test this please


Retrieving releases.js from http://google-refine.googlecode.com/svn/support/releases.js produces a 404

Downloaded and installed open refine 2.7 on a mac with high sierra. Uploading files on chrome was giving me some anomalous behaviour. Looked at the chrome development tool and it notified me that trying to retrieve releases.js from http://google-refine.googlecode.com/svn/support/releases.js produces a 404. On the mac found this was produced by ./Resource/webapp/modules/core/scripts/index.js at (line numbers):
120           var script = $('<script></script>')
121           .attr("src", "http://google-refine.googlecode.com/svn/support/releases.js")
122           .attr("type", "text/javascript");
123           document.body.appendChild(script[0]);

Sounds like a relatively fix. If the javascript is being used find a new distribution point, if it is not then it can be removed.

Thanks @marioa - there is a fix for this ready for the 2.7.2 release  - see https://github.com/OpenRefine/OpenRefine/commit/e482878596cbda7d6e7e99cb1f02d57aa8f4d549#diff-6d8a16be362b3c276c8837f74ac81415


Scroll removed from favorites when no movies saved

Related Issue

Closes: #385
Description of Changes

Removed left and right scroll from favorites when there are no movies saved in favorites.
Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

@sourabhsikarwar Can you please add the labels?


Visual Studio Xamarin IOS - Pair to Mac Error - OPENSSH IS Not Supported

I get an error when trying to connect to my mac. I can connect with putty and I can ping my mac ip address but I can not pair with visual studio. Visual studio connected and even installed missing mono files but when it trys to further connect I get this error. I spent about 10 hours on this one issue. I reinstalled OSX. Im running OSX Mojave clean booted. I cleaned caches, restarted pc and mac. Created new ip address and so on and nothing works. I breaks right after it says starting connection to ........ Then the error shows up -> (Key OPENSSH is not supported)
So I can see that the connection works and I can input login info each time no problem. But while trying to connect I get this OPENSSH is not supported error.
Here is a video to the problem:
https://www.youtube.com/watch?v=KTobenSKUm8&t=1s
Here are some error reports:
configuration for connecting to '<IP_ADDRESS>'
Checking SSH configuration...
Checking available disk space...
Checking Mono installation...
Checking Xamarin iOS installation...
Checking host configuration for connecting to '<IP_ADDRESS>'...
Host '<IP_ADDRESS>' is configured correctly Starting connection to '<IP_ADDRESS>'...
Starting connection to '<IP_ADDRESS>'...
Starting disconnection from <IP_ADDRESS>...
Starting disconnection from <IP_ADDRESS>...
The connection to '<IP_ADDRESS>' has been finished Couldn't connect to <IP_ADDRESS>.
Please try again
Please can anyone help with this issue it has been going on for days now and I can not get any ios development done with this current error. Thank. you.

this is a duplicate of this issue. please follow the instructions there to file a bug.


transformationType should use xsd:all instead of xsd:sequence

The order of application in a transformation is defined in the CPACS documentation (scale, rotate, translate), therefore we might use xsd:all instead of xsd:sequence, and remove all occurs alltogether.

Also applies for pointAbsRelType, pointType

You are absolutely right that an "xsd:all" is sufficient here and we should prefer "all" where possible. The idea, why we once made this a "sequence" was to avoid a chance of misinterpretation here. Even though the transformation order is mentioned in the documentation (nowadays), one could assume that writing e.g. "translation" first could lead to really doing the Translation before the other Transformation. Using the sequence, it is always assured that the three transformations are Standing in the order in which TiGL applies them. So I would rather suggest to keep it as a sequence here.
For the Points, I think a sequence is really not required, but the idea was here that the Points were used for the tranformation/Rotation node as well and there the order again becomes important.

Experience shows that in practice the order of translation, rotation and scaling is arbitrarily written in CPACS files. This is one of the things spamming the results when performing a validation of CPACS files against the schema.
Therefore I would rather change the type to xsd:all as suggested by @ArneBachmann.
If we continue to enforce the order, there should at least be a tixi function which reorders the nodes in the right sequence or supports you in writing it in the correct order.

Closed with #520


Address TODOs in registry interfaces

https://github.com/distribution/distribution/blob/915ad2d5a6073cb976f94941a4f8891a692af704/registry.go#L108-L110
https://github.com/distribution/distribution/blob/915ad2d5a6073cb976f94941a4f8891a692af704/registry.go#L116-L118

I had a look at these TODOs tonight.
They leak all over the place and the code added since they were created just kept layering up on the wobbly base stones.
To pour salt on the wounds, some of the names of the objects suggest they should implement X actually implement Y. Why? I dont know. My favourite is blobstore:
https://github.com/distribution/distribution/blob/dfd191e7d26ce6664680591c22561bd6488449a5/registry/storage/registry.go#L16
Which actually implements pretty much anything but distribution.BlobStore:

BlobEnumerator
BlobProvider
ManifestEnumerator

The actual distribution.BlobStore implementation is of course provided by the linkedBlobStore. The problem is, when you narrow down the interface returned by (Repository).Blobs() you break at least:

notifications listener
proxy

And my guess is this will very likely break a bunch of other things 🫠
The blast radius of addressing this issue is pretty large 😬 and I dont think it should block and further delay v3 release.
These interfaces need a proper rethink which we should aim to address in v4 IMHO.