CLI tool does not update when using Windows

We run automated scripts on a Windows machine to populate a database and then switch environment variables to switch between them (a sort of cursory green/blue style workflow). Unfortunately, the build scripts have to be run on Windows due to a particular tool we use that does not run very well at the moment on Linux machines.
As part of these scripts, we run the Platform.sh CLI commands to update environment variables. This was working well for a while, but now when we get prompted to update the CLI if a new verison is available, Windows reports the CLI as having been updated - but this is not actually the case.
When running in verbose mode, we can see that there's an access denied error:
C:\Users\cogapp>platform self:update -vvv
...
Update to version 3.81.0? [Y/n] y
Updating to version 3.81.0
Deprecated: version_compare(): Passing null to parameter [#1](https://support.platform.sh/hc/requests/1) ($version1) of type string is deprecated in phar://C:/Users/cogapp/.platformsh/bin/platform/vendor/padraic/phar-updater/src/VersionParser.php on line 165
Warning: rename(C:\Users\cogapp\.platformsh\bin/platform.phar.temp,C:\Users\cogapp\.platformsh\bin\platform): Access is denied (code: 5) in phar://C:/Users/cogapp/.platformsh/bin/platform/vendor/padraic/phar-updater/src/Updater.php on line 382
The Platform.sh CLI has been successfully updated to version 3.81.0

C:\Users\cogapp>platform --version
Platform.sh CLI 3.80.3

However the message afterwards is misleading, as the CLI tool has not actually been updated.
I suppose this boils down to two things:

Should this work under Windows? If so - then the above is a legitimate error (at least for us).
Should the error message say something else in the event that an error occurred during an update?

We're currently running PHP 8.1.7 on an AWS Windows machine (I believe it's one of the old Enterprise LTS Windows versions - 20H2 or something like that)

Actually I'd suggest four things. If in fact this should (1) run under Windows then:
(2) The error on line 382 is reported (in -vvv verbose mode) as a warning (and therefore nor normally shown to the user, and not treated as a failure to update); instead it should be handled as an error, and the update process should report the error, instead of reporting that the CLI has been succesfully updated.
(3) This error shouldn't occur! The observed behaviour is that after running the update command .platformsh\bin contains two files, platform.phar.tempand platform. Swapping these does indeed render the CLI updated. I don't know whether the code attempts to rename the current platform out of the way, before issuing the rename command to put the new version in place; and that after failing to do so, reverts the previous rename.  Or whether it attempts to use rename to overwrite the previous file. Some possibilities:

if the latter, perhaps that does work on some platforms, but not on (this flavour of) Windows
I notice that the paths passed to rename contain a mixture of Linux and Windows (fore and back) slashes - perhaps this is the problem
it may indeed be a permissions problem, although all the files seem to have the same properties.

(4) A final issue is that although we invoke the command platform self:update --yes --timeout=120 at the start of the daily script, in an attempt to ward off the problem by avoiding a check for two hours, it has no apparent effect. If there is an update, the update process of course fails; and the next invocation of platform ..., just a minute later, produces another request to consider updating.

Thank you both for the detailed descriptions.
I agree it looks like the key is that the failure to rename is not properly handled, and that needs to be fixed.
But... I wouldn't expect to run self:update in a script. Are you doing that to avoid the update check? I would advise instead setting the environment variable PLATFORMSH_CLI_NO_INTERACTION to 1, e.g. (bash/POSIX):
export PLATFORMSH_CLI_NO_INTERACTION=1

which removes the chance of any blocking questions, and also disables update checking.
PS. The mix of back- and forward-slashes is ugly but it should be handled fine by PHP.

Hi Patrick,
Thanks for your response.
The process is using platform variable:get to get the value of an environment variable; and the problem is that when there's an update to the CLI available, it interprets the information about the update as the value of the variable.
(I'm almost certain that we experimented with using --yes to avoid this, without success; I know we did on some other commands; but I can't now be sure whether we tried it on variable:get. Of course, we can only experiment in this area when there is an update available and it hasn't yet been applied!)
Hence, we tried having the batch script that kicks off the process first do a self:update to avoid this problem.
However, we'll now try PLATFORMSH_CLI_NO_INTERACTION which I wasn't aware of - thanks for the tip!

Meanwhile, please let me know if there's some way we can help you debug the underlying issue with updating the CLI.

Hi Patrick - now that there's been an update allowing us to test it - I can confirm that using PLATFORMSH_CLI_NO_INTERACTION has solved our main problem. Thanks very much for this,
It remains the case (as of 3.80.0 -> 3.81.1) that the updater fails on Windows.

Thanks for the update. There are 2 things remaining: debugging the permissions issue (to fix Windows update) and also patching or replacing the now-abandoned updater library (to fix the error message).
So maybe let's focus on this to start with
Warning: rename(C:\Users\username\.platformsh\bin/platform.phar.temp,C:\Users\username\.platformsh\bin\platform): Access is denied (code: 5) in phar://C:/Users/username/.platformsh/bin/platform/vendor/padraic/phar-updater/src/Updater.php on line 382

It might be related to this note in the PHP docs:

Note: On Windows, if to already exists, it must be writable. Otherwise rename() fails and issues E_WARNING.

Is the existing platform (phar file) itself writable?

Hi Patrick

is the existing platform (phar file) itself writable?

Yes it is.


TypeError got an unexpected keyword argument 'custom_classes'

Running on Windows we always get the following crash
Loading model from: C:\Program Files\Python39\lib\site-packages\lpips-0.1.4-py3.9.egg\lpips\weights\v0.1\vgg.pth
0it [00:07, ?it/s]
Traceback (most recent call last):
  File "C:\Program Files\Python39\Scripts\cgd-script.py", line 33, in <module>
    sys.exit(load_entry_point('cgd-pytorch==0.1.5', 'console_scripts', 'cgd')())
  File "C:\Program Files\Python39\lib\site-packages\cgd_pytorch-0.1.5-py3.9.egg\cgd\cgd.py", line 385, in main
    list(enumerate(tqdm(cgd_generator))) # iterate over generator
  File "C:\Users\david\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 1185, in __iter__
    for obj in iterable:
  File "C:\Program Files\Python39\lib\site-packages\cgd_pytorch-0.1.5-py3.9.egg\cgd\cgd.py", line 243, in clip_guided_diffusion
    cgd_samples = diffusion_sample_loop(
TypeError: ddim_sample_loop_progressive() got an unexpected keyword argument 'custom_classes'

At certain resolutions like 128,256,512 this crash occurs after all of the image generation iterations are completed, but before any files are saved.
Is it possible to either fix this or disable the LPIPS loss? This isn't actually required for the image generation right?

@DavidSHolz Thanks for filing an issue on this - wasn't aware of this issue.
I believe this bug may actually be for  a different reason than you suspect - are you using DDIM respacing?

"At certain resolutions like 128,256,512 this crash occurs after all of the image generation iterations are completed, but before any files are saved."

Before any files are saved? That certainly shouldn't be happening! I noticed you are on Windows; it's possible you aren't having your files saved to due windows-specific path issues.

I'll have a look into this specifically however:
TypeError: ddim_sample_loop_progressive() got an unexpected keyword argument 'custom_classes'

i believe this is just because you're using both ddim<num> respacing and --num_classes; which may be buggy in my current fork of guided diffusion.

I was just trying to run the examples in the readme.md, are the default ddim and num_classes arguments going to give stability issues? If so what are the defaults I should be trying?

@DavidSHolz apologies I didnt mean to insinuate that what you were experiencing is not in fact a bug. There is indeed something strange going on and I'll investigate that specifically when I get a moment.
Until then; you might have more success with just using the defaults set in the argument parser. Depending on your GPU (nvidia RTX 2070 is all that's tested) - running something like the following should work fine:
cgd -txt "The text I want to generate" -respace "250" -size 128

Let me know if this fails too however. Super appreciate the patience btw; I haven't tested on Windows and there could be a few bugs on that platform.

The reason I am specifically suspicious of the usage of ddim<> respacing is because of the error you posted in your top post:
TypeError: ddim_sample_loop_progressive() got an unexpected keyword argument 'custom_classes'

@DavidSHolz to answer your original question about VGG loss; it is now completely disabled by default in v0.1.6

Thank you! Unfortunately I'm still getting crash about getting a custom keyword arguement 'custom_classes', but there's more information in the crash now:
Here's some more information about my machine, command line call, etc.
GPU: Nvidia 3090
OS: Windows
Command-line call:
C:\python\clip-guided-diffusion>cgd --image_size 256 --prompts "cyberpunk wizard"
Command line response:
Given initial image:
Using:
CLIP guidance scale: 1000
TV Scale: 100.0
Range scale: 50.0
Dropout: 0.0.
Number of cutouts: 48 number of cutouts.
0it [00:00, ?it/s]
Using device cuda. You can specify a device manually with --device/-dev
Setting up [LPIPS] perceptual loss: trunk [vgg], v[0.1], spatial [off]
Loading model from: C:\Program Files\Python39\lib\site-packages\lpips-0.1.4-py3.9.egg\lpips\weights\v0.1\vgg.pth
0it [00:09, ?it/s]
Traceback (most recent call last):
File "C:\Program Files\Python39\Scripts\cgd-script.py", line 33, in
sys.exit(load_entry_point('cgd-pytorch==0.1.5', 'console_scripts', 'cgd')())
File "C:\Program Files\Python39\lib\site-packages\cgd_pytorch-0.1.5-py3.9.egg\cgd\cgd.py", line 385, in main
init_image=args.init_image,
File "C:\Users\david\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 1185, in iter
for obj in iterable:
File "C:\Program Files\Python39\lib\site-packages\cgd_pytorch-0.1.5-py3.9.egg\cgd\cgd.py", line 243, in clip_guided_diffusion
loss = losses.sum() * clip_guidance_scale + tv_losses.sum() * tv_scale + range_losses.sum() * range_scale
TypeError: p_sample_loop_progressive() got an unexpected keyword argument 'custom_classes'

Thank you! Unfortunately I'm still getting crash about getting a custom keyword arguement 'custom_classes', but there's more information in the crash now:
Here's some more information about my machine, command line call, etc.
GPU: Nvidia 3090
OS: Windows
Command-line call:
C:\python\clip-guided-diffusion>cgd --image_size 256 --prompts "cyberpunk wizard"
Command line response:
Given initial image:
Using:

CLIP guidance scale: 1000
TV Scale: 100.0
Range scale: 50.0
Dropout: 0.0.
Number of cutouts: 48 number of cutouts.
0it [00:00, ?it/s]
Using device cuda. You can specify a device manually with `--device/-dev`
Setting up [LPIPS] perceptual loss: trunk [vgg], v[0.1], spatial [off]
Loading model from: C:\Program Files\Python39\lib\site-packages\lpips-0.1.4-py3.9.egg\lpips\weights\v0.1\vgg.pth
0it [00:09, ?it/s]
Traceback (most recent call last):
  File "C:\Program Files\Python39\Scripts\cgd-script.py", line 33, in <module>
    sys.exit(load_entry_point('cgd-pytorch==0.1.5', 'console_scripts', 'cgd')())
  File "C:\Program Files\Python39\lib\site-packages\cgd_pytorch-0.1.5-py3.9.egg\cgd\cgd.py", line 385, in main
    init_image=args.init_image,
  File "C:\Users\david\AppData\Roaming\Python\Python39\site-packages\tqdm\std.py", line 1185, in __iter__
    for obj in iterable:
  File "C:\Program Files\Python39\lib\site-packages\cgd_pytorch-0.1.5-py3.9.egg\cgd\cgd.py", line 243, in clip_guided_diffusion
    loss = losses.sum() * clip_guidance_scale + tv_losses.sum() * tv_scale + range_losses.sum() * range_scale
TypeError: p_sample_loop_progressive() got an unexpected keyword argument 'custom_classes'

Thanks for the stacktrace!
It looks as though you're using your globally install Python3.9. No problem there; but I mention it because the first reason I think this bug might be happening is because you have an out-of-date copy of guided-diffusion. To get a fresh copy:
git clone https://github.com/afiaka87/guided-diffusion
python -m pip install --upgrade -e guided-diffusion

Works now thanks!


Ring of Blades doesn't add spell attack modifier

UB version <IP_ADDRESS>
Ring of Blades is supposed to be a spell attack, but it currently doesn't include the spell attack modifier. My guess is that BuildRingOfBlades() in SpellBuildersLevel06.cs could use a call to SetUseSpellAttack().
ringofblades_atkmod.zip

not that simple. Power doesn't exist on hero progression so SetUseSpellAttack() won't help here.
            // __instance is required by Artillerist which has powers tied to caster
            var summoner = user.GetMySummoner();

            if (summoner != null)
            {
                user = summoner.RulesetCharacter;
            }

            var repertoire = user.GetClassSpellRepertoire(user.FindClassHoldingFeature(featureDefinitionPower));

            if (repertoire == null)
            {
                return;
            }

will need to get this from condition to determine which spell / repertoire were used originally.


Support rebasing/updating the remediation PR if main changes while the PR is opened

@ethomson -- should we have a user story that describes the behavior here (automatic vs comment-driven)?


[GEP-27] Add extensions bastion util function

How to categorize this PR?

/area usability
/kind enhancement
What this PR does / why we need it:
As part of GEP-27:
This PR introduces functionality for the determination of bastion VM parameters used by the extensions.
All the information used to determine the VM parameters is in the the CloudProfile.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Add functionality for the determination of bastion VM parameters used by the extensions

/retest

/approve

/retest-required


Display image resolution/size in title

May be a duplicate of #12 depending on how it's implemented

Implemented as info bar


how to use zap.field?

eg: zap.String("name", "john"), zap.Int("age", 18), then json output likes this: {"name": "john", "age": 18}

Not supported, complex log printing is recommended using the native zap

However, it is recommended that hlog be injected into the zap implementation as well to ensure that both framework logs and business logs can be seen.

what about logger.Infow? this is what i need but it hasn't been implemented

what about logger.Infow? this is what i need but it hasn't been implemented

not support and i recommend using zap directly, you can use hlog.SetLogger to inject zap and ensure that the framework logs are collected by you as well.

@wuyunhua1987 现在 zap 支持导出原生 logger, 以支持复杂操作
logger := hertzap.NewLogger()
hlog.SetLogger(logger)

h.GET("/hello", func(ctx context.Context, c *app.RequestContext) {
	logger.Logger().Info("Hello, World!", zap.Int("status", c.Response().StatusCode()))
	c.String(consts.StatusOK, "Hello hertz!")
})


Pre-trained model available?

Hi @nywang16 ,
first greetings for this impressive work.
I'm wondering if the pre-trained model will be available for download. In the README you're mentioning a demo, but I don't understand if it's the same thing.
Thank you!

Thanks for your Interests, we are still working hard on testing the code, and it will be released in two days.

Hi @nywang16 ,
when I ran this project, I got a error call "tensorflow.python.framework.errors_impl.NotFoundError: ./cd_dist.so: undefined symbol: _ZTIN10tensorflow8OpKernelE".
Could u tell me how to build "cd_dist.so" correctly
Thank you!

@CesarWu410 One solution is swiching your tensorflow to version 1.3 if you want to used it directly.
Another solution is to build it yourself, please refer to https://github.com/fanhqme/PointSetGeneration

Hi @nywang16,
I did try to build TensorFlow 1.3 with Bazel 0.5.4 on Ubuntu 16.04. But still when loading the library "cd_dist.so" It complains :
tensorflow.python.framework.errors_impl.NotFoundError: ./cd_dist.so: undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv
I think it may because of incompatible GCC versions. Probably cd_dist.so was built by GCC4.xx and I think Bazel is using GCC5.4 on my platform. But this is just a wild guess, i have no idea how Bazel is compiling TensorFlow.
Do you have any solution for this ?
--
Alok

Hi @al093, you can first complete the compilation of TensorFlow and continue to use Bazel or any tool. Then recompile cd_dist.so using the compatible version GCC according to this issue #2.

@nywang16 Thanks!

Hi,
Do you know how to download the dataset and unzip it from the link below?
https://drive.google.com/open?id=131dH36qXCabym1JjSmEpSQZg4dmZVQid


Implement Client Libraries for Besu Application HTLC Support

This will be the equivalent of the Interoperation Node SDK for Fabric. Code for this should lie in the sdks/besu/<some-name> folder.

@michiboo

Hi


Please give instructions on building

In order to try my translation, I tried to build this project under Linux using:
./gradlew assembleDebug

but it reported errors:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':feature:feed:domain:implementation:transformDebugClassesWithAsm'.
> A failure occurred while executing com.android.build.gradle.tasks.TransformClassesWithAsmTask$TransformClassesFullAction
   > Error occurred while instrumenting class com.savvasdalkitsis.uhuruphotos.feature.feed.domain.implementation.broadcast.CancelFeedDetailsDownloadWorkBroadcastReceiver

I applied the PR's by the bot manually to upgrade versions info and ./gradlew clean and tried again.
This time it reported
> Task :app:processDebugGoogleServices FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.

And I tried sudo sdkmanager "extra:google;google_play_services" then ./gradlew assembleDebug again, same error.
Then I tried cp mock-google-services.json app/google-services.json and then again. The error becomes:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':feature:feed:domain:implementation:transformDebugClassesWithAsm'.
> A failure occurred while executing com.android.build.gradle.tasks.TransformClassesWithAsmTask$TransformClassesFullAction
   > Error occurred while instrumenting class com.savvasdalkitsis.uhuruphotos.feature.feed.domain.implementation.broadcast.CancelFeedDetailsDownloadWorkBroadcastReceiver

Is there anything I've missed to build this project? I hope you could give instructions on how to build this project.
Thank you!

Ok, so I have figured it out by myself.
After running ./gradlew assembleDebug --stacktrace, it gave:
...
Caused by: java.io.FileNotFoundException: /tmp/uhuruphotos/feature/feed/domain/implementation/build/intermediates/javac/debug/classes/com/savvasdalkitsis/uhuruphotos/feature/feed/domain/implementation/broadcast/Hilt_CancelFeedDetailsDownloadWorkBroadcastReceiver.class (No such file or directory)
at dagger.hilt.android.plugin.AndroidEntryPointClassVisitor.hasOnReceiveBytecodeInjectionMarker(AndroidEntryPointClassVisitor.kt:205)
at dagger.hilt.android.plugin.AndroidEntryPointClassVisitor.visitMethod(AndroidEntryPointClassVisitor.kt:106)
at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1354)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:745)
at org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
at com.android.build.gradle.internal.instrumentation.AsmInstrumentationManager.doInstrumentByteCode(AsmInstrumentation3385 actionable tasks: 3385 executed
Manager.kt:225)
at com.android.build.gradle.internal.instrumentation.AsmInstrumentationManager.doInstrumentClass(AsmInstrumentationManager.kt:257)

And then, /tmp/uhuruphotos/feature/feed/domain/implementation/build/intermediates/javac/debug/ has no classes folder under it but a compileDebugJavaWithJavac ; however, the /tmp/uhuruphotos/feature/feed/domain/implementation/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/savvasdalkitsis/uhuruphotos/feature/feed/domain/implementation/broadcast/Hilt_CancelFeedDetailsDownloadWorkBroadcastReceiver.class do exists!
So the remaining is easy, just copy /tmp/uhuruphotos/feature/feed/domain/implementation/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes folder to /tmp/uhuruphotos/feature/feed/domain/implementation/build/intermediates/javac/debug/classes.
And do the build again, now it works!
Well, but I'll keep this issue open temporarily, because I still suggest that a building instruction will be nice.

The issue with CancelFeedDetailsDownloadWorkBroadcastReceiver should be fixed now.
Simply copyinng the mock google-services.json in the app folder should be enough to build now


Update pom.xml

@pizzaz93 Did you face any issues with previous netty version? Can you add some description on why we need to upgrade?

The newer version would provide better security coverage


Pin @babel/plugin-transform-classes to v7.0.0-beta.35

babel/babel#7020 (included in v7.0.0-beta.36) breaks our assumptions about how babel will transform ES6 classes. Particularly, it changes the way that compiled ES6 classes which extend (what babel assumes to be) native constructors such that the subclasses no longer call into the parent classes' constructors. This is allows the transformation to avoid a specific type of error when extending native constructors: most must be constructed with new (or super / Reflect.construct, which aren't available in ES6) and will throw when called using call or apply. However, the polyfill needs the user to call into the polyfilled constructor to retrieve the exact element which is being upgraded and so that the user's constructors are called with that specific element as this.
This PR manually assembles the set of transforms in @babel/preset-es2015 (with our particular configuration) for the purpose of being able to pin @babel/plugin-transform-classes to v7.0.0-beta.35 .

[ ] tests

https://github.com/babel/babel/issues/7506 - a bug about this issue
https://github.com/babel/babel/pull/7533 - related PR to fix bug above

If there's a straightforward way to check that the bad transform is not happening, mind adding a regression test in js-transform_test?

I've added a test that checks for whether or not this line (the broken constructor) is injected into the output when creating a class that extends from HTMLElement.

We should probably test with shop or something, just to make sure it actually works at runtime. Like I could imagine a breakage due to the helpers and the transformer being out of sync.

I've been trying with a polymer init-created PSK, manually modified to force the custom elements polyfill and w/ UA spoofed to IE11. I think it's working as expected but I'm going to ask @keanulee to double check for me since he has better knowledge of the conditions that lead to this problem.

@keanulee thanks! I was just about to walk over and ask. :)

I'm going to revert the last commit. I was hoping it was going to make these pass but since it's not helping here I don't see any reason to include it.

if you merge in master you'll get unit and integration tests split out.  maybe easier to see whats going on

Ok, I'll try that.

Russell, I updated travis.yml on master to reduce sauce session contention and got 4 green travis runs on the first try in a long time.  Merge master again for that goodness.

@bicknellr I went ahead and merged master into this branch to get that effect.  Hopefully will just see green CI in 20 minutes here.

@usergenic I just saw that PR - awesome! Anxiously awaiting the Travis results: so far 3 for 3.

Thanks so much for figuring that out!

Pls unpin.


324-add-tensorrt-support

Fixes #324 .
Description
Add the command line of TensorRT convert to a part of bundles. Update the TensorRT benchmark results to these bundles.
Status
Ready/Work in progress/Hold
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[ ] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[ ] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

Still cannot make the spleen bundle work with the following settings:
GPU: A100 80G
torch_tensorRT version: 1.4.0.dev0
monai version: branch from: https://github.com/Project-MONAI/MONAI/pull/5986  commit a3de4ef2f5e00cefaf6423cdcbe77fc65b34c732
bundle commit: 6b8518edf0569508ac30cd7608c7e8bb7348f3b8

Export command:
~                                                                                python -m monai.bundle trt_export \
--net_id network_def --filepath models/model_trt_fp16.ts \
--ckpt_file models/model.pt --meta_file configs/metadata.json \
--config_file configs/inference.json --precision fp16 \
--dynamic_batchsize "[1, 4, 8]"

inference command:
~                                                                                python -m monai.bundle run evaluating \
--meta_file configs/metadata.json \
--config_file configs/inference_trt.json \
--logging_file configs/logging.conf

Where inference_trt.json is modified from inference.json according to https://github.com/Project-MONAI/model-zoo/blob/f4aa28e1820e0d65be9855513bf801d0048b76e8/CONTRIBUTING.md#verify-tensorrt-models

Still cannot make the spleen bundle work with the following settings:
GPU: A100 80G
torch_tensorRT version: 1.4.0.dev0
monai version: branch from: https://github.com/Project-MONAI/MONAI/pull/5986  commit cda525ac
bundle commit: 6b8518edf0569508ac30cd7608c7e8bb7348f3b8

Export command:
python -m monai.bundle trt_export \
--net_id network_def --filepath models/model_trt_fp16.ts \
--ckpt_file models/model.pt --meta_file configs/metadata.json \
--config_file configs/inference.json --precision fp16 \
--dynamic_batchsize "[1, 4, 8]"

inference command:
python -m monai.bundle run evaluating \
--meta_file configs/metadata.json \
--config_file configs/inference_trt.json \
--logging_file configs/logging.conf

Where inference_trt.json is modified from inference.json according to https://github.com/Project-MONAI/model-zoo/blob/f4aa28e1820e0d65be9855513bf801d0048b76e8/CONTRIBUTING.md#verify-tensorrt-models

Hi @yiheng-wang-nv ,
This issue is caused by the amp set in the evaluator, which should be set to false if using TensorRT models. Because the TensorRT models directly support the fp16/fp32 precision instead of the amp mode.

Thanks @binliunls , it works when disable amp mode.

/build

it seems FlexibleUNet has some breaking changes after monai==1.1.0, and torchscript test failed on my local test. The current model.ts file may need to be updated.

The issue seems come from: https://github.com/Project-MONAI/MONAI/pull/5982/files#diff-21a423ef19c6d849ae136606e3094b09efefba90929e80e8c0abbc14b403fe88R312
now the new network contains preconv layer and old weights do not have.

Hi @yiheng-wang-nv ,
I have make a PR https://github.com/Project-MONAI/MONAI/pull/6209 to fix this problem and will update the bundle later.

/build

/build

/build

/build


Expand the README

The current readme file is sparse and forces users into the documentation for even the simplest use case.
This commit expands the readme with some of the basics from the documentation, providing a better first impression of the library and it's capabilities.

Thanks!

Thanks for the review! I'll probably make some changes later this evening.

Awesome, thanks!


Popover @click isn't triggered on IOS

Sadly it still seems broken on IOS and ipadOS devices.
Using @click or @mousedown both don't work with ios.
The popper closes before it triggers the @click or the @mousedown.
We tested it on 4 iphones and 1 ipad and it doesn't work on those devices, we tested safari and chrome.
It does work on MacOS, Windows, Linux and Android.

Any other people experiencing this? We can't get any clicks to work in our production environment with the latest versions.

Same here, inside a Tauri app no @click events are registered for any button, it just closes before triggering anything.
Do you have the v-close-popper directive on those buttons by any chance? It seems to be a change in the behaviour where it just closes and doesn't register any other click event at all.
The last version that works with the expected behaviour for me is 5.0.3.

Yes i do use the v-close-popper directive on the buttons.

@Akryum Same problem for me v5.2.2. It works on desktop and android, but not on iphone and ipad.
<template>

  <VDropdown>

      More

    <template #popper>

           View file

    </template>
  </VDropdown>

</template>

It does work when i replace
@click="doSomething();" v-close-popper>
with
@click="doSomething(); $refs.MyDropdown.hide()">

Hi!
We've encountered the same bug with iOS and wanted to confirm that we're experiencing this issue as well. It's blocking every click. Any insights or updates on a potential fix would be greatly appreciated.
Thanks for your efforts on this,

Experiencing the same issue.
Currently using the hide slot prop as a workaround:
https://floating-vue.starpad.dev/guide/component#hide-from-slot

Any updates on this issue?
Willing to give a shot at contributing a fix if I could get a pointer where I could start looking (so it's not a needle in a haystack type of situation).

Any updates on this issue? Willing to give a shot at contributing a fix if I could get a pointer where I could start looking (so it's not a needle in a haystack type of situation).

From the quick look that i had at the code it has to do with the ontouch that is used on mobile in the v-close-popper.ts.
The ontouch seems to be triggered before the onclick. Maybe manually trigging the contents of the onclick attribute on mobile/ios is an option? Or just using the onclick on IOS but i am guessing that there is prob a reason that hasn't been done.
I don't know how to build a package maybe you know how to 🤷🏻♂ and can try.

We're experiencing the same thing. Why isn't anything done regarding this issue?

+1


Critical error on Linux desktop: assertion 'lookup_hash_table(self->pressing_records, physical_key) != 0' failed

Steps to reproduce

Run the code in debug mode on Linux.
Input, paste, delete some text from the text box. I'm not quite clear what actions triggerred the errors but it's fairly easy to trigger. One sequence that consistently triggers the error is: paste some text using ctrl-V -> delete any character from the end using backspace.

Expected results
No error.
Actual results
Tons of errors:
** (text_field_test:353067): CRITICAL **: 14:40:20.078: void update_pressing_state(FlKeyEmbedderResponder *, uint64_t, uint64_t): assertion 'lookup_hash_table(self->pressing_records, physical_key) != 0' failed

And if I ignore the error, the text box acts wierdly. It feels like ctrl key is being hold. For example, if I press a, it will select all the text. If I press backspace, it will delete a whole word.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MainScreen(),
    );
  }
}

class MainScreen extends StatelessWidget {
  const MainScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Test'),
      ),
      body: const Row(
        children: [
          Expanded(
            child: TextField(),
          ),
        ],
      ),
    );
  }
}

Screenshots or Video
Screencast_20240616_143424.webm
Logs
Output of flutter --verbose run -d Linux:
flutter_run_log.txt
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.0, on Arch Linux 6.9.4-arch1-1, locale en_US.UTF-8)
    • Flutter version 3.22.0 on channel stable at /home/cuihao/opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (5 weeks ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/cuihao/opt/Android-Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /home/cuihao/opt/Android-Sdk
    • Java binary at: /opt/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 17.0.6
    • cmake version 3.29.5
    • ninja version 1.12.1
    • pkg-config version 2.1.1

[✓] Android Studio (version 2023.3)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Arch Linux 6.9.4-arch1-1
    • Chrome (web)    • chrome • web-javascript • Google Chrome 126.0.6478.61

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @cuihaoleo
I'm using wayland on Ubuntu distro. I ran Flutter app with X11 as above but couldn't reproduce this issue. Maybe this only occurs on Arch?
Can you run with verbose (flutter run -v) and share the entire error trace? Please also try on the latest Flutter stable and master version to see if the issue persists or not. Thanks!

I tried both Flutter 3.22.2 and master. There is no difference.
It could be KDE or Wayland-specific, but I don't think Arch is special in any way.
With Flutter 3.22.2
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.2, on Arch Linux 6.9.4-arch1-1, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.3)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Log of running flutter run -v -d linux > flutter_run.log: flutter_run.log
With master version
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.23.0-13.0.pre.262, on Arch Linux 6.9.4-arch1-1, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.3)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Log: flutter_run_master.log

Thanks for the update. I excerpt the main stack trace from your log file here so others can quickly look into:
[+2964 ms] ** (simple_llm_gui:736813): CRITICAL **: 22:22:19.254: void update_pressing_state(FlKeyEmbedderResponder *, uint64_t, uint64_t): assertion 'lookup_hash_table(self->pressing_records, physical_key) != 0' failed
[        ] [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 1073 pos 16: 'data.physical != 0 && data.logical != 0': is not true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:50:61)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
[        ] #2      KeyEventManager.handleKeyData (package:flutter/src/services/hardware_keyboard.dart:1073:16)
[        ] #3      PlatformDispatcher._keyDataListener.<anonymous closure>.<anonymous closure> (dart:ui/platform_dispatcher.dart:510:41)
[        ] #4      _invoke1 (dart:ui/hooks.dart:328:13)
[        ] #5      PlatformDispatcher._keyDataListener.<anonymous closure> (dart:ui/platform_dispatcher.dart:508:7)
[        ] #6      _invoke2 (dart:ui/hooks.dart:344:13)
[        ] #7      _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5)
[        ] #8      _Channel.push (dart:ui/channel_buffers.dart:135:31)
[        ] #9      ChannelBuffers.push (dart:ui/channel_buffers.dart:343:17)
[        ] #10     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:750:22)
[        ] #11     _dispatchPlatformMessage (dart:ui/hooks.dart:257:31)

Hi @cuihaoleo I'm using wayland on Ubuntu distro. I ran Flutter app with X11 as above but couldn't reproduce this issue. Maybe this only occurs on Arch?
Can you run with verbose (flutter run -v) and share the entire error trace? Please also try on the latest Flutter stable and master version to see if the issue persists or not. Thanks!

Happening to me on Ubuntu 23.10 too, so probably not an Arch issue

I am having this same error. I am developing on Ubuntu 23.10 over ssh with X11 forwarding.  I am using android studio.  I can trigger it by left clicking in the terminal pane, either debugging or just running makes no difference.
** (gv:526595): CRITICAL **: 20:42:03.795: void update_pressing_state(FlKeyEmbedderResponder *, uint64_t, uint64_t): assertion 'lookup_hash_table(self->pressing_records, physical_key) != 0' failed
[👾] [zone]: Uncaught exception
'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 1074 pos 16: 'data.physical != 0 && data.logical != 0': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      KeyEventManager.handleKeyData (package:flutter/src/services/hardware_keyboard.dart:1074:16)
#3      PlatformDispatcher._keyDataListener.<anonymous closure>.<anonymous closure> (dart:ui/platform_dispatcher.dart:510:41)
#4      _invoke1 (dart:ui/hooks.dart:328:13)
#5      PlatformDispatcher._keyDataListener.<anonymous closure> (dart:ui/platform_dispatcher.dart:508:7)
#6      _invoke2.<anonymous closure> (dart:ui/hooks.dart:347:15)
#7      _rootRun (dart:async/zone.dart:1399:13)

** (gv:526595): WARNING **: 20:42:03.845: Unable to retrieve framework response: Message is not valid JSON
[log] Attempted to send a key down event when no keys are in keysPressed. This state can occur if the key event being sent doesn't properly set its modifier flags. This was the event: RawKeyDownEvent#b1f59(logicalKey: LogicalKeyboardKey#3b7a5(keyId: "0x1500000000", keyLabel: "", debugName: "Key with ID 0x01500000000"), physicalKey: PhysicalKeyboardKey#5b142(usbHidUsage: "0x00070053", debugName: "Num Lock"), repeat: false) and its data: RawKeyEventDataLinux#d809f(toolkit: GTK, unicodeScalarValues: 0, scanCode: 77, keyCode: 0, modifiers: 0, isDown: true)
'package:flutter/src/services/raw_keyboard.dart':
Failed assertion: line 862 pos 7: 'event is! RawKeyDownEvent || _keysPressed.isNotEmpty'
      #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
      #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
      #2      RawKeyboard.handleRawKeyEvent (package:flutter/src/services/raw_keyboard.dart:862:7)
      #3      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:1161:30)
      #4      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:235:49)
      #5      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:581:35)
      #6      _invoke2.<anonymous closure> (dart:ui/hooks.dart:347:15)
      #7      _rootRun (dart:async/zone.dart:1399:13)
      #8      _CustomZone.run (dart:async/zone.dart:1301:19)
      #9      _CustomZone.runGuarded (dart:async/zone.dart:1209:7)
      #10     _invoke2 (dart:ui/hooks.dart:346:10)
      #11     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:45:5)
      #12     _Channel.push (dart:ui/channel_buffers.dart:135:31)
      #13     ChannelBuffers.push (dart:ui/channel_buffers.dart:343:17)
      #14     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:750:22)
      #15     _dispatchPlatformMessage (dart:ui/hooks.dart:257:31)

CC @dkwingsmt in case you have any idea as it relates to keyboard input.


eth scripts: investigate possibility to skip unnecessary steps

So that we have a working incremental build process, you mean?

I mean that I'm not sure all components that are being built are actually useful to us, and considering how long the process takes, it may be worth looking into configuring that ct-ng build to remove unnecessary phases (if there are indeed any)

Right - so getting a better understanding of the COMPONENTS within eth, so that we can build a minimal executable?    And looking at the ct-ng build process.     There are some unconditional WGET calls within the eth build process too, I think, right?   Like Boost.

yes, exactly, i'm sure we download and/or build a lot of bits that aren't needed at all. i just hope it's flexible enough to let you configure what you want specifically!


Better Error messages

Build better error messages to clarify the reason of an invalid GlanceAPI. Update functional tests and clean up some code.
Jira: https://issues.redhat.com/browse/OSPRH-11209

/cherry-pick 18.0-fr1


Implement validation checks

nickname validation

[ ] check the duplicate nickname

birthday validation

[ ] check the year of birthday if it's under 1900

https://kibua20.tistory.com/236


Unhandled Rejection (Error): No backend found in registry in a React App

Hi,
System Specifications:

Fedora 32
React JS
npm
Tensorflow-mobilenet

Behavior:
This basic React App using mobilenet from @tensorflow-models was working fine a few months ago. Now I am getting Unhandled Rejection error.
import * as mobilenet from '@tensorflow-models/mobilenet';
import photo from './assets/file.jpg';
import { loadImage } from 'canvas';
import React, { useState } from 'react';

const App = () => {
	const [res, handleRes] = useState([]);
	const myPhoto = () => {
		return ;
	};
	const myPrediction = async () => {
		const loadModel = await mobilenet.load();
		const pic = await loadImage(photo);
		const pred = await loadModel.classify(pic);
		console.log(pred);
		handleRes(pred);
	};

	return (

			{myPhoto()}
			<button onClick={(e) => myPrediction(e)}>Predict</button>
			{res.map((e, k) => (

{e.className + ': ' + Math.round(e.probability * 100) + '%'}

			))}

	);
};

export default App;

This basic example should make a prediction on the uploaded image.
I made a post here https://programandoconro.wordpress.com/2019/12/30/react-app-para-clasificacion-de-imagenes-con-machine-learning/
Full App code is here https://github.com/programandoconro/Image-Classification-ML-App (not working either).

Fortunately,  deployed App still working  https://programandoconro.github.io/Image-Classification-ML-App/
Sample image attached.
Thank you,

@programandoconro Please post this issue in tensorflow/tfjs as this issue is apt to that repo. Thanks!

@gowthamkpr Thank you, I will.


VS 2019 checks for UWP and 32 bit

https://github.com/Microsoft/vcpkg/commit/74e0c1a7849a898ddd5bd6863bf191dc2a60ddef
The commit above added checks explicitly disallowing VS 2019 for UWP and 32 bit. This was causing an issue, because my setup only has VS 2019, and VS 2019 does not give an option for installing the v141 UWP toolset anymore, only the standard v141 toolset. With the release of VS 2019 and cmake 3.14, this does not seem to be an issue anymore. I don't know the exact reason this was added, but maybe it should be removed.
@ras0219-msft you committed the original change, so maybe you have more info.

@ThadHouse, thanks for posting this issue!
This issue has fixed by PR https://github.com/microsoft/vcpkg/pull/6265


Modularises and tidies up run_tournament.py

Thought that might happen once #96 was merged. I'll fix it up

Don't merge this - I've made a mistake in understanding some of what #96 did

Should be good to go


Disable key path resilience for protocol extension properties.

Trying to use the resilient property descriptor causes a regression since we don't properly
open the existential beforehand (rdar://problem/48001932).
This could create an API evolution hazard for protocol extension properties that have private
setters; however, none of the standard library or overlays currently use private(set) with any
protocol extension members. Doing the right thing later will be ABI compatible with Swift 5.0
code that does the "wrong" thing with this change. This change now allows existing code to keep
working but doesn't stop us from fixing it properly later.

(test case forthcoming)

@swift-ci Please test

@swift-ci Please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - 16298572bde12eabf37f444ff2d22d131159f3ec

Build failed
Swift Test OS X Platform
Git Sha - 16298572bde12eabf37f444ff2d22d131159f3ec

We're going to hold off on this and try to fix it properly on master.


Is it "usable" now?

I just wanted to know if this project is at a usable state right now or if it is supposed to work at all.
I have just tried to test the ScrollingContainer with some texts on it and it is giving me some errors saying "updateTransform" is not a function.
On the other hand, what PIXI version am I supposed to use?
Thanks.

It is used in "tankwars.io", but no docs yet. If you paste your code or make a fiddle, @bQvle will help you :)

I've figured I had to create a Stage object and then get everything inside it (because the other components do not extend from PIXI itself).
That is raising some questions. I've got custom components that extend from PIXI.Container and other objects inside PIXI that I'd like to use inside the ScrollingContainer. Is is possible?
From what I've seen I think I can only use PIXI.UI own components inside it right?

Hi NoxWings
Yes you can use it, however its not versioned probably, and no deprication is made for changes. but there should be a working example of everything in the test folder, so you can check the sources of them, if anything breaks.
Every UIObject has a regular PIXI container you can add stuff to.
The point of UIObjects is that they get updated when the parent changes. so you can Anchor/Position stuff relative to its parent.
remember all positioning values can be specified in % and px
This is an example how you could add a regular object to an UIObject
var box = new PIXI.UI.Container("100%", 40);  //100% width of parent, height 40px
box.container.addChild(your_custom_object);

However for ScrollingContainers, you have to add stuff to innerContainer
var scrollBox = new PIXI.UI.ScrollingContainer({
      scrollY: true,
      width: "100%",
      height: "100%"
});
scrollBox.innerContainer.addChild(your_custom_object);

If you add stuff to the container at runtime, I think you need to combine it like this
var scrollBox = new PIXI.UI.ScrollingContainer({
      scrollY: true,
      width: "100%",
      height: "100%"
});

var box = new PIXI.UI.Container("100%", 40);  //Give it a size that fits your custom object
box.container.addChild(your_custom_object);

scrollBox.addChild(box);

this last example makes sure the the updates is triggered corretly when adding a child to the scrollingContainer.
Once again, feel free to use it, if you have any problems just reach out.

Thank you very much. I've got my project working with it now.


Build time outs not being reported correctly?

As part of dependency resolution backlog processing I came across a handful of builds that seem to be timing out: https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/307#issuecomment-933135111
These four builds are in a pending state until they are "garbage collected" and retried. I haven't tracked them for an extended period of time but there's a good chance they'll be tried over and over unless/until they land on a machine that manages to compile the job within the job time limit.
What's odd is that we should be reporting these builds back with this change from May: https://gitlab.com/finestructure/swiftpackageindex-builder/-/merge_requests/64

I see now what's happening here: these are downscaled builds:
https://gitlab.com/finestructure/swiftpackageindex-builder/-/jobs/1819159931

{
    "https://github.com/bersaelor/swiftybeagle.git": 0.0,
    "https://github.com/galtsoft/kitura-manager.git": 0.0,
    "https://github.com/j-nguyen/investinginmeapi.git": 0.0,
    "https://github.com/line/clova-cek-sdk-swift.git": 0.2,
    "https://github.com/mono0926/vapor-fcm.git": 0.0,
    "https://github.com/soto-project/soto.git": 0.2,
    "https://github.com/susandoggie/doggie.git": 0.4,
    "https://github.com/swift-aws/aws-sdk-swift.git": 0.2
}

We could report back the fact that they're being downscaled and then display that but then we'd also have to fiddle with the build selection, which I'd rather avoid, especially since is really just about the messaging.

I'm going to close this now as "working as intended". Just got to remember what's going on next time around :)


npm run ghpages and link in description

For people to try :)

I will, promised :)!
First gotta finish some things and have better examples.
Also I use the mergeTo feature in the master branch of A-Frame, have you got an idea when 0.3 will be officially released?


Problem with print a table generated with PHP

Thank you for submitting an issue to jsPDF. Please read carefully.
Are you using the latest version of jsPDF?
I use 1.3.2
Have you tried using jspdf.debug.js?
No
Steps to reproduce
Click in my button for print in PDF
What I saw
PDF with all columns
What I expected
PDF without the last 2 columns
Greetings developer friends, I am using jspdf to print a div that contains my table generated by PHP, I bring the table of a MySQL database, the point is that when I click on a button I generate a PDF with jspdf of the div that contains the table, the problem is that the div contains 2 columns that I do not want to be shown in the PDF, are EDIT and DELETE, how do I not be shown in the pdf?
https://i.imgur.com/TgP1IlW.jpg
Thanks.

Hey and thanks for posting this! This issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


Test binary for each development board rather than each processor

Currently when pyOCD finishes basic_test.py it will program a new image to flash.  Right now this image is determined by the processor type.  The problem I'm concerned with is that several development kits can have the same processor, but have pins routed to different hardware.  Because of this, an image that caused an led to blink on one device could sink current into a button an another. Would it be a change for the better to modify pyOCD to use a test binary for each development board rather than each processor?

board id to target defines targets (which is the board), kl25z is frdm-kl25z.
BOARD_ID_TO_TARGET = {
                "0200": "kl25z",

And the binary is chosen based on the target (each target has own specific number).
What do you propose? To update targets name to reflect the real names, kl25z -> frdm-kl25z ?

Right now several development boards used the same binary:
"1070" -> "nrf51822" -> l1_nrf51822.bin
"9009" -> "nrf51822" -> l1_nrf51822.bin
"9012" -> "nrf51822" -> l1_nrf51822.bin

It might make more sense to be structured like this:
"1070" -> "Nordic_nRF51-Dongle.bin"
"9009" -> "Nordic_nRF51-DK.bin"
"9012" -> "Seeed_Tiny_BLE.bin"

That way each board will have dedicated firmware for its hardware.  Even with this change the target and flash names would stay the same.  There would just be a dedicated binary for each board.

Done in #129


Getting error on clip_sample

Targeting a colab notebook for your code. First tried this colab that begins with:
"https://github.com/crowsonkb/v-diffusion-jax
Original Colab from BoneAmputee, edited by danielrussruss to allow for batch_size > 1, displaying and saving progress.
Update: Fixed a problem blocking ability to change prompt without re-running some additional cells."
and got this error: "RuntimeError: UNKNOWN: Failed to determine best cudnn convolution algorithm: UNKNOWN: GetConvolveAlgorithms failed."
Then, I went to your repository (this one), and just hand-crafted a colab notebook, but then it fails with the same error when I try to run clip_sample.
Any ideas? If you know of a working colab notebook, let me know. Running a v100

This is strange... I just tried running that (in this Colab) myself, and it is actually the line loading CLIP_JAX that's failing, not the diffusion code.
The CLIP_JAX repo hasn't updated for a while now, so this is making me wondering if some of the basic pre-loaded dependencies/environment on Colab have changed...

Fixed by installing a specific version of jax:
!pip install jax[cuda11_cudnn805] -f https://storage.googleapis.com/jax-releases/jax_releases.html
Source:
https://twitter.com/bartman081523/status/1463082222412607490

I can confirm that the new notebook works on a V100. Had an issue with an A100. I think we can close this unless there is an objection?


Quiz Export File Name

Is your feature request related to a problem?

During the process of exporting quizzes, I noticed that the json files always get named "quiz" and as a result, it gets hard to keep an overview. After exporting like 15 quizzes I had 15 files which were named "quiz (1)", "quiz (2)", ... And it's a lot of extra effort if you have to rename every exported file to match the wanted keywords.
Describe the solution you'd like

It would be awesome if there was a way to match the file name to the exercise name. I just tested it for quizzes, so f.e. a file would then not be just named "quiz" but rather "Quiz L01E01".
Describe alternatives you've considered

Additional context

Hello, I am new to this project, but I want to help so I want to ask if this issue is still available?


Node3D::set_position is broken

Godot version
v4.0.alpha.custom_build [307dfa9fe]
System information
Windows 10, Vulkan Clustered, nVidia RTX 2060 (512.15)
Issue description
Calling set_position on a node that inherits from Node3D has no effect. This manifests at runtime when called from GDScript and also in the editor: Trying to change a node's translation via the Inspector does not work, the node doesn't move and the translation's value field is not updated.
Bisection suggests that the problem was introduced with #62227.
Steps to reproduce

Open the attached project and try to set the cube's position via the inspector. Notice how it doesn't change.
Play the map via F6 and notice how the cube doesn't move either. It's supposed to move a little bit every frame.

Minimal reproduction project
set_position.zip

Thanks for finding and fixing this so quickly! Can confirm that 51c884f7acd276e86bb43a6f5856c3401c02adfe broke the Node3D::set/get_position(). It's pure chance that this even had an effect on me, since it's pretty much the only Node APIs I use in integration tests 😉


StackingClassifier

Hello!
When I try convert model on the base of sklearn.ensemble.StackingClassifier to pmml get following:
NotImplementedError: StackingClassifier is not Implemented!

Hi @krovyakov12 , Nyoka does not support StackingClassifer. So the error is NotImplementedError.

Thanks for answer.
Do you plan to support it in near future?
Or it's impossible?

It is quite possible. But there are some high priority tasks in the pipeline. Will consider it in future releases.


Viz: client-side JS for colormapping

A Jupyter widget which reads grayscale intensity image data and performs colormapping client-side (maybe as webgl shaders). This is also a way to get a similar effect as described in #59. Pro: more user control of dynamic color mapping, con does not generate a static file (PNG, or animated GIF).

How about a mouse/trackpad interface of up-down for z-indexing, and left-right for various smoothly transitioning colormaps.

The switching should be like a header image carousel. A horizontal row of dot/circles that has current image corresponding dot/circle highlighted. Happens on a timer. Transition: some sequential colormap interpolation.


Code Refactoring Idea -- NodeConfig/NodeDefinition/GenericContainer

Hi, I wanted to float a few ideas by you, to see if you're interested. Today, we have 3 types (NodeConfig/NodeDefinition/GenericContainer) representing a single object -- container. This means some values are copied between fields back and forth in different parts of the code and this leads to bugs and reduced readability. So I thought, wouldn't it be nice to have a single type, e.g. api.Container that would contain both configuration state (name, kind, image) as well as the operational state (runtime, containerID)?
As a side note, this is how all k8s APIs are designed -- with metadata fields (name, labels), spec fields containing configuration data and status fields containing any pertinent runtime information. There are projects like api-machinery that can automate a lot of work based on some input in the form of go structs shaped as your desired API object.  Using this approach we'd get additional benefits like:

Automatic schema file generation (openapi)
API versioning to avoid backwards-incompatible changes
Boilerplate client code to interact with API objects

wdyt?

I'd like to see this in action, if you can come up with a poc code?
on the naming side, would it make more sense to call it api.Node? As we will have non container nodes such as bridges, hosts, etc


New Account Creation

[x] Users can sign up, sign in, log out, log in using demo account
[x] Users can use the site without logging in, show login button
[x] Users can't use certain features without logging in (leaving a review)

Complete


Mantling is quite bugged upon using the ragdoll feature... It will normally proceed to shake the camera very fast and make the current held object to detatch from the hand. You can see this better when equipping the torch and reproducing this issue.

Fixed in df3b3cb8d9ea6d0c4c0443223a8a6e78cbea217c.


ARROW-12128: [CI][Crossbow] Remove test-ubuntu-16.04-cpp job

Ubuntu 16.04 is EOL in 2021-04.

@github-actions crossbow submit -g nightly


[ISSUE #8688] fix typo, release the write lock in forceUpload()

[ISSUE #8688] fix typo, release the write lock in forceUpload()

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.51%. Comparing base (5496807) to head (9707ad9).
Report is 6 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8689      +/-   ##
=============================================
+ Coverage      47.42%   47.51%   +0.08%
- Complexity     11514    11534      +20
=============================================
  Files           1277     1277
  Lines          89438    89449      +11
  Branches       11502    11504       +2
=============================================
+ Hits           42416    42498      +82
+ Misses         41812    41735      -77
- Partials        5210     5216       +6

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


Is there a Callback to authorize external web application?

Is there a Callback to authorize external web application?

Can you explain the use case?

Like Social Login that after login on their site return to the caller with token data to autheticate an external web application.


Need to handle corrupt .riv files from the web or from local resources

Currently, if the .riv file is missing from the resources or if the file https link doesn't exist, the app will crash.  We need to handle this situation.  The recommended way is to display something to indicate that fact instead of the current crash.
Here is an example that shouldn't crash, where fileNotHere.riv is not in the local resources, or https://linkIsNotValid.riv is not a valid link.
struct ContentView: View {

    var body: some View {
        HStack{
//            RiveViewModel(fileName: "fileNotHere").view()
            RiveViewModel(webURL: "https://linkIsNotValid.riv").view()
        }
    }
}

Hi there!
Having the same problem :) Sorry if I just missed something, but how from the app side I could handle this crash?
I attach our code below as an example. I would be happy to use a try-catch here, but it's not possible as there are no throwable functions from Rive in this case. So, Rive basically just crashes the app, and doesn't let us catch an exception and handle it in our code.
guard let riveFile = RiveFile(httpUrl: "https://invalidUrl.riv", loadCdn: true, with: delegate) else {
    return
}
let riveModel = RiveModel(riveFile: riveFile)
self.riveViewModel = RiveViewModel(riveModel) // crash happens here
self.riveViewModel?.setView(self.riveMediaView)

I see that there is this method in RiveFileDelegate:
/*
 * Delegate to inform when a rive file is loaded
 */
@protocol RiveFileDelegate <NSObject>
- (BOOL)riveFileDidLoad:(RiveFile*)riveFile error:(NSError**)error;
@end

And when implementing this protocol method in Swift, it looks like this:
func riveFileDidLoad(_ riveFile: RiveFile) throws {

}

So, on our side we can throw an error, but we still unable to catch any errors from Rive itself, it just crashes.
Could you help us a bit with this please? Maybe, I just don't see something here :)


Add latest changes for kruize object and API's

@dinogun Here are the updates made to the API's Create Experiment, Update Results, List Recommendations. Please lemme know if any other changes needed.
Create Experiment:
API Path
http://<IP_ADDRESS>:30960/createExperiment
Request:
[
    {
  "version": "1.0",
  "experiment_name": "quarkus-resteasy-autotune-min-http-response-time-db",
  "cluster_name": "cluster-one-division-bell",
  "performance_profile": "resource-optimization-openshift",
  "mode": "monitor",
  "target_cluster": "remote",
  "kubernetes_objects": [
    {
      "type": "deployment",
      "name": "tfb-qrh-deployment",
      "namespace": "default",
      "containers": [
        {
          "container_image_name": "kruize/tfb-db:1.15",
          "container_name": "tfb-server-0"
        },
        {
          "container_image_name": "kruize/tfb-qrh:1.13.2.F_et17",
          "container_name": "tfb-server-1"
        }
      ]
    }
  ],
  "trial_settings": {
    "measurement_duration": "15min"
  },
  "recommendation_settings": {
    "threshold": "0.1"
  }
}
]

Response:
{
    "message": "Experiment registered successfully with Kruize. View registered experiments at /listExperiments",
    "httpcode": 201,
    "documentationLink": "",
    "status": "SUCCESS"
}

Update Results:
API Path
http://<IP_ADDRESS>:30960/updateResults
Request:
[
  {
    "version": "1.0",
    "experiment_name": "quarkus-resteasy-autotune-min-http-response-time-db",
    "start_timestamp": "2022-01-23T18:25:43.511Z",
    "end_timestamp": "2022-01-23T18:25:43.511Z",
    "kubernetes_objects": [
      {
        "type": "deployment",
        "name": "tfb-qrh-deployment",
        "namespace": "default",
        "containers": [
          {
            "container_image_name": "kruize/tfb-qrh:1.13.2.F_et17",
            "container_name": "tfb-server-0",
            "metrics": [
              {
                "name": "cpuRequest",
                "results": {
                  "value": 1.1,
                  "format": "cores",
                  "aggregation_info": {
                    "sum": 4.4,
                    "avg": 1.1,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "cpuLimit",
                "results": {
                  "value": 0.5,
                  "format": "cores",
                  "aggregation_info": {
                    "sum": 2.0,
                    "avg": 0.5,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "cpuUsage",
                "results": {
                  "value": 0.12,
                  "format": "cores",
                  "aggregation_info": {
                    "min": 0.14,
                    "max": 0.84,
                    "sum": 0.84,
                    "avg": 0.12,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "cpuThrottle",
                "results": {
                  "value": 0.045,
                  "format": "cores",
                  "aggregation_info": {
                    "sum": 0.19,
                    "max": 0.09,
                    "avg": 0.045,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "memoryRequest",
                "results": {
                  "value": 50.12,
                  "format": "MiB",
                  "aggregation_info": {
                    "sum": 250.85,
                    "avg": 50.21,
                    "format": "MiB"
                  }
                }
              },
              {
                "name": "memoryLimit",
                "results": {
                  "value": 100,
                  "format": "MiB",
                  "aggregation_info": {
                    "sum": 500,
                    "avg": 100,
                    "format": "MiB"
                  }
                }
              },
              {
                "name": "memoryUsage",
                "results": {
                  "value": 40.1,
                  "format": "MiB",
                  "aggregation_info": {
                    "min": 50.6,
                    "max": 198.50,
                    "sum": 198.50,
                    "avg": 40.1,
                    "format": "MiB"
                  }
                }
              },
              {
                "name": "memoryRSS",
                "results": {
                  "aggregation_info": {
                    "min": 50.6,
                    "max": 123.6,
                    "sum": 123.6,
                    "avg": 31.91,
                    "format": "MiB"
                  }
                }
              }
            ]
          },
          {
            "container_image_name": "kruize/tfb-qrh:1.13.2.F_et17",
            "container_name": "tfb-server-1",
            "metrics": [
              {
                "name": "cpuRequest",
                "results": {
                  "value": 1.1,
                  "format": "cores",
                  "aggregation_info": {
                    "sum": 4.4,
                    "avg": 1.1,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "cpuLimit",
                "results": {
                  "value": 0.5,
                  "format": "cores",
                  "aggregation_info": {
                    "sum": 2.0,
                    "avg": 0.5,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "cpuUsage",
                "results": {
                  "value": 0.12,
                  "format": "cores",
                  "aggregation_info": {
                    "min": 0.14,
                    "max": 0.84,
                    "sum": 0.84,
                    "avg": 0.12,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "cpuThrottle",
                "results": {
                  "value": 0.045,
                  "format": "cores",
                  "aggregation_info": {
                    "sum": 0.19,
                    "max": 0.09,
                    "avg": 0.045,
                    "format": "cores"
                  }
                }
              },
              {
                "name": "memoryRequest",
                "results": {
                  "value": 50.12,
                  "format": "MiB",
                  "aggregation_info": {
                    "sum": 250.85,
                    "avg": 50.21,
                    "format": "MiB"
                  }
                }
              },
              {
                "name": "memoryLimit",
                "results": {
                  "value": 100,
                  "format": "MiB",
                  "aggregation_info": {
                    "sum": 500,
                    "avg": 100,
                    "format": "MiB"
                  }
                }
              },
              {
                "name": "memoryUsage",
                "results": {
                  "value": 40.1,
                  "format": "MiB",
                  "aggregation_info": {
                    "min": 50.6,
                    "max": 198.50,
                    "sum": 198.50,
                    "avg": 40.1,
                    "format": "MiB"
                  }
                }
              },
              {
                "name": "memoryRSS",
                "results": {
                  "aggregation_info": {
                    "min": 50.6,
                    "max": 123.6,
                    "sum": 123.6,
                    "avg": 31.91,
                    "format": "MiB"
                  }
                }
              }
            ]
          }
        ]
      }
    ]
  }
]

Response:
{
    "message": "Results added successfully! View saved results at /listExperiments.",
    "httpcode": 201,
    "documentationLink": "",
    "status": "SUCCESS"
}

List Recommendation
API Path:
http://<IP_ADDRESS>:30960/listRecommendations
Response:
[
    {
        "kubernetes_objects": [
            {
                "type": "deployment",
                "name": "tfb-qrh-deployment",
                "namespace": "default",
                "containers": [
                    {
                        "container_image_name": "kruize/tfb-qrh:1.13.2.F_et17",
                        "container_name": "tfb-server-1",
                        "recommendation": {
                            "2022-01-23T18:25:43.511Z": {
                                "Short Term": {
                                    "monitoringStartTime": "2022-01-22T18:25:43.511Z",
                                    "monitoringEndTime": "2022-01-23T18:25:43.511Z",
                                    "duration_in_hours": 0.0,
                                    "podsCount": 0,
                                    "confidence_level": 0.0,
                                    "config": {
                                        "max": {
                                            "memory": {
                                                "amount":<PHONE_NUMBER>234414,
                                                "format": ""
                                            },
                                            "cpu": {
                                                "amount": 6.51,
                                                "format": ""
                                            }
                                        },
                                        "capacity": {
                                            "memory": {
                                                "amount": 123.6,
                                                "format": ""
                                            },
                                            "cpu": {
                                                "amount": 1.03,
                                                "format": ""
                                            }
                                        }
                                    }
                                },
                                "Middle Term": {
                                    "podsCount": 0,
                                    "confidence_level": 0.0,
                                    "errorMessage": "There is not enough data available to generate a recommendation."
                                },
                                "Long Term": {
                                    "podsCount": 0,
                                    "confidence_level": 0.0,
                                    "errorMessage": "There is not enough data available to generate a recommendation."
                                }
                            }
                        }
                    },
                    {
                        "container_image_name": "kruize/tfb-db:1.15",
                        "container_name": "tfb-server-0",
                        "recommendation": {
                            "2022-01-23T18:25:43.511Z": {
                                "Short Term": {
                                    "monitoringStartTime": "2022-01-22T18:25:43.511Z",
                                    "monitoringEndTime": "2022-01-23T18:25:43.511Z",
                                    "duration_in_hours": 0.0,
                                    "podsCount": 0,
                                    "confidence_level": 0.0,
                                    "config": {
                                        "max": {
                                            "memory": {
                                                "amount":<PHONE_NUMBER>234414,
                                                "format": ""
                                            },
                                            "cpu": {
                                                "amount": 6.51,
                                                "format": ""
                                            }
                                        },
                                        "capacity": {
                                            "memory": {
                                                "amount": 123.6,
                                                "format": ""
                                            },
                                            "cpu": {
                                                "amount": 1.03,
                                                "format": ""
                                            }
                                        }
                                    }
                                },
                                "Middle Term": {
                                    "podsCount": 0,
                                    "confidence_level": 0.0,
                                    "errorMessage": "There is not enough data available to generate a recommendation."
                                },
                                "Long Term": {
                                    "podsCount": 0,
                                    "confidence_level": 0.0,
                                    "errorMessage": "There is not enough data available to generate a recommendation."
                                }
                            }
                        }
                    }
                ]
            }
        ],
        "version": "1.0",
        "experiment_name": "quarkus-resteasy-autotune-min-http-response-time-db"
    }
]

@bharathappali looks like the API.md changes are still pending.

@dinogun Oh yes I need to add them, I'm making changes for the snake_case will be adding doc changes along with that.

@dinogun Thanks for the reviews, I have made changes to convert the JSON keys to snake_case and have added the documentation for the API's. Please lemme know if any other changes needed.
Thanks in advance!

Kruize demo log with these changes
demo_log.txt

@bharathappali The API.md changes need to be done in MonitoringModeAPI.md

@dinogun Thanks for pointing it out, I was in a different impression earlier about the doc. I have reverted my earlier doc changes and added the changes to MonitoringModeAPI.md. The PR can be reviewed now.

The build error seems to be a rate limiting issue on dockerhub. Will merge as the previous build succeeded and the subsequent changes are only doc related ones


Please make all the text fields on the entire screen copyable

Currently only the area intended for "send edited intent" is copyable via the cursor.
But there is much more above and below that one might wish to copy.
Please make all the text fields on the entire screen copyable.

@jidanni 2.2.4 allows more text to be selected. Let me know if it doesn't help.


Error(s) in loading state_dict for VoxelNet

Thank you for your wonderful contribution!
When running single_inference_ros.py , line 93, I get the following error. Tried pre-trained weights from model zoo(VoxelNet) for nuscenes
`Error(s) in loading state_dict for VoxelNet:
size mismatch for backbone.conv_input.0.weight: copying a param with shape torch.Size([3, 3, 3, 5, 16]) from checkpoint, the shape in current model is torch.Size([16, 3, 3, 3, 5]).

size mismatch for backbone.conv1.0.conv1.weight: copying a param with shape torch.Size([3, 3, 3, 16, 16]) from checkpoint, the shape in current model is torch.Size([16, 3, 3, 3, 16]).

size mismatch for backbone.conv1.0.conv2.weight: copying a param with shape torch.Size([3, 3, 3, 16, 16]) from checkpoint, the shape in current model is torch.Size([16, 3, 3, 3, 16]).

size mismatch for backbone.conv1.1.conv1.weight: copying a param with shape torch.Size([3, 3, 3, 16, 16]) from checkpoint, the shape in current model is torch.Size([16, 3, 3, 3, 16]).

size mismatch for backbone.conv1.1.conv2.weight: copying a param with shape torch.Size([3, 3, 3, 16, 16]) from checkpoint, the shape in current model is torch.Size([16, 3, 3, 3, 16]).

size mismatch for backbone.conv2.0.weight: copying a param with shape torch.Size([3, 3, 3, 16, 32]) from checkpoint, the shape in current model is torch.Size([32, 3, 3, 3, 16]).

...`

Further info: Installed using standard instructions, using pytorch 1.8.1+cu11, spconv-cu111
Any advice?

it should work now https://github.com/tianweiy/CenterPoint/commit/8fcdc944bbb455bd25943b331aaf961aa0ab32cd
just pull the code again

Thanks for your quick reply! I can confirm this works. In order to load the model, for eg. in single_inference_ros.py, line 90, one can:
change
self.net.load_state_dict(torch.load(self.model_path)["state_dict"])
to
state_dict = torch.load(self.model_path)["state_dict"]
torchie.load_state_dict(self.net, state_dict)


[config.toml] Add non-interactive cli tool to generate config.toml

CC: @LGACode
I'm marking this as planned, but I'm not committing to a design for it yet

Perhaps there can be an alternative "lite" install path that makes a few assumptions and asks for only the most essential info to be able to successfully generate the config

FWIW, currently a lack of config.toml already does the "quick" behavior. assumptions are made for

Current working directory as data safe
What extensions to include (IIRC, all of them, though subject to change)

alternative handling for this will come in a different form later.


List all granted permissions for a User or Group

It is pretty hard to find this out currently

relates to #3576

#1000 > #3576


Storage Chest low fps/crash

REFramework causes very low fps and game crash in buy/sell and storage chest menu for me

Closed due to insufficient information. Please re-read the issue template and/or the REFramework wiki for required information and files to upload.
https://cursey.github.io/reframework-book/#reporting-a-bug
https://github.com/praydog/REFramework/blob/master/.github/ISSUE_TEMPLATE/bug_report.md


fix: allow 'application/json;charset=UTF-8'

This is a regression - charset was allowed in versions prior to v0.2.50

@brianwilkinson, out of curiosity, what is your setup that emits such content type (what kind/language/framework of client)?
Related to https://github.com/swaggest/rest/pull/158.

Hi @vearutop. We have a suite of integration tests written in groovy/java that have all started to fail because of this change. I have not yet discovered if it is also a problem for our go client applications.

Thank you for details. 👍

The fix tagged with v0.2.51.


Release version 0.0.3

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (e3ea9bd) compared to base (0a631af).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #51   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          346       346
  Branches        97        97
=========================================
  Hits           346       346

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Bring loggables up to date with go-ipfs

As of ipfs/go-ipfs@a2bba21

Getting the actual commit in from go-ipfs was a bit painful for such a small change on this so I went ahead and simply re-committed the change. I hope this is ok. If not please let me know and I'll try to make it right.

LGTM, thanks!


ecommerce-clothes-themes

Description
eCommerce-clothes-themes with html and CSS
issue no: #424

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have performed a self-review of my own code

Mention Your issue no Please

I have updated the readme file. I asked you in issue no: #424 about adding html-css templates for hacktoberfest. please assign it, it's my first year as hacktoberfest. I thought you'll take a longer time to assign it because you're only a maintainer so I did pull request. hope you understood


C_CPP: Input and Output Operators

I want to contribute on the following using video:

Input and Output Operators in C

/assign


[FEATURE] Containerization

Description
Containerized the application into portable software so as to run on various systems.
Screenshots
No response
Additional information
No response

I would love to be assigned to this

It has been assigned to you! Thanks for your interest in open source

Yes, i amOn 17 Oct 2023, at 2:38 PM, Ilyas Rufai @.***> wrote:
@Zeighnab are you still interested in working on this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Okay, will be expecting your update before the end of the month


Search page showing 'search results' posts.

This is on the demo site. When searching for a word that is contained in the default 'search results' page, all the search result pages of all languages come up

I can confirm the issue.

Just realised i put this in the wrong repo, meant to put it in the main one that hosts the theme itself, sorry!

@hng12 It should be fixed by https://github.com/hugo-toha/toha/pull/690. Please upgrade your theme to latest commit and check if the issue still persist.


Add debug option for checking ci build

What type of PR is this?
(test)
What this PR does / why we need it?
Add debug option for checking CI build

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.48%. Comparing base (f025f29) to head (7ec376a).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   72.48%   72.48%
=======================================
  Files          19       19
  Lines        1185     1185
=======================================
  Hits          859      859
  Misses        251      251
  Partials       75       75

We've found the issue is related to Deprecated Engine Features
Trying to use podman in CI to build he operator as a workaround
More discussion in slack thread here


fix: rich text editor img bug

fix: https://github.com/casbin/casbin-forum/issues/170

Deployed at: https://forum-hk.chromium.link/

lgtm


Unable to fetch organization

When running the clone-organization program, I get the following error:
./clone-organization login=llarco org=CSUF-CPSC-120-LW
GitHub password:
INFO:root:fetching organization org=CSUF-CPSC-120-LW
Traceback (most recent call last):
  File "./clone-organization", line 69, in <module>
    main()
  File "./clone-organization", line 25, in main
    org = the_github.get_organization(args.org)
  File "/usr/local/lib/python3.7/site-packages/github/MainClass.py", line 249, in get_organization
    "/orgs/" + login
  File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 260, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 271, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.UnknownObjectException: 404 {'message': 'Not Found', 'documentation_url': 'https://developer.github.com/v3/orgs/#get-an-organization'}

Looking at the code, it seems that line 25 calls the method get_organization() passing the organization name as a parameter. However, when looking at the documentation of get_organization(), I see that it expects a "login" string: https://pygithub.readthedocs.io/en/latest/github.html#github.MainClass.Github.get_organization
No idea what the "login" string is, but I guess passing the organization name (which I believe it's unique) doesn't work.
I tried calling get_user().get_orgs() and was able to retrieve some organizations, but only the id was populated, and not the name.

Closing the issue as the program is working as intended. I was not passing the arguments correctly.

OK, glad to hear it's working for you now. Do you think changing the documentation would make it clearer how to format the arguments?

Providing a sample way to run the command would be helpful. I was running it as ./clone-organization login=llarco org=CSUF-CPSC-120-LW which was setting login to "login=llarco" and org to "org=CSUF-CPSC-120-LW".

Added a usage example highlighting this issue to README.md in commit d62864802a4eb4df84fe830a4c5bbed450c01015 .


Loderunner checkov yaml fixes

Type of PR

[ ] Documentation changes
[x] Code changes
[ ] Test changes
[ ] CI-CD changes
[ ] GitHub Template changes

PR Checklist

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] My code follows the code style of this project.
[x] I ran lint checks locally prior to submission.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Purpose of PR

Fix checkov yaml issues in loderunner deployment template.

Does this introduce a breaking change

[ ] YES
[x] NO

Validation

[ ] Unit tests updated and ran successfully
[ ] Update documentation or issue referenced above

Issues Closed or Referenced

References https://github.com/retaildevcrews/wcnp/issues/637

We tested the access policy of emptyDir and found that its strictly tied to each pod instance.
See this description for details

I think the equivalent LR yaml file in the dev environment is: https://github.com/retaildevcrews/loderunner/blob/main/autogitops/dev/loderunner-commandmode.yaml


New dependency Architectury causes incompatibility with Voxelmap

After updating to the most recent version of Light Overlay and getting Architectury, my Voxelmap kept crashing on startup. It stopped crashing when reverting this mod to <5.6.x and deleting Architectury. I'm not sure what the root cause of why Architectury and Voxelmap are incompatible, but I'm reporting it to Architectury if an issue doesn't already exist.

https://github.com/architectury/architectury-api/issues/35

Not my problem, report to architectury


Remove the trailing space from 1st Lieutenant Farlow agent

Remove the trailing space from 1st Lieutenant Farlow agent

Thanks!


descriptor set management

shader reflected and  frequency based
bindless

ref:
https://ruby0x1.github.io/machinery_blog_archive/post/vulkan-descriptor-sets-management/index.html
https://ruby0x1.github.io/machinery_blog_archive/post/efficient-binding-of-shader-resources/
https://github.com/Themaister/Granite-MicroSamples/blob/master/05_descriptor_sets_and_binding_model.cpp

https://zeux.io/2020/02/27/writing-an-efficient-vulkan-renderer/

TODO:
one descriptor pool for all descriptorsets, created using descriptorsetlayout, free descriptorset once per frame

a nice blog for descriptorset/pipelinelayout settings.
http://themaister.net/blog/2019/04/20/a-tour-of-granites-vulkan-backend-part-3/

TODO: also we need to consider about resource binding model of HLSL
https://themaister.net/blog/2021/11/07/my-personal-hell-of-translating-dxil-to-spir-v-part-3/

vulkan part is done

Update:
we temporaryimplemented a shader reflected from descriptorset layout/ pipeline layout mechanism, furthur we will have a better solution which, generate layout description directly from .hsl file instead of runtime reflection
the left thing is descriptor pool and descriptor set.
TODO:
we need to consider about resource binding model of HLSL


Refactor Authentication in IRS

As PO,
I want to change the authentication of the IRS,
so that it is more efficient to integrate the service.
Hints / Details

child of eclipse-tractusx/sig-release#218
Add information to connect to own idp service within the deployment context
Change from client_id client_secret to api key authentication
think about the two users within the IRS (user, admin)
https://miro.com/app/board/uXjVOGBahIA=/?moveToWidget=3458764569152538759&cot=14
OAuth2 option is explained where to change code of the application. Keep as much usable Code for OAuth2 as possible.
If anyone wants to use OAuth2 then they will have to adapt that in the code base for their deployment. It is not being shipped in an IRS chart

Outcome / Acceptance Criteria

Outcome

Documentation has been changed -> https://catenax-ng.github.io/tx-item-relationship-service/docs/arc42/full.html#_safety_and_security_concepts
hint was added what is necessary to do if IRS runs in a standalone company context!
Check and refactor documentation if roles and rights reflect the current situation

Acceptance Criteria

[ ] Auth process has been changed to API_Keys (Different API Keys for different roles)
[ ] IRS has APIKeys enabled per default
[ ] IRS OAuth2 Authentication is not able to be used via configuration
[ ] IRS OAuth2  linked to a tag where OAuth2 is integrated into the documentation.
[ ] Documentation is updated accordingly
[ ] two roles, two token

Out of Scope

...

Blocked by Meeting, of which we need input on how to change this.

As described in the Acceptance Criteria

Update after several tryouts and retests: Change to API-Keys is working fine on IRS, all requests can be sent out and either tavern- and cucumber-tests can be run as expected.
Currently ESS-INT has authentication issues, this is investigated by @ds-ext-kmassalski. Test ongoing.

Update: After the INT_ADMIN_USER secrets were updated with correct values in #397 all tests could be run as without authentication errors.
Documentation has been updated.


Subscription to websocket seems to be broken.

i followed the example, but I am getting AttributeError: 'KSTradeApi' object has no attribute 'subscribe'
pls help!

I was also getting same error, when I updated the API using the link given on the documentation, it worked for me.

Admins, pls let us know any alternative way to get ltps of multiple instruments in a single go.

@jayaprakashv2005
for websocket, please update to the latest version of the repository and let me know if the issue persists.
for quotes. you can pass multiple instrument tokens by passing them as a string separated by a hyphen.
for example, if you want quotes for token 727 and 1250 you will write:
client.quote(instrument_token="727-1250")


[WIP-DNM]*(ticdc): ticdc decouple from pd

etcd key add cluster id and namespace

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

Codecov Report

Merging #5475 (2ac8fb9) into master (7a80b61) will increase coverage by 0.2554%.
The diff coverage is 58.4541%.

Flag
Coverage Δ

cdc
61.5279% <55.6923%> (+0.5637%)
:arrow_up:

dm
51.9807% <68.5393%> (+0.0204%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #5475        +/-   ##
================================================
+ Coverage   55.9233%   56.1787%   +0.2553%
================================================
  Files           528        530         +2
  Lines         69935      69925        -10
================================================
+ Hits          39110      39283       +173
+ Misses        27100      26877       -223
- Partials       3725       3765        +40

/run-all-tests

/run-all-tests

/run-verify-test

/run-all-tests

/run-leak-test

/run-all-tests

/run-all-tests

/run-verify-test
/run-dm-integration-test

/run-dm-integration-test

/run-all-tests

/run-all-tests

merged into https://github.com/pingcap/tiflow/pull/5664


Game crashes when trying to access the first door

Version
3.1.1 (1e8850a)
Seed
R730-6M8H-ZNHH0HMZCP000QJZZZZZZZZZZZZZZZZZZZZZZZZZZZ
Scenario
RE 1 (Chris)
Player Character
Carlos (RE3)
What happened?
The game crashes when trying to access the first door (101 to 501). Weapon equipped or not doesn't matter in this scenario.

I wasn't able to reproduce this:


Black screen when locking windows

Hi,
When attempting to lock windows (Windows key + L), I lose my graphics (black screen, I guess I lose my openGL/DX context or something upon locking or unlocking).
If it can help : If I open the game and wait to see the menu, Windows+L, unlock, I see for 1 frame what seems to be the current image.
Also, I know that some tools/games have similar problem. For instance Unity had crashes in similar scenarios.

Hi there,
which Version of Windows are you on and which GPU are you using?
Regards
Gimp
Am 04.04.2016 5:31 vorm. schrieb "Dude McDude"<EMAIL_ADDRESS>
Assigned #215 https://github.com/GrognardsFromHell/TemplePlus/issues/215
to @shartte https://github.com/shartte.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GrognardsFromHell/TemplePlus/issues/215#event-613020636

I'm getting it too actually, win7 geforce 540M here. I remember you did a device loss handling, I guess it doesn't reset correctly?

My bad... Win7 & AMD Radeon R9 200 Series


[BACK-683] Dedupe recs

Goal
Deduplicate recommendations across slates in a lineup. If a recommendation occurs more than once, it's removed from all but the first slate.
Reference
Tickets:

https://getpocket.atlassian.net/browse/BACK-683

Implementation Decisions

test_slate_lineup_model is almost at a point where a fixture library would be convenient, but I think it's still manageable for now.

Oh dingdangit, hold on


[WIP] Enhanced GraphQL parsing of OpenAPI component paths

Enhanced the GraphQL schema generator to support other than the {id} references in the paths, namely {anything_id} with a more flexible {[[a-z]*_]*id} match

/cc @bzwei @mkanoor
Bill, I think this was inhibiting the catalog and approval api's graphql schema to follow associations since components paths are there like /portfolios/{portfolio_id}/portfolio_items, so the original path checks of {id} were not matching.  Can you try this with your API and let me know if it now allows you to traverse associations with GraphiQL.   I'll unwip if it works for you.

@abellotti how do I use this? For example
  "query": "{workflows(id: 1) { name template_id }}"

works, but
  "query": "{workflows(id: 1) { name template }}"

still fails with error "Field 'template' doesn't exist on type 'Workflow'"

Hi @bzwei, I don't see template as an attribute or templates exposed as subcollection of workflows, just template_id which is listed in WorkFlowOut, that explains what you noticed.
In approval-api openapi, you have:
  "/workflows":
  "/workflows/{id}":
  "/workflows/{workflow_id}/requests":

So with GraphiQL, you should be able to see the requests association for your app,
so something like the following should work:
{
  workflows(id: 1) {
    name
    template_id
    requests {
      id
      name
      state
   }
 }
}

If the above works for you, that means this PR is working (ability to now traverse to the requests association as declared via the /workflows/{workflow_id}/requests component path in the OpenAPI spec.

@abellotti Yes. It works as you described. So we can only include subcollections but not expand belong_to association, right?

correct, associations as declared by the OpenAPI spec.