[SPRINT] making good use of the new publication system

Making good use of the new publication system
There are some things we can do to make good use of the new publication system, by providing pointers to WG pages and utilities to plot some statistics of the projects/papers.
Contacts: Rachel Mandelbaum (@rmandelb )
Day/Time: Tuesday, due to limited availability during sprint week
Main communication channel: TBD
GitHub repo: we will make a new one for the plotting scripts and link it from here (doesn't exist yet)
Goals and deliverable
Our goal is to help DESC members make better use of the new publication system.  Deliverables:

effective pointers to the new system's WG pages from Confluence, to replace the current Confluence macro-based lists (out of date).  See Slack thread for more info.  This should be a simple update to WG confluence pages.
a GitHub repo containing plotting scripts that take a csv dump of the DESC Projects and papers from PubDB, and plots various stats related to project (WGs, statuses, etc.) so we can use the system to get an overview of these activities across DESC.  See Slack thread for more info.

Resources and skills needed
General enthusiasm for helping people make use of PubDB, python plotting skills.  Might be of interest to pub board members - pinging @diclowe in case he wishes to bring this up in the Pub Board slack channel, and @katrinheitmann , who wants the plots.  :)
Detailed description

As mentioned in the first comment, this sprint will take place on Tuesday.  On Monday I will share basic material here, like a GitHub repo and a Zoom line we can use for discussion.


[GLUTEN-2763][FOLLOWUP] Improve fallback policy

What changes were proposed in this pull request?
This pr is a followup of https://github.com/oap-project/gluten/pull/2763 to address some comments.
Besides, this pr fixes two issues:

improves the fallback reason that hold all of fallback reason instead of overwrite by the new add one.
fix the AQE shuffle read does not been transformed for fallback plan

How was this patch tested?


Rename FormRecognizer directory to remove Vision. suffix

Vision. suffix in directory name was added unintentionally.

Why are there so many commits? Do you need to rebase?

Hi @ramparab, each time you do create a new branch for PR, better practice is to create a branch from current master.

Why are there so many commits? Do you need to rebase?
done.

reopening to continue work.

Hi @ramparab, each time you do create a new branch for PR, better practice is to create a branch from current master.
makes sense.

/azp run net - cognitiveservices - ci


Bug with Shield effect

Hi, when casting shield it will add both the shield effect and the shield immunity and that will break the token's condition HUD :

spell immunity cannot be removed by right clicking, F5 is required :

Fixed 0.0.20


fix composite_hid descriptor and add re-enumeration delay

The composite_hid descriptor didn't work properly on Windows (Keyboard worked, but Mouse didn't). With this change it works on Windows, Linux and MacOS.
Also added a delay between SystemInit() and usb_setup() to ensure re-enumeration after bootloader or reset. This works because the D- Pull-Up is disabled in that period. With a hardwired pullup one would need D- to be pulled low actively to achieve the same.

Actually USB Spec only require a SE0 for 2.5µs (TDDIS) to detect a disconnect and SystemInit() followed by usb_setup() already creates a ~200µs long SE0. However, I had problems with my USB hub disabling the port when my device switched from bootloader to keyboard and adding a delay in between fixed it 🤔 but now I'm not sure if the cause was something else.
@cnlohr Let me know if you think this delay() is actually misleading here and I'll remove it from the PR


Allow selection of provider

Is your request related to a new offering from AWS?
No
Is your request related to a problem? Please describe.
My Terraform stack has several AWS providers specified (with aliases): aws.primary-region, aws.secondary-region, etc. For AWS Terraform resources, I can specify a 'provider' parameter in the resource block to tell Terraform which provider to use to build the resource. There appears to be no such functionality with terraform-aws-lambda.
Describe the solution you'd like.
Allow me to specify 'provider' just like I would with any AWS resource in Terraform
Describe alternatives you've considered.
I could have a default AWS provider, I suppose, or could manually specify the region, but both of those would break the cleanliness of my larger project. Not having a default provider in my Terraform stack ensures that I think through what I'm doing and don't do things by default or by accident and I would like to keep that philosophy.

You should pass provider into the module as described here - https://www.terraform.io/language/meta-arguments/module-providers#the-module-providers-meta-argument
There is nothing extra that module should be doing.

Thank you! I appreciate the pointer; it did indeed give me what I needed.


76 services descriptions

New feature
Updated feature
Bug fixed

Move this pull request as draft pull request if it isn't finished


Ability to undock views and panels to new window

I usually move debug and compile output to other monitors.

Dupe.


GDScript

Please do rich presence for GDScript. Name of file will be Godot or GDScript. Here an image what it could display in default mod.

Fixed in v1.9.0


Persist synthetic event

Persist the synthetic event so that it is accessible when the onClick callback is bubbled. See https://reactjs.org/docs/events.html#event-pooling

The latest change blew up my code when I tried to access the event, since it had been recycled. React outputs a helpful warning to the debug console when accessing properties on a recycled synthetic event, which illustrates the problem exactly.

Hi, can you reproduce your issue at https://codesandbox.io/s/new ?

I have a repro at https://codesandbox.io/embed/yvj1mj79l1 . Note the message in the console when you hit "submit". The upshot is that all properties on the event are nullified and hence unusable since the event is being bubbled from within a promise callback, after it has been recycled.
"This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property nativeEvent on a released/nullified synthetic event. This is set to null. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information."

How is this looking? Do you need anything else from me?

@ChiralMichael sorry, I just don't have time to process this right now

@NewOldMax Thanks for getting back to me. I'll have to maintain a fork or else find another solution. Plan to fork/publish my own package for the time being. Feel free to close this request or leave open as you wish.

scratch that, I just locked to 2.0.3 for react-material-ui-form-validator. That will work for a while at any rate

@ChiralMichael please check the 2.0.8 version

Thanks so much, this is a huge help!


Sort the website links by category

Categories would include -

Social Media sites
News sites.
Research sites
and so on.

Sure u can go ahead.

I would like to add more links like some helpful github repositories . Please assign it to me

@komalsoni4 u do it now and later I will assign


[docs] Unable to internal search in non-SSR languages

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Unable to Algolia docsearch in non-SSR languages ( 'fr', 'de', 'ja' ).

Expected Behavior 🤔
Able to internal search in non-SSR languages.

Context 🔦

I might related to #17249, #17311

Could you check "Indices browse" in the Algolia dashboard?


Backdated merge conflicts fixed

Believe to have fixed merge conflicts with test_gitignore.py and test_gitignore2.py

Merge conflicts are fixed! But the CI tests still fail. Can you look into it?

Merge conflicts are fixed! But the CI tests still fail. Can you look into it?

looking now

LGTM!


New fixture - Equinox Party Par LED PAR 56

Requested on 24/08/15. The manual is very basic.
http://www.qlcplus.org/forum/viewtopic.php?f=6&t=8839

Thanks :+1:


Keyboard not updating for repeated key press

The keyboard example in the README.md does not work, if the same key is pressed >=2 times (i.e. press -> release -> press).
The expected behavior, at least for me, is that the keyboard event should be signaled twice, even for the same key.
The current behavior is that it ignores the key presses. This is due to the implementation uses keydown as a prop, which is not changed for the same key press event (by shallow comparison).

It is the general convention in Dash that callbacks are only fired, when a property changes. If you press the key twice, the value does not change and the callback not firing is expected behavior.
That being said, i agree that it is a limitation that subsequent key presses cannot be captured. One possible solution could be to add an n_keydowns (like n_clicks for buttons) property, which changes every time a key press event occurs. What do you think?

@emilhe Yes, n_keydowns seems like complaint with the standard html components as I just found out.
Would you (or the maintainer of this repo, whoever that may apply) want a PR?
Or I can also wait for this to be fixed, though this is kind of blocking me (I also kind of don't want to roll my own component just for this), so it will be good to know what's the priority of this for the maintainer, thanks!

I am always happy to look at a PR :). But this seems like a rather simple feature, so i just made an attempt to implement it right away. You can try it out here,
https://pypi.org/project/dash-extensions/0.0.29rc1/
Let me know if it works as intended and/or you have ideas on how to improve the syntax.

@emilhe Wow thanks for the quick update!
import dash
import dash_html_components as html
import json

from dash.dependencies import Output, Input, State
from dash_extensions import Keyboard

app = dash.Dash()
app.layout = html.Div([Keyboard(id="keyboard"), html.Div(id="output")])

@app.callback(Output("output", "children"), [Input("keyboard", "n_keydowns")],
              [State("keyboard", "keydown")])
def keydown(n_keydowns, event):
  print(event, n_keydowns)
  return json.dumps(event)

if __name__ == '__main__':
  app.run_server(debug=True)

I was trying the above and ran into the following JS errors:
react_devtools_backend.js:2273 Error: Invalid argument `n_keydowns` passed into Keyboard with ID "keyboard".
Expected `object`.
Was supplied type `number`.
Value provided: 1

The only essential difference between your example and mine is the app.run_server(debug=True). Seems like under debug mode some JS type assertion is triggered?

Ah, yes. I made a mistake in the prop definition. Try (0.0.29rc2),
pip install https://files.pythonhosted.org/packages/51/bd/4aae6a805f13ed829897255a10224af5d0f3cbf38de9bb242e207abfb441/dash-extensions-0.0.29rc2.tar.gz
https://pypi.org/project/dash-extensions/0.0.29rc2/

Works perfectly! Many thanks for the quick update! 🥇

May I please suggest that the n_keydowns property gets added to the README? I think it's a crucial feature, to be able to catch multiple of the same key presses in a row, but I had to dig through the source code/closed issues to find it! Thank you very much for this useful library.

See #47

This thread helped me as well. Thanks.
Problem: If you press the keys too fast, it creates several callbacks.
Ideas: Maybe a way to prevent the key press event before finishing the execution of the previous callback.
Or, maybe simpler, setting a minimum time between 2 key press events, such as 0.5s.

Hi Emilhe. I think the component needs to update on key-up, otherwise it's maintaining a key-down status for keys after they've been released. I ran into this while checking for alt-click and ctrl-click on a plot (Input is clicks, State is keydown).


Sometimes I wish my job was actually just to tootle round the internet fixing quote marks 😂

You'd be very popular.


feat(contributing): try colima to ease apple m1 support

What does this PR do?

[ ] Adds new functionality
[ ] Alters existing functionality
[x] Fixes a bug
[x] Improves documentation or testing

Please briefly describe your changes as well as the motivation behind them:

User of Apple M1 silicon can't use the tooling that is currently in use (mostly virtualbox)
We took this as an opportunity to re-assess how to perform local testing while minimising the changes, for now we are considering Colima, an open-source drop-in replacement for docker-desktop that provides a good installation/run/build experience so far
We tried to use other drivers on Minikube, however, we did not managed to make them work yet (qemu2, podman)
Several architectures exists with Colima, we aime to use the system one to provide the best (speed) experience. For reproducibility we might need to digg further on which setup works best for all.

NB: as part of trying to make test the chaos-controller issue we were forced to update some dependencies to make them compatible with the tested local setup (github.com/vishvananda/netlink)
NB: in order to properly test locally disk pressure related disruptions, we needed to install a dedicated storage class controller, namely longhorn to increase the chance to have a multi-setup testing working. In default Colima setup, injector pod was failing to properly found the major device ID mostly because it was linked to a virtual (memory based) device linked to 0 as a major identifier, that seems not supported by blkio.
Code Quality Checklist

[ ] The documentation is up to date.
[x] My code is sufficiently commented and passes continuous integration checks.
[x] I have signed my commit (see Contributing Docs).

Testing

[ ] I leveraged continuous integration testing

[ ] by depending on existing unit tests or end-to-end tests.
[ ] by adding new unit tests or end-to-end tests.

[ ] I manually tested the following steps:

[x] locally:

[x] run several network disruptions and checked chaos pod + demo-curl pod side effects (network_drop.yaml, network_bandwidth_limitation.yaml, network_delay.yaml, network_filters.yaml
[x] run several disk disruptions and checked chaos pod + demo-curl pod side effects (disk_pressure_read.yaml, disk_pressure_write.yaml)
NB: some of the demo.yaml manifests have been modified in order to ease spotting the side effects

[ ] as a canary deployment to a cluster.

Asked a re-review @ptnapoleon due to this commit mostly: cf987e0499521231ed80f572023a40305ccfbd9f
Removal of all Minikube occurrences except for CI that we keep for now.


Feedback Pop_Os 22.04

Keyboard is fully green and lightbar is fading (rainbow)

Same here @Tuxedo OS 1 / Stellaris 15 Gen 4 (AMD) / ite8291r3-ctl works flawlessly
Even after I got the AppIndicator working, it was not clickable(nothing happened).
My personal assumption is, that you rely on PyQT(KDE) and I use Gnome.

this is not related to Tuxedo. Also, I am using Gnome with Ubuntu 20.04 but it is working well.
I just can't find time to fix these bugs besides my master's thesis. Sorry to hear that you are experiencing problems.

I installed Nobara 37 with gnome this week and created a PR that fixes the problem of the tray not being clickable on gnome environments.

Since this problem looks like fixed I am closing it. Thank you @augustoicaro !


[BUG]一旦一次提问卡住了，没有超时，永久在等待中。或者可加一个stop的按钮

Describe the bug / 描述问题
之前有一个请求卡住了，不会自动超时，也不能手工点击停止，除非关闭软件，否则会后面对该模型的访问都会卡住。
To Reproduce / 复现步骤
其次提问卡住后，随机发生
Expected behavior / 期望行为
正常超时或有stop按钮
Screenshots / 截图

Devtools Info / 开发者工具信息
VTextarea.tsx:167 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: app://./fonts/materialdesignicons-webfont.fbaef2a9.woff2
569Third-party cookie will be blocked. Learn more in the Issues tab.
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

gemini.google.com/app:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

kimi.moonshot.cn/api/chat:1
   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1
   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1
   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1
   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1
   Failed to load resource: the server responded with a status of 401 ()

kimi.moonshot.cn/api/chat:1
   Failed to load resource: the server responded with a status of 401 ()

17index.js:1 doing fixed mapping
App.vue:211 chat changed
19index.js:1 doing fixed mapping
App.vue:211 chat changed
19index.js:1 doing fixed mapping
App.vue:211 chat changed
19index.js:1 doing fixed mapping
chatglm.cn/chatglm/backend-api/assistant/stream:1
   Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

App.vue:211 chat changed
29index.js:1 doing fixed mapping
App.vue:211 chat changed
36index.js:1 doing fixed mapping
App.vue:211 chat changed
34index.js:1 doing fixed mapping
App.vue:211 chat changed
29index.js:1 doing fixed mapping
App.vue:211 chat changed
29index.js:1 doing fixed mapping
App.vue:211 chat changed
64index.js:1 doing fixed mapping
App.vue:211 chat changed
19index.js:1 doing fixed mapping
App.vue:211 chat changed
28index.js:1 doing fixed mapping
CommonBotSettings.vue:141 openaiApi: {"apiKey":"","temperature":1,"pastRounds":5,"alterUrl":"https://api.chatanywhere.tech"}
runtime-core.esm-bundler.js:270 Error: OpenAI or Azure OpenAI API key not found
at new kr (chat_models.js:338:19)
at P._setupModel (OpenAIAPIBot.js:24:23)
at P.setupModel (LangChainBot.js:68:40)
at OpenAIAPIBotSettings.vue:68:27
at Array.map ()
at Proxy.watcher (OpenAIAPIBotSettings.vue:68:10)
at CommonBotSettings.vue:142:13
at m (runtime-core.esm-bundler.js:195:19)
at g (runtime-core.esm-bundler.js:202:17)
at w (runtime-core.esm-bundler.js:1955:9)
v @ runtime-core.esm-bundler.js:270
显示另外 1 个框架
收起
CommonBotSettings.vue:141 openaiApi: {"apiKey":"sk-kfcbkFsytemHvLnGDJmjC4SkbTiAB0k7FgDZt977m4ysjeWD","temperature":1,"pastRounds":5,"alterUrl":"https://api.chatanywhere.tech"}
8index.js:1 doing fixed mapping
App.vue:211 chat changed
17index.js:1 doing fixed mapping
App.vue:211 chat changed
27index.js:1 doing fixed mapping
App.vue:211 chat changed
27index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
19index.js:1 doing fixed mapping
api.chatanywhere.tech/chat/completions:1
   Failed to load resource: the server responded with a status of 403 ()

Bot.js:204 Error send prompt to gpt-3.5-turbo@OpenAI API: Error: 403 免费API限制模型输入token小于4096，如有更多需求，请访问 https://buyca.shop 购买付费API。The number of prompt tokens for free accounts is limited to 4096. If you have additional requirements, please visit https://buyca.shop to purchase a premium key.
at S.generate (error.mjs:46:20)
at Hn.makeStatusError (core.mjs:256:25)
at Hn.makeRequest (core.mjs:299:30)
at async chat_models.js:646:23
at async t._fn (index.js:50:4)
sendPrompt @ Bot.js:204
App.vue:211 chat changed
27index.js:1 doing fixed mapping
geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1 Error
at gud (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:96332)
at f (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:26511)
at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:29014
at new Promise ()
at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:28961
at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:27028
at s (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:25135)
at Object.next (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:23920)
at r (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:22608)
gud @ geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1
ProxySetting.vue:289 Set(13)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com
ProxySetting.vue:289 Set(13)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com
18index.js:1 doing fixed mapping
ProxySetting.vue:289 Set(13)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com
ChatGPTBot.js:52 Error checking ChatGPT login status: se
_checkAvailability @ ChatGPTBot.js:52
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ChatGPTBot.js:52 Error checking ChatGPT login status: se
_checkAvailability @ ChatGPTBot.js:52
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ProxySetting.vue:289 Set(13)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com
ChatGPTBot.js:52 Error checking ChatGPT login status: se
_checkAvailability @ ChatGPTBot.js:52
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ProxySetting.vue:289 Set(13)
ProxySetting.vue:290 Proxy(Array)
ProxySetting.vue:298 ;.openai.com;.huggingface.co;.gradio.app;.poe.com;.google.com;yiyan.baidu.com;.aliyun.com;.tiangong.cn;.xfyun.cn;.mudu.tv;geetest.com;.aip.baidubce.com
30index.js:1 doing fixed mapping
App.vue:211 chat changed
17index.js:1 doing fixed mapping
App.vue:211 chat changed
37index.js:1 doing fixed mapping
matomo.chatall.ai//matomo.php?link=https%3A%2F%2Fchat.openai.com%2F&idsite=1&rec=1&r=456112&h=18&m=8&s=1&url=app%3A%2F%2F.%2Findex.html&uid=0c597c35-2a93-4f14-b61d-6559b0d27e07&_id=&_idn=1&send_image=0&_refts=0&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=2560x1440&_cvar={"1"%3A["AppVersion"%2C"1.78.104"]}&pv_id=GfSWk9&uadata={"brands"%3A[{"brand"%3A"Not-A.Brand"%2C"version"%3A"99"}%2C{"brand"%3A"Chromium"%2C"version"%3A"124"}]%2C"platform"%3A"Windows"}:1
   Failed to load resource: net::ERR_PROXY_CONNECTION_FAILED

8index.js:1 doing fixed mapping
ChatGPTBot.js:52 Error checking ChatGPT login status: se
_checkAvailability @ ChatGPTBot.js:52
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

ChatGPTBot.js:52 Error checking ChatGPT login status: se
_checkAvailability @ ChatGPTBot.js:52
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

5index.js:1 doing fixed mapping
App.vue:211 chat changed
28index.js:1 doing fixed mapping
App.vue:211 chat changed
27index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
App.vue:211 chat changed
18index.js:1 doing fixed mapping
geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1 Error
at gud (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:96332)
at f (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:26511)
at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:29014
at new Promise ()
at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:28961
at geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:27028
at s (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:25135)
at Object.next (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:23920)
at r (geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1:22608)
gud @ geeGuard.d44484fa62f188d1dac3f1c5abb8d133.js:1
App.vue:211 chat changed
20index.js:1 doing fixed mapping
ChatGPTBot.js:52 Error checking ChatGPT login status: se
_checkAvailability @ ChatGPTBot.js:52
chat.openai.com/api/auth/session:1
   Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

2index.js:1 doing fixed mapping
2index.js:1 doing fixed mapping
6index.js:1 doing fixed mapping
2index.js:1 doing fixed mapping
OS and version / 操作系统版本
Win11
ChatALL version / ChatALL 版本
V1.78.104
Network / 网络
否
Additional context / 其它相关信息
No response

并没人理啊……


[Feature request] Custom application top bar

Insomnia Version: 6.0.2
Operating System: Mac OS 10.14 Beta

Details

Many electron application have a custom top bar – I think it is called top bar – can Insomnia get that too. It would look much better and much more like a full application rather than like a web view.

I don't think it is stale...


Building with CLion/CMake/Emscripten for Web - [Success Story]

To get it to work, I had to deviate slightly from whats recommended in the wiki, so this could help some other newcomer (like me!) with a similar setup.
I used the following CMake options (find them under CLion > Preferences > Build,Execution,Deployment > CMake)
-DCMAKE_TOOLCHAIN_FILE=<YOUR PATH HERE>/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
-DPLATFORM=Web

I did not use the -S, -H, -B options mentioned in the wiki because they were getting in the way. -B build in particular was preventing CLion from finding the generated files (because it was creating an additional build directory inside CLion's own directory).
I still included this snippet at the top of CMakeLists.txt, with no changes whatsoever:
if (EMSCRIPTEN)
  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY")
  set(CMAKE_EXECUTABLE_SUFFIX ".html") # This line is used to set your executable to build with the emscripten html template so taht you can directly open it.
endif ()

This was tested under both macOS Catalina 10.15.7 and Windows 10 with CLion 2020.2 and Emscripten 2.0.13

@royalstream Thanks! Added this piece of information to the Wiki!


zed yield query doesnt returns error("missing") when the query has special character (hyphen)

$ zq -i zng 'arr[0].level0.level1.level-2' min_5level.zng
error("missing")
level-2 (note the hyphen) is present in the input.
$ zq -i zng 'arr[0].level0' min_5level.zng
{tags:[1,2,3],value:"0",level1:{tags:[1,2,3],value:"1","level-2":{tags:[1,2,3],value:"2","level-3":{tags:[1,2,3],value:"3","level-4":{tags:[1,2,3],value:"4","level-5":{tags:[1,2,3],value:"5"}}}}}}
Can you suggest how to pass fields that have special characters to zed query?
While checking the typeof(this) the record, level-2 is detected as string "level-2" (query below). Is it possible to perform escape sequencing in this case?
$ zq -i zng 'typeof(this)' min_5level.zng
<{arr:[{id:int64,next:int64,_id:string,friends:[{id:int64,name:string}],greeting:string,favoriteFruit:string,level0:{tags:[int64],value:string,level1:{tags:[int64],value:string,"level-2":{tags:[int64],value:string,"level-3":{tags:[int64],value:string,"level-4":{tags:[int64],value:string,"level-5":{tags:[int64],value:string}}}}}}}]}>
min_5level.zng.zip

@muthu-rk: The way to deal with special characters is to use the "array-style reference" described at https://zed.brimdata.io/docs/language/overview/#65-field-dereference:
$ zq -version
Version: v1.0.0-94-g4600f3e7

$ zq -i zng -Z 'arr[0].level0.level1["level-2"]' min_5level.zng
{
    tags: [
        1,
        2,
        3
    ],
    value: "2",
    "level-3": {
        tags: [
            1,
            2,
            3
        ],
        value: "3",
        "level-4": {
            tags: [
                1,
                2,
                3
            ],
            value: "4",
            "level-5": {
                tags: [
                    1,
                    2,
                    3
                ],
                value: "5"
            }
        }
    }
}

I know you're familiar with #3888 and #3071 that show there's currently bugs where this type of reference is not working in other places where it's supposed to, but it should work for this specific example at least.

This will helps my use case. Thanks a bunch!


test: disable MetalLB service test until there's a drop-in replacement

MetalLB performs ARP announcements which confuses the vbox test env setup
since it infers IP addresses of its NAT device by sniffing ARP requests.
We need a open-coded dummy LB which triggers creation of LoadBalancer
service. Until then, disable it since it's causing too many CI flakes due
to this issue.
Related: #10763
Signed-off-by: Daniel Borkmann<EMAIL_ADDRESS>

test-me-please

test-me-please

test-me-please

test-me-please

retest-runtime

Test was properly skipped in K8s-1.11-Kernel-netnext jenkins test report hence merging. The runtime-4.9 one is a flake, but not related in any way to the service tests.


Error when trying to create a Remote Python Interpreter in PyCharm 2016.1

Hi,
Following docs/pycharm/configuration.rst i get an error message when trying to create a Remote Python Interpreter based on Docker Compose in PyCharm.

Anyone else with this problem?
@noisy Anything I can do in a different way?

Did some digging. Apparently it seems that named volumes doesn't play well with PyCharm 2016.1. Removing them and going back to previous version of dev.yml fixes the problem.

@phiberjenz you try Pycharm 2016.1.2?
http://blog.jetbrains.com/pycharm/2016/04/announcing-pycharm-2016-1-2/

I will try it tomorrow!

I'm experiencing the same issue on PyCharm 2016.1.2.

perhaps, Pycharm 2016.1.3 RC fix problems !?
http://blog.jetbrains.com/pycharm/2016/04/pycharm-2016-1-3-rc-is-available/

@luzfcb That worked. Thanks!

Yes it's working on 2016.1.3!

:+1:


Fix /dev/mshv permission issue on HyperV root partition

mshv is the owning group of /dev/mshv in linux root partition. CH tests and mshv tests requires the user to have access to /dev/msh. Hence adding the user to mshv group.

@anirudhrb Please review.


Hide useless informations to users

When a user access to the election form, he can see (here you see the admin mode, because "Actions" are full displayed, but the user can see the other stuffs) :

I suggest to remove informations that only admin can watch, as :

Status
DKG Statuses
User ID of voters (just let him see : number of ballot cast, and his sciper ID, so he can see if he has already submitted his vote).

I'll have a look
from what I saw when I looked into the buttons, not all of these elements will be equally easy to show/hide, so I'd propose the following order of importance:

[ ] only show the user ID of the logged-in user
[ ] don't show the DKG statuses
[ ] don't show the form statuses

I'll start working on it now

quick question, for the non-admin view, the status view is this

i.e. no "Nodes initialiazed"/"Setup" status - I think it is useful for the user to know whether the form is open/closed or the results are available, so should I just remove the "Ballots shuffled"/"Ballots decrypted" parts?

I think the easiest way to do, from the "Forms" page (where the forms are listed). disable the click on the election (column on the left : "Form title"). Only owner and admin can click.

sounds good, the view will then be completely disabled (i.e. a non-admin user will get a 401)

fait


Upload and display

Project title
Character Limit in the text area.
Project Description
The idea behind this project
Like we often upload our photos while filling any online-exam-form.
How does it work
You will have a upload button if you click then your local file manger will accesable just select any random images and get preview of your uploading.
Stack:
And in order to tick the check box just put x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

for more details please refer to the attached images.
https://user-images.githubusercontent.com/73521123/167266827-248f9412-f96c-4ef7-a984-6de917111898.mp4

@gurjeetsinghvirdee


chore: bdd-nh-import-1586992788 to 0.0.1

chore: Promote bdd-nh-import-1586992788 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Polybar moves to wrong display when connecting a second display

Description
When attaching a second display (in my case via HDMI) the bar moves to it even though it is configured to be on the already connected display.
The second display is enabled/configured via xrandr:
xrandr --output HDMI1 --auto --left-of LVDS1

Expected behavior would be for the bar to stay on the display it's configured for via the monitor option.
When disabling the display via xrandr --output HDMI1 --off the bar moves back to the correct display.
Config
[bar/test]
monitor = LVDS1
width = 100%
modules-center = test

[module/test]
type = custom/text
content = test

Additional Information
I'm running Arch, using bspwm as WM and have installed polybar via the the polybar AUR package.
[zigarrre@t520 ~]% polybar -vv
polybar 3.0.5

Features: +alsa +curl -i3 +mpd +network

X extensions: +randr (+monitors) -render -damage -sync -composite +xkb +xrm

Build type: RelWithDebInfo
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro

You probably need to upgrade bspwm. The patches for this issue is not available in the latest release tag (0.9.2).

So you think it's a bug in bspwm? Could you please provide a link to the corresponding patch or issue?
I'll build bspwm from the master branch and test again.

Closing, as 0.9.3 has been released for a while which has the required patches. Please reopen if this is not the case.


Error running 'ergogen'

hey,
repo looks great and is really helpful! however when I try running 'ergogen' on the config.yaml I get this error:

Error: Field "pcbs.backplate.footprints.m2_screws.what" should be one of [alps, button, choc, chocmini, diode, jstph, jumper, mx, oled, omron, pad, promicro, rgb, rotary, scrollwheel, slider, trrs, via]!

Sorry for the lack of a proper readme, and thank you for using my code!
The project leverages https://github.com/ceoloide/ergogen-footprints as a dependency for the footprints, so you need to make sure you have updated the git submodules as well before being able to run ergogen on this config:
git submodule update --init --recursive --remote

hmm that didn't work either, and neither did moving the .js files directly into the footprints folder. somehow ergogen isn't picking up added footprints, do you know if there is something I could be doing wrong that would cause this?

Make sure you are pointing ergogen to the directory containing the config.yaml instead of the file itself, or it won't pick up the footprints.
In otherwords, call ergogen like this:
ergogen ergogen/

and not like this:
ergogen ergogen/config.yaml

that did it thank you! really appreciate the responsiveness too!


Added Cudos token

CUDOS - The native token of the Cudos blockchain (https://www.cudos.org/)

Add, thanks.
cf : https://github.com/osmosis-labs/assetlists/pull/237


⚠ Bofrost.at has degraded performance

In 047159d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1456 ms

Resolved: Bofrost.at performance has improved in 92ae16d after 6 minutes.


MVP: secure kubelet serving/client cert approving system (remove auto approver)

We just need a more secure strategy around approving csrs.
Cluster machine config operator handles that in Openshift today: https://github.com/openshift/cluster-machine-approver
There's options to do an IBM specific implementation as well if this doesn't ultimately fit into hypershift.

I think an acceptable solution here is to look at the active machines through cluster-api and approve if the machines ip exists in the list.

We are going with the machine approver from openshift. If that turns out to be a large effort we can consider a fallback strategy.

/remove-lifecycle stale

we are running the machine approver now
/close


Feature request: add support for trivy and tflint

First off, many thanks for a maintaining such a useful tool!
It would like to know if you would consider adding support for these tools as well:
trivy: https://github.com/aquasecurity/trivy (moved from tfsec)
tflint: https://github.com/terraform-linters/tflint
They go hand in hand with Terraform/Tofu, widely used in CI together.
So it would be really nice if we can install them as well, using tenv!
best regards,

Thanks for the suggestions, I will take a look

It goes a little bit outside of the original idea for managing Terraform/Tofu versions.
@dvaumoron @Nmishin @anastasiiakozlova245 do you think that it's reasonable?

@kvendingoldo I agree. Install tflint and trivy outside the scope of tenv because the main feature of tenv is that we can manage versions of tools in different ways. However,  for tflint and trivy we don't need to manage versions; we only need to install them, what can be done in many different ways.

yep, for example by asdf

thanks for the suggestion regarding asdf! I went that route.
best regards,


Fix for WFLY-14190, EE9 tests for bootable jar

Issues: https://issues.redhat.com/browse/WFLY-14190
Upgraded wildfly-jar-maven-plugin to 3.0.0.Beta1. Moved the version definition out of the ts.bootable profile to be shared by ts.bootable and ts.bootable.ee9
CI Run with ts.bootable.ee9 enabled: https://ci.wildfly.org/buildConfiguration/WF_BootableJarLinuxJdk8/234986
CI Run with ts.bootable enabled: https://ci.wildfly.org/buildConfiguration/WF_BootableJarLinuxJdk8/234985

@jfdenise please coordinate with Jeff Mesnil as his #13806 should be the last likely conflict with this.

@bstansberry @jmesnil , FYI, the 2 bootable profiles run on JDK8/Linux are green.

@bstansberry , on my side it is complete. I have the 4 CI jobs green (all platforms) for the 2 kinds of bootable profiles.


JsonTools.dll is not compatible with the current version of Notepad++.

Notepad++ v.8.5.1  (64bit)
Json Tools 4.11

C:\Program Files\Notepad++\plugins\JsonTools\JsonTools.dll
Failed to load
JsonTools.dll is not compatible with the current version of Notepad++.
Do you want to remove this plugin from the plugins directory to prevent this message from the next launch?
Yes   No

Version v4.12 works - but you have to download manually and create folder under plugins.
Plugins Admin still serves v.4.11


Inner types are not accessible from inherited types

Take this example:
class A {
    class InnerA {
    }
}

class B extends A {
    InnerA field;
}

For the java compiler InnerA is accessible from class B. jss fails to discover this class though.
As always, I'm preparing a PR with a test for this issue. 😃

give me a sec, this code doesn't trigger my issue. Let me investigate.

okay, I used an outdated jar, my mistake

It happens even to the best ones :)


Pass -static depending on crt-static on linux too.

This is the done the same way as it's already done for msvc.
This is one piece still missing to compile rustc on a musl host with internal llvm (the llvm build process builds at least one shared library, LLVMHello.so, that fails to link with -static in CFLAGS).

Thanks!


Pipelines using Bitbucket not detecting .rancher-pipeline.yml in branches other than master

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

add new pipeline on Rancher UI;
add Bitbucket Cloud repository (private);
associate credentials;
enable repository;
run build or edit config.

Result:
Though all branches contain a .rancher-pipeline.yml file, it is only detected in the master branch.
Upon selecting "Run", only that branch is visible and able to be processed. Upon selecting "Edit config", all branches are visible however only master is enabled.
Editing the yaml for any branch other than master triggers a commit with the updated .rancher-pipeline.yml but it keeps not being detected by Rancher.
Pushing a commit doesn't trigger any action despite Bitbucket logs showing a 200 response status code.
Maybe related to issue #15270.
Rancher:  v2.2.2
UI:  v2.2.41
Helm:  v2.10.0-rancher10
Machine:  v0.15.0-rancher6-1
Cluster information

single node install, deployed on AWS
"kernelVersion": "4.15.0-1037-aws",
"osImage": "Ubuntu 18.04.2 LTS",
"containerRuntimeVersion": "docker://18.9.6",
"kubeletVersion": "v1.13.5",
"kubeProxyVersion": "v1.13.5",
"operatingSystem": "linux",
"architecture": "amd64"

Unable to reproduce the issue yet. Can you share the pipeline file(trim any info you don't want to show)? I would like to check if there's any branch condition set in the spec.

We also set Cache-control: no-cache header requesting Bitbucket Cloud APIs, is it possible that it gets modified/dropped by a proxy server?

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


[stable/postgresql] PostGIS support

Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST

Version of Helm and Kubernetes:
Helm: 2.8.2
K8s: v1.10.12
Which chart:
postgresql v 3.9.1
What happened:
I've tried to enable the postgis extension by running a script at the start up as user 0 (root). This was necessary for installing packages with apt-get.
My values.yaml :
postgresql:
  securityContext:
    runAsUser: 0
  initdbScripts:
    setup_postgis_extension.sh: |
      apt-get update
      apt-get install wget gcc make build-essential libxml2-dev libgeos-dev libproj-dev libgdal-dev -y
      su - postgres
      cd /tmp
      wget "http://download.osgeo.org/postgis/source/postgis-2.4.6.tar.gz"
      export C_INCLUDE_PATH=/opt/bitnami/postgresql/include/:/opt/bitnami/common/include/
      export LIBRARY_PATH=/opt/bitnami/postgresql/lib/:/opt/bitnami/common/lib/
      export LD_LIBRARY_PATH=/opt/bitnami/postgresql/lib/:/opt/bitnami/common/lib/
      tar zxf postgis-2.4.6.tar.gz && cd postgis-2.4.6
      ./configure --with-pgconfig=/opt/bitnami/postgresql/bin/pg_config
      make
      make install

Works fine - Until the postgresql pod gets killed.
The new pod gets a Permission denied on the file postmaster.pid:
Welcome to the Bitnami postgresql container
Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
 nami    INFO  Initializing postgresql
postgre INFO  ==> No injected postgresql.conf file found. Creating default postgresql.conf file...
postgre INFO  ==> No injected pg_hba.conf file found. Creating default pg_hba.conf file...
postgre INFO  ==> Deploying PostgreSQL with persisted data...
postgre INFO  ==> Configuring PostgreSQL...
postgre INFO  ==> Configuring replication parameters...
postgre INFO  ==> Configuring permissions for config files...
postgre INFO
postgre INFO  ########################################################################
postgre INFO   Installation parameters for postgresql:
postgre INFO     Persisted data and properties have been restored.
postgre INFO     Any input specified will not take effect.
postgre INFO   This installation requires no credentials.
postgre INFO  ########################################################################
postgre INFO
nami    INFO  postgresql successfully initialized
INFO  ==> Starting postgresql...
nami    ERROR Unable to start com.bitnami.postgresql: pg_ctl: could not open PID file "/opt/bitnami/postgresql/data/postmaster.pid": Permission denied

I tried to change the permission in my setup_postgis_extension.sh script by adding things like
sudo chown -R 1001:1001 /opt/bitnami/postgresql
sudo chmod 700 /opt/bitnami/postgresql/data

with no luck.
What you expected to happen:
I expected that the pod can be restarted without any problems.
How to reproduce it (as minimally and precisely as possible):
Use the values.yaml form above and kill the pod once.
Anything else we need to know:
I use an alias in my deployment.yaml.
There is also a feature request for Postgis at the bitnami repo (https://github.com/bitnami/bitnami-docker-postgresql/issues/106)
I hope you can help me! Thank you very much in advance!

No update on this @tompizmor ?

I am afraid we couldn't work on this yet. However, we still see the value and plan to do it.
This issue has been already close by the bot but we still have the task opened in our work board.

@SDC2021 - Hi! Is your image publicly available?
Best regards
Jone

@lurajon Sry, it's not...

any news on this @tompizmor ?

Hello @SDC2021,
I am afraid that this approach is not suitable to install the postgis extension. The scripts specified using initdbScripts are only executed during the first database initialization so even if we fix the permission issue with the postmaster.pid file, the postgis extension won't be available in the new pod.
Regarding the request to include postgis in the container, we are evaluating it. At this moment we are not sure if it would be better to just include postgis in the bitnami container or create a different postgres container with postgis installed.

Hi ,
regarding " include postgis in the bitnami container "
Can you please explain how this done ?
Thanks

Regarding the request to include postgis in the container, we are evaluating it. At this moment we are not sure if it would be better to just include postgis in the bitnami container or create a different postgres container with postgis installed.

Please also consider including uuid-ossp extension as it's another popular extension.

Hello @tompizmor ,
thanks for your reply.
I already solved the problem by creating my own bitnami image with the installed postgis extension. Works fine so far!
Nevertheless, I am looking forward for your solution. It would be great to have an officially maintained postgis helm chart! 👍
Greetings
SDC2021

Hi SDC2021,
Please let me know how you solve this problem, because after creating my own image, the postgis is working fine,but as soon as we delete the pod,  we again need to install the postgis.


Support Speculative Decoding for HG Models

Description
[Provide a brief description of the changes in this PR]
Related Issue
[Link to the related issue, if applicable]
Type of Change

[ ] Bug fix
[x] New feature
[ ] Documentation update
[ ] Performance improvement
[ ] Code refactoring
[ ] Other (please specify)

Checklist

[ ] I have read the CONTRIBUTING document
[ ] My code follows the project's coding style
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have updated the documentation accordingly
[ ] I have added appropriate comments to my code, particularly in hard-to-understand areas

Additional Information
[Any additional information, configuration, or data that might be necessary to reproduce the issue or test the PR]
Screenshots (if appropriate)
[Add screenshots to help explain your changes]
Performance Impact
[Describe any performance impact this change may have]
Backwards Compatibility
[Describe any backwards incompatible changes and how you've addressed them]
Dependency Changes
[List any new dependencies introduced or removed]
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM
Should we add some documentation for this?

will do that in a separate PR.


How to Fill Unique colour and disable selection of the all the date for particular day?

I have working with hotel management application, In my application the hotel will be leave for every Sunday, Here I Receives the leave details response from server,  so I want to Fill some unique colour for all Sundays and disable the selection option for that Sundays.
For Example:  The Restaurant will be leave on Sunday means we have to hide all the booking in every Sundays in Calendar

@Saravana181187 how you solved this problem ?
I also have same kind of configurations.


Start Document Components to not spread props to child html tag (Html, Head, Body) etc

Which project does this relate to?
Start
Describe the bug
The document components as part of @tanstack/start do not spread to children. That means for Html, Head, Body elements we cannot set lang="en", or unique data attributes.
For now, I have worked around it by replacing what is rendered with the attributes i need, but obviously this should be applied to the component itself..
RootDocument.jsx (how I should be able to use it)
const RootDocument = ({ children }) => (
  <Html lang="en" data-mantine-color-scheme="light">
    <Head>
      <Meta />
    </Head>
    <Body>
      {children}
      <Scripts />
    </Body>
  </Html>
);

export default RootDocument;

server-entry.jsx (have to replace html tag with the attributes expected from RootDocument)
const html = ReactDOMServer.renderToString(
    <StartServer router={router} />
  );

  // Temp fix until <Html> tag supports passing props to the html element in src/RootDocument
  const fixedHtml = html.replace('<html>', '<html lang="en" data-mantine-color-scheme="light">');

Steps to Reproduce the Bug or Issue

use tanstack start Html component
give it any attribute

Expected behavior
props passed to Html should be included in the html tag after render
Screenshots or Videos
Without fix:

With fix:

Platform

OS: [Linux Mint]
Browser: [e.g. Chrome, Safari, Firefox]
Version: "@tanstack/start": "^1.76.1"

This is a must to comply with WCAG: https://www.w3.org/WAI/WCAG21/Techniques/html/H57.html

We'll be dropping these custom components.

With the release of v1.80.6, these custom components have been dropped.
This breaking change has been listed in the alpha breaking changes discussion thread.


Volume Activation for Windows 10

[Enter feedback here]

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

ID: fd2798f8-c5c1-f42d-569c-a4dcde7431f6
Version Independent ID: 1b56cb9a-6513-3235-4922-45291ec057cc
Content: Create a deployment plan - Windows Deployment
Content Source: windows/deployment/update/create-deployment-plan.md
Product: windows-client
Technology: itpro-updates
GitHub Login: @mestew
Microsoft Alias: mstewart

Closing issue as there isn't any actionable feedback.


ff6pr hotkeys problem

when i have forced combat L+R doesn't do anything,
and no hotkeys seem to be working. i can't frameskip or enable highlighting

also if i have the config files open in notepad++ when i close the game and look at them again it says something changed but nothing has changed

also if i have the config files open in notepad++ when i close the game and look at them again it says something changed but nothing has changed

It's normal. Every time when you launch the game, config files are overwritten.

when i have forced combat L+R doesn't do anything, and no hotkeys seem to be working. i can't frameskip or enable highlighting

To escape, use the character switch buttons.
What is L+R? What keys are you pressing?
And for framespeed and highlighting?
Please show your file with hot keys settings.

@NeonLightning , do you use a laptop? Maybe functional (Fn) keys is the reason?
Feel free to open the issue again if you have new information.

idk how to fix it though.
`[Highlighting]
Enables or disables highlighting of interactive objects.
Setting type: HotkeyGroup
Default value: CapsLock; CapsLock(Hold)
Acceptable keys: Ctrl+Alt+Shift+Key(Hold): https://docs.unity3d.com/ScriptReference/KeyCode.html
Acceptable actions: Ctrl+Alt+[Action]+[Action]: [None], [Enter], [Cancel], [Shortcut], [Menu], [Up], [Down], [Left], [Right], [SwitchLeft], [SwitchRight], [PageUp], [PageDown], [Start]
HighlightingKey = JoystickButton8; CapsLock(Hold)
Allowed types of highlighted icons.
Setting type: IReadOnlyList`1
Default value: GetOn, TreasureBox
Acceptable values: None, Talk, GetOn, GetOff, TreasureBox, GetOnShip, TreasureBoxOff
HighlightingIcons = GetOn, TreasureBox
Pressing the key highlights hidden passages.
Setting type: Boolean
Default value: false
HighlightHiddenPassages = true
`
`[Speed]
Speed up key.
Setting type: HotkeyGroup
Default value: F1; F1(Hold)
Acceptable keys: Ctrl+Alt+Shift+Key(Hold): https://docs.unity3d.com/ScriptReference/KeyCode.html
Acceptable actions: Ctrl+Alt+[Action]+[Action]: [None], [Enter], [Cancel], [Shortcut], [Menu], [Up], [Down], [Left], [Right], [SwitchLeft], [SwitchRight], [PageUp], [PageDown], [Start]
Key = JoystickButton9+JoystickButton4; JoystickButton9(Hold)
Speed up toggle factor.
Setting type: Single
Default value: 3
Acceptable value range: From 0.01 to 10
ToggleFactor = 2
Speed up hold factor.
Setting type: Single
Default value: 5
Acceptable value range: From 0.01 to 10
HoldFactor = 4
 [Battle.System]
Allows to override the combat system using the settings below. Some combat mechanics may have changed.
Setting type: Boolean
Default value: false
ChangeBattleType = false
Overrides the combat system if ChangeBattleType is true.
Setting type: BattleType
Default value: Command
Acceptable values: ATB, Command
BattleType = Command
`
and now it seems like memoria just isn't working period. none of my hotkeys are working again for it. but my one for bepinex config manager pops up.


Fix typo

a -> an

@changeworld : Thanks for your contribution! The author, @gplarsen, has been notified to review your proposed change.

Merging the typo fix.


How can i change skin?

If i try to write property 'skin' i get in console: Failed to load resource: the server responded with a status of 404 (Not Found)

How can i change skin?


Add functions to get k-core of a graph

What is the expected enhancement?
This is to add new functions to retworkx's algorithm library to get a k-core number dictionary from a graph. This is similar to networkx's core_number https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.core.core_number.html  or graph_tool's kcore_decomposition: https://graph-tool.skewed.de/static/doc/topology.html?highlight=kcore_decomposition#graph_tool.topology.kcore_decomposition

@mtreinish I’ll be working on this one!


test new environment on release workflow

believe this is about the github env i v setup, and we now release too. not yet released since so lets test this when there s an unimenu update

doesnt seem its setup yuet and no benefits in other repos with this sertup, closing


domModuleAfterPolymer always fails with external script reference

Currently, this setup will fail polylint with a dom-module for dom-module-after-polymer should be a parent of it or earlier in the document. error message even though it should pass:
dom-module-after-polymer.html:
<link rel="import" href="../../../polymer/polymer.html">
<dom-module id="dom-module-after-polymer">
<template>
  I am an awesome element!
</template>
</dom-module>
<script src="dom-module-after-polymer.js"></script>

dom-module-after-polymer.js:
Polymer({
  is: 'dom-module-after-polymer'
});

This is because the scriptContent  of <script src="dom-module-after-polymer.js"></script> is empty, since it's just trying to grab the text content of that script node instead of actual contents of that external script, so it never finds the otherDomModule.
I'm not sure of the best way to fix this. If you could point me in the right direction I can work on a pull request.

According to polymer-project.org, the script tag should be within the dom-module tag?
Otherwise, this is a Hydrolysis issue reported at https://github.com/Polymer/hydrolysis/issues/185

From Polymer documentation:
The <script> tag can be inside or outside of the <dom-module> element.

Ah, right.
All the examples had them within the <dom-module> though.
Anyway the hydrolysis issue should cover it.

definitely! :)


RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 0 does not equal 2 (while checking arguments for cudnn_convolution)

hello, this error occurred when I try to train a model using python tools/train.py config/3dssd/3dssd_kitti-3d-car.py --gpu-ids=2.
and I found this problem first occurs on through the backbone to extract features,so I set a breakpoints at mmdet3d/models/detectors/votenet.py:55, and try to debug, but the outputs suggested that my input_points and model_weight are already on the same device. so I am very confused.
(Pdb) points[0][0,:]
tensor([ 9.5171,  1.8622, -1.5114,  0.2900], device='cuda:2')
(Pdb) print(next(self.SA_modules[0].parameters())
[...], device='cuda:2', requires_grad=True)

# votenet.py
    def forward_train(self,
                      points,
                      img_metas,
                      gt_bboxes_3d,
                      gt_labels_3d,
                      pts_semantic_mask=None,
                      pts_instance_mask=None,
                      gt_bboxes_ignore=None):
        """Forward of training.

        Args:
            points (list[torch.Tensor]): Points of each batch.
            img_metas (list): Image metas.
            gt_bboxes_3d (:obj:`BaseInstance3DBoxes`): gt bboxes of each batch.
            gt_labels_3d (list[torch.Tensor]): gt class labels of each batch.
            pts_semantic_mask (None | list[torch.Tensor]): point-wise semantic
                label of each batch.
            pts_instance_mask (None | list[torch.Tensor]): point-wise instance
                label of each batch.
            gt_bboxes_ignore (None | list[torch.Tensor]): Specify
                which bounding.

        Returns:
            dict: Losses.
        """
        points_cat = torch.stack(points)

        x = self.extract_feat(points_cat)
        bbox_preds = self.bbox_head(x, self.train_cfg.sample_mod)
        loss_inputs = (points, gt_bboxes_3d, gt_labels_3d, pts_semantic_mask,
                       pts_instance_mask, img_metas)
        losses = self.bbox_head.loss(
            bbox_preds, *loss_inputs, gt_bboxes_ignore=gt_bboxes_ignore)
        return losses

I can avoid this problem by using CUDA_VISIBLE_DEVICES=2 python tools/train.py config/3dssd/3dssd_kitti-3d-car.py , but is there a better solution?
environement:
TorchVision: 0.6.0+cu101
OpenCV: 4.4.0
MMCV: 1.1.5
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMDetection: 2.5.0
MMDetection3D: 0.6.1+64a8c45
sys.platform: linux
Python: 3.7.9 (default, Aug 31 2020, 12:42:55) [GCC 7.3.0]
CUDA available: True
GPU 0,1,2,3: Tesla V100-PCIE-32GB
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 10.1, V10.1.243
GCC: gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
PyTorch: 1.5.0+cu101

This means some variables are not in CUDA device 2 without specifying the devices. For now, we suggest keeping using CUDA_VISIBLE_DEVICES=2, which is the safest way. We will also check the code in the future.


Can't disable default styles

Hi,
I'm trying to disable the default styles.
I have tried removing the file path from app/Config/Outbox.php public $styles = '';
I have tried adding null to the value in app/Config/Outbox.php public $styles = null;
I can see that the renderBody function allows the $styles parameter to have a default of null but must be type string so I'm not sure if I'm misinterpreting the code or this is a bug.
Do you know how I could pass a custom style on a per email basis or set it to null so the default is not included?
Thanks in advance.

Setting it to the empty string should work ''. Using null on Template tells it to load from the Config:
return $styles === '' ? $body : (new CssToInlineStyles)->convert($body, $styles);

So either passing the empty string or setting it in the Config (or both) should work. Did that not work for you?

If I set the value in Config/Outbox.php to '' I get this error.

#0 /var/www/vhosts/bebleys.uk/htdocs/vendor/codeigniter4/framework/system/View/View.php(203): CodeIgniter\Exceptions\FrameworkException::forInvalidFile('.php')
#1 /var/www/vhosts/bebleys.uk/htdocs/vendor/codeigniter4/framework/system/Common.php(1217): CodeIgniter\View\View->render('', Array, true)
#2 /var/www/vhosts/bebleys.uk/htdocs/vendor/tatter/outbox/src/Entities/Template.php(114): view('', Array, Array)
#3 /var/www/vhosts/bebleys.uk/htdocs/vendor/tatter/outbox/src/Entities/Template.php(110): Tatter\Outbox\Entities\Template->renderBody(Array, NULL)
#4 /var/www/vhosts/bebleys.uk/htdocs/vendor/tatter/outbox/src/Entities/Template.php(161): Tatter\Outbox\Entities\Template->renderBody(Array, NULL)
#5 /var/www/vhosts/bebleys.uk/htdocs/app/Helpers/mail_helper.php(26): Tatter\Outbox\Entities\Template->email(Array)
#6 /var/www/vhosts/bebleys.uk/htdocs/app/Controllers/Suppliers/DropshipController.php(57): mail_send(Array, Object(stdClass), NULL)
#7 /var/www/vhosts/bebleys.uk/htdocs/vendor/codeigniter4/framework/system/CodeIgniter.php(936): App\Controllers\Suppliers\DropshipController->process_dropshipments()
#8 /var/www/vhosts/bebleys.uk/htdocs/vendor/codeigniter4/framework/system/CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Suppliers\DropshipController))
#9 /var/www/vhosts/bebleys.uk/htdocs/vendor/codeigniter4/framework/system/CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /var/www/vhosts/bebleys.uk/htdocs/public/index.php(44): CodeIgniter\CodeIgniter->run()
#11 {main}

If I set the value in Config/Outbox.php to '' I get this error.

#0 /var/www/vhosts//htdocs/vendor/codeigniter4/framework/system/View/View.php(203): CodeIgniter\Exceptions\FrameworkException::forInvalidFile('.php')
#1 /var/www/vhosts//htdocs/vendor/codeigniter4/framework/system/Common.php(1217): CodeIgniter\View\View->render('', Array, true)
#2 /var/www/vhosts//htdocs/vendor/tatter/outbox/src/Entities/Template.php(114): view('', Array, Array)
#3 /var/www/vhosts//htdocs/vendor/tatter/outbox/src/Entities/Template.php(110): Tatter\Outbox\Entities\Template->renderBody(Array, NULL)
#4 /var/www/vhosts//htdocs/vendor/tatter/outbox/src/Entities/Template.php(161): Tatter\Outbox\Entities\Template->renderBody(Array, NULL)
#5 /var/www/vhosts//htdocs/app/Helpers/mail_helper.php(26): Tatter\Outbox\Entities\Template->email(Array)
#6 /var/www/vhosts//htdocs/app/Controllers/Suppliers/DropshipController.php(57): mail_send(Array, Object(stdClass), NULL)
#7 /var/www/vhosts//htdocs/vendor/codeigniter4/framework/system/CodeIgniter.php(936): App\Controllers\Suppliers\DropshipController->process_dropshipments()
#8 /var/www/vhosts//htdocs/vendor/codeigniter4/framework/system/CodeIgniter.php(432): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Suppliers\DropshipController))
#9 /var/www/vhosts//htdocs/vendor/codeigniter4/framework/system/CodeIgniter.php(333): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#10 /var/www/vhosts/*****/htdocs/public/index.php(44): CodeIgniter\CodeIgniter->run()
#11 {main}

Okay I will take a look.


Use gatsby-image for homepage's event list

Is this something we would want to do? I thought the plan was to eventually use Facebook's events for this purpose, in which case this would not be appropriate. Does that remain the plan of record?

I have never thought of using facebook event for this. Maybe we discussed it before but I just can't remember. At least for me, I never plan to use facebook event for this.
If we were to use facebook events, how would we get the data? The facebook API is now quite restricted and I am not sure how easy it would be to get the data we want.

The original thinking was Facebook's API, yes. That may indeed no longer be possible.
In that case, we should merge this PR.

This has been rebased.


Some problems about code implementation and paper description

Hello, I found that some implementations are inconsistent with the paper description, I hope you can help me to understand.
1. multivariate Gaussian distribution(you can click here to check)
In the paper, the role distribution is assumed to be a multivariate Gaussian distribution. But I found that your implementation uses a Gaussian distribution function(NOT multivariate), . In training phase, The shape of the sampling result is latent = gaussian_embed.rsample() => torch.Size([96, 3]) => torch.Size([batch_size * n_agents, dim]),  I guess it's because dim=3, which means that each agent's role is represented by a multivariate Gaussian distribution with dim=3, so you needn't use torch.distributions.MultivariateNormal
2. Regular terms about Identifiable and Versatile Roles(here)
In the derivation of section 3 of your paper, the final loss (Eq. (3)) is equal to CE-H(CrossEntropy-Entropy). In my understanding, this is the KL divergence of q and p, since KL = CE - H, I am confused about the implementation below
loss = gaussian_embed.entropy().sum(dim=-1).mean() * self.args.h_loss_weight + \
            kl_divergence(gaussian_embed, gaussian_infer).sum(dim=-1).mean() * self.args.kl_loss_weight   # CE = H + KL

If I understand according to your comments, where is -H in the codes(Eq. (3) in the paper)? I prefer to treat gaussian_embed.entropy().sum(dim=-1).mean()  in the code as entropy exploration(like TRPO?).
3. Softplus operation(here)
Why use softplus here.
4. Calculation of mi(Regular terms about Specialized Roles)(here)
In my opinion, mi is equivalent to the variation function q in the paper Eq. (6). However, q is self.latent_infer in the code, since the input of self.latent_infer is cat[h_in, inputs]. Therefore, I think the code should be modified as follows
Orig:
latent_dis = latent.clone().view(self.bs, self.n_agents, -1)
latent_move = latent.clone().view(self.bs, self.n_agents, -1)

mi = th.clamp(gaussian_embed.log_prob(latent_move.view(self.bs * self.n_agents, -1))+13.9,\
                                  min=-13.9).sum(dim=1,keepdim=True) / self.latent_dim

modified:
# change latent to latent_infer
latent_dis = latent_infer.clone().view(self.bs, self.n_agents, -1)
latent_move = latent_infer.clone().view(self.bs, self.n_agents, -1)

# change gaussian_embed to gaussian_infer
mi = th.clamp(gaussian_infer.log_prob(latent_move.view(self.bs * self.n_agents, -1))+13.9,\
                                  min=-13.9).sum(dim=1,keepdim=True) / self.latent_dim

5. dissimilarity model input problem(here)
In the Eq. (6) of your paper, the input of dissimilarity model is the trajectory of agents i and j. Howerver, in your code, the input of self.dis_net is role latent latent_dis and latent_move, not h_in(trajectory). I am confused about this.
6. A small question about the calculation graph in pytorch(here)
Why use .detach()here to remove h_in from the calculation graph?
7. run time
I try to run the code with the command as follows
python3 src/main.py --config=qmix_smac_latent --env-config=sc2 with agent=latent_ce_dis_rnn env_args.map_name=3m t_max=20050000

However, the maps of 3m are running very slowly, but I only need 2 days to train qmix in pymarl, I am confused about this. The result below is that it has been training for 2, 3 days ...
Details:
[INFO 22:51:55] my_main Updated target network
[INFO 23:03:18] my_main t_env: 2755241 / 20050000
[INFO 23:03:18] my_main Estimated time left: 15 days, 14 hours, 23 minutes, 39 seconds. Time passed: 2 days, 9 hours, 19 minutes, 13 seconds
[INFO 23:03:22] my_main Recent Stats | t_env:    2755241 | Episode:    43728
battle_won_mean:           0.5831       di_max:                    1.0000       di_mean:                   0.1212       di_min:                    0.0000
di_std:                    0.2519       ep_length_mean:           72.5449       epsilon:                   0.0500       grad_norm:                 1.3739
loss:                      0.7765       loss_ce:                   0.6931       loss_dis:                 -0.0004       loss_reg:                  0.6927
mi_max:                    1.0000       mi_mean:                   0.4992       mi_min:                    0.0000       mi_std:                    0.3931
q_taken_mean:              1.4689       return_mean:              16.6189       return_std:                4.0020       target_mean:               1.4601
td_error_abs:              0.1858       test_battle_won_mean:      0.7417       test_ep_length_mean:      67.6500       test_return_mean:         17.4870
test_return_std:           3.6892       var_mean:                  0.0429
[INFO 23:11:36] my_main Updated target network
[INFO 23:31:16] my_main Updated target network
[INFO 23:32:01] my_main t_env: 2775428 / 20050000
[INFO 23:32:01] my_main Estimated time left: 17 days, 1 hours, 32 minutes, 58 seconds. Time passed: 2 days, 9 hours, 47 minutes, 56 seconds
[INFO 23:32:05] my_main Recent Stats | t_env:    2775428 | Episode:    44016
battle_won_mean:           0.5618       di_max:                    1.0000       di_mean:                   0.1315       di_min:                    0.0000
di_std:                    0.2536       ep_length_mean:           71.9337       epsilon:                   0.0500       grad_norm:                 1.2976
loss:                      0.7732       loss_ce:                   0.6931       loss_dis:                 -0.0004       loss_reg:                  0.6927
mi_max:                    1.0000       mi_mean:                   0.4741       mi_min:                    0.0000       mi_std:                    0.3906
q_taken_mean:              1.4347       return_mean:              16.4456       return_std:                4.0802       target_mean:               1.4272
td_error_abs:              0.1820       test_battle_won_mean:      0.7000       test_ep_length_mean:      69.2000       test_return_mean:         17.2025
test_return_std:           3.8033       var_mean:                  0.0475
[INFO 23:48:52] my_main Updated target network
[INFO 23:58:20] my_main t_env: 2795641 / 20050000
[INFO 23:58:20] my_main Estimated time left: 15 days, 14 hours, 24 minutes, 45 seconds. Time passed: 2 days, 10 hours, 14 minutes, 15 seconds
[INFO 23:58:24] my_main Recent Stats | t_env:    2795641 | Episode:    44304
battle_won_mean:           0.5604       di_max:                    1.0000       di_mean:                   0.1252       di_min:                    0.0000
di_std:                    0.2526       ep_length_mean:           71.1094       epsilon:                   0.0500       grad_norm:                 1.0757
loss:                      0.7700       loss_ce:                   0.6931       loss_dis:                 -0.0004       loss_reg:                  0.6927
mi_max:                    1.0000       mi_mean:                   0.4877       mi_min:                    0.0000       mi_std:                    0.3905
q_taken_mean:              1.4241       return_mean:              16.4276       return_std:                4.1351       target_mean:               1.4185
td_error_abs:              0.1827       test_battle_won_mean:      0.7250       test_ep_length_mean:      68.3583       test_return_mean:         17.3875
test_return_std:           3.6658       var_mean:                  0.0471
[INFO 00:08:17] my_main Updated target network
[INFO 00:25:01] my_main t_env: 2815938 / 20050000
[INFO 00:25:01] my_main Estimated time left: 15 days, 17 hours, 23 minutes, 53 seconds. Time passed: 2 days, 10 hours, 40 minutes, 55 seconds
[INFO 00:25:05] my_main Recent Stats | t_env:    2815938 | Episode:    44584
battle_won_mean:           0.5818       di_max:                    1.0000       di_mean:                   0.1199       di_min:                    0.0000
di_std:                    0.2494       ep_length_mean:           71.3123       epsilon:                   0.0500       grad_norm:                 1.2917
loss:                      0.7714       loss_ce:                   0.6931       loss_dis:                 -0.0004       loss_reg:                  0.6926
mi_max:                    1.0000       mi_mean:                   0.5028       mi_min:                    0.0000       mi_std:                    0.3850
q_taken_mean:              1.3729       return_mean:              16.5951       return_std:                4.0498       target_mean:               1.3659
td_error_abs:              0.1851       test_battle_won_mean:      0.7333       test_ep_length_mean:      68.3750       test_return_mean:         17.4525
test_return_std:           3.6723       var_mean:                  0.0465

Looking forward to your reply :)

Hi, we are very sorry for the late reply. We were trying to update ROMA to match the newest version of PyMARL. Since some of your questions will be resolved then, we did not reply to your issues on time. (Btw, an updated version of ROMA will be released in a few weeks.)
Q1: We did not use torch.distributions.MultivariateNormal:
A1: This is because we use diagonal covariance matrices to reduce the number of parameters. torch.distributions.Normal matches the descriptions in our paper, and we find it works well in practice.
Q2: Regular terms about Identifiable and Versatile Roles:
A2: Yes, you are right, in our implementation, we use KL for CE-H. gaussian_embed.entropy().sum(dim=-1).mean() is for exploration, and since it is a commonly used trick, we did not describe it in our paper. We will add some discussion about this in the camera-ready version of ROMA. :)
Q3: Softplus operation
A3: This is a trick that we find can make training more stable.
Q4: Calculation of mi
A4: Yes, we realize this problem, and it is supposed to be gaussian_infer.log_prob. However, I guess, empirically, these two will have similar performance. Because, intuitively, both of them encourage the roles of different agents to be the same, which is in line with our aim stated in the paper. We will fix this in the next version of this repo.
Q5: Dissimilarity model input
A5: Since we optimize the mutual information between the history and the role, we expect that they are identifiable by each other. Thus, here, we use roles as compact representations of history, which can effectively reduce the number of parameters.
Q6: Use of detach()
A6: We did not want the role learning component and the perception component to influence each other. This is because the learning of roles is already very difficult; if it can influence the representations of history, the training may be slower.
Q7: Run time
A7: When we carried out our experiments, we found that ROMA has comparable run time with QMIX. A possible reason is that we use 8 parallel environments to collect data. Which runner are you using?
Please let us know if our answers do not resolve your concerns. :)

Thanks for your reply, most of my doubts have been resolved. Although neural network optimization itself is a black box(some operations or regular terms cannot be explained well), the motivation of this paper is interesting :)


Document events scrollbar attach

have problems if you use reactPortal and different documents like iframe

your scrips loaded in iframe and append the component from iframe to window.parent

+1 Getting an error message saying Cannot read properties of null (reading 'style') ocassionally when using react-custom-scrollbars in react components that are rendered in the content script of a browser extension. I have traced it back to document.body being null on this line:
https://github.com/malte-wessel/react-custom-scrollbars/blob/b353cc4956d6154d6a100f34c3a6202c75434186/src/Scrollbars/index.js#L333


⚠ Bofrost.es has degraded performance

In 34f257b, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1688 ms

Resolved: Bofrost.es performance has improved in 04062ad after 22 minutes.


Fix multi-architecture images build

What this PR does / why we need it:
docker-build-all cannot build multi-architecture images (https://quay.io/repository/metal3-io/ip-address-manager?tab=tags).
Reference CAPI multi-architecture images build: https://github.com/kubernetes-sigs/cluster-api/blob/main/Dockerfile
Original images:

New images:

Fixes #517.
Could you add overrides for BASE_IMAGE in the Makefile instead? One for each ARCH.

/hold
I don't think this is needed. The BASE_IMAGE that we use is actually pointing to a multi-arch manifest. The issue is that we simply do not build and publish images for other architectures. I have confirmed this by building an arm64 image on a raspberry pi. If the base image was the issue, that would not have worked.
However, I think you may have run into another issue. We have hard-coded the ARCH to be amd64. That is fixed in https://github.com/metal3-io/ip-address-manager/pull/516.

/close
Seems not needed as explained above but feel free to reopen if you think still needed


Drop unknown keys from data when a custom function schema is provided

Given that schema definition:
defmodule MySchemas do
  defschema(:user, %{
    name: :string,
    age: :integer,
    email: {:required, :string}
  })

  defschema(:profile, %{
    user: {:custom, &user/1},
    bio: :string
  })
end

And this sample data:
%{
  user: %{name: "John", age: 30, email<EMAIL_ADDRESS>extra_key: "value"},
  bio: "Developer",
  extra_key2: "value2"
}

The desired and expected output from MySchemas.profile(data) should be
%{
  user: %{name: "John", age: 30, email<EMAIL_ADDRESS>  bio: "Developer"
}

Dropping any unknown key in nested schemas. The problem is that as the user schema
defined on the profile schema is an anonymous function, so, how we could get the actual inner schema for this capture?
defschema/2 macro already creates a function called get_schema/1 on the same module that defines the schema, it receives the name of the schema, as defined on the macro, and returns the actual schema.
That works for schemas like {:custom, {mod, fun}} or even {:custom, {mod, fun, args}}. But how about {:custom, anonymous function}? We need the module to invoke the get_schema/1 function.
So i would like to hear ideas about this issue, that isn't a major problem in the library.

What if, instead of using :custom for nested schema, we can use :schema, a separate type to differentiate custom validations and nested schemas. It can also be handled differently inside. It will be like
defschema(:profile, %{
    user: {:schema, &user/1},
    bio: :string
  })

So that it will be useful when handling multiple custom validations and multiple nested schemas. I am not sure whether this gives any idea to your problem. Just my thought process :)

yeah, that's an interesting solution to explicit set nested schema definition, but the actual syntax for this can be achieved in 2 ways:

passing the schema validation function to as a custom type

defmodule MySchemas do
  import Peri

  defschema :user, %{
    name: :string,
    age: :integer,
    email: {:required, :string}
  }

  defschema :profile, %{
    user: {:custom, &user/1},
    bio: :string
  }
end

define a single nested schema directly:
defmodule MySchemas do
import Peri

defschema :profile, %{
user: %{
name: :string,
age: :integer,
email: {:required, :string}
},
bio: :string
}
end

The problem here is even we create a `{:schema, fun}` type, the schema would be also wrapped into an anonymous function so we could not know at runtime which schema name or structure is being defined, so we get the same problem.

the solution for now is to filter data before and after validating. what do you think?

I thought we can expect {:schema, __MODULE__, func}. But filter data is better than that.
Filtering out prior, rather than doing it in validation is a good idea.
I think you have already done it here https://github.com/zoedsoupe/peri/blob/9bb797ed5eb4e312531e082026f399c9d3d2e7e9/lib/peri.ex#L225
It is good to go.

currently we're filtering data and keys after the schema is validated, parsed and applied, so this solves this issue without any complexity, although could in some corner cases affect performance, but I think this is a fair trade-off.
iex(13)> defmodule MySchemas do
...(13)>   import Peri
...(13)>
...(13)>   defschema(:user, %{
...(13)>     name: :string,
...(13)>     age: :integer,
...(13)>     email: {:required, :string}
...(13)>   })
...(13)>
...(13)>   defschema(:profile, %{
...(13)>     user: {:custom, &user/1},
...(13)>     bio: :string
...(13)>   })
...(13)> end
{:module, MySchemas,
 <<70, 79, 82, 49, 0, 0, 11, 196, 66, 69, 65, 77, 65, 116, 85, 56, 0, 0, 1, 62,
   0, 0, 0, 32, 16, 69, 108, 105, 120, 105, 114, 46, 77, 121, 83, 99, 104, 101,
   109, 97, 115, 8, 95, 95, 105, 110, 102, ...>>, {:profile!, 1}}
iex(14)> d = %{
...(14)>   user: %{name: "John", age: 30, email<EMAIL_ADDRESS>extra_key: "value"},
...(14)>   bio: "Developer",
...(14)>   extra_key2: "value2"
...(14)> }
%{
  bio: "Developer",
  extra_key2: "value2",
  user: %{age: 30, email<EMAIL_ADDRESS>extra_key: "value", name: "John"}
}
iex(15)> MySchemas.profile d
{:ok,
 %{bio: "Developer", user: %{age: 30, email<EMAIL_ADDRESS>name: "John"}}}


Exporting the aishell conformer_ctc onnx model

Hello, I want to export the aishell conformer_ctc onnx model, but I don't know how to solve it, would you mind adding the aishell conformer_ctc onnx model export method? Thanks!

Could you refer to
https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/pruned_transducer_stateless3/export.py
to add onnx export support for aishell?


Do not treat --trusted-host as a requirement

Prior to this commit, requirement files with a --trusted-host argument
in them were being treated as a requirement and pip-api would raise an
error due to the URL not containing an egg specifier.
This directly affect's pip-audit's ability to audit such requirement
files.
The commit fixes the issue by adding --trusted-host to the list of
known arguments that can be ignored for not being a requirement.

There's probably more flags that cause similar trouble, but this would unblock my particular case

@tetsuo-cpp can you review?

Apologies for the lint fail, ran the tests but not the lint :^)

Thanks!

Released in https://pypi.org/project/pip-api/0.0.29/.


Emoji is adding in the end of the string

Emoji is adding in the end of the string.
Current functionality -
An keeps a doctor away 🍎
Expected functionality -
An 🍎 keeps a doctor away

That's just because the demo app is a naive simplified app. You can handle the emoji any way you like in your app.
The insertion of the emoji into the text field is just the demo behavior. It's not done by the Emoji Button library. Here's what happens: When a user clicks an emoji, the picker fires an emoji event. You need to listen for that event then you can do whatever you want with the emoji - append it to the end of a text field, insert it at the current cursor position, log it to the console, POST it to a remote server, etc. It's totally flexible and up to you.

Thanks for the reply @joeattardi. I have done that by using cursor position.


add tracer for others

Issues associated with this PR
Your PR should present related issues you want to solve.
Sign the CLA
Make sure you have signed the CLA
Solutions
You should show your solutions about the issues in your PR, including the overall solutions,
details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases.
And you need to show the ut result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result
Code Style

Make sure Goimports has run
Show Golint result

临时解决方案 后续需要优化


File opening error

I'm running the examples/filters.py file from simphony. I get the following error stack:
>>> python filters.py
2020-04-30 19:06:19.561668: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-04-30 19:06:19.573114: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "filters.py", line 16, in <module>
    from simphony.library import ebeam, sipann
  File "C:\Users\user\.conda\envs\simph\lib\site-packages\simphony\library\sipann\__init__.py", line 23, in <module>
    from SiPANN import scee
  File "C:\Users\user\.conda\envs\simph\lib\site-packages\SiPANN\scee.py", line 16, in <module>
    DC_coeffs  = ImportLR(cross_file)
  File "C:\Users\user\.conda\envs\simph\lib\site-packages\SiPANN\import_nn.py", line 259, in __init__
    with open(directory, 'rb') as file:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user\\.conda\\envs\\simph\\lib\\site-packages\\SiPANN\\LR\\DC_coeffs.pkl'

Fixed. Files hadn't made it into the wheel for some reason.


fix context theme modification

Hi @plshapkin,
Thanks for the commit but could you please explain what's the issue and how to reproduce it?

Hi. When you call ContextThemeWrapper(context, context.theme) wrapper don't create new theme. So call contextThemeWrapper.setTheme(style) modifies context.theme.
Your style Widget.MPM.Menu has parent Widget.AppCompat.PopupMenu.Overflow and inherit parent attributes. When you set this style to context.theme you change many attributes in context.theme like popup background.

Hi. Looks like we have similar issue on android 8. As toolbar background, we use             android:background="?colorPrimary". After popup showing, this theme attribute color redifines and toolbar changes background in all app.

Hi. Looks like we have similar issue on android 8. As toolbar background, we use android:background="?colorPrimary". After popup showing, this theme attribute color redifines and toolbar changes background in all app.

Hi @plshapkin @VladSumtsov
So this is actually intentional (at least partially). The intention here is to be able to override the default Activity theme allowing you to e.g. to use a dark popup menu in an Activity with a Light theme and have a correct popup item background selector when clicked.
This was introduced to solve: https://github.com/zawadz88/MaterialPopupMenu/issues/12
After applying the fix from this PR the background selector in the sample app does not work as expected though...
The selector is defined in styles.xml:
<style name="Widget.MPM.Item" parent="">
    <item name="android:background">?android:attr/listChoiceBackgroundIndicator</item>
</style>

After the fix listChoiceBackgroundIndicator from the Activity is used and not from theme set via mpm_theme in Widget.MPM.Menu.Dark.
In the sample app you can check this by going to Dark Activity/Light Activity sample, clicking "Custom colors" and long clicking on a popup menu item.
What's not intended is the situation described by @VladSumtsov :/
I'll have a look, however if you guys have any ideas on how to account for the above I'm all ears :)
Thanks for contributing

Scratch the above remark around:

This was introduced to solve: #12
Setting themes was actually from the beginning...

Anyway, I think I've found a quick workaround however I'll need some time to test this properly.

Hi @plshapkin @VladSumtsov,
Thanks for reporting this and the explanations!
Could you guys have a look at the version proposed in #19?
This contains the fix added by @plshapkin but also fixes the background selector issue.
It also contains a library version update so that it can be uploaded to a Maven repo and distributed.


Version 1.4 Release Candidate

This release contains all of the features that have been added to the library since last August. There are a number of new API features, such as an entire new class related to products.
As with the previous release, there are some features here that I cannot test on my own outside of unit tests because of how they only apply specific countries. If you find any problems, please don't hesitate to report them here or in a new issue. The release candidate is tagged as pre-release 1.4.0-rc1.
At this point, no new features will be added unless they are necessary. If no problems have been found within the next few weeks, the release will be finalized. More time may be added if any serious bugs are found.

I didn't intend to wait this long, but it's finally time to release!


FEATURE: Code Review Slash Command

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
Need a quick way to get feedback on code.
Solution
add a slash command that can review code and give nice positive feedback

merged into main branch closing issue.


Android Basics: ViewModel

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-viewmodel?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-viewmodel#12
In which task and step of the codelab can this issue be found?
private fun getNextWord() {
    currentWord = allWordsList.random()
    val tempWord = currentWord.toCharArray()
    tempWord.shuffle()

    while (tempWord.toString().equals(currentWord, false)) {
        tempWord.shuffle()
    }
    if (wordsList.contains(currentWord)) {
        getNextWord()
    } else {
        _currentScrambledWord = String(tempWord)
        ++_currentWordCount
        wordsList.add(currentWord)
    }
}

Describe the problem
In this part of the code:
while (tempWord.toString().equals(currentWord, false)) {             tempWord.shuffle()         }
tempWord.toString() does not represent char array to String correctly.
I suggest using either String(tempWord) or tempWord.concatToString()
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@zminnde
Same as #42
Please refer to the above issue for solution.


UnusedViewsRule errors added to the baseline file are ignored

Larastan Version: 2.3.4
--level used: 8

Description
After updating to Larastan 2.3 and enabling the new UnusedViewsRule I got about a hundred unused view errors when running phpstan. Some of these were false positives so I tried to update my phpstan baseline file (i.e. phpstan analyze --generate-baseline) to ignore these rules (so it would only report new ones) but the errors are still reported, even with the updated baseline file.
Here's an example of one of the error messages.
 ------ ---------------------------------------
  Line   widgets.applicant-form.blade.php
 ------ ---------------------------------------
  0      This view is not used in the project.
 ------ ---------------------------------------

And here's the corresponding entry in my phpstan-baseline.neon file.
-
	message: "#^This view is not used in the project\\.$#"
	count: 1
	path: widgets.applicant-form.blade.php

The generated filename is not a real path. Maybe that's why PHPStan doesn't like it. Needs to be investigated.
It'd be great if anyone can investigate this further.

Maybe we should find out and store the full path of view files.
https://github.com/nunomaduro/larastan/blob/44fe71dd37175ba567ee470e8ae4bdeea6d57123/src/Collectors/UsedViewFunctionCollector.php#L47


Infinite loop using PutObject

Hi,
I'm seeing an issue come up about once every week or two. We have a process which throws a bunch of stuff into S3 and works fine most of the time. However, it eventually reaches a point where it stops processing information and our queue of items to toss into S3 grows rather fast.
After digging around I was able to come up with the following call stack:
Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext.Read()
Amazon.S3.Model.Internal.MarshallTransformations.S3ErrorResponseUnmarshaller.Unmarshall(Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext)
Amazon.S3.Model.Internal.MarshallTransformations.PutObjectResponseUnmarshaller.UnmarshallException(Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext, System.Exception, System.Net.HttpStatusCode)
Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleException(Amazon.Runtime.IExecutionContext, Amazon.Runtime.Internal.HttpErrorResponseException)
Amazon.Runtime.Internal.ErrorHandler.ProcessException(Amazon.Runtime.IExecutionContext, System.Exception)
Amazon.Runtime.Internal.ErrorHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
[[HelperMethodFrame]
Amazon.Runtime.Internal.RedirectHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
[[HelperMethodFrame]
Amazon.Runtime.Internal.HttpHandler`1[[System.__Canon, mscorlib]].InvokeSync(Amazon.Runtime.IExecutionContext)
[[HelperMethodFrame]
Amazon.Runtime.Internal.HttpRequest.GetResponse()
[[HelperMethodFrame]
System_ni!System.Net.HttpWebRequest.GetResponse()
Amazon.Runtime.Internal.HttpRequest.GetResponse()
Amazon.Runtime.Internal.HttpHandler`1[[System.__Canon, mscorlib]].InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.Unmarshaller.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.RedirectHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.ErrorHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.RetryHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericExceptionHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.GenericExceptionHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.Internal.MetricsHandler.InvokeSync(Amazon.Runtime.IExecutionContext)
Amazon.Runtime.AmazonServiceClient.Invoke[[System.__Canon, mscorlib],[System.__Canon, mscorlib]](System.__Canon, Amazon.Runtime.Internal.Transform.IMarshaller`2, Amazon.Runtime.Internal.Transform.ResponseUnmarshaller)
Amazon.S3.AmazonS3Client.PutObject(Amazon.S3.Model.PutObjectRequest)

I had a look through some DMP files and found that we were getting an exception back from AWS:

And it looks like it is stuck calling .Read() on S3ErrorResponseUnmarshaller because bool result = XmlReader.ReadState != ReadState.EndOfFile; is returning true, and the XmlReader.Read() value is never checked inside UnmarshallerContext.
How did it get into this state? I do not know. I've tried reproducing this locally but it's a bit tricky to determine what the reproduction steps are, but I'm certainly open to any suggestions!

To be clear, this appears to be stuck in an infinite loop so it chews through CPU doing absolutely nothing.

Looking at that code it looks like we need to also check for the readstate to have the value ReadState.Error and ReadState.Closed. In your image it looks like are getting an error HTML response back, probably from a proxy. This code is not handling the possibility of getting malformed XML, which is HTML, and gets stuck in an infinite loop. I'll add some more testing and put out a fix.
Thanks for pointing this out.

Thanks @normj!

I was never able to reproduce this issue but we did release a new version of the S3 component that added more defensive code to prevent the possibility of infinite loops. Could you give it a try and see if it makes a difference.

Closing this issue due to lack of activity. Please feel to reopen this issue if you are seeing infinite loops with the latest version of the SDK.

I am having a smiliar issue with the s3.putObject()  function  in aws-sdk-2.154.0. Client starts hanging because of a seemingly infinite loop in the buildMessage() function.