CLI for listing available versions of a library

WIP effort to solve https://github.com/babashka/neil/issues/16.
TODO:

[ ] Doesn't work for git deps. What should we do here? Not sure.
[ ] Remove teodor-notes.org before merging
[ ] Consider removing comment about Clojars API lacking a way to limit the number of recent versions
[ ] Remove neil dep add CLI entrypoint
[ ] Squash / cleanup git history
[x] Remove printlns and pprints.

I'm generally making a mess of my Git history. Squashing is one option. Perhaps just starting from scratch makes more sense, this isn't a lot of code.

I'm just going to remove neil dep add entrypoint.
Before:
https://github.com/teodorlu/neil/blob/837c42631b9287f6fc7058ff0335c0acc36950e8/src/babashka/neil.clj#L381-L388
Now:
https://github.com/teodorlu/neil/blob/0c566c42c61e82e8535e22e1044d266fd5e5cc9f/src/babashka/neil.clj#L381-L385

The git? logic currently doesn't make any sense. You don't specify a version :sha to list versions.
(defn dep-versions [opts]
  (let [lib (or (:lib opts)
                (first (:cmds opts)))
        lib (symbol lib)
        git? (or (:sha opts)
                 (:latest-sha opts))
        versions (if git?
                   ::todo
                   (or (seq (clojars-versions lib opts))
                       (seq (mvn-versions lib opts))))]
    (doseq [v versions]
      (println :lib lib :version v))))

New solution: look for coordinates on Clojars / Maven. If the coordinates are not found, print error and return with an error code.
(defn dep-versions [opts]
  (let [lib (or (:lib opts)
                (first (:cmds opts)))
        lib (symbol lib)
        versions (or (seq (clojars-versions lib opts))
                     (seq (mvn-versions lib opts)))]
    (if-not versions
      (binding [*out* *err*]
        (println "Unable to find" lib "on Clojars or Maven.")
        (System/exit 1))
      (doseq [v versions]
        (println :lib lib :version v)))))

@teodorlu Is this PR ready?
About: Squash or cleanup git history
Not needed, I'll just squash/merge, after you remove anything you'd still like to remove.

@borkdude If squash & merge is fine - go for it!


Output k2hb common

Outputting k2hb security group id to be used for monitoring.

terraform fmt did many things

terraform fmt did many things


Adding Shiny attribute to Pokemon

See #5975
Adding attribute "Shiny" to pokemons.

Thanks for the PR
You would need to fix tests as well...
You can run tests at any time:
`  python -m unittest discover -v -p "*_test.py"
if you need help with that , step by to discord. :)

by fixing test I mean, modify code of tests so it matches actual results that tests results right now

I'll look into that! Thanks for the pointer!
Op 27 mrt. 2017 13:21 schreef "pogarek"<EMAIL_ADDRESS>
by fixing test I mean, modify code of tests so it matches actual results
that tests results right now
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/pull/5979#issuecomment-289405120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD5Y4dUJIzA7s0GcvNa7Xq_CQ73BXWdks5rp4UegaJpZM4Mp6Vh
.

@davidakachaos Did you miss out the shiny variable in pokemon_vip_caught and pokemon_caught event?

@pogarek fixed the tests 😄

👍

merged #5979


Update eslint-plugin dependencies for eslint@8 support

Description
Update eslint-plugin dependencies so that the plugin works with eslint@8

[x] eslint-plugin-import
[ ] @typescript-eslint waiting on v5 changes

Type of change

[x] @shopify/eslint-plugin Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish a new version for these changes)

I'm not sure if we have a process or policy against this, but the @typescript-eslint issues says that they have an RC available under the tag rc-v5. Is it acceptable to close this issue out by using that and then creating another to follow up and integrate the official release once its ready? Or is the a dependabot that would do that for this project?

I'll be taking on updating eslint-plugin so that it uses the newest versions of the various plugins, and supports eslint v8 in the next few days. I'll be doing the same thing with the stylelint-plugin to make sure it has support for stylelint v14 too.

Thanks @BPScott - sorry for the delay on my end, I was out unexpectedly for bereavement leave and have been catching up on lots of things this week.  If it's helpful please continue using the work in this PR (but no worries if you prefer to start fresh)

Closing in favour of #305


net/tcp/sendfile: TCP retransmission could not start because of incorrect snd_ackcb callback handling

Summary
Both the snd_ackcb and snd_datacb callbacks were created and destroyed right after sending every packet.
Whenever TCP_REXMIT event occurred due to TCP send timeout, TCP_REXMIT was ignored because
snd_ackcb callback had been destroyed by the time.
The issue is fixed as follows:

both the snd_ackcb and snd_datacb callbacks are combined into one snd_cb callback
(the same way as in tcp_send_unbuffered.c).
the snd_cb callback lives until all requested data (via sendfile) is sent,
including all ACKs and possible retransmissions.

As a positive side effect of the code optimization / fix, sendfile TCP payload throughput is increased (the TCP payload throughput of tcp_sendfile is increased from 234 Mbit/s up to about 432 Mbit/s (sim:tcpblaster config on my Linux setup)).
Impact
TCP sendfile
Testing
Activate emulating packet loss on Linux host:
$ sudo iptables -A INPUT -p tcp --dport 5471 -m statistic --mode random --probability 0.01 -j DROP
Build NuttX:
$ ./tools/configure.sh -l sim:tcpblaster
$ make menuconfig (enable CONFIG_NETUTILS_NETCAT_SENDFILE, disable CONFIG_NET_TCP_WRITE_BUFFERS)
$ make

Enable TUN/TAP on Linux host:
$ sudo setcap cap_net_admin+ep ./nuttx
$ sudo ./tools/simhostroute.sh wlan0 on

Start iperf on Linux host:
$ iperf -s -p 5471 -i 1 -w 416K
Run NuttX on Linux host:
$ ./nuttx
NuttShell (NSH) NuttX-10.2.0
nsh> ifconfig eth0 <IP_ADDRESS>
nsh> ifup eth0
ifup eth0...OK

Start Wireshark (or tcpdump) and capture appeared tap0 interface.
Run netcat in NuttX:
nsh> dd if=/dev/zero of=/tmp/test.bin count=1000
nsh> netcat LINUX_HOST_IP_ADDRESS 5471 /tmp/test.bin

Observe packet loss -> TCP Retransmissions in TCP dump.
Deactivate emulating packet loss on Linux host:
$ sudo iptables -D INPUT -p tcp --dport 5471 -m statistic --mode random --probability 0.01 -j DROP
Run netcat in NuttX:
nsh> dd if=/dev/zero of=/tmp/test.bin count=10000
nsh> netcat LINUX_HOST_IP_ADDRESS 5471 /tmp/test.bin
nsh> poweroff

iperf on Linux host:
$ iperf -s -p 5471 -i 1 -w 416K
------------------------------------------------------------
Server listening on TCP port 5471
TCP window size:  416 KByte
------------------------------------------------------------
[  4] local <IP_ADDRESS> port 5471 connected with <IP_ADDRESS> port 25367
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 0.1 sec  4.88 MBytes   432 Mbits/sec

Disable TUN/TAP on Linux host:
$ sudo ./tools/simhostroute.sh wlan0 off

Just now I have removed temporary lines that I used for debug and forgot to remove.


✨ Add reset button

Closes #17.

Build succeeded!
Built with commit 95a3a2a53840e547829480230711db386b5c697e
https://deploy-preview-35--padpad.netlify.com


wagtailmenus is dead?

https://github.com/jazzband/wagtailmenus/issues/335#issuecomment-975425406

Unfortunately this project is dead. No one is currently maintaining this package any more.
You should consider to avoid this package, because currently it is not supporting the newer wagtail versions..
(Hopefully this changes soon)

Is this Project really dead? The comment was 2021, and there are still commits - just asking if I should use it or not...

Wagtailmenus is not in active development, but it is being maintained.
If you open an issue, we will to look into it. If you open a PR, we will review it and likely add it to the project.
But you have to bear in mind that we are unpaid maintainers. Sometimes life gets in the way, so we may not respond as quickly as you would like.
We certainly encourage the community to support this project with PRs and I would love to see yours someday! ❤
With that said, I'm closing this issue.

Perfect, that's what I wanted to know. I am using it already, and who knows, maybe I can add something useful to it. Thanks for maintaining.


Spawn particles on enemy death

When the enemy dies they just disappear. We should create some kind of explosive particle system.

When the enemy dies they just disappear. We should create some kind of explosive particle system.

As an enhancement maybe a specific particle effect for different types of enemies.

[ ] Add a death particle effect to the EnemyController
[ ] Play the particles on death
[ ] Add an audio effect to be played on death
[ ] Trigger the audio
[ ]


Fix high severity npm audit issue with minimist package

Fixes security issue flagged by npm audit.

Fixed in #76


Can TensorRT models analyze the maximum batch size?

When I converted an ONNX file to a TensorRT file using trtexec with the following settings:
trtexec --onnx=models/best.onnx --saveEngine=model.plan --minShapes=images:1x3x640x640 --optShapes=images:1x3x640x640 --maxShapes=images:16x3x640x640 --explicitBatch --useCudaGraph
However, when I tried to run the model analyzer using the following command:
model-analyzer profile --model-repository=/home/iesai/disk1/PycharmProjects/lb/test_tritionserver/FireSmokeDetection --profile-models=FireSmokeDetection --output-model-repository-path /home/iesai/disk1/PycharmProjects/lb/test_tritionserver/FireSmokeDetection/output_model_repo --triton-launch-mode=docker --override-output-model-repository
I encountered the following issues:
[Model Analyzer] Initializing GPUDevice handles
[Model Analyzer] Using GPU 0 NVIDIA GeForce RTX 3090 with UUID GPU-5a8a5a91-c6fc-dafd-9416-2182ba0980e5
[Model Analyzer] Using GPU 1 NVIDIA GeForce RTX 3090 with UUID GPU-f4081791-cabd-c96b-5a56-3c16a24d970a
[Model Analyzer] WARNING: Overriding the output model repo path "/home/iesai/disk1/PycharmProjects/lb/test_tritionserver/FireSmokeDetection/output_model_repo"
[Model Analyzer] Starting a Triton Server using docker
[Model Analyzer] No checkpoint file found, starting a fresh run.
[Model Analyzer] Profiling server only metrics...
[Model Analyzer] Stopped Triton Server.
[Model Analyzer] Starting a Triton Server using docker
[Model Analyzer] Stopped Triton Server.
[...]
[Model Analyzer] Creating model config: FireSmokeDetection_config_0
[Model Analyzer] Enabling dynamic_batching
[Model Analyzer] Setting instance_group to [{'count': 1, 'kind': 'KIND_GPU'}]
[Model Analyzer] Setting max_batch_size to 1
[Model Analyzer]
[Model Analyzer] Model FireSmokeDetection_config_0 load failed: [StatusCode.INTERNAL] failed to load 'FireSmokeDetection_config_0', failed to poll from model repository
[Model Analyzer] Stopped Triton Server.
[...]
[Model Analyzer] Saved checkpoint to /workspace/checkpoints/0.ckpt
[Model Analyzer] Profile complete. Profiled 1 configurations for models: ['FireSmokeDetection']
[Model Analyzer]
[Model Analyzer] To analyze the profile results and find the best configurations, run model-analyzer analyze --analysis-models FireSmokeDetection

What version of Model Analyzer/Triton server are you running on? The "To analyze the profile results..." is a very old message. Is it possible for you to run this on the most recent MA/tritonserver?
The error you are receiving is because the model fails to load on the tritonserver. Have you confirmed that the model can load successfully on the server (not using MA)?

@lilili111a we haven't heard back from you on this. Let us know if there are still issues you are facing.

Closing issue due to inactivity.


Add on-chip voltage regulator (VREG) voltage setting function

Added an on-chip voltage regulator voltage setting function.
Increasing core voltage may be necessary for overclocking. Implemented with reference to hardware_vreg in pico-sdk.

Reduced test cases and improved documentation comments.

As one might expect from the slope of this graph, 0.80V may not work at the default system clock frequency.

https://forums.raspberrypi.com/viewtopic.php?t=301902&start=50#p1820686
However, the RP2040 C/C++ SDK has a minimum voltage of 0.85V, so 0.80V seems like an unusual value.
I tested at the default system clock frequency and 0.80V did not work. The 0.85V did work, but there is no guarantee that it will work with all RP2040s.

What I mean is that the tests as implemented there do not provide anyproof that things are:

implemented correctly
actually work understress

Writing to and Reading from a register is trivial enough that I don’t think it requires an on-target tests.
For example, if there’s a possibility to actually verify that the voltage is applied as expected that would make a good test case.
EG, if the core voltage is exposed to an external pin that can easily be probed with an ADC, and the tests were to sample that value and check it matches the configuration, that would be great.

@ithinuel

EG, if the core voltage is exposed to an external pin that can easily be probed with an ADC, and the tests were to sample that value and check it matches the configuration, that would be great.

With the Raspberry Pi Pico, that is impossible.
Unfortunately, it appears that the test has to be removed.


Error while running the asic demo

I am getting an error when I try to run the asic demo.
I am on Ubuntu 22.04 and the python version I am using is 3.10.13
Can anyone please help me with this

Hi there,
Sorry for the inconvenience. There is a bug in the client with v0.16.0 which causes the remote flow not to work. We should have a patch shortly.
If you are able to modify your installation, you should be able to work around the issue by replacing the following two lines here:
-     chip.set('arg', 'step', preset_step)
-     chip.set('arg', 'index', preset_index)
+    chip.set('option', 'from', 'syn')
+    chip.set('option', 'to', 'export')

We should have a more complete fix soon. Thank you for trying SiliconCompiler, and sorry again for the confusion.

@prathiksha97 @Vinayakamk a new release with the fix was pushed: https://github.com/siliconcompiler/siliconcompiler/releases/tag/v0.16.1

Thank you, It is working!


Feature: Single-owner lock type

While BiLock is quite useful for stream type, a traditional style lock is still useful.

Certainly! This is only left out as it's not implemented yet. The BiLock type was immediately useful and easy to implement, which is basically the only reason it exists.

This has been implemented as futures::lock::Mutex.


Add a way to use swipe gestures to switch between the counters

There's been plenty of feedback about having a simpler way to switch between counters. Using the menu can be somewhat tedious. Swiping seems like a nice way to solve this problem.

Can potentially use https://developer.android.com/reference/androidx/viewpager2/widget/ViewPager2?hl=en.


google protobufs dependency

This module uses :google_protobufs in some of its tests, which now interacts with consuming classes.  Can we have good protobuf testing without using external modules containing their own definitions?

in examples/helloworld we added a git submodule for the google protobufs and generated the types directly while checking for cross support between protobuf_elixir and protobuf_generate.  Since we generate our own types in the example, and for our test modules, we can do so for the test modules as well.  This would allow us to reduce our package dependencies as a library


Update Jenkinsfile

Jenkisfile is pointing to bitbucket VCS. Change it to Github

I'll work on this


Fix order history comments

Call of order.change_status generates history entries without comment.

Order.change_status should not create new history entry. Order.create_history_entry should be used everytime we want to create new order history entry.


feat(jmeter): Added a quickstart for JMeter

Summary
This PR is to add JMeter dashboard and alerts to Quickstarts. The dashboard includes 9 charts and replicates views from the JMeter application that users monitor when running tests. The 2 alert conditions notify users when tests start failing or when test latency exceeds the configured threshold.

Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you include a Data source and Documentation reference?
[x] Are all documentation links publicly accessible?
[x] Did you check your descriptive content for voice and tone?
[x] Did you check your descriptive content for spelling and grammar errors?
[ ] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[x] Does the PR contain a screenshot for each of your dashboards?
[x] Do your screenshots show data?
[x] Has the sanitization script been run on each dashboard?

Alerts

[x] Did you check that your alerts actually work?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@munwarm Looks like I missed an approval step in the pipeline - should be available now!

I'm able to search JMeter but this link still does not work.
https://newrelic.com/instant-observability/jmeter
Returns a Page not found error.

@munwarm Thanks for calling that out! Looks like there was a caching issue on the site. Should be resolved now.


有没有MACD 均线 RSI这些指数

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

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):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

这些指标很容易计算的，gpt一下就行，或者利用一些开源的包，也可以快速计算


NTVS links on other properties point to old location

The link on the rotating banner on the page at http://azure.microsoft.com/en-us/develop/nodejs/ points to https://nodejstools.codeplex.com/ .
Also the link in the footer at https://www.visualstudio.com/features/node-js-vs also points to https://nodejstools.codeplex.com/
Both of these should be updated to use fwlinks or aka.ms links so we can keep them current.

These pages have both been updated since this bug was originally opened. They now point to the correct locations as far as I can tell.


changed readme

Overview
This pull request includes updates to the WildGuard project, enhancing its functionality and user experience.
Changes Made
Improved the donation feature for better user interaction.
Fixed bugs that caused crashes on mobile devices.
Enhanced the user interface for better accessibility.
Updated the README.md to provide clearer contribution instructions.
Testing
All changes have been tested to ensure they work as intended.

Awesome contribution to Hacktoberfest'24! 🎉 Your work is super valuable. Keep up the great work!


Not working

The file not working properly on windows

If you really have an issue please open it again precising what it is.
Since wwhat you are saying absolutely not describes your problem, I am closing the issue.


New package: FastAI v0.1.0

Registering package: FastAI
Repository: https://github.com/FluxML/FastAI.jl
Created by: @lorenzoh
Version: v0.1.0
Commit: 9cafd1e6d0d74c8b6cbf7da38993ea94e00aa78a
Git reference: HEAD

I would like this pull request to be merged despite the name similarity. As the approved Julia version of the original fastai, the name carries some recognition value. The similarly named packages also seem to have been inactive for more than a year now.

Does that mean within 3 days or after 3 days? I was planning this release to before JuliaCon, when the name similarities caught me off guard; let me know if I can do something to speed this up in the latter case :)

Name similarity is not a problem. Expedited merging by request.


Field binding for custom input components

Description:
Custom components that act as a custom form input might take advantage of the field context, in other words it should have access to the field data that is being maintained by vee-validate internally which should have these benefits:

If the component is invalid or not or access to the field flags (The component may update style or Its UI depending on the flags).
The component's field errors (the component may choose to display error messages).

This should reduce the amount of properties needed to create a custom component, for example Vuetify receives error messages as props,  this update should make it possible to avoid sending these redundant data.
It also encourages the "Components as Inputs" style vs The "Self validating components" Which is what I consider a better practice than the later.
Currently I'm drafting the feature as an Opt-in via the $_veeValidate property on the component Ctor options:
export default {
  $_veeValidate: {
    fieldCtx: true // give me access to the field that I represent
  }
};

Then it would be available via the $_veeValidate.field` attribute:
console.log(this.$_veeValidate.field.flags);
console.log(this.$_veeValidate.field.errors);

No breaking changes are introduced by this feature and should be straightforward to implement.

After testing, this change is unnecessary at the moment and could complicate the already poorly documented parts of the library.


Restricted Airspaces

https://eaup.vatsim.pt/api/v1/dfs/areas/

Backend part is done 949f319d81dca04838c933241e164eb0c6d59a5d.


chore(deps): update all non-major dependencies

This PR contains the following updates:

Package
Update
Change

grpcio-tools
minor
==1.54.0 -> ==1.57.0

grpclib
patch
==0.4.3 -> ==0.4.5

Release Notes

vmagamedov/grpclib (grpclib)
v0.4.5
Compare Source
v0.4.4
Compare Source

Configuration
📅 Schedule: Branch creation - "* 12 1 3,9 *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

docs issue unrelated, merging


main-cron: pulsar source check failed due to result mismatching

https://buildkite.com/risingwavelabs/main-cron/builds/522#018859b2-5de7-4ee1-a7fa-627a532c4b57
https://buildkite.com/risingwavelabs/main-cron/builds/523#01885ed0-6572-4fb8-9594-b36c890825e9
https://buildkite.com/risingwavelabs/main-cron/builds/524#018863f6-ac92-472a-bf8f-2c15eecae1cb

closed #9948
@tabVersion is working on it

@Honeta changed the data on the remote side by mistake. Will fix it soon.

fixed. sorry for that :(

fixed. sorry for that :(

keep an eye on tomorrow's test results and make sure if it fixes the bug

i can trigger the main-cron test on Buildkite if the fix PR is opened

Member

The problem is in astra streaming, not risingwave. I have made changes at the remote end, please run main-cron again.

i can trigger the main-cron test on Buildkite if the fix PR is opened

The problem is in astra streaming, not risingwave. I have made changes at the remote end, please run main-cron again.

https://buildkite.com/risingwavelabs/main-cron/builds/525

It passed.


Bug: Tracer escape hatch does not expose full AWSXRay api

Expected Behavior
Based on the documentation
Escape hatch mechanism

You can use tracer.provider attribute to access all methods provided by the AWS X-Ray SDK.

But this is not true. It only re-exposes a subset of methods.
see https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/packages/tracer/src/provider/ProviderService.ts
In my case I wanted to overwrite the setStreamingThreshold() method which is not implemented.
Current Behavior
An error is thrown because the method is not implemented
Code snippet
const tracer = new Tracer({ serviceName: "serverlessAirline" });
tracer.provider.setStreamingThreshold(1);

produces an error.
{
  "errorType":"TypeError",
  "errorMessage":"tracer.provider.setStreamingThreshold is not a function"
 //  ....
}

### Steps to Reproduce

see code snippet

### Possible Solution

1. update docs
2. implement/proxy all methods

### Powertools for AWS Lambda (TypeScript) version

latest

### AWS Lambda function runtime

20.x

### Packaging format used

Lambda Layers

### Execution logs

```Shell
{
"errorType":"TypeError","errorMessage":"tracer.provider.setStreamingThreshold is not a function","trace":["TypeError: tracer.provider.setStreamingThreshold is not a function","    at Object.<anonymous> (/var/task/index.js:6:17)","    at Module._compile (node:internal/modules/cjs/loader:1358:14)","    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)","    at Module.load (node:internal/modules/cjs/loader:1208:32)","    at Module._load (node:internal/modules/cjs/loader:1024:12)","    at Module.require (node:internal/modules/cjs/loader:1233:19)","    at require (node:internal/modules/helpers:179:18)","    at _tryRequireFile (file:///var/runtime/index.mjs:1002:37)","    at _tryRequire (file:///var/runtime/index.mjs:1052:25)","    at _loadUserApp (file:///var/runtime/index.mjs:1081:22)"]}

Hi @RaphaelManke, we'll get the docs changed and clarify that we expose only some methods.
Regarding the one you want to overwrite, when working on Lambda the streaming threshold must be set to 1, meaning a segment is sent to X-Ray as soon as it's closed.
This is to avoid data loss.

I should add that if you really want to change the threshold, you can import the function directly from aws-xray-sdk-core and it'll take effect.

Thanks for the fast feedback 😃
Yes I noticed
const AWSXRay = require("aws-xray-sdk-core");

AWSXRay.setStreamingThreshold(1);

also works 😃 maybe that could be mentioned in the new escape hatch docs.
In my Usecase I want to redirect the xray udp packages to an lambda extension. This is not working as expected right now and then I found in the xray sdk doc https://docs.aws.amazon.com/xray-sdk-for-nodejs/latest/reference/segments_segment_utils.js.html
that the default is 100 and so I tried to lower that value.
You referenced link shows that the threshold is actually set to 0 which I can confirm in the logs.
So my problem seems to be somewhere else (or maybe I just oversaw something and it's actually working). But that not relevant for this issue 😆

Hey @RaphaelManke and @dreamorosi! My 2 cents here..
In Python we enforce threshold to be zero, so we make sure we are overriding the SDK default value which is 30. But in NodeJs looks like that the SDK does this automatically when running in Lambda, which is cool.
@RaphaelManke just out of curiosity. In your case, is this not working to configure/send the batch size, or are you having trouble configuring the redirect of the xray agent's default IP/port?

@leandrodamascena
I am building a POC that sends xray data to a sqs queue using the lambda extension api
Based on that
https://github.com/aws-samples/aws-lambda-extensions/tree/main/nodejs-example-telemetry-api-extension
I experienced some timing issue that the message weren't yet passed to the "offload queue".
For now a delay fixed it.
The final POC solution should look like this

But this is all not related to this issue 😅  I am happy to discuss that on discord (either BelieveInServerless -> Observability or Powertools)


how to get the 'txt_feat, txt_feat_mismatch, txt_feat_relevant'?

Hi, I read your paper and try to implements it by myself, I don't know how to get the 'txt_feat_mismatch' and 'txt_feat_relevant', I can't understand that your step in the '/train-preprocess'  , why we can't get it use 'np.roll()', am Imiss something? Please help,  Thanks for you patient.

@huangtao36 Actually, I'm not the author of the paper. As far as I know, txt_feat_mismatch means all image-text pairs in a batch are mismatched, and txt_feat_relevant refers to the batch that contains both matched and mismatched pairs. Thus, you can use np.roll() for txt_feat_mismatch.

Thank you for your reply, I am still confused about this.
In a batch, np.roll()  is just shuffle the caption of each picture, like txt_feat_mismatch = torch.Tensor(np.roll(txt_feat_np, 1, axis=0)), is looping through a unit within a batch,
also the txt_feat_relevant ：
txt_feat_np_split = np.split(txt_feat_np, [txt_feat_np.shape[0] // 2])     txt_feat_relevant = torch.Tensor(np.concatenate([         np.roll(txt_feat_np_split[0], -1, axis=0),         txt_feat_np_split[1]     ]))
it is split it and roll, also in a batch.  Why it cat guaranteed to be mismatch or relevant?

@huangtao36 In txt_feat_relevant, half of examples are mismatched after np.roll(), and another half are matched. Regardless of implementation, the key of relevant is to mix up positive and negative pairs together.


bleOnDemand implementation

Hi!,
Here an OnDemand implementation!, to send commands with connections on demand and a new command status, to get light/position/battery on demand too.
Please, take a look!
All the best,
BIV

Hi!,
I added the docs for ondemand mode :)
All the best,
BIV

@T-REX-XP @buxtronix Its good to go?

Yep, just got around to testing it.


feat(mails): adjust parameter for mail templates

Description
Adjust the links the all mail templates
Why
To have the correct links in the mails
Issue
N/A - Jira Issue: CPLP-3457
Depending Backend PR
#330
Checklist

[x] I have performed a self-review of my changes
[x] I have successfully tested my changes
[x] I have added comments in the default values.yaml file with helm-docs syntax ('# -- ') if relevant for installation
[x] I have commented my changes, particularly in hard-to-understand areas

you probably didn't intend to commit the changes to the localdev chart, right?

No you're right, that wasn't intended. reverted the changes.


calibration: provide error estimates for kappa and Rd

Why this PR?
Currently, we provide error estimates for the parameters fitted when fitting the passive calibration spectrum.
Of interest are the estimation errors on kappa and Rd however. This PR does some basic error propagation to provide an error estimate for those quantities.
Note that these error estimates propagate errors that arise from fitting which neglects errors in temperature, height above the surface and viscosity (which likely dominate the experimental error, but for which we need pieces of information that are experiment-dependent (e.g. bead variability, how much the laser warms up the fluid, z-drift etc)). Note that they also assume sufficient blocking and averaging has taken place.

looks good, but double check in the docs I think there's some places we print out the results structure where these new ones should be included now

Good point. We had two in the force calibration tutorial. I replaced them now.


Sort by name?

Right now the Waymark Library list is not sorted in any way that I can see, I think it would be much cleaner and easier to find the zone you want if it is sorted by name in alphabetical order.

I'll think about it, but IMO, there's quite a bit to be said about leaving them sorted by the TerritoryType ID, which leaves them in roughly chronological order of content being added, keeping them in approximately the same order as they are listed in the Duty Finder.  I guess IDK for sure, but I would kind of expect most people that have played for a while to be used to that order of older duties being listed at the top progressing to the newest duties being listed at the bottom.
Sorting the presets under a zone was something that I planned to do, but then it was kind of obviated by grouping presets by zones and filtering by current zone leaving so few in the list that it wasn't worth the time.
Anyway, I'll leave this open to maybe add an option to sort zones/presets alphabetically, but it'd be low-priority, and I don't have the time to do anything for a while anyway.

Thanks, it makes a lot more sense now you have explained it.  I was thinking it was weird how the Alexander raids is mixed with the extremes in between, without realizing they're sorted by content release date.
In this case, I actually don't mind it sorting this way now.  If you don't feel like implementing an option for name sorting that's fine by me.

I came to make an issue about it, but there's already one so I'll pitch in. This is my current order and it physically pains me to look at it:

Problems:

no order to easily figure out if I have complete sets
the list is getting long but my most commonly used items are at the bottom (if I didn't have font scaling 1.0 I'd have to scroll)
Asphodelos order is absolute nonsense, while it is sorted by map id, SE didn't give them ids in sensible order in the first place

I understand that various people might want to group things in different way, by expansion, by difficulty, or simply just have most needed waymarks at the top. If someone wants to have it neat, they have to do the work to drag it once, which is arguably the same amount of work as configuring it in any other way.
IMO, the ability to drag and drop the order would be future proof. Since order could be handled outside of json with waymark information, it would also not break existing libraries? I'd be fine if backup export didn't preserve the order of the waymarks. It's already possible to drag and drop presets inside a zone, so drag and dropping zones wouldn't be awkward.

While I don't personally feel sorting by the game's internal order is a big deal, especially when you can filter to only show the zone in which you currently are, I do see that it's annoyed a fair number of people since grouping by zone was added, so it is something that I plan to address.  I'd actually been looking into it a bit a month ago, but what I had didn't work quite right, so I scrapped it.  It's also only going to get worse as SE reworks old content and adds it to new TerritoryTypes, so like if you had markers for Titan normal (why? idk), it would now potentially be listed after p4s.
I do think that drag and drop reordering of zones is probably the best solution like you said, but I am going to think on it for a bit to make sure that I don't do something that I regret having to maintain in the future.  One of the big questions is that once you've dragged out of the default order, how do you add new entries to the list?  Do they just default to the end no matter what?    Figuring out how to do the latter is probably quite difficult to get right.  Maybe it's best to just put anything not known in the sort data at the top, as it's presumably the most likely to be used.
Anyway, this is something that I plan to add after I get the help window stuff done.  There is some back-end work that probably has to be done first though, so don't expect anything for a month or so.

I use filter by zone, but only when I'm using my library in the instance. My problem started elsewhere, I wanted to clear my waymarks after Pandemonium prog... and having well, 8 or more variants for each PxS, and wanting to tidy them up neatly in similarly named pairs, working on a scattered list was a pain. I don't think there's any functional problem to use waymarks when in the instance, but it has gotten more difficult to manage them 'outside' and this is where sorting comes in.
As to where to add newly added zones, for a moment I thought about adding it at the top, but I don't think it's a good idea. Import box is at the bottom, so for longer lists like mine (or smaller window size), you would add via import and it plops at the top, sounds pretty sad.
I would add new zones at the bottom of the existing order, this is where humans expect things to appear in most cases (and will work well with json import). I don't think there's any way you can reliably guess the best place to drop it.
You can consider giving it some icon/colour/[ NEW ] mark for people to easily spot the new zone, but I don't think that's a big deal. I mean, when I was adding EW zones, it's not like I was completely lost when P4S appeared above Zodiark EX - skimming through the list did the trick. Until I read this issue, I was even unaware the sort order is quasi-chronological due to map ids, I assumed it's half-random or partially related to the order I added them in.
In terms of sorting, you can consider a setting that will override drag&drop, "Always sort zones in A-Z order". With this enabled, the plugin would not let people drag and drop anything. Then, you can reliably insert new zone into existing alphabetical order. A-Z sorting could work for lazy people who don't care enough to manually drag and drop zones in desired order, so it's quite tempting. A-Z and drag&drop are functionally mutually exclusive in my head, but it doesn't your plugin can't support both.
For me, the upside of drag and drop is that I'd be able to move EX trials from each expansions to be together, while also moving current content towards the top for my convenience. A-Z sorting won't let me do that, but A-Z order would solve current 'list isn't really in the most human friendly order' problem just the same.

For finding the zone you want, one possibility would be a search box at the top where you can start typing the name of the zone and it will filter the list as you type. Although the original request was to allow sorting, the motivation behind the request seems to be about finding what you want.
As an intermediate step, another idea would be to allow pinning of specific zones which would then appear at the top of the list. That would at least solve the problem of being able to find the zones you care about (e.g. all the ones for the current tier). However to pin the zone you want you'd still need to visually find it in the list.
I'm looking to contribute so if either of these ideas sounds feasible/not a pain to maintain, I'd be up for giving it a shot.

@karpik123 @Farplaner Out of curiosity, does what's shown in #23 address the usability issues that you've experienced, or do you still prefer something like drag and drop zone reordering?  It's ok either way; I was just getting ready to start looking at D&D during this maint, but with that, I'm not sure how I want to proceed.

Yes it does, for sure.  I'd love to see a search box that I can type in that filters the list on the fly.

Drag and drop reordering of zones, descending sorting of zones, and the search box from PR #23 are implemented as of version <IP_ADDRESS>, which is available in /xlplugins when you have plugin testing enabled.  As usual, please back up your configuration before installing testing versions.

Also, just a quick comment on the ideas mentioned above that were not implemented:

Alphabetical ordering: With the way that the library data is currently structured, this is just too compulationally expensive on top of an already quite heavyweight plugin UI.  If I'm ever able to get around to fully encapsulating the library data so that sorting wouldn't be necessary every frame, I will revisit this.  (Laugh all you want at my poor design decisions; this plugin has balloned in scope substantially over the initial design).
Pinned or preferred zones: Pinning would make the sort implementation more annoying, although it's not horrible if multiple people decide that they really want it.  Drag and dropping the desired zones at the top probably serves 90% of the same function, though.
Grouping or sorting by other criteria (difficulty, etc.): I just don't feel that this is worth the significant additional complexity.


CMS saves HTML but loads the HTML as textContent

When saving an article, It will use the HTML as heading.

closed by b5d11995a6815481326e1d34e225d77e678d377a


feat: add isOfType helper

Added isOfType helper. (resolve #87)
I would like you to review :pray:

You can extract types of given keys then in assert function just use Array.includes function to check the type of give action is available or not. Please check ofType function implementation for inspiration.
https://github.com/thebrodmann/deox/blob/8b0bbcec09703f93eb4c89398b24d1a0a4117bc8/src/of-type.ts#L42-L48

I imploved ideal dts test! https://github.com/thebrodmann/deox/pull/127/commits/4578a7a9d83f15fa92334db4b5f31fc49cc74418
fixed https://github.com/thebrodmann/deox/pull/127#discussion_r354477498, https://github.com/thebrodmann/deox/pull/127#discussion_r354478165
I want you to review again when you have time 🙏

I am really grad to contribute to this wonderful library.
I learned a lot from creating this PR and your review :green_heart:
Thank you very much!
I will fix the problems that you pointed out today or tomorrow!

:tada: This issue has been resolved in version 3.1.0 :tada:
The release is available on:

GitHub release
npm package (@next dist-tag)

Your semantic-release bot :package::rocket:


Multi-log support

Is your feature request related to a problem? Please describe.
We have stopped logging tickets and staff chat to avoid leaking, but I think we should still log them, just prevent them from leaking
Describe the solution you'd like
I think if we made a 2nd message logs channel, and only management could view it, this problem would be amazing fixed. Nothing would be leaked, since management can already see everything, and we still would know if we have a bad staff or something ticket trolling.
Describe alternatives you've considered
Go back to original since leaking wasn't even really a problem.
Additional context
Was it really necessary that I make a github account to do this, and not just suggest it in the discord?

Please keep feature requests as generic as possible - as in, the more people's discord implementations can benefit from it, the better.
Yes, it was necessary to make a github account for this as this is a suggestion for InsanityBot 2.0 which is managed via github only.
I think what you are essentially suggesting on the bot side is support for multiple logging channels which would furthermore be configurable to only log certain categories/channels?

ok

Confirmed.

Implemented with #85


CenterPoint+PointPainting on nuScenes Val dataset

Hi! Thanks for your paper MVP.
But I have a question about the result of CenterPoint+PointPainting on nuScenes Val dataset.
As you mentioned in the paper, it reaches 66.5 overall mAP. But my result is only 65.4.
I train the model by just throwing away those virtual points since you have already painted those real points on the masks.
All other configurations are the same with https://github.com/tianweiy/CenterPoint/blob/master/configs/mvp/nusc_centerpoint_voxelnet_0075voxel_fix_bn_z_scale_virtual.py
Could you please tell me the reason? Thanks!

Hi, in the table, we also do the same second stage for point painting. For single stage, your number seems right

Thanks for your quick reply!
As for the second stage, I find in https://github.com/tianweiy/CenterPoint/blob/d1e1bd5b08b2b9816ee38bbe2d036db1e5df340a/configs/mvp/nusc_two_stage_base_with_virtual.py#L278 that you have only trained 6 epochs. Does that mean you first only train one stage for 20 epochs and then resume from those parameters and train the second stage for 6 epochs?

Yes, set the weight trained using first stage at https://github.com/tianweiy/CenterPoint/blob/d1e1bd5b08b2b9816ee38bbe2d036db1e5df340a/configs/mvp/nusc_two_stage_base_with_virtual.py#L27

Thanks!
And I found that you haven't removed those raw points which are within those masks and are painted. For MVP, I think you keep those raw points for split voxelization. But just for CenterPoint+PointPainting, why not remove those raw points away?

This also works. I just keep the comparison the same as our approach in table 4.

Thanks!


Add query shape field type

Description
Add query shape field type
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I am working on the query type changes. Will open a new PR with the changes. Also need to integrate with the settings changes and make sure we can handle field type and field name enabled separately.


Adding a New extension: "Formulas"

Dear Turbowarp Team,
I would like you to add my new "Formulas" extension to the turbowarp extension gallery and the main turbowarp extensions list. This is my third time making an extension but my first time requesting one to be added. Please let me know if there are any problems with the extension or its media.
Thank you,
-- Experimental (26690)

I like the blocks but to me it seems better fit to be merged into the graphics 2D extension

how does it work?

Intriguing. It would be cool to have a block to save and use custom formulas, but either way pretty useful.


Automate release procedure

The release script should

Build the docs
Create source package
Convert changelog from reStructured to Markdown
Publish the release on github including changes from item 3 and package from item 2
Publish new version of Biicode
Update website

Tell us more about it. How does it work? :)

At this stage it works as follows:

Haven't thought out the details yet.

Also should probably do release preparation in a separate branch and squash all the ChangeLog update commits next time to avoid polluting the history.

All done except the last two items. Migrated the last one to a separate issue and will update Biicode on request.


VLAZ: Watch cricket100.online

VLAZ requests the watch of the watch_keyword cricket100\.online. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

cricket100\.online has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Update URL in Package.toml of TensorGames

Repository moved due to changing account name.

I think you will need to ping a human to look at this. It's best to text on slack's #pkg-registration channel. [noblock]


Tag command

Command Name
Tag
Git Command(s)
git tag -a %version% -m "%message%"
Dialog Input (if applicable)

version
message

Input Validation

version does not already exist

comments
maybe default version can come from package.json?

The ability to add annotated tags is essential. Please implement soon.

PRs are welcome 😁👍


Latest Version of Redhat not supported?

Hi, it looks like the CSV import, does not support the OS Red Hat Enterprise Linux 8 - at least it is not documented as an possible value for the OS column. Could you please validate if that´s still accurate, since RHEL 8 was released some time ago.
Thanks

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

ID: 37bfd485-6fbe-633e-130d-103d8238dfa6
Version Independent ID: 75473d7c-7206-dd1f-7699-8b6efe82f394
Content: Assess on-premises servers using an imported CSV file with Azure Migrate Server Assessment - Azure Migrate
Content Source: articles/migrate/tutorial-discover-import.md
Service: azure-migrate
GitHub Login: @vineetvikram
Microsoft Alias: vivikram

Hi
RHEL 8 is not supported as of now.
I will try to get it validated and listed as supported OS.
Thank you.
Regards
Vineet Vikram
From: OliCSADoerr @.>
Sent: Friday, January 28, 2022 5:42 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Vineet Vikram @.>; Mention @.>
Subject: [MicrosoftDocs/azure-docs] Latest Version of Redhat not supported? (Issue #87116)
Hi, it looks like the CSV import, does not support the OS Red Hat Enterprise Linux 8 - at least it is not documented as an possible value for the OS column. Could you please validate if that´s still accurate, since RHEL 8 was released some time ago.
Thanks

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

ID: 37bfd485-6fbe-633e-130d-103d8238dfa6
Version Independent ID: 75473d7c-7206-dd1f-7699-8b6efe82f394
Content: Assess on-premises servers using an imported CSV file with Azure Migrate Server Assessment - Azure Migratehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmigrate%2Ftutorial-discover-import%23prepare-the-csv&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=0qOCBU08zT2fz4H050E7i8Vwh7zXMhkPeIMTpI2fly0%3D&reserved=0
Content Source: articles/migrate/tutorial-discover-import.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fblob%2Fmaster%2Farticles%2Fmigrate%2Ftutorial-discover-import.md&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=WlCWh8T0kynX6QUXzsmrZeG1fKymax0eoP6xHBZYsVk%3D&reserved=0
Service: azure-migrate
GitHub Login: @vineetvikramhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvineetvikram&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=5DHkCktSTZ4voyUbQ73ayzenv24YpxTERsnLIa7Ofkw%3D&reserved=0
Microsoft Alias: vivikram

—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F87116&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=4zLoEOMqoIe4gYNOk145Dvm24B2SHJwMUBy7QIghctI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAONS4A5CHMLA5JBCRHJPB63UYKB2ZANCNFSM5NAS4CCQ&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=9NUzKFXNk7ObQv%2FgYoX9GDw80%2BZwopm2AmcZfFukdPk%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=5kpTFNW0HS6FPykp4z15B0aWkkYV0zD%2FDcHM6CCtZhA%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|Vineet.Vikram%40microsoft.com|5581f2b3ce97431e459e08d9e257742a|72f988bf86f141af91ab2d7cd011db47|1|0|637789687538630680|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=5FAko7xySdw0wAlBABXV4Xy4EqOcsw5nf2Co4Ua1YaA%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi @vineetvikram - Thx for the fast response. Thanks for your efforts. It would really help with a customer of us and also a lot of other customers which are already using RHEL8.

Definitely @OliCSADoerr.
As @vineetvikram mentioned in the earlier comment, we will try to get it validated and list as supported OS. At this point it would typically be as an backlog item to validate and take the appropriate action.
However, currently there are no edits or updates needed for the referred Azure documentation so closing this issue for now. If there are further questions regarding this matter or feedback on the referred Azure documentation, please do let us know and we will gladly continue the discussion.


Simplify generator path calculation

:loudspeaker: Type of change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Refactoring

:scroll: Description
A piece of https://github.com/fjmacagno/spring-cloud-aws/pull/1 which i thought might still be useful. Instead of having the generator take the path that the template is at, include the template as a resource so that it will always be accessible, whether the generator is run with access to the source tree or not. It also swaps the argument to be the output directory, so that the generator doesn't need to be project-aware.
:bulb: Motivation and Context
Originally this made putting the generated class into the target dir possible, but now motivation is just that i already did the work and the code is potentially cleaner for it.
:green_heart: How did you test it?
Running mvn clean and make build.
:pencil: Checklist

[x] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated reference documentation to reflect the change
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Very nice @fjmacagno! thanks!


Missing interpolation of default translations

Subject of the issue
In my database I store translations for angular to be pulled dynamically (on the 1st page of our Single Page App), and then just use angular-translate either in our templates or sometimes in our JS code (via $translate.instant() method to pull the translation gotton via the 'resolve' of the 1st controller).
My question is about the JS code.
My code below works if there is no translation in the database since the string will manually be  'otherwise will close in {{dialog_countdown_timer}} seconds'.
But if there is a translation, then $translate.instant runs and instantly tries to translate the {{dialog_countdown_timer}} variable, but that is a scope variable i want to 'stay' and allow the angular $scope to update it
var glossary_after_close_button = $translate.instant('glossary.popup.after.close.button')=='glossary.popup.after.close.button' ? 'otherwise will close in {{dialog_countdown_timer}} seconds' : $translate.instant( 'glossary.popup.after.close.button');
...
//popup html created through directive
popup_html += '
'+ glossary_after_close_button +'
';

 var mobile_dialog = ngDialog.open({
          template: popup_html,
          plain: true,
          scope: $scope
        });

var everySecond = $interval(function(){
          console.log('updates the popup string with counttdown variable');
          $scope.dialog_countdown_timer = $scope.dialog_countdown_timer - 1;
....
});

Your environment

angular v1.4.9
angular-translate v2.12.1
chrome (version: 53.0.2785.116 m) [shouldnt matter]

Steps to reproduce
Here is a basic example: https://plnkr.co/edit/FpxCrnczg1yL4DROPhiD?p=preview
Expected behaviour
It would be cool for a way to ask for an instant translation but not interpolate the {{scope}} variables. Is there a way to do this?
Actual behaviour
$translate.instant() removes the variable instantly in my directive's code, so the glossary popup I have only shows 'otherwise will close in  seconds'. Makes sense since its called instant :) , but hoping there's a way to get passed this.

We do interpolation and and the api does not allow disabling this as its part of the core features.
If I get this right, you are actually providing default values. Perhaps you should read in our docs/guide about providing default or fallback translations?

Let me try using an actual template with the variable in it vs manual html to pass the ngDialog. That might solve my issue. Will let you know Monday if it works.

so now I use templates (vs the translate.instant code i had above) completely, but still doesn't work:

When there is no translation, it works. it pulls the scope variable into the translate-default attribute's translation and I see a countdown of the $scope.dialog_countdown_timer variable 10..9..8....1 seconds.
But when there is a translation in my database, it still does immediate resolution of the variable the 1st time translations are loaded in the app via the $translateProvider.useLoader('translationLoader'); code (which gets the translations from a Web Service which gets from our database).
In Chrome debugger, i can see the key below has the {{dialog_countdown_timer}} literally when passed to the deferred.resolve(translations); line:
glossary.popup.after.close.button : "sonst wird geschlossen in {{dialog_countdown_timer}} Sekunden"
$translateProvider.useLoader('translationLoader');
...
angular.module('questionniareApp').factory('translationLoader', function ($q, $rootScope) {

  return function (options) {
    var deferred = $q.defer(),
        translations; //loop over translations returned by web service (passed into options) and assign to object-key lookup table.

    translations = $rootScope.webserviceObject.translationMap;

    deferred.resolve(translations);
    return deferred.promise;
  };

});

I may have to go back to not using templates (and have "sonst wird geschlossen in ### Sekunden") in the database which then i'd use translate.instant('glossary.popup.after.close.button').replace('###','{{dialog_countdown_timer}}') ). and go back to hardcoding the html string to pass to ngDialog vs a template with translate attributes.

Hm. I'm a little bit irritated about the whole  blocks in the first and last comment here. The webserviceObject is expected to be async, huh? So the loader might catch... nothing? And how does it catch multiple languages here?
And in general I'm wondering what the special corner case is here?
You're fetching some async translations containing variables that need to be interpolated with content coming from your application or elsewhere, right? Something special added?

@tspaeth

The webserviceObject is expected to be async, huh? So the loader might catch... nothing? And how does it catch multiple languages here?

hmmm well it seems to work every single time (loading the translations at least be4 my app gets viewed).
The web service resolves an object before the view is served that holds the translationMap (and locale).
if  $translateProvider.useLoader() is async, not sure how it works 100% of the time I've tested it... Here is the app's simplified structure:
Maybe optimally I'd set the translations inside the resolve since it will have webserviceObject.translationMap available.
Sorry for the bunch of code, I tried to cut as much of it down as possible to make it barebones.

You're fetching some async translations containing variables that need to be interpolated with content coming from your application or elsewhere, right?

The webserviceObject brings back what was in the DB so pretend the 'translations = $rootScope.webserviceObject.translationMap;' line really gets this object back:
{'button.back-text' : 'ZURÜCK', 'button.next-text' : 'WEITER', 'glossary.popup.after.close.button': 'Schließt in Sonst {{dialog_countdown_timer}} Sekunden'}
Then I just use 'glossary.popup.after.close.button' in my template and it doesn't show the dialog_countdown_timer $scope variable.
app.js:
angular.module('screenerApp', [
  ...
  'ngRoute',
  'ui.router',
  'pascalprecht.translate',
])
.config( function ($urlRouterProvider, $stateProvider , $translateProvider) {

  $translateProvider.useLoader('translationLoader');//before the /questionnaire/question-1 is served... this seems to be done? if asynchronous, maybe its just so quick that it will usually load be4 /questionnnaire/question-1 is returned (since the url has to start off /welcome/screenerId=101 before it gets redirected to that '/questionnnaire/question-1' state/view )
  //maybe I should synchronously be setting the translation array in the resolve below where I get the web service object
  //still dont get how it knows to run after the getFirstQuestionController is done setting the $rootScope.webserviceObject

//when does this get run? it seems to always run when rootScope
angular.module('screenerApp').factory('translationLoader', function ($q, $rootScope) {
  return function (options) {
    var deferred = $q.defer(),
    translations; //loop over translations returned by web service (passed into options) and assign to object-key lookup table.

    if ( !($rootScope && $rootScope.webserviceObject) ) {//set in the getFirstQuestionController, NOTE: will change to a service soon so doesn't store in the $rootScope! since that seems like bad practice
      translations = {};
    } else {
      translations = $rootScope.webserviceObject.translationMap;
    }

    deferred.resolve(translations);
    return deferred.promise;
  };

});

  $stateProvider
  .state('welcome', {
        url: '/welcome',
        ...
        controller: 'getFirstQuestionController'
        resolve: { //resolve the json obj from the Web Service be4 going the controller/view
         'firstQuestion':  function($q, webService) {
            var deferred = $q.defer();
            var url = window.location.href;
            var query_string =  url.substring( url.indexOf('?') );
            var param_map = URI.parseQuery(query_string);

            webService.sendData( param_map.screenerId ).then(function(successResponse) {
              deferred.resolve(successResponse.data); //gets the 1st question for questionnaire, but also returns other things like the translations in the JSON webserviceObject.translationMap
            });
            return deferred.promise;
          }
        }
  }
  .state('questionnaire', {//for urls like /questionnaire/question-101
        url: '/questionnaire/{id}',
        views: {
          'main': {
            templateUrl: 'views/main.html',
            controller: 'getQuestionController'
          }
        }
  }

};

getFirstQuestionController.js:
'use strict';
angular.module('questionniareApp')
.controller('getFirstQuestionController', function($translate, firstQuestion, cacheService) {
  //some setup for variables for the view
  $rootScope.webserviceObject = firstQuestion;
  cacheService.startNewQuestionnaireCache(); //clear out clientside localstorage cache of the questionnaire since they starting a new questoinnaire
  ...

  //Note!!!: this probably isn't needed since the translationLoader just loads strings for the language dynamically returned by the web service
  //  (translationLoader doesn't seem to need to be offered an JSON object like {'en-US': {...key/value translations for englishUS}, 'es-CA': {...key/value translations for spanishMexico},...etc}) but just takes {...key/value translations for the current language} so hence why below probably not needed
  $translate.use(firstQuestion.locale); //setup the default language for the questionnaire which is returned via the web service (our webservice object send back will know whether screener '101' is a fr-CA study for example and return that locale object)

  $state.go('questionnaire', { goes immediately to /questionnaire/$id questionnaire/question1 in the url so user doesn't see /welcome/?screenerId=101 in the url but the actual 1st question
      qid: ('question-'+ firstQuestion.question_id) //will have question info in nextQuestion
  });

}

getQuestionController.js
//every question gets this controller as the getFirstQuestionController is only for setting things up.

'use strict';
angular
.module('questionniareApp')
.controller('getQuestionController', ['$scope', '$state', '$stateParams', 'cacheService', '$rootScope']) {

  var url_id =  $stateParams.id;
	var real_question_id = url_id.slice(url_id.indexOf('-')); //try to get question-id from question-1 (should return 1 for example in that case)

  if(!cacheService.inCache(real_question_id)) {
    $scope.currentquestion = cacheService.getFromCache(real_question_id); //pull from localStorage
  } else {
    $scope.currentquestion = $rootScope.webserviceObject;
    cacheService.addQuestionToCache(real_question_id, questioninfo); //key val to send to cache so if user hits the back button in the SPA will get the question from the localstorage cache (vs re-getting it from the Web Service to save time)
  }

}

Hello,
as we had already mentioned in the issue's template, we need a working and as minimal as possible demo covering your specific use case or issue.
Follow these steps:

Please open this plnkr base.
Fork it (at the top left).
Ensure the version of AngularJS and angular-translate is correct.
Ensure all angular-translate plugins are available; reduce and remove anything you can.
Write a minimal as possible demo for your specific issue.
Save and freeze. Provide us the final link to your demo.

Sorry, you have had already provided a demo. I was flashed with the code above. Sorry about this.
I think I got it: The problem is default texts are not interpolated with the interpolation params. At the moment, they are treated as static default texts.
I can see the benefit of interpolate defaults also. We are welcome a contribution. :)

I think I got it: The problem is default texts are not interpolated with the interpolation params. At the moment, they are treated as static default texts.

Well in a separate but similar issue, templates didn't work for me for non-default (German) texts.
and $template.translate() in my original plunkr/1st post didn't work for non-default (German) texts.
so its actually when it doesn't use the default where there is an issue.
I think it auto-interpolates them at some point earlier than I'd want.
For example generally what i want to do, is in this example I made http://plnkr.co/edit/OnR9oA?p=preview, under this area (the only difference being I am pre-loading all my translations at beginning of the app):

"Seconds: 3 seconds.
Seconds: 3seconds.
DEFAULT(used since translation not available): Seconds: 3 seconds."

So why does the above work; and whether I use $translate.translate() or templates, it doesn't work for me when it tries to display the same countdown text that was loaded earlier via useLoader...
My theory is the custom loader $translateProvider.useLoader('translationLoader'); auto-interpolates the variable at the beginning of the app and removes {{dialog_countdown_timer}} so I can't use that full translation later in my actual 'countdown-popup' template later in the app which is looking for the variable. Does that sound about right?
I can create an other plunkr that shows the issue pop up via a custom loader maybe as that is probably the real issue.
P.S. Im going to remove all that code I put a few posts back, as it gets super track.

Putting together:

This will work because the text will be interpolated by AngularJS template system. Actually, this is static text for angular-translate.  And said this, it means we do not provide interpolated default texts at the moment. Maybe this is a contribution worth.

My theory is the custom loader $translateProvider.useLoader('translationLoader'); auto-interpolates

Nope, the loader does not even know something about interpolation. And he should not.

PS if a web service obj is returning an object (key, values of translations), is what Im doing correct loading them via $translateProvider.useLoader?

If your data contains a translation id like id = 'userName', you can use it in three ways with angular-translate built-ins:

Available in scope.id: <span translate="{{id}}"
Available in scope.id: {{id || filter}}
$translate(id), $translate.instant(id)


Fix correctness issue of the pipeline pass when a block argument depends on another block argument

I worry the performance regression tests are not strong enough, so I think it's worth double-checking that we're not lowering perf here

closing this PR as #1291 fixed the issue


Add a reminder if we forget Salve amulet on undead tasks

Similar to the current slayer counter. Maybe have a picture of the salve underneath it
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: Martin Tuskevicius<EMAIL_ADDRESS>Date: 08/07/2018  00:25  (GMT+00:00) To: runelite/runelite<EMAIL_ADDRESS>Cc: Craig Bryant<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [runelite/runelite] Add a reminder if we forget Salve amulet on undead tasks (#4219)
How would you want the reminder to look?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/runelite/runelite","title":"runelite/runelite","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/runelite/runelite"}},"updates":{"snippets":[{"icon":"PERSON","message":"@DudeMartin in #4219: How would you want the reminder to look?"}],"action":{"name":"View Issue","url":"https://github.com/runelite/runelite/issues/4219#issuecomment-403249464"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/runelite/runelite/issues/4219#issuecomment-403249464",
"url": "https://github.com/runelite/runelite/issues/4219#issuecomment-403249464",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [runelite/runelite] Add a reminder if we forget Salve amulet on undead tasks (#4219)",
"sections": [
{
"text": "",
"activityTitle": "Martin Tuskevicius",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@DudeMartin",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueComment",\n"repositoryFullName": "runelite/runelite",\n"issueId": 4219,\n"IssueComment": "{{IssueComment.value}}"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueClose",\n"repositoryFullName": "runelite/runelite",\n"issueId": 4219\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/runelite/runelite/issues/4219#issuecomment-403249464"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 354031624\n}"
}
],
"themeColor": "26292E"
}
]

Duplicate of #1470


Haiti: Grafana email plugin needs to accept dates in different formats in report file name (deliverable 19)

Please describe the feature being requested.
Haiti need dates to be included in reports automatically emailed from the Grafana dashboard.
Agreed solution
Modify the Grafana emailing plugin needs to enable setting of the date format to be used and position in the report name.
Date formats and positions in filename required (example filenames shown):

Daily_Warehouse_Stock_Inventory_DD-MM-YYYY.xlsx - 2-digit day number and month number, 4 digit year all separated by hyphens.
Goods receipt-MMM YYYY.xlsx - 3 character month (Jan, Feb, Mar, Apr etc.) and 4 digit year separated by a space.
Both these date formats are shown at the end fo the filename. If possible, allow beginning or end of filename as a selection.

Describe alternatives you've considered
This is what they asked for.
Moneyworks Jobcode
HAI:CONV

Merged with 7b31c75


.NET DPG LRO is making an extra GET call to the resource URI, breaking documented response schema

For Sample5_ImportProject.cs in PR #29340, the ImportProject and Train LROs are working as expected based on the session file, but the DeployProject has an extra GET and I can't tell where it's coming from. Specifically, the initial LRO request indeed returns a 202 with an Operation-Location to a status monitor:
      "StatusCode": 202,
      "ResponseHeaders": {
        "Access-Control-Expose-Headers": "*",
        "apim-request-id": "3d75422d-f5fe-4bcd-8cdc-c1b240e63a78",
        "Content-Length": "0",
        "Date": "Wed, 15 Jun 2022 01:02:17 GMT",
        "operation-location": "https://languagesdkresource.cognitiveservices.azure.com/language/authoring/analyze-conversations/projects/net-conv-367666463/deployments/production/jobs/ff2585da-967b-41dc-8f05-0a854689e260_637908480000000000?api-version=2022-05-01",
        "request-id": "3d75422d-f5fe-4bcd-8cdc-c1b240e63a78",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
        "X-Content-Type-Options": "nosniff",
        "x-envoy-upstream-service-time": "101"
      },
      "ResponseBody": null

The next several requests are what you'd expect - status is running - until the final status update:
    {
      "RequestUri": "https://languagesdkresource.cognitiveservices.azure.com/language/authoring/analyze-conversations/projects/net-conv-367666463/deployments/production/jobs/ff2585da-967b-41dc-8f05-0a854689e260_637908480000000000?api-version=2022-05-01",
      "RequestMethod": "GET",
      "RequestHeaders": {
        "Ocp-Apim-Subscription-Key": "Sanitized",
        "User-Agent": "azsdk-net-AI.Language.Conversations/1.0.0-alpha.20220614.1 (.NET 6.0.5; Microsoft Windows 10.0.22000)",
        "x-ms-client-request-id": "ccc3e9c28c3c019344e0e2ad20829ff8",
        "x-ms-return-client-request-id": "true"
      },
      "RequestBody": null,
      "StatusCode": 200,
      "ResponseHeaders": {
        "Access-Control-Expose-Headers": "*",
        "apim-request-id": "eb1b0550-ca5f-4a97-a177-169f5fdaaad4",
        "Content-Length": "218",
        "Content-Type": "application/json; charset=utf-8",
        "Date": "Wed, 15 Jun 2022 01:02:22 GMT",
        "request-id": "eb1b0550-ca5f-4a97-a177-169f5fdaaad4",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
        "X-Content-Type-Options": "nosniff",
        "x-envoy-upstream-service-time": "24"
      },
      "ResponseBody": {
        "jobId": "ff2585da-967b-41dc-8f05-0a854689e260_637908480000000000",
        "createdDateTime": "2022-06-15T01:02:17Z",
        "lastUpdatedDateTime": "2022-06-15T01:02:22Z",
        "expirationDateTime": "2022-06-22T01:02:17Z",
        "status": "succeeded"
      }
    },

But then immediately afterward, there's this extra GET which is what the Operation<BinaryData>.Value ultimately contains:
    {
      "RequestUri": "https://languagesdkresource.cognitiveservices.azure.com/language/authoring/analyze-conversations/projects/net-conv-367666463/deployments/production?api-version=2022-05-01",
      "RequestMethod": "GET",
      "RequestHeaders": {
        "Ocp-Apim-Subscription-Key": "Sanitized",
        "User-Agent": "azsdk-net-AI.Language.Conversations/1.0.0-alpha.20220614.1 (.NET 6.0.5; Microsoft Windows 10.0.22000)",
        "x-ms-client-request-id": "8c11e8cce5e682c8638a22cdb3087be4",
        "x-ms-return-client-request-id": "true"
      },
      "RequestBody": null,
      "StatusCode": 200,
      "ResponseHeaders": {
        "Access-Control-Expose-Headers": "*",
        "apim-request-id": "35de4d51-fcec-4df0-82ca-c06206d6f36f",
        "Content-Length": "281",
        "Content-Type": "application/json; charset=utf-8",
        "Date": "Wed, 15 Jun 2022 01:02:23 GMT",
        "request-id": "35de4d51-fcec-4df0-82ca-c06206d6f36f",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
        "X-Content-Type-Options": "nosniff",
        "x-envoy-upstream-service-time": "22"
      },
      "ResponseBody": {
        "deploymentName": "production",
        "modelId": "Sample5-20220615T010216-aeac9f0032944941b024163bc3ebff89",
        "lastTrainedDateTime": "2022-06-15T01:02:16.6869195Z",
        "lastDeployedDateTime": "2022-06-15T01:02:22Z",
        "deploymentExpirationDate": "2023-10-28",
        "modelTrainingConfigVersion": "2022-05-01"
      }
    }

I can't tell from where this comes? Why is the LRO querying the actual resource? The generated LRO implementation uses OperationFinalStateVia.Location just like the other aforementioned LROs:
using HttpMessage message = CreateDeployProjectRequest(projectName, deploymentName, content, context);
return LowLevelOperationHelpers.ProcessMessage(_pipeline, message, ClientDiagnostics, "ConversationAnalysisProjectsClient.DeployProject", OperationFinalStateVia.Location, context, waitUntil);

@annelo-msft @AlexanderSher @chunyu3 ?
/cc @kristapratico @mshaban-msft @tg-msft @johanste
Some useful links:

DeployProject LRO: https://github.com/Azure/azure-rest-api-specs/blob/725f4ca360426a32d20e81eb945065e62c285d6a/specification/cognitiveservices/data-plane/Language/stable/2022-05-01/analyzeconversations-authoring.json#L532-L540
DeployProject status monitor: https://github.com/Azure/azure-rest-api-specs/blob/725f4ca360426a32d20e81eb945065e62c285d6a/specification/cognitiveservices/data-plane/Language/stable/2022-05-01/analyzeconversations-authoring.json#L619-L624
That final DeployProject resource GET: https://github.com/Azure/azure-rest-api-specs/blob/725f4ca360426a32d20e81eb945065e62c285d6a/specification/cognitiveservices/data-plane/Language/stable/2022-05-01/analyzeconversations-authoring.json#L483-L488

Originally posted by @heaths in https://github.com/Azure/azure-sdk-for-net/issues/29331#issuecomment-1158191653

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.19023241,Azure.Core:0.1606443,Service Bus:0.11049142'

FWIW, I tagged the reference commit from my fork to keep this living as long as my fork does.

Investigating if Python's deploy_project poller is doing the same thing, @kristapratico noticed and pointed out that the initial DeployProject operation is doing a resource PUT but returns an Operation-Location anyway, so this could be that our .NET LRO is simply following the old resource LRO (RELO) pattern of using a status monitor but doing a final GET on the resource URI to which a PUT was issued.
IMO, if an Operation-Location header was returned, perhaps that final GET on the resource URI shouldn't be assumed.
@kristapratico did have a good idea for a workaround, though: since we're already transforming the swagger for autorest to provide the schema for the final object, we could update the resource PUT to include an artificial 200 response with the GET's response model: "#/definitions/ConversationalAnalysisAuthoringProjectDeployment".
@tg-msft @mikekistler what are your thoughts here?

Talking offline, we'll do @kristapratico's idea for the CLU 1.0 GA:

@kristapratico did have a good idea for a workaround, though: since we're already transforming the swagger for autorest to provide the schema for the final object, we could update the resource PUT to include an artificial 200 response with the GET's response model: "#/definitions/ConversationalAnalysisAuthoringProjectDeployment".

@annelo-msft I'll leave it up to you whether you want to keep this issue as a tracking issue for support of this (anti?) pattern.

Based on investigations by @AlexanderSher, @kristapratico, and @lmazuel (thank you all!), we believe the .NET implementation is the same as Python's implementation and is correct.  We make the final GET request because the original request was a PUT, as implemented here: https://github.com/Azure/autorest.csharp/blob/feature/v3/src/assets/Generator.Shared/NextLinkOperationImplementation.cs#L196
Per @lmazuel:

I believe if CLU fills the resourceLocation, all your problems go away and you don’t need any options, see guidelines:
https://github.com/microsoft/api-guidelines/blob/8465bf242ad1743beb49caa90a5a36c9190dc648/Guidelines.md#target-resource-location

Since the .NET implementation is correct, we will not make changes to the generator or shared source types.


Shard merkle tree

Codecov Report

Merging #71 into master will increase coverage by 2.11%.
The diff coverage is 68.51%.

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
+ Coverage    35.4%   37.51%   +2.11%
==========================================
  Files          24       27       +3
  Lines        3474     3753     +279
==========================================
+ Hits         1230     1408     +178
- Misses       2108     2205      +97
- Partials      136      140       +4

Impacted Files
Coverage Δ

csmt/proof.go
50% <20%> (-50%)
:arrow_down:

csmt/node.go
56.86% <43.58%> (-43.14%)
:arrow_down:

csmt/csmt.go
86.64% <75.82%> (+5.64%)
:arrow_up:

shard/storagetree.go
79.16% <79.16%> (ø)

shard/shardchain.go
0% <0%> (ø)

shard/bitfield.go
0% <0%> (ø)

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 0ab84ba...0d6bf98. Read the comment docs.


not compatible with windows 11

I installed the app and tried to run it, but it won't show up

it's running fine on my pc which has windows 11

same problem here

Try installing the Microsoft WebView2 Runtime
https://developer.microsoft.com/en-us/microsoft-edge/webview2/?form=MA13LH#download

Also not working on Windows 11; I double-click the .exe or .msi and nothing happens :/


Error: Head "https://localhost:11434/": http: server gave HTTP response to HTTPS client

What is the issue?
I was running ollama ls on my Macbook running on Sequoia and I saw this error message:
Error: Head "https://localhost:11434/": http: server gave HTTP response to HTTPS client
What can I do to resolve this?
OS
macOS
GPU
Apple
CPU
Apple
Ollama version
0.4.2

Configure your client to use plain http to connect to ollama: http://localhost:11434.

Thanks, that worked perfectly!


Object detection

We currently only support bbox when used for cropping the image, but we don't support bbox for targets, especially when there are several bbox per image.
Should they been passed through y  or via attributes of the dataset?

Hello Arthur!
Thanks for this incredibly useful library. I'd like to know if you and @TLESORT have plans to incorporate some benchmarks of the incremental object detection field in your lib. If so, have you guys already decided on how to pass all bboxes and class information to conform with the scenario structure ? I'm implementing some CL strategies for such task and might be able to help you! =)

Hey!
I think we would need a new kind of taskset, and a new scenario. I'm not super familiar with continual object detection, but I assume it's similar to continual segmentation, where we could see an image containing both past, present, and future classes right?
If yes, we can draw inspiration from this class https://github.com/Continvvm/continuum/blob/master/continuum/scenarios/segmentation.py#L17

Hey!
I think we would need a new kind of taskset, and a new scenario. I'm not super familiar with continual object detection, but I assume it's similar to continual segmentation, where we could see an image containing both past, present, and future classes right?
If yes, we can draw inspiration from this class https://github.com/Continvvm/continuum/blob/master/continuum/scenarios/segmentation.py#L17

if i wanted to implement object detection scenarios in continuum style(i.e. achieving sth like your incremental semantic segmentation scenarios ), is there anything i might be able to exploit in continuum?

Hum... I'm not very well aware of the scenarios in Continual Object Detection, but if we assume they are like the scenarios in segmentation (namely sequential, disjoint, and overlap):

I'd fork the segmentation task set (https://github.com/Continvvm/continuum/blob/master/continuum/tasks/segmentation_task_set.py#L13), and change the handling of y, as it would be in this case a list of tuple [(x, y, w, h, c), ...]
I'd fork the segmentation scenario (https://github.com/Continvvm/continuum/blob/master/continuum/scenarios/segmentation.py#L17), and change it the way we read which class is present by parsing the y list info
Create a dataset, like COCO for example, which adopts the 6th task type (https://github.com/Continvvm/continuum/blob/7afc9ac870b025036f18b8e09621f95929aea69a/continuum/tasks/base.py#L18) and returns a tuple with [list of images, list of bbox (see first point), list of task id or none]

So I think it's rather straightforward. You could leave the support of bounding_boxes in the TaskSet and base dataset (https://github.com/Continvvm/continuum/blob/7afc9ac870b025036f18b8e09621f95929aea69a/continuum/datasets/base.py#L164) if you want to be able to crop the image, but I don't think it's your intention.
I can help you in that goal if you need help :)


[fea] add params save_sharding_stage1_model_include_freeze_params

PR types

PR changes

Description

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Can the code support the other maps shown in the paper?

Yes, you need to modify the basic_controller.py and q_learner.py accordingly based on the dimension of the action and observation of that particular environment.


Move WOF table creation to start of updates script

So that the WOF tables are present when the functions are defined. Also adds the is_visible column, which was missing from the previous PR.
@nvkelso could you review, please?

LGTM


Window.popup_centered_ratio can take several GB of memory and freeze OS

Godot version
4.0.dev.custom_build. 87de2e7c4
System information
Ubuntu 21.04 - Nvidia GTX 970, Gnome shell 3.38 X11
Issue description
Executing
func _process(delta) -> void:
	for i in get_children():
		i.queue_free()
######################################## Window ########################################
	var temp_variable5 = Window.new()
	add_child(temp_variable5)
	temp_variable5.popup_centered_ratio(27.2238194942474)
	OS.delay_msec(15000)

can take several GB of Ram(12 in my case),
Not sure if this is a bug, but maybe this function should forbid invalid arguments
Steps to reproduce
Above
Minimal reproduction project
No response

Tested on Windows 10, the window is invalid, but doesn't take RAM.


Remove Base Layer from Settings UI

Removes base layer (aka profiles.defaults) from the Settings UI. SettingContainer was also updated to not present a revert arrow when overriding a base layer value.
The new experience is now as follows:

The revert arrow will only appear if you are overriding a value from a fragment extension.
Users are still able to fully interact with profiles.defaults in their settings.json. Doing so still propagates those changes to their profiles as normal. In this case, the Settings UI presents the base layer value as the one that you selected.

#6800 - Settings UI Epic
Closes #9539

I am glad that this will conflict with 1.7 because of the xaml reformatting -.-


az keyvault create not idempotent with access policies

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

The "az keyvault create" command is not idempotent with Access Policies. On re-running the command the Access Policies are deleted/removed.
To Reproduce

Create a KeyVault with az keyvault create  e.g. "az keyvault create --location westus2 --name MyKeyVault --resource-group MyResourceGroup"
Assign an access policy to the KeyVault, either manually in the portal, or via another Azure CLI or PowershellAz command.
Run the "az keyvault create --location westus2 --name MyKeyVault --resource-group MyResourceGroup" command again
The access policy has been removed/deleted
Expected behavior
Leave the Access Policy alone
Environment summary

All environments
Additional context

@bim-msft please take a look

Duplicate with #13212
Hi @mcalnd70 , thanks for the feedback. Unfortunately, this is the expected behavior on service side. You can refer to the above issue to see more detail.
If you have any question, feel free to ping me again.

@bim-msft The other one has been closed? Is this being worked on?

@mcalnd70 Hi, sorry for the late response. We are working on it.

This one is a feature request because previously az keyvault don't support idempotent at client side, but depends on service to provide idempotency. To support at client side, there's little debate at existing user experience impact. PR is ready, we're working on reviewing and fine design on it.

@yungezz Maybe I don't understand what you mean with client side idempotency. Because I would not know why somebody needs that. Idempotency is about server side behavior if you ask me.
If I read about the az cli Standard Command Types, The CREATE command MUST be idempotent according to the documentation.
https://github.com/Azure/azure-cli/blob/dev/doc/command_guidelines.md#standard-command-types
Hopefully, the behavior of the Keyvault can be changed soon according to the cli guidelines.

@bim-msft Is there any ETA for this fix ? I am also facing this issue in my CMK code where i create key vault and then add ACL for CMK to work but once we deploy template again, things break because it altogether remove access policy. I have to everything via ARM here.


Provide BufReader and BufWriter

Similar to the std types, but these would impl AsyncRead and AsyncWrite, with optimized implementations for read_buf and write_buf.

Oh I added impls of AsyncRead/Write for the std ones, but we should probably override the read_buf/write_buf methods.

I tried providing specialized implementations of read_buf and write_buf against the std types, however given that the buffer is not exposed, it was not possible to get desired semantics.
Specifically, it wasn't possible to have read_buf and write_buf fill the buffer while also limiting it to at most one sys call.
Given this, I think the correct way to move forward is to provide our own versions of BufReader and BufWriter in tokio-io.

I'd also be fine in parallel exploring solutions upstream as well (as this likely isn't just related to this lib's usage of those types)

Also tokio-io provides functions read_untils and lines which require type implementing AsyncRead + BufRead, however it looks like the implementation of such type it still missing in tokio. Or am I missing something?

The tokio-io crate has been moved into the tokio git repo.
This issue has been inactive, so I am not going to open a new one in the tokio repo. However, if anyone wishes to continue this discussion, please feel free to open a new issue over there.


It is not possible to access the server using BungeeCord

Describe the Bug
When the module is installed, BungeeCord will be completely disabled. The module will make the downstream server unrecognized by the agent.
An error is also reported：The server you were previously on went down, you have been connected to a fallback server
But I confirm that my server is turned on normally, and this problem occurs only if the module is installed
Reproduction Steps
1.A proxy side and a downstream server are required
2.Install FabricProxy and Create (Because the absence of a FabricProxy module prevents the proxy side from accessing downstream servers)
3.When trying to enter the server from the proxy side, it will prompt: The server you were previously on went down, you have been connected to a fallback server
Expected Result
Fix this issue. So that I can build it successfully
Screenshots and Videos

Crash Report or Log
Agent-side logs：https://mclo.gs/s9qBXZZ
Operating System
windows 10
Mod Version
0.5.1c
Minecraft Version
1.18.2
Other Mods
FabricProxy-1.4.10
fabric-api-0.76.0+1.18.2
Additional Context
No response

I'm having a similar issue on Velocity for 1.20.1 Create Fabric.
Here's the relevant entry in the lastest.log after attempting to join - https://pastebin.com/SpEeMBcD
It does work with cross stitch and I can join the server with that but I am not able to join my lobby server on PaperMC as I can't install this mod there.

I believe I fixed this at https://github.com/Fabricators-of-Create/Create/pull/1163

我相信我在#1163 修复了这个问题

I added the module on 1.18.2 and 1.19.4. But he didn't work.

This works on Velocity instead of BungeeCord.

I'm having a similar issue on Velocity for 1.20.1 Create Fabric.
Here's the relevant entry in the lastest.log after attempting to join - https://pastebin.com/SpEeMBcD
It does work with cross stitch + FabricProxy Lite and I can join the server with that but I am not able to join my lobby server on PaperMC as I can't install this mod there.

Thanks. It works for me to add cross stitch on fabric server


AMQNET-637 Allow closing on error handler

Allow closing on error handler, Await()

@lukeabsent Can you elaborate a little more what this change is about?

@Havret, its a try to cover for this issue https://issues.apache.org/jira/browse/QPIDJMS-521

Merging as no further follow up to response.


Menu

Looking for opinions if this is ok? Any issues?
http://foundation.zurb.com/sites/docs/responsive-navigation.html

Looks old, adding Joel as assignee to review. https://github.com/revelrylabs/revelry_core_node/pull/16


Can't find GCC compiler

I've already installed g++, gdb, and make via MSYS2. (See the first picture)
However, when I click CMake: Configure in VS Code, I can't see the GCC compiler, but only what the last picture shows.
According to the CMake Extension author's video below (at 1:06), I should be able to see GCC compiler:
https://youtu.be/wP4cwAtU-g8?t=66
So, how can I use GCC compiler?
Thanks!

You need to add your GCC/G++  location to your cmake-kits.json
I've installed vs code like 30 minutes ago, after this video from CppCon
And currently I'm trying to do the same thing as you - add GCC compiler to VSCode on my work PC, I've installed mingw-w64 and add path to gcc in cmake-kits.json
  {
    "name" : "MinGW-w64-GCC",
    "compilers": {
      "CXX": "C:/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/g++.exe",
      "C": "C:/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/gcc.exe"
    }
  },
...

then restart vs_code and now I can select GCC compiler

But as soon as I'm trying to build (> Cmake: Build) quick start project (> Cmake: Quick Start) I'm getting error:

Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json or your Kit configuration.

What you did reminded me to Scan for Kits.
I didn't use your method. Instead I used the command "CMake: Scan for Kits".
After that I can select GCC compiler as well when click "CMake: Configure".

However now my problem is when I run "CMake: Configure" using GCC compiler, the following error occurs, different than your error:

Finally, cmake-tool can detect my GCC compiler after I've added migw-w64 to the PATH environment variable.
Maybe it will help you.
But I'm still getting two erros:

Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json or your Kit configuration.
Unhandled exception: Unhandled Promise rejection: build Error: Impossible: CMake driver died immediately after successful configure {}
I think that I'm got the same kind of errors like #570 and #539.

@SolarJuice what is the path to your CMake executable on the host machine?
@NovaSurfer I'd defer to the issues you linked. These ones have been persistent and I'm still investigating just what is happening since those errors can appear for a variety of reasons.

i got same error。。。need help！

I too am having this issue, scanning for kits properly finds my gcc-8.2.1 installation from MSYS2, but when actually selecting the kit it throws an unhandled exception
[rollbar] Unhandled exception: Unhandled Promise rejection: selectKit Error {}

MSys2 does not currently supported, by "Scan for kits". But you can create your own kit.
The important part is the enviromentVariable.
{
   "name": "GCC 7.4.0",
   "compilers": {
     "C": "C:\\msys64\\usr\\bin\\gcc.exe",
     "CXX": "C:\\msys64\\usr\\bin\\g++.exe"
   },
   "preferredGenerator": {
     "name": "Makefiles"
   },
   "environmentVariables": {
     "PATH": "${env:PATH};C:\\msys64\\usr\\bin"
   }
 }

Where did you install cmake? Inside of Msys2 or the windows version?

windows version

im using a compiler installed through msys not the built-in mingw compiler used by msys.

This issue is being closed because it appears to have been abandoned. If @KoeMai's fix did not address this, or if you require further assistance, please let us know and we can reopen it.