Version sync needed on BL compute nodes to match the github main branch

The main branch seems to be a work in progress.  True?
Just downloaded latest seticore main branch to a BL compute node under my login.  Then,

pip install -U --user meson
git submodule init
git submodule update

apt package dependency versions (excluding cmake):

libboost-all-dev/xenial <IP_ADDRESS>ubuntu1 amd64
libhdf5-dev/xenial-updates,xenial-security 1.8.16+docs-4ubuntu1.1 amd64
ninja-build/xenial 1.5.1-0.1ubuntu1 amd64
pkg-config/xenial,now 0.29.1-0ubuntu1 amd64 [installed]

meson version: 0.62.2
Build issue:
meson setup build
...
fmt| WARNING: The version of CMake /home/lacker/cmake/bin/cmake is 3.10.2 but version >=3.14 is required
So, I installed new stable versions of cmake and ninja this way: pip install -U --user cmake ninja.  Then, meson setup build succeeded.  However, some subsequent compiles failed:
cd build; meson compile

[51/126] Compiling Cuda object seticore.p/dedoppler.cu.o
FAILED: seticore.p/dedoppler.cu.o
nvcc -Iseticore.p -Xcompiler=-Wall,-Winvalid-pch,-Wnon-virtual-dtor -Werror=cross-execution-space-call,deprecated-declarations,reorder -O3 -I/usr/local/cuda/include -I/usr/local/include -I/usr/include -DBOOST_ALL_NO_LIB -I../subprojects/capnproto -Isubprojects/capnproto -I../subprojects/capnproto/__CMake_build -Isubprojects/capnproto/__CMake_build -I../subprojects/capnproto/c++/src -I../subprojects/capnproto/__CMake_build/c++/src/capnp/test_capnp -Isubprojects/capnproto/__CMake_build/c++/src/capnp/test_capnp -I../subprojects/capnproto -Isubprojects/capnproto -I../subprojects/capnproto/__CMake_build -Isubprojects/capnproto/__CMake_build -I../subprojects/capnproto/c++/src -I../subprojects/fmt -Isubprojects/fmt -I../subprojects/fmt/__CMake_build -Isubprojects/fmt/__CMake_build -I../subprojects/fmt/include -I.. -I. -Iseticore.p -o seticore.p/dedoppler.cu.o -c ../dedoppler.cu
In file included from /usr/include/c++/5/type_traits:35:0,
                 from ../subprojects/fmt/include/fmt/core.h:17,
                 from ../dedoppler.cu:4:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
[55/126] Compiling Cuda object seticore.p/cuda_util.cu.o
FAILED: seticore.p/cuda_util.cu.o
nvcc -Iseticore.p -Xcompiler=-Wall,-Winvalid-pch,-Wnon-virtual-dtor -Werror=cross-execution-space-call,deprecated-declarations,reorder -O3 -I/usr/local/cuda/include -I/usr/local/include -I/usr/include -DBOOST_ALL_NO_LIB -I../subprojects/capnproto -Isubprojects/capnproto -I../subprojects/capnproto/__CMake_build -Isubprojects/capnproto/__CMake_build -I../subprojects/capnproto/c++/src -I../subprojects/capnproto/__CMake_build/c++/src/capnp/test_capnp -Isubprojects/capnproto/__CMake_build/c++/src/capnp/test_capnp -I../subprojects/capnproto -Isubprojects/capnproto -I../subprojects/capnproto/__CMake_build -Isubprojects/capnproto/__CMake_build -I../subprojects/capnproto/c++/src -I../subprojects/fmt -Isubprojects/fmt -I../subprojects/fmt/__CMake_build -Isubprojects/fmt/__CMake_build -I../subprojects/fmt/include -I.. -I.  -I. -Iseticore.p -o seticore.p/beamformer.cu.o -c ../beamformer.cu
../cuda_util.h(8): error: this declaration has no storage class or type specifier

../cuda_util.h(8): error: too many initializer values

2 errors detected in the compilation of "../beamformer.cu".
[92/126] Compiling C++ object subprojects/capnproto/capnpc_cpp.p/c++_src_capnp_compiler_capnpc-c++.c++.o
ninja: build stopped: subcommand failed.

Still a work in progress?
BL compute nodes have newly-discovered issues?
Note that the version (0.0.4) of seticore in /usr/local/bin does not match the main branch but seems to be the latest stable version.
Suggestions:

Maintain the main branch as the latest stable version whose executable can be found in /usr/local/bin on the BL compute nodes.
Develop future versions in a separate branch (E.g. "dev", "v006").

The main branch is stable, targeting Ubuntu 20. Check the Dockerfile, or run test_docker.sh to run the tests against the supported environment. You do have to set up the Nvidia container toolkit so that the code inside Docker can access the GPU. I added better docs explaining this in https://github.com/lacker/seticore/commit/96af5ac245a577e73953fcf07b05df1de9bbf3bf
So yeah, I don't have an up-to-date binary available at Berkeley. It's such an old environment it's sort of annoying to make things work there constantly. I was hoping I could just wait til Ubuntu 22 rolls out. I'm not sure what's going wrong with the output you pasted - maybe it is using an old version of nvcc?
I'll keep this issue open til I do manage to deploy to Berkeley....

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Wed_Jul_22_19:09:09_PDT_2020
Cuda compilation tools, release 11.0, V11.0.221
Build cuda_11.0_bu.TC445_37.28845127_0

Is there a schedule for Ubuntu 22.04 rollout at the BL compute nodes?

All right so the problem here seems to be that nvcc picks up its c++ version default from the default of g++, which is c++98 at berkeley and c++14 in the Docker container, and meson is not automatically deducing that it should be passing along a --std=c++14 flag to nvcc. I'll poke around and see what the right way is to do this in meson.

I think this is fixed with https://github.com/lacker/seticore/commit/b1ca077306e71ab0291c56d95d008c5755dc572e but i'm not entirely sure since I don't have a repro of the initial problem....

"access denided"
(base) texadactyl@blpc0:~$ git clone https://github.com/lacker/seticore
Cloning into 'seticore'...
remote: Enumerating objects: 667, done.
remote: Counting objects: 100% (246/246), done.
remote: Compressing objects: 100% (181/181), done.
remote: Total 667 (delta 153), reused 150 (delta 61), pack-reused 421
Receiving objects: 100% (667/667), 211.00 KiB | 0 bytes/s, done.
Resolving deltas: 100% (416/416), done.
Checking connectivity... done.

(base) texadactyl@blpc0:~$ cd seticore

(base) texadactyl@blpc0:~/seticore$ git submodule init
Submodule 'raw' (git@github.com:lacker/raw.git) registered for path 'raw'
Submodule 'capnproto' (https://github.com/capnproto/capnproto.git) registered for path 'subprojects/capnproto'
Submodule 'fmt' (https://github.com/fmtlib/fmt) registered for path 'subprojects/fmt'

(base) texadactyl@blpc0:~/seticore$ git submodule update
Cloning into 'raw'...

Permission denied (publickey).git clone
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:lacker/raw.git' into submodule path 'raw' failed

I was able to download the raw repo separately and read/write the files therein.

The .git/config file looks odd to me:

Yeah I thought it would work the same way but I guess it is actually just better to submodule using the https form. I switched it up. hopefully it works for you now.
subprojects is a meson thing, capnproto and fmt are included as cmake subprojects, meaning meson will use the cmake build provided by those projects to build them. raw isn't built as a subproject, though, it's a header-only library so you don't need any compilation step beyond just #include "raw/raw.h". From meson's point of view, capnproto and fmt are subprojects whereas raw is not.

Currently, the following is necessary at BL compute nodes prior to running seticore version 0.0.6:
export LD_LIBRARY_PATH=/usr/local/cuda-11.0.3/targets/x86_64-linux/lib

This is not necessary for seticore version 0.0.4.
I built seticore following the README instructions.
HDF5 file:  http://blpd0.ssl.berkeley.edu/Voyager_data/Voyager1.single_coarse.fine_res.h5
Running out of GPU memory at BL compute nodes no matter which device ID I use.
E.g.
(base) texadactyl@blpc2:~/seticore/build$ CUDA_DEVICE_ORDER=PCI_BUS_ID CUDA_VISIBLE_DEVICES=3

(base) texadactyl@blpc2:~/seticore/build$ ./seticore *h5
welcome to seticore, version 0.0.6
loading input from Voyager1.single_coarse.fine_res.h5
dedoppler parameters: max_drift=10.00 min_drift=0.0001 snr=25.00
writing output to Voyager1.single_coarse.fine_res.dat
drift rate resolution: -0.0102043
cuda error 2: out of memory

nvidia-smi
Mon Jun 27 05:41:58 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.04    Driver Version: 455.23.04    CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX TIT...  Off  | 00000000:18:00.0 Off |                  N/A |
| 22%   41C    P5    20W / 250W |      0MiB / 12212MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1080    Off  | 00000000:3B:00.0 Off |                  N/A |
|  0%   35C    P8     7W / 180W |    395MiB /  8119MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 108...  Off  | 00000000:86:00.0 Off |                  N/A |
|  0%   32C    P8     9W / 250W |      0MiB / 11178MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 108...  Off  | 00000000:AF:00.0 Off |                  N/A |
|  0%   32C    P8     8W / 250W |      0MiB / 11178MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    1   N/A  N/A    637993      C   .../envs/pipeline/bin/python      393MiB |
+-----------------------------------------------------------------------------+

Hmm. So, as far as I can tell, setting up LD_LIBRARY_PATH is part of the way that the cuda toolkit is supposed to be installed. I think the cuda install at berkeley is essentially broken or incomplete. I think it would make sense to make a custom script to deploy binaries there, but, I want to just wait til ubuntu 22 and for now manually modifying LD_LIBRARY_PATH seems okay.
The out of memory error, it would be nice if it showed better debugging information there, because the cuda malloc is often when trouble happens. Do you also get an out-of-memory error when you run the included test script, ie ./test_dedoppler.sh? I just want to narrow down whether it's specific to the voyager file or a general memory allocation error.

test_doppler.sh result
./test_dedoppler.sh
downloading h5 data for regression testing...
--2022-06-27 11:34:07--  https://bldata.berkeley.edu/pipeline/AGBT21B_999_31/blc17_blp17/blc17_guppi_59544_62191_HIP99317_0059.rawspec.0000.h5
Resolving bldata.berkeley.edu (bldata.berkeley.edu)... <IP_ADDRESS>
Connecting to bldata.berkeley.edu (bldata.berkeley.edu)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length:<PHONE_NUMBER> (3.0G) [application/octet-stream]
Saving to: ‘data/blc17_guppi_59544_62191_HIP99317_0059.rawspec.0000.h5’

blc17_guppi_59544_62191_HIP99317_0059.rawspec.0000.h5               100%[==================================================================================================================================================================>]   3.01G   435MB/s    in 7.0s

2022-06-27 11:35:10 (437 MB/s) - ‘data/blc17_guppi_59544_62191_HIP99317_0059.rawspec.0000.h5’ saved [3230416399/3230416399]

welcome to seticore, version 0.0.6
loading input from data/blc17_guppi_59544_62191_HIP99317_0059.rawspec.0000.h5
dedoppler parameters: max_drift=0.40 min_drift=0.0000 snr=10.00
writing output to data/testout.hits
drift rate resolution: -0.0102043
hit: coarse channel = 23, index = 566231, snr = 10.069617, drift rate = -0.000000 (0 bins)
hit: coarse channel = 30, index = 384478, snr = 215.748932, drift rate = -0.000000 (0 bins)
hit: coarse channel = 30, index = 388533, snr = 10.816778, drift rate = -0.102043 (10 bins)
hit: coarse channel = 60, index = 418095, snr = 37.858383, drift rate = 0.081634 (-8 bins)
hit: coarse channel = 60, index = 436060, snr = 16.085958, drift rate = 0.020409 (-2 bins)
hit: coarse channel = 60, index = 438649, snr = 10.715086, drift rate = -0.051021 (5 bins)
hit: coarse channel = 60, index = 440394, snr = 23.783800, drift rate = -0.214289 (21 bins)
dedoppler elapsed time 9s
diffing against expected output.
output matches. regression test looks good

The execution of 0.0.6 using the Voyager 1 file still runs out of GPU memory.

turbo_seti gets this from the same file:
# --------------------------
# Top_Hit_# 	Drift_Rate 	SNR 	Uncorrected_Frequency 	Corrected_Frequency 	Index 	freq_start 	freq_end 	SEFD 	SEFD_freq 	Coarse_Channel_Number 	Full_number_of_hits
# --------------------------
000001	 -0.397966	 30.612333	   8419.319368	   8419.319368	739933	   8419.321559	   8419.317181	0.0	      0.000000	0	29856
000002	 -0.377557	245.709610	   8419.297028	   8419.297028	747929	   8419.299218	   8419.294840	0.0	      0.000000	0	29856
000003	 -0.397966	 31.220858	   8419.274374	   8419.274374	756037	   8419.276565	   8419.272187	0.0	      0.000000	0	29856

Has the dedoppler algorithm changed?  It use to duplicate turbo_seti fairly well.

Hmmm, the algorithm is supposed to track. I was just testing on a different file and found no differences. Not sure what's going on here. Perhaps something to do with the coarse channel inference logic? Looks like seticore is concluding there's 10000's of coarse channels, which doesn't seem like it's the right way to interpret this data.

According to Danny, the Voyager 1 file was a special production: there is only 1 coarse channel.

Looking better on Voyager 1 h5 with version 0.1.0:
seticore -M 4.0 -s 20 V*h5
welcome to seticore, version 0.1.0
running in dedoppler mode.
loading input from Voyager1.single_coarse.fine_res.h5
dedoppler parameters: max_drift=4.00 min_drift=0.0001 snr=20.00
writing output to Voyager1.single_coarse.fine_res.dat
drift rate resolution: -0.0102043
hit: coarse channel = 0, index = 739933, snr = 30.626724, drift rate = -0.397966 (39 bins)
hit: coarse channel = 0, index = 747929, snr = 245.825119, drift rate = -0.377557 (37 bins)
hit: coarse channel = 0, index = 756037, snr = 31.235535, drift rate = -0.397966 (39 bins)
dedoppler elapsed time 3s

All right - installing ninja with python as per your suggestion in the other issue is actually great, then the only thing I needed an updated version of was cmake, and the rest of the instructions worked at berkeley. I pushed an updated version - 0.1.6 - to /usr/local/bin/seticore and I'll try to keep that vaguely up to date.


Optimize for common drop_keep cases in wasmi executor

This is a result of an observation that we could speed-up execution of branch and return instructions that keep no values or just a single value upon jump. Especially in the Wasm MVP those two cases are the common ones.
This is take 2 after the first experiment yielded really bad results: https://github.com/paritytech/wasmi/pull/492

On my local machine I am observing speed ups up to 10% especially for call intense workloads. Unfortunately our benchmarking CI cannot confirm this right now.

The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #493      +/-   ##
==========================================
+ Coverage   79.18%   79.20%   +0.01%
==========================================
  Files          74       74
  Lines        6309     6314       +5
==========================================
+ Hits         4996     5001       +5
  Misses       1313     1313

Impacted Files
Coverage Δ

crates/wasmi/src/engine/executor.rs
98.27% <100.00%> (+<0.01%)
:arrow_up:

crates/wasmi/src/engine/stack/values/vref.rs
98.52% <100.00%> (+0.09%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


WIP make table and try to figure out how the app starts

Plz suggestions for the Readme file how the app is started in development mode, describe routes and explain ux-flow

we will start working on the readme.md ✌🏽✌🏽

https://media.giphy.com/media/3ohfFDm8HGVnWGkMdq/giphy.gif

In a few hours we will ping you with the new change, this morning I also had a talk with Val about it, I was going to use a boiler plate, but we will keep things simple and use create-react-app and the Backend as we have already built, by COB today we should have the readme file with instructions, hopefully 😉


chore(perf): Make data repo creation async in Compliance

Description
This makes the trigger scan call return quickly while also adding a field to the API that allows for the UI to check the latest run statuses. This is important because it allows for the UI to navigate back to the page to get the most up to date run statuses including if they are in progress.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
Will test
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

@dashrews78 This is ready to go now


Maintenance v1.2.0

This branch contains a couple of minor fixes. For details please see the commit messages.

Thanks for this @fschmenger. Code looks good and I tested the changes in a customer app and in the the example apps and one thing I discovered: The map recording module shows an error Failed to start recording.

I am unsure how this is related to the changeset, but it worked on current master which I tested before.

I gave it another shot and it is related to the active layer set on the map. When activating the Tiled WMS layer in the demo apps the module won't work (even wont work anymore, if the layer is deactivated). Totally unrelated to this changeset.
So this is good to go. Feel free to merge. Thanks again!

Hi Christian,
it seems that both ahocevar layers are no longer CORS enabled. It used to work, as a quick search yielded 80f2167f2181f5eed980f17c60941eaaeae5901d . Nevertheless maintenance is a good anchor to address such problems, so I ammended the fix.
Could you give it a quick a verification? Then feel free to merge.

Thanks for the additional fix regarding the MapRecorder. I can confirm that it works now.
Please merge.


run with node20

Thanks for the PR! Looks good to me. CI is failing be wise of permissions for forked workflow runs, not anything wrong with your change :)

Thanks for that clarity, I was just reading the documentation for the action that failed.
Looks like you can break that file into two parts and it will behave nicer on PRs.
https://github.com/dorny/test-reporter?tab=readme-ov-file#recommended-setup-for-public-repositories

Thanks for pointing that out! I will have to update this and the other repos in the org :)


Improve discusssion links to hackpads

Where a hackpad exists for a topic, link to this - rather than to the
elements feedback page.

Add new link to Progressive disclosure hackpad
Link icons and images to Iconography hackpad
Link data feedback to Tables hackpad
Link buttons to Navigation buttons hackpad
Link errors and validation to Error messaging hackpad

These are all useful improvements - please can someone merge this one as I don't have access? ta.

LGMT


Added Azure Backup Storage reserved capacity

Added Azure Backup Storage reserved capacity to this article as the GA announcement was published on September 14, 2022.
https://azure.microsoft.com/en-us/updates/reserved-capacity-pricing-for-backup-storage/

Docs Build status updates of commit 1370c17:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/cost-management-billing/reservations/save-compute-costs-reservations.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@bandersmsft

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@drewjanderson Thanks for the update!
#sign-off


App does not work when built and hosted as a static site

I tried building this project with yarn build, which worked:
 > yarn build
yarn run v1.22.17
$ yarn workspace @scaffold-eth/react-app build --max-old-space-size=12288
warning package.json: No license field
$ react-scripts build --max-old-space-size=12288
Creating an optimized production build...
...
File sizes after gzip:

  1.89 MB (+12 B)   build/static/js/2.0847626c.chunk.js
  68.52 KB          build/static/css/2.ebe1976d.chunk.css
  17.07 KB (-59 B)  build/static/js/main.57e31647.chunk.js
  1.19 KB           build/static/js/runtime-main.0b7ec1b4.js
  700 B (+2 B)      build/static/js/3.62f836df.chunk.js
  669 B (+1 B)      build/static/js/4.01aedefc.chunk.js
  167 B             build/static/css/main.a03291b5.chunk.css

Done in 89.64s.

But when I try to host the built site:
 > cd packages/react-app/build
 > python -m http.server 8888
Serving HTTP on <IP_ADDRESS> port 8888 (http://<IP_ADDRESS>:8888/) ...

It fails at load time in the browser with:
index.js:7 Uncaught TypeError: Cannot convert a BigInt value to a number
    at Math.pow (<anonymous>)
    at Module.<anonymous> (index.js:7:21)
    at u ((index):1:1297)
    at Object.<anonymous> (ed25519.js:3:12)
    at u ((index):1:1297)
    at Object.<anonymous> (ed25519-class.js:8:16)
    at u ((index):1:1297)
    at Object.<anonymous> (index.js:14:12)
    at u ((index):1:1297)
    at Object.<anonymous> (index.js:5:14)

Wat, now it works. I'm not sure why but after another rebuild it just works fine now.


? items for ezEML+MOTHER needs to be reviewed and updated

I was able to add a donor help text and add the donor help button content to the donor page successfully. I will continue editing the "?" button fields for the donor and IHC pages, as well as any subsequent pages that need editing.

? button content/text has been updated for the Immunohistochemistry page. A new section in help.txt has been added for the specified help button.

Completed July 2023


Glu Activation updates

Updated the glu-related activation functions with the unpad module to fix the issues discussed in

#6537
#6677
#6687

Added a TT_FATAL to check the input shapes for all the glu-related activation function

CI runs: https://github.com/tenstorrent-metal/tt-metal/actions/runs/8612795415

@tarafdarTT there should be a split op wrapper provided around unpad since you were saying the split op is bugged and unpad is generic so that people don't need to write their own custom wrappers


Training and using of PoseNet

Hi @hongsukchoi , superb work and thanks for sharing!
But I have a few questions about the training of PoseNet.
[1] According to Fig. 9 of the suppl, H3.6M and Coco have different definition of joint sets. Thus I am wondering how to combine these two datasets together (as shown in Table 9) to train PoseNet?
[2] Besides, when employing an off-the-shelf 2D pose detector, how to make sure that the input of PoseNet is consistent with the output of the 2D pose detector?
Best

Hi @longbowzhang, thanks for your compliment!
[1] To train PoseNet that lifts COCO defined joints, we use 2D-3D joint pairs regressed from the SMPL fits from each dataset. SMPL fits are pseudo-ground truth meshes which we obtained by the fitting framework. It is discussed in Section 6.1 of the main manuscript and Section 12 of the supplement.
To train PoseNet that lifts H36M defined joints, we used 2D-3D joint pairs regressed from the SMPLF fits from each dataset, except for H36M. For H36M, we use dataset annotations. You can check __getitem__ function in each dataset.py
[2] The input of PoseNet is synthesized 2D pose which is based on 'Absposelifter' and 'Posefix'. It is a model-agnostic 2D pose (in this case, 2D pose detectors). You could also use the output of a specific 2D pose detector as train input, but it would make PoseNet dependent on the specific detector.

Hi @longbowzhang, thanks for your compliment!
[1] To train PoseNet that lifts COCO defined joints, we use 2D-3D joint pairs regressed from the SMPL fits from each dataset. SMPL fits are pseudo-ground truth meshes which we obtained by the fitting framework. It is discussed in Section 6.1 of the main manuscript and Section 12 of the supplement.
To train PoseNet that lifts H36M defined joints, we used 2D-3D joint pairs regressed from the SMPLF fits from each dataset, except for H36M. For H36M, we use dataset annotations. You can check __getitem__ function in each dataset.py
[2] The input of PoseNet is synthesized 2D pose which is based on 'Absposelifter' and 'Posefix'. It is a model-agnostic 2D pose input (in this case, 2D pose detectors), which mimics the error distribution of multiple 2D detectors. You could also use the output of a specific 2D pose detector as train input, but it would make PoseNet dependent on the specific detector.

Hi @hongsukchoi , very thanks for sharing your amazing work!
I am also a bit confused about pretrained models' names. Now it seems that,

For "pose2mesh_human36J_gt_train_human36", the input 2D pose and groundtruth 3D pose for PoseNet is from Human 3.6M dataset annotations (2D pose is projected from 3D pose according to camera params in dataset annotations);
For "pose2mesh_human36J_train_human36", the input 2D pose and groundtruth 3D pose for PoseNet is regressed from SMPLify-X fits.
Do I understand it correctly?

Hi @Szy-Young, for both "pose2mesh_human36J_gt_train_human36" and "pose2mesh_human36J_train_human36",  the input 2D pose and groundtruth 3D pose for PoseNet  are from Human3.6M dataset annotations.
xxJ (in your case, human36J) indicates the joint set defined by the dataset as you can check here.
The dataset name(s) after the train (in your case, human36) indicates the training dataset.
The difference between "pose2mesh_human36J_gt_train_human36" and "pose2mesh_human36J_train_human36" is the input 2D pose. If gt is not included, the groundtruth 2D pose for the model input is synthesized with certain errors during training as written in the paper. If gt is included, the groundtruth 2D pose is just used for the model input during training.
If the joint set is defined by COCO and HUman36M is used for training(ex. "posenet_cocoJ_train_human36_coco_muco"), the input 2D pose and groundtruth 3D pose for PoseNet for Human3.6M is regressed from SMPLify-X fits. It's because Human3.6M dataset does not have annotation for the COCO defined joint set.

Hi @Szy-Young, for both "pose2mesh_human36J_gt_train_human36" and "pose2mesh_human36J_train_human36", the input 2D pose and groundtruth 3D pose for PoseNet are from Human3.6M dataset annotations.
xxJ (in your case, human36J) indicates the joint set defined by the dataset as you can check here.
The dataset name(s) after the train (in your case, human36) indicates the training dataset.
The difference between "pose2mesh_human36J_gt_train_human36" and "pose2mesh_human36J_train_human36" is the input 2D pose. If gt is not included, the groundtruth 2D pose for the model input is synthesized with certain errors during training as written in the paper. If gt is included, the groundtruth 2D pose is just used for the model input during training.
If the joint set is defined by COCO and HUman36M is used for training(ex. "posenet_cocoJ_train_human36_coco_muco"), the input 2D pose and groundtruth 3D pose for PoseNet for Human3.6M is regressed from SMPLify-X fits. It's because Human3.6M dataset does not have annotation for the COCO defined joint set.

@hongsukchoi  Thanks for patient answers. Got it very clearly!


Unable to disable backing up vms to icloud

Describe the issue
VMs are backed up to icloud without any way to disable, causing icloud storage to max out. If a toggle to disable this in settings could be added that would be appreciated.
Configuration (required)

UTM Version: 4.1.5
OS Version: 15.4.1
Device Model: iPad M1 11"
Is it jailbroken (name jailbreak used)? Trollstore?
How did you install UTM? Trollstore

@lavavex Can you try using TrollStore to temporarily mark UTM as User and then disabling UTM from iCloud Backups?


OAuth2::AccessToken.from_hash: hash contained more than one 'token' key warning

Hi,
We upgraded omniauth-auth0 to version 3.0.0 in our Rails app and the following warning is on our logs all the time in all of our environments:
OAuth2::AccessToken.from_hash: `hash` contained more than one 'token' key (["access_token", "id_token"]); using "access_token"
From what I saw on this change on PR 624.
We haven't changed anything in our app besides upgrading the gems associated as well (omniauth and omniauth-rails_csrf_protection) to their latest version.
Is there a way to solve this or circumvent?
EDIT: mind you that the id_token will be passed regardless: https://github.com/auth0/omniauth-auth0/blob/master/lib/omniauth/strategies/auth0.rb#L47

If the warning is saying a different token will be used than is actually used, that may be a bug, but it sounds like if it was it would break your use case.  Another PR just fixed an issue where this new code was selecting the wrong token: #626 and that fix is planned for release 2.0.7.
@Adnilson Are you able to test against master to make sure your auth code is still functional?  This code base has 100% test coverage on lines AND branches, so if something isn't working, it needs to be documented, fixed, and tests added.
There is currently no way to silence this warning.  If you can't control that too many tokens are being returned to you perhaps we need to add that as a feature, like silence_extra_tokens_warning?

Hi, @pboling thanks for the answer.
In that PR @rickselby had a problem where their login functionality broke, ours didn't.
We are not using the gem directly. It is through omniauth-auth0, and dependency wise it's working like this: omniauth-auth0 -> omniauth-oauth2 -> oauth2
I added oauth2 to the Gemfile referencing master (ref: 5e20fdd6016e617b5b3080652dc75c43342b2b5a) and the warning is still there as nothing was modified on that area of the code.
I think the change has to be upwards on the dependency path.

I am not sure I understand the comment, but the warning is coming from this gem, so if we add a config, you can configure it, even though it is a nested dependency.  We may need to add a global config to support that use case, since you may not be able to config the client setup by the Omniauth gems.

My suggestion to test master is unrelated to the warning.  It changes which token key is used in some scenarios, but apparently didn't affect yours because, I am guessing, the strategy doesn't utilize the standardized token.
I will investigate further soon.  On parental leave right now.

Getting the same warning, but we use the oauth2 gem directly like this, so looks like we're using the public methods of this gem. Not sure what's wrong with that:
OAuth2::Client.new(
      ENV["GOOGLE_SIGN_IN_CLIENT_ID"],
      ENV["GOOGLE_SIGN_IN_CLIENT_SECRET"],
      authorize_url: "https://accounts.google.com/o/oauth2/auth",
      token_url: "https://oauth2.googleapis.com/token",
      redirect_uri: "some-redirect-url-here
    ).auth_code.get_token(params[:code])

@morgoth Do you have any idea why the response being parsed has multiple tokens in it?

I don't know, but I confirm that the response from https://oauth2.googleapis.com/token has both access_token and id_token in the json

Containing both is triggering the warning... How should this gem decide which one to use?  Previously it went through a list of keys, and the first match got used.  But the ordering wasn't documented.
How would you suggest we improve this?

I'm not very into internals of how this exactly works, so I cannot give any suggestions - sorry.
I just noticed a warning in CI and found this thread.
We have a code: client.auth_code.get_token(params[:code])["id_token"], so we take what we need explicitly

Yeah, that's why it works "stably" for you.  The intended api is client.auth_code.get_token(params[:code]).token, but for that to work we have pick the right token... :/


Bugfix of Issue #233

In this PR, I have experimentally fix the restart problem claimed in issue #233.

Jenkins: Automatic build-test is triggered.

Jenkins: Automatic build-test is started.

Jenkins: Automatic build-test is successfully finished.


the PowerShell's devcontainer.json is invalid

https://github.com/microsoft/vscode-dev-containers/blob/dfba31dbeee27378ce3beced5e5004462a2c6311/containers/powershell/.devcontainer/devcontainer.json#L7
pwsh does not seem accepted.

Value is not accepted. Valid values: "sh", "bash", "bash (2)", "rbash", "rbash (2)", "dash", "dash (2)", "tmux", "screen", "fish", "JavaScript Debug Terminal".(1)

This seems to be a schema issue rather than a definition issue, but I didn't know where to report it. Please transfer if necessary.

VSCode Version: 1.66.2
Local OS Version: WSL2
Local chip architecture: x86
Reproduces in: Remote - Containers
Name of Dev Container Definition with Issue: PowerShell

I think I needed to update Docker, because upon an update, I'm able to reopen in the Powershell container, and now see the issue @eitsupi mentions:

I think it checks if the shell is installed (when you are on Linux, e.g., connected to the dev container). What do you get for which pwsh in the terminal? (Did you rebuild the container after adding the configuration?)
(This probably doesn't belong to the spec repo because it is VS Code-specific.)

Understood. My Docker Host (WSL2) does not have pwsh installed.
In general, we cannot expect to have the same shell installed on the Docker host or on the machine where someone edit the devcontainer.json as on the container.


No CAMEL-AI package in PIP

Trying the mistralai cookbook for knowledge graph, but can't install it in pip. CAn hou hihlight the procedure to download/install the dependencies please?
https://github.com/mistralai/cookbook/blob/main/third_party/CAMEL_AI/camel_graph_rag.ipynb
Kind regards

Wrong python version require <3.12


add experimental support for illumos

With this change, the basic wasm tests all pass on illumos. Note the addition of NORESERVE to mmap calls.
However:
While wasmtime appears to be functional on illumos, it is still quite slow, particularly in the wast tests. For example, the following test:
cargo +beta test --test wast -- Cranelift/pooling/tests/spec_testsuite/load.wast

takes 0.07 seconds on Linux, but over 5 seconds on illumos. Some profiling suggests that this is due to lock contention inside the kernel while freeing memory, so I don't think this is a wasmtime issue. I'd like to pull some illumos experts in to do some debugging here as time permits, but I don't think this PR should necessarily be held up on that.
Thanks to iximeow for all the help with this!
(One note is that due to a rustc segfault on
illumos, building wasmtime requires Rust 1.83 or higher. I did my building and testing with +beta.)

re slowness, for future reference, with 997Hz sampling:
user stacks: https://gist.github.com/sunshowers/b69b7bd2e671d9c23355d5e952636c5e
kernel stacks: https://gist.github.com/sunshowers/fa822f161e54d57a8103f6736656fbe8

Change default settings in Wasmtime for illumos (e.g. different defaults for the pooling allocator or something like that)

Interesting -- how would I go about doing this? I was floundering around the illumos code haha :)

One high-level question for you: how easy is it to compile for illumos from Linux? For example we'd ideally couple this with a check in our CI that illumos continues to build (e.g. at least via cargo check) but our CI only runs Linux/macOS/Windows right now so we'd have to cross-compile. If it's easy to cross-compile I think it'd be quite reasonable to have a check added to CI that this passes.

cargo check is definitely feasible. cargo build would require the linker etc, and is likely easier with cross.

Ugh, I guess I need to clean the target dir for illumos. Silly glibc.

All right, CI updated and I think this is good to go.


Convergence relaxation

Discussion with @jorgepz, either displacements or residual criteria is enough to check the step convergence using NewtonRaphson solver

Codecov Report

Merging #317 (0061079) into main (8a1045c) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #317   +/-   ##
=======================================
  Coverage   80.58%   80.58%
=======================================
  Files          41       41
  Lines        1463     1463
=======================================
  Hits         1179     1179
  Misses        284      284

Impacted Files
Coverage Δ

src/StructuralSolvers/StructuralSolvers.jl
77.94% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Discovered : ChunkAnimator not working when TextFix mod is installed

Please provide versions affected and in what way it is 'not working' - i.e. does the game crash, not animate chunks, etc.

This issue has gone stale. Please reply again if this is still an issue.

i made a mistake sorry, when i relaunched the game everything works fine.

Please provide versions affected and in what way it is 'not working' - i.e. does the game crash, not animate chunks, etc.

i made a mistake sorry, when i relaunched the game everything works fine.i made a mistake sorry, when i relaunched the game everything works fine.


Make Tasks aware of virtual environments

This is an enhancement request.
Environment data

VS Code version: 1.23.1
Extension version (available under the Extensions sidebar): 2018.4.0
OS and version: Windows 10 Pro
Python version (& distribution if applicable, e.g. Anaconda): 3.6.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
Relevant/affected Python packages and their versions: N/A

Actual behavior
When running a Task that calls the python executable, the system-level interpreter is used instead of the copy inside the virtual environment. This obviously fails if the command depends on packages that are only installed inside the virtual environment.
E.g., running the following task, which depends on the grpcio-tools package (where the grpc_tools module lives)
{
      "label": "Run GRPC compiler",
      "type": "shell",
      "command": "python -m grpc_tools.protoc -I. --python_out=grpc_artifacts --grpc_python_out=grpc_artifacts myservicedefinition.proto"
    }

produces this output
C:\Python36\python.exe: Error while finding module specification for 'grpc_tools.protoc' (ModuleNotFoundError: No module named 'grpc_tools')
The terminal process terminated with exit code: 1

If I prepend pipenv run to the command everything works as expected, but I thought the Task would be smart enough to do that (or something equivalent) on its own.
Expected  behavior
Tasks that call the Python interpreter should do it inside the virtual environment.
Steps to reproduce:

Create a python project with a virtual environment.
Open the project in VS Code.
Install a package (VS code will correctly install it inside the virtual environment).
Create a task that calls python and somehow uses the package installed in step 3 (for an example see section Actual behavior above )
Execute the task.

https://code.visualstudio.com/docs/editor/tasks#_variable-substitution has docs on how to do this, but basically you want ${config:python.pythonPath} to get the interpreter that you set.


Error when regrounding via web app

I updated my local Eidos repo to the latest master and then ran sbt webapp/run to start the webapp. When sending the regular request to do re-grounding (no changes to the code on our end since the last time this worked), I get the following error:
java.io.FileNotFoundException: /org/clulab/wm/eidos/english/ontologies/CompositionalOntology_v2.1_metadata.yml (The system cannot find the path specified)

Do I need to manually add this file to the path above inside the eidos/target/scala-2.12/ folder? Or should I change the path specified in eidos.conf instead (which I haven't touched)?

@kwalcock : can you please look at this? Thank you!

It's supposed to be automatic.  I will give it a try in the morning.

I'm not seeing the same results here.  Just to be sure that the configuration was clean, I renamed ~/.ivy2 to something else and also did sbt clean.  When everything was rebuilt, the webapp would run and work without complaint.  I also did the webapp/test which includes a request to reground and that ran as expected.  There was recently a problem with that ontology having an extra blank line that confused the parser, but both the ontology and eidos was patched for that.  You might check that you have those changes.
You might try rebuilding that ~/.ivy2 directory or at least checking that ~/.ivy2/cache/com.github.WorldModelers/Ontologies/jars/Ontologies-master-SNAPSHOT.jar contains the AWOL org/clulab/wm/eidos/english/ontologies/CompositionalOntology_v2.1_metadata.yml.

Thanks, I actually didn't know that sbt clean would be relevant in this situation but after I did that, the next compile+run started working.

Turns out, I was wrong about the above - I forgot that I commented out the compositional ontology in eidos.conf before reporting back that things started working. If I enable it, it fails again, unfortunately, despite sbt clean... I'm trying again by deleting ~/.ivy2.

Good luck.

I am moving that Eidos server from running on the OS to running on Docker.  The machine may be rebooted soon and I'd like Eidos to start automatically.  I'll watch for your problem.

Okay, deleting ~/.ivy2 seems to have solved the issue, I must have had something cached in there from a long time ago that caused problems.

FWIW I'm not having much luck running Eidos in Docker.  The sbt update command seems to hang.  sbt.version was recently incremented.  Perhaps there's a problem with it.


Error: [] is not a valid color representation

Running the get audio sources example code
https://github.com/processing/p5.js-sound/blob/master/examples/select_audioIn_source/test.js
with the p5 editor and I'm getting this error from p5.js
"p5.js:3661 Uncaught Error: [object Arguments]is not a valid color representation."
I thought I had this example running fine in the desktop IDE not long ago - as did @therewasaguy
I don't think this is an audio related issue and @antiboredom seems to agree it could be an editor issue.
I've tried running the latest p5-sound and p5.js builds as well as removing all fill() and background() statements to try and eliminate variables.

Hey - this is definitely an issue with the editor. Fix coming soon!


Windows Defender detected a virus (Trojan:Win32/Bearfoos.B!ml) in the 64 bits package

Ludusavi version
v0.24.0
Operating system
Windows
Installation method
Standalone
Description
Windows 11 Defender with the latest definitions detected Trojan:Win32/Bearfoos.B!ml in the executable file in the 64 bits windows zip file.

Logs
No response

Thanks for reporting this. Unfortunately, I don't have any control over false positives like this :(
VirusTotal gives it a clean report:
https://www.virustotal.com/gui/url/977b8f1eddb2e30fe676b0fcd72041694e13c91d09cd376149758e9a96f3a416?nocache=1


Downloadable Certificate for DPGs

We have to design a certificate and make it accessible for users to download it from their dashboard

Already in discussion on #26


feat: allow astro versions greater than 1.0.0 as peer dependency.

Describe your changes
Update peer dependencies to allow astro versions greater than 1.0.0. Astro 2.0 launch event on Jan. 24 (https://twitter.com/astrodotbuild/status/1615401112672284672) so 2.0 will be incoming shortly.
Checklist

[x] I have performed a self-review of my code
[ ] I have added thorough tests
[ ] I have updated the docs

@jcdogo Thank you for the PR!


Migrate the deps of the Engine's android_lint script

The script is here: https://github.com/flutter/engine/tree/master/tools/android_lint
Migration is blocked (at least) on the args package: https://github.com/dart-lang/args/issues/153

/cc @dnfield

See: https://github.com/flutter/engine/pull/23151


Link ReadAct wiki (upload data) to ReadMe of ReadActor

So that user has an instruction to update data in ReadAct when necessary.

The instruction on wiki of ReadAct is linked in the README: see the first rule of Basic rules


Can now search motions by extension fields

Closes #2132

I think the TODO above the changed line means exactly that and can be removed with this PR.


Fix typo in included tasks file name in etcd role when etcd-events is enabled

Just a typo in front of which I passed

#2577

Arff when I searched for PR with "etcd-events", I thought for some reason that issues section contained only effective issues... Sorry for that


Update game over message

Update the game over message so people know how to play again!

Nice work done. Welldone!


[Tool] add sonar cloud cpp check

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[x] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

BE Build Success

BE Build Success

BE Build Success

BE Build Success

BE Build Success

BE Build Success

BE Build Success

BE Build Success


Update health check

What
Updated the health check to use the latest version of dp-healthcheck and dp-api-clients-go libraries. This included updating the Makefile to properly extract the service version information.
Also updated graceful shutdown to follow a logical process if signal is sent to kill application.
How to review

Check changes make logical sense
Unit tests pass
No errors when signalling application to shutdown

Who can review
Anyone

Just a question on the exit code otherwise LGTM

I tried to run the tests and validated the changes using postman. Merging.


Aligning a Label "Center" or "Right" does not account for leading or trailing spaces

Godot version: Occurs in 3.2 and master
OS/device including version: Ubuntu 20.04
Issue description: Aligning a Label "center" or "right" does not account for leading or trailing spaces. This was the cause of a long troubleshooting session on Discord. In the MRP posted, there are 3 nodes that show incorrect behavior.

Label1 has leading spaces and is set to align right, and its text is pushed outside of the box by the spaces because the alignment setting does not account for the leading spaces.

Label2 is a copy of Label1 except that there is a letter added in front of the spaces, which causes them to be counted and the text displays properly.

Label 3 has trailing spaces and is set to align center. The text is in the middle, since it does not account for the spaces, but the text should actually be pushed to the left.

Steps to reproduce: Open the MRP, click on the boxes, observe that the behavior is wrong in many ways.
Minimal reproduction project: labels-are-broken.zip

I am so happy you mentioned this... I was just looking over a similar issue I failed to fix with LineEdit. The issue is still present in 3.2.2rc1.
See issue #34951.


Add Extent.getHighestYAt

API | Common
This replaces #1381 and fixes #1375.

@Maxqia Able to get this updated?


pachctl logs should have better behavior when invoked before pod startup

 Freshdesk Ticket ID: 234
 Freshdesk Ticket Agent: Dale Georg
 Freshdesk Ticket Agent Email<EMAIL_ADDRESS> Ticket Priority: Low
 Freshdesk Ticket Description:

Joscha Rieber

 Oct 22, 2020 10:13

To: Joscha Rieber Show all

Hello, I have a feature request for pachctl. What I need is a flag like "pachctl logs -f --wait --pipeline=my-pipeline". This command should block and wait until the Pod is actually running. Then it should give all the output.---Ticket created from a Slack message by John Karabaic (he/him) in #privategroup.

Agent Dale Georg linked Freshdesk ticket 234 for this issue.


COS-Proxy in an LXD in the error state (hook failed: "downstream-logging-relation-changed") due to DNS errors after trying to resolve Kubernetes service FQDN

Bug Description
I encountered a cos-proxy instance in the error state, failing on DNS resolution. I managed to trace DNS queries and it appears that an LXD in my Openstack model tries to resolve Loki's Kubernetes service address:
13:18:45.046592 00:16:3e:xx:xx:xx > xx:xx:xx:xx:xx:xx, ethertype IPv4 (0x0800), length 145: (tos 0x0, ttl 64, id 41035, offset 0, flags [none], proto UDP (17), length 131)
    x.x.x.x.54973 > y.y.y.y.53: 28560+ [1au] AAAA? loki-0.loki-endpoints.cos.svc.cluster.redacted.redacted.redacted. (103)

Since Openstack LXDs don't have access to Kubernetes DNS, it fails and the charm is stuck in the error state.
To Reproduce
Relate cos-proxy in a MAAS Juju model running in an LXD to loki running on microk8s.
Environment
cos-proxy rev 46 (latest/edge) in a MAAS model (running in a jammy LXD)
loki ch:loki-k8s rev 91 (stable) on microk8s
Relation:
cos-loki:logging                                                     cos-proxy:downstream-logging                         loki_push_api                   regular

Relevant log output
# juju debug-log -i cos-proxy/0

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/./src/charm.py", line 495, in <module>
    main(COSProxyCharm)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/main.py", line 441, in main
    _emit_charm_event(charm, dispatcher.event_name)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/main.py", line 149, in _emit_charm_event
    event_to_emit.emit(*args, **kwargs)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/framework.py", line 344, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/framework.py", line 841, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/framework.py", line 930, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/lib/charms/vector/v0/vector.py", line 227, in _on_log_relation_changed
    self.on.config_changed.emit(config=self.config)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/framework.py", line 344, in emit
    framework._emit(event)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/framework.py", line 841, in _emit
    self._reemit(event_path)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/venv/ops/framework.py", line 930, in _reemit
    custom_handler(event)
  File "/var/lib/juju/agents/unit-cos-proxy-0/charm/./src/charm.py", line 376, in _write_vector_config
    r = request.urlopen(dest)
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 1377, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

# juju status cos-proxy

Unit                           Workload  Agent  Machine  Public address  Ports     Message
cos-proxy/0*                   error     idle   3/lxd/6  y.z.z.z                   hook failed: "downstream-logging-relation-changed"
...

Additional context
No response

Was that loki charm related to traefik? Because it seems to be reporting its cluster local address, which shouldn't be the case if there's an ingress relation in place.

Seems like we need to add urllib.error.URLError to the exception list in addition to HTTPError:
https://github.com/canonical/cos-proxy-operator/blob/ae01db528bbd23d9f40a2364e6dd69b0b60457b7/src/charm.py#L393-L401


substrate dev docs dead link

For some reason this URL is leading to a 404
Most likely it is a dead link
substrate dev docs dead link

Could you point to which article containing the dead link?

@pkrasam here is what you likely want: https://substrate.dev/docs/en/tutorials/start-a-private-network/
where did you find this dead link? I can't find this in the devhub, and we have CI to check for these, so it must be external to our docs.


The master ontology file should define the UCO Ontology URI to: http://unifiedcyberontology.org/uco not http://unifiedcyberontology.org/master

In order to have the result be a file called uco.ttl the Ontology URI should be changed. This by convention would be intuitive if the master.ttl file was renamed to uco.ttl

@rhohimer is addressing this issue.

fixed in a branch to be merged with turtle-cleanup.


Docs homepage bugs

Hi,
This latest PR about docs homepage had some side-effects: https://github.com/facebook/docusaurus/pull/2861

https://v2.docusaurus.io/docs/ has canonical url = https://v2.docusaurus.io/docs/introduction (which does not exist anymore, bad for SEO)
this behavior conflicts with the new slug doc frontmatter (https://github.com/facebook/docusaurus/pull/2771)

Sites like Watchman have expressed the need to add .html extensions to their docs, this is why we created the slug frontmatter
For example, they want their first doc to be:

https://facebook.github.io/watchman/docs/install.html
instead of:
https://facebook.github.io/watchman/docs/install

The canonical url of such doc should be with html extension as well (as it's the url they had before, and they want to keep it)

Question: it's not clear to me what the behavior should be, if Watchman wants to use this "install" page as docs homepage, yet ensure that the canonical url of the page is, as requested, https://facebook.github.io/watchman/docs/install.html.
It could be safer to have a duplicate index page, with the canonical url being the one requested by the user with the slug option?
We could redirect the /docs root to the canonical page
Or we could forbid the usage of a slug on the document root, considering that the canonical url is always /docs (sites like Watchman wouldn't be able to use document root)

@lex111 to handle the /docs/introduction -> /docs you asked me here, I think we should figure out the final behavior we want first.

https://v2.docusaurus.io/docs/ has canonical url = https://v2.docusaurus.io/docs/introduction (which does not exist anymore, bad for SEO)

Oh, good catch, this is really bad.
I actually don’t know which option is better. One of our users said that it is better to do without duplicating the page, or to set the canonical url, in the end I did the first one.

I guess this is no longer a relevant issue, so I will close it.


Some features doesn't work on all social network buttons

For example:
[title], [description] and [image] doesn't work on Google plus
[image] doesn't work on twitter, it would be possible to add image feature on twitter?
[image] doesn't work on linkedin
whatsapp share button open a blank screen but doesn't open whatsapp (EDIT: not work if title or description has been  configured. The image not work)
what would be wrong? Thanks

@Hanzofm thanks for the feedback,
It depends on what the service offers, most these services doesn't accept more than the URL as a parameter, so you should set these values using the meta tags to get it work (which is done on the server side).
However some services accepts images parameter in the link, like fb and pinterest.
G+ only accept the URL.
Twitter and LinkedIn don't accept an image parameter.

Sorry, could you explain me a little more how to use the meta tags?  I have to set meta tags individually for each service on head (index.html)? How set then dinamically the url to share?
What is "og:.."? Could you provide me another example?
Thanks for your work

Yes, if you are using angular-cli, which is a client app, you can only set them once using the html for more info read this. meta tags should be set from the server side, because these social services can't read your angular app, they just read the tags which they get from your server. to shorten things for you, you won't be able to set meta tags dynamically unless you are using universal (or a server rendering shell).

Thanks, I'll read it.
For the moment, this is my working solution:
<img  [shareButton]="'facebook'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                  [sbImage]="'http://1.bp.blogspot.com/-UTG_QBXdFvc/UGOBID_zYnI/AAAAAAAAAB8/2bviUM96llw/s1600/gatete.jpg'"
                                  [sbTitle]="'Titulo facebook de prueba'"
                                  [sbDescription]="'Descripcion facebook de prueba'"
                                    mdTooltip="Publicar en Facebook"
                                  src="../../../app/Assets/img/facebook-box.png">
                            <img  [shareButton]="'twitter'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                  [sbDescription]="'Descripcion facebook de prueba'"
                                  [sbTags]="'hola, adios'"
                                    mdTooltip="Publicar en Twitter"
                                  src="../../../app/Assets/img/twitter.png">
                            <img  [shareButton]="'whatsapp'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                    mdTooltip="Publicar en  WhatsApp"
                                  src="../../../app/Assets/img/whatsapp.png">
                            <img  [shareButton]="'pinterest'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                  [sbImage]="'http://1.bp.blogspot.com/-UTG_QBXdFvc/UGOBID_zYnI/AAAAAAAAAB8/2bviUM96llw/s1600/gatete.jpg'"
                                  [sbDescription]="'Descripcion pinterest de prueba'"
                                  [sbTitle]="'Titulo Pinterest de prueba'"
                                  mdTooltip="Publicar en  Pinterest"
                                  src="../../../app/Assets/img/pinterest-box.png">
                            <img  [shareButton]="'linkedin'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                  [sbDescription]="'Descripcion linkedin de prueba'"
                                  [sbTitle]="'Titulo Linkedin de prueba'"
                                  mdTooltip="Publicar en  Linkedin"
                                  src="../../../app/Assets/img/linkedin-box.png">
                            <img  [shareButton]="'googleplus'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                  mdTooltip="Publicar en Google +"
                                  src="../../../app/Assets/img/google-plus-box.png">
                            <img  [shareButton]="'tumblr'"
                                  [sbUrl]="'http://www.valenciacf.com'"
                                  mdTooltip="Publicar en  Tumblr"
                                  src="../../../app/Assets/img/tumblr.png">

It would be good to list the available options of each provider on the description of the library.
What have you thought about the future features of the library?
Thanks for all

@Hanzofm Hi again, I was going by issues and I just noticed your last comment now
I've updated the docs in the wiki, I hope this helps

URL
Title
Description
Image
Tags

facebook
✔
✔
✔
✔
✖

twitter
✔
✔
✖
✖
✔

google+
✔
✖
✖
✖
✖

linkedin
✔
✔
✔
✖
✖

pinterest
✔
✖
✔
✔
✖

tumblr
✔
✖
✔
✖
✔

whatsapp
✔
✔
✔
✖
✖

reddit
✔
✔
✖
✖
✖

stumbleupon
✔
✖
✖
✖
✖

Thanks, I've just updated to ngx version. Thanks for new features.


Task Sheduler Sinlge page web application

I created console application that call asmx web services. For example we give it a name "CallWebService".
Now, I am creating single page web application for create, read, update, and delete tasks. I use Ext JS. When user create task, user choose(with checkboxes) web methods. Web Methods with parameters stored in ms sql database. For task action we set "CallWebService" path. For arguments of action i will write methods id. When task start, "CallWebService" will take arguments(method's id), then get method's parameters(web service url, namespace etc) and call specefic web methods.
My questions :

How i  can set task settings programmatically like :
wTrigger.DaysOfWeek = DaysOfTheWeek.Monday | DaysOfTheWeek.Friday;
mTrigger.DaysOfMonth = new int[] { 3, 6, 10, 18 };

if i can get only string variables(string Friday = "Friday")  from CRUD web application ?

How can i get all task parameters and save it to
List<Dictionary<string, object>> result = new List<Dictionary<string, object>>() ?
This way i will display it in user intarface.

Originally posted: 2015-05-07T00:56:12

I would say you'll have to convert strings to the enum or date or TimeSpan using the appropriate parse or Convert methods.
Reflection (Type.GetProperty) and recursion (get type of property and recurse if a class).

Originally posted: 2015-05-10T13:41:19


Support in APP-6A

Hello Mans,
I would like to know if your library supports also APP-6A standard.
If not, can you estimate what is need to be add/change in order it to be supported?
I randomly tried some APP-6A sidc's and it seems to be paint according to the standard...
Thanks for your replay!

Most of the SIDC codes should work with APP-6 A, but I have not tested them, and I have not extracted the codes from the standard so that it is possible to do so. If you want to check what codes that works, you have to test them one by one manually, or extend some of the tests to test them. There are no plans to add support for APP-6 A to milsymbol, since this is a very old standard.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116147

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116270

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116323

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116343


js f12

what is meaning?

A comfyui broke this hook, thus, the promptgeek node does not have visual selection anymore.
I need to fix this...

A comfyui broke this hook, thus, the promptgeek node does not have visual selection anymore. I need to fix this...

thank you


feat(op-node): receiptsFetchingJob concurrent fetch

The current logic of receiptsFetchingJob is a serial fetch, modifying it to a concurrent fetch can significantly improve performance

The performance test did not meet expectations and has been replaced by another implementation.
see https://github.com/bnb-chain/opbnb/pull/63


Cannot load weights in train to finetune

I would like to finetune the pre-trained weight that you give us. However, there is some problem with load_state in train.py. First when I use .load_state the name of the state are different. For example
Command
$ cd team_code_transfuser
$ python train.py --batch_size 10 --load_file model_ckpt/model_2022/transfer/model_seed3_37.pth

Result
RuntimeError: Error(s) in loading state_dict for LidarCenterNet:
Missing key(s) in state_dict: "_model.image_encoder.features.stem.conv.weight", ...
Unexpected key(s) in state_dict: "module._model.image_encoder.features.stem.conv.weight", ...

After I created a function to change the state name in .pth I still got errors because the number of trainable parameters in the pre-trained weight and in the newly defined network is not equal. Is there anything that I can fix?

These models were trained with an earlier version of the codebase.
You can set strict=False to load the weights like it is done during inference.
You need to make sure that the error isn't actually important when using strict=False, since pytorch will also not complain anymore if some real problem exists.
The missing keys error depends how you train, if you train without parallization, you need to change the weight names like during inference. Using distributed parallel changes the names of the model weights.

Thank you for the helpful reply. However, I still have some size mismatch problem though.
Command
# define model
config = GlobalConfig(root_dir='../data', setting='all') # name sensitive
device = torch.device('cuda:{}'.format(0))
print(device)
torch.cuda.set_device(device)
model = LidarCenterNet(config, device, 'transFuser', 'regnety_032', 'regnety_032', False)
model.cuda(device=device)
optimizer = optim.AdamW(model.parameters(), lr=1e-5, weight_decay=1e-4)

# load state
load_file = '/home/haoming/git/transfuser/model_ckpt/models_2022/model_seed3_37.pth'
state_dict = torch.load(load_file, map_location=device)
state_dict = {k[7:]: v for k, v in state_dict.items()}
model.load_state_dict(state_dict, strict=False)

Results
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-15-244c91d2631e> in <module>
----> 1 model.load_state_dict(state_dict, strict=False)

~/anaconda3/envs/tfuse/lib/python3.7/site-packages/torch/nn/modules/module.py in load_state_dict(self, state_dict, strict)
   1603         if len(error_msgs) > 0:
   1604             raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
-> 1605                                self.__class__.__name__, "\n\t".join(error_msgs)))
   1606         return _IncompatibleKeys(missing_keys, unexpected_keys)
   1607

RuntimeError: Error(s) in loading state_dict for LidarCenterNet:
	size mismatch for _model.lidar_encoder._model.conv1.weight: copying a param with shape torch.Size([32, 3, 3, 3]) from checkpoint, the shape in current model is torch.Size([32, 2, 3, 3]).

You probably need to overwrite global config values with the configuration values from the args.txt as is done here.

It is working now when I load state the way of  submission_agent.py. Thank you so much for your timely response!

I wonder do you have the optimizer.pth for the pretrained weight? If not, what should be the start learning rate if I want to finetune the model?
optimizer = optim.AdamW(model.parameters(), lr=10e-4) # original learning rate

I don't have the optimizer weights anymore. You can either use the start learning rate or the final learning rate which is 10x smaller. (But you will need to tune the learning rate anyway for your task).


fix(nvs) improve nvs_flash_init_partition() speed

using  nvs_flash_init_partition() on a 2MBytes partition took 6sec.
This patch reduces this time

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@projectgus FYI


proto: Promote the latest message definitions into final v1 packages

At present, the latest versions of the Protobuf definitions are all v1beta*. The versions of the types we will be using in CometBFT v1 must be v1 instead.
For example, proto/cometbft/abci/v1beta4 should actually be proto/cometbft/abci/v1 (or the v1 folder should contain the latest, most up-to-date definitions of the types currently used by CometBFT v1).

@mzabaluev I assume this can be marked as done given that #1677's been merged to the feature branch?


Create starpattern.cpp

Thanks for contribute @anurag-bhatt

Hey can you recommit because there was a folder restructers and your starpattern.cpp was deleted. Please git pull and make a new PR. Sorry for this accident


Pathing issues?

Awesome module but I'm having a bit of trouble getting it working.  I was using glob before like this:
const files = glob.sync(`./dist/api/**/*[Controller].js`);
and I converted it to your code like:
import * as filesz from 'glob:./dist/api/**/*[Controller].js';
but the result is this from the console:
info: import globs {}
info: globs [ './dist/api/ApplicationController.js',
  './dist/api/RecordController.js',
  './dist/api/SearchController.js' ]

Your exports are pretty specific to your use case, I think it could benefit from making it more generic. Also you don't really explain the difference between what 'main' and '_partial' is.  Is partial the 'resolved' file? If so I'd recommend making a separate extension for that.
also would be cool to see integration with this: https://github.com/tleunen/babel-plugin-module-alias

but the result is this from the console:

Which console are you referring to?

Your exports are pretty specific to your use case, I think it could benefit from making it more generic.

It should be fairly generic already. What do you propose?

Also you don't really explain the difference between what 'main' and '_partial' is. Is partial the 'resolved' file?

They refer to the main.handlebars.js and _partial.handlebars.js files in the templates/ directory. Basically they're the identifiers for the matched files.

By console i mean console.log.
so I'm confused now, your exporting { main and _partial }? are those module names? Glob normally returns an array of file paths not modules.
By more generic I mean one for files and one for modules. so lke: glob:**.js would return [ 'mypath/file.js' ] vs globResolve:**.js would return { myFileModule }

Ah! This plugin focuses on resolving the modules that match a glob pattern. In order to come up with an identifier to reference the module it cuts off parts of the path that are redundant, and then removes characters that cannot be used in an identifier.
I did start https://github.com/novemberborn/babel-plugin-files which gives an object with file information but that's not quite finished yet.

you should rename it then, to babel-plugin-glob-resolve or babel-plugin-resolve then ;)

It imports modules from a glob pattern, seems sufficient ;-)


Correct CJS bundling

Describe the feature
Default exports are not correctly exported from CJS files
When creating a package using unbuild CJS exports cause Masquerading as ESM error (example from my lib)
Several libraries need to run a post-build script to change the source of .cjs files
Affected libs:

https://github.com/levchak0910/css-media-splitter/blob/main/scripts/post-build-dist.ts
https://github.com/antfu/vite-plugin-inspect/blob/main/scripts/postbuild.ts
https://github.com/vitejs/vite/blob/main/scripts/patchCJS.ts
https://github.com/onebay/vite-plugin-imp/blob/main/scripts/patchCJS.ts

other can be found too: https://github.com/search?q=patchCjs&type=code
Is it possible to fix this behavior within the library?
Huge thanks to @userquin for helping to figure it out

And thanks for awesome tool )
Additional information

[ ] Would you be willing to help implement this feature?

I believe the CJS generated type issues are related to #457 lets track from single place there.


Parsing search query with arrayFormatSeparator ( | )giving me string seprated by |,  instead of an array

here is my snippet
//search string
location.search ?types=images|plain-text

//parsing using arrayFormatSeparator |
let queryObject = queryString.parse(this.props.location.search, {
    arrayFormat: 'separator',
    arrayFormatSeparator: '|'
 })
console.log(' queryObject', queryObject)

But i m getting this as queryObject:
queryObject {types: "images|plain-text"}
expected
queryObject {types: ["images ", "plain-text"]

Sorry my bad,


All current HTTP errors in migrated sites

URL
Error

https://mz.iogt.site/en/external-link/?next=http%3A%2F%2Fwww.un.org%2Fsustainabledevelopment%2Ftakeaction%2F&from=/en/sections/objectivos-de-desenvolvimento-sustentável/porquê-deves-salvar-o-mundo/engage-se-com-os-objectivos-de-desenvolvimento-sustentável-ods/
404

https://rw.iogt.site/rw/sections/kinyarwanda-translation-of-youth-zone-1/kinyarwanda-translation-of-your-health/
404

https://rw.iogt.site/rw/sections/ubuzima-bwawe/kinyarwanda-translation-of-mental-health/
404

https://rw.iogt.site/en/sections/youth-zone/youth-toolkit/be-safe-be-kind/
404

https://ss.iogt.site/en/sections/emergency-information/covid-19-parenting/covid-19-parenting-survey/
404

https://ke.iogt.site/admin/images/463/
504

https://ke.iogt.site/sw/footers/chukua-uchunguzi-wa-haraka/
500

https://ke.iogt.site/sw/sections/swahili-translation-of-gen2030-act-for-climate/climate-change/
404

https://ke.iogt.site/en/sections/generationunlimited-future-yours/
404

https://ke.iogt.site/sw/sections/swahili-translation-of-emergency-information/swahili-translation-of-covid-19-parenting/swahili-translation-of-read-to-your-child-about-covid-19/
404

https://ke.iogt.site/sw/sections/swahili-translation-of-gen2030-act-for-climate/climate-change/green-activities/
404

https://ke.iogt.site/sw/sections/swahili-translation-of-gen2030-act-for-climate/swahili-translation-of-all-in/swahili-translation-of-about-all-in/
404

https://ke.iogt.site/sw/sections/swahili-translation-of-gen2030-act-for-climate/climate-change/swahili-translation-of-climate-change-impacts-children/swahili-translation-of-cleaner-energy-means-a-healthier-environment/
404

https://ke.iogt.site/en/sections/generationunlimited-future-yours/help-change-world/plan-and-run-survey/
404

https://ke.iogt.site/en/sections/generationunlimited-future-yours/help-change-world/whats-your-style/
404

https://ke.iogt.site/sw/sections/swahili-translation-of-gen2030-act-for-climate/swahili-translation-of-all-in/swahili-translation-of-about-all-in/mapenzi-mahusiano-ngono-vvu-na-maswali-mengine-magumu/
404

https://rw.iogt.site/admin/pages/121/edit/
500

https://rw.iogt.site/rw/sections/kinyarwanda-translation-of-youth-zone-1/kinyarwanda-translation-of-your-health/
404

https://rw.iogt.site/rw/sections/ubuzima-bwawe/kinyarwanda-translation-of-mental-health/
404

https://rw.iogt.site/en/sections/youth-zone/youth-toolkit/be-safe-be-kind/
404

https://ss.iogt.site/en/sections/emergency-information/covid-19-parenting/covid-19-parenting-survey/
404

https://global.iogt.site/ar/sections/arabic-emergency-information/arabic-translation-of-covid-19-parenting/arabic-translation-of-read-to-your-child-about-covid-19/
404

https://global.iogt.site/admin/images/491/
504

https://global.iogt.site/pt/sections/parents-caregivers/
404

https://global.iogt.site/en/footers/take-a-quick-survey/
500

https://global.iogt.site/pt/sections/portuguese-translation-of-coronavirus-covid-19/
404

....

Partial list, some of these are also in V1. A better list is coming soon.

Most (possibly all?) of the 404s in this list seem to be pages which are in draft state.
Example: https://rw.iogt.site/rw/sections/kinyarwanda-translation-of-youth-zone-1/kinyarwanda-translation-of-your-health/
Some of them are PageLinkPage footers which I guess are occur when oressing "Live" in the CMS, but the user-facing links are fine (I believe we already have an issue about this).
Example: https://global.iogt.site/en/footers/take-a-quick-survey/
The first link in the table works fine for me.
The 504 we need to sort (Ian is working on that), and https://rw.iogt.site/admin/pages/121/edit/ is an interesting one, it looks like there is malformed HTML in a content block. How does this behave in V1 and when viewing the site live?

I'm closing this as I believe all of the instances have been classified (see previous comment), and I split the only remaining one into a separate issue: #1014


Merge pull request #480 from MicrosoftDocs/master

Deploy December 2021 publish

Docs Build status updates of commit da2e880:
:warning: Validation status: warnings
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Items can be deposited but don't register in the pot.

Users can log in and deposit their item but the trade isn't automatically accepted, I have to manually accept it and when I do the items don't show up.

Is the bot properly setup and configured?

Whoops, it wasn't ill set it up and let you know if it works from there.
On Fri, Oct 9, 2015 at 7:39 PM, Andrew Dassonville<EMAIL_ADDRESS>
wrote:

Is the bot properly setup and configured?
—
Reply to this email directly or view it on GitHub
https://github.com/ztizzlegaming/CSGOWinBig/issues/37#issuecomment-147024388
.

Ok I configured my bot but im receiving tons of errors, do you have steam or some way I can contact you.

Just post the errors here

What @TheAnthonyNL said.

Trade Lock 7 Days i think

No it's my main account it's just saying the text file password.txt doesn't
exist when it's clearly there.
On Sat, Oct 10, 2015 at 12:01 AM, RatexIndex<EMAIL_ADDRESS>wrote:

Trade Lock 7 Days i think
—
Reply to this email directly or view it on GitHub
https://github.com/ztizzlegaming/CSGOWinBig/issues/37#issuecomment-147047473
.

Pdietz5. Row 85 in this file u need to edit --> DepositTradeOfferUserHandler.cs
Set the same psw as u did on teh websites passwords.txt.
I dont really get the bot compiled so maby you then can explain how u did compile so It worked? Youtube video, yeah! :D

I have kinda the same issue thoe. I run without BOT atm cuz I cant get it compiled. So I use my own steam acc and I manually accept the tradeoffers linked from the website. But they wont turn up in the pot, still 0/40 items (cuz I changed from 60 --> 40)....
Any sugestions?

@optix of course they won't show up in the pot. It's the bot who adds the users to the MySQL table after accepting the offers. By manually accepting offers, there's no way for the website to know what items should be added to the pot, or even that a trade offer was sent in the first place. You MUST use the bot, and not manually accept offers.

@andrewda okey. Thanks alot.
I am using a raspi 2 with raspbian where I have webserver apache2, mysql and php5.
I was able to compile the bot with Visual basic express 2015. I get this error when trying to start the BOT tho and when I asked in Jessecars github issue forum they closed it cuz they apperently has some reddit chat nowadays. https://github.com/Jessecar96/SteamBot/issues/826.
I would love some help to get the bot working on raspbian. a step to step howto.
Best regards, optiix.


Bump wasm-instrument 0.1.0 -> 0.1.1

Fix for the stack height metering. It increases the size of the dummy contract used in some pallet-contracts tests. This is why some changes there were necessary.

bot merge


Publish doc updates

Docs Build status updates of commit fec1425:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/addin-tutorial.md
:white_check_mark:Succeeded

docs/add-ins/quick-start.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


window.requestAnimationFrame is undefined in some browsers

I get exception "object doesn't support property or method "requestAnimationFrame" in tota11y.min.js
This is IE 11 or Edge on Windows 7 and 10 on the following website: https://www.mylambton.ca
The following line, found on another GitHub issue, added to the bookmarklet seems to fix it, but it might be better added to the min.js? Sorry I don't know that much about JS.
window.requestAnimationFrame = window.requestAnimationFrame || function(callback) { window.setTimeout(callback,16) };

Hello!
Thank you very much for the detailed issue report. Looks like I'll need to provide the alternative for requestAnimationFrame just as you suggested. My apologies for overlooking this.

You are very welcome and I'm glad it was helpful. We were hoping to deploy this bookmarklet to all the web content editors in our organization (a college) but it will need to work in IE. Will updates on this bug be posted to this page? If not, where can I track whether the issue is fixed? Thanks!

@user0474975 Yep I'll go ahead and update here. I should have a fix in place by end of week, if you need something faster feel free to add the following above where you include tota11y:
<script>
window.requestAnimationFrame = window.requestAnimationFrame || function(callback) { window.setTimeout(callback,16) };
</script>
<script src="./js/tota11y.min.js"></script>

Yes, we'll be asking all our content editors to download the bookmarklet from your page, (where the documentation is), so we will happily wait until the issue is fixed and released.
Sure thing. As a college we have a few different systems that require multiple editors, such as our Learning Information System where teachers enter course information for students to access, or our current student and staff website which has a distributed editor model (each department is responsible for maintaining their own content). Because much of this content is on password-protected sites, tools that use crawlers (like Siteimprove) cannot tell these editors whether their content is WCAG-compliant since crawlers cannot access those pages. So we were in need of a client-side, cross-browser tool that is user-friendly enough for non-technical users. Tota11y fit the bill for us (except for this one little bug) and I really love that it offers the editors suggestions on how to fix what is "broken".
Sorry for being so wordy :) Let me know if you have any other questions.

Hey @user0474975,
Got a PR up for review now - #83 :)
Thanks for the detailed report of how you're using tota11y. Sounds like a very interesting use-case. If you have any feature requests (we're not really a compliance tool but there's some overlap) please let us know! I'm also making tota11y extensible in the near future.

@user0474975,
The fix has landed! I'm going to put out a new release in the next few minutes and update accordingly with instructions. Thanks for your patience.

You're all set!
https://github.com/Khan/tota11y/releases/tag/0.1.3
Let me know how it works out - we don't aggressively support IE9 but I bet I can make things work without much issue (or at least fail gracefully)

Thank you for doing this so quickly! We only support IE11+ on our campus so I wouldn't be able to test that for you, but I'm hoping to be able to start downloading and pilot testing sometime this week.

Oh, my apologies! I was under the impression that IE10 and above supported requestAnimationFrame.
I'm on Windows right now, and interestingly I can access window.requestAnimationFrame everywhere except https://www.mylambton.ca/. Looks like the following line is telling IE (on my machine, IE11) to use IE9 compatibility mode.
<meta http-equiv="X-UA-Compatible" content="IE=9">

Happy to have the simply polyfill in anyway :)

You are correct - the website was designed quite a few years ago and we had to force IE9 compatibility for some of our custom applications. (The site is slated for a redesign at which time this will be addressed). I had forgotten about that :) But the browser we were using to view it was IE 11 (win7) and Edge (win10).
I had tested Tota11y on quite a few sites with Internet Explorer and didn't catch on as to why most sites worked with the bookmarklet and a few didn't. Of course the websites can set their IE mode. Sorry for the oversight.

No worries at all. At the very least, we should have some messaging to say that the browser isn't supported, or perhaps disable certain plugins which may be problematic. tota11y's going through a rewrite now, so we'll make it a bit easier to address this.
But thanks again for bringing all of this to my attention. If you come across any weirdness please don't hesitate to be noisy!


Operating system data

Show a pie chart with operating system usage percent.
Show a list of the number of users per operating system.
Show users per operating system version.

3b6011ec9076dae8820290dbb4a0edbae7f67449 covers a piechart with operating systems.


Can't create required global with computation in default

This works
required global somestr -> str {
  default := '00000000-0000-0000-0000-000000000000';
};

But for some reason this doesn't:
required global someuuid -> uuid {
  default := <uuid>'00000000-0000-0000-0000-000000000000';
};

$ edgedb migration create
error: required globals must have a default
   ┌─ dbschema/default.esdl:16:3
   │
16 │ ╭   required global someuuid -> uuid {
17 │ │     default := <uuid>'00000000-0000-0000-0000-000000000000';
18 │ │   };
   │ ╰───^ error

required global somestr -> str {
  default := '?' ++ '!';
};

fails also.
It's the cast that is breaking it.
The issue is that declarative is splitting the commands into a create and then an alter that sets the default, but only when there is something nontrivial as the default


Update README.md - Link to PACTA repo has changed

PACTA now lives in a new repo (https://github.com/RMI-PACTA/pactaverse) that covers all relevant steps of data preparation and analysis. The previously linked repository will be deprecated, see https://github.com/RMI-PACTA/PACTA_analysis/pull/644
Insert URLs to the project(s) here:
PACTA
Explain what this list is about and why it should be included here:
Update an already existing project in this list to point to the up-to-date repository

Thank you for correcting this. It is often incredibly difficult to see which projects are simply inactive or which have been replaced by others.

Happy to be of help here. Will add to it if anything changes on the PACTA side of things


Shell completion for flynn cli

As a user of the flynn CLI, it would be nice to have bash completion for flynn CLI commands.
Also just tab completing commands would be nice. It's nice to have tab completion in git. I feel like it would be nice to have it in flynn as well.

@tianx2 we do actually have a bash completion script here, but it looks like it has become stale and no longer works (flynn help commands no longer lists commands).
Fixing that would be a good start.

(I'd like this for ZSH as well) It would be neat if the CLI could spit out a completion file based on its internal command database so that we don't have to keep another file up to date.

Cool. When this is fixed, will this do tab completion on things like cluster names or app names?

That's totally doable, though would require some new code.

Thanks @lmars @titanous! Tab completion on ids, cluster-names, app-names, environment variables, and other areas where appropriate would help a lot!

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Removing __typename from monomorphic fragments

Use case
I have an existing project that already uses GraphQL in production and am currently in the process of adding Apollo 3.0.0 to our project. Part of the complexity is that for any given query, we rely on many dozens of fragments which currently don’t explicitly query for __typename.
Describe the solution you'd like

For us to most easily integrate Apollo throughout our project it would be necessary to not add __typename to monomorphic types. I believe @martinbonnin mentioned possible solutions here in !3672. Specifically:

\ mid-term: (apollo-side) optimize and do not add __typename for monomorphic fields

Do you have a timeline for when you would be able to address this or have any recommended work-arounds to ease integration?

Let me know if there's anything I can add or provide that would be helpful!

I created this new Issue to make it easier for discussion/visibility to avoid piling onto !3672 which is closed
This is also related to !1458

Thanks for giving this problem the issue it deserves :)!
I'll take a look this week. Early draft there: https://github.com/apollographql/apollo-kotlin/pull/3777

Hey @martinbonnin! Thanks for sharing your draft 😄  I was wondering if you had any updates on a timeline for it's merge

Hi @AnkitPatanaik. Very sorry for the delay on this. I've been having a few personal issues + this issue is not an easy one so it takes time to dive into it but it's still ongoing.

Small update: we had to ship 3.1.0 without this because this issue is still ongoing and it's a substantial change that I don't want to rush in. I dumped my current thoughts in Typename.md. Sorry for the delay but this is still ongoing.

The good news is that this PR finally landed on main. It introduces a addTypename option to customise how __typename is handled:
apollo {
  /**
   * Add '__typename' for every selection set that contains fragments (inline or named) (Default)
   *
   * This is adding a lot more '__typename' than the above 'ifPolymorphic" and will be removed in
   * a future version. If you require '__typename' explicitely, you should add it to your queries.
   **/
  addTypename.set("ifFragments")

  /**
   * Add '__typename' for polymorphic fields, i.e. fields that contains a subfragment
   * (inline or named) whose type condition isn't a super type of the field type.
   * If a field is monomorphic, no '__typename' will be added.
   *
   * Note: It also adds '__typename' on fragment definitions that satisfy the same property because fragments
   * could be read from the cache and we don't have a containing field in that case.
   **/
  addTypename.set("ifPolymorphic")

  /**
   * Add '__typename' for abstract fields, i.e. fields that are of union or interface type
   *
   * Note: It also adds '__typename' on fragment definitions that satisfy the same property because fragments
   * could be read from the cache and we don't have a containing field in that case.
   **/
  addTypename.set("ifAbstract")
}

If you're not using the normalized cache, "isPolymorphic" is certainly a good value. If you are, "ifAbstract" is safer (and also considerably simpler). You can read more about it in the design doc.
There's still a default "ifFragments" value that is kept for backward compatibility. The current plan is to change the default to "ifAbstract somewhere down the road, depending on feedbacks.
Let us know what you think!

Thanks for fixing this @martinbonnin. This is great!

I'll go ahead can close this too!