cli: --master in addition to --grid

CLI should support global --master to issue commands to specific a --master and --grid without changing the global current master.  setting KONTENA_MASTER_URL is not enough, because then it requires KONTENA_TOKEN and KONTENA_GRID as well. This option would allow user to use the user token without generating a new token.
or then --grid should be taken away.

This was done in #1911 - more specifically at https://github.com/kontena/kontena/pull/1911/files#diff-44c1ed8cab181c9aef6ab291d4b68ad9R19

I think you can currently already use KONTENA_MASTER=master_name env.

nope? then it will also start using the other envs

https://github.com/kontena/kontena/blob/master/cli/lib/kontena/cli/config.rb#L105
    load_settings_from_env || load_settings_from_config_file

      # Craft a regular looking configuration based on ENV variables
      def load_settings_from_env
        return nil unless ENV['KONTENA_URL']

      # Load configuration from default location ($HOME/.kontena_client.json)
      def load_settings_from_config_file
         ...
        self.current_server = ENV['KONTENA_MASTER'] || settings['current_server']

yes this works, but imho docs are confusing or don't indicate how the env's are exclusive

--master would be intuitive when --grid is there. I'm serious about removing --grid if --master is not implemented.

Why not use --platform that comes via cloud plugin?

If using the cloud is not an option (local testing etc..) then maybe we should extend --grid to accept more specific format:
--grid <master_name>/<grid_name>
(I hate adding new global options)


Reduce docker image size

At the moment etolbakov/excalidocker image is 115.55 Mb. Image size optimizations are required.

Partially addressed in https://github.com/etolbakov/excalidocker-rs/pull/11 (reduced size to 77.79 MB) but maybe it can be done even better

There were a couple of experiments done.

cross has been used to produce cross-platform artifact.
-FROM scratch was working but due to the command line parameters (sh) I had to give up that idea

CMD ["sh", "-c", "excalidocker --input-path ${INPUT_PATH} ${SKIP_DEPS:+ --skip-dependencies} --config-path ${CONFIG_PATH:-/excalidocker/bin/excalidocker-config.yaml}"]

FROM FROM alpine:3.18.2 has sh so it was decided to go with it.

The change exists in the https://github.com/etolbakov/excalidocker-rs/pull/30 pr;
The artifact - etolbakov/excalidocker:0.1.7-prerelease-20230630
Useful links:
[1] https://bxbrenden.github.io/

Cover in https://github.com/etolbakov/excalidocker-rs/pull/30

Cross
This is the example that was taken:
https://github.com/planktonlabs/frozenkrill/blob/1435ab867cc1b595605924346ebc05450a481160/.github/workflows/tag.yml
https://github.com/taoky/libbinder/blob/da9d92fd0ce889d3229ee734522675ba1d2704e7/.github/workflows/rust.yml
https://github.com/Tencent/tat-agent/blob/86e11c4e90d22e53c435c49173f5a143e2993e49/Makefile
Musl | ekidd/rust-musl-builder
https://github.com/obelisk/rustica/blob/c20139e02b887655537f94d30b6f24841ee983d1/docker/Dockerfile_influx.amd64#L4
https://github.com/lostintime/aws-s3-webdav/blob/c7daea24449bee5c806340131dec86d5d42af221/Dockerfile-alpine#L4
https://github.com/L1nkZ/rpatchur/blob/21a548277189fecf1c24f61565337158c4ab19a9/docker/Dockerfile-musl
https://github.com/ViViDboarder/vaultwarden_ldap/blob/e80dce804297e80f1b3e621f530dbf76c16a8a20/Dockerfile.alpine#L4
https://github.com/earthly/earthly/blob/05e2b4488c22326de46020446915115164751142/README.md
https://github.com/emk/rust-musl-builder
https://github.com/tarrall/chaosmarmoset/blob/3e53563f1175d3903187bbcb81e4007033a88cfc/Dockerfile
Scratch
https://github.com/tylerhjones/rust-graphql-docker/blob/cdac983e8918883197c5581634fc52c944a6824f/api/Dockerfile#L33
https://github.com/aws/jsii/blob/26724cde5b7446264224b17c4e6e44291739534f/superchain/Dockerfile#L23
https://github.com/Gelbpunkt/queque/blob/12c016c16abc3b717a78c13ccfa3fe0f58c5a6c6/Dockerfile#L2
https://github.com/IgnisDa/ryot/blob/1ff82460b5a0fa628ebeec96da98b0d7366df576/Dockerfile#L29
https://github.com/cpretzer/linkerd2/blob/df9b09b154eceeabb7bc85aa49b45a10e867e460/policy-controller/Dockerfile#L2
https://github.com/fission-codes/rust-template/blob/0895d0a329136867f445e7dc10719f2b666a993c/examples/gen-axum/Dockerfile#L7
https://github.com/richardnfag/fluor/blob/896bcd77856c01019a2c9327bdfd63baaa718972/templates/rust.dockerfile#L2
https://github.com/fmeringdal/nettu-scheduler/blob/4bcfb3e391112413fd4c80098910bbd26ae2bd7e/scheduler/musl.Dockerfile#L20
https://github.com/wilt00/lgtm/blob/060bd19ba59092f8c86b7431401e95e826b28c96/docker/cli.Dockerfile#L2


[bug] Nothing Happens when I Click on Onlook Icon in Desktop App for Windows

Describe the bug
In Windows on clicking the onlook logo on the top left nothing happens.

Hmm, could you check your settings for what version this is? I know we're not auto-updating on windows correctly for older versions

This may be solved with the canvas bug

Can no longer reproduce with the canvas fix. Please reopen if it's still happening.


January/February Release Plan

The following 2-3 releases will involve fixes for a few larger issues and many smaller fixes along the way.
Larger issues that need to be resolved (in rough order of priority):

[x] #794 -- Decile distribution Table entries not correct

#804 -- Upgrade to Tax-Calculator 0.15.0

[x] #811 -- Save model parameters as JSON objects [EDIT: inserted on 2/2/17]
[x] #765 --  Handle future year reforms for checkboxes

#786 -- GUI input types (for further discussion)

[x] #795 -- _EITC_MinEligAge is not an integer in TaxBrain GUI input
[ ] #763 -- Issues with cpi_offset parameter
[ ] #539 -- Steps for putting OG-USA back on TaxBrain

#710 -- Reinstate OG-USA (needs to be tested and merged)

[x] #668 -- Update TaxBrain and Tax-Calculator to handle UBI and CPS specific inputs

#740 -- Add CPS button

[ ] #677 -- Out-of-date TaxBrain code in test_celery_tasks.py

Other issues that need to be resolved have a "Priority" tag and are not in the list above. There may be some follow up comments in this issue or in release-specific issues prioritizing the smaller issues.
Feedback and questions on priority in these issues, adding issues, or removing issues are welcome.
NOTE: The first three items are bugs and have high priority. Further, the way I see it, the order of issues #765 and #795 will make the development process go smoother.

Closing #805. I will open a new issue to outline the remaining items in this issue as well as new bug-fixes and enhancements.


Data from previous step not available. Form renders old data.

Hello,
Im using this bundle for the creation of a course, so that the create process is separated into multiple steps.
For each step I’m using the same FormType which contains some CollectionTypes to create a multi level nested form.
To keep things simple I will only describe the first 2 steps.
Form1 = General course information which has the course entity as data class + CollectionType for the entity ‘specialization’
Form2 = Course objectives (which contains an EntityType of the specializations rendered as checkboxes)

Although the general purpose of this bundle is to store the data in the session until all steps are completed I have changed to example code a bit to save it at each step.
`public function createCourseNew(Request $request)
{
$em = $this->getDoctrine()->getManager();
$formData = new Course();
$flow = $this->get("form.flow.courseflow");
    $flow->bind($formData);
    $steps = $flow->getSteps();
    $form = $flow->createForm();

    if ($flow->isValid($form)) {
        $flow->saveCurrentStepData($form);
        if ($flow->nextStep()) {
            // form for the next step
            $form = $flow->createForm();

            foreach($steps as $key => $step) {
                if($step->getNumber() == 1) {
                    $em->persist($formData);
                    $em->flush();
                }
                if($step->getNumber() == 2) {
                    $objectives = $formData->getObjectives();
                    foreach ($objectives as $objective) {
                        $em->persist($objective);
                        $em->flush();
                    }
                }
            }
        } else {
            $flow->reset(); // remove step data from the session
            return $this->redirect($this->generateUrl('view_courses')); // redirect when done
        }
    }

    return $this->render("/courses/create_new_2.html.twig", array(
        'form' => $form->createView(),
        'flow' => $flow,
        'step' => $flow->getCurrentStepNumber(),
    ));

}`
The problem i'm facing is that the specializations that I have created in step 1 aren't shown in the EntityType field in step 2 although the specializations are saved in the DB after submitting step 1. I only see specializations that where already saved in the DB earlier.
Only after manual refreshing the page at step 2 these specialization records from step 1 are shown.
form step 1

confirmation of saved data

before refresh

after refresh

So my question is when are these forms populated with the data? Because from this behavior it looks like every form gets populated from step 1 (it only loads the specializations that were submitted ealier and not the specializations that are created from step 1)

Have you tried to use the entity manager to get the saved data and replace the current form data with that before going to the next step? That is probably what I would try.
I gave the users the option to save the form and come back to it later in my app and I do this operation just after the valid check.
       if( $flow->isValid($form) ){

             ......

            // if we find that save progress is set to true we save everything and redirect to is order list.
            if( $request->get($form->getName())['saveProgress'] == true){
                $this->addFlash('success','Order successfully saved!');

                // flow finished
                $em = $this->getDoctrine()->getManager();
                $em->persist($order);
                $em->flush();
                $flow->reset(); // remove step data from the session

                return $this->redirect($this->generateUrl('orders')); // redirect when done
            }

           ......

     }


fix(esl-event-listener): allow to subscribe listener by global selector without host instanceof HTMLElement

:tada: This PR is included in version 4.0.0-beta.19 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug]: Making any changes in the notes fields also changes the "Banners" plugin image path.

Contact Details
<EMAIL_ADDRESS>What happened?
Hi Rafael,
Not sure if its apropriate to report this here or if I should report it to the "Banners" plugin creator, but tests I made so far showed me that this is only happening when I makeany edits on the DB Folder lists.
Consider the following note:

This note have a banner (https://github.com/noatpad/obsidian-banners):

When I change any value in the note:

Banner path gets broken:

Before changing the field in the DB filder list banner path was:
banner: "![[../../Images/aleks-dorohovich-nJdwUHmaY8A-unsplash.jpg]]"
And after changed to : banner: "![[Workspace/Images/aleks-dorohovich-nJdwUHmaY8A-unsplash.jpg|aleks-dorohovich-nJdwUHmaY8A-unsplash.jpg]]"
On the other side, if I change the value of that specific fields directaly in the file manually te banner remains unchaged and displays correctly.
Any idea or sugestions are welcome and let me know If I should report this to the "Banners" plugin owner (If it's not related to DBFolder).
thank you
What platform were you using?
Desktop
Version of the plugin
2.7.3.
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

after every change the plugin overwrites all the info with the same value that it was read.
We have an issue for that here https://github.com/RafaelGB/obsidian-db-folder/issues/226 where you can find an explanation
The plugin of your banner does not allow absolute paths or alias? the path internally is the same one

Thanks for your cooments Rafael.
Cannot really answer that but here what the pugin developer states:

Also, using any other plugins to change the frontmatter seems to work normally.
I will try to check more details on this and let you know about any other findings.
Also, if instead of using a local image file I use a url link it's not affected by this problem, so seems it's only happening for local files.

the plugin uses the datatype of dataview, in this case a Link for internal files.
In the case of Links we need the full path to avoid duplicates in your vault

closed as wont fix. Feel free to coment if this problem still persist


After using ns-isolation-policy, topics unload is invalid, only namespace unload is valid

Describe the bug
After using ns-isolation-policy, topics unload is invalid, only namespace unload is valid
To Reproduce
Steps to reproduce the behavior:
1.  ./bin/pulsar-admin ns-isolation-policy set --auto-failover-policy-type min_available \ --auto-failover-policy-params min_limit=1,usage_threshold=80 \ --namespaces zcola_20220329/test --primary <IP_ADDRESS>.* \ pulsar-19990 policy-zcola_qos-test
2. ./bin/pulsar-admin topics partitioned-lookup  persistent://zcola_20220329/test/test
3. ./bin/pulsar-admin topics unload zcola_20220329/test/test **not work**
./bin/pulsar-admin topics partitioned-lookup  persistent://zcola_20220329/test/test
"persistent://zcola_20220329/test/test-partition-0    pulsar://<IP_ADDRESS>:6650"
"persistent://zcola_20220329/test/test-partition-1    pulsar://<IP_ADDRESS>:6650"
"persistent://zcola_20220329/test/test-partition-2    pulsar://<IP_ADDRESS>:6650"
5.  ./bin/pulsar-admin namespaces  unload zcola_20220329/test **it work**
./bin/pulsar-admin topics partitioned-lookup  persistent://zcola_20220329/test/test
"persistent://zcola_20220329/test/test-partition-0    pulsar://<IP_ADDRESS>:6650"
"persistent://zcola_20220329/test/test-partition-1    pulsar://<IP_ADDRESS>:6650"
"persistent://zcola_20220329/test/test-partition-2    pulsar://<IP_ADDRESS>:6650"

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

pulsar 2.9.1

Additional context
Ralated #14728

I will try to reproduce.

It's been try in two version: tag-2.9.1 and master
Could not reproduce.

Hi @zcola ：
It's better to share the broker log when unload topic doesn't work.

Hello, I didn't take a closer look at your reproduction, but it seems that it is not 3 nodes but a single machine with standalone? I will reproduce the log and extract it later, I am busy and sorry


Proxy

If I want to run this through a proxy how would I go about it? Do I need to do anything in addition to setting the proxy in Windows Internet properties?

If you setup your OS to use proxy, then this app should go through that proxy.


Mailgun including custom variables

Hello all!
I'm using Swoosh right now with the Mailgun adapter. One of the features in Mailgun is including custom variables in the params of the post request, and the variables will be later included in mailgun event webhooks, and allow us to identify mails using our variables.
More details: https://documentation.mailgun.com/user_manual.html#attaching-data-to-messages
From looking at prepare_body methods, swoosh mailgun adapter doesn't seem to allow including other params like the custom variables (let me know if this is not the case!!). I would like to make pull request to add this functionality in the mailgun adapter. I already read guidelines for contributing but since I have never contributed to open source codes before, I want to check if this is a good/valid feature to add. :) Please let me know if I should go ahead and add codes!

hi @dighjd12
This is definitely something we should support. We can stick these in the provider_options field on %Swoosh.Email{}.
Let us know if you need any help with the code.

@stevedomin great! I'll go ahead and work on it 👍

:tada: #94


Return grpc code resource exhausted for byte limit error

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Did the same change as #6171, but for byte limiter also.
Verification

I wonder if the e2e failure is related to the change.

I was hoping it would be a flake, but I think it might be related,
=== NAME  TestStoreGatewayBytesLimit/Series()_limits
    store_gateway_test.go:866: store_gateway_test.go:866: ""

         unexpected error: read query instant response: expected 2xx response, got 422. Body: {"status":"error","errorType":"execution","error":"expanding series: proxy Series(): rpc error: code = Aborted desc = receive series from Addr: store-limit-store-gw-1:9091 LabelSets: {ext1=\"value1\", replica=\"1\"},{ext1=\"value1\", replica=\"2\"},{ext1=\"value2\", replica=\"3\"} MinTime:<PHONE_NUMBER>853 MaxTime:<PHONE_NUMBER>853: rpc error: code = ResourceExhausted desc = fetch series for block 01GZDQPDKDF7ENV3KQ8MS7SAPZ: expanded matching posting: get postings: rpc error: code = ResourceExhausted desc = exceeded bytes limit while fetching postings: limit 1 violated (got 8)"}


translate property with relative percentage do not work

Hello,
As title, here's my code:
anime({
  targets: el,
  translateX: '-=100%'  // <- It became to '-100px' in fact
})

Is it a bug or expected behavior?

Thanks for pointing this.
Fixed in next release!

This doesn't seem to be working for me in the latest version. If I have an element with like so:
.my-el {
  transform: translateY(20%);
}

and do something like
anime({
  targets: ".my-el",
  translateY: "-=5%"
})

i expect it to have a translateY of 15%, but instead it sets it to translateY(-5%)

I have the same problem.
.my-el {
  transform: translateX(-40%);
}

anime({
  targets: ".my-el",
  translateX: "-=60%"
})

Target starts animating at translateX(0) and translates to translate(-60%) instead of going from translate(-40%) to translate(-100%) as expected. Is this something that broke in recent releases?

It's not working for me either. Here's a (an ugly) workaround I'll share for future readers until this gets fixed (hopefully).
Just specify which values are going to be animated (e.g., the translateX value) and then just add its initial value as a variable on the root element, then get and set it with your anime.js just as you could target any other JavaScript variables (i.e.: link). I tried this and it works.

Still not working for me too. @trych
Thank you for the tip @aderchox


Allow Zuul proxy to hit endpoints on application it is embedded in

I have the following use case:
I have an existing API that I wish to rewrite in Spring. This application is running in production and I want to incrementally develop the new application while I keep the old application running by moving endpoints from the old application into the new application.
My desire is to configure the new Spring application with @EnableZuulProxy using the following configuration:
zuul:
  routes:
    oldApp:
      path: /**
      url: http://old.server.com

so that the clients of the API do not have to worry about the conversion once the new application is put in front of the old application. They will simply hit the new application from the start and never know that the old application has gone away.
As I move endpoints from the old application, I would like to exclude paths using the "ignoredPatterns" configuration setting like so:
zuul:
  ignoredPatterns:
    - /movedEndpoint1
    - /movedEndpoint2
  routes:
    oldApp:
      path: /**
      url: http://old.server.com

When I do this, I would like the path /movedEndpoints1 to be forwarded to the new application that contains the @EnableZuulProxy annotation. Currently it seems that the ZuulController intercepts all requests to the new application because the path is /** and when it sees that the ignoredPatters contains /movedEndpoint1 it returns a 404 for that path but still forwards any non-excluded requests to the old application.
Is there a way to do this?
Am I missing something?
For an example that demonstrates this behavior, see:
https://github.com/mikegehard/springCloudZuulProxy/commit/b7aff943cda2f0a1e61be4b90506ab56a4621d23
The workaround is to explicitly map each endpoint in the proxy settings. See:
https://github.com/mikegehard/springCloudZuulProxy/commit/ddeaa8ad56f9f912e6bb8ee66c71d7d2b34fd187

I like the use case (quite a common one I would expect). It's ugly to have to redirect back through the whole HTTP stack onto localhost, which is what you do in your workaround, right. I guess it works though, so at least there is a solution, even if we don't find it ideal (not quite clear yet on whether you have something that actually works)?

@dsyer very nice! This will be a great story to talk about.

@dsyer
Thank you for this! :+1:
I did have something working with the individually mapped endpoints (https://github.com/mikegehard/springCloudZuulProxy/commit/ddeaa8ad56f9f912e6bb8ee66c71d7d2b34fd187) but it was ugly and very labor intensive.
When I have a moment, I'll poke around with this and see how it works for my use case.

Hello there Dave.
It looks like there might still be a bug somewhere. :-(
I put together some tests (https://github.com/mikegehard/springCloudZuulProxy/commit/d242c9d08783442573d2dc9e1a30cff157b5806e) and it looks like /one may not work when using ignoredPatterns.
I also tried the forward: syntax (https://github.com/mikegehard/springCloudZuulProxy/commit/02a6101fea0bd45a25ca78d4907b6eb9e20f8d63) but that didn't work for either of them


Fix redraw issue

Thank for @chrisbra
I have merge you branch,and add something to fix this issue.

Okay, we need an update to the documentation, also my approach is  wrong. I'll create a new PR to fix this.

Thanks,hope this fixing

@chrisbra your PR make vimfiler or tagbar close a litter slowly,I am not sure whether it is due to this PR.
but it is fixed by git reset


Better TLS key/cert material generation strategy at startup

The performance penalty at startup is just to great. Especially if you aren't on M1/M2 silicone.
While it's a good idea to rotate the signing key, perhaps we don't regenerate TLS signing keys if cert's still at 24h valid? Open to other strategies.

https://github.com/stateful/runme/pull/346


audio clips and pops when thruster audio plays in rapid succession

Godot version:
v3.4.4 stable
OS/device including version:
ubuntu 20.04.4 lts
Issue description:
When trying to modify the audio for the player ship thrusters I have found the bug(s) detailed below:
https://github.com/godotengine/godot/issues/22016
https://github.com/godotengine/godot/issues/12307
It seems there are multiple sources for the audio clipping and pops introduced by changing the audio file. Some are from the audio file being started and stopped in rapid succession.
The way ThrustersAudioPlayer   (AudioStreamPlayer2D) and LoopingAudioStreamPlayer2D.gd are setup to use three different audio files to fade into and out of the loop is a possible source of issue. When new audio plays while previous audio is finishing you get a clip.
ThrustersAudioPlayer is added to the scene in  PlayerShip.tscn line 55. The node is instantiated in Travel.gd script lines 7 and 15-19.

Hey, I took a look at this and I think the simplest thing to do would be to remove the fade in fade out loops and see if we still get the same popping and clipping.  I'll check it out and let you know!

Thank you. I added a new thruster audio loop for testing with your changes.

I changed the code to only use one audio file for the thrusters. But, the audio sounds abrupt now without the fade-in fade-out, because it's initiating from the movement of the player's ship.  I tried initiating it from the user key press and it makes for a better sound transition.  If your interested in that I can pull request with that included.

That's great! I'm fine with the additional change.

Fixed by Kimberly Lancaster on commit a19c53d.


#743 small updates to Cards design styles

Small changes based on today's review meeting and from Leo design review.


opencl build error when run onnx model at windows.

I had download TVM code at the lastest commit on master branch.
Then convert my model file (*.pb) to dll file in windows, dll can run by python system successfully.
but when i use c++ to load dll and run the model, TVM throw error as bellow.
"TVMError: OpenCL build error for device=000002431E0BE180ptxas error   : Entry function 'fused_nn_conv2d_18_kernel0' uses too much shared data (0xc9c4 bytes, 0xc000 max)
Stack trace:
File "f:\imgblur_new_tvm\imgblur\src\lib\tvm\opencl\opencl_module.cc", line 314
"
I had check the code again and again, from input data ,out put data, tvm_runtime_pack and so on, i had even modify cpp_deploy demo to run my model. It always throw the same error.
Does anyone know how to solve the issue?
Thanks!

move to https://discuss.tvm.apache.org/t/opencl-build-error-when-run-onnx-model-at-windows/8301


Add IntPtr, UIntPtr proper handling since they became ScalarValue

Description
Initial issue created in Serilog: https://github.com/serilog/serilog/issues/2101
After updating the Serilog package from version 3.0.1 to version 3.1.0 it was noticed that some logs are not written to the MongoDB. The investigation showed that in https://github.com/serilog/serilog/pull/1959 IntPtr type in 3.1.0 is logged as ScalarValue (before it was StructureValue), leading to System.ArgumentException: .NET type System.IntPtr cannot be mapped to a BsonValue exception in Serilog.Sinks.MongoDB package
Reproduction
ReproSerilogIssue.zip
Relevant package, tooling, and runtime versions
.NET 8
Serilog 3.1.0
Serilog.Sinks.Console 4.1.0
Serilog.Sinks.MongoDB 5.4.1
MongoDB.Driver 2.27.0

It was mentioned that is intentional change which was missed in release notes https://github.com/serilog/serilog/issues/2101#issuecomment-2297686890
In the meantime, the following workaround was used to address the issue:
BsonTypeMapper.RegisterCustomTypeMapper(typeof(IntPtr), new CustomIntPtrMapper());
BsonTypeMapper.RegisterCustomTypeMapper(typeof(UIntPtr), new CustomIntPtrMapper());

class CustomIntPtrMapper : ICustomBsonTypeMapper
{
    public bool TryMapToBsonValue(object value, [UnscopedRef] out BsonValue bsonValue)
    {
        switch (value)
        {
            case IntPtr intPtr:
                bsonValue = intPtr.ToInt32();
                return true;
            case UIntPtr uIntPtr:
                bsonValue = uIntPtr.ToUInt32();
                return true;
            default:
                bsonValue = null;
                return false;
        }
    }
}

Should be fixed in v6.0 -- thanks @daniilBoushys.


  I'll need to ask many questions to get inspired...
As the app ever worked well for you in the past with the same collection of images? Did it work well with a previous version of the app?
When you launch the app all is well, right? If you tap on something it goes gray. But if you don't touch anything, does it go gray by itself? Or, if you just scroll on the home page but do not navigate to other pages, does it go gray?
You mention you have many images. How large is your collection? Do you have any exotic image/video file (like some large TIFF, PSD or MP4)?
You have installed the app via F-Droid/Izzy, so there's no automatic bug reporting. But if you're willing, you could temporarily install the Play version, enable error reporting (it uses Crashlytics) and try to reproduce the issue a couple of times. With any luck I would see the report from some background issue. The build of the Play version is on the Play Store, or here on GitHub.

No,this is the first time i downloaded the app

It goes gray when i try to load a folder/album list,and no it doesnt go gray by itself

13k Photos and 400 Videos according to my phone (most are saved on my sdcard so there could be more)

i'll try that,thank you

Out of curiosity, what's the locale (language) on your device?
It's probably unrelated to the issue here, but I just discovered that the app is practically unusable if the device locale uses numerals other than the usual Western Arabic ones (1 2 3) used in English. For example, if the device is set to Arabic, it uses Eastern Arabic numerals (١  ٢  ٣), and the app fail to load images O.o
Also, the collection on my device is about 13K+ images and Aves can handle it just fine.

my device locale language is English (US)
previously Indonesian

Good news: I'm seeing reports in Crashlytics. I can't take a close look now, but it seems easy to fix. Thanks for helping with the reports!


Buddybuild crash report on build #525

Buddybuild detected a crash
Exception Class: RLMException
Object has been deleted or invalidated.

View Full Crash Details

Crash report


Write WSI ingestion ETL table

Codecov Report

Merging #60 (9052d27) into master (1c9959f) will decrease coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
- Coverage   51.73%   51.73%   -0.01%
==========================================
  Files          19       19
  Lines        1150     1152       +2
==========================================
+ Hits          595      596       +1
- Misses        555      556       +1

Impacted Files
Coverage Δ

data_processing/common/constants.py
94.11% <50.00%> (-5.89%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c9959f...9052d27. Read the comment docs.


Enhanced logging of profits to get a deeper understanding/control of …

…the gains and profits of this bot
I always had the struggle to understand the actual profit/gains of this bot. This is why I enhanced the logging and output of it. I need gains in percentage not in total numbers. I always want to see different types of gains, like in BTC (which would be the most neutral one, as USDT pair changes) and on different time scales, like 1 day or 7 days.
Current value outputs like this:
Last update: 20:20:09 25/05/2021

Current coin ONT:
 - Balance: 2008.57 ONT
 - Exchange rate purchased: 1.1723 USDT/ONT
 - Exchange rate now:       1.0771 USD/ONT
 - Change in value: -8.12 %'
 - Value in USD: 2163.43 USD
 - Value in BTC: 0.05746519 BTC

1 day change BTC: -4.7 %
7 days change BTC: 11.11 %

Progress outputs like this:
ONT
 - Amount: 2008.57 ONT
 - Price: 2354.65 USD
 - Change: 148.86 ONT 8.0 % in the last 4 days, 7 hours
 - Trade datetime: 00:10:02 25/05/2021

Hi @sydekumf , thanks for your contribution.
I need to check but are you sure trade history for the previous 7 days is kept in the database by default?
As both this and PR #99 are improving on the SQL queries they should probably be merged somehow.
Great job!
Please also take a look at contributing guidelines for correct styling when opening PRs.

@lorcalhost Thanks! I fixed the typo and code formatting!
The trade history will never be deleted I think so 7 days is available :-)

Reverted, should fix problems described in #109 and c921d63547a7a5ae651cba30faeee4d3290541bb

@lorcalhost @DmytroLitvinov Please see this PR for an even better profit calculation USD: https://github.com/lorcalhost/BTB-manager-telegram/pull/111
Somehow the BTC values seem to not be correct in the database, but I found a better way to even calculate it in USD.


Display belt throughput for resources

Assuming I have the following plan designed:

I can tell at-a-glance that a single compressed belt of copper plate is likely insufficent to supply these factories, a feeling that is backed up by the data. From a quick calculation, I would need about 2.45 fully-compressed red belts to supply the necessary copper for this.
It would be nice to see something like this to see what kind of supply would also be needed:

Should be merged with this issue: https://github.com/doomeer/factorio/issues/28

Indeed it should, my apologies for not spotting that one earlier!


Generated OONI Run links are invalid

In the latest version of OONI Run, when you generate a link for URL testing, the list of URLs contains a list of maps instead of a list of URLs. This leads to the generated links not working.
Here is a sample link generated with the current OONI Run:
https://run.ooni.io/nettest?tn=web_connectivity&ta=%7B%22urls%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fexample.com%2F%22%7D%5D%7D&mv=1.2.0

If we unquote the URL list we can better see what is going on:
>>> unquote("%7B%22urls%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fexample.com%2F%22%7D%5D%7D")
'{"urls":[{"url":"https://example.com/"}]}'

Where it should instead read:
'{"urls":["https://example.com/"]}

A fix for this has been merged and deployed into production.


Nuclio serverless | Could not login on the server | 405 (Method Not Allowed) | cvat_server restarting

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
git clone https://github.com/opencv/cvat
cd cvat
wget https://github.com/nuclio/nuclio/releases/download/1.11.24/nuctl-1.11.24-linux-amd64
sudo chmod +x nuctl-1.11.24-linux-amd64
sudo ln -sf $(pwd)/nuctl-1.11.24-linux-amd64 /usr/local/bin/nuctl
nuctl version

Client version:
"Label: 1.11.24, Git commit: f2a3900d23b92fd3639dc9cb765044ef53a4fb2b, OS: linux, Arch: amd64, Go version: go1.19.10"

export CVAT_HOST=
docker-compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up -d
nuctl create project cvat
mkdir  ./serverless/common
nuctl deploy --project-name cvat
--path serverless/onnx/WongKinYiu/yolov7/nuclio/
--volume ./serverless/common:/opt/nuclio/common
--platform local
Expected Behavior
Opening the webUI on server IP / domain + port 8080 and login - but:

Browser console:

<title>405 Not Allowed</title>

405 Not Allowed

nginx/1.25.3

Possible Solution
Yesterday I found this issue and thought by nuking all docker resources and setting them back up solved my problem. But at that time I did not yet go through the steps of adding the YOLOv7 model.
I can go back to start just cvat with the following command and and am able to login again:
docker-compose up -d

Going back and I am locked out again:
docker-compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up -d

I saw that there are other issues related to 504 errors:

504 Gateway Time-out
DEXTR - Semi-Automatic Annotation - 504 Gateway Timeout

As well as this commit seems to deal with an timeout issue for the nuclio backend.
But I could not find a solution that works for me, yet.
Context
No response
Environment
No response

Ah nevermind - I just saw that the cvat_server is restarting with a Python error message that was reported here already
I am closing this issue!


PreTag Blink Fast the Beep LED - Test case pre req check fix needed

The beep FRU is not available in Palmetto /org/openbmc/control/led/beep. So the test case ended failure..
So this needs to be fix as pre-req check if this FRU is available or not then proceed.
The sample psuedo code would look like as per Chris Austen input..
Get Inventory List
[arguments]  ${args}
${list} =    Get Inventory Fru Type List     ${OPENBMC_MODEL}  ${args}
: FOR   ${element}   IN   @{list}
\    ${d} =   Get From Dictionary    ${SYSTEM_INFO}  ${element}
\    Run Keyword If   ${d['present']} == True      Verify Present Properties  ${args}
Verify Present Properties
[arguments]  ${args}
${data} =   create dictionary   data=@{EMPTY}
${resp} =   OpenBMC Post Request  /org/openbmc/sensor/led/${args}    data=${data}
should be equal as strings      ${resp.status_code}     ${HTTP_OK}
${json} =   to json             ${resp.content}
should be equal as integers   ${json['data']}   0
Here are some questions of it

Get Inventory Fru Type List    this check the FRU instances in the model but I don't see this returns anything for some reason

${d} =   Get From Dictionary    ${SYSTEM_INFO}  ${element}

There is no SYSTEM_INFO dictionary in the ENV or the files .. Which json dictionary  we need to use or is it populated somewhere which I'm not aware of..

There is this line in the code

${data} =   create dictionary   data=@{EMPTY}
But I dont see it used in this particular test case.. Should we remove this ?

@tomjoseph83 can you please have a look?

Probably a little restructuring in the code should do the work.. Keeping the old sub function code and clubbing the LEDs test cases.
Example
*** Test Cases ***
Probe If heartbeat LED Path Exist and Execute Test
[Documentation]    Checks if heartbeat LED exist and then execute the test set.
${resp} =   OpenBMC Get Request    /org/openbmc/control/led/heartbeat
Should be equal as strings   ${resp.status_code}   ${HTTP_OK}
Execute Heartbeat LEDs Test Cases
Probe If identify LED Path Exist and Execute Test
[Documentation]    Checks if identify LED exist and then execute the test set.
${resp} =   OpenBMC Get Request    /org/openbmc/control/led/identify
Should be equal as strings   ${resp.status_code}   ${HTTP_OK}
Execute Identify LEDs Test Cases
Probe If beep LED Path Exist and Execute Test
[Documentation]    Checks if beep LED exist and then execute the test set.
${resp} =   OpenBMC Get Request    /org/openbmc/control/led/beep
Should be equal as strings   ${resp.status_code}   ${HTTP_OK}
Execute Beep LEDs Test Cases
*** Keywords ***
Execute Heartbeat LEDs Test Cases
[Documentation]    Executing ON/OFF/Fast/Slow Heartbeat LED test cases.
Turn ON the Heartbeat LED
Turn OFF the Heartbeat LED
Blink Fast the Heartbeat LED
Blink Slow the Heartbeat LED
Execute Identify LEDs Test Cases
[Documentation]    Executing ON/OFF/Fast/Slow Identify LED test cases.
Turn ON the Identify LED
Turn OFF the Identify LED
Blink Fast the Identify LED
Blink Slow the Identify LED
Execute Beep LEDs Test Cases
[Documentation]    Executing ON/OFF/Fast/Slow Beep LED  test cases.
Turn ON the Beep LED
Turn OFF the Beep LED
Blink Fast the Beep LED
Blink Slow the Beep LED

Suggestion... we c an fix this in two parts..

Fix the basic path not found
Understand the Blink beep LED use case and re -implement it if needed..

I would like to use this ticket to fix the part 1.. Let me know if that's ok with it...

https://github.com/openbmc/openbmc-test-automation/issues/10


Research approaches for sampling Event Service

This item captures the research and spike activities needed to understand sampling of Event Service for Metadata Service.
The major questions/decisions to be answered by this story are captured in the attached tasks.


[Deadlands: Classic Anniversary]

Two of the skills are linked on the character sheet.  Disguise and Mad Science.  When you enter a value for either one, the other automatically fills in with the same value, so as it is, you cannot have differing values for these two skills.

Oh, I've been looking at Deadlands Classic recently. I have a pull request up but I'll take a look at the skill attributes.

I haven't been able to duplicate this issue and I don't see a problem with attributes in the sheet's html. Let me know if its still the case, I might've fixed it and didn't remember.

I think it was fixed sometime before last week.  I had changed to the other
Deadlands sheet, and we noticed that the style/font of that sheet had
changed, so I loaded up the classic sheet again, and it seemed like the
link between the two different skills had been fixed
On Fri, Apr 17, 2020, 12:20 PM Medieve<EMAIL_ADDRESS>wrote:

I haven't been able to duplicate this issue and I don't see a problem with
attributes in the sheet's html. Let me know if its still the case, I
might've fixed it and didn't remember.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/issues/5986#issuecomment-615421485,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5A535YNE6NTIC4IFYZ7ALRNCTWZANCNFSM4LRPLIBA
.

I wanted to bring something else up, some comments/complaints I've been
hearing from my players over the past few sessions.  These are for the
Deadlands
Classic 20th Aniversary Sheets, but I also have an issue or two for just
the Deadlands Classic character sheets as well.  I don't know if I should
open a separate ticket for those issues, but I will include tham at the
very end here

Flipping tabs back and forth between skills, combat stuff, etc.
Wound penalties, modifiers, etc.
Shootin Skills

*1) * I don't know how easy or hard it might be to add some of the combat
skills onto the combat section of the sheet.
As it is, the current layout requires someone be on their Skills+Traits tab
to roll their skill, then switch to the combat tab to find their weapon to
roll damage.  It doesn't seem like much, but when you have fast turns, it
means a lot of switching back and forth.
So I was wondering if the sheets could be formatted so that Each Weapon has
it's appropriate Skill listed next to it perhaps. Something like "Weapon
Shots/Max  RoF   Range   Damage   Skill"  and have a spot for the dice,
value, and modifiers.. that way players don't have to keep switching tabs
back and forth
*2) * I don't know if it would be possible to apply modifiers to the wound
levels.  -1 for Light, -2 for Heavy, etc..  and then have the sheet look to
see what the highest damage level is, and apply that as a blanket modifier
to all Trait and Aptitude rolls.  Some of my player have been having some
confusion with remembering the wound modifiers, or if they do, they are
adding into the modifiers next to each Aprtitude, which then gets confusing
next session when they forget why.  So this fix is not necessary, but would
be really convenient.
*3) Shootin Skills *(and Fightin as well) should be listed as
Concentrations, such as
Shootin : 4
Pistols +mod
For sake of Advancing, Shootin is a single skill.  If you have Shootin 4,
and you have Pistols concentration, then if you spend 3 Bounty to add
Rifles, you still have a single Shootin skill of 4 but it should be noted
like
Shootin: 4
Pistols +mod
Rifles  +mod
That way, when you increase the skill, you only have to raise the 4 to a 5
in one spot, instead of having to increase it for each and every weapon
type you know how to shoot.
Okay, not for the issue for the Deadlands Classic character sheet.  This is
the sheet with the different layout/background color.
the main issue is when rolling Guts+Grit from the Core page.
The issue comes into play when you have a modifier to Guts.  One of my
players has a Spirit of 1d6, and a Guts Level of  3..  so when he rolls
Guts directly, the macro command says "Rolling 3d6!!k1"  which works fine.
Now, he also has a Grit of 1, so when he hits the "Guts + Grit" button, it
says "Rolling 3d6!!k1+1"  Fine so far.
Now, this PC aso has Brave, which provides a +2 to Guts Rolls..  So, we
learned long ago that + signs in the character sheet cause issues, because
extra + signs break macros,. so all positive modifiers are just entered as
the number.
So his Guts skill is listed as 3  and  2  (there's a + on the sheet between
the two fields), and when rolled, it rolls correctly with 3d6!!k1+2
However, there is the problem in that when he uses the Guts+Grit, it should
be "Rolling 3d6!!k1*+2+1*"  But instead rolls "3d6!!k12+1"  That 2+1 from
Guts mod is inserted into the Guts & Grit macro without a + sign built in.
So, the output has him rolling his 3d6, but it is keeping and adding them
all, instead of the highest 1.
So, I thought to fix it by making the modifier to Guts a +2 instead of
just 2.  And this Fixes the Guts & Grit Macro, making the final result
"Rolling 3d6!!k1+2+1"
But it Breaks just Guts, with an output of "Rolling 3d6!!k1++2"  for a
broken result of 0
So, somehow the Guts and Grit macro needs to be fixed to include an
automartic + sign between the !!k1 and the modifiers for Guts..
Which, the Classic 20th Anniversary sheets somehow has working right, but
all the macros on the "Attributes & Abilities" page look identical to me,
so not sure why it works fine on one, and not the other
Anyway, Those are just some of the issues.  Please feel free to contact me
for clarification, or to let me know if I should open a separate ticket for
that last issue.
Thank you,
Joe
On Fri, Apr 17, 2020 at 12:21 PM Relative D<EMAIL_ADDRESS>wrote:

I think it was fixed sometime before last week.  I had changed to the
other Deadlands sheet, and we noticed that the style/font of that sheet had
changed, so I loaded up the classic sheet again, and it seemed like the
link between the two different skills had been fixed
On Fri, Apr 17, 2020, 12:20 PM Medieve<EMAIL_ADDRESS>wrote:

I haven't been able to duplicate this issue and I don't see a problem
with attributes in the sheet's html. Let me know if its still the case, I
might've fixed it and didn't remember.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/issues/5986#issuecomment-615421485,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5A535YNE6NTIC4IFYZ7ALRNCTWZANCNFSM4LRPLIBA
.

I am currently building a new version of the sheet (I had nothing to do with the originals but there was quite a bit I didn't like) called Deadlands - Classic Anniversary - Improved that was recently merged into Roll20. I don't recommend switching mid-game as some attributes do not directly relate and you will end up rebuilding those pieces (primarily the Arcane section but I also fixed duplicated skills), but I am fixing some of the issues listed above while I'm at it. I would also love to hear any additional issues or suggestions and will incorporate as I can.

Ah, I saw that sheet..  I copied the game to a separate table, so that I
could see which of the other sheets I like best.. and at the moment, we're
using Classic Anniversary as they are the least buggy.
With the Classic Anniversary - Improved, I did notice a few things.  I am
not sure how far into development you are, so you may have some of these on
the list of what you are working with.
Some of these Suggestions also come from other people that have brought
these up in the Unofficial Deadlands Discord server, so I may not have seen
these same issues, but I recall hearing them,
First, let me say I like the look of the new sheet.  I like the overall
layout.. I think it the background could be darkened a tad, a white box
could be used for the White Chip selector.. but it's fine as it is.
In no particular order

Someone commented that they would appreciate it if the attributes were
ordered as they are in the book's character sheet - basically
alphabetical.  Cognition, Deftness, Knowledge, Mien, Nimbleness, Quickness,
Smarts, Spirit, Strength, and Vigor.  People get used to looking in a
specific place on their physical character sheets, and get lost when using
the online sheets.

A Hit Location toggle in the weapon sections - and if possible, one for
melee attacks that automatically uses the +2 when Fightin' modifier to hit
locations.

Hit location numbers next to the wound locations for quick reference.
When you score Raises on your attack, you can adjust the hit location, and
it's nice to be able to quickly see what locations are assigned to which
numbers.

Concentrations vs Separate Skills.  The book is not too clear on which
is which.  Most Aptitudes with Concentrations Act with the single level for
the overall Aptitude, and then you select different Concentrations.  Like
Shootin, Fightin, etc..  You have your Shootin skill at 4, and then each
different type of gun you spend to add gets added to the skill at the
overall level 4.  And when you then raise it to 5, all of them go up to 5.
So they shouldn't be listed with separate skill values.
BUT.  Some skills, like Languages, Professional, and Trade  are called out
specifically as being raised as if they were separate skills.  So, for
those, each entry will need it's own skill level box.
Sciences are also presented in many NPC stat blocks in various books as
separate skills
I am asking among the Discord to see if we can figure out which specific
Aptitudes should be listed separately, instead of under a blanket level for
all Concentrations.

I like how each hex now has a dropdown for the attribute it is linked
to, but it seems to have Shadowrun macro notation.. when you roll, it seems
to want to count if one of the dice are 5 or higher..  so the { }>5 should
be removed.

This is minor..  I came across when statting out an abomination.  It
was a creature with Supernatural Traits.  Deftness and Quickness were at
d12+6, so what I did was add +6 to the modifier for Shootin, and
Quickdraw.. but for Initiative, it needs to roll Quickness +6.  So I don't
know if maybe a Supernatural Traits secion in the Arcana, with a
Dropdown for which attributes you apply them to, and then you can add +2
or +4 or whatnot into the modifier, and it could automatically add into any
Trait/Aptitude roll you make, if appropriate?  Not sure how it would work
on roll20.

Maybe a button next to Grit, that automatically rolls a Guts roll,
including Grit, and any other modifiers to Guts on the sheet, but also
includes a modifier window?  Sometimes when Fear levels are high, I ask my
players to roll Guts + Grit at -3 for Fear, and there is no easy way to do
this without just rolling, and deducting 3 from the final result.

One of the sheet versions has 2 damage lines for each weapon.  I like
this, because for some weapons, I can list damage with a lower die type, in
case they are shooting someone with armor, or whatnot.. but I was wondering
if maybe there could be 2 buttons for damage.. a "regular" damage roll, and
then one that brings up a selector to modify the number and/or size of the
die.

For instance, a Shotgun at 20 yards does 4d6 with Shot, or 6d6 wth
Slugs, so "regular" damage might be 6d6, but the modified damage button
could be clicked for the selector to select 4d6.  Or, if someone with a
Peacemaker hits someone with 2 levels of armor, they'd roll 2d4 damage
instead of 3d6

I think that's everything I have in mind at the moment, other than some
of the other stuff I've mentioned above, like some way to reduce the need
to keep switching tabs for rolls, and wound penalties auto-affecting rolls..

Thanks for what you're doing!   And if you would like to ask other
Deadlands Players for insight, feel free to hop over into the Deadlands
Discord.  We have Classic players, as well as those that play Reloaded,
Noir, Lost Colony, etc.
https://discord.gg/MqvaNQ3
On Tue, May 26, 2020 at 3:15 PM Jeremy S<EMAIL_ADDRESS>wrote:

I am currently building a new version of the sheet (I had nothing to do
with the originals but there was quite a bit I didn't like) called
Deadlands - Classic Anniversary - Improved that was recently merged into
Roll20. I don't recommend switching mid-game as some attributes do not
directly relate and you will end up rebuilding those pieces (primarily the
Arcane section but I also fixed duplicated skills), but I am fixing some of
the issues listed above while I'm at it. I would also love to hear any
additional issues or suggestions and will incorporate as I can.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/issues/5986#issuecomment-634309418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO5A53536IKQHOTDNIGWIWTRTQ5RNANCNFSM4LRPLIBA
.

A lot to go over here so I'll reference your item numbers. The sheet itself
is an initial draft so we could get started with our game, and is being
actively worked on as we get deeper in. Also, be aware that I personally
haven't played DL in 20 years so I'm quite rusty with the game (and my
players are new). It's part of why I'm reaching out to other groups here to
review it.. you'll find more than I will. :D

They should be now. It was one of the things I noticed on the previous
sheet that drove me buggy. However, and this is a temporary solution, due
to CSS Grid, they display left to right instead of up and down. I also
alphabetized the aptitudes. The problem with doing columns is that I can't
use media queries (a problem with Roll20) and wanted responsive columns.

Looking at re-adding that already. I'm trying to make sure that rolls
incorporate everything they need (including hit location, wound modifiers,
etc). I'm new to Roll20 so it's taking me a little bit to work out the
macros and the like.

Easy enough to add, although I'm looking at rebuilding the whole Wounds
section -- including adding "missing" as an option if you've lost a limb. I
was playing with the idea of a paper doll with selectable areas and the
colors corresponding with the sheet's suggested colors (as the current
wound levels are). Question for you, do you do 1 & 3 for left leg and 2 & 4
for right leg? Or do you roll twice? The sheet needs to allow for
flexibility. If I code it onto the sheet one way and a group plays
differently, it can cause issues. (Personally, I created a custom roll
table and we know to adjust it as necessary--not ideal at all)

I went back and forth on this so much. I opted to make them all
consistent and to fit what the GM decides the rules mean. I personally play
it like you list it here, but others may wish to split them out. The
current process is more steps for some, but allows for extra flexibility.

Ack, I was experimenting with that and didn't mean to have it in the
final. I'll remove it.

I'm trying to find a way to incorporate this functionality myself--I ran
into it with people who have Tough as Nails and the like and I want it to
automatically calculate things.

That was one of the common rolls that, for now, I dropped. I'm trying to
think of a good way to work them back in without having their own tab.
Also, the previous sheet had them but without any modifiers, something I
feel is important if you're going to be doing my rolling for me.

The lower damage from armor isn't a function of the weapon, it's the
armor... so it should be a modifier on the roll (something that I'm
experimenting with). I saw the two lines and liked it but i use two lines
FAR less often than would make sense to include the extra space. For now,
if I have two ammo types, I just add it as a second "weapon"--this allows
me to keep my notes separate as well. I would REALLY love it if Roll20
allowed nested repeating sections but at this point I do not believe they
do.

The next big update will include as much rolling functionality as I can.
I'm leaning towards having optional information in the roll, and a static
wound modifier (the wound mod is actually in my test sheet now -- just not
incorporated into rolls yet). I nearly added it until one of my players had
tough as nails and I realized I didn't account for that in the modifier. :D
I'll jump in the discord now to check things out.

J
On Tue, May 26, 2020 at 4:25 PM RelativeDimension<EMAIL_ADDRESS>wrote:

Ah, I saw that sheet.. I copied the game to a separate table, so that I
could see which of the other sheets I like best.. and at the moment, we're
using Classic Anniversary as they are the least buggy.
With the Classic Anniversary - Improved, I did notice a few things. I am
not sure how far into development you are, so you may have some of these on
the list of what you are working with.
Some of these Suggestions also come from other people that have brought
these up in the Unofficial Deadlands Discord server, so I may not have seen
these same issues, but I recall hearing them,
First, let me say I like the look of the new sheet. I like the overall
layout.. I think it the background could be darkened a tad, a white box
could be used for the White Chip selector.. but it's fine as it is.
In no particular order

Someone commented that they would appreciate it if the attributes were
ordered as they are in the book's character sheet - basically
alphabetical. Cognition, Deftness, Knowledge, Mien, Nimbleness, Quickness,
Smarts, Spirit, Strength, and Vigor. People get used to looking in a
specific place on their physical character sheets, and get lost when using
the online sheets.

A Hit Location toggle in the weapon sections - and if possible, one for
melee attacks that automatically uses the +2 when Fightin' modifier to hit
locations.

Hit location numbers next to the wound locations for quick reference.
When you score Raises on your attack, you can adjust the hit location, and
it's nice to be able to quickly see what locations are assigned to which
numbers.

Concentrations vs Separate Skills. The book is not too clear on which
is which. Most Aptitudes with Concentrations Act with the single level for
the overall Aptitude, and then you select different Concentrations. Like
Shootin, Fightin, etc.. You have your Shootin skill at 4, and then each
different type of gun you spend to add gets added to the skill at the
overall level 4. And when you then raise it to 5, all of them go up to 5.
So they shouldn't be listed with separate skill values.
BUT. Some skills, like Languages, Professional, and Trade are called out
specifically as being raised as if they were separate skills. So, for
those, each entry will need it's own skill level box.
Sciences are also presented in many NPC stat blocks in various books as
separate skills
I am asking among the Discord to see if we can figure out which specific
Aptitudes should be listed separately, instead of under a blanket level for
all Concentrations.

I like how each hex now has a dropdown for the attribute it is linked
to, but it seems to have Shadowrun macro notation.. when you roll, it seems
to want to count if one of the dice are 5 or higher.. so the { }>5 should
be removed.

This is minor.. I came across when statting out an abomination. It
was a creature with Supernatural Traits. Deftness and Quickness were at
d12+6, so what I did was add +6 to the modifier for Shootin, and
Quickdraw.. but for Initiative, it needs to roll Quickness +6. So I don't
know if maybe a Supernatural Traits secion in the Arcana, with a
Dropdown for which attributes you apply them to, and then you can add +2
or +4 or whatnot into the modifier, and it could automatically add into any
Trait/Aptitude roll you make, if appropriate? Not sure how it would work
on roll20.

Maybe a button next to Grit, that automatically rolls a Guts roll,
including Grit, and any other modifiers to Guts on the sheet, but also
includes a modifier window? Sometimes when Fear levels are high, I ask my
players to roll Guts + Grit at -3 for Fear, and there is no easy way to do
this without just rolling, and deducting 3 from the final result.

One of the sheet versions has 2 damage lines for each weapon. I like
this, because for some weapons, I can list damage with a lower die type, in
case they are shooting someone with armor, or whatnot.. but I was wondering
if maybe there could be 2 buttons for damage.. a "regular" damage roll, and
then one that brings up a selector to modify the number and/or size of the
die.

For instance, a Shotgun at 20 yards does 4d6 with Shot, or 6d6 wth
Slugs, so "regular" damage might be 6d6, but the modified damage button
could be clicked for the selector to select 4d6. Or, if someone with a
Peacemaker hits someone with 2 levels of armor, they'd roll 2d4 damage
instead of 3d6

I think that's everything I have in mind at the moment, other than some
of the other stuff I've mentioned above, like some way to reduce the need
to keep switching tabs for rolls, and wound penalties auto-affecting
rolls..

Thanks for what you're doing! And if you would like to ask other
Deadlands Players for insight, feel free to hop over into the Deadlands
Discord. We have Classic players, as well as those that play Reloaded,
Noir, Lost Colony, etc.
https://discord.gg/MqvaNQ3
On Tue, May 26, 2020 at 3:15 PM Jeremy S<EMAIL_ADDRESS>wrote:

I am currently building a new version of the sheet (I had nothing to do
with the originals but there was quite a bit I didn't like) called
Deadlands - Classic Anniversary - Improved that was recently merged into
Roll20. I don't recommend switching mid-game as some attributes do not
directly relate and you will end up rebuilding those pieces (primarily
the
Arcane section but I also fixed duplicated skills), but I am fixing some
of
the issues listed above while I'm at it. I would also love to hear any
additional issues or suggestions and will incorporate as I can.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/Roll20/roll20-character-sheets/issues/5986#issuecomment-634309418
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AO5A53536IKQHOTDNIGWIWTRTQ5RNANCNFSM4LRPLIBA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/issues/5986#issuecomment-634332440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGQ24T3DDLL7XFKEI5WSH4LRTRFYBANCNFSM4LRPLIBA
.

@RelativeDimension  if this is resolved, please close it

@RelativeDimension If you feel any pieces still need worked on (quite probable), add it to the issues on my repo.

It seems as though this has been resolved, so I'm going to close the issue. If there are lingering problems, please submit a new issue to this repo, or to the one that Baledin linked above.


Compositing accuracy

General and compositing in particular (likley nitpicking):
Do we want to specify accuracy of the samples? Single / double precision IEEE 754?
From https://github.com/3MFConsortium/spec_volumetric/issues/42

@bubnikv : do you agree with this recommendation?
https://github.com/3MFConsortium/spec_volumetric/pull/52/commits/c4c38db031b1b4f9add867898cb10cc82edf8ef0#diff-59caa499e51ab8cb5ca5334dc51bad4c27758474e490781f76b0e85639642ee6R696

resolved by 192349a0672ea26172b5bb8dfe4f1b1018f1569b


Added comment section and completed code refactoring

-Added comment section into the boardgame info page
-Completely updated typing in the project, accomplished getting rid of "any" datatype
-Updated parser, so it:

wont cause any kind of bugs, including missing data from BGG API or data inconsistency
parses additional information, which can be used in boardgame information page
--Added Comments, Videos, Stats, Marketplace Tabs into the SingleGame page

Well organized, good!


Add root as an alias of global

The recent version of lodash (v3.9.0) left some root vars in place in their node package. This works in node/io.js because root === global. Would you all be against adding root as an alias of global?
Related to https://github.com/lodash/lodash/issues/1218.

I think this issue is expired and can be closed @bebraw. It looks like global won, considering it's up to stage 3.

Cool. Thanks.


Refactor image

introduce build args to override settings using docker CLI
use the single ENV to reduce number of layers
use the single RUN to reduce number of layers
switch to use ADD instead of running curl
place plugins directly to plugin directory
some other cosmetic fixes

👍


Fix "Building Carla" section of README

As of 2019-07-23 the README section "Building Carla" has three statements on operating systems:

How to build on Linux
How to build on Windows.
Unfortunately we don't have official instructions to build on Mac yet, please check the progress at issue #150

Given the long list of open issues with building on different environments I suggest to modify this section and list the options:

Linux
Windows
Mac OS
Docker

and add

a necessary prerequisites
a troubleshooting / FAQ section
a description of what to expect

for each option
The motivation for this proposal is the frustration I got from trying to install carla on different MacOS computers to no avail see http://wiki.bitplan.com/index.php/Car_simulation_software#Carla

MacOS is not supported yet, and I do not believe the official maintainers use Macs for this project, so it doesn't seem reasonable to ask for instructions on how to build it at this point.
The best you can hope for is to duplicate builds from the few of us that have been able to get it to work  . If you stray too far from our instructions you are much more likely to encounter problems.
I have been working on upgrading my fork to 0.9.6 and will post my changes as soon as I get it mostly working, but I am not going to have time to try building in the wide variety of OS versions and tool configurations that other Mac users might want to use. There are some C++ fixes required to get it to work (mostly uint64/std::size_t issues).

Has anything updated regarding running carla on Mac? Please let me know. I really want to make it run on my Mac. @WolfgangFahl @analog-cbarber

I have not tried building on a mac for more than a year. It is definitely possible, but it is a bit of work. I don't have time to work on it right now or have a reason to use my regular work hours to work on that.
While it can be convenient to be able to do development on your mac, CARLA will really run much better on a machine with better GPUs, so I strongly recommend that you get a suitable linux or Windows box with the best GPU you can afford.


Triggering a tile moves token to the upper-left corner/left side

Using 0.7.2 version causes a token to move to the upper-left corner/left side of a tile upon triggering. Other modules that would mess with any tiles were disabled during the test.

It also happens on every possible animation type. If there are no corners, a token moves to the top.

I see, I forgot to account for tiles this large, thanks for reporting!

I'll leave this open until I can get to and resolve it

Having a similar problem, except tokens are being moved to the bottom left, even with tokens only filling one grid space.


Add XtStatus::SubmitOnly

I was having the impression that we get a certain lag when the enclave tries to submit extrinsics in the ocall.
So I tried to add send_extrinsic variant that is even faster than waiting for  XtStatus::Ready. I was having trouble finding out, what the exact checks are when you wait until ready. So, I just implemented it and wanted to test it.
Subjectively, I am not confident that it makes a difference. @brenzi, @haerdib  do you know if this is even worth implementing?

Nevermint. The lag was completely unrelated. Stupid me has not seen that we still wait until the next block in said ocall in the worker.
Regardless. My question remains.

My knowledge my be a bit dated on this. On a real chain, Broadcast would be the quickest way I think. But Dev chains don't use that status, so in local setups, we will never see that.
Ready means that the basic checks have been done by the node (can pay fees, signed, and such). It means the xt has entered the tx pool

ok. let's merge this one


Support docker compose version 3

Also:

Version bump 1.1.5 -> 1.1.6

Hello @onnimonni !
Thanks for your contribution.
Could you please just remove the changes related to the version bump?
I'll take care of bumping the version and generating a release with yours + other hotfixes.
Thanks!


How to use my own dataset to make Face2mydataset

Hi, you can simply do

python train.py --finetune_loc 3 --ckpt [PATH_TO_PRETRAINED_FFHQ_MODEL]

Thanks
Then what that finetuning does, if not end-to-end image trasaltion.
I can't understand for example how your Face2Art works.
I want to have a face as an input and get it in my datasets style.

Finetuning will update the last few layers of the pre-trained generator. For style-based generators, each layer learns different levels of abstract features where the front layer determines the overall geometric structure of the image, and the last few layers are involved in the low-level style of the image such as color or texture. By fixing the early layers and only fine-tuning the last layers, the low-level style of the generated images could be altered while the overall geometric structure and semantics are preserved. The more layers you finetune, the less original information will be preserved. For example, I only finetuned the last two layers of the FFHQ-trained generator for the Face2Art.
The side-by-side images show two samples generated from the original and finetuned models. To translate the image, you would have to embed the target image in the original model's latent space and then generate the translated image using the latent vector and finetuned model.

How to embed the target image in the original model's latent space?

projector.py will do that


3.9 Support

I thought it will work up to 3.10
But 3.9 failed
Unsupported Python version, 3.9.0, for decompilation

Uncompyle6 supports Python 2.4 to 3.8.
3.9 and 3.10 are unsupported. Updated the README.
https://github.com/rocky/python-uncompyle6/#introduction


TypeError: Cannot read properties of undefined (reading 'code_snippet')

TypeError: Cannot read properties of undefined (reading 'code_snippet')    at zE (http://localhost/dynamic_filter/public/:72:257091)    at mi (http://localhost/dynamic_filter/public/:72:70706)    at Ql (http://localhost/dynamic_filter/public/:72:122308)    at xc (http://localhost/dynamic_filter/public/:72:109797)    at _c (http://localhost/dynamic_filter/public/:72:109725)    at Cc (http://localhost/dynamic_filter/public/:72:109588)    at Nc (http://localhost/dynamic_filter/public/:72:106582)    at hc (http://localhost/dynamic_filter/public/:72:103958)    at nu (http://localhost/dynamic_filter/public/:72:119816)    at http://localhost/dynamic_filter/public/:72:121187

Thanks for reporting this issue! We've managed to reproduce it and will soon release a fix.
Since multiple issues were posted for this bug, I'll go ahead and close this one and post further updates in #59


Can this code be used to reproduce the MobileNetV2 numbers in the paper?

I have been trying to do adversarial training on MobileNetV2 for CIFAR10 using a standard codebase, and my natural/robust accuracies are no where near the reported numbers in Table 7 of the supplementary material.
Could you please share the exact training hyperparameters for the MobileNetV2 model? or the model parameters if that is possible. Thanks.

Hi, the exact training hyperparameters can be found in Table 5, and attack parameters can be found in the caption of Table 7.
This codebase mainly reproduces the results of our RobNets models. For baseline adversarial training, any standard codebase should be fine.


Fix user preferences in the /dashboard

If you go /dashboard and click on the preferences in the profile dropdown it does not work.

Hello 👋
I am a Computer Engineering student and as part of my Software Engineering course, my team and I need to contribute to an open source project. My team and I were very interested in knowledge-graph and were hoping to help with some of the “good first issues”
So far, I have tried to follow the setup instructions outlined here, and got a public API key for Youtube. However, when I try to use the make import command I get an error about a missing ChatGPT API key.
I wanted to reach out over Discord, as suggested in the README, but that link to the server has expired.
In summary, I would love to contribute to this project (if the team is willing) but for that to work I would need some instructions on the ChatGPT API key, and maybe the Discord server invite link could be updated too.
Thanks for your consideration!
Meriam 🙂

Hey Meriam,
First of all, thank you for your interest in contributing to our project! We're thrilled to have enthusiastic students like you and your team onboard.
Regarding the ChatGPT API key issue, it's great that you've already set up the YouTube API key, that is all you need. For the ChatGPT API key we've updated the code and made it optional. If you want to chat with AI tutor you can set it up, but not it's necessary for this issue.
As for the Discord server link, we apologize for the inconvenience caused by the expired link. We have updated the README with a new, active Discord invite. Please check it out for joining our community where you can discuss and collaborate more efficiently.
@meriam04, please feel free to reach out for any further assistance on listed issues or features you'd like to work on. We're excited to see what you and your team will bring to the project!
Looking forward to your contributions!
Shota

Hello!
Could I be assigned this issue please?
Thanks,
Divya

🚀


.PauseExponentially() blocks ASP.NET 7 app startup for 30+ seconds

Describe the bug
On a local Windows debug build, the AWSSDK pauses startup for a very long time with the following call stack:
Thread.Sleep()
EC2InstanceMetadata.PauseExponentially()
EC2InstanceMetadata.FetchApiToken()
EC2InstanceMetadata.GetItems()
EC2InstanceMetadata.GetItems()
EC2InstanceMetadata.GetData()
EC2InstanceMetadata.GetData()
EC2InstanceMetadata.get_IdentityDocument()
EC2InstanceMetadata.get_Region()
new InstanceProfileAWSRegion()
FallbackRegionFactory.<>c.<Reset>b__12_3()
FallbackRegionFactory.GetRegionEndpoint()
FallbackRegionFactory.GetRegionEndpoint()
ClientConfig.GetDefaultRegionEndpoint()
ClientConfig.get_RegionEndpoint()
ClientConfig.get_DefaultConfiguration()
ClientConfig.get_DefaultConfigurationMode()
ClientFactory.CreateConfig()
ClientFactory.CreateServiceClient()
ClientFactory.CreateServiceClient()
CallSiteRuntimeResolver.VisitFactory() [2]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSiteMain() [3]
CallSiteRuntimeResolver.VisitCache() [3]
CallSiteRuntimeResolver.VisitRootCache() [3]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSite() [3]
CallSiteRuntimeResolver.Resolve() [2]
DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0() [2]
ServiceProviderEngine.GetService() [2]
ServiceProviderEngineScope.GetService() [2]
ServiceProviderServiceExtensions.GetRequiredService()
ServiceProviderServiceExtensions.GetRequiredService<Amazon.S3.IAmazonS3>()
S3ServiceExtensions.<>c__DisplayClass0_0.<AddImageflowS3Service>b__0()at C:\Users\lilith\Documents\GitHub\wimageflow-dotnet-server\src\Imageflow.Server.Storage.S3\S3ServiceExtensions.cs:line 18
CallSiteRuntimeResolver.VisitFactory() [1]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSiteMain() [2]
CallSiteRuntimeResolver.VisitCache() [2]
CallSiteRuntimeResolver.VisitRootCache() [2]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSite() [2]
CallSiteRuntimeResolver.VisitIEnumerable()
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSiteMain() [1]
CallSiteRuntimeResolver.VisitCache() [1]
CallSiteRuntimeResolver.VisitRootCache() [1]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSite() [1]
CallSiteRuntimeResolver.Resolve() [1]
DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0() [1]
ServiceProviderEngine.GetService() [1]
ServiceProviderEngineScope.GetService() [1]
ActivatorUtilities.ConstructorMatcher.CreateInstance()
ActivatorUtilities.CreateInstance()
UseMiddlewareExtensions.<>c__DisplayClass4_0.<UseMiddleware>b__0()
ApplicationBuilder.Build()
GenericWebHostService.<StartAsync>d__31.MoveNext()
AsyncMethodBuilderCore.Start<Microsoft.AspNetCore.Hosting.GenericWebHostService.<StartAsync>d__31>()
AsyncTaskMethodBuilder.Start<Microsoft.AspNetCore.Hosting.GenericWebHostService.<StartAsync>d__31>()
GenericWebHostService.StartAsync()
Host.<StartAsync>d__9.MoveNext()
AsyncMethodBuilderCore.Start<Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__9>()
AsyncTaskMethodBuilder.Start<Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__9>()
Host.StartAsync()
HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext()
AsyncMethodBuilderCore.Start<Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4>()
AsyncTaskMethodBuilder.Start<Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4>()
HostingAbstractionsHostExtensions.RunAsync()
HostingAbstractionsHostExtensions.Run()
Program.Main()

Prior to asking the DI container for the service, it is registered like so:
  services.AddAWSService<IAmazonS3>(new AWSOptions
  {
      Credentials = new AnonymousAWSCredentials(),
      Region = RegionEndpoint.USEast1
  });

It is then accessed
      services.AddSingleton<IBlobProvider>((container) =>
      {
          var logger = container.GetRequiredService<ILogger<S3Service>>();
          var s3 = container.GetRequiredService<IAmazonS3>(); // This line takes 30 seconds.
          return new S3Service(options, s3, logger);
      });

Expected Behavior
I would expect that the SDK would not pause exponentially on my developer machine (or in production)
Current Behavior
A 30 second delay
Reproduction Steps
See above
Possible Solution
No response
Additional Information/Context
info: AWSSDK[0]
      Using AWS credentials specified with the AWSOptions.Credentials property

It appears that this mess is caused by AWS trying to get the region endpoint, and failing, despite it being explicitly configured in code.
Here's another stack trace:

WaitHandle.WaitOneNoCheck()at C:\Users\lilith\AppData\Roaming\JetBrains\Rider2022.3\resharper-host\SourcesCache\916c3b86afbb53acf2ca9da9c4d356e4e2aa5a094e79e9777baad46806363\WaitHandle.cs:line 161
WaitHandle.WaitOne()at C:\Users\lilith\AppData\Roaming\JetBrains\Rider2022.3\resharper-host\SourcesCache\916c3b86afbb53acf2ca9da9c4d356e4e2aa5a094e79e9777baad46806363\WaitHandle.cs:line 406
AsyncHelpers.ExclusiveSynchronizationContext.BeginMessageLoop()
AsyncHelpers.RunSync<System.Net.Http.HttpResponseMessage>()
AWSSDKUtils.ExecuteHttpRequest()
EC2InstanceMetadata.FetchApiToken()
EC2InstanceMetadata.GetItems()
EC2InstanceMetadata.GetItems()
EC2InstanceMetadata.GetData()
EC2InstanceMetadata.GetData()
EC2InstanceMetadata.get_IdentityDocument()
EC2InstanceMetadata.get_Region()
new InstanceProfileAWSRegion()
FallbackRegionFactory.<>c.<Reset>b__12_3()
FallbackRegionFactory.GetRegionEndpoint()
FallbackRegionFactory.GetRegionEndpoint()
ClientConfig.GetDefaultRegionEndpoint()
ClientConfig.get_RegionEndpoint()
ClientConfig.get_DefaultConfiguration()
ClientConfig.get_DefaultConfigurationMode()
ClientFactory.CreateConfig()
ClientFactory.CreateServiceClient()
ClientFactory.CreateServiceClient()
CallSiteRuntimeResolver.VisitFactory() [2]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSiteMain() [3]
CallSiteRuntimeResolver.VisitCache() [3]
CallSiteRuntimeResolver.VisitRootCache() [3]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSite() [3]
CallSiteRuntimeResolver.Resolve() [2]
DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0() [2]
ServiceProviderEngine.GetService() [2]
ServiceProviderEngineScope.GetService() [2]
ServiceProviderServiceExtensions.GetRequiredService()
ServiceProviderServiceExtensions.GetRequiredService<Amazon.S3.IAmazonS3>()
S3ServiceExtensions.<>c__DisplayClass0_0.<AddImageflowS3Service>b__0()
CallSiteRuntimeResolver.VisitFactory() [1]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSiteMain() [2]
CallSiteRuntimeResolver.VisitCache() [2]
CallSiteRuntimeResolver.VisitRootCache() [2]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSite() [2]
CallSiteRuntimeResolver.VisitIEnumerable()
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSiteMain() [1]
CallSiteRuntimeResolver.VisitCache() [1]
CallSiteRuntimeResolver.VisitRootCache() [1]
CallSiteVisitor<RuntimeResolverContext, object>.VisitCallSite() [1]
CallSiteRuntimeResolver.Resolve() [1]
DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0() [1]
ServiceProviderEngine.GetService() [1]
ServiceProviderEngineScope.GetService() [1]
ActivatorUtilities.ConstructorMatcher.CreateInstance()
ActivatorUtilities.CreateInstance()
UseMiddlewareExtensions.<>c__DisplayClass4_0.<UseMiddleware>b__0()
ApplicationBuilder.Build()
GenericWebHostService.<StartAsync>d__31.MoveNext()
AsyncMethodBuilderCore.Start<Microsoft.AspNetCore.Hosting.GenericWebHostService.<StartAsync>d__31>()
AsyncTaskMethodBuilder.Start<Microsoft.AspNetCore.Hosting.GenericWebHostService.<StartAsync>d__31>()
GenericWebHostService.StartAsync()
Host.<StartAsync>d__9.MoveNext()
AsyncMethodBuilderCore.Start<Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__9>()
AsyncTaskMethodBuilder.Start<Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>d__9>()
Host.StartAsync()
HostingAbstractionsHostExtensions.<RunAsync>d__4.MoveNext()
AsyncMethodBuilderCore.Start<Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4>()
AsyncTaskMethodBuilder.Start<Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.<RunAsync>d__4>()
HostingAbstractionsHostExtensions.RunAsync()
HostingAbstractionsHostExtensions.Run()
Program.Main()

AWS .NET SDK and/or Package version used
AWSSDK.S3 <IP_ADDRESS> and AWSSDK.Extensions.NETCore.Setup 3.7.4
Targeted .NET Platform
.NET 7
Operating System and version
Windows 11

Here's a repro project: https://github.com/lilith/aws-pauses-exponentially
All this does is (a) AddAWSService, (b) .GetRequiredService(); inside AddSingleton, and (c) .UseMiddleware to trigger requisition of said singleton. It may be possible to further simplify, but since this is only a few lines, It's probably not helpful.

Hi @lilith,
Good afternoon.
Thanks for reporting the issue. Upon further analysis of SDK code, EC2InstanceMetadata.PauseExponentially() is the exponential retry option in cases where credentials could not be fetched from EC2 instance metadata service. I do see in your code that you are using Credentials = new AnonymousAWSCredentials() while configuring default AWS options. When you run your code locally, credentials are resolved per resolution order mentioned in Credential and profile resolution. In case SDK is unable to find credentials in the order, it reaches the last generator, which is EC2 instance metadata. Since your local machine might not be an EC2 instance, it ultimately fails, while trying exponential retry backoff. For credential resolution via EC2 instance metadata, the exponential backoff is determined by the following constants defined in the code:
DEFAULT_RETRIES = 3,
MIN_PAUSE_MS = 250,
MAX_RETRIES = 3,
DEFAULT_APITOKEN_TTL = 21600;

So in total the credential resolution in your case might be taking 30 seconds.
Could you please advise how credentials are configured for your application?
Thanks,
Ashish

I don't want to use credentials. I want to make anonymous requests to public buckets and blobs. How, other than using AnonymousAWSCredentials, can I accomplish this? I also do not want to have 30 seconds of downtime each deploy.

EC2InstanceMetadata.get_Region()

@lilith My apologies, I think I misread the call stack. Looks like it is trying to resolve the region from EC2InstanceMetadata based on the stack:
aitHandle.WaitOneNoCheck()at C:\Users\lilith\AppData\Roaming\JetBrains\Rider2022.3\resharper-host\SourcesCache\916c3b86afbb53acf2ca9da9c4d356e4e2aa5a094e79e9777baad46806363\WaitHandle.cs:line 161
WaitHandle.WaitOne()at C:\Users\lilith\AppData\Roaming\JetBrains\Rider2022.3\resharper-host\SourcesCache\916c3b86afbb53acf2ca9da9c4d356e4e2aa5a094e79e9777baad46806363\WaitHandle.cs:line 406
AsyncHelpers.ExclusiveSynchronizationContext.BeginMessageLoop()
AsyncHelpers.RunSync<System.Net.Http.HttpResponseMessage>()
AWSSDKUtils.ExecuteHttpRequest()
EC2InstanceMetadata.FetchApiToken()
EC2InstanceMetadata.GetItems()
EC2InstanceMetadata.GetItems()
EC2InstanceMetadata.GetData()
EC2InstanceMetadata.GetData()
EC2InstanceMetadata.get_IdentityDocument()
EC2InstanceMetadata.get_Region()
new InstanceProfileAWSRegion()
FallbackRegionFactory.<>c.<Reset>b__12_3()
FallbackRegionFactory.GetRegionEndpoint()
FallbackRegionFactory.GetRegionEndpoint()
ClientConfig.GetDefaultRegionEndpoint()

I guess it is using the anonymous credentials per your scenario to access public buckets and is working fine.
Based on the call stack, EC2 instance metadata class:

Tries to get region via EC2InstanceMetadata.Region
This uses property named IdentityDocument which tries to get information from /instance-identity/document exposed via metadata endpoint.
This process uses DEFAULT_RETRIES value 3 to retry exponentially.

On you local development, this process would fail since it would retry 3 times, pausing exponentially in between.
Please advise how is region configured in your application? In order to avoid region resolution, the possible workaround would be to configure region for S3 client based on region resolution order.
Thanks,
Ashish

I created a repository and whittled a reproducible project down for you as mentioned earlier:
https://github.com/lilith/aws-pauses-exponentially/blob/main/Startup.cs#L50-L64
services.AddAWSService<IAmazonS3>(new AWSOptions
            {
                Credentials = new AnonymousAWSCredentials(),
                Region = RegionEndpoint.USEast1
            });

Region is being set in AWSOptions.
As an aside, I never personally use EC2 and would love to turn off all that nonsense for my personal apps. For the purposes of the Nuget libraries, I need a way to provide users with S3 integration without killing their uptime.

I created a repository and whittled a reproducible project down for you as mentioned earlier:
https://github.com/lilith/aws-pauses-exponentially/blob/main/Startup.cs#L50-L64
services.AddAWSService<IAmazonS3>(new AWSOptions
            {
                Credentials = new AnonymousAWSCredentials(),
                Region = RegionEndpoint.USEast1
            });

Region is being set in AWSOptions.
As an aside, I never personally use EC2 and would love to turn off all that nonsense for my personal apps. For the purposes of the Nuget libraries, I need a way to provide users with S3 integration without killing their uptime.

@lilith Thanks for your response. I will investigate to determine what is happening and provide you updates accordingly.

Also, I think it's really not a good choice to have network calls occur synchronously during application startup, for (a) speed, (b) reliability, and (c) since this behavior is completely hidden from users. That kind of dangerous behavior should require explicit opt-in. Fail fast by default, please.

You can set the AWS_EC2_METADATA_DISABLED environment variable to false to disable the EC2 instance metadata lookup.

Yes, but I'm shipping libraries not applications.

And when AWSSDK.dll causes issues in my libs, they get filed on my repos, not yours.

Ideally, I'd like there to be a way - via C# - to make the sdk well-behaved.

Interesting adding an S3 client with Anonymous credentials to the DI as a library. Hope your use cases won't interfere with other cases an application might be relying on an IAmazonS3 in the DI with credentials.
Thanks for the repo code. I stepped through the code and it looks like the SDK is getting tripped up determining the DefaultConfigurationMode which goes to EC2 instance metadata. We should figure out how to prevent that from happening in use cases like yours.
For a work around if you explicitly set the DefaultConfigurationMode like below that fixed the slowness for me.
services.AddAWSService<IAmazonS3>(new AWSOptions
{
    Credentials = new AnonymousAWSCredentials(),
    Region = RegionEndpoint.USEast1,
    DefaultConfigurationMode = DefaultConfigurationMode.Standard
});

No, in this instance the library consumer is responsible for calling .AddAWSService(), but there are cases where an anonymous client is needed in a library (direct, not DI) and those cases had a similar issue.
Thank you for the workaround, I'll push this change to the many example projects and docs that use .AddAWSService()

I noticed the docs mention that behavior of DefaultConfigurationMode.Standard may change over time. Is there an option that can explicitly opt-out of high-latency behavior permanently?

Not sure what you mean by high-latency behavior in this case. Are you talking about the bug that is triggering the slowness creating service clients that you reported? Under the covers DefaultConfigurationMode is always resolved, but in your case there is a bug that it should not trigger an EC2 metadata lookup. So the only way to avoid that is skip the auto resolution and explicit set it.
I should have been more clear and mentioned the actual default used by the SDK is Legacy if no environment factors, like environment variables, cause us to detect a different mode. Legacy won't change as long we are on this major version of the SDK. But the settings for Standard are more modern especially for retry behavior.

For example, if I wish to ensure that configuration will not be acquired over the network - that it will come from env vars or other locally, instantly accessible data stores, what would I set? What if I only want to all configuration to be loaded via code?

The actual configuration is not acquired over the network, the SDK looks at the environment to figure out which of the modes to use. For S3 you can see here where the configurations are defined. https://github.com/aws/aws-sdk-net/blob/82ec756de374a6a2d0dce55df00b537a6929a577/sdk/src/Services/S3/Generated/AmazonS3DefaultConfiguration.cs#L54

@lilith Please advise if the inputs provided by @normj provides necessary guidance/workaround, and if we are good to close the issue.

As I understand it, there is an open bug here. I don't understand why this
would be closed.
On Tue, Feb 28, 2023, 11:10 AM Ashish Dhingra @.***>
wrote:

@lilith https://github.com/lilith Please advise if the inputs provided
by @normj https://github.com/normj provides necessary
guidance/workaround, and if we are good to close the issue.
—
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-sdk-net/issues/2546#issuecomment-1448643401,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2LHY7JMWYHKLXJ4UVIZTWZY5QLANCNFSM6AAAAAAVGOUHXM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just for reference, when the region is explicitly set, in default configuration mode it is still probing for region, ultimately failing at EC2 instance metadata. In this case, implicit default configuration mode should not do region lookup.


NYU test set predictions

Hi,
Thanks for sharing your work! It's an exciting result.
Could you please share the predictions on NYU-Depth v2 in raw 16-bit PNG format for easy comparison? Thanks

Hi,
Thanks for your interest in our work and the advice. We have updated our code and README.md for visualizations in raw 16-bit PNG. We provide the results of VPD here.

awesome, thanks!


wormhole code typo correction via eg soundex

The wormhole receive tab completion is great, but some users may not know about tab completion. And some of us have a hard time spelling words like "phoenetic" :) Wonder if it would be useful to do some kind of typo correction on the entered wormhole code?
Soundex could be used to guess that my "phoenetic" is supposed to be "phonetic" and convert the typoed code into a probably correct one. Of course, it only gets one guess.
The --code option complicates matters, since perhaps the code intentionally mispelled "phoenetic". I don't know what to do about that!

Yeah, the rule is that people can use whatever codes they want, so the tab-completion is just a hint. I have plans (#26) to let the receiver know what wordlist was used (mostly for i18n), to modify or disable tab-completion when it wouldn't be helpful, so at least it won't drag them in the wrong direction.
I'm intrigued by the soundex idea, though. Do you happen to know if libreadline lets you remove previously-typed characters? I'm imagining something vaguely like how Emacs will tab-complete foobar<TAB> into foolish-bar.txt if it can find a target filename that can be reached from what you've already typed by adding interstitial characters. For us, it'd be 4-foobar<TAB> being replaced by 4-foobearish- if foobar was not a prefix of anything, but it was a close soundex match for something else.
Or maybe just modify the readline completion helper function to print extra messages if it sees a close match? So TAB wouldn't automatically change anything, but instead of a list of potential prefix-matching words, you see a Um, did you mean 'foo', like what happens if you run git blarg (git: 'blarg' is not a git command. Did you mean this? "blame").

If #26 lets the receive side know what worldlist is being used, it could use soundex automatically to try to correct any words that are not in that wordlist. So the UI would not need to give any feedback.