LE Audio: CAP Initiator cannot handle any unexpected state changes

Describe the bug
The CAP initiator is very rigid in the way it works: It assumes that only the initiator is modifying the states, but if the unicast server e.g. modifies the metadata during the start procedure, i.e. it sends unexpected state changes (e.g. enabled -> enabled).
To Reproduce
Steps to reproduce the behavior:

Modify tests/bsim/bluetooth/audio/src/cap_acceptor_test.c:unicast_stream_enabled_cb to do bt_bap_stream_metadata
Build and run the CAP initiator unicast test
See error

Expected behavior
Expect that the CAP initiator can at least handle trivial changes such as the metadata update. Other, actual, state changes are harder to handle.
Impact
Annoyance, as the procedure can likely be retried.
Logs and console output
d_00: @00:00:06.169867  Enabled stream 0x8245440
d_00: @00:00:06.170336  [00:00:06.170,318] <dbg> bt_bap_unicast_client: unicast_client_ep_notify: conn 0x8249ea0 ep 0x82501c0 len 9
d_00: @00:00:06.170336  [00:00:06.170,318] <dbg> bt_bap_unicast_client: unicast_client_ep_set_status: ep 0x82501c0 handle 0x0015 id 0x01 dir sink state enabling -> enabling
d_00: @00:00:06.170336  [00:00:06.170,318] <dbg> bt_bap_unicast_client: unicast_client_ep_enabling_state: dir sink cig 0x00 cis 0x00
d_00: @00:00:06.170336  [00:00:06.170,318] <dbg> bt_bap_unicast_client: unicast_client_ep_set_metadata: ep 0x82501c0 len 4 codec_cfg (nil)
d_00: @00:00:06.170336  Metadata updated stream 0x8245440
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_cp_write: conn 0x8249ea0 attr 0x821fea8 buf 0x8268ea4 len 8 op Enable (0x03)
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_enable: num_ases 1
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ase_enable: ase 0x824f968 meta->len 4
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_parse_metadata: type 0x02 len 2
d_01: @00:00:06.199218  Enable: stream 0x8243b6c meta_len 4
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_cp_rsp_add: id 0x03 code Success (0x00) reason None (0x00)
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_ep_get_status: ep 0x824f96c id 0x03 state enabling
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_ep_get_status_enable: dir source cig 0x00 cis 0x00
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: state_transition_work_handler: ase 0x824f968 ep 0x824f96c id 0x03 qos-configured -> enabling
d_01: @00:00:06.199218  Enabled: stream 0x8243b6c (auto_start_sink_streams 1)
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_bap_stream: bt_bap_stream_metadata: stream 0x8243b6c meta_len 142
d_01: @00:00:06.199218  Metadata: stream 0x8243b6c meta_len 142
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_ep_get_status: ep 0x824f96c id 0x03 state enabling
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: ascs_ep_get_status_enable: dir source cig 0x00 cis 0x00
d_01: @00:00:06.199218  [00:00:06.199,188] <dbg> bt_ascs: state_transition_work_handler: ase 0x824f968 ep 0x824f96c id 0x03 enabling -> enabling
d_00: @00:00:06.229400  [00:00:06.229,370] <dbg> bt_bap_unicast_client: unicast_client_cp_notify: conn 0x8249ea0 len 5
d_00: @00:00:06.229400  [00:00:06.229,370] <dbg> bt_bap_unicast_client: unicast_client_cp_notify: op Enable (0x03) id 0x03 code Success (0x00) reason None (0x00)
d_00: @00:00:06.229868  [00:00:06.229,858] <dbg> bt_bap_unicast_client: unicast_client_ep_notify: conn 0x8249ea0 ep 0x8250570 len 9
d_00: @00:00:06.229868  [00:00:06.229,858] <dbg> bt_bap_unicast_client: unicast_client_ep_set_status: ep 0x8250570 handle 0x001b id 0x03 dir source state qos-configured -> enabling
d_00: @00:00:06.229868  [00:00:06.229,858] <dbg> bt_bap_unicast_client: unicast_client_ep_enabling_state: dir source cig 0x00 cis 0x00
d_00: @00:00:06.229868  [00:00:06.229,858] <dbg> bt_bap_unicast_client: unicast_client_ep_set_metadata: ep 0x8250570 len 4 codec_cfg (nil)
d_00: @00:00:06.229868  [00:00:06.229,858] <dbg> bt_cap_initiator: bt_cap_initiator_enabled: Stream 0x82454a0 enabled (2/2 streams done)
d_00: @00:00:06.229868  The TESTCASE FAILED (test return code 2)
d_00: @00:00:06.229868 ERROR: (WEST_TOPDIR/zephyr/tests/bsim/bluetooth/audio/src/cap_initiator_unicast_test.c:217): Failed to start (failing conn 0x8249ea0): -74

Environment (please complete the following information):

Commit SHA or Version used: ec0e2d6308680203bb58275062b79105016ea1b1

Additional context
N/A

Will be closed together with https://github.com/zephyrproject-rtos/zephyr/issues/72138


I need this:
Logging (for debugging)
Custom methods injected into windows (requires SIP disabled)
For this program to actually work without requiring MacForge (Standalone binary)
Run with macOS menubar app dropdown
Inject/uninject
auto-reinjector
how tf to inject?
Parse logs properly actually ffs.
Set options defaults
allow installation as a .app folder like normal
allow cli implementation for running command invokations of arguments
etc etc etc...

step 1 I guess is injecting a custom method into windows without macforge and SIMBL loaders.


New Landing Page

[x] Create datastore to receive counter properties
[x] Design home page to read how many users signed up, how many narrative statements have been created, and how much time it has saved people.

Finished


Remove temporary pixel for Subscription Progress Indicator

Task/Issue URL:  https://app.asana.com/0/414235014887631/1207008719518535/f
Tech Design URL:
CC:
Description:
Removes temporary pixel

Steps to test this PR:

CI should be 🥬

Internal references:
Software Engineering Expectations
Technical Design Template

Steps to test this PR:
1. CI should be 🥬

XD

😡
It's now 🥬 @Bunn

LGTM, just make sure to deal with the conflict :)

Wish I didn't have to 👹


New functionality to install BLT's setup targets logic for installed project configs

This commit enables downstream projects that depend on an upstream project built with BLT to resolve build flags related to third-part libraries using generator expressions.  For example, suppose there exists a base project and a derived project.  If the base project uses OpenMP and uses BLT to configure OpenMP, and the derived project requires Fortran, the derived project will receive its Fortran flags from the base project, even though the derived project may be using a different CXX compiler.

I created a new file BLTInstallableMacros that is included by BLTPrivateMacros and transitively included by BLTMacros.  This new file is a smaller set of macros that only includes the macros necessary for creating targets for third-party libraries in downstream projects.  Please let me know what you think about this.

This should be added to the user documentation, along with an example of how to correctly write the downstream project config file.

This should be added to the user documentation, along with an example of how to correctly write the downstream project config file.

This is going to require a lot of documentation and examples of how to thread the needle of best practices.  I think I understand everything that needs to happen at this point but CMake constantly surprises me.
Should we document this new macro just in this PR then do a follow up PR with best practices?
I have spoken to @cyrush about this topic and we both felt it is going to require a lot of work on getting the documentation right and multiple PRs across the related projects to make sure it is done correctly.  I want to make sure the guidance we have evolves with doing the work.

I'm willing to be a guinea pig for assessing the documentation; e.g. proofread, provide feedback, try things out, etc. Please let me know.

Built documentation here:
https://llnl-blt.readthedocs.io/en/bugfix-bowen-change-cmake-usage/api/target.html#blt-export-tpl-targets

Thanks for the contribution @johnbowen42
Are the tests/examples in LLNL/blt_test#1 required to pass against this PR? If so, are they currently being exercised?
@kennyweiss Our intent was to merge this PR in BLT, then quickly merge the blt_test PR introducing the tests, and add them to CI for BLT proper

Thanks for the contribution @johnbowen42
Are the tests/examples in LLNL/blt_test#1 required to pass against this PR? If so, are they currently being exercised?

@kennyweiss Our intent was to merge this PR in BLT, then quickly merge the blt_test PR introducing the tests, and add them to CI for BLT proper

Thanks @johnbowen42 -- in that case, I think the PR should be ready after you update the RELEASE_NOTES to reflect the changes from this branch.


Thank you!


Add Code of Conduct and Contributing guide

In this PR we introduce a Code of Conduct as well as Contributing guidelines as per the community template

@J0 No problem.
I've updated the PR title a bit, as it isn't necessarily restricted to Hacktoberfest, right?


Added official Git cheat sheet

How do I fix the formatting error? I don't see a difference from one line to the other in concerns to syntax. I know there is probably a better way to as that then in the pull request but I could not find it.

@HeavyVin, remove ! in all items

Even the ones that where there previously?

@HeavyVin, yeah. In markdown format, links shouldn't need !.
I'm not sure why I didn't find this earlier.
Thank you for identifying this


Add Font-Awesome-Swift

Font Awesome swift library for iOS.
Project URL
https://github.com/Vaberer/Font-Awesome-Swift
Category
Font
Description
Font Awesome swift library for iOS. No image icons any more. Using Font Awesome Swift library is very easy to use. Look at the demo app which shows all icons and their names or just visit FontAwesome.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 2 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

5
Dupe
https://gitter.im/vsouza/awesome-ios

2699
503
https://boombox.io/

  Generated by :no_entry_sign: Danger


[BUG] mov-cli can't run after 0.6.3 update

Describe the bug
app can't run after the latest update.
https://github.com/mov-cli/mov-cli/blob/2505b20ef103738f5111247302575d797db92913/mov_cli/utils/jsunpack.py#L29
possibly due to the incomplete library in the app related to this file.
Expected behavior
Nil
Screenshots
Nil
Error
mov-cli
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Scripts\mov-cli.exe\__main__.py", line 4, in <module>
  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\mov_cli\__init__.py", line 1, in <module>
    from . import __main__
  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\mov_cli\__main__.py", line 22, in <module>
    from .websites.kinox import kinox
  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\mov_cli\websites\kinox.py", line 6, in <module>
    from ..utils import jsunpack
  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\mov_cli\utils\jsunpack.py", line 29, in <module>

    from six import PY2
ModuleNotFoundError: No module named 'six'

Desktop (please complete the following information):

OS: Windows
Version: 10

Additional context
Nil
Possible cause
Nil
Possible solution
Nil
Version
0.6.3

try pip install six
We've forgotten to add it into the requirements.txt


Fix race condition in GoListenAndServe() for passive sockets

Before this change sometimes GoListenAndServe() could return before
the go routine it contains had been scheduled.  This meant the
socket.lock would not be held and hence waitForOpenSocket() would
return with a nil error even when the connection wasn't valid yet.
Moving the taking of the lock into GoListenAndServe rather than the
goroutine fixes the problem

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   10.81%   10.81%
=======================================
  Files           8        8
  Lines         915      915
=======================================
  Hits           99       99
  Misses        813      813
  Partials        3        3

Impacted Files
Coverage Δ

socket.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks


Missing decode on client basic authentication

SECURITY NOTICE: If you have found a security problem in the UAA, please do not file a public github issue. Instead, please send an email to<EMAIL_ADDRESS>Thanks for taking the time to file an issue. You'll minimize back and forth and help us help you more effectively by answering all of the following questions as specifically and completely as you can.
What version of UAA are you running?
4.10.0
How are you deploying the UAA?

locally only using gradlew
using cf-release
using cf-deployment

What did you do?

create an oauth client with special chars or secret with special chars
e.g.  use | and in console you need to escape it with \

uaac client add app\|client --autoapprove true --redirect_uri http://localhost:8080/uaa/app --authorized_grant_types password -s secret --authorities uaa.resource --scope openid,uaa.user

UAAC does not implement encode,
uaac token owner get app|client  marissa -s secret -p koala -t

works, however if you use curl with correct header
curl -i -HPOST -H"content-type: application/x-www-form-urlencoded;charset=utf-8"  -H"authorization: Basic YXBwJTdDY2xpZW50OnNlY3JldA==" -H"Accept: application/json" http://localhost:8080/uaa/oauth/token -d "grant_type=password&username=marissa&password=koala"
does not work
What did you expect to see? What goal are you trying to achieve with the UAA?
successfull token request on
curl -i -HPOST -H"content-type: application/x-www-form-urlencoded;charset=utf-8"  -H"authorization: Basic YXBwJTdDY2xpZW50OnNlY3JldA==" -H"Accept: application/json" http://localhost:8080/uaa/oauth/token -d "grant_type=password&username=marissa&password=koala"
What did you see instead?
{"error":"unauthorized","error_description":"Bad credentials"}

See:
https://tools.ietf.org/html/rfc6749#section-2.3
The authorization header needs to be
Authorization: Basic base64Encode(urlencode(client_id):urlencode(client_secret))
The go client library implements this rfc but requests fail if client_id/secret contains special chars.
https://github.com/golang/oauth2/blob/master/internal/token.go#L191
Incorrect validation is in
a) UAA code.
https://github.com/cloudfoundry/uaa/blob/master/server/src/main/java/org/cloudfoundry/identity/uaa/authentication/ClientBasicAuthenticationFilter.java#L105
b) spring-security-web, class
BasicAuthenticationFilter , which contains similar pattern and missing urldecode

Yes, I've also noted this in past with regards to the cf CLI client not correctly following the RFC in this regard, however in that PR they chose to disregard the patch we provided and instead continue the non-compliant behaviour.

ok, I recommend, that you reopen it. the fix should begin with uaa, but then the clients in 2nd steps, e.g. cli and uaac (see https://github.com/cloudfoundry/cf-uaac/issues/50)
@sreetummidi  UAA wants to get certified for OIDC and this behaviour should be done before a certification

Thanks for creating this issue, reading rfc6749 I think you are correct. However the uaa heavily relies on spring filters to provide Basic Auth functionality. Specifically as part of our filter chain we delegate to BasicAuthenticationFilter.
This filter in turn adheres to rfc 1945 and correctly does not url-decode the base64 token (https://github.com/spring-projects/spring-security/blob/master/web/src/main/java/org/springframework/security/web/authentication/www/BasicAuthenticationFilter.java#L224)
FYI rfc1945 is dated May 1996 while rfc6749 is dated Oct 2012.
I think this issue is valid however I think it belongs in https://github.com/spring-projects/spring-security/issues . If this change is made upstream I think we should be able to upgrade uaa to also conform to rfc6749.

@DennisDenuto - I'm confused by your comment.
RFC6749 does not supersede or replace RFC1945 - they both describe different layers of a stack.
e.g. RFC1945 describes how to encode a user ID and password and put into an authorization header.
RFC6749 describes pre-processing that should only apply in the context of OAuth 2.0 that should take place before applying RFC1945.
So it would be quite incorrect to change the behaviour of a common library that implements RFC1945.
Rather an application (ie UAA) that implements OAuth 2.0 needs to pass the right inputs to it (or if the API surface doesn't permit, then reimplement correctly).
This needs to be either fixed in UAA, or clearly documented as a known variation from the OAuth 2.0 specification, the security impact assessed and if appropriate operators warned accordingly.

I just stumbled across this issue while evaluating usage of UAA for login to Kubernetes, e.g. via https://github.com/int128/kubelogin. kubelogin, as well as probably other OIDC tools for Kubernetes implemented in go, use the https://github.com/coreos/go-oidc library, which internally the golang oauth library that idoru mentioned above.
=> In our case, we have generated client secrets (and IDs) with special characters (like "=" as padding in base64 encoded client secrets), so this issue in UAA (or its usage of Spring libs) is actually a blocker. I assume basically it's a general blocker for usage of UAA for OIDC login to Kubernetes, as soon as it's not possible/feasible to restrict client IDs and secret to non-special characters.
/cc @strehle FYI, just learned that you already reported this quite some time ago

@heikoettelbruecksap yes and this is a long story.
CF tools by default use authorization header - also cli uses this and the different encoding of authorization header breaks authentication, but cli does not use the standard oauth2 implementation.
... standard means use of "golang.org/x/oauth2"
kube tools rely on standard oauth2 implementation library and here by default the authorization header is encoded in different way, or better decribed in the correct way ;)
However, the workaround would be that authentication is done via POST body.golang.org/x/oauth2 library in go has an option for this, see call oauth2.RegisterBrokenAuthHeaderProvider, e.g. another PR
https://github.com/cloudfoundry-incubator/uaa-cli/blob/c2690b0bc4ba5d154e8175dc87b9fdb3be9d408d/cmd/get_client_credentials_token.go#L34
usese this.
So may its faster to provide an option in https://github.com/coreos/go-oidc/blob/v2/oidc.go#L84-L89 for switching to body parameters instead of authorization header.

It's interesting - until encountering UAA I wasn't even aware that the OAuth spec contemplated passing the client ID/secret via an Authorization header. All previous usages I'd seen had alway been by doing so in the body, which has the advantage of well-defined and consistent escaping semantics.
I'll note also a few weeks ago that Google managed to break their OAuth token issuance, but only for those doing so via the Authorization header (see: https://twitter.com/AdamEijdenberg/status/1045197676759769088) suggesting this is not a terribly common pattern for their consumers also.
So yes, I'd suggest simply passing via the body - that seems to be a more standard approach to OAuth outside of the CF / UAA space.

and yes, UAA should still fix this.

Closing due to inactivity.


Do dynamic layout of generic/resilient default actors properly

Since these types have an implicit stored property, this requires adding an abstraction over fields to IRGen, at least throughout the class code.  In some ways I think this significantly improves the code, especially in how we approach missing members.
Fixes rdar://72202671.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 06aadfb76c3d51a1a589ba10e139b30290e5ca50

Build failed
Swift Test OS X Platform
Git Sha - 06aadfb76c3d51a1a589ba10e139b30290e5ca50

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - d9fd970397c12d53d1323fac2d6205f7b73b5bd6

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows platform

Build failed
Swift Test Linux Platform
Git Sha - eb2caec19fb0cd5fbcfd62c6824be42c950461e3

Build failed
Swift Test OS X Platform
Git Sha - eb2caec19fb0cd5fbcfd62c6824be42c950461e3

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - bad16fd105ac2094f6580b67576cfac06a8fb86e

LLDB failure that doesn't look related to my PR.

@swift-ci Please smoke test OS X


__DTXDeallocSafeProxy.object is not cleared in time and there are dangling pointers

Causing crashes in app state pretty print

Seems like the crash is unrelated to __DTXDeallocSafeProxy.object. Something else is causing the crash. Not sure yet what.

Can't reproduce. @rotemmiz You don't happen to have the crash stack trace we saw, right?

not anymore. I didn't happen since. Should we close it until next time?

No. Let's keep it for visibility. There is another one that Arnon reported, but it's a different issue.

sure


Sending the marker within the showlocation event

I think it would be great if the user could locate a place with the geosearch plugin and then modify it with the snap plugin for example (At least it would be great for my needs)
To achieve that, i've just added the marker object to the data sent within the showlocation event.
I know it's not perfect and that it sends undefined if the show marker option is set to false, but I think it's better than sending nothing in that case, because if the rest of the app isn't well coded, the whole script could crash because it tries to access to an value which doesn't exists

Thank you.


Improve app statistics

Task/Issue URL: https://app.asana.com/0/414235014887631/1109730748569886
Tech Design URL: https://app.asana.com/0/481882893211075/1109730748569882
Description:
Update the app to maintain two versions of the latest atb (this is the set_atb parameter sent in atb.js) to provide better statistics. One for search and one for app usage.
Steps to test this PR
Test 1: Migration:

Install and run a develop version of the app with an old atb and yesterday's retentionAtb (these values can be hardcoded in StatisticsUserDefaults)
Open Charles to watch requests
Now install this branch (revert any hardcoding code from step 1) over the top
Note that when the app starts an atb.js request is made with an additional parameter of at (this may change) and the original atb for both atb and set_atb
https://duckduckgo.com/atb.js?test=1&at=au&atb=v157-0mn&set_atb=v157-0
Background the app and open again note that the atb request is fired again only this time set_atb contains the atb from the previous response e.g if the latest atb is v157-6
https://duckduckgo.com/atb.js?test=1&at=au&atb=v157-0mn&set_atb=v157-6
Perform a search, this will not contain the at parameter and will use the previously known searchRetentionAtb, which will be yesterday's value e.g v157-5
https://duckduckgo.com/atb.js?test=1&atb=v157-0mn&set_atb=v157-5
Perform another search and note that the search atb is up-to-date now too
https://duckduckgo.com/atb.js?test=1&atb=v157-0mn&set_atb=v157-6
Note that no exti or initial atb request (the ones with no atb or set_atb  params) are sent after step 1
https://duckduckgo.com/exti/?test=1&atb=v157-6mn
https://duckduckgo.com/atb.js?test=1

Test 2: New installation:

Install a fresh version of the app and watch requests in Charles
Note that the initial atb request (with no atb or set_atb  params) appears only once
https://duckduckgo.com/atb.js?test=1
Note that the exti request only appears once
https://duckduckgo.com/exti/?test=1&atb=v157-6mn

Internal references:
Software Engineering Expectations
Technical Design Template

I'm leaving this PR as a draft until backend work is done as things may change. Note also that atb tests are often failing on CI. This may have been an issue before this PR, either way, l will investigate.

I'm leaving this PR as a draft until backend work is done as things may change. Note also that atb tests are often failing on CI. This may have been an issue before this PR, either way, l will investigate.

The last 4 builds of atb tests on CI  have been stable (as have been all local runs), I'll continue to monitor them.

@brindy the backend is done and this is now ready for review

Thanks for the review @brindy 😄


Segment Path does not work with Windows Registry

Prerequisites

[x] I have read and understand the CONTRIBUTING guide
[x] I looked for duplicate issues before submitting this one

Description
When navigating to the registry, the path segment does not show the registry path.
Oh-my-posh3:

Default behavior:

Environment

Oh my Posh version: 3.8.0
Operating System: Windows 10 2004
Shell: Powershell 7
Terminal: Windows Terminal

Steps to Reproduce

Open Powershell
Go to the registry, by typing cd HKLM:

Expected behavior: Expected path segment to show: HKLM:\
Actual behavior: Previous path is displayed

Clear, I'll have to debug that on Windows. In theory this should work, but clearly something is off.

Well. That was annoying but I have a fix.
package main

import (
	"fmt"
	"os"
	"syscall"
)

func main() {
	dir, _ := os.Getwd()
	fmt.Printf("Getwd: %s\n", dir)
	fmt.Printf("$PWD: %s\n", os.Getenv("PWD"))
	dir, _ = syscall.Getwd()
	fmt.Printf("syscall.Getwd: %s\n", dir)
}

Basically I can set the env var from PowerShell as there's no way Go can know you're in that location.

I'm going to test this manually one more time with a fresh pair of eyes tomorrow morning.


Created gitignore file added filter for .pyc files

Created gitignore to handle  pycache appearing as untracked files

Thanks, I appreciate it. I will merge this ASAP

This was solved by a previous PR from @codeswhite


adjust 0827

调整target子目标为null，初始化了一个空的target的的bug

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


Fix typo in vqvae_example.ipynb

Changed cast_and_normalise_images to cast_and_normalize_images, and "normalise" to "normalize".
This seems to be the adopted spelling in all other files (e.g. https://github.com/deepmind/sonnet/search?q=normalize&unscoped_q=normalize).

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

I signed it!

Hey @laurelkeys sorry we didn't get back to you on this. We have flipped the default branch on github from v1 to v2 and v1 is largely frozen at this stage. I'm going to close this out along with other patches going to Sonnet 1.X.


[#1824] Adjust Executor configuration for the Pooled Streaming Processor

This pull request adjusts the Executor configuration on the PooledStreamingEventProcessor.
Firstly, it configured the ScheduledExecutorService inside the EventProcessingModule.
With this adjustment, we can invoke the shutdown() operation on the executor through the configuration's shutdown lifecycle process.
Secondly, it removes the shutdown process of the default executors constructed in the Pooled Streaming Processor.
Keeping this might wrongfully shut down an executor whenever a user needs to start and stop the processor to, for example, start a reset.
Lastly, the default ScheduledExecutorService set in the PooledStreamingEventProcessor.Builder is removed entirely.
Although this is a breaking change, the chances are slim users hit this problem since Event Processor configuration is done through the EventProcessingModule 95% of the time.
As such, I deem it a fair adjustment to improve the configuration of the executors.
This pull request resolves #1824

The coverage complaints come from the builder methods, which are tested. Hence I'll ignore SonarCloud here.


LR359 designations

Old news: LR35902 is the part number of the Game Boy system on chip.
New news: LR359 prefix appears in the SoC part numbers of the whole line of handhelds, Game Boy through Nintendo 3DS. Relevant part numbers:

LR35911 = CPU MGB
LR35926 = after MGB, probably CGB? "8-bit CISC CPU"
LR35950 = CPU AGB
LR35955 = CPU AGB B (Game Boy Advance SP)

Format this for Pan Docs, citing a toot by Rairii and the sources it in turn cites.

The site's certificate has expired; can it be recovered?

The site's certificate has expired; can it be recovered?

Maybe let's switch to a copy from WayBack machine?

Wayback Machine has not archived that URL.

It seems like the user can be now reached at https://social.nano.lgbt/@Rairii

Rairii migrated to another fediverse provider on 2024-06-05. Follower relationships survive a migration, and posts do not appear to. The new user account contains no public posts older than the post announcing the migration. Should I ask Rairii to repost the LR359 info? If so, how should I phrase it?

Sono found a Korean language PDF on Korean Intellectual Property Office website for CPU MGB and later: https://kipo.go.kr/ko/semi/kpoSemiPgmMgmt.do?menuCd=SCD0201133&parntMenuCd2=SCD0200285

Rairii graciously provided this link from mastodon.social's cache: http://mastodon.social/api/v1/statuses/110413202542033213
And another from further down the thread: http://social.treehouse.systems/@sirocyl/111312234955600505
These can be archived now, if they're suitable.


Mobile menu

mobile menu
the mobile menu, implements the following features:
When the user clicks (or taps) the hamburger button, the mobile menu appears.
When the user clicks (or taps) the close (X) button, the mobile menu disappears.
When the user clicks (or taps) any of the mobile menu options, the mobile menu disappears.
When the user clicks (or taps) any of the mobile menu options, a correct part of the page is displayed.

Hi team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
🔴 You have submitted a project, that has no Eslint linter setup. Since we start to use JavaScript for this project, now we need to set up HTML&CSS&JavaScript linters. Kindly check the project requirements.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Fix time precision issue for long VIC runs

Before this fix, the timestamps of long VIC runs were incorrect in some cases. This PR is in response to issue #663.
Reason: The reason  of this issue is that during the step where timestamps are made (in make_dmy), the length of a timestep is first converted into the specified time unit, denoted as dt_time_units; then a series of timestamps for the whole running period is determined by incrementally increase the timestamp by dt_time_units. When dt_time_units is not precise, the incremented timestamp will accumulate the small error of dt_time_units, potentially resulting in incorrect timestamp after a long simulation time.
Example: for example, say the time unit is day, and the model timestep is hourly. In this case, dt_time_units = 1/24, which is stored as a finite number in the computer with a very small cut-off error. The accumulated error due to this results in an incorrect timestamp shift after ~14 years, and eventually terminates model outputs afeter ~31 years.
Solution: when generating the timestamp for each timestep, calculate the accumulating time length from the simulating start time precisely, then store the time. In this way, there is only one cut-off error ofr all timestamps without error accumulation.

@tbohn , could you take a look at this PR? If you are able to use the new code to test on your data that originally caused error, that'd be great. Thanks!

@jhamman : Could you take a quick look at this on travis? The build is failing because of an HDF library issue (is this the same problem someone else mentioned in the past week - it vaguely rings a bell).

The failing tests are all due to an issue with Anaconda, not VIC. I'll look into why this is happening. @yixinmao - did the test suite pass locally?

@yixinmao sure, I'm testing it out now.

@yixinmao - can we get a what's new note?

@jhamman I'm running the tests locally now (I haven't run the test locally for a while so ran into some issues that are probably not due to this PR...). Do you mean a release note?

yes, a release note.

@yixinmao The code works correctly for me now.  Thanks!

Can be merged after travis build passes (issue 669)


Screensharing not working with vesktop in hyprland (NixOS)

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland 0.44.0 built from branch  at commit 7564b26b7d386d248eaa47c1a481c09eefd8e3ca  ().
Date: 2024-10-11
Tag: , commits: 5328
built against aquamarine 0.4.2

flags set:
debug

System Information:
System name: Linux
Node name: nixos
Release: 6.6.54
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Oct  4 14:30:05 UTC 2024

GPU information:
09:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15d8] (rev c9) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20241010.b69de56"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"

plugins:

======Config-Start======

Config File: /home/eveeifyeve/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/4a86f7kq7757fjwf5zzwk0jxixn4330n-dbus-1.14.10/bin/dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mod=SUPER
decoration {
  blur {
    enabled=true
    passes=1
    size=3
    vibrancy=0.169600
  }
  active_opacity=1.000000
  drop_shadow=true
  inactive_opacity=1.000000
  rounding=10
  shadow_range=4
  shadow_render_power=3
}
bind=$mod SHIFT, L, exec, rofi -show run
bind=$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind=$mod, T, exec, kitty
bind=$mod, C, killactive
bind=$mod, code:10, workspace, 1
bind=$mod SHIFT, code:10, movetoworkspace, 1
bind=$mod, code:11, workspace, 2
bind=$mod SHIFT, code:11, movetoworkspace, 2
bind=$mod, code:12, workspace, 3
bind=$mod SHIFT, code:12, movetoworkspace, 3
bind=$mod, code:13, workspace, 4
bind=$mod SHIFT, code:13, movetoworkspace, 4
bind=$mod, code:14, workspace, 5
bind=$mod SHIFT, code:14, movetoworkspace, 5
bind=$mod, code:15, workspace, 6
bind=$mod SHIFT, code:15, movetoworkspace, 6
bind=$mod, code:16, workspace, 7
bind=$mod SHIFT, code:16, movetoworkspace, 7
bind=$mod, code:17, workspace, 8
bind=$mod SHIFT, code:17, movetoworkspace, 8
bind=$mod, code:18, workspace, 9
bind=$mod SHIFT, code:18, movetoworkspace, 9
bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioPause, exec, playerctl play-pause
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous
exec-once=wl-paste --type text --watch cliphist store
exec-once=wl-paste --type image --watch cliphist store

======Config-End========

Description
Having issues with screen shareing with vesktop using nixos, did trouble shoot steps in wiki everything is still working like I did a test with gum_test and it works in firefox but not vesktop.
How to reproduce

Using this Config: https://github.com/Eveeifyeve/Dotfiles/tree/feat/improve-conf
Open vesktop with --enable-features=UseOzonePlatform --ozone-platform=wayland
Screenshare your screen
Check logs in your terminal

Crash reports, logs, images, videos
34.527205:ERROR:egl_dmabuf.cc(608)] Failed to record frame: Error creating EGLImage - EGL_BAD_MATCH
[14166:1013/07563

wrong repo, asked 100 times, dupe, https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270


Record/recordset doesn't handle url-encoded names in fragment ID

Similar to #347
For example:
https://synapse-dev.isrd.isi.edu/chaise/record/#1/Zebrafish:Brain%20Anatomy/ID=lCere

Is this the same issue as in #364 ?

Yes I think I filed several specific bugs before I decided to write #364 to roll up all the test scenarios...

It's actually a bunch of closely related bugs on both sides of the apps:  bad decoding of the fragment ID when loading the page with a pre-filled link, and bad encoding of page links in other apps.  Then this encoding and decoding fails in different ways on schema names, table names, column names, and column values...


Adding sles support for agentless-crawler

Thanks @Basavaraju013 !
Could you please add some test cases to go with this change? This should help you: https://github.com/cloudviz/agentless-system-crawler/blob/master/tests/unit/test_osinfo.py
Also, please fix some code style issues which causes Travis to fail:
1.50s$ flake8 --count --max-complexity=10 --statistics crawler
crawler/utils/osinfo.py:15:1: E302 expected 2 blank lines, found 1
crawler/utils/osinfo.py:50:1: E302 expected 2 blank lines, found 1
crawler/utils/osinfo.py:59:25: E222 multiple spaces after operator
crawler/utils/osinfo.py:66:1: E302 expected 2 blank lines, found 1
crawler/utils/osinfo.py:75:1: E302 expected 2 blank lines, found 1
crawler/utils/package_utils.py:244:71: E231 missing whitespace after ','
1       E222 multiple spaces after operator
1       E231 missing whitespace after ','
4       E302 expected 2 blank lines, found 1
6
The command "flake8 --count --max-complexity=10 --statistics crawler" exited with 1.

@sahilsuneja1 Could you also review and merge it if it looks good? Since I do not have write access to the repo, I cannot merge it actually..


Support new Repository security advisories REST API

GitHub Blog post: https://github.blog/changelog/2023-08-10-get-repository-security-advisories-for-your-organization-via-rest-api/
Rest API docs: https://docs.github.com/en/rest/security-advisories/repository-advisories?apiVersion=2022-11-28#list-repository-security-advisories-for-an-organization
This would be a great PR for any new contributor to this repo or a new Go developer.
All contributions are greatly appreciated!
Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work.
Please check out our CONTRIBUTING.md guide to get started. (In particular, please remember to go generate ./... and don't use force-push to your PRs.)
Thank you!

@gmlewis I like to contribute. As per my understanding

we need to add the function for GET : /repos/{owner}/{repo}/security-advisories
Can you please elaborate where we are going to add that functionality and how we are authenticating to get the token ?

Before I answer those questions, please read CONTRIBUTING.md and take some time to read through this code base and play around with it.
All your questions will hopefully be answered.
If you still have questions in a few days, let me know, but honestly if I walk you through the creation of this PR, then it would be more efficient for me to simply write the PR.
Consider this to be a fun learning experience and a challenge and you will learn a lot more by trying to figure out the answers than if I led you through the whole process.
Thanks.

@gmlewis I would like to pick this up. Could you please assign it to me?

Thank you, @anishrajan25 !
It's yours.

I was going through the API documentation here, when I identified that there is inconsistency between the API response and the response schema shared by github.
The documentation says that the response body will have the Submission field as:
"submission": [
      {
        "accepted": true
      }
    ],

While as per the response schema in the documentation it says Submission field would be as:
"submission": {
    "accepted": true
}

Have raised the same with github team a while back. Ref to GH Issue

@gmlewis By any chance are you aware of the actual schema for submission field?
For now I will take the submission as per the response schema and start with the dev for the following 2 APIs:

Lists repository security advisories for an organization - /orgs/{org}/security-advisories
Lists security advisories in a repository - /repos/{owner}/{repo}/security-advisories

@gmlewis By any chance are you aware of the actual schema for submission field?

No, I'm afraid not, sorry.
Can you try out the API on a repo to see what actually comes back to you?


Install/upgrade chocolatey

When considering how to provide the updates, consider that PowerShell still has #18 - so read through #60 to get an idea of how that should be handled.
This is likely a duplicate of another ticket.

#65 is also for consideration.


Cookie value set from function is urlencoded

The cookie value is urlencoded
When my function tries to return a cookie, its value gets urlencoded, more precisely, it gets urlencoded one more time than StaticWebAppsAuthCookie (which also contains special characters).
To Reproduce
Steps to reproduce the behavior:

Define an API function
Have it return

{
  "status":302,
  "headers":{"location":"https://whatever.com/api/other_endpoint"},
  "cookies":[
    {
      "name":"Yadda",
      "value":"plus+slash/equals=semicolon;percent%done",
      "secure":true,
      "httpOnly":true,
      "maxAge":28800,
      "sameSite":"None"
    }
  ]
}

Invoke the function with Dev Tools open at the Network tab
In the Response headers observe

set-cookie: Yadda=plus%2Bslash%2Fequals%3Dsemicolon%3Bpercent%25done; max-age=28800; domain=whatever.com; path=/; secure; samesite=none; httponly

Observe the the Request headers of the /api/other_endpoint request

Cookie: AppServiceAuthSession=Ci4...VT/kU/9R...cze+Qm...; StaticWebAppsAuthCookie=Yih/3...jS5++Z14...; Yadda=plus%2Bslash%2Fequals%3Dsemicolon%3Bpercent%25done

As you can see, the value of the custom cookie is set and used as a urlencoded string, while the auth cookies (which also contain special characters) aren't. For completeness' sake:

Observe the Response headers of /.auth/complete of a normal auth workflow:

set-cookie: StaticWebAppsAuthCookie=Yih/3/EIo...jS5++Z14Y...uk=; path=/; secure; HttpOnly; domain=whatever.com; expires=Mon, 17 Apr 2023 16:57:28 GMT; SameSite=Strict

As you can see, the setting and using of this cookie value is shown as plain text, so even if it's sent with some encoding (surrounding quotes, urlencoded), it's handled transparently by Firefox, so if the custom cookie value is displayed as urlencoded, then it means it's transmitted urlencoded one more time than the auth cookie.
Expected behavior
Custom cookies transmitted with the same encoding/wrapping as the auth cookies (as they appear normally for the browser).
Device info (if applicable):

OS: Win11
Browser: Firefox
Version: 108

Any workaround for this issue?


Enable DisplayTargetGoalAmount feature (#2747)

Hi!
Thanks a lot for the quick fix to the issue with the current version of YNAB (as referenced in #2747)!
I really rely on a couple of features that have been disabled and I took the liberty to make them work without the addToolkitEmberHook method. I did not modify anything other than the call to add the hook to ensure that nothing else changes.
This one reenables the Display Target Goal feature.
Let me know if there is anything you think I should modify and you think it is worth it to re-enable them since I imagine that, eventually, a different way of handling this might be developed.
Thanks!

Hey @AAraKKe -- I actually just reverted the PR that disabled a bunch of features and fixed the way we used to do stuff so this is enabled now!


chore: prepare for 3.5.0-beta release

Summary

prepare for 3.5.0-beta release

Coverage increased (+0.01%) to 99.574% when pulling 41b10d4c529abc10fbeb93076240be62fed7894e on prepare-3.5.0-beta into 75aae1251c68a99d5d197432a0c17804ec63656c on master.


Voxel RCNN yaml file

Hi! Thank you for your work!
Can you release code for the two-stage method, for example, Voxel RCNN?
Thank you again!

Hi, It is quite easy no plan to release these duplicate codes. U can refer to OPenPCDet with small modification. But in my experiments, I see that there is no further performance improvement for these two-stage methods on KITTI, such as PV-RCNN, Voxel-RCNN, CT3D. I think maybe it works for Waymo, however, training on Waymo is really time-consuming, it takes me many days (about 10 days) to train a single model with 8 V100 GPU. For now, I have no machine and time to do these experiments.
If you want to add my RDIoU into these two-stage method, u can also fuse the confidence score (such as average) of both stages to get slightly better performance.

Thanks for your prompt reply. I will test it on two stage method!

Thank you for your appreciation, hope it can help you. To be more specific, the performance of (PV-RCNN/Voxel-RCNN/CT3D) + RDIoU is similar to just SECOND + RDIoU on KITTI in my experiments.

Thank you for your warm reply!  This idea is so novel. I will analysis code in detail.
Thanks again!

Thank you for your warm reply! This idea is so novel. I will analysis code in detail.谢谢您的热情回复！这个想法太新颖了。我将详细分析代码。 Thanks again! 再次感谢！
Hi, I would like to know the final results of your two-stage!!!!Many thanks.


url question double slash

Describe the bug
http://localhost:2344/api//values in window return 200 statecode
http://localhost:2344/api//values in linux return 400 statecode
To Reproduce
Steps to reproduce the behavior:

install dotnet  on unbuntu
dotnet new webapi
curl http://youdomain/api/value return 200
curl http://youdomain/api//value return 400  this is have double slash

on window chrome brower

return 200 statuscode

Please don't post screenshots of text data. Copying the text makes it much easier to work with.

Is the Windows version running behind IIS?

Is the Windows version running behind IIS?

windows version running on vs

Is the Windows version running behind IIS?

when i run at dotnet command is valid
this is output
E:\1temp\urltest>dotnet run urltest.csproj
从 E:\1temp\urltest\Properties\launchSettings.json
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
User profile is available. Using 'C:\Users\zwg\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Hosting environment: Development
Content root path: E:\1temp\urltest
Now listening on: https://localhost:5001
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:5000/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 61.6156ms 307
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 273.7958ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/api/values
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Route matched with {action = "Get", controller = "Values"}. Executing action urltest.Controllers.ValuesController.Get (urltest)
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Executing action method urltest.Controllers.ValuesController.Get (urltest) - Validation state: Valid
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Executed action method urltest.Controllers.ValuesController.Get (urltest), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 0.3685ms.
info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]
Executing ObjectResult, writing value of type 'System.String[]'.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Executed action urltest.Controllers.ValuesController.Get (urltest) in 125.7875ms
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 173.1711ms 200 application/json; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/favicon.ico
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.1219ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/api//values
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.1228ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:5000/api//values
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.3343ms 307
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/api//values
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.0718ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/api//values
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.106ms 404
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET https://localhost:5001/api//values
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 0.0706ms 404
when running behind IIS is ok

windows version running on vs

That doesn't answer the question unfortunately. In VS you can either start with IIS Express, or with Kestrel. What is next to the run icon?

Pull down the drop down beside run and choose the option that corresponds to your solution name, in the screen shot below it would be AuthorizationLab

Now try and see if both Linux and Windows match.
If they match then IIS is mangling the URL to be "helpful" and I don't know anyway to disable it frankly.

Going strictly by the URI spec, a path /foo/bar is different to /foo//bar, so it is the correct behavior for ASP.NET Core to treat that separately and have it result in a 404 when the route cannot be matched.
I assume IIS does some normalization here. You could try adding a middleware that trims repeated slashes in the path.

ok i try use middleware

If I use reverse proxy, I can solve the problem.


⚠ Bofrost.at has degraded performance

In 22fab1a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1568 ms

Resolved: Bofrost.at performance has improved in 82f6c12.


Translation missing in Settings -> Roles menu -> Create roles page

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
Master, V-2.0.0
Issue Description
Translation missing in settings -> roles menu -> create roles button then reporting word
Preconditions
Admin should be logged in.
Steps to reproduce

Go to 'Admin Panel'
Click on 'Settings -> Roles -> Create role'  button
Scroll down to bottom page go to Sitemaps permissions then below shows reporting sections  here translation missing:

Expected Result
Should be shown correct word Reporting here instead of like this

Actual Result
Here shows a like this:

Screenshots
No response
Additional context
No response

From what language is this text translated into English?

@Julian-Dumitrascu, We have added [key, values] for English and other languages.

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


[Tech Debt] Key pair generation integration with orchestrator

This PR:

Moved key pair generation for node and its peers to main_entry_point.
Align validator's seed with the seed from NetworkConfig for default setting.
Rename the folder for validator config from config to validator_config. (See the discussion below)
Is a followup on https://github.com/EspressoSystems/HotShot/pull/1990.

This PR does not:

Directly input node's key pair through config. (See the discussion below)

Key places to review:
mod.rs and config.rs

How to test this PR:
just async_std example all-webserver ./crates/orchestrator/run-config.toml

Comments requested:

About loading keys from config. Now we have seed and index in config, and generate the real key pair at the entry point. The reason we don't directly loading key pairs is their formats are too complex (see validator_config/ValidatorConfigExample for reference) to be in the config, also our HotshotConfig does contain the secret key originally for signning, so it's fine.

About peer's configuration (including peer's public key and stake value). This is my big concern, now they're all generated at the entry, but I'm not sure whether we have any interface already. I saw get_config() in orchestrator/src/client.rs, is this a good one to use to get peer's config? If so, do we want to do that now?

About the folder validator_config. The reason we keep this folder is: once a node operator asked us for a script of key pair generation, and they also want to see how key pairs look like, more details here, therefore we have config file with pure node_index and seed and examples there. But this might not be the cleanest way to keep them, also I just learnt our general config is at crates/orchestrator/run-config.toml, do we want to keep them together under the same folder or not?

These changes look good, but for some reason I'm having trouble with the examples.
If I run just async_std example all-webserver ./crates/orchestrator/run-config.toml, I enter view sync at view 5. Do you see the same thing?
I tried merging in main locally but it still has the same issue

If I run just async_std example all-webserver ./crates/orchestrator/run-config.toml, I enter view sync at view 5. Do you see the same thing?
I tried merging in main locally but it still has the same issue

@rob-maron Thanks for the review! Weird, I didn't see any view sync round in my local log and looks like all nodes are connected and running. "enter view sync at view 5" means the first several views are all timeout right? Do you know whether all the nodes are connected?

If I run just async_std example all-webserver ./crates/orchestrator/run-config.toml, I enter view sync at view 5. Do you see the same thing?
I tried merging in main locally but it still has the same issue

@rob-maron Thanks for the review! Weird, I didn't see any view sync round in my local log and looks like all nodes are connected and running. "enter view sync at view 5" means the first several views are all timeout right? Are all the nodes connected in your case?

Yeah, they should all be connected; all-webserver should run everything we need. One question - how long does it take for the 100 rounds to finish on that example for you locally? When it's done it should print something like "took 30s to complete n rounds"

If I run just async_std example all-webserver ./crates/orchestrator/run-config.toml, I enter view sync at view 5. Do you see the same thing?
I tried merging in main locally but it still has the same issue

@rob-maron Thanks for the review! Weird, I didn't see any view sync round in my local log and looks like all nodes are connected and running. "enter view sync at view 5" means the first several views are all timeout right? Are all the nodes connected in your case?

Yeah, they should all be connected; all-webserver should run everything we need. One question - how long does it take for the 100 rounds to finish on that example for you locally? When it's done it should print something like "took 30s to complete n rounds"

Yeah all of them finish in approx. 33s e.g."[9]: 100 rounds completed in 33.082711917s".

Okay, I finally figured out the behavior. Basically, the orchestrator uses known_nodes_with_stake to figure out when to start the network. Ref: crates/orchestrator/src/lib.rs:170. If you print the length of known_nodes_with_stake on this branch, it seems to always be 0.
Basically, because of (I think) the change to that variable, 2/3 of the nodes were going up to view 7 before the other nodes got a chance to start.

Yeah looks like we do need generate key pairs in load_config_from_file to ensure the right length. What confused me a little bit is that usually we have to assign known_nodes_with_stake and my_own_validator_config together, why previously  known_nodes_with_stake was assigned in load_config_from_file while my_own_validator_config was assigned separately at main_entry_point? (Now my change is like assign both variables at both locations).

Followed by https://github.com/EspressoSystems/HotShot/issues/2416, and its PR https://github.com/EspressoSystems/HotShot/pull/2525 . Will close this without merge.


fix: made 'allocated_ip_range' variable optional

Made "allocated_ip_range" variable optional from required to match it's behaviour in the provider (and the Cloud SQL Admin API)

@ibhaskar2
Thanks for the PR! 🚀
Unfortunately it looks like some of our CI checks failed. See the Contributing Guide for details.

⚠check_documentation
The documentation needs to be regenerated. Please run make generate_docs.

Checking for documentation generation
diff -r '--exclude=.terraform' '--exclude=.kitchen' '--exclude=.git' '--exclude=autogen' '--exclude=*.tfvars' /workspace/modules/safer_mysql/README.md /tmp/tmp.cINhl8DCQf/generate_docs/workspace/modules/safer_mysql/README.md
170c170
< | allocated\_ip\_range | Existing allocated IP range name for the Private IP CloudSQL instance. The networks needs to be configured with https://cloud.google.com/vpc/docs/configure-private-services-access. | `string` | n/a | yes |
---
> | allocated\_ip\_range | Existing allocated IP range name for the Private IP CloudSQL instance. The networks needs to be configured with https://cloud.google.com/vpc/docs/configure-private-services-access. | `string` | `null` | no |
Error: Documentation generation has not been run, please run the
'make docker_generate_docs' command and commit the above changes.

@ibhaskar2
Thanks for the PR! 🚀✅ Lint checks have passed.


merge with vcflib?

What about incorporating this into vcflib?

Yep, once I get some format enforcement in we can merge merge merge.


Safe truncate

Address problem https://github.com/neondatabase/cloud/issues/1932

@knizhnik can you provide a context for this PR? That would help with the review process

@knizhnik can you provide a context for this PR? That would help with the review process

This is fix of the problem detected during investigation of error in production:
https://github.com/neondatabase/cloud/issues/1932


Trey fixup nc encoding

xarray docs: https://docs.xarray.dev/en/stable/user-guide/io.html#scaling-and-type-conversions
scaling and add_offset should be passed to the variable's encoding dict when writing to netcdf flie.

WIP. We need to figure out if there are any other vars that need a similar fix and apply scaling to SIC & flags in a consistent and clear way.

Declining. We think the code-as-is produces files like v4.


Create Playground page

A playground page should be added in the navigator bar (left)
That page should list existing playground sessions/conversation with a model and its inteference server
It should also be possible to create a new playground session from there

depends on https://github.com/projectatomic/ai-studio/issues/509

Mockup for playground page:

done


Add list of unused modversions on dashboard

Hi,
I noticed that after creating several builds, one can quickly end up with versions of mods that no longer serve any modpack.
The idea is to display a list of mods to inform the user that their removal is safe and that it can also remove the hard drive.
I did a fork and a commit (42284bb811631e798cea36d84a19000f00beff9d and 5f695c30a360e9962322b2c459d8762b9ad8e962) that implements this functionality. However, I find that the code in the controller is not the cleanest that can exist, so if there is an easier way (as a query like the rest) that would be practical.
Good day.

Its a good idea, but we should get some more input on this. I dont want to clutter up the dashboard too much

Indeed, the dashboard is not necessarily the best place to put this kind of data. Perhaps below the list of mods (/mod/list)?

hmm, maybe a warning like "You have 5 unused versions of modx" when you visit a mod's page?

Interesting solution and probably easier to implement (I did not yet look at the code to implement this solution).
However, the user may not see the information, but this can be a good compromise.

But i see no scenario where i would use it

I had the need when I have prepared a new build of a modpack. I usually check the mods, and download their updates and finally I test the build. Sometimes a mod is again updated during this period and so I will update the build. Therefore, the previous update of the mods is no longer used.
Also, after a while, the creator of a modpack may well remove a build. We can then have versions of mods that will not be used by any other build.

or possibly Mod>Notifications
btw, 1+ on this :P

+1 on this. However, I would say do a small block notification that the user can click on and be redirected to a page solely devoted to the mods not being used anywhere.


ofxhome.com is down

ofxhome.com is no longer responding. It looked like it stopped responding around April 24.

I also mentioned this on the ofxclient repo: https://github.com/captin411/ofxclient/issues/39

https://ofxtools.readthedocs.io/en/latest/client.html#basic-connectivity-requesting-an-ofx-profile - alternative


Add support for importing files for operationPreRequestScripts and collectionPreRequestScripts

Allow collectionPreRequestScripts and operationPreRequestScripts to import local script files by specifying file: followed by the file path, e.g. file:scripts/auth-pre-request.js.
Use Case: Our API collections have quite complex pre-request scripts. In order to manage them, currently we keep those scripts in separate files, and we have to copy their contents into portman config file manually when we make any change.
It is quite tedious and error-prone process so I think it would be great if portman can support importing the script files out of the box.
Please let me know if this feature can be incorporated and if there is any change required for the PR.
Thanks very much for creating and maintaining this tool.
Cheers,

@vinh0604 We quickly had a peak at the PR and it looks very good. The functionality is a valuable addition and wel documented/tested, so thank you for your time & contribution.
We will keep you posted, since we need to find some more time to go a bit deeper in the code.

@thim81 Thanks for the comments.
I added the error handling as you suggested. However, verbose option hasn't been implemented in PortmanOptions yet and I'm not very confident to add that given my current understanding of the code base.
Is it okay to proceed with the current state, or would you prefer to have that option implemented in this PR as well?
Cheers.

@vinh0604 Thanks again for the excellent contribution. We appreciate the effort that you provided for your contribution.
If things go well, we will release a new version of Portman this week with your PR.

@vinh0604 Your contribution has landed in Portman version 1.14.0. We just released it. It is great to see your contribution in action.

@thim81 Great news! Thanks very much for pushing it through. It was really helpful for our team so I hope other Portman users will get benefits from this as well.
Cheers 😎


chore: add IRSA usage doc

What this PR does:
Adding doc about IAM role usage.
Which issue(s) this PR fixes:
Complete #1152
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[X] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[X] CLA Signed:  DataStax CLA

FYI folks, this is in our current dev cycle. We'll probably end up removing this pod altogether since its original use case is no longer valid, and the one we had planned for (bootstrapping a new cluster using a backup) isn't implemented yet.


S1:As a player, I want the game to prepare a deck of 54 cards (including Jokers), so that the game follows the standard Doudizhu rules and is ready for play.

Acceptance Criteria:

[ ] There are 54 cards in total

[ ] (2，3，4，5，6，7，8，9，10，J, Q, K, A)*4 + Two Jokers

Deployment Task:

[x] #18
[ ] #19
[ ] #20
[ ] #21
[ ] #22
[ ] #23
[ ] #24

Define combination types:single cards, double cards,triple cards,triple cards and one, chain,consecutive double cards, double three,four and three,bomb,double jorkers.


No paragraphs?

Hey, I'm having a problem with Trumbowyg. When I start it with an empty textarea I don't get any paragraphs?
On chrome if I press enter I get a new DIV. On firefox I get a BR. Actually Firefox won't even let me type anything if the textarea is empty. I always need to switch to HTML and create a P tag before I can write. If I start typing inside a P tag then when I press enter I get new P tags.

That's strange :/ I need to take a look at that.

I've made a test on the master index.html with the default configuration and I get <p> tags in both Chrome 45 and Firefox 41. And I can type in empty textarea on Firefox.


Raw binary of DLLs is shown when switching to a new function

Repro steps:

Create a function MyFunction
Upload an assembly with a name that appears alphabetically prior to "function.json" such as ClassLibrary.dll
Switch to another function in the same app
Switch to MyFunction

Result:

I thought we already had an issue for this and @alrod was working on it.

Yes, #846

Closing a duplicate


deno-canvas canvas & 2D context & image objects do not match the browser

This is from a deno issue, https://github.com/denoland/deno/issues/18919
The response was:

that module is a third party module maintained by the community, not an official module maintained by Deno. I'd recommend opening an issue on the repository of the module.

Here's the issue & thanks for the great project!

A few experiments show that the deno-canvas's canvas, context, and image objects do not match the browsers. This makes it difficult to impossible to have interoperability between deno and browsers, a goal of many of us.
Some examples:
// copy/paste these into a deno repl (deno repl -A)
import {
    createCanvas,
    loadImage,
} from<EMAIL_ADDRESS>
// creaate image, canvas & ctx
const imgUrl = 'https://code.agentscript.org/models/data/redfish.png'
const img = await loadImage(imgUrl)
const can = createCanvas(200, 200)
const ctx = can.getContext('2d')

// 1: ctx has a flawed canvas object:
typeof ctx.canvas // OK, "object"
// but it isn't!
ctx.canvas.width // TypeError: Cannot read properties of null!
Object.keys(ctx) // shows no canvas object!
ctx.canvas = can // TypeError: Cannot assign to read only property 'canvas' of object

// 2: ctx has width & heigh while in browser ctx.canvas has the width & height
// see above

// 3: img width & height are functions, not properties as in browser
img.width // [Function: Image$width]
img.width() // works: 512

// 4: prototype programming fix works for ctx.canvas, but alas not for img
const ctxObj = {
    canvas: can,
}
Object.setPrototypeOf(ctxObj, ctx)
ctxObj.canvas  // OK
ctxObj.canvas.width  // OK

const imgObj = {
    width: img.width(),
    height: img.height(),
}
Object.setPrototypeOf(imgObj, img)
ctx.drawImage(imgObj, 0, 0, can.width, can.height) // TypeError: k.width is not a function
ctx.drawImage(imgObj, 0, 0, imgObj.width, imgObj.height) // Ditto

I believe the man problem is Image using functions for width/height, we might be able to work around the rest. Or do you have an insight how we might work around that issue too?
Thanks!

Image object in here is quite different from Web Image object in browsers, here it is an object that wraps SkImage. It will be difficult to change its API now. As a workaround, we can make a new web-compatible Image object that is accepted along with Skia Image object.
Other issues that were mentioned seem like a regression when the underlying library was updated. They’ll be an easy fix.
Btw, have you considered using skia_canvas (https://deno.land/x/skia_canvas)? Which is much more accurate and faster. It is based on Skia too and is web compatible.

Hi, and thanks for the quick and informative response!
Let me briefly sketch out my work and how the compatibility between Deno and the browser and workers matter.
My Agent Based Modeling system uses a very strict Model/View split. Models deal with data and their transforms while the view provides visual and interactive (MVC) views of the model.
Here are three examples:
https://code.agentscript.org/views2/tsp.html
https://code.agentscript.org/views25/roads.html
https://code.agentscript.org/views3/avalanche.html
The Models can run almost everywhere: browser, workers, Deno; in 2D, 3D and on Maps. Deno comes in in two ways: yet another place to run Models storing their data and images in files .. but also being our main test system now. It's FAST, reducing our earlier testing from well over a minute to 6 seconds!
Models do not create images, that's for Views. BUT Models use images as Data! GIS tiles, elevation data and so on. And indeed we're interested in Deno as an off-line data transformer, getting OpenStreetMap (OSM) data and crunching it. The data can be images.
So managing all this would be easier if deno-canvas were compatible.
It seems that I can work around most problems. Image, I think, is the biggie. We currently have to manage the Dom Image & canvas vs the Worker imageBitmap and Offscreen canvas which is fairly simple. But deno-canvas Images having functions for width/height is pretty messy.
So any help would be great!

OTOH, yes it would be nice to have a truly compatible deno image, canvas, and 2d context. For me Image having functions for width/height and canvas context not having the ctx.canvas work properly are the main issues in terms of getting stuff to run. I haven't tested deeply .. for example does the same (data) image produce the same results in the browser and deno.
One thing I'm starting to use in the browser is the ImageBitmap and the OffscreenCanvas, both required for browser workers. Kinda nice!
Thanks again for the help and insights.

We have web-compatible Canvas, Context2D and Image objects in the Skia Canvas project. The API is nearly same, and it only has more capabilities than deno-canvas rather than being less. Can I provide any help in getting Skia Canvas work according to your needs instead?
If not, I can proceed with improving web compatibility of this module so that it can fit your use case.

OK, let me use Skia Canvas a bit to see if it resolves the problems I had with deno-canvas. Thanks again!

Oops, I may be doing this wrong.
First I ran deno upgrade .. I was already current:
master: deno upgrade
Looking up latest version
Local deno version 1.33.1 is the most recent release
Then I tried importing all of skiaCanvas, or just Canvas & Image. I.e either of:
import { Canvas, Image } from<EMAIL_ADDRESS>import * as skiaCanvas from<EMAIL_ADDRESS>Both failed.  I tried both with just -A and with -A  --unstable flags:
deno repl -A
deno repl -A --unstable
master: deno repl -A --unstable
Deno 1.33.1
exit using ctrl+d, ctrl+c, or close()
> import * as skiaCanvas from<EMAIL_ADDRESS>
Uncaught Error: Could not open library: Could not open library: dlopen(/Users/owen/Library/Caches/deno/plug/https/github.com/dde09b5bbcf801e9d3dbb0bf6276f9d048d6643f6b34855bc184ebffa990fd30.dylib, 5): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
  Referenced from: /Users/owen/Library/Caches/deno/plug/https/github.com/dde09b5bbcf801e9d3dbb0bf6276f9d048d6643f6b34855bc184ebffa990fd30.dylib (which was built for Mac OS X 12.6)
  Expected in: /usr/lib/libc++.1.dylib

    at new DynamicLibrary (ext:deno_ffi/00_ffi.js:440:46)
    at Object.dlopen (ext:deno_ffi/00_ffi.js:577:10)
    at dlopen (https://deno.land/x/plug@1.0.0-rc.3/mod.ts:145:15)
    at eventLoopTick (ext:core/01_core.js:166:11)
    at async https://deno.land/x/skia_canvas@0.5.2/src/ffi.ts:961:10

And here's the other import:
deno repl -A --unstable
Deno 1.33.1
exit using ctrl+d, ctrl+c, or close()
> import { Canvas, Image } from<EMAIL_ADDRESS>
Uncaught Error: Could not open library: Could not open library: dlopen(/Users/owen/Library/Caches/deno/plug/https/github.com/dde09b5bbcf801e9d3dbb0bf6276f9d048d6643f6b34855bc184ebffa990fd30.dylib, 5): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
  Referenced from: /Users/owen/Library/Caches/deno/plug/https/github.com/dde09b5bbcf801e9d3dbb0bf6276f9d048d6643f6b34855bc184ebffa990fd30.dylib (which was built for Mac OS X 12.6)
  Expected in: /usr/lib/libc++.1.dylib

    at new DynamicLibrary (ext:deno_ffi/00_ffi.js:440:46)
    at Object.dlopen (ext:deno_ffi/00_ffi.js:577:10)
    at dlopen (https://deno.land/x/plug@1.0.0-rc.3/mod.ts:145:15)
    at eventLoopTick (ext:core/01_core.js:166:11)
    at async https://deno.land/x/skia_canvas@0.5.2/src/ffi.ts:961:10

Running without  --unstable  gives this:
master: deno repl -A
Deno 1.33.1
exit using ctrl+d, ctrl+c, or close()
> import { Canvas, Image } from<EMAIL_ADDRESS>
Uncaught TypeError: Deno.dlopen is not a function
    at dlopen (https://deno.land/x/plug@1.0.0-rc.3/mod.ts:145:15)
    at eventLoopTick (ext:core/01_core.js:166:11)
    at async https://deno.land/x/skia_canvas@0.5.2/src/ffi.ts:961:10

I bet I'm missing something! :) Any advice? I like skia's api etc, looks promising, but gotta get over this hump. Thanks for your patience!

I noticed that the deno build was for mac os x 12.6 which I don't have due to having an older iMac (late 1914). That could be the problem.
dde09b5bbcf801e9d3dbb0bf6276f9d048d6643f6b34855bc184ebffa990fd30.dylib
exists but possibly cannot load?
I'll upgrade my laptop and see if things work there.

I'm afraid there is no simple way to get a JS canvas and Image with either deno_canvas or with skiaCanvas. Skia seems the most likely to succeed but it doesn't import correctly in workers!
I'll see if skia avoids the list of problems up top.  If so, my choices are:

Use skia due to the standard API and lack of the other oddities. But not allow use in workers.

I'll try skia for a couple of days and hope we can resolve the worker import failures.
Let me know what you think.


All sensors unavailable for Sofar 6.6 KTL-X

Idk what happened but all my sensors are unavailable. I have removed the integration and reinstalled, but they stay unavailable, even after waiting for at least 10 minutes.
The system itself works just fine, the IP address is correct.
Maybe it is exactly the same as https://github.com/StephanJoubert/home_assistant_solarman/issues/189, but since the description is a bit different I created a new issue.
Only the following sensor has a value: sensor.solarman_status_connection
The status is 'disconnected'

search in your inverter yaml definition for "validation" entry and remove/comment this entry
the unhandled exception is "ValueError"

inverter yaml definition for "validation" entry and remove/comment this entry

I have set up the integration through the GUI.
When I go to config/custom_components/solarman/inverter_definitions I can edit the sofar_lsw3.yaml, but when searching for validation it doesn't find anything.
Am I looking into the wrong file?

You can also try downgrade to 1.4.1 by redownloading it through HACS and see if that works

I use the deye_4mppt.yaml and the problem was gone after disabling the validation lines. Version 1.4.1 doesn't support my inverter.

For some reason it doens't seem to download 1.4.1. It keeps downloading 1.4.2. I'll try and see if I can get this going.

You can choose the redownload option in HACS:

I had the issue with it redownloading 1.4.2. The solution for me was to be more patient after switching versions in the dropdown and wait for the dropdown to become available again after switching before clicking Download.

@mhoogenbosch Did you manage to solve your issue? I'm having the exact same one with sofar_lsw3

@mhoogenbosch Did you manage to solve your issue? I'm having the exact same one with sofar_lsw3

No unfortunately not. I tried with the instructions above but still the unknown value. I know for sure I have 1.4.1 installed because it suggest to update to 1.4.2.
I found a different integration , which isn’t so nice as this one but at least that one works. This can be found here: https://github.com/MaGumagus/local_sofar_inverter
Hopefully the integration gets some love, more than willing to help , if I need to provide any logs please give some pointers to which.

Same issue here, i just don't know if it was working before as it is my initial setup.
Every entity is unavailable.
Dd You try to do any workarounds with current integration. Don't want to install any other

Same issue here, i just don't know if it was working before as it is my initial setup.
Every entity is unavailable. Dd You try to do any workarounds with current integration. Don't want to install any other

Yes, I tried installing 1.4.1 but doesn't work for me. Haven't tried earlier versions before 1.4.1, so maybe you could try those?

I've installed 1.4.1 and after a HA restart it's working again. Would love to help creators here by doing a research on the exact commit that broke the integration, unfortunately I do not have much spare time for the next few days.

How do i see if they are available or not? Status unknown on all of them, but never been known so cant confirm if its working. Got installed 1.4.1, not sure how long it takes entity to get the data

Few minutes usually (I think default is 5minutes), just remember the inverter has to be ON, so no testing at night or during solar eclipse 😄

Yeah, so mine does not work with 1.4.1 unless i should pick different config file. Which one are You guys using?

Mine doesn't work with 1.4.1 either. I don't know what happened, but it used to work fine.

With my Sofar HYD6KTL, with sofar config file i see "something" but production is 0. Also i see no entity for grid output/consumption and input, i see only solar entities

Updated to 1.4.3 no change.
Same issue: https://github.com/StephanJoubert/home_assistant_solarman/issues/215

@mhoogenbosch Hey Martijn! I assume you are Dutch (or Belgian). Did you manage to get it to work sofar?  I am having the same problems for quite some time now :). I really want to get it to work..

You are correct. From the Netherlands. I got things going but with https://github.com/davidrapan/ha-solarman instead of this integration. Works great.

I never saw that one!  I will try it now!

On 7 Sep 2024, at 17:01, Martijn Hoogenbosch @.***> wrote:
You are correct. From the Netherlands. I got things going but with https://github.com/davidrapan/ha-solarman instead of this integration. Works great.
—
Reply to this email directly, view it on GitHub https://github.com/StephanJoubert/home_assistant_solarman/issues/192#issuecomment-2335364395, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWRLWS2KTONEHKFX5DS6WTZVMIK5AVCNFSM6AAAAABN2C3KOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGM3DIMZZGU.
You are receiving this because you commented.

And can you tell me what config file you used?Mine is still not correctly working. The country is flipping between germany and denmark ( so read wrong ) and also all other values are all over the place. ----------------Sander BaksCommercial & editorial photographerwww.sanderbaks.comwww.hotelcreatives.comT: 06-46188558Op 7 sep 2024 om 17:01 heeft Martijn Hoogenbosch @.***> het volgende geschreven:
You are correct. From the Netherlands. I got things going but with https://github.com/davidrapan/ha-solarman instead of this integration. Works great.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

 I've got this

And what is your inverter? I got the 12kltx-3gWith the lsw3 wifi logger----------------Sander BaksCommercial & editorial photographerwww.sanderbaks.comwww.hotelcreatives.comT: 06-46188558Op 7 sep 2024 om 22:51 heeft Martijn Hoogenbosch @.***> het volgende geschreven:
Upload.from.GitHub.for.iOS.png (view on web) I've got this
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

One advise first to remove your mobile phone number(!)
The one I got is mentioned in the first post. But don't have WiFi. Got it Ethernet connected.

Could you please say again what inverter you have? I have a 12ktlx-g3
So 3 phase.
I do have a connection now. And i do have values, but they dont make sense.
So i guess i need some new translation of the variables.


Show title cluster without tap

Hi guys,
it is possible show cluster bubble(canShowCallout), without tap? It show me only when I tap on cluster pin. Thank you

That's a MKMapView issue. You need to call selectAnnotation method on your map.
More informations here

Thanks, @abiaad !


3D browser

Now we are able to  upload the models and we need now to browse them. It seems not as easy as with images becouse we have to host models somewhere by ourselves. Lets research more about it. Here is a .glb monkey from blender that we can try to hot-load directly https://ipfs.io/ipfs/Qmb3yAjLrrrchdShAwSG1hKwJ4fN8zsAN4Vrhw9ahSQtCz

and try to hotload this https://storage.yandexcloud.net/nftext/monkey.glb

With this commit we proved that 3D model could be loaded directly from ipfs without needs of file server
887b8f4844cbf79387b7d3d92d9c4877895201a0


[UI Revamp] Auction listing

Expectation

Without changing or with minimum change on functionality, closely align the UI as per Figma

@MehulKChaudhari, Please assign this to me.

@MehulKChaudhari please assign this issue to me.
cc: @prakashchoudhary07 @ranitasahaa1230

@MehulKChaudhari please assign this issue to me. cc: @prakashchoudhary07 @ranitasahaa1230

Is

@MehulKChaudhari please assign this issue to me. cc: @prakashchoudhary07 @ranitasahaa1230

Done.

Update:
[13-02-23] Started Working on the issue but getting the message Request failed to proxy: ECONNREFUSED on visiting dev.realdevsquad.com in local-ssl-proxy logs.


All Amplify Backend resources are rebuilt, reloaded to cloudFormation and re-deployed every time

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d76urbu77joch
Region
us-east-1
Amplify Hosting feature
Backend builds
Describe the bug
Using the Amplify CLI locally, 'amplify push' will only push updates. If nothing in the backend has changed, only the front end is rebuilt. This is as expected.
But having configured my Amplify app to use CI/CD on every GitHub checkin, I observe that what seems to be my entire backend gets rebuilt and redeployed on every GitHub checkin, even if the only file touched is a front end change.
Expected behavior
I expected the Amplify CI/CD hosting solution to behave as the Amplify CLI would locally, and only push the backend components that have been updated.
Reproduction steps

make a front end change
check-in
observe Ci/CD rebuild the entire backend

Build Settings
No response
Additional information
No response

Hi @pull-task 👋🏽 you can leverage the AMPLIFY_DIFF_BACKEND environment variable to enable diff based backend builds.  When this is enabled, Amplify will attempt to run a diff on the Amplify folder and if there aren't any changes, the backend build will be skipped. Here is the documentation for how to enable this: https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html#enable-diff-backend

Feel free to re-open if the provided solution does not work for you.


Tag Migrations Relying on Modification and Removal of Columns

https://github.com/elixir-lang/ecto/blob/master/integration_test/support/migration.exs#L76-L81
SQLite cannot alter or drop columns on tables.  Would it be possible to tag the modify and remove lines in such a way that they are not run, e.g.:
    alter table(:users) do
      if can_alter_column?, do: modify :name, :text
      add :custom_id, :uuid
      if can_drop_column?, do: remove :to_be_removed
      timestamps
    end

or Is there some way to tag tests relying on the above migration in such a way that the migration is never run?
I haven't looked too deeply into this yet, so I wanted to open this issue to discuss it.

@jazzyb We should probably move those to a separate test. We were trying to optimize by using the migrations themselves as tests but we should probably move them apart.

I will work on separating these.  I might not be able to get to it until this weekend.

@jazzyb there is no need to rush. I believe you are the only who needs it anyway. :)

Btw, once SQlite3 tests are passing, feel free to send a pull request to update the table in the README. :) Thank you for working on it!

Thanks for all your help.  I'll send you a PR once the integration tests are working.


Support for task as TODO

It would be useful to be able to parse a habit block as a TODO block. Blocks with "DONE" get counted in the habit tracker

Currently, it can be implemented by modifying patterns. I'll think about making them default in future versions. In the meantime:
{
  "habitPattern": "^(TODO|DONE)?\\s*?(?<habit>.*?)(?:| - (?<count>.*?))$",
  "ignorePattern": "TODO.*"
}

Note: \ is escaped in \\s, if you are modifying settings within UI, replace with \s.


Please report this to the program maintainer. / Access level is unknown.

Hoi!
I got some weird messages, but not working SKC. :(

Sending Custom "Unlock partial EEPROM read" block
Unlock code for software version '$01 $00 $14 $01' is 01 08 05 02
Please report this to the program maintainer.
Sending Custom "Get Access Level" block
Access level is unknown.
Sending Custom "Seed request" block
Sending Custom "Get Access Level" block
Access level is unknown.
Failed to unlock cluster.

Could you please help?

Can you attach the kw1281test.log? What kind of car and what year?

This is a VW Golf Mk4 Highline 1.9 (AHF) TDI from the year 1998 with Immobilizer Generation II.
Sure, I can attach the log: KW1281Test.log

Ok, can you run the following command? It should produce a .bin file. After running the command, attach the .bin file (you might have to .zip it) and I'll try to figure out the SKC.
kw1281test.exe COM1 10400 17 DumpEeprom 0 512

Sure, here It is the attached dump: eeprom.zip

Ok, looks like your SKC is 00700, the same that was returned by the kw1281test GetSKC command. Not sure why that SKC didn't work for you. You could try attaching to address 25 (Immobilizer) instead of address 17 (cluster) and see if the SKC works there.

Strange...
It's working that way.
Thank You! ;)


Move key binding for expression evaluator to different key

CTRL-SHIFT-Z invokes already the redo functionality.
Other key bindings that are mentioned in the ticket are not changed
because they don't seem to override anything.
Fixes #1002459

On windows "redo" is on CTRL+Y, I'm curious which other shortcuts depends on platform.

Would it be possible to use CTRL + ALT + E?
E is easier to associate with Expression Evaluator and it's possible to hit with one hand.
I didn't noticed anything under this binding (but correct me if I'm wrong).

I thought CTRL+ALT is difficult to type with two hands.

Maybe. But it's easy with one hand. :)

By the way, as Jerzy said, on Windows shortcuts are slightly different. Ctrl + Shift + Z was unassigned and was similar to Ctrl + Shift + X which opens Scala interpreter. That's why I chose this one.

@wpopielarski You are developing on Windows, could you please have a look if both CTRL + ALT + E and CTRL+SHIFT+K are free?

I'm on Windows, both are free.

It doesn't really matter which key binding is used as long as it is free. The important thing is that users don't get interrupted through new features they may never need. It someone doesn't enjoy the default key binding, they can change it.


Add package:dart_model with Json and JsonChanges classes.

Add some first package:data_model.
I wanted to avoid anything with schema / generation in the first checkin, so this is just some general JSON handling. The JsonChanges extension types probably will end up in a schema, but I wanted to start somewhere :)

Thanks! Replied to design comments now so my brain can iterate on the questions raised :) will make changes and reply fully on Monday.

Made changes, please see what you think :)
This now fits better with what I think is needed for the byte buffer implementation: a JsonData class holding the data and a thin JsonMap class that's a view onto it.
For "applying" changes we probably want something a lot more efficient than copying everything :) I played a bit with approaches where changes are not actually merged into the data but just checked before the underlying data is checked; that should be fast for small changes. But it's quite complicated, not for this PR :)
Thanks.


OSSM-4217 Fix issues with cert manager setup

Jira: https://issues.redhat.com/browse/OSSM-4217
We have two common issues in cert-manager related tests:

Operator cert-manager does not install and never gets ready
Fail in setup causes panic for the test run

The first was solved updated the version of the cert-manager to the latest stable because in OCP cluster 4.13 was not running because the 1.10 version was failing in that OCP version. The second was I added a workaround because the issue is that the cert-manager takes more than 60 seconds to be installed the first time, so I added a retry until success to retry until the cert-manager is correctly installed. Additionally to this we need to verify why the Setup test helper is finishing with panic and is not accepting to change to the same behavior than test helper (This will be checked in a separate Jira ticket)
Note: the installation with the cert-manager operator was tested in OCP 4.13 and ROSA OCP 4.12 also

I made some changes to improve the validation and tested in a fresh new cluster, no we are validating first that the operator Succeed, and then we validate the operator pods are running, it takes 47 seconds to Succeed the operator and them we wait until the pods are ready. This are the phases of the operator
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Pending
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Pending
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Pending
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    InstallReady
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Installing
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Installing
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Installing
cert-manager-operator.v1.11.1              cert-manager Operator for Red Hat OpenShift      1.11.1                                                    Succeeded


[dx12] fill out the vs/fs input/output limits

Unblocks https://github.com/gfx-rs/portability/issues/242
PR checklist:

[ ] make succeeds (on *nix)
[ ] make reftests succeeds
[ ] tested examples with the following backends:

bors r+

bors r+


Wiki Page "open_science_projects"

I notice that the wiki page has a link for "open_science_projects".  I'm not sure if this a local problem or a universal problem for the whole site but I think "Open Science Projects" would look far more professional.  As far as I can tell, it's not hard coded in the site by the way.

@PatrickEGorman, where are you seeing this?

The fact that you don't see it hints that it might be a local problem as I see it right here: https://osf.io/4znzp/wiki/home/ in the wiki homepage.  I do see it whether or not I'm logged in, so I thought it might be worth a check

Fixed.

That being said, if someone had a link to that page, it's broken now, so it may get changed back. Looking forward to Wikis being addressed by GUID rather than title.


SCB-1091 Upgraded the dubbo version to 2.6.4

Coverage increased (+0.09%) to 91.086% when pulling 0a19c6a6d40e52ae0a53c915b7e8265903c11803 on SCB-1091 into 64e00590cb22d1e30487e7d592324124d3a77c40 on master.


Enable SequenceParallel in te.LayerNormMLP layer

Given https://github.com/mosaicml/llm-foundry/pull/432 we can relatively easily enable SequenceParallel training.
This branch is just for testing for now; if it works well, we can consider merging it.
Note: I'm pretty sure model ckpt using tp, then load without tp will be a headache and will require tooling be built.

On a single node of 8 GPUs
MPT 125M training with / without Sequence Parallel is nearly identical with TP size in [2, 4, 8]

BUT, since the 125M model is small, its always slower to use TP vs the standard model even if mbs=1

If we bump up the model size to 7B, at mbs=1, a TP world size of 2 and 4 are slightly faster than the baseline

At mbs=2, the advantage does away.
If we bump up the model size to 13B, at mbs=1, again a TP world size of 2 and 4 are slightly faster than the baseline

At mbs=2, a TP world size of 2 is almost as fast, but again the advantage goes away
Note this is done on one node and does not factor in interconnect speed.

Issue: FSDP operates on the module level. The module has [layer_norm_weight, layer_norm_bias, fc1_weight, fc1_bias, fc2_weight, fc2_bias] parameters, where FSDP needs to tree [layer_norm_weight, layer_norm_bias, fc2_bias] the standard sharded way, and [fc1_weight, fc1_bias, fc2_weight] need to be treated standard TP sharded way...


Satisfying tslint

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Satisfying tslint

What is the current behavior? (You can also link to an open issue here)
Tons of tslint warnings

What is the new behavior (if this is a feature change)?
Almost all tslint warnings are gone

Other information:
Vast majority was fixed automatically using tslint --fix. The rest was fixed manually.

Something wrong with history, will recreate a bit later.


Upgrade rules to use nickel 1.4 features

Is there a work in progress by maintainers of this repository to leverage some of the recent features of nickel such as

ability to feed multiple input files to nickel export
use of NICKEL_IMPORT_PATH

If not, I and/or @uhlajs would be happy to do it.

There is no work in progress, but that's just due to a lack of time. I'd love any help!

Both features are utilized in PRs above. I have also extended the examples set. Let me know, what is your opinion.


added notes about parameter binding to the guide and classes

fixes #10462
not sure if it could be more prominent or added to other places too?

:+1:


B6 Challenge

[concordium-testnet-node-4f85be334186c64fe4ed6cfb5ec746b7ac1dba10e4cbced034a55c782c35ad76.log]
(https://github.com/Concordium/Testnet3-Challenges/files/5452164/concordium-testnet-node-4f85be334186c64fe4ed6cfb5ec746b7ac1dba10e4cbced034a55c782c35ad76.log)

rejected:B1
reason:runtime significantly lower than 30 days

B6:confirmed

B6:confirmed

rejected:B4
reason:account address not submitted, cannot verify on-chain AddBaker transaction

rejected:B4
reason:account address not submitted, cannot verify on-chain AddBaker transaction

confirmed:B4
address:unknown
baker:435

confirmed:B4
address:unknown
baker:435


Adding support for ruby 3.1.x

im currently getting a warning
ARNING: An expectation of `:exitstatus` was set on `nil`. To allow expectations on `nil` and suppress this message, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `true`. To disallow expectations on `nil`, set `RSpec::Mocks.configuration.allow_message_expectations_on_nil` to `false`.

this could be disabled by adding mocks.allow_message_expectations_on_nil = true
on line 57 in the spec_helper.rb
https://github.com/cloudfoundry/bosh-vsphere-cpi-release/blob/master/src/vsphere_cpi/spec/spec_helper.rb#L57

Thanks @lnguyen


deleteConversation error

Hello, anyone having trouble with the deleteConversation method?
I'm getting an error.

t: bp_deprecated_version

on line

window.Store.WapDelete.setSubProtocol(10);

Maybe the binary protocol has changed?

Never mind. It seems to be working right now.