x/tools/cmd/gopls: failed to GoToDefinition for cipher package in vscode using ctrl + left click

What version of Go are you using (go version)?

$ go version
go version go1.12.5 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/hujianxin/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/hujianxin/go"
GOPROXY=""
GORACE=""
GOROOT="/home/hujianxin/g/go"
GOTMPDIR=""
GOTOOLDIR="/home/hujianxin/g/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/hujianxin/t/godemo/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build100322405=/tmp/go-build -gno-record-gcc-switches"

What did you do?

mkdir godemo1
cd godemo1
go mod init test
touch main.go
paste the following code into main.go
move the cursor on cipher.Stream , F12(GoToDefinition) works well
close the open file: $GOROOT/src/crypto/cipher/cipher.go, that is nesseary
ctrl+right click on cipher.Stream(), fails to work
F12 also fails to work

What did you expect to see?
jump to definition of Stream method
What did you see instead?

Looking at the documentation for cipher/stream (https://golang.org/pkg/crypto/cipher), it seems like there is no Stream() function defined in that package. Can you check if the same thing happens when you define:
var _ cipher.Stream

I've been having code completion issues in my project today and found this issue while searching. I can reproduce the issue above, and also a gopls crash. I apologize if this is pile-on; let me know if it would be better to file a separate issue.
I started a new directory outside GOPATH, ran go mod init github.com/cee-dub/gopls-bugs/vscode and typed in
package main

import "crypto/cipher"

func main() {
	var _ cipher.Stream
}

which produces the same series of errors:
[Error - 4:54:50 PM] Request textDocument/hover failed.
  Message: no object for ident Stream
  Code: 0

Adding parentheses after Stream to make Stream() causes a panic and VSCode restarts the server unsuccessfully 5 times, then gives up.
[Info  - 4:55:24 PM] no signature help for file:///Users/cameron/src/gopls-bugs/vscode/main.go:5:22 : cannot find an enclosing function
[Error - 4:55:24 PM] Request textDocument/codeAction failed.
  Message: /Users/cameron/src/gopls-bugs/vscode/main.go:6:21: expected ';', found '(' (and 1 more errors)
  Code: 0
panic: parse : empty url

goroutine 22 [running]:
golang.org/x/tools/internal/span.URI.Filename(...)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/span/uri.go:27
golang.org/x/tools/internal/span.CompareURI(0xc0000ee680, 0x33, 0x0, 0x0, 0x0)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/span/uri.go:64 +0x2f6
golang.org/x/tools/internal/lsp/protocol.(*ColumnMapper).Range(0xc0007ab2c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/lsp/protocol/span.go:49 +0xaa
golang.org/x/tools/internal/lsp.toProtocolDocumentSymbols(0xc0007ab2c0, 0xc001965a40, 0x1, 0x1, 0xc001965a40, 0x1, 0x1)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/lsp/symbols.go:35 +0x260
golang.org/x/tools/internal/lsp.(*Server).documentSymbol(0xc000100f00, 0x175af60, 0xc0007ab230, 0xc000cb33c0, 0xc000cb33c0, 0x0, 0x0, 0x0, 0xc001492a00)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/lsp/symbols.go:23 +0x164
golang.org/x/tools/internal/lsp.(*Server).DocumentSymbol(0xc000100f00, 0x175af60, 0xc0007ab230, 0xc000cb33c0, 0xc000cb33c0, 0x0, 0x0, 0xc0005ecf80, 0x0)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/lsp/server.go:199 +0x4d
golang.org/x/tools/internal/lsp/protocol.serverHandler.func1(0x175af60, 0xc0007ab230, 0xc00017a3f0, 0xc0005ed440)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/lsp/protocol/tsserver.go:335 +0x53bc
golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1(0xc0000b3d40, 0xc00017a3f0)
	/Users/cameron/src/go/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:288 +0x189
created by golang.org/x/tools/internal/jsonrpc2.(*Conn).Run
	/Users/cameron/src/go/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:278 +0xba
[Info  - 4:55:24 PM] Connection to server got closed. Server will restart.
[Error - 4:55:24 PM] Request textDocument/documentSymbol failed.
Error: Connection got disposed.
	at Object.dispose (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/main.js:876:25)
	at Object.dispose (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-languageclient/lib/client.js:57:35)
	at LanguageClient.handleConnectionClosed (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-languageclient/lib/client.js:2036:42)
	at LanguageClient.handleConnectionClosed (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-languageclient/lib/main.js:127:15)
	at closeHandler (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-languageclient/lib/client.js:2023:18)
	at CallbackList.invoke (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at closeHandler (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/main.js:226:26)
	at CallbackList.invoke (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at StreamMessageReader.fireClose (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/messageReader.js:111:27)
	at Socket.listen.readable.on (/Users/cameron/.vscode/extensions/ms-vscode.go-0.10.2/node_modules/vscode-jsonrpc/lib/messageReader.js:151:46)
	at Socket.emit (events.js:187:15)
	at Pipe.Socket._destroy._handle.close [as _onclose] (net.js:596:12)
[Info  - 4:55:24 PM] Build info
----------
no module information, gopls not built in module mode

Go info
-------
go version go1.12.5 darwin/amd64

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/cameron/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/cameron/src/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.5/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/cameron/src/gopls-bugs/vscode/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/r3/kh_tqb1j47ldzdbqfrtts6q40000gn/T/go-build674408149=/tmp/go-build -gno-record-gcc-switches -fno-common"

The only non-default setting for the above is "go.useLanguageServer": true from the .vscode/settings.json file.

I have tried var _ cipher.Stream, same issue, thanks

@stamblerre

@hujianxin @cee-dub can you rebuild gopls off master and see if the error is fixed?

The change in https://golang.org/cl/181578 has drastically increased stability of gopls for me. Thank you!

@muirrn I upgraded gopls to the latest version, and checked, this issue has gone away, thanks


[iOS] Are there any plans to add Privacy Manifests?

Apple recently announced that starting in Spring 2024, apps will be required to include more privacy-related reasoning for "third-party SDKs." This includes providing details in privacy manifests about data use by these SDKs. You can read more about this requirement on the Apple Developer website: Describing Data Use in Privacy Manifests
Many popular Flutter plugins, such as shared_preferences, have already implemented these manifests. You can see an example of such a manifest in the shared_preferences plugin here: PrivacyInfo.xcprivacy
Given these upcoming requirements, it's important to note that even libraries that do not collect privacy-policy-relevant information may need to include an empty PrivacyInfo.xcprivacy file to avoid potential rejection.
Thank you for your attention to this matter.

MLKit seems to be supported by
https://github.com/googlesamples/mlkit/issues/795
I am sure the flutter plugin will support it after the above release.
It would be nice to have some kind of announcement.

I have been very busy with my job and personal life. Contributions are welcome. Send your PRs and I will review them ASAP. So far I do not have an ETA for all the new features.

The latest MLKit has been released.
https://github.com/googlesamples/mlkit/issues/795#issuecomment-2064955148

@ShuheiSuzuki-07 : I do not have an ETA for this new feature. Feel free to send your PR with your contribution.

Seems like there was a recent release on pub which included the commits to bump MLKit deps. However, it seems like I'm still getting an outdated version of the dependencies. Am I missing something?
pubspec.yaml:
environment:
  sdk: '>=3.3.1 <4.0.0'

dependencies:
  flutter:
    sdk: flutter
  google_mlkit_face_detection: ^0.10.1

This also causes our app to receive the privacy manifest warning, which I believe is caused by GoogleToolboxForMac as per this comment

@pongloongyeat
Thanks to the efforts of the author and contributors, the latest version of this plugin was released a few hours ago. If you use it, the problem with GoogleToolBoxForMac should be solved.
Reference:
https://github.com/flutter-ml/google_ml_kit_flutter/pull/621
https://developers.google.com/ml-kit/release-notes?hl=ja

Confirm if with the latest release this issue is fixed. Then close the issue.

Can confirm that the latest release does indeed come with the updated GoogleToolboxForMac. However, I'm still getting the privacy manifest issue on an empty Flutter project with just google_mlkit_face_detection: ^0.11.0 whereas a completely empty Flutter project does not cause any problems. Could this be related to a bug with AppStore Connect?.
Looking through each of Runner's framework's privacy manifests very briefly, it seems like all dependencies except Runner itself declares a privacy manifest file. To that end, I'm not sure if the issue is on this package or with Flutter itself.

Since an empty project works, I would recommend to create a new project with the latest Flutter plugin and the copy the lib folder and yaml file of your old project into that new project and then compile and see if the new Xcode configuration of that new Flutter template works.


ISPN-11829 Persistence configuration allows for preload and purgeOnSt…

…artup to be configured together
https://issues.redhat.com/browse/ISPN-11829

Guessing CI may find another violation or two, lets see what it comes up with.

integrated! thanks @wburns !


playground.plutus.iohkdev.io white page on Safari

Summary
Hello,
Thanks for the playground, that's an amazing tool for a first contact with Plutus 👍
I noticed that it does not work with Safari though. Of course not a big deal, I just use Brave but I though it would be a good idea to share that information with you.
Maybe a quick workaround could be to display something like unsupported browser because, right now, it just displays a white page without any information.
Steps to reproduce the behavior

Launch Safari Browser
Open URL https://playground.plutus.iohkdev.io/
Observe that you have an empty white page instead of the playground

Actual Result
White page with nothing displayed.
Using the dev tools, I can see the following messages in the console:
[Error] Viewport argument key "minimal-ui" not recognized and ignored. (playground.plutus.iohkdev.io, line 1)
[Error] SyntaxError: Invalid regular expression: invalid group specifier name
	(fonction anonyme) (vendors.85ff8b640b5da7c134a9.js:2)
> Élément sélectionné
< <body></body>flex

Expected Result
I can use the playground on Safari or I get an explicit message that the playground is not supported for Safari.
Describe the approach you would take to fix this
No response
System info
OS: MacOS 12.6
Browser: Safari 16.0
URL: https://playground.plutus.iohkdev.io/

@ak3n who's maintaining plutus playground, and do you have link to the repo?  thanks


Board Review: Models Repository SDK for Java

Requesting an architectural review for a client library that targets a preview Azure SDK.
Contacts and Timeline

Responsible service team: Azure Models Repository
Main contacts<EMAIL_ADDRESS><EMAIL_ADDRESS>Expected code complete date: 2021_03_23
Expected preview release date: 2021_03_30 if no significant API changes are required.

About the Service

Link to documentation introducing/describing the service:
- https://docs.microsoft.com/en-us/azure/iot-pnp/concepts-model-repository
- https://github.com/Azure/azure-iot-digitaltwin-libraries
- https://github.com/Azure/iot-plugandplay-models-tools/tree/dev/clients/dotnet
Link to the service REST APIs: N/A - No swagger document
Link to GitHub issue for previous review sessions, if applicable:  https://github.com/Azure/azure-sdk/issues/2483

About the client library

Name of the client library: azure-iot-modelsrepository
Languages for this review: Java

Artifacts required (per language)
Java

APIView Link:

https://apiview.dev/Assemblies/Review/06d793070da448cfa88598049efbcb35

Link to Champion Scenarios/Quickstart samples:

https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/modelsrepository/azure-iot-modelsrepository/src/samples

Thank you!

scheduled for 3/29

Recording available here - https://msit.microsoftstream.com/video/92e5a3ff-0400-94b1-21ef-f1eb90e150a8


jersey2-guice is defunct

dropwizard-guice depends on jersey2-guice, but jersey2-guice is defunct and bugs there won't be fixed.

It appears that the jersey2-guice approach of making HK2 + Guice play nicely is also no longer necessary, as newer Jersey versions allow HK2 to be replaced entirely (via custom InjectionManagerFactory). I think the best approach going forward is to write a  GuiceInjectionManagerFactory and use that to ditch HK2 and jersey2-guice.
This should probably live outside of this repo so that hopefully all the various dropwizard<->Guice integrations could leverage it. I've been planning to give it a try but haven't found the time yet


Catch up with 2.12.0-RC1

Compensating PR for scala/scala#5331 and scala/scala#5294. The community build passes for me with these changes.

Can one of the admins verify this patch?

Looks good. Could you just capitalize the commit message of the first commit? ("Add ..."). Maybe even say Add missing 'override' ... since it was indeed missing, even if the compiler did not report it.
We have technical difficulties with our CI this week and @fsalvi is on vacation, so testing and merging this PR might be delayed a few days.

Done! FYI, we're hoping to stage RC1 next week.

FYI, we're planning to stage RC1 next week.

Hum, good to know. I guess either we'll have to publish a very small 0.6.12 release with this patch and the 2 other fixes we have so far; or we'll hotfix 0.6.11 with just this PR to be able to publish 0.6.11 for 2.12.0-RC1.

LGTM Jenkins, test this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3338/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4365/
Test PASSed.


Notifications and confirmmation modal not using information in consistent order

Issue description copied from feedback by @serenamarie125
There is inconsistency with the order of information between the “notification” (Action is shown first, followed by product name) and “confirmation” (product name shown first).  Typically, the modal should be aligned with the action label which caused the modal to come up, so wonder if it could be:
Title: Cluster Started
Text: CodeReady Containers Cluster has started.

Fixed in #11


Support pins A6 and A7 of Arduino Nano

As can be seen in the image, the Arduino Nano gives access to ADC_MUX 111 and ADC_MUX 110 via the pins A6 and A7.
It would be nice if these pins could be used somehow but it probably would require some refactoring as the availability of these pins depends on the package/board variant (TQFP and VQFN Package Only; Arduino Uno has the wrong package, Arduino Pro Mini does not forward it) and not on the processor variant.

They are supported, access just works a bit different than for all the other pins.  Check the example code here:
https://github.com/Rahix/avr-hal/blob/06ad11ffdbc64b1e0e43c4910be4110d488662e1/examples/arduino-nano/src/bin/nano-adc.rs#L47-L53

I see, thanks for pointing it out.
It would be convenient to be able to use pins.a6 and then get a Pin<Analog, ADC6> or similar that does not implement the PinOps so it cannot be converted, but implements AdcChannel so a6.analog_read() is possible.
But I also understand that this is not the most important feature...

If you manage to make this work nicely, I'd be happy to take a PR implementing this :)
So far my reasoning was that writing code generic over ADC channels is already possible using AdcChannel so I didn't bother going any further here.


A subset split of waymo to verify the idea quickly.

Hi, @sshaoshuai could you give a subset split of waymo for training and validation quickly?

I will prepare it soon.

Hi, shaoshuai. Is there any update on the training config of the waymo dataset?

The Waymo Open Dataset has been supported with state-of-the-art results just now.


importing excel files incorrectly sets the format to csv and writes data in csv

if one tries to import an excel file using mlem.api.import_object() function and sets type_ as "pandas[excel]" MLEM sets the format  incorrectly to csv and also if the copy_data is set to True it will write the data in csv format instead of excel.
I have tracked down the issue and the problem lies in two classes "DataFrameType" and "SeriesType" in contrib.pandas package
in get_writer() method of these two classes it compares the extension of the file which is in this case either "xlsx" or "xls" with the list of extensions in PANDAS_FORMATS and PANDAS_SERIES_FORMATS and since it does not match with "excel" it defaults to the csv which is the default format.
One solution would be to add an extra elif such as
if ext in PANDAS_SERIES_FORMATS:
    fmt = ext
elif ext in ["xls", "xlsx"]:
    fmt = "excel"

Thanks for reporting! Your solution should work. Do you mind contributing a PR?

I have create a PR

Ah sorry! Silly typo 😂  I meant contributing tests for this)


:bug: Fix: deps

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1220  👈
main

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

Join @roninjin10 and the rest of your teammates on  Graphite


Missing Manage Entity Visibility

Upgraded to JPA Modeler 3.3 and the menu item for Manage Entity Visibility no longer appears.  I have right clicked on the diagram and on the JPA Modeler File item under the projects window.
Sincerely
Cedric Pemberton

Manage Entity Visibility is now replaced by WorkSpace functionality .
In case of Manage Entity Visibility, you were restricted with single view of model but with workspace , you can create multiple view and it will also play major role in near future for micro-service application generation.

Great Thanks.
On Fri, Mar 3, 2017 at 1:03 PM, Gaurav Gupta<EMAIL_ADDRESS>wrote:

Manage Entity Visibility is now replaced by WorkSpace functionality .
In case of Manage Entity Visibility, you were restricted with single view
of model but with workspace , you can create multiple view and it will also
play major role in near future for micro-service application generation.
[image: untitled]
https://cloud.githubusercontent.com/assets/15934072/23560713/692a10b2-0061-11e7-920f-1366a5b042e9.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jGauravGupta/JPAModeler/issues/151#issuecomment-284010579,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHkzSihwCAA349K8S3W4pxB1gSlXUdzoks5riEf-gaJpZM4MSfVO
.

--
Its not the situations in which we find ourselves, but how we respond that
defines us and our success.


Regression: order with lower or another NamedFunction

With <IP_ADDRESS>40414130214 version I did this:
Order.order(Order.arel_table[:lastname].lower.desc)
# => SELECT "orders".* FROM "orders"  ORDER BY LOWER("orders"."title") DESC

As you can see it works well.
Since 6.0.0, I had this error for the same call
Order.order(Order.arel_table[:title].lower.desc)
# => undefined method `desc' for #<Arel::Nodes::NamedFunction:0x007fa172f54d88>

If I try these calls there is no problem:
Order.order(Order.arel_table[:title].desc)
# => SELECT "orders".* FROM "orders"  ORDER BY "orders"."title" DESC
Order.order(Order.arel_table[:title].lower)
# => SELECT "orders".* FROM "orders"  ORDER BY LOWER("orders"."title")

So, is there another method to aggregate descending sort with a NamedFunction as lower with the new version? Or is it a regression?

This is not a regression, it was done by design. These methods were deprecated in a Function node, so they were removed at 6.0 release. This is one of the reason that we bump a major release.

Well, understood.
However, I don't find any doc or source to solve my problem. Do you have an example to do a descending sort with a NamedFunction with the new design?

See the implementation https://github.com/rails/arel/blob/5-0-stable/lib/arel/order_predications.rb#L8. Just create a new node

Ok I got it,
Thank you for your help!
If somebody has the same problem, here my solution:
Order.order(Arel::Nodes::Descending.new Order.arel_table[:title].lower)
# => SELECT "orders".* FROM "orders"  ORDER BY LOWER("orders"."title") DESC


Use aiorwlock for async file caches

Codecov Report

Merging #48 (d5f86a7) into main (f81706e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #48   +/-   ##
=======================================
  Coverage   98.14%   98.14%
=======================================
  Files          12       12
  Lines         431      431
  Branches       76       76
=======================================
  Hits          423      423
  Misses          6        6
  Partials        2        2

Impacted Files
Coverage Δ

httpx_cache/cache/file.py
100.00% <100.00%> (ø)

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 f81706e...d5f86a7. Read the comment docs.


Consider automatic versioning on GitHub

It is pretty annoying to maintain versions by hand. Check available options and online resources for automatic version management.

Update: as of now, most boring stuff related to versioning is automated.
To prepare a new release, create a branch release-X.Y.Z from development. CI will set version with maven and generate release notes.
Still left is the process of tagging the release on master once the release is accepted, as physical releases to GH packages are already automated.

 With release 0.6.1 I consider it done.


Update golang to 1.14

How to do it in a quick manner over all services?

update: with Go 1 promise should be trivial to tackle this.

update: with Go 1 promise should be trivial to tackle this.


Hash cannot be used after calling Hash#each and returning inside the block

The following program throws a RuntimeException:
a = { a: 2 }
a.first
a[:b] = 1

When using Hash#first the Enumerable method first is called with looks like this (shortened):
def first
  each do |arg|
    return arg
  end
end

If you try to insert a value to the hash, it will fail because m_is_iterating is still set to true. When returning in such a case we throw a LocalJumpError and rescue it. This means the macro block handler that hash uses (NAT_RUN_BLOCK_AND_POSSIBLY_BREAK_WHILE_ITERATING_HASH) does not know that it stopped iterating. I guess a simple fix would be to rescue the local jump error when running the block?
However, I'm not sure if "normal" block execution macros also need to handle this and if my proposed solution is the most elegant way of doing it...

I think our new Defer might help with this. I'll work on it!

That sounds great! Could we even get rid of NAT_RUN_BLOCK_AND_POSSIBLY_BREAK_WHILE_ITERATING_HASH with this?

Hope so!


add @auth/solid-start example

Add an example for @auth/solid-start, I think it probably is the fastest way to do versatile auth right now with solid-start without any custom code. Also has the benefit of being a library that has wide usage amonst NextJS and SvelteKit users so familiarity for those people

Sorry closing #708 already does this..


Discord link direct to empty Server

Describe the issue
at the buttom of the page there is "Join Discord" invite that points to https://discord.com/channels/778680217417809931
this is empty Discord Server

URL of the docs
https://docs.dapr.io/getting-started/quickstarts/pubsub-quickstart/
Expected content
the link should work

Hi @tshaiman, for me, the link appears to be working and points to the quickstarts channel in the Dapr Discord. The server ID<PHONE_NUMBER>17809931) also seems to be the correct one. Could you retry? If it is reproducible for you, can you share the browser/OS etc you're using?

@tshaiman - Works for me to. Do you have any more information?

that is the information i have
i have created a brand new discord account , logged it
but when i click on the link i still get this message

Could not repo. Closing


Regularize jax.numpy API

I've been picking away at this for the past year or so (since  #3038), but I wanted to track it a bit more formally here.
We want the jax.numpy API to have two properties:

static arguments should generally be checked with core.concrete_or_error(). This helps localize concretization errors and provides a more uniform user experience.

dynamic arguments should generally be validated with _check_arraylike. This is because passing lists to jax functions can be a quiet source of performance degradation, because lists are treated as pytrees, for example:

In [1]: import jax.numpy as jnp

In [2]: from jax import jit

In [3]: f = jit(lambda x: jnp.mean(jnp.asarray(x)))

In [4]: %timeit f([float(i) for i in range(1000)])
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
1.79 ms ± 556 µs per loop (mean ± std. dev. of 7 runs, 1 loop each)

In [5]: %timeit f(jnp.array([float(i) for i in range(1000)]))
375 µs ± 4.76 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

This change may be problematic because it breaks users who may be passing lists to jax.numpy functions, but this input type restriction has long been documented. Still, with each change I plan to run a full set of tests and fix downstream packages if necessary.

Another example of this would be being strict about requiring tuples (rather than lists) for all static arguments like axes. This came up for jax.numpy.fft in https://github.com/google/jax/pull/7758

This breaking change in 0.2.24 actually helped my code.
I had a piece of code as:
 coeffs = jnp.take(coeffs, indices=tuple(range(start, start+n)), axis=axis)

which broke with the upgrade last night in CI.
I replaced it with
coeffs = jnp.take(coeffs, indices=jnp.arange(start, start+n), axis=axis)

and then JAX was happy. And I realize, this version is actually more appropriate. I shouldn't have used Python range in numerical code in the first place.
Being more restrictive in JAX API indeed is helpful.

I think #17687 addressed the last instances of this in jax.numpy. Closing.


Add release note/changelog

It would be nice to know what the changes in each release. It is easier than looking through the tagging at https://github.com/rhuss/docker-maven-plugin/issues?q=milestone%3A0.13.8

https://github.com/rhuss/docker-maven-plugin/blob/master/doc/changelog.md

Ah thanks.. I didn't notice the link


Implement DataArray.to_dask()

Is your feature request related to a problem?
It'd be nice to pass from a chunked DataArray to a dask object directly
Describe the solution you'd like
I think something along these lines should work  (although a less convoluted way might exist):
import dask.dataframe as dkd
import xarray as xr

def to_dask(da: xr.DataArray) -> Union[dkd.Series, dkd.DataFrame]:

    if da.data.ndim > 2:
        raise ValueError(f"Can only convert 1D and 2D DataArrays, found {da.data.ndim} dimensions")

    indexes = [da.get_index(dim) for dim in da.dims]
    darr_index = dka.from_array(indexes[0], chunks=da.data.chunks[0])
    columns = [da.name] if da.data.ndim == 1 else indexes[1]
    ddf = dkd.from_dask_array(da.data, columns=columns)
    ddf[indexes[0].name] = darr_index
    return ddf.set_index(indexes[0].name).squeeze()

Have you seen https://docs.xarray.dev/en/stable/generated/xarray.Dataset.to_dask_dataframe.html? I thjink we could easily add a version for DataArray that creates a temporary dataset and then calls Dataset.to_dask_dataframe

Yes I did, but unfortunately I didn't think about the trick of converting to Dataset. My only thought then is that it'd be nice to also get a dask Series, so something like to_dask instead of to_dask_dataframe, which I guess entails adding a DataFrame.squeeze() somewhere in the existing to_dask_dataframe code.
Feel free to close this.

Hi. I am interested in attempting to work on this issue to add the feature. Thank you.

@gcaria , Your solution looks like a reasonable approach to convert a 1D or 2D chunked DataArray to a dask DataFrame or Series, respectively.  this solution will only work if the DataArray is chunked along one or both dimensions. If the DataArray is not chunked, then calling to_dask() will return an equivalent in-memory pandas DataFrame or Series.
One potential improvement you could make is to add a check to ensure that the chunking is valid for conversion to a dask DataFrame or Series. For example, if the chunk sizes are too small, the overhead of parallelism may outweigh the benefits.
Here's an updated version of your code that includes this check:
import dask.dataframe as dkd
import xarray as xr
from typing import Union

def to_dask(da: xr.DataArray) -> Union[dkd.Series, dkd.DataFrame]:

    if da.data.ndim > 2:
        raise ValueError(f"Can only convert 1D and 2D DataArrays, found {da.data.ndim} dimensions")

    # Check that the chunk sizes are not too small
    min_chunk_size = 100_000  # Adjust as needed
    if any(cs < min_chunk_size for cs in da.data.chunks):
        raise ValueError("Chunk sizes are too small for conversion to dask DataFrame/Series")

    indexes = [da.get_index(dim) for dim in da.dims]
    darr_index = dkd.from_array(indexes[0], chunks=da.data.chunks[0])
    columns = [da.name] if da.data.ndim == 1 else indexes[1]
    ddf = dkd.from_dask_array(da.data, columns=columns)
    ddf[indexes[0].name] = darr_index
    return ddf.set_index(indexes[0].name).squeeze()

This code adds a check to ensure that the chunk sizes are not too small (in this case, we've set the minimum chunk size to 100,000). If any of the chunks have a size smaller than the minimum, then the function raises a ValueError. You can adjust the minimum chunk size as needed for your specific use case.


No data since 11.07.2024 9:35h

Nothing changed, log says:

solarmanpv.0 | 2024-07-15 20:21:20.690 | warn | [initializeStation] error: undefined
-- | -- | -- | --

Adapter 0.5.1
ioBroker latest

It looks like Solarman has changed their regulations and are actively seeking approval for the new developer regulations.
Please write to Solarman support. They will then reply with an appropriate reply form.

I wrote them, but no helpful answer.
They told me, that they changed the API System, but they did not tell how to fix the problem.

The dialog with Solarman Support seems to be a little bit slow.
See also: https://forum.iobroker.net/topic/55799/solarman-pv-bosswerk-mi-deye/554

I switched to the "deyedic" Adapter. This one seem to work actally.
it seems to collect data locally. This is much better than via cloud.

Thank you for your feedback. Have fun.


[skip ci] nfs: support internal ganesha with external ceph cluster

This commits allows to deploy an internal ganesha with an external ceph cluster.
This requires to define external_cluster_mon_ips with a comma
separated list of external monitors.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1710358
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

container won't start because of this: https://github.com/ceph/ceph-container/blob/master/src/daemon/start_nfs.sh#L20-L23

I think having to provision the Ganesha client keyring on the ceph-nfs nodes makes perfect sense; I think that can be configured using the "ceph_nfs_ceph_user" variable and provisioned on the node using the "keys" structure (from ceph-client role)? What do you think?

@gfidente the variable nfs_obj_gw is True by default in ceph-ansible.
the template for ganesha.conf has this code which requires ceph_nfs_rgw_access_key and ceph_nfs_rgw_secret_key to be set.
Usually ceph-ansible generates them itself here
but in this use case, it means they have to be manually set. Is that ok for you?

I think that would be okay ... and in TripleO we only want the MDS FSAL so we disable nfs_obj_gw [1]; do you think things will work when it is disabled?

https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/ceph-ansible/ceph-nfs.yaml#L59

@gfidente yes, it will work.

jenkins test pipeline


First cut: Free up stale rows feature for clients

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
This PR addresses https://github.com/ultrabrew/metrics/issues/26. The main idea is to let the clients take a call on purging a tagset state that is no longer needed. I've added a method freeCurrentRow to the CursorEntry so the clients can purge the current row while iterating to report the data. Piggybacked on the tagset itself when a current row is marked for deletion by setting the first tag field to null.
The currently sorted cursor iterator works on a copy of the tag sets and this PR changes that to work on the same tag sets avoiding additional memory space.
Would like to tackle the Histogram implementations in the next phase once we have agreed on the current implementation.

The currently sorted cursor iterator works on a copy of the tag sets and this PR changes that to work on the same tag sets avoiding additional memory space.

I actually am not sure that you avoid additional memory space and actually introduce more objects and additional memory space than previous implementation. A JMH test that proves you actually do this would in order. The array.copy is shallow copy and points to same string arrays. Introducing an array of integer objects is the exact same memory (just the array) footprint , but every single Integer is an additional object compared to reusing the String[] objects already in memory. Or am I missing something?


validate domain() failed

I'm testing your WebSocket Proxy app and I have faced some wierd issue: I'm using trial version for now. I have installed app on my localhost and from localhost I can connect with no problem. Now I wanted to connect from my mobile (IP: <IP_ADDRESS>) so I have generated trial license file containing my mobile IP, I have copied the file and retsart proxy app. In the log I can see:
websock_rtsp_proxy[22572]: add domain: localhost
websock_rtsp_proxy[22572]: add domain: <IP_ADDRESS>
websock_rtsp_proxy[22572]: add domain: <IP_ADDRESS>/16
websock_rtsp_proxy[22572]: add domain: <IP_ADDRESS>/8
websock_rtsp_proxy[22572]: add domain: <IP_ADDRESS>/12
websock_rtsp_proxy[22572]: add domain: 72f86d3c3b5513844f766072e67ad1e3fdb35245ae53bade8202c7e77c57990f

but when i try to connect I get different domain:
websock_rtsp_proxy[22572]: validate domain ()...
websock_rtsp_proxy[22572]: check 684888c0ebb17f374298b65ee2807526c066094c701bcc7ebbe1c1095f494fc1
websock_rtsp_proxy[22572]: fail
websock_rtsp_proxy[22572]: [2018-05-03 09:25:59] [fail] WebSocket Connection [::ffff:<IP_ADDRESS>]:60898 v13 "Mozilla/5.0 (Linux; Android 8.0.0; SM-G950F Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/66.0.3359.126 Mobile Safari/537.36" / 0 generic:111 Connection refused

But as you can see in log I am connecting from IP that I have declared in license file. What am I doing wrong here?

I see wrong request in your log.
ws rtsp proxy requires header Origin (CORS) to validate connection.

Thanks @victorgrenke for the answer. I can't setu customr headers for video tag so I guess I do that in player's opts but not really know where to setup this header, and also cannot find any anything in docs or exmples in repo.
Can you point me where to look for?

isn't it wierd that domain to ba validated nd domain from license key is different?
yes
@rbaumi  what web browser do you use?

When running it on mobile I use WebView as this is an Ionic 3 app. But does it matter? Isn't it just only that generates the domain string?
E.g. when I generate lic file from your site for IP <IP_ADDRESS> I get:
72f86d3c3b5513844f766072e67ad1e3fdb35245ae53bade8202c7e77c57990f
but when I'm connection from that Ip I can see:
websock_rtsp_proxy[22572]: validate domain ()...
websock_rtsp_proxy[22572]: check 684888c0ebb17f374298b65ee2807526c066094c701bcc7ebbe1c1095f494fc1
websock_rtsp_proxy[22572]: fail

websock_rtsp_proxy[22572]: validate domain ()... as you can see the domian name is empty in your logs
try to use another browser chrome  for example

As I wrote - this is an Ionic application that compiles to android apk and uses android WebView to display the content. Can't really do anything about it.
What are the factors to generate domain string?

try allow cors or options responce in webview
look here may be it will help you
https://stackoverflow.com/questions/17272612/android-webview-disable-cors

Thanks for the hink. From Ionic docs

Unfortunately there’s no API to disable this (CORS), so you’ll need to ensure any remote API that your app use, implement CORS correctly.

https://ionicframework.com/docs/wkwebview/
Is there a way to configure proxy app to allow all origins?

Is there a way to configure proxy app to allow all origins?
spetial unlim licensing please write me to email<EMAIL_ADDRESS>


some gtk3 programs crash when using file picker component when on plasma desktop

Describe the bug
When using a GTK component to choose a file from the filesystem in audacity-gtk3, grsync and zim packages, they have a segmentation fault and stop. This only happen when using plasma desktop, it works fine in Gnome or Xfce desktop (I didn't try other environments).
I tried to use an open file GTK component from foliate, cozy, gimp, pidgin, filezilla, gedit, easytag, geany, gthumb, pcmanfm, claws-mail, deluge, transmission-gtk, remmina, osmo without a crash.
What I see in common for these three packages is they existed in gtk2 flavor before and maybe something in the code is wrong now with gtk3. It may be related to a theme issue, I had a similar issue with some file picker component on another OS which was related to GTK themes.
Steps To Reproduce
Steps to reproduce the behavior:
For audacity-gtk3

log in a plasma desktop
run audacity-gtk3
from menu file, click Open
audacity crashes

This is also reproducible with zim:

log in a plasma desktop
open zim
menu File > Import page
zim crashes

with grsync:

log in a plasma desktop
open grsync
click on "Open" for source or destination
it crashes

Expected behavior
it shouldn't crash
Additional context
I used gdb to get some extra information for audacity
Thread 1 "audacity" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff5e56a07 in g_log_structured_array () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff5e56a07 in g_log_structured_array () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#1  0x00007ffff5e56e15 in g_log_default_handler () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#2  0x00007ffff5e5705e in g_logv () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#3  0x00007ffff5e5730f in g_log () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#4  0x00007ffff6083cfa in g_settings_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgio-2.0.so.0
#5  0x00007ffff5f4b9b6 in object_set_property () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#6  0x00007ffff5f4bd6c in g_object_new_internal () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#7  0x00007ffff5f4d688 in g_object_new_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#8  0x00007ffff5f4dbb9 in g_object_new () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#9  0x00007ffff66f546c in _gtk_file_chooser_get_settings_for_widget () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#10 0x00007ffff66f6460 in gtk_file_chooser_widget_get_default_size () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#11 0x00007ffff66f09d6 in file_chooser_widget_default_size_changed () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#12 0x00007ffff5f4664f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#13 0x00007ffff5f5837b in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#14 0x00007ffff5f5ea5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#15 0x00007ffff5f5f1df in g_signal_emit_by_name () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#16 0x00007ffff5f46879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#17 0x00007ffff5f5ed2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#18 0x00007ffff5f5efbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#19 0x00007ffff5f46879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#20 0x00007ffff5f5ed2b in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#21 0x00007ffff5f5efbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#22 0x00007ffff68167f5 in gtk_style_context_validate () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#23 0x00007ffff66c6f89 in gtk_css_widget_node_validate () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#24 0x00007ffff66aa44a in gtk_css_node_validate_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#25 0x00007ffff66aa47b in gtk_css_node_validate_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#26 0x00007ffff66aa47b in gtk_css_node_validate_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#27 0x00007ffff68d0e76 in gtk_window_show () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#28 0x00007ffff5f4664f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#29 0x00007ffff5f58011 in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#30 0x00007ffff5f5ea5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#31 0x00007ffff5f5efbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#32 0x00007ffff68bd386 in gtk_widget_show () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#33 0x00007ffff7819105 in wxWindow::Show(bool) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#34 0x00007ffff780240c in wxTopLevelWindowGTK::Show(bool) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#35 0x00007ffff785684c in wxDialog::Show(bool) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#36 0x00007ffff7856abb in wxDialog::ShowModal() () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#37 0x0000000001009a37 in FileDialog::ShowModal() ()
#38 0x0000000000a1624b in ProjectFileManager::ShowOpenDialog(FileNames::Operation, FileNames::FileType const&) ()
#39 0x0000000000a2a5f5 in ProjectManager::OpenFiles(AudacityProject*) ()
#40 0x0000000000b3d7e4 in CommandManager::HandleCommandEntry(AudacityProject&, CommandListEntry const*, std::bitset<64ul>, bool, wxEvent const*) ()
#41 0x0000000000b43b38 in CommandManager::HandleMenuID(AudacityProject&, int, std::bitset<64ul>, bool) ()
#42 0x0000000000a3951c in ProjectWindow::OnMenu(wxCommandEvent&) ()
#43 0x00007ffff7ecd11e in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#44 0x00007ffff7ecd293 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#45 0x00007ffff7ecd949 in wxEvtHandler::TryHereOnly(wxEvent&) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#46 0x00007ffff7ecd3a3 in wxEvtHandler::DoTryChain(wxEvent&) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#47 0x00007ffff7ecdad1 in wxEvtHandler::ProcessEvent(wxEvent&) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#48 0x00007ffff79de6ca in wxWindowBase::TryAfter(wxEvent&) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#49 0x00007ffff7ecf4a7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#50 0x00007ffff798f390 in wxMenuBase::DoProcessEvent(wxMenuBase*, wxEvent&, wxWindow*) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#51 0x00007ffff798f5f8 in wxMenuBase::SendEvent(int, int) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#52 0x00007ffff786991f in menuitem_activate () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#53 0x00007ffff5f4664f in g_closure_invoke () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#54 0x00007ffff5f5837b in signal_emit_unlocked_R.isra.0 () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#55 0x00007ffff5f5ea5f in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#56 0x00007ffff5f5efbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#57 0x00007ffff68b6964 in gtk_widget_activate () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#58 0x00007ffff677bbf6 in gtk_menu_shell_activate_item () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#59 0x00007ffff677bed3 in gtk_menu_shell_button_release () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#60 0x00007ffff66099f4 in _gtk_marshal_BOOLEAN__BOXEDv () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#61 0x00007ffff5f46879 in _g_closure_invoke_va () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#62 0x00007ffff5f5e184 in g_signal_emit_valist () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#63 0x00007ffff5f5efbf in g_signal_emit () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libgobject-2.0.so.0
#64 0x00007ffff68b3ba4 in gtk_widget_event_internal.part () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#65 0x00007ffff67665e0 in propagate_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#66 0x00007ffff67681e3 in gtk_main_do_event () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#67 0x00007ffff64a2b15 in _gdk_event_emit () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgdk-3.so.0
#68 0x00007ffff64f8b82 in gdk_event_source_dispatch () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgdk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#69 0x00007ffff5e4faab in g_main_context_dispatch () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#70 0x00007ffff5e4fd58 in g_main_context_iterate.constprop () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#71 0x00007ffff5e5004b in g_main_loop_run () from /nix/store/mbgcj6maiy41m0hacf1pw5nw56m3wn3q-glib-2.70.1/lib/libglib-2.0.so.0
#72 0x00007ffff6767235 in gtk_main () from /nix/store/g2xxryy86xk29p8dgxggzz1q3qb1bhcm-gtk+3-3.24.30/lib/libgtk-3.so.0
#73 0x00007ffff77eb405 in wxGUIEventLoop::DoRun() () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_gtk3u_core-3.1.so.3
#74 0x00007ffff7da519d in wxEventLoopBase::Run() () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#75 0x00007ffff7d711f5 in wxAppConsoleBase::MainLoop() () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#76 0x00007ffff7deb116 in wxEntry(int&, wchar_t**) () from /nix/store/mx61hhxa744gj6ha9dwp2grw9fjmf12s-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so.3
#77 0x00000000007ec7a6 in main ()

Notify maintainers
@lheckemann (audacity), @pSub (zim), @kuznero (grsync)
Metadata
I'm using 21.11-small but problem also occurs on 21.11
 nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.81, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.11.334201.3b1e4c3cf2a"`
 - channels(solene): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Possibly related? https://github.com/NixOS/nixpkgs/issues/140909

Possibly related? #140909

I can't trigger the firefox issue but I used to gnome and xfce in the past so my HOME isn't entirely clean. Maybe it would fail on a fresh plasma profile. Some tests should be done on a clean user, I'll try if I find some time.

The Firefox issue seems to have resolved itself on unstable, and I also can't reproduce other things crashing on unstable now...

The Firefox issue seems to have resolved itself on unstable, and I also can't reproduce other things crashing on unstable now...

I tried on a fresh 21.11 user with plasma and I can't reproduce the Firefox crash.
I'll try upgrading to unstable to see if I can trigger the crash.

I booted on a nixos-unstable environment with plasma desktop on my new user.

firefox works
audacity-gtk3 crashes
zim crashes
grsync crashes

For me it’s Qt applications crashing when I try to open File Dialog. I’m using NixOS 21.11 (there was no such bug in 21.05), i3wm, Adwaita Dark system theme, and adwaita-qt. For example audacious and qtcreator are crashing with these errors:

(qtcreator:31572): GLib-GIO-ERROR **: 16:18:25.686: No GSettings schemas are installed on the system

(.audacious-wrapped:39675): GLib-GIO-ERROR **: 16:20:43.314: No GSettings schemas are installed on the system

But not always. If I just reboot and try to open a file dialog in audacious it works. Until some point, don’t know at what moment it breaks.

For me it’s Qt applications crashing when I try to open File Dialog. I’m using NixOS 21.11 (there was no such bug in 21.05), i3wm, Adwaita Dark system theme, and adwaita-qt. For example audacious and qtcreator are crashing with these errors:

(qtcreator:31572): GLib-GIO-ERROR **: 16:18:25.686: No GSettings schemas are installed on the system

(.audacious-wrapped:39675): GLib-GIO-ERROR **: 16:20:43.314: No GSettings schemas are installed on the system

But not always. If I just reboot and try to open a file dialog in audacious it works. Until some point, don’t know at what moment it breaks.

This seems an entirely different issue

Have just hit this issue with mednaffe and gramps, am running Plasma on 21.11.334247.573095944e7
$ mednaffe
[23:36:52] Starting Mednaffe 0.9.1
[23:36:52] Joystick found: ID: 0x0005054c09cc81000008000d00000000 - Wireless Controller

(mednaffe:84401): GLib-GIO-ERROR **: 23:36:54.464: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

$ gramps
2021-12-16 23:37:43.442: WARNING: grampsgui.py: line 538: GTK translations missing, GUI will be broken, especially for RTL languages!
2021-12-16 23:37:45.197: WARNING: dummydb.py: line 1420: database is closed

(.gramps-wrapped:84564): GLib-GIO-ERROR **: 23:38:00.628: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

Not sure if related, but gramps spits out:

Did the same when I used LANG=en_US.UTF-8 LANGUAGE=en_US.

At least for Gramps, I was able to fix it locally by applying strictDeps = false to the buildPythonApplication instructions.

For gramps at least, for most (if not all) dialogs, you can get around by dragging and dropping files from the file manager, or pasting a path you've copied from elsewhere.

This is also happening for me on i3wm, so this issue is more universal than it seems.
Someone already workaround this on its own package: https://github.com/NixOS/nixpkgs/issues/142014. However I think this should be fixed on wrapGAppsHook itself.
See also some discussion in https://github.com/NixOS/nixpkgs/pull/153364.
Pinging @NixOS/gnome.

GTK file chooser requires a directory containing certain GSettings schemas (${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas}) in $XDG_DATA_DIRS environment variable. Without it, the app will crash when file chooser is opened.
Every GTK app should have that set in a wrapper by wrapGAppsHook, which every GTK app should use but sometimes the maintainer does not add wrapGAppsHook to dependencies – perhaps the docs are not clear enough?
Even if wrapGAppsHook is included, the setup hook might misbehave when the package has strictDeps enabled. Note that strictDeps are on by default for packages built with buildPythonPackage and buildRustPackage.
Finally, Qt uses GTK file chooser in some desktop environments, which basically requires all Qt apps to use wrapGAppsHook too to avoid crashing. The alternative would be hardcoding the schema path in GTK, which would prevent unwrapped apps from crashing but they might still be rendered improperly since the wrapper is also needed for rendering SVG icons by GTK.

In #153364 I am using the wrapGAppsHook, and it does not set strictDeps, however I still am having issues.
Adding --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} to gappsWrapperArgs didn't work (it changes the error to "Settings schema 'org.gtk.Settings.FileChooser' is not installed" though), however adding --prefix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name} did the trick. Setting both also fails with "Settings schema 'org.gtk.Settings.FileChooser' is not installed" error.
Maybe I understand it wrong, but it doesn't seem to be working as it should.

@thiagokokada you are right, I misremembered, it is indeed the GTK schema which is required. However, including both should work too as XDG_DATA_DIRS is traversed for each schema and GNOME apps frequently rely on schemas from multiple packages.

czkawka_gui from czkawka package is also failing
(czkawka_gui:11159): GLib-GIO-ERROR **: 12:25:26.737: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

minigalaxy fixed by #169919

After upgrading to 22.05 the bug is still there. After pressing “add files” in Audacious this printed to the log and the app crashes:

(.audacious-wrapped:10657): GLib-GIO-ERROR **: 23:47:29.112: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

For instance Carla also crashes when I press anything that invokes file picker:
$ nix-shell -p carla --run carla
Carla 2.4.3 started, status:
  Python version: 3.9.12
  Qt version:     5.15.3
  PyQt version:   5.15.4
  Binary dir:     /nix/store/hsb2j6s5rdk9gg7bq0ipikh6j69p0di7-carla-2.4.3/lib/carla
  Resources dir:  /nix/store/hsb2j6s5rdk9gg7bq0ipikh6j69p0di7-carla-2.4.3/share/carla/resources
Frontend pixel ratio is 1.0
libjack.so.0 loaded successfully!
[carla] No device set, using 2 inputs and 2 outputs
/tmp/nix-shell-12924-0/rc: line 3: 14969 Trace/breakpoint trap   (core dumped) carla

I managed to fix Audacious by doing this (Nix Shell config):
{ pkgs ? import <nixpkgs> {}
}:

let
  audacious = pkgs.symlinkJoin {
    name = "${pkgs.lib.getName pkgs.audacious}-wrapper";
    nativeBuildInputs = [ pkgs.makeWrapper ];
    buildInputs = [ pkgs.gtk3 ];
    paths = [ pkgs.audacious ];
    postBuild = ''
      wrapProgram "$out"/bin/audacious \
        --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
    '';
  };
in

pkgs.mkShell {
  buildInputs = [
    audacious
  ];
}

Works for Carla as well:
{ pkgs ? import <nixpkgs> {}
}:

let
  carla = pkgs.symlinkJoin {
    name = "${pkgs.lib.getName pkgs.carla}-wrapper";
    nativeBuildInputs = [ pkgs.makeWrapper ];
    buildInputs = [ pkgs.gtk3 ];
    paths = [ pkgs.carla ];
    postBuild = ''
      wrapProgram "$out"/bin/carla \
        --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
    '';
  };
in

pkgs.mkShell {
  buildInputs = [
    carla
  ];
}

Fixed this issue with Qt application by applying this hack to NixOS configuration:
{ pkgs, lib, ...  }:
let
  missing-gsettings-schemas-fix = builtins.readFile "${pkgs.stdenv.mkDerivation {
    name = "missing-gsettings-schemas-fix";
    dontUnpack = true; # Make it buildable without “src” attribute
    buildInputs = [ pkgs.gtk3 ];
    installPhase = '' printf %s "$GSETTINGS_SCHEMAS_PATH" > "$out" '';
  }}";
in
{
  # Fix for “No GSettings schemas are installed on the system” error
  # that causes Qt application to crash when opening file picker dialog window.
  environment.sessionVariables.XDG_DATA_DIRS = lib.mkAfter [ "${missing-gsettings-schemas-fix}" ];
}

It would be nice to solve this in nixpkgs itself. The problem still exists.

First time I bumped into this issue (surprisingly) while running nautilus:
$ nautilus
(org.gnome.Nautilus:141313): GLib-GIO-ERROR **: 15:34:21.237: Settings schema 'org.gtk.Settings.FileChooser' is not installed
fish: Job 1, 'nautilus' terminated by signal SIGTRAP (Trace or breakpoint trap)

Wrapping the program with GSETTINGS_SCHEMAS_PATH in XDG_DATA_DIRS works but it is extremely slow, seems malfunctioning... Another rabbit hole to dig in 🥲

Fixed this issue with Qt application by applying this hack to NixOS configuration:
{ pkgs, lib, ...  }:
let
  missing-gsettings-schemas-fix = builtins.readFile "${pkgs.stdenv.mkDerivation {
    name = "missing-gsettings-schemas-fix";
    dontUnpack = true; # Make it buildable without “src” attribute
    buildInputs = [ pkgs.gtk3 ];
    installPhase = '' printf %s "$GSETTINGS_SCHEMAS_PATH" > "$out" '';
  }}";
in
{
  # Fix for “No GSettings schemas are installed on the system” error
  # that causes Qt application to crash when opening file picker dialog window.
  environment.sessionVariables.XDG_DATA_DIRS = lib.mkAfter [ "${missing-gsettings-schemas-fix}" ];
}

This fixed the "GSettings schema" errors that I was in getting in the sooperlooper package.
It seems this affects a bunch of different packages?

That just means that package needs wrapGAppsHook added.

Reproducible with simple-scan:

Run Lxde-Desktop
Scan something with simple-scan
Click save

File picker is shown and crashes with simple-scan.

simple-scan is properly wrapped so that must be some other issue.


Add support for SMC SP486 & SP483 Ceiling Fan

Added support for the SP486 and SP483 Ceiling Fan by SMC. Also added a settings.json for VSCode users to prevent formatting of the Markdown files (in my case the formatting of the tables in docs/FAN.md was changed by 'Markdown All in One').

Hi. Could you exlude settings.json ?

I've removed the settings.json.

Thanks and happy new year

Thanks and happy new year


links property is not optional. generate.js breaks when links are not defined.

Description
Hi,
README says that links is optional. But not having 'links' property at all, breaks generate.js. Looks like this is addressed in ProfilePage where we check if 'links' exist before mapping.
This currently doesn't break because there are no profiles without the 'links' property.
Also, upon further inspection, I've noticed that the 'linkCount' property generated is unused. This was implemented as a part of user profiles in home page. However, as a part of #1264 this was removed.
If the idea is to reimplement linkCount, we can keep it while adding an optional flag during generation. If not, we can remove it entirely.
Let me know what you think.
Screenshots
No response
Additional information
No response

Hello there, I like your suggestion. I have already notice about that issue and I'd like to work to solve it if possible.

This is LinkFree, where we can share our links in one place,
if there will be no links, then why would anyone like to use these apps?
will update the readme.MD


Add support for adding sparse values

Problem
Currently the spark connector lacks support to add sparse vectors
Solution
Add support for adding sparse vectors to upsert calls
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[ ] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
Ran integration test locally to upsert dense and sparse vectors.

@austin-denoble We went over the integration test offline. Thanks for the review.


[Developer Story] As a developer, I want the database to store the process information in an easy to retrieve structure

Is your user story related to a problem? Please describe.
The database should store the processes information so that the least amount of queries are required to load a page and return all useful information.
Describe the solution you'd like
Change the storage structure of the database to use a single collection for the process information rather than separate the information in the database. This will allow for retrieval of all process information in a more timely fashion as well as better organization of the processes data.
Describe alternatives you've considered
Separating the data before saving it to the database was considered, then to retrieve only the desired categories (CPU, memory, etc.). This was initially chosen so that we could request specific information without filling the network with unnecessary data retrieval.
This was not chosen however, due to the fact that most of the queries were for all the process categories (CPU, memory, etc.) at the same time, so many queries were being used anyways. In addition, the process categories should be synchronous with each other, therefore separating them is not necessary.

Updating story points to better reflect needed effort.
All Models are getting changed.
All APIs are consequently getting changed.
Tests need to be updated accordingly.

Need models to be static and daemon.test.js tests to pass before adding Disk Info insertion from daemon. Issue is currently blocking #18 #17


Add switchdev-bind service

Switchdev-configuration-after-NM service rebinds VF to its
driver and executes after NetworkManager service, this is
required for features such as VF LAG to take effect when
bond or other network configurtion are configured through
NetworkManager service.
Signed-off-by: Zenghui Shi<EMAIL_ADDRESS>

Is this a temporary workaround before we fix the issue in the kernel?

Is this a temporary workaround before we fix the issue in the kernel?

Not a temporary fix, this is required for VF LAG feature to function properly.

Switchdev-configuration-before-NM service rebinds VF to its kernel driver and executes after NetworkManager service

In the commit message, shall it be Switchdev-configuration-after-NM instead?

Switchdev-configuration-before-NM service rebinds VF to its kernel driver and executes after NetworkManager service

In the commit message, shall it be Switchdev-configuration-after-NM instead?

updated

/lgtm

/cc @adrianchiris @e0ne

resolved merge conflict.


Bigtable systests not cleaning up instance

I had an unrelated storage PR fail today due to quota exhaustion, due to 10 existing Bigtable instances already on the CI account.

After clearing out the ten instances, I just ran the system tests locally -- they pass, and do not leave an instance undeleted.

I suppose we can just close this then? It may have just been due to some weirdness?

@jonparrott I'd rather leave it open for a bit, for reference if it shows up again -- that is the utility of the "flaky" label.
We've had the suspicion that "abrupt" shutdowns on the CI system could explain this kind of thing (e.g., if they kill -9 the process when a new commit is pushed to the same branch).

Yeah, maybe we should move to "defensively" cleaning up things - clean up before tests run?

How can we know that an instance is not being used by another active CI run?  There is no metadata available (via API queries) to let us list "old" ones (I was verifying them by eye in the console today before deleting them).

Hrm. Great question. :/

Seems weird that the back-end doesn't expose a createdTimestamp metadata field for instances:  that would help us with cleanup.
We could roll our own using Instance.labels, but then we would need to add support for that field.

Our HBase Java client tests run on Jenkins, although we only run them against master.  We opted to use a single instance for most of our table admin and data tests.  We run a separate test for instance / cluster operations.
Bigtable cells have a timestamp.  You can create a marker table called "created_date" or something like that, which contains a single row with a single cell which either contains a date in the value and/or in the cell's timestamp.

FTR, I cleaned out four "old" instances this morning (created with the `g-c-p-#####' ids more than a week ago).

@tseaver: Is this still a problem?

I don't see any leaked instances on our CI account today.  However, the problem with test failures that we mark flaky is that they tend to come and go:  unless we think we've found and fixed the root cause, I'm reluctant to close the issue.

Can we please define the problem?
  Multiple tests may run concurrently, so one test can't easily clean up previously other instances.
Is my understanding correct?

My suspicion is that our system tests run can be terminated "hard" in ways that defeat our normal teardown / cleanup (e.g., CircleCI cancels a job when a new commit is pushed to its branch, via something like kill -9).
You are correct that we cannot just remove all instances at the start of a system test run, because of concurrent runs.  If we had a way to filter for "old" instances, e.g. via metadata, lables, etc., then we could remove those at the start of any system test run.

Instances do have labels, and we can add a timestamp label.  However, I found a problem while looking at the instance.py create().  It looks like that code is not up to date.  I opened #5454 which blocks this issue as well as creating a python sample that looks like our node.js instance sample.

On second thought labels are not the only way of marking an instance.  We can create a table called create_time which contains a single row with the key create_time with a single family and a single cell containing the creation time.  I don't think that it's as elegant of a solution as labels, but it would be a workable solution to unblock this issue, if we can't fix #5454 quickly.

I believe that we have addressed this issue:  I haven't seen stray CI-generated instances for several months.

https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/8110 shows quota exhaustion for the module teardown in both python2.7 and 3.7.


Typo causing  'Cannot read property 'key'' error

It seems that there is a typo in app.js which causing 1 instead of i to be used as a index lookup in keyed value.

@kenota Can you please share an example, preferably a CodePen that demonstrates the error?

Hm. It seems I've misunderstood the code. I will try to create a CodePen to demonstrate the error.

@kenota Make sure you this is not the problem: https://github.com/hyperapp/html/issues/2

@JorgeBucaran, thanks! I am not using hyperapp/html, only hyperapp itself and h function. Trying to create reproducible example on codepen now.

@JorgeBucaran created codepen and raised an issue #404


add postbuild branch trigger

Description
Adding a set of pipeline triggers for the postbuild branch.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] Documentation was updated if it was needed.
[ ] New tests were added or changes were manually verified.

Codecov Report

Merging #1417 (8fdaf4d) into main (0dfa112) will increase coverage by 10.63%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             main     #1417       +/-   ##
============================================
+ Coverage   89.36%   100.00%   +10.63%
============================================
  Files          80         8       -72
  Lines        3553        64     -3489
============================================
- Hits         3175        64     -3111
+ Misses        378         0      -378

Flag
Coverage Δ

unittests
100.00% <ø> (+10.63%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...nsibleai/responsibleai/_managers/causal_manager.py

erroranalysis/erroranalysis/__init__.py

erroranalysis/erroranalysis/_internal/utils.py

.../responsibleai/_managers/counterfactual_manager.py

...nalysis/erroranalysis/_internal/version_checker.py

...onsibleai/responsibleai/serialization_utilities.py

rai_core_flask/rai_core_flask/__init__.py

...ai_core_flask/environments/azure_nb_environment.py

...ponsibleai/responsibleai/modelanalysis/__init__.py

...tools/counterfactual/dashboard_schemas/__init__.py

... and 62 more

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 0dfa112...8fdaf4d. Read the comment docs.


Fix clients config

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]

Reference Server Preview is available here:https://anchor-ref-pr1036.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1036.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1036.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1036.previews.kube001.services.stellar-ops.com/

Resolved by https://github.com/stellar/java-stellar-anchor-sdk/pull/1046


Support globally installed modules

If you install a package with npm -g (e.g. maybe the module is stateful and needs to be shared by all dependents), Haste currently fails since it looks for the module under the local node_modules.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

I don't think I'll be adding support for this in jest. If you need this, feel free to send a pull request.

I must have opened this back when I was using fibers. Yay for async functions!


MM-14861 Fix safari perf issues

Summary
Fixes for safari perf issues
Ticket Link
MM-14861
Related Pull Requests
https://github.com/mattermost/react-window/pull/7

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-01ea19ca425a803c3.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-01ea19ca425a803c3

Spinmint test server destroyed


dependency

can u share all .net dependency's i m not sure way after installing .net  as instructed pe dos not start i dont know its win7 or something else

The application targets .NET 4.6, while the compiled stub uses the 4.0 version of the compiler. This is to increase compatibility to any .NET 4.x version.
However, if your binary seems to crash, here are some step to debug it:

Use the Builder and generate C# code instead of the executable (This is the code used to generate the binary)
Run the code in Visual Studio and see if it crashes
If it only crashes sporadically, that could be an indication that obfuscation is not working properly.

If you have a sample C# file that reproduces the crash, please feel free to re-open the issue or send the file via email.

thanks for your reply
On Wed, Oct 23, 2019 at 11:35 PM Martin Fischer<EMAIL_ADDRESS>wrote:

The application targets .NET 4.6, while the compiled stub uses the 4.0
version of the compiler. This is to increase compatibility to any .NET 4.x
version.
However, if your binary seems to crash, here are some step to debug it:

Use the Builder and generate C# code instead of the executable
(This is the code used to generate the binary)
Run the code in Visual Studio and see if it crashes
If it only crashes sporadically, that could be an indication that
obfuscation is not working properly.

If you have a sample C# file that reproduces the crash, please feel free
to re-open the issue or send the file via email.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bytecode77/pe-union/issues/3?email_source=notifications&email_token=ANSPWT4G43KHCUDZHB62GFLQQE64BA5CNFSM4JEOZBNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECD4E5A#issuecomment-545768052,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANSPWTY32IJNZBUCGK6O6YDQQE64BANCNFSM4JEOZBNA
.

i m looking for a good crypter to hide my payload for red teaming
On Thu, Oct 24, 2019 at 10:19 AM Bashir Durrani<EMAIL_ADDRESS>wrote:

thanks for your reply
On Wed, Oct 23, 2019 at 11:35 PM Martin Fischer<EMAIL_ADDRESS>wrote:

The application targets .NET 4.6, while the compiled stub uses the 4.0
version of the compiler. This is to increase compatibility to any .NET 4.x
version.
However, if your binary seems to crash, here are some step to debug it:

Use the Builder and generate C# code instead of the executable
(This is the code used to generate the binary)
Run the code in Visual Studio and see if it crashes
If it only crashes sporadically, that could be an indication that
obfuscation is not working properly.

If you have a sample C# file that reproduces the crash, please feel free
to re-open the issue or send the file via email.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bytecode77/pe-union/issues/3?email_source=notifications&email_token=ANSPWT4G43KHCUDZHB62GFLQQE64BA5CNFSM4JEOZBNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECD4E5A#issuecomment-545768052,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANSPWTY32IJNZBUCGK6O6YDQQE64BANCNFSM4JEOZBNA
.


jpegrescan: init at 2016-06-01

Motivation for this change
I've encountered jpegs that MozJPEG fails to recognize and process that this script can.
Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks, that looks good! I merged this into master in commit 28159315b7f2891e90157129d82a8b6fdca659bc.

sweet thanks :)


Breaking changes fail?

This doesn't look right:
[20:44:48] [x] Coordinates found in passed in location, not geocoding.
[20:44:48]
[20:44:48] Location Found: 34.009373,-118.497183
[20:44:48] GeoPosition: (34.009373, -118.497183, 0)
[20:44:48]
[20:44:48] [x] Parsing cached location...
[20:44:48]
[20:44:48] [x] Last location flag used. Overriding passed in location
[20:44:48] [x] Last in-game location was set as:<PHONE_NUMBER>544703891,<PHONE_NUMBER>982023221, 0)
[20:44:48]

And then it loops forever:
[19:41:22] Scanning area for objects....
[19:41:22] Walking from (4.886674138544703e+18, 4.886674144982023e+18) to [4.886674138544703e+18, 4.886674144982023e+18] 0.00km
[19:41:22] Server seems to be busy or offline - try again - 1/5

Other Information
OS: OSX
Git Commit: 4f3c8e899a4898b0a1f83cb1ccacf34dbeec970e (current latest dev)

I get the "Server seems to be busy or offline - try again - 1/5" also.

There are a few problems here:

The server offline detection is borked.

The location should be verified to be reasonable before sending it to niantic. This is very easy to do: abs(lat) <= 90 and abs(long) <= 180

CLI should ALWAYS override file, how does it make Any sense that it tells me its ignoring run time arguments?

Something in the location cache deserialization is borked to be able to get "4.886674138544703e+18," as a value

delete your data/last-location-*.json files

yes, but my point is this should have been handled in code

You are right, I just give you the tip to help you starting the bot :)

same here

#1527 is the same issue.
this is the way commits should be done

Fixed in latest dev

This was caused be a migration pgoapi.


Add pretty.CompareWithoutZeroFields

CompareWithoutZeroFields returns a diff like Compare but omits struct fields that have a zero value.
Not 100% happy with the name, if you come up with something better you're very welcome to change it.

Sorry for the delay
I'm not a fan of the name, but if you don't have much time to put into this PR, it's not something I'll stick about.
My vague preference would be to:

Add a "Compare" method to Config and push the Compare code into it (and make top-level Compare call Default.Compare)
Optional: add a few top-level Configs alongside Default for some sensible combinations; for instance a ShortDiff (or similar) could include your new option.

The benefit of (1) is that you can set it in Default in your test's init and it'll apply to all of the diffs you run.

Sounds really good, I'll work on it this Thursday.

PTAL; not sure if I got the naming "right".

Pulled; I also made a few other modifications (gofmt and comments) and made it so that Diff doesn't alter the config with which it's called.
Thanks!

Thanks a lot.
You made a typo in one of the doc comments, see https://github.com/kylelemons/godebug/commit/9d56955e86e98dc396038da4b0aa658efe2bfa15
;)

Fixed :)


Automatic measurements: only a few received, then only errors.

Hi @stolk
Looks like the code worked initially and then it failed. Hence, i'd assume a hardware issue here. Do you have proper connections to the sensor? No power interruptions, enough amps, no wiggly cables etc?

Thanks.... I suspect this was a power issue.
The Arduino Pro Micro clone (Keye Studio) is a 5V microcontroller according to the spec, but I measured 4V at VCC, which dips below that at times. (Powered via USB.)
I have replaced the microcontroller with a different brand, that shows a proper 5V, and since doing that, this issue has gone away.

I am still having power issues.
When the unit is measuring, I see 48mA draw at VDD. Is that nominal?
I noticed that if I wire as follows:
USB +5V to RAW input of Arduino.
VCC of arduino to SCD41.
...then I see a lot of noise on the power.
I observed this as follows:
LEDs with resistors connected to GPIO pins.
As the SCD41 measures... the LEDs flicker. When the measurement ends, the flicker stops.
I tried an alternative wiring:
+5V to Arduino RAW.
+5V to SCD41 VDD pin.
Then I do not see the flicker of the LEDs.
I have 0.1uF between GND and VDD pins.
How should I wire up the power for SCD41? (I use the Sensiron dev board.)

Hi @stolk
The peak current @5V is at 137mA. The average during periodic measurement should be around 13mA. So it is not unusual if you see 48mA e.g. during startup. However during regular measurement the average should be lower.
Power supply should preferably be stable with output ripple of less than 30 mV.
Connection of Arduino to SCD41 should be as follows (e.g. USB powered Arduino Uno R3)

red cable VDD to 5V on Arduino (labeled as 5V on the Arduino)
black cable Ground to Ground on Arduino
green cable to SDA on Arduino (depends on board)
yellow cable to SCL on Arduino (depends on board)

With the development board you shouldn't need any special setup (e.g. capacity, or pull up resistors).
Please make sure your power supply supports peak current. Even though it shouldn't be a problem, I suggest you don't connect an additional LED  for now since it will draw additional power. Since the Arduino seems to have issues with the power supply (at least the flickering of the LED suggest that) I suggest you check the specifications of the Arduino board.
I currently do not own an Arduino Pro Micro and can't test on this. I successfully tested the driver with the following boards:

Arduino Nano
Arudino Mikro WiFi 1010
Arduino Uno R3
Arduino Atmega 2560
ESP32 WROOM 32D

Please find attached a photo of my working setup with an Arduino Uno R3.

@psachs Thank you. Can you tell me what Voltage you measure at your VCC?
In automatic measurement mode, do you see that voltage go down for one second, ever five seconds?
I tried 3 different microcontrollers, they all show a drop. My esp32c3 for example, shows 5.02V dropping to 4.84V, for 1s every 5s. I am trying to avoid that w capacitors, but no luck so far.

@stolk I currently don't have a reliable way to measure voltage. I will try to do so next time I get a chance.
A capacitor shouldn't negatively influence your setup as it helps stabilize the power supply (if correctly setup). For my setup it was never necessary so I don't use any additional resistors or capacity.
I have an ESP32 Wroom32 D (see attached picture) which works reliably with 3.3V and 5V. Do you have problems as well with your ESP32 or is it just the voltage dropping that shows up that concerns you?

The esp32c is reliable but drops more than the 30mV you quoted. I see a
180mV drop w that controller.
On Mon, Jan 17, 2022 at 9:08 AM Pascal Sachs @.***>
wrote:

@stolk https://github.com/stolk I currently don't have a reliable way
to measure voltage. I will try to do so next time I get a chance.
A capacitor shouldn't negatively influence your setup as it helps
stabilize the power supply (if correctly setup). For my setup it was never
necessary so I don't use any additional resistors or capacity.
I have an ESP32 Wroom32 D (see attached picture) which works reliably with
3.3V and 5V. Do you have problems as well with your ESP32 or is it just the
voltage dropping that shows up that concerns you?
[image: scd41-esp32-setup]
https://user-images.githubusercontent.com/864231/149811885-806bbcb9-4596-43a4-837c-11ad62bdaf2c.jpg
—
Reply to this email directly, view it on GitHub
https://github.com/Sensirion/arduino-i2c-scd4x/issues/10#issuecomment-1014743930,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPE4A3EQIFSXW6HPDSDITUWREHHANCNFSM5LPVG72A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
@.***

Hi.
I ordered a SCD41 devkit and was also getting the "Not enough data received" error sometimes.
On a breadboard I have connected the SCD41 via the dupont jumpers (plus the male-male adapter) and a BME280 (also via I2C) to an ESP8266 (NodeMCU or similar china build).
First I had the impression the problem happens when I e.g. remove the BME280 which causes trouble on I2C protocol.
Then I also had the issue sometimes when I just moved the whole thing a little bit on the side.
So I came to the conclusion that the dupont jumper connectivity is a little bit fragile and the problem always happens when one the connections is interrupted for a very short time. This can happen e.g. by moving around the breadboard to touching the cables a little bit. I can reproduce the issue.
Since I'm aware of that I just programmed a self-health mechanism, as in such error case a stopPeriodicMeasurement() and a following startPeriodicMeasurement() command (with 1000 ms delay between as per the data sheet) brings the sensor back.
Btw I was also thinking of the lack of power since both sensors perform a measure from time to time which could lead in a situation that both sensor have the peak at the same time. But I believe that is not an issue as it runs fine over hours and I even had the issue having WiFi disabled on the ESP8266 and it also works fine with Wifi enabled (which takes a lot of energy) - as long as I don't touch the cables :)

@SeeliSoft-CH Thanks. Could you measure the voltage you give the sensor.
Do you see it dip with every measurement? And if so, by how many mV?
I want to now if my 180mV dip is abnormal, or others have it too.
thanks!

@stolk Unfortunately I don't have a very precise multimeter. Nevertheless I can see that every ~4 seconds the voltage drops from 3.32 to 3.24. that would not mean 180mV in my case, only about ~80mV. But a drop is here. (for that test I removed everything except SCD41)

The sensor performs a measurement every 5 seconds. According to our product team it is to be expected that the power drops during measurement, since the hotplate draws more current.
It is also possible that the drop is more then 30mV.


[FEATURE]: send raw comands

Consent

[X] I have searched the existing issues and verified that there is no open issue for the same subject.
[X] I understand that the Loupedeck VoiceMeeter plugin has NO affiliation with VoiceMeeter.com or VB-Audio

Feature
Hi Xerox,
maybe you know the Streamdeck Voicemeeter Plugin from the BarRaider Guys:
with the "Advanced Toggle" Button i can send commands directly to VM.
Sample:
Strip[5].B3=1;
and if B3 is already 1, set it to 0.
is it possible to make the same for the Loupdeck?
Solution
No response
Alternatives
No response
Anything else?
No response

Hey and thank you for opening this feature request. I thought I had already responded, but it seems I didn't :D
Sadly, for now, this isn't possible to add due to missing features in the Loupedeck API. Or at least: I can't make it user friendly.
I won't close this issue, but I'll set it on hold and add it after the features are available.
/label +hold +accepted +blocked

Update:
Loupedeck supports now everything needed.

I hope this is enough (for the adjustment, buttons will have kinda the same settings)


Segfault on M1 Mac

I have been trying to initialise terraform on an M1 Mac and have discovered that the container crashes when I execute any command. For example:
docker run -i --rm --env-file=.env.auth --env-file=.env -v /my-volume dnxsolutions/terraform:latest init

Results in:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Initializing modules...
SIGSEGV: segmentation violation
PC=0x0 m=2 sigcode=0

goroutine 1 [running]:
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
make: *** [init] Error 255

The comments on the Docker for Mac issue suggests container authors should make containers multi-platform: https://github.com/docker/for-mac/issues/5123#issuecomment-784992589
I've tried setting the --platform flag but it doesn't seem to help.

By: @stephen-turner

This is a qemu bug, which is the upstream component we use for running Intel (amd64) containers on M1 (arm64) chips, and is unfortunately not something we control. In general, we recommend running arm64 containers on M1 chips because (even ignoring any crashes) they will always be faster and use less memory.

Please encourage the author of this container to supply an arm64 or multi-arch image, not just an Intel one. Now that M1 is a mainstream platform, we think that most container authors will be keen to do this.

Set up QEMU
The docker/setup-qemu action installs QEMU static binaries, which are used to run builders for architectures other than the host.
- name: Set up QEMU
  uses: docker/setup-qemu-action@master
  with:
    platforms: all

Set up Docker builders
The docker/setup-buildx action configures buildx, which is a Docker CLI plugin that provides enhanced build capabilities. This is the infrastructure that the following step will use for actually building images.
- name: Set up Docker Buildx
  id: buildx
  uses: docker/setup-buildx-action@master

Build and push the images
This final step uses the [docker/build-push-action][] to build the images and push them to Docker Hub using the tags we defined in the prep step. In this example, we’re building images for amd64, arm64, and ppc64le architectures.
  - name: Build
    uses: docker/build-push-action@v2
    with:
      builder: ${{ steps.buildx.outputs.name }}
      context: .
      file: ./Dockerfile
      platforms: linux/amd64,linux/arm64,linux/ppc64le
      push: true
      tags: ${{ steps.prep.outputs.tags }}

References

https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
https://blog.oddbit.com/post/2020-09-25-building-multi-architecture-im/