update example env

What does this PR do and why?
update env for updated IPFS configuration
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2507   👈

This comment was auto-generated by Graphite.

Thanks @benschac i made some changes and also updated the dev doc (was on my list anyways!)


Create API

How to create API for this coupon code. I want to add my project coupon code through API.

NA


implement file cache

implement file cache

@renato-farias thank you for this and apologies for the very long delay. However, I've decided not to merge this in. Largely this repo will just stay stable as is and I recommend using DigitalOcean's official droplet kit gem for further features.


Bump minimatch from 3.0.4 to 3.1.2

Bumps minimatch from 3.0.4 to 3.1.2.

Release notes
Commits

updated-dependencies:

dependency-name: minimatch dependency-type: indirect ...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

Already merged this from dependabot


Numpy resize falls back to python custom op implementation

np.resize relies on mxnet python custom ops to fall back to the authentic numpy.resize. Do we have plan to update it since python custom operators are to be deprecated in 2.0?

@szha
Python custom op are going to be deprecated in 2.0? That could be a big issue, since Ops in https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/numpy_op_fallback.py all rely on the fallback mechanism.

@xidulu We are deprecating the custom op frontend in favor of the autograd.Function. Underneath, it shares the same custom op executor. There's no planned change of the backend of custom op.
The numpy fallback ops look straightforward to be adapted to autograd.Function.


loop_infinite could be dynamic

https://github.com/spacemeowx2/rust-rawsock/commit/b64f79b0de9b3fce8ef2618a9b56a5b4d3f1d6de
btw I also want trait Interface and Library impls Send and Sync for multi-thread. Because I need to break loop from other thread.

@spacemeowx2 loop_infinite() was supposed to be in two versions, I simply didn't have time to implement it. It is done now. Please notice that this is an experimental version and I didn't have enough time to test it. I will add more tests over the weekend. I hope it is going to be OK.

@spacemeowx2 BTW, I have also added Sync and Send


feat (audience match types): Update condition evaluator for new audience match types.

Changes made, please review.

build


No additional permissions are created with function extra and the append function does not work properly

When trying to call something like this
$data = [
  'export',
]

PermissionRelation::touch('categories')
  ->extra($data)
  ->addResourceSet();

and is expected to be created
categories_delete
categories_create
categories_update
categories_view
categories_viewAny
categories_export

but categories_export not been created.

fixed in merge #2


fix some errors found via sentry

Hey @bluzi,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 93984970-c1e6-11e8-b218-515b6bf45bf2


[stable/prometheus-operator] warning: cannot overwrite table with non table for annotations (map[])

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
k8s v 1.11.3
Which chart:
stable/prometheus-operator
What happened:
warning on deploy - creates issues on VSTS release pipeline
How to reproduce it (as minimally and precisely as possible):
helm lint ./
2018/11/07 15:21:37 warning: cannot overwrite table with non table for annotations (map[])
2018/11/07 15:21:37 warning: cannot overwrite table with non table for annotations (map[])
2018/11/07 15:21:37 warning: cannot overwrite table with non table for annotations (map[])
2018/11/07 15:21:37 warning: cannot overwrite table with non table for annotations (map[])
==> Linting ./
Lint OK
1 chart(s) linted, no failures
Anything else we need to know:
Deploy completes successfully, but throws error.  What is the source of the warning?  Other threads suggestion something in values, but that was in coreos version these warnings weren't' popping up until latest version of chart.

I am unable to reproduce your issue
$ cat ./stable/prometheus-operator/Chart.yaml | grep version
version: 0.1.15

$ helm lint ./stable/prometheus-operator
==> Linting ./stable/prometheus-operator
Lint OK

1 chart(s) linted, no failures

I thinks this is the same bug:
https://github.com/coreos/prometheus-operator/issues/2025

I am unable to reproduce your issue
$ cat ./stable/prometheus-operator/Chart.yaml | grep version
version: 0.1.15

$ helm lint ./stable/prometheus-operator
==> Linting ./stable/prometheus-operator
Lint OK

1 chart(s) linted, no failures

hmm...any insight what could be producing the warnings?  Must be typo somewhere.  There are 4 consecutive.  Reminds me of CRDs, though not sure what to look for.

I thinks this is the same bug:
coreos/prometheus-operator#2025

I've noticed this thread, but doesn't seem to apply to helm implementation as there doesn't appear be a values.yaml for prometheus.

i face the similar issue. I added  below line to the values.yaml under the grafana section
path: '/grafana/'
grafana.ini:
paths:
data: /var/lib/grafana/data
logs: /var/log/grafana
plugins: /var/lib/grafana/plugins
provisioning: /etc/grafana/provisioning
analytics:
check_for_updates: true
log:
mode: console
grafana_net:
url: https://grafana.net
server:
root_url: https://myhost.com/grafana/
But I get below error.
Warning: Merging destination map for chart 'prometheus-operator'. Cannot overwrite table item 'grafana.ini', with non table value: map[grafana_net:map[url:https://grafana.net] log:map[mode:console] paths:map[data:/var/lib/grafana/data logs:/var/log/grafana plugins:/var/lib/grafana/plugins provisioning:/etc/grafana/provisioning] analytics:map[check_for_updates:true]]


Build failure src/I-MISALIGN_JMP-01.S:282: Error: Instruction csrr requires absolute expression

Host: CentOS Linux 7
Prior to the most recent change:

commit 5a978cfd444d5e640150d46703deda99057b2bbb
Author: Neel Gala<EMAIL_ADDRESS>
a fresh clone would build and run with make without any configuration.  It seems the most recent change regressed something (I haven't triaged it yet):
$ riscv64-unknown-elf-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-elf-gcc
COLLECT_LTO_WRAPPER=/home/tommy/install/20200211/libexec/gcc/riscv64-unknown-elf/7.2.0/lto-wrapper
Target: riscv64-unknown-elf
Configured with: /home/tommy/boom-template/riscv-tools/riscv-gnu-toolchain/build/../riscv-gcc/configure --target=riscv64-unknown-elf --prefix=/home/tommy/install/20200211 --disable-shared --disable-threads --enable-languages=c,c++ --with-system-zlib --enable-tls --with-newlib --with-sysroot=/home/tommy/install/20200211/riscv64-unknown-elf --with-native-system-header-dir=/include --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --src=../../riscv-gcc --enable-checking=yes --disable-multilib --with-abi=lp64d --with-arch=rv64imafdc 'CFLAGS_FOR_TARGET=-Os  -mcmodel=medlow'
Thread model: single
gcc version 7.2.0 (GCC)

$ make
for isa in rv32i rv32im rv32imc rv32Zicsr rv32Zifencei; do \
        make -j8 --max-load=4 RISCV_TARGET=riscvOVPsim RISCV_TARGET_FLAGS="" RISCV_DEVICE=$isa RISCV_ISA=$isa variant; \
                rc=$?; \
                if [ $rc -ne 0 ]; then \
                        exit $rc; \
                fi \
done
make[1]: Entering directory `/home/tommy/riscv-compliance'
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make -j8 --max-load=4 \
        RISCV_TARGET=riscvOVPsim \
        RISCV_DEVICE=rv32i \
        RISCV_PREFIX=riscv64-unknown-elf- \
        run -C /home/tommy/riscv-compliance/riscv-test-suite/rv32i
make[2]: Entering directory `/home/tommy/riscv-compliance/riscv-test-suite/rv32i'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compile /home/tommy/riscv-compliance/work/rv32i/I-ENDIANESS-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-RF_x0-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-RF_size-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-RF_width-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-MISALIGN_JMP-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-MISALIGN_LDST-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-DELAY_SLOTS-01.elf
Compile /home/tommy/riscv-compliance/work/rv32i/I-JAL-01.elf
src/I-MISALIGN_JMP-01.S: Assembler messages:
src/I-MISALIGN_JMP-01.S:282: Error: Instruction csrr requires absolute expression
src/I-MISALIGN_JMP-01.S:287: Error: Instruction csrr requires absolute expression
src/I-MISALIGN_LDST-01.S: Assembler messages:
src/I-MISALIGN_LDST-01.S:198: Error: Instruction csrr requires absolute expression
riscv64-unknown-elf-objdump: riscv64-unknown-elf-objdump: '/home/tommy/riscv-compliance/work/rv32i/I-MISALIGN_LDST-01.elf': No such file'/home/tommy/riscv-compliance/work/rv32i/I-MISALIGN_JMP-01.elf': No such file

Hi,
Thanks for the catch.
I had renamed the tests to following the general convention.
I had forgotten to push the updated makefrag files.
Will create a pull-request for the same.

my bad.. responded too soon.. the makefrag files are infact updated...
the only changes I have done is to rename the csr mbadaddr to mtval which is what is being followed since priv 1.10.
The error you are seeing is because your toolchain isn't able to recognie mtval as a valid
csr name (it might be expecting mbadaddr). I believe an upgrade to a more recent version of the gnu-toolchain (>8.0) should fix the issue. Would that be something you can try out?
I don't see this error at my end - using riscv-gcc > 8.3.0.

Ok that makes sense. Sorry about that. It looked like a simple regression and I didn’t realize my tools were an old. Thanks.


Add client to handle different configuration servers

Note : The CI will fail as the https://github.com/ServiceComb/go-cc-client/pull/8 & https://github.com/ServiceComb/go-archaius/pull/17 needs to be merged first and then their commit ID's needs to be updated in vendor/mainfest

Coverage decreased (-0.1%) to 61.179% when pulling 0726138fc44def881c32810976227ba646729de9 on asifdxtreme:master into df5462d405f45d629d5cd71431724951e250c0ff on ServiceComb:master.


Create command to ease generation/modifications to the genesis block

The command should provide a human readable template for the genesis

Closed via #530


fix: errors and warnings in frontend

Fix #210
Add key for form item, like <React.Fragment key="emailBox">, these changes can fix some warning in dev mode, no effect to production mode
Support case insensitivity search for SelectRegionBox
Replace single quotes with double quotes
Reformat

Signed-off-by: WindSpiritSR<EMAIL_ADDRESS>

@Kininaru @oranges-eating @turbodog03 plz review

@turbodog03 Forgotten, already remove

@WindSpiritSR fix:


Improve article 2211.11671 (ar5iv conversion failed)

This paper was written in PreTeXt, converted to LaTeX, and then the LaTeX
was uploaded to arXiv.  That went fine.  As far as I know, it is the only paper
on arXiv that was written in PreTeXt.
But the ar5iv conversion failed.
If there is something that should change to the LaTeX output by PreTeXt,
I can look into that.

Thanks for the report!
The log mentions we are missing latexml support for xstring.sty, titletoc.sty, extpfeil.sty and pdfcol.sty.
Will circle back here once we add these.


Minor output issues when az aks create exceeds quota

Describe the bug
Here's what the output of a failed az aks create due to quota violation looks like to me:
$ az aks create --resource-group=kuar-west --name=kuar-cluster-west --node-vm-size Standard_D15_v2
Deployment failed. Correlation ID: ad4e8fda-feb1-48e0-be0e-29f38b9c74cf. Provisioning of resource(s) for container service kuar-cluster-west in resource group kuar-west failed. Message: Operation results in exceeding quota limits of Core. Maximum allowed: 10, Current in use: 0, Additional requested: 60. Please read more about quota increase at http://aka.ms/corequotaincrease.. Details:

Two issues:

There's an extra period after "Please read more about quota increase at http://aka.ms/corequotaincrease."
There's no details after "Details:".

To Reproduce
Log in to an account with a vCPU quota of 10 in US West. Foolishly try to create a cluster with a machine type with much larger CPUs than you thought:
$ az aks create --resource-group=kuar-west --name=kuar-cluster-west
$ az aks create --resource-group=kuar-west --name=kuar-cluster-west --node-vm-size Standard_D15_v2

(I thought that "D15" was an abbreviation for "D1-5". Now I realize that "D1-5" means "D1 through D5", and "D15" is something different.)
Expected behavior
The quota violation error is expected. But I'd expect more details to follow if it said "Details:" at the end. And no double periods.
Environment summary
macOS 10.13.6
azure-client installed via Homebrew
zsh 5.5.1
$ az --version
azure-cli (2.0.44)

acr (2.1.3)
acs (2.3.0)
advisor (0.6.0)
ams (0.2.2)
appservice (0.2.2)
backup (1.2.0)
batch (3.3.2)
batchai (0.4.1)
billing (0.2.0)
cdn (0.1.0)
cloud (2.1.0)
cognitiveservices (0.2.0)
command-modules-nspkg (2.0.2)
configure (2.0.18)
consumption (0.4.0)
container (0.3.3)
core (2.0.44)
cosmosdb (0.2.0)
dla (0.2.1)
dls (0.1.0)
dms (0.1.0)
eventgrid (0.2.0)
eventhubs (0.2.2)
extension (0.2.1)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.28)
iot (0.3.0)
iotcentral (0.1.0)
keyvault (2.2.2)
lab (0.1.0)
maps (0.3.1)
monitor (0.2.2)
network (2.2.3)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.1)
rdbms (0.3.0)
redis (0.3.0)
relay (0.1.0)
reservations (0.3.1)
resource (2.1.2)
role (2.1.3)
search (0.1.1)
servicebus (0.2.1)
servicefabric (0.1.1)
sql (2.1.2)
storage (2.2.0)
telemetry (1.0.0)
vm (2.2.1)

Python location '/usr/local/opt/python/bin/python3.7'
Extensions directory '/Users/janke/.azure/cliextensions'

Quota error messages should be updated since this was opened, but if seeing the same issues please feel free to reopen.


[KYUUBI #1522] Pass the client ip to engine

Why are the changes needed?

Pass the client ip to engine. For details: #1522
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[X] Run test locally before make a pull request

Codecov Report

Merging #1524 (a16d914) into master (e100cba) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head a16d914 differs from pull request most recent head c9d54ed. Consider uploading reports for the commit c9d54ed to get more accurate results

@@            Coverage Diff            @@
##             master    #1524   +/-   ##
=========================================
  Coverage     59.22%   59.23%
  Complexity      172      172
=========================================
  Files           241      241
  Lines         12195    12198    +3
  Branches       1496     1496
=========================================
+ Hits           7223     7225    +2
  Misses         4359     4359
- Partials        613      614    +1

Impacted Files
Coverage Δ

.../engine/spark/session/SparkSQLSessionManager.scala
90.00% <100.00%> (+0.25%)
:arrow_up:

...main/scala/org/apache/kyuubi/session/package.scala
100.00% <100.00%> (ø)

...g/apache/kyuubi/session/KyuubiSessionManager.scala
97.36% <100.00%> (+0.07%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
81.57% <0.00%> (-2.64%)
:arrow_down:

Continue to review full report at Codecov.

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

thanks, merged to master


[bug] Spinny-hang when ask to start maximized after upgrading to 1.3

Describe the bug
After updating from 1.2 to 1.3, the app window hangs and the cursor goes spinny. In 1.2, the app window starts just fine, and maximized, according to the config.
I started a fresh tauri+vue project to reproduce in case I've botched something. I tried to make a commit after each step I took, starting with the yarn create tauri-app.

Reproduction
I'm on an m1 macbook, macos 13.3.1 (22E261).
Repro repo: https://github.com/djeikyb/tauri-maximized-repro
Expected behavior
App should start with a maximized window.
Platform and versions
❯ cargo tauri info

Environment
  › OS: Mac OS 13.3.1 X64
  › Node.js: 16.14.2
  › npm: 8.5.0
  › pnpm: 4.12.1
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.68.2
  › cargo: 1.68.1
  › Rust toolchain: stable-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: 1.3.0
  › tauri [RUST]: 1.3.0,
  › tauri-build [RUST]: 1.3.0,
  › tao [RUST]: 0.16.0,
  › wry [RUST]: 0.24.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:1420/
  › framework: Vue.js
  › bundler: Vite

App directory structure
  ├─ node_modules
  ├─ public
  ├─ src-tauri
  ├─ .git
  ├─ .vscode
  ├─ .idea
  └─ src

Stack trace
Unfortunately it doesn't crash, just hangs forever.
Additional context
No response

This is because of https://github.com/tauri-apps/tao/pull/662
We have a lock when retrieving fullscreen transition state.
We'll need to find other way to detect it.
Latest tao also has this issue, and hence tauri v2 also has it.

@amrbashir I think we need to revert the change and reopen https://github.com/tauri-apps/tauri/issues/4519
Defining another field in window delegate isn't ideal and it could create data race.

I have the same issue.

[✔] Environment
    - OS: Mac OS 13.3.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.69.0 (84c898d65 2023-04-16)
    ✔ Cargo: 1.69.0 (6e9a83356 2023-04-12)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.16.0
    - yarn: 1.22.19
    - npm: 9.5.1

[-] Packages
    - tauri [RUST]: 1.3.0
    - tauri-build [RUST]: 1.3.0
    - wry [RUST]: 0.24.1
    - tao [RUST]: 0.16.0
    - @tauri-apps/api [NPM]: 1.3.0
    - @tauri-apps/cli [NPM]: 1.3.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: React
    - bundler: Vite

I pushed a few patched for dependencies. Could you run cargo update and try again?

@wusyong Now I am getting a different error which prevents compiling.
yarn run v1.22.19
$ tauri dev
     Running BeforeDevCommand (`yarn dev`)
$ vite

  VITE v4.3.4  ready in 1008 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: use --host to expose
        Info Watching /Users/user/Projects/pulsars/src-tauri for changes...
   Compiling tauri-runtime v0.13.0
   Compiling tauri-build v1.3.0
   Compiling tauri-codegen v1.3.0
   Compiling wry v0.24.2
   Compiling sha2 v0.10.6
   Compiling zip v0.6.4
error[E0583]: file not found for module `web_context`
 --> /Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/wry-0.24.2/src/webview/wkwebview/mod.rs:8:1
  |
8 | mod web_context;
  | ^^^^^^^^^^^^^^^^
  |
  = help: to create the module `web_context`, create file "/Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/wry-0.24.2/src/webview/wkwebview/web_context.rs" or "/Users/user/.cargo/registry/src/github.com-1ecc6299db9ec823/wry-0.24.2/src/webview/wkwebview/web_context/mod.rs"

For more information about this error, try `rustc --explain E0583`.
error: could not compile `wry` due to previous error
warning: build failed, waiting for other jobs to finish...

error Command failed with exit code 101.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Sorry about that, I just published a patch to fix it. Can you run the step again to test?

Updates let 1.3 work as expected in both my repro sample and actual app. Thanks!

@wusyong It is working. Thank you!


Use of __any in branching code gives wrong result

The following toy code returns wrong result, where all data in array c are 1, instead of 0-1 alternatively. The code works correctly on Nvidia GPU with int dimBlock = 32;
Does it mean __any() cannot be used in branching code in hip/hcc at the moment, or did I missing anything? Thanks for any pointer.
Update: Is it possible to implement __any_sync(__activemask(), pred) in hip/hcc?
#include "hip/hip_runtime.h"
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <vector>

//------------------------------------------------------------
//------------------------------------------------------------
__global__ void TestKernel(int* c)
{
    if(hipThreadIdx_x % 2 == 0)
    {
        int x = 1;
        c[hipThreadIdx_x] = __any(x);
    }
    else
    {
        int y = 0;
        c[hipThreadIdx_x] = __any(y);
    }
}

//------------------------------------------------------------
//------------------------------------------------------------
int main(int, char**)
{
    hipSetDevice(0);

    int dimGrid = 1;
    int dimBlock = 64;
    int numThread = dimGrid * dimBlock;

    std::vector<int> c_h(numThread);
    int* c;

    hipMalloc(&c, sizeof(int) * numThread);

    hipLaunchKernelGGL(TestKernel, dim3(dimGrid), dim3(dimBlock), 0, 0, c);
    hipDeviceSynchronize();

    hipMemcpy(c_h.data(), c, sizeof(int) * numThread, hipMemcpyDeviceToHost);

    for(auto&& item : c_h)
    {
        std::cout << item << std::endl;
    }

    hipFree(c);
    return 0;
}

Thanks for the report.  We'll take a look.

More info:
Both hip and hc have __any(pred) function that calls __ockl_wfany_i32(pred). hc's header file has detailed comment: Evaluate predicate for all active work-items in the wavefront and return non-zero if and only if predicate evaluates to non-zero for any of them.
In other words, __any(pred) in hc/hip is supposed to work like __any_sync(__activemask(), pred) in CUDA, only accounting for active threads. So the problem observed is likely caused by a compiler bug.

Update: This issue still exists in rocm version 2.2.31

This issue still exits in rocm 2.9.6, but the kernel below  gives the right results:
global void TestKernel(int* c)
{
int x, y;
if(hipThreadIdx_x % 2 == 0)
{
x = 1;
}
else
{
y = 0;
}
c[hipThreadIdx_x] = __any(x);
if(hipThreadIdx_x % 2 == 1)
c[hipThreadIdx_x] = __any(y);
}

Hi @kingcrimsontianyu, apologies for the lack of response.  Can you please check latest ROCm 6.0.2 (HIP 6.0.32831) to see if your issue has been fixed? Thanks.

Tested and confirmed working (alternating 0,1 output) with ROCm 6.0.2 on MI210

Thank you @nwolfey21.  I will close the ticket now.


Training on multiple gpus

Dear Authors,
I noticed that you train the model for completion "using the Adam optimizer with initial learning rate 1e−4
(decayed by 0.7 every 40 epochs) and batch size 32 by NVIDIA TITAN Xp GPU" mentioned in your paper. Did you mean that you used a single GPU for training or more GPUs?
Thanks for your work and look forward to your favourable reply.

Hello, I ran the author's official code to complete the task at 8192 resolution. Found that it takes only 20 minutes to train an epoch, but verification takes 2 hours on an NVIDIA 3090 GPU.  Thank you!


Why is the attn_mask a upper triangle matrix?

https://github.com/jankrepl/mildlyoverfitted/blob/94c79838572b1313e4eb3d2622e7da856e1fba73/github_adventures/gpt/model.py#L73-L78

@marsggbo thank you for your question.
Because for a given token, we are only allowed to look at the tokens to its left.

I am closing this due to inactivity. If you still have any issues feel free to comment and I can reopen:)


Fix TestAccServerless flaky test

Fixes #1643: 404 responses are now retried in addition to 5xx responses

Very sad. One of the tests still flakes up now with a different reason:
    gcp:cloudfunctions:Function (python-func):
      error: 1 error occurred:
      	* creating urn:pulumi:p-it-runner-serverless-b9f58a53::serverless-cs::gcp:cloudfunctions/function:Function::python-func: 1 error occurred:
      	* Error waiting for Creating CloudFunctions Function: Error code 3, message: Build failed: {"metrics":{},"error":{"buildpackId":"","buildpackVersion":"","errorType":"OK","canonicalCode":"OK","errorId":"","errorMessage":""},"stats":[{"buildpackId":"google.utils.archive-source","buildpackVersion":"0.0.1","totalDurationMs":55,"userDurationMs":55},{"buildpackId":"google.python.runtime","buildpackVersion":"0.9.1","totalDurationMs":4530,"userDurationMs":0},{"buildpackId":"google.python.functions-framework","buildpackVersion":"0.9.6","totalDurationMs":121,"userDurationMs":120},{"buildpackId":"google.python.functions-framework-compat","buildpackVersion":"0.9.2","totalDurationMs":0,"userDurationMs":0},{"buildpackId":"google.python.pip","buildpackVersion":"0.9.2","totalDurationMs":31186,"userDurationMs":31036},{"buildpackId":"google.utils.label-image","buildpackVersion":"0.0.2","totalDurationMs":1,"userDurationMs":0},{"buildpackId":"google.python.link-runtime","buildpackVersion":"0.0.1","totalDurationMs":219,"user
  DurationMs":0}],"warnings":null,"customImage":false}

  Resources:
      + 3 created

  Duration: 1m18s


Livereload with custom script file

There is library called PJAX, which makes static site/spa fully AJAXed, browsing experience becomes much faster, because it reuses all js and styles and loads only html content.
While developing such projects with devd, this a little bit inconvenient, as devd reloads page fully
with location.reload()
1) Is it possible to run devd -l but not to inject livereload script ?
or provide my own modified script devd -l=myscript.js
or

Maybe possible to call js function before reload which could be overridden ?

288: ws.onmessage = function(event) {
289:        if (event.data == "page") {
290:            ws.close();
291:            if(DevdReconnectingWebSocket.reload())
DevdReconnectingWebSocket.reload = function(){
location.reload();
}

Hi there. I think the best way might be for the livereload script to check whether a specially named function is defined (say, __devd_livereload). If the function is in the global scope, it's called rather than hard-reloading the page. Would this work for you? I'd accept a patch that implements something like this.

yes this would be ok! I will try to send patch


Develop an SAP Fiori App Using ABAP

Mission URL: https://developers.sap.com/mission.cp-starter-extensions-abap.html
Hello Colleagues,
Tutorial : Develop a Fiori App Using the ABAP RESTful Programming Model (Managed Scenario).
I have observed that, the total time displayed for the execution of the below tutorial is incorrect.
i-e., the tutorial “Develop a Fiori App Using the ABAP RESTful Programming Model (Managed Scenario)” includes 6 tutorials and time mentioned for each of the tutorials are as below :
Get to Know the ABAP RESTful Programming Model --> 5min
Create Table Persistence and Generate Data  -->10 mins
Define and Expose a CDS-Based Travel Data Model --> 20 mins
Create Behavior Definition for Managed Scenario  --> 15 mins
Enhance Behavior With Action and Validation --> 10mins
Create and Deploy HTML5 and SAP Fiori Launchpad Site Modules --> 15mins
Actual result : Total time displayed in the tutorial is 1 hr.

Expected result : The total time displayed should be 1hr 15mins.
Thanks & Regards,
Sony Narayan

Fixed ... thanks
https://developers.sap.com/mission.cp-starter-extensions-abap.html -- 80 minutes
https://developers.sap.com/group.abap-env-restful-managed.html --75 minutes

Hello Colleagues,
I have observed that , In the Home page, the total time displayed for executing the scenario is incorrect
Actual result : 1hr 5min is displayed.

Expected result : 1hr 20mins should be displayed.
Thanks & Regards,
Sony Narayan


Specification: there's no Enum in a compile-time constants list

Specification "16.1 Constants" contains list of constant expressions There are no Enum in the list (specification 3 rd Edition / June 2015) but according Enum definition (13 Enums) it is a compile time constant.

Enums are normal objects created using the enum syntax. An enum like enum Foo {foo, bar;} is defined as being (roughly) equivalent to
class Foo {
  static const Foo foo = ...;
  static const Foo bar = ...;
  ...
}

As such, Foo.foo and Foo.bar are compile time constants the same way any other static const declaration is - it doesn't need special mentioning in the compile-time constant list because it's covered by the case "An identifier expression that denotes a constant variable.".

Closing: I do not see the need to take any action here.


promisify nodemailer-smtp-transport

Hey, i try to get into bluebird. can you help me with wrapping nodemailer-smtp-transport?
I am using koa and tried a lot but couldnt find the solution.
Here is my code:

    var nodemailer = require('nodemailer');
    var smtpTransport = require('nodemailer-smtp-transport');
    var Promise = require("bluebird");
exports.create = function*() {
  var transporter = nodemailer.createTransport(smtpTransport({
      host: 'smtp.myemailservice.de',
      port: 25,
      auth: {
          user: 'user',
          pass: 'pw'
      }
  }));

  var mailOptions = {
      from: 'Fred Foo ✔<EMAIL_ADDRESS>// sender address
      to<EMAIL_ADDRESS>// list of receivers
      subject: 'Hello ✔', // Subject line
      text: 'Hello world ✔', // plaintext body
      html: 'mail conent'·
  };

  transporter.sendMail(mailOptions, function(error, info) {
      if (error) {
          this.body = error;
      } else {
        this.body = info.response;
      }
  });

};

I'm also having trouble promisifying nodemailer. However I'm using the stub transport like so:
var transport = require('nodemailer-stub-transport')
var transporter = Promise.promisifyAll(nodemailer.createTransport(transport()))

It always crashes nodemailer and my app. Any ideas?

@divramod  can you please send the merge code.. i am facing the same issue

I was also having the same problem some time ago. The code above is no longer valid. You have to use this:
var nodemailer = require('nodemailer')
var transport = Promise.promisifyAll(nodemailer.createTransport({ /* options */ }))

Note that if you are trying to use a transport mechanism that is not built-in, there is a small difference. Instead of passing an options object to the createTransport method, you pass the external transport directly like so:
// Example using the stub transport
var stubTransport = require('nodemailer-stub-transport')()
var transport = Promise.promisifyAll(nodemailer.createTransport(stubTransport))

@ricardograca i want to sen mail and i am using the following code
var nodemailer = require('nodemailer');
nodemailer.SMTP = {
host: 'mail.gmail.com',
port: 25,
use_authentication: true,
user<EMAIL_ADDRESS>pass: '***'
};
var message = {
sender<EMAIL_ADDRESS><EMAIL_ADDRESS>subject: 'Test Report',
html: 'test',
};

and the below code should return promise because i am using stackify module to execute in sync.
nodemailer.send_mail(message,
function(err) {
if (!err) {
console.log('Email send ...');
} else console.log(sys.inspect(err));
});
Do you have any solution for this??


Ability to drop certain metrics?

Is there a way, via configuration, to not have certain metrics passed along on scrape time? In our largest data center the CPU CSTATE metric(s) creates about 180,000 unique data points. We definitely want the CPU usage, but unfortunately the CSTATE information is not all that valuable for us so we would like to just turn it off.
We can do this in our Prometheus config, but it is not recommended to drop metrics long term.

@poblahblahblah What's the problem with doing it via metric relabeling? You can have these dropped before they are stored in Prometheus. The only drawback I see is slightly more resource usage for rendering, transferring and parsing the CSTATE information upon scrape, but I think this should be pretty much irrelevant.

@avonwyss Just trying to follow best practices according to https://www.robustperception.io/dropping-metrics-at-scrape-time-with-prometheus/

All the samples are still pulled from the job being scraped, so this should only be a temporary solution until you can push a fixed version of your code.

I suppose another question is - if I create a PR to breakout the CSTATE information into a separate collector, would that PR be considered?

Hi @poblahblahblah,
I believe what @brian-brazil is referring to in that blog post is that "fixing" your code rather than dropping metrics is a workaround for your own instrumented applications when something generates a lot more metrics than expected. In this case, the exporter is working as expected, so dropping metrics you are not interested in would be ok, even as a long-term situation (feel free to correct me if this is not how you meant it, Brian)
Regarding changing the behaviour, we might consider a PR that adds a flag to disable collecting these specific metrics (say something like bool flag --collector.cpu.collect-cstate, that'd also create a --collector.cpu.no-collect-cstate which is what you want).
I'm somewhat interested in the volume problem though - you're getting three points per core, right? Is that a significant portion of your total metric volume?

In this case, the exporter is working as expected, so dropping metrics you are not interested in would be ok, even as a long-term situation (feel free to correct me if this is not how you meant it, Brian)

OK - it wasn't immediately clear to me that the advice strictly applied to our application code. I guess I treated the "so this should only be a temporary solution..." more as gospel than I should have.

Regarding changing the behaviour, we might consider a PR that adds a flag to disable collecting these specific metrics (say something like bool flag --collector.cpu.collect-cstate, that'd also create a --collector.cpu.no-collect-cstate which is what you want).

I'll look at getting a PR going for this, but with the above information in mind I'll probably just drop the metrics.

I'm somewhat interested in the volume problem though - you're getting three points per core, right? Is that a significant portion of your total metric volume?

I guess it depends on what you consider significant - In our largest colo we are currently collecting ~925,000 system metrics with wmi_collector. CSTATE metrics account for about 180,000 of those, so rounding down we're at 19% of the metrics are for CSTATEs, which we likely don't need.

I'll leave this open as a feature request, and if someone else feels a need to disable cstate metrics we'd welcome a PR to do this.


Removed minimal_d3d12 sample

Related to https://github.com/zig-gamedev/zig-gamedev/pull/559#issuecomment-2057897450
If minimal_d3d12 where to be updated, it would become minimal_glfw_d3d12. So we can  just delete minimal_d3d12.

minimal_d3d12 is a good reference for users who want to target win32 instead of glfw


Allow the dea_next MTU property to be configured using spiff

What
This PR add the ability to set the dea_next MTU property as a mergeable parameter in spiff templates.
Having added IP Masquerading to our deployment on Google Compute Platform, we discovered an issue affecting deployment of applications using the cloudfoundry java buildpack which fetches cached assets from http://download.run.pivotal.io.
This caused app deployments to hang after displaying:
Starting app postgresql-cf-service-broker in org admin / space admin as admin...
-----> Downloaded app package (30M)

After investigating the issue by doing the following:
$ bosh ssh runner
$ sudo su -
$ /var/vcap/packages/warden/warden/src/wsh/wsh --socket /var/vcap/data/warden/depot/19116tip8u0/run/wshd.sock --user vcap
$ curl -k -v http://download.run.pivotal.io

We found that the response was truncated after receiving the http headers
After checking the MTU by doing:
$ ifconfig
lo        Link encap:Local Loopback
         inet addr:<IP_ADDRESS>  Mask:<IP_ADDRESS>
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:65536  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

w-1913hgbclek-1 Link encap:Ethernet  HWaddr 4e:76:04:bc:b4:87
         inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
         inet6 addr: fe80::4c76:4ff:febc:b487/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:18 errors:0 dropped:0 overruns:0 frame:0
         TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1244 (1.2 KB)  TX bytes:1586 (1.5 KB)

We changed the MTU to 1460 to match the MTU on the runner VM by doing:
ifconfig w-1913hgbclek-1 mtu 1460

After this change was made the curl command returned the full page successfully.
How this PR should be reviewed
I have written this commit to be read in the following narrative:

The default mtu in warden is 1500
and it is configurable in warden however it is not a mergeable option using the cf-job release template so I have parameterised it so it is.

How to test this PR
This is done in the configuration file for your Cloud Foundry deployment. Simply add the MTU to the properties dea_next block in one of your Cloud Foundry spiff stub files :
properties:
...
  dea_next:
    mtu: 1460

References
Default Compute Engine MTU is 1460 before IPsec is applied
Interface MTU size for OpenStack use 1454 to avoid problems with rubygems with GRE tunneling
GRE Tunnels

Hi @actionjack
Thanks for submitting this PR. I wanted to let you know that we have a series of unit tests that run against our manifest templates to ensure we do not break manifest generation. You can run these tests in the cf-release dir with bundle exec rspec. In this case the addition of the property dea_next.mtu failed these tests as they found an unexpected key. The fixtures that these tests run against can be found in cf-release/spec/fixtures/[INFRASTRUCTURE]/cf-manifest.yml.erb.
(I've made the relevant fixes)[https://github.com/cloudfoundry/cf-release/commit/cebaf541098b987ffcde87e9c2d994badba96243] for this PR myself but we'd appreciate it if you could share this with your team. We really look forward to seeing more pull requests and discussions around your work deploying CF to GCE and we want to make the entire process as frictionless for everybody involved as possible.
Also, this pull request was made against the master branch. If you make your PRs against develop github will automatically mark the PR as merged when we push these changes on the develop branch to our CI, rather than only marking it as merged after it has passed our full CI suite and been automatically merged into master by our CI.
Thanks again!
@zaksoup CF Release Integration

I also wanted to make sure that you're aware of the configuration property for Diego: https://github.com/cloudfoundry-incubator/diego-release/blob/2b24975fd70b0457aa7e7054b4e22370b322fde6/manifest-generation/diego.yml#L732


[music3] remove Wno-inconsistent-missing-override warning

(From https://github.com/Inria-Asclepios/medinria-superproject/pull/64)
This PR removes the -Wno-inconsistent-missing-override warning on Linux.
:m:

Good


repoCtx control baseUrl and subPath

What would you like to be added:
How can I control in a repositoryContext what is stored in the baseUrl and what in subPath?
Using ocm I get:
    - type: ociRegistry
      baseUrl: eu.gcr.io
      subPath: .../dev/d058463/microblog

In Gardner CD ist is stored like this
  repositoryContexts:
    - type: ociRegistry
      baseUrl: eu.gcr.io/.../cnudie/gardener/development
      subPath: null

See also: https://github.com/open-component-model/ocm-spec/issues/58
Why is this needed:
ocm should give full control about the created component descriptor.

@jensh007 isn't this related to https://github.com/open-component-model/ocm/issues/388 and maybe possible to be done in on issue?

related to: https://github.com/open-component-model/ocm-spec/issues/76


Magic link doesn't automatically sign in user but shows magic code on browser

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

Action Performed:

Go to sign in page on staging.new.expensify.com
Input email and click continue
Click on the magic link sent on Email

Expected result:
Clicking on the magic link should automatically sign in user just like in production.
Actual result:
User doesn't get signed in automatically but instead gets shown the magic link on browser on a different tab
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/235332846-d1949a28-9cc7-42fb-a4e7-1da887c7a9a1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682595461496169
View all open jobs on GitHub

Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@greg-schroeder Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Sorry for the delay, processing now.

I was able to reproduce this - is this a bug, though? Is the email link supposed to log you in on staging?

Discussed with team:

I am almost sure this is not a bug as notifications are sent from production so the email will never be a staging one. It happens even for oldDot. I would just close it


AMPI implements subcommunicators in an unscalable fashion

Original issue: https://charm.cs.illinois.edu/redmine/issues/1963

This is the real issue behind the following: https://charm.cs.illinois.edu/redmine/issues/1962
MPI_COMM_SELF is the pathological case of creating 'n' 1-element chare arrays, but in general AMPI currently implements subcommunicators using chare arrays, which has a scaling limit in terms of the number of collections Charm++ supports in its 64-bit ID. After the patch for the above issue, AMPI can run with up to 16M ranks. If we want to go further we will run out of collection bits in the ID.

Original date: 2018-08-09 19:44:49

An alternative would be to use sections to implement subcommunicators, with additional data structures to keep track of ranks in subcommunicators from the parent communicator.
Two things we want in AMPI's implementation of subcommunicators:

Same syntax for AMPI to communicate over all communicators (using the same type of proxy for remote method invocation, same syntax for bcasts, and same syntax for reductions, etc).
Consistent performance whether messaging over all communicators.

MPI_COMM_SELF currently also several KB per VP, which could be saved if we lazily/dynamically create MPI_COMM_SELF on demand, when needed.
Also, a nice feature of sections is that collective messages don't need to go to all PEs if the elements don't span all PEs (as they do for chare arrays).


ReferencesListener not calling preUpdate

Since there still seems to be an issue with the orm and odm config for the ReferencesListener - see https://github.com/Atlantic18/DoctrineExtensions/issues/821 - I only have configured the odm this way:
services:
#    gedmo.listener.reference.mysql:
#        class: Gedmo\References\ReferencesListener
#        tags:
##            - { name: doctrine.event_subscriber, connection: game }
#            - { name: doctrine.event_subscriber }
#        calls:
#            - [ setAnnotationReader, [ "@annotation_reader" ] ]
#            - [ registerManager, [ 'document'<EMAIL_ADDRESS>] ]

    gedmo.listener.reference.mongodb:
         class: Gedmo\References\ReferencesListener
         tags:
            - { name: doctrine_mongodb.odm.event_subscriber }
         calls:
            - [ setAnnotationReader, [ "@annotation_reader" ] ]
            - [ registerManager, [ 'entity'<EMAIL_ADDRESS>] ]

My Payroll Document is linkend to a Branch Entity:
/**
 * @MongoDB\Document
 */
class Payroll
{
    /**
     * @MongoDB\Id
     */
    protected $id;

    /**
     * @Gedmo\ReferenceOne(type="entity", class="Plusquam\Bundle\ContractBundle\Entity\Branch", identifier="branch_id")
     */
    protected $branch;

    /**
     * @MongoDB\Int
     */
    protected $branch_id;

    public function setBranch(Branch $branch)
    {
        $this->branch = $branch;
    }

    public function getBranch()
    {
        return $this->branch;
    }

    public function setBranchId($branchId)
    {
        $this->branch_id = $branchId;
//        $this->branchId = $branchId;
    }

    public function getBranchId()
    {
//        return $this->branchId;
        return $this->branch_id;
    }

I can successfully create a new Document with the Entity relation. But I can't update it:
        $em = $this->getDoctrine()->getEntityManager();

        $branch = $em->getReference('Plusquam\Bundle\ContractBundle\Entity\Branch', 2);

        $payroll = new \Plusquam\Bundle\TimekeepingBundle\Document\Payroll();
        $payroll->setBranch($branch);

        $dm = $this->get('doctrine_mongodb')->getManager();
        $dm->persist($payroll);
        $dm->flush();

        var_dump($payroll);

        $branch = $em->getReference('Plusquam\Bundle\ContractBundle\Entity\Branch', 4);
        $payroll->setBranch($branch);
        $dm->persist($payroll);
        $dm->flush();

        var_dump($payroll);

        $dm->find('Plusquam\Bundle\TimekeepingBundle\Document\Payroll', $payroll->getId());
        $branch = $em->getReference('Plusquam\Bundle\ContractBundle\Entity\Branch', 6);
        $payroll->setBranch($branch);
        $dm->persist($payroll);
        $dm->flush();

        var_dump($payroll);

I added some output to the ReferencesListener methods:
    public function prePersist(EventArgs $eventArgs)
    {echo "CREATE";
        $this->updateReferences($eventArgs);
    }

    public function preUpdate(EventArgs $eventArgs)
    {echo "UPDATE";
        $this->updateReferences($eventArgs);
    }

The prePersist is called but never the preUpdate.
Is a different service config required to make it work for updating?

@webdevilopers, @steffenbrem: Can you confirm if https://github.com/doctrine/mongodb-odm/pull/985 fixes this issue?

Is that PR https://github.com/doctrine/mongodb-odm/pull/985 in dev-master @jmikola ?
Because then it is not fixed yet.
I couldn't find any other branch for https://github.com/doctrine/mongodb-odm/milestones/1.0.0-BETA13.

@webdevilopers: Yes, that commit would be in master. I'll make a note in https://github.com/doctrine/mongodb-odm/issues/861 that this still is not fixed.

@webdevilopers could you see if https://github.com/doctrine/mongodb-odm/pull/1121 (it's not merged yet) will solve the issue?

Will try tomorrow @malarzm !

I copied your UnitOfWork.php file into my current setup (first comment) but still the @MongoDB\PreUpdate annotation / event is not being called. @malarzm :(

@webdevilopers could you by any chance create a failing test case and PR it to ODM? It would help a lot with debugging

I will give it a try tomorrow! At the bottom line it's just an assert that the field changed in the preUpdate event has been changed after flush, right?

@webdevilopers yes. Also one thing that came to my mind, are you calling $dm->getUnitOfWork()->recomputeSingleDocumentChangeSet($class, $document); after changing the property in event listener?

No @malarzm , havn't tried that yet.
Before creating a general Test for PR here is a version for my related app:
https://gist.github.com/webdevilopers/66f24f5fff50d0d460f8#file-payrolltest-php
The second test testPreUpdateIsCalledWhenChangingReferenceOneEntityAndAnyField works fine and calls the preUpdate listener. BECAUSE I am changing at least one regular field here (regHrs).
Simply updating the ReferenceOne pointing to an Entity does not call the preUpdate method.
Hope this helps?

@webdevilopers oh I think ODM is behaving correctly, you are updating only $branch field which is not tracked by ODM since it's not annotated by our mapping. As a quick fix I'd set some ODM mapped field like $branch_id in setBranch() method so ODM's UnitOfWork will notice there is something to be updated.

But also please note that I don't know how @Gedmo annotated fields should behave as I have never used these Extensions so above explanation is valid from ODM point of view :)

Good advice, @malarzm ! I will follow the discussion on the Gedmo Extension on other issues e.g.:

https://github.com/Atlantic18/DoctrineExtensions/issues/750

Indeed the ODM itself works fine. This issue is really related to the gedmo reference listener.

This problem exists until now.
When I update only a Gedmo\ReferenceOne attribute and I flush() that object, preUpdate() is not triggered.
But when I update Gedmo\ReferenceOne attribute including another ODM field and I flush() that object, preUpdate() is trigerred.
Is there any workaround ?

The workaround is exactly what you wrote: update a field the ODM is aware of so it can trigger a preUpdate event.


Support objectContaining in toHaveBeenFetchedWith

✨ Feature proposal
Support objectContaining in toHaveBeenFetchedWith
🎯 Motivation
Improve test quality allowing to check only the relevant parts of the body
👀 Example
  expect('/demo/').toHaveBeenFetchedWith({
    method: 'POST',
    body: expect.objectContaining({ sample: "false" }),
  })

💬 Comments

What do you think about having another configuration key called something like partialBody. Then we can move the logic of objectContaining inside of the validation of that configuration.
If we do that we should have some way of avoiding collisions between the body and partialBody configurations. This could be done by giving priority to body to partialBody for example.

If it's possible I would prefer to use expect.objectContaining which is native from jest instead of adding our own method


Make a third party tools page

To link things which work with rclone
Eg

https://github.com/rhummelmose/rclonesyncservice

Any suggestions should have a desired link text and a link.

@hashbackup do you want to put hashbackup here?

Sure, thanks

Need to check with dokany (fuse windows) I see something is being done with rclone https://github.com/dokan-dev/dokany/issues/406

@hashbackup - can you do me a link + link text for the page please?

https://github.com/brandur/rhttpserve

A tiny HTTP server that can serve files out of any rclone remote. Includes a command line utility to generate time expiring Ed25519-based signed URLs (similar to a signed S3 URL) that will be verified by the server before it agrees to send a file.

This one is sort of "meware" in that it's largely created to be personally useful, but could potentially be interesting to someone else.

@brandur nice one :-)

http://www.hashbackup.com
HashBackup is an efficient multi-threaded command-line backup system for Linux, FreeBSD, and OSX.  Features: multiple versions of files, file retention, combining small files into larger arc files, splitting huge files, variable-block dedup, local encryption, mountable backups (fuse), backup verification, and support for many "dumb" storage systems such as S3, Google, ftp, rsync, ssh, etc.  Rclone is supported as a transport protocol for storage systems not natively supported by HashBackup.
Thanks Nick!

I've made simple cross-platform GUI for rclone: https://mmozeiko.github.io/RcloneBrowser/
Works on Windows, macOS and GNU/Linux.

@mmozeiko

I've made simple cross-platform GUI for rclone: https://mmozeiko.github.io/RcloneBrowser/
Works on Windows, macOS and GNU/Linux.

That looks amazing! I'll certainly put that on the page.
It would be interesting to know if there are things you'd like rclone to do to make your life easier.

I think almost everything is pretty good already now.
There are few minor things that could be better:

show full file name for upload progress, currently rclone cuts characters from front if the total length is greater than 45 chars.
somehow combining lsl and lsd commands in one. Currently I'm invoking both of them every time user goes into folder to get both files and folders.

I've put these in the wiki now: https://github.com/ncw/rclone/wiki/Third-Party-Integrations-with-rclone
And the wiki will link from the main website shortly.
Please update your entries as you wish!
BTW @mmozeiko I recently made the lsjson command for integration purposes - you should find it works much better than ls and lsd.

Hmm, is json format best for this? Currently I'm reading ls and lsd output line-by-line. As soon as rclone produces new line, I'm reading, parsing and processing it. For json most likely I'll need to parse whole output before starting to process (which means UI will block, or I'll need to move reading to separate thread). Or I'll need to write some hacky incremental parser... which I would prefer not to do.

@mmozeiko I designed the output format so you can either read it in one gulp, or read it line by line. Eg
$ tree /tmp/ls
/tmp/ls
├── directory
│   └── file3.txt
├── file1.txt
└── file2.txt

1 directory, 3 files

$ rclone lsjson /tmp/ls
[
{"Path":"directory","Name":"directory","Size":-1,"ModTime":"2017-07-10T11:04:28.271497613+01:00","IsDir":true},
{"Path":"file1.txt","Name":"file1.txt","Size":9,"ModTime":"2017-07-10T11:04:01.43147201+01:00","IsDir":false},
{"Path":"file2.txt","Name":"file2.txt","Size":9,"ModTime":"2017-07-10T11:04:03.991474451+01:00","IsDir":false}
]

$ rclone lsjson -R /tmp/ls
[
{"Path":"directory","Name":"directory","Size":-1,"ModTime":"2017-07-10T11:04:28.271497613+01:00","IsDir":true},
{"Path":"file1.txt","Name":"file1.txt","Size":9,"ModTime":"2017-07-10T11:04:01.43147201+01:00","IsDir":false},
{"Path":"file2.txt","Name":"file2.txt","Size":9,"ModTime":"2017-07-10T11:04:03.991474451+01:00","IsDir":false},
{"Path":"directory/file3.txt","Name":"file3.txt","Size":9,"ModTime":"2017-07-10T11:04:28.271497613+01:00","IsDir":false}
]

So if you want to parse it line by line, ignore lines with only [ and ] and strip any trailng commas of lines to get a valid JSON object.

Oh, this is nice. I'll definitely check it out. Thanks!

@ncw

I've put these in the wiki now: https://github.com/ncw/rclone/wiki/Third-Party-Integrations-with-rclone

Perhaps you could update the page to point to a new incarnation of the repo, just put up to date...
see
https://github.com/kapitainsky/RcloneBrowser/releases

@ncw

I've put these in the wiki now: https://github.com/ncw/rclone/wiki/Third-Party-Integrations-with-rclone

Perhaps you could update the page to point to a new incarnation of the repo, just put up to date...
see
https://github.com/kapitainsky/RcloneBrowser/releases

Well you can do that - it is a wiki :-)

Done


Top-level script doesn't check for the input P4 file

When the top-level bash script is invoked with a non-existent P4 file path, the file is not checked for existence and the p4c compiler is invoked leading to failing of the p4c compiler.

Fixed in #27


ioeffect Task

I have been using the ioeffect Task type alias/object to bring Java APIs into a pure context.
Is this (https://github.com/scalaz/ioeffect/blob/master/ioeffect/src/main/scala/scalaz/ioeffect/package.scala#L17) something you'd consider for ZIO as well?
I have found it to make operating with Java APIs much more convenient.

@NeQuissimus Yes, for sure. In the interop module.

Also I believe @fommil has a much more extensive version of this somewhere on Gitlab.

@jdegoes I have my own prelude which has a few extensions to this, but not much (it's back on github because that's what my publisher wants me to use for continuous release of the book) https://github.com/fommil/fpmortals/blob/master/example/src/main/scala/fommil/prelude/prelude.scala
I'm not sure there is anything in here you'd want to take, it's mostly convenience methods to turn IO things into Task so I don't have to write Throwable everywhere

Hmm, that's not what I was thinking about. There's somewhere that you defined IO specialized to ZIO[Throwable, ?], and added lots of functions to deal with the fixed error types (e.g. IO.fail with Throwable). That could make a good basis for Task if it's more fleshed out than @NeQuissimus snippet.

I think that's just the code in the scalaz-ioeffect repo in the package object

@fommil What happened to upgrade-scalaz-to-cats repo on Gitlab?

I moved it to the attic... oh you don't want to go near that dumpster fire. I was doing horrible things.
https://gitlab.com/fommil/attic/tree/master/upgrade-typelevel-to-scalaz/src/main/scala

Ah, this is what I was looking for:
 // bless me father...
  type ZIO[E, A] = scalaz.ioeffect.IO[E, A]
  @inline final val ZIO: scalaz.ioeffect.IO.type = scalaz.ioeffect.IO
  type IO[A] = scalaz.ioeffect.Task[A]
  object IO {
    type Par[a] = scalaz.ioeffect.Task[a] @@ scalaz.Tags.Parallel

    final def apply[A](effect: =>A): IO[A] = ZIO.syncThrowable(effect)

    final def now[A](effect: A): IO[A]     = ZIO.now(effect)
    final def point[A](effect: =>A): IO[A] = ZIO.point(effect)
    final def pure[A](effect: =>A): IO[A]  = ZIO.point(effect)

    final def sync[A](effect: =>A): IO[A] = ZIO.sync(effect)
    final def async[A](
      register: (scalaz.ioeffect.ExitResult[Throwable, A] => Unit) => Unit
    ): IO[A] = ZIO.async(register)

    final def fail[A](error: Throwable): IO[A] = ZIO.fail(error)

    final def unit: IO[Unit] = ZIO.unit

    import scala.concurrent.duration.Duration
    final def sleep(duration: Duration): IO[Unit] = ZIO.sleep(duration)

    import scala.concurrent.{ ExecutionContext, Future }
    final def fromFuture[E, A](io: IO[Future[A]]): IO[A] =
      ZIO.fromFuture(io)(ExecutionContext.global)
  }

Looks the same as ioeffect though...

So, let's just bring the ioeffect.Task in here?!

Yeah that's just your originally quoted code :-)

Btw, please make sure everything in my book's coverage of ioeffect makes it into zio, it'll mean I don't need to rewrite anything :grinning:


Send current IP address during network provisioning

Problem
For multi-admin scenarios, the device address needs to be detected by the additional commissioners. In the current flow, the device sends its IP address to the commissioner as part of the network provisioning flow. Eventually, it'll be changed to DNS-SD.
In current flow, the network provisioning state machine doesn't send the IP address to the commissioner, if it was already connected to the network. The state machine needs to be updated, so that it can detect it has a valid IP, and send it to the commissioner.
Summary of Changes
When network provisioning command is received from the commissioner, the device will

check if it is already connected to the network
find the interface that's up, is not loopback, and is not an access point (in case it was configured)
get the IP address of the interface, and send it to the commissioner.

Note
This is a temporary solution. Once Network Provisioning cluster and DNS-SD is implemented/integrated, the NetworkProvisioning.cpp/.h class implementation will be removed. This change is contained within this class, so it'll be removed along with it.

@saurabhst, any feedback?

@saurabhst @jelderton ?


Add load_plugins argument to SmirnoffForceFieldSource.from_path

May resolve #451
I created openff/evaluator/data/test/forcefields/buckingham-force-field.offxml by blindly following the instructions in smirnoff-plugins' README. The package is conveniently already a dependency for tests.

I wanted to add a test to ensure that plugins weren't loaded without adding in the flag. That test ran locally when only calling this new unit test but always failed in CI, I think because plugins were loaded elsewhere in tests. I'm just going to drop that part of the test; if the default behavior of this method is changed in a surprising way, I'd expect some other test to be failing as well.

@jthorton could you give this a look/spin and let me know if you think it's close to what you had in mind?


IMU implementation

This PR includes the implementation of the sensor interface for the LMS-whatever IMU. There is still lots of configuration that can be done for it, but I am merging it into main for now because it's functional enough for spaceport. The dev branch will remain open for changes.

No idea why clang does not agree with my local clang-format.


Update README with Docker compose Environment Variables

Closing issues
closes #451

@codermanu please check Codacy review and fixerrors.

@codermanu please check Codacy review and fixerrors.

I've tried to fix these codacy space errors. Still showing 'a missing new line after list item' error although there is a new line. Could you plz merge this @root5533 ayye?

Sure that won't be an issue. One last thing to do. You need to squash all the commits into a single commit. Else the repo will have multiple unnecessary commits. Then I'll merge.


Nearly identical labels

I noticed that there are two nearly identical labels:

http://sideeffects.embl.de/labels/prescription/20091215_fcd4cf8a-e3e6-7da9-6355-c60b7400291a/C0018681/
http://sideeffects.embl.de/labels/prescription/20061020_2dcdd1c3-6728-45fb-97aa-de21f1f5ccad/C0018681/

which happen to differ in a critical way:

6% vs 63% for headache when using the patch, which results in:

That is indeed strange. However, it's nothing that can be fixed on SIDER's part, as we get these labels straight from the FDA (Structured Product Labeling). I can only suggest that you use the median frequency to guard against outliers.
(Given that placebo is already at 18%, it's guess that the 3% are an error that has been corrected in the 2009 label.)


Feat/update db listing

What
updated items table

key
value_type

id
TEXT PRIMARY KEY (UUID)

name
TEXT,

category_id
TEXT,

image
TEXT,

price
INT,

is_auction
INT,

on_sale
INT

default valuse

price = 7000
is_auction = false (0)
on_sale = true (1)

added features

db initialization: create mercari.sqlite3 file when it doesn't exist
resolve #2
added /update/status/{id} endpoint for updating on_sale status to false

How

create new category

curl -X POST http://localhost:9000/categories -d name=food

post items from frontend / or by curl

http://localhost:3000/

check item list / database

curl -X GET http://localhost:9000/items

you should see something like

{"items":[{"id":"3e0ab127-0320-4767-892f-1d6b74770af4","name":"test","category":"food","image":"9b97e79579b76c8800fbdab5a936c22191dddb29cad249904d661ad6fdc09b96.jpg","price":7000,"is_auction":0,"on_sale":1}]}

LGTM!


NTR - Fix connect:endpoint:set command

The problem was that the parse_url did not worked well if the host only contained sn.connect.local.

Coverage increased (+0.02%) to 33.825% when pulling 0b529b83b998985c1f5c4cb1165ca3a11faa6756 on ntr/fix-endpoint-command into 80384e427788365a40e3f9bc841aea75aa59a751 on master.


Add New Driver

Hello, I'm trying to add Aliyun OSS support to Drive, but have no idea how to add a new driver using the extend method. Any chance someone could explain how the file structure should look like, how to register the new driver, etc? Thanks!

Hi @borie88,
Adonisjs uses node-flydrive under the hood. You might consider adding a pull request there.

@antwaanvh Pull request made -- thanks!


vendor: docker v27

fixes some otel vendoring madness
fixes https://github.com/tilt-dev/ctlptl/issues/350
Signed-off-by: Nick Santos<EMAIL_ADDRESS>

actually, i don't think this fixes it, hold on

nm, i was right the first time. this got fixed in https://github.com/docker/cli/pull/5188, which turns the telemetry off by default. so i think this is the right change.


Fix public demo

Jenkins job runs out of space (although @thinkh removed some of the older builds).

@sgratzl Please have a look at Jenkins when you are back.

Works. Thanks Sam.

Renamed: taggle-daily.caleydoapp.org


consider changing ui.virtual.inlay-hint

This is how helix looks with inlay hint enabled

I cannot see them tbh, i don't know how that can addect the rest of the UI, i'm just suggesting thing here
I'm using stylix for this so i cannot easily modify the theme myself
PS: the theme is not modified between this repo and my pc, that's why i'm reporting this here

This is how it looks for me too, only using a different theme. Inlay hints are unreadable.


formatting does not work for newly created JavaScript file

From @misaxi on July 7, 2016 11:49

VSCode Version: 1.2.1
OS Version: Win/Mac

Steps to Reproduce:

open VSCode with project folder
create new file, with some code
format code via shortcut or command
nothing happens
switch to previous created file and change some thing
it works

Copied from original issue: Microsoft/vscode#8833

Works for me. See Attachement. Do you have any additional steps?

From @misaxi on July 10, 2016 12:16
@dbaeumer I don't know if you are using a beta version. My VSCode icon is in blue :)
But I've upload my gif to show what exactly happened.
Highlights

open a folder with files. Code formatting works.
create a new file, formatting does not work.
close folder, and reopen the folder, it works again.

Thanks for the steps. The difference to what I do is I create the new file in the explorer whereas you create a new empty file and then save. Need to see what differences in code paths that results in.

The error occurs in the tsserver. The trace is:
Sending request: format (197). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/javascript/abc.js",
    "line": 1,
    "offset": 1,
    "endLine": 1,
    "endOffset": 60
}

Response received: format (197). Request took 3 ms. Success: false . Message: Error processing request. Cannot read property 'lineNumberToInfo' of undefined

Some more tracing. This only happens if there is already a js in the workspace. If a first js file is created that way, no problem occurs. The full trace from the open of the test.js file for which formatting fails is:
Sending request: open (3). Response expected: no. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "fileContent": ""
}

Sending request: change (4). Response expected: no. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "line": 1,
    "offset": 1,
    "endLine": 1,
    "endOffset": 1,
    "insertString": ""
}

Sending request: geterr (5). Response expected: no. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
        "p:/mseng/VSCode/Playgrounds/bugs/8833/abc.js"
    ]
}

Event received: syntaxDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "diagnostics": []
}

Event received: semanticDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "diagnostics": []
}

Event received: syntaxDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/abc.js",
    "diagnostics": []
}

Event received: semanticDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/abc.js",
    "diagnostics": []
}

Sending request: projectInfo (6). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "needFileNameList": true
}

Response received: projectInfo (6). Request took 4 ms. Success: true
Result: {
    "fileNames": [
        "p:/mseng/VSCode/vscode/extensions/typescript/server/typescript/lib/lib.d.ts",
        "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js"
    ]
}

Sending request: change (7). Response expected: no. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "line": 1,
    "offset": 1,
    "endLine": 1,
    "endOffset": 1,
    "insertString": "console.log( \"Hello World \")                   ; // Comment"
}

Sending request: geterr (8). Response expected: no. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
        "p:/mseng/VSCode/Playgrounds/bugs/8833/abc.js"
    ]
}

Event received: syntaxDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "diagnostics": []
}

Event received: semanticDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "diagnostics": []
}

Event received: syntaxDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/abc.js",
    "diagnostics": []
}

Event received: semanticDiag (0).
Data: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/abc.js",
    "diagnostics": []
}

Sending request: configure (9). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "formatOptions": {
        "tabSize": 4,
        "indentSize": 4,
        "convertTabsToSpaces": true,
        "newLineCharacter": "\n",
        "insertSpaceAfterCommaDelimiter": true,
        "insertSpaceAfterSemicolonInForStatements": true,
        "insertSpaceBeforeAndAfterBinaryOperators": true,
        "insertSpaceAfterKeywordsInControlFlowStatements": true,
        "insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
        "placeOpenBraceOnNewLineForFunctions": false,
        "placeOpenBraceOnNewLineForControlBlocks": false
    }
}

Response received: configure (9). Request took 5 ms. Success: true
Sending request: format (10). Response expected: yes. Current queue length: 0
Arguments: {
    "file": "p:/mseng/VSCode/Playgrounds/bugs/8833/test.js",
    "line": 1,
    "offset": 1,
    "endLine": 1,
    "endOffset": 60
}

Response received: format (10). Request took 3 ms. Success: false . Message: Error processing request. Cannot read property 'lineNumberToInfo' of undefined

Moving to the TS team since this looks like a project setup , ScriptVersion problem.

@dbaeumer Are you using the EditorConfig for VS Code plugin?
@mhegazy I don't think it is a Typescript bug. It seems more a bug from the EditorConfig plugin. Let me explain what I mean.
I've had a similar problem: the intellisense didn't work when I created new files. After some tests, and removing all my plugins, I've realized that the problems stopped. After reinstalling my plugins one by one I could identify the guilty one: EditorConfig for VS Code.
I can reproduce this problem  as many times I install and uninstall the plugin. So, after some researches, I found this issue and another one. Last is a EditorConfig's issue and its related with autocomplete/intellisense.
When I've got here and have noticed the exactly same error message (Message: Error processing request. Cannot read property 'lineNumberToInfo' of undefined) I knew these issues should be related. So, again, I reproduce the tests installing and uninstalling the plugin, but, this time, not only checking the autocomplete, but also the formatter.
And guest what? Both problem occurs only when EditorConfig plugin is installed.
Plugin installed:

Plugin uninstalled:

No

I didn't expect this answer, @dbaeumer.  😕
Do you have any installed plugin? Could you reproduce the bug with no installed plugin?

I don't think it is another plugin's problem, as I can repro on a clean installed vscode. Investigating.


[Bug] [ui] sub_process node open sub_task show empty page

Search before asking

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

What happened
version:1.3.8
problem:when i use sub_process node,it works ok,but when i click enter sub_task,it shows empty page.
What you expected to happen
I see the url is http://localhost:12345/dolphinscheduler/ui/#/projects/definition/list/31?subProcessIds=35,i guess the url lost project_id,then i use http://localhost:12345/dolphinscheduler/ui/#/projects/4/definition/list/31?subProcessIds=35,it opens ok.
How to reproduce
use 1.3.8,just create sub_process node ,then click the enter sub_task button
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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


Exporting to CSV writes a 0 byte file, 'There are no transactions available to export' message

Steps to reproduce the behaviour
With my GnuCash file loaded:

Select 'Export...' from the burger menu
Select SINCE date or All time (doesn't matter)
Export 'Save As...', with 'Comma-separated values'
Touch Export button

Expected behaviour
Creates a .csv file with transactions in.
Actual behaviour
Prints a There are no transactions available to export message and writes a 0 byte (empty) file.
Software specifications

GnuCash Android version: 2.5.2
System Android version: 7.0
Device type: Tablet (Samsung Galaxy Tab S2)

Seems to be the same underlying problem as reported in https://github.com/GnuCash-Pocket/gnucash-android/issues/98

The error appears also for the Quicken Interchange Format (qif).

Duplicate of issue #140  ?

Duplicate of issue #98 ?

Yes, I think so.


Add Copy Signin Link Button

Use new shortcuts feature to allow a one-click copy link button for the current page that can be saved or shared.  Very useful to share links with colleagues in an environment with many accounts.
https://docs.aws.amazon.com/singlesignon/latest/userguide/createshortcutlink.html?icmpid=docs_sso_console&ck_subscriber_id=908327837

Very cool, I didn't realize they added this.


Sorting & Card Colors

I've noticed that if I sort by GIHWR on P1P1 that it does not save the choice, and I have to click GIHWR on every pick.  A default sort method option would be nice.
Why do all cards with a kicker cost display as gold cards?  Really throws me off when I'm drafting.

Hi Ganadai,
The application automatically sorts the tables by the last column whenever an update is detected. You can set the last column to GIHWR if you want the application to sort by that field for each pick.
The application assigns row colors based on the card's color identity. I agree that this is a problem for DMU and I'm currently working on some modifications to address it.
Thanks for the feedback.

Thanks for the info!  I figured out I can edit the card colors in the .json data files for now, but since all the card set numbers are ordered by color, it shouldn't be too difficult to program something like
If set = DMU & set number >=2 & set number <= 39 Then color = White
That explains why you had GIHWR in the last column!  Tool tips in the settings would be great.

Enhancement made to version 3.03


Preston Street KEN

This place geolocates near Preston on Stour. Please move it and its search records as an alternative name for Preston on Stour.
Geoff

Done


Used fslpython to install but can't run quantiphyse

Hi there, I was able to add the path containing the quantiphyse executable to my bash_profile, but when I typed quantiphyse I got the following error:
Traceback (most recent call last):
File "/home/[redacted]/.local/bin/quantiphyse", line 6, in
from quantiphyse.qpmain import main
File "/home/[redacted]/.local/lib/python3.7/site-packages/quantiphyse/qpmain.py", line 30, in
from PySide2 import QtGui, QtCore, QtWidgets
ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /software/matlab/R2020b/bin/glnxa64/libQt5Core.so.5)
Am I missing some program that has this /lib64/libstdc++.so.6 file?
Thanks!

I've continued to work on troubleshooting. It looks like the CXXABI importerror was because that version of CXXABI was missing in the lib64/libstdc++.so.6 file. I checked my LD_LIBRARY_PATH variable and /lib64 was listed first. When I loaded gcc/6.4.0 in my terminal, that moved /hpc/software/gcc/6.4.0/lib64 to the top of my LD_LIBRARY_PATH and now I get a different error when trying to run quantiphyse:
Traceback (most recent call last):
File "/home/yfc938/.local/bin/quantiphyse", line 6, in
from quantiphyse.qpmain import main
File "/home/yfc938/.local/lib/python3.7/site-packages/quantiphyse/qpmain.py", line 30, in
from PySide2 import QtGui, QtCore, QtWidgets
ImportError: /home/[redacted]/.local/lib/python3.7/site-packages/PySide2/Qt/lib/libQt5Qml.so.5: symbol _ZTI26QAbstractDynamicMetaObject, version Qt_5_PRIVATE_API not defined in file libQt5Core.so.5 with link time reference
Do I just not have the right environment loaded?
Thanks again.

I would suggest installing quantiphyse in its own conda environment, using fslpython is not recommended any more. It looks like PySide/Qt5 is not compatible with the libraries in fslpython and if you try to change things to fix this you could end up breaking FSL.

Closing as can't generally guarantee that installation using fslpython will work.


Minor grammar fix in TUF overview

"These files" and "They" are plural.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:Anvil/notary.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:Anvil/notary.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Can one of the admins verify this patch?

Thanks for the fix, LGTM!

Jenkins, test this please


Site update

Promote quarry and add subtypes

Line 255. Ending Full Stop needs to change to Semi-Colon.
Otherwise tech is good.

Well spotted. Changes made as requested


Adjacent characters are given a  lower rank in command palette than distant characters

When using the command palette, ordering of results fails to take into account adjacency of characters.
Whether this is a bug report or a feature request really depends on whether effort was already made to make the search results account for adjacency or not.  The only other issue I can find related to this is https://github.com/Microsoft/vscode/issues/21019, but that seems to be dealing with a different matter, so I will include version information, but I'm proceeding under the premise that this is a request for a new feature rather than a bug report.
The case for the value of this feature

Although the ability to search through commands without having to type in every consecutive character is valuable, it seems to me that users will virtually never want or expect the results of their search to prioritize results with a disconnected match above results with a connected match.  In the image above, I typed "vim" and expected to see all commands related to Vim mode at the top of the list.  I cannot imagine a case where I would type in the characters vim and expect "View: Minimize Other Editor Groups" at the top of the list.  If I were looking for "View: Minimize Other Editor Groups", I would expect to have to type more characters, and certainly be prepared to do so.  I would most likely type view:moeg—unless the command I wanted rose to the top before I finished typing that.
Hopefully the example I've given is enough to demonstrate that the behavior I'm describing would be preferable.  But if I've left any questions unanswered, please ask for more information.
Thanks!

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:23:26.125Z)
OS Version: Darwin x64 15.6.0
Extensions: the listing length exceeds browsers' URL characters limit

Steps to Reproduce:

Ensure that you have the Vim plugin installed.
Open command palette with F1 or  ⌘  ⇧ P.
Type "vim".
Note that expected results appear at the bottom of the list.

@bpasero, is it covered in another issue? How is this not a bug?

Looks like a duplicate of #14727 which is in the backlog, but it has fewer (5) upvotes...


allow custom attributes, do not throw them away. This closes #42

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

This closes #42

related issue is here: https://github.com/adobe/aio-cli-plugin-app/issues/381


Missing QB drop downs and Django API 502 errors

Describe the bug
All codelist drop downs in the QB are blank. However, data can still be accessed.
Django API calls are returning 502 Bad Gateway errors
To Reproduce
Steps to reproduce the behavior:

Go to 'https://iatidatastore.iatistandard.org/api/activities/?sector_category=111&format=json&fields=title,sector,id'
See Error

3.Go to 'https://iatidatastore.iatistandard.org/querybuilder/core-filters'
4. Click on reporting organisation/sector category/sector etc.
5. See Error
Expected behavior
Expect drop downs to be populated
Expect Django API calls to be working
Screenshots
If applicable, add screenshots to help explain your problem.

We cleared logs and keeping eye out on new logs, but nothing so far and all up. So should it break again we should spot it. Will update this ticket if we need to report on the matter.

note to self: investigating on how to move the codelist etc to the Solr endpoints.

Very likely caused by implementation of #2492 as production datasets are way larger than the subset dataset used in staging.

Awaiting #2492 commit revert. cc @sylvanr @luminhan

Waiting for Wendy and Kate's input pre commit revert

Not seeing any issues anymore, please do report should find anything @amy-silcock

Hi Siem, the drop downs are there but they're still taking 5 seconds to load.  Both for reporting organisation and others.

I have created an optimise issue https://github.com/zimmerman-team/iati.cloud/issues/2551

The Django API simultaneous feature release has caused unintended issues with the datastore and query builder. We agree this commit should be reversed for now.


Volume set to Nas Storage Public folder

I am trying to mount my NAS public folder to the storage location. The path is in the attached. please help, been trying to figure this out from many tutorials !

If you use the container station, there is a tab in container settings called "Shared Folder" where you can map folders on the NAS to the container.

Closing this issue.  Please re-open if needed.


I adopted your method and won first place in the 2022 GigaDetection challenge

Thank you for your great design, your model is very helpful for small object detection with object balancing.

Congrats 🥂🥂, Thank you for sharing the great news!!

@steinate congrats on winning the challenge. Can you please share your iterative inference code? My email is<EMAIL_ADDRESS>


Navbar menu animation on smaller devices

On mobile phones and tablets, the navbar toggle menu animation repeats every time you open it.

Adding to this, the animation is a bit too slow


add install instructions

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Codecov Report

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

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   71.89%   71.89%
=======================================
  Files           5        5
  Lines         274      274
=======================================
  Hits          197      197
  Misses         77       77

Continue to review full report at Codecov.

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

@edgarriba just rebased your PR, mind check that is it still correct with respect to large Bolts changes...
cc: @williamFalcon


Using batch event upload api manually

I am not sure about this one being a feature-request or not. But I would like to be able to send multiple events batched in one single request to amplitude, without needing to wait for a specific amount of time or a behavior similar to batchEvents option.
There are times that I want to submit more than one (sometimes 20-100) events based on a user's single action. What do you offer to do in such scenarios?
I would like to be able to do something like this:
let events = []; // list of events, each element includes eventProperties and eventType
let amp = amplitude.getInstance();
amp.logBatchEvents(events);

And Identity (User) information should be the same for all the events.

I think you want all the events to be sent immediately?
Something like our private api _sendEventsIfReady?
https://github.com/amplitude/Amplitude-JavaScript/blob/master/src/amplitude-client.js#L462

Yes! That's exactly what I mean.
I took a look at the source and I think using batchEvents config will cause some inconsistencies. I have introduced forceDiffer argument to logEvent prototype method, so one can differ a call manually even if batchEvents config is set to false.

Cool, I plan to add flushEvents to other platforms too. So this is definitely a valid feature request. Will do it when I cleared out other priorities.

I hope the PR gets merged sooner :))
I really need this feature in my current project.

We need to discuss this internally.


sap.m.MultiComboBox strange keyboard behavior

OpenUI5 version:
1.34.8
Browser/version (+device/version):
Chrome 49
URL (minimal example if possible):
https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.MultiComboBox/preview
Steps to reproduce the problem:

Open the URL above
Move the focus to the input
Press arrow up key

What is the expected result?
The value should not change.
What happens instead?
The value change to "Webcam"

Hi and thanks for your message!
Unfortunately, this is how the control works by design, but I will forward your input to the expert.
Kind regards,
Christiane

Hey gladiator001,
I really appreciate how much information you have given, making it really easy to reproduce the described behaviour.
But personally, I do not see the exact behaviour of this control as a bug or problem itself - it is much rather a nice to have feature that should be toggled with a property or not.
Also I would appreciate the list being repeating, so if I press down when I'm at the last index ( in the given example "Webcam") I would love to see the first input of the list and vice versa.
Kind regards,
Andre

I agree, works as designed. @Gravetow If you would like to contribute the keyboard rotation feel free :-)


Possible bug regression: Can't select groups with Okta integration

Setup
Rancher 2.6.3-patch1
Describe the bug
Slack thread here
As user description:
There is not any group in the dropdown in my cluster settings, I'm using Okta an can log in without problems, in one of my older clusters (Rancher 2.5.3) it seems to work fine, both of my SAML applications in Okta are configured the same way
the difference is that my installation is clean (installed 2.6.3-patch1 a month ago)
Taking a look into the SAML Assertion the assertion that 2.6.3-patch1 makes (or gets) does not have the groups attribute, and the assertions that 2.5.3 makes (or gets) does have the groups attribute
To Reproduce
As user description - Same as related issue Can't select groups with Okta integration
Result
User cannot see groups in dropdown in Cluster Settings

Expected Result
User should be able to see his groups in Cluster Settings
Additional Screenshots
As user description:
This is my Attribute configuration Okta side
2.6.3-patch1 only gets userName and displayName
2.5.3 get userName, displayName and the groups list

This bubbled up again. Internal reference: SURE-2882

@gaktive yes please

https://github.com/rancher/rancher/issues/38029 filed for backend to investigate on that side. UI will place this in Backend Blocked until either there's work we need to do or anything to test/validate independently of QA.

In my opinion, I don't believe y'all are going about this the best way (scraping attributes from the assertion) because one will only ever to be able to see groups which one belongs to. I would suggest that providing an Okta API key and hitting the Okta Groups API periodically to sync-up is the best path forward.

Related backend work (who are driving this issue) have pushed to 2.6.x.

This was done in 2.7.5 per https://github.com/rancher/dashboard/issues/8675 and related backend tickets. Closing.


Refactor.cascade delete

AB#26365
Describe your changes
See descriptions in devops tasks.
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added tests wherever relevant
[ ] I have made sure that all automated checks pass before requesting a review
[ ] I do not need any deviation from our PR guidelines

failing Test Service: Code is because of https://github.com/global-121/121-platform/pull/6252 that needs to be merged


Simple search

Search down/up in any screen.
Bind to / and ?, n and N to go to next/prev?
n is currently bound to moving the cursor down. May want to bind ? to help.
Does it make more sense to have separate vim/emacs-like keybind profiles?

This would be great!
My guess is that people who prefer Emacs-like keybindings are likely to use Emacs and prefer to stay in Emacs, hence use Magit rather than gitu. So I'd argue that it makes sense to focus on making a good workflow for those using vim-style keybindings (which seems to be gitu's default). In particular, I'd support removing the p and n bindings to select previous/next to enable them to be used for other things.
(Note: I use vim-style keybindings for code editing and I'm a Magit user who basically only uses Emacs - with Evil mode for vi-style keybindings - for Magit, so I bring some hefty bias :sweat_smile:)
That said, it's going to be hard to get anything perfect - I'd love to be able to use h and l for fine-grained text selection when in visual mode (for example to search for a commit by message, then copy something like the hash), but there are obvious conflicts with help and log actions. You could get around that with full-on modes like Vim has, but I imagine that adds significant implementation complexity, and increases the barrier to entry for those not used to Vim. Certainly not worth consideration in the short term.

I think dropping n/p for navigation might be reasonable. In the future, the keybinds should be configurable anyway.
Been thinking about adding a "copy hash" keybind somewhere.

How popular is ? for search? I use / and Ctrl+F, but never ?. Most search just wraps around, so I very rarely need to do backward search with the shortcut. Using ? for help, however, ever implemented here in GitHub.


[BUG] Empty link group shows as Other

Description
If I create a LinkFree profile with the following configuration:
Group 1
Link 1
Group 2
Link 2
Link 3
It will display as
Other
Link 3
Screenshots

Additional information
We probably don't need to see the number of links in the group, or the name of the other group.

Thanks for the suggestion Dean 👍
I think if we don't use other then Link 3 will appear as part of the previous group above it and cause confusion.
I will close for now, but the issue unlocked feel free to add more thoughts


Add Kaustubh

Hi Please add me to the contributers :) ⚡

Please merge! :)

@BEPb Kindly merge the PR


Updated validations.py python script.

Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[ ] Appropriate changes to README are included in PR

i have done the test


[BUG] - Clearing the autocomplete keeps the popover closed

NextUI Version
<EMAIL_ADDRESS>Describe the bug
Once I select an option in the Autocomplete, then I proceed to clear the input using the clear button, then I start typing but the popover with options won't appear anymore.
Your Example Website or App
https://nextui.org/docs/components/autocomplete
Steps to Reproduce the Bug or Issue

Use any autocomplete example from your docs
Type cat and select it
Clear the input with the clear button
Type dog

Expected behavior
The popover with the option "dog" should appear
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome

I can't reproduce on Chrome (Linux Mint). Is there any specific prop that needs to be passed?

I can reproduce the issue with the above given steps in documentation page.

It sounds like the issue you're encountering with the Autocomplete component is related to the state management of the input and the visibility of the suggestion popover after clearing the input.
Can you assign this issue to me? , will be happy to work on this.

@0xAmansol go ahead.

In Document I can see this concern, but when I started to work on this in local, it was working fine.
Uploading Screen Recording 2024-10-27 at 1.46.21 PM.mov…

In Document I can see this concern, but when I started to work on this in local, it was working fine.
https://github.com/user-attachments/assets/cb561bfb-a038-4aeb-98c7-7eebeeaa65c7

Hey, is it perhaps because you're clicking outside?

Hey, I have imported the component and it does not work.
http://surl.li/hptzqz here is the sandbox link you can try checking out here, however i have done some changes in the component source file , but for right now i am unable to test it as i am running into some error while opening the components page locally, i have tried changing EOL of the component file from CRLF to LF but it didnt work, @wingkwong can you suggest a resolution here?

Having the same issue. It's also happening in the NextUI doc.
If you search -> select -> clear -> [don't click anywhere] -> type again -> the popover doesn't show up.
https://github.com/user-attachments/assets/930555a1-4a5d-495c-bc95-c9b58183aae1


chore: refactored saved query id parameter to always expect int64

Description
Updated usage of the saved_query.id field to always expect int64. This includes reading the value in from the API handler and passing through to the database functions.
Motivation and Context
This PR addresses: BED-4698
Light refactoring to make savedQueryID usages more consistent overall, including always treating as an int64 and using the same naming conventions everywhere.
How Has This Been Tested?
Existing tests pass, no functional changes
Screenshots (optional):
Types of changes

Chore (a change that does not modify the application functionality)

Checklist:

[x] I have met the contributing prerequisites

Assigned myself to this PR
Added the appropriate labels
Associated an issue: https://github.com/SpecterOps/BloodHound/issues/672
Read the Contributing guide: https://github.com/SpecterOps/BloodHound/wiki/Contributing

[x] I have ensured that related documentation is up-to-date

Open API docs
Code comments (GoDocs / JSDocs)

[x] I have followed proper test practices

Added/updated tests to cover my changes
All new and existing tests passed

Thank you for making this more consistent!