Unknown error.

When using the cloud after email the app returns Unknown error occurred
'\

My question is how does this connect because Dyson sends a code you must add to login.

The first step in the libdyson login process is to get your Region and Email. It sends it to the dyson app API, which sends the email with the login code.
Dyson's login is... strange. The current implementation in libdyson was implemented by shenxn back in 2021. The Dyson API it goes through isn't officially documented as far as I'm aware, so it's going to be some reverse-engineering work to figure out how to fix long-lived bug on libdyson.

I've been doing some reverse-engineering of the Dyson API, and I think I have a solution. I'll be doing some testing tonight to be sure it works.

@KINGLIFER I've released an update to the cloud integration. Feel free to update in HACS and let me know if your issue continues.

I was encountering the same issue, the newest update fixed the problem perfectly.
Thank you sooo much! @dotvezz

Is there a beta version that I'm not seeing? I'm getting the DysonInvalidAuth error on version 0.17.0

Interestingly I also tried using get_devices.py and that also yields the same error

The newest version is 0.17.2.
Check it out in the releases page.

The current version of ha-dyson is 0.17.2 but the cloud integration is on 0.17.0. I have the latest versions installed

@fmonday interesting! A few questions:
1: What's your region?
2: Does the old workaround (log out/in on the mobile app) work for you?

I'm in the US; no, the workaround didn't work.
However, I found my device credential (which I had stored from use of get_devices.py a long time ago) and managed to reconnect manually.


Fix redirects of backends with port other than 80

Out deployment has the following use case:

Ingress references a backend on port :8080
Backend normalize URLs redirecting /some/folder to /some/folder/

The problem here is that the backend redirect to :8080 but the ingress controller doesn't change the Location: header to :80, which is the port the ingress controller is listening.
What I have observed so far is that, when using proxy_pass with an upstream, the $proxy_port variable on nginx is 80 regardless of the port being used on upstream and backends.
The following change fixes this problem but assume the port of the ingress controller is always 80 over http and 443 over https.

This change is

Coverage remained the same at 43.193% when pulling 91e150ebf48a01f9b25a6954e1069f926d1e9298 on jcmoraisjr:jm-fix-redirect into 74512c127659d2383d75fe71514454bb6f596634 on kubernetes:master.

I signed it!

@jcmoraisjr can you provide an example of this issue?.
Please check the use-port-in-redirects configuration and annotation that enables the use of the ports in redirects. By default this setting is disabled

I created the steps below to reproduce the issue with a minimal nginx configuration.
nginx_back.conf
error_log /dev/stdout info;
events {
    worker_connections 1024;
}
http {
    log_format main '$http_x_forwarded_for - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
    access_log /dev/stdout main;
    server {
        server_name _;
        listen 8080;
        location / {
            root   html;
        }
    }
}

nginx_lb.conf -- change <IP_ADDRESS> below to your public IP address
error_log /dev/stdout info;
events {
    worker_connections 1024;
}
http {
    log_format main '$http_x_forwarded_for - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"';
    access_log /dev/stdout main;
    upstream my-svc {
        least_conn;
        server <IP_ADDRESS>:8080 max_fails=0 fail_timeout=0;
    }
    server {
        server_name _;
        listen 80 ipv6only=off default_server reuseport backlog=511;
    }
    server {
        server_name localhost;
        listen 80;
        #proxy_redirect ~https?://localhost:?[0-9]*/(.*) /$1;
        location / {
            proxy_set_header Host $host;
            port_in_redirect on;
            proxy_redirect off;
            proxy_pass http://my-svc;
        }
    }
}

Run both configs:
docker run -p 80:80 -v ${PWD}/nginx_lb.conf:/etc/nginx/nginx.conf nginx:alpine
docker run -p 8080:8080 -v ${PWD}/nginx_back.conf:/etc/nginx/nginx.conf -v ${PWD}:/etc/nginx/html/test nginx:alpine

Have a look at Location: header:
curl -IL localhost/test

Now comment proxy_redirect off;, uncomment proxy_redirect ~https?://... and test again.
No difference using port_in_redirect as on or off because internal nginx variable $proxy_port is wrong when using an upstream.

@jcmoraisjr I think this is new (as we haven't tested this yet), but a fresh directive inserted in NGINX 1.11.8 whas this one:
http://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect
This is enabled by default. How can this impact in our redirects? It's also poorly documented in NGINX site, but we might test this one also.


soundfile.LibsndfileError:  Error in train.py

I am using Windows. I have clonned the github repo and in the
AERO\lib\site-packages\torch_utils.py function reraise gives an soundfile.LibsndfileError:
error. How can I fixed it?

Here is how it looks like.
Traceback (most recent call last):
File "C:\Users\yalcincenik\aero\train.py", line 136, in main
_main(args)
File "C:\Users\yalcincenik\aero\train.py", line 126, in _main
run(args)
File "C:\Users\yalcincenik\aero\train.py", line 100, in run
solver.train()
File "C:\Users\yalcincenik\aero\src\solver.py", line 162, in train
losses = self._run_one_epoch(epoch)
File "C:\Users\yalcincenik\aero\src\solver.py", line 292, in _run_one_epoch
for i, data in enumerate(logprog):
File "C:\Users\yalcincenik\aero\src\utils.py", line 107, in next
value = next(self._iterator)
File "C:\Users\yalcincenik\anaconda3\envs\AERO\lib\site-packages\torch\utils\data\dataloader.py", line 681, in next
data = self._next_data()
File "C:\Users\yalcincenik\anaconda3\envs\AERO\lib\site-packages\torch\utils\data\dataloader.py", line 1376, in _next_data
return self._process_data(data)
File "C:\Users\yalcincenik\anaconda3\envs\AERO\lib\site-packages\torch\utils\data\dataloader.py", line 1402, in _process_data
data.reraise()
File "C:\Users\yalcincenik\anaconda3\envs\AERO\lib\site-packages\torch_utils.py", line 462, in reraise
raise exception
soundfile.LibsndfileError:

@m-mandel

Hi,
Thanks for using our code.
I'm not exactly sure what the problem is, but it might be that the format of your underlying data is not as expected. Make sure it is the correct format and the correct dimensions (wav, mono, either 2-D or 1-D per sample - I don't exactly recall).
Good luck and keep us updated.

Thanks for responses. I used in Windows11, but there sox library can be a problem. Do you remember which OS you implement it? @m-mandel

The problem is related to Windows. In Linux, sound libraries sox and soundfile work correctly. We can close the issue.

Good to hear. Thanks for the update.
Closing issue.


Opening an MFMailComposeViewController opens under popup

Using the popup to open a MFMailComposeViewController causes the mail view controller to open underneath the popup.
I realize I should probably just dismiss the popup when the controller is shown, but it may be an issue for others so I'm reporting it here.

I am having the same problem with a youtube player embed in a UIWebview.
When user tap on video in the UIWebview it opens it behind the popup

Try my fork https://github.com/jmascia/KLCPopup/pull/42


Media query inside media query?

I am trying to place a media query inside a media query (to load the right picture for the screen). But it does not seem to work. Is this not possible?
'@media (min-width: 641px)': {
    backgroundImage: `url(/images/somethingSmall.jpeg)`,
    '@media (minDevicePixelRatio: 2), (minResolution: 144dpi)': {
     backgroundImage: `url(/images/somethingBig@2.jpeg)`,
  }
},

You should be able to achieve that with and for your media queries. Try something like:
{
  "@media (min-width: 641px)": {},
  "@media (min-width: 641px) and (min-device-pixel-ratio: 2), (min-resolution: 144dpi)": {}
}

Yep. Not planning on implementing nested media queries at the moment.

@jmcriffey Thank you. @alexlande Alright :)


species/name in taxon.js

In taxon.js, change "name" for species.

Some taxa will not be resolved at the species level, so name is more general / correct.


Run code "op_def = op_dict[node.op]" and got KeyError: u'StridedSlice'

Hi,
David, when I run your code for LFW test as you said in Validate on LFW step by step, but unfortunately I got an error KeyError: u'StridedSlice'. More detail as follow. I just know that the dictionary "op_dict" has not key "StridedSlice". can you tell me why this error happen? Thank you!

/Library/Python/2.7/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
Skipped 6000 image pairs
Model directory: /Users/shawjan/models/facenet/20161030-023650
Metagraph file: model-20161030-023650.meta
Checkpoint file: model-20161030-023650.ckpt-80000
Traceback (most recent call last):
File "validate_on_lfw.py", line 89, in
main(parse_arguments(sys.argv[1:]))
File "validate_on_lfw.py", line 57, in main
facenet.load_model(args.model_dir, meta_file, ckpt_file)
File "/Users/shawjan/Documents/xcodeworkspace/facenet/src/facenet.py", line 469, in load_model
saver = tf.train.import_meta_graph(os.path.join(model_dir_exp, meta_file))
File "/Library/Python/2.7/site-packages/tensorflow/python/training/saver.py", line 1415, in import_meta_graph
return _import_meta_graph_def(read_meta_graph_file(meta_graph_or_file))
File "/Library/Python/2.7/site-packages/tensorflow/python/training/saver.py", line 1305, in _import_meta_graph_def
importer.import_graph_def(meta_graph_def.graph_def, name="")
File "/Library/Python/2.7/site-packages/tensorflow/python/framework/importer.py", line 228, in import_graph_def
op_def = op_dict[node.op]
KeyError: u'StridedSlice'

Which version of tensorflow are you using? According to #76 similar errors can occur with TF 0.10.


RosBridgeClient dotnet standard fork

Can someone make dotnet standard / core fork of RosBridgeClient and write some tutorial how to do this? I tryed with websocket standard, but is to old and realy don't know how to do this...

Sorry for the very late reply @ihs-systems .
I guess you have forgotten abut this issue a long time ago?
You have to re-build the visual studio solution here for the framework / VS version of your choice.
The ROS# source code doesn't include anything special and should be compatible with many frameworks. The dependencies could be problematic. We now have ISerializer and IProtocol interfaces and ROS# has different variants for Serialization and Websocket commuication.
In case some variants are not compatible with your framework, just delete them. If none of the ones provided works, you can add your own by implementing the corresponding interface.
I hope this late answer still helps anyone...
Best,
Martin

closing due to inactivity.

I'm looking for a C# ROS client for .Net core.  I see lots of unity/windows (framework) ROS examples, but not so much on Linux.  My thought was to go WASM core-hosted with a ROS client on the core-host and then SignalR to the WASM client.  No cloud in this story.


Capture values with blocks

One of the limitations of templates currently is that you can't pass blocks to them in templates while also capturing the result as a value:
<%== MyComponent.new do %>
  <!-- render more stuff here -->
<% end %>

This sort of pattern can be super useful when you need the component to wrap other content — that is, it may have content both before and after the block.
For example, forms need to output an opening <form> tag and an <input> with the authenticity token, then output the form's content, then output the closing </form> tag. Since the code above doesn't work, Armature::Form has to receive the response and write to it imperatively rather than letting the template engine call to_s(io). That is completely unintuitive.
One pattern that the Ruby erubi gem uses is <%|==:
<%|== MyComponent.new do %>
<%| end %>

So maybe we can do that here, as well.

Added in 6bc6fc88e103878105e9518eafe6773476c3c3e0


typeinfo for ncnn::Layer

Hi @Qengineering ,
When I run  the project file YoloX_Byte_Track.cbp, I got following error:
 ||=== Build: Release in YoloX Byte Track (compiler: GNU GCC Compiler) ===|
/usr/bin/ld: obj/Release/src/yoloX.o:(.data.rel.ro._ZTI11YoloV5Focus[_ZTI11YoloV5Focus]+0x10)|
|undefined reference to 'typeinfo for ncnn::Layer'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|
I have installed Eigen and working with your RPi 64 Img. I have checked the previous #1. It seems not working for me. What is confusing me is that YoloX detection was running on the system with the code
yolox.register_custom_layer("YoloV5Focus", YoloV5Focus_layer_creator);
It means that my ncnn should be fine to work with YoloX. However, it fails in the tracking program.
I also checked the Project build options that ncnn library has been added in the compiler. I am not sure which part causes failure this time.

Before diving into the deep, perhaps an upgrade to the latest ncnn version might help?

Before diving into the deep, perhaps an upgrade to the latest ncnn version might help?

It works with the latest ncnn now. Cheers!


stack-trace symbolizer using llvm-symbolizer subprocess

When linked it, looks for $LLVM_SYMBOLIZER environment variable and uses it for stacktrace symbolication.
To effectively use it with bazel you should add:
-c dbg --test_env=LLVM_SYMBOLIZER=llvm-symbolizer-15
to your test command.

Can we also update .bazelrc so that this produces useful results? Right now I get no line numbers because by default we compile without line number info. Should we add -gline-tables-only to the default config?

Hmm, this didn't seem to have any effect in my bazelrc... build --cxxopt='-gline-tables-only' --host_cxxopt='-gline-tables-only'

bazel's stripping is weird. It worked for me only with -c dbg.
https://bazel.build/docs/user-manual#strip

-c dbg produces prohibitively large binaries for me. -gline-tables-only combined with --strip=never seems to do the trick.

Here's what I added to .bazelrc:
# Include basic debug info even in fastbuild mode, otherwise debugging is impossible. Switching
# to debug mode for debugging doesn't really work because debug mode produces insanely large
# binaries.
build:fastbuild --cxxopt='-gline-tables-only' --host_cxxopt='-gline-tables-only'
build:fastbuild --linkopt='-gline-tables-only' --host_linkopt='-gline-tables-only'
build:fastbuild --strip=never


cant load new file with same filename

Environment data

VS Code version: 1.62.3 (Universal)
Jupyter Extension version (available under the Extensions sidebar): v2021.10.1101450599
OS (Windows | Mac | Linux distro) and version: mac os 12.0.1
Jupyter server running: Local

when i open a file a.ipynb and close the a.ipynb and remove a.ipynb.
then make a copy of b.ipynb rename to a.ipynb, open it and i find the file content is old a.ipynb not the copy of b.ipynb.
i think vscode-jupyter load the delete one not the new one

Tosha Wade
On Mon, Dec 6, 2021, 4:26 PM kurt @.**
@.**>> wrote:

Environment data

VS Code version: 1.62.3 (Universal)
Jupyter Extension version (available under the Extensions sidebar):
v2021.10.1101450599
OS (Windows | Mac | Linux distro) and version: mac os 12.0.1
Jupyter server running: Local

when i open a file a.ipynb and close the a.ipynb and remove a.ipynb. then
make a copy of b.ipynb rename to a.ipynb, open it and i find the file
content is old a.ipynb not the copy of b.ipynb. i think vscode-jupyter load
the delete one not the new one
*—You are receiving this because you are subscribed to this thread.Reply
to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/138555, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWV7YF6B6Y6YNKY6D5PEWBLUPUTAPANCNFSM5JPUTPDQ.Triage
notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
*

Tosha Wade
On Mon, Dec 6, 2021, 4:26 PM kurt @.***> wrote:

Environment data

VS Code version: 1.62.3 (Universal)
Jupyter Extension version (available under the Extensions sidebar):
v2021.10.1101450599
OS (Windows | Mac | Linux distro) and version: mac os 12.0.1
Jupyter server running: Local

when i open a file a.ipynb and close the a.ipynb and remove a.ipynb.
then make a copy of b.ipynb rename to a.ipynb, open it and i find the file
content is old a.ipynb not the copy of b.ipynb.
i think vscode-jupyter load the delete one not the new one
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/138555, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWV7YF6B6Y6YNKY6D5PEWBLUPUTAPANCNFSM5JPUTPDQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

We have updated our file watcher recently and I'm not able to reproduce this issue anymore on latest Insiders on macOS. @ Kurt-Shiwz can you help verify?

We have updated our file watcher recently and I'm not able to reproduce this issue anymore on latest Insiders on macOS. @Kurt-Shiwz can you help verify?

not work, always show line through  on the tab, cant open the "new file"

vscode:1.64.0
mac:12.1

@Kurt-Shiwz sorry for coming back to you late. Are you still seeing this issue? I'm a bit confused of what you are seeing (the strikethrough on the file name).


Improvement of UI for cards in Acclaimed Authors section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The text in the cards is not fitting inside the card and needs to be modified. Also, add some border radius to the buttons in the Historical Chronicles section.

Record

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

@anuragverma108 @huamanraj
Kindly assign this issue to me, will work on this.
Thank you :)

@anujagarwal28 @huamanraj
Could you please assign this issue to me?


document action types

As a user of the zitadel api, I want know where I can find the id's of the flow types and trigger types so that I know which id I have to send in the action calls.
### Acceptance Criteria
- [ ] i know where I can find the id's in the docs
- [ ] I know which API I have to call

Where should this be docuemented? A guide? API docs?

I'd prefer the api docs because I'm looking for it there


priority queue needs optimizations / benchmarking

This has only been tested to few exits and gas costs go up as exits go up. Need to benchmark, make sure it works, and optimize, if needed.
Primarily concerned with insertions

So we can achieve O(1) insert if we implement something like a Fibonacci heap. We're still basically limited by log(n) delete-min during the finalization of exits, but that's less of a concern than having a large gas cost be a limiting factor to the submission of exits.

Closing as out of scope for MVP.


Bitbucket Server Code Insights - Annotations are not published

Report
What did you do?
Have Danger 8.6.1 installed.
Set the following environment variables:
DANGER_BITBUCKETSERVER_CODE_INSIGHTS_REPORT_KEY
DANGER_BITBUCKETSERVER_CODE_INSIGHTS_REPORT_TITLE
DANGER_BITBUCKETSERVER_CODE_INSIGHTS_REPORT_DESCRIPTION
DANGER_BITBUCKETSERVER_HOST
DANGER_BITBUCKETSERVER_USERNAME
DANGER_BITBUCKETSERVER_PASSWORD
ghprbPullId
Then run danger
What did you expect to happen?
Danger executes, posts comment to PR and posts Code Insights Report and Annotations to BitBucket.
What happened instead?
Danger executes, posts comment to PR. Danger posts to the Code Insights API but is unable to add annotations. In addition, it incorrectly marks the report as 'PASS' when there are errors generated.
Your Environment

Which CI are you running on? = Jenkins
Are you running the latest version of Danger? = Yes
What is your Dangerfile? = Unable to publish, but even with a very basic Dangerfile, the issue persists.

More Info
As above. I believe that the issue is occurring because Danger cannot figure out the files and lines which violations occurred, thus hits problems in the Code Insights Ruby files. If I attempt to hook onto violation_report, I can see that the "@file" and "@line"s are nil for all violations encountered.
I understand this should be calculated from the git diff (please correct me if I'm wrong), or does it come from an API call to BitBucket?
Additionally, I noticed that this page notes that BitBucket Server isn't capable of Inline Comments, but for Code Insights to work at all, it would need to support inline comments (which I assume it does as the capability of Code Insights exists on Danger).
Has anyone seen such an issue or is able to validate that Code Insights still works in another environment?
Many thanks,
Ben

Thanks for your quick response @orta.
This is something I'm a little confused about. Code Insights aside, do you know if Danger is aware of files/lines which are violating rules, and if so, how does it calculate this? Presumably via git diff, or does it do it some other way?

Ahhh, that makes sense. In that case, I'm happy to close the issue as it sounds like it's by design, as opposed to an issue. I wrote a test rule in the above style and it posted correctly to code insights. Many thanks for your help :)


Allow using SdkHttpConfigurationOption over default akka-http connection settings

introduce withConnectionPoolSettingsBuilder and withConnectionPoolSettingsBuilderFromAttributeMap to allow the usage of AWS SDK configuration options
This change is introduced in a backwards compatible change. To use the new functionality withConnectionPoolSettingsBuilderFromAttributeMap should be used. Check the unit tests for examples
Fixes #232

@jtjeferreira when you get this working, would you mind also doing a PR for https://github.com/apache/pekko-connectors which has a Pekko version of this code (in a module).

@jtjeferreira when you get this working, would you mind also doing a PR for apache/pekko-connectors which has a Pekko version of this code (in a module)?

For sure. I thought the pekko fork was in https://github.com/pjfanning/aws-spi-pekko-http/ ...


Scroll lock icon does not fit with the rest of the icon set

Is this temporary until we have a real icon? Imho it does not fit to any other icon we have there, neither in size nor in shape.

This is the final icon which we got from the icon people. I agree it looks alien, but I think we can ship with it.
@chrisdias do we have a contact from the icon folk that we can ping for issues like this?

@kieferrm do we have a contact from the icon folk who we can ping for issues like this?

@bpasero @isidorn is it the clear output icon or the scroll lock icon that is out of place?  the same "clear" icon is used in the debug console, the Find viewlet, and the extension viewlet.
the scroll lock icon looks out of place to me compared to the others.

Sorry, the scroll lock is what I meant.

@chrisdias yeah the scroll lock. Do we have someone to bother for icons or should I invest in icon designing skills :)

@isidorn @bpasero
I updated the icon with bolder ones, but i still don't like it.
Why not use a lock?  Something like these?
When "on" it is in the locked state:

when "off" use the open lock icon:

Here is what it would look in the locked state on the light theme:

thoughts?

Looks good, I also like that there are two versions. Currently we keep the button with a blue outline when clicked which imho looks too much like the focus outline.

Look at @chrisdias closing bugs like a boss left and right - thanks a lot!
I agree that I prefer just the lock as it is simpler, though the empty lock might be my choice as it is not so heavy

The only issue I encountered while browsing through https://vsicons.azurewebsites.net/ is that I could not find the inverse version of the icons - in our case for the use in the dark theme. How can I get those?
Ping @chryw as I understand he is responsible for that site
fyi @ArtemGovorov for possible feedback on the icon

We have to get the inverse icon created.
I'll do that for the empty lock icons and give you the open and the close so that you can toggle it instead of using the blue outline.

@isidorn that site only shows standard light theme icons created for Visual Studio. VS Code icons are similar in concept but produced in a slightly different way. If there is any icon need for VS Code, a Microsoft member will reach out to the UX and the UX will create proper light theme and dark theme svg files.

@isidorn here are the lock/unlock icons:
lockicons.zip

Thanks @chrisdias for the icons! What is the process of making the inverse - just manual work in some tool? Asking because I would like to be able to do that myself :)
You can try this out in tomorrow's insiders. Feels good imho

@isidorn I have some gulp tasks to make VS Code icon from a regular VS icon.
https://github.com/chryw/iconutil/blob/master/gulpfile.js#L104
Inversion is just find & replace. You can see the hex color mapping here
https://github.com/chryw/iconutil/blob/master/gulpfile.js#L135

@chryw awesome - thanks a lot!


Close Tab Icon on the right instead of left

Hi,
Can you add a setting to let us choose if we want the close icon on the left or right for tabs ?
Thank you

I'll add that :) do you think it's better to allow the closing of inactive tab or would it be better if it should be activated before it could be closed? I've found myself closing tabs accidentally quite a few times. But maybe this'll help

Icon is too big, that's why we miss click on it :p

As of v0.7.1 icon position/visibility enum toggle is available under the theme settings view. It allows to switch the close button to the right edge of a tab or hide the close button completely.


Create CODE_OF_CONDUCT.md

What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)

@Nishanth-thunder, thanks for the PR! 🙏 However, we already have a code of conduct in our org repo that is applied to this repo. We would love you to check out some of our other open issues here and join us on Discord if you need help finding some.


Make the NTT example actually produce the right answer

OK, so this is way too long in coming, but here are my notes on what I have learned about NTT. For @yoonachang!
Background
The number theoretic transform (NTT) is a variant of the fast Fourier transform (FFT) that works on integers and is, we are told, central to the implementation of modern fully homomorphic encryption (FHE) schemes. We want to explore efficient FuTIL-generated NTT implementations as a first step toward doing all manner of cool FHE hardware stuff.
In trying to figure out what the NTT does, I wrote nttstuff, which is just some Python infrastructure around a simple reference implementation (and an invocation of another reference implementation from the sympy library). The basic (unoptimized) algorithm looks like this:
for i in range(N):
    for j in range(N):
        ret[i] = (ret[i] + inp[j] * omegas[(i * j) % N]) % P

where inp is an array of input integers to be transformed, ret is the transformed result array of integers, and N is the length of the input (and the output). The interesting arguments are P and omegas, which are important parameters to the NTT that bear further consideration.

P is some prime number equal to $kN+1$ for some $k$. Dirichlet's theorem apparently tells us that some such prime number must exist, for some $k$, for any N.
Next, we need a parameter called ω.

To get this, we first get g, which is something called a "generator" or a "primitive root of unity" for the prime P. These are some fascinating number theory concepts that I admit I do not really understand at all. But anyway, some number theory stuff tells us that something called a "primitive root of unity" must exist for our prime P.
Then, our parameter ω is defined as $g^k mod N$, where N is our aforementioned input size and $k$ is the $k$ from above we used to find the prime P.

Finally, we want to generate an entire array called omegas based on ω. This is basically a pre-computation step to save time: it's possible to compute this stuff on the fly, but it's faster to pre-compute N values based on ω and to use those during the actual NTT computation. Anyway, you can see my gen_omegas function in nttstuff for how this array is computed.

So that's everything that goes into this simple NTT implementation! With all that table-setting, it's possible to transform a given input array of N elements.
Algorithms
There are many strategies for implementing the NTT. To learn about efficient implementations, it is generally more helpful to google for information about FFT algorithms, which are way more popular but translate fairly directly to the NTT variant. For example, the Cooley–Tukey FFT is probably the most popular efficient algorithm; one can translate the same strategy to NTT.
Shunning has put together an incredibly helpful compendium of NTT implementations. For example, there is a naive 2-nested loop, a Cooley–Tukey, a Gentleman–Sande, and corresponding inverse implementations.
Current Status & Next Steps
In #256, I have started an implementation of the naive NTT (and an input dataset) with the very small size N=32. I think it's correct but something is wrong—the output is incorrect when you run it in FuTIL. The first step here is to figure out why and make the naive implementation work. Then we can move on to implementing efficient versions.
 To get the right answer, use my nttstuff, like this:
$ python nttstuff.py -doi ../futil/examples/data/ntt.data

For which, suspiciously, the first output element is 7, but the rest is (of course) not. So it seems like the bug is about somehow preserving the first output value forever, spreading it across the entire output array?

I merged master (https://github.com/cucapra/futil/commits/master) into ntt-new and it produces the right answers. I diffd the outputs from nttstuff and the branch.

Oh wow, that's awesome!! I'm glad this is somehow working—I wonder what bug fix along the way is to blame.
The next step in this line of work, I suppose, is then to try to getting an actually good NTT implementation working to complement this very very slow one.

Perhaps we can re-open this, or make a new issue? There's a lot of good information in here, and I see myself poking around at this when I have time.

Not sure I follow @cgyurgyik. The issue has been fixed already.

I think what @cgyurgyik is getting at is that the title may be oversimplifying what is in the long issue body I wrote, which sort of lays out a map for a larger "make FuTIL into a great substrate for NTT" would look like instead of "fix my bug in this code."


live: Explicitly require exp for sending Studio updates.

Requires using either dvc exp run or save_dvc_exp=True.
Closes https://github.com/iterative/dvclive/issues/474

@daavoo I'm not against this, but I still feel like I'm maybe missing the motivation.

My main motivation is that I think of the use cases that this P.R forbids as lose ends.

Does it help simplify something?

It allows Studio to use baseline SHA and experiment name pair as unique identifier for all live experiments, which makes thing simpler on their end and avoid changes to th client.
It also allows both running and completed experiments to be referenced by URL using the same logic


"data access" is too abstract

data access is too abstract.
Maybe we should be more explicit and mention I/O.

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

ID: 9599d917-4e43-f1ae-452a-1f11aaa985ed
Version Independent ID: 5cc05b6c-c671-3607-3217-7db73ebc1f28
Content: ASP.NET Core Performance Best Practices
Content Source: aspnetcore/performance/performance-best-practices.md
Product: aspnet-core
Technology: aspnetcore-performance
GitHub Login: @mjrousos
Microsoft Alias: riande

That makes sense to me.


Global object

I've been thinking about how the application is built for a while, and it looks scripty. I think future features may be easier to implement if and easier to configure by saving the global status of the game and then reacting to it, it would require a lot of Objects like Village, resource fields, buildings... but it may be good to keep it in mind for the future. Any thoughts?

well my first implementation of the bot was like that... I had world, village and slot objects.
after several features these classes grew a lot, it was a mess to understand this structure and it was also a mess to implement new features for other people than me.
this is why I thought okay, every big feature gets one file. so if you are new to the project and wanna see what farming is doing, you just have to look up and search in one file.
I hoped that its also was easier to fix some stuff like that.
to save the game state I thought about a struct (since python doesn't have structs, maybe just a class).
this class represents the state of the game. since you can only be logged into one game world, this class can be a singleton. every function got easy access to this game state object and can react / modify it.
this singleton ONLY contains game state and no functions (but only some functions to reload the state).
what do you think about that approach?


Make metadata easier to use.

Change formatting of metadata values to be atomic. Test that this is the case. May have to change this at some point, if we ever add non-atomic fields on purpose.
Add blob_storage_container as a field to the metadata.
Use empty string for paths when non-existant.

Does anyone know what specifically is causing the CI failure? It looks like a duckdb issue, but I have re-run it multiple times, and it still fails. Usually that flaky duckdb test fixes itself after a re-run.

It looks like the flaky test to me (#97). If it's becoming a real problem, I'll try to make time to fix it right after we get Azure CD somewhere stable.

Agree OK to make new issue for the meta data point. Main thing for me is that I think execute_model_logic should make sense as a function devoid from any Azure interaction.

Added issue #122 for cleaning up the metadata handling.


Parameters of the problem

Hi, while I set pos_embed: str = "conv", should I need to change  conv_block: bool = False into  conv_block: bool = True?

Hi @jiangllll
Thanks for your comment. These indeed refer to different properties of the network. First, pos_embed denotes how the initial emebeddings are generated from the input images. One way to do it is to break the image into non-overlapping patches and use a perceptron layer to project into an embedding space. The other method is to just use a convolutional layer. Both techniques are equivalent but the implementation is different. We have provided both options by setting the pos_embed to conv or perceptron.
On the other hand, conv_block denotes whether or not to use convolutional blocks during the decoding process. By setting it true, these convolutional blocks are used in UnetrUpBlock after the transposed convolutional layers.
We have provided the settings that were originally used to train UNETR as the default parameters.
Thanks

@ahatamiz
Thanks for your reply，The explanation is very clear.
Thanks


[Modal] Convert ModalManager to TypeScript

Closes https://github.com/mui-org/material-ui/issues/22449
Includes some runtime changes that became apparent with types. Need to be careful.

@eps1lon I have merged as I'm planning on a v5.0.0-alpha.9 release today and you wanted the change to be included.


Feature: fadein

Hi, Vincent.
Thanks very much for this great project.
Is there any way to specify particles to fade in one by one or in step ones, or fade in by opacity.

Thank you!
Added into the 1.1.0 version :) https://github.com/VincentGarreau/particles.js/releases/tag/1.1.0

:+1:


Windows are unstable; frequently losing focus and flickering.

Hyprland Version
Hyprland, built from branch HEAD at commit d74607e414dcd16911089a6d4b6aeb661c880923  (props: bump ver to 0.33.1). Tag: v0.33.1  flags: (if any)
Bug or Regression?
Regression
Description
Hyprland (any version after 0.30) is causing all windows to "re-draw," meaning that, on a regular rhythm (approximately 2 seconds), the window will cycle its focus, and, in the case of the "Master" layout, reset its size and position; this has the effect of the animation causing the window to flicker and (sometimes) swapping with the master window.  One thing of note is that this only happens in the monitor the mouse is residing in; the windows in non-active monitors will not show this behavior.
I have found a workaround that can stabilize the desktop: I launch a non-Hyprland compositor first (in my case, sway), then close it down and launch Hyprland.  After doing this, the issue no longer occurs (until the next reboot).
How to reproduce
First, cold-start the system, making sure everything is off.  Then, start up the system and sign into Hyprland (or start it up from the command line).  Open at least one window (a terminal emulator, for example), and wait for approximately 2 seconds.  In the case of a multiple-monitor system (such as mine), make sure the mouse is in the monitor with the window.
Crash reports, logs, images, videos
I have included the log, although there does not seem to be any indication in the log that there is a problem.
hyprland.log
I have taken a screen capture, which demonstrates the behavior of Hyprland (0.31+) without the workaround.
Video Demonstration.

espanso? #4085 #3858
if espanso, please close

That's what it was, alright!  Thanks!  Closing now.


Question: What do you think about using cjsx instead?

I'm just wondering if you would be interested in switching to cjsx
here is your Card Component rewritten in cjsx with few minor details left out:
import React, {Component, PropTypes} from 'react'

export default class Card extends Component

    propTypes = {
      style: PropTypes.object
      children: PropTypes.any
      className: PropTypes.string
      isFullWidth: PropTypes.bool
      isRounded: PropTypes.bool
    }

    defaultProps = {
      style: {}
      className: ''
    }

    createClassName: ->
      return [
        'card'
        @props.isFullWidth ? 'is-fullwidth'
        @props.isRounded ? 'is-rounded'
        @props.className
      ].join(' ').trim()

    render: ->
      <div<EMAIL_ADDRESS>className={@createClassName()}>
<EMAIL_ADDRESS>      </div>

to be honest I dislike coffeescript. I think it was a good movement that made a lot of ES6 features, but I don't think coffeescript has it's place today. I do write my own JS without semicolons, but that is as much coffee as I am willing to go. What do you think @bokuweb ? close this ticket or rewrite in coffeescript?

I agree with @capaj . CoffeeScript should be replaced by ES2015+ (or typescript).

closing then. Typescript or flow could be a useful additions if we're talking languages that compile to JS.

Ok then how about tsx
here is an example of the same component
import React, {Component, Proptypes} from "react";

export interface CardProps {
  style: PropTypes.object;
  children: PropTypes.any;
  className: PropTypes.string;
  isFullWidth: PropTypes.bool;
  isRounded: PropTypes.bool;
}

export interface defaultProps {
  style: {};
  className: '';
  isFullWidth: false;
  isRounded: false;
}

export class Card extends Component<CardProps, defaultProps> {

    createClassName() {
      return [
        'card',
        this.props.isFullWidth ? 'is-fullwidth' : '',
        this.props.isRounded ? 'is-rounded' : '',
        this.props.isclassName
      ].join(' ').trim();
    }

    render() {
      return (
        <div style={this.props.style} className={this.createClassName()}>
          {this.props.children}
        </div>
      );
    }
}

@thecodechef typescript is good altjs. But, I think ,It is better to use flowtype because, it is developed by facebook and it has React type definition as builtin.


Updated plugins.md [Added UI plugins by Public Lab]

Hi all ,
We at Public Lab have made these 2 plugins which we are using in our website , we wish to share these plugins with the world 😄  :

LEL : https://github.com/publiclab/leaflet-environmental-layers
LBLD : https://github.com/publiclab/leaflet-blurred-location-display

Thank You :)

@ghybs , @IvanSanchez , @mourner
I hope this is the correct place to add to the lists . Kindly review , Thanks !

I think it is - maybe we have to ask for a review? Or maybe folks are just busy. No worries, i'm sure folks will see it soon! Thanks @sagarpreet-chadha !

@ghybs , @IvanSanchez , @mourner
I hope this is the correct place to add to the lists . Kindly review , Thanks !

@perliedman can you have a look? Thanks!

Hi @sagarpreet-chadha,
Thank you for your contributiions!
Sorry for the delay before reviewing your PR... :confused:
I agree your 2nd plugin "leaflet-blurred-location-display" (3rd from your organization) fits in the UI plugin section, like the 1st already submitted plugin from your organization (leaflet-blurred-location).
But for the 1st plugin of this PR (leaflet-environmental-layers), it seems to me that it would be better in the data-providers section, since it uses predefined data sources.
Please feel free to correct me if I misunderstood the features of your plugins.

@ghybs done :)


requirements issue

In your project's requirements.txt file, there is a line specifying agentscope=0.0.6a3=pypi_0. However, the official website does not provide this version of agentscope. How should this issue be resolved?

Hello, just use the command pip install agentscope to install the agentscope is OK. In the requirement.txt, because our deployed environment is on the ARM architecture, then you cannot find this version.

Thanks！However，I am using Python 3.10 and have downloaded version 0.1.0 of agentscope, but I am getting the following error: ImportError: cannot import name 'SciAgent' from 'agentscope.agents'. How should this issue be resolved?

Hello, SciAgent is in agentscope-main/src/agentscope/agents/sci_agent.py. Maybe you should set sys.path.append('../agentscope-main/src') (in sci_platform/sci_platform.py) correctly.

In our experiments, we always run the program under the sci_platform/ directory.

Thank you very much! The following libraries cannot find the corresponding versions:
apex==0.1, causal-conv1d==1.1.3, einops==0.7.0, etils==1.9.2, faiss==1.8.0, jaxlib==0.4.28+cuda12.cudnn89.
How should I resolve this? Do I need to upgrade my Python version?

I think Python 3.10 is enough. In your listed libraries, the only useful library is faiss. You can download this freely. You do not need to use the same version.

Thank you for your patience in answering, but I still can't run it. How should I resolve this?

It is strange. I can run this correctly.

Do you follow the instructions of agentscope to install and deploy ollama?

You could refer to this website to configure the ollama.

Thanks, I have downloaded the llama3.1 model using ollama pull llama3.1 from your provided link. What should I do next? Should I use Flask?I would be immensely grateful if you could kindly guide me in your busy schedule. Thank you so much!

install faiss-gpu or faiss-cpu

strongly recommend that you install faiss-gpu


Cf routes errors when the user cannot see bound routes

Please fill out the issue checklist below and provide ALL the requested information.

[ ] I reviewed open and closed github issues that may be related to my problem.
[ ] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
[x] I attempted to run the command with CF_TRACE=1 to help debug the issue.
[x] I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
Provide details on what you were trying to do (and why).
using the cf routes command fails if I have access to routes that are bound to apps that I don't have access to. An example of this is when a route has been shared to another space but is still bound to an app in the owning space.
What happened
A clear and concise description of what happen.
cf routes
Getting routes for org org / space space2 as alice...
One or more applications were not found.
FAILED

Expected behavior
I expect to see:
cf routes                                                                                │·····························
Getting routes for org org / space space as admin...

space        host   domain             port   path   protocol   apps

some-space   dora   some-domain                       http

Exact Steps To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:
in space 1 as admin...
cf push dora
cf create-space space2
cf share-route domain.com -n dora -s space2
cf create-user alice pass
cf set-space-user alice org space2 spaceDeveloper
cf login -u alice -p pass
cf target space2
cf routes

see error:
Getting routes for org org / space space2 as alice...
One or more applications were not found.
FAILED

Provide more context
running on cli 8.4.0 and edge capi but I expect this to fail on all version of cli
This looks like the offending line: https://github.com/cloudfoundry/cli/blob/94933d7bc9db42526cb293fa8b98a7e5554aae76/actor/v7action/application.go#L102-L104

Is this a bug in this case? This looks more like a feature that should be prioritized via regular backlog.

Capi version that breaks cli cf-routes: https://github.com/cloudfoundry/capi-release/releases/tag/1.141.0
To me this is a bug since cf-routes is broken for users that use a released feature (route sharing).


JavaScript fetch example code can't be generated

What happens?
The "JavaScript fetch" version of the code can't be generated. The "Shell cURL" works as expected.

Additional info
All of the other JavaScript flavours produce the same output. E.g. XHR, jQuery have the same output

What did you expect to happen?
Correctly generate the example code for the JavaScript flavours.
OpenAPI Document
No response

Oh, great report! That’s one for me

HTTP HTTP/1.1 is also empty, and the "JavaScript flavours produce the same output" as the Author stated applies to other languages as well.

Taken care of in #3113! Thanks for the great reports!


Support FSDP's HYBRID_SHARD_ZERO2

Description & Motivation
FSDP has an option _HYBRID_SHARD_ZERO2 that we didn't document in our guides:
https://pytorch.org/docs/stable/fsdp.html#torch.distributed.fsdp.ShardingStrategy
It is considered experimental for now, but the key difference to the other sharding strategies is that two process groups are required. The documentation states:

process_group (Optional[Union[ProcessGroup, Tuple[ProcessGroup, ProcessGroup]]]) – Optional[Union[ProcessGroup, Tuple[ProcessGroup, ProcessGroup]]] This is the process group used for collective communications and the one over which the model is sharded. For hybrid sharding strategies such as ShardingStrategy.HYBRID_SHARD users can pass in a tuple of process groups representing the groups to shard and replicate across, respectively.

Pitch

Add the FSDPStrategy(sharding_strategy="_HYBRID_SHARD_ZERO2") as a string option for convenient selection by the user.
Handle the process group settings automatically.

Alternatives
User has to override the strategy
Additional context
This was brought up by a Lightning AI customer offline.
cc @borda @awaelchli @carmocca

I'm looking at the internals, and the override might not be necessary if the strategy wasn't passing
https://github.com/Lightning-AI/lightning/blob/1cee84ca2d8f23ed86fbd9b0a7be8b766d39ea95/src/lightning/pytorch/strategies/fsdp.py#L286
which could be removed, alongside https://github.com/Lightning-AI/lightning/blob/1cee84ca2d8f23ed86fbd9b0a7be8b766d39ea95/src/lightning/pytorch/strategies/fsdp.py#L204-L211
Because torch will try to do this by default:
https://github.com/pytorch/pytorch/blob/v2.1.0-rc4/torch/distributed/fsdp/fully_sharded_data_parallel.py#L434-L441
https://github.com/pytorch/pytorch/blob/v2.1.0-rc4/torch/distributed/fsdp/_init_utils.py#L102-L111
https://github.com/pytorch/pytorch/blob/v2.1.0-rc4/torch/distributed/fsdp/_init_utils.py#L136-L155
Since it's passing a value instead of letting it default to None, it is probably falling into  https://github.com/pytorch/pytorch/blob/v2.1.0-rc4/torch/distributed/fsdp/_init_utils.py#L152-L155

@carmocca I'll test it unless you have already started?


Add documentation.

This PR adds an asciidoc document that can be compiled as html
Below you can find an example of the rendered html:

Maybe add a script to generate the HTML with the same flags we use in the RPC doc generator?

Maybe add a script to generate the HTML with the same flags we use in the RPC doc generator?

I cannot find any flags for the current rpc doc generator, shall we have a short discussion on this?

@de-vri-es shall we merge this?


Separate running an inference engine and the corresponding post-processing

Currently, when looking at probeye/solver/taralli.py, you will notice, that the post-processing happens in the taralli_solver function. This should be separated. So, first, you should run the solver (with no automatic post-processing happening), and then you trigger the post-processing. This needs to be changed for the taralli_solver (and accounted for, for each solver to be added in the future). Also all scripts that use the taralli_solver need to be updated accordingly.

I separated the post-processing from the taralli solver. I also renamed taralli_solver in run_taralli_solver, and allowed for customization by adding **kwargs in the run_taralli_solver routine, which is passed to the central emcee-method.


dapr callback value

Dapr CLI version: 1.5.1
Dapr Runtime version: 1.6.0
Dapr Client version: 1.6.0
OS: Windows10
the target action is:
http://localhost:5000/api/Common/SystemTime
I get the system time correctly. It works fine.
http://localhost:5000/api/Common/SystemTime88888888
The action is not exist, I get the http status code is 404, It works fine.
I invoke the action by Dapr:
http://localhost:3600/v1.0/invoke/app/method/api/common/systemtime
I get the system time correctly. It works fine.
But when I invoke the action by Dapr:
http://localhost:3600/v1.0/invoke/app/method/api/common/systemtime88888888
I get the http status code is 200, and the body is empty
Somes wrong with it. The http status code 404 is expected.
I dot not kown what the matter is.
Would you do me a favor?

This needs to be looked at for 1.8. cc @artursouza @daixiang0

@EashShow I've checked v1.6.2 and v1.7.4, invoke the action by Dapr getting the expected 404. Can you please update the Dapr Runtime version and check if this is solved?

I have updated the Dapr to V1.7.4, the problem is solved.
Thank you very much! @yaron2 @Taction


NOJIRA: Migrate to Kotlin

Abstract
After a short discussion, plapadoo has decided to migrate the Opencast code-base from Java to Kotlin (currently in 39th place on the prestigious TIOBE Index!). This PR contains careful hand-migrations for almost all modules. Note that this branch will fail CI because of some…precautions that have to be taken care of, first.
Benefits

Kotlin is more concise and safe than Java.
We can actually transition to using Kotlin everywhere, since it can compile to JVM bytecode and Javascript code. Thus, it is one language to rule them all. And who likes Javascript, anyway?
IntelliJ’s Kotlin plugin is superb, others are practically nonexistant, so Eclipse and Vim users will finally be drawn away from Opencast.
As a young and up-and-coming language, Kotlin will rejuvenate Opencast’s code base and attract the “cool kids”.

Migration path
Of course, everybody has to learn Kotlin first. It’s also advised to “un-learn” all other programming languages, so as to fully immerse oneself into Kotlin.
Unfortunately, we don’t have much time, as this PR will become outdated soon. We propose to merge it immediately (and disregard the any merge conflicts).
There will surely be people with doubts about this, and who might close this PR. In that case, we will open it up again, without modifications, until it finally passes.
This work was sponsored by Jetbrainsplapadoo.

I am thinking Rust would be a better choice. Kotlin is rather 2017 by now, and soon it will be very last-decade. Rust is like C, but cooler.
We spend a lot of time dealing with unnecessary abstractions in high-level languages in Opencast, and as video is basically just binary data, we should just get right down there to the lowest levels.

@pmiddend nice work!
Will this be part of Opencast 7.0?

@pmiddend Could you maybe redirect this PR to r/6.x? Seems people can't wait to get Kotlin-ed ;-)

Wait, I thought we were doing the rewrite in Python?

We'll see ourselves out.


Simulation example linked from Readme is missing

The simulation example linked from the Readme sounds interesting, but the folder contains only a single zero byte file. Forgot to upload this code, or else remove the reference?

@HanClinto thanks for noticing!  Made some changes:

Added a placeholder in the repo: https://github.com/DAGWorks-Inc/burr/pull/137
Created an issue to track with some ideas -- would love contributions + suggestions! https://github.com/DAGWorks-Inc/burr/issues/136

@HanClinto I added an example sketch of an application. Does that help? I know it's not a full working example.

@skrawcz yes it does, thank you! I think I was imagining something like the multi-agent "smallville" example near the end, and I'm glad to see we were on the same page! I certainly want to dig more into Burr and see more of what we all can do with it. I haven't fully wrapped my mind around it yet, but it seems to be addressing a lot of pressing issues in the space of LLM usability and transparency right now.
Thank you very much - I appreciate it!

@skrawcz yes it does, thank you! I think I was imagining something like the multi-agent "smallville" example near the end, and I'm glad to see we were on the same page! I certainly want to dig more into Burr and see more of what we all can do with it. I haven't fully wrapped my mind around it yet, but it seems to be addressing a lot of pressing issues in the space of LLM usability and transparency right now.
Thank you very much - I appreciate it!

Ah okay -- yeah that's a more complex example that blends "simulation" with "agents".  So for something like smallville there could be two levels to think about using Burr:

each person could be their own Burr application.
running the whole application could then also be modeled in Burr.

If you find a paper that could be implemented or find some example implementation do send it our way.


[Drawer] Cannot resize drawer

Is your feature request related to a problem? Please describe.
The width of the drawer cannot be resized.
Describe the solution you'd like
set a css custom property to resize drawer e.g. --mdc-drawer-width: 400px;
Describe alternatives you've considered
Width of aside grows to content width

kinda makes it useless for certain cases

This would be a good use case to update the width() drawer mixin to support custom properties.

the weird thing is this is documented in the docs, maybe remove that until this works?

@maartenst does the custom property not work in the @material/mwc-drawer@canary version? It was added a couple weeks ago.
@e111077 looks like we had a duplicate issue for this #1306. I'm going to keep this issue open though, because I still believe this could be cleaned up a bit by switching to the width mixin.

the weird thing is this is documented in the docs, maybe remove that until this works?

I just stumbled over the same issue. Indeed, would be great to remove from docs to avoid confusion.

@ronnyroeller can you show an example on the canary version where it is not working?
Remember that docs on the master branch in this GitHub repo are for canary. If you're looking for the docs for a specific version, you can check npm's readme for that version, or navigate to the version tag in GitHub.
At time of writing, the latest version is v0.15.0, which does not include the new width property described in the unreleased section of our changelog.
Canary: https://github.com/material-components/material-components-web-components/tree/master/packages/drawer
v0.15.0: https://github.com/material-components/material-components-web-components/tree/v0.15.0/packages/drawer
https://www.npmjs.com/package/@material/mwc-drawer (at time of writing) is v0.15.0 and does not include the width property either.

@asyncLiz Thanks for clarifying! Indeed, I had used 0.15.0. What confused me was that this ticket is marked as opened - so I had wrongly assumed that it wasn't fixed in master.

Updated in https://github.com/material-components/material-components-web-components/pull/1420


Mentorship: Fix dates and close applications

TEST=manual
Change-Id: Ib0c462aa1aae5c5f91845ed4d4cadefe03968e53

Code Review comments can be found at https://gerrithub.io/q/Ib0c462aa1aae5c5f91845ed4d4cadefe03968e53


Educonnect ... does not connect agora06

Hi, with the new year ... new stuff too
The educonnect has a in-between step which apparently does not work in the generic_functions.
Visual/manual

https://cas.agora06.fr/login?selection=EDU&service=https://0061670h.index-education.net/pronote/eleve.html
this opens a page where one has to select parent/legal-rep OR child/level
https://educonnect.education.gouv.fr/idp/profile/SAML2/POST/SSO?execution=e1s1
when clicking on eleve one gets to the logon page
https://educonnect.education.gouv.fr/idp/profile/SAML2/POST/SSO?execution=e1s1

The error comes from the 2nd page so it seems, it tries to put in user/pwd and continue but firts a button needs to be clicked
{"timestamp":1662362876482,"status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/delegate/redirect/EDU"}

We don't click on buttons because we only use requests so no interaction with the web page. I just fixed the problem, it was just that last year Agora didn't use Educonnect and now it use it.

Noticed you changed the cas_agora06
I copied the ent folder ... same/similar issue
{"timestamp":1662440640381,"status":405,"error":"Method Not Allowed","exception":"org.springframework.web.HttpRequestMethodNotSupportedException","message":"Request method 'POST' not supported","path":"/delegate/redirect/EDU"}
/home/arjan/.local/lib/python3.10/site-packages/bs4/__init__.py:435: MarkupResemblesLocatorWarning: The input looks more like a filename than markup. You may want to open this file and pass the filehandle into Beautiful Soup.
  warnings.warn(

Better but still not working.
I am happy to share a discord session so we can do this online and not send back/forth all this data :)
I added some statements in generic_function (see attached) and its output
generic_funcTEXT.txt
output.txt
the final error:
Traceback (most recent call last):
  File "/mnt/3692670A6ACD9016/docker/homeassistant1/python_scripts/pronote_2022/pronote_florian_cas2.py", line 20, in <module>
    client = pronotepy.Client('https://0061670h.index-education.net/pronote/eleve.html', username, password, ent)
  File "/mnt/3692670A6ACD9016/docker/homeassistant1/python_scripts/pronote_2022/pronotepy/clients.py", line 382, in __init__
    super().__init__(pronote_url, username, password, ent, qr_code)
  File "/mnt/3692670A6ACD9016/docker/homeassistant1/python_scripts/pronote_2022/pronotepy/clients.py", line 81, in __init__
    self.attributes, self.func_options = self.communication.initialise()
  File "/mnt/3692670A6ACD9016/docker/homeassistant1/python_scripts/pronote_2022/pronotepy/pronoteAPI.py", line 77, in initialise
    self.attributes = self._parse_html(get_response.content)
  File "/mnt/3692670A6ACD9016/docker/homeassistant1/python_scripts/pronote_2022/pronotepy/pronoteAPI.py", line 274, in _parse_html
    raise PronoteAPIError(
pronotepy.exceptions.PronoteAPIError: Page html is different than expected. Be sure that pronote_url is the direct url to your pronote page.

I see the output and everything is going well. Maybe there is a problem with your pronote_url. But there is no problem with the ENT auth.

Is there a way to share this without posting stuff on a publicly available website?

It has passed the selection parent/elev as evidenced by the logs you sent me.
But I think there is a problem with the cookies but I can't solve it because I can't test anything because I don't have a login for your ENT

again...can we do this separately ? I am ok to share but not via this page...  am 'vingerha' on discord

vingerha#3240


[alert_handler] Improve ping timer ID selection mechanism

The alert channel ID selection mechanism currently has a bias towards lower IDs due to a fix (#15699) we made in order to reduce the amount of skipped IDs. For full context, see https://github.com/lowRISC/opentitan/issues/15280#issuecomment-1289816964.
This should be updated in the future to make the ID selection more fair, for example option 1 in https://github.com/lowRISC/opentitan/issues/15280#issuecomment-1289816964.

CC @tjaychen @cindychip

thanks for filing!

@vogelpi @johannheyszl
PING_CNT_DW is currently set to 16bit, which means that the expected amount of ping wait cycles between ping events is 2^(16-1).
The alert handler alternates between pinging randomly chosen alert channels and one of the 4 escalation channels, hence the expected wait time between alert channel ping events is 2^(16-1)*2 = 2^16.
At a 24MHz we expect 242^20 / 2^16 = 242^4 = 384 ping events per second on average.
With 65 alerts in the system, this should result in an adequate amount of alert ping events per channel, even with a bias towards lower alerts. In fact, 65 is an extreme case where only one alert channel (ID 64) is pinged less frequently, since all upper IDs until 127 alias onto 0 - 63. Hence I am not sure further optimization is required from that point of view.
On top of that, we rely on worst case wait time guarantees on the escalation receiver side, where a monitoring mechanism automatically triggers the escalation action if pings do not arrive at regular intervals. Hence, implementing a probabilistic scheme that draws alert IDs until a valid one is found does not seem like a good idea, since worst case wait time guarantees cannot be made anymore (the LFSR generating the wait counts is periodically reseeded with fresh entropy from EDN).
If you agree with this view I suggest we close this issue.

I think the relevant piece of code is the following one
https://github.com/lowRISC/opentitan/blob/d3f0ae750d6a32bc308b6e534a527093be9c73e6/hw/ip_templates/alert_handler/rtl/alert_handler_ping_timer.sv#L126-L133
IdDw is 7 bits. So the probabilities are as follows:

Id 0 - 63 : 2/128
Id 64 : 1/128
Id 65 - 127 : 0

Thanks for writing down estimation of the average alert events per second. This sounds okay to me.
I agree that further optimizing this is probably not necessary. What is a bit unfortunate right now is that ID 64 is mapped to Ibex currently (software fatal alert). Maybe we should change the mapping to map security critical, i.e, processor and crypto + system level IP to lower IDs and less critical IPs such as UART and other peripherals to higher IDs?
This could be changed entirely withing topgen I believe.

We could do that, yes, but again I am not sure it is worth the extra effort.
A custom mapping table for this seems a bit heavy, and it would have maintained for other integrations as well since the alert configuration is different for those...

I just checked the topgen and the corresponding files. It seems the alert ID order is completely determined by the module order in the hjson. Alert ID 0 is thus uart0 and the higher alert IDs are the more critical modules like flash_ctrl, rv_dm, ibex etc. We could just switch around the order that would be easy, but I don't know if there are already alert handler configs around. I guess once these configs exist we don't want to change IDs anymore. Switching the order also would a different order for interrupts and alerts which might be confusing...

Yeah I worry about disrupting existing SW/DV collateral (even though most things should be derived and generated)...

Another thought: we could change the subtraction from - NAlerts to something like - 2^log2(NAlerts), i.e., clearing the MSB of unmapped IDs. Unmapped IDs are then mapped to the higher / more critical mapped IDs and it's probably slightly cheaper than the addition / subtraction of the constant term. The IDs themselves would stay the same.

Hehe IIUC it is a classic problem to correctly draw a random number from a not power of two number space. In crypto for choosing mod n keys in ECDSA, AFAIR NIST recommends two ways:

increase the original power of two number space by ~32 bit and then use mod n to map into the range. But this is too much additional compute here.
redraw until within in range (rejection sampling). But I understand we don't want rejection sampling because of timing.

However, I think that all outlined solutions in this thread should provide sufficient practical security even though probabilities are not uniform. We are not choosing crypto keys. @vogelpi 's suggestion with low HW overhead seems elegant, and since no solution is qualitatively superior, this is probably a good choice.
One could also substract ( 2**$clog2(NAlerts)-NAlerts ) to map to the upper part of the NAlerts range, but lower HW oberhead from Pirmin's suggestion is probably nicer.

Arguably, we get the same security if we just skip every choice outside NAlerts and have less HW even. But I understand that DV was unhappy with this so it is more a fix towards DV really.

@vogelpi and I discussed. From the security view it seems not mandatory to change. If we modify, @vogelpi 's suggestion seems most elegant.
@msfschaffner pls to make decision on whether any change will be done. Priority is on the lower end from our view.

Let's keep this as-is in order to minimize changes (especially since the current implementation provides adequate security).


Body parameter required attribute value inconsistent across media types

When an operation supports json and binary media types but the request body parameter is not marked as required, modelerfour correctly marks the json body parameter as not required but marks the binary body parameter as required.
I would have expected the required value to be the same for both media types.
Is there a reason binary media types are marked required by modelerfour but not json?
Note: In modelerfour v4.10.268 the required fields were consistent, but I only tested the not required scenario.
ModelerFour version: 4.12.276
AutoRest-core version: 3.0.6246
CommandLine : autorest --typescript --add-credentials=false --output-folder=./test/integration/generated/mediaTypes --use=. --title=MediaTypesClient<EMAIL_ADDRESS>--package-name=media-types-service --package-version=1.0.0-preview1
OpenAPI/Swagger file: https://github.com/Azure/autorest.testserver/blob/master/swagger/media_types.json

There is a design discussion to have on binary and required, and taking your issue as hostage to host it :)
Right now, autorest consider any operation that has a binary as input, that the parameter is automatically forced as required. The concept is that in most situation (we actually never seen otherwise in practical terms), an operation that takes a binary as input requires it. So autorest force it as required, whatever the Swagger is saying.
So the question is: do we want the required behavior to be set only if it was written explicitly in the Swagger as required, and drop the "binary is auto-required".
This may have impact on currently used Swagger files, that could be fixed by defining an explicit "parameter" with "required:true"

and it means that in cases where the body parameter is declared for the json body, that (in spite of the rest of the parameter details being about serializing json), the 'required' value would be borrowed for the binary parameter

The impact of this issue related to @chradek's report is that when you have an operation with 2 requests, one that is binary and the other that's JSON, the binary request's body parameter will be set with required: true yet the JSON request does not get required: true added automatically.  This causes some inconsistency when generating overloads between the two requests for the operation.

And just to clarify; the use of content-type is dependent on the presence of a body; so if I make the body not required, then by extension, I should make the synthetic content-type parameter not required, but constants can't be optional, so it's gonna have to end up creating a single-value enum for the content-type and another optional parameter
And then there is no way to enforce both or none.

But in this case the body for the json media type is not required. There is a content-type parameter that is a constant and is required, but the body is not. I'd be fine if the body parameter was required for the json media type as well, but maybe that's even more controversial.

Well, if it were up to me, body params would be always be required. I don't see the real-world scenario for having an optional body parameter. It's just silly, and will lead to to bad sdks.

We theoretically should be making the content-type parameter consistent to the body parameter. I just think there isn't an SDK in the world where you would want to have to specify the content-type and the body object both, or neither. It's just painful.

So, what's the outcome here?
1 - Just follow the swagger as best it can, if it doesn't say required,  it's not (and you'll get an optional content-type parameter when that gets generated too.
2 - Required be dammed! Make body parameters always required (and content-type too)
3 - CrazyMode! Binary body parameters and the content-type are always required, JSON/XML body parameters follow the swagger (and if it creates content-type , that 'd be optional there.
Frankly, none of those options are great.

@chradek being the scenario we saw so far, binary implying required is fair.
That brings the question what to do if you have multiple requests when the same parameter is optional in one, and required in the other one (which is actually more your issue than the binary discussion was).
On the Python side, we have no overload, and we decided the final unique parameter will be optional, unless all of them are required. This should allow the flexibility we want, and the server will complain anyway, so you have some feedback likely at some point.
In the particular case of FormRecognizer, we should make it required anyway explicitly, and we should likely change the testserver test for that (since it's actually what I meant)

For JavaScript I updated our generator to support overloads that have different parameters defined. If the body is optional, it shows up in our final, 'options' bag, and if it is required it shows up as a positional argument. This is no longer a blocker for us updating to the latest modelerfour.


Add linter for code samples

Add automatic linting to the repository.

Closing due to other priorities. After two years, it'd be better to start from scratch anyway.


Update uperf metrics for asymmetric workload

We need to update uperf stdout parsing to index the right write/read/nthreads metrics.
Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>

/rerun all

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
PASS
00:31:05

Example document:
{
  "_index": "ripsaw-uperf-results",
  "_type": "_doc",
  "_id": "9745004cbac2bc75ea972bcb711fcddbc7a7abbe5dc4126c322c25a195fa659f",
  "_version": 1,
  "_score": null,
  "_source": {
    "workload": "uperf",
    "uuid": "f9ea29f5-7c9d-5f26-b00f-5ad775f50d5a",
    "user": "ripsaw",
    "cluster_name": "myk8scluster",
    "hostnetwork": "False",
    "iteration": 2,
    "remote_ip": "<IP_ADDRESS>",
    "client_ips": "<IP_ADDRESS> ",
    "uperf_ts": "2020-12-02T11:47:33.740000",
    "service_ip": "False",
    "bytes": 781352941,
    "norm_byte": 399515629,
    "ops": 895187,
    "norm_ops": 471187,
    "norm_ltcy": 2.973484282613644,
    "kind": "pod",
    "client_node": "",
    "server_node": "",
    "num_pairs": "1",
    "multus_client": "",
    "test": "bidirec",
    "protocol": "udp",
    "write_message_size": 1024,
    "read_message_size": 512,
    "num_threads": 2,
    "results": [
      [
        "1606909651338.8020",
        "0",
        "0"
      ],
      [
        "1606909652339.1553",
        "381837312",
        "424000"
      ],
      [
        "1606909653740.2224",
        "781352941",
        "895187"
      ]
    ]
  },
  "fields": {
    "uperf_ts": [
      "2020-12-02T11:47:33.740Z"
    ]
  },
  "sort": [
<PHONE_NUMBER>740
  ]
}

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
PASS
00:27:11

Thanks for lookin at this @rsevilla87! It was on my to-do list after the benchmark-operator update, but you beat me to it. ;)
Agreeing with @jtaleric, I'm not quite sure what your motivation is in updating the JSON document format beyond the new wsize and rsize parameters replacing size. You could keep the cleaner python and just update the return variables in _parse_stdout it seems, but you still have to remember to handle the len() for the results parameter.

With this change, the index will change... we are dropping test_type for test, and adding new keys... This will break touchstone[1]...
 My concern is if we break other tooling... and if we change the structure of the doc, how does that impact our comparison. We would need to code up different paths based on if test exists vs test_type same thing with the message_size change.
[1] https://github.com/cloud-bulldozer/benchmark-comparison/blob/master/src/touchstone/benchmarks/uperf.py#L55-L57

Good catch, I forgot about test_type and applying len to the results variable.
On the other hand, the metrics indexed by this benchmark are already broken. Since the asymmetric workload addition, the uperf profile name has now this shape:
<profile name="{{test}}-{{proto}}-{{wsize}}-{{rsize}}-{{nthr}}">
And the current implementation to parse this line does the following:
        config = re.findall(r"running profile:(.*) \.\.\.", stdout)[0]
        test = re.split("-", config[0])[0]
        protocol = re.split("-", config[0])[1]
        size = re.split("-", config[0])[2]                    <----- This is now using the value of wsize
        nthr = re.split("-", config[0])[3]                    <----- This is now using the vaue of rsize instead nthr

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
FAIL
00:07:51

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
PASS
00:27:10

Document after fixing:
{
  "_index": "ripsaw-uperf-results",
  "_type": "_doc",
  "_id": "dfca84e543373cfe8bd599c2c767edfe8faf458a024845f9dbfd57a863e4360a",
  "_version": 1,
  "_score": null,
  "_source": {
    "workload": "uperf",
    "uuid": "6abda416-91ae-5a5c-8aef-6e463defb5db",
    "user": "ripsaw",
    "cluster_name": "myk8scluster",
    "hostnetwork": "False",
    "iteration": 2,
    "remote_ip": "<IP_ADDRESS>",
    "client_ips": "<IP_ADDRESS> ",
    "uperf_ts": "2020-12-03T10:33:40.493000",
    "service_ip": "False",
    "bytes": 427319289,
    "norm_byte": 229638137,
    "ops": 834615,
    "norm_ops": 448519,
    "norm_ltcy": 3.128494465082583,
    "kind": "pod",
    "client_node": "",
    "server_node": "",
    "num_pairs": "1",
    "multus_client": "",
    "networkpolicy": "True",
    "test_type": "bidirec",
    "protocol": "udp",
    "write_message_size": 512,
    "read_message_size": 512,
    "num_threads": 2,
    "duration": 3
  },
  "fields": {
    "uperf_ts": [
      "2020-12-03T10:33:40.493Z"
    ]
  },
  "highlight": {
    "uuid.keyword": [
      "@kibana-highlighted-field@6abda416-91ae-5a5c-8aef-6e463defb5db@/kibana-highlighted-field@"
    ],
    "uuid": [
      "@kibana-highlighted-field@6abda416@/kibana-highlighted-field@-@kibana-highlighted-field@91ae@/kibana-highlighted-field@-@kibana-highlighted-field@5a5c@/kibana-highlighted-field@-@kibana-highlighted-field@8aef@/kibana-highlighted-field@-@kibana-highlighted-field@6e463defb5db@/kibana-highlighted-field@"
    ]
  },
  "sort": [
<PHONE_NUMBER>493
  ]
}```

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
PASS
00:27:29

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
PASS
00:27:32

Results for SNAFU CI Test

Test
Result
Runtime

snafu/uperf_wrapper
PASS
00:27:13


feat: How can i keep listen to bluetooth data?

Is your feature request related to a problem? Please describe:
I have a scenario where i have bluetooth sensor connected to my application. I am receiving continues data from bluetooth. My issue is when application go to background i want to keep listen to that data on both platforms android / ios.
Describe the solution you'd like:
keep my bluetooth listener active in background mode to receive data.
Describe alternatives you've considered:
as per this Plugin cordova-plugin-background-mode it says "perform infinite background execution"
Additional context:
I am using cordova-pluign-media-capture to record videos. but when i open camera application goes into background so i want to listen to Bluetooth data in background.

Hi @Saqib92,
this plugin is used to run short background tasks (30 seconds) every 15 minutes.
So your use case is out-of-scope.
For this reason I am closing this issue.
My tip: For Bluetooth connections in the background, a Foreground Service is often used on Android (the https://github.com/katzer/cordova-plugin-background-mode plugin can do this, there is no Capacitor variant yet) and on iOS this is supported by the CoreBluetooth Library (see Apple docs). So on iOS this should be supported by your Bluetooth plugin.

Hi @Saqib92, this plugin is used to run short background tasks (30 seconds) every 15 minutes. So your use case is out-of-scope. For this reason I am closing this issue.
My tip: For Bluetooth connections in the background, a Foreground Service is often used on Android (the https://github.com/katzer/cordova-plugin-background-mode plugin can do this, there is no Capacitor variant yet) and on iOS this is supported by the CoreBluetooth Library (see Apple docs). So on iOS this should be supported by your Bluetooth plugin.

Thanks for for fast response and guiding to right direction. Will take a look.


DBZ-3514 prevent configuration modification after creation

Fixes DBZ-3514
Signed-off-by: Alfusainey Jallow<EMAIL_ADDRESS>

@Alfusainey Applied, thanks!


Clarification on Step 2 in Installation

Enable the Logi Options plugin in the Options application settings

This isn't working for me and I think it's because I am misinterpreting what to do above. Could you provide more detail, please?
So far I have added "Visual Studio Code"  as an application + installed the vs code extension. Is there something else I need to do?

Thanks

Hey! It looks like you are using Windows, which I'm less familiar with.
The extension should try to automatically install the manifest for you, at which point Options should show a little (1) icon that a new profile is available for VS Code (you should NOT manually add Visual Studio Code as an application using the little "+ Add application" button -- that method gives you very little control and will not integrate with this extension).
Can you check the contents of your %ProgramData%\Logishrd\LogiOptionsPlugins\ folder and see if you see a folder in there called "1a2e44b7-ca8c-46c7-8200-74c8f60ab6cb"? If so, then maybe try removing the VS Code program you added manually and restart Options completely to see if it has the new profile available.
If you don't see the "1a2e44b7-ca8c-46c7-8200-74c8f60ab6cb" folder inside %ProgramData%\Logishrd\LogiOptionsPlugins\ then please report back here, since it may mean that the install script doesn't work correctly on windows for some reason (maybe VS Code executable doesn't have the right permissions or the directory is wrong or something -- I'll have to debug on my Windows machine!)
Thanks for your help! @kiran94

FYI it should look like this (notice the "Applications With Craft Profiles" header):

@idolize I think I am half way there!

On my machine, I didn't have the LogiOptionsPlugins folder. So I did the following:

Kill all the Logitech Processes in Task Manager
a. LogiOverlay.exe
b. LogitOptions.exe
c. LogiOptionsMgr.exe
Manually create LogiOptionsPlugins and then copy the 1a2e44b7-ca8c-46c7-8200-74c8f60ab6cb folder found at the root of this repository into this location
Start Logitech Options

But then back on Visual Studio Code, It's not responding to input. When I press the middle one (where it says action center), the UI just stops working and closes.

Here is what I am testing with:
    "logitechCraft.crownTouch": "editor.action.toggleMinimap",
    "logitechCraft.rightTurn": "cursorRight",
    "logitechCraft.leftTurn": "workbench.action.selectTheme"

In Log (Extension Host) I do have this:
[2020-03-26 19:10:30.292] [exthost] [info] ExtensionService#_doActivateExtension idolize.logitech-craft-vscode {"startup":true,"extensionId":{"value":"idolize.logitech-craft-vscode","_lower":"idolize.logitech-craft-vscode"},"activationEvent":"*"}
[2020-03-26 19:10:30.292] [exthost] [info] ExtensionService#loadCommonJSModule file:///<omitted>/.vscode/extensions/idolize.logitech-craft-vscode-1.3.0/out/extension.js

And here is some contextual information:
code --version
1.43.1
fe22a9645b44368865c0ba92e2fb881ff1afce94
x64

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.14393 N/A Build 14393

Hey @kiran94 I did some deeper investigation and it looks like there's actually something weird going on with Logitech Options not listening on the connection it's supposed to.
I've reached out to my contacts at Logitech to ask them what's going on.
In the meantime, I've noticed that enabling developer mode seems to cause Options to correctly listen at least on Mac.
- Open Logitech Options and click Craft Keyboard image
- Click "More Settings"
- Click enable button for "Developer Mode"

Please try that (and also update your extension in VS Code - I just pushed an update that should fix the installation issue on Windows) and let me know if it works for you.
I'll update here if I hear back from Logitech.

Not able to make it work on Windows still :(

@alminisl what issue are you seeing?

@alminisl what issue are you seeing?

not seeing any issue per se, but I just can't use the Crown in the VSCode. Everytime I use it just defaults to the volume (since that is my default setting) and I've opened logitech options, set to the dev mode and still nothing happens.
Is there something missing in my approach ?
and BTW I've tried making a small JS script with the npm package but it seems the web socket can't be found. Maybe this helps.

Anybody made it work?
I installed extension on VS Code, I copied this 1a2e44b7-ca8c-46c7-8200-74c8f60ab6cb to the C:\ProgramData\Logishrd\LogiOptions\Software\Current\Plugins.
I was able install VS Code profile in Logitech Options, and I got Contextual in Crow tab.
But in VS Code when I touch, turn Crow, nothing happens.
Any Ideas how to make it work in VS Code?

Anybody made it work?
I installed extension on VS Code, I copied this 1a2e44b7-ca8c-46c7-8200-74c8f60ab6cb to the C:\ProgramData\Logishrd\LogiOptions\Software\Current\Plugins.
I was able install VS Code profile in Logitech Options, and I got Contextual in Crow tab.

But in VS Code when I touch, turn Crow, nothing happens.
But when I assign Custom Key instead Contextual it works fine.
Any Ideas how to make it work in VS Code?

Nope, I'm also still trying to fix it :/

I tried manually setting the custom keystrokes in the logitech options software (key up/key down) however, it is incredibly slow (lag between 1 ratchet to 1 key up/down event)

Same thing here on my Windows installation... got the extension but none of the solutions mentioned above seems to work properly. I'm stuck.

Any news on this? I am having the same issue, would love to use this extension... :-)

Same issue here. Like to see it running but as this is open for a long time...would like it I am sure. :-)

Hi all - sorry but I no longer posses a Logitech Craft keyboard and thus can no longer maintain this plugin.
If anyone else would like to work on a fix or help maintain the plugin moving forward that would be appreciated.


[Site] Icons colors

don't invert colored icons
add 3 icon set cards
re-add SVG code highlighting

(to merge after #1827)

Thanks Simon.


Support prompt = login

SDK default to prompt = empty string
If prompt = login, always require user to do authentication.
After authentication, overwrite existing session.

@louischan-oursky This is not completed yet, we need update sdk to have the prompt option. Reopen it or open another issue in js sdk?


Start record a track by clicking on the control

Hello!
Thank you! You wrote a great plugin! It's very useful! I would like to use your plugin in my project.
I'm haunted by the start this plugin. Recording a track in your plugin starts as soon as the page loads.
I put another control on tha map in my project. Alas, I'm a beginner in coding((. I want to ask you, how I need to change the code, that start recording a track by clicking on the control on the map, and stop recording and resume recording?

In index.html:
start recording: karte.locate(...)
for stop recording: karte.stopLocate()
Use this with your control


Update page opens every time browser is launched

Even when there's no update, I'm still seeing the update page
Browser: Firefox
Platform: Windows 10
Version: <IP_ADDRESS>4

dupe of #1147 i believe.

@paulirish That's correct, but that issue is closed and the page is still opening.

Yes agree. I'm happy you filed it, just linking up the other so folks know it's fixed on master. :)

Even when there's no update, I'm still seeing the update page

I just relaunched the browser and that does not seem to happen in Chrome nor in Firefox. It only happens when there's an update (almost daily), which is what likely what you got when you reopened the browser.


[Map] VCTF-HangingGardens-Nightfall

The authors of this map are  Andrew Czarnietzki and Nathaniel Rossol (N)
Source = Readme

URL: https://unrealarchive.org/maps/unreal-tournament-3/vehicle-ctf/H/vctf-hanginggardens-nightfall_16ff7c2f.html
Hash: 16ff7c2f23b5f6b94c111a5283b0bca268d5b195
Current name: VCTF-HangingGardens-Nightfall

Fixed


Input placeholder disappears on focus.

Left value blank and added placeholder. Now the placeholder disappears
on focus.
Used to look like this:

Now looks like this:

Thank you!


in Window10 --color option does not accept any value

I've tried the examples provided in a readme, but never got any result: the error is always argument --color: invalid choice.
Python is 3.6.5

I do not have access to a Windows 10 machine, but a couple of searches found that if you add %* at the end it might work. So something like:
termgraph data/ex4.dat --color {blue,red} --no-title %*

I think you might also be able to wrap them in quotes somehow, my guess is that brackets {} are being evaluated by the Windows shell differently, my initial attempts aren't working on Linux, but it might behave differently.
See:

https://stackoverflow.com/questions/36016562/execution-of-python-script-with-parameter-and-windows10-doesnt-work

https://eli.thegreenplace.net/2010/12/14/problem-passing-arguments-to-python-scripts-on-windows

Hello.
I use usually Windows 10.
So, I tried python termgraph/termgraph.py data/ex4.dat --color {blue,red} --no-title %*.
It didn't work.
But I tried python termgraph/termgraph.py data/ex4.dat --color blue red, it's fine.
I think that on Windows 10, arguments {red, blue} are passed as one argument.
Although this may not be related to the subject, an error occurred when passing the argument --no-title.

Thank you, the most obvious solution eluded my mind. The script should be altered a bit for portability, this issue including.  The other is echo command behaviour in Windows, which outputs to pipeline the last quote symbol ", thus breaking the echo "Label,3,9,1" | termgraph --custom-tick "+" --no-title --no-label command.

Fixed in #42


Unloading dialog data when closing dialog

When closing a dialog (or tables with many result, release the memory holding that data)

Related to #106

One thing to consider is if I paginate a list, and open another dialog it would be nice to return to the previous page you were previously on. Perhaps the unloading data could happen once all dialogs are closed?

@itye-msft I think this is already done, just need to make sure/check

This issue, is out of scope for this version


Latest tbdex schemas with https urls

Moving to draft until I have the byte code checked in

@nitro-neal is working towards an alternative approach of embedding the json-schema.org such that resolution is unnecessary


Problem generating usage statistics

Reported on #1243 and  #1301 by @Ebrahim1010
https://user-images.githubusercontent.com/47170940/69637953-6543c100-1062-11ea-9898-615544fe0221.png
** Problem **

Updated API access on the user admin section. But I still see the notification about the API when trying to generate the stats.
we updated the Update the db/seeds.rb and now have access to run my own filter but cannot generate any stats.

Hi @Ebrahim1010,
There are a few things that need to be in place before the usage-statistics dashboard will work for a given user.

Their org needs to have access to the statistics TokenPermissionType
This can be added through the rails console with: (assuming org is an Org object)
org.token_permission_types << TokenPermissionType.STATISTICS
Their account needs to have the api permission: (assuming user is a User object)
user.perms << Perm.use_api
You need to populate the statistics tables.  This can be acomplished by running rake stat:build (outwith the rails console).  This needs  to be re-run monthly to keep the data in-sync.

Let me know if that fixes your problem, and we can capture the above information in a Wiki page

Hi @xsrust,
How do we set org to a value. it's currently a variable.
receiving error undefined local variable org.

hi @Ebrahim1010
Yep, org and user are variables.
you will need to assign them to an Org/User object before you can use those variables.
They will both be unassigned(and undefined) until you give them a value.
As I don't know your users/orgs/who your trying to give API access to, I can't assist with selecting those.
Are you asking generically about how to select an object from the DB?
If you know the ID associated, you can use find https://guides.rubyonrails.org/active_record_querying.html#find.
Or if you just know some properties of the object, you can use find_by https://guides.rubyonrails.org/active_record_querying.html#find-by


Metasploit::Cache::Auxiliary::Class

MSP-12272
Metasploit::Cache::Auxiliary::Class as a subclass of Metasploit::Cache::Direct::Class
Pre-verification Steps

[ ] Merge #10

Verification Steps

[ ] rm Gemfile.lock
[ ] bundle install

Test coverage

[ ] rake cucumber spec coverage
[ ] VERIFY no failures
[ ] VERIFY 100% coverage

Documentation

[ ] rake yard
[ ] VERIFY no warnings
[ ] VERIFY no undocumented objects

Post-merge Steps
Perform these steps prior to pushing to master or the build will be broken on master.
Version

[ ] Edit lib/metasploit/cache/version.rb
[ ] Remove PRERELEASE and its comment as PRERELEASE is not defined on master.

Gem build

[ ] gem build *.gemspec
[ ] VERIFY the gem has no '.pre' version suffix.

RSpec

[ ] rake spec
[ ] VERIFY version examples pass without failures

Commit & Push

[ ] git commit -a
[ ] git push origin master

Coverage increased (+0.1%) to 99.75% when pulling f142e1187ebf80c7e09567f46d7c5d83e41033a8 on feature/MSP-12272/auxiliary-class into 44513d6b8e8d04d195e5bd236a7d8fa6adae4913 on master.


Docker Tag

Hi not sure if this is deliberate but Your docker image for arm-64 is showing as linux/amd64 under the Arch.
https://hub.docker.com/layers/isaaclevin/presencelight/debian-arm64/images/sha256-9a9a884ec3370348a6041a6a5e7589c7e2f91e86716287ab53a295ef190b2567?context=explore

This is now resolved


undefined reference to `zb_get_tx_power' (TZ-799)

Answers checklist.

[X] I have read the documentation ESP Zigbee SDK Programming Guide and tried the debugging tips, the issue is not addressed there.
[X] I have updated ESP Zigbee libs (esp-zboss-lib and esp-zigbee-lib) to the latest version, with corresponding IDF version, and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2
esp-zigbee-lib version.
0.9.5
esp-zboss-lib version.
0.7.2
Espressif SoC revision.
ESP32-C6
What is the expected behavior?
The Function
 esp_zb_get_tx_power(&power);

Should Return Transmit Power of Zigbee.
What is the actual behavior?
I am getting compile error
managed_components/espressif__esp-zigbee-lib/lib/esp32/libesp_zb_api_zczr.a(esp_zigbee_core.c.obj): in function `esp_zb_get_tx_power':
(.text.esp_zb_get_tx_power+0x6): undefined reference to `zb_get_tx_power'

Steps to reproduce.
Step 1: Use Zigbee Gateway Example
Step 2: Add Below Code in esp_zb_app_signal_handler()-> Case: ESP_ZB_BDB_SIGNAL_STEERING
case ESP_ZB_BDB_SIGNAL_STEERING:
        if (err_status == ESP_OK) {
            ESP_LOGI(TAG, "Network steering started");
            int8_t power;
            esp_zb_get_tx_power(&power);
            ESP_LOGI(TAG,"Zigbee Power:%d",power);
        }
        break;

Step 3: Compiler will generate error:
managed_components/espressif__esp-zigbee-lib/lib/esp32/libesp_zb_api_zczr.a(esp_zigbee_core.c.obj): in function `esp_zb_get_tx_power':
(.text.esp_zb_get_tx_power+0x6): undefined reference to `zb_get_tx_power'

More Information.
No response

@mightChamp ,
Please update the esp-zigbee-lib and esp-zboss-lib to the latest 1.2.3 version which has contain esp_zb_get_tx_power() API.

Sorry for this, and thanks for info.


The --refresh and --seed options don't exist in migrate command

The example provided in the readme
php yarak migrate --refresh --seed --class=SeederName
is wrong. Those options don't exist:
protected $signature = 'make:migration
                            {name : The name of your migration, words separated by underscores.}
                            {--c|create : The name of the table to create.}';

This was only a documentation error. The correct command is:
php yarak migrate:refresh --seed --class=SeederName

Great :)


BONNIE-68 Update patients_controller to use r3_1

This change is dependent on the health-data-standards pull request for branch qrda_3.1_validation

this commit has been merged into master


(Wiki-request) Explanation and example usage of (custom) SQLite functions using the abstract Functions class

Can you give some more details about your function? If it's a function that takes some arguments, you can simply use Function.functionWithArguments("functionName", arg1, arg2, ...). Or did you have something else in mind?

I'm actually not sure how to use SQLite functions with Squidb. For example, if I want to use the date function: SELECT WHERE (property) IS date('now') (¹), which methods should I use and how to implement it into a query?

Have you seen this wiki page? It outlines most of the basic use cases for functions.
SquiDB doesn't build in a wrapper for every SQLite function, but for the ones it doesn't you can use Function.functionWithArguments as I suggested above. Criterions generally work with arbitrary objects, including Functions. So in addition to doing Model.MY_PROPERTY.eq(1) you can do Model.MY_PROPERTY.eq(someFunction), e.g.:
Function dateFunction = Function.functionWithArguments("date", "now", otherArgs);
Query query = Query.select()
    .from(Model.TABLE)
    .where(Model.MY_PROPERTY.is(dateFunction));

Does that help?

That helped me a lot! Thanks!


[AKS] bump to 0.4.71 for private dns zone feature

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

AKS


Enhance the functionality of the + operator

close :#1719

Pull Request Test Coverage Report for Build 107204

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.669%

Totals

Change from base Build 107186:
0.0%

Covered Lines:
8523

Relevant Lines:
11214

💛  - Coveralls


Implicit endpoints

Codecov Report

Merging #69 (a1a650e) into int (f78b9cd) will increase coverage by 0.84%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              int      #69      +/-   ##
==========================================
+ Coverage   64.08%   64.92%   +0.84%
==========================================
  Files          12       12
  Lines        1122     1132      +10
==========================================
+ Hits          719      735      +16
+ Misses        312      306       -6
  Partials       91       91

Impacted Files
Coverage Δ

agent.go
75.15% <100.00%> (+1.64%)
:arrow_up:

dnsproxy.go
66.98% <0.00%> (+2.83%)
:arrow_up:

cache.go
86.20% <0.00%> (+10.34%)
:arrow_up:

Continue to review full report at Codecov.

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