Link to documentation dead

Hi!
It seems that the link to the documentation is dead. It returns a 404. See https://github.com/rustyhorde/vergen/blame/7a70330ba3f581244bb4c038812de984665203bb/README.md#L14

Oh. I think this is strongly related to #8 .


Carthage support

The repo readme file says: Carthage support
But adding the following to my cartfile:
github "shyambhat/InstagramKit" == 3.6.9

Gives the following error:
Dependency "InstagramKit" has no shared framework schemes

If you believe this to be an error, please file an issue with the maintainers at https://github.com/shyambhat/InstagramKit/issues/new

Could you please check if this is fixed in v3.7?

It's fixed! Thanks

Great, thanks!

Guys, I have the same error for the following Cartfile:
github "shyambhat/InstagramKit" >= 3.7
Result:
*** Fetching InstagramKit
*** Checking out InstagramKit at "3.7"
*** xcodebuild output can be found in /var/folders/49/hkcl6lgx2njdpzx4v36r87d8j629kc/T/carthage-xcodebuild.kba4v4.log
*** Skipped building InstagramKit due to the error:
Dependency "InstagramKit" has no shared framework schemes

Getting the same error on v3.7

@shyambhat Can this issue be reopened? It is not Carthage compatible since there is no Framework scheme in the project.


ci: add go releaser

This PR

adds go releaser
updates release process

Related Issues
Fixes #28

I'm going to merge this in so I can test the release process before our call.


New App: Lions Gate Bridge Status

Description
Created a new app to display the traffic and lane status of Vancouver's Lions Gate Bridge.
Copilot

🤖 Generated by Copilot at 1c3a040
Summary
📥🔑🚗

This change adds a new app lionsbrgstatus that displays the status of the Lions Gate Bridge in Vancouver. It imports the necessary modules and defines the constants for the app logic, including the images and the custom API for the counterflow arrows.

base64, http
modules for app logic
winter road safety

Walkthrough

Create a new app called lionsbrgstatus that displays the status of the Lions Gate Bridge counterflow system in Vancouver, Canada (F0, F1, F2)
Load the base64, http, render, and secret modules from the Starlark standard library (link)

Either the CI checks can't read secrets (like the local CLI) or I did something wrong 😛
Please let me know if I need to fix something!


Can't install solid-js 1.3.12 and raf 1.0.7 together?

From an empty directory with no upstream package.json:
❯ npm --version
8.5.4

❯ npm install solid-js

added 1 package, and audited 2 packages in 1s

found 0 vulnerabilities

❯ npm install @solid-primitives/raf
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/solid-js
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@solid-primitives/raf
npm ERR!   @solid-primitives/raf@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/lemonad/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/lemonad/.npm/_logs/2022-03-13T17_22_52_030Z-debug-0.log

The issue with locked solid-js version strikes again...
Thanks for reporting that, I've republished new version<EMAIL_ADDRESS>should install properly now

@thetarnav Works now! Thanks for the super fast fix : )

Thanks for handling that @thetarnav. Sigh I really buggered this up. Hopefully this is the LAST one haha.


Fix GitHub actions failure on MacOS

Failure example: https://github.com/mfem/mfem/actions/runs/3773330323/jobs/6414723849.

yes! should fix issue here https://github.com/mfem/mfem/pull/3323#issuecomment-1366114978

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

See also:

https://mfem.slack.com/archives/C0106S7MNTS/p1671666210155669
https://github.com/mfem/mfem/pull/3380

Merged in next for testing...


expose renderers in top-level init.py

I try to follow the pattern in BowerStatic that everything available for public consumption can be imported directly from 'bowerstatic', so no need to know about sub-modules. This isn't the case for the renderers yet.
Having these renderers also makes creating API docs more pressing, as this would be the best way to document what renderers are available.

I've done this and documented it.


⚠ Bofrost.at has degraded performance

In 38cbaea, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2293 ms

Resolved: Bofrost.at performance has improved in c3a81dc after 27 minutes.


Fix/parse date

Remove Date.parse from time/date formatting

@mrspeaker Please update branch so it can be safely rebased


Breakpoints do not get triggered in Golang projects running C extensions via cgo

Description of the bug:
This repo  is meant to show the current challenges with the Bazel IntellIj plugin and the Golang cgo module. It was run on a MacOS laptop.
Try opening this repo with GoLand or IntelliJ Ultimate Edition. Set a breakpoint one of the lines. You'll notice that nothing triggers. Disabling the use of the import C module stops the problem.
The problem turns out to be related to rules_go that strips out absolute path line directives to support build hermeticity. Modifying these line directives to strip out the execroot directory causes cgo files that are not relative to the workspace root. As a result the Golang debugger, Delve, is unable to provide source code references.
We can also see in the IntelliJ logs that
2024-05-04 21:34:07,956 [  27736]   WARN - #com.google.idea.blaze.golang.run.BlazeDlvPositionConverter - Unable to find local file for debug path: _main/tst.go

I'm able to confirm by attaching a breakpoint to a live instance of the Goland and examining the BlazeDlvPositionConverter code. We can do so by setting custom VM Options on a Goland instance (see https://rogerhu.github.io/studying-android-studio-internals/), adding the Go IDE plugin to the Project Structure, and attaching a debugger from an IntelliJ instance.
Workaround
Delve provides a solution to these issues with the path substitution configuration. We can add a file such as ~/.dlv/config.yml with the following YAML:
substitute-path:
  - { from: "_main/", to: "/Users/rogerhu/projects/sample-cgo-repo" }

We can check by installing Delve locally:
brew install delve

And running:
bazel build //:test
dlv exec bazel-out/darwin_arm64-dbg/bin/test_/test

You can then see:
(dlv) b main.main
Breakpoint 1 set at 0x101022fd0 for main.main() ./tst.go:11
(dlv) c
> main.main() ./tst.go:11 (hits goroutine(1):1 total:1) (PC: 0x101022fd0)
     6: */
     7: import "C"
     8:
     9: import "fmt"
    10:
=>  11: func main() {
    12:         fmt.Println("hello")
    13:         result := C.keychain_get(C.CString("engflow"))
    14:         fmt.Printf(C.GoString(result))
    15: }

However, this logic only works with the Delve command-line tool, not with the Bazel IntelliJ plugin. VScode currently
supports a variation of this logic here.
The full logic should follow how it's
currently done in Delve.
Which category does this issue belong to?
GoLand / IntellIj / go_rules bug
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
See https://github.com/rogerhu/sample-cgo-repro
Which Intellij IDE are you using? Please provide the specific version.
GoLand 2024.1.1 and IntelliJ 2023.3.6
What programming languages and tools are you using? Please provide specific versions.
go version
go version go1.22.2 darwin/arm64

What Bazel plugin version are you using?
Bazel 7
Have you found anything relevant by searching the web?
I have a branch that attempts to introduce this logic using the same approach used in Delve's logic. However, I want to check with the maintainers if 1) this direction is acceptable 2) that we can rely on the global ~/.dlv/config.yml or a separate substitution logic needs to implemented.
Screenshot of working prototype:

If it's easier to change in the Golang rules, that would be another option. I'm checking on that possibility too, but because Delve path substitution adds this type of support, I think it makes sense to have similar functionality in the Bazel IntellIj plugin.
Any other information, logs, or outputs that you want to share?
No response

fixed in #6891


Pragma statements not being added to generated code

I'm adding some simple sql statements for database management, but I'm not seeing them generate anywhere that I can use them.
getUserVersion:
PRAGMA user_version;

setUserVersion:
PRAGMA user_version=?1;

A workaround that is a little ugly:
db.getConnection()
    .prepareStatement("PRAGMA user_version;", SqlPreparedStatement.Type.EXECUTE, 0)
    .executeQuery()
    .getLong(0)!!

db.getConnection()
    .prepareStatement(
        "PRAGMA user_version=${QueryWrapper.Schema.version};",
        SqlPreparedStatement.Type.EXECUTE,
        0
    )
    .execute()

Going to track pragma statements which return values separately: #1106


Better avatar positioning in mobile view.

Description

The profile avatar looks stretched and gets cut off on smaller and mobile layouts.
Screenshots

Think this was fixed, if not, report back.


RFE: add support for "podman system prune"

/kind feature
Description
Docker has a "docker system prune" command,  but there is no equivalent command in Podman.
Steps to reproduce the issue:

Search Google for how to clean up container images and resources on a local system.
Discover several user guides on the internet advocating the docker system prune command.
Run podman system prune.

Describe the results you received:
Command "system" not found.
See `podman --help`.

I have to keep Googling to figure out how to clean up my system.
Describe the results you expected:
This system prune feature is available with the podman CLI.
Output of podman version:
Version:       1.0.0
Go Version:    go1.11.4
Git Commit:    "49780a1cf10d572edc4e1ea3b8a8429ce391d47d"
Built:         Mon Jan 14 13:38:17 2019
OS/Arch:       linux/amd64

We now have podman system prune.


c++_linux_asan_native.bins/asan/end2end_test failure

Failed in master:
https://grpc-testing.appspot.com/job/gRPC_master_asanitizer_cpp/1561/testReport/junit/(root)/c++_linux_asan_native/bins_asan_end2end_test___gtest_filter_End2end_End2endTest_ClientCancelsRequestStream_0__GRPC_POLL_STRATEGY_poll/
https://grpc-testing.appspot.com/job/gRPC_master_asanitizer_cpp/1568/testReport/junit/(root)/c++_linux_asan_native/bins_asan_end2end_test___gtest_filter_End2end_End2endTest_ClientCancelsRequestStream_1__GRPC_POLL_STRATEGY_poll_cv/
Error Message

Failure
Stacktrace

2583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.458608421   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.459074731   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.459100121   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.459507191   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.459532121   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.460037294   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.460063281   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.460514747   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.460546584   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.460947017   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.460972867   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.461416181   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.461442484   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.461869010   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.461914416   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.462369640   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.462395746   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.462801113   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.462833053   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.463255906   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.463281315   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.463715245   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.463743188   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.464201160   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.464232498   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.464629600   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.464654456   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.465093926   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.465133765   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.465541793   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.465577720   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.465985207   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.466009564   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.466395132   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.466420765   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.466859202   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.466883905   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.467870814   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.467904065   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.468338732   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.468364752   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.468841957   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.468868352   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.469327828   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.469362751   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.469767034   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.469797353   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.470262086   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.470295138   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.470741776   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.470767311   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.471223591   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.471254654   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.471741273   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.471767458   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.472221590   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.472248310   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.472725660   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.472758577   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.473214060   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.473238805   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.473715727   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.473740663   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.474234057   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.474259630   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.474722247   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.474747727   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.475197132   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.475228797   12583 dns_resolver.c:316]         Using native dns resolver
D0517 00:05:04.476204535   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.476244274   12583 dns_resolver.c:316]         Using native dns resolver
Note: Google Test filter = End2end/End2endTest.ClientCancelsRequestStream/0
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from End2end/End2endTest
[ RUN      ] End2end/End2endTest.ClientCancelsRequestStream/0
D0517 00:05:04.477872786   12583 end2end_test.cc:231]        TestScenario{use_proxy=false, credentials='ssl'}
D0517 00:05:04.477963869   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.478001409   12583 dns_resolver.c:316]         Using native dns resolver
I0517 00:05:04.483005400   12583 server_builder.cc:258]      Synchronous server. Num CQs: 4, Min pollers: 1, Max Pollers: 2, CQ timeout (msec): 10
D0517 00:05:04.483115800   12583 ev_posix.c:121]             Using polling engine: poll
D0517 00:05:04.483154587   12583 dns_resolver.c:316]         Using native dns resolver
E0517 00:05:04.510298207   12652 completion_queue.c:500]     assertion failed: !cqd->shutdown_called

*******************************
Caught signal SIGABRT
bins/asan/end2end_test(backtrace+0x41)[0x45b821]
bins/asan/end2end_test[0xfcfc15]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7f21047d2890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7f2103d0b067]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f2103d0c448]
bins/asan/end2end_test[0x899d08]
bins/asan/end2end_test[0x89801a]
bins/asan/end2end_test[0x8b2555]
bins/asan/end2end_test[0x84e479]
bins/asan/end2end_test[0x84bed8]
bins/asan/end2end_test[0x866f3e]
bins/asan/end2end_test[0x866446]
bins/asan/end2end_test[0x86d03f]
bins/asan/end2end_test[0x86ce65]
bins/asan/end2end_test[0x86cdc0]
bins/asan/end2end_test[0x86c7b7]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb6970)[0x7f210434d970]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8064)[0x7f21047cb064]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f2103dbe62d]
Command terminated by signal 6
real 0.19
user 0.08
sys 0.02

This should have been fixed by #11201


enhance Check delete operation's response on Azure Blob Storage

We should check if the delete operation is successful or not.

run buildall

run buildall

run buildall


10.7 Upgrade does not configure Server Web Adaptor

I ran an upgrade from 10.6.1 to 10.7 of a single machine base deployment. The GIS Server was installed but not configured.
Upgrade_BaseDeployment_20190402_122107.log

@hmelendez looks like your server was not started when you tried to register the web adaptor
execution:- Configuring Web adaptor.

Unable to register the ArcGIS Server with the Web Adaptor. Please make sure that the server machine is running and
that the account specified has administrative privileges to the site.

Any chance you have IWA enabled? If not can you retry running the upgrade again. It is idempotent and should pick where it left.

The GIS Server WebAdaptor fail to register because the Primary Site Administrator (PSA) of the GIS Server was disabled. Enabling the PSA allowed the upgrade to complete successfully,
Thanks for pointing the error message. I had not seen that.


Get-FGTMonitorSystemConfigBackup with vdom argument does not give return config for only that vdom

When using the Get-FGTMonitorSystemConfigBackup command with -vdom vdomX it will return the full config.
This is easily fixed as the scope just needs to be changed from global to vdom if vdom is given on commandline.
$scope=global
if ( $PsBoundParameters.ContainsKey('vdom') ) {
$invokeParams.add( 'vdom', $vdom )
$scope="vdom"
}
#before 7.6.x, config/backup is available with get method and using paramater
if ($connection.version -lt "7.6.0") {
$method = "get"
$uri = 'api/v2/monitor/system/config/backup?scope=$scope'
$body = ""
}
else {
$method = "post"
$uri = 'api/v2/monitor/system/config/backup'
$body = @{
"scope" = "$scope"
}
}

Hi @johan-kummeneje-complior
thanks for the report ! Can you push a PR with the fix ?

Pull request https://github.com/FortiPower/PowerFGT/pull/272 is created.


Can't import Github Repo to Gitness

Why There is no Repo URL field described in official document?
I am having trouble to import my github repo into gitness.
What i got is shown as pic2.

Issue: #3474, This issue could cause by using proxy i guess this is the point.
After set Organization Name as my github username:zzinx58,
Repository name: [projectName].git
I am able to come to the next step.


Checkbox not checked in HTML Export

When exporting a checkbox written in markdown like this:
- [x] test

It will export it to:
<input type="checkbox" class="task-list-item-checkbox" disabled="">

As if the input was - [ ] test. It should export it to:
<input type="checkbox" class="task-list-item-checkbox" disabled="" checked="">

Where the attribute checked="" is set.

https://github.com/benweet/stackedit/blob/91f8cf3c10b75df65b69f9181cee8151d65a788d/src/extensions/markdownExtension.js#L155
It seems checked attribute does not stick to the input element created by createElement. I have yet to understand why.
Creating the checkbox using innerHTML fixes this.


 This will simplify tracking of the PR and browse the reviews that went with it.
or is there a better way?
docs on actions:
https://dev.to/knowbee/how-to-setup-continuous-deployment-of-a-website-on-a-vps-using-github-actions-54im

I think maybe just force this repo can only squash merging into branches 🤔  the monorepo is a good example. all commits are PRs and will have the PR number in the message.

I would prefer we keep the rebase and merge option. I don't like multiple commits of a PR being squashed into a single commit. Otherwise I would have to make separate PRs for each commit, if I want to preserve the logic and granularity of changes.

right. squashing will destroy the granularity.
To me, I'm just a little worried about whether it is too aggressive to modify every commit message but let me have a poc and will share it here!

I’m not sure that every commit needs this. Maybe only the first or the last commit of a PR is sufficient.

okay! it will be better if we can accept only the first or the last including it! I think I will get it happen in a command 🤔 the scenario looks like

we open a PR
discuss and update ...
before we merge it, we trigger bot to amend the message
merge it

does this one what we expect?

Sounds good to me, @yihau . Thanks.


sys: deprecate EpollCreate1, EpollCtl, EpollWait

These were not used and just an alias for the ones in golang.org/x/sys/unix

Codecov Report

Merging #4094 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4094      +/-   ##
==========================================
+ Coverage   42.54%   42.55%   +0.01%
==========================================
  Files         130      129       -1
  Lines       14828    14822       -6
==========================================
- Hits         6308     6307       -1
+ Misses       7600     7596       -4
+ Partials      920      919       -1

Flag
Coverage Δ

#linux
45.91% <ø> (+0.01%)
:arrow_up:

#windows
38.22% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

snapshots/devmapper/pool_device.go
55.69% <0%> (-0.41%)
:arrow_down:

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 92cfc5b...0a7fd55. Read the comment docs.

Late to the party, but can we just remove these functions?

Possibly, yes; I wasn't sure if they were used by other projects


List parameter framework dependencies in the readme

The Installation chapter in the main readme does not mention the PF needed dependencies:

SWIG (flag PYTHON_BINDINGS)
Catch (flag BUILD_TESTING)
libxml2 (no flag)

The readme should also mention the flags to deactivate such dependancies (if any).

duplicates #134


Swap to modules?

The C++ modules system would allow for faster iteration (only update one file) and slightly easier compilation
From testing it would seem Meson (or maybe ninja) does not support compiling via modules yet, so I would also likely need to switch to make

Testing with modules in a minimal project seem extremely unsuccessful. Perhaps I'm using an odd version, but clang is not successful in compiling modules. The tutorial clang gives is incorrect and after fixing and successfully linking, It seg faults on execution.


feat: operators contract

Implement Operators contract in Soroban as per AXE-3402
Note: Still need to implement Soroban version of executeContract function

Codecov Report
Attention: Patch coverage is 98.70130% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 98.60%. Comparing base (7783100) to head (940cc2f).

Files
Patch %
Lines

contracts/axelar-operators/src/error.rs
50.00%
1 Missing :warning:

contracts/axelar-operators/src/storage_types.rs
50.00%
1 Missing :warning:

.../axelar-soroban-interfaces/src/axelar_operators.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   98.59%   98.60%   +0.01%
==========================================
  Files          26       32       +6
  Lines        1848     2079     +231
==========================================
+ Hits         1822     2050     +228
- Misses         26       29       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


welcome bot added

I have added welcome bot .Issue number #3

thank you @harshithatnbr for your valuable contribution


Gitea support

Would it be possible to add Gitea support?
Thanks for the cool project!

Isn't Gitea is self-hosted service?

Oh, right, here is the main page: https://gitea.com. I'll see what can I do.

Please feel free to open PR. Closing meanwhile.


UI/UX insight changes

Terms

THIS SOFTWARE IS CONTRIBUTED SUBJECT TO THE TERMS OF THE TERMS OF THE CCLA DATED 2017-11-07 WITH FINOS/LINUX FOUNDATION (FORMERLY THE SYMPHONY SOFTWARE FOUNDATION CCLA).
  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.

missing example


riff: Add version 3.2.0

Add the riff program to the bucket
Closes #13783

[x] I have read the Contributing Guide.

/verify

/verify


WinAppSDK application not opening for some users

Describe the bug
https://github.com/rocksdanister/lively/issues/1409
Some users are reporting application is not opening for both packaged (Microsoft store) and unpackaged (Installer) version of the application.
The installer version has the SDK self contained.
Event viewer:
Faulting application name: Lively.UI.WinUI.exe, version: <IP_ADDRESS>, time stamp: 0x6283df13 Faulting module name: Microsoft.ui.xaml.dll, version: <IP_ADDRESS>6, time stamp: 0xb4fa5b7c Exception code: 0xc000027b Fault offset: 0x00240d29 Faulting process id: 0x7ed8 Faulting application start time: 0x01d89ec447244f5e Faulting application path...
Lively.UI.WinUI is a separate program for the UI from the core and it is the only program using WinAppSDK.
~The user is saying Afterburner is not running https://github.com/rocksdanister/lively/issues/1314#issuecomment-1193172515 I am not sure if that means Rivatuner Statistics is running or not https://github.com/microsoft/WindowsAppSDK/issues/2468~
Steps to reproduce the bug
Unable to reproduce on my end, some user are reporting and cause is unknown.
Expected behavior
UI program should open.
Screenshots
No response
NuGet package version
1.1.5
Packaging type
No response
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
No response
Additional context
Possibly related https://github.com/microsoft/WindowsAppSDK/issues/2980

Thanks for reporting, could you provide us with a full crash dmp? How-to: https://github.com/microsoft/microsoft-ui-xaml/blob/main/docs/debugging_crashes.md

@knightryry

Looks like @knightryry issue got resolved after windows reinstall:
https://github.com/rocksdanister/lively/issues/1409#issuecomment-1290837671

Reinstalling windows seemed to fix it. (Had to reinstall due to windows bricking itself.). I'm guessing one of the dependencies broke.

@silentstromv2 can you help by providing the crash dump?

Microsoft (R) Windows Debugger Version 10.0.25200.1003 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\WIN10\AppData\Local\Programs\Lively Wallpaper\Plugins\UI\Lively.UI.WinUI.exe]
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
Symbol search path is: srv*
Executable search path is:
ModLoad: 00400000 00455000 C:\Users\WIN10\AppData\Local\Programs\Lively Wallpaper\Plugins\UI\Lively.UI.WinUI.exe
*** WARNING: Unable to verify checksum for Lively.UI.WinUI.exe
eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=00000000
eip=00410440 esp=00000000 ebp=00000000 iopl=0 nv up di pl nz na po nc
cs=0000 ss=0000 ds=0000 es=0000 fs=0000 gs=0000 efl=00000000
Lively_UI_WinUI!__scrt_common_main [inlined in Lively_UI_WinUI!wmainCRTStartup]:
00410440 e80d060000 call Lively_UI_WinUI!__security_init_cookie (00410a52)

For my own app the problem happens when the machine lacks any one of the two listed below (screenshot from VS Installer)


Limit panning

While it is possible to limit zooming, user can still pan to periods outside the valid area. It would be great to limit panning as well.

You are in luck, implementation in d3 was merged 15 days ago :)
https://github.com/d3/d3/pull/2019

Solved in #18, see https://github.com/EOX-A/d3.TimeSlider#constrain---boolean


Transcoded version of extensions sample mesh_shading based on Vulkan-Hpp

Description
Introduces a new Vulkan-Hpp-based sample, which is a transcoded version of the mesh_shading extensions sample.
Build tested on Win10 with VS2022. The samples are tested on Win10 with NVidia GPU.
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

Note: The Samples CI runs a number of checks including:

[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[x] I have tested the sample on at least one compliant Vulkan implementation
[x] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[x] Any dependent assets have been merged and published in downstream modules
[x] For new samples, I have added a paragraph with a summary to the appropriate chapter in the samples readme
[x] For new samples, I have added a tutorial README.md file to guide users through what they need to know to implement code using this feature. For example, see conditional_rendering
[x] For new samples, I have added a link to the Antora navigation so that the sample will be listed at the Vulkan documentation site

Correctly reports as unsupported for me, but that's all I can test.


Added definition for java and it's perspective.

This PR fixes...
The lack of dictionary definition and perspective for "Java".
What I did...
-Add dictionary definition for "Java"
-Add designer perspective for the same.
How to test...

Navigate to /dictionary.
Search for the term "Java".
See if the definition shows under the term "Java".

I learned...
I have learned about the perspective and explored the definition. had fun.
Thank you! for giving this opportunity

Almost there! I've left some suggestions and a question to help you, but feel free to reach out if you need help.

Hey, @novellac I will work on your suggestions. Thanks for reviewing it.

Almost there! I've left some suggestions and a question to help you, but feel free to reach out if you need help.
Please review the changes I have made.Thanks

It looks like the build is still failing - I've suggested some correction to the syntax for the "role" area. Try to accept that change and we'll see if the build can get working! 🍀

Hey ! @novellac please review it now..and sorry for the inconvenience. Hope now all the changes are ok and able to merge.


Multi commands in an action

As suggested by @fathert - I am going to make it so actions can run multiple commands in one action.
I did check, and they do all still run in their own job, so environment variables cannot be shared across them. The library list is inherited from VS Code user library list for each command.
ADDENVVAR ENVVAR(VSCODE) VALUE('Hello from vscode') LEVEL(*JOB)
CRTBNDRPG PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)
DSPJOB OUTPUT(*PRINT)

The last DSPJOB would be missing VSCODE from the env vars, because they are all stateless.

@fathert would you be interested in testing the feature? If you check the linked PR, there is a build you can install there.

@fathert would you be interested in testing the feature? If you check the linked PR, there is a build you can install there.

Yeah, sure! I'm travelling ATM but on Monday I'll have a look, thanks.

Yeah, sure. Sorry, I've been travelling so only just caught up, I'll try it today. Thanks!

Hi Liam,
Reading this...
Command to run
Below are available variables based on the Type you have select below. You can specify different commands on each line. Each command run is stateless and run in their own job.
...and your comment above RE: envvars, I don't think this solves my original issue because neither the library list, system library nor the ENVVAR changes would have any effect on the compile command - or have I missed something?
Ta. Tim.

@fathert I am afraid that's true. It does kind of suck, I think that's just the nature of using SSH are our architecture - it just doesn't work like a normal ILE job.

No worries, thanks for trying. I've got round it for now by creating a wrapper command which first sets my environment and then executes the supplied build command:

@fathert Excellent! Sorry for the trouble.


Mac with both Intel and Apple Silicon says UTM is damaged and cannot be opened.

Describe the bug
A clear and concise description of what the bug is.
When trying to install release version of UTM for macOS, both Intel and Apple Silicon Mac thinks the app is damaged.
Version
In the menu bar select UTM -> About to see the version and build number.
The Latest Release version
To Reproduce
Steps to reproduce the behavior:
Simple extract and attempt opening UTM on any Mac.
Expected behavior
UTM Opens.
Screenshots

Additional context
Add any other context about the problem here.

It’s not notarized but currently it’s broken even if you notarize it due to an apple bug.

Open terminal in macOS, then type in: xattr -cr /Applications/UTM.app


autoPreventDefault and allowing the canvas to pan/zoom/scroll the page

By default, the Pixi canvas/display-area cannot be used to scroll the webpage that contains it. Which is important on touch screens. (eg. If you use the rest of the web-page to pinch-zoom into the Pixi canvas, you can become trapped and unable to zoom back out (or pan away), because there's no non-Pixi-canvas area of the page to "grab" with your pinch gesture).
To enable this functionality, I use autoPreventDefault.
But this comes with some undesirable side-effects, like scroll/pinch-zoom actions over the canvas registering "taps" or clicks in a way that doesn't make sense. (ie. I'm attempting to zoom or scroll the outer page at that point, not interact with the Pixi canvas)
To work around that, I modify and compile my own custom version of Pixi where I can apply preventDefault in a more granular way...
To get page-scrolling functionality it seems I only need to preventDefault in the InteractionManager.prototype.onTouchEnd function. Whereas autoPreventDefault will also preventDefault on 3 other events. (onMouseDown, onTouchMove, onTouchStart).
Leaving autoPreventDefault = false and applying preventDefault only to onTouchEnd, gives me the functionality I need. But it'd be nice to not have to customize and rebuild Pixi in this way every release. (Sorry if there's something else I'm missing here; I don't completely understand the event system in Pixi, or what else to do about this scroll-touch problem)

Is this still an issue? You should be able to turn off autoPreventDefault and then using the global Interaction events prevent default as necessary.

Is this still an issue?

I couldn't say, the last version of Pixi.js I've used is 3.0.11

@zhuyunhe sorry for the delay, I don't log in to github very often.
The solution I found at the time was specific to the version of Pixi I mentioned, since I think they've re-worked that whole system since then. I don't know what method would be used for more recent versions of Pixi. But just in case you're using that version, here's what I did...
Edit PIXI.InteractionManager.prototype.onTouchStart
Commented out if(PIXI.AUTO_PREVENT_DEFAULT)event.preventDefault();
And then added to: PIXI.InteractionManager.prototype.onTouchEnd
event.preventDefault();
Which allowed drag touch events to (I guess) bubble-up to the browser, while still capturing others like taps. From what @englercj posted, I presume there's a cleaner way to do this now, that doesn't require editing Pixi.js itself. I haven't looked at the problem since then, so I couldn't say.


Change pad declarations

[x] dynamic pads:

{{:dynamic, pad_name}, {availability, mode, caps}}

to
pad_name: {:on_request, mode, caps}

[ ]  demand unit in sinks:

sink_pad_name:  {availability, {:pull, demand_in: :buffers}, caps}

to
sink_pad_name:  {availability, :pull, caps, demand_in: :buffers}

According to the planning meeting on 25.06.2018 it is quite trivial so it goes into 0.2.0


tf.data.zip and tf.data.cache throws cachefile AlreadyExistsError and/or deletes valid cachefiles

System information
Running on Ubuntu 20.04 using the docker container 2.4.1-gpu-jupyter.
Also occurs on Google Colab environment running TF 2.4.1
Describe the current behavior
tf.data.Dataset.cache and tf.data.Dataset.zip do not operate well together in certain situations, where there is a hierarchy between datasets but nevertheless they are both desired and cached. Imagine the scenario of an audio data pipeline where client extracts spectrograms and uses those spectrograms to extract MFCCs. Furthermore, the user wants to retain the spectrogram dataset at the end of the pipeline and includes in the final zip operation. Now, if the spectrogram dataset is cached to disk to allow for faster feature extraction later (say with different hyperparameters), user will be faced the exception:
AlreadyExistsError: There appears to be a concurrent caching iterator running - cache lockfile already exists

Currently the user can sort of get behind this behavior by simply moving the .cache operation on the intermediary dataset to after the .map operation that creates the conflicting dataset. This will introduce a performance hit, however, unless all the datasets  upstream of the intermediary dataset are cached. Which brings us to the second issue.
Even if the upstream datasets are cached, there is a bug/behavior that is causing the cache files to be deleted after an iteration over the entire zipped dataset is completed. This second bug essentially renders the workaround useless when the user wants to cache both the downstream and upstream datasets.
Describe the expected behavior
The expected or ideal behavior would be the ability of caching&retaining intermediary dataset without a problem. This would make intuitive sense for users building multi-step pipelines with the tf.data API.
Standalone code to reproduce the issue
The notebook below contains the problematic case as well as the workaround described (and its demise).
Link to Google Colab Notebook
Other info / logs
---------------------------------------------------------------------------
AlreadyExistsError                        Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/context.py in execution_mode(mode)
   2112       ctx.executor = executor_new
-> 2113       yield
   2114     finally:

9 frames
AlreadyExistsError: There appears to be a concurrent caching iterator running - cache lockfile already exists ('spectrogram_0.lockfile'). If you are sure no other running TF computations are using this cache prefix, delete the lockfile and re-initialize the iterator. Lockfile contents: Created at:<PHONE_NUMBER> [Op:IteratorGetNext]

During handling of the above exception, another exception occurred:

AlreadyExistsError                        Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/executor.py in wait(self)
     67   def wait(self):
     68     """Waits for ops dispatched in this executor to finish."""
---> 69     pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
     70
     71   def clear_error(self):

@kdonbekci
I ran the code shared but do not see the error reported on tf 2.4, please find the gist here.

I am sorry if I can't see but running the gist you've sent, I still see that the AlreadyExistsError is being caught by the code block demonstrating the issue. I've pasted the mentioned block here.
try:
  ds1 = ds.map(hard_problem, num_parallel_calls=1, deterministic=True).cache('spectrogram')
  ds2 = ds1.map(hard_problem, num_parallel_calls=tf.data.AUTOTUNE, deterministic=True).cache('mfcc')
  zipped = tf.data.Dataset.zip((ds1,ds2))
  for x in zipped:
      pass
except tf.errors.AlreadyExistsError as e:
    print(e)

And here is the entire self-sufficient code block + output demonstrating the issue again,
import tensorflow as tf
import numpy as np
print('TF Version: ',tf.__version__)
hard_problem = lambda x: x+1
ds = tf.data.Dataset.from_tensor_slices(np.random.rand(100, 50, 50))
ds1 = ds.map(hard_problem, num_parallel_calls=1, deterministic=True).cache('spectrogram')
ds2 = ds1.map(hard_problem, num_parallel_calls=1, deterministic=True).cache('mfcc')
ds3 = ds2.map(hard_problem, num_parallel_calls=1, deterministic=True)
zipped = tf.data.Dataset.zip((ds1,ds2))
try:
  for x in zipped:
      break
except tf.errors.AlreadyExistsError as e:
  print('ERROR')
  print(e)

OUTPUT
>>> TF Version:  2.4.1
>>> ERROR
>>> There appears to be a concurrent caching iterator running - cache lockfile already exists ('spectrogram_0.lockfile'). If you are sure no other running TF computations are using this cache prefix, delete the lockfile and re-initialize the iterator. Lockfile contents: Created at:<PHONE_NUMBER>

@ymodak
I am able to replicate the issue reported on tf 2.3, 2.4 and nightly, please fin the gist here.

Yes, can confirm the gist contains the error.
What's missing in the gist is the second failure of .cache and .zip where if multiple cached datasets are zipped together, Tensorflow will fail to cache all of the datasets. In fact, it will only cache a single dataset in the zip and emit warnings for the rest as such:
2021-03-04 23:36:18.516294: W tensorflow/core/kernels/data/cache_dataset_ops.cc:233] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset  will be discarded. This can happen if you have an input pipeline similar to `dataset.cache().take(k).repeat()`. You should use `dataset.take(k).cache().repeat()` instead.
2021-03-04 23:36:19.080730: W tensorflow/core/kernels/data/cache_dataset_ops.cc:233] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset  will be discarded. This can happen if you have an input pipeline similar to `dataset.cache().take(k).repeat()`. You should use `dataset.take(k).cache().repeat()` instead.
2021-03-04 23:36:19.317442: W tensorflow/core/kernels/data/cache_dataset_ops.cc:233] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset  will be discarded. This can happen if you have an input pipeline similar to `dataset.cache().take(k).repeat()`. You should use `dataset.take(k).cache().repeat()` instead.

The snippet below illustrates the second issue of incomplete iterators.
import tensorflow as tf
import numpy as np
from pathlib import Path
print('TF Version: ',tf.__version__)
Path('cache').mkdir(exist_ok=True)
hard_problem = lambda x: x+1
ds = tf.data.Dataset.from_tensor_slices(np.random.rand(100, 50, 50))
ds1 = ds.map(hard_problem, num_parallel_calls=1).cache('cache/spectrogram')
ds2 = ds.map(hard_problem, num_parallel_calls=1).cache('cache/mfcc')
zipped = tf.data.Dataset.zip((ds1,ds2))
for x in zipped:
    pass
print(list(Path('cache').iterdir()))

Right now, the only way to avoid this not-fully-consumed iterator issue is to a dummy iteration over all of the to-be-zipped dataset before the .zip in a redundant/wasteful way.

Hi @kdonbekci,
Regarding the AlreadyExistsError, can you try replacing .cache(filename) with .apply(tf.data.experimental.snapshot(filename))? snapshot is similar to cache, but supports concurrent access.
The second issue is an unfortunate interaction between cache and zip. The contract for cache (and snapshot for that matter) is that they will only finalize the cached data (making it available for future iterations) if the first pass through the data runs to completion. But zip will stop reading from all of its inputs as soon as any of the inputs run out of data. As a result, only one of the inputs to zip will run to completion and finalize its cache.

I will try the snapshot experimental feature today and let you know how it goes @aaudiber.
On the second issue, I understand the contracts for these ops require complete iteration. Although I am not familiar with the design limitations of either zip or cache|snapshot ops, it would be great if this unfortunate interaction was removed going forward.
Either caching without full iteration, like this torchdata package or improving zip to accommodate this use case seem like possible alternatives.
Especially in the case (which is my case) the zipped datasets have valid .cardinality() results which are all equal.

I've tried the new snapshot feature. By the way, reading the documentation, it's a great addition to the tf.data API!
Unfortunately snapshot is not a fix to my issue. It removes the AlreadyExistsError, however, it does not work as expected and the incomplete iteration causes buildup on disk storage. Here is the colab that uses the snapshot feature and demonstrates the growing cache directory.

I have the same issue.
It seems like you circumvent the issue by force caching by iterating over it (in this example through tfds benchmark).
After that is done you can zip without causing an error.
This is not really a practical solution, so I hope the bug gets fixed soon.
Example:
import tensorflow as tf
import numpy as np
import tensorflow_datasets as tfds
print('TF Version: ', tf.__version__)
hard_problem = lambda x: x + 1
ds = tf.data.Dataset.from_tensor_slices(np.random.rand(100, 50, 50))
ds1 = ds.map(hard_problem, num_parallel_calls=1).cache('spectrogram')
ds2 = ds1.map(hard_problem, num_parallel_calls=1).cache('mfcc')

# force full cache write
tfds.core.benchmark(ds1)
tfds.core.benchmark(ds2)

zipped = tf.data.Dataset.zip((ds1, ds2))
try:
    for x in zipped:
        break
except tf.errors.AlreadyExistsError as e:
    print('ERROR')
    print(e)

Was able to replicate the issue in TF v2.5,please find the gist here..Thanks !


how to set min/max date with specific time

Hi,
According to the documentation. I only see the option of 'days' ahead. But no (or I can't see) where is the specific setting of dates.
        maxDate: function() {
            var date = new Date();
            date.setDate(date.getDate()+1);
            return new Date(date.getFullYear(), date.getMonth(), date.getDate());
        }

I'm not sure that I understand your goal. Could you give me an example.

I will close this issue. Please reopen it if you can provide more information about it.


⚠ Bofrost.de has degraded performance

In 174605d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 931 ms

Resolved: Bofrost.de performance has improved in 182df14.


I updated tags

It does run successfully with that default value, what will happen is that "cloudwatch_logs_group_path" will ask for a name for that path to a cloudwatch logs group, what i think is that if there is a default value that is an empty string as i changed it in the last commit, it may happen that different roles may go to the same cloud watch logs group which will be the following:
""arn:aws:logs:::log-group::log-stream:*""
I personally think that is not a good idea, so it will be better to make it a required value so we specify always the intended logs_group_path that we want, I have already test the code removing the default value and it does work so it is ok if i commit with the change: "remove cloudwatch_logs_group_path deafult value" ?

Yes @juansanchez-stratusgrid - I agree that making it required would be the right option. Go ahead and push the commit and we'll approve and publish.


Add latency diagnostics for subscriber events

Add latency diagnostics for subscriber events and media events

Calculate duration from message timestamp to receive, and  how long it takes to be acked
Calculate duration for media save, load, remove

Codecov Report

Merging #495 (71e8e87) into main (c540e44) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #495      +/-   ##
==========================================
+ Coverage   91.95%   91.96%   +0.01%
==========================================
  Files          18       18
  Lines        2038     2042       +4
==========================================
+ Hits         1874     1878       +4
  Misses        164      164

Impacted Files
Coverage Δ

google_nest_sdm/event_media.py
95.07% <100.00%> (ø)

google_nest_sdm/google_nest_subscriber.py
64.55% <100.00%> (+0.53%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Accessibility]A11y_VSCode_TerminateTask_keyboard: after clicking on "Tab" key the opened "Editor" get closed

Environment Details:
VSCode Version : 1.24.0
OS Version : MAC OS HighSierra10.13.5
Additional Details:
Keyboard,MAS3.2.1,MAS2.1.1,MAS2.4.3
Repro Steps:
1.Launch VSCode
2.Navigate   to Tasks(Alt+T) menu option and select "Terminate Task" from   dropdown.
3.Click on "Tab" key.
4.Observed that, after clicking on "Tab" key then opened "Editor"or the tree view get closed.
Actual:
When user click on "Tab" key then opened "Editor"  the tree view get closed.
Expected:
When user click on "Tab" key then focus should goes on expanded dropdown values instead of closing the opened "Editor".
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
User Impact:
User will get confused on which key the proper action will performed
MAS Reference:
MAS3.2.1: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a4bbd37d-ee11-485e-b5c8-0539f0ac94b2}
MAS2.1.1: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={8492c4eb-c179-40ae-8777-cd044ed725a2}
MAS2.4.3: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
Attachment For Refernce:
TerminateTask.pptx
Does this issue occur when all extensions are disabled?: Yes

/duplicate #51850


CVE-2020-36518: Bump jackson-databind to <IP_ADDRESS>

This resolves #4145, the jackson-databind CVE.
A similar patch is also made in swagger-parser (swagger-parser#1690)

Hi @frantuma would you mind taking a look at this?
We got alerted for vulnerability as we transitively pulls in swagger, so we decided to contribute a fix to this.

we also got alerted for this vulnerability in our project. Would be great to see a new release with this fix.

Thanks!


Accidental Copy Paste

I accidentally pasted something on the Oblique Terra server and it was advertisement which I didn't mean to send because I didn't know I had it pasted and I got banned because I accidentally sent it in the chat, can I please get unbanned? Sorry for the trouble.

Hi there. I've looked over this appeal, and due to the fact you were playing on Oblique before this, I will give you the benefit of the doubt. I've unbanned you, but please do be more careful in future.

I am still banned on the server, my in game name is 9Yin. Maybe you unbanned the wrong person? Sorry for everything and thank you for your time.


fix floating window example

Added floating_window example to the Makefile, fixed raygui path, and made the resizing a bit better.
https://github.com/raysan5/raygui/assets/122418017/8af7c210-10ec-45dd-8ebc-0853fbaff802
https://github.com/raysan5/raygui/assets/122418017/55de07ec-3f32-4e8f-9b62-d50722eddcff

nice work, mouse cursor offset while resizing bothered me

@emoney17 thanks for the fix!


'secure' and 'httponly' are encoded regardless what the values are

As testing Sanic cookie setting with following from docs:
@app.route("/cookie")
async def test(request):
    response = text("There's a cookie up in this response")
    response.cookies['test'] = 'It worked!'
    response.cookies['test']['domain'] = '.gotta-go-fast.com'
    response.cookies['test']['httponly'] = True
    return response

I found when I set httponly value to False (by using response.cookies['test']['httponly'] = False)
Sanic still send a response to set the cookie with httponly flag
By looking up the source code:
https://github.com/channelcat/sanic/blob/master/sanic/cookies.py#L110
it only checks if the key (secure or httponly) exists, instead of checking the value. So, by setting the value with False, it actually still enables the flag (as opposite what we intend to do)

Thanks for reporting that! Closing this per #347


Continuous scrolling returns less than 20 records

Continuous pagination returns less than 20 records at a time. I believe the issue is duplication of returned documents.
dejavu should set a preference string at the start of a session so that consistent ordering of results can be maintained across pagination search requests.
Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-preference.html

Fixed in v0.7.0


A pattern for i18n

Requesting that in some future version of Solid Start, there is a clear path to achieve i18n, ideally in a type-safe way (typed keys). If anything exists in that direction, resources would be appreciated - thanks for the great project!

Want to add some references
Typesafe i18n - A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.
Already provides an adapter-solid
SvelteKit PR for translatable/alternate route paths


rdopkg 0.35 fails

Tripleo-ci reported this after rdopkg 0.35 was released:
https://bugs.launchpad.net/tripleo/+bug/1553173
Traceback points to the code recently added my @mhuin
in https://github.com/redhat-openstack/rdopkg/commit/2dca3bb9f1ffa12331ad2defb7c3ffd7eced4f1e
2016-03-04 12:09:21.866 | Your branch is behind 'origin/master' by 6 commits, and can be fast-forwarded.
2016-03-04 12:09:21.866 |   (use "git pull" to update your local branch)
2016-03-04 12:09:21.866 | HEAD is now at 22caed9 Merge commit 'refs/changes/79/278979/2' of ssh://review.openstack.org:29418/openstack/tripleo-heat-templates into HEAD
2016-03-04 12:09:21.867 | Switched to a new branch 'origin/master'
2016-03-04 12:09:21.872 | HEAD is now at 22caed9 Merge commit 'refs/changes/79/278979/2' of ssh://review.openstack.org:29418/openstack/tripleo-heat-templates into HEAD
2016-03-04 12:09:21.883 | Switched to a new branch 'stable/liberty'
2016-03-04 12:09:21.891 | HEAD is now at 22caed9 Merge commit 'refs/changes/79/278979/2' of ssh://review.openstack.org:29418/openstack/tripleo-heat-templates into HEAD
2016-03-04 12:09:21.899 | Switched to a new branch 'origin/stable/liberty'
2016-03-04 12:09:21.910 | HEAD is now at 22caed9 Merge commit 'refs/changes/79/278979/2' of ssh://review.openstack.org:29418/openstack/tripleo-heat-templates into HEAD
2016-03-04 12:09:21.915 | /opt/stack/new/delorean /opt/stack/new/tripleo-ci
2016-03-04 12:09:22.355 | Traceback (most recent call last):
2016-03-04 12:09:22.356 |   File "./venv/bin/delorean", line 10, in
2016-03-04 12:09:22.356 |     sys.exit(main())
2016-03-04 12:09:22.356 |   File "/opt/stack/new/delorean/venv/lib/python2.7/site-packages/delorean/shell.py", line 137, in main
2016-03-04 12:09:22.357 |     tags=cp.get("DEFAULT", "tags"))
2016-03-04 12:09:22.357 |   File "/opt/stack/new/delorean/venv/lib/python2.7/site-packages/delorean/shell.py", line 351, in getpackages
2016-03-04 12:09:22.357 |     apply_tag=tags)
2016-03-04 12:09:22.398 |   File "/opt/stack/new/delorean/venv/lib/python2.7/site-packages/rdopkg/actionmods/rdoinfo.py", line 45, in init
2016-03-04 12:09:22.398 |     repoman.RepoManager.init(self, *args, **kwargs)
2016-03-04 12:09:22.399 |   File "/opt/stack/new/delorean/venv/lib/python2.7/site-packages/rdopkg/repoman.py", line 34, in init
2016-03-04 12:09:22.399 |     if self.url.startswith('ssh://'):
2016-03-04 12:09:22.400 | AttributeError: 'NoneType' object has no attribute 'startswith'

Fixed in https://github.com/redhat-openstack/rdopkg/commit/53494133437f289ca9d0bf0af0ed74cccfea0015


[regression] WCT requires internet access to run local tests

WCT verifies it has data that already exists before it will run tests. This makes testing on a plane or at Polymer Summit completely impossible. I'm unable to run tests even though I have everything downloaded. The call to fetch/check drivers should be smarter.
Connected output
➜  polymer-inline-editor git:(polymer-v1.0) ✗ npm test

> inline-editor@ test [...snip...]/polymer-inline-editor
> wct

Installing and starting Selenium server for local browsers
Selenium server running on port 34324
Web server running on port 2000 and serving from ...

Offline output
➜  polymer-inline-editor git:(polymer-v1.0) ✗ npm test

> inline-editor@ test [...snip...]/polymer-inline-editor
> wct

Installing and starting Selenium server for local browsers
----------
selenium-standalone installation starting
----------

---
selenium install:
from: http://selenium-release.storage.googleapis.com/2.47/selenium-server-standalone-2.47.1.jar
to: [...snip...]/polymer-inline-editor/node_modules/web-component-tester/node_modules/wct-local/node_modules/selenium-standalone/.selenium/selenium-server/2.47.1-server.jar

---
chrome install:
from: http://chromedriver.storage.googleapis.com/2.18/chromedriver_linux64.zip
to: [...snip...]/polymer-inline-editor/node_modules/web-component-tester/node_modules/wct-local/node_modules/selenium-standalone/.selenium/chromedriver/2.18-x64-chromedriver

Error: Could not request headers from http://chromedriver.storage.googleapis.com/2.18/chromedriver_linux64.zip: Error: getaddrinfo EAI_AGAIN chromedriver.storage.googleapis.com:80

npm ERR! Test failed.  See above for more details.

@arthurevans can be closed as it's already merged
you can use it like this polymer test --skip-selenium-install

I'm seeing this issue now. My network connectivity is intermittent, and I still want to develop tests, but sometimes polymer test fails to run with the above messages. Is this really the intended behaviour? It seems to me that installing these things should be a one-time event.

Yes I had to go offline for this to work. I am behind a strict firewall, and currently working within a VPN.

I just tried --skip-selenium-install and I still get an error:
$ npx wct --skip-plugin sauce --skip-selenium-install
Installing and starting Selenium server for local browsers
----------
selenium-standalone installation starting
----------

---
selenium install:
from: https://selenium-release.storage.googleapis.com/3.8/selenium-server-standalone-3.8.1.jar
to: /private/tmp/fs-new-element/node_modules/selenium-standalone/.selenium/selenium-server/3.8.1-server.jar
---
chrome install:
from: https://chromedriver.storage.googleapis.com/2.36/chromedriver_mac64.zip
to: /private/tmp/fs-new-element/node_modules/selenium-standalone/.selenium/chromedriver/2.36-x64-chromedriver
---
firefox install:
from: https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-macos.tar.gz
to: /private/tmp/fs-new-element/node_modules/selenium-standalone/.selenium/geckodriver/0.19.1-x64-geckodriver

Error: Could not request headers from https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-macos.tar.gz: Error: getaddrinfo ENOTFOUND github.com github.com:443

I already have all those files downloaded.

Hi @redbugz - pay attention to the file names. When you download the archives you have to extract the content, move it to the correct folder and rename it accordingly.
Also make sure that in your hosts file localhost resolves to an IPv4.


Issue with k8s.io/docs/concepts/services-networking/connect-applications-service/

[x] Bug Report

Problem:
Testing Kubernetes on-premises.
"kubectl get nodes -o yaml" is not showing "ExternalIP"  - only "InternalIP", and "" is shown in "kubectl get svc -o wide"
Therefore (probably) Service with LoadBalancer method is not coming up, and can't be used.
Proposed Solution:
Page to Update:
http://kubernetes.io/...

Kubernetes Version:1.8

This issue sounds more like a request for support and less like an issue specifically for docs. I encourage you to bring your question to the #kubernetes-users channel in
Kubernetes slack. You can also search resources like
Stack Overflow for answers  to similar questions.
You can also open issues for Kubernetes functionality in https://github.com/kubernetes/kubernetes.
If this is a documentation issue, please re-open this issue.


Updated metadata, which now includes some images and map points

I updated the subjects metadata as well - there is a conflict, but the newest metadata should include the changes from above


Allow header object injection.

Subject headers containing non ASCII characters are not supported by
the GenericHeader. Therefor it is required to be able to provide objects
for headers.

@jaapio I'm ready to merge this. Please rebase against current master and update documentation ( doc/Composer Plugins.md file) with an example.

I updated the documentation. Any additional changes required?

Looks good! I will test it manually later today and then merge.

Thanks Mat!
Op di 21 mrt. 2017 19:15 schreef Mateusz Tymek<EMAIL_ADDRESS>Merged #30 https://github.com/mtymek/MtMail/pull/30.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mtymek/MtMail/pull/30#event-1009118164, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABAuUei_MMSO85dMXt9sBq4j8Bs31wO-ks5roBO4gaJpZM4IrTsp
.


Improve dtab playground error message

If the Path or Dtab is invalid, display a better error message than "Bad Request"

:star: code looks good; what would it take to add a test for this?

lgtm!

lgtm


separators look better with dark themes

With dark themes, such as the One Dark UI, the separators are virtually invisible. These values I used seem to work well with both dark and light UI's.

I am closing this because further testing shows that the issue is only with the One Dark and One Light UI's. All others are fine. This PR actually make the former two look better, but all others look worse. I am opening an issue instead as this is not a good solution.

See: https://github.com/suda/tool-bar/issues/261


Make sha256t_hash_newtype! evocative of the output.

The Rust API guidelines state that macros should be evocative of the
output, which is a sensible recommendation. We already had this for
hash_newtype! macro but didn't for sha256t version.
This changes the macro to have this syntax:
sha256t_hash_newtype! {
    // Order of these structs is fixed.
    /// Optional documentation details here. Summary is auto-generated.
    /*pub*/ struct Tag = raw(MIDSTATE_BYTES, LEN);

    /// Documentation here
    #[hash_newtype(forward)] // optional, default is backward
    /*pub*/ struct HashType(/* attributes allowed here */ _);
}

Closes https://github.com/rust-bitcoin/rust-bitcoin/issues/1427
Depends on #1769
How do you like the syntax? Is weird struct Foo = bar(..); acceptable?

Cool.

I think #1758 will fix the CI fail.

LOL, you merged it already. OK I guess. :)
Regarding naming, all of them are IVs, so telling what's specific about them seems better. Mentioning BIP-340 sounds good. Byte version was added just in case something comes up in the future.
Maybe just bip340() and raw?

@Kixunil bip340 and raw sound great to me!
Yes, yes, sorry for going ahead and merging -- the PR seemed reasonably large and conflict-prone, and the naming unimportant enough that it could get slipped, that I figured it'd be nicer to do the renaming (if we decided to) in a different PR.


Version 2.2.0 is very unstable

I upgraded StackStorm a few weeks ago from version 2.1.1 to version 2.2.0, but I'm at the point of reverting back to version 2.1.1.
StackStorm seems very unstable. CPU usage can suddenly be very high when StackStorm is doing no executions. Since yesterday commands from Slack executed an action in StackStorm, but chatops.post_result wasn't triggered, so chatops is broken. And today a rule that must trigger a workflow doesn't work anymore.
What's going on?!

Thanks for reporting this.
From top of my head, I can't think of any direct change we made which could have an effect on this.
The only thing I could think of is an issue because of the dependencies upgrade - we upgraded some libraries we depend on (and the only one being potentially problematic is paramiko used for remote runner actions, but this would potentially only affect remote runner actions).
Having said that, without any additional and more detailed information it's just speculation and we can't help.
To get a better understand of what is going on, we would at the very least need:

Actual full system snapshop when issues happen (memory usage, CPU usage, syscalls)
Logs of all the corresponding services
Idea of what kind of workflows, etc you are running
Which process is causing high CPU usage? actionrunner? something else?

Ideally you could provide output from something like Sysdig (http://www.sysdig.org/) or at the very least, strace the offending process.
As far as the rule goes - this looks like an unrelated thing and we also can't know what is going on without having all the information (logs, which rules are in place, etc.).

It seems it's just isolated to Mistral. With strace I was able to figure out that a core.remote action was trying to connect with SSH to a Solaris server. But the SSH connection didn't gave a timeout. It completely hanged the mistral task into running state and I was not be able to cancel it. Even with all the instructions on this page https://stackstorm.reamaze.com/kb/mistral/mistral-workflow-stuck-in-running-state. The resource usage on the servers was just crazy. I had to completely redeploy the rabbitmq, mongodb and postgres server to get a nice running StackStorm environment again.

I converted the mistral workflows to action chains which seem much more robust.

The resource usage on the servers was just crazy

@pietervogelaar Could you provide some more stats on what you were seeing? memory usage, CPU, which processes were consuming resources, etc?

@pietervogelaar Do you have a good way to reproduce this? You mentioned ssh to a non-existent or down box - is that how you're able to reproduce it?

The core.remote action was used as task in a Mistral workflow. It connected to a Solaris server that runs Oracle. They said they fased out the this server, but when everything hang I tried SSH manually. What I found was that the server was not yet destroyed, but was still pingable. However when I tried to login with SSH, my prompt was just busy/waiting. I didn't get a fail, but I also didn't get logged in. With strace on the st2actionrunner process that caused a high load, I saw a recv failed about every 10 seconds. The message was something like "The resource is temporarily unavailable". So I think the process was trying it over and over again which causes the task to keep running and never end. And maybe because the connections where hanging and new connections were opened, load was stacking up.

In version 2.3 we've made some changes to the Mistral workflow querier processes, in https://github.com/StackStorm/st2/pull/3413 and https://github.com/StackStorm/st2/pull/3420
I suspect that some of the issues you were seeing are related to those. Will be interesting to see if problems persist with v2.3.


Fix for issue #204 - added Convert-ExistingThemePaletteToHashTable function

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

This change is

Codecov Report

Merging #205 into Dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              Dev     #205   +/-   ##
=======================================
  Coverage   88.39%   88.39%
=======================================
  Files          52       52
  Lines        4594     4594
  Branches        8        8
=======================================
  Hits         4061     4061
  Misses        525      525
  Partials        8        8

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 ee23d22...dfebc33. Read the comment docs.


New extension methods to make filtering of Types functionality more accessible

This is done on the premise that these methods are rather useful; but, hard to find.
These extension methods are still on a fairly specialized type so they  should not cause much of a pollution problem.  Even then these might be fairly common things to want to do on that type so I still think it would not be pollution.

I would argue that this is out of scope of FluentAssertions. These methods are definitely very useful but some might be tempted to reference FluentAssertions from non-test projects just to get them.

I see your point.  From my point of view the feature is already in FA but can be hard to find.  So long as the feature is there, should make it as convenient as possible for users.
As it happens, people already do reference FA for other things though maybe not for these methods in particular.


WAN

The problem
WAN and WAN????

Your device model
RT-AC57U V3
Firmware type
Stock
Firmware version

Integration version with the issue
0.21.1
Method of the integration installation
HACS
What version and type of Home Assistant installation do you use

Is there anything useful in the logs?
No response
Diagnostics information
No response
Additional information
No response

Please, follow the step I suggested in the previous comment:

Uncheck the WAN interface selected there
Check the other WAN interface
Save the options

After integration will restart, everything will be fixed.
If the problem is not solved via the proposed steps, please, reopen this issue


Add support for GitHub Action workflow commands

What You Are Seeing?
The IGitHubActionsProvider currently gives access to some environment values.
What is Expected?
It should also provide Workflow commands
What version of Cake are you using?
0.38.5
Are you running on a 32 or 64 bit system?
64 bit
What environment are you running on?  Windows? Linux? Mac?
N/A
Are you running on a CI Server?  If so, which one?
GitHub Actions
How Did You Get This To Happen? (Steps to Reproduce)
N/A
Output Log
N/A

Is this related to #2609?

Yes.
The question is what the scope of #2609 is? Part is already done in IGitHubActionsProvider (access to environment variables), another with the Cake Action, support of workflow commands is another part where this issues overlaps with #2609, and having additional helpers for stuff like uploading artifacts, which is not supported by workflow commands is the third part.
Wouldn't it be better to close #2609 and create individual issues for the remaining issues instead?

I started working on #2609 already and I was actually thinking about implementing this, as well.
Adding support for interacting with GitHub Actions could still be tracked in #2609, but I'll create separate PRs for each area (environment, commands etc). Would that be fine or would you rather track them as individual issues?

As we use issues for or release notes, if it's separate features enough to warrant multiple PRs, then I think we should split into multiple issues.

The way I see it, adding complete support for interacting with GitHub Actions is one feature. But I'm fine with splitting it up, if you prefer.

The confusing thing is, that part of it already has shipped with current version of Cake and remaining parts probably might ship in different versions. Therefore I'm with @devlead on this, that separate issues make sense in this case, since we're using them for release notes.

Since I'm already working on #2609, I'll take on this one, as well.


feat(framework): StepStack

From the screenshot it looks like the circles are in fact not circles but ellipses. Can we get them round?

Published to npm


refactor: postgres_backend: replace abstract shutdown_watcher with CancellationToken

Preliminary refactoring while working on https://github.com/neondatabase/neon/issues/7427
and specifically https://github.com/neondatabase/neon/pull/8286

Need to update workspace hack with cargo hakari generate.


[labs/virtualizer] Nesting lit-virtualizer leads to several issues

Which package(s) are affected?
Virtualizer (@lit-labs/virtualizer)
Description
The issue(s)
I've observed two issues when trying to nest lit-virtualizer more than 2 levels:

The loading time for the list rises dramatically
This is due to the virtualizer seemingly unwrapping all levels completely. Locally i was logging the rendered elements and it was pretty much around as many as there are items in the underlying data.
Another related issue, also visible in the repro below. There is collapsible details elements. Closing them has a significant delay. Opening them seems to take almost no time at all.
scrolling behaves erratically when nesting 2 or more levels down
This can be seen in the reproduction below. Scroll to the middle via the scrollbar; then try to scroll up via the mouse wheel or the page up key. You'll very likely get stuck in a loop (the page always jumps back down at some fix point).

For context
I wanted to implement a virtual list with items going as far up as 10.000+ in count. This is not a lot and lit-virtualizer can handle that very well (if not nested).
The nesting came into play when the desire for collapsibility arose. I wanted to be able to collapse datetime entries by year, month and day. For that i sectioned the original list and wrote a wrapper called nested-lit-virtualizer. The loading times became unbearable at level 3 and after a while i observed the erratic scroll behavior.
I tried to figure out why the loading times were going up so much but i couldn't sufficiently wrap my head around the code within an hour, so i thought it's probably smarter to describe the behavior and ask you people. :)
General question: Is nesting generally or this deep even a feature?
While trying to understand what's going on under the hood i asked myself if lit-virtualizer is thought to be able to handle such deep nesting. Issue #3910 suggested to me it might but i'm not entirely sure.
Is it?
If no, feel free to close this issue.
Reproduction
The following repro displays both mentioned issues:

Lit playground repro

As i wasn't able to import a date-time library, i reproduced the issue with random strings. The functionality is basically the same otherwise.
Workaround
I have not found a workaround.
I was considering different data structures effectively making the nesting unnecessary. I could not yet come up with an easy or quick way of then adding the collapsibility without having to add too much extra logic.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
2.0.3
Browser/OS/Node environment

Browsers:

Google Chrome: 114.0.5735.133
Brave: 1.52.126 (Chromium 114.0.5735.133)
Firefox: 113.0.1 (Build<PHONE_NUMBER>1846)

OS: macOS Catalina (10.15.7)

The best solution I've found for needing expand/collapse functionality is to flatten the tree into a single array of data. Then compute the "visible items" based on either being a root element or their parent being expanded. This all aligns with a Tree View Pattern. Which when doing a flattened tree is best to implement as a "declared property" type.


fix guardrail attributes when invoking bedrock

Fixed bedrock attributes when using guardrails. See example of usage:
from langchain_core.messages import HumanMessage
from langchain_aws.chat_models import ChatBedrock

llm_model_id='anthropic.claude-3-haiku-20240307-v1:0'

chat = ChatBedrock(
    model_id=llm_model_id,
    streaming=True,
    model_kwargs={"temperature": 0.1},
    guardrails={"guardrailIdentifier": "identifier", "guardrailVersion": "1", "trace": True},
)

messages = [
    HumanMessage(
        content="What are the financial advice you can give me?"
    )
]
for chunk in chat.stream(messages):
    print(chunk.content,  end="", flush=True)

@3coins This is the PR for guardrails with the new structure. Can you please have a look?
Thanks.

@brnaba-aws
Thanks for making this update. This looks like a breaking change, does Bedrock have a version that works with the previous format or all clients need to move to this new API?
Also, can you add some unit tests for this, or paste your test results here.

Looking forward to get this fix merged for the GA version of Guardrails for Amazon Bedrock.

This looks like a breaking change, does Bedrock have a version that works with the previous format or all clients need to move to this new API?
Is backward compatibility needed for the "Preview" version of Guardrails?

langchain-aws version used: 0.1.4
Have tried all the below scenarios:

 guardrails={ "trace": False,
             "accept": "application/json",
             "contentType": "application/json",
             "modelId": model_id,
 "guardrailIdentifier": "identifier", --> "id" of the Guardrail I created using Bedrock Console.
 "guardrailVersion": "5"}

guardrail_kwargs={"guardrailIdentifier": "identifier", "guardrailVersion": "5"}

guardrails={ "trace": False,
"guardrailIdentifier": "xxxx" --> the ARN of the guardrail I created using Bedrock Console.
"guardrailVersion": "5"}

guardrails={ "trace": False,
"guardrailIdentifier": "identifier", --> "id" of the Guardrail I created using Bedrock Console.
"guardrailVersion": "5"}

Adding the exception below:

2024-05-19 15:27:29,346 ERROR root ScriptRunner.scriptThread : Error Occured: Error raised by bedrock service: Parameter validation failed:
Unknown parameter in input: "guardrailIdentifier", must be one of: body, contentType, accept, modelId
Unknown parameter in input: "guardrailVersion", must be one of: body, contentType, accept, modelId

Tried the alternative as below:
guardrails={ "trace": False,
"id": "identifier", --> "id" of the Guardrail I created using Bedrock Console.
"version": "5"}
Got the exception as below:
Error Occured: Guardrails must be a dictionary with 'guardrailIdentifier'                  and 'guardrailVersion' keys.
The below option doesn't give any error but eventually has no relevance as the identifier value is None:
guardrails={ "trace": False,
"guardrailIdentifier": None
"guardrailVersion": "5"}
Please suggest the correct way of passing the guardrail parameter for it to work.
PS: I have tested the Guardrail from Bedrock Console and it works like a charm.

@MaverickScientist Which version of boto3 do you use? It seems like the version you have is not the latest. If you use a lambda, verify the boto3 version and if it is not a version that supports guardrails attributes, package your lambda with the latest version of boto3.

Moving to boto 1.34.108 fixed it.


editable notices

This fixes #28

[x] introduces notices (with title, content and a language)
[x] introuces pinned notices with a fixed set of enumerated names
[x] render notice content as markdown (using blackfriday/v2)
[x] have some defaults (currently done by the migrations, might want to revisit with a nicer way (large text inside raw INSERT INTO can be finicky))
[x] simple admin UI to edit/update notices
[x] link them up in the UI
[x] remove /news/

Future TODO:

style all the new layouts :see_no_evil:
styling of the markdown
wire up the language picking with dropdowns and session cookies
more tests for the HTML UI

One thing I'm side stepping for somebody else is that while you can create new notices and don't assign them to a pinned one to create custom pages, there is no way to link them in the layout but from other notices. i.e. you can't edit the menu(s) like you might be able to in a proper cms. I think this is fine for now.

@staltz  could you take a look at 1 and 2 of the _future TODO_s?
There are three new templates, notice/show, notice/list and admin/notice-edit. I re-used the edit template for the draft new translation mode, too.
The list and show template have links for edit when an admin is logged in. What do you think about this? I didn't want to overload the admin interface with more new pages.
I also only placed a list of the notices on top in the "login nav" since we don't have a footer yet. Properly doing this would need a little template helper ala {{notice "CodeOfConduct"}} which looks up the notice and calls urlTo with the ID but I think this is fine for now.
I thought 4 and maybe 3 might be nice for Alex next week to get a practical intro of how everything works.

I'll review now :)

could you take a look at 1 and 2 of the future TODOs?

Yes. Do you mean that I would do it in this PR, or in other PRs post-merging? I prefer the latter

The list and show template have links for edit when an admin is logged in. What do you think about this? I didn't want to overload the admin interface with more new pages.

Ok. I'll take a look how the overall UI structure is, will still make up my mind how it should be presented to the user.

I also only placed a list of the notices on top in the "login nav" since we don't have a footer yet. Properly doing this would need a little template helper ala {{notice "CodeOfConduct"}} which looks up the notice and calls urlTo with the ID but I think this is fine for now.

Yup, I thought these would be best in a footer. I'll take a look, and we can make more PRs for this stuff.

I thought 4 and maybe 3 might be nice for Alex next week to get a practical intro of how everything works.

Good idea

Oh, and /notice/list still displays a "News" entry. Is this a side effect of me not deleting my local database and rebuilding from scratch, or is this intended?

Doing these things in a new PR Post-merge is fine by me.
The News item is a new thing.. I'm not good with names and open to suggestions. The constants are defined in admindb/types.go
The markdown rendering is pretty simple, single line. Just need to pass the pindb to the handler that does the landing page and get() the notice.

For 3) you can see how this is done in web/i18n - once we do this proper we need to consolidate this with the user session maybe but copying that and just using accept-language should be fine for now.
tangential: We also need a list of languages and flags somewhere

Great, let's merge then.
I could work on:

style all the new layouts see_no_evil
styling of the markdown
Put the "list of notices" as a side-menu item called just "Notices", available only for the admin
Put links to CodeOfConduct and PrivacyPolicy in the footer for every user to see, using the {{notice "CodeOfConduct"}} idea
Render the markdown for the description notice inside the landing page content

And these could be put in a new issue:

The notice page (e.g. Code of Conduct) would automatically pick up the user's declared browser language
The notice page would show links to alternative translations if they exist
For 3) you can see how this is done in web/i18n - once we do this proper we need to consolidate this with the user session maybe but copying that and just using accept-language should be fine for now.
tangential: We also need a list of languages and flags somewhere


[Question] Minimal OAuth client scope for basic network access

Hi, I'm not very experience Tailscale user and I don't fully understand all the risks that having access to various parts of the Tailscale API could pose if misused. As such, my question is - what are the minimal OAuth client scope settings required for a simple (IP-based) access to a remote host on a Tailscale network from CI?
Would devices:read be enough if remote host IP is known upfront?

The OAuth client is responsible for creating the node on the tailnet. device:write will allow it to do so. You'll be required to specify a Tag for the nodes it creates, OAuth clients cannot create nodes for a User (because they don't have a User), they can only create nodes for a Tag. https://tailscale.com/kb/1068/acl-tags/
What access that node gets is determined by the ACLs applied to the Tag, not by the OAuth client. The default ACL allows anything to connect to anything, but if you've modified the ACLs to limit access then you'll need to ensure the CI Tag is allowed to access what it needs to get to.

The only thing the OAuth client goes for this github-action is create the node on the tailnet. device:write is sufficient for that.
An OAuth client with acl:read would be allowed to use the API to read the ACLs: https://github.com/tailscale/tailscale/blob/main/api.md#get-policy-file
That isn't necessary for this GitHub Action, you'd only need acl:read if you're going to additionally do something else which requires reading the ACL file.

Thank you, @DentonGentry !


Windows 11, CUDA 12, Kaolin and Omniverse and RTX 4090

What version of CUDA Pytorch would you recommend (11.3, 11.6 or 11.1) for Installing Kaolin on Windows 11?
Does Kaolin and Omniverse work well with Windows 11/10 also for training? It looks it is supported now for Windows.
Will it work also in a 4090 or I should use a A6000?
Thanks for the support and reply in advance.

Hi @albertotono , testing Kaolin on windows is always a bit difficult, however it should work on both Windows on both 11.3 and 11.6. AFAIK it should work on 4090, and if there is any issue on this GPU i will prioritize fixing it.

I ran into several issues with both Linux and Windows with the 4090 tbh. I was able to install Kaolin with my previous 2080 Ti, and with a A5000 but not on the 4090 unfortunately. I also had this issue with Kaolin/Omniverse on Linux https://forums.developer.nvidia.com/t/gpu-rtx4090-v-s-rtx-3090/236867/6 . Was someone able to run with a 4090 on windows?


dpgplvm.py: a tiny bit of source formatting

Remove tabs, wrap long lines & fix a typo.

I suggest to use a "rebase & merge" (or even "squash & merge" if you prefer).

Codecov Report

Merging #849 into devel will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##            devel     #849   +/-   ##
=======================================
  Coverage   54.36%   54.36%
=======================================
  Files         211      211
  Lines       21526    21526
  Branches     2893     2893
=======================================
  Hits        11703    11703
  Misses       9273     9273
  Partials      550      550


Loop images

This PR

renames the docker image folders to be in sync with docker image names (e.g. downloadNewDataFromURL => download-new-data-from-url)
adds a matrix with the docker image names and deploys the defined images defined within this matrix
removes the npm parts (npm ci, npm test) from docker deploy action file
lets the test action run on every new branch and main

@weskamm please review

This looks nice, feel free to merge!


Fix compatibility with OpenCV 4.7.0

Fix https://github.com/ami-iit/bipedal-locomotion-framework/issues/586 .

I guess also @prashanthr05 may be interested on this.

Thank you @traversaro


keras outputs differently in different versions on tensorflow backend

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.14.0
Custom code
Yes
OS platform and distribution
windows colab
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I have a keras model and an input. I use model to predict this input. I found that in keras v2.3.1, it predicts nan. However, in keras v2.14.0, it outputs normally.
Standalone code to reproduce the issue
import keras
import numpy as np
print(keras.__version__)
from keras.datasets import mnist
(x_train,y_train),(x_test,y_test) = mnist.load_data()
model = keras.models.load_model('/content/322-tensorflow.h5')
input = np.load('/content/input.npy')
model.compile(loss='mean_squared_logarithmic_error', optimizer='adadelta')
history = model.fit(x_train, y_train)
model.predict(input)

Relevant log output
keras v2.14.0

WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
1875/1875 [==============================] - 27s 11ms/step - loss:<PHONE_NUMBER>574403104768.0000
1/1 [==============================] - 0s 408ms/step
array([[-1902.7032 ,   141.09955,  -277.39343,  1343.9507 ,  1219.6061 ,
          893.0104 ,   997.8686 ,  2026.3091 ,  -905.83954,  -349.66815]],
      dtype=float32)

keras v2.3.1
Epoch 1/1

10/10 [==============================] - 1s 104ms/step - loss:<PHONE_NUMBER>1965394441535488.0000
[[nan nan nan nan nan nan nan nan nan nan]]

@cheyennee Keras and TensorFlow undergo continuous development, and internal changes in their implementation can lead to subtle differences in the way models are executed and how outputs are generated. So it might give a different outcome which we expect to be better in every new release. We would recommend you to use the latest version as the older ones are not actively supported.
Thank you!

Same problem can be found in this model. In version 2.14, model works well. while in version 2.3.1, it throws error:
tensorflow.python.framework.errors_impl.InvalidArgumentError:  Only ranks up to 5 supported: [10,2,4,5,3,3]
	 [[node 15_dense/BiasAdd (defined at \software\anaconda\anaconda\envs\muffin3.6-1\lib\site-packages\tensorflow_core\python\framework\ops.py:1751) ]] [Op:__inference_keras_scratch_graph_10145]

Function call stack:
keras_scratch_graph

@cheyennee Thank you for your response here!
This issue  is not replicating the latest and we also recommend to use the newer version. Version 2.3.1 is not actively supported so could you please move this issue to closed status?
Thank you!


New ABM parameters file with profile

New files with several profile. Need improvement (parameters in Camp Parameters category can be moved and read from another file as they do not depend on profile)

@serrgaia I have closed this pull request and merged it into the dev branch.


3MB upload size limit cannot be changed

Hello.
I am trying to change the limit of maximum size of uploaded file into repository,
but after adjusting the value in config, I am still getting an error message:
"File size (6 MB) exceeds the maximum size of (3 MB)."

Config:
[attachment]
ENABLE = true
PATH = data/attachments
MAX_SIZE = 40
MAX_FILES = 5

===================================

Gitea version (or commit ref):  1.3.2
Git version: 2.16.2
Operating system: CentOS 7
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL) applies globally
[ ] No
[ ] Not relevant

Thank You.

Did you restart gitea after changing app.ini?

Hello lafriks.
Yes, sure.

Can't reproduce. Are you sure you are modifying custom/conf/app.ini and not custom/conf/app.ini.sample?

Hello theowl. Thank You for reply.
Yes I was modifying the $GITEAHOME/custom/conf/app.ini
Now I have reinstalled the whole OS and I will try to reproduce it again in clear environment.

Hello.
I can confirm, that it is working now.
I reinstalled the whole OS
CentOS 7, kernel: 3.10.0-693.17.1.el7.x86_64).
Thank You for quick reply.

I have installed gitea via docker on my Synology NAS (it works very fast :-) Thank you) But, I have the same problem with upload limit.
Changes in the [attachment] section (app.ini) only work if I upload a file under "releases".
In the code section, it does not matter what I enter in the app.ini (and uploads are loaded to "/data/uploads" (not "/data/attachments"))
I restart and rebuil the Dockercontainer / and different versions. Now, I use gitea/gitea:latest
[attachment]
ENABLED         = true
PATH            = /data/attachments
ALLOWED_TYPES   = /
MAX_SIZE        = 60
MAX_FILES       = 20 #


Add JsRuntime / AppRuntime documentation

Add a separate md doc that explains why these classes exist and how to use the API.

Already done.


Example of the new output:

The downscaler failure looks like a lingering Python 3.12 issue at head with pykube as well, and all that's left is Pulumi, which I expect to fail (also b/c of Python 3.12 stuff), so going to TBR this now.


AssertionError: isfinite(phi_c) && isfinite(dphi_c)

Sometimes I see this issue during the step "Testing entire pipeline on workers", even without BFGS turned on. It appears this happens during Newton's method. I have only observed this with very nonlinear operators like power laws and exponential functions.
To fix this issue for BFGS, I changed from HagerZhang (default) to BackTracking for the line search. I suppose we should try this for the other optimization strategies as well?
Another thing I should note is that this error goes away with increasing the precision, so it seems it just encounters an error during optimization.

I'm encountering this error very consistently when using the following parameters (in the Python frontend)
pysr(x, y, weights=weights, procs=10, populations=10, annealing=False, useFrequency=True, progress=True,
optimizer_algorithm='BFGS', optimizer_iterations=10, optimize_probability=1,
unary_operators=['neg', 'exp', 'sin'], binary_operators=['+', '-', '*', '/', 'pow'])

I have installed the latest version of this package (v0.5.16) and if I understand it correctly, this version already uses BackTracking for the line search.


LBNet not working in Windows 11

I am finding that LBNet is not working in Windows 11, at least not when using it to act as a client. For example, usign LBNet to download a web page results in a connection error.

I have been looking to this further and I stumbled upon this page:
https://stackoverflow.com/questions/69856792/winsock-connect-fails-with-wsaefault-error-on-windows-11-only/69859627
I changed all instance of AF_UNSPEC to AF_INET just to test with IPv4 only and it seems to work. I'm not claiming I've found the problem as there may be more to it than I can fathom, but this certainly seems to be along the right lines. I gues implementing the dual-stack socket rather than using AF_UNSPEC might be necessary to make the DLL compatible with Windows 11?

Looks like I'm actually misusing AF_UNSPEC when creating the socket - it's only supposed to be used for the call to getaddrinfo(), as far as I can tell, now.
I'll see if I can get a quick correction for this.

Sounds good, I can test on my Windows 11 VM as soon as you think it might be sorted :)

Do you want me to make a build for you?  Or do you want to just pull the code and compile or yourself?  Or make the change yourself and build, there's only two lines that actually need to change to fix this.
If you want to do it yourself, there's two lines in LBNet.cpp that are both:
s = socket(ptr->ai_family, ptr->ai_socktype, ptr->ai_protocol);
Just replace both lines with the following:
s = socket(ptr->ai_family, ptr->ai_socktype, ptr->ai_protocol);

I'll give it a go now, I can change and build and let you know the result. Give me a few mins.

I can confirm that seems to have sorted the issue. It seems to be fine on Windows 11 now and I'm not seeing the connection error at all.
Time for a new release :)

Been using this now for a few days on Windows 11 and have had no issues. That fix has definitely sorted the issue I was experiencing.


uuid version is not up to date

Because fast_cached_network_image 1.2.0 depends on uuid ^3.0.7 and no versions of fast_cached_network_image match >1.2.0 <2.0.0, fast_cached_network_image ^1.2.0 requires uuid ^3.0.7.
So, because xxx depends on both fast_cached_network_image ^1.2.0 and uuid ^4.0.3, version solving failed.

Version updated