Upterm rejecting all ssh connections

I was trying to spin up my first upterm session; after running upterm host -- bash I am presented with the expected ssh session information, but when I attempt to connect to that session from another system, I get a "permission denied" error:
[lars@madhatter ~]$ ssh<EMAIL_ADDRESS><EMAIL_ADDRESS>Permission denied (publickey).

I haven't included any --authorized-key argument in my upterm host command so I expected any ssh client to be able to connect.

Same issue, me and my friend added authorised keys from eachother and it still didn't work

@owenthereal with the new 0.6.8 release I still see the same behavior. In one window:
$ upterm host
=== F00BAAKRQQ5KSKK7O60NF
Command:                /bin/bash
Force Command:          n/a
Host:                   ssh://uptermd.upterm.dev:22
SSH Session:            ssh<EMAIL_ADDRESS>Press <q> or <ctrl-c> to continue...

And in another window:
$ ssh<EMAIL_ADDRESS><EMAIL_ADDRESS>Permission denied (publickey).

Hmm...I could not reproduce this. Can you try the ssh command with the -vvv flag, e.g. ssh<EMAIL_ADDRESS>-vvv. I suspect this is related to your local ssh config.

I personally can't connect, it just stays at infinite connection  (0.6.8 version)
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50

last lines from the ssh connection output, and it just stays like that, never connects, then errors on
Connection closed by <IP_ADDRESS> port 22

Also, how can i disable pubkey auth for upterm? it asks my key pass to authorise with it on host  (almost like if i was connecting to myself), and i don't want pubkey auth, i just want to share it (or at least share it with password at max)

Can you try the ssh command with the -vvv flag, e.g. ssh
<EMAIL_ADDRESS>-vvv
and paste the result here (note that you may want to obfusticate
info that is confidential). I suspect this is related to your local
ssh config

Connecting to uptermd.upterm.dev with ssh -vv:
$ ssh<EMAIL_ADDRESS>OpenSSH_8.7p1, OpenSSL 1.1.1l  FIPS 24 Aug 2021
debug1: Reading configuration data /home/lars/.ssh/config
debug1: Reading configuration data /home/lars/.ssh/config.d/abc_config
debug1: Reading configuration data /home/lars/.ssh/config.d/house_config
debug1: Reading configuration data /home/lars/.ssh/config.d/def_config
debug1: Reading configuration data /home/lars/.ssh/config.d/mycompany_config
debug1: /home/lars/.ssh/config line 54: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-mycompany.conf
debug2: checking match for 'final all' host uptermd.upterm.dev originally uptermd.upterm.dev
debug2: match not found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug2: resolve_addr: could not resolve name uptermd.upterm.dev as address: Name or service not known
debug1: re-parsing configuration
debug1: Reading configuration data /home/lars/.ssh/config
debug1: Reading configuration data /home/lars/.ssh/config.d/abc_config
debug1: Reading configuration data /home/lars/.ssh/config.d/house_config
debug1: Reading configuration data /home/lars/.ssh/config.d/def_config
debug1: Reading configuration data /home/lars/.ssh/config.d/mycompany_config
debug1: /home/lars/.ssh/config line 54: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-mycompany.conf
debug2: checking match for 'final all' host uptermd.upterm.dev originally uptermd.upterm.dev
debug2: match found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug2: resolving "uptermd.upterm.dev" port 22
debug1: Connecting to uptermd.upterm.dev [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /home/lars/.ssh/id_rsa type 0
debug1: identity file /home/lars/.ssh/id_rsa-cert type -1
debug1: identity file /home/lars/.ssh/id_dsa type -1
debug1: identity file /home/lars/.ssh/id_dsa-cert type -1
debug1: identity file /home/lars/.ssh/id_ecdsa type -1
debug1: identity file /home/lars/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/lars/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/lars/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/lars/.ssh/id_ed25519 type -1
debug1: identity file /home/lars/.ssh/id_ed25519-cert type -1
debug1: identity file /home/lars/.ssh/id_ed25519_sk type -1
debug1: identity file /home/lars/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/lars/.ssh/id_xmss type -1
debug1: identity file /home/lars/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.7
debug1: Remote protocol version 2.0, remote software version uptermd
debug1: compat_banner: no match: uptermd
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to uptermd.upterm.dev:22 as 'W3JPuwujNLwdjp9fm8PO:MTAuMjQ0LjAuMjI4OjIy'
debug1: load_hostkeys: fopen /home/lars/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ext-info-c
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr
debug2: ciphers stoc: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr
debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1
debug2: host key algorithms<EMAIL_ADDRESS>debug2: ciphers ctos: aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: ciphers stoc: aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr
debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96
debug2: compression ctos: none
debug2: compression stoc: none
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm<EMAIL_ADDRESS>debug1: kex: host key algorithm<EMAIL_ADDRESS>debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex<EMAIL_ADDRESS>need=64 dh_need=64
debug1: kex<EMAIL_ADDRESS>need=64 dh_need=64
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host certificate<EMAIL_ADDRESS>SHA256:...
debug2: Server host certificate hostname: uptermd.upterm.dev
debug1: load_hostkeys: fopen /home/lars/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'uptermd.upterm.dev' is known and matches the ED25519-CERT host certificate.
debug1: Found CA key in /home/lars/.ssh/known_hosts:390
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/lars/.ssh/id_rsa_myhobby RSA SHA256:...
debug1: Will attempt key: /home/lars/.ssh/id_rsa_mycompany RSA SHA256:...
debug1: Will attempt key: /home/lars/.ssh/id_rsa RSA SHA256:...
debug1: Will attempt key: /home/lars/.ssh/id_dsa
debug1: Will attempt key: /home/lars/.ssh/id_ecdsa
debug1: Will attempt key: /home/lars/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/lars/.ssh/id_ed25519
debug1: Will attempt key: /home/lars/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/lars/.ssh/id_xmss
debug2: pubkey_prepare: done
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/lars/.ssh/id_rsa_myhobby RSA SHA256:...
debug1: send_pubkey_test: no mutual signature algorithm
debug1: Offering public key: /home/lars/.ssh/id_rsa_mycompany RSA SHA256:...
debug1: send_pubkey_test: no mutual signature algorithm
debug1: Offering public key: /home/lars/.ssh/id_rsa RSA SHA256:...
debug1: send_pubkey_test: no mutual signature algorithm
debug1: Trying private key: /home/lars/.ssh/id_dsa
debug1: Trying private key: /home/lars/.ssh/id_ecdsa
debug1: Trying private key: /home/lars/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/lars/.ssh/id_ed25519
debug1: Trying private key: /home/lars/.ssh/id_ed25519_sk
debug1: Trying private key: /home/lars/.ssh/id_xmss
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
<EMAIL_ADDRESS>Permission denied (publickey).

Compare that to this connection to a tmate server:
$ ssh<EMAIL_ADDRESS>OpenSSH_8.7p1, OpenSSL 1.1.1l  FIPS 24 Aug 2021
debug1: Reading configuration data /home/lars/.ssh/config
debug1: Reading configuration data /home/lars/.ssh/config.d/abc_config
debug1: Reading configuration data /home/lars/.ssh/config.d/house_config
debug1: Reading configuration data /home/lars/.ssh/config.d/def_config
debug1: Reading configuration data /home/lars/.ssh/config.d/mycompany_config
debug1: /home/lars/.ssh/config line 54: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-mycompany.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /home/lars/.ssh/config
debug1: Reading configuration data /home/lars/.ssh/config.d/abc_config
debug1: Reading configuration data /home/lars/.ssh/config.d/house_config
debug1: Reading configuration data /home/lars/.ssh/config.d/def_config
debug1: Reading configuration data /home/lars/.ssh/config.d/mycompany_config
debug1: /home/lars/.ssh/config line 54: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-mycompany.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Connecting to tmate.example.com [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /home/lars/.ssh/id_rsa type 0
debug1: identity file /home/lars/.ssh/id_rsa-cert type -1
debug1: identity file /home/lars/.ssh/id_dsa type -1
debug1: identity file /home/lars/.ssh/id_dsa-cert type -1
debug1: identity file /home/lars/.ssh/id_ecdsa type -1
debug1: identity file /home/lars/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/lars/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/lars/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/lars/.ssh/id_ed25519 type -1
debug1: identity file /home/lars/.ssh/id_ed25519-cert type -1
debug1: identity file /home/lars/.ssh/id_ed25519_sk type -1
debug1: identity file /home/lars/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/lars/.ssh/id_xmss type -1
debug1: identity file /home/lars/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.7
debug1: Remote protocol version 2.0, remote software version tmate
debug1: compat_banner: no match: tmate
debug1: Authenticating to tmate.example.com:22 as 'XC4DwPpRN6mKS6PQn9bfUcktr'
debug1: load_hostkeys: fopen /home/lars/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression<EMAIL_ADDRESS>debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression<EMAIL_ADDRESS>debug1: kex: curve25519-sha256 need=32 dh_need=32
debug1: kex: curve25519-sha256 need=32 dh_need=32
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:...
debug1: load_hostkeys: fopen /home/lars/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host 'tmate.example.com' is known and matches the RSA host key.
debug1: Found key in /home/lars/.ssh/known_hosts:629
debug1: rekey out after<PHONE_NUMBER> blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after<PHONE_NUMBER> blocks
debug1: Will attempt key: /home/lars/.ssh/id_rsa_myhobby RSA SHA256:...
debug1: Will attempt key: /home/lars/.ssh/id_rsa_mycompany RSA SHA256:...
debug1: Will attempt key: /home/lars/.ssh/id_rsa RSA SHA256:...
debug1: Will attempt key: /home/lars/.ssh/id_dsa
debug1: Will attempt key: /home/lars/.ssh/id_ecdsa
debug1: Will attempt key: /home/lars/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/lars/.ssh/id_ed25519
debug1: Will attempt key: /home/lars/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/lars/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Enabling compression at level 6.
Authenticated to tmate.example.com ([<IP_ADDRESS>]:22) using "none".
debug1: pkcs11_del_provider: called, provider_id = (null)
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: filesystem full
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
debug1: channel 0: setting env XMODIFIERS = "@im=ibus"
debug1: channel 0: setting env LANG = "en_US.UTF-8"

Did you press q or ctrl-c to accept connection in your host? Notice the hint:

Press  or  to continue...

I finally can reproduce it. It happens when I don't have the key in the ssh-agent. I will see where the problem is, fix it and report back. It's likely a recent change that broke it

Okay, the root of the issue is that since openssh 8.8, the host algorithm type ssh-rsa was retired in favor of rsa-sha2-256 & rsa-sha2-512 (release note). This breaks a lot of ssh servers, including upterm. The Go issue that tracks the fixes of the Go ssh library is here. I will closely monitor it and pull in changes. Can you do a quick check of your openssh version with:
$ ssh -V

What happens is that you only have a rsa key in your ~/.ssh, and upterm is not ready to handle the openssh 8.8+ client which deprecates the ssh-rsa host algorithm type. You can work around by adding the ssh-rsa back:
ssh UPTERM_URL -o "PubkeyAcceptedKeyTypes +ssh-rsa" -o "HostKeyAlgorithms +ssh-rsa"

You can also put in your ~/.ssh/config with the following to save you from typing the -o flags for every Upterm ssh command:
Host uptermd.upterm.dev
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa

I will leave this issue open until upterm with the fixed Go ssh library. Hope this helps

Thanks, that was it. Seems to be working fine now!

Hi, I have followed the above but getting the same thing:
more /root/.ssh/config
Host uptermd.upterm.dev
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa

I still get the following:
upterm host
Error: ssh://uptermd.upterm.dev:22: Permission denied (publickey).

upterm host -- bash
Error: ssh://uptermd.upterm.dev:22: Permission denied (publickey).

Any other suggestions?

@arch1mede:

Any other suggestions?

I would recommend stopping using any RSA with upterm for now and generating a new pair of Ed25519 keys. Besides working with upterm, Ed25519 is the most secure key algorithm comparing to others.

Remove any RSA keys in ~/.ssh
Remove any RSA keys in ssh agent, because ssh will attempt keys in the agent if there are any
Generate a pair of Ed25519 key

Well where I was going with that was that following the instructions to support RSA still doesn't work and still produces an error whereas @larsks got it to work.

running the following command fixed the problem
ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -C<EMAIL_ADDRESS>
(your machine needs to have an ssh key associated with it)


ValueError: Cannot load file containing pickled data when allow_pickle=False

I have successfully completed the above steps, but when running eval_dataset.py, I encountered the following error. I tried adding allow_pickle=True, but got new errors.
pybullet build time: May 20 2022 19:45:31
/data/chenlin/anaconda3/envs/home-robot/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: '/data/chenlin/anaconda3/envs/home-robot/lib/python3.9/site-packages/torchvision/image.so: undefined symbol: _ZNK3c107SymBool10guard_boolEPKcl'If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
Arguments:
{
    "habitat_config_path": "ovmm/ovmm_eval.yaml",
    "baseline_config_path": "projects/habitat_ovmm/configs/agent/hssd_eval.yaml",
    "opts": []
}
----------------------------------------------------------------------------------------------------
Configs:

----------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/chenlin/home-robot/projects/habitat_ovmm/eval_dataset.py", line 254, in <module>
    evaluator.eval(
  File "/data/chenlin/home-robot/projects/habitat_ovmm/eval_dataset.py", line 81, in eval
    self._init_envs(
  File "/data/chenlin/home-robot/src/third_party/habitat-lab/habitat-baselines/habitat_baselines/rl/ppo/ppo_trainer.py", line 215, in _init_envs
    self.envs = construct_envs(
  File "/data/chenlin/home-robot/src/third_party/habitat-lab/habitat-baselines/habitat_baselines/common/construct_vector_env.py", line 42, in construct_envs
    scenes = dataset.get_scenes_to_load(config.habitat.dataset)
  File "/data/chenlin/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/datasets/pointnav/pointnav_dataset.py", line 64, in get_scenes_to_load
    dataset = cls(cfg)
  File "/data/chenlin/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/datasets/ovmm/ovmm_dataset.py", line 119, in __init__
    self.viewpoints_matrix = np.load(
  File "/data/chenlin/anaconda3/envs/home-robot/lib/python3.9/site-packages/numpy/lib/npyio.py", line 438, in load
    raise ValueError("Cannot load file containing pickled data
ValueError: Cannot load file containing pickled data when allow_pickle=False```

Hi, thanks for reporting the issue!
This means data did not get downloaded for you when using git submodule update --init  commands. Probably this only downloaded pointers from you. To verify if that is the case, can you please try running size of the file data/datasets/ovmm/train/viewpoints.npy.
You can install it via git-lfs:

Install pip install git-lfs
cd to each data directory (eg. cd data/hssd-hab and run git lfs pull.

Let us know if this doesn't work for you.

Had the exact same problem and the recommended solution solve the issue, thanks!

hi guys, @yvsriram @prasoonvarshney,
do you install this repo in one local workstation or in the slurm.
I can install it in one local workstation, but since the slurm I cannot have the root rights, it failed many times...

@SiyuanHuang95 I was able to install this in our university cluster without having root privileges.

Hi, @yvsriram, I have figured out what the installation needs:

it needs the Nvidia-driver full version, not the driverless one, as stated here: https://github.com/facebookresearch/habitat-sim/issues/1671

it needs the update of GXXLIB, at least the right to do some ln -s operation.


DNSCrypt website: Wrong TLSA record

Your website https://dnscrypt.org/ is down.
Also I see DNSSEC validation issues with my Firefox addon.

Works now (at least): http://isup.me/dnscrypt.org/

Yes, now it works again for me too.
However I still see a DANE issue. DNSSEC works, but the TLSA entry seems to be wrong.

TLSA records removed. They are painful to keep in sync with Letsencrypt certs.

Well... just use the same CSR when renewing the LE cert or follow these instructions.


Corrected a typo in code and disabled replace copy for now...

@lucidrains Whenver you will get a chance, check the image replace function as it does not work properly (can't find a file).
And I corrected a typo in a code for ya (image -> img)

@asigalov61 https://github.com/lucidrains/deep-daze/pull/32 I think I fixed the copy logic with this pull request. sorry about that.

@asigalov61 https://github.com/lucidrains/deep-daze/pull/32 I think I fixed the copy logic with this pull request. sorry about that.

@afiaka87 Thanks a lot, bro!

@afiaka87 Thanks a lot, bro!

👍

👍


Long Overflow

GenreRankID is long and equal _id
"_id":"-6078848508545849313","_score":0,"_source":{"GenreRankID":-6078848508545849000,
"_id":"7160458942796583043","_score":0,"_source":{"GenreRankID":7160458942796583000,

so... what's the problem?  Please provide more details and some test data we can reproduce the problem with

Sorry, my English is poor.
http://stackoverflow.com/a/17320771


 Available platform names are: CUDA
I0222 09:24:21.056322<PHONE_NUMBER>34848 xla_bridge.py:660] Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
2024-02-22 09:24:21.097023: W external/xla/xla/service/gpu/nvptx_compiler.cc:698] The NVIDIA driver's CUDA version is 12.2 which is older than the ptxas CUDA version (12.3.107). Because the driver is older than the ptxas version, XLA is disabling parallel compilation, which may slow down compilation. You should update your NVIDIA driver or use the NVIDIA-provided CUDA forward compatibility packages.
0%|                                                                                | 0/1 [00:00<?, ?it/s]2024-02-22 09:25:32.707642: W external/xla/xla/service/gpu/runtime/support.cc:58] Intercepted XLA runtime error:
INTERNAL: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.
2024-02-22 09:25:32.707708: E external/xla/xla/pjrt/pjrt_stream_executor_client.cc:2732] Execution of replica 0 failed: INTERNAL: Failed to execute XLA Runtime executable: run time error: custom call 'xla.gpu.reduce_scatter' failed: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.; current tracing scope: reduce-scatter-start.5; current profiling annotation: XlaModule:#hlo_module=pjit__forward_generate,program_id=21#.
2024-02-22 09:25:32.807973: W external/xla/xla/service/gpu/runtime/support.cc:58] Intercepted XLA runtime error:
INTERNAL: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.
2024-02-22 09:25:32.808024: E external/xla/xla/pjrt/pjrt_stream_executor_client.cc:2732] Execution of replica 0 failed: INTERNAL: Failed to execute XLA Runtime executable: run time error: custom call 'xla.gpu.reduce_scatter' failed: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.; current tracing scope: reduce-scatter-start.5; current profiling annotation: XlaModule:#hlo_module=pjit__forward_generate,program_id=21#.
2024-02-22 09:25:32.821063: W external/xla/xla/service/gpu/runtime/support.cc:58] Intercepted XLA runtime error:
INTERNAL: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.
2024-02-22 09:25:32.821116: E external/xla/xla/pjrt/pjrt_stream_executor_client.cc:2732] Execution of replica 0 failed: INTERNAL: Failed to execute XLA Runtime executable: run time error: custom call 'xla.gpu.reduce_scatter' failed: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.; current tracing scope: reduce-scatter-start.5; current profiling annotation: XlaModule:#hlo_module=pjit__forward_generate,program_id=21#.
2024-02-22 09:25:32.825532: W external/xla/xla/service/gpu/runtime/support.cc:58] Intercepted XLA runtime error:
INTERNAL: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.
2024-02-22 09:25:32.825585: E external/xla/xla/pjrt/pjrt_stream_executor_client.cc:2732] Execution of replica 0 failed: INTERNAL: Failed to execute XLA Runtime executable: run time error: custom call 'xla.gpu.reduce_scatter' failed: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.; current tracing scope: reduce-scatter-start.5; current profiling annotation: XlaModule:#hlo_module=pjit__forward_generate,program_id=21#.
0%|                                                                                | 0/1 [00:07<?, ?it/s]
jax.errors.SimplifiedTraceback: For simplicity, JAX has removed its internal frames from the traceback of the following exception. Set JAX_TRACEBACK_FILTERING=off to include these.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/anaconda3/envs/lwm/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/root/anaconda3/envs/lwm/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/data/jeff/Git/LLM/src/T2V/LWM/lwm/vision_generation.py", line 258, in
run(main)
File "/root/anaconda3/envs/lwm/lib/python3.10/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/root/anaconda3/envs/lwm/lib/python3.10/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/data/jeff/Git/LLM/src/T2V/LWM/lwm/vision_generation.py", line 184, in main
img_enc, img = generate_first_frame(prompts, max_input_length=128)
File "/data/jeff/Git/LLM/src/T2V/LWM/lwm/vision_generation.py", line 158, in generate_first_frame
output, sharded_rng = _sharded_forward_generate(
jaxlib.xla_extension.XlaRuntimeError: INTERNAL: Failed to execute XLA Runtime executable: run time error: custom call 'xla.gpu.reduce_scatter' failed: external/xla/xla/service/gpu/nccl_utils.cc:305: NCCL operation ncclCommInitRank(&comm, nranks, id, rank) failed: internal error - please report this issue to the NCCL developers. Last NCCL warning(error) log entry (may be unrelated) 'Attribute busid of node nic not found'.; current tracing scope: reduce-scatter-start.5; current profiling annotation: XlaModule:#hlo_module=pjit__forward_generate,program_id=21#.: while running replica 0 and partition 0 of a replicated computation (other replicas may have failed`

Hi @jeffchy, I got similar error as yours. Did you solve the problem?


[Azure Integration] Update dependencies on "azure-pipelines-tasks-packaging-common" package to fix high vulnerability issues

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name:

DotNetCoreCLIV2
UseDotNetV2

Issue Description
These tasks have dependency on "azure-pipelines-tasks-packaging-common" that has critical vulnerability in "azure-devops-node-api > typed-rest-client > underscore", " typed-rest-client >underscore", "azure-devops-node-api > underscore".

Please update this dependency to latest version.
This vulnerability was fixed in PR.
Error logs
To get error log for each task run npm audit

Hi, @bishal-pdMSFT could you please take a look?


Fix incorrect description in applied-visual-design

Challenge: Change an Element's Relative Position
Link: https://learn.freecodecamp.one/responsive-web-design/applied-visual-design/change-an-elements-relative-position

tha's right.


cast config_attrs as list(config_attrs)

FIX #997

@prjemian do you usually see test failures with python 3.6? I re-ran the tests and got different failures.

No, I don't use Py36 on my end now so testing with it locally is a challenge.
This error (from the CI py36 process) looks like an area detector has not been warmed up:
 TimeoutError: Attempted to set EpicsSignalWithRBV(read_pv='ADSIM:TIFF1:EnableCallbacks_RBV', name='test_tiff1_enable', parent='test_tiff1', value='Disable', timestamp=1625075787.23148, auto_monitor=False, string=True, write_pv='ADSIM:TIFF1:EnableCallbacks', limits=False, put_complete=False) to value 1 and timed out after 10 seconds. Current value is 'Disable'.

Without looking at the details, it seems likely all of these are related to the same error (not related to this issue):
FAILED ophyd/tests/test_areadetector.py::test_basic[pyepics] - TimeoutError: ...
FAILED ophyd/tests/test_areadetector.py::test_invalid_plugins[pyepics] - Time...
FAILED ophyd/tests/test_areadetector.py::test_default_configuration_smoke[pyepics]
FAILED ophyd/tests/test_areadetector.py::test_fstiff_plugin[pyepics-None-/tmp/ophyd_AD_test/data1/%Y/%m/%d-None-False0]
FAILED ophyd/tests/test_areadetector.py::test_fstiff_plugin[pyepics-None-/tmp/ophyd_AD_test/data1/%Y/%m/%d-None-False1]
FAILED ophyd/tests/test_areadetector.py::test_fstiff_plugin[pyepics-/tmp/ophyd_AD_test/data1-%Y/%m/%d-None-False]
FAILED ophyd/tests/test_areadetector.py::test_fstiff_plugin[pyepics-/tmp/ophyd_AD_test/data1-/tmp/ophyd_AD_test/data1/%Y/%m/%d-%Y/%m/%d-False]
FAILED ophyd/tests/test_areadetector.py::test_fstiff_plugin[pyepics-/-/tmp/ophyd_AD_test/data1/%Y/%m/%d-None-False]
FAILED ophyd/tests/test_areadetector.py::test_posix_path[pyepics-/some/path/here]
FAILED ophyd/tests/test_areadetector.py::test_posix_path[pyepics-/here/is/another/]

I am not sure that this is the correct fix as I would expect obj.read_attrs to also be an OphydAttrList, I would propose
✔ 15:13:09 $ git diff
diff --git a/ophyd/device.py b/ophyd/device.py
index 04acb396..b2e3ec07 100644
--- a/ophyd/device.py
+++ b/ophyd/device.py
@@ -1497,6 +1497,9 @@ class Device(BlueskyInterface, OphydObject):
         def __add__(self, other):
             return list(self) + list(other)

+        def __radd__(self, other):
+            return list(self) + list(other)
+

 # Device can be used on its own in trivial cases; ensure that it is ready
 # out-of-the-box for this scenario.

instead.

@tacaswell has the right idea here

CI failures are in unrelated code due to area detector tests:
FAILED ophyd/tests/test_areadetector.py::test_invalid_plugins[pyepics] - Time...
FAILED ophyd/tests/test_areadetector.py::test_read_configuration_smoke[pyepics]
FAILED ophyd/tests/test_areadetector.py::test_default_configuration_smoke[pyepics]
= 3 failed, 1725 passed, 125 skipped, 1854 deselected, 1 xfailed, 4 warnings in 333.77s (0:05:33) =
Error: Process completed with exit code 1.

@klauer You're suggesting I revert that last change, then?  @mrakitin Agree?

@klauer You're suggesting I revert that last change, then? @mrakitin Agree?

@prjemian, I checked the whole _summary method, and the used_attrs is only used to identify extra_attrs (later printed as "unused attrs"). So I think it's fine to revert. My original concern was that there may be duplicated entries if you just add two lists together without applying set(...) on them to make all entries unique.

@mrakitin The current changes, using set() and set() accomplish the goal of a unique set of items.  Let's leave that in place without further changes then.  Agree?  @klauer?

The current changes no longer seem to address the issue you've referenced here. We're just making the same set in a different way, right?
@tacaswell 's suggestion seems like it's the only diff that's needed to address the linked issue.

I missed that the change proposed by @tacaswell does not modify this line in the _summary() method:
    used_attrs = set(read_attrs + config_attrs)

As I see it now, it adds the __radd__() method which is called to resolve this for any such use in Device.


Implement a Gateway Telegram Client

Hello!
I have a question.
Is it possible to create a Gateway Telegram Client?
My idea is to take an existent Java Telegram Client, modify so that can accept Socket connections from mobile phone (that use my app) and then it acts as a link trought the Mobile Phone and Telegram Server.
In other words Telegram Server see this client as it is formed by more clients telegram.
Is it possibile for the Api Telegram?
Thank you very much!
Best Regards!

I think you can do it by forwarding the packet to your mobile connection and implement packet deserialization, reading data e.t.c on phone side.


Facebook login not working

Android device: Huawei Honor
Android OS version: 6
Google Play Services version: 10.0.84
Firebase/Play Services SDK version: 10.0.1
FirebaseUI version: 1.0.1

I've successfully setup the login screen with firebaseui.
Signing in with Google and Email works fine.
However when I try to sign in with Facebook it just loads for a second or two and then goes back to the login page like nothing happened. A new account is not created (even when no accounts exist with the email).
No error message either.
I configured the app id, meta-data, app secret, hash key, OAuthredirect.
Other's seem to have the some problem to.
UPDATE:
If I click the sign in with Facebook while being signed out of Facebook, Facebook's login screen appears and asks me for email and password. When entered the problem reappears.
I also tried removing compile 'com.facebook.android:facebook-android-sdk:[4,5)'

same here. how did you solve this?

My problem is not solving with any of the ways suggested above in the linkL

same here. how did you solve this?
edit: i solved my problem. mine was related to http://stackoverflow.com/a/39127275


There is no any warning or restriction to enable account lock when the user accounts that are assigned with the Internal/system user role

Describe the issue:
There are no warnings or restrictions on activating the account lock on user accounts assigned with the internal / system user role
How to reproduce:
Login to Console/Manage with admin credentials
2. Enable claims for account locking
3. Create a new user and assign  internal / system user role
4. Try to enable account lock
Expected behavior:
The user accounts that are assigned with the Internal/system user role cannot be locked.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: 5.12 M2
OS: Mac
Database: Oracle 19c
Userstore:  JDBC

Intentionally the warnings or error messages are excepted for these users.

This is the expected behaviour. It is intended to skip locking scenarios to user's who has the system role to prevent certain attacks and end user's are not required to be aware of the particulars of the occurrence.


The first  and second pole

Date: 10/08/2024 - 10/09/2024
Plan not the best approach to make the robot hang that also works with other people ideas:
Done I planned out a simple but effective idea and also helped my team member build parts of the arm, and this also works as the arm of the robot moved upwards of a high that the pole can reach. This idea also allowed there to be less wight to be added.

 Date: 10/09/2024

2:  find the materials that would best with this idea and build  a prototype.
I founded parts  that work best with my design and did a test which showed that it was stable and strong.
     Date: 10/10/2024

I have to wait until the arm function is done to carry out the next step wich is to attach my design on the actual robot.

Date 10/10/2024 - unknown
4 until then I will help make the arm.

I have a video but it didn't let me upload it of the testing

here is a pitcher  10/09/2024

my test https://drive.google.com/open?id=1sudzlnitf-sxKXgdu5401D0jthpBZN9d&usp=drive_copy


Media Widget - Slider & Scrolling up/down

Describe the bug

Media Slider does not work for Firefox/Librewolf.
Scrolling up/down on Media widget changes songs in spotify (which was paused) instead of player which is playing.

To Reproduce

Play anything in Firefox/Librewolf.
2.Play a playlist in spotify & paused it. Then play a playist on browser/mpv. Use Scroll wheel to play next.

Expected behavior

Slider should work for media playing in Firefox/Librewolf
Scrolling should change media of the player currently playing.

Desktop (please complete the following information):

Distribution: Arch Linux
Window Manager/Desktop Environment: Hyprland

Media slider still not fixed for Firefox/Librewolf.

I'm able to use the scroll wheel to navigate the youtube playlists in Firefox. What media website are you on that doesn't let you scroll?

I am talking about the slider in media menu.
https://github.com/user-attachments/assets/e092c620-466b-49b6-bc16-ea1ee15ab3a0

Ahh I misread. I'll reopen the issue.

This doesn't seem to be supported by Firefox since it doesn't return to us any length value from mpris. For instance, if we run playerctl metadata -a:
playerctl metadata -a
edge  mpris:artUrl              file:///tmp/.com.microsoft.Edge.CWpyAV
edge  mpris:length<PHONE_NUMBER>
edge  mpris:trackid             '/org/chromium/MediaPlayer2/TrackList/Track3B581D3AC46636CEA9A473CF09EDFE33'
edge  xesam:album
edge  xesam:artist              The Philly Special Show
edge  xesam:title               The Eagles are facing an INTERESTING dilemma! Mekhi Becton HANDLES Jalen Carter + Howie PURSUING WR?
firefox mpris:trackid             '/org/mpris/MediaPlayer2/firefox'
firefox xesam:title               Nest.js Crash Course #1 - Introduction & Setup
firefox xesam:album
firefox xesam:artist              Net Ninja
firefox mpris:artUrl              file:///home/jaskir/.mozilla/firefox/firefox-mpris/282911_3.png
spotify mpris:trackid             /com/spotify/track/1xFMwu6WbXMq851BlxVfmb
spotify mpris:length              177376000
spotify mpris:artUrl              https://i.scdn.co/image/ab67616d0000b273fa6c4c0b1f1e2d9cd5c296fc
spotify xesam:album               A Day In Japan
spotify xesam:albumArtist         Retro Jungle
spotify xesam:artist              Cloud Break
spotify xesam:autoRating          0.16
spotify xesam:discNumber          1
spotify xesam:title               Birds Eye View
spotify xesam:trackNumber         17
spotify xesam:url                 https://open.spotify.com/track/1xFMwu6WbXMq851BlxVfmb

Notice that all the players except for firefox return the length value.
Good news however... it seems that the code for exposing length was recently merged 2 days ago
https://hg.mozilla.org/mozilla-central/log/tip/widget/gtk/MPRISServiceHandler.cpp so it's only a matter of time until Firefox will expose length and the player can pick up the values.

@Shubham-550 Closing for reason stated above but keep an eye out for firefox updates :)


How to reverse proxy subdomain

Caddyfile
api.domain.local:443 {
    root /var/www/project-api/public
    fastcgi / php-fpm:9000 php {
        index index.php
    }

    rewrite {
        to {path} {path}/ /index.php?{query}
    }

    gzip
    browse

    log /var/log/caddy/access.log
    errors /var/log/caddy/error.log

    tls self_signed

    #tls {
    #  dns cloudflare
    #}
}

admin.domain.local:443 {
    root /var/www/project-web/dist

    ext / .html
    rewrite / {
        to {path} /
    }

    gzip
    browse

    log /var/log/caddy/access.log
    errors /var/log/caddy/error.log

    proxy /api api.domain.local:443 {
        transparent
    }

    tls self_signed
}

I want when the request to admin.domain.local/api/* => api.domain.local/api/* how can I do that?

Why not use redir?

Thanks for your question, and I'm thrilled that you're using Caddy! This looks more like a question about how to use Caddy rather than a bug report or feature request. Since this issue tracker is reserved for specific, development-focused discussions, I'm going to close this, but we have a community forum where more people will be exposed to your question, including people who may be more expert or experienced with the specific question you're facing. I hope you'll ask your question there, and thanks for understanding!


Fix JS warning : add missing bind(this)

In the message view there is a console js warning poping up

This PR adds the mising bind(this) to the eventListener declaration so that this is defined insisde the scrollIntoView method.

Note
This being said I am not sure this Stimulus controller is realy doing what it is meant to do. On page load it will scrollIntoView this is I think the expected behavior. But when typing new message the form will disapear from the Viewport. Isn't the expected behavior to keep the form visible after a new message has been posted ?

Pull request checklist

[ ] My code contains tests covering the code I modified
[ ] I linted and tested the project with bin/check
[ ] I added significant changes and product updates to the changelog

This is being revamped in #521. If you have any insight on that it would be greatly appreciated!

ok yeah I didn't saw that one.


Question on Data Splitting

Hi there, I have some questions about the data splitting on LBA.
I'm not sure if these three indices txt files are already generated in the previous steps (https://github.com/drorlab/atom3d/blob/master/examples/lba/dataset/prepare_lmdb.py#L156-L161).

Follow-up:
I checked the code base again, and found the identity split function. But I haven't found the scripts for running them. Then the remaining question is how to set the blast_db variable.

The blast_db argument is used to specify a pre-computed BLAST database for your sequences. If you don't have it precomputed, the default functionality of identity_split should compute it for you and save in the current directory as "blast_db". Hope this helps!

Thank you!
Just want to double-check.
According to these lines, do we need to take some extra config for the blast_db?


linting fails

Generated a new library and getting follewed linting errors:
Error: Error at playground/index.ts:9:31: Cannot find module 'testlib'.
Error at src/sample.component.spec.ts:7:1: Cannot find name 'describe'.
Error at src/sample.component.spec.ts:14:3: Cannot find name 'beforeEach'.
Error at src/sample.component.spec.ts:28:3: Cannot find name 'it'.
Error at src/sample.component.spec.ts:29:5: Cannot find name 'expect'.

After i changed the tsconfig.json
removed:
"types": []
added:
"typeRoots": [
  "node_modules/@types"
]

I am still getting
Error: Error at playground/index.ts:9:31: Cannot find module 'testlib'.

@w4lt-dev  that's normal because this is mapped through systemjs, have a look at system.config.js

@w4lt-dev — Can you let us know if you were able to fix it using system.config.js?
@izifortune — Thank you for your help!

@jvandemo To get rid of the linting error I changed the tsconfigs a bit.
./tsconfig.json
{
  "compilerOptions": {
    "baseUrl": "./src",
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "rootDir": "./src",
    "lib": [
      "es2015",
      "dom"
    ],
    "skipLibCheck": true,
    "typeRoots": [
      "node_modules/@types"
    ]
  },
  "exclude": [
    "node_modules",
    "playground"
  ]
}

./playground/tsconfig.json
{
  "compilerOptions": {
    "baseUrl": "./",
    "outDir": "../.playground",
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [ "es2015", "dom" ],
    "noImplicitAny": true,
    "suppressImplicitAnyIndexErrors": true,
    "paths": {
      "testlib": ["../dist/index.d.ts"]
    }
  }
}

./package.json
"lint:lib": "tslint --type-check --project tsconfig.json",
"lint": "npm run lint:lib && npm run playground:lint",
"playground:lint": "npm run build && tslint --type-check --project playground/tsconfig.json",

To lint the playground the library must be build to get the type definition from the library. This removes the Cannot find module error.
Now the linting works and returns:
playground/index.ts[12, 13]: The selector of the component "AppComponent" should be named kebab-case and include dash (https://goo.gl/mBg67Z)
an easier warning to fix :smiley:


Use the Face Detection API from a REST Client

Tutorial URL: https://developers.sap.com/tutorials/cp-mlf-rest-img-face-detection.html
Please specify the step you are referring to:
"Here is a simple HTML code you can use to visualize other results"
My improvement suggestion:
Would be nice if you highlight the places in example html code for using with an own picture.
Was a little bit tricky as a abap developer to find out that for example the value of <canvas id="canvas_
has to start with "canvas_".
Kind regards
Keep up the good work

Hi,
Thanks for your feedback.
I justed refactored the sample code provided and added some explanation about how to use it with your own image.
Let me know if that meet your expectation.
I'll close this issue for now, but feel free to reopen if needed.


Analyzer doesn't check bounds correctly for generic function types as type arguments

The instantiation of CB in the test method in the following example should be an error, since FB<F> is not subtype related to F.  The analyzer when run with the --enable-experiment=generic-metadata flag emits no error.
typedef F = T Function<T>(T);

typedef FB<T extends F> = S Function<S extends T>(S);

class CB<T extends F> {}

void test() {
  CB<FB<F>>();
}

cc @scheglov

https://dart-review.googlesource.com/c/sdk/+/192280


lambda lifting contains a few possible typo

Hi,
I've found that https://github.com/haskellfoundation/hs-opt-handbook.github.io/blob/main/src/Optimizations/GHC_opt/lambda_lifting.rst contains some possible typo. The corresponding source is https://github.com/haskellfoundation/hs-opt-handbook.github.io/blob/0fefd8f50fddfc7cdd14f44d8d6b07fbb791bc81/src/Optimizations/GHC_opt/lambda_lifting.rst?plain=1#L40 and https://github.com/haskellfoundation/hs-opt-handbook.github.io/blob/0fefd8f50fddfc7cdd14f44d8d6b07fbb791bc81/src/Optimizations/GHC_opt/lambda_lifting.rst?plain=1#L47.
Would you assign me to this ticket (if this is actually not as intended)? Thank you!

Aha! Thanks for the proof read. That chapter (like all the chapters) is still in draft phase so I am not surprised that these typos exist. I'd be happy to merge a PR for this and add you to the contributors list if you want to make the change.

Also apologies for the delay in responding. I was taking a writing break after the FUNARCH deadline on June 1st :)


Published message content type is plain/text even if i use a JsonLayout to format log contents

Hello,
I have noticed an issue on content type of published message. Actually a JsonLayout is used for formatting the message and the configuration i  use is :
`

<extensions>
    <add assembly="NLog.Web.AspNetCore"/>
    <add assembly="Nlog.RabbitMQ.Target" />
</extensions>

<variable name="jsonlayout">
    <layout xsi:type="JsonLayout" EscapeForwardSlash="false" IncludeGdc="true" IncludeEventProperties="false" IncludeScopeProperties="true">
        <attribute name="Timestamp" layout ="${date:universalTime=true:format=yyyy-MM-ddTHH\:mmZ:culture=en-US}" />
        <attribute name="Level" layout="${level:upperCase=true}" />
        <attribute name="Hostname" layout ="${hostname}" />
        <attribute name="Environment" layout="${environment:APPLICATION_ENVIRONMENT}" />
        <attribute name="Message" layout="${message}" />
    </layout>
</variable>

<targets async="true">
    <target xsi:type="RabbitMQ"
            name="rabbit"
            exchange="e.logs"
            DeliveryMode="Persistent"
            layout="${jsonlayout}" />

    <target xsi:type="Console"
            name="console"
            layout="${jsonlayout}" />
</targets>

<rules>
    <logger name="System.*" finalMinLevel="Warn" />
    <logger name="Microsoft.*" finalMinLevel="Info" />
    <logger name="Microsoft.Hosting.Lifetime*" finalMinLevel="Info" />
    <logger name="*" minlevel="Trace" writeTo="rabbit" />
    <logger name="*" minlevel="Trace" writeTo="console" />
</rules>

`
When i log something in my application i use some scope properties to enrich the log content.
Regarding the source code of the RabbitMQTarget class, i noticed that a test is present to handle this case :

But after futher investigations i noticed that the type of my layout has changed from NLog.Layouts.JsonLayout, NLog to NLog.Targets.TargetWithContext+TargetWithContextLayout, NLog.
To solve this issue it will be nice : to fix the test used to determine if the layout is a json layout and/or provide a parameter to specify the content type using configuration.

Work-around is assign UseJson = "true", but I think the Layout is JsonLayout should be removed and instead let the user control ContentType.

@SpoonPkup Created #72 to remove the guessing logic.

Thanks a lot!!


webpack 5 release plan

TL;DR: release planned for 2020-10-10, RC about ~1 month before that.
After nearly 1 year of beta testing and about 2 years of development we feel that it's time to release webpack 5 soon. As promised we do announce the release at least one month earlier to allow the ecosystem to catch up. To support that we will release a Release Candidate (RC) soon-ish in about 1-2 weeks. Once the RC has been released we try to avoid breaking changes (expect for experimental features, or when absolutely necessary).
We will use the time until the release to:

Fix bugs
Update the changelog to give a good picture of the changes
Update the migration guide
Create a separate migration guide for plugin developers
Update the documentation so that at least a majority of webpack 5 features is documented.
Update important ecosystem components to be webpack 5 compatible

webpack-cli
webpack-dev-server/middleware
mini-css-extract-plugin

Write in-deep guides to the new features
Improve deprecation messages and add better warnings for breaking changes

This is works out great we release webpack 5 at 2020-10-10 because it's a cool date.
Note that while we consider webpack 5 as pretty stable, there are probably still many bugs and problems. Some are expected breaking changes, some are bugs that we missed. If you have problems upgrading make sure to read the migration guide and changelog where we places some hints how to fix these problems and/or why we did some of the breaking changes. If you still run into problems, it might be a bug or something is missing in the migration guide/changelog, please report an issue.
Note that some of the experimental features are still incomplete. They are excluded from SemVer for webpack and we continue to develop them...
Note that minor bugs won't prevent us from releasing. The release is more about finishing breaking changes then about a super stable release. We will release minor/patch version very often to address bugs and add more feature (as we have done with webpack 4).

We are not yet ready for a release candidate. The following breaking changes need to be implemented before the RC can be released:

[x] resolving: resolve.fallback and imports field need to be added

We consider this a very small breaking change as imports field is rarely used and only incorrectly imports field would break

[x] stats: The stats format and defaults need to be improved for readability (Status: breaking changes done)

While mainly affecting the text format, the JSON format might be affected as well.
[x] assets grouping
[x] modules grouping
[x] entrypoints verbosity
[x] summary
[ ] size color scale
[ ] avoid MiB in favor of KiB
[ ] 1000s separator in size numbers
[ ] hide [emitted]/[built] when all assets/modules shown have it
[ ] highlight filename, lowlight path
[x] sort assets by size
[ ] hint about error details

[x] assets: The asset experiment will be enabled by default.

This enables new URL parsing in modules and this can break code.

[x] WebWorker: Add worker experiment to handle new Worker(new URL("./worker", import.meta.url)), etc.

This is not a breaking change, but we might figure out the some internal breaking changes are needed to implement that. That's why it need to be pushed for the RC.

[x] node.js compat: The mjs experiment will be enabled by default. This affects .mjs files and type: "module" in package.json.

Affect files are handled more strict and certain constructs are forbidden. Resolving is also affected (extension is required).

[x] module concatenation: refactor to make it a first class citizen
[x] changelog: The changelog is outdated and need to be updated for recent changed (Status: beta.21 -> beta.30 missing)
[x] improved target option

handle in defaulting
[x] externalsPresets
[x] loader.target
[x] output.ecmaVersion -> output.environment.xxx
[x] output.environment.global

[x] enhanced-resolve, loader-runner and webpack-sources from beta -> stable
[x] output.publicPath: "auto" as default?
Known bugs:

[ ] Module Concatenation: delete a.b.c is broken (Status: Parsing need to be changed a bit)
[x] Module Federation: Circular remotes are broken (Stats: requires a breaking change on the API)

(list might be incomplete...)

Please don't report any outstanding issues in this thread. Please create a new issue (Reference this issue)!
This thread is reserved for feedback how happy you are that webpack 5 is released, to post positive experience with webpack 5 if you already tried the beta and to post any announcements that ecosystem loaders/plugins/tools are webpack 5 compatible.
I'll update the issue with more information when available.

awesoming ~

As for me, webpack 5 is super-fast against its 4 version. Built-in cache works perfectly) And it wasn't to hard to switch from webpack 4 to webpack 5!
There are some issues, how to migrate my own loaders and plugins, but there are just some warnings, and it is nice, cause you've made so many cool features, and there is no serious problems with version switching.

Amazing work webpack team 👍

Thank you for your hardwork🥰

Thank you!  Looking forward to this, especially the ability to output modules, which is why I'm using Rollup at the moment.
BTW: 2020-10-10 = 👓-🙌- 🙌

Look forward to!

Thank you for your hardwork:smiling_face_with_three_hearts:

@isrmicha What is a problem?

Module Federation is going to be a gamechanger for us. Very much looking forward to it!

GREAT NEW
issue:
from 5.0.0-beta.27 to 5.0.0-beta.28 i get a peculiar source map error
[compile:ci] (node:78) [DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH] DeprecationWarning: MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)
[compile:ci] (node:78) UnhandledPromiseRejectionWarning: Error: "." is not in the SourceMap.
[compile:ci]     at BasicSourceMapConsumer.SourceMapConsumer_sourceContentFor [as sourceContentFor] (/src/node_modules/source-map/lib/source-map-consumer.js:753:13)
[compile:ci]     at /src/app-frontend/node_modules/webpack-sources/lib/applySourceMap.js:144:46
[compile:ci]     at SourceNode_walk [as walk] (/src/node_modules/source-map/lib/source-node.js:230:9)
[compile:ci]     at SourceNode_walk [as walk] (/src/node_modules/source-map/lib/source-node.js:226:13)
[compile:ci]     at applySourceMap (/src/app-frontend/node_modules/webpack-sources/lib/applySourceMap.js:58:13)
[compile:ci]     at SourceMapSource.node (/src/app-frontend/node_modules/webpack-sources/lib/SourceMapSource.js:198:11)
[compile:ci]     at exports.getSourceAndMap (/src/app-frontend/node_modules/webpack-sources/lib/helpers.js:17:21)
[compile:ci]     at SourceMapSource.sourceAndMap (/src/app-frontend/node_modules/webpack-sources/lib/SourceMapSource.js:184:10)
[compile:ci]     at getTaskForFile (/src/app-frontend/node_modules/webpack/lib/SourceMapDevToolPlugin.js:77:30)
[compile:ci]     at /src/app-frontend/node_modules/webpack/lib/SourceMapDevToolPlugin.js:264:22
[compile:ci]     at /src/app-frontend/node_modules/webpack/lib/Cache.js:93:5
[compile:ci]     at Hook.eval [as callAsync] (eval at create (/src/app-frontend/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
[compile:ci]     at Cache.get (/src/app-frontend/node_modules/webpack/lib/Cache.js:75:18)
[compile:ci]     at ItemCacheFacade.get (/src/app-frontend/node_modules/webpack/lib/CacheFacade.js:116:15)
[compile:ci]     at /src/app-frontend/node_modules/webpack/lib/SourceMapDevToolPlugin.js:215:18
[compile:ci]     at arrayEach (/src/node_modules/neo-async/async.js:2405:9)
[compile:ci]     at Object.each (/src/node_modules/neo-async/async.js:2846:9)
[compile:ci]     at /src/app-frontend/node_modules/webpack/lib/SourceMapDevToolPlugin.js:202:15
[compile:ci]     at _next1 (eval at create (/src/app-frontend/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:22:1)
[compile:ci]     at eval (eval at create (/src/app-frontend/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:38:1)
[compile:ci]     at processTicksAndRejections (internal/process/task_queues.js:93:5)
[compile:ci] (node:78) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
[compile:ci] (node:78) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@AlonMiz please create an issue

666

Really looking forward to Module Federation. Thank you for all yours and the teams hard work. 🙇

I am sure Module Federation will change microfrontends, looking forward to using it!
It`s a geat work!

https://github.com/webpack/webpack/releases/tag/v5.0.0-rc.0

html-webpack-plugin doesn't understand the new default automatic publicPath yet. Use output.publicPath: "" instead.

Thanks for the heads up ( https://github.com/jantimon/html-webpack-plugin/issues/1514 ) 👍
Is there any api which returns the calculated publicPath?
Right now we are using https://github.com/jantimon/html-webpack-plugin/blob/f3ccdd5125566ba8d2965cfb4f59b058854fa3c9/index.js#L533-L540

Who will be faster and more modern between webpack5 and vite?

Who will be faster and more modern between webpack5 and vite?

When Vite will work with any code, not only with Vue3)

Who will be faster and more modern between webpack5 and vite?

Webpack works with any code, not only with Vue3 =)

Vite also works with react and other frameworks.

Although Vite is primarily designed to work with Vue 3, it can support other frameworks as well. For example, try npm init vite-app --template react or --template preact.

BTW, webpack is the best tool now.

Who will be faster and more modern between webpack5 and vite?

Webpack works with any code, not only with Vue3 =)

Vite also works with react and other frameworks.

Although Vite is primarily designed to work with Vue 3, it can support other frameworks as well. For example, try npm init vite-app --template react or --template preact.

BTW, webpack is the best tool now.

Thank you for making this game changer tool. Hats off for your hard work! 👏👏

Are we still on? :)

yep. in about 9 hours...

Woop!
https://webpack.js.org/blog/2020-10-10-webpack-5-release/


[Proposal][Refactor] Streampark feature decoupling and microservicing based on grcp

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
1. 背景
未来streampark的功能模块会不断增多，对于项目的维护，和开发都带来了巨大的挑战。通过功能组件的解偶，可以更加友好的降低开发难度，减少功能迭代间的代码污染，增加系稳定性。
2. Proposal
基于grcp进行streampark功能解藕和微服务化
3.模块划分
1.catalog-元数据、交互式查询服务
2.appmanager-系统管理服务
3.log-日志&指标服务
3.autopilot-flink实时任务动态调优服务
4.storage-存储服务
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I think Restful is more humanable than grpc. In my mind performanace can improve by mulit instance if we support microservices.  (Not all moudule need microservices) .

You can make a meeting to discuss this.


动态库连接问题

undefined reference to `gmssl_secure_clear(void*, unsigned long)'
已经用了-lgmssl

@guanzhi

undefined reference to `gmssl_secure_clear(void*, unsigned long)'
已经用了-lgmssl

can you tell me how did you solve  this problem?


abort: Failed to construct 'URL': Invalid URL in ~lib/@fastly/as-url/util.ts(15:3)

I've just tried to use this starter kit locally:
$ fastly compute init
$ fastly compute build
$ fastly compute serve

It inits and builds properly, and starts to serve, but if I visit localhost:7676 the process prints an error:
✓ Initializing...
✓ Verifying package manifest...
✓ Verifying local assemblyscript toolchain...
✓ Building package using assemblyscript toolchain...
✓ Creating package archive...

SUCCESS: Built assemblyscript package assemblyscript (pkg/assemblyscript.tar.gz)

✓ Initializing...
✓ Checking latest Viceroy release...
✓ Checking installed Viceroy version...
✓ Running local server...

Jul 29 12:42:01.973  WARN no backend definitions found in /home/barrucadu/govuk/compute-at-edge-experiment/assemblyscript/fastly.toml
Jul 29 12:42:01.992  INFO Listening on http://<IP_ADDRESS>:7676
Jul 29 12:42:10.787  INFO request{id=0}: handling request GET http://localhost:7676/
abort: Failed to construct 'URL': Invalid URL in ~lib/@fastly/as-url/util.ts(15:3)
Jul 29 12:42:10.788 ERROR request{id=0}: WebAssembly trapped: exit with invalid exit status outside of [0..126)
wasm backtrace:
    0:  0x728 - <unknown>!<wasm function 28>
    1: 0x261f - <unknown>!<wasm function 85>
    2: 0x3712 - <unknown>!<wasm function 99>
    3: 0x40f2 - <unknown>!<wasm function 113>
    4: 0x453e - <unknown>!<wasm function 116>

Jul 29 12:42:10.788  INFO request{id=0}: request completed using 65.5 KB of WebAssembly heap
Jul 29 12:42:10.857  INFO request{id=1}: handling request GET http://localhost:7676/favicon.ico
abort: Failed to construct 'URL': Invalid URL in ~lib/@fastly/as-url/util.ts(15:3)
Jul 29 12:42:10.858 ERROR request{id=1}: WebAssembly trapped: exit with invalid exit status outside of [0..126)
wasm backtrace:
    0:  0x728 - <unknown>!<wasm function 28>
    1: 0x261f - <unknown>!<wasm function 85>
    2: 0x3712 - <unknown>!<wasm function 99>
    3: 0x40f2 - <unknown>!<wasm function 113>
    4: 0x453e - <unknown>!<wasm function 116>

Jul 29 12:42:10.858  INFO request{id=1}: request completed using 65.5 KB of WebAssembly heap
^C
ERROR: error during execution process:
abort: Failed to construct 'URL': Invalid URL in ~lib/@fastly/as-url/util.ts(15:3)
Jul 29 12:42:10.788 ERROR request{id=0}: WebAssembly trapped: exit with invalid exit status outside of [0..126)
wasm backtrace:
    0:  0x728 - <unknown>!<wasm function 28>
    1: 0x261f - <unknown>!<wasm function 85>
    2: 0x3712 - <unknown>!<wasm function 99>
    3: 0x40f2 - <unknown>!<wasm function 113>
    4: 0x453e - <unknown>!<wasm function 116>

abort: Failed to construct 'URL': Invalid URL in ~lib/@fastly/as-url/util.ts(15:3)
Jul 29 12:42:10.858 ERROR request{id=1}: WebAssembly trapped: exit with invalid exit status outside of [0..126)
wasm backtrace:
    0:  0x728 - <unknown>!<wasm function 28>
    1: 0x261f - <unknown>!<wasm function 85>
    2: 0x3712 - <unknown>!<wasm function 99>
    3: 0x40f2 - <unknown>!<wasm function 113>
    4: 0x453e - <unknown>!<wasm function 116>.

If you believe this error is the result of a bug, please file an issue: https://github.com/fastly/cli/issues/new?labels=bug&template=bug_report.md

Hi @barrucadu,
Did you edit the code of the starter kit in any way? I tried the steps you mentioned and was unable to reproduce.
If you did not edit the code, can you please share information about your system? Such as Fastly CLI version ($ fastly version) and you operating system.
Thanks!

No, I haven't edited the code at all.  I've built Fastly CLI 0.34.0 and Viceroy 0.2.2 from source.  I'm using NixOS 21.05.

I've just found that visiting http://localhost:7676 triggers the error, but going to http://<IP_ADDRESS>:7676 does not

Ah I see, I am now able to reproduce the error.
Thank you for your bug report!

Ah! So I did some research here, it looks like this is a bug in our https://www.npmjs.com/package/@fastly/as-url package.
I wrote a quick test, and I was able to reproduce. I opened an issue on our end, and start work on this.
Thank you very much @williamoverton for finding a quick workaround, and thank you @barrucadu for opening the issue! 😄


Public bucket for host static site

Modified chanzuckerberg/cztack//aws-single-page-static-site to be public but still restricted to cloudfront using a referer_secret in the request header. It's important to note that communication between cloudfront and s3 host website is over http. AWS does not support https when hosting a static website out of s3.
Variable referer_secret added to TF variables
Updated test and dev environment

Misc:

Removed interpolation only variables
Ran make fmt

What was the issue with the private bucket again? Just curious since browser-testing and browser-dev were live before these changes right?

What was the issue with the private bucket again? Just curious since browser-testing and browser-dev were live before these changes right?

I don't imagin cztack adding this since it is less secure than what they have.

@calvinnhieu It's largely due to gatsby magic that I don't fully understand, but I'll do my best. Cloudfront was not able to properly redirect user when they requested anything other thandomain/ from somewhere other than the SPA. This resulted in everything being redirected back the domain/ when the page loads. This broke deep links and page refreshing. This was because the bucket was private which forces Cloudfront to use the s3 api to access files. Files must be access directly using the s3 api and are not inferred as gatsby expects.
The reason cloudfront couldn't find the files is because of how gatsby organizes the files when it builds. For example cloudfront expect project.html to exist to access _http://domain/project_, but gatsby creates s3://bucket/project/index.html which cloudfront can't find without the help of an additional aws lambdas to inspect the request and modify it to point to the correct file. This could be a solution in the future, but no a sure fire solution for all of gatsby.
By setting up the bucket as public and using s3 hosted website features the routing is handle by gatsby and s3 static website hosting service.


Repeat Battle in TW

Before opening an issue:

[x] No one has asked for this feature before in other issues (even the closed ones)

If you open unnecessary/dumb issues, you'll be rewarded with appropriate tags.

Finally, FGO TW will be getting the "replay" button on May 10th (11th because maintenance but still 10th because timezone) along with some other enhancements.
So, well, is the feature enabled with later builds already? I didn't have the need to use FGA since there's no lottery event and the Jetpack Compose branch is being updated so I wanted to wait until that part's finished. But, I think it's safe to be prepared to update.
I would like to help submit a PR, but is the code that controls whether or not to click the replay button at the same location? I'm not familiar with Jetpack Compose so I don't know how much that changes the code structure.
This is the announcement (in Chinese)

I would like to help submit a PR, but is the code that controls whether or not to click the replay button at the same location?

I'm pretty sure it is. Feel free to PR to master branch. I'll handle the merging to Jetpack Compose branch, so no worries.
The changes should be pretty simple.
You'll have to add an image for that Repeat/Continue button.
Also, remove this check:
https://github.com/Fate-Grand-Automata/FGA/blob/8bfd608899f59ea4585a5f1351df31e8dabdea26/scripts/src/main/java/com/mathewsachin/fategrandautomata/scripts/entrypoints/AutoBattle.kt#L341

Cool! I'll be back in a week once the updated client is released (finally)


feat: Integration of MetaGPT with UI framework, Chainlit

Features

MetaGPT on UI, Integrated using Chainlit: https://github.com/Chainlit/chainlit, as it gives flexibility with python.
Message Streaming working ✅
We can send an "idea" from UI as "Create a 2048 Game".
Added 2 chat starters, so easily clickable to run the idea, also can run on any other idea given.
Added support for Action Node output. To show as json markdown.

Feature Docs

To Setup with own application

We can change Environment.run, Team.run, Role.run, Role._act, Action.run.
In this code, changed Environment.run, as it was easier to do.
We will need to change metagpt.logs.set_llm_stream_logfunc to stream messages in UI with Chainlit Message.
To use at some other place we need to call chainlit.Message(content="").send() with content.

Influence

Beginner friendly who are comfortable in working with UI.

It will run a software company.

Result

Other

This cannot be used directly in production, as it uses global message for streaming, it will require User Session
resolve: https://github.com/geekan/MetaGPT/issues/1341

LGTM
Great job!


Website is offline

Hi!
The website has been offline for a couple of days now: https://downforeveryoneorjustme.com/mcg.mbitson.com

More than a couple of days. Dependency issue. Users appear to be forking and fixing it up themselves. E.g. https://github.com/mbitson/mcg/issues/122#issuecomment-2453249044


Fixed linting for cookiecutter statements

Wasn't quite working before that

I need to conduct more tests.


Skin customisation for beginners

I have installed Mediawiki version 1.28.0 and followed the instructions for the installation. The default skin 'Vector' and the bootstrap skin 'chameleon' are working, but not the bootstrapmediawiki skin. What I get is

No possibility to log in, search, create a page, or anything.
Are there other configurations that need to be done?

 I installed mediawiki 1.28 again and installed the skin. Switching preferences for Appearance to bootstrapskin worked, but when I try to add the subnav (I hope I'm right: by creating the Page 'http://localhost/mediawiki/index.php/Bootstrap:Subnav'), I get the same issue. I bet this is easy :((( I'm just very new to mediawiki.

It seems like there are some things that have to be changed in the BootstrapMediaWiki.skin.php
see issue: https://github.com/borkweb/bootstrap-mediawiki/issues/66


Convergence analysis

Hi,
I really like your work on FwiFlow and ADCME. I am currently using your simulation code you showcase on the link below as a bases to produce data that I use to train some neural networks. Do you happen to have a convergence analysis of this simulation? I am asking because my neural networks keep on convergence to something very similar but slidely off. I am wondering now if this could be an error inside my code or if the simulation may just not be accurate enough, meaning I would need to use finer grid.
Link:
https://lidongzh.github.io/FwiFlow.jl/dev/tutorials/flow/
Any hint would be appreciated.
Niko

Hi,
Could you provide us with more context of your problem settings? What's your input and output of your neural network?


ImportAccountsSelector scrolls to top on every selection

Easiest to reproduce on small screen:

Is ImportAccountsSelector re-rendering on every click?

It also makes accessibility awful


Update README.md

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d9d6cfb). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   94.18%
=========================================
  Files             ?        2
  Lines             ?      258
  Branches          ?        0
=========================================
  Hits              ?      243
  Misses            ?       15
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d9d6cfb...0005552. Read the comment docs.


WIP: Move to llm-load-test-v2

As a side note, I also think we can leverage Locust here to generate load across multiple users instead of handling multiprocessing ourselves.

I may be mistaken as I haven't used Locust, but my understanding was that Locust is limited to making http requests, whereas my plan with this "pluggable" design is that we could add plugins that use gRPC as well.


esmvaltool does not find/recognise ERA-Interim input files

I have been trying to feed ERA-Interim into esmvaltool to run the surge estimator, however I keep getting an error message (see below). I assume that this means that the input files are not found. I made sure that the path to OBS in the config-user file are correct and have tried various name set ups for the input file without knowing what the actual name should look like. I also moved the input files to other directories (changing the config file accordingly) but no luck.
How can I make sure that esmvaltool finds the input?
Thanks in advance for you help!
Cheers,
Nina
2018-12-05 08:48:54,873 UTC [22172] INFO    esmvaltool._main:127

      _____ ____  __  ____     __    _ _____           _
     | ____/ ___||  \/  \ \   / /_ _| |_   _|__   ___ | |
     |  _| \___ \| |\/| |\ \ / / _` | | | |/ _ \ / _ \| |
     | |___ ___) | |  | | \ V / (_| | | | | (_) | (_) | |
     |_____|____/|_|  |_|  \_/ \__,_|_| |_|\___/ \___/|_|

ESMValTool - Earth System Model Evaluation Tool.
http://www.esmvaltool.org
CORE DEVELOPMENT TEAM AND CONTACTS:
Veronika Eyring (PI; DLR, Germany -<EMAIL_ADDRESS>Bouwe Andela (NLESC, Netherlands -<EMAIL_ADDRESS>Bjoern Broetz (DLR, Germany -<EMAIL_ADDRESS>Niels Drost (NLESC, Netherlands -<EMAIL_ADDRESS>Nikolay Koldunov (AWI, Germany -<EMAIL_ADDRESS>Axel Lauer (DLR, Germany -<EMAIL_ADDRESS>Benjamin Mueller (LMU, Germany -<EMAIL_ADDRESS>Valeriu Predoi (URead, UK -<EMAIL_ADDRESS>Mattia Righi (DLR, Germany -<EMAIL_ADDRESS>Javier Vegas-Regidor (BSC, Spain -<EMAIL_ADDRESS>For further help, please read the documentation at
http://esmvaltool.readthedocs.io. Have fun!
2018-12-05 08:48:54,873 UTC [22172] INFO    esmvaltool._main:129 Using config file /usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/config-userNR.yml
2018-12-05 08:48:54,873 UTC [22172] INFO    esmvaltool._main:130 Writing program log files to:
/usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/run/main_log.txt
/usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/run/main_log_debug.txt
2018-12-05 08:48:54,873 UTC [22172] INFO    esmvaltool._main:158 Starting the Earth System Model Evaluation Tool v2.0a1 at time: 2018-12-05 08:48:54 UTC
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:160 ----------------------------------------------------------------------
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:161 RECIPE   = /usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/recipes/recipe_surgeheight.yml
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:162 RUNDIR     = /usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/run
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:163 WORKDIR    = /usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/work
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:164 PREPROCDIR = /usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/preproc
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:165 PLOTDIR    = /usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/plots
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:166 ----------------------------------------------------------------------
2018-12-05 08:48:54,874 UTC [22172] INFO    esmvaltool._main:169 Running tasks using at most 1 processes
2018-12-05 08:48:54,875 UTC [22172] INFO    esmvaltool._main:172 If your system hangs during execution, it may not have enough memory for keeping this number of tasks in memory. In that case, try reducing 'max_parallel_tasks' in your user configuration file.
2018-12-05 08:48:54,875 UTC [22172] DEBUG   esmvaltool._recipe:85 Checking recipe against schema /usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/recipe_schema.yml
2018-12-05 08:48:54,894 UTC [22172] DEBUG   esmvaltool._recipe:834 Retrieving diagnostics from recipe
2018-12-05 08:48:54,894 UTC [22172] DEBUG   esmvaltool._recipe:916 Populating list of variables for diagnostic surge_estimator
2018-12-05 08:48:54,894 UTC [22172] DEBUG   esmvaltool._config:171 Retrieving institutes for dataset ERA-Interim
2018-12-05 08:48:54,894 UTC [22172] DEBUG   esmvaltool._config:163 Retrieving OBS configuration
2018-12-05 08:48:54,894 UTC [22172] DEBUG   esmvaltool._config:171 Retrieving institutes for dataset ERA-Interim
2018-12-05 08:48:54,895 UTC [22172] DEBUG   esmvaltool._config:163 Retrieving OBS configuration
2018-12-05 08:48:54,895 UTC [22172] DEBUG   esmvaltool._config:171 Retrieving institutes for dataset ERA-Interim
2018-12-05 08:48:54,895 UTC [22172] DEBUG   esmvaltool._config:163 Retrieving OBS configuration
2018-12-05 08:48:54,895 UTC [22172] DEBUG   esmvaltool._recipe:937 Setting script for diagnostic surge_estimator
2018-12-05 08:48:54,895 UTC [22172] INFO    esmvaltool._recipe:994 Creating tasks from recipe
2018-12-05 08:48:54,895 UTC [22172] INFO    esmvaltool._recipe:998 Creating tasks for diagnostic surge_estimator
2018-12-05 08:48:54,895 UTC [22172] INFO    esmvaltool._recipe:1003 Creating preprocessor task surge_estimator/psl
2018-12-05 08:48:54,895 UTC [22172] INFO    esmvaltool._recipe:742 Creating preprocessor 'preprocessor1' task for variable 'psl'
2018-12-05 08:48:54,895 UTC [22172] DEBUG   esmvaltool._recipe:268 If not present: adding keys from CMOR table to {'preprocessor': 'preprocessor1', 'field': 'T2D', 'short_name': 'psl', 'diagnostic': 'surge_estimator', 'dataset': 'ERA-Interim', 'project': 'OBS', 'type': 'reanalysis', 'version': 1, 'tier': 3, 'start_year': 1979, 'end_year': 1980, 'cmor_table': 'OBS', 'filename': '/usr/people/ridder/nobackup_1/esmvaltool_output/recipe_surgeheight_20181205_084854/preproc/surge_estimator_preprocessor1_psl/OBS_ERA-Interim_reanalysis_1_T2D_psl_1979-1980.nc'}
2018-12-05 08:48:54,895 UTC [22172] DEBUG   esmvaltool._recipe:271 Skipping because cmor_table or mip not specified
2018-12-05 08:48:55,876 UTC [22172] ERROR   esmvaltool._main:223 Program terminated abnormally, see stack trace below for more information
Traceback (most recent call last):
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_main.py", line 215, in run
conf = main(args)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_main.py", line 143, in main
process_recipe(recipe_file=recipe, config_user=cfg)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_main.py", line 189, in process_recipe
recipe = read_recipe_file(recipe_file, config_user)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 56, in read_recipe_file
raw_recipe, config_user, initialize_tasks, recipe_file=filename)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 816, in init
self.tasks = self.initialize_tasks() if initialize_tasks else None
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 1008, in initialize_tasks
write_ncl_interface=self._support_ncl)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 794, in _get_preprocessor_task
variables, profile, config_user, ancestors=derive_tasks)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 705, in _get_single_preprocessor_task
variables=variables, profile=profile, config_user=config_user)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 637, in _get_preprocessor_settings
settings = _get_default_settings(variable, config_user, derive=derive)
File "/usr/people/ridder/Documents/0_models/ESMValTool/esmvaltool/_recipe.py", line 439, in _get_default_settings
settings['load_cubes']['constraints'] = variable['standard_name']
KeyError: 'standard_name'

Hello Nina, I notice that your recipe specifies type: reanalysis  for the ERA-Interim dataset, I believe that should now be type: reanaly  . Maybe could you try this way?

Your log terminates with:

KeyError: 'standard_name'

There is currently a discussion about non derived variables going on in #725 . Could you update your current branch with the latest version2_development branch and send again the error message if it fails?

You will also need to update your environment

Regarding the mip key, I have never worked with cmor tables and have no clue about the standards that you have to declare in your netCDF files. I tried to copy the format and keys from the files that I had, i.e. the historical run form the Canadian ensemble, so according to this I added the mip key  ‘6hPlev’ to the ERA-Interim inputfile itself. I assume I have to add this to the recipe as well for it to work.

There is no need to add the mip key to the netcdf file. You should just put it in the recipe. CMOR tables are used to check that your data complies with the cf standard, e.g. has the correct names for the variable, dimensions, units and the values are within the valid range. Version 1 of esmvaltool includes a not so easy to use reformat script for ERA-Interim data (I'm not sure what the status in version 2 is), but maybe @bjoernbroetz can also provide you with the correct data.
I had a look at the cmor tables, and the only CMIP5 tables that include both psl and uas/vas are
esmvaltool/cmor/tables/cmip5/Tables/CMIP5_day
esmvaltool/cmor/tables/cmip5/Tables/CMIP5_Amon
esmvaltool/cmor/tables/cmip5/Tables/CMIP5_cfSites
esmvaltool/cmor/tables/cmip5/Tables/CMIP5_cf3hr
so that means you probably need to choose a mip from the list day, Amon, cfSites, cf3hr.


Use diffusive boundaries to impose directly the shear stress in wall functions

@Giovanni-Cozzuto-1989 I think this one is a nice-to-have but if the Dirichlet BC works and we fix the bugs, it will not be necessary


404 when download package

Hi,
I get 404 when try to download regex-2018.02.21.tar.gz from package https://pypi.org/project/regex/

This appears related to #3704
This is the specific error message I'm getting:
Could not install requirement pip from https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl#sha256=86a60a96d85e329962a9e6f6af612cbc11106293dbc83f119802b5bee9874cf3 because of HTTP error 404 Client Error: Not Found for url: https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl for URL https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl#sha256=86a60a96d85e329962a9e6f6af612cbc11106293dbc83f119802b5bee9874cf3 (from https://pypi.org/simple/pip/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*)

some 404s were cached during resolution of #3702, those have been cleared.

@ewdurbin the cache does not appear to be clear:
$ rm -rf venv ~/.cache/pip/ && virtualenv venv
New python executable in /tmp/venv/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /tmp/venv/bin/python - setuptools pip wheel:
  Collecting setuptools
/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
Collecting pip
/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  HTTP error 404 while getting https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl#sha256=86a60a96d85e329962a9e6f6af612cbc11106293dbc83f119802b5bee9874cf3 (from https://pypi.org/simple/pip/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*)
  Could not install requirement pip from https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl#sha256=86a60a96d85e329962a9e6f6af612cbc11106293dbc83f119802b5bee9874cf3 because of error 404 Client Error: Not Found for url: https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl
Could not install requirement pip from https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl#sha256=86a60a96d85e329962a9e6f6af612cbc11106293dbc83f119802b5bee9874cf3 because of HTTP error 404 Client Error: Not Found for url: https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl for URL https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl#sha256=86a60a96d85e329962a9e6f6af612cbc11106293dbc83f119802b5bee9874cf3 (from https://pypi.org/simple/pip/) (requires-python:>=2.7,!=3.0.*,!=3.1.*,!=3.2.*)
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/usr/local/bin/virtualenv", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 712, in main
    symlink=options.symlink)
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 953, in create_environment
    download=download,
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 904, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 796, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /tmp/venv/bin/python - setuptools pip wheel failed with error code 1

Running get-pip.py 404 appeared and is now resolved with the python-pip. Now it fails with a 503 Backend is unhealthy... error when attempting to download the wheel archive. Curl is able to reproduce the problem with the download as well as the pypi UI.
curl https://files.pythonhosted.org/packages/1b/d2/22cde5ea9af055f81814f9f2545f5ed8a053eb749c08d186b369959189a8/wheel-0.31.0-py2.py3-none-any.whl

the files hosting service is currently in flux as we try to resolve the 404s issue :/

We've rolled out a stop gap while we work towards complete solution.

Temporary Fix
curl https://bootstrap.pypa.io/get-pip.py | python3

We're now moved over to the intended state and monitoring to ensure things are still 👌.
Not seeing redirect loops, 404s, or 503s 😅

See https://status.python.org/incidents/1y1f44q6srh2 for an incident report on this fiasco.

Looks like there is still an issue with test.pypi.org as well.  I'm guessing that is being worked on as well.

@kddejong thanks for the heads up! we most certainly forgot to port the change to test.pypi.org!

working now @ewdurbin .  Thanks.  Thank you for all the hard work and congrats on completing the change today.

I have installed tensorflow==1.8.0, I have to run a file in order to star my training. but I am getting this error. ModuleNotFoundError: No module named 'tensorflow.compat' then i wrote this command "pip install tensorflow.compat" I got following error ERROR: Could not find a version that satisfies the requirement tensorflow.compat (from versions: none) ERROR: No matching distribution found for tensorflow.compat.
I then wrote "sudo pip install tensorflow.compat"
I got the following error
The directory '/home/sehar/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/sehar/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting tensorflow.compat
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 342, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 795, in get_page
resp.raise_for_status()
File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py", line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/tensorflow-compat/

@sehargul-123 tensorflow.compat is a module provided by the tensor flow package itself, not a separate package on PyPI. a quick check of the source for the release shows that it did not exist at the 1.8.0 version you have installed.
You may want to file your report with the author of your training material.


Docker Compose file

This will hopefully make my life upgrading it and migrating it (since we're so volatile now for no reason) a little easier.

that second commit makes me think i am developing dementia 💀


[Action/Falco] Monitor Kernel event rate from Falco

This is a Falco-specific metrics. The kernel event rate reflects the server load e.g. from workloads. Falco's kernel-side & userspace event counts & tracepoint invocation counts could help [source]

I read this doc page: https://falco.org/docs/metrics/falco-metrics/
and I was wondering if it was enough to add the metric object enabled to the falco.yaml to have the kernel_rate_event in that file as well :slightly_smiling_face:
Then I realized in the cncf-green-review-testing folder there is no falco.yaml. Is the page I mentioned before relevant to our setup?
@incertum do you need some extra settings on your side to let the kernel_event metric be written in the file under /tmp/stats?

Let's redirect all discussion related to this issue here: https://github.com/falcosecurity/cncf-green-review-testing/issues/11

Blocked while we wait for Falco Prometheus exporter (post-KubeCon)


Log out execution time for each AggregateExecutorTest and ParserTest

Resolves #199.

Thanks @piotrszul, looks good to me!
I altered the GitHub Actions config to save this file as an artefact in CI.
I had to re-enable the appending, as the file was getting overwritten in builds where the integration tests were being run.


Does snoowrap not support React Native (expo)?

I was trying snoowrap on react native, and it works fine when I open my app on a browser, but fails building when I run on a remote device.
The error says that the fail is because of the node standard library.:
"The package at "node_modules/snoowrap/dist/objects/Subreddit.js" attempted to import the Node standard library module "stream". It failed because the native React runtime does not include the Node standard library"
Any way to fix this?

You might have some luck looking over #48

You might have some luck looking over #48

Tried using nodeify, and it broke my project. Followed all the steps multiple times. Gave up eventually and just used fetch() straight from the api. Would love it if someone resolved this issue, though, I really like how clean snoowrap is

You might have some luck looking over #48

Tried using nodeify, and it broke my project. Followed all the steps multiple times. Gave up eventually and just used fetch() straight from the api. Would love it if someone resolved this issue, though, I really like how clean snoowrap is

Hey what method did you use to get the oauth2 token using fetch? I'm using the expo-auth-session package to get the initial token and trying to exchange it for the actual refresh token using fetch, but I'm running into an error. Did you have success with the code flow or only with the no-longer-supported implicit flow?