Shift + Click to copy icon as SVG doesn't work

It was a very convenient behavior that you could Shift + Click an icon and copy it as SVG. But it seems like this is not implemented on the new website at https://lucide.dev/icons/
Now I have to click the icon at the top of the window, bring the cursor to the very bottom of the window and carefully position it exactly on the “Copy as SVG” button to click it.
Ideally you could also choose which format to use when copying via Shift + Click but personally I don't need that — just thinking about other people who might more commonly use other formats.
Thanks everyone for all the awesome work on this project so far!

@glebsexy Thanks for pointing this out! I tried to implement all the features we had. But I think I forgot that one!
I will try to make a fix!

@ericfennis "Shift + Click" on an icon worked for me. By the way the new website looks great.

Looks like the feature is added now, yay! Thank you for such a quick fix!

@schmidt-oliver Thank you, glad you like it!
@glebsexy Nice to hear!


Hi! Why when i install Vscode on my pc win 10 x64, changes normal startup to selective startup, and when i try to change in run-msconfig to normal startup, won't. I tried various option but after restart reverts in selective startup, and remains until uninstall the Vscode editor?????  Thanks!

VSCode Version:
OS Version:

Steps to Reproduce:

Duplicate to #9712


If environment variable "http_proxy" already defined , retrieved prox…

…y info from that and use (#10903)
If windows machine behind a proxy and already has environment variable "http_proxy" as below format
http://username:pass@proxyHost:port
then use those information for get over proxy when running flutter doctor.

I strongly suggest that we rather find the root cause about why Start-BitsTransfer is not honoring the Windows system proxy settings before building in workarounds like this.


Better mobile menu UI

Borders between items
Feedback when clicking on an item so you know what you clicked

Originally created by Tom Smyth at 2018-04-05 19:08, migrated from redmine-#8260

Priority changed from ? to 3

By Tom Smyth at 2018-04-05 23:09


Indices convention and consistency problems

Hi,
I'm getting confused not knowing the conventions used to define two-body integrals and two-body density matrices.
It would help to include in the documentation a clear definition of these objects like
is it dm[p,q,r,s] = < c^dagger_p c^dagger_r c_s c_q > or < c^dagger_p c_r c^dagger_s c_q > ?
Does the two-body integral eri appear in the Hamiltonian as
eri[p,q,r,s] c^dagger_p c^dagger_r c_s c_q  ? or eri[p,q,r,s] c^dagger_p c_r c^dagger_s c_q?
or something else yet?
Thanks

As an example I've tried this consistency check :
`n=4
geometry = [("H", (0.0, i*0.7414, 0.0)) for i in range(n)]
basis = "sto-3g"
spin = 0
charge = 0
mol = gto.M(atom=geometry, basis=basis, charge=charge, spin=spin)
#print(mol.ao_labels())
mf = scf.HF(mol)
mf.run()
dm1 = mf.make_rdm1()
dm2 = mf.make_rdm2()
for i in range(4):
for j in range(4):
for k in range(4):
for l in range(4):
print(i,j,k,l)
print(dm2[i,j,k,l])
print(dm1[i,j]*dm1[k,l] - dm1[i,l]*dm1[j,k])
print(dm1[i,k]*dm1[j,l] - dm1[i,l]*dm1[j,k])`
I would expect to get the 2-body density matrix from either one or the other expression  but it's not the case.
Other consistency checks that fail:

Comparing the Fock operator with hcore, j and k operators:

 j,k = mf.get_jk() veff = mf.get_veff() fock = mf.get_fock() print(fock) hcore = mf.get_hcore() print(hcore+veff) print(hcore+j+k) print(hcore+j-k) print(hcore+1/2*(j+k)) print(hcore+1/2*(j-k))
From this I conclude that fock = hcore + veff but I should also be able to express fock from hcore, j and k right? It is not the case.

Getting the one body density matrix from molecular coefficients:
According to ref 1 of the pyscf documentation, the 1-body density matrix is related to the molecular coefficient matrix, see eq. 5 of the ref.
However this small test fails:

`mo_coeff = mf.mo_coeff
dm1 = mf.make_rdm1()
print(dm1)
print(np.dot(mo_coeff,mo_coeff.T))`

Still according to ref 1 one should recover the energy from the trace of the fock operator. However I could not, even when trying different conventions.

print(np.trace(np.dot(dm1,fock))) print(np.trace(np.dot(dm1,hcore+j+k)))

Getting the one body density matrix from molecular coefficients:
According to ref 1 of the pyscf documentation, the 1-body density matrix is related to the molecular coefficient matrix, see eq. 5 of the ref.
However this small test fails:
mo_coeff = mf.mo_coeff
print(dm1)
print(np.dot(mo_coeff,mo_coeff.T))

The summation only goes over indices of occupied orbitals, so it's not equivalent to a np.dot.

but I should also be able to express fock from hcore, j and k right? It is not the case.

Should be hcore + j - 0.5*k for RHF.

The summation only goes over indices of occupied orbitals, so it's not equivalent to a np.dot.

Thanks! Should've known.

Should be hcore + j - 0.5*k for RHF.

And thanks again.

I would expect to get the 2-body density matrix from either one or the other expression but it's not the case.

Check scf.hf.make_rdm2 for the convention.

I've checked this page but found no convention definition.
Best.

I've checked this page but found no convention definition.

I mean the source code, not the documentation.

print(dm2[i,j,k,l])
print(dm1[i,j]*dm1[k,l] - dm1[i,l]*dm1[j,k])
actually you are not wrong if doing general HF. But the scf.HF here is restricted HF by default, so the expression for rdm2 looks different.

Thank you very much for the information. I now manage to find my way and understand how the HF energy can be computed using the density matrix.
I would now like to compute the HF variance. As a small test, I've started with the one-body hcore term. I would expect the variance to be
'np.einsum('ijkl,ij,kl->',dm2,hcore,hcore) - ((np.einsum('ij,ij->',dm1,hcore))**2'
or equivalently
'-0.5*np.einsum('ik,lj,ij,kl',dm1,dm1,hcore,hcore)'
However I get the value of -15.99784290451613 for the hcore term of the H4 molecule defined above, which is huge. Yet I cannot see the mistake in what I wrote?
Is there a simple way to get the variance of a Hamiltonian in pyscf?
Thanks


add phi-2 optimization

Description
add phi-2 optimization: merge_qkv, fuse rope and normal kv cache. sdp and quantize kv are not supported because its head_dim is 80

this model requires to compute sdp with fp32, so fp32+int4 is faster than fp16+int4 (if use fp16, we must convert q and k to fp32 dynamically before computing sdp)


guile: Fix and clean up libtool propagation fixes

Motivation for this change
Fixes #37548
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build lilypond

Failure on x86_64-darwin (full log)
Attempted: lilypond
Partial log (click to expand)
/nix/store/nasip03m2rw73w0sjl5ylmlhrfphafcw-guile-1.8.8/share/guile/1.8/scripts/scan-api: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/nasip03m2rw73w0sjl5ylmlhrfphafcw-guile-1.8.8/share/guile/1.8/scripts/display-commentary: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/nasip03m2rw73w0sjl5ylmlhrfphafcw-guile-1.8.8/share/guile/1.8/scripts/snarf-check-and-output-texi: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/j4yk8cy43fzjj55b6p73rqfyywb7zm45-guile-1.8.8-dev/lib
patching script interpreter paths in /nix/store/j4yk8cy43fzjj55b6p73rqfyywb7zm45-guile-1.8.8-dev
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/5qkv2dkrab19pvpw3mh0fn2r5cm31xqm-guile-1.8.8-info
cannot build derivation '/nix/store/0x5ja8l5zdfi0jwjs7gsx5hshnwdv9gs-lilypond-2.18.2.drv': 2 dependencies couldn't be built
error: build of '/nix/store/0x5ja8l5zdfi0jwjs7gsx5hshnwdv9gs-lilypond-2.18.2.drv' failed

Darwin failure: poppler fails on Darwin because nullptr is not defined (doesn't matter for this PR)

Success on x86_64-linux (full log)
Attempted: lilypond
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2
shrinking /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2/bin/.lilypond-wrapped
shrinking /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2/lib/lilypond/2.18.2/python/midi.so
gzipping man pages under /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2/lib  /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2/bin
patching script interpreter paths in /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2
checking for references to /build in /nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2...
/nix/store/415ha8h5w50var3zw4bapd3kpgzqg7y6-lilypond-2.18.2

@GrahamcOfBorg build lilypong guile_2_2 guile_2_0 guile_1_8

@GrahamcOfBorg build lilypond

OK think I got this into a state where I like it. Hopefully OfBorg agrees.
@vcunat we should cherry-pick this.

@GrahamcOfBorg build lilypond guile_2_2 guile_2_0 guile_1_8

Thanks @7c6f434c

Failure on x86_64-linux (full log)
Attempted: lilypond
Partial log (click to expand)
cannot build derivation ‘/nix/store/dwq3j7gy35cg59p6nnw0fcxrxhjnjy8x-avahi-0.7.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/x6x45lvcxxbfpzlblmwz9zajik2di3ax-http-parser-2.8.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/gmvqcdvdbxwiy1i88lzs771j8qlh1jrd-cups-2.2.6.drv’: 5 dependencies couldn't be built
cannot build derivation ‘/nix/store/7aqbnnqrd5nha0vfyq1qsj4mld9k2h7m-libgit2-0.26.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/icfl7nl09as154dxdh0z3fpnb68z2ikq-cargo-0.24.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/b67hwanwrr99jkgs8r12c2k7n8q4pcyg-ghostscript-9.22.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/wvkarwdlzgh2k4hy3524aabsdhmvp24s-librsvg-2.42.2.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/072h179g1j03sg7sy57fl1aszwz9812k-imagemagick-6.9.9-34.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/6mhg8finnh8n76l63784qj3qf14cz3ph-lilypond-2.18.2.drv’: 3 dependencies couldn't be built
error: build of ‘/nix/store/6mhg8finnh8n76l63784qj3qf14cz3ph-lilypond-2.18.2.drv’ failed

Failure on x86_64-darwin (full log)
Attempted: guile_2_2, guile_2_0, guile_1_8
The following builds were skipped because they don't evaluate on x86_64-darwin: lilypong
Partial log (click to expand)
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/mkdir -p '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/include/guile/2.2'
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/install -c -m 644 libguile.h '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/include/guile/2.2'
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/mkdir -p '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/share/guile/2.2'
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/install -c -m 644 libguile/guile-procedures.txt '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/share/guile/2.2'
make[3]: Leaving directory '/private/tmp/nix-build-guile-2.2.3.drv-0/guile-2.2.3'
make[2]: Leaving directory '/private/tmp/nix-build-guile-2.2.3.drv-0/guile-2.2.3'
make[1]: Leaving directory '/private/tmp/nix-build-guile-2.2.3.drv-0/guile-2.2.3'
sed: can't read /nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/lib/pkgconfig/guile-*.pc: No such file or directory
builder for '/nix/store/qan9vr3299vys5b3xkvxm979mfr9c81c-guile-2.2.3.drv' failed with exit code 2
error: build of '/nix/store/griny95pinj4yb7yny4kqm26w4yd7rnl-guile-2.0.13.drv', '/nix/store/qan9vr3299vys5b3xkvxm979mfr9c81c-guile-2.2.3.drv', '/nix/store/riykj4kv188p0f330j5gqrm4smcjxfp9-guile-1.8.8.drv' failed

Erm. One of Guile versions is a GTK dependency which gives us a large rebuild…

Failure on x86_64-darwin (full log)
Attempted: lilypond, guile_2_2, guile_2_0, guile_1_8
Partial log (click to expand)
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/mkdir -p '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/include/guile/2.2'
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/install -c -m 644 libguile.h '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/include/guile/2.2'
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/mkdir -p '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/share/guile/2.2'
 /nix/store/s28xb9v7xf6axvf4a3av2mnczws2hsdg-coreutils-8.29/bin/install -c -m 644 libguile/guile-procedures.txt '/nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/share/guile/2.2'
make[3]: Leaving directory '/private/tmp/nix-build-guile-2.2.3.drv-0/guile-2.2.3'
make[2]: Leaving directory '/private/tmp/nix-build-guile-2.2.3.drv-0/guile-2.2.3'
make[1]: Leaving directory '/private/tmp/nix-build-guile-2.2.3.drv-0/guile-2.2.3'
sed: can't read /nix/store/p87hxp1xszniv64q5hps3cgzn8dc249p-guile-2.2.3/lib/pkgconfig/guile-*.pc: No such file or directory
builder for '/nix/store/8rcfxzc4agy469zkndg297qyp1f27000-guile-2.2.3.drv' failed with exit code 2
error: build of '/nix/store/8rcfxzc4agy469zkndg297qyp1f27000-guile-2.2.3.drv', '/nix/store/a5ms1xhg4dh3n30yalrp6lfhy3c2yz63-lilypond-2.18.2.drv', '/nix/store/l6ky331lrfxkxnxjzw3ajr94whlcshdg-guile-2.0.13.drv', '/nix/store/zyxfx7alkrxqcrj7lk4ajnps96kx8pv3-guile-1.8.8.drv' failed

Failure on aarch64-linux (full log)
Attempted: lilypond
Partial log (click to expand)
   Compiling backtrace v0.3.4
   Compiling proc_macro v0.0.0 (file:///build/rustc-1.24.0-src/src/libproc_macro)
   Compiling rustc_const_math v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_const_math)
   Compiling syntax_ext v0.0.0 (file:///build/rustc-1.24.0-src/src/libsyntax_ext)
building of '/nix/store/6mm6pr840z429p4l9mk62gh7mr6khj3k-rustc-1.24.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/wsycxxpy4fin6rmfmx67n1b5pdzjww20-cargo-0.24.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/byqkqqkjq1m38ikbxxrirk81d0wr4qns-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/cnczq0mh63h9si39h1901qbhprypzxpa-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/p7lsikj27qx20qchx7gwn6z5j2b1219a-lilypond-2.18.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/p7lsikj27qx20qchx7gwn6z5j2b1219a-lilypond-2.18.2.drv' failed

Failure on aarch64-linux (full log)
Attempted: guile_2_2, guile_2_0, guile_1_8
The following builds were skipped because they don't evaluate on aarch64-linux: lilypong
Partial log (click to expand)
 /nix/store/c8bwnx988ckbw2igggv41s1mbd0v743m-coreutils-8.29/bin/mkdir -p '/nix/store/piw9xh8n5qmcjw361cqzs1l9k9dq7ln8-guile-2.0.13/include/guile/2.0'
 /nix/store/c8bwnx988ckbw2igggv41s1mbd0v743m-coreutils-8.29/bin/install -c -m 644 libguile.h '/nix/store/piw9xh8n5qmcjw361cqzs1l9k9dq7ln8-guile-2.0.13/include/guile/2.0'
 /nix/store/c8bwnx988ckbw2igggv41s1mbd0v743m-coreutils-8.29/bin/mkdir -p '/nix/store/piw9xh8n5qmcjw361cqzs1l9k9dq7ln8-guile-2.0.13/share/guile/2.0'
 /nix/store/c8bwnx988ckbw2igggv41s1mbd0v743m-coreutils-8.29/bin/install -c -m 644 libguile/guile-procedures.txt '/nix/store/piw9xh8n5qmcjw361cqzs1l9k9dq7ln8-guile-2.0.13/share/guile/2.0'
make[3]: Leaving directory '/build/guile-2.0.13'
make[2]: Leaving directory '/build/guile-2.0.13'
make[1]: Leaving directory '/build/guile-2.0.13'
sed: can't read /nix/store/piw9xh8n5qmcjw361cqzs1l9k9dq7ln8-guile-2.0.13/lib/pkgconfig/guile-*.pc: No such file or directory
builder for '/nix/store/in3ggjvxcbqfms67wg99dp1fm4nf8sx3-guile-2.0.13.drv' failed with exit code 2
error: build of '/nix/store/bihipxw1l44rwc1ipypb9d4a54ppxp33-guile-1.8.8.drv', '/nix/store/in3ggjvxcbqfms67wg99dp1fm4nf8sx3-guile-2.0.13.drv', '/nix/store/p05xvdj18z5vcl19k2g942pl6yqxi9mn-guile-2.2.3.drv' failed

Failure on x86_64-linux (full log)
Attempted: guile_2_2, guile_2_0, guile_1_8
The following builds were skipped because they don't evaluate on x86_64-linux: lilypong
Partial log (click to expand)
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/include/guile/2.2'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 libguile.h '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/include/guile/2.2'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/share/guile/2.2'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 libguile/guile-procedures.txt '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/share/guile/2.2'
make[3]: Leaving directory '/build/guile-2.2.3'
make[2]: Leaving directory '/build/guile-2.2.3'
make[1]: Leaving directory '/build/guile-2.2.3'
sed: can't read /nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/lib/pkgconfig/guile-*.pc: No such file or directory
builder for '/nix/store/0921gaw94fk7049xzmd7syl4wszncv76-guile-2.2.3.drv' failed with exit code 2
error: build of '/nix/store/0921gaw94fk7049xzmd7syl4wszncv76-guile-2.2.3.drv', '/nix/store/2d1fzj10vv73wpfz9bnv8xz9d3rk9anv-guile-1.8.8.drv', '/nix/store/bawcch5qc0xwbk04rxhyz7wd1laqmjwa-guile-2.0.13.drv' failed

Failure on x86_64-linux (full log)
Attempted: lilypond, guile_2_2, guile_2_0, guile_1_8
Partial log (click to expand)
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/include/guile/2.2'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 libguile.h '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/include/guile/2.2'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/mkdir -p '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/share/guile/2.2'
 /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/install -c -m 644 libguile/guile-procedures.txt '/nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/share/guile/2.2'
make[3]: Leaving directory '/build/guile-2.2.3'
make[2]: Leaving directory '/build/guile-2.2.3'
make[1]: Leaving directory '/build/guile-2.2.3'
sed: can't read /nix/store/irs9namrfp1x7hp9bq6s4vxcynkb7ycx-guile-2.2.3/lib/pkgconfig/guile-*.pc: No such file or directory
builder for '/nix/store/0921gaw94fk7049xzmd7syl4wszncv76-guile-2.2.3.drv' failed with exit code 2
error: build of '/nix/store/0921gaw94fk7049xzmd7syl4wszncv76-guile-2.2.3.drv', '/nix/store/2d1fzj10vv73wpfz9bnv8xz9d3rk9anv-guile-1.8.8.drv', '/nix/store/bawcch5qc0xwbk04rxhyz7wd1laqmjwa-guile-2.0.13.drv', '/nix/store/lgnj9kcc4x1rv53bhpy5yvrb3gpgwi0h-lilypond-2.18.2.drv' failed

Failure on aarch64-linux (full log)
Attempted: lilypond
Partial log (click to expand)
cannot build derivation '/nix/store/2iv6199vjzn8g7js5ra3wjjjd639gy8p-avahi-0.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6rkyj90s4yjqdaj81p0d8gd0v9hs78ni-http-parser-2.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i7wghxpm2i2mxwr0i9lsshs3a54a9zr8-cups-2.2.6.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/ghcnab327a2p47b53cpbf3b4kg89s4d6-libgit2-0.26.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/0sc10a4p6755ip9mc36n2074w43plj19-cargo-0.24.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/qcd43wmdycnpbqxhkjdf47l7vlqks30x-ghostscript-9.22.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bhx9p0if71dbh8v9y5k9db4bs60p4a51-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/86wzg7sq3z1ii0kqrhi2zli5wh010vi5-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/70wnd6afm5pmk6d2k0z3cw2cyd5hv72v-lilypond-2.18.2.drv': 3 dependencies couldn't be built
error: build of '/nix/store/70wnd6afm5pmk6d2k0z3cw2cyd5hv72v-lilypond-2.18.2.drv' failed

I think it got worse than the first version…

Failure on aarch64-linux (full log)
Attempted: lilypond, guile_2_2, guile_2_0, guile_1_8
Partial log (click to expand)
   Compiling backtrace v0.3.4
   Compiling proc_macro v0.0.0 (file:///build/rustc-1.24.0-src/src/libproc_macro)
   Compiling rustc_const_math v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_const_math)
   Compiling syntax_ext v0.0.0 (file:///build/rustc-1.24.0-src/src/libsyntax_ext)
building of '/nix/store/6mm6pr840z429p4l9mk62gh7mr6khj3k-rustc-1.24.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/0sc10a4p6755ip9mc36n2074w43plj19-cargo-0.24.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/bhx9p0if71dbh8v9y5k9db4bs60p4a51-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/86wzg7sq3z1ii0kqrhi2zli5wh010vi5-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/70wnd6afm5pmk6d2k0z3cw2cyd5hv72v-lilypond-2.18.2.drv': 3 dependencies couldn't be built
error: build of '/nix/store/70wnd6afm5pmk6d2k0z3cw2cyd5hv72v-lilypond-2.18.2.drv', '/nix/store/bihipxw1l44rwc1ipypb9d4a54ppxp33-guile-1.8.8.drv', '/nix/store/in3ggjvxcbqfms67wg99dp1fm4nf8sx3-guile-2.0.13.drv', '/nix/store/p05xvdj18z5vcl19k2g942pl6yqxi9mn-guile-2.2.3.drv' failed

@Ericson2314 Perhaps at this point it would make more sense to merge the simple fix that works?

@Ericson2314 I support the plan that @mdorman force-pushes whatever allows lilypond guile guile_1_8 guile_2_2 guile_2_0 builds to succeed and I merge it.

Agreed, may packets include asciidoctor which breaks lots of builds, making  nox-review unusable.

Sorry for that; I'm fine with that too. Since nobody did then I force-pushed a fix so the glob expands properly, but feel-free to force-push again back the way it was.

@GrahamcOfBorg build lilypond guile_2_2 guile_2_0 guile_1_8

@Ericson2314 and now without syntax errors, please? I would prefer a fix that wouldn't trigger an almost-stdenv rebuild to get merged to master, though (and the more comprehensive fix will go to staging, I guess)

Success on x86_64-darwin (full log)
Attempted: guile_2_2, guile_2_0
The following builds were skipped because they don't evaluate on x86_64-darwin: lilypond, guile_1_8
Partial log (click to expand)
/nix/store/11zdkyc2sd60pg8ybh1bhs3izf330rc6-guile-2.2.3/bin/.guile-snarf-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/11zdkyc2sd60pg8ybh1bhs3izf330rc6-guile-2.2.3/bin/guild: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/11zdkyc2sd60pg8ybh1bhs3izf330rc6-guile-2.2.3/bin/guile-config: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/frb4dfqsbgvaw2ldz0f29vr122xx36s5-guile-2.2.3-dev/lib
patching script interpreter paths in /nix/store/frb4dfqsbgvaw2ldz0f29vr122xx36s5-guile-2.2.3-dev
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/23xh3gfw50n7rpxcglq1aabn8cir92j2-guile-2.2.3-info
/nix/store/11zdkyc2sd60pg8ybh1bhs3izf330rc6-guile-2.2.3
/nix/store/np51xpami7kpj5qmniw362ajfjynp2l1-guile-2.0.13

Success on aarch64-linux (full log)
Attempted: guile_2_2, guile_2_0
The following builds were skipped because they don't evaluate on aarch64-linux: lilypond, guile_1_8
Partial log (click to expand)
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4kxydkal37n5wnk5z7v45br337mdrnkl-guile-2.0.13-dev/lib
patching script interpreter paths in /nix/store/4kxydkal37n5wnk5z7v45br337mdrnkl-guile-2.0.13-dev
checking for references to /build in /nix/store/4kxydkal37n5wnk5z7v45br337mdrnkl-guile-2.0.13-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/2lrikyrahy7jvycxsr95ngp4mj7r8yk0-guile-2.0.13-info
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/2lrikyrahy7jvycxsr95ngp4mj7r8yk0-guile-2.0.13-info
checking for references to /build in /nix/store/2lrikyrahy7jvycxsr95ngp4mj7r8yk0-guile-2.0.13-info...
/nix/store/vy4n5mzr9wccbgd413x9cck65xhmmgkv-guile-2.2.3
/nix/store/ir9w1jmgka31v0b38n5jxirbiqd8iwg3-guile-2.0.13

Oh I didn't see the mass rebuild either.

Success on x86_64-linux (full log)
Attempted: guile_2_2, guile_2_0
The following builds were skipped because they don't evaluate on x86_64-linux: lilypond, guile_1_8
Partial log (click to expand)
cannot find section .dynstr
shrinking RPATHs of ELF executables and libraries in /nix/store/vwqicfbm3gkya0i3kzamwsj2rsjiacjf-guile-2.2.3-dev
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/vwqicfbm3gkya0i3kzamwsj2rsjiacjf-guile-2.2.3-dev/lib
patching script interpreter paths in /nix/store/vwqicfbm3gkya0i3kzamwsj2rsjiacjf-guile-2.2.3-dev
checking for references to /build in /nix/store/vwqicfbm3gkya0i3kzamwsj2rsjiacjf-guile-2.2.3-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/6y3bwg391hy2p97ns2538jqbz2a66qvy-guile-2.2.3-info
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/6y3bwg391hy2p97ns2538jqbz2a66qvy-guile-2.2.3-info
checking for references to /build in /nix/store/6y3bwg391hy2p97ns2538jqbz2a66qvy-guile-2.2.3-info...

@GrahamcOfBorg build lilypond guile_1_8

Failure on x86_64-darwin (full log)
Attempted: lilypond, guile_1_8
Partial log (click to expand)
/nix/store/f0wfisyv8mp8d690nhlsk7q8cfhy8xjy-guile-1.8.8/share/guile/1.8/scripts/scan-api: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/f0wfisyv8mp8d690nhlsk7q8cfhy8xjy-guile-1.8.8/share/guile/1.8/scripts/display-commentary: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
/nix/store/f0wfisyv8mp8d690nhlsk7q8cfhy8xjy-guile-1.8.8/share/guile/1.8/scripts/snarf-check-and-output-texi: interpreter directive changed from "/bin/sh" to "/nix/store/8hdxjv3m14jgdnawi5l0mz2h59qkk2g9-bash-4.4-p19/bin/sh"
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/8wiag42zalz45q6cn68khhl1hkxlrsmp-guile-1.8.8-dev/lib
patching script interpreter paths in /nix/store/8wiag42zalz45q6cn68khhl1hkxlrsmp-guile-1.8.8-dev
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/mxnnqh010l40b07l661g26vg6cvnidki-guile-1.8.8-info
cannot build derivation '/nix/store/q5a51nwwp80iszalxkprhm7mlr6ln5d9-lilypond-2.18.2.drv': 3 dependencies couldn't be built
error: build of '/nix/store/q5a51nwwp80iszalxkprhm7mlr6ln5d9-lilypond-2.18.2.drv' failed

Success on x86_64-linux (full log)
Attempted: lilypond, guile_1_8
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2
shrinking /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2/bin/.lilypond-wrapped
shrinking /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2/lib/lilypond/2.18.2/python/midi.so
gzipping man pages under /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2/share/man/
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2/lib  /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2/bin
patching script interpreter paths in /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2
checking for references to /build in /nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2...
/nix/store/a7i2hsc0dfi7dgkm0pnwgbxp7qa9fg4a-lilypond-2.18.2
/nix/store/ppx2krv2liq7mnrwrp553h6x84n5621i-guile-1.8.8

Now that the circle of life is complete, I can merge what I didn't merge fast enough the first time…

Failure on aarch64-linux (full log)
Attempted: lilypond, guile_1_8
Partial log (click to expand)
   Compiling backtrace v0.3.4
   Compiling rustc_const_math v0.0.0 (file:///build/rustc-1.24.0-src/src/librustc_const_math)
   Compiling proc_macro v0.0.0 (file:///build/rustc-1.24.0-src/src/libproc_macro)
   Compiling syntax_ext v0.0.0 (file:///build/rustc-1.24.0-src/src/libsyntax_ext)
building of '/nix/store/6mm6pr840z429p4l9mk62gh7mr6khj3k-rustc-1.24.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/4yxdvprqnypfv2mrbqi5khk8jw3f4c16-cargo-0.24.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hki2ig6iy3nj553a7jd79hxqxy77pjpk-librsvg-2.42.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/qzbh4xvkcdb9gms1rzv04hzkzafis9jd-imagemagick-6.9.9-34.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sw1cc6walrikhz1n7vma4kkv94i636w8-lilypond-2.18.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/sw1cc6walrikhz1n7vma4kkv94i636w8-lilypond-2.18.2.drv' failed

@Ericson2314: I don't immediately see what to do about this and 18.03.  Lilypond does build, and the guile expression has seen more changes since the fork than this PR.

Oh I thought this was the one new thing post fork. No worries then.


fix: add GitHub context in reporter and clean-up logging

Removes need for chalk as well. Will only try to add context if it can be found. Otherwise just emits a warning.

Gonna split this up.


deleting cellzone using pyFluent script

Hello, I need help on one issue. After completing meshing, I want to delete one cell zone and save the mesh using pyFluent.
In GUI, it can be done by using Mesh>Menage>Delete and selecting the cell zone not needed. How could I do the same using script?
Thanks a lot.

@drhcelik, you can use the following tui command:
meshing.tui.mesh.manage.delete([<zone-name or zone-id>], "yes", "yes")

It worked, thanks a lot.


Update CDK version for cdk 1.x latest

Is this feature request related to a new or existing Amplify category?
api
Is this related to another service?
amplify-cli
Describe the feature you'd like to request
Stems from the GH issue : https://github.com/aws-amplify/amplify-js/issues/987
Related CLI Issue: https://github.com/aws-amplify/amplify-cli/issues/10561
Cognito released an attribute in userpool UserAttributeUpdateSettings to have users old emails backwards compatible till they verify the new emails login.
Describe the solution you'd like

Upgrade cdk to 1.x latest

Describe alternatives you've considered

Needs cdk version increment to support the property

Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[ ] ⚠ This feature might incur a breaking change

Closing this in support for CDK v2.


Create ExternalModule and Primitive parameters from keyword args

Hdl21 v1 added the capacity to create generator-parameters "inline", from a set of named keyword args.
For example with the generator M from the test suite:
@h.paramclass
class P:
    a = h.Param(dtype=int, desc="a")
    b = h.Param(dtype=float, desc="b")
    c = h.Param(dtype=str, desc="c")

@h.generator
def M(p: P) -> h.Module:
    return h.Module()

One can of course call M by passing it a P:
m = M(P(a=1, b=2.0, c="3"))

The relatively recent updates add the capacity for Generator to create the parameter-class inline, e.g.:
# Call without constructing a `P`
m = M(a=1, b=2.0, c="3")

Here the P call just adds the three characters P(), and this feature doesn't add much value. In many other cases it's aways more helpful, especially with many elaborately-named parameter-classes in scope.
Clarifying the rules for these calls:

A single positional argument is allowed, and if provided it must be an instance of the generator's paramclass
If said positional argument is not provided, Generator will attempt to construct the paramclass from the remaining named keyword arguments. This includes the case in which no arguments are provided, which succeeds if the paramclass is default-constructible.
Mixing of the positional and named parameters is disallowed, and generates a RuntimeError. Either an instance of the paramclass or a valid set of keyword-args for its construction must be provided - not both.

This has been quite handy for generators.
This issue: add the capacity for our other parameterized Module-like types: ExternalModule and Primitive.

This will be merged with PR #36.


Rename 'sidebar' -> 'components'

This is not clear what 'sidebar' means for someone starting using showroom. I believe 'components' will be far more intuitive label for this button.

Done https://github.com/OpusCapita/react-showroom-client/commit/65ef01d31008e198a7a9aaad8e5866c1faa720ad


Row Wise Sum in a 2d Array in java

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
yes

/assign


Feature request : container view

Hello,
Would it be possible to get a container view?
Thanks for the work you've done here btw

Hey @ArnaudMsh that's an interesting idea. What would the output look like for that? Would we just add a container column after pods? There's already some work underway to support JSON output, this might fit in nicely after that bit of restructuring.

Hello,
Yes I think one more column after pods is the way to go!
And for sure, --containers would implicitly include --pods informations

👍 That makes a lot of sense to me. I think this fit in nicely with some of the other restructuring happening.

Thanks to you for this useful tool :)

Hey @ArnaudMsh, I just released a new version of kube-capacity (0.3.0) that includes this functionality, thanks for the idea!

hey @robscott ! thanks it's working great and it's very useful (at least for me!!)
Have a good day :)


Add User-Agent with Puppeteer version to WebSocket request

This will add the User-Agent header to WebSocket requests, with the Puppeteer version.
The reason why we wanted to create this PR is because we can then offer our customers the most compatible browser version depending on the Puppeteer version they are using to connect to our service.
Developers use this method to connect to our service:
const browser = await puppeteer.connect({   browserWSEndpoint: 'wss://chrome.headlesstesting.com' })
When we receive a request, we can check the user-agent and determine the most compatible browser version.

@googlebot I signed it!

@headlesstesting Can you resolve the conflicts? Happy to get this landed!

@googlebot I consent.


fix: Add blockTrackingForMe method

Hi and thanks for this library!
I’m looking at implementing a way to let visitors of my website deactivate tracking entirely, and discovered that the type definition for Fathom was incomplete. It lacks the blockTrackingForMe and enableTrackingForMe methods.
Here’s a proposal to add both of them and queue like the other methods. Note:

I've kept the type dependent en the functions themselves.
I have not added tests, but can do.

Information gathered from the docs and local testing.

Thanks @mxdvl! Could you add exported function (similar to trackPageview) to proxy these calls to window.fathom (or push them onto the command queue)?

Looking good! Thanks!

Published https://github.com/derrickreimer/fathom-client/releases/tag/v3.3.0


i can not  run success with  default code  &&  i get a  message

error
react-packager has encountered an internal error, please check your terminal error output for more details
Terminal:
/Users/willclass/Documents/DemoProject/node_modules/react-native/packager/transformer.js:13
const babel = require('babel-core');
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at process. (/Users/willclass/Documents/DemoProject/node_modules/react-native/node_modules/worker-farm/lib/child/index.js:45:34)
at process.emit (events.js:110:17)
at handleMessage (child_process.js:324:10)

You are probably using an old version of Node. Make sure you are using Node 4 or newer, according to the Getting Started instructions.


⚠ Adacta-fintech.com has degraded performance

In b484080, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 200
Response time: 1194 ms

Resolved: Adacta-fintech.com performance has improved in e8670a8.


Check before adding VPN route

Task/Issue URL: https://app.asana.com/0/488551667048375/1203425545589572/f
Description
This PR:

Removes loopback addresses from VPN routes <IP_ADDRESS> -> <IP_ADDRESS>
Removes Class E addresses from VPN routes <IP_ADDRESS> -> <IP_ADDRESS>—as they're not assigned to hosts and only for research purposes
Checks the route address before calling VpnService:addroute() method

See the asana task for more info
Steps to test this PR
Just code review and smoke tests for AppTP

Current dependencies on/for this PR:

develop

PR #2562   👈

This comment was auto-generated by Graphite.


Add vagrant file

This PR should fix #72. The only relevant commands are vagrant up and then vagrant ssh. After connecting to the machine, the user will only have to switch to the application folder (imwatchingyou by default) and follow the Configuration and Usage part of the README.

Nice job (:

:+1:


Support for team collaboration/sync

Checklist

[X] I've searched for similar feature requests.

Enhancement request
Simple: enable syncing of workspaces between teams, so the same Request can be edited by one user and used by another. This can be easily set up in a GitHub repo so it has no cost to you.

Problem it solves
Ability to work as a team without having to manually share requests

Additional information, screenshots, or code examples
Postman and Insomnia both offer this, and it's quite a valuable feature. It's keeping me from using HTTPie.
It could also open the door to shared environments.

We've worked around this internally by creating a Github shared / service account that we all log on to in HTTPie desktop, but having actual shared / sync would be amazing.
Alternatively, provide a simple way to save / load groups and requests from filesystem, then we could just sync those files via Git / OneDrive / etc.

Saving requests and collections to the filesystem will be enough for the beginning. Wanna suggest using HTTPie for every client, but it's declined every time because of any sharing absent :slightly_frowning_face:

Yeah, so long as we can get Git going, that would be great for many small teams and to encourage wider adoption. Right now we've opted for Bruno due to this


Challenge Name
Golf

https://www.freecodecamp.com/challenges/golf-code#?solution=
function golfScore(par%2C strokes) {
  %2F%2F Only change code below this line

  return "Change Me"%3B
  %2F%2F Only change code above this line
}

%2F%2F Change these values to test
golfScore(5%2C 4)%3B

Issue Description

Your description for such a task is too minimal and you assume that students will know what you mean.
Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code
// If relevant, paste all of your challenge code in here

Screenshot

@orenyny how do you suggest changing the instructions? I feel that in conjunction with reading the instructions and table (which I admit by themselves, may be unclear on what you need to do), along with the tests themselves gives enough information to the user on what to do.
I also feel that the instructions give just enough detail on what par and strokes mean in a golf context to complete the challenge. The Wiki page linked is quite overwhelming but just that paragraph is enough.

Though I did not find very difficult to understand but it may be easier if we reword as follows
"In the game of golf each hole has a par (score), meaning the average number of strokes needed to sink the ball in a hole to complete the play. Depending on how far above or below the par your strokes are, there is a different nickname." (Inspiration - Wiki)
Compared to the original
"In the game of golf each hole has a par for the average number of strokes needed to sink the ball. Depending on how far above or below par your strokes are, there is a different nickname."

This looks better to me. Thank you!
Please note that much simpler or smaller tasks had more details on what
needs to be done than this task...
I just suggest that you don't count in someone being familiar with Golf or
its jargon.
Thanks,
Oren
On Jun 10, 2016 1:01 PM, "Pasayadaan"<EMAIL_ADDRESS>wrote:

Though I did not find very difficult to understand but it may be easier if
we reword as follows
"In the game of golf each hole has a par (score), meaning the average
number of strokes needed to sink the ball in a hole to complete the play.
Depending on how far above or below the par your strokes are, there is
a different nickname." (Inspiration - Wiki)
Compared to the original
"In the game of golf each hole has a par for the average number of strokes
needed to sink the ball. Depending on how far above or below par your
strokes are, there is a different nickname."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9062#issuecomment-225237614,
or mute the thread
https://github.com/notifications/unsubscribe/AF4KdRf73Wwpam-WpT_Axc6gDOCJ0G94ks5qKZhjgaJpZM4IyjF2
.

So if the change is acceptable it needs to be done in
seed/challenges/01-front-end-development-certification/basic-javascript.json
Replace the following text
"In the game of golf each hole has a par for the average number of strokes needed to sink the ball. Depending on how far above or below par your strokes are, there is a different nickname."
By new text
"In the game of golf each hole has a par (score), meaning the average number of strokes needed to sink the ball in a hole to complete the play. Depending on how far above or below the par your strokes are, there is a different nickname."

@orenyny @Pasayadaan thanks for the feedback. Here's my small edit of @Pasayadaan suggestion.

In the game of golf, each hole has a par, meaning the average number of strokes a golfer is expected to make in order to sink the ball in a hole to complete the play. Depending on how far above or below par your strokes are, there is a different nickname.

I removed the the in

...above or below the part...

because you don't need it. Reading the Wiki article uses this way of talking about par.


Double-Click Issue

The check box gets checked or unchecked only on double-click of it

You have to double-click to put the record in edit mode. On the page properties "execute when page loads", you can put in the following command to have your IG start in edit mode. You shouldn't then need to double-click to activate it.
apex.region("").widget().interactiveGrid("getActions").set("edit", true);

After adding the above given CSS " After Page Load first time not cheked" issue has been resolved.
But still only on double click of the checkbox I can check/uncheck it.  Hence Iam reopening this issue.

Hey @NivethaRamanth, having to click "twice" is somewhat intentional... the first click is to focus on the cell, second and forward clicks are meant to toggle the checkbox value, like asked here.
After clicking the first time (or entering in the cell), are you able to toggle checked/unchecked with just one single click?

Yes, User was asking me the same , why in all other pages its single click but only here in this report its double click for checkbox. It would be great if this can be resolved! Thanks.

All right, I'll take a look at this when I get some free time here 😉

Hi, I am eagerly waiting your reply. Could you please provide an update.

There's a kind of workaround for that - create a dynamic action - Event: Click - Selection Type: jQuery Select - jQuery Selector: .a-GV-row - Client-side Condition : ($(this.triggeringElement.childNodes[1]).prop("tagName") != 'TH') - Severside Condition - Type: Rows Returned - SQL Query: SELECT distinct 1
FROM apex_application_page_regions
WHERE application_id = :APP_ID
AND page_id        = :APP_PAGE_ID
AND source_type    = 'Interactive Grid';
True-Action: Execute JavaScript Code
var vAffectedElement;
if ($(this).get(0).affectedElements[0].classList.contains("a-GV-cell")) {
vAffectedElement = $(this).get(0).affectedElements[0];
} else {
vAffectedElement = $(this).get(0).affectedElements[0].parentElement;
}
if ($(vAffectedElement).find("input[type='checkbox']").length > 0) {
var vInput = $(vAffectedElement).find("input[type='checkbox']");
if (vInput.val() == vInput.attr("data-checked-value")) {
vInput.val(vInput.attr("data-unchecked-value"));
vInput.prop("checked", false);
} else {
vInput.val(vInput.attr("data-checked-value"));
vInput.prop("checked", true);
}
var rowId = vInput.closest('tr').data('id');
var regionId = $(vInput.parents('.a-IG')).attr('id').slice(0, -3);
var ig$ = apex.region(regionId).widget().interactiveGrid('getViews','grid');
-- do here whatever you usually do to update the Model
}

Hi,
I have another workaround (apart from the proposed by MarkusId):
It consists in enable edit mode by default (putting this code on page load):
apex.region("grid_seguridad").widget().interactiveGrid("getActions").set("edit", true);
Then, you may put a CSS class in the IG column for the checkbox.
Then you can create a Dynamic Action, that "onmouseenter" that class, a focus is forced: $(this.triggeringElement).focus().
With this, when user put the mouse pointer over the checkbox cell, he only have to click once (because it would be already activated).
Then, with some CSS you may be able to make it look like as if it was not activated (same height).
Regards,
Gerard.


MCFD Onboarding Step 1- FOI Requests DATA Migration

Title of ticket:
Description
The purpose of this task is to migrate and/or plan, script/code for  the MCFD requests information  from AXIS (aka AXIS database) to FOI FLOW database, thereby reducing the effort on IAO Team/ FOI Analysts to manually sync information of hundreds or thousands of Personal , General FOI requests on AXIS to FOI FLOW.
Note : this procedure has two parts #1) Migration of Data/Request Information - which is this task #2) Migration of Documents, Attachments that are part of requests data of #1 step. Also, this is a one time job or will NOT be required after migration - throw away
Dependencies
Are there any dependencies?
DOD

[x]  Data Mapping from AXIS SOURCE to FOI FLOW
[x]  Developing Script logic on FOI FLOW DB using vanilla SQL Logic
[x]  Plan, Analyze and decide an approach of migration scripting - Code based or ETL(SSIS or python)
[x]  Check Firewall and OCP access from VMs to migrated data to SILVER OCP! if any, contact IMB, OCIO - Istore ?
[x]  Tabulate the Tables on AXIS which has request information and Map it with Tables/Columns on FOI FLOW - Applicant Info, FOI Request details, States etc.
[x]  Develop ETL or migration script/code for data migration.  Do we need state to be mapped with AXIS to FOI FLOW - Business??
[x]  Test 'Loaded Information` n FOI FLOW - with further operations OR check data quality
[ ]   Trial migration run on TEST with all full set of PROD data
[ ]   Business validated DATA migration with random checks - Is Personal request OK to be on TEST ? @lmullane , @m-prodan

Had a chat with @m-prodan on 26/07 regarding additional effort requirement for CFD requests with Fee, and it was advised to us that Fee payment is NOT required for migrating requests of CFD.  Technical reason of  Fee Payment issue with Migration is like, we are not creating workflow instances since migrated CFD requests wont land on RAW Requests table and following ETL fashion for migration. Technically possible to create WF instances, but with an additional effort and since FEE payment is not required, parking that aside. cc: @aparna-aot , @lmullane , @liseandtea , @KyEggleston

As discussed with @lmullane , and business , we are logically ending this task and its successor (#4141) due to following reasons.

Our earlier assumptions like tagging records with a single placeholder division for CFD personals wont be effective, since those Analysts heavily rely on the sections aka tags for documents . cc: @m-prodan , @liseandtea , @KyEggleston
Because of the above reason we need to complete newly created USs first i.e. related to Sections for CFD to do the migration
Also, Strategy of the migration need to finalized once we have a clear on how the Analysts are onboarded for CFD personal - Bulk or Adhoc.


com.tom.createores.kubejs.ExcavatingRecipeJS.stress is undefined

on 1.20 version the stress addition is undefined. Not sure if this is a user error or a larger bug.

This was user error lol


W-14358693 product spotlight 1 6 gr

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Merging without approval, Chris approved here:
https://github.com/mulesoft/docs-gateway/pull/412/files


Better deployment

Implement a proper Phoenix deployment method.

Look into exrm:  https://github.com/bitwalker/exrm


"image already liked. Skipping it. 0 liked images so far."

I did all settings and it started to work.
it search and find my tags, open an image but cant like. it says "image already liked. Skipping it. 0 liked images so far." 1 billion times.

Hi Yuxel, that's fair point. On line 112 you will see the if statement that check the HTML attribute of the heart button ("if value == "Like").
If your Instagram platform is not in English, the if statme


Don't get stuck on cyclic graphs where one edge has multiple outputs.

Fixes #934. Plan::AddSubTarget() tracks in want_ if each edge has been
visited and visits every edge only once.  But Plan::CheckDependencyCycle()
worked on nodes however, so if a cycle was entered through an edge with
multiple outputs, ninja would fail to detect that cycle.
Move cycle detection to look for duplicate edges instead of nodes to fix
this.  The extra jump makes CheckDependencyCycle() a bit slower: for a
synthetic build file with 10000 serial build steps, ninja -n now takes
0.32s instead of 0.26s before on my laptop.  In practice, projects have
a dependency change length on the order of 50, so there shouldn't be a
noticeable slowdown in practice.  (If this does end up being a problem:
CheckDependencyCycle() currently does O(n) work and is called O(m) times
from AddSubTarget(), so I think cycle checking is O(n^2) in the build
depth.  So instead of worrying about constant overhead, we could use
a set<> instead of a stack<>.  But it doesn't seem to be a problem in
practice.)

(One random flaky failure on appveyor in 7 builds so far…not looking so great :-/)


Add new detection event for Locky Ransomware semi-supervised model

Related issue: aicers/hog#424
Add new detection event

Lock Ransomware semi-supervised model

pending petabi/review-database#268


ptf: Use the ID from --test xxxxx when computing image location

mgradm support ptf podman --test 9999999 --user yyyyyyyy would ignore the id string from --test and use the value of --ptf, which would be always empty.
The fix is to use --test value's as the project ID to be used when computing the image location.
Fixes: #429

What does this PR change?
add description
Test coverage

No tests: flag handling apparently not tested

[x] DONE

Links
Issue(s): #429

[x] DONE

Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:

[] No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)
Before you merge
Check How to branch and merge properly!

I found this patch is incomplete. I will come up with a complete one in some time.

Done

Indeed. I updated now to include mgradm and the lost changelog commit. I didn't include the typo fix as it's minor.


Simplify pick_rounded_rect

Objective
Simplify pick_rounded_rect with multiple if statements to make it more readable and efficient(Godbolt link).

That does seem like a considerable reduction in produced assembly, which I'd assume to be faster. But it does add in branching if statements. (Which the original implementation clearly intentionally avoids.)
Would probably be good to do a benchmark.
RE: Performance, I noticed a .sqrt() in the .length() function at the end of the function; that could most likely be optimised away via rearranging the final inequality and squaring it (note: One has to be careful with signs there though.)

That does seem like a considerable reduction in produced assembly, which I'd assume to be faster. But it does add in branching if statements. (Which the original implementation clearly intentionally avoids.) Would probably be good to do a benchmark.
RE: Performance, I noticed a .sqrt() in the .length() function at the end of the function; that could most likely be optimised away via rearranging the final inequality and squaring it (note: One has to be careful with signs there though.)

Basically this function originally used branching if's but a reviewer suggested a non-branching version so I changed it because it didn't matter and I wanted to get it merged. Neither implementation is expensive and it's only called after a check to see if the pointer is inside the node's bounding rectangle so the difference won't be detectable in bevy's benchmark examples..
This version is definitely easier to understand though, so I'm fine with the change.


Generate Fake Image

I tried to make dummy image file, but it doesn't return any path file and there's no single file in the directory. Then I realize that I can't even access lorempixel.com, maybe there is something wrong happened to it. Can you help me to fix that problem? or maybe there is another way to generate fake image

Duplicate of #957


Add state of stations.

Requires mapzen/TileStache#129. Connects to #484.
@rmarianski could you review, please?

:+1:


Drag not working in Safari on iPad

Hi,
I just tested the changes from pull request #148 in Safari on both Mac and iPad. On the Mac the fix works great, thanks. However, in Safari on the iPad (iOS 9.3.1) dragging is still not working.

Sorry about that! Was an issue with the changes to how drag/resize is started. Should be working in next release :)

Thanks! Any idea when the next version will be released?


[python] Code comments are being injected into the SBOM field

Discussed in https://github.com/CycloneDX/cdxgen/discussions/1506

Originally posted by ivanasabi December 20, 2024
Hello,
I am using CDXGEN to generate SBOMs for different technologies. In a Python project using the Poetry package manager, I have added a comment (for clarity purposes) after the version property.:
version = "1.14.0-dev" # Don't touch. Auto-incremented by CI/CD Pipeline

When I use the following command::
 export FETCH_LICENSE=true
 cdxgen --profile license-compliance -o sbom.json

the SBOM properties is generated with the comment cocantenated with version property. For example:
"purl"<EMAIL_ADDRESS>
Is this behavior expected, or is it an error?
Thanks for your help

Poetry lock parser (and many other methods) doesn't use the toml library yet. The below line is the source of the problem.
https://github.com/CycloneDX/cdxgen/blob/bc98665607893469c70af96734ce905b20b313bb/lib/helpers/utils.js#L4267
Best to rewrite this method to use toml, similar to this line.


Docs Update: Add Reown as one of the Dev Tools available on Rootstock

Title
Adding Reown as one of the Dev Tools available on Rootstock for Account Abstraction and User Onboarding.
Description
Reown provides fully open sourced and free to use SDKs for both Web3 apps and Web3 wallets. Reown also supports Rootstock, which means developers building a Web3 app on Rootstock can simply use Reown to power end-to-end wallet interactions on their app.
Testing
Tested locally.
Checklist

[x] I have read and understood the contributing guidelines.
[x] I have followed the style guide and formatting guidelines.
[x] I have added appropriate comments to explain the changes.
[x] I have tested my changes thoroughly.

Hi @rohit-710 Thank you for contributing to the docs and adding Reown DevTool. Please attend to the comments and I will merge.

Hi @rohit-710 Thank you for contributing to the docs and adding Reown DevTool. Please attend to the comments and I will merge.

Hey @owans, thank you review the PR. I just addressed all of your comments. Let me know if it looks good to go now 🙏

Hi @rohit-710 Thank you for contributing to the docs and adding Reown DevTool. Please attend to the comments and I will merge.

Hey @owans, thank you review the PR. I just addressed all of your comments. Let me know if it looks good to go now 🙏

Thanks @rohit-710 Just one minor comment remaining.
This contribution also qualifies for the ongoing Rootstock Hacktivator Program: https://dev.rootstock.io/resources/contribute/hacktivator-program/
You can submit this PR here: https://forms.gle/aF9pFMfRyoygfzJWA
Once again. Thank you for contributing!

Hi @rohit-710 Thank you for contributing to the docs and adding Reown DevTool. Please attend to the comments and I will merge.

Hey @owans, thank you review the PR. I just addressed all of your comments. Let me know if it looks good to go now 🙏

Thanks @rohit-710 Just one minor comment remaining.
This contribution also qualifies for the ongoing Rootstock Hacktivator Program: https://dev.rootstock.io/resources/contribute/hacktivator-program/
You can submit this PR here: https://forms.gle/aF9pFMfRyoygfzJWA
Once again. Thank you for contributing!

Awesome, thanks for letting me know! I missed that comment, just made a commit for the same.


Added stop order function

Added the stop order function with endpoints.
closes issue number #334

Please check the PR @ighoshsubho

Please go through the repo once and see how the code is organized in different files and folders and where we are creating what functions and then make a PR. Thanks.


refactor: improve support for ostree systems

The dependency on ansible.utils.update_fact is causing issue with
some users who now must install that collection in order to run
the role, even if they do not care about ostree.
The fix is to stop trying to set ansible_facts.pkg_mgr, and instead
force the use of the ostree package manager with the package: module
use: option.  The strategy is - on ostree systems, set the flag
__$ROLENAME_is_ostree if the system is an ostree system.  The flag
will either be undefined or false on non-ostree systems.
Then, change every invocation of the package: module like this:
- name: Ensure required packages are present
  package:
    name: "{{ __$ROLENAME_packages }}"
    state: present
    use: "{{ (__$ROLENAME_is_ostree | d(false)) |
      ternary('ansible.posix.rhel_rpm_ostree', omit) }}"

This should ensure that the use: parameter is not used if the system
is non-ostree.  The goal is to make the ostree support as unobtrusive
as possible for non-ostree systems.
The user can also set __$ROLENAME_is_ostree: true in the inventory or play
if the user knows that ostree is being used and wants to skip the check.
Or, the user is concerned about the performance hit for ostree detection
on non-ostree systems, and sets __$ROLENAME_is_ostree: false to skip
the check.
The flag __$ROLENAME_is_ostree can also be used in the role or tests to
include or exclude tasks from being run on ostree systems.
This fix also improves error reporting in the get_ostree_data.sh script
when included roles cannot be found.
Signed-off-by: Rich Megginson<EMAIL_ADDRESS>

[citest]


Updates to sensor description

Updated description for some sensors.
Renamed "forecast_custom_hour" to "forecast_custom_hours" to better reflect its meaning.

Nice @isorin.

How does one fix that happening for the custom sensor?

Nice @isorin.

How _does_ one fix that happening for the custom sensor?

I will look into it.

Good luck. I can't even find how the code does that friendly name! Let alone the whole "next_1_hours" thing, which would be based on the initial setting.

Good luck. I can't even find how the code does that friendly name! Let alone the whole "next_1_hours" thing, which would be based on the initial setting.

I manually updated the config in HA to "2" hours and the name updated for me.

I don't know how it does it either and there is no way to change it through the UI after the installation, isn't it?

It changes the 'friendly' name somehow (like you I can't see how), but not the underlying sensor.blahblahblah name, which always seems to carry _1_hour since it gets created. And I can't even see how either name is produced. What magic is this? I'm scared and confused...

Oooo...
Found this nugget in strings.json:
"forecast_custom_hour": {"name": "Forecast Next {forecast_custom_hour} Hours"},
There's your friendly name, right there.

Yes, I know about this:
"forecast_custom_hour": {"name": "Forecast Next {forecast_custom_hour} Hours"},
We need someone to test a fresh install.
I don't know if it's set properly or it is always set to "Forecast Next 1 Hours" regardless of what the user chooses.
Also, it would be nice to expose that setting as we have "Use forecast field".
If it's always set to "Forecast Next 1 Hours" then we could just use ""Forecast Next X Hours".

Righto. I think this is all about trying to be "friendly" and translating sensor names into different languages, including English.
If the translation did not include a modification based on setting then the sensor name would remain as 'forecast_custom_hours', or X hours, or whatever.
I blame Oziee and his forked predecessors for shooting us in the foot today, by trying to keep the friendly name updated. I think it is what it is, and that HA will hold on to the sensor name given to it originally. I've seen that before, with some of the C-Bus coding I've done to integrate.
Without force removing the sensor and re-adding it I can see no alternative but to live with it. Even if it makes my eye twitch.
Setting up from scratch would just result in the same "Forecast Next 1 Hours" because of the default config.
I vote to change the translations/strings. It isn't going to update the sensor name for existing installs without an unnatural act. Or do folks like that it updates the friendly name, and results in a weird one hour sensor name? Who knows? Ugh!
Oziee!!!!

(An out-there thought without actually trying to to see if it is possible... kill the existing 1 Hours sensor if it exists, create a new "generic" one, and then set the friendly name... The sensor name would not change because it was already set...)

I'm also in favour of changing:
"forecast_custom_hours": {"name": "Forecast Next {forecast_custom_hours} Hours"},
to
"forecast_custom_hours": {"name": "Forecast Next X Hours"},

I kind-of agree. That would not change the sensor name for existing installs. Because HA.
I'm going to naval gaze about this tomorrow. It has to be possible to kill off the existing sensor and replace it with a fresh one, and then update its friendly name to what ever we want. That scenario doesn't break future automations, etc.
But, how many people rely on this dodgy sensor name as _1_hour for automations, etc.? I'm tipping not many... If any. I wouldn't.
I'd love to know the history of it. Someone must use it, or it wouldn't be there, especially given Oziee's zero-tolerance attitude to chaff, and surely they would have at first been grateful, then called out its shortcomings... Which maybe Oziee dismissed? 🤷♂🤦🏻 Who knows? Guessing.

Btw. this code here is the one that does the placeholder substitution:
       #doesnt work :()         if entity_description.key == "forecast_custom_hours":             self._attr_translation_placeholders = {"forecast_custom_hours": f"{coordinator.solcast._customhoursensor}"}
I will push the changes to rename it.

#doesnt work :()

Lols.

It did for me, I updated the code and restarted HA and now I see:
"Forecast Next X Hours"
where before I had:
"Forecast Next 2 Hours"
It doesn't update the entity_id but if you didn't change the name, it updates it.

That is gold.

Is that for the friendly name or the sensor name? Whjat do you see in the developer tools against that sensor? I've never got it to change from default at creation...

I do still wish the 'friendly' name updated, but we can't have everything...

I've not found a way to separately set the friendly name, so folks can customise that themselves if desired.


Are you sure Modal confirmation, remove

Dialog box to make sure that the user is sure about the action

Consider this, what about an "undo" action button

Undo may be complicated, but how about, you can make them go back to waiting.
Using the attribute wait_time (up arrow, to go from current session to waiting queue)
Alert boxes


[AutoPR iothub/resource-manager] Fix documentation link

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5636

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4084


Make an error handler

Create an error handler for Vast, do this with classes and objects.
Create this only after upgrading the lexer to return the list with dicts containing info on each keyword, reference, and symbol, as it is needed for the information of the position the pointer is on for the tokenized_output list to be returned to the error handler so it can properly generate an error message.

Half done, base code for the error handler is already implemented, and in the next update it will be linked to the main interpreter file

The error handler is done, it is now referred to as the fault stack


[FLINK-30287] Delete job manager deployment first when cleaning up standalone cluster

What is the purpose of the change
Delete the Job manager resources first when deleting a standalone Flink cluster as part of an upgrade in order to prevent HA configmaps from getting cleaned up. As described in the ticket, I was seeing job HA data getting deleted between cluster upgrades.
Brief change log
Changed the resource clean up order from TM then JM to JM then TM for standalone clusters.
Verifying this change
Manually verified when upgrading a standalone session cluster with a SessionJob running on it, configmaps didn't get cleaned up after switching operator to deleting JM resources first.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changes to the CustomResourceDescriptors: no
Core observer or reconciler logic that is regularly executed: no

Documentation

Does this pull request introduce a new feature? no

cc @usamj WDYT?

@usamj @morhidi @gyfora thanks for reviewing the pr and helping merge it in. Were there any thoughts on including a more advanced testing framework into Operator such as Mockito? I was thinking about adding a unit test to enforce the new clean up order, but I didn't see a way of doing it with just Junit

Thanks for the clarification, I've opened another pr to add a unit test.


fix solar bug

This previously needed PRMS compiled with all doubles using GNU11.0.3 on mac intel i7. Does not seem to need this PRMS using ifort 2021.8.0 on mac M1....

Codecov Report

Merging #136 (a186fae) into main (2224e76) will increase coverage by 0.29%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #136      +/-   ##
==========================================
+ Coverage   82.03%   82.32%   +0.29%
==========================================
  Files          40       40
  Lines        4975     4973       -2
==========================================
+ Hits         4081     4094      +13
+ Misses        894      879      -15

Impacted Files
Coverage Δ

pynhm/atmosphere/PRMSSolarGeometry.py
88.23% <100.00%> (+4.51%)
:arrow_up:

pynhm/utils/netcdf_utils.py
85.85% <0.00%> (+2.35%)
:arrow_up:

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

All same test results here in CI across platforms (native PRMS precision).
test_solar_geom with PRMS compiled floats to all double precision:
Mac: GCC and ifort XPASS


X absolute positions sometimes are different for some genes.

X absolute positions are less than usual for some genes.
In draw-neighbor-genes.ts observe xAbsolute variable while going to  genes/GCF_000302455.1-A994_RS00170. Compare it to values produced going to another gene information page.

Interesting case also: genes/GCF_000302455.1-A994_RS01295

Fixed


How to customize permission table?

I would like to cusotmize permissions because I want to group Permissions. How can I do that? I could not figure out if this is already given or is this something we have to implement ourself. If we need to do this ourself then what would be the best way to go about doing it, so I can submit it to you to review?

You can attach permissions to roles and make a role group.

Actually in my project, I have given Admin the ability to be able to create Groups by selecting the available permissions but there are some special permissions which I wanted to highlight, so I thought if I would be able to add a new column in permission that would be good but that creates issue with your files as you have applied group somewhere on permission and this column is not present in that clause.


fixes #4352 : orphaned awaitingactivities

Update AwaitingActivities after saving a Workflow definition.
Fix for #4352

Updated to give user a choice to stop running workflows.


GDT Repo-relative imports and SPM

Run ./scripts/change_headers.swift to update all GDT library and tests imports to be repo-relative
Migrate Crashlytics and CoreDiagnostic to access GDT headers via GoogleDataTransportInternal.h
Delete unused GDT dependency in FirebaseInAppMessaging.podspec
Defer solving the proper location of the no-longer public GoogleDataTransport/GDTCCTLibrary/Public/GDTCOREvent+GDTCCTSupport.h
Turn on Swift Package Manager build and CI

cc: @samedson @christibbs


[Web][Desktop][Proposal]: Pressing tab key to focus on buttons, instead of next TextField.

required on pressing tab key it bypass the focus on those widget which tabstop off. this features exist in desktop application butt in flutter not yet. please add this feature as soon as possible thanks

Currently i want this feature for Desktop and Web. Butt in case if we attach keyboard with mobile need this feature on mobile too.

Hmm. This should already work, so it is not a new feature, but a bug.

@abdulrehmananwar Can you please post the results of flutter doctor -v here so that we can know more about the version you are seeing this in, and your environment?

please read my requirement carefully. its must be a new feature .
i have Two textfields with iconButton in a column and when i press tab key, the focus goes to the next widget which is iconbutton i want to off focus of iconbutton but not to disable it. so i want when i will press tab key focus goes to next textfield not to the iconbutton. butt iconbutton click able .
[√] Flutter (Channel stable, 2.0.6, on Microsoft Windows [Version 10.0.14393], locale en-US)
• Flutter version 2.0.6 at E:\flutter_windows_2.0.6-stable\flutter
• Framework revision 1d9032c7e1 (2 weeks ago), 2021-04-29 17:37:58 -0700
• Engine revision 05e680e202
• Dart version 2.12.3
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\hp\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
X No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can download the JDK from
https://www.oracle.com/technetwork/java/javase/downloads/.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
! Doctor found issues in 2 categories.


Sunset plugin [APE-1406]

Truffle is sunsetting their tools within the next 90 days, so we should work towards archiving this plugin and helping people migrate to others:
https://twitter.com/trufflesuite/status/1704946902393860589

closed by #35


Dynamic dump / print items in a array support

Currently

It outputs like this

May I ask could we support to print like this? while no need to pass specific variables to dump func (like return new HtmlResponse(\Kint::dump($action, $method, $params));) because just wanna let it more dynamic as the $vars can be contained many items and then can show the key items at the first level (don't be collapsed)

Depends which part you want.
If you want the keys to be renamed to variables that'd be inaccurate, if you want the keys to be renamed to match the variables assigned to them that's not possible. At best you'd need some beefy static analysis to pull that off (At worst it'd be completely impossible)
If you just want them dumped at the top level, you can just expand the array like d(...$vars)

I tried d(...$vars) but getting this
Kint::dumpAll requires arrays of identical size and keys as arguments

Huh. That's weird, I have a test dump of that kind but it works fine, but your example doesn't... I'll have to look into this

@jnvsor Cool, it works now.
But shall we output the key name only instead $vars[... ? or still need ?
For example like this

But shall we output the key name only [...] as it is intended to indicate the variable of the key and prevent duplicated key names with multiple variables right?

Well the main thing I was thinking of was the access path, rather than the name. If you dump ...$vars the access path for one of those would be $vars['params'][1] not params[1] so that would be incorrect.
The name itself can be duplicated if needed, it doesn't matter. It's just there to help the user understand which item they're looking at. I think if you d($a, $b, ...$c) it's more immediately apparent what you're looking at to see $a, $b, $c['x'], $c['y'], $c['z'] than $a, $b, x, y, z
Given that this changes the function signature for a number of public methods on Kint\Kint I'm going to do a little bit more work (Redundant parameters) to ensure no BC breaks then push to master

In the end for BC purposes I'm going to have to drop the associated keys altogether and treat them like numeric array unpacking. I've pushed 9230c016c976ff446f0be5cf82272db278344f69 and 3357a9fd2057c130694262d1011f8d1816cfe39b to my fork.
The first will go on a new 4.x branch as 4.2.2, the second will be the start of a 5.x target, but it probably won't be released just for this feature so it'll likely end up with PHP 8.2 support being the biggest feature


Issues about ssl

Hi,
Thanks for sharing your code, it's an excellent learning material.
I have problems in running ssl experiment. In the 'ssl_exps.py', it seems that ssl needs some specific 'exp_dict.json'. How can I get these files?
Thanks
Sisin

+1

Hi @SisinHuang @cvprkang, we have updated the code with the SSL experiments, and the README with instructions to run it. We haven't finished updating the code but I think it should already work. Please, let us know if there were any problems.

Get it!
Sorry for my slow reply.


Grid with fixed columns may have different cell height in fixed and scrollable parts

FF, Chromium, IE
If cell contents has different height, the cells will also have different height.

overflow:hidden in table and inner div does not help, the cell height will be set according to contents,
not specified height. The only solution I found on StackOverflow is the following:
set position: relative in td
set position: absolute; left:0;top:0 in div
It works!

Can you please create a jsfiddle to demonstrate the problem?
And maybe add a fiddle that includes your fix, so someone can create a Pull Request?
Or consider to create a Pull Request yourself.

Closing issue: no response


Kenhoff/even more design fixes

linting
adjust caret size, border radius, and icon on podcast/rss popover menu
list item styling changes - color, font-size and weight

awesome

can you merge master into this first though?


Genius API Lyrics

Integrate Genius API Lyrics into Mear

Documentation to get started can be found using the following links:

Genius API Developers
Genius API


Replace deprecated NSURLConnection with NSURLSession

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[ ] I have added the required tests to prove the fix/feature I am adding

[ ] I have updated the documentation (if necesarry)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This pull request fixes the following issues: #1291 #1318 #823 #1566
Pull Request Description

one session per operation to preserve the ordering and priority functionalities
removed all the runloop code that was only used to keep the operation running. I am relying on non-setting the isFinished property to keep the operation running
todo: check deallocation, test background tasks

Looks good. One immediate comment: since NSURLSession is available only from iOS 7, so we need to change the deployment target from 5.0 to 7.0 in the podspec and the projects.

@mythodeia @rs please take a look at this. Apple says

At WWDC 2015 we announced the transition to IPv6-only network services in iOS 9. Starting June 1, 2016 all apps submitted to the App Store must support IPv6-only networking. Most apps will not require any changes because IPv6 is already supported by NSURLSession and CFNetwork APIs.

I would make a 3.8 release ASAP. Minor version and not patch because we will loose compatibility with iOS 5 and 6.

@bpoplauschi i have read this. Indeed since yesterday Apple accepts IPv6-only network services. So are you going to release 3.8 soon?

@mythodeia I sure hope so. As soon as this PR is merged (requires small changes and testing), I will release 3.8.

I'll go ahead and merge it. I will add the deployment target changes directly on master.

The performance has degraded considerably...
One session per operation doesn't look effecient...

@ksi1024 can you share any measurements that show the degraded performance?

This is what I did...
`
-(void)testDownload
{
const int NUM = 100;
SDImageCache *imageCache = [SDImageCache sharedImageCache];
[imageCache clearMemory];
[imageCache clearDisk];
NSMutableArray *ma = [NSMutableArray array];
for(int i = 0; i < NUM; i++){
    NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://<IP_ADDRESS>/imgtest/%04d.jpg", i]];
    [ma addObject:url];
}

double walltime = CACurrentMediaTime();

[[SDWebImagePrefetcher sharedImagePrefetcher] prefetchURLs:ma
                                                  progress:^(NSUInteger nFinished, NSUInteger nTotal){
                                                  }
                                                 completed:^(NSUInteger nFinished, NSUInteger nSkipped){
                                                     double elapsed = CACurrentMediaTime() - walltime;
                                                     NSLog(@"prefetch complete %ld:%ld, time:%.5f", (long)nFinished, (long)nSkipped, elapsed);
                                                 }];

}
`
All my images are in my local network, so they are not downloaded over the internet.
The results of 10 tests of this function call on each version are ...

Although testing only shows a slight difference,
the performance degrade is clearly noticable when it comes to calling
[UIImageView sd_setImageWithURL: placeholderImage: options: completed:]
on UITableViewCells while scrolling them down a UITableView.

Thank you @ksi1024
I'll take a look this weekend and attempt to use a single session for all operations.

@ksi1024 I updated the implementation and we're now using a single session for all the image tasks. Please take a look at #1586
Thanks again for your feedback!

@ksi1024 I just released 3.8.0, please try it out and let us know if it performs as expected.

Tried single session for all task and session per task on the new code...
   operation = [[wself.operationClass alloc] initWithRequest:request
                                                    inSession:self.session  <-- switch this with nil
                                                      options:options
                                                     progress:^(NSInteger receivedSize, NSInteger expectedSize) {...

Only made slight difference when batch downloading 100 images in my environment, but the image downloading in UITableView cells are now responsive again!  So it is performing as expected.  Thank you all! 👍

@bpoplauschi is single session used in 4.x branch as well?

Yeap. I recently merged master into 4.x

perfect


Llama3.1

This PR enables Llama 3.1 training and loading.
Using Llama 3.1 required us to upgrade transformers. The new version changes caching so there are some changes related to that as well.

Huh, the transformers version change was note pushed.


Question: Selectable Text Box

Thanks for a great library btw! I am having fun using it.
I am curious if I am missing an option or this is currently not supported- I am unable to select/Copy and paste words/lines from the text widget. Is there a specific option I need to set or is this currently not supported ? Would be very useful to have. Thanks!

Hello @abhi, that is a good question, I too noticed this but never really researched whether it is due to my terminal settings or because of how termbox initializes the terminal.
We currently don't have an option to change this behavior. We should look into the API of termbox and figure out if they offer such option:
https://github.com/nsf/termbox-go


Which Azure AD role is need to run the script?

Hi! What Azure AD role is needed to run the script that gives the managed identity permission to Graph?
I now get this error message with some AAD Roles activated (like cloud application administrator). Is it only Global Admin? I think it would be helpful to add this to the documentation. :-)
Thanks
From the terminal:
New-AzureAdServiceAppRoleAssignment : Error occurred while executing NewServicePrincipalAppRoleAssignment  Code: Authorization_RequestDenied Message: Insufficient privileges to complete the operation.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 15507fb4-6ebe-f0f0-96b6-f6c578747d3f
Version Independent ID: b2ae30fa-60ae-a30a-b17b-2de525cf0370
Content: Tutorial - Web app accesses Microsoft Graph as the app - Microsoft Entra
Content Source: articles/active-directory/develop/multi-service-web-app-access-microsoft-graph-as-app.md
Service: app-service-web
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@BasWassenaar We are happy to hear you found the answer. Thank you for sharing it with the community!


Button text is off

And that's a first page...

Could reproduce it on the website from my cellphone, but didn't reproduce the error when using my local project.

That's fixed


DibiFluent && Dibi\Fluent support

Duplicate? https://github.com/contributte/datagrid/pull/662

It needs to be rebased, @cniry.

@cniry ping


scrollToPositionWithOffset scrolls only header but not section items

I use FlexibleAdapter with sticky header - latest SNAPSHOT version.
I need to scroll to particular list position. So, I use SmoothScrollLinearLayoutManager and scrollToPositionWithOffset.
In most cases scrolling work as expected but sometimes manager scrolls to header position but does not scroll items below (please see screenshot - items grouped by date and you can see that "July 7" header is on top now but items for that date don't change position).
Unfortunately I can't provide certain steps that reproduce the issue but I am still testing the case. Maybe you have some ideas about the reason?

Nope, what you say sounds strage.
Do you need the "offset" or just a simple scroll?
https://developer.android.com/reference/android/support/v7/widget/LinearLayoutManager.html#scrollToPositionWithOffset(int,int)

I've tried scrollToPosition(position) first but for some reasons this method does not work. When I scroll to some position it scrolls to absolutely another (I've checked it in debug - position is OK). So, I decided switch to scrollToPositionWithOffset(position,0) and it works as expected but with issue I mentioned above.

I prepared example for you. I use scrollToPosition(position) here.
So, when you select date in DatePicker you should be scrolled to this date in list. I've noticed that when you try to scroll backward everything works but when you scroll forward it doesn't work as expected.
Note: I generate dates with interval - e.g. 1st 3rd 5th etc. , for gaps I insert empty item with empty header.

Hi @yamelkaya, I tried your example, that is normal, because scrollTo displays the position you indicated, nothing to complain about it, even if is the last visible item in the RV...
Maybe you need a function like mine (check code), or maybe you need that function (now private):
private void autoScrollWithDelay(final int position, final int subItemsCount, final long delay);

I see. scrollToPosition(position) is not my case. I need element at the top when I scroll to it. I think scrollToPositionWithOffset(position,0) should do what I need.
So, I'll try to reproduce issue with incorrect scrolling (which I mention at the first post) in my example.
Checked your method autoScrollWithDelay. It uses smoothScrollToPosition(position) . I will do experiments with this method too.

Smooth might not be good for many many items to scroll, it's nice for few items.
However I wanted to point out the calculation. You need the header to be scrolled as first visible position, so you need to calculate the position to scrollTo, you don't need ...WithOffset().

Smooth might not be good for many many items to scroll, it's nice for few items.

Yes, with smooth scroll it looks really strange. Are there any good solutions for fast scrolling to item?

Hi @yamelkaya, as said you need to calculate the top position to scrollTo.


Thumbnail generation crashes container

Describe the bug
As soon as I try to access a picture (tried with different ones/formats), the container crashes. When it starts again no thumbnail was generated.
Here are the last three lines in the log:
pigallery2    | 9/27/2020, 7:29:54 PM[SILLY] [DiskManager] scanning directory: ./
pigallery2    | 9/27/2020, 7:29:54 PM[VERBOSE] GET /api/gallery/content/?knownLastModified=1601234824773&knownLastScanned=1601234908707 200 41ms
pigallery2    | 9/27/2020, 7:29:54 PM[SILLY] [SharpRenderer] rendering photo:/app/data/images/Vesuvius_on_fire_focuson.gif, size:480

I also tried deleting all files in the volumes. There doesn't seem to be any errors in the log, so I do not know how to debug.
I also tried Jimp (no crash, but an error is printed):
pigallery2    | 9/27/2020, 8:01:35 PM[SILLY] [JimpThRenderer] rendering thumbnail:/app/data/images/Vesuvius_on_fire_focuson.gif
pigallery2    | 9/27/2020, 8:01:35 PM[WARN] Handled error:
pigallery2    | ErrorDTO {
pigallery2    |   code: 8,
pigallery2    |   message: 'Error during generating thumbnail: /app/data/images/Vesuvius_on_fire_focuson.gif',
pigallery2    |   details: '[object Object]',
pigallery2    |   detailsStr: '[object Object]'
pigallery2    | }

Environment (please complete the following information):

OS: linux
Browser firefox
Architecture: ARM32v7

Used app version:

docker latest

Seems to work in the nightly build

This is probably because of https://github.com/bpatrik/pigallery2/commit/0377d51dd6047dd8fb4287a73950a735d0562aa7 https://github.com/bpatrik/pigallery2/commit/3f2498dc8aa453265c4e7a9c7a0da13b99cfc398

Sharp downgrade should not be an issue. I tried to upgrade sharp, but the prebuild binaries were not ready yet for all platforms and build failed, so I downgraded them.

sorry,just seeng this. Can you share a sample photo that crashes the app?
Is this still a problem?
I assume thois some architecture issue.

I'm closing this due to inactivity


core-metadata-cleaner does not clear command collection

This is not an issue -- the problem was on my end.


Fix HMAC SHA3-224 and HMAC SHA3-256.

Added NIST test cases for these two as well.
Fixes #6946

[x] tests are added or updated

Duplicate of #4338.

Isn't it possible to fix this issue without fixing the public header file - so this could be done in a compatible manner. With the HMAC_CTX structure opaque we should be able to make this work without that constant needing updating in the public header file and correct it as noted in #4338 in the next release.

OMC review required.

Ping?

Review required still.

Review required still.

Merged.


iQMC Refactor

This PR includes two significant changes:

All of the iQMC functions in both loop.py and kernel.py have been moved into iqmc_loop.py and iqmc_kernel.py inside of an iqmc/ subfolder. Additionally, iQMC now calls it's own loop_source, loop_partcile, and step_particle functions. These changes are intended to reduce the complexity in the primary MCDC loop and kernel functions - most embedded iQMC conditional statements and loops have been removed (except for copying the P["iqmc"]["w"] because there is still only one particle type). This should also increase readability for both Monte Carlo and iQMC functions.

The Scipy low-discrepency sequences have been removed and custom Halton sequences were added. halton() is the standard Halton sequence that is currently used for all iQMC simulations. rhalton() is the randomized-Halton sequence which will be used in a forth-coming batching method PR. This removes the dependence for scipy.

EDIT:
I thought removing the halton sequence removed our dependence for scipy. However, we still use it in input_.py to integrate
            # Make cdf
            card["energy"][1, :] = sp.integrate.cumulative_trapezoid(
                card["energy"][1], x=card["energy"][0], initial=0.0
            )

Really cool changes! IF/when we want to port iqmc to GPUs will this make that more difficult as we have more independent source files?
I will run the GPU tests to ensure they still compile with all these changes and then merge

Also just so I understand it every iQMC function now uses the Halton sequence, right? Therefore it's no longer a togglable option with no need for input_.py documentation?

Thanks, Sam.Does the refactor solve the issue in the CSG PR?Sent from my iPhoneOn Jun 22, 2024, at 12:54 PM, Joanna Piper Morgan @.***> wrote:
@jpmorgan98 requested changes on this pull request.
Just a few odds and ends mostly adding some spyder autodoc strings and adding some other seemingly important doc strings, if I get bored this weekend I will try and do a few of them myself. Thanks sam!!!
In mcdc/iqmc/iqmc_kernel.py:

@@ -0,0 +1,714 @@
+#!/usr/bin/env python3

Please remove these Spyder docstrings
In mcdc/iqmc/iqmc_kernel.py:

N, dim = mcdc["technique"]["iqmc"]["lds"].shape

N_start = mcdc["mpi_work_start"]
mcdc["technique"]["iqmc"]["lds"] = halton(N, dim, skip=N_start)

@.***("iQMC")
+def scramble_LDS(mcdc):

TODO: use MCDC seed system

seed_batch = np.random.randint(1000, 1000000)
N, dim = mcdc["technique"]["iqmc"]["lds"].shape
N_start = mcdc["mpi_work_start"]
mcdc["technique"]["iqmc"]["lds"] = rhalton(N, dim, seed=seed_batch, skip=N_start)

@.***("iQMC")
+def rhalton(N, dim, seed=12345, skip=0):
Could you add some doc strings here? It doesn't need to be as robust as the input deck. The halton sequence seems to be undergriding iQMC so it seems mildly important to me but lmk
In mcdc/iqmc/iqmc_loop.py:

@@ -0,0 +1,403 @@
+#!/usr/bin/env python3

Again please remove spyder doc strings
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Passed GPU tests


add compiler version to run_constrained

compiler version is part of the nanobind ABI, so fenics-basix built with gcc 13 is not compatible with fenics-dolfinx built with gcc 12, leading to:
Traceback (most recent call last):
  File "/home/dokken/Documents/debug/mwe_debug.py", line 6, in <module>
    dolfinx.cpp.fem.CoordinateElement_float64(c_el.basix_element._e)
TypeError: __init__(): incompatible function arguments. The following argument types are supported:
    1. __init__(self, celltype: dolfinx.cpp.mesh.CellType, degree: int) -> None
    2. __init__(self, element: basix::FiniteElement<double>) -> None
    3. __init__(self, celltype: dolfinx.cpp.mesh.CellType, degree: int, variant: int) -> None

Invoked with types: dolfinx.cpp.fem.CoordinateElement_float64, basix._b

ref
To fix this for 'default' installs, we should just need an updated build of fenics-dolfinx, which already has the appropriate pinning: https://github.com/conda-forge/fenics-dolfinx-feedstock/pull/81
To fix this in general, we need to add a repodata patch to apply this pinning to fenics-basix builds, so fenics-basix built with gcc 12 can only be used with fenics-dolfin also built with gcc 12

@conda-forge-admin please rerender

I erroneously removed the basix-abi package to merge the pybind11 abi and the compiler version when migrating to nanobind. Turns out, nanobind also appaers to artificially inject the compiler version into the abi, so the same approach should still work.


Migrate current content to Jekyll

New site should look exactly the same but for the footer that's going to be located some pixels below.
I've followed this guide, and have tested locally, but haven't rendered using github.

Files are still HTML
Body content can be edited as usual
Header and Footer reside now in _includes
The only layout being used is _layouts\default.html
feed.xml is at root, but will only add post contents. Since we have no posts, the feed is empty

Haven't included a Gemfile, the setup has been really simple
gem install jekyll
cd /your/local/k8s.info/
jekyll serve

@odacremolbap that's awesome, thank you! Only thing that looks a bit strange is Last update: 2015-12-21 by mhausenblas in footer.html. Want to change that to something more up-to-date or generic?

I updated manually _includes/footer.html
Later we can find a way to get that updated automatically.


Fix Helm subscription not applying updates to HelmRelease in some situations

Signed-off-by: Mike Ng<EMAIL_ADDRESS>

/hold