GHCJS darwin fixes

Motivation for this change
Things done

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

[ ] NixOS
[x] 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/)
[ ] Fits CONTRIBUTING.md.

@ElvishJerricco, I just finished building in a pure nix-shell environment with this patch, the standard "Hello, world!" seems to work. Thanks!

@GrahamcOfBorg  build haskell.compiler.ghcjs haskell.compiler.ghcjs82 haskell.compiler.ghcjs84

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: haskell.compiler.ghcjs, haskell.compiler.ghcjs82, haskell.compiler.ghcjs84
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-linux (full log)
Attempted: haskell.compiler.ghcjs, haskell.compiler.ghcjs82, haskell.compiler.ghcjs84
Partial log (click to expand)
cannot build derivation '/nix/store/v3pmv1aaamav4j5k2n34mfrb3xgd0cp8-kan-extensions-5.1.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/p4qb7rxq26vxl97ai6ayvmfnlx4jvrvp-wai-extra-<IP_ADDRESS>.drv': 27 dependencies couldn't be built
cannot build derivation '/nix/store/vm4ia7dpxr126ym55biai92lphfzkkl5-warp-3.2.22.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/i3ndj95p89i1nc36a5mn7mvzas4pnf7x-lens-4.16.1.drv': 34 dependencies couldn't be built
cannot build derivation '/nix/store/bf1zizaqq491kggclfvicvahcbkmakvx-wai-app-static-<IP_ADDRESS>.drv': 22 dependencies couldn't be built
cannot build derivation '/nix/store/wx1abkhs17xd9bqi8cajghq55nyv1pyx-yaml-0.8.30.drv': 15 dependencies couldn't be built
cannot build derivation '/nix/store/qhl5nn2xd8kdla1kw1wiflcn7bkdcd4q-wai-websockets-<IP_ADDRESS>.drv': 10 dependencies couldn't be built
cannot build derivation '/nix/store/8d1z4zrfsh4l7llkavdwk3irp7f7ak36-ghcjs-<IP_ADDRESS>.drv': 51 dependencies couldn't be built
cannot build derivation '/nix/store/w9yw7q9br4bng7jxxz59615jl8lj84ln-ghcjs.drv': 4 dependencies couldn't be built
error: build of '/nix/store/638wgmwbzp0p18xpllzwmih9z80g3pfh-ghcjs.drv', '/nix/store/w9yw7q9br4bng7jxxz59615jl8lj84ln-ghcjs.drv' failed

Failure on x86_64-darwin (full log)
Attempted: haskell.compiler.ghcjs, haskell.compiler.ghcjs82, haskell.compiler.ghcjs84
Partial log (click to expand)
cannot build derivation '/nix/store/p04r4bkwazpy4niyyam9mx7b15fnqc78-wai-websockets-<IP_ADDRESS>.drv': 11 dependencies couldn't be built
cannot build derivation '/nix/store/dkgkwpk4ggd8fwhw0hscn5db083f6dgn-conduit-<IP_ADDRESS>.drv': 16 dependencies couldn't be built
cannot build derivation '/nix/store/43295yypfshlaxvb4zcw1xmmb6xhkd7q-ghcjs-<IP_ADDRESS>.drv': 51 dependencies couldn't be built
cannot build derivation '/nix/store/js73g59pnkfhcvv5djsbn60hgl45n4c2-kan-extensions-5.1.drv': 13 dependencies couldn't be built
cannot build derivation '/nix/store/iq6kwfb3vl57lhf4j04xq34lpa51whlf-ghcjs.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/a3m6vzk7hkcmbn43idygvnbra4p0xfj6-lens-4.16.1.drv': 36 dependencies couldn't be built
cannot build derivation '/nix/store/b7g2xa9rir5kxfbg0lpqdrcz7j2jcic5-yaml-0.8.30.drv': 16 dependencies couldn't be built
cannot build derivation '/nix/store/f1cyjixbhkz9i5jyg5xvqv1idb6i289c-ghcjs-<IP_ADDRESS>.drv': 54 dependencies couldn't be built
cannot build derivation '/nix/store/2inv3n5zfm70zyhig02drp35r3ak0har-ghcjs.drv': 5 dependencies couldn't be built
error: build of '/nix/store/2inv3n5zfm70zyhig02drp35r3ak0har-ghcjs.drv', '/nix/store/iq6kwfb3vl57lhf4j04xq34lpa51whlf-ghcjs.drv' failed

Looks like a lot of dependencies are currently broken.

Someone broke GHC 8.0.2, which is for some reason used to build jailbreak-cabal for haskell.packages.ghc822 -_-

So let's wait until GHC 8.0.2 is fixed (#41166)

@GrahamcOfBorg build haskell.compiler.ghcjs haskell.compiler.ghcjs82 haskell.compiler.ghcjs84

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: haskell.compiler.ghcjs, haskell.compiler.ghcjs82, haskell.compiler.ghcjs84
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-darwin (full log)
Attempted: haskell.compiler.ghcjs, haskell.compiler.ghcjs82, haskell.compiler.ghcjs84
Partial log (click to expand)
Installing library in /nix/store/c24dicxyyjxwnhvf9s7d1myk40rkxqy5-ghc-api-ghcjs-8.2.2/lib/ghc-8.2.2/ghc-api-ghcjs-8.2.2
post-installation fixup
strip is /nix/store/r5mcn9vqq80v5pfqp45d7290cis7dwp4-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/c24dicxyyjxwnhvf9s7d1myk40rkxqy5-ghc-api-ghcjs-8.2.2/lib
patching script interpreter paths in /nix/store/c24dicxyyjxwnhvf9s7d1myk40rkxqy5-ghc-api-ghcjs-8.2.2
building of '/nix/store/k0dfv0nhg30vam6gg68ch01slyxgv22i-ghc-api-ghcjs-8.2.2.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/vp8qwfh48vqc2vhl61v8h2cdjpdh7vkk-haddock-api-ghcjs-2.18.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/x5smqiq4w3yh762ypmddz09h7xycnqmf-ghcjs-<IP_ADDRESS>.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/pwb4bawf6vlf92dkvp4av0flmgcxpshj-ghcjs.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7pvq3r4sa9svc3md5i416mgnkw0lhmg1-ghcjs.drv', '/nix/store/pwb4bawf6vlf92dkvp4av0flmgcxpshj-ghcjs.drv' failed

Failure on x86_64-linux (full log)
Attempted: haskell.compiler.ghcjs, haskell.compiler.ghcjs82, haskell.compiler.ghcjs84
Partial log (click to expand)
patching script interpreter paths in /nix/store/1sywd60cc09ly74ygqn74f01b7vrnch6-wai-websockets-<IP_ADDRESS>
checking for references to /build in /nix/store/1sywd60cc09ly74ygqn74f01b7vrnch6-wai-websockets-<IP_ADDRESS>...
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/flmvyf465ia1j6zy16g1739wqk4rib18-wai-websockets-<IP_ADDRESS>-doc
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/flmvyf465ia1j6zy16g1739wqk4rib18-wai-websockets-<IP_ADDRESS>-doc
checking for references to /build in /nix/store/flmvyf465ia1j6zy16g1739wqk4rib18-wai-websockets-<IP_ADDRESS>-doc...
cannot build derivation '/nix/store/wqplq25783fwfdfa6y47w7ribf2bh8kn-ghcjs-<IP_ADDRESS>.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/1gl9qni818fqpk54d9v45g8d9asmp253-ghcjs.drv': 2 dependencies couldn't be built
error: build of '/nix/store/1gl9qni818fqpk54d9v45g8d9asmp253-ghcjs.drv', '/nix/store/cmcwrifc4lip4s84wixx8s8xyifqzfnh-ghcjs.drv' failed

GHC 8.0.2 is fixed on master but we still have timeouts/failing dependencies on ofborg. I see no point in delaying this rather small change, so let's merge it anyway and see how things work out on Hydra.

@xeji Thanks :)


Empty selectors without line break

Personally I think it's cleaner if a empty selector is in one line.
Example:
thead {}

tbody {}

tfoot {}

instead of
thead {
}

tbody {
}

tfoot {
}

Anyway, css-clean is great plugin! Great work so far, Sean! Keep it up! :)

Thanks @HannesDev ;-)


Fix two lgtm alerts

This pull request introduces 1 alert and fixes 2 when merging 5554052ade1a5243c44f2dc8f6de3063453b99f3 into d6bc5543e46224d7f70655c16d8fb97d6ed2ee53 - view on lgtm.com
new alerts:

1 for Missing variable declaration

fixed alerts:

1 for Useless assignment to local variable
1 for Superfluous trailing arguments

Comment posted by lgtm.com

This pull request fixes 2 alerts when merging 21b9b0bd62e357a7b575d1d32838367d193feb16 into d6bc5543e46224d7f70655c16d8fb97d6ed2ee53 - view on lgtm.com
fixed alerts:

1 for Useless assignment to local variable
1 for Superfluous trailing arguments

Comment posted by lgtm.com


Docs: Weight search toward closer matches for more accurate results

Description

It was treating partial matches on multi-word results far too equally to actual close matches that were a few letters off.
How Has This Been Tested?

visually
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] Documentation (fix or improvement to the website or code docs)

After (Left) and Before (right)

Checklist

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

👍


[1.1] Get QP code path working

The QP code path does not work. Here is the output of running nosetests cvxpy/tests/test_qp.py
EEEE
======================================================================
ERROR: test_all_solvers (cvxpy.tests.test_qp.TestQp)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 73, in test_all_solvers
    self.quad_over_lin(solver)
  File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 104, in quad_over_lin
    self.solve_QP(p, solver)
  File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 69, in solve_QP
    return problem.solve(solver=solver_name, verbose=True)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 271, in solve
    return solve_func(self, *args, **kwargs)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 465, in _solve
    data, inverse_data = self._solving_chain.apply(self)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/chain.py", line 65, in apply
    problem, inv = r.apply(problem)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/matrix_stuffing.py", line 63, in apply
    new_obj, new_var, r = self.stuffed_objective(problem, extractor)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/qp2quad_form/qp_matrix_stuffing.py", line 49, in stuffed_objective
    P, q, r = extractor.quad_form(problem.objective.expr)
  File "/Users/Akshay/projects/cvxpy/cvxpy/utilities/coeff_extractor.py", line 151, in quad_form
    quad_forms)
  File "/Users/Akshay/projects/cvxpy/cvxpy/utilities/coeff_extractor.py", line 117, in extract_quadratic_coeffs
    P = c_part @ P
ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 2 is different from 1)

======================================================================
ERROR: Test solve parametric problem vs full problem
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 453, in test_parametric
    prob.solve(solver=solver)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 271, in solve
    return solve_func(self, *args, **kwargs)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 465, in _solve
    data, inverse_data = self._solving_chain.apply(self)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/chain.py", line 65, in apply
    problem, inv = r.apply(problem)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/matrix_stuffing.py", line 80, in apply
    Afull, bfull = extractor.affine(expr_list)
ValueError: too many values to unpack (expected 2)

======================================================================
ERROR: Test issue arising with square plus parameter.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 484, in test_square_param
    prob.solve()
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 271, in solve
    return solve_func(self, *args, **kwargs)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 465, in _solve
    data, inverse_data = self._solving_chain.apply(self)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/chain.py", line 65, in apply
    problem, inv = r.apply(problem)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/matrix_stuffing.py", line 80, in apply
    Afull, bfull = extractor.affine(expr_list)
ValueError: too many values to unpack (expected 2)

======================================================================
ERROR: Test warm start.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 428, in test_warm_start
    result = prob.solve(warm_start=False)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 271, in solve
    return solve_func(self, *args, **kwargs)
  File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 465, in _solve
    data, inverse_data = self._solving_chain.apply(self)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/chain.py", line 65, in apply
    problem, inv = r.apply(problem)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/matrix_stuffing.py", line 63, in apply
    new_obj, new_var, r = self.stuffed_objective(problem, extractor)
  File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/qp2quad_form/qp_matrix_stuffing.py", line 49, in stuffed_objective
    P, q, r = extractor.quad_form(problem.objective.expr)
  File "/Users/Akshay/projects/cvxpy/cvxpy/utilities/coeff_extractor.py", line 151, in quad_form
    quad_forms)
  File "/Users/Akshay/projects/cvxpy/cvxpy/utilities/coeff_extractor.py", line 117, in extract_quadratic_coeffs
    P = c_part @ P
ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 200 is different from 1)

----------------------------------------------------------------------
Ran 4 tests in 0.027s

FAILED (errors=4)

Many but not all of the QP tests fail at line 105 of matrix_stuffing.py:
# TODO QPs go here for constraints. Need to cast into right dimensions.
Afull, bfull = extractor.affine(expr_list)

@SteveDiamond , what needs to be done to address that TODO?

42b916c addresses the TODO mentioned in the previous comment, and it also fixes dual variable retrieval.
Here's the output of test_qp.py now:
ERROR: Test solve parametric problem vs full problem
Traceback (most recent call last):
File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 453, in test_parametric
prob.solve(solver=solver)
File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 284, in solve
return solve_func(self, *args, **kwargs)
File "/Users/Akshay/projects/cvxpy/cvxpy/problems/problem.py", line 532, in _solve
data, inverse_data = self._solving_chain.apply(self)
File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/chain.py", line 65, in apply
problem, inv = r.apply(problem)
File "/Users/Akshay/projects/cvxpy/cvxpy/reductions/solvers/conic_solvers/mosek_conif.py", line 174, in apply
inv_data = {self.VAR_ID: problem.variables()[0].id,
TypeError: 'list' object is not callable
-------------------- >> begin captured stdout << ---------------------
[array(0.5), array(0.1)]
[array(0.5), array(0.09999993)]
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: test_all_solvers (cvxpy.tests.test_qp.TestQp)
Traceback (most recent call last):
File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 77, in test_all_solvers
self.quad_form(solver)
File "/Users/Akshay/projects/cvxpy/cvxpy/tests/test_qp.py", line 154, in quad_form
self.assertItemsAlmostEqual(z, var.value, places=4)
File "/Users/Akshay/projects/cvxpy/cvxpy/tests/base_test.py", line 34, in assertItemsAlmostEqual
self.assertAlmostEqual(a[i], b[i], places)
File "/Users/Akshay/projects/cvxpy/cvxpy/tests/base_test.py", line 38, in assertAlmostEqual
super(BaseTest, self).assertAlmostEqual(a, b, places=places)
AssertionError: -1.4543656745987648 !=<PHONE_NUMBER>787997 within 4 places<PHONE_NUMBER>533984 difference)

Ran 4 tests in 0.218s
FAILED (errors=1, failures=1)

resolved by 147a578bd8455798f4c870226ab6bddd77226f7d


Smaller timeout for failed outgoing emails

Hello,
I've been enjoying this great docker image for about half a year now and would like to ask a small question, which might be topical to other users as well. As it turns out from Semantec security forum, it is often the case that "clean" private mail servers end up being in some nontransparent Semantec's internal blacklist. Just search for 501 Connection rejected by policy [7.7] there and you will see the same question once in a few days. I got into this trap recently too :–)
The biggest issue is that the owner of a mail server cannot know about this problem until an email has been rejected by one of the Semantec customers, the list of which is not public. Because of how the server is configured now, the bounce-back email only lands the sender's inbox in five days, during which he or she is sure that the email has been delivered and maybe some actions are being taken by the receiver.
I know it's impossible to fix the root cause of the problem as it's on Semantec's end, but I'm wondering if it is reasonable to reduce the default retry timeout from 5 days to maybe an hour? I don't know how higher the probability of errors with such a small timeout would be, but even if this change causes more messages from "MAILER-DAEMON", I still see this situation better than what's happening now. An early error will help users connect with their recipients by other means and not desperately wait for a few days only to know that their very important email was bounced back.
What do you think?

Hi @kachkaev, you're right. This may be changed in default settings but you can already do that using postfix override feature.
Here is a related article: http://jrs-s.net/2013/04/17/configuring-retry-duration-in-postfix/
I don't measure which value should be default, so keeping postfix config may be ok, particularly if overridable.

Thanks for the link @tomav! After reading that article and a comment to it, my postfix-main.cf looks like this:
message_size_limit=31457280
bounce_queue_lifetime = 2h
maximal_queue_lifetime = 3h
queue_run_delay = 5m
minimal_backoff_time = 5m
maximal_backoff_time = 15m

Will see how it behaves in the wild, will let know if any issues.


[zh-cn] resync /concepts/workloads/pods/init-containers.md

Updated with the en version:
content/zh-cn/docs/concepts/workloads/pods/init-containers.md

Preview: https://deploy-preview-35467--kubernetes-io-main-staging.netlify.app/zh-cn/docs/concepts/workloads/pods/init-containers/

/lgtm
/approve


Support for creating, loading, saving, and closing multi folder projects with side bar

I come from visual studio 2019 and I find it very hard to create a new project in vs code.
I was wondering if we can have support for creating, loading, saving, and closing multi and single folder projects with side bar?
I was thinking a create project button in the explorer tab as well as the ability to load and remove workspaces

There are already commands like F1 > Workspace Add Folder To Workspace and others
Please try using that

We will not have buttons for each of those in the explorer side bar, thus closing as designed


[es-419] Corrected some things

Some translations did not fit on the buttons. I have made some small corrections
Example:

If they don't fit on the buttons, that's more of a UI issue than a translation issue, which needs to be fixed on the game's side instead.


Enemies/polish

Not 100% there yet, but good enough for feedback testing

Unity is complaining that the only difference between two folders is the casing and not importing the files properly. Will try to merge the folders.

When finished, the folder should contain 3 files: sharcusAlert, sharcusAttack and sharcusConfused


Stop type inference from indefinite retry on failed function resolution

Fix hang seen in https://github.com/numba/numba/issues/9257
Summary of changes:

Added a fail-cache to remember failed function resolution for the current compilation session and avoid repeated attempts of known failing cases.
The fail-cache can be disabled by an env-var to help debug any unforeseen problem arising from this change of type inference behavior.

TODOs:

[ ] check https://github.com/numba/numba/issues/9375#issuecomment-1893955887


[Java] dubbo 3.0 plugin support

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ x ] Requirement

Question

java agent support dubbo 3.0

Are you going to contribute this plugin?

sry,may not

OK, then I am going to keep this issue open. Anyone wants to do, welcome to self-assign this.

@wu-sheng i want to to contribute this plugin!

@hermeshephaestus assigned, thanks and good luck!

@kezhenxu94  @wu-sheng Does skywalking have a WeChat group？ I want to join in!

@kezhenxu94  @wu-sheng Does skywalking have a WeChat group？ I want to join in!

No, we don't have that.

@hermeshephaestus Do you have anything to update? I see this has passed 10 days.

I'm still working on this task. I still need some time. @wu-sheng

期待Dubbo3.0插件，
或许下面这个地址的问题有点帮助
https://github.com/apache/dubbo/issues/8365

@pangshuqiang Please keep all comments in English on SkyWalking GitHub.

I am interested in it

@hailin0 Please go ahead. There is no progress yet.

@hailin0 Please go ahead. There is no progress yet.
👌

@hailin0 Please go ahead. There is no progress yet.
👌
Hi hailin0, any progress?

Hi all,
Please have a look.
https://github.com/apache/skywalking-java/pull/73


[karma-esm] remove @types/deepmerge

when doing yarn install  on a project just initialized I do get

warning @open-wc/testing-karma > @open-wc/karma-esm ><EMAIL_ADDRESS>This is a stub types definition. deepmerge provides its own type definitions, so you do not need this installed.

seems we can just get rid of it?

Yes seems like it


jackett: 0.11.751 -> 0.11.817

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/jackett/versions.
meta.description for jackett is: '"API Support for your favorite torrent trackers."'.
meta.homepage for jackett is: '"https://github.com/Jackett/Jackett/"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.11.817 with grep in /nix/store/bzp4zxd9bnqqkj6cm3r2afpgifxd7hvf-jackett-0.11.817

directory tree listing: https://gist.github.com/64925411bbcdbb95d448630d8dd7a654

du listing: https://gist.github.com/7f8b955e5a5e138131b9a7a0ef94dccc

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
jackett

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bzp4zxd9bnqqkj6cm3r2afpgifxd7hvf-jackett-0.11.817 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A jackett https://github.com/r-ryantm/nixpkgs/archive/898e6d7679f4abaf692f5fdf76c8c72d38bbc683.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bzp4zxd9bnqqkj6cm3r2afpgifxd7hvf-jackett-0.11.817
ls -la /nix/store/bzp4zxd9bnqqkj6cm3r2afpgifxd7hvf-jackett-0.11.817/bin

cc @edwtjo @nyanloutre for testing.

I just noticed that the package is building for aarch64-linux, but the file is a binary built for x86_64-linux. I will make a pull request with a conditional that check the architecture.


Update slick to 3.4.0

Updates com.typesafe.slick:slick from 3.3.3 to 3.4.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.slick", artifactId = "slick" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.typesafe.slick", artifactId = "slick" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #127.


Small typo/grammar issue in the license text

There is this weird sounding statement in the license:
... as long as the following conditions are aheared to.
See:  https://github.com/openssl/openssl/blob/9770924f9bd6de3d64041f4a725dea7c958721b7/LICENSE#L79 , found also in over 400 repo files containing the license text: https://github.com/openssl/openssl/search?utf8=✓&q=aheared and in about a million files in the wild web: https://www.google.com/search?q="conditions are aheared"
In order to correct both spelling and grammar, I suggest the following change to the text:
… as long as you adhere to the following conditions…
If you prefer to keep the grammar and just correct the spelling you could simply make this change:
… as long as the following conditions are adhered to…

There are other issues in the licence text too, e.g. search for "rouines". The original SSLeay licence text predates OpenSSL and is as we inherited it and as defined by Eric. It is not for us to change someone else's licence. Unfortunately these are known issues that we can't fix.


Fixes #1735 - dotenv before env vars in CLI

Coverage: 93.985% (-0.01%) from 93.997% when pulling d91a0a22ae85f5ec21b877bb3165957dcd10d3de on cody-fix-cli-base-url into d459611ac868e6e644e5ca1b436f7ae884ce05f4 on main.


48355 querypage multi value

Closing this PR.  All commits will be in https://github.com/cloudant/java-cloudant/pull/63.


Remove port from VS Code config

From Dirk on Slack, the port in the launch.json is unnecessary.
https://serverless-stack.slack.com/archives/C01JG3B20RY/p1621970485068100?thread_ts=1621882666.055400&cid=C01JG3B20RY
Remove it from:

The docs https://docs.serverless-stack.com/debugging-with-vscode
And the example https://serverless-stack.com/examples/how-to-debug-lambda-functions-with-visual-studio-code.html

Removed https://github.com/serverless-stack/serverless-stack/commit/9ce82bc3db5d5e64d2a67490c39a33edfd08b588


mass spec evidence

We have several students in CACAO who are annotating different mass spec evidences and we were wondering how specific you were planning on having terms.
for example we have a paper that shows ion trapping and weren't sure how to define it yet because we don't know how specific to be.
@jimhu-tamu
@jrr-cpt

One term request related to this discussion that has been submitted is in issue 205.

Hi @sandyl27, @jrr-cpt, and @jimhu-tamu,
We are more than happy to to work with you to develop more specific terms - as requested.  Examples include, but are not limited to, your request https://github.com/evidenceontology/evidenceontology/issues/205, ion trap, quadrupole mass filter, ion cyclotron resonance, time of flight, sector magnet.
James

Closing this ticket.
Please open a new ticket with future mass spec related term requests.
Thanks.
James


Jimi latest code does not authenticate post first install

Freshly cloned the code, followed manual steps and got jimi core & web running. However, using the newly generated password from jimi_core, does not authenticate on the web-portal.
To Reproduce
Steps to reproduce the behavior:

follow all manual steps within jimi-docs
Navigate to web-gui
Attempt to authenticate using root:<jimi_core-generated password)
See error

Desktop (please complete the following information):

OS: Windows
Browser: Chrome
Version 91.0.4472.164

What error do you see? I just ran this steps on a blank DB form start to finish and had no issues.

Hello,
I've managed to recreate and identify what the issue might be.
Lab infrastructure:
Server: Debian 10 Server running jimi
Client: Windows 10
Secure cookie attribute when running on localhost is bypassed, but when connected through the client the browser fails to set the cookie when successfully authenticating.
This was proven when the jimi port was redirected through an SSH session.

Fixed by adding an option for webSecure into config:
"secure" : {
"cert" : "certPath",
"key" : "privateKeyPath"
}
These settings go into api -> web


Fix: exhaustive retrieval with multiple tags / parents

Issue
Exhaustive data source retrieval uses a "@>" operator to check whether tags / parents of a documents match those specified in tags_in | parents_in | tags_not | parents_not from the retrieval configuration
The parents_in retrieval configuration is an "OR": any document who has one parent inside the list of parents_in should be matched
But the "@>" is an "AND", checking the parents array of the document contains all the values of parents_in. This causes exhaustive retrieval not to perform as expected when parents_in contains more than 1 element.
Regarding other fields (tags_in, parents_not, tags_not), they also should behave like an OR. While there might be some cases where people want an AND, those cases are most likely a minority
Fix
Use the postgres overlap operator "&&" instead
Impact
1 non-dust custom assistant with more than 1 parent, created thursday (19 oct 2023) and updated yesterday (20 oct 2023). See Metabase query
The associated customer is Alan, the bot name is renewal_feedback
Deploy plan
On monday morning (I'll take)

Deploy core with this PR's fix
Send coms to Alan
Report in incident

Actually I got it wrong not is A or B is not && [A,B] so I think we re good 👍


Mathew messages UI

implement messages ui prototype (ugly)
implement messages view model
fix bugs with firestore

when i was testing the messaging i noticed some problems that i have not noticed before like, chat rooms not displaying and going to the setup basic info activity even though i did it already. I also fixed these bugs. Apparently whenever there is a field start with "is" like "isProfileInitialized" then firestore cannot map it properly (see https://medium.com/@eeddeellee/boolean-fields-that-start-with-is-in-firebase-firestore-49afb65e3639)


Feat: hide theme files under project directory

Changes

Screenshots of visual changes

closing in favour of #413


Inaccurate data extraction

Describe the bug
I tried extracting the morphometric data on the manual masks to test the efficacy of the data compared to my manual measurements. I do understand that it was the manual masks and not the segmented images so it might be the reason the data differs significantly. The reason I haven't used the masks to train and the use the segmented images to analyze is because of #346.
Neuron Morphometrics.pdf
I only used a very small sample of 4 masks but there seems to be a significant difference in g-ratio, and myelin thickness with smaller but present differences in axon diameter. Is it possible because my masks aren't high quality enough?
Images.zip
Feel free to let me know if you guys need more information as I do understand it might be a little unclear.
Desktop (please complete the following information):

OS: [OpenSUSE]
Version [15.1]

@Paasu this is the names of your images:

and this is the content of the pdf:

it is impossible for us to know which sample number corresponds to which image.
so, what you need to do is:

send us: one manual mask
send us: the exact syntax you typed to compute automatic morphometrics + results of automatic morphometrics
send us your manual measures

then, we will be able to help you.

@jcohenadad
Sorry about that. Here contains what you requested:
data.zip

the file pixel_size_in_micrometer.txt is missing. Also, do you have a screenshot or any recording of your manual measurements? e.g.: which axons did you measure and how did you measure them.

pixel_size_in_micrometer.txt
Woops, I thought I included it.

@Paasu it is possible that the axon number you are referring to are not the same as the ones used for the automatic morphometrics. Thanks to this recent implementation (https://github.com/neuropoly/axondeepseg/pull/342), we are now able to display axon numbers that correspond to the output XLS file, via FSLeye's ADS plugin.
Here are the axon numbers from your mask:

And here is the output morphometrics file: morphometrics.xlsx
So, at this point, could you please point us to 2-3 examples of measures that you did manually, using the axon numbering as per my figure above, so we can be sure we compare the same axons.

Here are my manual measurements specifying a couple of cells as labelled in your image above: manual measurements.xlsx
Let me know if you need anything else like a more detailed explanation of the measurement protocol, etc.

Hi @Paasu, it would help to have a more details about your measurement protocols (I assume the red lines in your example above are the manual measures for axon diameters, axon+myelin diameters and myelin thickness).
In AxonDeepSeg, the calculation of the diameter is based on the axon area of the mask. For each axons, the equivalent diameter is computed, which is the diameter of a circle with the same area as the axon.
Similarly, AxonDeepSeg calculates the area of each axon+myelin pairs on the mask and its equivalent diameter. The myelin thickness is then calculated from the difference between the axon+myelin equivalent diameter and the axon equivalent diameter.

Here is a more detailed protocol on the method of analysis conducted on the TEM images: Image Analysis Protocol.docx
All of the measurements were done using ImageJ. If anything is unclear, please let me know and I'll clarify.

@Paasu
Thanks for the protocol. The differences between the manual and automatic measurements seem to come from the different methods used.
From your protocol, the manual measurements are taken from the shortest distance passing through the center of the axon, which is different from what is done in AxonDeepSeg.
For each axon on the mask, AxonDeepSeg computes the axon diameter based on the area of the axon (white area), and the cell diameter based on the area of the axon+myelin object (white+gray area). The diameters are the “equivalent diameter”, which is the diameter of a circle with the same area. The myelin thickness is then calculated from the difference between the axon+myelin equivalent diameter and the axon equivalent diameter.
In AxonDeepSeg, we recommend to use this method to ensure that a mean diameter is computed that is not bias in any specific direction, and also takes into account that axons do not have a perfectly cylindrical shape.

@mariehbourget
Thanks for the clarification!
It seems both of our methods are used to reduce bias within the results, so I would expect the results to be similar. In this specific image I found that after removing false positives, the axon diameter seems to be around 0.68 microns with the spreadsheet you have provided and my manual measurements show around 0.52 microns. I think I'll have to compare more images to form an opinion. I'll compare more images and let you guys know how it goes.

Sorry for the delay!
I had a look at 10 images.
There is a statistically significant difference between manual measurements and automatic measurements (p = 0.00034) and a lack of correlation (r square = 0.00029).
I think the difference is mainly due to elliptical nature of optic nerve neurons vs the circular nature of the neurons found in the brain. It'll be interesting to see if any method that can capture the ON neuron measurement is possible or perhaps the manual measurements we have are lacking.
Here is the excel sheet with more statistical information: Analysis of images.xlsx

Thank you for the follow-up @Paasu.
In the literature, we found that both the equivalent diameter and the short axis of an ellipse are used as a measurement for diameter, with no clear consensus on the preferred method.
We opened the issue #363 to implement a new feature to compute morphometrics using the short axis of a fitted ellipse. This method will better match your manual measurements protocol of minimal distance closest to the center.


Polygon fill error.

Checklist

[x] Check other issues and make sure that it is not reported yet.

Versions and Environment
Elixir:
# elixir -v
Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Elixir 1.16.2 (compiled with Erlang/OTP 24)

Erlang:
# erl -v
Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Eshell V14.2.5 (press Ctrl+G to abort, type help(). for help)

Scenic:
# mix deps | grep -A1 scenic
* scenic 0.11.2 (Hex package) (mix)
  locked at 0.11.2 (scenic) 6f846cfe
  ok
* scenic_driver_local 0.11.0 (https://github.com/ScenicFramework/scenic_driver_local.git) (mix)
  locked at 789d5fd

I'm using SCENIC_TARGET_LOCAL=glfw to build on macOS asn cairo-gtk doesn't compile for me.
OS:
# uname -a
Darwin Eeloo 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64

AKA macOS Sonoma 14.4.1 (23E224)
Steps to reproduce
Draw a "lightning bolt" closed path and ask it to be filled:
path(
  [
    :begin,
    {:move_to, 19, 3},
    {:line_to, 14, 11},
    {:line_to, 17, 11},
    {:line_to, 17, 17},
    {:line_to, 22, 9},
    {:line_to, 19, 9},
    :close_path
  ],
  stroke: {1, {:color_rgba, {0x0, 0, 0, 0x7F}}},
  fill: {:color_rgba, {0xFF, 0xFF, 0xFF, 0xAF}},
  id: :charging
)

Expected Behavior
I expected the fill to be applied inside the path.
Actual Behavior
Fill was applied outside the closed path.
Stack Trace
N/A
Additional Comments
So, I was trying to create a tiny battery status widget and I wanted to place a "lightning bolt" over the battery icon when connected to an external power supply.  I discovered that the small polygon was not being filled correctly:

Thinking that it was simply an artifact of the path being so small, I tried scaling it up to see if that fixed the problem:
path(
  [
    :begin,
    {:move_to, 55, 32},
    {:line_to, 0, 120},
    {:line_to, 33, 122},
    {:line_to, 33, 185},
    {:line_to, 88, 98},
    {:line_to, 55, 98},
    :close_path
  ],
  fill: :white,
  stroke: {1, :black}
)

However as you can see, the bigger version also has the same problem:

Then I thought it could be a problem caused by the horizontal and vertical lines somehow, but that didn't fix it either:
path(
  [
    :begin,
    {:move_to, 55, 32},
    {:line_to, 0, 120},
    {:line_to, 33, 122},
    {:line_to, 35, 185},
    {:line_to, 88, 98},
    {:line_to, 53, 96},
    :close_path
  ],
  fill: :white,
  stroke: {1, :black}
)

I can't see anything wrong with the way that I am using the path primitive, so I am pretty sure that this is a bug and not PEBKAC.

I did actually try other shapes like diamonds, hexagons etc, and had no problems so unfortunately I have no clues to help figure this out.

Okay, so I have found some more interesting information.
I have found that this happens for a square with a slightly pushed in side:
path(
  [
    :begin,
    {:move_to, 40, 40},
    {:line_to, 200, 40},
    {:line_to, 180, 120},
    {:line_to, 200, 200},
    {:line_to, 40, 200},
    :close_path
  ],
  fill: :white,
  stroke: {1, :red},
  id: :shape
)

But here's the kicker - only when we transition into the new scene from another scene.
My app has a StartupScene that performs some animations and then calls
  def handle_info({:animate_done, :background, style}, scene) do
    :timer.apply_after(1000, Scenic.ViewPort, :set_root, [
      scene.viewport,
      Podbox.Scenic.MainScene,
      [bg_style: style]
    ])

    {:noreply, scene}
  end

which transitions to the MainScene module.  When the app starts up directly into the MainScene it renders correctly:
https://github.com/ScenicFramework/scenic/assets/59449/59a78782-7db0-456f-8042-998cc54f5ec7
But when the scene transitions it renders incorrectly.  I also found that if I crash the scene after the transition it redraws correctly:
https://github.com/ScenicFramework/scenic/assets/59449/9cd883cc-30b2-4159-9f2d-9bcd3c094778
I've tried different variations of calling Scenic.ViewPort.set_root/3 - calling it from another process via task, using Process.send_after/3 and calling it more conventionally. Nothing seems to make a difference.

Okay, that's pretty wild!
I feel like that might be a bug in the scenic driver--have you tried it with both cairo and nvg?

yeah okay, so I just reinstalled cairo and gtk+3 and it compiled, so who knows why it was failing before.  I can report that the problem doesn't manifest using cairo-gtk as the driver.

It still repros with glfw though right?
(And thank you very much for digging into this!)

Sorry - yes, it does. But since glfw is deprecated maybe we just shrug, close this issue and move on with our lives?

That seems reasonable to me. Great work @jimsynz !


AutoIt

Unable to locate a svg from https://www.autoitscript.com/site/

Here is an svg from the author of the language. Just rename the extension from png to svg.

Here is a svg >> https://www.autoitscript.com/forum/cdn/images/logo_autoit_210x72.svg

https://cloud.githubusercontent.com/assets/5333690/10101826/aeb42e58-63a3-11e5-98ac-b82985590ea4.png
Just rename png to svg.

@softwarespot What changed from your previous comment?

Well I deleted it because the [forum](https://www.autoitscript.com/forum/} now uses a svg for the main icon, so I decided to link to that instead of my png "hack". But I realised after I posted it, that the svg I sent you previously (which is from the site owner) had a background.

Here is a direct link https://www.autoitscript.com/images/logo_autoit_back_210x72.svg

Added 8b5d6c0f1bfccf6a1b53b0a0757dbbee01358705
Thanks


Fix long SNI lengths in test/handshake_helper.c

If the server_name extension is long enough to require two bytes to
hold the length of either field, the test suite would not decode
the length properly.  Using the PACKET_ APIs would have avoided this,
but it was desired to avoid using private APIs in this part of the
test suite, to keep ourselves honest.

Checklist

[x] tests are added or updated

Merged; closing.


triptych.nvim: add plenary-nvim as required dependency

Added required dependency: plenary-nvim

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

LGTM
BTW: #352277 output:
Require check succeeded for the following modules:
  - triptych.autocmds
  - triptych.config
  - triptych.diagnostics
  - triptych.git
  - triptych.help
  - triptych.highlight_groups
  - triptych.icons
  - triptych.logger
  - triptych.state
  - triptych.syntax_highlighting
  - triptych.types
  - triptych.utils
  - test_framework.queue
  - test_framework.test
  - test_framework.utils
All lua modules were checked.

Require check failed for the following modules:
  - triptych
  - triptych
  - triptych.actions
  - triptych.event_handlers
  - triptych.float
  - triptych.fs
  - triptych.mappings
  - triptych.view

I'm wondering why those modules are failing to require. They're not linked to optional dependencies like nvim-lsp-files-operation or nvim-web-devicons. Does this new check provides logs or reason(s) why they failed?

That is an explanation for why this missing dependency wasn't catched by #352227. Just ignore it, it fails because there wasn't plenary in dependencies before this PR

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 358924

x86_64-linux

:white_check_mark: 2 packages built:

vimPlugins.triptych-nvim
vimPluginsUpdater

aarch64-linux

:white_check_mark: 2 packages built:

vimPlugins.triptych-nvim
vimPluginsUpdater

x86_64-darwin

:white_check_mark: 2 packages built:

vimPlugins.triptych-nvim
vimPluginsUpdater

aarch64-darwin

:white_check_mark: 2 packages built:

vimPlugins.triptych-nvim
vimPluginsUpdater


Need build without any file output for typescript compilation

What problem does this feature solve?
I opened an issue How can I get compilation error without build? 2 weeks ago but we didn't got a good answer. After searching about if tslint can do compile error checking, I found that they can't do it, either.
Now I can only get compilation error when I run vue-cli-service build and I think it is important to do compilation error checking in CI/CD. So I need this feature to do compilation error check.
What does the proposed API look like?
vue-cli-service build --no-output

Since it's a duplication I'm closing this issue.


[Grafana] Container metrics aggregated across namespaces and pods

(Containers dashboard)
Container metrics are aggregated across namespaces and pods even when a namespace and/or pod is selected via Grafana's drop-down menus.
Let's say I have a container web running in both namespaces ns1 and ns2, in 2 different pods pod1 and pod2. The metrics I see for the container web in pod pod1 running in namespace ns1 is the aggregation of both web containers running in both aforementioned namespaces.

LGTM


Bulk delete from collection

I am just making a note here that i would love to see a bulk delete feature of images from a collection. I have been testing image uploads to a heroku hosted wagtail app and had to use gevent and pgbouncer for uploads that don't time out (i'm also using storages to host the uploaded media to S3). Now that i have finished testing i have a collection with LOTS of photos uploaded. Be awesome to have a bulk delete feature (that also removes the file from S3). <3

I too would appreciate this.

Would be nice to have this. Collections are a pain to manage. Still no folder/subfolder support in 2021 :-(

Hey @vikingmoose and all, bulk actions is one of the items we have the Google Summer of Code so there will be movement soon.
Can you expand on the folder/subfolder support? Wagtail 2.11 introduced collections hierarchy, and you can change the upload location by overriding get_upload_to on your custom image model

Hi @zerolab,  thanks that's great, news!
Regading folder/subfolder support: imagine an estate agency with a ton of images of their portfolio. I understand you can create a collection for example each of the properties and upload the relevant media there, but it's not the most user-friendly way of doing it. Even with the collections in place the file storage just stores everything in a flat structure. Also once a property is sold and deleted from the DB - I was hoping by deleting a collection would also delete all the relevant images to free up space - but that's not the case since you need to delete the all the images first inside the collection.....
The get_upload_to option wouldn't be sufficient as I'd need different folders for the same model. I guess I could make it work by adding a before_create_page  hook and create a folder with one of model field values as name the file storage, but seems like a lot of work for something pretty basic. (There are lots of filebrowsers supporting this from the early days of Django)
I think it would be nice to have something like this (apologies for the ugly photoshop):

Also maybe an option to change different views (list or Icon) would also be something to think about.
Goes without saying, Wagtail is awesome - I love it.
Keep up the good work! 👍🏼

This original issue has been resolved as of Wagtail 2.15 (bulk actions) for  Images & Documents
https://docs.wagtail.org/en/stable/releases/2.15.html#bulk-actions
Steps

Load up the Images page
Select the collection
Check one image
Click the 'all' checkbox in the UI that appears at the bottom
Select 'all images in this listing'
Click delete
Confirm delete (listing shown)

Closing now, happy for you @vikingmoose to propose a new enhancement for better collection management from within image listings.


Android geolocation error

Hi , When I use 'navigator.geolocation.getCurrentPosition' to get user's location, the error callback was executed when i closed the GPS in Android.

I don't understand what's your issue here.
If you disabled GPS on your device, the navigator.geolocation.getCurrentPosition method can't locate you, that's why the error callback is triggered

yes, and I found out that there was two ways to locate users. Is 'android.permission.ACCESS_COARSE_LOCATION' useful in RN? And when the GPS is closed, could I prompt the user to open GPS(I mean open the GPS by code).

@my-love Personnaly i use :   <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> in my android app.
I don't know, probably, in my case I use https://github.com/yonahforst/react-native-permissions for iOS to know if the geolocation is disabled or not.
Android is in the roadmap.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/android-geolocation-error
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.


Update workplace-guidelines.md

:books: Documentation preview :books:: https://civicactions-handbook--1022.org.readthedocs.build/en/1022/

Can the page title and headings be changed to sentence case?

@elizabethraley do you want to make the change that @ContentBrewmaster mentioned in this pull request or a new one?


Error incorrectly fires if multiple CTEs use --- separator

Thanks @fabio-looker for LAMS, my team at mercari.com has found it really useful to help us write maintainable SQL and LookML.
Ran into an interesting case that my team couldn't figure out until we debugged LAMS. :-)
We expected this to pass the linter:
  WITH

  step_1 AS (
    SELECT
      account_id AS pk1_account_id
      ---
    , COUNT(*)
    FROM users
    GROUP BY 1
  )

  , step_2 AS (
    SELECT
      pk2_tenant_id
    , pk2_user_id
      ---
    , MAX(start) as last_login
    FROM sessions
    GROUP BY 1,2
  )

  SELECT "foo" as bar

but got an error saying that the second CTE had mismatching primary key field counts:

Primary Key columns in " SELECT pk2_ten"  in foo declare 2 column(s), but there are 1

It turned out this works if we use trailing commas, so that's a fine workaround:
  WITH

  step_1 AS (
    SELECT
      account_id AS pk1_account_id,
      ---
      COUNT(*)
    FROM users
    GROUP BY 1
  )

  , step_2 AS (
    SELECT
      pk2_tenant_id,
      pk2_user_id,
      ---
      MAX(start) as last_login
    FROM sessions
    GROUP BY 1,2
  )

  SELECT "foo" as bar

But the root cause seems to be that the rule parser is only replacing --- once, so it misses the second one. I put together a quick diff w/ a test and will submit a pull request.

Thank you so much! I'll review this later today

Should be fixed in 1.4.2 now available on NPM

Thanks @fabio-looker for the super-quick merge. ❤


"@solidjs/router": "^0.10.3" not working

Describe the bug

folowing https://github.com/solidjs/solid-router?tab=readme-ov-file#getting-started
url path and showing components not working

Your Example Website or App
https://stackblitz.com/edit/solidjs-templates-myqh2h?file=src%2Findex.tsx
Steps to Reproduce the Bug or Issue

just open stackblitz

Expected behavior
just working like "@solidjs/router": "^0.9.1"
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Chrome
Version: [120]

Additional context
No response

It looks like your links and routes didn't match and you (were rendering twice).
It seems to work after adding some more links and routes and match up (and removing one of the render calls)
https://stackblitz.com/edit/solidjs-templates-gdqlqp?file=src%2FApp.tsx,src%2Findex.tsx

Hm, very strange this new router(in my app when migrating to new router can not figure it out what is wrong), no errors but just dosen't show components, for me this is downgrade

is there any debug or trace mode for this new router?

I thinx I figure it out, before I was using a lot of Outlets and the new way is to wrapp it in a  function with childrens


Search overload.

Steps to reproduce

Open extension (Any)

Expected behavior

Open extension (Any)
are displayed normally

Actual behavior

Open extension (Any)
It opens but it takes time to show the titles

Crash logs
No response
Tachiyomi version
1.8.5 (Latest Update Preview)
Android version
Android 10
Device
Redmi Note 11S
Other details
Video of Tachiyomi Preview (Latest Update)
https://user-images.githubusercontent.com/70596255/208322639-419e11bc-b4db-4908-bb01-7cc286d14a94.mp4
Video of TachiyomiSY Preview (Latest Update)
https://user-images.githubusercontent.com/70596255/208322648-4f7c447f-a3fc-4f03-966d-6d4f9ed34604.mp4
Acknowledgements

[X] This is a TachiyomiSY specific issue that does not happen in Tachiyomi Preview.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Note: In WebView it opens the page normally and perfectly. There is no problem with that.

Its probably Cloudflare throwing a fit or something(Its weirdly picky sometimes). Everything works fine on my end


Ensure the NHS number doesnt get reformated

This happens on iOS and is a recommendation from the NHS team.

add meta name="format-detection" content="telephone=no" to your page to stop iOS treating the NHS number as a phone number (but this means that iOS will not recognise any phone numbers on the page)

https://service-manual.nhs.uk/design-system/patterns/ask-users-for-their-nhs-number

Thanks, will slow down as well, thank you for your review.


SASS-2049 Add an employer iteration

Description
amended journey tests to change employment to employer
Add a link to the relevant story in Jira
SASS-2049
Checklist PR Reviewer
Before Reviewing

[ ]  Have you pulled the branch down?
[ ]  Have you assigned yourself to the PR?
[ ]  Have you moved the task to “in review” on JIRA?
[ ]  Have you checked to ensure all dependencies are up to date?
[ ] Have you checked to ensure its been rebased against the current version of main?

Whilst Reviewing

[ ]  Have you run the journey tests?
[ ]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ] Have you checked for merge conflicts or any changes in the current main that may affect the current pull request? i.e. does it need another rebase?
the current pull request?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

[x]  Have you addressed warnings where appropriate?
[x]  Have you rebased against the current version of main?

This needs to be merged at the same time as SASS-2049 Employment Frontend


Fix sorting for JsonSerializableAddressBook to preserve Org-Rec hierarchy

will this violate feature freeze?

will this violate feature freeze?

Hm. This sorting was to handle the case where someone directly tampered with the storage and swapped the recruiter to be before its linked organization.
I would say its fixing a bug? Since the contacts are already sorted being written to storage

Since the contacts are already sorted being written to storage

Yep, due to this I'd say it's a bug. The existing code relies on the assumption that contacts are sorted in a certain order, and the app will break if that assumption is not true.

To limit the likelihood of being considered to break feature freeze, perhaps we could sort it back to the original database order after we're done loading all Contact instances.

Might not be the best way to solve this, however in lieu of feature freeze and limited time, the current solution is proposed.
Retrieve the JsonAdaptedContacts from storage, map each of their unique Ids to an Integer which preserves the order in which they were stored.
Sort the list and convert each JsonAdaptedContact to the Contact via toModelType
Sort this new list of contactswith the original comparator which references the map
Set the addressbook with this list of contacts


Add static preconditions for pom.xml

An improvement would be to store metadata with those failing details. So that we can identify plugin that require (manual ?) fix because they are so outdated
At least now the error is more meaningful
Testing done
Didn't write test for now, but did some interfactive tests

Submitter checklist

[ ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[ ] Ensure that the pull request title represents the desired changelog entry
[ ] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Related to https://github.com/jenkinsci/plugin-modernizer-tool/issues/215
Doesn't fix, but make error clearer.
We can improve to build partial metadata by only static pom parsing


Parse error responses when applicable

Currently, if the server responds with a 4** status code the response, even if it's valid JSON, is not parsed.
So the following code will always be true, whether the response was successful or not:
response["Success"]

This PR fixes this issue. A better approach would be to use the ContentType header of the response and then parse instead of using Exceptions, but the current http client being used does not make it possible.

@badosu thank you for your pull request! I'm checking it!


Adding Media services 2018 03 30 preview version

This pull request adds the 2018-03-30-preview version of Azure Media Services to the specifications repository.  The swagger files and examples have been reviewed and validated with the validation tools.

Automation for azure-sdk-for-node

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Signinf off frm ARM side. This has been reviewed in person earlier and also on the private repo.

@AutorestCI rebuild azure-sdk-for-go

@AutorestCI regenerate azure-sdk-for-python

PR still looks good :)


Cannot paste password in

I cannot seem to paste in my password when doing validate and upload.

Thank you. I will investigate the problem.
I recommend you would use keychain following operation in https://github.com/HipByte/motion-appstore/issues/1#issuecomment-68816124

Sorry for late replying.
I've tried your issue on Yosemite.
However, I can't reproduce, I was able to paste my password in prompt.

@iwarshak You have to hit the enter button twice. So wait for the prompt, paste and hit enter enter and it should work.

I can't reproduce this issue. So closed


Edit find command overview

Summary
Add clearer explanation for find command, about context of matching.
Checks

[ ] Link PR to issue
[ ] Add Reviewer
[ ] Pass CI

Codecov Report

Merging #327 (b39c8f8) into master (1b9356f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #327   +/-   ##
=========================================
  Coverage     74.06%   74.06%
  Complexity     1037     1037
=========================================
  Files           141      141
  Lines          3385     3385
  Branches        384      384
=========================================
  Hits           2507     2507
  Misses          735      735
  Partials        143      143

Continue to review full report at Codecov.

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


Need clarification on syntax

I am trying to perform a simple.OData.client pull.
I've classed out docChemicalReport. You can click on the metadata link in the code below to see the table structure if you want. I have gotten the AuthToken to work, the credentials are added to the header for oDataSettings.. I believe I have everything right.
BaseURI in the code is defined as "https://apps.fielddirect.com"
The part I am having trouble with is how do I format the query to pull everything from that table that is past a certain date time designated as Stamp in the class.
Any clarification on syntax would be appreciated.

    private async void GetData(string authToken)
    {

        HttpClient httpClient = new HttpClient();
        httpClient.BaseAddress = new Uri(BaseURI);
        httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Authorization", "Basic " + AuthToken);

        var odataSettings = new ODataClientSettings(httpClient, new Uri("/DataServices/OData", UriKind.Relative));
        var odataClient = new ODataClient(odataSettings);
        var client = new ODataClient("https://apps.fielddirect.com/DataServices/OData/$metadata");

        var docChemicalReports = await client
            .For<docChemicalReport>()
            .Filter(x => x.Stamp >= Convert.ToDateTime("11/2/2020"))
            .FindEntriesAsync();
        foreach (var entry in docChemicalReports)
        {
            Console.WriteLine(entry);
        }

    }

Corrected version:
private async void GetData(string authToken)
{

    HttpClient httpClient = new HttpClient();
    httpClient.BaseAddress = new Uri(BaseURI);
    httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", " " + AuthToken);

    var odataSettings = new ODataClientSettings(httpClient, new Uri("/DataServices/OData/", UriKind.Relative));
    var odataClient = new ODataClient(odataSettings);

    var docChemicalReports = await client
        .For<docChemicalReport>()
        .Filter(x => x.Stamp >= Convert.ToDateTime("11/2/2020"))
        .FindEntriesAsync();
    foreach (var entry in docChemicalReports)
    {
        Console.WriteLine(entry);
    }

}


Support for the acceleration change set by orcaslicer with Emit Limits in G-Code option

How to include the acceleration change set by orcaslicer with Emit Limits in G-Code option ?

Thank you.

this small time difference is due to this missing parameter

Hi,
I'm not sure what's being reported here.
Best regards,
Lasse

Hey Lasse,
I think that Klipper_Estimator_Script uses the maximum printer acceleration
provided in the Config.json file to estimate the time of each movement and
its flow rate average, and does not support the frequency defined in the
G-Code, Example :
SET_VELOCITY_LIMIT ACCEL=1400 ACCEL_TO_DECEL=700
G1 F9000
G1 X35 Y48
SET_VELOCITY_LIMIT ACCEL=3000 ACCEL_TO_DECEL=1500
G1 F3600
G1 X40 Y50
I noticed this because the time estimated by Klipper_Estimator is always
the same whether the option  (Emit Limits to G-code) is activated or not.
[image: image.png]
My Config.json File is below
{
"max_velocity": 300.0,
"max_acceleration": 6000.0,
"minimum_cruise_ratio": 0.5,
"square_corner_velocity": 5.0,
"instant_corner_velocity": 1.0,
"mm_per_arc_segment": 0.1,
"move_checkers": [
{
"axis_limiter": {
"axis": [
0.0,
0.0,
1.0
],
"max_velocity": 5.0,
"max_accel": 200.0
}
},
{
"extruder_limiter": {
"max_velocity": 79.82432411074329,
"max_accel": 1596.486482214866
}
}
]
}
I thank you in advance for your support
Best Regards..
Salim.
Le dim. 28 juil. 2024 à 17:28, dalegaard @.***> a
écrit :

Hi,
I'm not sure what's being reported here.
Best regards,
Lasse
—
Reply to this email directly, view it on GitHub
https://github.com/Annex-Engineering/klipper_estimator/issues/66#issuecomment-2254573090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH57RK35OIBLBWDYFMTRUMDZOUL3JAVCNFSM6AAAAABKT4DQBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU3TGMBZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
BELAYEL Salim.

@dalegaard any future support for this issue ?
Your help would be very valuable !
Best regards,
Salim

Hi @sb53systems
set_velocity_limit is supported, so I'm not sure what's wrong here. I don't use klipper_estimator anymore and I don't have time to debug the issue. Sorry.
Best regards,
Lasse

@dalegaard , I confirm that the time estimated by the current version of Klipper Estimator is really accurate (+/- 1S)
the only difference between the estimated time and the one that the Klipper Firmware calculates, is the purge line (included in the START_PRINT marco) which takes 10s in my case

Thank you very much for implementing this tool, it helped me a lot in my last project.
G-Code Flow and Temperature Controller (using Klipper_Estimator V 3.7.3)
https://github.com/sb53systems/G-Code-Flow-Temperature-Controller
Best Regards.
Salim


DOC: Fix link to license

Codecov Report

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

@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   75.83%   75.83%
=======================================
  Files          30       30
  Lines        2330     2330
  Branches       43       43
=======================================
  Hits         1767     1767
  Misses        556      556
  Partials        7        7

Continue to review full report at Codecov.

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


Add a vehicleid and operatorid to the declaration

It would be nice to add a vehicle ID and operator ID to the declaration

Added Vehicle ID and Operator ID


🐞 Dependence on rs/cors v1.10.0 introduces a denial-of-service risk

What is the issue?
The project depends on rs/cors v1.10.0. Unfortunately, rs/cors (v1.9.0 through v1.10.1) presents a risk of denial of service.
Two alternative solutions:

Update to rs/cors v1.11.0 or later (the bug was fixed in rs/cors v1.11.0).
Migrate to jub0bs/cors 0.2.0+. As privately discussed with @levlaz, this approach would be preferable, but do note that it requires Go 1.22 or later.

Dagger version
dagger v0.11.4 (and later)
Steps to reproduce
Adapt the benchmark described in https://github.com/rs/cors/issues/170 to Dagger (any CORS-enabled endpoint will do). You should observe a prohibitive amount of heap allocations.
Log output
N/A

Now that rs/cors has been updated to v1.11+, this issue can be closed. However, please do consider migrating to jub0bs/cors.


Fix issue with model name when it's different than model-language

@martasls
bot model is not being packaged when deployed
https://drive.google.com/drive/folders/1yrkqLa51Etbs2rSexKjttxEOAXZ6iOZx?usp=sharing


Timespan scales overflow the view area in some situations

If a filter is already in place when he timespan is added, then the filter is removed, the lines will overflow the view area.

After this change, scales will remain maximal. We could change to adjust the scale to "focus" with a little additional complexity.


Update README.md

Spelling correction, and simpler sentence.

Description

Improved Readme for new contributors, corrected spelling.
Related Issue

Motivation and Context

How Has This Been Tested?

Q&A (manual testing)
Screenshots (if appropriate):
Types of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Thanks!


make readme a bit more clear and pin deps

Does this PR include tests? No tests needed.
Documentation update and pinning of dependencies

Maintenance of the docker files for elasticsearch has moved to the elasticsearch repo. The build system there is based on gradle, and so I don't think this PR is relevant any longer, but please open any future issues or pull requests regarding docker for elasticsearch there. As we will be archiving this repository, I am going to close this PR.


Error when running run_co3d_sp script

Hello, thanks for your work.
I'm getting the following error when running run_co3d_sp. I have not modified anything.
Traceback (most recent call last):
  File "/fsx-repligen/lukemelas/dev/tmp/fmb-plus/run_co3d_sp.py", line 362, in <module>
    mask = (all_sils !=0 ) & (~np.isnan(d1f)) & (~np.isnan(d2f)) & (d1f !=0)
  File "/data/home/lukemelas/mambaforge/envs/fmb/lib/python3.10/site-packages/jax/_src/numpy/array_methods.py", line 251, in deferring_binary_op
    return binary_op(*args)
  File "/data/home/lukemelas/mambaforge/envs/fmb/lib/python3.10/site-packages/jax/_src/numpy/ufuncs.py", line 81, in <lambda>
    fn = lambda x1, x2, /: lax_fn(*promote_args(numpy_fn.__name__, x1, x2))
TypeError: and got incompatible shapes for broadcasting: (25468968,), (50937936,).

The full output of the script before the error is as follows:
❯ python run_co3d_sp.py
 epoch:   0%|          | 0/10 [00:00<?, ?it/s]
 iteration:   0%|          | 0/509 [00:00<?, ?it/s]
 iteration:   0%|          | 0/509 [00:00<?, ?it/s]
dropping LR to 8.00e-03 after 643 steps
dropping LR to 8.00e-04 after 821 steps
dropping LR to 8.00e-05 after 999 steps
early exit due to no progress
(47, 3)
Traceback (most recent call last):
...

then the traceback above.
I also get the same error with the zpfm version.
Have you gotten this before / do you know what might be going wrong?
Thanks for your help!

Update: I commented out the line with the issue and everything works fine afterwards.


Avoid wildcard

I am trying with Spotless, should it take the config from .editorconfig?

I don't think so, but @franvis might know better.
Though - ktfmt is not a compiler and lacks information required to replace .* with individual imports, if that was your meaning.

So this should be achieved via Spotless and another plugin.
@cortinico, your plugin supports this or has the same problem?

@cortinico, your plugin supports this or has the same problem?

I'm unsure what you're meaning exactly. But I don't think the Gradle plugin is of any help here as it's a wrapper on top of ktfmt


Solved issue 7, 9, 10 and 11

Solved issue #7 , #9, #10 and #11

Thanks! I did some cleaning up after testing and will release soon.


Vault mysql root password

Chef vault mysql root password and related changes

It looks like multiple commits got pulled into this PR?
Also, you'll want to secure `/etc/mysql/debian.cnf' to be more restrictive than 644.

Chef vault mysql check password and mysql galera password, and made related changes in recipes and template files;
Chef vault ssl-private-key and ssl-certificate and related changes including C-A-R.sh changes to make find_resource can find chef-vault resource executed on worker nodes;
Chef vault ssh-private-key and related changes;

I get this error while running cluster assign role
Error executing action run on resource 'ruby_block[initialize-ssh-keys]'
ChefVault::Exceptions::SecretDecryption
os/ssl is not encrypted with your public key.  Contact an administrator of the vault item to encrypt for you!
Cookbook Trace:
/var/chef/cache/cookbooks/bcpc/libraries/utils.rb:93:in get_config' /var/chef/cache/cookbooks/bcpc/recipes/certs.rb:42:in block (2 levels) in from_file'

This branch converges successfully, and the HDFS / HBase checks pass.  Submitting a pi-estimator M/R job fails, because the mapreduce.tar.gz tarball is absent from HDFS.
I'm not sure whether I'm comfortable merging this or not.  The mapreduce tarball is successfully uploaded in master, but not here.  However, I don't see any connection between Ray's changes and the failed upload in bcpc-hadoop::resource_manager
ls output from hdfs:
https://gist.github.com/http-418/2a1cc6b6a98d2e7a8c6c
The output from the failed submission:
https://gist.github.com/http-418/6710c536c3fe6e97fc44

This problem goes away if the node is reconverged.  I suspect the reason 'master' works but my personal test does not is that automated-install.sh runs c-a-r fewer times than jenkins.
I will open an issue for the converge problem.


SYS-981 remove minimum_displayprice* and added price_unit

Not sure about the naming.

Right ... unit sounds like currency. How about price_period?

@hhagelbe please review. Thanks.

:+1:


SerialJob annotation has no effect

I recently discovered this critical issue, which was supposedly introduced per #15 . I added a test to reproduce the problem and a simple fix.

FYI @dkoyro


mastersyllabus

An md file of Mentoring rules and tasks for first years.

This should not be in the FOSS website. Neither in the FOSS website repo. As far as I remember there is something called master-syllabus repo in our organisation and you make a pull request to that.


Introduce the "core" dir, move "deployment" and "runtime" modules in

fixes #121

I deliberately did not introduce a core parent module and kept the names of deployment/runtime modules so that we don't break existing apps.

CC @ia3andy @mcruzdev

nice changes!


fix: Job executor bugs

Issue
No issue to link.
Intent

append resend requests before making login call
append resend request for SASVIYA when getJobUri throw LoginRequiredError

What this PR intends to achieve.
Implementation

rearrange the order of execution of loginCallback and appendWaitingRequest
added exception handling for getJobUri

Checks
No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed!  If an urgent fix is needed - use a tar file.

[ ] All sasjs-cli unit tests are passing (npm test).
Mocked:

Server:
[ ] All sasjs-tests are passing (instructions available here).
[ ] Data Controller builds and is functional on both SAS 9 and Viya

sasjs-cli server tests failed


Cannot sort classes

Hi,
Thanks for your plugin, really useful one in vscode however I cannot make it work in neovim.
After I install it, when running the formatter lua require'headwind'.buf_sort_tailwind_classes() I have this error:
E5108: Error executing lua /Users/bpingris/.vim/plugged/headwind.nvim/lua/headwind.lua:188: attempt to index local 'query' (a nil value)

Am I missing some dependencies? I am already using treesitter
NVIM v0.6.0-dev+501-gcb15055c2

Hello there,
I'm facing the same issue


Add missing license header

This PR adds a missing license header

I manually checked with this utilities PR https://github.com/apache/openwhisk-utilities/pull/82
$ ../openwhisk-utilities/scancode/scanCode.py --config ../openwhisk-utilities/scancode/ASF-Release.cfg .
Reading configuration file [../openwhisk-utilities/scancode/ASF-Release.cfg]...
Scanning files starting at [.]...
All checks passed.

Great!


nautobot.dcim.tests.test_models.CableTestCase.test_cable_cannot_terminate_to_a_wireless_interface succeeds when it shouldn't

Environment

Nautobot version (Docker tag too if applicable): 2.3.14b1
Python version: 3.12
Database platform, version:
Middleware(s):

Steps to Reproduce
I tripped over this while working on a test case for #6427 .

Make note of the code used in the test_cable_cannot_terminate_to_a_wireless_interface test case
Ensure your Nautobot instance as a device with at least one ethernet interface
invoke nbshell
Run: from nautobot.dcim.choices import InterfaceTypeChoices
Get device object: device = Device.objects.get(name="your_device_name")
Get ethernet interface object: ethernet_iface = Interface.objects.get(device=device, name="interface_name")
Create a new interface object: new_iface = Interface(device=device, name="NewInterface", type= InterfaceTypeChoices.TYPE_100GE_QSFP_DD)
Per the wireless test case, create a cable: cable = Cable(termination_a=ethernet_iface, termination_b=new_iface)
Per the wireless test case, validate the cable: cable.clean()

Expected Behavior
Since we're attempting to connect an ethernet interface to another ethernet interface, it should succeed

Observed Behavior
>>> cable.clean()
Traceback (most recent call last):
  File "/source/nautobot/dcim/models/cables.py", line 157, in clean
    self.termination_b_type.model_class().objects.get(pk=self.termination_b_id)
  File "/usr/local/lib/python3.12/site-packages/django/db/models/manager.py", line 87, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/db/models/query.py", line 637, in get
    raise self.model.DoesNotExist(
nautobot.dcim.models.device_components.Interface.DoesNotExist: Interface matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/source/nautobot/extras/plugins/validators.py", line 20, in wrapper
    model_clean_func(model_instance)
  File "/source/nautobot/dcim/models/cables.py", line 159, in clean
    raise ValidationError({"termination_b": f"Invalid ID for type {self.termination_b_type}"})
django.core.exceptions.ValidationError: {'termination_b': ['Invalid ID for type dcim | interface']}

The current test passes because it will /always/ succeed; it traps for the ValidationError but not for specifics about the nature of the ValidationError. The underlying cause here appears to be that while an interface object ('new_iface') is instantiated, it's never saved to the DB and cable.clean() appears to need it there. Fixing this revealed a other problems, which I believe are all dealt with using this patch:
diff --git a/nautobot/dcim/tests/test_models.py b/nautobot/dcim/tests/test_models.py
index 9cb2691c2..fddfe44bb 100644
--- a/nautobot/dcim/tests/test_models.py
+++ b/nautobot/dcim/tests/test_models.py
@@ -2190,7 +2190,14 @@ class CableTestCase(ModelTestCases.BaseModelTestCase):
         """
         A cable cannot terminate to a wireless interface
         """
-        wireless_interface = Interface(device=self.device1, name="W1", type=InterfaceTypeChoices.TYPE_80211A)
+        self.cable.delete()
+        interface_status = Status.objects.get_for_model(Interface).first()
+        wireless_interface = Interface.objects.create(
+            device=self.device1,
+            name="W1",
+            type=InterfaceTypeChoices.TYPE_80211A,
+            status=interface_status,
+        )
         cable = Cable(termination_a=self.interface2, termination_b=wireless_interface)
         with self.assertRaises(ValidationError):
             cable.clean()

If this approach works for you, I'll put together an MR for you which would include a similar patch for test_cable_cannot_terminate_to_a_virtual_interface(). Thoughts? At a glance, my preference would be for all test cases to not just check for ValidationError, but to check the value; I wouldn't be at all surprised to learn that similar issues existed elsewhere in the test harness, but a revision to the test harness philosophy feels like a larger discussion. For now, I'd be fine with getting this patch merged in, provided it passes muster. Let me know how you'd like to proceed.

Your analysis and proposed change make sense to me. Thank you for the attention to detail!


`GLIBC_2.3x' not found while installing Wokwi IoT Gateway on Chromebook

./wokwigw-linux: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by ./wokwigw-linux) ./wokwigw-linux: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./wokwigw-linux)
I was shy to attempt (with vague information) to fix this being warned that GLIBC is deeply rooted.
Operating System
cat /etc/os-release
lsb_release -a
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Kernel Information
uname -a
Linux penguin 5.15.108-18910-gab0e1cb584e1 #1 SMP PREEMPT Sat Jun 3 18:21:02 PDT 2023 x86_64 GNU/Linux
System Architecture
uname -m
x86_64

Thanks for the detailed report!
I released a fix here: https://github.com/wokwi/wokwigw/releases/tag/v1.1.1
Can you please try the new version (1.1.1) and report if it helps?

using https://wokwi.com/projects/320964045035274834 /* ESP32 HTTP IoT Server Example for Wokwi.com
as my learning, testing "hello world" ...
This looks good!
Wokwi IoT Gateway
Version: v1.1.1
Git revision: 60bb982b2a2cd0d96fa9fe78db4e8523af5c7f85
Built: Thu, 15 Jun 2023 13:52:13 +0000
Listening on TCP Port 9011
Simulate: HTTP IoT Server Example:
Connecting to WiFi Wokwi-GUEST...... Connected!
IP address: <IP_ADDRESS>
HTTP server started
Visit http://localhost:9080
Page responds: This page isn’t working localhost didn’t send any data.
Gateway responds:
2023/06/15 11:47:41 tcpproxy: for incoming conn [::1]:51802, error dialing "<IP_ADDRESS>:80": connect tcp <IP_ADDRESS>:80: no route to host
Sorry to bother you as this may not be your purview, but I seem so close, but stuck

Hi again!
 OK, nothing odd.  Ran sim, went to http://localhost:9080/
Gateway responded Listening on TCP Port 9011
[<IP_ADDRESS>:45528] Client connected (https://wokwi.com)
2023/06/15 12:39:05 tcpproxy: for incoming conn [::1]:54998, error dialing "<IP_ADDRESS>:80": context deadline exceeded''
Seems closer, but not quite ...

Try keeping the simulator tab visible while trying to connect from the browser


Fixes for release v2.3.3-rc2

Updating Root directory

Introduced new mechanism for updating the root directory when necessary. Currently only used to update the invoke.sh script using new dialog colors.
Fixed ROCm torch module version number

Loading legacy 2.0/2.1 models

Due to not converting the torch.dtype precision correctly, the load_pipeline_from_original_stable_diffusion_ckpt() was returning models of dtype float32 regardless of the precision setting. This caused a precision mismatch crash.
Problem now fixed (also see #3057 for the same fix to main)

This is now superseded.


FutureWarning when run_ts_obj accesses its time series

When I call:
run_ts_obj = run_obj.to_runts()
I get this warning:
/home/kkappler/software/irismt/mth5/mth5/timeseries/channel_ts.py:531: FutureWarning: Timestamp.freq is deprecated and will be removed in a future version   if self._ts.coords.indexes["time"][0].freq is None: /home/kkappler/software/irismt/mth5/mth5/timeseries/channel_ts.py:541: FutureWarning: Timestamp.freq is deprecated and will be removed in a future version   sr = 1e9 / self._ts.coords.indexes["time"][0].freq.nanos
This is discussed here:  https://github.com/dask/dask/issues/7783
The issue is that the freq property will not be associated with a single element of a series of timestamps.
There are two solutions worth trying here:

We could stop accessing an individual timestamp, i.e. replace

sr = 1e9 / self._ts.coords.indexes["time"][0].freq.nanos
with
sr = 1e9 / self._ts.coords.indexes["time"].freq.nanos

If that doesn't solve the issue, then how about something like

sr = 1./(self._ts.coords.indexes["time"].diff().median())
or
sr = 1./(self._ts.coords.indexes["time"][1] - self._ts.coords.indexes["time"][0])
These assume a uniform sampling rate throughout the series - which we should confirm is a property of an mth5 time series.  If it is not always the case, then there should be a boolean property  self.uniformly_sampled or similar that we can check to make sure sample_rate is well defined.

Observation
It looks like this warning becomes an error in gitactions tests
https://github.com/simpeg/aurora/runs/3510804171?check_suite_focus=true
Run pytest -v --cov=./ --cov-report=xml --cov=aurora
============================= test session starts ==============================
platform linux -- Python 3.6.13, pytest-6.2.5, py-1.10.0, pluggy-0.13.1 -- /usr/share/miniconda/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/aurora/aurora
plugins: cov-2.12.1
collecting ... collected 21 items / 1 error / 20 selected

==================================== ERRORS ====================================
________ ERROR collecting tests/parkfield/test_process_parkfield_run.py ________
/usr/share/miniconda/lib/python3.6/site-packages/mth5/timeseries/run_ts.py:358: in sample_rate
    return 1e9 / self.dataset.coords["time"].to_index().freq.n
E   AttributeError: 'NoneType' object has no attribute 'n'

But I do not encounter the error locally.  I think it maybe linked to the pandas version?
On my local
import pandas as pd
pd.__version__

returns
'1.3.0'
We do not put any constraints on the pandas version in setup.py in any of mth5, mt_metadata, or aurora

This may actually be related to issue #38 however.  In the failing test I see the following warnings:
2021-09-05 18:26:07,434 [line 422] mth5.timeseries.run_ts.RunTS.from_obspy_stream - WARNING: could not find e1
2021-09-05 18:26:07,454 [line 422] mth5.timeseries.run_ts.RunTS.from_obspy_stream - WARNING: could not find e2
2021-09-05 18:26:07,474 [line 422] mth5.timeseries.run_ts.RunTS.from_obspy_stream - WARNING: could not find h1
2021-09-05 18:26:07,495 [line 422] mth5.timeseries.run_ts.RunTS.from_obspy_stream - WARNING: could not find h2

As suggested will add estimating the sample rate from the median of the diff(time_series_index) and estimate min/max of normalized diff(TS)/median(diff(TS))


Add filter option for fairy rings

When configuring a fairy ring, I would like to be able to type: "Misc" and then press Enter to teleport to Miscellania. MSPaint mock-up:

I'd suggest something like this to Jagex. While it may be possible to do this you would be removing the players interaction with multiple clicks and scrolling to choose.

"Enter to teleport" seems a bit much and probably won't be added since it requires faking interaction (similar to why a world hopping plugin doesn't exist), but the filtering in itself seems fine to me and would be appreciated.

I believe this was added to master in last release with the fairy ring search option.

Implemented in #3838.

What Nightfirecat said.


Allows azure subdomain purely for acme-challenges

What this PR does / why we need it:
In order to mitigate security concerns with allowing access to edit DNS records, we can create a dns zone purely for acme challenges and only allow this zone to be changed by cert-manager.
In order to do this we create a ClusterIssuer with the hostedZoneName of : _acme-challenge.example.com.
Currently if you set it up like this and create a certificate for test.example.com, the cert manager creates a zone of: _acme_challenge.test.example.com._acme-challenge.example.com. If we strip off _acme-challenge. from the hostedZoneName then the current trimFqdn will work correctly
NONE

/ok-to-test

Thanks for the PR, but this introduces a problem if people want to get certificates for a domain name starting with _acme-challenge.
The usual setup for this kind of DNS scoping is to make a domain _acme-challenge.example.org and CNAME it to somewhere.else.example.org. Cert-manager does check for these kinds of CNAME setups and will try to set the TXT record on the somewhere.else.example.org zone

I'm going to close this PR. It does not build, it limits certain DNS setups and the goal you're trying to achieve with your setup is better accomplished by delegating to a CNAME. Feel free to reopen if you think I'm missing something

Thanks @DanielMorsing I'll have a look at delegating the CNAME you suggested, is there any guides on how to do this?

an example of this setup: Have your DNS administrator manually add a record for _acme-challenge.example.org CNAME to acmevalidation.example.org. Then have them delegate the acmevalidation.example.org subdomain to you. Cert-manager should pick up on the CNAME and change the TXT record on the acmevalidation.example.org subdomain and DNS validation should work


Added lock on microphone while a phone call is in progress

I've primarily created this PR as a proof of concept for a fix to the crash documented in #969 where AudioKit causes a crash if a phone call is in progress.

Thanks for the follow through

Oops, you did wan this merged correct?

I'm happy for it to be merged. I wasn't totally sure if you'd think it was a good idea for this kind of logic to be there. I thought you might want to have a bit of a discussion, but if you think it looks good then no worries.

Yeah, it looks like a good idea to me.

@warpling Might be interested in this too.

I'm also happy to push check style fixes if you want.

While checking CTCallCenter as a condition for locking might work for the mentioned use case I'm uncomfortable with this solution as it seems to overlook a more general solutions that could fix related crashes. It's unlikely the conflict is related purely to phone calls; have you looked into other audio routing callbacks to see if there's a more general way to cover this case?

I'm definitely still looking for a better solution. Any suggestions? As far as I can tell, it seems like it relates specifically to trying to access the microphone while a phone call is in progress. But I'll try to test a bit more with the routing changes.

Yes that's what I've seen as well 🤔 I won't have a chance to mess with it for a bit but have you tried polling for available input devices after receiving a restart or route change notification?


v12 release still requires angular v8 as a peer dependency

I'm wondering if this is intended, despite the main package.json listing a dependency of angular v12
Could not resolve dependency:
peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>

@orizens can we please fix this.
https://github.com/orizens/ngx-youtube-player/pull/95 is an attempt to fix this. Please merge if fit

fixed by #95


Add tag Name to Managed Node Group EC2 instances

I'm submitting a...

[ ] bug report
[x ] feature request
[ ] support request - read the FAQ first!
[ ] kudos, thank you, warm fuzzy

I suggest to set Name tag for Node Group equals to node_group_name https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/node_groups/node_groups.tf#L4
In EC2 instance list, it is hard to determine which instances are related to EKS Node Group
Thank you

This is a limitation of the managed node group service from AWS. It does not currently allow for customizing the default tags on the instances it creates.
Imaginative people might be able to do some horrid glue with a lambda and responding to events.

This module now support LT for managed node group. You can use it to provide your tags.

What LT is?

Launch Template
On Thu, Nov 12, 2020 at 3:32 PM Ramil Amerzyanov<EMAIL_ADDRESS>wrote:

What LT is?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/982#issuecomment-726353934,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPEP5EOIQQIJS5R4O5KPOTSPRH6LANCNFSM4QEYVXBA
.

--
Christopher


Ipv4Addr field added to HostRecord struct

Ipv4Addr field added to HostRecord struct at objects.go

A couple of things:

I seem to recall this PR fixes a specific issue. Please reference that issue in this PR
If you would like me to review this PR, please add me as a reviewer.

Otherwise, LGTM.


Fix NamedSpotifyId::to_uri

The encoded URIs were previously missing a colon between the username and item type.

Thanks!


initDev() Not being called in the browser

Version
3.0.0-rc.5
Reproduction link
https://github.com/d-pollard/testing-vue3
Steps to reproduce
Vue CLI generate a new app;
npm run serve
open dev tools; see that window.__VUE__ isn't set
What is expected?
initDev() should run (setting __VUE__ and  running setDevtoolsHook with __VUE_DEVTOOLS_GLOBAL_HOOK__)
What is actually happening?
These fields aren't being set; initDev is being called when we build instead

I can add import 'vue/dist/vue.esm-bundler'; in main.js and it'll set properly

@sodatea - would love to contribute a PR for this; as it stands a fix from the users perspective would be something like this:
vue.config.js
module.exports = {
  runtimeCompiler: process.env.NODE_ENV === 'development'
};

The alternative would be to check the environent we're running in here: https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-service/lib/config/base.js#L118
webpackConfig.resolve
        .alias
          .set(
            'vue$',
            options.runtimeCompiler || process.env.NODE_ENV === 'development'
              ? 'vue/dist/vue.esm-bundler.js'
              : '@vue/runtime-dom'
          )

Please advise which approach you'd prefer; alternatively, suggest a fix and I'll implement it

@d-pollard See https://github.com/vuejs/vue-cli/pull/5788


Create custom frontend library

Hello everyone,
I'm trying to build my custom frontend library.
So I've create my core project with creat-react-app and react-app-rewired.
I don't have a own webpack.
My core project is structured like:

public
src -> with index.jsx
config-overrides.js
-package.json

In src/index.jsx there is the import of each component and a unique export:
import { MBFooter } from "./components/layout/MBFooter"
import { MBHeader } from "./components/layout/MBHeader";
import { NavigationMenu } from "./components/layout/NavigationMenu";
import { MBIndexPage } from "./MBIndexPage";
import { InputUtils } from "./utils/InputUtils";
export { MBFooter, MBHeader, NavigationMenu, MBIndexPage, InputUtils };
In core project I've executed npm run build and npm pack to use tgz file in another project.
After that I've create myapp project with create-react-app and I've installed core package from tgz but if I try to import components from core the project can't found the core package.
What I'm doing wrong?
Thanks

Use tsdx or kcd-scripts instead of create-react-app for this.


De-emphasise the \mathXX synonyms in the documentation

I'm not sure if I'll ever phase out the \mathXX synonyms entirely, but they definitely seem to cause confusion. (E.g., https://tex.stackexchange.com/questions/411995/unicode-math-changing-it-and-bfup-font-ranges)
I now think it would be best to introduce all the new commands as \symXX, and only later introduce the synonyms. The synonyms are really only there for backwards compatibility...

Incidentally, what is the correct way to force a multi-letter identifier to be typeset in bold italics?

Use \setmathfontface to define your own \mathbfit command.
I agree that unicode-math should drop the synonyms like \mathbfit entirely.

Is there a way to turn certain synonyms off? For instance, UM redefines mathbb (when amssymb is also in use), but I would like mathbb to refer to the AMSb font, while symbb does the UM thing. Similar considerations apply to mathcal and mathscr.

@joukewitteveen
You can redeclare \mathbb yourself:
\documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage{unicode-math}

\setmathfont{STIX Two Math} % has a very distinctive Blackboard Bold font

\AtBeginDocument{\DeclareMathAlphabet{\mathbb}{U}{msb}{m}{n}}

\begin{document}

$\mathbb{A}\ne\symbb{A}$

\end{document}


Object [object Array] has no method 'includes'

Hello there,
I apologise if this is not the right place for this issue, but I'm not sure what else to do, I'm asking here because the error happens in apollo-angular's code.
I'm using apollo-angular in my Ionic app, and it works fine on Browser and iOS platforms, but in Android I get this error:
Error: Network error: Object [object Array] has no method 'includes'

The request to the server goes through just fine, this error when it gets the response back.
This is the relevant code:
  private currentUser(cb) {
    this.apollo.query({
      query: gql`${this.currentUserQuery()}`
    }).subscribe(
      (res:any) => cb(res.data.user),
      (data) => this.error = data
    );
  }

I've tried to include Array.prototype.includes to my .tsconfig.json, but without success.
I've also tried to use es7 in a lot of ways by modifying .tsconfig.json, also without success.
Searching in this project, I'm only able to find this instance of .includes.
Does anyone have any input that could help me get through this?
fwiw this is my .tsconfig.json
{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [
      "dom",
      "es2015"
    ],
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "target": "es5",
    "typeRoots": [
      "../node_modules/@types"
    ]
  },
  "include": [
    "src/**/*.ts"
  ],
  "exclude": [
    "node_modules",
    "src/**/*.spec.ts",
    "src/**/__tests__/*.ts"
  ],
  "compileOnSave": false,
  "atom": {
    "rewriteTsconfig": false
  }
}

It seems like we use Array.includes in apollo-angular-link-http. I'm going to change it in a minute.