adding .srt.gz subtitle to contentIdentifier from opensubtitles

So in the example app google used text/vtt for kDefaultTrackMimeType
1: I need to use text/srt for the kDefaultTrackMimeType will this work?
2: In the example, google put a URL which returns a .vtt file in the GCKMediaTrack contentIdentifier however as you can see I have a .gz url which returns a .srt.gz file which needs to be unzipped. How would I make this work?
Response from www.opensubtitles.org
["filename": Kong.Skull_.Island.2017.1080p-720p.HC_.HDRip_.X264.AC3-iExTV-MkvCage-EVO-Final-Full-Subs_T.srt, "downloads": 8075, "score": 8, "langcode": en, "lang": English, "id":<PHONE_NUMBER>, "encoding": CP1252, "url": http://dl.opensubtitles.org/en/download/src-api/vrf-19c00c58/sid-ccqc4rqLZoAVMtGLuKBlzPn20o0/filead/1955534519.gz]

My code to set GCKMediaTrack
print("dic: \(data.subtitles.values.isEmpty)")
        if !data.subtitles.values.isEmpty {
            print("#dic: \(data.subtitles.values.isEmpty)")
            for (key, element) in data.subtitles {
                if key == "en" {
                    let dic = element as! Dictionary<String, Any>
                    //                guard let trackDict = trackElement as? NSDictionary else { continue }
                    let identifier = 1
                    let name: String = "\(dic["lang"] as! String) Subtitle"
                    let typeString: String = "text"
                    let subtypeString: String = "subtitles" // "captions"
//                    let contentID: String = dic["filename"] as! String
                    let language: String = dic["langcode"] as! String
                    //                let language: String? = "en-US"
                    //                let captionUrl = self.buildURL(with: "https://commondatastorage.googleapis.com/gtv-videos-bucket/CastVideos/tracks/\(contentID!)")
                    let captionUrl = self.buildURL(with: dic["url"] as? String)

                    let mediaTrack = GCKMediaTrack(identifier: identifier, contentIdentifier: captionUrl?.absoluteString,
                                                   contentType: kDefaultTrackMimeType, type: self.trackType(from: typeString),
                                                   textSubtype: self.textTrackSubtype(from: subtypeString),
                                                   name: name, languageCode: language, customData: nil)
                    mediaTracks?.append(mediaTrack)

Update: It is possible to convert vtt files so there might be a path to make this work with srt2vtt here. However, how would I get the vtt file into the contentIdentifier parameter? since I assume it only accepts a string?

Here are the list of supported caption formats: https://developers.google.com/cast/docs/media#subtitles--closed-captions
An option is to convert your format into one of the supported formats.


add processor options to eclipse settings

Please add something like code below to eclipseJdtApt task (and maybe similar changes to idea task):
tasks.findByName('eclipseJdtApt') << {
compileJava.aptOptions.processorArgs.each { k, v ->
aptPrefs.text += "org.eclipse.jdt.apt.processorOptions/${k}=${v}\n";
}
}

Fixed by 1807f3d87bc761cb63d46efeed10aee177d42629 and later commits. Eclipse processor options default to compileJava.aptOptions.processorArgs (i.e. options for the main source set, that will also apply to test sources in Eclipse).

Just published v0.11 with those changes; please test and report any regression, or any issue with the new behavior.

@tbroyer Is there a similar option for IntelliJ aswell for settingup processor options automatically?

I tried using this, but the processor options are not added automatically


make the calculator work for more than 2 operands.

can you assign this to me?

Yeah @clavy123 go ahead :+1:


Bazarr support

Support for Bazarr, a subtitle downloader for Sonarr and Radarr.

Cool! I plan to add a lidarr module as well :)


Documentation still points back to old support.google.com path.

Most of the answer pages have a footer that points back to the old site.

All of the links to support.google.com seem to be legitimate;  some get redirected at support.google.com to more generic introduction pages.  However, none of them need to be changed.

I'm not sure why we're referring to support.google.com at all. Everything relevant should be on opengee.org.

@bradh In some cases the docs refer to Google Earth client documentation which is still actively maintained by Google. I haven't reviewed them all myself, but I don't believe @eclamar noticed any external links that we had a local copy of. Are there any that you're specifically concerned about?

Reopening this as we've found a few links that need to be updated after all.

Closed by PR #249.


[Feature Request] don't go back to current month after picking a picking

Existing Component
是
Component Name
el-date-picker
Description
i want to pick some dates in next month, but date-picker will go back to current month everytime i pick a date. so i have to choose next month again and again, it's annoying.

Fixed in https://github.com/ElemeFE/element/pull/10973


Fix autoscaler test workflow

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
Pls next time add a decent description to the pr to explain the change, why is necessary etc

/approve

/cherry-pick release-0.19


can't build

when i execute go get github.com/calavera/docker-volume-keywhiz, i get the following error
package github.com/docker/docker/pkg/sockets
imports github.com/docker/docker/pkg/sockets
imports github.com/docker/docker/pkg/sockets: cannot find package "github.com/docker/docker/pkg/sockets" in any of:
/usr/lib/go/src/pkg/github.com/docker/docker/pkg/sockets (from $GOROOT)
/home/arthur/go/src/github.com/docker/docker/pkg/sockets (from $GOPATH)
and when i check docker/docker.  they have removed pkg/sockets from master.  should this refer to the release/v1.9 branch instead?

after i checkout release/v1.9 for docker/docker in my GOPATH, i got this.
# golang.org/x/sys/unix
../../../../go/src/golang.org/x/sys/unix/asm.s:8 6a: No such file or directory: textflag.h
# github.com/calavera/dkvolume
../../../../go/src/github.com/calavera/dkvolume/tcp_listener.go:20: not enough arguments in call to sockets.NewTCPSocket
../../../../go/src/github.com/calavera/dkvolume/unix_listener.go:25: not enough arguments in call to sockets.NewUnixSocket```

i started keywhiz in a container docker run -d -p 4444:4444 zuazo/keywhiz
and got this
sudo ./docker-volume-keywhiz https://<IP_ADDRESS>:4444
Listening on /usr/share/docker/plugins/keywhiz.sock
listen unix /usr/share/docker/plugins/keywhiz.sock: bind: no such file or directory

#2 should have been fixed this. Thanks!


Add key to casting error msg

I've had a problem with identifying  cast which schema field in my changeset was problematic few days ago. This simple change shows problematic field.

Thank you! :heart:


[bug] [v2] Drop Events are not window specific

Describe the bug
tauri://drop-over and tauri://drop events seem to propagate to all open windows.
The events that are dispatched to unfocused window seem to use provide a cursor position relative to the focused window where the drop event originated from, and there is no data in the event that provides the window from which the event originated.
What I described above makes me think that this is indeed unintended behavior, which is quite concerning as Tauri v2 has been in beta for quite some time...
Reproduction
Create 2 windows, each with a drop listener and observe that the event is dispatched to both even when just one is focused.
Expected behavior
tauri://drop-over and tauri://drop events are only dispatched to the focused window.
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0-nightly (e9e6e2e44 2024-06-28)
    ✔ cargo: 1.81.0-nightly (4ed7bee47 2024-06-25)
    ✔ rustup: 1.27.1 (2024-04-24)
    ✔ Rust toolchain: nightly-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 22.1.0
    - pnpm: 9.1.0
    - npm: 10.7.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.22
    - tauri-build [RUST]: 2.0.0-beta.17
    - wry [RUST]: 0.40.1
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 2.0.0-beta.17
    - @tauri-apps/api [NPM]: 2.0.0-beta.11
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:5173/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
No response

I am not sure what you mean by events are propagated to all windows, how are you listening to the drag events?

there is no data in the event that provides the window from which the event originated.

This could be easily fixed by adding the window label in the drag data

I am not sure what you mean by events are propagated to all windows, how are you listening to the drag events?

I apologize I should have made this clear before, I'm receiving these events via the Tauri's frontend listen() API (which is registered per window in my case). I have not looked into receiving events on the Rust side of things as it's not applicable in my app's case: I need to receive events per-window.

there is no data in the event that provides the window from which the event originated.

This could be easily fixed by adding the window label in the drag data

In terms of the frontend (I can't imagine a case where you would need drag events on the backend) the logical thing would be to only dispatch the event to frontend listeners in the currently focused webview window as after all that is what the user is dragging over (I'm not sure how it would be useful to know about in another window).
The solution you propose would offload that to the developer and be awfully annoying... (imagine having to use getCurrent() to check every time the event is received) but I can see it being a good solution if you're processing drag events on the backend for some reason.

Could this be related to #10182?

I am not sure what you mean by events are propagated to all windows, how are you listening to the drag events?

I apologize I should have made this clear before, I'm receiving these events via the Tauri's frontend listen() API (which is registered per window in my case). I have not looked into receiving events on the Rust side of things as it's not applicable in my app's case: I need to receive events per-window.

listen by default will listen to any event sent anywhere. if you want to scope it, you will need to do something like this
`listen("event", () => {}, { target: getCurrent().label })`

or (which is more concise)
getCurrent().listen("event", () => {})

there is no data in the event that provides the window from which the event originated.

This could be easily fixed by adding the window label in the drag data

In terms of the frontend (I can't imagine a case where you would need drag events on the backend) the logical thing would be to only dispatch the event to frontend listeners in the currently focused webview window as after all that is what the user is dragging over (I'm not sure how it would be useful to know about in another window).
The solution you propose would offload that to the developer and be awfully annoying... (imagine having to use getCurrent() to check every time the event is received) but I can see it being a good solution if you're processing drag events on the backend for some reason.

That label, will be useful to distinguish events if using listen to listen on all events. Otherwise, you can just do which will be scoped by default and only listen to drag drop events on this window.
getCurrent().onDragDropEvent(() => {})

Anyways, you can just do which will be scoped by default and only listen to drag drop events on this window.
getCurrent().onDragDropEvent(() => {})

This works, but it is no replacement for tauri://drop-over as it is not repeatedly called when the user moves their cursor while dragging.

or the more verbose way:
listen("tauri://drag", () => {}, { target: getCurrent().label })

This does not work. I suspect the reason is because all of these tauri:// drag related events are all global and not targeted to the focused window that would be receiving them.
The Tauri drag and drop APIs have been nothing but a massive pain to work with, a well thought out rework might be a good idea.

or the more verbose way:
listen("tauri://drag", () => {}, { target: getCurrent().label })

This does not work. I suspect the reason is because all of these tauri:// drag related events are all global and not targeted to the focused window that would be receiving them.

After investigating a little bit more, if the current window is/has a webview these events will only be emitted to the webview target, not the window. In this case you must import getCurrent from @tauri-apps/api/webviewWindow, not @tauri-apps/api/window. When v2 goes stable, specific behavior like this should be documented to prevent confusion.
The current getCurrent naming schema is quite frustrating (and caused the misunderstanding above) so I opened a feature request requesting a refactor of these: #10193.


refactor(risedev): deprecate building dashboard locally

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

#15656
#15655  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @BugenZhao and the rest of your teammates on  Graphite


VIKI Support

Hey, First of all, I just wanted to say incredible work, this is amazing
I wanted to ask if you could add VIKI subtitles also?
Thanks

Thank you very much, I tried the subtitles of viu in Singapore and can't download it, will it be added in the future?

Thank you very much, I tried the subtitles of viu in Singapore and can't download it, will it be added in the future?

Support Viu.com in Singapore without VPN.
Please notice some dramas in Singapore don't support Traditional Chinese and you have to select "zh-Hans" for Simplified Chinese.

Hey, First of all, I just wanted to say incredible work, this is amazing
I wanted to ask if you could add VIKI subtitles also?
Thanks

Viki will be added in the future.


[FEATURE] Deprecations

List of deprecations that need to be addressed:
/var/log/salt/minion:54:2020-11-03 14:19:23,453 [salt.utils.decorators:722 ][WARNING ][10122] The function "module.run" is using its deprecated version and will expire in version "Phosphorus".

/var/log/syslog:6130:Nov  3 14:46:40 neutron-c131ef22-ff23-5517-bf6d-73dcbcfdd5a5 neutron-server: 2020-11-03 14:46:40.989 16065 WARNING keystonemiddleware.auth_token [req-ea13976a-6e11-40b1-825c-d939c01d5fde - - - - -] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.

/var/log/neutron/neutron-server.log:113482:2020-11-03 14:46:41.217 16065 WARNING oslo_config.cfg [-] Deprecated: Option "ovn_l3_mode" from group "ovn" is deprecated for removal (This option is no longer used. Native L3 support in OVN is always used.).  Its value may be silently ignored in the future.

/var/log/syslog:6071:Nov  3 14:56:46 keystone-a1fd3efc-ccbe-544f-a2ca-5ca79d0fd52a keystone-wsgi-public: 2020-11-03 14:56:46.625 730 WARNING keystone.common.rbac_enforcer.enforcer [req-4e49a10a-8d74-4fe5-a8e1-4660017c0bf8 1e62b7a5dbc344c5a257f4309674250c a59a6acaa8ec4188a5541452c9fa7ec1 - default default] Deprecated policy rules found. Use oslopolicy-policy-generator and oslopolicy-policy-upgrade to detect and resolve deprecated policies in your configuration.

/var/log/apache2/error.log:76:[Tue Nov 03 16:24:57.460721 2020] [wsgi:error] [pid 801:tid<PHONE_NUMBER>58368] [remote <IP_ADDRESS>:54490] WARNING:oslo_policy.policy:JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.

/var/log/syslog:10318:Nov  3 16:12:33 cinder-1e8aaaf3-bfaa-5d00-8f0a-f7aa22533029 cinder-wsgi: 2020-11-03 16:12:33.789 702 WARNING cinder.quota [req-5d02bd42-0700-46a8-865e-d56f411b3125 b74fa17802b249618f5bacfe11066951 3a9459a5bba64bb2ad8831f49039f84e - default default] Deprecated: Default quota for resource: volumes___DEFAULT__ is set by the default quota flag: quota_volumes___DEFAULT__, it is now deprecated. Please use the default quota class for default quota.

/var/log/syslog:5411:Nov  3 14:50:46 cinder-1e8aaaf3-bfaa-5d00-8f0a-f7aa22533029 cinder-wsgi: 2020-11-03 14:50:46.841 701 WARNING cinder.api.contrib.hosts [req-d71ec2b8-e16f-441f-9aec-4f1862a755d5 - - - - -] Deprecated: The Host API is deprecated and will be be removed in a future version.

/var/log/apache2/cinder_error.log:63743:2020-11-03 14:50:29.199101 2020-11-03 14:50:29.197 699 WARNING cinder.api [-] The v2 API is deprecated and is not under active development. You should set enable_v2_api=false and enable_v3_api=true in your cinder.conf file.\x1b[00m

/var/log/syslog:3488:Nov  3 14:51:10 nova-512c40a9-e935-52f9-8191-49e2edd0269d nova-api: 2020-11-03 14:51:10.566 18975 WARNING oslo_config.cfg [-] Deprecated: Option "auth_strategy" from group "api" is deprecated for removal (#012The only non-default choice, ``noauth2``, is for internal development and#012testing purposes only and should not be used in deployments. This option and#012its middleware, NoAuthMiddleware[V2_18], will be removed in a future release.#012).  Its value may be silently ignored in the future.

/var/log/nova/nova-api.log:174117:2020-11-03 14:51:10.858 18975 WARNING nova.service [-] Running nova-metadata using eventlet is deprecated. Deploy with a WSGI server such as uwsgi or mod_wsgi.

/var/log/designate/designate-api.log:18:2020-11-03 14:30:21.127 12986 WARNING keystonemiddleware.auth_token [-] Use of the auth_admin_prefix, auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, admin_password, and admin_tenant_name configuration options was deprecated in the Mitaka release in favor of an auth_plugin and its related options. This class may be removed in a future release.

/var/log/magnum/magnum-conductor.log:7661:2020-11-03 14:45:29.720 13602 WARNING oslo_log.versionutils [req-d847f679-06cf-4ccd-bdf5-498ea07b625d - - - - -] Deprecated: _send_cluster_metrics() is deprecated as of Rocky and may be removed in Train. It will not be superseded.

/var/log/haproxy.log:349:Nov  3 14:20:32 haproxy-7dbb59f7-d26e-5f92-80f8-c61b99a9f9c7 haproxy[693]: [WARNING] 307/142032 (693) : parsing [/etc/haproxy/haproxy.cfg:37] : The 'reqadd' directive is deprecated in favor of 'http-request add-header' and will be removed in next version.

/var/log/syslog:3881:Nov  3 14:51:11 nova-fa3fbb91-ebc0-513f-9f8b-720e2b5f7a09 nova-api: 2020-11-03 14:51:11.086 18951 WARNING oslo_config.cfg [-] Deprecated: Option "api_servers" from group "glance" is deprecated for removal (#012Support for image service configuration via standard keystoneauth1 Adapter#012options was added in the 17.0.0 Queens release. The api_servers option was#012retained temporarily to allow consumers time to cut over to a real load#012balancing solution.#012).  Its value may be silently ignored in the future.

/var/log/syslog:5878:Nov  3 14:55:30 container-4ad69cdc-bacd-5817-80d9-78e384a8b375 zun-compute[18882]: 2020-11-03 14:55:30.935 18882 WARNING oslo_config.cfg [-] Deprecated: Option "docker_data_root" from group "docker" is deprecated for removal.  Its value may be silently ignored in the future.#033[00m

These are as of Victoria

The salt module.run discussion is still ongoing.  Ignore for now. Ref: https://github.com/saltstack/salt/issues/58705


Meta Data: Create Meta Data file

The purpose of the Meta Data CSV file is to log  information on a "meta" level about the data thats currently being logged.
The meta data file only contains 1 row.
Some columns

SamplingRate: This columns indicates how often data is logged per second by ContinuousMeasurement.
SessionDuration: How long time has passed since the beginning of the session

In addition, it should follow the standards defined in issue #4  (have SessionID, Timestamp etc.)

SessionDuration: how many seconds have passed since logging started. (TimestampEnd - TimestampStart)
How many rows of data, was collected.

Rows of data / Session Duration = SampleRate

@bastianilso  it's ok for the meta file as you can see

Cool, let's close this for now then.


Can we let the user send a request without a resource path.

Note the following example scenario,
http:ClientConnector httpConnector = create http:ClientConnector("https://localhost:8080/rh01/verify");
 messages:setJsonPayload(m, jsonMsg);
 message response = httpConnector.post("",m);

Is it possible to let the user execute the verb like  httpConnector.post(m); ?

Since we do not have method overloading in ballerina we cannot have two post actions.
In fact IMO the better approach is to separate address from the URI as in the equivalent to this in v0.94 as in the following example
http:ClientConnector httpConnector = create http:ClientConnector("https://localhost:8080", {});
http:Request
request.setJsonPayload(jsonMsg);
http:Response response = httpConnector.post("/rh01/verify", request);

As per above comment I am closing the issue.


[SPARK-22264][DEPLOY] Add timeout for eventlog replaying to avoid time-cons…

…uming replaying which will cause historyserver unavailable
What changes were proposed in this pull request?
History server will be unavailable if there is an event log file with large size.Large size here means the replaying time is too long.
We can fix this to add a timeout for event log replaying.
More details attached in SPARK-22264
How was this patch tested?
Exsisted unit tests.

Can one of the admins verify this patch?

Cloud you help review this? @vanzin Thanks.

This would be fixed by SPARK-20656 which cannot be implemented until SPARK-18085 is in. Instead of adding patch on top of patch to fix things on the SHS, I'd rather spend resources into getting the code for SPARK-18085 reviewed and checked in, so if you'd like I'd appreciated help in reviewing and testing that code instead.

Ok，thanks @vanzin


Formatting changes

I started working on some formatting changes, but I found that the headings, lists, etc in routes/register/+page.svelte are not being applied correctly?
For example

 doesn't create a heading and

 doesn't create a list.
I'm still working on the text, but thought I would create the draft PR early so we could have discussion about it as needed.

As a note: The formatting of this app does not work properly in qutebrowser, but seems to work in firefox, chrome, and luakit, so I'm not sure why qutebrowser is broken.
Outside of that, I think there is only minor formatting needed for the beta test
Speaking of the test, should we put a big red banner on the home page for the testing period saying (something like):
The Peer Review website is currently undergoing a beta test. If you would like to help with the test, please submit your favorite 3blue1brown video or blog post as an entry and participate in each phase of the competition!

Thank you!
Yes it makes sense to add a banner for the beta test for anyone who would discover the site through other means than the discord channel.


[MSC] Paypal with installment gives an error

Reported by @paragbhatt on slack (please make a github issue in the future)

Steps:

Go to https://forms.chinmayamission.com/v2/forms/5c96811ed0443d00011255d5?responseId=5d363e420d053400019031d5
Click "Submit" and then "pay now"
Click on "Paypal check out" to sign in to subscribe.
You will see the error screen.

The issue was that formOptions had:
  "paymentMethods": {
    "paypal_classic": {
      "zip": "$address.zip",

Changed the above to
  "paymentMethods": {
    "paypal_classic": {
      "zip": "$address.zipcode",

Because there is no field called zip, only a field called zipcode. Thus, previously it was setting zip to "."
Should we look into not making "." the default value for undefined fields, or maybe instead, just having validation on paypal fields before it's sent to PayPal?

Will it work for international PayPal payees?

Not sure, it probably should as long as they pay in USD.


[CI] Add PR review from clang-format

This PR enables the GitHub actions bot to suggest changes based on the clang-format directly.
Changes proposed in this PR:

Add format-review options to enable Pull Request reviews from clang-format.
Upgrade the cpp-linter version to 2.9.0 to meet minimum version requirements.

Self-evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test:   [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2659. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

In order for the github-actions bot to properly comment, write permission should be granted to the GITHUB_TOKEN.
ref: https://cpp-linter.github.io/cpp-linter-action/permissions/
Would it be possible for nntrainer to have Send write tokens to workflows from pull requests setting? @myungjoo @jijoongmoon


Article suggests node.js v18. Is this outdated information?

Pretty much the title. The current LTS of node.js is v20 but this article asks for v18. Just looking for clarification.

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

ID: 5bee09a8-022e-1b5a-4aab-d6e7c6216808
Version Independent ID: 49edce1e-f2be-e989-917f-c6b389363e2f
Content: Set up your SharePoint Framework development environment
Content Source: docs/spfx/set-up-your-development-environment.md
Service: sharepoint
Sub-service: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

Nope, it's correct. Current SPFx (v1.18.2) only supports Node.js v18.

And if you think that's bad
https://github.com/SharePoint/sp-dev-docs/issues/9263


fix(config): default service name value

The existing APM_APPNAME environment variable is getting ignored and replaced by the default config value defaultServiceName. To prevent breaking changes on existing applications, I'm setting the default value to the existing value if it exists.
@dstepe could you take a look? The rest of the values look that they are correctly set.

Ah yes, that makes sense. Sorry I missed that. I tried to account for existing configurations but missed how that would play out. Hopefully that's the only one.


diesel_cli requires diesel_infer_schema 0.1.0

see here
also shouldn’t the diesel dependency line contain a path?

This is fixed on master. It's not a big issue.


iOS: Add permissions to cam

NSCameraUsageDescription
We need access to your camera to scan QR codes.

Xcode-Project-Explorer: ios/App/App/.
Edit: Info.plist


General Notes on SPARK feedback

~strike through~ has been addressed in a PR

~give more info in advance before hack starts~

~A "Pre-session" is what we do when we do it with customers on these two-day workshops. It's an office hour about three days before the workshop.~

~Send out calendar reminders earlier. I had people in my group that didn't get a calendar invite and thought they weren't accepted.~
~Send out team assignments earlier to the members of a team. Also, if possible send the teams meeting for the individual teams before the actual event (this will also help with tracking who will/will not attend)~
Maybe consider an EMEA friendly timezone. I had 2 people from EMEA in the group, and they worked till 10PM.
2 days for the hackathon in SPARK is a big commitment. Might have to miss other sessions live and miss on the interactions.
For challenge 1, add some hints on how to generate failure traffic to show up in the logs

add some sample queries for the different type of logs
https://github.com/wallarm/gotestwaf

Be more clear about challenges that are related to each other
How to generate failure traffic... oppty for webv? i.e. how can one challenge contribute to another

Running webv first could perhaps generate a bunch of traffic, including (deliberately?) failed traffic for the monitoring challenge
And then something like webv could target both 80 and 443 to generate fail signals, then challenge 2 could be about see those fails, now what can we do about that? Hey how about a redirect?

~Main README: remove link to RDC~
Challenge 1: A screenshot showing target dashboard would be great hint
Challenge 2: Add hint about allowing port 80 in part 1. ~301 status should be expected instead of 302~
Challenge 3: Overall confusion about the ACR strategy
Maybe another challenge on flux?
would love to have more challenges on the integrations that we are pitching to our customers as a competitive advantage, such as Azure Policy integration and AAD Pod Identity
"First time user, it worked great!"

re: codespaces

"A huge thank you to the organizers and coaches. The coaches were amazing, supportive and so very helpful in learning!"
"I don't think I'm going back to desktop vscode -- if i can avoid it lol"

re: codespaces

"Same here.  First time. Enjoyed seeing it in action"

re: codespaces

"First time user as well, it worked great for me too"

re: codespaces

note of intentional public AKS cluster API.

private cluster API adds more complexity concerns into the baseline
there is regulated baseline with private cluster setup. https://github.com/mspnp/aks-baseline-regulated

some more docs around expectations for ACR challenge

maybe a hint on using az acr import?

during hack, have coaches pause at intervals and go through components that are being installed.

why they're being installed, etc?
there was still a lot of "magic" behind the scenes that made some of the challenges difficult
can use upstream repo and reference architecture docs for talking points

add k8s extension to codespaces

https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools

more bonus steps in challenges that didn't have them

example: add flux setup for webv as a bonus step?

more AKS focused challenges
challenges for different type of roles. app developer, cluster operator, networking team, etc
availability challenges. deployments, availability budgets, autoscaling, etc

I think sending a link to the PnP upstream repo as a pre-read is a great idea and super easy - we should add to the hack guide

we are going to try a different organization technique in the APJ hack that should work better

I like the thought of running WebV from the terminal to generate failure traffic - great idea
Already fixed the readme and PR is merged

I updated asb-hack/docs/hackguide.md with the items that are ~struckout~

can we break these into individual issues on the board so we can track?

@AAkindele @dsturgell @joheec @sivamu @alfredoihernandez

Added actionable items as issues on the board.


feat: Support timeFilter query macro

Grafana is really unresponsive when using this plugin for large datasets. Implementing the __timeFilter macro results in a significant speedup.
In addition to this, future candidates could be $__timeFrom() and $__timeFrom().

I'll take a look later. But for me to better understand: The macro is a helper that formats a query. The performance issue you describe should be solvable without the macro as well, right?

I'll take a look later. But for me to better understand: The macro is a helper that formats a query. The performance issue you describe should be solvable without the macro as well, right?

The issue can not be solved without the macro (or rather changes to the source code). AFAIK the current implementation does not provide the SQL Query with information about grafana's time range. Therefore, all entries have to be fetched from the database (regardless of this setting), resulting in significant slowdown.

Just discovered this PR; I am using SQLite as a backend and this macro would be very helpful.

@SeanCGriffin could you elaborate how this macro would be helpful for you?
As far as I understand the macro simply "transforms"
$__timeFilter(timestamp)

into
(timestamp BETWEEN ${__from:date:seconds} AND ${__to:date:seconds})

I am not sure yet if adding this macro would be that helpful. After all the macro would be something custom that people need to find in this repos documentation, whereas the variable approach is standard and documented at Grafana's side for all plugins.

I will close the PR for now in order to gain some more understanding of the underlying problem.
Let's open an issue if you want to continue on this and we can re-open the PR any time.


[FEATURE]- #158942201] Create user login page

What does this PR contain?
This PR contain a responsive user login page
Description of login page
User Email address
User Password
How to  access it
git clone https://github.com/YA7YA-H/DIARY.git
cd DIARY/UI/Design/login.html
Open it with any browser (preferred-google-chrome)

Requirement
HTML5 and CSS3
pivotal tracker ID
#158942201
screenshot

Nice progress :100:


Raspberry Pi as Locally Monitored Security System

Has anyone tried tapping into their home security system using the raspberry pi gpio pins?
Currently I have a disabled Brinks system that needs to stay unplugged. This is because ADT (who now owns Brinks) doesn't allow local monitoring and without a proper connection to their servers, an obnoxious beep happens every 24 hours until canceled.
It feels like such a waste to let the preexisting equipment go unused.  Currently, I know there is a plugin for contact sensors but I was wondering if anyone has done a diy overhaul of a security system in their house. One that can successfully arm and disarm, use the contact and motion sensors, door chimes, and siren.

I don't meet the requirements of what you're looking for in terms of having done it before.
But....where does the beep come from?

The beep comes from the brinks keypads. It says CP error and happens 24 hours after the error is canceled. To my knowledge CP error is associated with not being able to communicate with ADT since we do not have a land line connected to the house. I've also heard these keypads need proprietary hardware to make the system to work locally and they refuse to do anything if you're not a paying customer.


az vm update --set/--remove does not work?

Environment summary
Install Method: Homebrew (MacOS)
CLI version: azure-cli (2.0.30), Python (Darwin) 3.6.5
OS version: MacOS Sierra 10.12.6
Shell: Bash
Description
I am attempting to remove and set tags on a VM, but am getting the error unrecognized arguments.
For example, removing a tag:
az vm update –-resource-group MyResourceGroup –-name MyTestVM --remove tags.myNewTagName1
and setting a tag:
az vm update --resource-group MyResourceGroup --name MyTestVM –-set tags.myNewTagName1=myNewTagValue1
Both examples are from the documentation.
Note that this also fails in the portal's Cloud Shell.
Can anyone else confirm this and/or have it work for them? I haven't found any bugs listed in this issues db. Thanks!

I confirm it is working.
When I copied/pasted your command line, I noticed the first dash of the –-set option was a different character that's why you are getting an error.
$ az vm update -g rg -n vm --set tags.myNewTagName1=myNewTagValue1
$ az vm show -g rg -n vm --query tags
{
  "myNewTagName1": "myNewTagValue1"
}
$ az vm update -g rg -n vm --remove tags.myNewTagName1
$ az vm show -g rg -n vm --query tags
{}

Good catch, thanks!
And I know exactly how that happened and why I didn't think to inspect it closer - I copied it out of the documentation.


Add RBAC needed to request JIT access to VMs

It would be helpful if this page could provide access privilege requirements within the Azure portal to support a JIT request. This could be a link to the FAQ on this topic available at JIT access overview

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

ID: e4d2c104-84df-a487-8a15-110e535512cb
Version Independent ID: e6cd74cf-b992-2cf6-bb85-d260bd2a1e3a
Content: Just-in-time virtual machine access in Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/just-in-time-access-usage.md
Service: defender-for-cloud
GitHub Login: @memildin
Microsoft Alias: v-ekrieg

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@stephlocke , Thank you for bringing this to my attention. As requested I am adding a link to the FAQ section from the documentation.


Vertical scrollbar on schedule editor

I think it appeared with #3139 @epwinchell @PanSpagetka @romanblanco

@miq-bot add_label bug ui

@miq_bot add_label bug ui

@skateman this is related to main_div and dhtmlx_layouts - it will go away after the conversion to Bootstrap

Ok, closing the issue!


Declaring an RBF Kernel from ekernel versus kernel modules

What is the difference between declaring an RBF Kernel using: GPflow.kernels.RBF(1) and GPflow.ekernels.RBF(1) ?

Hi @ktiwari9. For models like GPR there is no difference. The only difference is that the ekernel version can calculate the expectation value of the kernel under input distributions analytically, while kernel calculates these with quadrature approximations. These are necessary for example in Bayesian GP-LVM models.


Shared Services Platforms page "How Pulumi Helps" section should be updated

the how pulumi helps section on shared services looks really strange followed by the section above it; id consider moving this to the bottom or changing to 3 cards and doing a row

This is about https://www.pulumi.com/solutions/shared-services-platforms/.


 It doesn't work with the no_command rule, as shown:

~
-> pingg
pingg: The term 'pingg' is not recognized as a name of a cmdlet, function, script file, or executable program.

Anything else you think is relevant:
This is probably an issue with difflib.get_close_matches() as its case-sensitive. Also sorry for the large debug section.

That would be an nice improvement.

identify if the underlying filesystem is case-insensitive
If it is, activate a flag to set everything to lower case prior to running the rules

has this been resolved? If not, I wanted to try tackling this.
Any help would be appreciated.

hey @scorphus, I was having some trouble running the app locally(for debugging purposes), when I try to run main.py, I get this:
Traceback (most recent call last):
  File "G:\open_source\thefuck\thefuck\entrypoints\main.py", line 2, in <module>
    from ..system import init_output
ImportError: attempted relative import with no known parent package

Should I be changing the working directory? Or am I missing something here?

Probably the best way to run it is by calling thefuck from the terminal. e.g. thefuck PINGG or thefuck "git brnch".

Hi university capstone project -- our group is trying our hand at this issue, too. Is there any good starting point as to adding the necessary functionality/fix for this? My initial assumption would be somewhere in conf or correcter.py. But I noticed that difflib has been mentioned here, too.

One point of interest would be utils.get_all_executables():
https://github.com/nvbn/thefuck/blob/d8ddf5a2be9d52ec4bc8c11e79fcc7b3c390b669/thefuck/utils.py#L112-L133
as it is used in the no_command rule:
https://github.com/nvbn/thefuck/blob/d8ddf5a2be9d52ec4bc8c11e79fcc7b3c390b669/thefuck/rules/no_command.py#L1-L42
I gave this issue a bit more thought. Turning executable names to lower case might work for case-insensitive file systems, but it may be quite tricky to ensure that all executables lie on such file system and not elsewhere. Even trickier to not convert to lower case those that lie on case-sensitive file systems. So it looks like this issue could hardly be effectively solved this way.
Another possible solution could be a new no_command_i rule that would try to find matches case-insensitively. It could borrow/adapt the ideas discussed in this SO thread: https://stackoverflow.com/questions/11384714/ignore-case-with-difflib-get-close-matches
There are a few more caveats to it, but they can be explored once the new rule gets some initial shape.
As to difflib, this BPO has some interesting discussions: https://bugs.python.org/issue39891. It also has a conclusion. So, maybe a new package? Check existing ones in PyPI: https://pypi.org/search/?q=difflib

I see, thank you for the insight. One of those threads eventually led to something about get-close_matches_ignorecase()


[Enhancement] Implement MaxLengthReachedBehavior

Summary
I would like to have a behavior that executes a certain command (or invokes a certain event handler) when the max length of an entry field has been reached.
API Changes
Create a new MaxLengthReachedBehavior with the following properties:

Command: of type ICommand. This will get executed when the MaxLength of the Text property of the attached Entry field has been reached.
MaxLengthReachedEvent: of type eventhandler. This will get invoked when the MaxLength of the Text property of the attached Entry field has been reached.
AutoDismissKeyboard: of type boolean. Default value is true. When the commands get executes, the keyboard will be dismissed (or not).

Intended Use Case
If your user needs to type in a certain code to verify 'something' which always contains x number of characters, I would like to automatically execute a certain command without the user having to click a button to continue.
If your user has to type in his date of birth and we use the nice MaskBehavior (which is also available in the XCT!), we could invoke a certain event handler which could set the focus of the next entry field on our form, so our user can quickly continue filling out the entire form without having to click on the next entry field manually to start typing.
Who Will Do The Work?

[x] I am willing to take this on myself
[ ] Just putting this out there for someone to pick up

I would like to implement this

I would like to implement this if it is okay with @jBijsterboschNL

I guess @jBijsterboschNL checked "I am willing to take this on myself". So... let's see what he will say about it :)

I already started working on this :)

It is perfectly fine best of luck mate 🙏🏼🙌🏼


Is it possible to do nested tabs?

Well iam using super tabs as base navigation  but as u can see in this pic i place two more tabs inside one ? and their routing component is different but when i press the inside tabs they navigate to the main app tab navigation why is that ? the page is navigated to the called page but it also takes me to home page of my base navigation

This is probably due to the querySelectorAll calls that super tabs uses. The selectors aren't restricted to direct children and they're picking up events from the nested tabs.
Generally speaking having nested tabs isn't a good idea since it can confuse both the user and the web view. There shouldn't be more than one element that can be swiped. Consider using normal tabs for one of the views and super tabs for the other.

Well this issue is close but i found a way to do nested tabs but also making use of super tabs , i used *ion-segment and ngif to make a nested tab inside the super tab component loaded and it works flawlessly .
Just updating this thread may it help some one in future.


bring back 2016 top bar :3

please

thats impossible bro

nah

nah

yuh huh its impossible the top bar is in the coregui you cant edit it

Its possible but you need executor.

stfu bruh

Find god

You can use DataModelPatch and replace the corescripts and everything with the 2016 coregui

download

what?


Give TrafficPattern parameter a more mnemonic set of options

Should be names, not numbers.
Also, implementation is currently messy, and just tossed ad hoc into omnetpp.ini.

This is partially resolved in PR #460. While it is still very limited, it is now more expressive than prior numbering of just 1, 2, or 3.


Add logging to retry policies

Adding logging as low as possible in the retry logic. Small step towards
gettting some visibility into what is sending retries.

👓 @spladug @alienth

I'd like to get more context but there doesn't appear to be an easy way unless we added access to a request object.
Yes, it will be spammy but we'll be able to answer the question "Are retries happening?" as opposed to some of the current guess work.

Baseplate uses retry policies for quite a few things that aren't service-to-service calls so contextless logging is gonna be really hard to track to something useful. If you care about service-to-service hops then how about logging here instead? https://github.com/reddit/baseplate/blob/master/baseplate/context/thrift.py#L104

Also, if it's not intended to stick around forever doing it in the library which releases on a slower cadence than applications might not be the best fit. Could always patch it in on the application side if there's a single place you want to dig into.


SpriteBodyComponent seems to not exist

Current bug behaviour
I was trying to create a BodyComponent with an image and I found SpriteBodyComponent on the docs, but it seems like SpriteBodyComponent does not exist in the code base.
Expected behaviour
I think this is an outdated documentation, so it would be amazing if the section about SpriteBodyComponent was updated!

That must be updated in the docs indeed! The correct way now is to create a BodyComponent and add a SpriteComponent as a child to it.

@spydon
Thank you so much for the quick response!

I realized that this is actually already updated, the link in the issue is going to an old version of the docs.
This is the latest version https://docs.flame-engine.org/1.3.0/flame_forge2d/forge2d.html
I wonder if we can tell google to only index the last version...


Find resource by method and path

When I want to find resource by method and path, I use this function:
def get_resource(resources, method, path):
    for resource in resources:
        if resource.method is None or resource.path is None:
            continue
        if resource.method.lower() == method.lower() and resource.path == path:
            return resource
    return None

Is there any built-in function in ramlfications to achieve that?

hey @johnlinp! Unfortunately, not; your filter method seems like the best approach at the moment.  I'll keep this issue open to consider putting a feature in for a 0.2.x release.


cmd/compile: missed bounds check elimination when paired slices are resliced

go version devel go1.24-140308837f Mon Oct 21 15:30:47 2024 +0200 darwin/arm64

When the lengths of two slices are "paired" (dst = dst[:len(src)]), the compiler is smart enough to apply ifs to both, but if you reslice them the pairing is lost.
func foo(src, dst []byte) {
	dst = dst[:len(src)]
	for len(src) >= 50 {
		_ = (*[50]byte)(src) // no bounds check
		_ = (*[50]byte)(dst) // no bounds check
	}
}

func bar(src, dst []byte) {
	dst = dst[:len(src)]
	for len(src) >= 50 {
		src = src[50:] // no bounds check
		dst = dst[50:] // bounds check!
	}
}

Related Issues and Documentation

cmd/compile: bce: if slice[n] is in bounds, then slice[:n+1] should have bounds check eliminated #32431 (closed)
cmd/compile: unnecessary bounds check for position len/2 #27249 (closed)
cmd/compile: No BCE for len(x)&y in slice expression #52563 (closed)
cmd/compile: teach prove about slice expressions #28941
cmd/compile: improve BCE to detect safe unbounded slicing #35483 (closed)
cmd/compile: don't generate call to growslice if the slice has capacity #33853 (closed)
cmd/compile: unnecessary bounds check with slice offset #66691
cmd/compile: missing BCE optimization cases #64272
cmd/compile: Prove doesn't understand division of slice length #57077 (closed)
cmd/compile: No BCE for str[len(str):] #53409 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

I'm not sure how we'd do this.
In the former case, there's no modifications to src or dst (after the first slicing), so when we conclude that len(src)==len(dst) after the first slicing, it continues to hold throughout the rest of the function.
In the latter case, src and dst are modified in the loop. So we not only need to know that len(src)==len(dst) at the start, but that src=src[50:];dst=dst[50:] maintains that invariant. And that we never use that invariant between those two statements (where it would not hold).
We don't have any mechanism for that kind of logic in the compiler right now. I'm not sure how we would do it.
(That first function doesn't make much sense to me. An infinite loop is probably not the intent.)

When for is replaced with if, then the check is removed.


Azure DACPAC deployments are failing

This morning my VSTS deployments are all failing due to issues deploying the databases.
I am using hosted agents, and the Azure SQL Database Deployment task.
The error is usually - [error]System.Management.Automation.RuntimeException: IPAddress mentioned is not a valid IPv4 address.
I have 3 databases on the same server, sometimes deployment of the first database succeeds, but then the second fails.
The steps to delete the rules were sometimes failing too (if it got past the create), but I have disabled these now.
The rules were set to Autodetect. I don’t think the firewall rule is needed at all because the server is set to allow access from within Azure so I changed it to a known IP address (my office) and it is still failing with this message.
How can I stop it from doing anything with the firewall, or make the step work?
Thanks,
Jane

@janecos  Depending on email conversation  I am closing this issue. Feel free to reopen if you face issue again.

Can we even get an idea of WHAT the issue was?  Experiencing the same issue today.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/125 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-source-version-target.git

Docs Build status updates of commit 3407f50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Send2UE: Export failure

Addon: iSend to Unreal
Steps to Reproduce the Problem: I clicked Pipeline > Export > Send to Unreal
Error Log:

AttributeError: 'NoneType' object has no attribute 'name'
Error: Python: Traceback (most recent call last):
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\operators.py", line 91, in invoke
    self.pre_operation()
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\operators.py", line 160, in pre_operation
    extension.run_extension_tasks(ExtensionTasks.PRE_OPERATION.value)
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\core\extension.py", line 76, in run_extension_tasks
    task(*args)
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\resources\extensions\affixes.py", line 326, in pre_operation
    add_affixes()
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\resources\extensions\affixes.py", line 45, in add_affixes
    rename_all_textures(texture_images, append_affix, properties)
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\resources\extensions\affixes.py", line 170, in rename_all_textures
    new_name = affix_operation(image, properties.extensions.affixes.texture_name_affix, is_image=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dan\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\send2ue\resources\extensions\affixes.py", line 99, in append_affix
    filename, ext = os.path.splitext(scene_object.name)
                                     ^^^^^^^^^^^^^^^^^

OS: Windows
Addon Version: Send to Unreal 2.4.9
Blender Version: Blender 4.2.1 LTS
Unreal Version: Unreal 5.4

Spinning around this I don't see it being an issue with my model but that's possible, I have no textures in the model. Why is rename_all_textures being called?

Apologies, solved there was a texture material.


Rank docstring

The docstring for Rank seems to contain an error:
Assigns each neighbor a weight as a rank such that the closest neighbor get's a weight of `1` and the Kth closest neighbor gets a weight of `K`.

This doesn't make sense to me, since it implies that the closest neighbor gets the smallest weight, and the furthest neighbor gets the largest weight. Is the docstring just backwards, or is it supposed to do something else?

@ParadaCarleton Nice catch. This is a bug. It's meant to be reversed. Closest should get more weight and farthest should get less weight. The code has to be adjusted also to reflect this.
Do you want to open a PR to fix this?  Or should I fix it?

Thank you!


Adding a local storage to the signup page and Displaying the name of the player

i will create a local storage and then using that when the player signs up i will save it in local storage and use that to display the name of the signed in player.
@YadavAkhileshh  can you please assign me this task.

@YadavAkhileshh


InvalidAuthenticationToken exception for Aadv1bot sample

Bot Info

SDK Platform: .NET
SDK Version: Bot builder <IP_ADDRESS>
Active Channels:
Deployment Environment: local development with Emulator

Issue Description

Getting the following error while running the AadV1Bot sample code in the Bot emulator.

Not any command works.
Code Example

Debugging the code and narrow down the exception was caught.

{Code: InvalidAuthenticationToken
Message: Access token validation failure.
Inner error
}
Can you please help fix this issue?
Reproduction Steps

Expected Behavior
Sign in button show and allow me to sign in.
Actual Results
Get the error - 'Sorry, my bot code is having an issue".

@EricDahlvang do you have any idea?


Rewrite Nextcloud exclusion rules package into plugin

As agreed, all exclusion rules packages needs to be moved into plugins.

See: https://github.com/coreruleset/nextcloud-rule-exclusions-plugin.
Needs someone to review before sign-off on this issue.

Looks good!
Few things:

Rule 9508121 is missing ver action.
Missing 'Testing' section in the readme, copy it for example from https://github.com/coreruleset/phpbb-rule-exclusions-plugin (it was written in cooperation with dune).
Remove me from CONTRIBUTORS.md as i haven't contribute into this one.

Thanks for reviewing this.
Good spot on the missing ver line.

Missing ver line added.
Testing paragraph added.
CONTRIBUTORS.md updated.

All outstanding issues addressed. Once CRS 4 is live then the plugin repo can be made public.
Closing this issue (but can be reopened if anyone wanted to add any further comments).


Automatically to distribute containers per CPU cores

Total number of CPUs can be found with: https://stackoverflow.com/questions/24073697/how-to-find-out-the-number-of-cpus-in-go-lang This should be applied only when -limit is less than total number of CPUs.

Let things remain simple. Automatic detection could potentially confuse users.


Switch from Gotham to Actix

Since actix-web has removed all unsound use of unsafe in its codebase, when do you plan to switch to acitx-web as mentioned on reddit?

The main attractiveness of switching to actix was I was hoping it had a remote actor system like what akka has in it's akka-remote, but I think remote is still a work in progress for them so I'm still somewhat in a place where I can't combine the http layer of this and the remoting layer. It is also is way more work than I originally thought (I dunno why I thought it would be easy) but it doesn't seem to have any real immediate benefit when there are other basic functionality aspects that still need to be implemented.


Added a Conditional GAN lab

Added a new lab for conditional GAN.
Lab exercise version will follow after the review.

Modified the line to alight other Conv2dTranspose layer formats. Thanks!

View entire conversation on ReviewNB

Thank you!

View entire conversation on ReviewNB

Thank you :)

View entire conversation on ReviewNB

Thank you :)

View entire conversation on ReviewNB

That makes sense. I added an explanation here.

View entire conversation on ReviewNB

Thanks for catching it! Modified.

View entire conversation on ReviewNB

Thank you! Modified.

View entire conversation on ReviewNB

Actually we removed the argument names to cut shorten the code. Since it is wouldn't be the first time to use Conv2d and Conv2dTranspose, I think it is OK. What do you think?

View entire conversation on ReviewNB

Removed! Thanks

View entire conversation on ReviewNB

Modified. Thanks for the suggestion.

View entire conversation on ReviewNB

Actually no reasoning of this number. Since default value is sufficient I will just remove the buffer size. Thanks!

View entire conversation on ReviewNB

Thanks!

View entire conversation on ReviewNB

I see! Do you mean they would have seen this layer in another lab?  If so, can you just add a comment above one of the Conv2D layer to explain the arguments once so the lab can be independent of the other lab? To me, it's hard to know what these numbers are without going into the documentation.

View entire conversation on ReviewNB

Just wanted to make the update the text to the one I suggested to make it more readable. Since training alternately is not common.

View entire conversation on ReviewNB

I will close this so far based on our discussion. Thank you!

View entire conversation on ReviewNB

I will close this so far based on our discussion. Thank you!

View entire conversation on ReviewNB

I will close this so far based on our discussion. Thank you!

View entire conversation on ReviewNB

Thanks for the clarification. I agree and modified :)

View entire conversation on ReviewNB

Added the discriminator accuracy to the code itself. Thanks!

View entire conversation on ReviewNB

Added a comment about it. Thanks!

View entire conversation on ReviewNB

@sanjanalreddy I modified the code based on our discussion! Please merge it if it looks good to you :) Thanks!


Shimmer issue

Shimmer.fromColors() does not work in the latest Flutter sdk. I don't know why is this happening.

This package is practically dead. Do you have a log of what error happens? It may be useful for the ones who are using the latest version of Flutter.

Hell guys, I am using the package with Flutter v3.7.10, it works normally , is it the last Flutter SDK?

my bad, I am using flutter v3.7.0. In this version, Shimmer.fromColors is not in the package shimmer : ^2.0.0 but in the package shimmer : ^1.1.2, it is there.


Lifetime for #[derive(Key)]

update syn, attribute-derive and quote-use
fix: lifetimes in derive Key

fixes #283
Also fixes an issue where the lifetimes in #[derive(Key)] clashed with
lifetime names on the struct (especially 'b)

Thank you for tackling this so quickly! it's a shame the workaround you had to do for proc-macro-error. CI is showing a few issues -- hopefully they aren't too bad!

CI is showing a few issues -- hopefully they aren't too bad!

I'll have a look, must have missed them testing locally

Thank you for this! I still don't fully understand why we ran into the syn 2.0 issues on CI but not when we tested locally initially. But, I'm glad you sorted it out!
I've also extended an invite to the project which will hopefully cause your actions to trigger automatically in the future.

Thank you for this! I still don't fully understand why we ran into the syn 2.0 issues on CI but not when we tested locally initially.

Because we didn't run cargo update locally.


Large files downloading issue

Large file downloads are evident in caton. I need help

Duplicate of #13


BottomNavigationBar elevation not being set properly, in bottom_navigation_bar.dart

This is a problem occuring when using the BottomNavigationBar widget, where i think the elevation is not being set to the property defined by the user.
Shouldn't the elevation in the Material widget default to: "widget.elevation", if widget.elevation != null.
...
return Semantics(
      explicitChildNodes: true,
      child: Material(
        elevation: widget.elevation ?? bottomTheme.elevation ?? 8.0,
        color: backgroundColor,
        child: ConstrainedBox(
          constraints: BoxConstraints(minHeight: kBottomNavigationBarHeight + additionalBottomPadding),
          child: ...,
          ),
        ),
      ),
    );
...

This code is from the file: bottom_navigation_bar.dart

Sorry code is fine, missed the double ??...


Improve GRADLE build Performance

Parallel test execution maxParallelForks. Gradle can run multiple test cases in parallel by setting maxParallelForks.
Disable report generation. We can conditionally disable it by setting reports.html.required = false; reports.junitXml.required = false. If you need to generate reports, add -PcreateReports to the end of Gradle's build command line.
=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

This is a dormant project. See #230. It will probably be archived soon.

This is a dormant project. See #230. It will probably be archived soon.

Thanks, I will close it.


ko.postbox.publish() creating duplicate updates

Hi,
First off, this is a great plugin. I've got a question though, that I'm sure is something wrong on my end.
I've got a search box viewModel that publishes updates whenever the search box value changes (using textInput binding).
function searchViewModel() {
  this.searchText = ko.observable("")
     .extend({ rateLimit: { timeout: 200, method: "notifyWhenChangesStop" } })
     .publishOn("searchQuery");
}

ko.applyBindings(new searchViewModel(), document.getElementById('#search'));

This is then subscribed to by a listViewModel that does an AJAX request depending on if it is a query or a blank value.
ko.postbox.subscribe("searchQuery", function(newValue) {
    if(newValue !== '') {
        self.getContacts('?' + self.searchType() + '=' + newValue);
    } else {
        self.getContacts("");
    }
}, self);

This works wonderfully, except when I navigate to the url that is the list of results. /#/contacts (setup using Sammy:
this.get('#/contacts', function(context) {
    loadView('views/list/index.html', new listViewModel());
    ko.postbox.publish("searchQuery", "");

    loadPartialView('views/navigation/index.html', new navigationViewModel(), 'navigationContainer');
});

The first time, this works, but on subsequent navigations to this url (such as going back to it from a detail page), then the value is published twice, resulting in another db call. It's cumulative, too, the third time, two additional calls are made, and it just goes up from there.
Any advice would be much appreciated!

Dear,
I saw this passing by and wanted to help you out. I am in no way any contributor to this library.
But since the issue you are having is not related to postbox I thought I could help you out.
As far as I can tell, the value is not published twice. The subscription is registered again for each time the user navigates to ur page.
The reason for this is that in your sammyjs route, you create a new listViewModel, in this listViewModel you're subscribing for the correct message (searchQuery).
Let me explain it a bit with an example:

user navigates to contacts, your code creates listViewModel for the first time (I'll call it A).
user searches everything works fine.
user navigates away and comes back, your code created a listviewModel for the second time (I'll call it B).
Since this is a SPA, viewModel A is still in your memory since the GarbageCollector didn't kick in yet.
if you publish the searchQuery now, we have two viewmodels who are subscribed to the message.
user navigates away and comes back, your code created a listviewModel for the thirth time (I'll call it C).
And so it goes on.

Possible solutions:

Don't make a new instance everytime.
Make sure to unregister the postbox registration before creating a new listViewModel (however, this still can result in other issues).
Try using the delete keyword to remove your old instance.

If you have any questions, feel free to ask.

Thank you so much for your help. I'm a web designer just trying to work my way through Knockout, so I really appreciate your help!
What you're saying makes sense. I'm using a code snippet from SO to load each list view that looks like this:
function loadView(url, viewModel) {

    var loadViewRequest = $.ajax({
        type: 'GET',
        url: url
    });

    loadViewRequest.done(function(response) {
        var container = $('#main');
        var view = container.find('.view');
        var newView = $('<div>').addClass('view').html(response);

        if (view.length) {
            ko.removeNode(view[0]); // Clean up previous view
        }

        container.append(newView);
        ko.applyBindings(viewModel, newView[0]);
    })
}

My understanding was that the ko.removeNode was doing this, but I'm probably mistaken. Here's the original SO.
Is the 'delete' keyword you mentioned a better way to handle this, instead of removeNode?
The idea of using this technique was that I could use partial views, and not have all my markup for this app on one page. That just felt not very clean, but this might not be any better.
As for publishing an empty string on the url being hit, I think I had to do this because the initial publish that is there by default didn't trigger my subscribe event in the other view model, for some reason.
Thanks for the advice!

Dear,
removeNode is knockout related and I am not aware if this fixes the issue.
U're issue is a pure memory issue in javascript.
So each time a new listviewmodel is instantiated, you call removeNode before calling applyBindings. This is to tell the html which viewmodel it should use to bind to the view.
Keep in mind, when creating viewmodel B (in my previous example), you are calling removeNode on the view to remove the binding with viewModel A, and call applyBindings for the viewModel B.
But the viewModel A is still existing in your memory, but modification will not be visualised in the view since it is not bound to any html. However, if you didn't unregister your knockoutpostbox, or any other "event handler" (even a button click etc) this will still be triggered when the corresponding event (postbox, clickhandler, ...) occurs.
So again, your issue has nothing to do with knockout or knockout postbox.

Wow, that's super useful. I added underscore to the project and implemented the solution you outlined in your third fiddle. That's stopped the duplicate calls, and looks good.
Thanks a ton for your help!


Wildcarded nuget reference to Behaviors SDK causes build failure on some machines

One some machines, I get the exception since BehaviourSDK Nuget reference was changed from 1.0.2 to 1.0.*:
[...]\Template10\Template10 (Library)\project.json(0,0): Error:
Microsoft.Dnx.Runtime.FileFormatException: '1.0.*' is not a valid version string.
---> Microsoft.Dnx.Runtime.FileFormatException: '1.0.*' is not a valid version string.
---> System.ArgumentException: '1.0.*' is not a valid version string.

Could you try changing it to "1.0.3" and seeing if the error continues? I can't imagine why this is happening for some and not for others (like me).

Yes, it works when using 1.0.3. Seems that specific versions of Nuget or dnu fail on "dnu restore" when runnding builds from command line.

Jerry, just to let you know: The problem occurs when building Apps from the command line. It does not happen when using Visual Studio. Unfortunately, this breaks all kind of continuous integration and automated testing that depend on nightly builds, automated deployment and so on.


Expose the HttpResolver

The HttpResolver would be used by anything requiring a universal resolver over http(s).
This was branched off from the old Authentication branch, so the only new commits should be from commits on Oct 09, 2018  and beyond.

🚢


Hope you will give Taskade a try!

Hope you will give Taskade a try!
We are on web, desktop, and mobile.
Our app lets you transform a task list into a kanban board, mind map, and more.

Below is our mobile app link. Thanks!
https://itunes.apple.com/us/story/id1433671795

very happy with 2do :)


Specification for: Pagination

Related issues or relevant information?

See pagination used in altinn tables
https://designsystem.dk/komponenter/paginering/
https://aksel.nav.no/komponenter/core/pagination
https://design.entur.org/komponenter/navigasjon/pagination
https://design-system.service.gov.uk/components/pagination/
https://carbondesignsystem.com/components/pagination/code/

Design tasks

[ ] Design is fully specified in Figma

[ ] Design component with all relevant states
[ ] Accessibility test of the sketches
[ ] Functionality/animation is described and prototyped if relevant
[ ] If there are used any svgs in this component is it available for the developer? [Link]
[ ] Link to Figma design: [Link]
[ ] Pasted screenshot from Figma below :point_down:

Development Tasks

[ ] Implement in Storybook
[ ] Make sure all variants/properties is possible to turn on/off
[ ] Make sure the component is usable across different breakpoints/screen sizes
[ ] Accessibility test of the sketches

Accessibility tasks

[ ] WCAG-review

FDK tester ut å bruke Aksel sin paginering-komponent i FDK-designet. https://aksel.nav.no/komponenter/core/pagination


Shuffle feature rewrite question

When I was implementing the "editor" feature I encountered problem with shuffle. Currently shuffle works on the internal playlist structure only (changing it). So basically you see some interval ordering in URL or editor (those two are the same) but enabling shuffle does not change that ordering (so I had to disable shuffle in editor...). I think the new shuffle should be enabled manually via user click and should modify URL (via hash change) or at least modify URL. Then it would fit nicer to the "editor" concept and it would make code more explicit and simpler. What do you think ?

Please check https://github.com/lidel/yt-looper/commit/c27c45bebd0ba14eb7be82e115b2ffee6dc5a73b I just pushed it.
With this change shuffle is not statically generated,
but is calculated on the fly before playing next item.
Thanks to this, it can coexist with editor
which displays items in the order from URL.

Superb! checking... :)

OK, I'm totally fine with that (http://goo.gl/29ltXJ) but it isn't exactly shuffle, right ? ;)
Maybe we should change the name (http://goo.gl/sYIIDM) to "random" ? ;)

Yes, &random makes more sense here. I'll rename it shortly.

Looks solid :+1:


Update Blob Path value for Azure Blob Trigger

This fixes an incorrect documentation for what value should be entered for Blob Path for Azure Blob Trigger

@milincjoshi7 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

I'm recreating this PR in the private repo with more extensive updates. @ktoliver, #please-close


Output CSS return empty

Issue description:
I'm trying to use output function to get inline css to custom color background, but isn't return any value, just the empty tag
<style id="kirki-inline-styles"></style>
In preview on customizer did work the preview changed, but seems the changes isn't save
Version used:
Tested on stabled version and the develop version 3.0.44
Code to reproduce the issue (config + field(s))
Kirki::add_panel( 'visual_panel', [
    'title' => 'Configurações Visual',
] );

Kirki::add_section( 'topo', [
    'title' => 'Topo',
    'panel' => 'visual_panel'
] );

Kirki::add_field( 'background_color', [
    'type'        => 'color',
    'settings'    => 'color_setting_hex',
    'label'       => __( 'Color Control (hex-only)', 'kirki' ),
    'description' => esc_html__( 'This is a color control', 'kirki' ),
    'section'     => 'topo',
    'default'     => '#0088CC',
    'transport'   => 'auto',
    'output'      => [
        [
            'element'  => 'body',
            'property' => 'background-color',
        ],
    ],
] );

Same problem!

@zenics in my case i resolve my problem with
Kirki::add_config( 'myconfigid', [
    'capability'  => 'edit_theme_options',
    'option_type' => 'theme_mod',
] );

it was my lack of attention

I dont think the second part is right. That needs to be with field name not config. Isnt it?

@zenics the first is the config id, and the settings is the ID of the field
see this : https://kirki.org/docs/config
Kirki::add_config( 'theme_config_id', array(
	'capability'    => 'edit_theme_options',
	'option_type'   => 'theme_mod',
) );

Kirki::add_field( 'theme_config_id', $field_args );

Yeap. that did it :) thanks

One qiuick question; is there a way to get the dark and light shade of a color like we do in less or sass like darken($color,10%); Need to output a 10% darker and lighter shade or set color.
Thanks

i have not tested yet, but this maybe can help you https://aristath.github.io/blog/php-color-manipulation-class


Improve monitor

Resolves:
https://github.com/Eraden/amdgpud/discussions/26#discussioncomment-1706716
https://github.com/Eraden/amdgpud/issues/29
Changes:

Fix openrc logs
Move monitor functionality from fan management
Add monitor daemon which can save logs as csv
Add more documentation

openrc service works fine now.
When running amdvold print-states I'm getting ERROR amdvold > No such file or directory (os error 2), but that may be because I haven't set the kernel parameter as described by amdvold setup-info. Still it would be better to have a proper error message.

Additional io error details added


[BEAM-9116] Limit the number of past invocations stored in JobService

The InMemoryJobService stores an unbounded number of past job invocations. When
this job server is long-running this can cause memory issues, as seen with our
test setup for running Python tests.
This limits the number of past job invocations via a flag in the job server with
a sensible default.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

retest this please

retest this please


bug(sqlparser): properly handle ambiguity in INSERT INTO table_name (SELECT ...)

Version:
PostgreSQL 13.14.0-RisingWave-2.1.0 (unknown)

Steps to reproduce:
CREATE TABLE src2 (a INT, b INT);
CREATE TABLE dst2 (c INT, d INT);
INSERT INTO dst2 (SELECT * FROM src2);

Postgres supports this syntax. So RisingWave might also need to adapt it.

Note that RisingWave already support it without parentheses:
INSERT INTO dst2 SELECT * FROM src2;

The problem of parentheses is the ambiguity between the follow two SQLs:
INSERT INTO dst2 (d) SELECT 1;
INSERT INTO dst2 (SELECT * FROM src2);

Right now it seems our sqlparser always tries to parse a column list inside parentheses and would report an error immediately without backtracking and trying the other possibility: parsing a parentheses Query.
Is avoiding the unnecessary parentheses an option in your use case? The sqlparser may (or may not, I have not checked this specific case) need a moderate refactor to support backtracking well.

Is avoiding the unnecessary parentheses an option in your use case?

All good. These workarounds can work. It is just a bit confusing.


[HELP] Integrating Apollo GraphQL Client into ngrx store

How can we merge Apollo Store into ngrx as a single store?
This is possible with ng2-redux, but how can we do the same with ngrx?
http://dev.apollodata.com/angular2/redux.html
Some conversations here suggests that the ngrx community should take on some form of responsibility to make this compatible (see @alexthewilde comment). Can any of you at least suggest ideas of how we can make this happen? Any implications for backward compatibility?

Hi
I think apollo-client should adopt with stores. (like a abstract interface)
Ngrx is awesome ✌

There are already mutliple conversations about this over on the apollo repos. I think the most likely thing to happen is to disable the apollo cache / store.
https://github.com/apollographql/apollo-client/issues/1419

We're migrating over to https://github.com/ngrx/platform, so I'm going to close this issue. Feel free to reopen it there.

Apollo released https://github.com/apollographql/apollo-link to resolve a lot of these concerns

@cport1 cool, thanks for the link 👍


Include directive causes NeedsDuplicatedId

I have a file in which I want to include some needs files. When using the include directive, it raises sphinxcontrib.needs.api.exceptions.NeedsDuplicatedId however there is no duplicate of Id.
index.rst
Feature X
======

blah blah

.. include:: req_B_001.rst

req_B_001.rst

.. req:: A requirement
   :id: REQ_B_001

    Requirement description

sphinx-build
...
reading sources... [ 36%] 2_engineering_requirements/2_requirements/feature_B/index
reading sources... [ 45%] 2_engineering_requirements/2_requirements/feature_B/req_B_001
Traceback (most recent call last):
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\cmd\build.py", line 280, in build_main
    app.build(args.force_all, filenames)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\application.py", line 337, in build
    self.builder.build_all()
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\builders\__init__.py", line 257, in build_all
    self.build(None, summary=__('all source files'), method='all')
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\builders\__init__.py", line 307, in build
    updated_docnames = set(self.read())
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\builders\__init__.py", line 414, in read
    self._read_serial(docnames)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\builders\__init__.py", line 435, in _read_serial
    self.read_doc(docname)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\builders\__init__.py", line 475, in read_doc
    doctree = read_doc(self.app, self.env, self.env.doc2path(docname))
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\io.py", line 189, in read_doc
    pub.publish()
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\core.py", line 217, in publish
    self.document = self.reader.read(self.source, self.parser,
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\io.py", line 109, in read
    self.parse()
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\readers\__init__.py", line 78, in parse
    self.parser.parse(self.input, document)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinx\parsers.py", line 101, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\parsers\rst\states.py", line 170, in run
    results = StateMachineWS.run(self, input_lines, input_offset,
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\statemachine.py", line 239, in run
    context, next_state, result = self.check_line(
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\statemachine.py", line 451, in check_line
    return method(match, context, next_state)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\parsers\rst\states.py", line 2342, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\parsers\rst\states.py", line 2354, in explicit_construct
    return method(self, expmatch)
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\parsers\rst\states.py", line 2096, in directive
    return self.run_directive(
  File "c:\users\xxx\myapp\development\python\lib\site-packages\docutils\parsers\rst\states.py", line 2146, in run_directive
    result = directive_instance.run()
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinxcontrib\needs\directives\need.py", line 87, in run
    need_nodes = add_need(
  File "c:\users\xxx\myapp\development\python\lib\site-packages\sphinxcontrib\needs\api\need.py", line 225, in add_need
    raise NeedsDuplicatedId(
sphinxcontrib.needs.api.exceptions.NeedsDuplicatedId: A need with ID REQ_B_001 already exists! This is not allowed. Document 2_engineering_requirements/2_requirements/feature_B/req_B_001[1] Title: A requirement.

I understand that the include "copy/pastes" the content into index.rst file and then the req_B_001.rst file is parsed, causing the issue.
Changing the included file extension to txt avoid the duplication but is not acceptable in my case as I want to benefit of preview feature in Vscode plugin for rst extension.
Do you know another workaround I could use ?
Don't you think it sounds like a bug ?
Thanks

Many thanks, it does the trick.
Although this implies some writing rules to enforce on projects I guess it is acceptable for stakeholders.
Sorry for the duplicate and congratulations for the awesome response time.


Hassio stop udev[182]: starting eudev-3.2.9

Hi,
The Hassio installation stops on [45.794270] udev[182]: starting eudev-3.2.9
Any tip on this?
Thanks,

journalctl -fu hassio-supervisor
Any more info about you system and OS?

sorry, new at this.
trying to install on Raspberry Pi 3

sorry, new at this.
trying to install version 64 bits on Raspberry Pi 3


is this project alive?

or dead?
I saw a few pings on issues / PRs, so am just wondering...

My apologies.  It was created as part of a project long since complete (and thus no longer funded), and to make things worth I've since aged out of 18F and into a high-intensity post-18F job.  I do hope to squeeze in time to attend to it at some point.
Volunteer help is obviously welcome.  :)

@catherinedevlin do you want to keep this version as canonical or fork it?

Totally ok to leave here then @catherinedevlin!


Goerli: Energy cube that disappears from the scene

Explorer Alpha build version:
Issue Description:
Upon picking up the Power Cube located in the southwest corner of a scene, the cube disappears from the user's view. In the production environment, when the cube is picked up, it remains attached to the user and does not disappear.
Steps to reproduce:

/goto goerli
Walk or teleport to location 72,-10
Pick up the Power Cube

Expected behavior:
https://github.com/decentraland/unity-explorer/assets/146741383/d5f360f3-f6d8-4f2d-a920-e7529fd172e0
Current behavior:
https://github.com/decentraland/unity-explorer/assets/146741383/aba9a2b6-90f5-4299-9716-7c5574a308ea
Platforms / OS:

[❌ ] Windows 11
[ ] Windows 10
[ ] Mac Sonoma
[ ] Mac (specify the version on Additional Notes)

Additional Notes:
Windows 11. 12th Gen Intel(R) Core(TM) i7-12650H   2.30 GHz

When you pick up the cube, you should be carrying it. The cube appears attached to the avatar's position, a meter in front.  You can then put it down by pressing E again.
You can observe this working well in the old web explorer at
https://decentraland.org/play/?realm=sdk-team-cdn.decentraland.org%2Fipfs%2Fgoerli-plaza-main-latest&position=72%2C-10


Fetch and apply annotations to pages in specific_iterator

Fixes #5601
Amends specific_iterator to fetch annotations along with pk and content_type before applying annotation data to pages.
The amended iterator doesn't require any additional queries to fetch annotation data.

@danbentley thanks so much for taking the time to put this together and write the unit tests also, this has been marked for review by one of the core team.

@danbentley  - thanks so much! Reviewed and looks good. I also tested locally before & after.
Merged in via f43db1e69e67946b08207aeb39e2949f907bba2e

Thanks @lb-!


Adapt PPO algorithm from CleanRL to OpenSpiel. Adapt Gym Atari environment to OpenSpiel

@lanctot @ssokota: @gregdeon and I have adapted @vwxyzjn CleanRL's PPO implementation to work with OpenSpiel. In order to test the implementation, we have also wrapped Gym's Atari games into an OpenSpiel game.
Notes

We included a SyncVectorEnv class modelled after Gym's class but using OpenSpiel RL Environments. Using multiple environments is a big deal for performance.
This only works for single player games right now. We plan to get a multiplayer version running, but there are some challenges. Namely, when using a SyncVectorEnv, the "turn order" of players in each of the environments can quickly get out of sync, and that really is not trivial to resolve. The games @gregdeon and I are studying are simultaneous move games with no player elimination - this class of games can never go out of sync (the same agent will always be acting in every environment). This is all we were thinking to support, but perhaps we are overlooking a simpler way to support arbitrary turn orders (in combination with vector environments).
Atari will only work if gym and the ROMS and stable baselines are all installed.

Evaluation

Catch will converge to a score of 1.0 every episode fairly quickly (71_680 steps)
Performance of three seeds of Breakout on TensorBoard (heavily smoothed) after 10_000_000 iterations (~8 wall time hours on our setup)
 You can compare to this example, we don't match exactly but seem to be in the right ballpark.

Example commands:
python ppo_example.py --game-name catch  // runs catch
python ppo_example.py  // runs breakout

Awesome!
First thing: something went wrong with the CLA. Can you look into the message above and follow the steps, and let me know when you have and I will rerun it.

Would be nice to have a non-Atari test that solves a really basic single-player game. See the pytorch DQN test for how to construct one using the gambit EFG format.

Awesome!
First thing: something went wrong with the CLA. Can you look into the message above and follow the steps, and let me know when you have and I will rerun it.

It seems that one of the commits is marked as an AWS user that has not signed the CLA:

Unfortunately I can't import the PR until this is resolved.
I think probably the easiest thing is to do a fresh branch of master and copy over all the files (individually-- not with the .git subdirectories) and open a fresh new PR with those files. That way, it should only show up as a single commit from the main author.

Awesome, thanks. Can you add PPO to docs/algorithms.md and Atari to docs/games.md?

Thanks @vwxyzjn  for taking a look!
Apologies @newmanne for the delay, I was on vacation for a large part of July. I'm back now and will ask one of the team to take a quick look as well.

Hi also a quick comment: would it be possible to add more benchmark? I am quite interested to see the performance of the agent in the environments that OpenSpiel provides. E.g,. see our ppo_atari.py docs.

We certainly don't need to do it in this PR, but having more benchmark would be quite nice.
Ideally, it would be great if you can contribute the tracked experiments to the Open RL Benchmark, which makes everything about the experiments super transparent. It is leveraging wandb (a proprietary service), however, so no worries if this is difficult.

Hmmm, test failed in Colored Trails -- that's probably a bug on our end, I'll look into it today.

Hmmm, test failed in Colored Trails (due to observing a utility greater than the maximum) -- that's probably a bug on our end, I'll look into it today.

Confirmed bug on our side, fix is lines 186-187 in colored_trails.h here: https://github.com/deepmind/open_spiel/pull/900/files.

Thanks guys. I've started the tests, but they will probably fail. There was a change on GitHub's configuration that broke our tests today. I finally got it fix and updated master a few minutes ago. You'll probably need to pull changes from master in order for the tests to pass (which would be a good thing anyway since this PR's branch has some large changes and was started a while back).

Hi guys, can you update the conversations on github PR thread to either reply or mark the as resolved?

@lanctot @gregdeon I think everything should be resolved now


Remove the unzipping step and unzipped file for faster processing.

This unzipping step takes too much memory and time, which makes it impossible to work with the AF Swissprot dataset.

We'll switch to an entirely different data format soon, that should fix this issue as well


Problem installing package using pip

Ran pip install monero-python on an Ubuntu bash, received the following error. Help appreciated, thank you
Collecting monero-python
  Using cached https://files.pythonhosted.org/packages/ef/57/7fa1459cff9ddf603ffa43aeff88399290b7602bad34981224599d67c240/monero-python-0.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-j96wybcp/monero-python/setup.py", line 5, in <module>
        version = __import__('monero').__version__
      File "/tmp/pip-install-j96wybcp/monero-python/monero/__init__.py", line 1, in <module>
        from . import address, account, daemon, wallet, numbers, prio, wordlists, seed
      File "/tmp/pip-install-j96wybcp/monero-python/monero/address.py", line 4, in <module>
        from sha3 import keccak_256
    ModuleNotFoundError: No module named 'sha3'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-j96wybcp/monero-python/

Try installing pysha3 first:
pip install pysha3 && pip install monero-python

Actually, pip should install dependencies automatically. Doesn't it?

yes, the problem is that setup.py which is supposed to do that, first tries to figure out the version number which it does by importing monero package, which in turn right of the bat tries to import sha3, hence the error