minifab fails to run on Mac OS X

There seems to be a problem with installing chaincode on Mac OS with a simple minifab up command:
Steps to reproduce:
mkdir -p vars
curl -o minifab -sL https://tinyurl.com/yxa2q6yr && chmod +x minifab
./minifab up --fabric-release 2.2

Using default spec file
Minifab Execution Context:
    FABRIC_RELEASE=2.2
    CHANNEL_NAME=mychannel
    PEER_DATABASE_TYPE=golevel
    CHAINCODE_LANGUAGE=go
    CHAINCODE_NAME=simple
    CHAINCODE_VERSION=1.0
    CHAINCODE_INIT_REQUIRED=true
    CHAINCODE_PARAMETERS="init","a","200","b","300"
    CHAINCODE_PRIVATE=false
    CHAINCODE_POLICY=
    TRANSIENT_DATA=
    BLOCK_NUMBER=newest
    EXPOSE_ENDPOINTS=false
    CURRENT_ORG=org0.example.com
    HOST_ADDRESSES=<IP_ADDRESS>,<IP_ADDRESS>
    WORKING_DIRECTORY: /Users/atoulme/w/fabric-logger/examples/minifab
....
# Preparing for the following operations: *********************
  verify options, download images, generate certificates, start network, network status, channel create, channel join, anchor update, profile generation, cc install, cc approve, cc commit, cc initialize, discover
.................
# Running operation: ******************************************
  verify options
.
# Running operation: ******************************************
  download images
..............
# Running operation: ******************************************
  generate certificates
............................................................................................................................................
# Running operation: ******************************************
  start network
.......................
# Running operation: ******************************************
  network status
......
# Docker node status ******************************************
  119542aca2_cli : Up 6 seconds
  ca1.org1.example.com : Up 7 seconds
  ca1.org0.example.com : Up 7 seconds
  orderer3.example.com : Up 8 seconds
  orderer2.example.com : Up 9 seconds
  orderer1.example.com : Up 10 seconds
  peer2.org1.example.com : Up 10 seconds
  peer1.org1.example.com : Up 11 seconds
  peer2.org0.example.com : Up 12 seconds
  peer1.org0.example.com : Up 13 seconds

# Fabric network peer and orderer node health status **********
  peer1.org0.example.com
  peer2.org0.example.com
  peer1.org1.example.com
  peer2.org1.example.com
  orderer1.example.com "OK"
  orderer2.example.com "OK"
  orderer3.example.com "OK"

# Running operation: ******************************************
  channel create
......
# Running operation: ******************************************
  channel join
...........................
# Running operation: ******************************************
  anchor update
............
# Running operation: ******************************************
  profile generation
.................................
# Running operation: ******************************************
  cc install
.......
# Run the chaincode install script on cli container ***********
  non-zero return code
  go: downloading github.com/hyperledger/fabric v1.4.1
  go: downloading github.com/golang/protobuf v1.3.1
  go: finding module for package github.com/op/go-logging
  go: finding module for package github.com/pkg/errors
  go: finding module for package golang.org/x/net/context
  go: finding module for package google.golang.org/grpc
  go: finding module for package github.com/grpc-ecosystem/go-grpc-middleware
  go: finding module for package go.uber.org/zap/zapcore
  go: finding module for package google.golang.org/grpc/credentials
  go: finding module for package go.uber.org/zap
  go: downloading google.golang.org/grpc v1.34.0
  go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
  go: downloading go.uber.org/zap v1.16.0
  go: downloading github.com/pkg/errors v0.9.1
  go: finding module for package google.golang.org/grpc/grpclog
  go: finding module for package google.golang.org/grpc/peer
  go: downloading github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
  go: downloading golang.org/x/net v0.0.0-20201224014010-6772e930b67b
  go: finding module for package github.com/spf13/viper
  go: finding module for package google.golang.org/grpc/stats
  go: finding module for package golang.org/x/crypto/sha3
  go: downloading github.com/spf13/viper v1.7.1
  go: finding module for package github.com/sykesm/zap-logfmt
  go: finding module for package github.com/miekg/pkcs11
  go: downloading github.com/sykesm/zap-logfmt v0.0.4
  go: finding module for package go.uber.org/zap/zapgrpc
  go: downloading golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
  go: downloading github.com/miekg/pkcs11 v1.0.3
  go: finding module for package google.golang.org/grpc/keepalive
  go: finding module for package github.com/fsouza/go-dockerclient
  go: finding module for package go.uber.org/zap/buffer
  go: finding module for package gopkg.in/yaml.v2
  go: finding module for package github.com/hyperledger/fabric-amcl/amcl
  go: finding module for package github.com/hyperledger/fabric-amcl/amcl/FP256BN
  go: downloading gopkg.in/yaml.v2 v2.4.0
  go: downloading github.com/fsouza/go-dockerclient v1.7.0
  go: downloading github.com/hyperledger/fabric-amcl v0.0.0-20200424173818-327c9e2cf77a
  go: found github.com/op/go-logging in github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
  go: found github.com/pkg/errors in github.com/pkg/errors v0.9.1
  go: found github.com/spf13/viper in github.com/spf13/viper v1.7.1
  go: found google.golang.org/grpc in google.golang.org/grpc v1.34.0
  go: found golang.org/x/net/context in golang.org/x/net v0.0.0-20201224014010-6772e930b67b
  go: found github.com/grpc-ecosystem/go-grpc-middleware in github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
  go: found github.com/miekg/pkcs11 in github.com/miekg/pkcs11 v1.0.3
  go: found go.uber.org/zap/zapcore in go.uber.org/zap v1.16.0
  go: found golang.org/x/crypto/sha3 in golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
  go: found github.com/sykesm/zap-logfmt in github.com/sykesm/zap-logfmt v0.0.4
  go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0
  go: found github.com/fsouza/go-dockerclient in github.com/fsouza/go-dockerclient v1.7.0
  go: found github.com/hyperledger/fabric-amcl/amcl in github.com/hyperledger/fabric-amcl v0.0.0-20200424173818-327c9e2cf77a
  go: downloading github.com/golang/protobuf v1.4.2
  go: downloading golang.org/x/text v0.3.3
  go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
  go: downloading go.uber.org/atomic v1.6.0
  go: downloading google.golang.org/protobuf v1.25.0
  go: downloading go.uber.org/multierr v1.5.0
  go: downloading github.com/spf13/afero v1.1.2
  go: downloading github.com/hashicorp/hcl v1.0.0
  go: downloading github.com/spf13/jwalterweatherman v1.0.0
  go: downloading github.com/fsnotify/fsnotify v1.4.7
  go: downloading golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
  go: downloading github.com/spf13/cast v1.3.0
  go: downloading gopkg.in/ini.v1 v1.51.0
  go: downloading github.com/docker/go-units v0.4.0
  go: downloading github.com/subosito/gotenv v1.2.0
  go: downloading github.com/docker/docker v20.10.0-beta1.0.20201113105859-b6bfff2a628f+incompatible
  go: downloading github.com/Microsoft/go-winio v0.4.16
  go: downloading github.com/mitchellh/mapstructure v1.1.2
  go: downloading github.com/pelletier/go-toml v1.2.0
  go: downloading github.com/magiconair/properties v1.8.1
  go: downloading github.com/spf13/pflag v1.0.3
  go: downloading github.com/sirupsen/logrus v1.6.0
  go: downloading github.com/moby/term v0.0.0-20201110203204-bea5bbe245bf
  go: downloading github.com/opencontainers/image-spec v1.0.1
  go: downloading github.com/morikuni/aec v1.0.0
  go: downloading github.com/gogo/protobuf v1.3.1
  go: downloading github.com/docker/go-connections v0.4.0
  go: downloading github.com/containerd/continuity v0.0.0-20200928162600-f2cc35102c2a
  go: downloading github.com/opencontainers/runc v0.1.1
  go: downloading github.com/Microsoft/hcsshim v0.8.10
  go: downloading github.com/moby/sys/mount v0.2.0
  go: downloading github.com/containerd/containerd v1.4.1
  go: downloading github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
  go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.3
  go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58
  go: downloading github.com/moby/sys/mountinfo v0.4.0
  go: downloading github.com/opencontainers/go-digest v1.0.0
  go: downloading go.opencensus.io v0.22.0
  go: downloading github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59
  go: downloading github.com/hashicorp/golang-lru v0.5.1
  Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image inspection failed: Get "http://unix.sock/images/dev-peer1.org0.example.com-simple_1.0-27ce0a92733f636acbc6e04da021fe77279a6018fb960e970bae00c1e0617a8c-0c1f096218a1f8b48ae2292827925e7d83c40fc5b66d22191e465100bbf2fe09/json": dial unix /host/var/run/docker.sock: connect: no such file or directory

# STATS *******************************************************
minifab: ok=338 failed=1

real    2m35.590s
user    1m30.681s
sys     0m25.901s

@atoulme were you able to do the same in Ubuntu or Windows env.? What version of docker desktop do you have with OS X?

@atoulme were you able to do the same in Ubuntu or Windows env.? What version of docker desktop do you have with OS X?

@atoulme I've tested it on my mac, it worked fine. i am thinking that you may have network issues. Looking at your screen capture, your HOST_ADDRESSES look like this
HOST_ADDRESSES=<IP_ADDRESS>,<IP_ADDRESS>
These are minifabric auto detected IP addresses. it is possible that <IP_ADDRESS> may be restricted (or firewalled), you probably can try to explicitly specify your IP in spec.yaml file.
basically just copy and paste this file https://github.com/hyperledger-labs/minifabric/blob/master/spec.yaml to your work directory but uncomment this line
 # endpoint_address: <IP_ADDRESS>
and use your own IP address such as <IP_ADDRESS>, this way, minifabric will use that IP address and hoping that ip was not firewalled.

@atoulme I've tested it on my mac, it worked fine. i am thinking that you may have network issues. Looking at your screen capture, your HOST_ADDRESSES look like this
HOST_ADDRESSES=<IP_ADDRESS>,<IP_ADDRESS>
These are minifabric auto detected IP addresses. it is possible that <IP_ADDRESS> may be restricted (or firewalled), you probably can try to explicitly specify your IP in spec.yaml file.
basically just copy and paste this file https://github.com/hyperledger-labs/minifabric/blob/master/spec.yaml to your work directory but uncomment this line
 # endpoint_address: <IP_ADDRESS>
and use your own IP address such as <IP_ADDRESS>, this way, minifabric will use that IP address and hoping that ip was not firewalled.

I do not have a Linux or Windows box available for this exercise. I am trying to create a working Fabric sample for developers on Mac OS X. I run Docker v20.10.0.
I followed the instructions you referenced and reproduced the same error.

I do not have a Linux or Windows box available for this exercise. I am trying to create a working Fabric sample for developers on Mac OS X. I run Docker v20.10.0.
I followed the instructions you referenced and reproduced the same error.

@atoulme I think you have to disable the Use gRPC FUSE for file sharing. This is known issue. Go into docker dashboard, then Experimental Features, make sure you have Use gRPC FUSE for file sharing unchecked.

@atoulme I think you have to disable the Use gRPC FUSE for file sharing. This is known issue. Go into docker dashboard, then Experimental Features, make sure you have Use gRPC FUSE for file sharing unchecked.

By known issue, I mean, it is an issue with docker in general, not minifabric.

By known issue, I mean, it is an issue with docker in general, not minifabric.

Indeed, this was the problem. Thank you. I will reference this issue in our notes.

Indeed, this was the problem. Thank you. I will reference this issue in our notes.

In that case, please close this issue.

In that case, please close this issue.

That doesn't seem adequate to me ; you provided a workaround, and it fixes the issue at this time. However, this workaround may expire going forward and it seems likely a better fix is required here. At the very least, documenting this problem in the documentation seems indicated. You may of course differ in opinion, and decide to close this issue of your own accord.

That doesn't seem adequate to me ; you provided a workaround, and it fixes the issue at this time. However, this workaround may expire going forward and it seems likely a better fix is required here. At the very least, documenting this problem in the documentation seems indicated. You may of course differ in opinion, and decide to close this issue of your own accord.

@atoulme there is nothing I can do with this issue. This is not a workaround, you are using an experimental feature which causes problems specifically for OS X and most likely won't be a targeting env for any production.
If you want to contribute a PR for what you suggested, you are welcome to do so, please put up a fix and I will review it.
The point is that we cannot leave these issues open without taking care of it.

@atoulme there is nothing I can do with this issue. This is not a workaround, you are using an experimental feature which causes problems specifically for OS X and most likely won't be a targeting env for any production.
If you want to contribute a PR for what you suggested, you are welcome to do so, please put up a fix and I will review it.
The point is that we cannot leave these issues open without taking care of it.

unchecked gRPC FUSE fixe same problem but i have another one after that:
~/mywork|⇒  ./minifab up
Using default spec file
Minifab Execution Context:
    FABRIC_RELEASE=2.3.0
    CHANNEL_NAME=mychannel
    PEER_DATABASE_TYPE=golevel
    CHAINCODE_LANGUAGE=go
    CHAINCODE_NAME=simple
    CHAINCODE_VERSION=1.0
    CHAINCODE_INIT_REQUIRED=true
    CHAINCODE_PARAMETERS="init","a","200","b","300"
    CHAINCODE_PRIVATE=false
    CHAINCODE_POLICY=
    TRANSIENT_DATA=
    BLOCK_NUMBER=newest
    EXPOSE_ENDPOINTS=false
    CURRENT_ORG=org0.example.com
    HOST_ADDRESSES=<IP_ADDRESS>
    WORKING_DIRECTORY: /Users/awattez/mywork
....
# Preparing for the following operations: *********************
  verify options, download images, generate certificates, start network, network status, channel create, channel join, anchor update, profile generation, cc install, cc approve, cc commit, cc initialize, discover
.......
# Running operation: ******************************************
  verify options
.
# Running operation: ******************************************
  download images
............
# Running operation: ******************************************
  generate certificates
..
# Running operation: ******************************************
  start network
...................
# Running operation: ******************************************
  network status
...
# Current Minifabric image ID and created at date time ********
  998211d22979   2020-12-18 05:34:27 +0000 UTC
.....
# Docker node status ******************************************
  2a8155d0b3_cli : Up 7 seconds
  ca1.org1.example.com : Up 8 seconds
  ca1.org0.example.com : Up 9 seconds
  orderer3.example.com : Up 10 seconds
  orderer2.example.com : Up 11 seconds
  orderer1.example.com : Up 12 seconds
  peer2.org1.example.com : Up 13 seconds
  peer1.org1.example.com : Up 14 seconds
  peer2.org0.example.com : Up 15 seconds
  peer1.org0.example.com : Up 15 seconds

# Fabric network peer and orderer node health status **********
  peer1.org0.example.com "OK"
  peer2.org0.example.com "OK"
  peer1.org1.example.com "OK"
  peer2.org1.example.com "OK"
  orderer1.example.com "OK"
  orderer2.example.com "OK"
  orderer3.example.com "OK"
  Network Status: 100%

# Running operation: ******************************************
  channel create
.....
# Run the channel creation script on cli container ************
  non-zero return code
  2021-01-21 22:25:44.585 UTC [common.tools.configtxgen] main -> INFO 001 Loading configuration
  2021-01-21 22:25:44.618 UTC [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /vars/configtx.yaml
  2021-01-21 22:25:44.618 UTC [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 003 Generating new channel configtx
  2021-01-21 22:25:44.815 UTC [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 004 Writing new channel tx
  2021-01-21 22:25:44.999 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
  Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating ReadSet: proposed update requires that key [Group]  /Channel/Application be at version 0, but it is currently at version 1

# STATS *******************************************************
minifab: ok=85	failed=1

real	0m37.980s
user	0m22.110s
sys	0m6.602s

unchecked gRPC FUSE fixe same problem but i have another one after that:
~/mywork|⇒  ./minifab up
Using default spec file
Minifab Execution Context:
    FABRIC_RELEASE=2.3.0
    CHANNEL_NAME=mychannel
    PEER_DATABASE_TYPE=golevel
    CHAINCODE_LANGUAGE=go
    CHAINCODE_NAME=simple
    CHAINCODE_VERSION=1.0
    CHAINCODE_INIT_REQUIRED=true
    CHAINCODE_PARAMETERS="init","a","200","b","300"
    CHAINCODE_PRIVATE=false
    CHAINCODE_POLICY=
    TRANSIENT_DATA=
    BLOCK_NUMBER=newest
    EXPOSE_ENDPOINTS=false
    CURRENT_ORG=org0.example.com
    HOST_ADDRESSES=<IP_ADDRESS>
    WORKING_DIRECTORY: /Users/awattez/mywork
....
# Preparing for the following operations: *********************
  verify options, download images, generate certificates, start network, network status, channel create, channel join, anchor update, profile generation, cc install, cc approve, cc commit, cc initialize, discover
.......
# Running operation: ******************************************
  verify options
.
# Running operation: ******************************************
  download images
............
# Running operation: ******************************************
  generate certificates
..
# Running operation: ******************************************
  start network
...................
# Running operation: ******************************************
  network status
...
# Current Minifabric image ID and created at date time ********
  998211d22979   2020-12-18 05:34:27 +0000 UTC
.....
# Docker node status ******************************************
  2a8155d0b3_cli : Up 7 seconds
  ca1.org1.example.com : Up 8 seconds
  ca1.org0.example.com : Up 9 seconds
  orderer3.example.com : Up 10 seconds
  orderer2.example.com : Up 11 seconds
  orderer1.example.com : Up 12 seconds
  peer2.org1.example.com : Up 13 seconds
  peer1.org1.example.com : Up 14 seconds
  peer2.org0.example.com : Up 15 seconds
  peer1.org0.example.com : Up 15 seconds

# Fabric network peer and orderer node health status **********
  peer1.org0.example.com "OK"
  peer2.org0.example.com "OK"
  peer1.org1.example.com "OK"
  peer2.org1.example.com "OK"
  orderer1.example.com "OK"
  orderer2.example.com "OK"
  orderer3.example.com "OK"
  Network Status: 100%

# Running operation: ******************************************
  channel create
.....
# Run the channel creation script on cli container ************
  non-zero return code
  2021-01-21 22:25:44.585 UTC [common.tools.configtxgen] main -> INFO 001 Loading configuration
  2021-01-21 22:25:44.618 UTC [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /vars/configtx.yaml
  2021-01-21 22:25:44.618 UTC [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 003 Generating new channel configtx
  2021-01-21 22:25:44.815 UTC [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 004 Writing new channel tx
  2021-01-21 22:25:44.999 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
  Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating ReadSet: proposed update requires that key [Group]  /Channel/Application be at version 0, but it is currently at version 1

# STATS *******************************************************
minifab: ok=85	failed=1

real	0m37.980s
user	0m22.110s
sys	0m6.602s

I suspect your env is not clean. Try minifab cleanup then rerun.

I suspect your env is not clean. Try minifab cleanup then rerun.

minifab cleanup then minifab up works.
Thanks

minifab cleanup then minifab up works.
Thanks

Please close this issue.

Please close this issue.

@atoulme I was researching this issue - I found this, which said it's fixed in Desktop 3.0.4. I installed the current release, Desktop 3.1.0, which installs 20.10.2:
% docker --version
Docker version 20.10.2, build 2291f61
minifab up works as expected, even with experimental gRPC-FUSE feature enabled. I'm running macOS 11.1 (20C69) on an Intel mac.

@atoulme I was researching this issue - I found this, which said it's fixed in Desktop 3.0.4. I installed the current release, Desktop 3.1.0, which installs 20.10.2:
% docker --version
Docker version 20.10.2, build 2291f61
minifab up works as expected, even with experimental gRPC-FUSE feature enabled. I'm running macOS 11.1 (20C69) on an Intel mac.

@ryjones I've upgraded to the version you mentioned and tried the simple command, it still fails during the chaincode install. Something is still not right. Disabling the feature, everything worked fine.

@ryjones I've upgraded to the version you mentioned and tried the simple command, it still fails during the chaincode install. Something is still not right. Disabling the feature, everything worked fine.


list-style-type is stringified incorrectly

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
latest
Link to runnable example
No response
Steps to reproduce
toHtml(h("foo", {style: {"list-style-type": "'X'"}}))

Expected behavior
<foo style="list-style-type: 'X'"></foo>

Actual behavior
<foo style="list-style-type: 'X'"></foo>

Runtime
Node v16
Package manager
npm v7
OS
No response
Build and bundle tools
No response
As per https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type list-style-type should accept a quoted string as one of its possible values. However, if a quoted string is supplied, the quotes are escaped producing invalid CSS.

Hey! This behavior is not wrong, those encoded apostrophes don’t change that they’re apostrophes!
If you want to control character references, you might want to use options.entities, but again, you don’t have to, browsers understand this!


Project compilation fails due to unresolved dependency (xml-apis)

Problem
The skala project compilation fails due to unresolved dependency that xml-apis#xml-apis;1.3.04.
The detailed error messages are
> update
[info] Updating {file:/path/to/skala/}skala...
[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.1[info] Resolving org.scala-lang.modules#scala-parser-combinators_2.11;1.0.4[info] Resolving jline#jline;2.12.1 ...
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: xml-apis#xml-apis;1.3.04: configuration not found in xml-apis#xml-apis;1.3.04: 'master(compile)'. Missing configuration: 'compile'. It was required from org.jfree#jfreechart;1.0.17 compile
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn] 		xml-apis:xml-apis:1.3.04
[warn] 		  +- org.jfree:jfreechart:1.0.17
[warn] 		  +- com.github.wookietreiber:scala-chart_2.11:0.4.2
[warn] 		  +- com.storm-enroute:scalameter_2.11:0.6 (/path/to/skala/build.sbt#L26-37)
[warn] 		  +- io.kevinlee:skala_2.11:0.0.6
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: xml-apis#xml-apis;1.3.04: configuration not found in xml-apis#xml-apis;1.3.04: 'master(compile)'. Missing configuration: 'compile'. It was required from org.jfree#jfreechart;1.0.17 compile
[error] Total time: 0 s, completed 26/03/2017 12:16:09 AM

Cause
That is caused by one the dependency libraries that is scalameter. It seems like the scalameter uses xml-apis and it's unresolved somehow.
Possible Solution
Upgrade scalameter to the version that doesn't have the dependency issue.
There was another problem though. The scope of the scalameter is not Test but Compile. This library is used in test only so it has to have Test scope. Please fix it when fixing scalameter dependency issue.

Todo:

[ ] Change the scope to Test
[ ] Upgrade scalameter
[ ] Make sure it doesn't have any error anymore.

The following processes did not solve it.

Change the scope to Test
Upgrade scalameter

So I checked the maven central repo and found that it actually has the xml-apis with the right version required by scalameter.
So it didn't really look like it was a dependency issue. I explicitly added the Maven central to the resolvers but there was no difference.


Propagate changes into decaf377-ka

The existence of https://github.com/penumbra-zone/decaf377-ka closes this.


Cant' upgrade

PHP 8.1.9 is very high requirement. I'm on PW 3.0.204 and PHP 8.1.9...

Oh sorry. Now the versions are hardcoded and it should work.
Required is: ProcessWire>=3.0.179 with PHP>=7.4.0


"M" at the end of the Subscribers counter.

Affects all layouts. Might be something langauge related.

Yep, that's language related all right. Supporting multiple languages is something I would like to do in the future, but it will be a pretty big task, and I only know English, so I can't say when this will be fixed. Could you tell me what language this is so I can possibly add support for it later?

Yep, that's language related all right. Supporting multiple languages is something I would like to do in the future, but it will be a pretty big task, and I only know English, so I can't say when this will be fixed. Could you tell me what language this is so I can possibly add support for it later?

Yeah, developing takes time and i know it gets tiring after a while. Just take your time, don't stress yourself :)
About the language, it's Portuguese (more specifically the Brazilian variation.


[📖] Netlify functions -> RequestHandlerNetlify no longer exists

Suggestion
The documentation suggests using RequestHandlerNetlify type for an onGet request. However, that interface/class is no longer there as of v0.100.0.
I see PlatformNetlify instead. Not sure yet how that maps to the deprecated RequestHandlerNetlify. A clarification in the docs would be appreciated.

Thanks, will update to remove the old content: https://github.com/BuilderIO/qwik/pull/4189


Update nerfstudio_dataparser.py

This is initial code:
https://github.com/nerfstudio-project/nerfstudio/blob/8952fb531ea09db00c481de95cafadbb80c262e6/nerfstudio/data/dataparsers/nerfstudio_dataparser.py#L76
I fix to --load-3D-points set to True by default.
Why I set True by default? Because I see another recommendation in this line for set it true
https://github.com/nerfstudio-project/nerfstudio/blob/8952fb531ea09db00c481de95cafadbb80c262e6/nerfstudio/data/dataparsers/colmap_dataparser.py#L96
Meanwhile, we already switching from colmap dataparser to nerfstudio dataparser https://github.com/nerfstudio-project/nerfstudio/pull/2791

If we don't declare colmap --load-3D-points, it was False by Default
ns-train nerfacto --data ./Nerfstudio/COLMAP_PLY --output-dir ./Nerfstudio/outputs_v1 --pipeline.model.eval-num-rays-per-chunk 8192 --pipeline.datamanager.train-num-rays-per-batch 1024 --pipeline.datamanager.eval-num-rays-per-batch 1024

If I declare it
ns-train nerfacto --data ./Nerfstudio/COLMAP_PLY --output-dir ./Nerfstudio/outputs_v1 --pipeline.model.eval-num-rays-per-chunk 8192 --pipeline.datamanager.train-num-rays-per-batch 1024 --pipeline.datamanager.eval-num-rays-per-batch 1024 colmap --load-3D-points True

Hm yeah, it seems reasonable to make these two consistent. But this change only impacts non-splatting methods where the points aren't used, right? (like nerfacto)
For the nerfstudio dataparser, this is currently overridden to True by default for splatting: https://github.com/nerfstudio-project/nerfstudio/blob/8952fb531ea09db00c481de95cafadbb80c262e6/nerfstudio/configs/method_configs.py#L601-L603
I also verified this in the helptext from ns-train splatfacto nerfstudio-data --help.

Hm yeah, it seems reasonable to make these two consistent. But this change only impacts non-splatting methods where the points aren't used, right? (like nerfacto)
For the nerfstudio dataparser, this is currently overridden to True by default for splatting:
https://github.com/nerfstudio-project/nerfstudio/blob/8952fb531ea09db00c481de95cafadbb80c262e6/nerfstudio/configs/method_configs.py#L601-L603
I also verified this in the helptext from ns-train splatfacto nerfstudio-data --help.

yeah, you are alright. The --load-3D-points is true when I use ns-train splatfacto by default. Thats why I make the other method same as splatfacto for consistency.

Are there any other methods that will use the points?
The one argument I see for keeping the discrepancy is that the colmap parser always has points available, while the nerfstudio parser only sometimes has points.
If we always set load_3D_points=True for the nerfstudio parser, there will be many cases where this warning will be hit, even for models like nerfacto:
https://github.com/nerfstudio-project/nerfstudio/blob/8952fb531ea09db00c481de95cafadbb80c262e6/nerfstudio/data/dataparsers/nerfstudio_dataparser.py#L392-L395
This might be confusing for people.

should this be closed?

Okay, let close it since you said this:
If we always set load_3D_points=True for the nerfstudio parser, there will be many cases where this warning will be hit, even for models like nerfacto


Include image digest in task references

When the pipeline images are built taskRef's bundle field is set with the reference to the bundle image containing the task identified by it's name. That image reference does not include the task bundle image digest.
This adds the task bundle image digest to the bundle field as well.
Fixes https://issues.redhat.com/browse/HACBS-1086

Something is up. When I built this locally, I see that the enterprise-contract Pipeline refers to the -2 task Tekton bundle, it should be -3. Also, any pipeline that uses one of the tasks from -1 task Tekton bundle, appear to have an empty bundle, e.g.: {"bundle": "", "name": "buildah"}
Off by one error?

Off by one error?

Thanks! Fixed. I think.

Off by one error?

Thanks! Fixed. I think.

I still see the issue :(

@lcarva can you have another look, third time's the charm

Thanks for the review!


Stop using claude's PROMPT_ANSWER_START for instruction following scenarios

Currently we append PROMPT_ANSWER_START = "The answer is" to every prompt for the claude model to reduce generation length. Although this might be ideal for traditional classification/generation scenarios, we do not want this restriction for instruction following scenarios.

@JosselinSomervilleRoberts can provide more details, but the problem is that the Claude API fails if the string is not included.
Josselin, it might be good to add a comment in the code explaining this.

So originally I added this PROMPR ANSWER IS for scenarios where we limit the number of generated tokens. For example for MMLu, we limit the generation of token to 1 and then check the answer as if it was the letter of the answer. The problem is that Claude was really verbose and always wanted to generate: "The answer is letter X". Once limited to 1 token, we would end up with only "This" and so its score on MMLU would be 0. This was the case for many scenarios (basically all the restrictive scenarios in terms of generated tokens). So after some experiments, I ended up adding this. Maybe this can be replaced by something like "Answer in X tokens". I mostly tested prompts to start a sentence like: "The answer is", "Answer:", "", ...


Restore windows support.

Hi!
I spent some time getting Windows support.
https://github.com/omegaiota/DiffCloth/compare/main...fire:differentiable_cloth:drop_python
Maybe you have some use of this.
It's a bit messy.

ran clang format
skipped python integration
use c++17 std::filesystem
some changes to the cmakelist for glfw and glad
misc new lines add to printed string
the global enum POINT is already defined. Rename to CAMERA_POINT.
Does not automatically do the required steps to copy glfw3.dll, libnangui.dll and libomp.dll to the build directory.
Had to disable preview after every iteration because of a crash in the renderer

Hi Fire,
I'll take a look at this and find some time to work on build support for Windows. Your notes will be very helpful.

cmake -DGLFW_USE_WAYLAND=ON ..


Toggles the menu item to mark an article as read or unread in the main menu

This should fix issue #719
Because it's a menu item from the main menu, the initial "callback" for the menu is implemented in the app delegate, using the NSMenuDelegate (which is what is sanctioned by Apple in their docs) for the menu Article. The implementation in the app delegate calls into a new API in MainWindowController that is tasked with updating a "toggle read" menu item. The implementation in main window controller then passes that to the timeline view controller where the Article logic is implemented, and where it's the best place to actually do the work. This is just done in 4 lines using the existing business logic of the timeline view controller that knows wether selected articles can be marked as read.
The action for the 'Mark As Read/Unread' menu item has been changed to toggleRead(_:) since this is in fact the new behavior. Note that this action is already implemented to take care of the corresponding toolbar item in main window controller. And thus that's part of the responder chain for the menu item already. The implementation of toggleRead(_:) goes back down into the timeline view controller, which contains the appropriate business logic to take care of articles.
So this all seemed to me like the most consistent way to deal with the issue given what's already in place. The changes are minimal and anyone looking into how the Mark as Read/Unread menu item works should easily find its way.

Investigating more as there are other issues with the "Article" menu that might hint at a more general solution or a simpler fix.


Downloading .R file from browser

Hi everyone,
I'm trying to download a .R file from a website (https) with a download button (Harvard Dataverse), but it doesn't download the file directly to my local hard drive. It only displays the file in the browser in a strange way and doesn't show the actual .R file.
I was using the standard R Studio utils package and some other ones (e.g. downloader), but I always get the same error message:
"download had nonzero exit status"
This is the code I was using:
utils::download.file(url = "https://dataverse.harvard.edu/api/access/datafile/2684585", destfile = "~/GitHub/CollaborativeResearchProject/")
Has anyone had a similar problem or can offer a solution?
Thank's a lot!
Best,
Benedikt

The file that comes back, at least for me, is not an R file but an html file letting me know that there was a 500 internal server error. Could be a problem with the link, or a problem on their server.
What's the link to the page you were trying to download from? I might have had similar problems before. Although I never got around it, some solutions could be relevant.
If you can't actually download the r file with pointing and clicking, it may just not be there. You could tell the Harvard dataverse that they have a broken link.

Thanks for your quick reply!
This is the website with the .R file I would like to download and have a look:
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/BTKZEQ
File: cimi.analysis.R

I still can't get the file. If you select it and press the main download button you go to a 500 error page, and if you click on the download button directly you get to the same 500 page but displayed as plain text. There must be some problem. I'd email them, Johannes Karreth invites you to...

Unless you are getting different results and it's just on my side...

Same here... You are right, there must be some problem. I've already been in contact with her and will send her another email. Thank's for your quick help!

The authors did reply and they uploaded the correct version on Dataverse. Thank's anyway!
Best,
Benedikt

Perfect


start using prebuilt JupyterLab extensions (reduce install time)

Currently, we are using source extensions rather than prebuilt extensions for Jupyterlab, you can read about the differences here.
The gist of the problem is that it can take an incredible amount of time to install Elyra right now, as you have to run jupyter lab build, and then restart JupyterLab. If we moved to prebuilt extensions, installing would be as simple as pip install elyra.

This is a duplicate of #1077 which has a abandoned draft PR #1850
I plan to start/continue work on this starting today with a target for v3.4


CI: Don't install MacOS dependency which is included by default

Slightly improves the CI time.

bors r+


[SPARK-10417][SQL] Iterating through Column results in infinite loop

pyspark.sql.column.Column object has __getitem__ method, which makes it iterable for Python. In fact it has __getitem__ to address the case when the column might be a list or dict, for you to be able to access certain element of it in DF API. The ability to iterate over it is just a side effect that might cause confusion for the people getting familiar with Spark DF (as you might iterate this way on Pandas DF for instance)
Issue reproduction:
df = sqlContext.jsonRDD(sc.parallelize(['{"name": "El Magnifico"}']))
for i in df["name"]: print i

Can one of the admins verify this patch?

Don't know much about Python myself but that sounds convincing. CC @davies

Test build #1712 has started for   PR 8574 at commit ea2e9d4.

Test build #1712 has finished for   PR 8574 at commit ea2e9d4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaTrainValidationSplitExample
class KMeans @Since("1.5.0") (
class DCT(JavaTransformer, HasInputCol, HasOutputCol):
class SQLTransformer(JavaTransformer):
class StopWordsRemover(JavaTransformer, HasInputCol, HasOutputCol):
case class LimitNode(limit: Int, child: LocalNode) extends UnaryLocalNode
case class UnionNode(children: Seq[LocalNode]) extends LocalNode

@cloud-fan, I addressed your comments with last commit

Looks like it's not being retested after the last commit as Jenkins failed to update the status and the dashboard shows that it's still running. Am I right?

Jenkins, retest this please

LGTM

Test build #1714 has started for   PR 8574 at commit f041635.

Test build #1714 has finished for   PR 8574 at commit f041635.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged into master, thanks!


Error: "check the format of your input file"

Hello.
Hope you are doing fine, I was tying to run the Phase.py scritpt with the demo data but i got an error on the content of the test.input file. I've used the example file on this directory but it fails with following error message:
root@cc73d352d9f3:/MF# python Phase.py demo demo/phasing2 Ref/ucsc.hg19.fasta demo/test.input 20 Map_score/hg19/k24.umap.wg.bw 2 demo/test.cram
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
Also, I used the MuTect2-PoN_filter.py script to create a new one from the test.Mutect2.vcf file and the resource/SegDup_and_clustered.GRCh37.bed file. it worked for the test.input file generation but the Phase.py script still fails.
root@cc73d352d9f3:/MF# python Phase.py demo demo/phasing2 Ref/ucsc.hg19.fasta demo/test.input 20 Map_score/hg19/k24.umap.wg.bw 2 demo/test.bam
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
check the format of your input file:
chr	pos-1	pos	ref	alt	sample
Could you help me please? Am I missing something?
Looks like it fails to get the colums and i double check the characters between each value are tabs...
thanks

Hello.
Hope you are doing fine, I was tying to run the Phase.py scritpt with the demo data but i got an error on the content of the test.input file. I've used the example file on this directory but it fails with following error message:
root@cc73d352d9f3:/MF# python Phase.py demo demo/phasing2 Ref/ucsc.hg19.fasta demo/test.input 20 Map_score/hg19/k24.umap.wg.bw 2 demo/test.cram
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
Also, I used the MuTect2-PoN_filter.py script to create a new one from the test.Mutect2.vcf file and the resource/SegDup_and_clustered.GRCh37.bed file. it worked for the test.input file generation but the Phase.py script still fails.
root@cc73d352d9f3:/MF# python Phase.py demo demo/phasing2 Ref/ucsc.hg19.fasta demo/test.input 20 Map_score/hg19/k24.umap.wg.bw 2 demo/test.bam
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
check the format of your input file:
chr pos-1 pos ref alt sample
Could you help me please? Am I missing something?
Looks like it fails to get the colums and i double check the characters between each value are tabs...
thanks

Hi @vmscmams ,
Sorry for the late reply!
The last parameter is the file format rather than the cram file:
python Phase.py demo demo/phasing2 Ref/ucsc.hg19.fasta demo/test.input 20 Map_score/hg19/k24.umap.wg.bw 2 demo/test.cram
Could you change the command to this and try to run again?
python Phase.py demo demo/phasing2 Ref/ucsc.hg19.fasta demo/test.input 20 Map_score/hg19/k24.umap.wg.bw 2 cram
Thanks!

Hello!,
Thanks for your reply, I've made the change you suggested and it still fails but using that logic I've changed to BAM and it worked.
Now I'm testing with my exome dataset and it fails since my mutect2 VCF has multi-allelic values and the MuTect2-PoN_filter.py script fails when it tries to convert that a value to Float.
Error Msg:
Traceback (most recent call last):
File "/usr/local/bin/MuTect2-PoN_filter.py", line 48, in
AF=float(INFOs[2])
ValueError: could not convert string to float: '0.429,0.286'
Data string on my VCF.
chr1	181583	.	CGGGGGG	C,CGG	.	clustered_events;germline;map_qual;multiallelic	CONTQ=30;DP=4;ECNT=2;GERMQ=1;MBQ=0,30,30;MFRL=186,320,326;MMQ=27,60,60;MPOS=23,25;POPAF=7.30,7.30;RPA=17,11,13;RU=G;SEQQ=2;STR;STRANDQ=93;STRQ=93;TLOD=7.62,3.37	GT:AD:AF:DP:F1R2:F2R1:SB	0/1/2:1,2,1:0.429,0.286:4:0,1,0:0,1,1:1,0,3,0
Did you experience datasets with this kind of values?
PS: tried to run mutect2 with max allels parameter in 1 and still generates 2 values.


Drop obsolete comment about heap based secure session allocation

The current implementation doesn't support heap based allocation for secure sessions. The comment is misleading, so lets remove it.

At least from what I can tell there is no heap based allocation for secure sessions right now, or do I miss something? :thinking:
At least it does seem that the limit of 50 devices apply for a Linux built controller configuration.
@bzbarsky-apple in talks with others you seem to be the person to know?


Natives are missing, when using Graalvm

When I run
System.out.println(Epoll.isAvailable());
System.out.println(OpenSsl.isAvailable());

outside the native image, both values are true. However, inside the native image, both values are false.
Epoll: 'io.netty:netty-transport-native-epoll'
OpenSSL: 'io.netty:netty-tcnative-boringssl-static'

See https://github.com/spring-projects-experimental/spring-native/issues/574
Expected behavior
Made use of natives in the graalvm native image.
Actual behavior
Natives are not being used.
(The same for tc-native and io_uring)
Minimal yet complete reproducer code (or URL to code)
See this example: https://github.com/MarcelCoding/spring-native-multi-module (readme)
Netty version
4.1.59.Final
JVM version (e.g. java -version)
Working:
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)

Not Working:
GraalVM JDK 11.0.10: https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-<IP_ADDRESS>/graalvm-ce-java11-linux-amd64-<IP_ADDRESS>.tar.gz
OS version (e.g. uname -a)
Linux <hostname> 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

My knowledge here is quite limited... Let's hope someone from the community will pick it up and provide a PR.

maybe @vietj @pmlopes have some ideas ?

I've tried in the past JNI + native-images unsuccessfully (but TBH I only tried and didn't dig further).
To enable JNI you need to manually specify the code that touches JNI and the one that can be "touched back" so to say.
https://www.graalvm.org/reference-manual/native-image/JNI/
Just like reflection a native image build will require at compile time to tell the compiler which methods are used by JNI, so they don't get excluded from the final binary. So just like their manual states you can try to create a dump using their agent, or manually write the JSON file or code it...
I am not of much help here because as I wrote I never did it myself other than a failed attempt or two... sorry.

Any update on this? JDK implementation of JCE is slow compared to OpenSSL.

I have basically no knowledge about native images. If someone contributes a PR to fix this I am happy to review and merge .


Fixing Issue #13

Fixing issue #13 verifying if message output is about PIP warning or not.

Thank you @marlontrapp @lucasventurasc @Apathyman !


Add loadingSpinnerDisableOnDialog to types

Description
Add missing type loadingSpinnerDisableOnDialog
Motivation and Context
Add missing type for loadingSpinnerDisableOnDialog
Usage examples
import BeePLugin from '@mailupinc/bee-plugin'

const beePlugin = new BeePlugin()
beePlugin.getToken()

How Has This Been Tested?
Please describe in detail how you tested your changes.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

@efrem-bonfiglio Does this change make sense to you?

👋 👋 @efrem-bonfiglio Does this change make sense to you?

yes, thak you @devonpmack

LGTM!


[EN] Feedback for: /fundamentals/performance/optimizing-content-efficiency/optimize-encoding-and-transfer.html

The title needs to be re-done, it is way too long and doesn't fit in well.
https://material-dot-web-central.appspot.com/web/fundamentals/performance/optimizing-content-efficiency/optimize-encoding-and-transfer

Fixed in #2057


head file in directory

Some head files(modules/canbus/proto/canbus_conf.pb.h modules/canbus/proto/chassis.pb.h etc.)were included in the file lincoln_controller.h, and there are no mentioned files in directory modules/canbus/proto

These header files (e.g., modules/canbus/proto/canbus_conf.pb.h) are generated by Protobuf. The proto definitions are in modules/canbus/proto/canbus_conf.proto.
If you really want  to see these generated pb.h files,  build apollo first following the README, and you will see them in the bazel-genfiles/modules/canbus/proto/ directory.


--password option requires 1 argument'

I can run this from the terminal just fine. When trying to execute it from a .ts file I get the following error. If I put the password in quotations I am prompted to login to confirm I'm not a bot. Again, works fine directly from terminal to bypass the login.
1|Media Converter Dev  |   escapedCommand: '"/home/xxx/yt-dlp" "https://www.youtube.com/watch?v=KNtJGQkC-WI" -x --audio-format mp3 --audio-quality 5 -o "dev_audio/e2b41986e8b5fddd4b935c88081d373a0999b28d1c4aaf481b.%(ext)s" --username oauth2 --password',
1|Media Converter Dev  |   exitCode: 2,
1|Media Converter Dev  |   signal: undefined,
1|Media Converter Dev  |   signalDescription: undefined,
1|Media Converter Dev  |   stdout: '',
1|Media Converter Dev  |   stderr: '\n' +
1|Media Converter Dev  |     'Usage: yt-dlp [OPTIONS] URL [URL...]\n' +
1|Media Converter Dev  |     '\n' +
1|Media Converter Dev  |     'yt-dlp: error: --password option requires 1 argument',
1|Media Converter Dev  |   failed: true,
1|Media Converter Dev  |   timedOut: false,
1|Media Converter Dev  |   isCanceled: false,
1|Media Converter Dev  |   killed: false
1|Media Converter Dev  | }
1|Media Converter Dev  | [ERROR] https://www.youtube.com/watch?v=KNtJGQkC-WI Issue downloading audio

You need to pass an empty string to --password

I think this has something to do with how the command is escaped. I was passing ' ' and " ". I decided to go with using a netrc file instead.

Going to mark as closed since this is more than likely an issue with how the command is parsed in typescript and not the plugin itself.


Add SubQuery

What

(describe the changes in detail)

Refs

(this project accepts pull requests related to open issues)
(if suggesting a new feature or change, please discuss it in an issue first)
(if fixing a bug, there should be an issue describing it with steps to reproduce)
(only fixing a minor bug - broken link, typo - an issue is not needed)
(please link to the issue here)

Hi @zengzengzenghuy, I don't yet see us in the list - do we need to add SubQuery to an index or config document?


Idea: ActivityStreams JSON-LD

Hey Max,
a feature request:
currently I am using the simplified versions of getManyEntities reducing it for simplify like
.reduce((oneObject, fromMany) => {
    for (const wikibaseId in fromMany) {
      oneObject[wikibaseId] = fromMany[wikibaseId];
    }
    return o;
  }, {});

then I do map it to an ActivityStreams JSON-LD "type": "Profile" with e.g. "describes": "wdt:Q1055"
(
simple, with default AS context and "wdt" prefix for wikidata
and in the following example
alternativeNameMap: { "@id": "wdt:P4970", "@container": "@language" },
)
by just renaming
modified -> updated
labels -> nameMap
aliases -> alternativeNameMap
descriptions -> summaryMap
and prefixing other properties with "wdt:" we would have a nice ActivityStreams representation for further use in ActivityPub.
I do also have a mapping from all properties to tag, url, image, icon …
I mean, ActivityStreams is well defined and it would just need a few changes and could become a valuable option.
const res: any = {
  id: wd.id,
  updated: wd.modified || new Date().toISOString(),
  nameMap: wd.claims && wd.claims.labels ? wd.claims.labels : {},
  alternativeNameMap: wd.claims && wd.claims.aliases ? wd.claims.aliases : {},
  summaryMap: wd.claims && wd.claims.descriptions  ? wd.claims.descriptions : {},
  tag: [],
  url: [],
  image: [],
  icon: [],
  // all wikidata properties as "wdt:P..."
};

Hi Seb!
This seems to be quite specific to a certain use case, I don't think it belongs in this lib, but if you turn it into a lib, I would happily link to it from this repo's readme "see also" section :)


[Class] Aura of Cowardise is sometime not reamoving Fear immunity correctly

Hello,
I have found another class-breaking issue regarding the Dread Knigh Class
It seems the "Aura of Cowardise" feature is sometime not reamoving Fear immunity correctly, especially on Bosses.
Step to Repro

Create a Dread Knight character (reproduced myself with Conqueror Archetype but should be the same for all ones)
Level-up the character to level 6 (to unlock COrnugon Smash for easier repro) and invest in Intimadation feats/features
Activate Power Attack with Cornugon Smash and go to Chorussina fight (don't hesitate to cheat your character with toybox for easier repro or to manually spawn Chorussina with console)
Hit Chorussina and notice in Combat log that she is still immune to fear despite the Aura of Cowardise

Result
It seems the Aura of Cowardise feature is not working as intended (especially if inspired from the Anti-paladin one).
Observations :
Note that Chorussina does not have any magical or buff effect to prevent fear immunity (screen below for details).
On the screen attached below, Regill is a level 10 DreadKnigh-Conqueror
I wonder if Owlcat gave bosses some hardcoded immunity to prevent player to beat them too easily, leading to this issue (which is non-sense to my mind as player does not receive any feedback from those).
Additional infos
You will find some screenshot for my game to witness the actual issue (with green-scared higlighted infos).
On my personal run, the issue is occuring on a full respec. Regill .
Best regards and thx you for this wonderful mod

Transaltion from frech :
Regill: Intimidation check-succes
Chorussina is immune to (Shaken)
Chorussina regular buffs :

Chorussina flat Immunities (including fear-any + Shaken & frightened :

I believe you are correct in thinking some units are hardcoded to be fear immune, I'll do some investigating and see what I can do.

Is there an example of a unit that doesn't have hard coded immunity? I tried to use dazzling display on some regular zombies but it didn't work.

Fixed in next update.
Will close after release.


⚠ Turnos 24x7 has degraded performance

In ae04912, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1973 ms

Resolved: Turnos 24x7 performance has improved in a56416f.


13???

Challenge Change the Color of Text has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Please use the Help chat room for getting challenge related help. Happy Coding!


[5.4] Optimize performance for Arr::isAssoc

Same functionality as the old isAssoc, but uses array_values for checking instead of array_keys, for better performance.
Gist with benchmark of different methods for checking if array is associative.
https://gist.github.com/Thinkscape/1965669

That is not the same check. The array could still be numerically indexed just not starting at 0. The behavior is slightly changed.

@taylorotwell The current implementation does the exact same.
The current implementation cannot handle numerically indexed arrays which is not starting at 0.
There is also a test which states if it's an numerically index array which is not starting at 0, then it is associative.
Which behaviour do we want?

Non-associative if numerically sequential (Numerically index not starting at 0)
Associative if numerically sequential (Numerically index not starting at 0)


[BUG] Segmentation error when writing logs on link while running a custom go provider

Affected project(s)

[ ] documentation
[X] examples
[ ] wasmCloud host
[ ] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[X] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Describe the bug
I get the following error when i try to build the custom capability provider in go:
wasmcloud_host::wasmbus: provider started provider_ref="file:///Users/****/git/wasm/wasmcloud/wasmCloud/examples/golang/providers/custom-template/build/custom-template.par.gz" provider_id="custom-template"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x13a35dd]

goroutine 1 [running]:
main.handleNewSourceLink(0xc0000124c8, {{0xc000014d40, 0xf}, {0xc00012c300, 0x2e}, {0xc000014d50, 0x7}, {0xc000014d57, 0x9}, {0xc000014d60, ...}, ...})
	/Users/****/git/wasm/wasmcloud/wasmCloud/examples/golang/providers/custom-template/main.go:85 +0x1d
main.run.func1({{0xc000014d40, 0xf}, {0xc00012c300, 0x2e}, {0xc000014d50, 0x7}, {0xc000014d57, 0x9}, {0xc000014d60, 0x7}, ...})

Steps to reproduce

wash up

navigate to 'https://github.com/wasmCloud/wasmCloud/tree/main/examples/golang/providers/custom-template/component'

wash build

cd .. && wash build

wash app deploy wadm.yaml

Expected behavior
I expect the log line to be written on target link :
func handleNewTargetLink(handler *Handler, link provider.InterfaceLinkDefinition) error {
	handler.provider.Logger.Info("Handling new target link", "link", link)
	handler.linkedFrom[link.Target] = link.TargetConfig
	return nil
}

Environment

OS: MacOS
Shell :zsh
wasmcloud Version : 0.29.2

Screenshots / Logs / Additional context
No response

After this closes we can revert https://github.com/wasmCloud/wasmCloud/pull/2386

This issue has been fixed in the PR :
https://github.com/wasmCloud/provider-sdk-go/pull/21


Document Java codegen options

Fixes pulumi/pulumi-java#646
Source of truth is documented more in the doc strings for https://github.com/pulumi/pulumi-java/blob/main/pkg/codegen/java/package_info.go#L35
I considered including a link here (possibly via sourcegraph) but decided against it.

Thanks @susanev ❤


Feature: link scripts in index.html from scripts.json

This PR adds syncing scripts in index.html with scripts.json. This means they only need to be added once, in the scripts.json file.
Just avoids us having to input them into index.html aswell and would avoid issues of forgetting to add them to scripts.json.
Also added scripts.json to the watch task so they will be continually updated when running grunt serverall or grunt serverjs.

LGTM :+1:


Arrow-10954: [C++] update plasma.md: PlasmaClient is threadSafe now

There's a pr https://github.com/apache/arrow/pull/4503 make PlasmaClient thread safe now, but in the doc there's "Note that a PlasmaClient object is not thread safe.", which causes misunderstanding.

@wesm @rymurr Please take a review, thanks.


Allow sections to be collapsed/expanded with a chevron-icon button

 The Feature Suggestion
Allow the entries in the sidebar to be "folded in" and "out".
 Motivation for this feature
Take this sidebar:

This is likely to grow in the future, making visibility of points below "internals" (and future longer sections) difficult.
It would be nice if I could "fold in" entries of the sidebar so that it can look more like this:

I would suggest this provide the following features:
 1. Expand/Collapse on click icon - button
Every section is not just a hyperlink. To the left or right of the section entry in the sidebar should be an icon-button that a user could click on to expand/collapse a section of entries. For a consistent design language, the icons used should likely be chevron icons to indicate that it is currently collapsed (chevron-up) or expanded (chevron down).
The button should highlight on hover separate from the section-hyperlink.
 2. Automatically expand section when user is in an entry of that section
In this example: If I am on the page "Build Hook", I would expect the section "Internals" and "Hooks" to be expanded, but not "Adders"
 3. Side-consideration: Remove sections having their own pages and make their sole purpose to expand/collapse sections
It may be worth considering maybe making sections no longer their own page but only buttons to expand/collapse sections of a sidebar. That would be a breaking change.
Alternatively, it could be considered to keep section as is and introduce a new grouping mechanism going by the name of group, that you just pass the name it should have on the sidebar and whether the group should be expanded/collapsed initially.

as nimibook is in its essence a port of mdbook the first place to look at is if this is implemented in mdbook.
From a quick search it appears it is indeed available: https://rust-lang.github.io/mdBook/format/configuration/renderers.html#outputhtmlfold
I have not yet checked how it is implemented in the code (and when it was implemented, we might need to catch up on the templates). It would also be nice to see a real example on how this implementation looks like when it is active.

it appears it was implemented here in mdbook: https://github.com/rust-lang/mdBook/pull/1027
since was before the moment nimibook was born, we might already have the feature hidden somewhere :)
anyway thanks for the input! I think it could be nice, not planning to work on this at the moment, but happy to help if someone wants to give it a try.


FindObjectOfType costly

FindObjectOfType is costly, especially when called every frame in Update()
Source: https://docs.unity3d.com/ScriptReference/Object.FindObjectOfType.html

Please note that this function is very slow. It is not recommended to use this function every frame.

Consider caching.
  if (this.vitals == null)
  {
    this.vitals = UnityEngine.Object.FindObjectOfType<Vitals>();
  }
  if (this.vitals != null)
  {
    // do stuff
  }

Removed FindObjectOfType in the newest update.


Add CheckStyle, Spotbugs, and JavaDoc to build

We should bring over the configurations that make sense from the Java repo

[ ] Checkstyle (using rules from Java repo, minus the custom rules (for now))
[ ] SpotBugs (using the rules from the Java repo)
[ ] JavaDoc (configured to exclude implementation packages, as decided)
[ ] All linting, compiler, doc configurations set to fail on error and fail on warning

Labeling this "Client" as the mobile libraries team should own this work.  Please reach out to the EngSys team for direction if needed and for code review of the changes to add these to ensure consistency with how it's done in other langauges/repos.

I've the quality checks integrated for as part of vnext Android azure core modules work in progress, hopefully the modules will land in the official repo soon.

The branch v2-sdk (containing the WIP azure core modules) is pushed, contains the code quality checks which can be invoked by running gradle check.

Implemented in v2-sdk branch and CI now runs all the quality tool listed in the work item description.


Screenshots page: Version 3.0 screenshots aren't from version 3.0

Where to find the issue

https://www.coronawarn.app/de/screenshots/#android_screenshots
https://www.coronawarn.app/en/screenshots/#android_screenshots
https://www.coronawarn.app/de/screenshots/#ios_screenshots
https://www.coronawarn.app/en/screenshots/#ios_screenshots

Describe the issue
There are multiple screenshots on the page which weren't actually taken on version 3.0 of the Corona-Warn-App, but must have been taken on an earlier version.
Suggested change
Update the page with screenshots actually taken on version 3.0 of the CWA.

Good morning @Ein-Tim, we will check this. Thanks.


Clarification that multiple tables can be referenced by the sqlReaderQuery

This is in response to multiple questions received.

Hi @lpillar, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@lpillar
Thank you for your contribution. I'll verify this with the author and get right back to you.
--Carolyn

@spelluru
Hi, Sreedhar, Please let me know whether to accept this PR.
Thanks!

#sign-off


Pick-up and drop doesn't work properly

Description
When I try to pick up a file and put it in a folder, many times it doesn't give the option of dropping it in the correct folder. This issue doesn't occur every time but it occurs most of the time I try to do it.
Steps To Reproduce

Go to files
Create 2-3 folders
Create a file
Pick up the file with the mouse
Try to move it to the desired folder and drop it.

Expected behavior
I should be able to drop the file in the desired folder in one go.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.556
Windows Version
Windows 11 Home 21H2 OS build	22000.556
Relevant Assets/Logs

Does refreshing the folder fix the issue?

yes
On Wed, 16 Mar 2022 at 12:42, Marco Gavelli @.***>
wrote:

Does refreshing the folder fix the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/8677#issuecomment-1068806882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARXTP3ASRQIBNBSWXTFGWIDVAGCVXANCNFSM5Q2UZ3CA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Hey everyone!
I want to fix this issue.
I've reproduced the issue under the Column View.
The refresh helps a little, but still glitchy.
Tested on main - 412dd98.
May I proceed with investigation and try to fix that?

Go ahead 👍

This should be resolved in main.


Change menu title to "Sample metadata" and set key access

@InspiritedCoder can you change the menu title to Sample metadata and then set the key access - maybe to SHORTCUT + M
shortcut is either the COMMAND button on macOS and CTRL on UNIX and windows
here is an example
   <MenuItem text="LC-MS / LC-IMS-MS workflow" onAction="#showWizardTab"
      userData="io.github.mzmine.modules.tools.batchwizard.BatchWizardModule">
      <accelerator>
        <KeyCodeCombination alt="UP" code="W" control="UP" meta="UP" shift="UP" shortcut="DOWN"/>
      </accelerator>
    </MenuItem>

Sounds good, shortcuts are useful. I will implement it

I think that this issue can be closed because I already implemented it in the previous commits and @robinschmid already checked them (I couldn't do it in a separate branch cause the master branch was unmerged by that time)


bash script / github workflow to generate csv out of whats_left.sh

In this previous PR https://github.com/RustPython/RustPython/pull/1865 , I made some tweaks to whats_left.sh to generate yaml files. The goal is to display some sort of dashboard on the website (rustpython.github.io). Eventually we didn't merge the PR because it meant that we needed to add some more flags or argument for the script (which I never got around to).
Here is a easier suggestion for a new bash script that we can run as a github workflow.
The script:

generates csv files
cleans up some output from the whats_left script that we are not likely to display on the site
creates two separate files (one for missing entire modules and one for missing functions and classes)

Here is what the script looks like:
#!/bin/bash

# run whats_left and save the output to a temp file
# use grep to remove some test output like hello world and constant string
sh ./whats_left.sh | grep -v 'Constant String' | grep -v 'Hello world'  > whats_left.temp

# start a new csv file that has the modules
echo "module" > whats_left_modules.csv
# read the temp file and look for "entire module"
cat whats_left.temp | grep "entire module"  >> whats_left_modules.csv

# start a new csv file that has just the missing functions and classes
echo "module, partial" > whats_left_partials.csv
# get the diff between the full list and the module list
# remove some keywords like "existing but not importable"
# replace the "." with "," which nicely creates a new column in csv
grep -v -f  whats_left_modules.csv whats_left.temp | grep -v 'existing but not importable' |  tr "." "," >> whats_left_partials.csv

I tested that jekyll can actually read and display the data with a simple loop, for example.
 {% for item in site.data.whats_left_modules %}
      <li>
        {{ item.module }}
      </li>
    {% endfor %}

For the second file, jekyll layout needs to be more fancy and group by the module name.
Anyway.... this is the whole script that is needed and it re-uses whats_left.sh

is this a better solution than my previous attempt at a PR?
should I submit this bash script as a PR for a file here? I thought creating a new one like whats_left_workflow.sh is just weird and looks like clutter.
adding those instructions in the github workflow is also weird

any thoughts?

Oh, nice! I think this looks pretty good, it might be possible to just add as an option to whats_left.sh, like if [[ $1 = --csv ]]; then <your code>; exit 0; fi

Oh, nice! I think this looks pretty good, it might be possible to just add as an option to whats_left.sh, like if [[ $1 = --csv ]]; then <your code>; exit 0; fi

The whats_left.sh script takes parameters on these lines.
cargo build --release
if [ $# -eq 0 ]; then
  sections=(${ALL_SECTIONS[@]})
else
  sections=($@)
fi

So if i was to add one more parameter as a csv flag, the order becomes important or we'll have to use named parameters and document 😢 stuff somewhere, no?
I tested your suggestion

./whats_left.sh --csv works,
./whats_left.sh modules works,
./whats_left.sh --csv modules wouldn't.

How about, I just edit .github/workflows/cron-ci.yaml here to save whats_left to the rustpython.github.io repo and I add the data cleaning and formatting script there instead. It would be more neat/organized anyway.

The whats_left.sh script takes parameters on these lines.
cargo build --release
if [ $# -eq 0 ]; then
  sections=(${ALL_SECTIONS[@]})
else
  sections=($@)
fi

So if i was to add one more parameter as a csv flag, the order becomes important or we'll have to use named parameters and document 😢 stuff somewhere, no?
I tested your suggestion

./whats_left.sh --csv works,
./whats_left.sh modules works,
./whats_left.sh --csv modules wouldn't.

How about, I just edit .github/workflows/cron-ci.yaml here to save whats_left to the rustpython.github.io repo and I add the data cleaning and formatting script there instead. It would be more neat/organized anyway.

How about, I just edit .github/workflows/cron-ci.yaml here

Sure, that sounds good :+1:

How about, I just edit .github/workflows/cron-ci.yaml here

Sure, that sounds good :+1:


Neither of test apps work - did you stop maintaining it?

The project is under active development.
Our test apps are also running in the CI all the time, what is it that's not working for you?


Screen Share - simple implementation

Hello, I am trying to implement simple Screen Share feature using Agora.io. However the example here seems to be overly complex. I wonder, is there any easier way how to achieve this? For example using OnImageAvailableListener or OnFrameAvailableListener (is it even possible?)
I found the EglRenderer. Could I use that for example like this:
var eglRenderer = new EglRenderer("screenshare");
            eglRenderer.AddFrameListener(new AgoraFrameListener(), 1);

Then in the listener push the bitmap data using the PushExternalVideoFrame method?

What platform did you use IOS?

What platform did you use IOS?

we were trying to use Android

Have u find any solution for it ? I am also looking for it ?
If you have achieve screen sharing by present functionality given by agora then let me know. How to do it . I am facing issue in it

@shivchand we are kind of waiting with the Android implementation until Agora provides more robust and easy to implement examples. I reckon that some of the stuff like EglCore etc. should be part of the standard Nuget package or at least it should be packaged in a way so it's easy to implement.
Right now the implementation is quite confusing unless you understand the low level Android graphics API.

There are surely some other alternative implementations.
And it is explicitly noted in the readme that this demo shows possibly the most confusing way to implement OpenGL contexts with the whole control by developers.
Besides, the interfaces facilitates switching between different video types, avoiding OpenGL consistency problems.
In some situations, knowing the texture id of the receiving Surface is beneficial.
However, it is OK to receive the screen-share content via ImageReader, or you can set the input surface from a MediaCodec. Anything suits you most.

@brianxcli could you confirm that the screen sharing is actually possible by using just ImageReader while having the app in background and getting images of the screen no matter which app is opened? What would be more useful to see a real working example - rather than guessing if it's gonna work or not.

As long as you provide a valid Surface, the media projection will work, why can't I be sure about that? I am not guessing but know how it works.

Hello @brianxcli thanks for that, sorry for the post sounding too offensive. As long as i have the valid surface is there any easier way how to obtain the data for the AgoraVideoFrame? meaning the buffers etc.? That's the bit that is the most confusing for me.

Take ImageReader as an example.  Assume you've provided ImageReader.getSurface() to projection. Every time a frame is ready a callback methods is invoked. An Image instance is returned using ImageReader.acquireLatestImage(), and it contains necessary data for a AgoraVideoFrame


Document is not display properly.

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

This page ( https://developer.mozilla.org/th/docs/Web/API/XMLHttpRequest ) there is no link to any properties, methods compare to this page ( https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest ).
For example: The heading about Constructor, on en-us page it display **XMLHttpRequest() **word and link but on th page it display {{domxref("XMLHttpRequest.XMLHttpRequest", "XMLHttpRequest()")}} without link.

The translation is not finished, so yeah, it is not really usable. We don't have any resources to update this, so it'll have to stay like it is for now.


fix: extend height of appearance container

Description

extend the height of the apppearance settings container so that the language selector doesn't require scrolling when space is available (#3478)

Changelog

add flex-grow; 1; to the appearance-container

Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] The light- and dark-theme are both supported and tested
[x] The design was implemented and is responsive for all devices and screen sizes
[x] The application was tested in the most commonly used browsers (e.g. Chrome, Firefox, Safari)

(Optional) Visual Changes

updated: no scrolling necessary when space is available

I agree, I'll also add a .scrollIntoView() call whenever the menu is opened.


Update README.md

Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[ ] There's a clear use-case for this code change, explained below
[ ] Commit message has a short title & references relevant issues
[ ] The build will pass (run yarn test:all and yarn lint)

We appreciate your contribution!
Also, if you'd be interested in writing code like this for us more regularly, we're hiring:
https://careers.ghost.org

I'm sorry I didn't mean to spam, just trying to help. I hope you have a great day.


[GenericPoseGraph] Add parameterization.

@wally-the-cartographer merge

Merge requested by authorized user pifon2a. Merge queue now has a length of 1.


[checkout] - add manual tracing instrumentation

Fixes #56

[x] Services extend automatic instrumentation.

[x] New attributes/events attached to existing spans.
[x] New spans are being created from existing spans.

Changes

add attributes and events with more attributes to the existing auto-instrumented span.
wraps the main prepareOrderItems function with another span and attributes.
fixes a small bug that prevented passing context into the currency service calls.

@mic-max can you reset your review?

Bumping this -- are we ok with this for now or are we gonna let it rot?


fixing: ts-sdk records keploy-testcase even on test mode

this PR  closes: https://github.com/keploy/keploy/issues/430

@re-Tick Please review this PR

This expression should also check for the empty KEPLOY_TEST_ID from the headers. Since, during the simulate request of test mode, the KEPLOY_TEST_ID is used for check.
Also there should be check in the afterMiddleware function also which will just return the response instead of recording it.

@re-Tick  please check the it again

Please add the if check in afterMiddleware also after this "if check"

LGTM.


Document K8s cluster node resource requirements for the Istio profiles

What is the minimum number of nodes, and the CPU and memory of the nodes, for the various Istio profiles?
Put this into the documentation under the profiles, probably at https://istio.io/docs/setup/kubernetes/install/helm/

Yes, can we have this.
As per "https://docs.giantswarm.io/guides/deploying-istio/"
Some of them, as pilot, have a large impact in terms of memory and CPU, so it is recommended to have around 8GB of memory and 4 CPUs free in your cluster. Obviously, all components have requested resources defined, so if you don’t have enough capacity you will see pods not starting.


keepalived conf doesn't reload after deleted a pod

I'm testing resilient with kube-keepalived-vip 0.30 by deleting the pod and I noticed the keepalived.conf didn't update the real_server IP with the new pod ip after k8s created the new pod. According to the README, I'm not sure what "scale event" keepalived is relied on to update and reload the conf. Did I miss anything or how to debug further with this issue?
kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:39:04Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.3", GitCommit:"a4529464e4629c21224b3d52edfe0ea91b072862", GitTreeState:"clean", BuildDate:"2018-09-09T17:53:03Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

I have this same on 0.32 version. I apply new configmap with new ip, and i want to reload keepalived, but i dont know how to do this.


HandleCore vs. Handle

I'm integrating the new version of Mediatr for the first time and it feels a little sad the key method is now called HandleCore instead of Handle (in case of deriving from AsyncRequestHandler). Looks a little hackish in my opinion. There was no way to call it Handle due to some C# limitations or was it a design decision?

Yes the previous version contained all the hacks. You don’t have to use the
base classes if you don’t want, we just use the interfaces.
On Wed, Dec 20, 2017 at 8:53 PM Alexander Sidorov<EMAIL_ADDRESS>wrote:

I'm integrating the new version of Mediatr for the first time and it feels
a little sad the key method is now called HandleCore instead of Handle (in
case of deriving from AsyncRequestHandler). Looks a little hackish in my
opinion. There was no way to call it Handle due to some C# limitations or
was it a design decision?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jbogard/MediatR/issues/222, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGYMhdcnkHufkzFveHOHpE9gTAbpBB8ks5tCcgQgaJpZM4RJSeB
.

But then I would have to pass CancellationToken though I don't use it...

IMediator always passes it but we use a default value so you don’t have to
pass it if you don’t want to.
Just had to bite the bullet. It’s what other frameworks have to do in C#
with async (see NServiceBus and ASP.NET Core)
On Wed, Dec 20, 2017 at 9:28 PM Alexander Sidorov<EMAIL_ADDRESS>wrote:

But then I would have to pass CancellationToken though I don't use it...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jbogard/MediatR/issues/222#issuecomment-353248883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGYMnILVjXxlAlj771S8i3WWPvNYlECks5tCdBmgaJpZM4RJSeB
.

Got it! Thanks a lot for the clarification


feat(ui): version information edit component

Description
Version information edit UI
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@wanglam I have it fixed based on your comment in my next PR. What do you think if we merge this PR for now?


feat: add kcl mod graph command

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

feat: add kcl mod graph command

2. What is the scope of this PR (e.g. component or file name):

cmd/kcl/commands/mod.go
cmd/kcl/commands/mod_graph.go
go.mod

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 36.563%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
117

Relevant Lines:
320

💛  - Coveralls


new Azure AD SSO UI is only able to dispaly 15 characters

Hi Microsoft,
Looks like the new Azure AD SSO UI: https://myapplications.microsoft.com is only able to dispaly 15 characters to the single app name under the icon, is it possible to be increased?

https://myapps.microsoft.com/ is able to display at least 25 characters.

Thanks,
Steve

@ynorvo Thanks for reaching out to us. I am afraid there is no way to do it as the site is designed to show limited number of characters. You can still hover over them to see the entire text although.
Also you can provide the feedback on the same and based on that it could be taken care.

@ynorvo We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Copies default config file when none found

Previously xi-mac only copied the base config file on startup - this commit makes it also copies the base config when the user opens the preference folder and no config is found.
closes #375
Review Checklist

[ ] I have responded to reviews and made changes where appropriate.
[x] I have tested the code
[x] I have updated comments / documentation related to the changes I made.
[x] I have rebased my PR branch onto xi-mac/master.

hmm, this is confusing to me. What's the scenario where we open the preference folder and no config is found? Why wasn't it copied on startup? Is this like if the user manually deletes it?

@cmyr Yeah, pretty much. We only create preferences.xiconfig on first run at the moment, when the Application Support folder for Xi hasn't existed yet. If the user deletes that config file (or it disappears for some reason), it causes what is described in #375.

@cmyr Sorry, I've been a bit occupied with some stuff along with not feeling too well in general, gonna get to this sometime this week!

@cmyr Got to updating this PR today with your suggestions, does it look okay now?

@cmyr Thanks for the review! Was a tiny little bit hasty and tired when I was writing this a few weeks earlier, but I fixed it up with your feedback. Does it look good now?


add \upepsilon explicitly to latext_symbols

this does not seem to be present in Julia 1.11

It is also known as \varepsilon, but I don't see any reason not to have both.
Thanks a lot.


Produce signed URLs for S3 interactions for vsicurl

Right now vsicurl interactions with S3 depend on direct HTTP (not HTTPS, and not via S3 protocol) access to scratch files. The requires the scratch space buckets for be world readable. In order to continue using vsicurl, these URLs need to be signed and the bucket made non-world readable.
This is somewhat tied to https://github.com/azavea/raster-foundry/pull/239. Ensure that the changes there are undone as part of resolving this issue.

We are unable to generate a signed URLs for private S3 resources using boto3 for both GET and HEAD requests which is needed by the vsicurl driver.
The solution is to set CPL_VSIL_CURL_USE_HEAD to NO when opening files in GDAL (See: http://gdal.org/python/osgeo.gdal-pysrc.html#SetConfigOption).


Add datetime axis capability to categorical plots

Is your feature request related to a problem? Please describe.
This issue was first raised here: https://discourse.holoviz.org/t/workaround-for-date-based-histogram-tick-labels/788
I have time series data, and would like to bin the data according to different time resolutions.
When I try linking axes and controlling axis tick labels, I find it difficult to do so:
import numpy as np
import pandas as pd

import hvplot.pandas
import holoviews as hv
from bokeh.models.formatters import DatetimeTickFormatter

# Create data frame
days = pd.date_range(start=pd.to_datetime('2001-01-01'), end=pd.to_datetime('2001-12-31'))
ncols = 5
columns = np.arange(ncols) + 1
data = np.random.rand(365, ncols)
df = pd.DataFrame(data, index=days, columns=columns)
df.index.name = 'time'

# Determine number of days where row mean is above 0.5
mean_above_midpoint = (df.agg('mean', axis=1) > 0.5).astype(int)
df['days_above_midpoint'] = mean_above_midpoint
df_weekly = df.resample('W').mean()
df_weekly['days_above_midpoint'] = df['days_above_midpoint'].resample('W').sum()
df_weekly.head()

formatter = DatetimeTickFormatter(months='%b')
columnLabels = [str(x) for x in columns]

lines = df_weekly.hvplot.line(x='time', y=columnLabels, title='Measurements', xformatter=formatter)
hist  = df_weekly.hvplot.bar(x='time', y='days_above_midpoint', title='Days Above Midpoint', xformatter=formatter)

(lines + hist).cols(1)

Describe the solution you'd like
Most categorical plots (histogram, box+whisker, violin) have utility when the bins are discrete time intervals, rather than categories.  It would be nice if these plots allowed a datetime axis with all of the related linking abilities to other time series plots.
I am aware now of a workaround using Holoviews, but it's not something I could have figured out on my own.
Thanks for your consideration!

I think this is worth discussing and may be related to the issue in https://github.com/holoviz/hvplot/issues/490

I'm trying to follow the work-around as listed in the discourse, but my use case is with stacked data.  Histograms in holoviews don't seem to support stacked data as far as I can tell, so the current workaround doesn't work unfortunately.

I mostly plot financial timeseries data. Users are very used to having a line/ curve plot on top and some bar plot below. The x-axis in both places is datetime.

The ability not to not easily support this use case with linked axis is a MAJOR draw back and means I most often have to resort to other plotting libraries.

This issue actually lists a few different issues.
First, yes bar plots do not support numerical data. @philippjfr wrote on Discourse:

So this is an unfortunate quirk of the Bars element in HoloViews which is always categorical

Do you still stand by that? It seems to me that Bars should always be categorical.
The workaround offered on Discourse was the following:
lines = df_weekly.hvplot.line(x='time', y=columnLabels, title='Measurements', xformatter=formatter)
hist  = hv.Histogram(df_weekly.hvplot.bar(x='time', y='days_above_midpoint')).opts(title='Days Above Midpoint', xformatter=formatter, width=700)

(lines + hist).cols(1)

And indeed using the Histogram element is a valid workaround, and it feels it's correct way to represent data that has is aggregated over time intervals. This is actually the classic way to plot a hyetograph, that represents the evolution of the rainfall intensity over time:

@philippjfr what do you think about adding an x parameter to df.hvplot.hist that would build the histogram not using the histogram operation of HoloViews but by directly calling hv.Histogram((df['x'], df.['y']))? Something I'm unsure about is that using this approach the bins are centered around the x values, while in some cases (or all?) you'd want the x values to match with the right bin edges, as in the plot above (the physical measurements were made at t=10,20,etc.).
@pollackscience is asking for stacked histograms, that's a feature request for HoloViews.
Lastly, @MarcSkovMadsen on the first plot you shared, what are the intervals between the bins where the values are 0? Do they have any meaning?

Pinging @jlstevens to get your opinion on that:

Something I'm unsure about is that using this approach the bins are centered around the x values, while in some cases (or all?) you'd want the x values to match with the right bin edges, as in the plot above (the physical measurements were made at t=10,20,etc.).


[BUG] Set-PnPPageWebPart set page property

Reporting an Issue or Missing Feature
I want to add a page property but I am not able to.
Expected behavior
I expect to just add the field by this cmdlet.
Actual behavior
I get an error:
Set-PnPPageWebPart : '=' is invalid after a single JSON value. Expected end of data. LineNumber: 0 | BytePositionInLine: 18.
At line:1 char:1
+ Set-PnPPageWebPart -Page $page -Identity 4e17657e-beb5-4511-b4d5-49c7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Set-PnPPageWebPart], JsonReaderException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Pages.SetClientSideWebPart

Steps to reproduce behavior
$item = Get-PnPListItem -List "Site Pages" -Id 3
$page.Controls[0].PropertiesJson
# {"title":"","selectedFieldIds":["23f27201-bee3-471e-b2e7-b64fd8b7ca38"],"availableFields":[]}
Set-PnPPageWebPart -Page $page -Identity 4e17657e-beb5-4511-b4d5-49c73d71fedc -PropertiesJson "`"selectedFieldIds`"=`"[`"23f27201-bee3-471e-b2e7-b64fd8b7ca38`",`"ae08775f-c1d3-482e-93f5-79b833f393de`"]`""

What is the version of the Cmdlet module you are running?
1.5.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

I also tried ":" but got a similar error. According to the documentation I don't know what should be wrong here?!

This also broke for me when attempting to update a Markdown webpart. It worked a couple of weeks ago, not sure what changed. I used this for reference and it worked great.
https://github.com/pnp/PnP-PowerShell/issues/2336

I'm assuming there is no alternate way to update the markdown webpart via PNP powershell?

Okay. Worked with Set-PnpClientSideWebPart but why doesn't it work with Set-PnpWebPart?

confirmed - changing my script to use the old cmdlet worked for me as well. didn't update pnp to 1.7 yet as it says this cmdlet will be removed in 1.5....

i misspoke.
the commands don't work for me still. i happen to be on an older machine with the older pnp module setup. i will attempt everything again with 1.7 but as of right now this is not working still

Confirming that this is still broken.
Had to find an older machine running SharePointPnPPowerShellOnline

by the way the error I receive is:
Set-PnPPageWebPart : '0x0D' is invalid within a JSON string. The string should be correctly escaped. LineNumber: 0 |
BytePositionInLine: 97.
At C:\Users\jlu\Desktop\PnP.Powershell\functions\Set-MarkDownWebPart.ps1:35 char:13

        Set-PnPPageWebPart -Page $homePage -Identity $components[ ...

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (:) [Set-PnPPageWebPart], JsonReaderException
FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Pages.SetClientSideWebPart

I had to add { }
-PropertiesJson "{"property":"value"}"


Update ROCM libs and improvements

What does this PR do?
This PR  introduces various library updates to address breaking changes, including optimisations for ROCm and custom kernels for low-batch-size GEMM and Paged attention. Key improvements are as follows:

[x] Update CK flash attention to use CK tile
[x] Update VLLM to latest rocm/vllm commit.
[x] Update torch
[x] Fix tunable op issue with TP8
[x] BF16 inference fix
[x] Custom Paged attention
[x] Documentation

Hi @mht-sharma 👋
Just checking in on this: are you still working on it or is this something we should consider closed? And my intention is by no means to say that we're in a hurry 👍

Hi @mht-sharma 👋
Just checking in on this: are you still working on it or is this something we should consider closed? And my intention is by no means to say that we're in a hurry 👍

Hi @ErikKaum , yes I am currently working on this, with a few improvements and fixes still pending. I am working with AMD to ensure these updates are finalized soon.

Closing this in favour of https://github.com/huggingface/text-generation-inference/pull/2579


Are my iOS tests supposed to open up a simulator?

The README contains an animated GIF that shows tests running in a simulator, yet in the About section it is written that:

Runs on Devices (not yet supported on iOS): Gain confidence to ship by testing your app on a device/simulator just like a real user.

Furthermore my tests spawn no simulator. Is it possible to clear that up?
Cheers!

Oh come on lol

"Device" means an actual hardware device.
If you don't see the simulator while running tests, open the Simulator app from Xcode. When Detox tests run, a simulator is booted, but no UI shows up.

@LeoNatan Do I actually need to open the Simulator when running my tests? It seems like when I don't have the simulator open, my tests fail.

No. If the app is not open, the simulator runtime runs in a headless mode.


Sending form data, Python Example. Another suggestion for beginners?

Request type

[ ] New documentation
[x] Correction or update

Details

Reference the"Sending form data" article, sub-section "Example: Python", ending Note box.
Another suggestion to help beginning students.
For this example to work, with python-flask, the files "form.html" and "greeting.html" must be in a sub-folder named "templates" of the folder containing the "python-example.py" file.
Again, it took me some time researching and reading, to "realize" what should have been obvious to me, but if you don't know, you don't know. A short sentence added may benefit other students after me.
Again thanks, these mdn web docs tutorials are amazing!
BTW, I got the "free" MAMP to work without the MAMP PRO, see comment here.

No problem with being explicit about this; I've added a note in parens just above where it mentions to template files to cover this.
Thanks again!


Add tests of:

Ensure change-server functionality works (and doesn't keep trying to do anything with the stale server uri).
LightWallet blocks field actually is 100 blocks (or entire scanned chain).
We have sensible behavior when latest block < last scanned height
Drain existingblocks into blocks with truncation
Demonstrate that verify_trees needs to verify more than the most recent tree
Add off-by-one test inside verify_tree_pairs
LightWallet::add_notes_to_total
get_all_domain_specific_notes (Order, and maybe zero_value note tests?)

#115 covers server-change and get_all_domain_specific_notes order

@AloeareV can you help decide who should take this between @Oscar-Pepper and @fluidvanadium ?


Ability to Paste images from clipboard

There does not appear to be any way to paste images directly. It seems to require saving to file and inserting from file.

yes you are right it was needed one


gopls: use go 1.21 for build

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

go-tools should be bumped as well

Can confirm, compiling with the latest version no longer has an error for the max function:
$ gopls check pkg/database/api.go
pkg/database/api.go:213:9-12: undefined: max

$ ~/.cache/nixpkgs-review/pr-262523/results/gopls/bin/gopls check pkg/database/api.go
<no output>


how to config a rule to alert when some values of request_url reach to 1000 a day?

exalmpe:I want to group count by request_url,then alert the most frequently url

type: frequency
num_events: 1000
timeframe:
  days: 1
query_key: request_url


Changed access modifier from private to protected

In order to allow class inheritance.
I am upgrading from 2.* to 3.* and can not access the properties any more, thus I can not extend the class in any meaningful way.

I don't have a problem exposing these. It shouldn't cause any problems for existing users so 👍

May I ask you to release the update as version 3.3.3, so I - and others - can install it with composer?
Thanks in advance!