Terrain and Imagery support for Google Earth Enterprise

Added a GoogleEarthEnterpriseTerrainProvider and GoogleEarthEnterpriseImageryProvider, which takes a GoogleEarthEnterpriseMetadata object, so we don't duplicate metadata requests.
GoogleEarthEnterpriseTerrainData and createVerticesFromGoogleEarthEnterpriseBuffer were also added to parse terrain data on a web worker.
Tests were added for all of these classes.
Update CHANGES.md
One TODO that needs to be investigated

[x] Look into deleting unused terrain buffers. Terrain buffers come down as a parent and 4 children. We split this up and store the children buffers for use later. This has the potential to to actually take up a lot of memory in certain cases. Maybe use some sort of LRU cache that can only hold so many tile buffers or a certain amount of memory.

Should GoogleEarthEnterpriseImageryProvider just replace GoogleEarthImageryProvider? GEImageryProvider states in its docs that it is for Enterprise servers:

"This imagery provider does not work with the public Google Earth servers. It works with the Google Earth Enterprise Server. "

I experimented with using GoogleEarthImageryProvider before, but never had any luck with it.  If this works better, the old provider could be deprecated.

@denverpierce I believe some developers are using GoogleEarthImageryProvider, but it would be great to replace it with GoogleEarthEnterpriseImageryProvider.
@cmorse @tfili do you know if we can do this?

Look into deleting unused terrain buffers...

Would it be reasonable to just flag each parent/child in the buffer as used/unused and then remove when everything is used or one has not been used over x seconds/frames.  This doesn't seem like the sort of thing that would need something as general as LRU.

@tfili could you do some quick performance tests of GE terrain vs. quantized mesh with throttled request speed using the dev tools just to make sure that nothing is out of whack.

@tfili can you please run the auto formatter?  There's a lot of inconsistent horizontal whitespace.

When I go to http://cesium-dev.s3-website-us-east-1.amazonaws.com/cesium/gee-terrain/Apps/Sandcastle/index.html?src=Google Earth Enterprise.html&label=Showcases
I get
An error occurred in "GoogleEarthEnterpriseImageryProvider": An error occurred while accessing http://www.earthenterprise.org/3d/flatfile?q2-0-q.1.
An error occurred in "GoogleEarthEnterpriseTerrainProvider": An error occurred while accessing http://www.earthenterprise.org/3d/flatfile?q2-0-q.1.

Perhaps the server is down?

@kring do you have time to review this?  I only quickly looked at it.

Would it be reasonable to just flag each parent/child in the buffer as used/unused and then remove when everything is used or one has not been used over x seconds/frames. This doesn't seem like the sort of thing that would need something as general as LRU.

So each child is split out from its parent, so they are all removed independently when they are used. When I said LRU I was more speaking in the general sense of removing things that were loaded and never used starting with the first loaded buffer, whether its fixed length or just removed after so many frames.

@tfili could you do some quick performance tests of GE terrain vs. quantized mesh with throttled request speed using the dev tools just to make sure that nothing is out of whack.

Sure. It's seems pretty fast but I'll get something together for a sanity check.

Perhaps the server is down?

Probably. Google Earth has problems opening right now also.

The s3 sandcastle example 404's to /proxy/.  Qualitatively I didn't notice any perf issues, seemed pretty snappy.

@pjcozzi I'm no longer working on the project that was using Cesium. @dav3hit3 would probably know.

Does anyone else want to review this?  We'd like to merge this soon so it ships with Cesium 1.33 in May.

I'm reviewing it now.

As I understand it, the difference between GoogleEarthImageryProvider and this is that GoogleEarthImageryProvider talks to the 2D Maps API while this talks to the 3D Earth API.  Both APIs are part of the standard GEE install and you have to generate a dataset specifically for one or the other.  So there is a good argument for keeping both, but we need to clearly document the differences and use case for each to stave off confusion.  I'll dig through the GEE docs and see how they refer to them separately.

Why are there no credits? Is there no attribution requirement?

I was a little concerned about the new third party libraries increasing build size, but the release version of Cesium.js only increased slightly, from 571KB in master to 593KB (gzipped) in this branch.  The two new workers are only requested if using GEE, so that's negligible too.

That's all of the comments I have.  I'm no expert in this area, but this looks good to me.  Awesome work @tfili!

I merged in master and made a tweak suggested by @kring.  Since @tfili is indisposed, we discussed offline that this is in good shape to merge and we'll add server-send credit handling and address https://github.com/AnalyticalGraphicsInc/cesium/pull/5189#discussion_r113666025 in future PRs.
As soon as the tests pass, I'll merge.

Awesome work here @tfili!  I still think you should have named the baby Cesium.

Just pulled this down, but the globe seems to lock up a few seconds after page load.  Win10/Chrome58.  Several network requests to the "flatfile" resources are all coming back with 200 OK and you can see the terrain rendering nicely in the background... but the camera is completely locked up and I can't do anything.   No console errors.  Will keep playing around with this... any tips for debugging?

Awesome @jburr-nc thanks for letting us know and for testing it out.

I didn't see any other good places to ask about this -- hopefully interested parties are still monitoring this PR even though it's closed.  The thread here was very helpful in understanding the difference between the GE provider and the GEE provider, but this clarification is sorely lacking in the documentation.  Since both providers actually talk to GEE (and not the public GE server), maybe in a future release it would be helpful to merge the two and provide a 2D/3D mode switch?  That would clarify the intent.

Thanks for the suggestion @thw0rted!  I created this issue so we can discuss this further: #5310


Wip/offline xdrip

Realized I hadn't PRd this, so here's a wip pass to replace my extremely hacky earlier integration. This was made against MASTER, causing the issue templates to pop up as well.
Let's discuss how / if we want to proceed

I'm horrible at reading code, but it looks like this does what we're talking about in #1064 ?
If so, I'm in support of it, and we can close that issue. If this is what I think it is, it's much more graceful than trying to duplicate existing functionality into monitor-xdrip.sh

Haven't tried it, but the <IP_ADDRESS> address may not always be correct- in my situation it would work on my phone's wifi hotspot, but the bluetooth link goes up on 192.168.44.* .  In my pull request above I ended up using the local gateway address (so it'd work for either), but I never tested if that could have other downsides.

@dramageek Yes this seems to do what #1064 discusses. Wonder if using the default gateway IP is the best way to go? I bet it works most of the time but I wonder if there's an Android fork that does something funky

Looks like the npm network package is working correctly on our devices

Resolved merge conflicts.  Is this still WIP?  Is it something we want to merge to dev for 0.7.0?

@sulkaharo @dramageek any comments on the status of this PR?

@sulkaharo @dramageek can you update on status? trying to decide which remaining open PRs should be targeted toward the upcoming 0.7.0 release...

This should be good to go, but still needs testing. I've had a couple of hardware failures on both my rigs, so I'm unable to test it.

@danamlewis We've had it on our production rig and after the latest fixes in the PR in January, we haven't had any issues, including offline looping working in a boat, plane and at school. The only hassle this hasn't fixed is the Phone hotspot not turning on automatically when the phone is rebooted.

Closing in favor or #1248


Topic is overwritten, no subtopic

Hi,
Thanks for the project! I would like to use the bidge without IP-Symcon but with a Loxone Smarthome system. We use a standard broker (Mosquitto) to connect to Loxone. This works pretty fine, except one problem:
You do not use any subtopics (from my point of view quite uncommon) and use the same topic for the "online" message as well as for the data message. So every time the ping_interval is triggered, the data of the mower is overwritten with "{"online":true}". This makes it useless as the topic message always changes between data and online status.
Online status interval:
https://github.com/nefiertsrebliS/mqtt-landroid-bridge/blob/910ef02ecefd388e23fbb362702eee784742a117/bridge.js#L120
Data message:
https://github.com/nefiertsrebliS/mqtt-landroid-bridge/blob/910ef02ecefd388e23fbb362702eee784742a117/bridge.js#L130
I do not know how ioBroker works, but for all other systems this is not a reliable behaviour and it would be better to use two seperate topics for status and for data, e.g.:
device.topic+'/status'
device.topic+'/mowerdata'

And from my point of view even better would be a subtopic for the mower serial, so that you have all your mowers in the same toplevel topic:
device.topic+'/'+device.sn+'/status'
device.topic+'/'+device.sn+'/mowerdata'

I can create a pullrequest if you are interested in the changes.

Thank you for your input. If you need the serialnumber in your topic, please simply add it in your topic-line like this:
"topic": "yourbestmower/serialNumberOfYourMower".

Yes, I know IPSym does not need it. In fact you are using blank topics, because you add / to your topic. Looks quite uncommon in all MQTT clients...
My coding does not change the default behaviour with your blank topic, but opens your solution for all other solutions besides IPSym. And it's only a few lines of code...

After a successful attempt with subtopics I implemented them without any configuration required. I hope this helps you.

Great!


Resetable counter

I couldn't find a way to reset the counter values to zero (since they persist in Redis/APC) so I added a reset method.

What's your use case for resetting counters?

For example, we keep track of the number of successful/failed http requests since the last server restart. I guess that this could be handled with a workaround (labels), but it seemed just practical to reset the counters on a server crash and start counting again from 0.

Ah, so you want to reset metrics in Redis, correct? Because with APC they would automatically be resetted.

Right, APC would be reset since it is not persistent. But Redis (and a theoretical File Storage adapter) would require this to be reset.

OK, but wouldn't it make sense than to add this to every possible metric?

Well, you are right on that account :)
If you think this is a good PR I can update it to include other metrics as well (not just Counter)

But how does it matter to prometheus, it anyway handles counter resets doing some normalisation, right?
I am just curious how do you end up using this data.


Update kube-scheduler.md

Fix typo.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remember to delete this note before submitting your pull request.
For pull requests on 1.17 Features: set Milestone to 1.17 and Base Branch to dev-1.17
For pull requests on Chinese localization, set Base Branch to release-1.16
Feel free to ask questions in #kubernetes-docs-zh
For pull requests on Korean Localization: set Base Branch to dev-1.16-ko.<latest team milestone>
If you need Help on editing and submitting pull requests, visit:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
If you need Help on choosing which branch to use, visit:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@davidmlentz Thank you for your contribution. Please sign the CLA so we can accept your PR for review.
/assign

Signed! Sorry for the delay.


Release v1.0.35

update changes
ci: update GHA workflow with shared
doc(changes): add Unreleased marker
ci: add submodule .release

Codecov Report

Merging #50 (9b75950) into master (c63e660) will increase coverage by 3.85%.
The diff coverage is 93.10%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   54.86%   58.72%   +3.85%
==========================================
  Files           9        9
  Lines         401      860     +459
==========================================
+ Hits          220      505     +285
- Misses        181      355     +174

Impacted Files
Coverage Δ

lib/vm_harness.js
57.57% <0.00%> (+5.72%)
:arrow_up:

lib/transaction.js
44.13% <94.44%> (+4.30%)
:arrow_up:

lib/connection.js
84.41% <100.00%> (+2.83%)
:arrow_up:

lib/plugin.js
76.68% <0.00%> (-4.80%)
:arrow_down:

lib/logger.js
92.64% <0.00%> (-1.95%)
:arrow_down:

lib/stub.js
80.95% <0.00%> (-0.87%)
:arrow_down:

index.js
100.00% <0.00%> (ø)

... and 2 more

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 509a7ba...9b75950. Read the comment docs.

Codecov Report

Merging #50 (a78cdc4) into master (c63e660) will increase coverage by 3.85%.
The diff coverage is 93.10%.

:exclamation: Current head a78cdc4 differs from pull request most recent head b305314.

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

Codecov Report

Merging #50 (b305314) into master (c63e660) will increase coverage by 3.85%.
The diff coverage is 93.10%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   54.86%   58.72%   +3.85%
==========================================
  Files           9        9
  Lines         401      860     +459
==========================================
+ Hits          220      505     +285
- Misses        181      355     +174

Impacted Files
Coverage Δ

lib/vm_harness.js
57.57% <0.00%> (+5.72%)
:arrow_up:

lib/transaction.js
44.13% <94.44%> (+4.30%)
:arrow_up:

lib/connection.js
84.41% <100.00%> (+2.83%)
:arrow_up:

lib/plugin.js
76.68% <0.00%> (-4.80%)
:arrow_down:

lib/logger.js
92.64% <0.00%> (-1.95%)
:arrow_down:

lib/stub.js
80.95% <0.00%> (-0.87%)
:arrow_down:

index.js
100.00% <0.00%> (ø)

... and 2 more

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 509a7ba...b305314. Read the comment docs.


\NewCopyCommand with \endminipage

\documentclass{article}

\usepackage{etoolbox}

\NewCommandCopy{\mytest}{\endminipage}

\begin{document}
Some text.
\end{document}

! Paragraph ended before \etb@carsquare was complete.
The above works fine without etoolbox.
The above also works fine with etoolbox and most other environments.

A mis-spelling in issue title: \NewCopyCommand should be \NewCommandCopy.

Duplicate of #35. Already fixed but not released yet.
btw There's a mis-spelling in issue title: \NewCopyCommand should be \NewCommandCopy.

Edited the title.


AlertManager is ignoring Discord's Message Limits

What did you do?
Set up alertmanager with the prometheus-operator, setup the kube-prometheus library of metrics and alerts, configured some routes and a few discord and slack receivers.
What did you expect to see?
The same alerts arriving in slack and in discord.
What did you see instead? Under which circumstances?
I did not receive all messages that were sent to slack arriving in discord. This is the same behaviour that was seen using a discord-bridge previously, so nothing new. However this time with the native integration, I can actually see some "useful" logs.
ts=2023-03-30T12:32:21.595Z caller=dispatch.go:352 level=error component=dispatcher msg="Notify for alerts failed" num_alerts=20 err="elder-discord-minor/discord[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 400: {\"embeds\": [\"0\"]}"

A lot of googling about potential rate-limits or formatting issues, etc. I discovered the following stackoverflow answer that contains a list of limits that discord webhooks have. These apparently result in the above status code error and would definitely be possible options. Make sure to look at the "coming from a search engine" part of the first answer, the beginning isn't exactly relevant.

https://stackoverflow.com/questions/53935198/in-my-discord-webhook-i-am-getting-the-error-embeds-0#:~:text=For anyone else coming from search engine

Environment

System information:

Linux 5.15.0-1034-azure x86_64

Alertmanager version:

alertmanager, version 0.25.0 (branch: HEAD, revision: 258fab7cdd551f2cf251ed0348f0ad7289aee789)
  build user:       root@abe866dd5717
  build date:       20221222-14:51:36
  go version:       go1.19.4
  platform:         linux/amd64

Prometheus version:

prometheus, version 2.37.6 (branch: HEAD, revision: 8ade24a23af6be0f35414d6e8ce09598446c29a2)
  build user:       root@5f96027a7c3e
  build date:       20230220-09:36:40
  go version:       go1.19.6
  platform:         linux/amd64

Alertmanager configuration file:

global:
  resolve_timeout: 5m # has no effect on prometheus originated alerts

templates:
- '*.tmpl'

inhibit_rules:
  # inhibit less severe alerts of same name (e.g. if multiple levels can be triggered)
  - equal:
    - namespace
    - alertname
    source_matchers:
    - severity = critical
    target_matchers:
    - severity =~ warning|info
  # inhibit less severe alerts of same name (e.g. if multiple levels can be triggered)
  - equal:
    - namespace
    - alertname
    source_matchers:
    - severity = warning
    target_matchers:
    - severity = info

route:
  group_wait: 15s
  group_interval: 5m
  group_by:
    - vendor
    - severity
    - env
    - app
  continue: false
  routes:
    - matchers:
        - vendor =~ .*elder.*
      continue: false
      routes:
        - receiver: 'elder-discord-critical'
          matchers:
            - env = prod
            - severity = critical
          repeat_interval: 2h
<...>
        - receiver: 'elder-discord-minor'
          matchers:
            - env =~ ^(prod|qa)$
            - severity = minor
          repeat_interval: 12h
        - receiver: 'dummy-receiver' # remove all watchdog alerts (not monitored with current setup)
          matchers:
            - alertname = Watchdog
        - receiver: 'dummy-receiver' # route info inhibitors to a null receiver
          matchers:
            - alertname = InfoInhibitor
<...>

receivers:
  - name: 'dummy-receiver'
 <...>
  - name: 'elder-discord-minor'
    slack_configs:
      - api_url: <secret>
        channel: alert-minor
        send_resolved: true
    discord_configs:
      - webhook_url: <secret>
        send_resolved: true
<...>

Logs:

ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[3ceb64c][active]
ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[00dc451][active]
ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[f597fb1][active]
ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[cdaf1d9][active]
ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[098f72f][active]
ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[480d0e7][active]
ts=2023-03-30T12:47:21.053Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[f087a3d][active]
ts=2023-03-30T12:47:21.054Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[9b8f3a5][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[f597fb1][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[00dc451][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[3ceb64c][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[527d2b2][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[f087a3d][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[098f72f][active]
ts=2023-03-30T12:47:21.055Z caller=dispatch.go:163 level=debug component=dispatcher msg="Received alert" alert=TooLargeConsumerGroupLag[9b8f3a5][active]
ts=2023-03-30T12:47:21.427Z caller=dispatch.go:515 level=debug component=dispatcher aggrGroup="{}/{vendor=~\".*elder.*\"}/{env=~\"^(prod|qa)$\",severity=\"minor\"}:{app=\"kafka\", env=\"prod\", severity=\"minor\", vendor=\"elderbyte\"}" msg=flushing alerts="[TooLargeConsumerGroupLag[f597fb1][active] TooLargeConsumerGroupLag[811cb49][active] TooLargeConsumerGroupLag[75d6d0b][active] TooLargeConsumerGroupLag[527d2b2][active] TooLargeConsumerGroupLag[8490b24][active] TooLargeConsumerGroupLag[3ceb64c][active] TooLargeConsumerGroupLag[3083125][active] TooLargeConsumerGroupLag[f087a3d][active] TooLargeConsumerGroupLag[9b8f3a5][active] TooLargeConsumerGroupLag[04da413][resolved] TooLargeConsumerGroupLag[1381272][active] TooLargeConsumerGroupLag[37c260c][active] TooLargeConsumerGroupLag[45db3d3][active] TooLargeConsumerGroupLag[00dc451][active] TooLargeConsumerGroupLag[8bf9279][active] TooLargeConsumerGroupLag[098f72f][active] TooLargeConsumerGroupLag[9b18365][active] TooLargeConsumerGroupLag[480d0e7][active] TooLargeConsumerGroupLag[cdaf1d9][active] TooLargeConsumerGroupLag[3bc593f][resolved]]"
ts=2023-03-30T12:47:21.427Z caller=discord.go:84 level=debug integration=discord incident="{}/{vendor=~\".*elder.*\"}/{env=~\"^(prod|qa)$\",severity=\"minor\"}:{app=\"kafka\", env=\"prod\", severity=\"minor\", vendor=\"elderbyte\"}"

As the webhook call in question has >10 alerts that are being flushed in one, I assume the issue is with discord's limit about the number of embeds per message (10).

For reference, these are the documented limits:
https://discord.com/developers/docs/resources/channel#embed-object-embed-limits
https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params
Alertmanager would need to truncate values exceeding these limits.

It's possible to avoid messages being flushed into one?

As Simon mentioned above, the embeds have a title limit of 256 characters, which with the default title template is too restrictive.
I believe the Discord integration should be responsible for truncating the title/body with a shorter template if the rendered Title / Description exceed the limit.
https://github.com/prometheus/alertmanager/blob/550952eb51be17ab9cb5c45b57191efd9a0da8cb/notify/discord/discord.go#L113
Otherwise the alerts will never reach the Discord with the error:

discord[0]: notify retry canceled due to unrecoverable error after 1 attempts: unexpected status code 400: {"embeds": ["0"]}

From my knowledge, the status 400 is not related to rate limit (429), which is another issue of the Discord integration: on receiving 429 response, it retries immediately, without waiting for the delay specified in header. Retrier is configured with empty policy for handling 429:
https://github.com/prometheus/alertmanager/blob/550952eb51be17ab9cb5c45b57191efd9a0da8cb/notify/discord/discord.go#L60
this can be improved.
Workaround for the message limit
I had to override the title and message templates for our use case. This allows to pass message limits:
templates.tmpl
{{ define "our.discord.title" }}
    Fire! {{ .GroupLabels.SortedPairs.Values | join " " }}
{{ end }}

{{ define "our.discord.message" }}
    {{ range .Alerts.Firing }}
      Alert: **{{ printf "%.150s" .Annotations.summary }}** ({{ .Labels.severity }})
      Description: {{ printf "%.150s" .Annotations.description }}
      Alertname: {{ .Labels.alertname }}
      Namespace: {{ .Labels.namespace }}
      Service: {{ .Labels.service }}
    {{ end }}

    {{ if gt (len .Alerts.Resolved) 0 }}
        Also {{ .Alerts.Resolved | len }} resolved alerts.
    {{ end }}
{{ end }}

then specify the template alertmanager.yaml:
receivers:
  - name: discord
    discord_configs:
      - webhook_url: 'https://discord.com/api/webhooks/<WEB_HOOK>/<WEB_HOOK>'
        message: '{{ template "our.discord.message" . }}'
        title: '{{ template "our.discord.title" . }}'

We just happened to have run into the same issues at Polar Signals now. Given I did the original implementation I'm and we're facing the same problem, I'm happy to take a look at how we can fix this issue.

Thanks, everyone for the great discussion so far. That should be a great foundation for improving the current implementation.

From my knowledge, the status 400 is not related to rate limit (429), which is another issue of the Discord integration: on receiving 429 response, it retries immediately, without waiting for the delay specified in header. Retrier is configured with empty policy for handling 429:

@serejke  I've added Discord to https://github.com/prometheus/alertmanager/issues/2205

Tried the new alertmanager verion v0.27.0-rc.0 which included the fixes, and works out of the box. :+1:

receivers:

name: discord
discord_configs:

webhook_url: 'https://discord.com/api/webhooks/<WEB_HOOK>/<WEB_HOOK>'
message: '{{ template "our.discord.message" . }}'
title: '{{ template "our.discord.title" . }}'

I've attempted several methods to templatize the alerts while using the prometheus-stack Helm chart. Specifically, I've tried creating templates through a ConfigMap and volume mounting it, but those attempts haven't worked. Additionally, I'm encountering same issue with configuring Discord webhooks for alert notifications. Can anyone provide guidance on how to properly set this up when using Alertmanager through the prometheus-stack Helm chart?
Any help or suggestions would be greatly appreciated


Partitura Save Musicxml saves empty part,

The partitura.save_musicxml functions saves an empty part with no notes.
I'm working on fix_kern branch that was taken from the latest develop.
To reproduce input any kern score :
For examle
import partitura
ps = partitura.load_kern(partitura.EXAMPLE_KERN)
partitura.save_musicxml(ps, "example_kern.musicxml")

produced file :
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE score-partwise PUBLIC
  "-//Recordare//DTD MusicXML 3.1 Partwise//EN"
  "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise>
  <part-list>
    <score-part id="score_example">
      <part-name>0</part-name>
    </score-part>
    <score-part id="score_example">
      <part-name>1</part-name>
    </score-part>
  </part-list>
  <part id="score_example"/>
  <part id="score_example"/>
</score-partwise>

To save a single part:
import partitura
ps = partitura.score.merge_parts(partitura.load_kern(partitura.EXAMPLE_KERN))
partitura.save_musicxml(ps, "example_kern.musicxml")

There is no measure in this part object. Measures are used as the iteration hierarchy between parts and all their TimedObjects in musicxml export. You can add measures automatically using partitura.score.add_measures(ps)


bash: fix CVE-2016-7543 in 16.09

Motivation for this change
patch level 47 + 48 brings security fixes
related to #19253
for master I will update to bash 4.4
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Going ahead and merging... it looks like staging-16.09 isn't being evaluated regularly? @vcunat could you PM me on IRC sometime? :)


Updated CLI / maven plugin user guide links

Also added Ant Task section

Coverage remained the same at 44.512% when pulling efa124eadd21bd6f0e19ba6de5be4810ec922ad9 on yumaoka:task-54-root-readme into fc83310d330d8a5727b3b828512fc89854f2a5a2 on IBM-Bluemix:master.

LGTM


Sync old site development

Syncs the native-code/development page with the old site.

I only reviewed native-code/development/index.md in this PR, which lgtm.


I can't compile it from the source code

after I run the npm run compile, what should I do ?

Hello there !

Download Electron first
Fork Museeks
git clone [the repo url] in the resources/app path in Electron folder
bower install && npm install && npm run compile should do the trick

don't forget to install bower with npm install -g bower
Tell me if you encouter any error

Hey @gitmeteor, have you managed to get it working ?

yes thank you very much


Special handling for zero-sized allocations

For zero-sized allocations, hardened_malloc does the following:

Zero size allocations are a dedicated size class with the entire region remaining non-readable and non-writable.

This guarantees that the application can't use the allocation in any way. Currently, isoalloc puts 0-sized allocations in the zone for the smallest possible objects instead.

I took a shot at implementing this here https://github.com/struct/isoalloc/pull/20 - Feedback welcome!


Add Config Examples section

Closes #20

[x] Move philosophy section down below options
[x] Add Config Examples section with prettier-plugin-sql example

Thanks very much. @karlhorky
Sorry I've been occupied by some real life stuff this week and haven't got time to push further some of the things we've discussed recently. I'll make some time later today or tomorrow to address all of these things.

@karlhorky Hi there, I prefer to move the config examples to a dedicated markdown file so I just edited on your PR, I hope it's fine with you.
I will merge this for now and steer my focus more on the new language support, tests and code refactoring for the following weeks. But I'll get back to the config examples when most of the codebase and APIs are stable.
Thanks for the help!

Glad to help, thanks for the review and merge!

I just found out the all-contributors bot so let's have a test :D
@all-contributors please add karlhorky for code and doc

I just found out the all-contributors bot so let's have a test :D
@all-contributors please add @karlhorky for code and doc


MP4 to images

Hello,
I am extracting images from a video file. However, the extracted images do not have exif data.
What should I do?
regards

Hi @shersoni610 ,
What have you tried? What happens if you just run OpenSfM with your images?


Update events are missing the "before" in payload

Update events are missing the "before"-data in the payload, the "after" is present. This makes it hard to further work with the data and perform the correct update in a second database.
example output of an update event using sink.type = 'stdout':
{"payload":{"op":"u","after":{"ts":"2023-09-25T09:55:23.968497Z","details":"asdf"},"source":{"connector":"timescaledb-event-streamer","ts_ms":1695635729265,"snapshot":false,"db":"timescaledb","schema":"public","table":"event_table","lsn":"0/2244CB0","version":"0.10.1","name":"timescaledb","txId":975},"ts_ms":1695635729116}}

I am not sure if this is intended or can be enabled with a setting that I overlooked.
Versions:

postgresql: 14
timescaledb: 2.11.2
timescaledb-event-streamer: 0.10.1

You have to enable REPLICA IDENTITY FULL. I just don't remember if this is already merged or if you have to wait for 2.12.

Yes, 2.12 includes all the necessary changes: https://github.com/timescale/timescaledb/pull/6086
Not sure if the packages are already available though. This version also includes a way to prevent decompressions / decompressions to create insert events.

ok, thanks for the information :)


ACM-9792 Implement feature to customize Argo and OCP app search…

… result limit
https://issues.redhat.com/browse/ACM-9792

Allow users to set search limit via the console-config ConfigMap for Argo and OCP apps

/retest-required

/cherry-pick release-2.9


Bug: pod setup fails internally

Controller Version
0.23.0
Helm Chart Version
0.18.0
CertManager Version
1.8.0
Deployment Method
ArgoCD
cert-manager installation
I followed README installation guide and Argo CD install cert-manager.
Argo CD showed green and it is not changed.
Checks

[X] This isn't a question or user support case (For Q&A and community support, go to Discussions. It might also be a good idea to contract with any of contributors and maintainers if your business is so critical and therefore you need priority support
[X] I've read releasenotes before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes
[X] My actions-runner-controller version (v0.x.y) does support the feature
[X] I've already upgraded ARC (including the CRDs, see charts/actions-runner-controller/docs/UPGRADING.md for details) to the latest and it didn't fix the issue

Resource Definitions
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
  labels:
    argocd.argoproj.io/instance: some-instance-one
  name: custom-action-runner
  namespace: actions-runner-system
spec:
  replicas: 4
  template:
    spec:
      dockerdWithinRunnerContainer: true
      image: summerwind/actions-runner-dind
      imagePullSecrets:
        - name: dockerconfig
      labels:
        - custom-action-runner-staging
      organization: speee
      resources:
        limits:
          cpu: '1'
          memory: 3Gi
        requests:
          cpu: 500m
          memory: 1Gi
      volumeMounts:
        - mountPath: /mount/staging
          name: efs-billing-report-staging
      volumes:
        - name: efs-billing-report-staging
          persistentVolumeClaim:
            claimName: efs-billing-report-staging-fix

To Reproduce
1. Install argo cd
2. run job from github
3. error (see following)

Describe the bug
Today, github job on custom actions runner fails suddenly because we don't change workflow definitions and AC in few weeks.
I started to I investigate this problem.
hint 1
This is job log until yesterday.

This is today's it.

There is unknown step and it is fail cause.
Set up runner
A job started hook has been configured by the self-hosted runner administrator
Error: File doesn't exist

hint 2
In our production environment, job fails several times already.
But n our staging env, job succeeded.
Then, I re-created pods.
Finally, job becomes to fail in staging.
From the above, I guessed docker image was changed recently and it might case problem. Because github job in staging is fewer than production and it sometimes retain old images.
hint 3
See runner pod's log.
I would be suspicious of update-status.
Describe the expected behavior
Run jobs successfully.
Controller Logs
https://gist.github.com/bigwheel/6be187b0e0cd0d73ef001b20d62be7f1

Runner Pod Logs
https://gist.github.com/bigwheel/79b27df9947420bd771f6dcb4d8baf7e

Additional Context
We are using ARC over 1 years. Thank you great operator!

I just change image label from latest to v2.294.0-ubuntu-20.04-e3deb0d and job succeed.
      image: 'summerwind/actions-runner-dind:v2.294.0-ubuntu-20.04-e3deb0d'

By this history https://github.com/actions-runner-controller/actions-runner-controller/commits/master/runner/actions-runner.dockerfile , https://github.com/actions-runner-controller/actions-runner-controller/commit/11cb9b78829f8640ceb3bcb677e5d608dc3299ea must have a problem around update-status .

@bigwheel Hey! Thanks for reporting and the detailed analysis of the problem.
Probably it's due to that actions-runner-dind.dockerfile lacks COPYs the update-status and hooks we added to actions-runner.dockerfile in #1268. We have two dockerfiles for non-dind and dind respectively, and only the dind seems to be affected.
https://github.com/actions-runner-controller/actions-runner-controller/commit/11cb9b78829f8640ceb3bcb677e5d608dc3299ea#diff-45ecac98435a59bccdffc03779dd18d22ed154a507be7b20cc0828ed8d1a31b6
I'd greatly appreciate it if you could submit a pull request to fix it 🙏

This has been fixed via #1623 and #1624 and the new image is available via actions-runner-dind:v2.294.0-ubuntu-20.04-98b17dc.
Thanks a lot for reporting and fixing it @bigwheel and @gi0baro!

Thanks for confirming! Enjoy ☺


REST Api not working for new OANDA Accounts

Hi Alberto,
I'm trying to use Argo with a new Oanda account, but it returns 0 accounts. Looking at the documentation:

Note: The REST API only has access to Legacy accounts. To access v20 accounts please use the v20 REST API.

(http://developer.oanda.com/rest-live/introduction/)
Any chance that the code is going to be updated to make use of what they call "v20" API?
Thanks!
Nicola

Thanks for the feedback.
When v20 REST API will be completed and released, I give a try with with it.
At the moment, for instance, streaming or pricing history is not implemented.
A coming soon message is displayed: http://developer.oanda.com/rest-live-v20/streaming-ep/


Bump version to v1.13.1

Current dependencies on/for this PR:

main

PR #42   👈

This stack of pull requests is managed by Graphite.


container won't start on QNAP container station

I've installed the riftbit serviio container using the WEB GUI of the Container Station on a QNAP TS231P2 NAS.
After clicking the "play" icon to start the container, it tries for a few sec, then it stops automatically.
The console shows the following error:
"exec /bin/sh: exec format error"
Any ideas how to fix this?

The riftbit/serviio container support only the x86_64 platform.
Your QNAP TS231P2 NAS is a ARM platform.
Try out my soerentsch/serviio container, it's a fork of the riftbit/serviio container with many security updates and it support more platforms (x86_64, arm64, arm)


Confirm location of the Authenticator package

The directory crypto was taken from the latest work from attestation. This should be the most up to date version of the negotiator and authenticator modules.

The src/ needs to be updated to use the code inside the /crypto directory
The crypto dir doesn't appear to build at the moment (fix)
When merged if possible, the demo examples should still be able to run (some errors are expected until full integration is done)

The Negotiator is now merged.
To confirm the remaining tasks with the Oleg for the Authenticator, which may be possibly developed inside a different package / module (to confirm).

From previous meetings there is an understanding that the Authenticator may be a different module from token-negotiator?
This ticket is to confirm the location of this package. So work can be done to finalise integration.

(Note: Negotiator is written with JS and Authenticator is written with Typescript - where to merge into one package one type of scripting language would be best practice / make most sense).

Most of pages doesn't need Authenticator so for most of the we can use light Negoatiator. (hotel bogota, magicLink destination page)
But TokensHolderPage (in out case its DevconTickets) require Negoatiator+Authenticator.

Just to check - do any of these steps need the authenticator below:
with the negotiator, TPS opens iframe to DT and requests DT for tickets list with EP/CA
DT iframe answers with list
negotiator returns promise with the list of tokens the user allowed to use on TPS
later, TPS requires the token to be authenticated (i.e. user is in booking confirmation). when that happens:
DT request AttestaionId for attestation+secret
DT creates useTicket object and signs it
DT sends signedUseTicket to TPS
TPS sends signedUseTicket to the TPSBackendServer
TPSBackendServer sends signedUseTicket to some AUTH_SERVER API for validation
if AUTH_SERVER API answer valid then TPSBackendServer creates user session or add current user prmission to have Ticket benefits and send updated products list to the TPS

DT(negotiator) request Authenticator to create useToken (useTicket)
Authenticator requests AttestaionId for attestation+secret
Authenticator creates useTicket object
Authenticator returns useTicket to DT(negotiator)
DT(negotiator) send useTicket to TPS

@oleggrib can we close this item. Or should we review this further?


Update hex repo, with recent gleam/dynamic

Hello,
Great repo here!, I think you need to update the hex repo with the change you added 3 weeks ago about the recent gleam/dynamic package, optional_field still appears on hex repo.
Best.

Thanks for the reminder, https://hex.pm/packages/gemqtt/0.1.1 is up now


[Request] Add support for VS2019

In order to integrate VSK into my build system, i need support of the Visual Studio 2019 compiler.

I made the preset and i fixed some TU.
So i can make a PR for this issue.

Thanks. Currently we don't take external contributions, but we are working on this!
According to Microsoft documentation, the VS2017 should work in your setup, as long as you link all object files using the VS2019 linker: see https://learn.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=msvc-170
Quote from there:

You can mix binaries built by different versions of the v140, v141, v142, and v143 toolsets. However, you must link by using a toolset at least as recent as the most recent binary in your app

We also need to link with lot of other libraries that VSK has as third parties and we already have in our build system.
So it's why I think it's preferable to add the support for all targets i've mentionned in the issues i have created.
I'd prefer that they are natively supported by VSK instead to we have to rebuild all for each new version we want to use.
But we can also work by building all by us.

Just to clarify: You should be able to use our VS2017 packages in your VS2019 pipeline.
You should be able to use the Ubuntu 18.04 packages in Ubuntu 20.04.
You are probably able to use the Ubuntu 18.04 packages in you CentOS setup.
Have you tried this before you stick to building the SIL Kit packages yourself?
Sidefact: VSK is not an official abbreviation for Vector SIL Kit. We always reccomend using "SIL Kit" to prevent misunderstandings.


IQaudio Pi-DigiAMP+

Hi there,
First of all, thanks for your work, seems awesome ! :wink:
I’m trying to use balenaSound with a IQaudio Pi-DigiAMP+ and a RPI3 ,
I found the correct BALENA_HOST_CONFIG_dtoverlay value which is iqaudio-dacplus,unmute_amp
My DAC is correctly found. And the music is ok with spotify-connect.
But when I connect my phone through bluetooth and try to play sound, these errors appear in logs and I can't hear anything:
05.10.20 12:20:20 (+0200)  audio  W: [pulseaudio] module-loopback.c: Too many underruns, increasing latency to 230.00 ms
05.10.20 12:20:31 (+0200)  audio  E: [bluetooth] a2dp-codec-sbc.c: SBC decoding error (-3)
05.10.20 12:20:31 (+0200)  audio  E: [bluetooth] module-bluez5-device.c: Decoding error

It seems that bluetooth problem is common with RPi3 so I'm gonna buy a dongle.
But you can add IQaudio Pi-DigiAMP+ to your list of supported devices !
Thanks,
Simon

Added in #376
Thanks @SimonMellerin


No dtype for array of arrays into tf.keras.Input

I would like to input an array of arrays into tf.keras.Input(), however that requires me to specify a dtype to ensure it doesn't default to expecting a float. However it doesn't appear as though there is a viable dtype for an array of arrays. For an array by itself, dtype=float32_ref appears to work, however this does not work for an array of arrays. tf.keras.backend.dtype() throws an error if I attempt to put in an array to see it's type as well. Does this dtype not exist?

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Ubuntu 16.04
Tensorflow 1.5.0

Nagging Assignee @cy89: It has been 16 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@fchollet can you comment on array-of-arrays support?

Nagging Assignee @fchollet: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 32 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 48 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 63 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 78 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 93 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 108 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 123 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 138 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@Chasearmer Is this still an issue with the latest TF versions? If yes, can you provide a standalone code to reproduce the issue? Thanks!

The following issue is somewhat related which may help.
https://github.com/keras-team/keras/issues/15778


Add a button in the preferences to open the user data folder

We have added two menu items to let the users to edit the user phrases. However, the fcitx input menu is not always visible on every desktop environment. The PR adds another entry to open the user data folder in the preferences window.
This should fix #150

We have added two menu items to let the users to edit the user phrases. However, the fcitx input menu is not always visible on every desktop environment. The PR adds another entry to open the user data folder in the preferences window.
This should fix #150

Thanks for this pr!


[BUG]: update empty state of cart

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
@Indie-Kart
@trishanu-init
check this out,

we can update empty state of cart something like this,

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Dear Contributor @dhruv8433 ,
You have been assigned this issue. As you begin working on the assigned issue, please ensure that you follow the contributing guidelines closely. This will help maintain the quality and consistency of the project. If a Pull Request (PR) is not created within 5 days from the issue assignment, the issue will be reassigned. We appreciate your understanding and look forward to your valuable contribution.

@trishanu-init
thank you i will try my best


can't find 'Type' in dataset

hi,when i run your code ,an error about the annotations of the COCO dataset is occurred as follow:

File "tools/coco-caption/pycocotools/coco.py", line 94, in createIndex
if self.dataset['type'] == 'instances':
KeyError: 'type'

i download COCO 2014 Train/Val annotation from the link . is there some mistake in the dataset? hepo to get your reply. thank you very much.

Hello, I have the same problem. Have you solved it?

me too! so how to solved it?

I have also encountered this error. So I checked the keys of 'instances_train2014.json' and 'instances_val2014.json', the keys are 'images', 'licenses', 'annotations', 'categories', 'info', no 'instances'. I directly commented the line " if self.dataset['type'] == 'instances' ".

I have also encountered this error. So I checked the keys of 'instances_train2014.json' and 'instances_val2014.json', the keys are 'images', 'licenses', 'annotations', 'categories', 'info', no 'instances'. I directly commented the line " if self.dataset['type'] == 'instances' ".

Hello,I commented the line " if self.dataset['type'] == 'instances' ",but when load other not instance file,there is no 'categories'


Change the names or case of the hardcoded Document table, index tables and the hard coded columns in config

Because I am using PostgreSQL, it is weird that the table names are in Pascal Case. This makes it harder to do queries directly to the database.
It would be better if there was an option to either configure the naming case, like PascalCase, camelCase, snake_case (which I would need here), or choose all the names ourselves.
I would first go for the first option, because this is the easiest to test (no need to test special cases of table names and protect for special characters, ...)
If I would add this fuctionality and PR it, would it be accepted? I don't really want to put time in something that won't be accepted anyways :)

I'd like to share another idea to implement this without introducing a breaking changes if it's possible, that work with less effort

Seems the idea I have works fine for the json content, I will try another way ...


Replace missing title with "(Untitled)" when creating a post via API

This PR closes #6014.

Good catch :fish:!


Make graph classes structs?

Since now Graph is a protocol, we don't use inheritance that much. The only class that is still inheriting is UniqueElementsGraph. Shall we convert all the graph classes to structs?
UnweightedGraph and WeightedGraph store the graph in a couple of arrays, which are value types. So it makes sense for the graph classes to also be value types from this point of view.
This will also allow us to remove the Codable specific classes and implement it in an extension right?

We've looked into this in the past. There are a couple reasons we decided not to do it:

Lose the ability of users of the library to utilize inheritance; it's very convenient to be able to subclass UnweightedGraph and WeightedGraph and add your own functionality on top
Lose the ability to share the memory of a graph between different view controllers/other control classes in an app using the same graph; we actually want reference semantics often instead of value semantics when sharing a large graph between different components of an app

So, for this decrease in flexibility, what do we gain? You're right, we will get to put Codable support right into the structs through a conditionally conforming extension, but I think this will be possible with classes in future versions of Swift too. As for UniqueElementsGraph wouldn't being a struct actually involve more code then, since this could no longer be a subclass and we would have to reimplement much on UnweightedGraph in UniqueElementsGraph?
I know it's trendy in Swift to use structs as much as possible, but it's not clear to me the win here in particular. I'm open to further discussing this topic if we can find some big wins, but I think the losses may outweigh the wins. To quote Chris Lattner:

What irritates me is when people say classes are bad. Or subclassing is bad. Thatʼs totally false. Classes are super important. Reference semantics are super important. If anything, the thing thatʼs wrong is to say, one thing is bad and the other thing is good. These are all different tools in our toolbox, and theyʼre used to solve different kinds of problems. And the bad thing is to say, classes are awesome and should be used to solve all problems, or structs are awesome and should be used to solve all problems. I think a lot of people that say subclassing is bad are reacting to the “overclassification” of Objective-C.

Source: https://oleb.net/blog/2017/06/chris-lattner-wwdc-swift-panel/

Thanks for the explanation!

Lose the ability to share the memory of a graph between different view controllers/other control classes in an app using the same graph; we actually want reference semantics often instead of value semantics when sharing a large graph between different components of an app

I see this the other way around: if Un/WeightedGraph is a value type, users can easily wrap it in a thing class and get reference semantics. But getting value semantics from a class is more involved.

Lose the ability of users of the library to utilize inheritance; it's very convenient to be able to subclass UnweightedGraph and WeightedGraph and add your own functionality on top

The code reuse you can achieve with inheritance can also be achieved through composition. I acknowledge sometimes you need more boilerplate though.
Following the idea of a value type wrapped by a reference type: we could provide a class wrapping the value type and with the composition boilerplate already done. This class would be ready to be sub-classed and it's methods overridden.
I think this idea is worth exploring. Of course there's no need to rush. Let's keep the discussion open?

Sure, we can keep the discussion open. Again, I'm open to it if there are wins. But the workaround you are suggesting to "regain" the reference semantics that we already have (wrapping the structs in a class) seems counterintuitive to this being a good idea. I would ask again, what specifically are we gaining with structs that we don't already have with classes? I think the ability to do some conditional conformance immediately to eliminate the Codable subclasses maybe one thing, but I don't think that offsets the losses in simplicity.

After a quick prototype. I have to admit that it's too much boilerplate. I didn't realize how many methods we would need to write just to call them on the value type (the search extension for example introduces a lot of methods). Thank you for discussing it with me.


[BUG] websocket TestClient startup event not working

with TestClient(app).websocket_connect('/ws/') as websocket: - does not seem to trigger startup event, or it triggers the startup and then it triggers the shutdown event right away

I assume you solved your issue, right? Thanks for closing it :man_shrugging: :+1:


contributing

Hello @Trisfald .
I'm renan and I'm learning Rust, I saw your project and would like to contribute for him. But i never contributed for opensource project and i don't know how to begin. Your https://github.com/Trisfald/weasel/blob/master/CONTRIBUTING.md is more generic and I don't find this project board with tasks.
How to would start help you?

Hello Renan!
First of all thanks for your interest in the project.
You are right, there were no tasks planned for the moment - just a rough idea expressed in the roadmap. I created a new board (not an expert on that) and tried to put some tasks over there.
I'll briefly summarize the my ideas here.

There are a few design tasks. Not much coding here, but still a worthwhile effort:

How to do Statistics/abilities for teams
Find use cases that are not covered
How to do a graveyard for entities

Some benchmarks (like events per second)
More examples

Client / server over network
Reactive abilities

Add more system metrics
Fix a small issue with the Originated decorator.

Plus, I'm currently working on long lasting status effects.
I hope this helps!

Sorry for replying to a closed issue. Covid-19 made me be interested in card games. So I was looking for ways to implement some card/board games to play with my friends online. Rust is my favorite language right now, so I am so excited to find weasel.
But the example implementations look a bit complicated. Can you please provide with?

1-2 example(s) of simple card games.
A written/figure model of weasel's work-flow.

You don't have to be detailed. I know a user guide is on your roadmap. I am willing to contribute once I understand your codebase.

Hello @rnbguy ,
Weasel is designed for typical turn-battle games, but it can support card games nonetheless. On a side note, some type names may sound 'awkward' in the context of card games (creature, for instance).
I took this chance to write a new example. It shows a very simple game and network play for three players.
I kept the code for the game logic simple as I could, yet I admit it didn't turn out as straightforward as I wished. The big complexity issue is handling the game flow; this's especially true for multiplayer games where the transfer medium is asynchronous.
Hopefully it will help understand how to make a card game at least a little. Keep in mind that the example's network code is very bare-bone. Error handling is not done in a proper way - it would have bloated the source code.
The example is here: https://github.com/Trisfald/weasel/tree/master/examples/king_of_the_hill.
In addition, I started to write down some work flow diagrams: https://github.com/Trisfald/weasel/wiki/Work-flows. I'll add more in the future.
I hope the resources above will help you to better understand and use weasel. If you have further questions feel free to ask!


Publish 7.6-20220810150551+0000

Publish 7.6-20220810150551+0000

@bot-gradle test and merge

No milestone for this PR. Please set a milestone and retry.

@nathan-contino This is an automated PR and will be created and merged without any intervention. Not sure why you're assigned as reviewer...

Superseded by https://github.com/gradle/gradle/pull/21499

@blindpirate I'm assigned as a reviewer because this PR technically effects docs changes, and I'm a code owner of the whole docs subproject. For automated PRs like this, you definitely don't need my review. But I saw this so I gave the docs changes a sanity check.


Update link to documentation in the footer

 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.


Bump default timeout to 60s

Closes #1333

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+ 777e

:hourglass: Testing commit 777eadb with merge 8738c61...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-32, cargo-win-64


use AssetMapper instead of Webpack Encore

All the cool kids use AssetMapper now...
Seriously, it's awesome.  In the next version of this bundle, you could make it a UX component and seamlessly incorporate front-end assets like javascript libraries.

The issue for me is that I no longer have node and building assets as part of the release process.


Added customisation section to the docs

I think this is a good idea. It looks good.
Any chance of doing the cross-reference trick with edit_handler?

:+1:

@zerolab Yep, we can do that. Maybe in a later PR though as there's lots of other places cross-referencing would be useful


probability scores?

@shon-otmazgin Question please - can one get probability scores for each cluster found for Lingmess?
Thanks.

Hello @i-am-neo, I am not sure what is cluster probability, basically, the node predicts a pairwise probability between each two mentions and based on that information you can construct a cluster.

@i-am-neo we can close this since no activity here?

Yes, thanks.


(maint) synced file(s) with chocolatey/.github

synced local file(s) with chocolatey/.github.

Changed files

synced local directory .templates/ with remote directory .github/GitReleaseManager/.templates/

This PR was created automatically by the repo-file-sync-action workflow run #7738138860

@AdmiringWorm this one looks good to me, but I will leave it with your for final approval.

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

GitHub Release
Chocolatey Package

Your GitReleaseManager bot :package: :rocket:


Improve README

About issue-

Add screenshots of the website to the README.
Add some GitHub tags and badges to beautify the README.
Add a section for the Open Source events this Project was a part of. Add first entry as JGEC Winter of Code with a short description and logo of JGEC

I'd like to contribute to it as a mentee of Jwoc.

I'd like to contribute to it as a mentee of Jwoc.

@Pranav016 Can I work on this issue?

Can you discuss what changes are you going to make, what ideas you have. And also under which program will you be contributing.

@Pranav016  I am working under Mwoc

@Pranav016 I am working under Mwoc. I will make all the changes requested in issue description.

Do one thing, instead of screenshots add a demo gif of the website to the README.
Just take a screen recording of the features of the website, how you publish posts and using the dark mode etc. Convert to gif and add it to the readme. Let me know if any help needed


zsh: bad CPU type in executable: jag on Intel MacOs

Hi, I just downloaded the latest release of Jaguar, and when I run it, it shows the error in the title. Thanks a lot.

Thanks for reporting.
GitHub changed the runners from Intel to AMD, and we didn't notice that.
The next release should again work on Intel CPUs.


Can't automatically find faces.

Need to be able to find faces. That's the point.

Believe it or not, the latest commit actually fixes this issue. We can find faces.


Create a prerelease using curve25519-dalek 4.0.0-rc

The latest prerelease of ed25519-dalek has been updated to curve25519-dalek 4.0.0-rc, and using both prereleases (of it and this crate) would cause dependency redundance.
The reason for using prereleases is that the ed25519-dalek and curve25519-dalek prereleases use digest API version 0.10, which does not force the hash algorithm to implement resetting state, which is different from the three-year-old version 0.9 used by current stable versions. And I need to replace the SHA2 algorithm in Ed25519 with cSHAKE256 provided by tiny-keccak crate (I know this makes it not specification-compliant) and the public API of tiny-keccak does not support resetting state.
For now I'm using this crate on git main to solve this problem temporarily. (Is there a security risk with this?)

We are about to release rc.2 across the crates :heart: from current main which should be safe to use.
Just need to make StaticSecret optional today in which is one API change we are doing for 2.0.0 x25519 - if you're not using StaticSecret w/ default feature set then you'll be okay until rc.2 compat wise.

rc.2 is out btw across all the crates


How about add 'resolutions' parameter  to 'applyStyle' function?

Hi, I have some vector tiles are not well displayd, I found that the reason of it is the  resolutions. My vectorTiles  ues different resolutions.
.
I saw the code and found that

"applyStyleFunction" function  supports "resolutions"  parameter,  but  "onchange"  function passed "undefined" to it.
If possible i want to add a "resolutions" parameter to "applyStyle" function , and pass it to  "applyStyleFunction"

Sounds good. Please submit a pull request.


バグ修正

[ ] 文字の欠落
[ ] ログハンドラーの解除

First point is tracked by ErisApps/CatCore#73 as it seems to be an CatCore issue.


Add Zocle

@zhexiao You need to add 32x32 png logo as well.
The doc: link seems to be a "print to pdf" file of what appears to be their docs site. Can't you use the original article instead of this?

I don't think that exception is needed.

Thank you very much. I will fixed it ASAP.

Hi, the reason we submitted a print to pdf is because the tutorial for the doc is behind a login for users (Otherwise, we can leave the doc out.).  We'll submit the logo shortly.

@apolakos / @zhexiao Is it logical to hide documentation behind a login in the 1st place? Seems like unnecessary hoops to jump through for your users and harder to find relevant answers using regular search engines.


Top right menu section and items

Implement plugable top right menu items.

@epwinchell : I have redone your changes from #1573 here. Mainly because you collapsed the commits into one and I wanted to have the individual commits and to easily remove the commit with examples from the PR.
So please, check.
I think we can merge this as the step 1) and I'll work from here in a new PR.
Thx for the help and, please, review.

@martinpovolny Looks good.

@epwinchell : Holding of this one as I am reviewing the javascripts around and some of the code.

@epwinchell : I have removed some javascripts as I am quite sure it was doing stuff, that in now handled by bootstrap.
But there's still the combobox with onclick => "miqToggleUserOptions(event, 'to_group');", but that's not specific for my PR, it's in your code from the bootstrap/patternfly conversion.
Can you, please, take a look? I am not sure about the intented behavior of the combobox and the need for the miqToggleUserOptions. I guess we should remove that altogether.

@martinpovolny That onclick is not part of the conversion; I'll leave it to you.

@epwinchell : I don't get it :-(
I am not sure what that code was supposed to do (and I did not write it), so it's hard for me to fix it. I would at least need to understand what is the intended behavior (which is not covered by SPEC that I could read to learn that by reading them).
After the conversion, that you did, the menus are handled by bootstrap and not by the javascripts snippets --> So the javascript do not do anything useful anymore (or at least some of them) --> So part of the conversion should be removal of those javascripts. Am I missing something in these thoughts?
I may be wrong as I said I am not sure what the stuff was supposed to do. But I really do not get your last message. " That onclick is not part of the conversion; I'll leave it to you." Am I supposed to work on the conversion of menus to bootstrap?

I think the JS you are discussing may have been to re-hide the group list when the user clicks outside the list.  If more info is needed, let me know, but yes, I would hope we wouldn't need any fancy JS anymore and bootstrap would handle all the presentation.

I reviewed & tested the changes, the code changes look good, the custom menu / menu items are working correctly.
This PR is good to be merged.

Thx!


isOpen doesn't work properly

Bug description:
I can't manually assign isOpen for dropdown, the same issue with tooltips and popovers.
It seems it has been broken after major release (1.x -> 2.x) because before that everything had worked fine.
I have this code in my directive
$scope.isOpen = false;

            function onSelectorToggle(open) {
                console.warn(open, $scope.isOpen);
            }

and this one in my .slim file
div uib-dropdown="" auto-close="outsideClick" is-open="isOpen" on-toggle="onSelectorToggle(open)"

Each toggle action fires in the console (true|false) for the 'open' attribute and false always for the '$scope.isOpen'
Angular: 1.5.6
UIBS: 2.2.1
Bootstrap: none

Looks like it's 'dot issue'

dot issue??

Yes. Use $ctrl.isOpen or vm.isOpen, never use $scope directly


Featrue: 添加项目下任务模板和蓝盾节点在社区版不显示

Codecov Report

Merging #532 (5e232a2) into v2.6.x_develop (3088059) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #532      +/-   ##
==================================================
- Coverage           62.57%   62.54%   -0.04%
==================================================
  Files                 441      442       +1
  Lines               27357    27391      +34
==================================================
+ Hits                17120    17132      +12
- Misses              10237    10259      +22

Impacted Files
Coverage Δ

itsm/workflow/models/workflow.py
74.86% <0.00%> (-1.07%)
:arrow_down:

itsm/ticket/serializers/ticket.py
69.87% <0.00%> (-0.58%)
:arrow_down:

itsm/service/views.py
54.94% <0.00%> (-0.44%)
:arrow_down:

itsm/component/esb/backend_component.py
65.75% <0.00%> (-0.21%)
:arrow_down:

itsm/sites/views.py
43.90% <0.00%> (ø)

itsm/iadmin/views.py
49.13% <0.00%> (ø)

itsm/trigger/rules/actions.py
41.66% <0.00%> (ø)

itsm/component/constants/ticket.py
100.00% <0.00%> (ø)

itsm/component/constants/trigger.py
100.00% <0.00%> (ø)

itsm/component/utils/auth.py
50.00% <0.00%> (ø)

... and 4 more

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 3088059...5e232a2. Read the comment docs.


why we need minus w_y_i in the end?

i don't understand why we need minus w_y_i (or x_i) in the end of the formula. silly question------

take a look at the derivatives. here is the latex version

you remove y_i != j, so we should do it. Am I right?

Yes. The first item is the original fc derivatives.

I understand it. Thank you for your patience.

Does the definition of J equals the equation (4) in original paper?


Should be able to copy shards to other servers in the cluster

Should happen quickly and the server should actively pick up writes for the shard as soon as the copy is done. (and pick up any writes that occurred while copying).

We no longer support clustering in the open source version so this issue is no longer needed.


Rebel Riot - Update/ Add New Clans

name: Rebel Riot Family
key: rebelriot
color: red
emblem: Diamond_02
info:
logo: https://i.postimg.cc/c4NDfLxV/rebel-riot-source-snap.png
description: >
🛡 𝕽𝖊𝖇𝖊𝖑 𝕽𝖎𝖔𝖙 🛡 part of 𝐭𝐞𝐚𝐦𝐑𝐃𝐘𝐊.com - A vibrant Supercell gaming community. Highly active, war focused clans for competitive players.  Discord: VpR3BRq
social:

discord: https://discord.gg/VpR3BRq
reddit: https://www.reddit.com/message/compose/?to=Rebel_Riot_Gaming
email<EMAIL_ADDRESS>clans:

name: Rebel Riot Club
tag: PPRJ8RPQ
name: Rebel Riot APEX
tag: PUQ99L0R
name: Rebel Riot ONYX
tag: YJRGCUUL
name: Rebel Riot ZERO
tag: Y289LP00
…

Changed the name.
Changed the emblem.
Changed description.
Removed 1 clan.
Added 2 clans.

invalid e

...


Which dataset is selected for training

Hi, thank you very much for providing this useful toolbox. Could you give more detail on how to trian the SVM in the last step to get the brisque score? Which dataset your select for training? Can I use your trained weight file on my customed data? Thanks.

Hi,
Yes generally you can use this trained file for your images and it works best for natural images.
Here the custom model is from Tampere Image Database (TID2008) ::  Paper, Dataset
In terms of the model it is SVR with Radial Basis Function Kernel. I have used the model provided by the authors. Model Link
If you are willing please contribute the script for training the SVM model. We can brainstorm if needed.


How to handle Memory leak

Hi,
Unfortunately, we maintain several ancient projects which rely heavily on Sneakers.
While profiling those projects, I noticed that their memory footprint increases over time.
In order to not deal with those projects, I need to come up with a workarounde. a common practice (php-fpm, puma using puma_worker_killer, unicorn using unicorn-worker-killer, etc) is to restart the workers based on (1) max number of requests or (2) max memory limit and I wonder if there is an equivalent feature build into Sneakers?
Please advice,
Thanks!

We don't have enough information to suggest something specific. A high number of concurrently processed deliveries can be one contributing factor. You should profile the process, otherwise we can only guess what really consumes the heap, and guessing is very inefficient.

@michaelklishin,
I'm not interested in fixing the situation as the process fail to release ROR/ActiveRecord from the heap due to different bugs in old libraries. Therefore we're looking for a simple solution which will simply kill a given worker once it reached a certain memory size or handled X amount of messages.

Sneakers doesn't have any provisions for that. This is a monitoring problem and it should be addressed using suitable monitoring tools.


Question about the entropy encoding

Dear Yang,
Thanks for your excellent work! I have some questions about the code.

I did not find the entropy encoding part in the code.
Why is the quantization of "dequantize" used directly in the encoder, while in the bpp calculations a distinction is made between quantization methods for training and evaluation.
For the quantized results, can I understand that using FlexiblePrior for q_hyper_latent and then using q_hyper_latent to control the results of q_latent? (This question may confuse you, you can just tell me about the connection of these 3 varablies in the code)

Thanks for you help!🙂

We didn't evaluate the entropy coding part. If you need that, you may need to port the model to library such as CompressAI.
This distinction is made based on a paper from Google's team. Unfortunately, I forgot the name of the paper, but I think that should be a common method in their transform-coding pipeline.
Note that prior is a distribution, latent is some sample. We use hyper_latent to calculate the likelihood under the hyperprior. And we use hyper_latent to obtain the lower-level prior (a conditional prior). Then we use lower level prior+latent to calculate the lower level likelihood. The likelihood is equivalent to bitrate.

Thanks for your reply.
What is the $$P(\hat{z})$$ point to in the pseudocode of your paper, is it the likelihood of q_latent?
When you said the lower-level prior, is it the "q_latent" in your code?
Appreciate your help!

As hyper-prior is a widely used concept, we simplified p(z|y)p(y) to p(z) (Here z represents both latents).
yes, q_latent is the lower level latent.

That is, the pseudo-code in the red box is not implemented in the code, right?

yes.


video tutorial for pc_simulator_v5_2

hi all,
is there is any video tutorial for pc_simulator_v5_2? - software will definitely will help a lot.as i had tried but not able to install it

https://youtu.be/ZzLdct2ymvg

tried a lot but now able to run simulator, do you have any video with window 10 os

ohh i had wrote wrong i am not able to run simulator

@kisvegabor My experience with making complex Linux applications ('complex' meaning dependencies on other libraries) work on Windows has never been very straightforward. If it's a CLI application, Cygwin/MSYS2 are very straightforward to use, but using them for GUI applications requires additional installation and setup.
Maybe doing a native Windows port of LittlevGL is a better option? If you're interested I could look into doing this sometime in the future.

@kisvegabor Yes.

@embeddedt Sounds great! I suppose some new drivers would be required instead of monitor, mouse, etc. Or the existing ones should be extended with #defines?

@kisvegabor The Windows architecture is sufficiently different that I think new drivers would be best.

@embeddedt

The Windows architecture is probably best served by new drivers.

Okay. You know it better. :)

I was thinking I would use Code::Blocks for the project, is that OK?

We already have Code::Blocks project. Can it be updated?
However, as Code::Blocks is also cross-platform IDE (like Eclipse) maybe  Visual Studio would be better.
Or we can use the current Eclipse project too and initialize the Windows drivers using #if WIN32 (or similar) The only issue is it won't compile if SDL library is added to the project but not installed. But maybe it's better to ask the user to remove the library (3 clicks) than maintaining more PC projects.
What do you think?

@kisvegabor I was trying to avoid Visual Studio because I didn't want to place any dependency on proprietary products for a native Windows demo.
I think I can update the existing Code::Blocks project.

@embeddedt

I think I can update the existing Code::Blocks project.

Ok, let's do this way!

@kisvegabor I expect to have it finished within a few days. Could you add me as a collaborator to the lv_drivers and lv_projects repositories so I can push my changes to a branch without needing to fork?

@embeddedt I sent the invitations

@kisvegabor Thanks! I accepted them!


chore: WDS, verify correctness of type scale

In particular smallest size seems to be too small even on regular theme sizing.

Hey team! Please add your planning poker estimate with Zenhub @KelvinOm @tbrizitsky


Update fillNA to not project on columns which are considered for filling missing values

Previously, specifying columns param will result in a DDF containing only specified columns. That is not a n expected behavior. The columns param should be used to specify columns to be considered for filling missing values.

retest this please


can't find socket.io path..

Ubuntu server 14.04 , Node v8.4.0,
Setup proxy nginx as https://domain.com/peercalls
All is working except that socket.io  client can't fine the socket.io server at '/socket.io' can you please help with this..
const io = require('socket.io')(http,{   path : '/peercalls' })
Tried changing the path in socket.io but not to avail..
nginx settings as such,
           proxy_pass http://liveCam;             proxy_http_version 1.1;             proxy_set_header Upgrade $http_upgrade;             proxy_set_header Connection $connection_upgrade;             proxy_set_header X-Forwarded-Proto $scheme;             proxy_set_header Host $http_host;             proxy_set_header X-Real-IP $remote_addr;            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Ho do you start debug for socket.io server or make it more verbose..
Oh boy, it's getting more complicated.

@jeremija what are you thoughts?

Thanks, anyways..


uvcdat anonymous log

If a user does not have UVCDAT_ANONYMOUS_LOG defined and then runs vcdat, the script will hang without any output to the log file.
The workaround is simply to export that variable, but the script should either define the variable for the user, or ask the user for a response.

Fixed in #197


V2 strategy - Stuck on creating orders after stop command initiated

Describe the bug
When testing V2 strategies, found a behavior when a user initiated the stop command while the executor is in the process of creating orders, it continuously creating order but no order created event.
2024-05-27 17:27:02,390 - 12451 - hummingbot.client.hummingbot_application - INFO - start command initiated.
2024-05-27 17:27:03,001 - 12451 - hummingbot.strategy.script_strategy_base - WARNING - binance is not ready. Please wait...
2024-05-27 17:27:03,634 - 12451 - hummingbot.connector.exchange.binance.binance_exchange.BinanceExchange - INFO - Network status has changed to NetworkStatus.CONNECTED. Starting networking...
2024-05-27 17:27:04,001 - 12451 - hummingbot.strategy.script_strategy_base - WARNING - binance is not ready. Please wait...
2024-05-27 17:27:04,248 - 12451 - hummingbot.connector.exchange.binance.binance_api_order_book_data_source.BinanceAPIOrderBookDataSource - INFO - Subscribed to public order book and trade channels...
2024-05-27 17:27:04,248 - 12451 - hummingbot.connector.exchange.binance.binance_api_user_stream_data_source.BinanceAPIUserStreamDataSource - INFO - Successfully obtained listen key rD7fjuwbnOOd9r2A9vEtzXOQftCIVIqInmazTYh2xUEoDj7R6ojS4LvUdLih
2024-05-27 17:27:04,589 - 12451 - hummingbot.core.data_type.order_book_tracker - INFO - Initialized order book for FIRO-USDT. 1/1 completed.
2024-05-27 17:27:05,000 - 12451 - hummingbot.strategy.script_strategy_base - WARNING - binance is not ready. Please wait...
2024-05-27 17:27:05,872 - 12451 - hummingbot.client.hummingbot_application - INFO - stop command initiated.
2024-05-27 17:27:05,915 - 12451 - hummingbot.core.rate_oracle.rate_oracle - INFO - Network status has changed to NetworkStatus.CONNECTED. Starting networking...
2024-05-27 17:27:06,428 - 12451 - hummingbot.strategy.script_strategy_base - INFO - Creating FIRO-USDT buy order: price: 1.780143499999999999888495444 amount: 19.66133629114731481040282908.
2024-05-27 17:27:06,428 - 12451 - hummingbot.strategy_v2.executors.position_executor.position_executor - ERROR - Market object for buy order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 258, in control_task
    self.control_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 326, in control_open_order
    self.place_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 358, in place_open_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/executor_base.py", line 285, in place_order
    return self._strategy.buy(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy/script_strategy_base.py", line 108, in buy
    return self.buy_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 505, in hummingbot.strategy.strategy_base.StrategyBase.buy_with_specific_market
    return self.c_buy_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 528, in hummingbot.strategy.strategy_base.StrategyBase.c_buy_with_specific_market
    raise ValueError(f"Market object for buy order is not in the whitelisted markets set.")
ValueError: Market object for buy order is not in the whitelisted markets set.
2024-05-27 17:27:06,431 - 12451 - hummingbot.strategy.script_strategy_base - INFO - Creating FIRO-USDT sell order: price: 1.790856500000000000111504555 amount: 19.54372111891712149902618444.
2024-05-27 17:27:06,431 - 12451 - hummingbot.strategy_v2.executors.position_executor.position_executor - ERROR - Market object for sell order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 258, in control_task
    self.control_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 326, in control_open_order
    self.place_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 358, in place_open_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/executor_base.py", line 287, in place_order
    return self._strategy.sell(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy/script_strategy_base.py", line 131, in sell
    return self.sell_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 550, in hummingbot.strategy.strategy_base.StrategyBase.sell_with_specific_market
    return self.c_sell_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 573, in hummingbot.strategy.strategy_base.StrategyBase.c_sell_with_specific_market
    raise ValueError(f"Market object for sell order is not in the whitelisted markets set.")
ValueError: Market object for sell order is not in the whitelisted markets set.
2024-05-27 17:27:07,432 - 12451 - hummingbot.strategy.script_strategy_base - INFO - Creating FIRO-USDT buy order: price: 1.780143499999999999888495444 amount: 19.66133629114731481040282908.
2024-05-27 17:27:07,432 - 12451 - hummingbot.strategy_v2.executors.position_executor.position_executor - ERROR - Market object for buy order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 258, in control_task
    self.control_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 326, in control_open_order
    self.place_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 358, in place_open_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/executor_base.py", line 285, in place_order
    return self._strategy.buy(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy/script_strategy_base.py", line 108, in buy
    return self.buy_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 505, in hummingbot.strategy.strategy_base.StrategyBase.buy_with_specific_market
    return self.c_buy_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 528, in hummingbot.strategy.strategy_base.StrategyBase.c_buy_with_specific_market
    raise ValueError(f"Market object for buy order is not in the whitelisted markets set.")
ValueError: Market object for buy order is not in the whitelisted markets set.
2024-05-27 17:27:07,433 - 12451 - hummingbot.strategy.script_strategy_base - INFO - Creating FIRO-USDT sell order: price: 1.790856500000000000111504555 amount: 19.54372111891712149902618444.
2024-05-27 17:27:07,434 - 12451 - hummingbot.strategy_v2.executors.position_executor.position_executor - ERROR - Market object for sell order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 258, in control_task
    self.control_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 326, in control_open_order
    self.place_open_order()
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/position_executor/position_executor.py", line 358, in place_open_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy_v2/executors/executor_base.py", line 287, in place_order
    return self._strategy.sell(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7046/hummingbot/strategy/script_strategy_base.py", line 131, in sell
    return self.sell_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 550, in hummingbot.strategy.strategy_base.StrategyBase.sell_with_specific_market
    return self.c_sell_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 573, in hummingbot.strategy.strategy_base.StrategyBase.c_sell_with_specific_market
    raise ValueError(f"Market object for sell order is not in the whitelisted markets set.")
ValueError: Market object for sell order is not in the whitelisted markets set.

After initiating stop command, the executor continuously creating order.. but no order xxxOrderCreatedEvent

No active nor orders stuck on exchange when this issue occurred
This issue happened most of the time only after stop command is initiated for all tests today

Run stop command again does not stop the script
Run exit command ok ✅

Note: For monitoring purpose
Steps to reproduce

Setup any controller config using default setup
Start the script with controller config

(This needs timing) When the connector is about to do creating orders..
Run stop command and observed the script will continuously creating orders (see recording on link below)

Release version
latest and development 1.28.0
Type of installation
Source
Attach required files
Logs and recording files
https://drive.google.com/drive/u/0/folders/1dFshfygRZDcDidMU8a-vxdTxtihYOnyp

Reproduced when testing using diff connector on xemm controller. Same behavior after stop command, it continuously trying to create orders but failed with Market object for sell order is not in the whitelisted markets set.
2024-07-24 18:53:58,946 - 21123 - hummingbot.client.hummingbot_application - INFO - stop command initiated.
2024-07-24 18:53:59,248 - 21123 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "hbotBXPER61dfbb81d3f192196079e784c1cb71cb662acf56edb90", "exchange_order_id": "1773493652451328", "event_name": "OrderCancelledEvent", "event_source": "bitstamp"}
2024-07-24 18:53:59,262 - 21123 - hummingbot.connector.client_order_tracker - INFO - Successfully canceled order hbotBXPER61dfbb81d3f192196079e784c1cb71cb662acf56edb90.
2024-07-24 18:53:59,688 - 21123 - hummingbot.strategy_v2.executors.xemm_executor.xemm_executor - INFO - Trade profitability -0.3013162458653871493312526093 is below minimum profitability. Cancelling order.
2024-07-24 18:53:59,689 - 21123 - hummingbot.strategy.script_strategy_base - INFO - (XRP-EUR) Canceling the limit order hbotBXPER61dfbb81d3f192196079e784c1cb71cb662acf56edb90. [clock=NaT]
2024-07-24 18:53:59,976 - 21123 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp":<PHONE_NUMBER>.0, "order_id": "hbotSXPER61dfbde87328b2196079e784c1cb71cb662acf56edb90", "exchange_order_id": "1773496292196352", "event_name": "OrderCancelledEvent", "event_source": "bitstamp"}
2024-07-24 18:53:59,986 - 21123 - hummingbot.connector.client_order_tracker - INFO - Successfully canceled order hbotSXPER61dfbde87328b2196079e784c1cb71cb662acf56edb90.
2024-07-24 18:54:00,690 - 21123 - hummingbot.strategy.script_strategy_base - INFO - Creating XRP-EUR buy order: price: 0.4015819424945737753584248149 amount: 27.12869854590175793966577443.
2024-07-24 18:54:00,691 - 21123 - hummingbot.strategy_v2.executors.xemm_executor.xemm_executor - ERROR - Market object for buy order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 122, in control_task
    await self.control_maker_order()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 128, in control_maker_order
    await self.create_maker_order()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 196, in create_maker_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/executor_base.py", line 285, in place_order
    return self._strategy.buy(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy/script_strategy_base.py", line 108, in buy
    return self.buy_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 505, in hummingbot.strategy.strategy_base.StrategyBase.buy_with_specific_market
    return self.c_buy_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 528, in hummingbot.strategy.strategy_base.StrategyBase.c_buy_with_specific_market
    raise ValueError(f"Market object for buy order is not in the whitelisted markets set.")
ValueError: Market object for buy order is not in the whitelisted markets set.
2024-07-24 18:54:00,698 - 21123 - hummingbot.strategy_v2.executors.xemm_executor.xemm_executor - INFO - Trade profitability -0.3012180336859789268274121025 is below minimum profitability. Cancelling order.
2024-07-24 18:54:00,698 - 21123 - hummingbot.strategy.script_strategy_base - INFO - (XRP-EUR) Canceling the limit order hbotSXPER61dfbde87328b2196079e784c1cb71cb662acf56edb90. [clock=NaT]
2024-07-24 18:54:01,698 - 21123 - hummingbot.strategy.script_strategy_base - INFO - Creating XRP-EUR buy order: price: 0.4016014983625843472654628221 amount: 27.12869854590175793966577443.
2024-07-24 18:54:01,699 - 21123 - hummingbot.strategy_v2.executors.xemm_executor.xemm_executor - ERROR - Market object for buy order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 122, in control_task
    await self.control_maker_order()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 128, in control_maker_order
    await self.create_maker_order()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 196, in create_maker_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/executor_base.py", line 285, in place_order
    return self._strategy.buy(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy/script_strategy_base.py", line 108, in buy
    return self.buy_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 505, in hummingbot.strategy.strategy_base.StrategyBase.buy_with_specific_market
    return self.c_buy_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 528, in hummingbot.strategy.strategy_base.StrategyBase.c_buy_with_specific_market
    raise ValueError(f"Market object for buy order is not in the whitelisted markets set.")
ValueError: Market object for buy order is not in the whitelisted markets set.
2024-07-24 18:54:01,700 - 21123 - hummingbot.strategy.script_strategy_base - INFO - Creating XRP-EUR sell order: price: 0.7564414074017443862412641000 amount: 27.12869854590175793966577443.
2024-07-24 18:54:01,700 - 21123 - hummingbot.strategy_v2.executors.xemm_executor.xemm_executor - ERROR - Market object for sell order is not in the whitelisted markets set.
Traceback (most recent call last):
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/runnable_base.py", line 69, in control_loop
    await self.control_task()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 122, in control_task
    await self.control_maker_order()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 128, in control_maker_order
    await self.create_maker_order()
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/xemm_executor/xemm_executor.py", line 196, in create_maker_order
    order_id = self.place_order(
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy_v2/executors/executor_base.py", line 287, in place_order
    return self._strategy.sell(connector_name, trading_pair, amount, order_type, price, position_action)
  File "/Users/rapcomia/github/hummingbot/7102/hummingbot/strategy/script_strategy_base.py", line 131, in sell
    return self.sell_with_specific_market(market_pair, amount, order_type, price, position_action=position_action)
  File "hummingbot/strategy/strategy_base.pyx", line 550, in hummingbot.strategy.strategy_base.StrategyBase.sell_with_specific_market
    return self.c_sell_with_specific_market(market_trading_pair_tuple, amount,
  File "hummingbot/strategy/strategy_base.pyx", line 573, in hummingbot.strategy.strategy_base.StrategyBase.c_sell_with_specific_market
    raise ValueError(f"Market object for sell order is not in the whitelisted markets set.")
ValueError: Market object for sell order is not in the whitelisted markets set.

logs_conf_v2_xemm_bitstamp_1.log