Rename repository to "GEOPHIRES-X"

The repository name "python-geophires-x" was used for ease of cookiecutter template consumption, but "GEOPHIRES-X" would be preferable. I just learned it is apparently possible to rename a repository - we should do this when time permits (will require verifying that config based on cookiecutter template/python packaging is not broken)
https://docs.github.com/en/repositories/creating-and-managing-repositories/renaming-a-repository

Renamed my fork to GEOPHIRES-X to validate effects.

https://github.com/softwareengineerprogrammer/python-geophires-x-nrel (old repo URL) redirects to new repo name
git remote continues to work (with suggestion to switch to new remote: "This repository moved. Please use the new location: git@github.com:softwareengineerprogrammer/GEOPHIRES-X.git")
GitHub pages do require rename (https://softwareengineerprogrammer.github.io/python-geophires-x-nrel/ no longer resolves - will add manual redirect)

I support it. By putting Python in front of the name, it implies there will be other versions based on other programming languages - "FORTRAN-geophires-x", "COBOL-geophires-x", etc.
As long as nothing gets irreplaceably broken by this transition, I say go for it!

Thanks @kfbeckers for renaming yesterday! Assigning to myself for the remaining tasks of updating references to the old repository name in the codebase.

Jonathan-
by thoughts about what we have to do with out local repo on our machines that we exit with PyCharm? I have a folder on my laptop named "python-geophires-x-nrel". Does that need to change? What about PyCharm settings so syncing with GitHub will work? Are there any definitive tests to be sure PyCharm connective to the newly renamed repo remains correct?
Thanks,
-Malcolm

From: Jonathan Pezzino @.>
Sent: Saturday, December 16, 2023 12:09:31 PM
To: NREL/GEOPHIRES-X @.>
Cc: Malcolm Ross @.>; Mention @.>
Subject: Re: [NREL/GEOPHIRES-X] Rename repository to "GEOPHIRES-X" (Issue #48)
Thanks @kfbeckershttps://github.com/kfbeckers for renaming yesterday! Assigning to myself for the remaining tasks of updating references to the old repository name in the codebase.
—
Reply to this email directly, view it on GitHubhttps://github.com/NREL/GEOPHIRES-X/issues/48#issuecomment-1858892844, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWGVYT7GXZV44PEMOO3UYXDYJXPVXAVCNFSM6AAAAAA7HPTIX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHA4TEOBUGQ.
You are receiving this because you were mentioned.Message ID: @.***>

@malcolm-dsider none of that needs to change and will all continue to work indefinitely. I validated this both with my own fork and on this repo after the rename. Example:
(venv) ➜  python-geophires-x git:(main) git fetch origin
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), 661 bytes | 661.00 KiB/s, done.
From github.com:NREL/python-geophires-x
   e2b134d..3d5d754  main       -> origin/main

The update to references I mentioned isn't functionally necessary but is good to keep in sync to reduce chances of confusion for new users.

👍

From: Jonathan Pezzino @.>
Sent: Saturday, December 16, 2023 12:20:13 PM
To: NREL/GEOPHIRES-X @.>
Cc: Malcolm Ross @.>; Mention @.>
Subject: Re: [NREL/GEOPHIRES-X] Rename repository to "GEOPHIRES-X" (Issue #48)
@malcolm-dsiderhttps://github.com/malcolm-dsider none of that needs to change and will all continue to work indefinitely. I validated this both with my own fork and on this repo after the rename. Example:
(venv) ➜  python-geophires-x git:(main) git fetch origin
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (1/1), 661 bytes | 661.00 KiB/s, done.
From github.com:NREL/python-geophires-x
e2b134d..3d5d754  main       -> origin/main
The update to references I mentioned isn't functionally necessary but is good to keep in sync to reduce chances of confusion for new users.
—
Reply to this email directly, view it on GitHubhttps://github.com/NREL/GEOPHIRES-X/issues/48#issuecomment-1858897641, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWGVYT6KLS7BM3MC42SKYVDYJXQ53AVCNFSM6AAAAAA7HPTIX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYHA4TONRUGE.
You are receiving this because you were mentioned.Message ID: @.***>

This is completed, resolving.


Cuckoo hash build sometimes stalling

After adding sizes 10240 and 100 hash build on cuckoo started stalling

stalling occurs on size 100


fix typo

just fixed couple of typos

Thank you! Can you merge #140 into this?

sure.
sorry, I'm not that used to GitHub... ¯_(ツ)_/¯


Create aerial-tick-colors

My plugin allows the user to select different colors to highlight the fishing spots at aerial fishing based on the number of ticks it will take to catch the fish. The fishing plugin does this already, but it only has colors for 2-tick spots and not 2-tick spots. I think this should help visualize the distance to aerial fishing spots better.

Hi, did you forget to commit/push your changes? This looks like a blank template example plugin. Only the readme and the license is changed from the original.
These steps are worth following to get everything set up. https://github.com/runelite/plugin-hub#creating-new-plugins
Also is the repo name "Aeirial-Tick-Colors" a misspelling of "Aerial-Tick-Colors"

The plugin code has been pushed to the repository and the typo in the repository name has been fixed.

You need to update the commit in this PR as well, as that's what would be built for the hub.

I've updated the commit.

There already exists a hub plugin with the name "Aerial Fishing": https://runelite.net/plugin-hub/show/aerial-fishing. Your config group doesn't conflict with it, but we'd prefer you change it to be more specific to the full plugin name so as not to be confused, eg. @ConfigGroup("aerial-tick-colors")

I've changed the config group to "Aerial-Tick-Colors".


Allow user-defined coloring for tags

I'm currently mapping a story that increases a stat either a little (+), a little more (++), or a lot (+++). I tag passages as "Stat+", "Stat++", and "Stat+++". These three tags get three different colors in the default implementation. I'd like the ability to define my own colors for tags, perhaps something like "tagColors: [ {"tagone+": "#111111"}, {"tagone++": #111111"}, ... ]". This would allow me to either a) color similar tags the same color [useful in combination with #11] or b) shade similar tags in the same way ("all blue shades mean this stat will be increased. got it.").

There is also a tag-colors field in StoryData, though the values are restricted by the Twine GUI and it's unclear what would happen if you used hex values there.  Nevertheless, it would be handy to pick that up.

Agree. Discovered that while switching to tweego/twee3. I think that's probably the way to go here.

The tag color list for Twine is here.


Organizine Examples

Steps to reproduce the problem:

Visit https://github.com/mitmproxy/mitmproxy/tree/master/examples for the first time.
Be overwhelmed. (@mitmproxy/devs may not be able to reproduce this)

What went wrong?
Our examples directory has grown organically and I feel there are too many too complex examples in there that scare users away. It's not really clear where to start.
What is the expected behavior?
We should guide users to the simpler, more frequently used examples like add_header.py, filt.py, modify_response_body.py or redirect_requests.py and hide the more complex ones.
Any other comments? What have you tried so far?
I would propose to split the examples folder into "beginner" and "complex" and (after this, in a second PR) add a README in the examples folder that guides the user. The beginner examples don't have to be trivial, but they should have a high usefulness/complexity ratio.
I'd be more than happy if a new contributor wants to pick that up and let us know which examples are helpful for mitmproxy beginners and which aren't! :smiley:

I'm interested in taking a look at this. I'm just starting. Anyone else here?

I would be willing to lend a hand. I think the first thing we can do is rebuild this readme.md right now it kind of sucks.

Yeah... And maybe split a README for each folder that @mhils suggested...

I've also noticed that not all examples are covered in the current README. It would be nice to have a simple description for each one. On the other hand, I've also noticed that some files seem to have been created for reference by the docs. Maybe this makes the descriptions unnecessary....

I noticed that too and am working on the project in my fork now

Hey guys,
Thanks for picking this up! 😃 If you want to coordinate, you are more than welcome to join us on Slack and discuss things there. Other than that, the only advice I can give is to make the PRs as small as possible. 😉

Made pull request #1600 to submit my contributions to the codebase

That is nice. I'll make a PR that fixes the references in docs tomorrow.
If you don't beat me to it, of course.
:-D
On Tue, 4 Oct 2016 17:36 Shane Bradfield<EMAIL_ADDRESS>wrote:

Made pull request #1600 https://github.com/mitmproxy/mitmproxy/pull/1600
to submit my contributions to the codebase
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mitmproxy/mitmproxy/issues/1586#issuecomment-251505336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAALxsXOf0Aof-PcZrxuRIQPw5UtOBL4ks5qwri3gaJpZM4KJgCA
.

By all means take care of that one.

Did it!

I looked at upsidedownintenet and got overwhelemed, by its simplicity that is.


Path based routing is not working with Istio 1.0

Describe the bug
Use case: I have two services running in on premisses k8s cluster with Istio 1.0, namely Kibana with port: 5601 and Grafana with port:3000.
Expected behavior
Istio should route trafic based on prefix separarion, Example http://<IP_ADDRESS>:31380/kibana and http://<IP_ADDRESS>:31380/grafana
Steps to reproduce the bug
On prem k8s with Istio 1.0
Version
Istio 1.0 and Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:46:00Z", GoVersion:"go1.9.3"
Is Istio Auth enabled or not?
Anuth desabled, helm install install/kubernetes/helm/istio --name istio --namespace istio-system --set gateways.istio-ingressgateway.type=NodePort

Environment
On prem
Cluster state
If you're running on Kubernetes, consider following the
instructions
to generate "istio-dump.tar.gz", then attach it here by dragging and dropping
the file onto this issue.

Please provide your config, your expected behavior and your observed behavior.

Steps to reproduce:

deploy k8s cluster using kubeadm (on premises)

#From the k8s master, execute below steps
2. Configure helm

Download and install Istio using helm
$ curl -L https://git.io/getLatestIstio | sh -
$ cd istio-1.0.0

$export PATH=$PWD/bin:$PATH

Install CRDs
$ kubectl apply -f install/kubernetes/helm/istio/templates/crds.yaml

Install istio
$ helm install install/kubernetes/helm/istio --name istio --namespace istio-system --set gateways.istio-ingressgateway.type=NodePort

Label the default namespace with istio-injection=enabled
$ kubectl label namespace default istio-injection=enabled

Deploy Influxddb (use shared configurattion file influxdb.yaml)
$ kubectl apply -f influxdb.yaml

Deploy Grafana (use shared configurattion file grafana.yaml)
$ kubectl apply -f grafana.yaml

Deploy Istio gateway and virtualservices

$ kubectl apply -f gateway.yaml
$ kubectl apply -f virtualservice.yaml

Using browser, try access grafana service using Istio ingressgateway service
Example: URL: http://<IP_ADDRESS>:31380/grafana
Note: When I tried same grafana service using k8s NodePort the UI is opening without any issue.

Expected behavior:
Istio ingressgateway should redirect traffic to grafana service and a user should access grafana UI from browser. Example url: http://<IP_ADDRESS>:31380/grafana
Current behavior:
Grafana UI is not opening.
Thanks,
Sudhakar Ambati


fix joystick-related binding issues & raise button limit

Joystick AxisNegative & AxisPositive buttons to respect deadzones
Prevent deadzones from being less than FLOAT_EPSILON as this hurts the math
Add support for up to 128 joystick buttons

Currently, if you try to bind your keys (even keyboard / mouse) while a joystick is plugged in, Osu will record the ever-present wiggle of the axes due to there not being a deadzone for the virtual joy buttons. Another issue is that when a deadzone is not set, a value of 0 is used, which will cause issues since we're working with floats.
The button limit increase for https://github.com/ppy/osuTK/pull/59 also made it in here.

For future contributions, please make sure to make a branch called something related to the change (ie. don't make pull requests from your "master" branch).


feat(proposer): check tko balance and fee before proposing

closes #203
sorry roger, i thought this was assigned me to but had the wrong issue open :D.
tests are not failing due to my code changes, perhaps genesis issue?

tests are not failing due to my code changes, perhaps genesis issue?

Its a bindings issue, updated.


Error: failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.17.1' is incompatible because 'requires 1.13 <= version < 1.17'.

operator-sdk version
operator-sdk version: "v1.13.0-9-g2c1e81a3", commit: "2c1e81a32a36b6ae24156b72f152a3894d4d7b13", kubernetes version: "v1.21", go version: "go1.17.1", GOOS: "linux", GOARCH: "amd64

Why it's saying me to downgrade my go version?
What is the workaround?
I tried with --skip-go-version-check
But while creating resource following error shows

operator-sdk create api --group cache --version v1alpha1 --kind Memcached --resource --controller
Writing kustomize manifests for you to edit...
Writing scaffold for you to edit...
api/v1alpha1/memcached_types.go
controllers/memcached_controller.go
Update dependencies:
$ go mod tidy
Running make:
$ make generate
go: creating new go.mod: module tmp
Downloading<EMAIL_ADDRESS>go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, use 'go install' with a version,
        like 'go install example.com/cmd@latest'.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
go get: added github.com/fatih/color v1.12.0
go get: added github.com/go-logr/logr v0.4.0
go get: added github.com/gobuffalo/flect v0.2.3
go get: added github.com/gogo/protobuf v1.3.2
go get: added github.com/google/go-cmp v0.5.6
go get: added github.com/google/gofuzz v1.1.0
go get: added github.com/inconshreveable/mousetrap v1.0.0
go get: added github.com/json-iterator/go v1.1.10
go get: added github.com/mattn/go-colorable v0.1.8
go get: added github.com/mattn/go-isatty v0.0.12
go get: added github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go get: added github.com/modern-go/reflect2 v1.0.1
go get: added github.com/spf13/cobra v1.1.3
go get: added github.com/spf13/pflag v1.0.5
go get: added golang.org/x/mod v0.4.2
go get: added golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
go get: added golang.org/x/sys v0.0.0-20210510120138-977fb7262007
go get: added golang.org/x/text v0.3.6
go get: added golang.org/x/tools v0.1.3
go get: added golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go get: added gopkg.in/inf.v0 v0.9.1
go get: added gopkg.in/yaml.v2 v2.4.0
go get: added gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go get: added k8s.io/api v0.21.2
go get: added k8s.io/apiextensions-apiserver v0.21.2
go get: added k8s.io/apimachinery v0.21.2
go get: added k8s.io/klog/v2 v2.8.0
go get: added k8s.io/utils v0.0.0-20201110183641-67b214c5f920
go get: added sigs.k8s.io/controller-tools v0.6.1
go get: added sigs.k8s.io/structured-merge-diff/v4 v4.1.0
go get: added sigs.k8s.io/yaml v1.2.0
/home/zeromsi/go-workplace/memcached-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
/usr/local/go/src/net/cgo_linux.go:13:8: no such package located
Error: not all generators ran successfully
run `controller-gen object:headerFile=hack/boilerplate.go.txt paths=./... -w` to see all available markers, or `controller-gen object:headerFile=hack/boilerplate.go.txt paths=./... -h` for usage
make: *** [Makefile:82: generate] Error 1
Error: failed to create API: unable to run post-scaffold tasks of "base.go.kubebuilder.io/v3": exit status 2
Usage:
  operator-sdk create api [flags]

Examples:
  # Create a frigates API with Group: ship, Version: v1beta1 and Kind: Frigate
  operator-sdk create api --group ship --version v1beta1 --kind Frigate

  # Edit the API Scheme
  nano api/v1beta1/frigate_types.go

  # Edit the Controller
  nano controllers/frigate/frigate_controller.go

  # Edit the Controller Test
  nano controllers/frigate/frigate_controller_test.go

  # Install CRDs into the Kubernetes cluster using kubectl apply
  make install

  # Regenerate code and run against the Kubernetes cluster configured by ~/.kube/config
  make run

Flags:
      --controller           if set, generate the controller without prompting the user (default true)
      --crd-version string   version of CustomResourceDefinition to scaffold. Options: [v1, v1beta1] (default "v1")
      --force                attempt to create resource even if it already exists
      --group string         resource Group
  -h, --help                 help for api
      --kind string          resource Kind
      --make make generate   if true, run make generate after generating files (default true)
      --namespaced           resource is namespaced (default true)
      --plural string        resource irregular plural form
      --resource             if set, generate the resource without prompting the user (default true)
      --version string       resource Version

Global Flags:
      --plugins strings   plugin keys to be used for this subcommand execution
      --verbose           Enable verbose logging

FATA[0002] failed to create API: unable to run post-scaffold tasks of "base.go.kubebuilder.io/v3": exit status 2

This version check is handled downstream in kubebuilder, upgrading that to 1.17 is being tracked here

Could anyone let me know the working version of operator-sdk and golang?
I tried diff combinations and end up with errors always,

/usr/local/go/src/net/cgo_linux.go:12:8: no such package located (with golang v17 and SDK v14)
failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.15' is incompatible because 'plugin requires go1.16 <= version < go2.0alpha1' (with golang v15 and SDK v14)

Hi @dramasamy,
Th version supported and recommended is 1.16

Hi @dramasamy,
Th version supported and recommended is 1.16

Thanks, I have tried to build a sample operator on a fresh Ubuntu VM with Golang 16 and OpSDK v14; however, I see the same issue. Could you help me to find the root cause (/usr/local/go/src/net/cgo_linux.go:12:8: no such package located)?
FYI, this issue exists in kubebuilder too - Looks like I messed up golang installation?
Here is the multipass cloud-init I use,
https://gist.githubusercontent.com/dramasamy/43eb9992e77d69f1c6e83c3fc5eb2d95/raw/ea3849ba16bafe76655b2af9f6148486c777d114/kind_cluster_cloud_init.yaml
Commands:
 16  mkdir memcached-operator    17  cd memcached-operator    18  operator-sdk init --domain example.com --repo github.com/dramasamy/memcached-operator    19  operator-sdk create api --group cache --version v1alpha1 --kind Memcached --resource --controller
Error:
`
ubuntu@kind:~/memcached-operator$ operator-sdk create api --group cache --version v1alpha1 --kind Memcached --resource --controller
Writing kustomize manifests for you to edit...
Writing scaffold for you to edit...
api/v1alpha1/memcached_types.go
controllers/memcached_controller.go
Update dependencies:
$ go mod tidy
Running make:
$ make generate
go: creating new go.mod: module tmp
Downloading<EMAIL_ADDRESS>go: downloading sigs.k8s.io/controller-tools v0.7.0
go: downloading github.com/spf13/cobra v1.2.1
go: downloading github.com/gobuffalo/flect v0.2.3
go: downloading k8s.io/apiextensions-apiserver v0.22.2
go: downloading k8s.io/apimachinery v0.22.2
go: downloading golang.org/x/tools v0.1.5
go: downloading github.com/fatih/color v1.12.0
go: downloading k8s.io/api v0.22.2
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
go: downloading github.com/google/go-cmp v0.5.6
go: downloading golang.org/x/mod v0.4.2
go get: added sigs.k8s.io/controller-tools v0.7.0
/home/ubuntu/memcached-operator/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
/usr/local/go/src/net/cgo_linux.go:12:8: no such package located
Error: not all generators ran successfully
run controller-gen object:headerFile=hack/boilerplate.go.txt paths=./... -w to see all available markers, or controller-gen object:headerFile=hack/boilerplate.go.txt paths=./... -h for usage
make: *** [Makefile:80: generate] Error 1
Error: failed to create API: unable to run post-scaffold tasks of "base.go.kubebuilder.io/v3": exit status 2
Usage:
operator-sdk create api [flags]
Examples:
Create a frigates API with Group: ship, Version: v1beta1 and Kind: Frigate
operator-sdk create api --group ship --version v1beta1 --kind Frigate
Edit the API Scheme
nano api/v1beta1/frigate_types.go
Edit the Controller
nano controllers/frigate/frigate_controller.go
Edit the Controller Test
nano controllers/frigate/frigate_controller_test.go
Generate the manifests
make manifests
Install CRDs into the Kubernetes cluster using kubectl apply
make install
Regenerate code and run against the Kubernetes cluster configured by ~/.kube/config
make run
Flags:
--controller           if set, generate the controller without prompting the user (default true)
--force                attempt to create resource even if it already exists
--group string         resource Group
-h, --help                 help for api
--kind string          resource Kind
--make make generate   if true, run make generate after generating files (default true)
--namespaced           resource is namespaced (default true)
--plural string        resource irregular plural form
--resource             if set, generate the resource without prompting the user (default true)
--version string       resource Version
Global Flags:
--plugins strings   plugin keys to be used for this subcommand execution
--verbose           Enable verbose logging
FATA[0017] failed to create API: unable to run post-scaffold tasks of "base.go.kubebuilder.io/v3": exit status 2
`
Go ENV:
`
ubuntu@kind:~/memcached-operator$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ubuntu/.cache/go-build"
GOENV="/home/ubuntu/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ubuntu/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ubuntu/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.10"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/ubuntu/memcached-operator/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=/tmp/go-build3282169785=/tmp/go-build -gno-record-gcc-switches"
`

@dramasamy,
The root cause is that go 1.17 is not supported at all. You must use go 1.16 until the project starts to support go 1.17

@dramasamy,
The root cause is that go 1.17 is not supported at all. You must use go 1.16 until the project starts to support go 1.17

Thanks for your time in looking into this - I just found that GCC was missing in my server. All looks finer after ' apt install gcc -y'

I have tried to build a sample operator and follow the steps found at ; however, I always end up with error saying failed to initialize project.
Could anyone please help me to find the root cause (/usr/local/sbin/pkg/sumdb/sum.golang.org/latest: no such file or directory)?
Environment
OS: Linux ubuntu
go version: 1.16
operator-sdk version: 1.15.0
i have installed GCC
Commands:
mkdir memcached-operator
cd memcached-operator
operator-sdk init --domain example.com --repo github.com/example/memcached-operator
Error:
xxxx@mymachine:~/memcached-operator$ operator-sdk init --domain example.com --repo github.com/example/memcached-operator
Writing kustomize manifests for you to edit...
Writing scaffold for you to edit...
Get controller runtime:
$ go get<EMAIL_ADDRESS>go<EMAIL_ADDRESS>verifying go.mod<EMAIL_ADDRESS>open /usr/local/sbin/pkg/sumdb/sum.golang.org/latest: no such file or directory
Error: failed to initialize project: unable to scaffold with "base.go.kubebuilder.io/v3": exit status 1
FATA[0000] failed to initialize project: unable to scaffold with "base.go.kubebuilder.io/v3": exit status 1

Try this cloud init that has all required things to start the kubebuilder project.
https://gist.githubusercontent.com/dramasamy/43eb9992e77d69f1c6e83c3fc5eb2d95/raw/4031db05f8f852991e781d5746401a0ea7b574b8/kind_cluster_cloud_init.yaml
https://ubuntu.com/blog/using-cloud-init-with-multipass

Here are a couple workarounds to try to resolve the issue:
Ensure gcc is installed
Set the CGO_ENABLED environment variable to 0 to disable cgo
https://sdk.operatorframework.io/docs/faqs/#running-operator-sdk-create-api-results-in-an-error-with-usrlocalgosrcnetcgo_linuxgo138-no-such-package-located-in-the-error-message

The docs seem to be misaligned on this currently. In the prerequisites section Go1.18  is mentioned: https://sdk.operatorframework.io/docs/building-operators/golang/installation/#additional-prerequisites
However the latest version (I installed https://github.com/operator-framework/operator-sdk/releases/tag/v1.26.1) of the operator-sdk requires Go1.16?
$ go version
go version go1.18.4 linux/amd64

$ operator-sdk init --domain example.com --repo github.com/example/memcached-operator memcached-operator
Error: failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.18.4' is incompatible because 'requires 1.13 <= version < 1.17'. You can skip this check using the --skip-go-version-check flag


Allow tag that denotes inline locations to include nested tags

It would be great if the tag that denotes inline locations permitted there to be nested tags. For example, if the tag is #locations then #locations/cities and #locations/buildings would both be permitted. At present, if there's anything after the tag at all, it is not recognised. Thanks for your consideration!
Original comment below:

This works very well indeed – thank you so much for this! Just updated, and very grateful for how easy this makes the plugin to work with.

This is great already, but I do have one small request, which is for the tag to allow for nested tags. Let me explain why. I have lots of #locations tags already in my notes, but they all have nested tags, e.g. #locations/cities #locations/buildings etc. At the moment I need to add this tag for a second time without any nested tags for the location to be picked up. But if all that was required was for the top-level tag to be present, suddenly everything I already have would appear on the map. Thanks for you consideration and thanks again for adding this feature!

Originally posted by @mjknght in https://github.com/esm7/obsidian-map-view/issues/135#issuecomment-1547367139

For clarification: how I plan this would work is that the "tag that denotes inline locations" would be able to accept a wildcard (as in other places in Map View), so you could write #locations* in the settings.

Added in 3.1.0.

(rolled back the release because I made a mistake in the process, will hopefully re-release it tomorrow)

(update: fixed and re-released now)


[QUESTION] How can i double sheet and change name sheet?

hi,
How can i double sheet and change name sheet?
thanks

foreach($examples as $example)
{
$excel->sheet('SHEET NAME', function($sheet) {

#code

});
}

is it what you want?


axsdist units are unclear

Ernesto Castillo asks a very good question: what are the units on axsdist? This seems to be computed by calcGnom in FrameFunctions.scala, but I can't follow what the final formula is producing.

Hi, are there any updates on this? Looking at the functions calcGnom() and degToGnom() and the conversion gnom_dist = degToGnom(r) ( gnom_dist = tan(rad(r)) ), could this be a gnomonic projection? Is there something in the documentation or in other external sources that explains the method and the formulas used to determine the distance?

If we take the Gnomonic projection equations and set phi_1 and lambda_0 both to zero, (and also substitute lambda for abs(ra_2-ra_1) and phi for abs(dec_2-dec_1)), that would be as though the projection is centered on ra_1 and dec_1.

Yes, thank you very much @zecevicp . I was also wondering, is there a particular reason why the UDFs are written in Scala? Wouldn't be possible to implement calcGnom() directly in Python as a PandasUDF or using the built-in SQL functions? Thanks again


Add enum keyword to basic types

Solidity now supports enum types and super keyword

+1

Corrected in #6.


Shaman: Tidal Waves

For the Shaman class, Resto spec is missing the Spell Alert for Tidal Waves.
It uses the high_tide.blp texture in the files. "textures/spellactivationoverlays/high_tide.blp"
The spell stacks up to two times and used after casting Chain Heal or Riptide. I think it would be useful to add. I really enjoy the addon so far.  Thanks for your hard work. 👍

Hi and thank you for your feedback.
It looks like a good candidate for a new Spell Alert. And thank you for finding the texture file.
Considering High Tide was introduced in Warlord of Draenor, we must "invent" an appearance. For the record, high_tide.blp is a "top" texture, and the talent gives 2 charges of Tidal Waves.
Here are the current solutions:

the texture shall be hidden on top, with the same appearance for 1 or 2 charges
the texture shall be hidden on top, normal size with 2 charges and small size with 1 charge
the texture shall be rotated 90 degrees and displayed left/right (left = 1 charge, left+right = 2 charges)

Feel free to tell if one of it would be preferred and/or suggest another one.

I did some digging into it.  I think maybe the High Tide texture is not the best for Tidal Waves talent buff since it is really large. There was this weak aura I used in Legion where there were small blue watery orbs to the left and the right of the character (since there are 2 charges).
This Shaman Weak Aura Package is for Legion.
https://wago.io/SkCQSeibG
Specifically the Tidal Waves were based on the texture "Monk_ForceSpere_Orb.m2"
Maybe you could use that instead since it is smaller and takes up less space than High Tide.

Ah I just realized that it switches from then to be a Model instead of a texture.  Maybe we can get close to a blue water orb texture?

I haven’t used models for now, and I’d rather stick to textures for as long as possible.
Small images are technically possible in the top-left and top-right corners, but I guess they would look weird, because I don’t know of any Spell Alert from Retail which uses these locations.
If the High Tide texture is too big, we can easily resize it. For example, I already display the Impact texture at 80% scale for Firestarter and Decimation because the full texture looks too heavy.

Thanks for the awesome addon :)
Is there any news, when can we expect this feature?

Implemented in #100.
See PR for more information.


[0.2.4] FileService.acknowledge race

with taskset -c -p 1
[15:35:59 eldil!8 mitogen] python tests/bench/throughput.py
Testing local()...
local() took 1555.64 ms to transfer 512.00 MiB, 329.12 MiB/s
15:36:04.454017 E mitogen: While calling no-reply method FileService.acknowledge
Traceback (most recent call last):
  File "/home/dmw/src/mitogen/mitogen/service.py", line 254, in _invoke
    ret = method(**kwargs)
  File "/home/dmw/src/mitogen/mitogen/service.py", line 976, in acknowledge
    state = self._state_by_stream[stream]
KeyError: None

It's harmless, the race is since there is no guarantee service pool threads will ever have a chance to process acknowledge() calls before another thread disconnects the stream, which is exactly what's happening here.
Might need to add a few more stream_connect/stream_disconnect signals to give FileService a place where it can robust create/forget state relating to a stream


Adding a hamburger menu in mobile view

Changed the html code because a hamburger menu button was required.

cant seem to find the hamburger menu nor the functionality


Create driver for the MMA8451Q accelerometer sensor on FRDM-KL25Z

Inspiration:  https://os.mbed.com/users/emilmont/code/MMA8451Q/file/c4d879a39775/MMA8451Q.cpp/
I might look into this myself.  Do I need to sign an online NDA/code collab doc?

Do I need to sign an online NDA/code collab doc?

No. http://docs.zephyrproject.org/contribute/contribute_guidelines.html

(working on this + a sample app to join it at the moment)


System Listener

The system listener will be listening to interesting system events and refactor parts from the old StateProbe. Many different probes will be implemented and saved to the data base.

[x] Dreaming Probe

[x] Screen Probe

[x] AirplaneMode Probe

@llayman what else should we capture here? Information for the system itself like device name, API version, something else?

@mmueller301 I would like to capture:

Device make (e.g., Samsung)
Device model (e.g., Galaxy S4)
Android OS version or API level
MADCAP version

This information does not necessarily need to be in this Probe since I do not think this information can change while change while Data Collection is on. Seems like this should be helpful: https://developer.android.com/reference/android/os/Build.html

I would be a new Probe anyway @llayman. Just a GeneralSystemProbe which I think just need to be captured whenever the DataCollectionService is on.

@llayman do we still want to capture:

ACTION_BOOT_COMPLETED (at the place where it was before it makes no sense anymore)

ACTION_HEADSET_PLUG (maybe better in an AudioProbe?)

ACTION_SHUTDOWN

ACTION_USER_PRESENT - Sent when the user is present after device wakes up (e.g when the keyguard is gone).

@mmueller301 We definitely want the last 3. I think the first one is what triggers the OnBootCompleted listener. While we do not need to capture the ACTION_BOOT_COMPLETED intent specifically, it would be nice to know, in some way, that Data Collection started because BOOT COMPLETED vs. the user turned Data Collection On manually vs. the user Started the App. Does that make sense?

@llayman yes, I will think about how to pack those things into new probes. I would like to move the headset intent into any kind of headphone probe and not in the system listener. The boot and shutdown should go into a certain systemUptimeProbe and the user presence should be it's own probe I think.


Add support for typed/untyped instances in SHACL

Based on #338 add support for untyped instances in SHACL. For untyped instances, it is not possible to rely on sh:targetClass as there will be no <instance>rdf:type <class> triple in the data. Shape nesting needs to be used instead.

Added support for ALWAYS typed = targetClass, OPTIONAL + NEVER = focusing node through sh:targetObjectsOf, with the addition that NEVER has type in forbidden paths.
Need to resolve root untyped restrictions.

Maybe a related thing, also maybe a new issue:
When you target according to type (in the always typed case), won't there also be an issue when have e.g.
Tourist attraction as a root, then relation to e.g. Owner, and from owner a relation to other owned Tourist attractions with a different contents? Won't the two shapes get mixed up?

Regarding the untyped root, after a brief discussion with @sstenchlak we think it is OK not to support it at throw an error when there is no root type, as it seems like an edge case for our typical use cases and it does not make much sense to use SHACL when the root is not typed.

Typed and untyped instances has been solved by adding sh:class for "ALWAYS" typed and adding not expecting rdf:type for "NEVER" options. "OPTIONAL" doesnt generate any constraint. Closing the issue.
Typing instances option is also tied to SHACL targetting and has been tackled while working on the targetting issue as well.


Define config yaml GIM-116

Config yaml schema added.
Its corresponding JSON model will be in another ticket's scope.

Thanks, that should to the trick for the config schema. Some minor comments inline.
Beyond that, I suggest to refactor the name of the config yaml(s) and the loader logic. To keep things simply, I would just name them x.y.z.yaml. The __file__-based loader logic does not work for all scenarios of how a python package might be installed. Here's a more robust loader logic:
from importlib import resources
import yaml

def load_config(version: str) -> Config:
    config_resource = resources.files("ghga_transpiler.config.configs").joinpath(
        version
    )
    config_str = config_resource.read_text(encoding="utf8")
    return Config.parse_obj(yaml.full_load(config_str))

configs needs to be a module for that though, so you need an __init__.py in that folder, too.


Linkdrop flow during Login

Currently Linkdrop would be used for creating accounts.
At the same time, the app needs to know if user needs new account before creating linkdrop.
But without targeting user to Wallet first, there is no way to identify this.

We might be able to make some changes to the linkdrop contract to make this easier.
If we make balances reusable, allows Flux to send most users to wallet with a key e.g.

Flux sends me a key and I never use it (or already have an account, thus Wallet doesn't use it)
They send someone else a key without adding additional funds to the Linkdrop contract

This doesn't prevent spam/sybil attacks, but will at least cut a step out of the flow.
The alternative is pretty ugly:

Redirect the user to the wallet
See they have no account
Redirect back to Flux to get a linkdrop key
Redirect to wallet with key

And this is also in no way sybil resistant
cc @vgrichina

Agree that contract shouldn't be using up tokens that aren't claimed.
As for Sybil resistance – I think we have such options in short term:

login with Google
verify phone number when setting up account

I’m not sure Sybil resistance on our side helps the app that much, as they’ll have already given the user a funded Linkdrop key

I’m not sure Sybil resistance on our side helps the app that much, as they’ll have already given the user a funded Linkdrop key

@kcole16 it's not like conditions for claiming Linkdrop are set in stone. We can require another signature by our backend if necessary.


[question] How to refresh a token from an SPA? / Can we let refresh tokens expire?

Hi there. I've been struggling with this question for some time, so I thought I might reach out to hear y'all's opinion.
Assumptions:

When using Dex from a JS in-browser application, it seems common wisdom to use the Implict Flow.
I want to react to changes of a user's status in the external identity provider (LDAP, SAML, ...) in a timely manner.
I don't want to have the user go to their IdP to re-login annoyingly often.

The Trilemma

(2.) and (3.) stand in direct opposition -- if we assume that the act of getting an ID token is the only way for synchronising with the external IdP: if we want to be informed in a time window of 20 minutes, than this means the user has to login every 20 minutes. (#990 could make this a little less painful for non-interactive connectors, e.g. OIDC/SAML with a session on the IdP.)
(1.) means we don't have refresh tokens in the client. (Putting aside that SAML doesn't allow refresh.) Also, refresh tokens don't expire, so it seems incautious to hand them out, e.g. by using the authorization code flow. (Although: search [this post]https://aaronparecki.com/oauth-2-simplified/) for "industry best practice")

Possible ways out?
Extend a token's lifetime without a refresh_token
This could be a way to achieve (1.)-like behaviour without actually handing out refresh tokens.
Dex could support extending an ID token's expiry (or really, give a new one out when given a valid one), for example as follows:

Requesting a token from /auth/token using a valid, non-expired ID token could initiate a connector's Refresh() (if implemented), and

when successful, return the new ID token
if unsupported or failing (e.g. the user doesn't exist anymore, or has been disabled in the external IdP), return 401.

Downside: this seems to be way out of spec -- so, 👎 Although I vaguely remember that google or facebook do something like that, but unless there's a spec, I'd be reluctant to really propose this route.
Restrict refresh_token lifetime
This could overcome (1.) by making it acceptable to hand out refresh tokens.
If refresh tokens expire, they could more easily be handed out to non-confidential clients. The refresh token validity would then drive when the user has to sign in interactively, and until that happens, the client could get a fresh access_token/ID token every 20 minutes. The act of exchanging the refresh token for an ID token is the point in time when external changes (from the IdP) get effective.
Advantage: expiring refresh tokens seem to be in spec and not too uncommon (see e.g. Azure AD).
Disadvantage: there's no Refresh() for the SAML connector (probably among others); which may or may not be an insurmountable problem 😉
Other options?
I must have missed something. How do you, dear reader, approach that problem?

This sounds like an access_token and the userinfo endpoint https://github.com/coreos/dex/issues/376
Just an FYI, you'll never be able to do this through SAML. There's no way to re-query a provider.

The session spec is related: http://openid.net/specs/openid-connect-session-1_0.html#CreatingUpdatingSessions

Just an FYI, you'll never be able to do this through SAML

Yup that's right. Luckily, there's a new option for Azure AD now: using the microsoft connector 😃

Closing this. Thanks.


PackageId:CPython39.Exe.x64;PackageAction:DownloadPackage;ReturnCode:0x80072efd;

This issue has been moved from a ticket on Developer Community.

Describe your issue here
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64; PackageAction:DownloadPackage; ReturnCode:0x80072efd;

Original Comments
Feedback Bot on 5/12/2023, 00:22 AM:
(private comment, text removed)

Original Solutions
(no solutions)

It seems the problem occurs when installer tries to download python. This could be due to network timeouts, corporate firewall policy, VPN configuration, anti-virus, or other problems. See if a retry helps, and if not, see if you can download the Python runtime directly from https://python.org/ and install it manually.
If that doesn't solve your issue, we could use more detailed logs to see what's really going on. Can you please collect more logs by running http://aka.ms/vscollect.exe and uploading %temp%\vslogs.zip and reopen the ticket if it persists? Thank you!😊


Cursor automatically moves to end of the code

We have written the needed data into your clipboard because it was too large to send. Please paste.

i am editing the code and the cursor everytime moves to last line of the code...

@himIoT19 does this happen if you disable all extensions. E.g. start code with --disable-extensions


WIP: Add StackedTree Layout

Hello,
I'd like to propose a new tree layout named Stacked Trees based on Bisson and Blanch (2012). It's similar to the cluster layout and tries to be a more compact version for very large hierarchical clusters.

Bisson, G., & Blanch, R. (2012, July).
Improving visualization of large hierarchical clustering.
In 2012 16th International Conference on Information Visualisation (pp. 220-228). IEEE.

Example usage: https://observablehq.com/@martialblog/d3-stacked-tree
I wanted to maybe get some feedback and incorporate changes before writing a test. I can update the PR accordingly.
Regards,
Markus

Hi Markus, this is a great addition and I support this PR. We're working on a tree visualization and would be happy to have to feature too. I was thinking about visualization like this. I have already tried to use your branch, but it doesn't quite turn out the way I like it. I would like to stack the children (see example tree). We're happy to contribute to make it better!


Fix parsing errors

Addresses the parsing errors identified by AbilityNet in their accessibility review. Their issue ref ADR_19364-2.
I ran the main page and a supplier detail page through Nu HTML checker and found the following issues:

[x]
 can't be a  child of
[x] duplicate IDs - all of the half star components have the same id
void elements have trailing slashes inside html tags, e.g.  (Note 1)
[x] extra
 on customer commitments

The following issue was also identified by the HTML checker, but will be addressed in a separate PR when fixing the malformed description list (ADR_19364-5)

there is a trailing slash on void element
 in the Contact details section

The below parsing issues were identified by the HTML checker, but will not be addressed in this PR as they are not required for WCAG 2.1 AA:

attribute type not allowed on select - unranked supplier dropdown (Note 2)
page shouldn't have both a meta element with http-equiv whose value is content-type and a meta element with charset attribute.
aria-labelledby must point to id in same doc - new 'More details' labels added incorrectly
headings must not appear as descendants of dt element (will be addressed when fixing the malformed description list)

Note 1 - I have not addressed this issue as I've been unable to reproduce it. Have tried using Firefox, Chrome & Safari, and for all three browsers there are no extraneous trailing slashes. It was not highlighted on AbilityNet's report, and only indicated as Info on NU Html checker.
Note 2 - Per MDN docs, the select element includes the global attributes, which don't appear to include type. However, the design system Input::SelectComponent has type as a mandatory attribute, and this parsing issue is not a WCAG failure.

@stringiest I'm still checking the PR but something I noticed in the description:

Note 2 - Per MDN docs, the select element includes the global attributes, which don't appear to include type. However, the design system Input::SelectComponent has type as a mandatory attribute, and this parsing issue is not a WCAG failure.

We've had a similar issue in WSRF. Leeky has done a nice fix in the design system so it might be something to roll out here (probably in a separate PR): https://github.com/citizensadvice/design-system/pull/3187


Cannot sweep wallet into Coinomi

Thanks for taking the time to write MyEtherWallet.
I generated a paper wallet using your program. But when I attempt to sweep it into Coinomi, I get an error "could not recognize the private key format"
I've taken a look on the Coinomi support page and private keys need to be in: BIP38, WIF or mini format to be compatible with Coinomi's sweep function.
I'm not really sure which format MyEtherWallet generates. I've tried to convert it to one of the other compatible formats using: https://www.bitaddress.org and https://coinomi.com/recovery-phrase-tool.html
but I haven't had much luck (please note that I am not a crypto expert).
I hope you have the time to re-release a version of your code that generates private keys in formats that Coinomi can sweep.

Hi ! let me get it right !
did you sweep the wallet to jaxx , and the you sweep to Coinomi ?
mi problem is that i haD all the ETC on myetherwallet at the moment of the snapshoot , but i can´t sweep the wallet to coinomi because it only acept : bip38, WIF or mini private key.

You can sweep your coins/ether into a jaxxx wallet and then send them to
your coinomi wallet.
Let me know if you have further questions.
On Sat, 28 Apr 2018, 17:55 jeanlp76<EMAIL_ADDRESS>wrote:

Hi ! let me get it right !
did you sweep the wallet to jaxx , and the you sweep to Coinomi ?
mi problem is that i haD all the ETC on myetherwallet at the moment of the
snapshoot , but i can´t sweep the wallet to coinomi because it only acept :
bip38, WIF or mini private key.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kvhnuke/etherwallet/issues/1399#issuecomment-385190251,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgzoNMj0XZR5yjXCcfabFQ1h8x9uv46nks5ttJ7rgaJpZM4Q8Z2h
.


Can't read a pin from board_s3

First of all, thank you for looking at my question :)
I have the following issue. I'm able to access the board and also list which pins are inside:
import pins # version 0.8.3

board_tst = board_s3(PATH_TO_MY_BOARD)
board_tst.pin_list()

But when I try to read a pin
tst = board_tst.pin_read('test_data_starwars')

I get the following error:
PinsError                                 Traceback (most recent call last)
Cell In[22], line 1
----> 1 tst = board_tst.pin_read('test_data_starwars')

File ~/.local/lib/python3.8/site-packages/pins/boards.py:212, in BaseBoard.pin_read(self, name, version, hash)
    198 def pin_read(self, name, version: Optional[str] = None, hash: Optional[str] = None):
    199     """Return the data stored in a pin.
    200
    201     Parameters
   (...)
    210
    211     """
--> 212     meta = self.pin_fetch(name, version)
    214     if isinstance(meta, MetaRaw):
    215         raise TypeError(
    216             "Could not find metadata for this pin version. If this is an individual "
    217             "file, may need to use pin_download()."
    218         )

File ~/.local/lib/python3.8/site-packages/pins/boards.py:187, in BaseBoard.pin_fetch(self, name, version)
    186 def pin_fetch(self, name: str, version: Optional[str] = None) -> Meta:
--> 187     meta = self.pin_meta(name, version)
    189     # TODO: sanity check caching (since R pins does a cache touch here)
    190     # path = self.construct_path([self.board, name, version])
...
---> 98     raise PinsError("Cannot check version, since pin %s does not exist" % name)
    100 versions_raw = self.fs.ls(self.construct_path([self.path_to_pin(name)]))
    102 # get a list of Version(Raw) objects

PinsError: Cannot check version, since pin test_data_starwars does not exist

I also want to note that the board and the pin was initially created with R, could that be an issue?

Before @isabelizimm gets back from vacation next week, I just want to assure you that absolutely you should be able to roundtrip a pin through R and Python on S3, Posit Connect, etc.
If you navigate to the S3 bucket and check out the folder where these pins are stored, do you see a metadata file? It should be in the version folder, called data.txt, and look somewhat like this. If there is one there, can you share what it looks like?

Hi Julia,
I have two pins saved:
This one is a CSV
List of 11
 $ file       : chr "test_data_starwars.csv"
 $ file_size  : 'fs_bytes' int 7.33K
 $ pin_hash   : chr "735f8120e142c45f"
 $ type       : chr "csv"
 $ title      : chr "test_data_starwars: a pinned 87 x 11 data frame"
 $ description: NULL
 $ created    : POSIXct[1:1], format: "2023-09-29 13:18:00"
 $ api_version: num 1
 $ user       : list()
 $ name       : chr "test_data_starwars"
 $ local      :List of 3
  ..$ dir    : 'fs_path' chr "~/.cache/pins/s3-mydatabase/test_data_starwars/20230929T131826Z-735f8"
  ..$ url    : NULL
  ..$ version: chr "20230929T131826Z-735f8

This one is RDS, but this one can't be read in Python since it's a binary R data file. I also wanted to ask if it's possible to save it as parquet with R and then read it with Python.
$ file       : chr "encrypted_data.rds"
 $ file_size  : 'fs_bytes' int 1.54G
 $ pin_hash   : chr "bd32445d57729d9a"
 $ type       : chr "rds"
 $ title      : chr "encrypted_data: a pinned 5667283 x 4 data frame"
 $ description: NULL
 $ created    : POSIXct[1:1], format: "2023-09-01 16:00:00"
 $ api_version: num 1
 $ user       : list()
 $ name       : chr "encrypted_data"
 $ local      :List of 3
  ..$ dir    : 'fs_path' chr "~/.cache/pins/s3-mydatabase/encrypted_data/20230901T160026Z-bd324"
  ..$ url    : NULL
  ..$ version: chr "20230901T160026Z-bd324"

Ohh, I thought by doing pin_meta() you would also get the information you need.
I checked the S3 bucket through the console and the file is there but I don’t have permission to see the txt file. I’m gonna ask the admin to give me access and I’ll get back to you :)

Ah, I definitely think that would be the problem if you don't have permissions to access the file. A user who wants to read a pin needs to have permissions to access the directory where the pin contents plus metadata are stored.

Hey there! I am back from OOO and hopping in to confirm @juliasilge-- you won't be able to see any pin metadata without access. Let us know if getting permissions sorted out fixes your problem 😄

Thank you both ;)
In the meantime while I wait to get read access from the admin, I managed to copy the txt file to my local path. This is how the txt looks like:
file: test_data_starwars.csv
file_size: 7507
pin_hash: 735f8120e142c45f
type: csv
title: 'test_data_starwars: a pinned 87 x 11 data frame'
description: ~
created: 20230929T131554Z
api_version: 1.0

I have another question, how come I can read the pin with R but not with Python? does R read the metadata in a different way than Python?

That data.txt file looks right. 👍

how come I can read the pin with R but not with Python?

I have been wondering the same thing!!! 🤯 It must be some difference in how the R package and Python package do authentication? In terms of reading the file itself:

The R package uses the get_object() method on a paws.storage::s3() object:

https://github.com/rstudio/pins-r/blob/b3f1fcd7b9cb7743a4fc0dbf3c723e9546cb8415/R/board_s3.R#L336-L339

The Python package uses the fsspec library for s3 and treats your S3 bucket like an fsspec object, reading with the open() method.

Hmmm.... I wonder if your PATH_TO_MY_BOARD is not correct?

Closing this due to inactivity. Feel free to open a new issue if you continue to see problems!


Implement parameters for request handlers (operations)

http://swagger.io/specification/#parameterObject
Currently the only support type of input parameters is body. It should be possible to consume all types of documented parameters.

[ ] query
[ ] header
[x] path
[ ] formData
[x] body

Query parameters should be supported. From within a handler it should be possible to use processed parameters.

[ ] collectionFormat — For query and formData.
[ ] standard schema options

Since the parameters are mostly implemented by a JSON schema, their definition can be expressed using one. This can be either a JSON schema or **kwargs passed as a JSON schema.
Thoughts explained by a usage example:
app = Flask(__name__)
oauth = OAuth(app)

@app.route('/')
@oauth.query_param('type', 'BeverageType')
@oauth.query_param('names', collection_format=CollectionFormat.pipes, type='string')
def handler():
    assert isinstance(oauth.parameters.type, str)
    assert isinstance(oauth.parameters.names, list)

assert isinstance(CollectionFormat, enum.Enum)
assert CollectionFormat.pipes == '|'

client = app.test_client()
client.get('/?type=beer&names=Hertog%20Jan|Palm')

@remcohaszing You might want to have a look at webargs.  I've used this in many projects, and it would be beneficial, to not have to do twice the work.
What's nice is, it uses marshmallow under the hood to define the schema.  A lot of projects use Marshmallow to serialize/deserialize resource models...
I was thinking of writing a project much like this one before I stumbled upon yours.  Here is what I was thinking (to clarify):
The Marshmallow schema definition:
class UserSchema(ma.Shema):
    first_name = fields.Str(allow_none=False, required=True)
    last_name = fields.Str(allow_none=False, required=True)
    email = fields.Email(allow_none=False, required=True)

The user model:
class User(EntityModel):
    first_name = Field(data_type=unicode)
    last_name = Field(data_type=unicode)
    email = Field(data_type=unicode)

The user resource (using flask-restful:

user_args = {
    'email': fields.Str(required=True),
    'active_only': fields.Bool(location='query', missing=True)
}

class UsersResource(BaseResource):
    schema = UserSchema
    model = User

    @jwt_required()
    @use_kwargs(user_args)
    def get(self, email, active_only):
        user = User.get_by_email(email)
        # do some stuff
        return jsonify(self.schema(strict=True).dump(user).data)

So you can see that I'm already defining a 'schema' for the response, and the query params (webargs also gets the args from query, json, form, etc.. that you mentioned above).  Because they use marshmallow, you can pass in extra information in the fields as well.  For example:
class UserSchema(ma.Shema):
    first_name = fields.Str(allow_none=False, required=True, description="First name")
    last_name = fields.Str(allow_none=False, required=True)
    email = fields.Email(allow_none=False, required=True)
    aliases = fields.Str(collection_format="pipes", description="A Pipe delimited string of names to be used as aliases")

Sorry if I'm rambling...  Let me know what you think, and I'll contribute some time.

@xuru Cool to hear someone's interested! At the moment I'm a bit busy doing other stuff, so this project has gotten lower priority.
I'm personally not a big fan of flask-restful, so I prefer not to depend on that.
Also I'd rather use raw JSON schemas, but I'd welcome a patch that can generate a description from a marshmallow model.
Looking at webargs, I'm not sure such an API can be described using OpenAPI 1.0. Eventually I'd like to support OpenAPI 2.0 anyway though.
I'm definitely hoping to pick up this project sooner or later. Contributions are welcome in the form of ideas or actual code contributions. :wink:

Good to hear.  Time is a always a commodity here as well.  I'll see if I can free up some time.


HYD3000 / HYD6000 protocol

Hi! I started from your files to map my HYD6000.
After weeks of researches I mapped a 77 components of inverter!
My model is branded "ZCS AZZURRO" but I saw that's the same for unbranded ones.
And this is what I got:

A lot of datas!
This inverter has NO separate entities to show charging/discharging batteries or giving/getting energy from grid, but it has one entity for grid in/out and one for batteries charge/discharge.
So if, for example, entity  "batteries charge/discharge power" has a positive value, batteries are charging, if it has negative value they are discharging.
So I'm thinking how I could use this to integrate with HA because it requires 2 distinct entities for grid and for batteries.
I hope it will help
hyd3000-6000.txt
Cheers!
Paq

Hey Paq. I am using the same inverter and have done more or less the same as what you have above. Have you had problems with massive spikes in your data?

yes, more or less... I'm using filter in HA.
Are you using the "daily" parameters in the Energy configuration for grid and batteries?

I am. Would you be able to share your filter and config for the energy dashboard?

This is my configuration:
  - platform: filter
    name: "Pannelli Produzione Istantanea - filtrato"
    entity_id: sensor.solarman_pv_instant_generated_pw
    filters:
      - filter: range
        lower_bound: 0.0
        upper_bound: 10.0

  - platform: filter
    name: "Battery Percentage - filtered"
    entity_id: sensor.solarman_battery_percentage
    filters:
      - filter: range
        lower_bound: 0.0
        upper_bound: 100.0

  - platform: integration
    source: sensor.pannelli_produzione_istantanea_filtrato
    name: energy_spent
    unit_prefix: k
    round: 2

I use the last one - platform: integration for instant generated power conversion from kW to kWh.

It's not perfect but it's working. I'm changing something everyday.
This is the last file I made.
HYD3000-6000 parameters-v2.txt

Thanks @paqp . I have pulled into the main branch and it will be in the next release. If you want to make changes, just clone the repo and make a pull request.


responsive_images doesn't work

Hello.
I'm trying to use responsive_images, but it doesn't work. When there is a dozen images on the page, only a second one have srcset attribute, but it leads to full size images.
It's latest ngx_pagespeed version and nginx-1.11.3 There are fastcgi cache and expire headers enabled.
Here is a config for pagespeed
pagespeed on;
pagespeed FileCachePath /var/ngx_pagespeed_cache;
pagespeed FileCacheSizeKb            204800;
pagespeed FileCacheCleanIntervalMs   7200000;
pagespeed FileCacheInodeLimit        1000000;
#pagespeed RewriteLevel CoreFilters;
pagespeed MapOriginDomain "http://" "https://";
pagespeed LoadFromFileMatch "^https?://" "";
pagespeed LoadFromFileRuleMatch disallow .*;
pagespeed LoadFromFileRuleMatch allow .css$;
pagespeed LoadFromFileRuleMatch allow .jpe?g$;
pagespeed LoadFromFileRuleMatch allow .png$;
pagespeed LoadFromFileRuleMatch allow .gif$;
pagespeed LoadFromFileRuleMatch allow .js$;
pagespeed FetchHttps enable;
pagespeed UseExperimentalJsMinifier on;
pagespeed DisableFilters convert_meta_tags;
pagespeed EnableFilters rewrite_images;
#pagespeed EnableFilters inline_images;
#pagespeed EnableFilters prioritize_critical_css;
#pagespeed EnableFilters combine_css,move_css_above_scripts;
#pagespeed EnableFilters combine_javascript,rewrite_javascript;
#pagespeed EnableFilters convert_meta_tags;
pagespeed EnableFilters convert_jpeg_to_webp;
pagespeed EnableFilters responsive_images,resize_images;
#pagespeed EnableFilters insert_dns_prefetch;
#pagespeed EnableFilters rewrite_css;

You have these lines, which look a bit odd:
pagespeed MapOriginDomain "http://" "https://";
pagespeed LoadFromFileMatch "^https?://" "";

Could you change them to something like:
pagespeed MapOriginDomain http://www.example.com https://www.example.com;
pagespeed LoadFromFile "https://www.example.com/" "/var/www/";

(You should change example.com and /var/www to the actual hostname and www root of your website).

Those line have my website address and path to the folder. I just removed it to paste in here.
It doesn't work anyway.

The responsive images filter may write out html comments about why it did not add srcset attributes when the debug filter is enabled.
Can you take a look at the html sources of a relevant page where with ?PageSpeedFilters=+debug on the querystring?

I don't see anything like that in html source. And nothing in nginx error log.
Will that help me to see if there is any problem? Will making nginx log more verbose help?
pagespeed Statistics on;
pagespeed StatisticsLogging on;
pagespeed LogDir /var/log/pagespeed;

I had a look at a random page with ?PageSpeedFilters=+debug, it shows all sorts of messages for me. The most important one may be (anonymized):
<!--The preceding resource was not rewritten because its domain (www.foo.ru) is not authorized-->

https://foo.ru/ will be treated as a separate domain to https://www.foo.ru/ by pagespeed. You could add a MapOriginDomain (or LoadFromFile) line to the configuration, to both set up and authorize pagespeed to fetch resources from www.foo.ru when serving html from foo.ru

Oh, it's url parameter.
Here is what I get with it. On both desktop and in mobile screen emulator.
<!--ResponsiveImageFilter: Any debug messages after this refer to the virtual 1.5x image with src=https://barbosha.ru/wp-content/uploads/2014/08/xS0530185-1.jpg.pagespeed.ic.OLI_B2X65T.jpg width=1200 height=799--><!--Image does not appear to need resizing.--><!--ResponsiveImageFilter: Any debug messages after this refer to the virtual 2x image with src=https://barbosha.ru/wp-content/uploads/2014/08/xS0530185-1.jpg.pagespeed.ic.OLI_B2X65T.jpg width=1600 height=1066--><!--Image does not appear to need resizing.--><!--ResponsiveImageFilter: Any debug messages after this refer to the virtual 3x image with src=https://barbosha.ru/wp-content/uploads/2014/08/xS0530185-1.jpg.pagespeed.ic.OLI_B2X65T.jpg width=2400 height=1599--><!--Image does not appear to need resizing.--><!--ResponsiveImageFilter: Any debug messages after this refer to the virtual inlinable 3x image with src=https://barbosha.ru/wp-content/uploads/2014/08/xS0530185-1.jpg.pagespeed.ic.OLI_B2X65T.jpg width=2400 height=1599--><!--Image does not appear to need resizing.--><!--The image was not inlined because it has too many bytes.--><!--ResponsiveImageFilter: Any debug messages after this refer to the virtual full-sized image with src=https://barbosha.ru/wp-content/uploads/2014/08/xS0530185-1.jpg.pagespeed.ic.OLI_B2X65T.jpg width= height=--><!--Image does not appear to need resizing.--><img width="800" height="533" src="https://barbosha.ru/wp-content/uploads/2014/08/xS0530185-1.jpg.pagespeed.ic.OLI_B2X65T.jpg" class="attachment-full size-full wp-post-image" alt="Забег на Дне физкультурника в Самаре 9 августа 2014"/><!--ResponsiveImageFilter: Not adding 1x candidate to srcset because it is the same as previous candidate.--><!--ResponsiveImageFilter: Not adding 3x candidate to srcset because it is the same as previous candidate.--><!--ResponsiveImageFilter: Not adding 2x candidate to srcset because it is the same as previous candidate.--><!--ResponsiveImageFilter: Not adding 1.5x candidate to srcset because it is the same as previous candidate.--><!--Image does not appear to need resizing.-->                                        </figure>

Those messages are saying that there is no benefit to including different sizes because the original image is no bigger than 1x. The responsive images filter works on very large images, scaling them to the right size for different devices. It cannot make small images larger.

So, when you view website from 320px width screen, there is no need to resize 1200px width image? On the page I tested all images have width from 800px to 1200px.

If the size of the image matches the width/height specified in the html then PageSpeed won't resize the image smaller.  Instead, when sending images to small screens PageSpeed compresses the image to a lower quality level. If you would like it to trade off quality for byte savings even more aggressively, you can decrease the values of JpegRecompressionQualityForSmallScreens and WebpRecompressionQualityForSmallScreens.

I have a site doing exactly what it says - specifying the width and height of the image, which are a fraction of the size of the actual image size and it just sends the giant image to the user

it is rendered at the size I specify in the width/height parameters of course, but I expected pagespeed would generate a resolution appropriate version so the user isn't downloading a 3 meg file, yes?

sorry i just realized this is for ngx_pagespeed i'll start a new issue

@MrBryan responded on pagespeed/mod_pagespeed#1418


Update Files.pt-BR.xlf

Translation update pt-br

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue...
Related #issue...

Details of Changes
Add details of changes here.

Added...
Fixed...

Validation
How did you test these changes?

[ ] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.


errl: Free memory allocated for parsers

Errl's factory creates new instance of User Defined Data parser
on every call, but doesn't free it after usage.
Signed-off-by: Artem Senichev<EMAIL_ADDRESS>

Looks good, just going to run through our CI


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1469 ms

Resolved: Bofrost.at performance has improved in 615b4b0.


 This should get moved over to a typesafe object, or constants in proto.
Currently used core metadata:

refinement_original: indicates the block is refined, value is a serialized proto [?] of the library path of the original base class
abstract: indicates the block is abstract; errors during compilation, value is a dummy string
error: indicates the block has an error, contains a subtree

params.(path as proto) -> error string
constraints.(constraint name) -> evaluated value

_params_order, _ports_order, _links_order, as dict of index to name (since proto maps are unordered)
_edgdoc (currently not fully implemented): contains docstring (for classes) and additional documentation for instantiated ports / etc
_sourcelocator: source locator, as dict of reference to (source file): (line no)

Currently used electronics-specific metadata:

nets: contains copper nets for netlisting, currently means all ports are connected by copper
pinning: blocks defines a component for netlisting

tied to footprint_name, mfr, part, value, refdes_prefix parameters in the block
contains a dict of pin_name (footprint pin name), pin_path (proto Ref to associated Port)

Migration ref: 143

Obsoleted by refactoring that reduces the use of metadata


adds link to api guide url

(brief, plain english overview of your changes here)
This pull request makes the following changes:
changing json to point to api guide url
"smoAPIGuideUrl": "https://search.maven.org/classic/#api"
|

       API Guide
      <mat-icon>open_in_new</mat-icon>

(If there are changes to the UI, please include a screenshot so we
know what to look for!)
Adds a link to API GUIDE url
(If there are changes to user behavior in general, please make sure to
update the docs, as well)
It relates to the following issue #s:

Fixes #X
Fixes #127

I have Signed the CLA . please let me know if anything else is needed from my end.

will raise with my name


[doctest] some fixes

Here are some fixes for the comparison table:

Count selected tests - doctest supports it with the count option
Time duration of tests - doctest supports it with the duration option - currently documented only in dev but is implemented in master - will be mentioned in master soon
macOS / gcc - its tested on travis using homebrew - separately from xcode
Windows / gcc - tested with MinGW-w64 latest - currently gcc 7
Size, LOC - currently 5600+ lines - soon will hit the 6k mark so might as well say "6000" (also Catch seems to be 11600+)
PVC-Studio - should be renamed to PVS-Studio

Thanks @onqtam, will process these next week.

Fixed in b6ee51b2fea50e7e8e1234606f4694a4b79b0c03

[x] Count selected tests - doctest supports it with the count option
[x] Time duration of tests - doctest supports it with the duration option - currently documented only in dev but is implemented in master - will be mentioned in master soon
[x] macOS / gcc - its tested on travis using homebrew - separately from xcode
[x] Windows / gcc - tested with MinGW-w64 latest - currently gcc 7
[x] PVC-Studio - should be renamed to PVS-Studio

Size, LOC - currently 5600+ lines - soon will hit the 6k mark so might as well say "6000" (also Catch seems to be 11600+)

Table presents actual code lines  (non-empty, non-comment) as reported by CodeBlocks File > properties.


Server part of Colyseus on JS

Hello. Since I do not know the TypeScript (TS) badly, I would like to write the server part in JS, but I can’t find an example anywhere. How can I do that?

All of the docs have a JS section, for example: http://colyseus.io/docs/api-server/

And how to connect index.js to Colyseus?

Take a look at the examples: https://github.com/gamestdio/colyseus-examples

Thank you so much! I will try 👍

Yes, but there doesn't need to be. If you remove the types (:any and :boolean) it is exactly the same as vanilla js.

It will be import {Room, Client} from "colyseus";
see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

I get an error:
` (function (exports, require, module, __filename, __dirname) { import { Room, Client } from "colyseus";
^
SyntaxError: Unexpected token {
at new Script (vm.js:83:7)
at createScript (vm.js:267:10)
at Object.runInThisContext (vm.js:319:10)
at Module._compile (internal/modules/cjs/loader.js:686:28)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:734:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
[nodemon] app crashed - waiting for file changes before starting...
`

This depends entirely on your environment, as this works in most browsers. Your environment might have a different build tool that is causing this to not work correctly (ie, compiling down to <ES6). The easiest way to get this to work is to clone an example and work from there. You can rewrite the TS to JS if that works better for you.

Hmm ... I run this with the npm start command from colyseus-examples
Version Node - 11.4.0, almost the last

Updated to the latest (11.5.0) - did not help, the same error.

I have a question again. How do I transfer a variable between two TS files? (the variable is the MySQL connection, it is located in index.js, you must also pass to the commands)

I have a question again. How to transfer a variable between two TS files? (the variable is the MySQL connection, it is in index.js, and you must also pass to the rooms)

need to pass it to the rooms*


Integrate Azure Kinect into Docker

This PR adds Azure-Kineck SDK and the ROS package azure_kinect_ros_driver into a separate image.

closes #32


When saving a dashboard, add a distinction between a ‘save new’/‘overwrite’.

Update the interface to identify if a dashboard with a given UUID is already present in the database.
If yes, display and execute an overwrite operation.
If no, display and execute a save operation.

Fixed in https://github.com/neo4j-labs/neodash/pull/734


Updating spyder under proxy environment

My university runs python under the proxy environment. Installing spyder through anaconda was easy. But, How to update spyder under proxy?

Sorry but this is not a Spyder issue or bug. You can ask about this problem here
https://groups.google.com/a/continuum.io/forum/#!forum/anaconda


ValueError: not enough values to unpack (expected 2, got 0)

/home/cya/git_clones/ssd.pytorch/ssd.py:34: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead.
self.priors = Variable(self.priorbox.forward(), volatile=True)
/home/cya/git_clones/ssd.pytorch/layers/modules/l2norm.py:17: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_.
init.constant(self.weight,self.gamma)
[INFO] starting threaded video stream...
Traceback (most recent call last):
File "demo/live.py", line 82, in
cv2_demo(net.eval(), transform)
File "demo/live.py", line 55, in cv2_demo
frame = predict(frame)
File "demo/live.py", line 25, in predict
y = net(x)  # forward pass
File "/home/cya/anaconda3/envs/tensorflow/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/cya/git_clones/ssd.pytorch/ssd.py", line 103, in forward
self.priors.type(type(x.data))                  # default boxes
File "/home/cya/git_clones/ssd.pytorch/layers/functions/detection.py", line 54, in forward
ids, count = nms(boxes, scores, self.nms_thresh, self.top_k)
ValueError: not enough values to unpack (expected 2, got 0)

函数返回的值不够

detection.py
line 49
indtead "if scores.dim() == 0:"     with        "  if scores.size(0)==0:"


not getting player of spotify

I am using your demo into my application, its works fine. Only one issue i am getting face, music player not appear when i click the view, only sound is appearing. Please tell me how i show the player when user click the view.
Thanks,

Duplicate of #134


选择编码功能不能用了

更新到最新版的vs code1.35后，新建一个文件，未保存之前，直接点右下角UTF-8不能选择其他编码

/englishPlease

@egamma translation:
title: Feature "select encoding" is useless
Update VS Code to version 1.35. Create a new file. Modify it and not save it. Click UTF-8 in bottom right corner. It's unable to choose another encoding.


feat: include systems as part of Netlify collections

The about pages for Design System and Application Framework are not part of the Netlify CMS collections, so hoping this will surface them there.

Aaaayyyooo it worked!


[feature] Implement mailbox command checksum

Implement mailbox command checksum as defined in the runtime spec

This has been merged to main.  https://github.com/chipsalliance/caliptra-sw/pull/402.


2017.3.1 Camera

So, On my Mac(which is on 10.11) ran 2017.3.1 Just fine until I switched to 2018. When i came back to 2017.3.1 my Camera Would no longer Show the Cam Rect or The Camera Sprite. but if i were to use a Canvas, it would show me the Outline of the Cam Rect. is this i bug or just my bad Mac?

@Sammojr614 , can you elaborate more? Include some screenshots and give more information about the problem you are facing please

Closing due to inactivity


fix: runner startup silent failure

Closes #909
Summary of Changes

failing to start runner process now logs an appropriate message informs the user via popup again
command is now successfully passed to the runner component, if changed

:tada: This PR is included in version 0.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.8.0
GitHub release

Your semantic-release bot :package::rocket:


Close body

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d7d3484). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master      #73   +/-   ##
=========================================
  Coverage          ?   36.97%
=========================================
  Files             ?        8
  Lines             ?      430
  Branches          ?        0
=========================================
  Hits              ?      159
  Misses            ?      262
  Partials          ?        9

Impacted Files
Coverage Δ

primaryHandler.go
72.22% <100%> (ø)

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 d7d3484...7d0107c. Read the comment docs.


focus to changeset comment not obvious (enough)

I finished my edits.
When I click "Save" the map greys out and the left panel becomes "Upload to OpenStreetMap".
Everything looks pretty grey and washed out. Now I wonder, did my click on "Save" was enough? What happens now?

The cursor moved automatically to the box "Changeset Comment" but it is not obvious enough to my taste. The mention "(required)" is very discrete.
Writing a changeset comment is the next action.
I would like the box "Changeset Comment" with some highlight (color, fill, soft blink, ...) as long as the text is empty.

ref: The only similar issue I could find is old https://github.com/openstreetmap/iD/issues/588

This is a good suggestion, and a great thing for someone to work on who wants to contribute to iD.
There is some code in changeset_editor.js that checks the user's comment to see if they have mentioned Google and if so issues a warning.: https://github.com/openstreetmap/iD/blob/master/modules/ui/changeset_editor.js#L93
Someone could add code right before here that also checks the comment for content and adjusts the style of the comment field using d3's selection#classed method.

The Google warning is also good, could be reused if so inclined.


Add a component path to every component data

@pmi done, close?

It says that it's archived in NextJS project already 📚

@alansemenov Is that correct that it is not closed after PR is merged ?

I was wondering about this too. We probably don't want auto close as this is done after every sprint

@alansemenov Is that correct that it is not closed after PR is merged ?

Unfortunately, it's not (yet) automatic in Github projects :(. The one who merges a PR, should change status (or drag the issue) to "Done". You can close the issue as well, it will still remain in "Done". After sprint review we'll archive everything in "Done", so that these issues disappear from the dashboard.

Correction: the workflow was not entirely correct in the project. I've now changed it so that whenever an issue is closed (with the "Close" button), it will be automatically moved to "Done". So, whoever merges a PR, should close the issue. It will be moved to "Done", then manually archived after sprint review.


net: a better builtin DNS stub resolver

This is a meta bug for tracking the status of the issues regarding builtin DNS stub resolver.

Refabrication

#16218

Transport

#21160
#23866
#23873
#27552

Labels

#7122
#9391
#10631
#10622
#17659
#22782
#22826

RRs

#27546

Error handling

#18588

Options

#6464
#13279

Testing

#13295

In my opinion applications should not do DNS over HTTPS directly, but should use integrated daemon caching responses. DNS over HTTPS or DNS over TLS has much higher overhead than simple UDP packets. Local daemon caching responses received over such channels should help to improve overall performance.
It is worth noting there are still non-DNS resolution protocols, like mdns provided by avahi. Those should be easy to use without specific support in end applications.

Looking for mDNS support aswell.
https://github.com/rclone/rclone/issues/8152


ProgressBar ShowProgressText shows value of Value property, not % completion as it implies.

Describe the bug
The expectation, due to the % sign at the end of the text in the progress bar, is that it will display the % completion of the progress bar taking into account the minimum and maximum values. It does not however. See the below two examples. I used the ControlCatalog for this example.
Min=0, Max=1, Slider Step = 0.01
https://user-images.githubusercontent.com/41730826/174540690-4a99bf4e-0769-4738-aa9c-128234d19827.mp4
Min=0, Max=1000, Slider Step = 10
https://user-images.githubusercontent.com/41730826/174540753-ce1bac61-90e3-464f-ae7b-4c3a2d18cc85.mp4
ShowProgressText does NOT show the % progress, but rather a rouded integer representation of the value.
To Reproduce
Steps to reproduce the behavior:
Create a progressbar with min != 0, or max != 100.
Expected behavior
The progress text should show the % completion, not the Value.
Desktop (please complete the following information):

OS: WIN 10
Version 0.10.15

I agree, those options would be nice to have.

I am not a core member, so I can't judge the final solution though. Anyway, if I were you I'd do two things:

I'd have my VM to calculate the needed value and bind to that as a work around.
I'd do a PR with the solution I prefer and see if I get feedback on the proposal

Fixed by https://github.com/AvaloniaUI/Avalonia/pull/8454


AnchorLayout, implement bottom layoutElement rules.

Layout rules for bottom is missing, there are a few TODO's

Fixed.


Add build processors

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

This has useful review comments that we should do, not closing this PR until that. Although, the changes are already in main so this will never be completed


Concatenate without mergeToFile

Hi everyone,
Could be possible to concatenate videos without using the mergeToFile function ?
I try to create a sequence of videos with transitions but mergeToFile looks
like to just combine videos.
Thanks for your help and advices :)

When working with transitions, you need to utilize complexFilter, because the videos needs to be re encoded. mergeToFile simply concatenates normal media streams without re encoding them, that's why it is very fast.


Panic in compress/gzip: index out of range

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

go version go1.14.2 darwin/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
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/rider/Library/Caches/go-build"
GOENV="/Users/rider/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY="gitlab.com/aigent/"
GONOSUMDB="gitlab.com/aigent/"
GOOS="darwin"
GOPATH="/Users/rider/wrk/go"
GOPRIVATE="gitlab.com/aigent/*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14.2_1/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14.2_1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/rider/wrk/go/src/gitlab.com/aigent/platform/processing/kaldi-client/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/l8/_c7mlptn4zgbjb_xywymh2lm0000gn/T/go-build535733669=/tmp/go-build -gno-record-gcc-switches -fno-common"

Minimal code sample
The following snippet does not reproduce this panic, it should give an idea of what sequence of steps were used in the original application.
https://play.golang.org/p/6l6vN-hP006
panic: runtime error: index out of range [43] with length 30

goroutine 94 [running]:
compress/flate.(*huffmanBitWriter).indexTokens(0xc00000c3c0, 0xc0005b2000, 0xaf, 0x4001, 0xc0002ad5a0, 0x68624e)
	/usr/local/go/src/compress/flate/huffman_bit_writer.go:551 +0x2df
compress/flate.(*huffmanBitWriter).writeBlock(0xc00000c3c0, 0xc0005b2000, 0xaf, 0x4001, 0x0, 0xc0005ac522, 0x0, 0x5ade)
	/usr/local/go/src/compress/flate/huffman_bit_writer.go:440 +0xa1
compress/flate.(*compressor).writeBlock(0xc000700000, 0xc0005b2000, 0xae, 0x4001, 0xa522, 0x45, 0x0)
	/usr/local/go/src/compress/flate/deflate.go:170 +0xc5
compress/flate.(*compressor).deflate(0xc000700000)
	/usr/local/go/src/compress/flate/deflate.go:415 +0x8be
compress/flate.(*compressor).syncFlush(0xc000700000, 0x0, 0xc000081180)
	/usr/local/go/src/compress/flate/deflate.go:568 +0x50
compress/flate.(*Writer).Flush(...)
	/usr/local/go/src/compress/flate/deflate.go:727
compress/gzip.(*Writer).Flush(0xc0000e0a50, 0xac54c0, 0xc00035a500)
	/usr/local/go/src/compress/gzip/gzip.go:221 +0x5f
.........

goroutine 1890 [running]:
compress/flate.(*huffmanBitWriter).indexTokens(0xc00000c3c0, 0xc0005b2000, 0xaf, 0x4001, 0xc000aeb4f0, 0x68624e)
	/usr/local/go/src/compress/flate/huffman_bit_writer.go:551 +0x2df
compress/flate.(*huffmanBitWriter).writeBlock(0xc00000c3c0, 0xc0005b2000, 0xaf, 0x4001, 0x0, 0xc0005ac055, 0x4cd, 0x5fab)
	/usr/local/go/src/compress/flate/huffman_bit_writer.go:440 +0xa1
compress/flate.(*compressor).writeBlock(0xc000700000, 0xc0005b2000, 0xae, 0x4001, 0xa522, 0x58, 0x0)
	/usr/local/go/src/compress/flate/deflate.go:170 +0xc5
compress/flate.(*compressor).deflate(0xc000700000)
	/usr/local/go/src/compress/flate/deflate.go:415 +0x8be
compress/flate.(*compressor).write(0xc000700000, 0xc0000e6800, 0x305, 0x3ef, 0x3ef, 0xc0a35bef12, 0xc000aeb620)
	/usr/local/go/src/compress/flate/deflate.go:554 +0x83
compress/flate.(*Writer).Write(...)
	/usr/local/go/src/compress/flate/deflate.go:712
compress/gzip.(*Writer).Write(0xc0000e0a50, 0xc0000e6800, 0x305, 0x3ef, 0x0, 0x0, 0x88)
	/usr/local/go/src/compress/gzip/gzip.go:196 +0xc1
encoding/json.(*Encoder).Encode(0xc0000b1450, 0xac54c0, 0xc0001e6c80, 0xc00068d748, 0x40dc96)
	/usr/local/go/src/encoding/json/stream.go:231 +0x1ca
.........

You have two goroutines using the same writer. That's a data race and is not allowed.
You should see a data race report when using the race detector (the -race option).

Thanks for the clarification, I will look at it.


[HOLD for payment 2022-11-29] [$250] The error when enter invalid debit card information still appear after reload the page reported by @hans

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to Profile > Payment, click "Add payment method", choose "Debit card"
Enter some random information and press "Save", you will see the error appear at the bottom, reload the page.
Notice that the error still appear.

Expected Result:
Error text at the bottom should disappear after reload the page
Actual Result:
Error text at the bottom still appear after reload the page
Workaround:
unknown
Platform:

Where is this issue occurring?

Web

Version Number: 1.2.27-0
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/201453294-396f1eba-a6ba-449d-8486-4a8647cb085a.mov
https://user-images.githubusercontent.com/43996225/201453301-a1ad84d3-32ba-4c80-b723-8629e23384c2.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hans
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668187065943279
View all open jobs on GitHub

Proposal
We clear the error at componentWillUnmount but it doesn't get invoked on refresh
https://github.com/Expensify/App/blob/0d653cad15c32150c302ac12dc0acdbca1ece18b/src/pages/settings/Payments/AddDebitCardPage.js#L58-L59
we need to add  PaymentMethods.clearDebitCardFormErrorAndSubmit(); at constructor to fix this

Definitely appears to be an issue. Going to assign engineering to see if this needs to be Internal or External. Thinking External, but want a second pair of eyes to be sure.

Looks like a good external issue! Applying the appropriate label

@Puneet-here's proposal looks good, but I don't have my mac right now so I haven't tested it. I will test this in the morning.

Hello there, I'm the reporter of this bug, can you assign me as well?
Seem @kavimuru tagged the wrong person. Here's the slack thread (https://expensify.slack.com/archives/C049HHMV9SM/p1668187065943279).
Should I change my slack name to the same with github name to avoid this?

@luacmartins, I like @Puneet-here's proposal.
C+ reviewed 🎀👀🎀

The PR that introduced the bug has been identified. Link to the PR:

Not applicable ? It was an edge case  ( more of a feature request ) and it was missed in the refactor

Tackling my checklist today 👍

Can I have reporting bonus for this issue?

Will have this paid by EOD today 👍

Job posting — https://www.upwork.com/jobs/~018c9998e3f5f89303
@hungvu193 @thesahindia @Puneet-here — I've sent over the contracts. Once those are accepted, I will get that payment sent out by EOD today 👍
Thanks!

Payments have been sent! Thanks!

@CortneyOfstad, this is eligible for 50% bonus.

@Puneet-here Who is it eligible for? Sorry, this is my first time doing a payment.

For reviewer and contributor who fixed this issue.
It is written in this section

Sorry about that! @Puneet-here @thesahindia — I extended another contract for the bonus amount. I'll keep an eye on my email to see when you accept and I'll get that paid ASAP 👍

Accepted the offer, thanks!

Accepted, thanks!

Thank you!! Both have been paid for the bonus 👍

Let's close the issue.


Display Mermaid Flow Chart diagram

Hello,
I've been facing some difficulties for the past two days while attempting to create a Mermaid diagram based on a query output and handlers. I've successfully added handlers (via the script panel later on), but I'm struggling to incorporate Mermaid diagrams. Unfortunately, it seems the branch for this feature is currently closed. I'm wondering if there might be any alternative method to display Mermaid flow chart diagrams.
I've tried loading the Mermaid CDN via a script, but I haven't had any success with that approach. Additionally, I've experimented with the "disable_sanitize_html" option, but it also didn't yield the desired results.
Any assistance or guidance you can provide would be greatly appreciated.

@McHill007 please share the code example which you try to use for a Mermaid diagram.
Also keep attention that loading external scripts don't work in edit panel mode yet. To get scripts loaded you have to open dashboard first and then start editing the panel

@McHill007 Here is how to do it using the upcoming version, which introduce JS after DOM ready. You can test using CI artifact. We plan to release later this week.
External Script<EMAIL_ADDRESS>Content:
<pre class="mermaid">
    graph LR
    A --- B
    B-->C[fa:fa-ban {{data.0.test}}]
    B-->D(fa:fa-spinner);
</pre>

JavaScript after DOM render:
mermaid.initialize({ startOnLoad: true });

mermaid.run({
  querySelector: '.mermaid',
  suppressErrors: false,
});


Support relative URLs, closes #2252

See #2252 for a description of the problem.
This PR adds support for using the current working directory as the basis for relative URL parsing. The net effect is that you can now use relative paths when configuring things such as registries.
Note: this is a work in progress. I'm still working through some failing tests.

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

I think this is ready for some feedback. The build is failing on nightly, but I don't think that's me.

r? @alexcrichton

This may be a bit heavy-handed for adding support, as there's a number of locations throughout Cargo which rely on this path returning an error for relative paths.
I'm a little skeptical that we want to fix the issue in question right now because the registry.index key is largely just used for testing rather than intended for general usage. For working with a cached registry, perhaps https://github.com/rust-lang/cargo/issues/2212 would be the best option?

@alexcrichton is there something we can do that helps move towards #2212 but isn't quite a full blown implementation of a new registry type? For example, in #2212 I'd imagine there would be either a new protocol (e.g. registry://) or an environment variable (e.g. CARGO_REGISTRY_PATH). If we lay down the entry point for that here but wire it up to the current (git based) registry type, that would be a small amount of work and would make my life a lot easier.

Hm ok, this seems reasonable to land in the meantime then. Would it be possible to isolate this logic to just that of parsing registry.index?

Just to confirm (we spoke on IRC): this doesn't require adding a new scheme, just isolating the relative support to just that key.
Would you like this to be relative to the .cargo/config file (as per @huonw) or relative to the cwd?

Ah I'd make it relative to the directory containing the .cargo/config file (like other configuration keys are as well)

I took a crack at this. It worked on a test repository but I haven't added tests yet.
> cat .cargo/config
[registry]
index = "hi/there"

> which cargo
/usr/local/bin/cargo

> cargo build
failed to parse manifest at `/private/tmp/test-relative-registry/Cargo.toml`

Caused by:
  invalid url `hi/there`: relative URL without a base

> ~/code/rust/cargo/target/release/cargo build
    Updating registry `file:///private/tmp/test-relative-registry/.cargo/hi/there`
Unable to update registry file:///private/tmp/test-relative-registry/.cargo/hi/there

To learn more, run the command again with --verbose.

Note in the second case it still failed to build (I don't have a test repository setup), but the path was right.
I've started on adding a test but was fighting with support/registry.rs which is pretty gnarly.

Yeah this is looking pretty good to me, let me know if you need any help writing tests! It's also fine to avoid a whole new trait for just one caller, that method can just be inlined somewhere.

I was going to inline it and then I wasn't sure if making fn mapper(... public would be frowned upon?

Ah you may want to make a helper method in the url module to create the parser, but that shouldn't be too bad.

Good idea. Will do.
I don't need help with the tests, I just ran out of time. Basically, Package::new (in support) calls init which assumes we're going to use the test registry. I just need to create some extra functions to customize.

:umbrella: The latest upstream changes (presumably #2486) made this pull request unmergeable. Please resolve the merge conflicts.

Closing due to inactivity, but feel free to resubmit with a rebase!


Failure in Linux Host Engine in LUCI

I got a transient failure in Linux Host Engine on LUCI for this PR.
I'm not sure what caused the failure since I'm not familiar with this task but I wanted to file it in case there's an opportunity to fix a flaky task.

The failing/flaky unit-test is ShellTest::ReportTimingsIsCalledImmediatelyAfterTheFirstFrame

cc @liyuqian: I believe you authored this test. Can you tell is there is a race?

I'll take a look and see if I can reproduce and fix it.

This also happens on Mac. https://github.com/flutter/flutter/issues/64812, which I'll close as a duplicate.

I just tried locally on my Mac and Linux with the latest engine https://github.com/flutter/engine/commit/f60f5cc2d94b50a88db71d7eabac761dff8fef33
I tried the following on Mac
./out/host_profile/shell_unittests --gtest_filter=*ReportTimingsIsCalledImmediatelyAfterTheFirstFrame --gtest_repeat=-1

and didn't see any failure after thousands of repeated tests.
I tried the following on Linux
./out/host_release/shell_unittests --gtest_filter=*ReportTimingsIsCalledImmediatelyAfterTheFirstFrame --gtest_repeat=-1

and didn't see any failure after 500 repeated tests (this test runs slower on Linux than Mac).
I then tried
shell_unittests --gtest_shuffle --gtest_repeat=-1

and still didn't see any failure for a long time until I canceled it.
Hence there doesn't seem to be anything actionable we can do here. Removing my assignment. I can return to this if we see more failures, or if we can figure out how to reproduce this locally.

It looks like we haven't seen this in quite awhile, so I will close as stale.