functional-tester: concurrent map iteration and map write

Was deployed with master branch (right after https://github.com/coreos/etcd/commit/fb81fb44fa86af51e0d65f30bd9be9f51d4b6d64)
etcd-tester
2017-03-07 23:37:42.787234 I | etcd-tester: [round#744 case#25] injected failure
2017-03-07 23:37:42.787293 I | etcd-tester: [round#744 case#25] recovering failure "failpoint github.com/coreos/etcd/etcdserver/raftBeforeFollowerSend panic majority"
2017-03-07 23:37:42.809425 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {<IP_ADDRESS>:2379 <nil>}
2017-03-07 23:37:42.880225 I | etcd-tester: [round#744 case#25] recovered failure
2017-03-07 23:37:42.880270 I | etcd-tester: [round#744 case#25] canceling the stressers...
2017-03-07 23:37:42.896610 I | etcd-tester: lease stresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.899873 I | etcd-tester: grpc: addrConn.transportMonitor exits due to: context canceled
2017-03-07 23:37:42.900145 I | etcd-tester: lease stresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.902808 I | etcd-tester: keyStresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.902844 I | etcd-tester: keyStresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.902874 I | etcd-tester: keyStresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.902901 I | etcd-tester: grpc: addrConn.transportMonitor exits due to: context canceled
2017-03-07 23:37:42.902941 I | etcd-tester: lease stresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.902981 I | etcd-tester: lease stresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.902994 I | etcd-tester: grpc: addrConn.transportMonitor exits due to: context canceled
2017-03-07 23:37:42.903003 I | etcd-tester: grpc: addrConn.transportMonitor exits due to: context canceled
2017-03-07 23:37:42.903016 I | etcd-tester: grpc: addrConn.transportMonitor exits due to: context canceled
2017-03-07 23:37:42.903036 I | etcd-tester: lease stresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.903593 I | etcd-tester: keyStresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.903730 I | etcd-tester: keyStresser "<IP_ADDRESS>:2379" is canceled
2017-03-07 23:37:42.903744 I | etcd-tester: [round#744 case#25] canceled stressers
2017-03-07 23:37:42.903752 I | etcd-tester: [round#744 case#25] wait until cluster is healthy
2017-03-07 23:37:44.608382 I | etcd-tester: [round#744 case#25] cluster is healthy
2017-03-07 23:37:44.608427 I | etcd-tester: [round#744 case#25] checking consistency and invariant of cluster
2017-03-07 23:37:47.900540 I | etcd-tester: transport: http2Client.notifyError got notified that the client transport was broken read tcp <IP_ADDRESS>:57590-><IP_ADDRESS>:2379: read: connection reset by peer.

server side panic
2017-03-07 23:37:44.553853 I | rafthttp: established a TCP streaming connection with peer 7f98004f25324e68 (stream MsgApp v2 reader)
2017-03-07 23:37:44.554004 I | rafthttp: established a TCP streaming connection with peer 7f98004f25324e68 (stream Message reader)
2017-03-07 23:37:46.839670 W | etcdserver: timed out waiting for read index response
fatal error: concurrent map iteration and map write

goroutine 1492 [running]:
runtime.throw(0xecb57d, 0x26)
	/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc4242146a8 sp=0xc424214688
runtime.mapiternext(0xc4242147c0)
	/usr/local/go/src/runtime/hashmap.go:737 +0x7ee fp=0xc424214758 sp=0xc4242146a8
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/lease.(*Lease).Keys(0xc420d09e00, 0xc4223cf600, 0xc420d09e00, 0xc4241817c0)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/lease/lessor.go:548 +0x143 fp=0xc424214830 sp=0xc424214758
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver.(*EtcdServer).LeaseTimeToLive(0xc420197080, 0x7f9d63efdbe0, 0xc424b2fd70, 0xc424b52f50, 0x0, 0x0, 0x0)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/v3_server.go:343 +0x214 fp=0xc424214938 sp=0xc424214830
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc.(*LeaseServer).LeaseTimeToLive(0xc427153540, 0x7f9d63efdbe0, 0xc424b2fd70, 0xc424b52f50, 0xc4241817c0, 0xc4242149e8, 0x3)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/lease.go:55 +0x56 fp=0xc424214998 sp=0xc424214938
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc.(*quotaLeaseServer).LeaseTimeToLive(0xc427153580, 0x7f9d63efdbe0, 0xc424b2fd70, 0xc424b52f50, 0xc427153580, 0xec8c4d, 0xf)
	<autogenerated>:32 +0x6b fp=0xc4242149e0 sp=0xc424214998
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb._Lease_LeaseTimeToLive_Handler.func1(0x7f9d63efdbe0, 0xc424b2fd70, 0xdfbe20, 0xc424b52f50, 0xc4254500a0, 0xc424214a90, 0x956c9d, 0xc424b2fd70)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go:2683 +0x86 fp=0xc424214a28 sp=0xc4242149e0
github.com/coreos/etcd/cmd/vendor/github.com/grpc-ecosystem/go-grpc-prometheus.UnaryServerInterceptor(0x7f9d63efdbe0, 0xc424b2fd70, 0xdfbe20, 0xc424b52f50, 0xc4223cf580, 0xc4223cf5c0, 0x40fef8, 0x20, 0xda0980, 0x1)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/server.go:29 +0xa4 fp=0xc424214aa0 sp=0xc424214a28
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc.newUnaryInterceptor.func1(0x7f9d63efdbe0, 0xc424b2fd70, 0xdfbe20, 0xc424b52f50, 0xc4223cf580, 0xc4223cf5c0, 0x0, 0xc424214b70, 0x40fef8, 0x50)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/interceptor.go:57 +0xc3 fp=0xc424214b08 sp=0xc424214aa0
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb._Lease_LeaseTimeToLive_Handler(0xda5b00, 0xc427153580, 0x7f9d63efdbe0, 0xc424b2fd70, 0xc425450050, 0xc42671e360, 0x0, 0x0, 0x91425aab22976ad4, 0xc422258940)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go:2685 +0x177 fp=0xc424214b80 sp=0xc424214b08
github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc428517bc0, 0x13740a0, 0xc427b2db00, 0xc4244704b0, 0xc426a82ed0, 0x13a19f0, 0x0, 0x0, 0x0)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc/server.go:638 +0xb5c fp=0xc424214dd8 sp=0xc424214b80
github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc.(*Server).handleStream(0xc428517bc0, 0x13740a0, 0xc427b2db00, 0xc4244704b0, 0x0)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc/server.go:796 +0x1261 fp=0xc424214f80 sp=0xc424214dd8
github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc4275aff80, 0xc428517bc0, 0x13740a0, 0xc427b2db00, 0xc4244704b0)
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc/server.go:449 +0xa9 fp=0xc424214fb8 sp=0xc424214f80
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc424214fc0 sp=0xc424214fb8
created by github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/google.golang.org/grpc/server.go:450 +0xa1

goroutine 1 [select]:
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdmain.startEtcdOrProxyV2()
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdmain/etcd.go:175 +0xc3b
github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdmain.Main()
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/vendor/github.com/coreos/etcd/etcdmain/main.go:36 +0x61
main.main()
	/home/gyuho/go/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/cmd/etcd/main.go:28 +0x20

goroutine 6 [IO wait]:
net.runtime_pollWait(0x7f9fe3f9eeb0, 0x72, 0x0)
	/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc420044998, 0x72, 0x0, 0xc42010a020)
	/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc420044998, 0xffffffffffffffff, 0x0)
	/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).accept(0xc420044930, 0x0, 0x1365ae0, 0xc42010a020)
	/usr/local/go/src/net/fd_unix.go:430 +0x1e5
net.(*TCPListener).accept(0xc42000c0d0, 0xc420104240, 0xd54740, 0x139abb0)
	/usr/local/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42000c0d0, 0xc420104210, 0xd54740, 0x139abb0, 0xdf0720)
	/usr/local/go/src/net/tcpsock.go:228 +0x49
net/http.(*Server).Serve(0xc420166000, 0x136eda0, 0xc42000c0d0, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:2643 +0x228
net/http.Serve(0x136eda0, 0xc42000c0d0, 0x1364de0, 0x13ce108, 0x0, 0x0)
	/usr/local/go/src/net/http/server.go:2307 +0x78
created by github.com/coreos/gofail/runtime.serve
	/home/gyuho/go/src/github.com/coreos/gofail/runtime/http.go:32 +0xd7

@heyitsanthony
The problem is that all methods to lease.Lessor is guarded by the mutex inside lease.lease (https://github.com/coreos/etcd/blob/master/lease/lessor.go#L116-L117), but the invidual lease.Lease items are not. So the racey lease.Lease.Keys() calls could trigger such panic (this is the new panic introduced in Go 1.8).
To reproduce in lease
func TestLessorGrantConcurrentKeys(t *testing.T) {
	dir, be := NewTestBackend(t)
	defer os.RemoveAll(dir)
	defer be.Close()

	fd := &fakeDeleter{}

	le := newLessor(be, minLeaseTTL)
	le.SetRangeDeleter(fd)

	// grant a lease with long term (100 seconds) to
	// avoid early termination during the test.
	l, err := le.Grant(1, 100)
	if err != nil {
		t.Fatalf("could not grant lease for 100s ttl (%v)", err)
	}

	itemn := 10
	items := make([]LeaseItem, itemn)
	for i := 0; i < itemn; i++ {
		items[i] = LeaseItem{Key: fmt.Sprintf("foo%d", i)}
	}
	if err = le.Attach(l.ID, items); err != nil {
		t.Fatalf("failed to attach items to the lease: %v", err)
	}

	donec := make(chan struct{})
	go func() {
		le.Detach(l.ID, items)
		close(donec)
	}()

	var wg sync.WaitGroup
	wg.Add(itemn)
	for i := 0; i < itemn; i++ {
		go func() {
			defer wg.Done()
			l.Keys()
		}()
	}

	<-donec
}

Should we introduce a new mutex field inside lease.Lease or expose lease.lessor.mu field and guard whenever we call Keys on individual leas item?

@gyuho adding a rwmutex to Lease seems OK


Dock command doesn't work correctly

Description

It doesn't flip grid orientation to dock in the right direction so it ends up clipping.
Screenshots

Why are the screenshots so cursed?


Added flow_map_viz custom vizualization

Are we copy pasting it from some app, if that is the case, let's keep it as dependency for now.

Yes, it's copied from flow_map_viz app. I'm removing it.


ChunkConvert.convert always converts beginning of input

The documentation on ceylon.buffer.codec::ChunkConvert.convert says:
Converts in portions dictated by the size of the output buffer, which will not be resized.
which in my understanding means that the first call converts the first portion, and consecutive calls convert consecutive portions of the input. This is not the case. (And even if this understanding is wrong, there should be a mechanism that behaves that way.)
The call to convert creates a new iterator on each call so only the first converted input portion that fits into the provided output buffer is returned.
Further, the return value should be documented: it returns the number of input elements read, not the number of output elements.

See my comment on #590 (API isn't correct, but it works with CharacterBuffer). #595 might work, although I haven't fully looked into the implications from the loss of symmetry.

Fixed by https://github.com/ceylon/ceylon-sdk/pull/595. Thanks @dlkw.


allow compile without HDF5_SUPPORT

Some functions that required HDF5_SUPPORT were outside of
the ifdef, causing a bug when compiling with DAOS_SUPPORT.
Only serialization, deserialization, and the hdf5 copy
should require the HDF5 library.
Signed-off-by: Danielle Sikich<EMAIL_ADDRESS>

Thanks @dsikich .  Looks good to me, too.


Bug for Evaluate USL-T on CIFAR-10 on SimCLR-CLD

Dear author,
When i execute the python fine_tune.py --cfg configs/cifar10_usl-t_finetune.yaml, i got the error FileNotFoundError: [Errno 2] No such file or directory: '../pretrained/cifar10_ckpt_epoch_200.pth'。Could you help solve this problem? Thank you!

You need a trained ckpt in order to fine-tune. See README to download cifar10_ckpt_epoch_200.pth.


fix sticky header with browser control warning

fixes #6996

@cawoodmonads can you help testing?

@cawoodmonads can you help testing?

Sure, can you link a build .abap to install?

@cawoodmonads can you help testing?

Sure, can you link a build .abap to install?

it can be downloaded from the "lint-and-merge" CI step, https://github.com/abapGit/abapGit/actions/runs/10158075070?pr=6997


Boilerplate Rendering Issue

check, if there is any rendered file inside that folder

@zeshraja1326 I faced the same issue, it turned out "After effect" is failing to render the video.
run the "After effect" command directly and check the error; following is the command generated by the tool

aerender -comp  main -project  \project.aep -output  \result.mp4 -OMtemplate   h264 -e  3600

for me the errors were:

-comp  main : I changed this to the project name
-OMtemplate   h264 : this template wasn't in my After effect installation. you can check what option you have through after effect interface 'Edit -> Templates -> Output Modules' seeting name drop down list

Also open the project file and see if "After Effect" gives you any issue.

I checked it thoroughly and done it another way. thanks for response


Add MAC address validation without colons

Split #847 per request of @ProfNandaa.

Can fix the merge conflicts? I think this generally LGTM.
-na

@ProfNandaa Should be good to go now!

Same here: s/noColons/no_colons/

Somehow that slipped past me. I'll keep that in mind if I submit another PR. Thanks!


Unknown cmdlet

I have 5.7.0 installed of AzureRm, yet, when I try run any commands to do with AzureRmUserAssignedIdentity it fails with an error about unknown cmdlet.
This also fails if you hit the "Try It Now" button in this very document.
It does work in Azure CLI.

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

ID: 048f07a8-7858-86df-1095-318cc7910e40
Version Independent ID: 6ba8aaa8-53c9-3b4d-d158-3090416cdd90
Content: How to create, list and delete a user assigned (MSI) using Azure PowerShell
Content Source: articles/active-directory/managed-service-identity/how-to-manage-ua-identity-powershell.md
Service: active-directory
GitHub Login: @daveba
Microsoft Alias: daveba

@ryancrawcour Thanks for the feedback. We are actively investigating and will get back to you soon.

@ryancrawcour Request you to please run below to install AzureRM.ManagedServiceIdentity module. This will resolve your issue.
Install-Module -Name AzureRM.ManagedServiceIdentity -AllowPrerelease

Thanks @MohitGargMSFT
This should be documented in this document in the list of prerequisites, as it only talks about the latest version of Azure PowerShell (which I have) and the permissions your account needs. No mention anywhere of needing to manually install a new module.
I'm happy to make the change and submit a PR  if required.

@ryancrawcour Yes please, feel free to do change and submit PR.

@ryancrawcour We will now proceed to close this thread. If there are further questions regarding this matter, please open a new issue and we will gladly continue the discussion.

@MohitGargMSFT I have submitted https://github.com/MicrosoftDocs/azure-docs/pull/12538 for this


Add bower support

We want to use nuclear.js in a Rails app, but currently we're using rails-assets.org to pull in and manage javascript module dependencies. rails-assets.org works by wrapping bower modules, so I'm submitting this PR to add a bower.json config file to the project so it'll be available in bower and thus available in rails-assets.org. Thanks!

Is there anything else that needs to be done here or just the merge?

I think just the merge, I already registered the module with your git repo. So you own the registered module on bower.io

Oh, I think you'll have to issue a new release, with a git tag. It keeps trying to checkout 1.1.0 which is missing a bower.json file.

@kamui try now with 1.1.1 tag

Looks like it worked:
https://s3.amazonaws.com/f.cl.ly/items/1F222f3C3U3W1p0p2b3b/Screen Shot 2015-07-27 at 5.39.34 PM.png
Thanks!

:+1:


Automatically reconcile VaultSecrets with Vault's state

This describes what I had to do to update the alert-stream-broker's VaultSecret's child Secret.

Update:
After discussion, this now goes beyond just documentation. It also changes the configuration of Vault Secrets Operator in each environment, enabling automatic reconciliation.

oh, thank you for doing this. I was just about to do the update. You can merge this, and then let's sync on idf-dev. If that doesn't blow up vault-secrets-operator, we can sync on idf-int and you'll get the benefit for your work. We only update idf-prod during the Thursday maintenance. See https://sqr-056.lsst.io/#process
So if you feel able to sync, go for it, otherwise we can do it.


save_results

I have tried --save_results feature with several datasets, but it triggers an issue that outputs['pred_boxes'][0] has a shape of (900, 4) but results[0]['scores'] and results[0]['labels'] have shapes of (300). Since save_results concatenates those by unsqueezeing latter 2 on dim=-1, the error occurs here. I tried with several models and custom datasets but the error looks inevitable. Can you please consider this issue? Thanks in advance!

Hi @abbasmammadov , I'm sorry for the bug.  Actually, although there is a "save_results" option, we never used it. We may support "save_results" in the next version of our code.

Ohh, I see. Thank you very much for your clear and prompt reply :)


[BUG/ISSUE] Systray right click context menu should appear on top of the systray icon when pinned

Before submitting the issue

[x] I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
[x] I have checked that I am running the latest version of WingetUI
[x] I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
[x] I have checked the FAQ section for solutions
[x] I have read the contributing guidelines and I agree with the Code of Conduct

Describe the bug
If you pin the systray icon to the taskbar,
the Systray right click context menu appears in the extreme right regardless of the position of the icon in the tray.
To Reproduce
Steps to reproduce the behaviour:

Pin the systray icon to the taskbar
Right click on the systray icon

Expected behaviour
The context menu should appear above the icon

this has been done in purpose, so it does not overlay the Taskbar.

ah, I see


Simplify webpack settings

This change extracts common configurable parameters from webpack.mix.js to a simply structured configuration file in Sage root. webpack.mix.js is moved to resources/assets/build/webpack.mix.js which maintains parity with Sage 9 and shouldn't be off-putting to those already used to the theme.
This change was inspired by comments from @QWp6t and is offered with the intent of lowering the bar of entry for new developers to get their builds up-and-running. It also, arguably, make it simpler for developers of all skill levels to make a quick modification to the defaults (common example: to add an svg folder developers need only add it to entry.dirs, as opposed to executing mix functions.
It is still very easy to modify the build directly, if desired. A small amount of overhead has been added to the mixfile.
I could not get @knowler's cool template literal function trick to work in this context, although I tried, and that is the sole reason for this reversion.

superseded by the work in progress @ #2504


chore: release 0.21.4

:robot: I have created a release *beep* *boop*
0.21.4 (2021-12-15)
Bug Fixes

set max-width for dropdown on small screen (cec8c39), closes #135

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/easyops-cn/docusaurus-search-local/releases/tag/v0.21.4 :sunflower:

Coverage remained the same at 76.828% when pulling 3bbc1781effc551f5db77a1a95c70c1e3c0ae7f6 on release-v0.21.4 into 565a2b41b24f86968d24194fc58d766c7952011d on master.


A couple of portability fixes

They should help to build libxtrxdsp on more platforms.

Hi, could you explain which OS are you trying to compile with? I'm just trying to understand what exactly are you trying to achieve.

could you explain which OS are you trying to compile with?

GNU/Hurd, but it does not matter much. The problem is that there is too much OS hardocoding for things which are really not that OS-specific.

I'm just trying to understand what exactly are you trying to achieve.

Making it portable on more Unix architectures than Linux/macOS, also reducing the amount of code needed to support Unix OSes.


AttributeError: 'SnapshotsOperations' object has no attribute 'create_or_update'

When I try the example at "Create a snapshot of a Managed Disk that is currently attached to a virtual machine", I get the following stacktrace:
Traceback (most recent call last):
  File "app.py", line 78, in <module>
    main()
  File "app.py", line 73, in main
    snapshot_disk(resource_group, credential, subscription_id)
  File "app.py", line 44, in snapshot_disk
    async_snapshot_creation = compute_client.snapshots.create_or_update(
AttributeError: 'SnapshotsOperations' object has no attribute 'create_or_update'

The code is more or less what is shown on the page, except with variables in place of hardcoded strings.

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

ID: 0e955711-fac5-bfc2-c9d2-f62244c0c257
Version Independent ID: cb1535f7-4517-7afc-1f2b-954c8003f47d
Content: Managed Disks
Content Source: articles/python/azure-sdk-samples-managed-disks.md
Product: azure-python
GitHub Login: @kraigb
Microsoft Alias: kraigb

The azure-mgmt-compute library was updated not long ago, and we haven't updated this particular example page yet (which isn't even linked from the TOC, hence it being a bit low on the priority stack). Use begin_create_or_update as you'd see in the current ref docs for that library: https://docs.microsoft.com/en-us/python/api/azure-mgmt-compute/azure.mgmt.compute.v2020_06_30.operations.snapshotsoperations?view=azure-python#methods.

Closed via https://github.com/MicrosoftDocs/azure-dev-docs-pr/pull/1139


"hotel.dev" domain doesn't work on Windows

"hotel.dev" and other "<project>.dev" domains don't work on Windows.
Is this achieved by modifying the hosts file? On Windows it's in C: Windows\System32\drivers\etc\hosts file but it will require admin privileges, not sure how this is achieved on Mac/*nix but I'm guessing it's doing it through some other way as I couldn't find in the source anywhere modifying hosts file. Is that correct?

Hi @laggingreflex,
No need to edit hosts file.
Have you tried this:
https://github.com/typicode/hotel/blob/master/docs/README.md#windows
Or this (if you use Firefox):
https://github.com/typicode/hotel/blob/master/docs/README.md#firefox

Thank you! I missed that part. Although the instructions for windows should be changed to this:
Start > "Internet Options" > Connections > LAN settings > "Use automatic configuration script" > Address: "http://localhost:2000/proxy.pac"
(I'll submit a PR shortly)


hipGetDeviceCount returns 0 (no device)

I have a short test of hipGetDeviceCount() that returns zero devices with error 1038:
#include
#include <hip/hip_runtime.h>
int main(){
int ndevs = 0;
int code = hipGetDeviceCount(&ndevs);
printf("%i %i\n", code, ndevs);
return 2;
}
This system has an Radeon Instinct MI25 and it is reported by rocm-smi:
ROCm System Management Interface
GPU  Temp   AvgPwr  SCLK     MCLK    Fan   Perf  PwrCap  VRAM%  GPU%
1    28.0c  7.0W    1269Mhz  167Mhz  0.0%  auto  220.0W    0%   0%
2    38.0c  10.0W   1269Mhz  945Mhz  0.0%  auto  220.0W    0%   0%
Where should I look for possible reasons that hipGetDeviceCount() doesn't see these devices?

@G-Ragghianti Could you try running rocminfo and see if there is any GPU device listed in output ?

OK, I'm making progress.  I realized that I needed to either be in the video group or root.  Once I did that, the system now reboots when I run rocminfo or the above code.

@G-Ragghianti, do you still see the issue? Please update the issue and close if it is no longer seen

The issue is resolved.  It was a hardware problem. Thanks.

The issue is resolved. It was a hardware problem. Thanks.

HI, I meet the same error. What is the hardware problem?


add an idle downstream connection timer.

1、this timer is for idle downstream connection timeout
2、this timer default is ms,you also can set second in field "idle_timeout" of configuration.
3、before you make build,you should make api first,because the config proto has changed,you should protoc it.

https://github.com/aeraki-mesh/meta-protocol-proxy/issues/37

@hbgongen
It seems that this PR breaks building:
I got the follow error when running "make":
api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto:53:3: "google.protobuf.Duration" seems to be defined in "google/protobuf/duration.proto", which is not imported by "api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto".  To use it here, please add the necessary import.

Oh.sorry，I forget to import it.I will make a PR again.
发自我的iPhone
------------------ Original ------------------
From: zhaohuabing @.>
Date: Thu,Aug 4,2022 9:52 AM
To: aeraki-mesh/meta-protocol-proxy @.>
Cc: hbgongen @.>, Mention @.>
Subject: Re: [aeraki-mesh/meta-protocol-proxy] add an idle downstreamconnection timer. (PR #75)
@hbgongen
It seems that this PR breaks building:
I got the follow error when running "make":
api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto:53:3: "google.protobuf.Duration" seems to be defined in "google/protobuf/duration.proto", which is not imported by "api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto".  To use it here, please add the necessary import.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Since we don't have a ci workflow l, please make sure you can build it
successfully locally before submitting a PR.
On Thu, Aug 4, 2022, 12:45 hbgongen @.***> wrote:

Oh.sorry，I forget to import it.I will make a PR again.
发自我的iPhone
------------------ Original ------------------
From: zhaohuabing @.>
Date: Thu,Aug 4,2022 9:52 AM
To: aeraki-mesh/meta-protocol-proxy @.>
Cc: hbgongen @.>, Mention @.>
Subject: Re: [aeraki-mesh/meta-protocol-proxy] add an idle
downstreamconnection timer. (PR #75)
@hbgongen
It seems that this PR breaks building:
I got the follow error when running "make":
api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto:53:3:
"google.protobuf.Duration" seems to be defined in
"google/protobuf/duration.proto", which is not imported by
"api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto". To use it
here, please add the necessary import.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID:
@.***>
—
Reply to this email directly, view it on GitHub
https://github.com/aeraki-mesh/meta-protocol-proxy/pull/75#issuecomment-1204753191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCWIRZHMH3BKKRW36VQPTVXNDF3ANCNFSM55GY273A
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Ok.
发自我的iPhone
------------------ Original ------------------
From: zhaohuabing @.>
Date: Thu,Aug 4,2022 0:56 PM
To: aeraki-mesh/meta-protocol-proxy @.>
Cc: hbgongen @.>, Mention @.>
Subject: Re: [aeraki-mesh/meta-protocol-proxy] add an idle downstreamconnection timer. (PR #75)
Since we don't have a ci workflow l, please make sure you can build it
successfully locally before submitting a PR.
On Thu, Aug 4, 2022, 12:45 hbgongen @.***> wrote:
> Oh.sorry，I forget to import it.I will make a PR again.
>
>
>
> 发自我的iPhone
>
>
> ------------------ Original ------------------
> From: zhaohuabing @.>
> Date: Thu,Aug 4,2022 9:52 AM
> To: aeraki-mesh/meta-protocol-proxy @.>
> Cc: hbgongen @.>, Mention @.>
> Subject: Re: [aeraki-mesh/meta-protocol-proxy] add an idle
> downstreamconnection timer. (PR #75)
>
>
>
>
>
>
> @hbgongen
>
> It seems that this PR breaks building:
>
> I got the follow error when running "make":
> api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto:53:3:
> "google.protobuf.Duration" seems to be defined in
> "google/protobuf/duration.proto", which is not imported by
> "api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto". To use it
> here, please add the necessary import.
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you were mentioned.Message ID:
> @.>
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/aeraki-mesh/meta-protocol-proxy/pull/75#issuecomment-1204753191>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAKCWIRZHMH3BKKRW36VQPTVXNDF3ANCNFSM55GY273A>
> .
> You are receiving this because you modified the open/close state.Message
> ID: @.>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Update to v1.3.147

Hey, what's the timeline for getting this merged and pushed to Chocolatey?

Hey, what's the timeline for getting this merged and pushed to Chocolatey?

Also, what're the chances of this getting added to the main release workflow with everything else?

Also, what're the chances of this getting added to the main release workflow with everything else?

Also, what're the chances of this getting added to the main release workflow with everything else?

We still want to do that (https://github.com/tailscale/tailscale/issues/303#issuecomment-736721761).

Also, what're the chances of this getting added to the main release workflow with everything else?

We still want to do that (https://github.com/tailscale/tailscale/issues/303#issuecomment-736721761).


How does webdataset convert my local jpg images and text into .npy files?

How does webdataset convert my local jpg images and text into .npy files?

If you use ShardWriter, objects get written under the file extension you specify.
writer = ShardWriter(...)

...
image = rand((256,256,3))
sample["__key__"] = "dataset/sample00003"
sample["data.npy"] = image
sample["jpg"] = image
sample["something.png"] = image
writer.write(sample)


Merging container definitions with any class configs

When I am trying to setup default configs for some class I cannot do it for double nesting configs.
example:
'container' => [
        'definitions' => [
            zxbodya\yii2\tinymce\TinyMce::class => [
                'settings' => [
                    'height' => '500',
                ],
                'someConfig' => 'value1',
            ],
        ],
    ],

value for someConfig will apply successfully, but value for settings will not apply.
it because you use array_merge instead of array_merge_recursive here
So, my propose is replace this function to array_merge_recursive

Q
A

Yii version
2.0.12

PHP version
7.0.22

Operating system
Ubuntu 16.04

Using array_merge_recursive() will give your wrong results when you try to override some values: https://3v4l.org/Hg6mD .
People may also rely on this behavior, so using ArrayHelper::merge() will break BC.

Duplicates #4154

This can be fixed in 2.1, since after #11899 we have a way to fully replace array value.

@rob006 so would you like to close #14821 or point it to 2.1?

@SilverFire You mean #14822? I'm fine with closing it, since it does not contain any valuable changes. Unless @3dmaxpayne wants to rewrite it with ArrayHelper::merge(), docs, tests and upgrade notes.

yes, I still want. for me it is actual, but I didn't get what you guys think about it?

Closing since new DI container doesn't seem to have it anymore.

2.0.x still need this fix

If you know a way to fix it without any backwards compatibility breaks, you're very welcome to suggest it.

maybe add some key to definition array that enable ArrayHelper::merge feature, if key not exists use old array_merge by default?

That could work. Want to try implementing it? If the change would not be big I think it's possible to merge it.

https://github.com/yiisoft/yii2/pull/17436


gulp压缩匿名函数js

This tracker is for bug reports only.
Before opening an issue, please make sure you've checked the following:

For support requests, please use Stack Overflow (stackoverflow.com) or Gitter (see the README).

If the bug is in a plugin, open an issue on the plugin repository, not the gulp repository.

If you're getting a deprecated module warning, don't worry about it: we're aware of it and it's not an issue. To make it go away, update to Gulp 4.0.

If you're asking about the status of Gulp 4, please don't! You can see the remaining issues on the gulp4 label: https://github.com/gulpjs/gulp/issues?q=is%3Aissue+is%3Aopen+label%3Agulp4

What were you expecting to happen?
正常压缩js
What actually happened?
压缩后的js内容是空的
Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)
var gulp = require('gulp');
var uglify = require('gulp-uglify');
gulp.task('default', function(){
    // 'script/*.js'是需要压缩的js文件
    gulp.src('widget/modules/admin/left.js')
        //uglify()是调用的压缩方法，去压缩js
        .pipe(uglify())
        //gulp.dest是将压缩后的文件另存为哪的方法，如存到newScript文件夹中
        .pipe(gulp.dest('dist/js/'));
});

What version of gulp are you using?
4.0.2
What versions of npm and node are you using?
node 10.16.0
npm 6.9.0

uglify  left.js
(function(){
console.log('gulp yglify ? ??????')
})


Tdlib linkage is too slow on Windows 10

Hello, I built Tdlib 1.8.4 via MSYS2 mingw64 on my Win 10, using build rules for Linux, thats ok. But compiling either my program or td_example.cpp is too slow (around 30 sec - 1 min). Why does it happens?

Do you build for Release without debug data?

Do you build for Release without debug data?

It's unimportant :(
Tdlib was built for Release, self project is built and for Debug, and for Release - the result is same.
The first cmake cmd for building Tdlib was cmake -DCMAKE_INSTALL_PREFIX="C:/tdlib-mingw" -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" ..

Release builds should link facter, but there is nothing we can do to improve link speed. It depends solely on the used toolchain.

Release builds should link facter, but there is nothing we can do to improve link speed. It depends solely on the used toolchain.

Do you have may be some information about different toolchain and its linkage speed?

No.


Prefix xpub to dgub

Hello, how are you? I have an issue that I can't solve. Through bitcoinjs-lib, I'm obtaining and generating dodge addresses, as well as public and private keys. The problem is that I get the public key as xpub, and the backend requires it with the dgub prefix instead of xpub. Alternatively, I might need to convert it from xpub to dgub. Could you assist me with this? Thanks!
Here, I'm sharing the code that obtains addresses and keys for Dodge and other currencies. Additionally, I'm providing the derivation path I'm using for Dodge.
Derivations path for Dodgecoin
derivationPath: "m/44'/3'/0'/0/0",
  rootDerivation: "m/44'/3'/0'",

File
import { Network as BTCNetwork, payments } from 'bitcoinjs-lib';
import { HDNode } from 'ethers/lib/utils';
import b58 from 'bs58check';
import { btcNetworks, btcNetworksTestnet } from '../constants/predefinedNetworks';
import { WalletNetworkData } from '../stores/wallets';
import { BTCAddressType } from '../types/networks';
import bchaddr from 'bchaddrjs';

const convertXpubToZpub = (xpub: string) => {
  let data = b58.decode(xpub);
  data = data.slice(4);
  data = Buffer.concat([Buffer.from('04b24746', 'hex'), data]);
  return b58.encode(data);
};

export const convertZpubXoZpub = (xpub: string) => {
  let data = b58.decode(xpub);
  data = data.slice(4);
  data = Buffer.concat([Buffer.from('0488b21e', 'hex'), data]);
  return b58.encode(data);
};

export const getBtcAddressFromPublicKey = (params: {
  publicKey: string;
  addressType: BTCAddressType;
  networkData: BTCNetwork;
}) => {
  const { publicKey, networkData, addressType } = params;

  const { address } = payments[addressType]({ pubkey: Buffer.from(publicKey, 'hex'), network: networkData });

  // Special case BCH ADDRESS PARSE TO CashAddr Format
  if (networkData.messagePrefix === '\x18Bitcoin Cash Signed Message:\n') {
    return bchaddr.toCashAddress(address) || address;
  }

  return address;
};

export const getAllBtcNetworksAddresses = (params: { node: HDNode }) => {
  const { node } = params;

  const addresses: { [key in string]: string } = {};
  const networks: { [key in string]: WalletNetworkData } = {};

  [...btcNetworks, ...btcNetworksTestnet].forEach((network) => {
    const derivatedNode = node.derivePath(network.derivationPath)
    const accountKeys = node
      .derivePath((network as any).rootDerivation || network.derivationPath.replace(`/0/0`, ''))
      .neuter();

    const convertNodeToAddress = (nodeEthers: HDNode) => {
      const publicKey = nodeEthers.publicKey.replace('0x', '');

      return {
        path: nodeEthers.path,
        publicKey,
        address: getBtcAddressFromPublicKey({
          publicKey,
          addressType: network.addressType,
          networkData: network.networkData,
        }) as string,
      };
    };

    const publicKey = derivatedNode.publicKey.replace('0x', '');
    const { address } = convertNodeToAddress(derivatedNode);

    if (!address) throw new Error('Error while generating address');

    networks[network.walletId] = {
      address,
      publicKey,
      privateKey: derivatedNode.privateKey.replace('0x', ''),
      extendedPublicKey: network.derivationPath.startsWith(`m/44`)
        ? accountKeys.extendedKey
        : convertXpubToZpub(accountKeys.extendedKey),
      extendedPrivateKey: derivatedNode.extendedKey,
      utxos: {
        internal: Object.fromEntries(
          Array.from({ length: 1 })
            .map((_, index) => accountKeys.derivePath(`1/${index}`))
            .map(convertNodeToAddress)
            .entries()
        ),
        external: Object.fromEntries(
          Array.from({ length: 1 })
            .map((_, index) => accountKeys.derivePath(`0/${index}`))
            .map(convertNodeToAddress)
            .entries()
        ),
      },
    };
  });

  return { addresses, networks };
};

I'm moving this to discussions because this is not an issue with Dogecoin Core


Change endBin behavior to be automatic

Schematize should automatically show as much content as will fit on the screen given the current settings.  The only user-settable parameter close to endBin should be a zoom level.  Zoom (eventually) can be inferred from start-stop range.  Removing endBin as a watched variable will simplify render triggers.

[x] beginBin and endBin should be in a single array element so that they always update simultaneously.
[x] Change endBin input widget to be read-only
[x] switchChunkURLs takes one argument that is an array
[x] openRelevantChunk reads in more than two chunks
[x] rewrite loadSecondJson to work with an array
[x] modify every reference to lastChunk to process an array
[x] remove openRelevantChunk restriction on EndBin

Assignee: Eloi Durant has generated a PR on this issue, but it still needs work from someone else.
Implementation Details:

When the chunkURL array is updated, an observer triggers fetchAllChunks()
fetchAllChunks() dispatches one promised function call for each element in the array: jsonFetch for that URL
fetched data is placed in a new data structure:
jsonCache = {chunk05: [json literal], chunk01: [json literal], chunk03: [json literal]}
Every time there's an update to the jsonCache, an observer (or a promised function call) trigger a check of the state in updateSchematicMetadata() which calls processArray()

the data must be processed in the order listed in chunkURLs from left to right. Starting at the first, process json into pre-render and keep proceeding right until you run into a chunk that hasn't been cached yet and stop
keep track of the index of the next chunk you're waiting on
A chunk arrival can trigger the processing of multiple chunks that had queued up behind it
It's possible that calling updateSchematicMetadata() does nothing when a far right chunk arrives but the upstream chunks haven't arrived yet.
Updates to the preRendered processArray() should cause rendering updates

If done well, the jsonCache doesn't need to be cleared when chunkURLs updates.  Often this will be side to side scrolling with overlaps in the new and old chunks. You can simply fetch only the new chunks, drop the entire processArray result (which has the wrong x values now) and updateSchematicMetadata() from the existing jsonCache.

This has the side effect that scrolling to the right will be slightly faster than scrolling to the left, since the first chunk file will already be loaded in the browser when scrolling right.
jsonCache will gradually get bigger as it remembers all chunks ever seen.  This will need to be purged based on some criteria of total size.

We're seeing serious performance issues in i22_chunk_url_array.  One thing we'll change to fix this will be precomputing all component X values in bin2file.json ahead of time.  https://github.com/graph-genome/component_segmentation/issues/43


Add fio -D option and ability to set json_lib

Not ready
Closes #271
@sgillies I was thinking something like this.  As an MVP I only changed fio cat.  The assumption is that the user will supply a library that implements json_lib.loads() and json_lib.dumps().   ujson doesn't like the sort_keys parameter so I moved it to an option so it can be disabled.  simplejson supports all of the optional json.dumps() options.
$ fio -D json_lib=ujson cat tests/data/coutwildrnp.shp --no-sort-keys

@geowurster what would you think about having sort_keys=False be the default so that ujson users don't have to disable? Would be in line with https://docs.python.org/2/library/json.html#json.dumps.

@sgillies Yeah thats fine with me.  The only reason I didn't have it default to False was to maintain the current behavior, but its JSON so we can probably assume our users are looking for keys by name rather than index.  Switched in latest commit.

@sgillies I played with this a bit more, implemented it on a few additional commands, and it just feels kind of awkward to use, so I vote we close this one.  Definitely better suited to a config file with an optional override.

:+1:


[QUESTION] Is npm/go install still valid?

I found an old post that says you can install fvm using npm, yarn, or go, but the npm version is behind the current pub version.
Is it still possible to do this?

The npm version is no longer valid. I will make it more explicit. The version before was written on Go so the installation process was a bit more complicated. How Pub global is as easy as npm.


Add awsJson10 Error Deserialization support.

Issue #, if available:
Description of changes:
Protocol Generator:

generateSharedDeserializers contains revisions that attain all error shapes and generate shared deserializers with regular member shapes
generateSharedDeserializes generates deserializers specific to each operation and additional error info functions
generateOperationErrorDeserializers handles all parts of error generation, including cycling through the different operations. There are 4 additional helper functions in protocol generator utilized here.

Deserialize Middleware:

Response Checks function calls the error deserializers if a non 200 error is reported

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Here is the generated code for the deserializers.go file:
deserializers.txt


Lists comparison in simulation always returns false

To Reproduce
Create a program like in the screenshot and execute it in the simulation, here Calliope
Expected behavior
output true
Screenshots

done

Works as expected. Another error I noticed when testing is that the simulation does not run at all if a connection list variable is declared.


Update mysfitsTableClient.py in Mod 4 + 5 to fix Adopt and Like functionality

Issue #, if available: In Module 4 and 5 of the workshop, the Python service, mythicalMysfitsService adds functionality to Like and Adopt a misfit. The corresponding functions in mysfitsTableClient are not present.
Description of changes: The mysfitsTableClient.py file was copied from the Python branch of the workshop and committed to the python-cdk branch.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for submitting this!


Ability to create a product/item from an order line

Required fields

Function might not be available without external ID and description
this will default to a sell, but not buy.
traceability will be zero

I have a problem with the family
the family is created from the services
for articles you need a component service and then you can have a component family.
if no family created with a component service then the buttons would not be available?


Somfy Tahoma invalid auth

Hello, I had Somfy Tahoma as an integration working, until 2 days ago, April 13th 2021.
HA prompt me to add/retype the password, so I did, but mismatch password…?..
So I opened the Somfy Tahoma app, useless piece of work but ok; password in there worked fine.
Back to Somfy Tahoma integration in HA, no success. Finally deleted the whole Somfy Tahoma integration, rebooted HA but now I can not even add Somfy Tahoma or Somfy integration anymore.
Somfy Tahoma integration prompts me the password in invalid auth. (Even after changing my password in Somfy)
Somfy integration does not work, it prompts me there is already 1 Somfy integration; which I can’t(!) find. So it’s not there, not even in config.yaml file.
So I changed the Somfy password again, still no luck. Can someone point me in the right direction, it worked fine for 3 months… very odd.
Checked the breaking items in 2021.4 and .3 but could not find any related to the Somfy thusfar.
%key:common::config_flow::error::invalid_auth% Is the error when adding the credentials. While testing the tahomalink.com website the credentials are working fine!

Duplicate of https://github.com/iMicknl/ha-tahoma/issues/278.
They did some updates to the service a few days ago, which could maybe result in this behavior. Currenlty we try again very often when we receive a Bad Credentials, which could perhaps result in a temporary ban. This is something that is on our list, but bandwidth is limited unfortunately.
My advice would be to just wait a few days, than add the Somfy TaHoma integration and see if it works. Did you try to login on tahomalink.com via the same IP?

Same here, I can login with somfy-connect.com , but not on tahomalink .
Stopped working a few days ago.

@iMicknl thank you for your reply. I already changed my password several times, signed in on various apps and tablets all working fine. Just the integration was falling.
Glad to hear it sounds familiar. Will wait a few days. Hopefully others will comment once it’s working against has an update

@HFeenstra did you remove the integration for a while? It seems that your IP / session has been blacklisted and it could take some time to have this removed.
Changing your password won't help though.

@iMicknl Thanks, dank ;)
I will try your tip. So will remove the integration as a whole, also in the HACS interface.
Then I will let it sit for a while, 24-48 hours? Any experience with it in the past?
(The integration was already removed, so just the HACS Integration has been removed) Rebooted HA afterwards, will let it sit for a while.
Will be continued...

You don't need to remove the integration files, just make sure it is not added on your Integrations page in HA anymore.

@iMicknl Thanks I did what you suggested.
I noticed the new update, so I updated to the latest version, tried again to sign in with the Somfy Tahoma integration. Again no success.
Of course checked the password in the online environment, that is working fine. So the integration is still not running, the integration in HACS is still installed, again with the latest version.
Hop e to hear what can be done next. /thanks

@HFeenstra, @Rschack if you still face issue. Could you send me (via email listed on my profile) your email address? We have been in contact with Somfy about this issue and having your username would help.

Just send you an email, thanks!

Same on my side.
I disabled the integration 3 days ago, but I still cannot login on Tahomalink.com (Login through Phone app works, login through Somfy web site works too).
I just try to update the integration through HACS, and enable again the integration ==> Same result
All my tahoma entities are still "undefined"
Usually when I uninstall the integration  and try to reinstall it, the system reject my password (which is correct 100% sure)
Any idea ?
Should I wait longer than 3 day with that integrayion disabled ?
Thanks

@sbik38 unfortunately we cannot change this. If you send me your email (your login username) to my email (see my profile), I will add it to the email to Somfy.

@iMicknl
email sent !
Thanks

seems to be backto normal today !  Tahomlink login is OK again

Too bad, ever since @sbik38 post the above link I have not been able to sign in.
Even uninstalled and re installed.
So I will wait patiently to a more firm solution. Thanks anyway for the help thus far.

@HFeenstra we already got in touch with Somfy and the only thing I can think of, is that you are still hitting the API. Are you sure that you are not calling the API from your IP?
Your account was temporarily banned and this should be resolved if you stop hitting the API for at least 10 minutes. I am not sure why this is still an issue on your side, but otherwise you would need to contact Somfy support probably..

Hello @iMicknl and others. No idea what happend but after several time trying, removing, adding, password verifying I just got the Tahoma once again connected to the HA environment.
Odd thing is I haven’t done anything special. Ok I removed a few days ago the browser cache on my cell phone…
So overall its working again, automations were connected again and I tried it. Hopefully it will keep working.
Thanks for the effort and reply’s this far.

@HFeenstra great to hear! I am not sure what could have caused this behavior. I have improved this behavior in the core pull request, will try to backport it to this integration as well.
Let's close this issue for now, since we have a similar issue open already.


split permanent neonatal diabetes mellitus

closes #1803

I re-did this on PR https://github.com/monarch-initiative/mondo/pull/1846
closing


Ability to await the result of infer

I was wondering is it possible to use this library without callbacks?

No, this is not possible at this time. I believe the goal of this library is to leave "higher-level" abstractions such as that up to the user. For now, you'd probably want to use probably want to use use a combination of InferenceSession::feed_prompt and InferenceSession::infer_next_token to implement this. I'm going to close this Issue, but please feel free to re-open it or open another one if you have more questions.


Fix single-item device list throwing an error

Fix single item device list throwing an error
I noticed that if I pass a list containing a single item as device to any model that derives from BaseModel it results in an AssertionError, which I think is erroneous.
AssertionError: The list of devices should have at least 1 device, but got 0.
I test if the device variable is one item long. If it is, I extract the object it contains and rerun self._setup_device recursively.
Before submitting

[ ] This PR is made to fix a typo or improve the docs (you can dismiss the other checks if this is the case).
[ ] Was this discussed/approved via a GitHub issue? Please add a link to it if that's the case.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have written necessary tests and already run them locally.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 5 (20.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.07%) to 84.115%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pypots/base.py
1
5
20.0%

Files with Coverage Reduction
New Missed Lines
%

pypots/base.py
1
70.68%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
3103

Relevant Lines:
3689

💛  - Coveralls

Cool! I've fixed this error but haven't push my commits to GitHub for a merge. Congrats, Maciej! 😉 You're one step ahead of me. Let's merge it.


No "script.js" for JavaScript @example

I've been trying to create an example like:
/**
* @ngdoc service
* @name example
* @description
* # This does stuff
* @example
    <example module="myApp">
        <file name="script.js">
              console.log('This should execute');
        </file>
    </example>
*/
angular.module( 'myApp', [] )
    .factory( 'example', function ( $log ) {
        ...
    } );

Gives me the following error:
E:\development\js\proj\node_modules\gulp-ngdocs\src\example.js:142
  out.push(' ng-set-html="' + this.html[0].id + '"');

TypeError: Cannot read property 'id' of undefined at exports.Example.toHtmlEmbed (E:\development\js\proj\node_modules\gulp-ngdocs\src\example.js:142:43)
    at exports.Example.toHtml (E:\development\js\proj\node_modules\gulp-ngdocs\src\example.js:80:16)
    at E:\development\js\proj\node_modules\gulp-ngdocs\src\ngdoc.js:220:38
    at String.replace (native)
    at E:\development\js\proj\node_modules\gulp-ngdocs\src\ngdoc.js:193:9
    at Array.forEach (native)
    at Object.Doc.markdown (E:\development\js\proj\node_modules\gulp-ngdocs\src\ngdoc.js:191:11)
    at Object.Doc.parse (E:\development\js\proj\node_modules\gulp-ngdocs\src\ngdoc.js:401:25)
    at E:\development\js\proj\node_modules\gulp-ngdocs\src\reader.js:49:99
    at Array.forEach (native)
    at processJsFile (E:\development\js\proj\node_modules\gulp-ngdocs\src\reader.js:34:9)
    at Object.process (E:\development\js\proj\node_modules\gulp-ngdocs\src\reader.js:17:5)
    at DestroyableTransform.transformFunction [as _transform] (E:\development\js\proj\node_modules\gulp-ngdocs\index.js:204:14)
    at DestroyableTransform.Transform._read (E:\development\js\proj\node_modules\gulp-ngdocs\node_modules\readable-stream\lib\_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (E:\development\js\proj\node_modules\gulp-ngdocs\node_modules\readable-stream\lib\_stream_transform.js:172:12)
    at doWrite (E:\development\js\proj\node_modules\gulp-ngdocs\node_modules\readable-stream\lib\_stream_writable.js:237:10)

I've seen this done in Angular's documentation. However, the package works with...
@example
<example module="myApp">
<file name="index.html">
   <div ng-repeat="i in [1,2,3] | oddFilter">
        {{ i }}
    </div>
</file>
</example>

But not with the script.js to document a JavaScript example.
Please advise on how I can work around this.

@hooph00p
I'm experiencing this exact issue. Example works for name="index.html, however, when renaming to name="config.js" I get the same error.
../node_modules/gulp-ngdocs/src/example.js:142
  out.push(' ng-set-html="' + this.html[0].id + '"');
                                          ^

TypeError: Cannot read property 'id' of undefined

The problem is that you need to have a file element with a name of *.html, otherwise this.html is empty and you see the error above


update evaluation results and fix script

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-168/1 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-168/1/index.html

Codecov Report

Merging #168 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #168   +/-   ##
=======================================
  Coverage   78.15%   78.15%
=======================================
  Files         120      120
  Lines        6775     6775
=======================================
  Hits         5295     5295
  Misses       1480     1480

Job PR-168/2 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-168/2/index.html


Is it possible to customize event wrapper ?

Hi,
Is there any way to properly customize the "event" style in the calendar, by passing a custom css based or whatever.
I need to do something like that, and I can't believe I'm the only one who need that king of feature.

Thanks !

You can use the eventPropGetter prop to add custom classes and styling to 'events'.
(
    event: Object,
    start: Date,
    end: Date,
    isSelected: boolean
) => { className?: string, style?: Object }

Thanks a lot, that's exactly what I needed. Here is a small example of implementation.
Hope it will help others.
...
const eventStyleGetter = (event, start, end, isSelected) => {
  return {
    style: {
      opacity: isSelected ? 1 : 0.9,
      borderColor: event.color,
      backgroundColor: event.color,
    },
  };
};

function MyCalendar(props) {
  const { events } = props;
  return (
    <Calendar
      events={events}
      defaultView="week"
      localizer={localizer}
      eventPropGetter={eventStyleGetter}
    />
  );
}


Kesäseteli | Bump kesäseteli backend dependencies

Description :sparkles:
Silencing dependabot alerts
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #42 (a729995) into main (9201e17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #42   +/-   ##
=======================================
  Coverage   96.20%   96.20%
=======================================
  Files          24       24
  Lines         474      474
=======================================
  Hits          456      456
  Misses         18       18

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 9201e17...a729995. Read the comment docs.


Allow to not include Country in Location

If I comment out the Country in the value part, it still adds a comma after the Region

Hi, just like in #10 you can also override the #addresstext and #cvheading functions for this in cv.typ in your example.typ file. For example:
// Each section function can be overridden by re-declaring it here
#let addresstext(info, uservars) = {
    if uservars.showAddress {
        block(width: 100%)[
            #info.personal.location.city, #info.personal.location.region // <===== Edit the address text
            #v(-4pt)
        ]
    } else {none}
}

// Create layout of the title + contact info
// Just copied this verbatim with no change for new addresstext() function to work
#let cvheading(info, uservars) = {
    align(center)[
        = #info.personal.name
        #addresstext(info, uservars)
        #contacttext(info, uservars)
        // #v(0.5em)
    ]
}

You need to redeclare both of these functions in the example.typ for it to be overwritten properly.

@jskherman I think we could several fields optional/won't be shown if user don't provide the YAML key/value. What do you think?

That would be for the best, but I don't think I'll be able to work on this anytime soon. If someone could do a PR along the lines of phamson02's suggestion...

I will try to work on it!

Hi sorry for taking so long, the country and other address fields can now be omitted for this with the  v1.0.1 release, pending merge in the Typst packages repo.


Add a temporary class add class -t [class name]

I think we should change the format to make it easier to parse.


How should I best cite this repo?

Hello, I am curious about your preferred way that I cite this repo in a paper. I am currently using the following:
@article{wiskott2002slow,
  title={Slow feature analysis: Unsupervised learning of invariances},
  author={Wiskott, Laurenz and Sejnowski, Terrence J},
  journal={Neural computation},
  volume={14},
  number={4},
  pages={715--770},
  year={2002},
  publisher={MIT Press}
}

Please let me know if there is another reference that you would prefer I cited. Thanks very much for this excellent code!

If you want to cite a code repository specifically or in addition to the paper of the algorithm, note that it is well possible to cite web resources/urls, github.com/wiskott-lab/sklearn-sfa in this case. Not the preferred kind of citation I agree, but definitely an option. For bibtex, online resources should be cited using a @misc entry and the access date should be included, see the discussion on https://tex.stackexchange.com/questions/3587/how-can-i-use-bibtex-to-cite-a-web-page.

Sounds good, I'll cite the repository directly! Thank you very much, and have a great holidays!


when trying to do copy from dedicated server to co-op (the reverse), I recieve a syntax error

I believe you only get this error when you have installed Python 2 instead of Python 3. I know for sure that this code works with Python 3.10 so feel free to download it instead and try it out.


msal-node Device-Code PublicClientApplication

Upcoming Library

[ ]<EMAIL_ADDRESS>
Description
Complete a PublicClientApplication.ts for device-code flow for msal-node

Public API definitions
Request/Response/Error/Cache/Account/Network interfaces defined and implemented

Priority
Alpha branch by March end (Current Quarter - Q3)
Acceptance Criteria

End-to-end auth-code flow works for msal-node
Unit tests for the PublicClientApplication
A web sample demonstrating usage of this API

#1409 adds this


post about workflow

https://github.com/frontendbr/poste-mais/issues/12

moved to https://github.com/sergiokopplin/todo/issues/38


Bump version to 1.0.4

Repository Changes

Changed from ISC to MIT license (Daniel)
Added more tests for 100% coverage (Jonathan)

Interface Changes

(non-breaking) Added allowOneCase boolean (optional) to verify

passing true for this argument will include single-case (all lower or all upper) addresses (0x followed by 40 single-case hex characters) into the possibility space that returns true.
passing false (default), single case addresses will only return true if the EIP55 hash resulted in all a-f being a single case

Bug Fixes

encode was allowing any string as long as it was 42 length. so 42 z characters would be encoded into an EIP55-ish z address. Also, you could enter 42 hex characters and the hash would be based on the 42 characters but the output address would only be based on the first 40 characters (thus creating an invalid EIP-55 address that looks like a real address)

Now encode will accept 40 hex characters with or without prepended 0x, and properly encode in EIP-55.
It will throw Bad address if the input has non-hex symbols or is the improper length, or is not a string.
This is possibly breaking... but it only breaks apps that rely on it encoding un-encodable (z etc.) addresses.
Therefore, I propose this be published as a patch

@jprichardson If you could review, merge, and publish, whenever you have the chance I'd appreciate it.
Also see #3 for the bug fix and interface change PR.

@junderw I added you as an owner on npm.

@junderw For any possibility of breaking, I'd encourage defaulting to publishing a major. There is no downside to publishing a major. I ask that you consider this.


Data is compressed wrong

Describe the bug
A clear and concise description of what the bug is.
I created a data file from MURaM 1152x512x256 data which only have two chunks, each chunk is 512x256x256. The SPERR cannot compress the second chunk correctly.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error
debug_work.pdf

Expected and actual behavior
A clear and concise description of what you expected to happen,
and what actually happened.
The reconstructed second chunk data should be the following:
2.4385039e-15 2.4872165e-15 2.5708369e-15 2.6486769e-15 2.6840206e-15
2.6881527e-15 2.5566245e-15 2.2047681e-15 1.8494842e-15 1.6973415e-15]
But I got the following:
[-1.3500707e-11 -1.5191889e-11 -2.2858083e-11 -5.6626464e-11
-6.3362651e-13  4.1816415e-11  1.1408697e-10  6.3748409e-11
-1.1734481e-11 -6.9410054e-11]
Environment (please complete the following information):

OS: [e.g. Ubuntu 20.04]
Compiler [e.g. Clang-12]
SPERR Version [The output of ./bin/version]

Additional context
Add any other context about the problem here.

@halehawk Could you provide the following information to help me reproduce your bug?

Where is the data of question?
What operation (e.g., commands, parameters) you use?
what output did you expect?
What output did you observe?

It is shown in the pdf file.
On Thu, Feb 16, 2023 at 2:58 PM Samuel Li @.***> wrote:

@halehawk https://github.com/halehawk Could you provide the following
information to help me reproduce your bug?

Where is the data of question?

/glade/scratch/haiyingx/part_orig.bin

What operation (e.g., commands, parameters) you use?

/glade/u/home/shaomeng/Git/SPERR-Matthias/install/bin/compressor_3d --omp
4 --dims 1024 256 256 --chunks 512 256 256 --psnr 100 --out_decomp_f
/glade/scratch/haiyingx/part_orig.decomp.bin
/glade/scratch/haiyingx/part_orig.bin

what output did you expect?

said

What output did you observe?

said

—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/SPERR/issues/188#issuecomment-1433771451, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAPEFF4TJJSV6XNDR4O7ULWX2PGXANCNFSM6AAAAAAU6WJ3MU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @halehawk  I see the data file you're using, and I also see the command you're using. However, I still don't know what you expect to see, and what the program actually shows.
Please keep in mind that the more information you provide in a bug report, the easier the author can identify the bug, and the faster the bug is resolved.

It is in the bug report, the last part.
On Thu, Feb 16, 2023 at 3:16 PM Samuel Li @.***> wrote:

Hi @halehawk https://github.com/halehawk I see the data file you're
using, and I also see the command you're using. However, I still don't know
what you expect to see, and what the program actually shows.
Please keep in mind that the more information you provide in a bug report,
the easier the author can identify the bug, and the faster the bug is
resolved.
—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/SPERR/issues/188#issuecomment-1433789414, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAPEFAAEU45OIPVB3RXFBTWX2RLLANCNFSM6AAAAAAU6WJ3MU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@halehawk sorry, I cannot reproduce your report because of a lack of instructions.
I'd say that for this particular data, you told the compressor to compress at psnr=100 quality (--psnr 100) and the compressor achieves psnr=109 dB in the output file. The requirement is met so I don't see where the bug is.

So the second chunk data first ten values as follows:
orig
2.4385039e-15 2.4872165e-15 2.5708369e-15 2.6486769e-15 2.6840206e-15
2.6881527e-15 2.5566245e-15 2.2047681e-15 1.8494842e-15 1.6973415e-15]
your reconstructed
[-1.3500707e-11 -1.5191889e-11 -2.2858083e-11 -5.6626464e-11
-6.3362651e-13 4.1816415e-11 1.1408697e-10 6.3748409e-11
-1.1734481e-11 -6.9410054e-11]
They are supposed to be like that, right?
On Thu, Feb 16, 2023 at 3:25 PM Samuel Li @.***> wrote:

@halehawk https://github.com/halehawk sorry, I cannot reproduce your
report because of a lack of instructions.
I'd say that for this particular data, you told the compressor to compress
at psnr=100 quality (--psnr 100) and the compressor achieves psnr=109 dB in
the output file. The requirement is met so I don't see where the bug is.
—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/SPERR/issues/188#issuecomment-1433797721, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAPEFAKBK4DWO7W7FTZ7ETWX2SMLANCNFSM6AAAAAAU6WJ3MU
.
You are receiving this because you were mentioned.Message ID:
@.***>

I think I found the problem, you didn't use chunking at all. That's why
your second chunk used the first chunk's mean as some kind of standard. So
those values which are around 1e-15 need not keep the precision at all.
On Thu, Feb 16, 2023 at 3:33 PM Haiying Xu @.***> wrote:

So the second chunk data first ten values as follows:
orig
2.4385039e-15 2.4872165e-15 2.5708369e-15 2.6486769e-15 2.6840206e-15
2.6881527e-15 2.5566245e-15 2.2047681e-15 1.8494842e-15 1.6973415e-15]
your reconstructed
[-1.3500707e-11 -1.5191889e-11 -2.2858083e-11 -5.6626464e-11
-6.3362651e-13 4.1816415e-11 1.1408697e-10 6.3748409e-11
-1.1734481e-11 -6.9410054e-11]
They are supposed to be like that, right?
On Thu, Feb 16, 2023 at 3:25 PM Samuel Li @.***>
wrote:

@halehawk https://github.com/halehawk sorry, I cannot reproduce your
report because of a lack of instructions.
I'd say that for this particular data, you told the compressor to
compress at psnr=100 quality (--psnr 100) and the compressor achieves
psnr=109 dB in the output file. The requirement is met so I don't see where
the bug is.
—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/SPERR/issues/188#issuecomment-1433797721, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAPEFAKBK4DWO7W7FTZ7ETWX2SMLANCNFSM6AAAAAAU6WJ3MU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@halehawk The compressor takes as instruction one type of quality guarantee; in this case it is instructed to achieve PSNR=100. The compressor doesn't, however, provide any guarantee in terms of other quality measures.
What you observed is unfortunate, because the values are off by 4 orders of magnitudes. However, the compressor still meets the PSNR requirements (it achieved PSNR=109), so this behavior is not considered a bug.
Does it make sense now? If so, can I close this issue?

It is still a bug for me. I need to know if you still accept chunked data
for each of your C API, because I only can duplicate your results after
disabling the chunking for this data set. My python api only feeds each
chunk to each C API, but your command tool does something before you feed
in your compression API.
After I disabled the chunk, and didn't transpose the data before
compression, and transposed the data after decompression. I can get the
following plots:
On Thu, Feb 16, 2023 at 4:18 PM Samuel Li @.***> wrote:

@halehawk https://github.com/halehawk The compressor takes as
instruction one type of quality guarantee; in this case it is instructed to
achieve PSNR=100. The compressor doesn't, however, provide any guarantee in
terms of other quality measures.
What you observed is unfortunate, because the values are off by 4 orders
of magnitudes. However, the compressor still meets the PSNR requirements
(it achieved PSNR=109), so this behavior is not considered a bug.
Does it make sense now? If so, can I close this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/SPERR/issues/188#issuecomment-1433871100, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAPEFBCUU6CBMZN3ITIQN3WX2YTZANCNFSM6AAAAAAU6WJ3MU
.
You are receiving this because you were mentioned.Message ID:
@.***>

What about using point-wise-error tolerance mode instead of PSNR?

@halehawk  Did you mean you observe different results using the CLI tools vs. the C API? If so, I'm afraid you made a mistake in your python code, because I see exact outputs between CLI tools and C API.
Specifically, I use CLI commands below:
./bin/compressor_3d --omp 2 --dims 1024 256 256 --chunks 512 256 256 --psnr 100 --show_stats --out_decomp_f /glade/scratch/shaomeng/Feb16.output /glade/scratch/haiyingx/part_orig.bin

and C API executable below:
./3d.out /glade/scratch/haiyingx/part_orig.bin 1024 256 256 2 100

The output between these two commands are bit-for-bit identical, as shown below:
diff /glade/u/home/shaomeng/Git/SPERR-Matthias/examples/C_API/output.capi /glade/scratch/shaomeng/Feb16.output

I suggest that you take a look at the sample program on how to use SPERR C API, and also look at the C API documentation.

What about using point-wise-error tolerance mode instead of PSNR?

My understanding is that this isn't a usage problem, but a Python wrapper fails to give identical output problem...

I didn’t say C API command line tool is different from your compress_3d. I mean since using Matthias filter, your 2 chunks can not create same results as you compress them one by one. So is there way make sure my wrapper can have same capabilities? Because I feed in two chunks and get same results as they are compressed alone. So this data set is very useful to test the filter.Sent from my iPhoneOn Feb 16, 2023, at 5:00 PM, Samuel Li @.***> wrote:
What about using point-wise-error tolerance mode instead of PSNR?
My understanding is that this isn't a usage problem, but a Python wrapper fails to give identical output problem...
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

your 2 chunks can not create same results as you compress them one by one.

As a compressor, all SPERR does is to make sure a user-provided quality is met. There's no guarantee that you compress them one by one or in any other combination will yield the same output.

So is there way make sure my wrapper can have same capabilities?

If the same data and same parameters are given to the Python wrapper and C/C++ API, and the same outputs are produced, then your wrapper is correct and does have the same capabilities.

I confirmed if I compared my zarr file with your c api output per chunk.
They are bit-by-bit the same without Matthias Filter involved.
But if I use c_api to compress 2 chunks by one command, I cannot get the
same results.
You know why, because your c api gets inputs from the whole data set and
collects information from this whole array, for example, m_budget.
This is the only difference between your command line tools from my wrapper.
My zarr file is at /glade/scratch/haiyingx/part_orig_compchunk.zarr
Here is the screenshot of the comparison.
On Thu, Feb 16, 2023 at 7:59 PM Samuel Li @.***> wrote:

your 2 chunks can not create same results as you compress them one by one.
As a compressor, all SPERR does is to make sure a user-provided quality is
met. There's no guarantee that you compress them one by one or in any other
combination will yield the same output.
So is there way make sure my wrapper can have same capabilities?
If the same data and same parameters are given to the Python wrapper and
C/C++ API, and the same outputs are produced, then your wrapper is correct
and does have the same capabilities.
—
Reply to this email directly, view it on GitHub
https://github.com/NCAR/SPERR/issues/188#issuecomment-1434028078, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAPEFEZENUAE3VBC2XCJYLWX3SR5ANCNFSM6AAAAAAU6WJ3MU
.
You are receiving this because you were mentioned.Message ID:
@.***>

your c api gets inputs from the whole data set and collects information from this whole array,

It is absolutely correct that SPERR takes global knowledge into consideration when performing compression on individual chunks. With this clarification, can I close this issue now?

Sure.Sent from my iPhoneOn Feb 17, 2023, at 12:13 AM, Samuel Li @.***> wrote:
your c api gets inputs from the whole data set and collects information from this whole array,
It is absolutely correct that SPERR takes global knowledge into consideration when performing compression on individual chunks. With this clarification, can I close this issue now?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

But when we started project, you said all developement can base on chunks. Now I found out it cannot, and I have to find ways to make it work.Sent from my iPhoneOn Feb 17, 2023, at 8:42 AM, Haiying Xu @.> wrote:Sure.Sent from my iPhoneOn Feb 17, 2023, at 12:13 AM, Samuel Li @.> wrote:
your c api gets inputs from the whole data set and collects information from this whole array,
It is absolutely correct that SPERR takes global knowledge into consideration when performing compression on individual chunks. With this clarification, can I close this issue now?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

But when we started project, you said all developement can base on chunks. Now I found out it cannot, and I have to find ways to make it work.

Sorry that you find something not working, but I still don't understand what exactly is not working for you. Let's move this discussion to an in person meeting.


Nesting repo

Enable to create nesting objects.

This change is

@jgoclawski  please review :)

Next pull request contains this logic.


can you teach me how to slove it?

Traceback (most recent call last):
File "/home/hujh/expriement/IterComp-main/IterComp-main/data/model_gallery.py", line 1, in
from diffusers import StableDiffusionPipeline, DiffusionPipeline, StableDiffusion3Pipeline, FLUXPipeline
ImportError: cannot import name 'FLUXPipeline' from 'diffusers' (/home/hujh/anaconda3/envs/torch_base/lib/python3.9/site-packages/diffusers/init.py)

Thank you for your interest. We have updated the code, and it is now able to successfully build the model gallery.


Type conversion no longer applied to defaults when invoking a default subcommand in 8.0.2

Consider the following code:
import click

@click.group(invoke_without_command=True)
@click.pass_context
def main(ctx):
    if ctx.invoked_subcommand is None:
        ctx.invoke(ctx.command.commands["foo"])

@main.command()
@click.option("--bar", type=int, default="42")
def foo(bar):
    click.echo(repr(bar))

if __name__ == "__main__":
    main()

Prior to Click 8.0.2, this worked correctly; invoking the script with just python3 scriptname.py output 42.  However, with the release of v8.0.2, the type=int is no longer applied to --bar's default when invoking the command without a subcommand; in that case, the output is '42' (a string).
(Yes, I know that, in this specific case, it would be better to set default=42, but in my actual use-case, the default is a callable that does I/O, and I'd like to avoid evaluating it unless it's needed.)
Environment:

Python version: 3.9.7
Click version: 8.0.2

Duplicate of #2089


Add a Go import comment

This pull request was made with an automated tool.
The suggested change adds an import comment to a file in the package
to ensure that this package is always imported using its canonical
import path. With this comment in place, the go tool guarantees
that the package can be imported only from this path.
For more information, see https://golang.org/s/go14customimport,
in particular the "Proposal" section.

Adjusted and merged.

Thanks Russ.
Can you explain what you adjusted? I can't see any diff.

Yeah, I'm just pedantic about the prefix. Most people probably won't care.
But I also dropped the trailing period on the first line, which looks out of place too.
(I note there's no trailing period in the PR issue subject, just in the commit.)


Omit linting gulpfile

@kettanaito Why we want to do this?

@janpanschab we moved from Babel in Gulpfile, so Gulp tasks cannot be run through ESLint with the same config as we use on common basis development.
The second reason is that you should not really edit Gulp tasks during the development. Ideally, this is done sometimes by more experienced developers and you just pull the changes if you need. This way there is no need to make gulpfile larger by including this lint.


Green image?

Hi there,
I am getting a green corrupted image on some of my cameras like such:

With debug logs enabled, I am seeing many "Unsupported Intervaled data packet". Not sure if it's related? See logs: https://pastebin.com/yr4dnU2M -- restarting the camera brings back the image, but it eventually becomes green again. Not sure when/why it does become green.
VLC always shows the stream perfectly. The same stream also works fine with your RTSPtoWSMP4f project.

Apparently there is an error somewhere, you can give access to your rtsp stream?  I will fix it.

Thanks a lot! I just sent you an email with the credentials.


treewide: add warning comment to “boot” packages  …

This adds a warning to the top of each “boot” package that reads:
Note: this package is used for bootstrapping fetchurl, and thus cannot
use fetchpatch! All mutable patches (generated by GitHub or cgit) that
are needed here should be included directly in Nixpkgs as files.
This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
Also fixes attr:
Unfortunately the output of git.savannah.nongnu.org changes with each
gitweb update. This means that the current has
“0gja54fz79a9ma6b4mprnjxq77l5yg2z9xknlwhmkcrfnam02qxp” is no longer
correct:
$ nix-prefetch-url
https://git.savannah.nongnu.org/cgit/attr.git/patch/\?id=14adc898a36948267bfe5c63b399996879e94c98
1g8sky52rjg9fpmrddza1af89s9qd4bzsbxqb7mc5bv8gyh10s1k
Normally, we use fetchpatch to strip this out, but unfortunately attr
cannot use fetchpatch due to being used in bootstrapping fetchurl.
That is, it can’t use a custom postFetch since <nix/fetchurl.nix>
doesn’t support that.

(offtopic) It would be great to allow impure derivations be depended upon by fixed-output derivations, and fetchpatch use  that so it works either way.


Xcode 6.3 and Swift 1.2 Support

Already work, just switch to the branch swift-1.2

@antares38 true, true and thanks. I just merged the swift 1.2 branch with master and did a new tag/pod release as well.

Thanks !


Wrong russian translation of msgid "Media Library" in conf\locale\ru

mezzanine 1.0.0
Instead of
msgstr "Билбиотека файлов"
should be
msgstr "Библиотека файлов"
P.S.
Thanks for this amazing CMS! :)

Thanks for the correction - can you update it via transifex?
https://www.transifex.net/projects/p/mezzanine/
On Wed, Mar 7, 2012 at 4:24 PM, Magic <
<EMAIL_ADDRESS>
wrote:

mezzanine 1.0.0
Instead of
msgstr "Билбиотека файлов"
should be
msgstr "Библиотека файлов"
P.S.
Thanks for this amazing CMS! :)

Reply to this email directly or view it on GitHub:
https://github.com/stephenmcd/mezzanine/issues/151

--
Stephen McDonald
http://jupo.org

Yes, I can. Just added myself to members of russian team there.
Somebody should approved my request there.
Anatoly Vostryakov,
//////
2012/3/7 Stephen McDonald
<EMAIL_ADDRESS>
Thanks for the correction - can you update it via transifex?
https://www.transifex.net/projects/p/mezzanine/
On Wed, Mar 7, 2012 at 4:24 PM, Magic <
<EMAIL_ADDRESS>
wrote:

mezzanine 1.0.0
Instead of
msgstr "Билбиотека файлов"
should be
msgstr "Библиотека файлов"
P.S.
Thanks for this amazing CMS! :)

Reply to this email directly or view it on GitHub:
https://github.com/stephenmcd/mezzanine/issues/151

--
Stephen McDonald
http://jupo.org

Reply to this email directly or view it on GitHub:
https://github.com/stephenmcd/mezzanine/issues/151#issuecomment-4362627

Translation was fixed in https://www.transifex.net/projects/p/mezzanine/language/ru/

Thank you


Ignore directories

There should be a config option to completely ignore files saved in specified directories. This could be useful if the user's Documents folder (a common save location) is already being backed up (perhaps to a cloud service such as OneDrive or Dropbox) or for games that save to the install directory and the game is installed to a backup drive (i.e. E:\Games).

I think this is a good idea :+1: I haven't been interested in adding a per-game ignore option, but you make a good case for a global option.

Per-game ignore seemed pretty unnecessary to me until I saw that RetroArch is showing as a 6.19TiB backup because symlinks are apparently followed fully as well. Needless to say that's not a backup I want to do. Seems like a directory ignore should let me ignore the symlink in question, so that's a use case for me as well.

This suggestion isn't for per-game ignore. If you want something like that, you can just edit the game entry in the GUI. This suggestion is to ignore a directory for all games in case a common directory (like Documents) is being backed up already to, for example, a cloud service.
Unrelated, but for RetroArch you can also change the Directory settings to change your save and state directories to OneDrive or something. Use the desktop menu and you can change the directories with an actual textbox and folder selector.

I'm aware. My point was that ignoring a subdirectory would serve my purpose here. And I'm quite familiar with directory remapping in RetroArch, but that also removes cloud saves.

And I'm quite familiar with directory remapping in RetroArch, but that also removes cloud saves.

I mean, only the Steam version has built-in cloud saves and the Steam version has limitations. However, if you already have Steam backing up your RetroArch saves, you can probably disable backing up RetroArch in Ludusavi.

Just a note from https://github.com/mtkennerly/ludusavi/issues/68: In the list of files found, there could be checkboxes to quickly add or remove them from the ignore list. If two games shared a path, it would be toggled for both at the same time, since it would be a global list of ignored paths.

I ended up implementing two things for this:

Globally ignored paths/registry, which won't even show up in the list of scanned files
Game-specific ignored paths/registry, which will show up but can be toggled on and off with checkboxes in the list of scanned files

I had previously not wanted to add the latter because I felt that custom game entries could solve the same problem. However, I encountered a use case where a custom game is not sufficient:

One of the save folders for Trails in the Sky is <Steam-folder>\userdata\<user-id>\251150\remote\FC\
One of the save folders for Trails in the Sky SC is <Steam-folder>\userdata\<user-id>\251150\remote\SC

Trails in the Sky SC has a different Steam app ID, but stores its saves in the first game's app ID folder for some reason. When Ludusavi scans a game with a known Steam ID, it automatically scans the whole app ID folder, which means that the SC saves are picked up when scanning the first game. Because the app ID check is an automatic addition, there's no way to disable it from a custom game, and because you still want the FC folder when backing up the first game, you can't just ignore it globally.