⚠ Bofrost.lu has degraded performance

In 6313707, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1630 ms

Resolved: Bofrost.lu performance has improved in 8741a00.


TimeLockUpgrade: Allow setting of timelock period as long as > than existing

Pull Request Test Coverage Report for Build 5573

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 5569:
0.0%

Covered Lines:
1001

Relevant Lines:
1001

💛  - Coveralls


Overflow causes issue with swipe

Hi,
I have a table who is working fine with swipe. But when i want to put it in a modal popup, i have two problems:
- The table who contains 10 columns, display only 2 colums. If i change the size of my browser's window, it's go back to normal
 - In my modal, i have an overflow-y. This causes an issue with swipe, my table display his 10 columns even if the window of my browser is tiny.

Thanks.

Hm, I don’t think that we’ll solve the overflow problem. It’s not a use case that we do in our work. However, the issue of element queries is a different one, and I think valid.

This will be included with 1.0.2


POC of base tests for fsspec behavior.

xref https://github.com/intake/filesystem_spec/issues/650

Interestingly, MemoryFileSystem is failing:
fsspec/tests/spec/test_memory.py::TestRead::test_ls_raises_filenotfound FAILED                                                                           [100%]

=========================================================================== FAILURES ===========================================================================
_____________________________________________________________ TestRead.test_ls_raises_filenotfound _____________________________________________________________

self = <test_memory.TestRead object at 0x7f3a3edfb760>, fs = <fsspec.implementations.memory.MemoryFileSystem object at 0x7f3a3ee0d340>, prefix = '/root/'

    def test_ls_raises_filenotfound(self, fs, prefix):
        with pytest.raises(FileNotFoundError):
>           fs.ls(f"{prefix}/not-a-key")
E           Failed: DID NOT RAISE <class 'FileNotFoundError'>

fsspec/tests/base/spec.py:25: Failed
=================================================================== short test summary info ====================================================================
FAILED fsspec/tests/spec/test_memory.py::TestRead::test_ls_raises_filenotfound - Failed: DID NOT RAISE <class 'FileNotFoundError'>

Is this deliberate?
In [1]: import fsspec

In [2]: fs = fsspec.get_filesystem_class("memory")()

In [3]: fs.ls("/a")
Out[3]: []

Yep, MemoryFileSystem should probably raise. It has "pseudo directories" explicitly holding references that don't contain anything (i.e., empty directories), so we should be able to tell the difference between non-existent and empty directory.

fsspec.implementations.memory.MemoryFileSystem.ls is pretty ugly!

OK, I've xfailed that MemoryFileSystem test for now: https://github.com/intake/filesystem_spec/issues/652.
Some general thoughts / questions:

Are we OK with the naming BaseSpecTests, tests/base/spec.py?
Are we OK with the layout of tests/base/spec.py defining the base tests, and implementations/tests/spec/test*.py for each implementation?
We should consider parametrizing fs by some common arguments to AbstractFileSystem, including use_listings_cache and asynchronous.

cc @isidentical from #650 if you have thoughts on the implementation. It is a bit awkward to have this prefix fixture that has to be defined. AFAICT, I needed that for HTTPFileSystem to work with this setup since its requests like ls include the full URL, rather than the URL relative to some root.


Background-Generator added

Background-generator added to the project. The background colour can be adjusted with a just a click.

remove node_modules folders

Please create a demo folder inside your project and add a working demo of your project named demo.gif

also remove package.json files

@irshadmd Changes done as per your requirement. #94


Discrete controller (discrete PID, no FF, no integrator windup via recalculation/last_actuators)

Uses last actuators to limit the integrator a bit better than https://github.com/commaai/openpilot/pull/23414 without needing any additional value changes / tuning.
linearizes the error by speed to perform gain scheduling so only a single value is needed for P,I,D
Does not rely on or benefit from the use of FF. Integrator can handle what FF is used for currently and rate limits on the actuators make FF not useful since FF is intended to speed up the controllers reaction to a setpoint change.
integrator(s) do not wind up they are recalculated based on the last_actuators. My current tuning I = ~1.5x P
Entire PID controller is actually defined in 3 lines.
N = 20 # Filter coefficient. corner frequency in rad/s. 20 = ~3.18hz
Z = [[[1, 1], [2, -2]], [[1], [1]], [[2, -2], [1-2j, 1+2j]]] # Trapezoidal IPD
T = [[[1, 0], [1    ]], [[1], [1]], [[1    ], [1   , (1/N)*1j]]] # Trapezoidal IPD
This would be PI only by changing those lines:
Z = [[[1, 1], [2, -2]], [[1], [1]]] # Trapezoidal IP
T = [[[1, 0], [1     ]], [[1], [1]]] # Trapezoidal IP
Useful on it's own as an upgraded PID controller for Lat but also could be a better controller for use in the new torque control to eliminate the badly behaved integrator in the stock system.

I'm really confused what problem this solves. The whole point of latcontrol_torque was to simplify the controllers, remove controllers, increase FF and reduce tuning. This controller appears to be doing the opposite.
If there are issues with integrator behavior in the normal PID we should just fix them. An issue with plotjuggler plots showing any issues would be ideal


reworded note

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/6732

Dear @JohanFreelancer9,
kindly do the copy editor review for this PR.
Dear @e0i, for your information
Thank you


A training error: Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis...

Hi, at the beginning of the training,  an error occur:
2020-10-20 16:10:17.143274: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1528. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143391: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1542. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143422: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1556. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143449: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1570. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143473: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1584. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143637: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1604. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143663: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1618. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143687: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1632. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143712: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1646. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.143735: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_1660. Error: ValidateStridedSliceOp returned partial shapes [1,?,3] and [?,3]
2020-10-20 16:10:17.161784: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2167. Error: Node strided_slice_2167 requested invalid slice index 2 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.161862: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2170. Error: Node strided_slice_2170 requested invalid slice index 3 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.161909: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2173. Error: Node strided_slice_2173 requested invalid slice index 4 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.161953: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2176. Error: Node strided_slice_2176 requested invalid slice index 5 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.161992: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2179. Error: Node strided_slice_2179 requested invalid slice index 6 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.162030: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2182. Error: Node strided_slice_2182 requested invalid slice index 7 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.162091: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2185. Error: Node strided_slice_2185 requested invalid slice index 8 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.162142: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2188. Error: Node strided_slice_2188 requested invalid slice index 9 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.162197: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2191. Error: Node strided_slice_2191 requested invalid slice index 10 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.162246: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2194. Error: Node strided_slice_2194 requested invalid slice index 11 on axis 1 from tensor of shape: [5,68,2]
2020-10-20 16:10:17.162295: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_2197. Error: Node strided_slice_2197 requested invalid slice index 12 on axis 1 from tensor of shape: [5,68,2]
........

But  the model can be trained afer these errors occurred.
.......

2020-10-20 16:10:17.839343: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_4312. Error: ValidateStridedSliceOp returned partial shapes [?,1,2] and [?,2]
2020-10-20 16:10:17.839375: W ./tensorflow/core/grappler/optimizers/graph_optimizer_stage.h:241] Failed to run optimizer ArithmeticOptimizer, stage RemoveStackStridedSliceSameAxis node strided_slice_4315. Error: ValidateStridedSliceOp returned partial shapes [?,1,2] and [?,2]
Epoch  1:   100/  100 (time: 8.7066), Step 100:
total: [0.9219]
ga/pixel/ssim/depth/epipolar loss: [0.0000/0.0000/0.0000/0.0000/0.0000]
(weight)ga/pixel/ssim/depth/epipolar loss: [0.0000/0.0000/0.0000/0.0000/0.0000]
mm_pixel/mm_lm/mm_id/mm_reg_s/mm_reg_c loss: [0.2579/241.8536/0.9496/1.2511/0.0017]
(weight)mm_pixel/mm_lm/mm_id/mm_reg_s/mm_reg_c loss: [0.4900/0.2419/0.1899/0.0001/0.0000]

Epoch  1:   200/  200 (time: 0.5535), Step 200:
total: [1.4828]
ga/pixel/ssim/depth/epipolar loss: [0.0732/0.1618/0.0000/164.9637/32.4154]
(weight)ga/pixel/ssim/depth/epipolar loss: [0.0732/0.1618/0.0000/0.0165/0.0324]
mm_pixel/mm_lm/mm_id/mm_reg_s/mm_reg_c loss: [0.3084/659.8826/0.8153/7.1344/0.0120]
(weight)mm_pixel/mm_lm/mm_id/mm_reg_s/mm_reg_c loss: [0.5859/0.6599/0.1631/0.0007/0.0000]

Is this situation normal? If not, how can I avoid it?

Yes man, do not worry about this.
This is a TensorFlow version problem.


Multiplication symbols not displaying in the specification

Hi,
while reading up on the opencost specification, I noticed that some multiplication symbols were not being rendered:

This happens because markdown interprets content in between asterisks as being italics
I'll submit a PR for this issue

Thank you, @jhcp! Believe this is now resolved, but please feel free to reopen if more needed.


Snile826 patch scriptes

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[x] Update the CHANGES log.

Allowing JAVA_OPTS to read environment variables instead of hard coding helps to use systemd management services.

The shebang must be on the first line. Delete blanks and move comments.shellcheck(SC1128)
Use $(...) notation instead of legacy backticked ....shellcheck(SC2006)
Use 'cd ... || exit' or 'cd ... || return' in case cd fails.shellcheck(SC2164)

Foreground startup helps containerization.


docs: bump dagger version in docs

Another manual update until #2351 lands
Signed-off-by: Marcos Lilljedahl<EMAIL_ADDRESS>

LGTM. Can you change your commit to : docs: Bump dagger version in docs to avoid seeing it in the changelog ?

sure! forgot about that one. Thx :pray:

I think there was a bad rebase in ths PR as there's an extra commit Merge branch 'main' into fix/bump_docs_version

My intention was to convert this script into a GitHub Action, but I first want to get this merged.

If all changes look good to you @grouville, please confirm & merge.


alertmanager-executor: init at unstable-2022-02-04 + module

Description of changes
New package: https://github.com/imgix/prometheus-am-executor - allows configured commands to be triggered by AlertManager webhook.
I've changed the name of the package since the original seems confusing to me as it's only loosely related to prometheus. Let me know if the original name is preferred.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Thanks for the review! Added simple test in b8e9eac, PTAL.

Builds fails on {aarch64,x86_64}-darwin so maybe let's add meta.platforms

Added in dfedb385e76859ebcd6da6b85fe059c3000f8d40.

Squashed & rebased to current master

[Picked a random PR to try to progress]
I've rebased and updated this to use by-name at https://github.com/me-and/nixpkgs/tree/pr/189119. I don't have the ability to make additional pushes to @mmilata's branch, but I believe they should be able to force-push my rebase as their pull request. Alternatively, I can open a new PR with my branch to replace this one, if that would be preferable.

You are more than welcome to cherry-pick the commits here and add your own changes to open a new PR.

@JohnRTitor Thinking about it, I'm not going to do that, as (a) my aim in picking an old PR to progress was to reduce the number of open PRs, not increase it, and (b) I definitely don't propose to maintain this package, so I think it'd be better to either not be an available package or for my branch to be picked up by someone who is able to maintain it.


Error Installing capybara-webkit "‘__locale_t’ has not been declared"

Installing on Ubuntu, 64bit QT version 1_1_4
$ gem install capybara-webkit -v 0.5.0
Building native extensions.  This could take a while...
ERROR:  Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
    /home/builduser/.rvm//rubies/ree-1.8.7-2011.03/bin/ruby extconf.rb

/usr/local/bin/qmake
cd src/ && /usr/local/bin/qmake /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0/src/webkit_server.pro -spec /packages/installed/distbuild-2011.11.30_15.30/mkspecs/linux-g++ -o Makefile.webkit_server
cd src/ && make -f Makefile.webkit_server
make[1]: Entering directory /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0/src' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/packages/installed/distbuild-2011.11.30_15.30/mkspecs/linux-g++ -I. -I/packages/installed/distbuild-2011.11.30_15.30/include/QtCore -I/packages/installed/distbuild-2011.11.30_15.30/include/QtNetwork -I/packages/installed/distbuild-2011.11.30_15.30/include/QtGui -I/packages/installed/distbuild-2011.11.30_15.30/include/QtWebKit -I/packages/installed/distbuild-2011.11.30_15.30/include -I. -o main.o main.cpp In file included from /usr/local/include/QtCore/qbytearray.h:48:0,                  from /usr/local/include/QtCore/qstring.h:46,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/qobject.h:48,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/QObject:1,                  from Server.h:1,                  from main.cpp:1: /usr/include/string.h:546:5: error: ‘__locale_t’ has not been declared /usr/include/string.h:547:33: error: nonnull argument references non-pointer operand (argument 1, operand 3) /usr/include/string.h:550:18: error: ‘__locale_t’ has not been declared /usr/include/string.h:551:33: error: nonnull argument references non-pointer operand (argument 1, operand 4) In file included from /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/localefwd.h:42:0,                  from /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/string:45,                  from /usr/local/include/QtCore/qstring.h:60,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/qobject.h:48,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/QObject:1,                  from Server.h:1,                  from main.cpp:1: /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:52:23: error: ‘uselocale’ was not declared in this scope /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:52:45: error: invalid type in declaration before ‘;’ token /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h: In function ‘int std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)’: /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:72:53: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:97:33: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function In file included from /usr/include/stdio.h:907:0,                  from /usr/local/include/QtCore/qfile.h:47,                  from /usr/local/include/QtCore/qfileinfo.h:45,                  from /usr/local/include/QtCore/qdir.h:46,                  from /usr/local/include/QtCore/qabstractfileengine.h:45,                  from /usr/local/include/QtCore/QtCore:39,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtGui/QtGui:3,                  from main.cpp:2: /usr/include/bits/stdio.h: In function ‘__ssize_t getline(char**, size_t*, FILE*)’: /usr/include/bits/stdio.h:118:52: error: ‘__getdelim’ was not declared in this scope make[1]: *** [main.o] Error 1 make[1]: Leaving directory /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0/src'
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
make
cd src/ && make -f Makefile.webkit_server
make[1]: Entering directory /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0/src' g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/packages/installed/distbuild-2011.11.30_15.30/mkspecs/linux-g++ -I. -I/packages/installed/distbuild-2011.11.30_15.30/include/QtCore -I/packages/installed/distbuild-2011.11.30_15.30/include/QtNetwork -I/packages/installed/distbuild-2011.11.30_15.30/include/QtGui -I/packages/installed/distbuild-2011.11.30_15.30/include/QtWebKit -I/packages/installed/distbuild-2011.11.30_15.30/include -I. -o main.o main.cpp In file included from /usr/local/include/QtCore/qbytearray.h:48:0,                  from /usr/local/include/QtCore/qstring.h:46,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/qobject.h:48,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/QObject:1,                  from Server.h:1,                  from main.cpp:1: /usr/include/string.h:546:5: error: ‘__locale_t’ has not been declared /usr/include/string.h:547:33: error: nonnull argument references non-pointer operand (argument 1, operand 3) /usr/include/string.h:550:18: error: ‘__locale_t’ has not been declared /usr/include/string.h:551:33: error: nonnull argument references non-pointer operand (argument 1, operand 4) In file included from /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/bits/localefwd.h:42:0,                  from /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/string:45,                  from /usr/local/include/QtCore/qstring.h:60,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/qobject.h:48,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtCore/QObject:1,                  from Server.h:1,                  from main.cpp:1: /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:52:23: error: ‘uselocale’ was not declared in this scope /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:52:45: error: invalid type in declaration before ‘;’ token /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h: In function ‘int std::__convert_from_v(__locale_struct* const&, char*, int, const char*, ...)’: /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:72:53: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function /packages/encap/gcc-4.5.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../../include/c++/4.5.2/x86_64-unknown-linux-gnu/bits/c++locale.h:97:33: error: ‘__gnu_cxx::__uselocale’ cannot be used as a function In file included from /usr/include/stdio.h:907:0,                  from /usr/local/include/QtCore/qfile.h:47,                  from /usr/local/include/QtCore/qfileinfo.h:45,                  from /usr/local/include/QtCore/qdir.h:46,                  from /usr/local/include/QtCore/qabstractfileengine.h:45,                  from /usr/local/include/QtCore/QtCore:39,                  from /packages/installed/distbuild-2011.11.30_15.30/include/QtGui/QtGui:3,                  from main.cpp:2: /usr/include/bits/stdio.h: In function ‘__ssize_t getline(char**, size_t*, FILE*)’: /usr/include/bits/stdio.h:118:52: error: ‘__getdelim’ was not declared in this scope make[1]: *** [main.o] Error 1 make[1]: Leaving directory /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0/src'
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
Gem files will remain installed in /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0 for inspection.
Results logged to /home/builduser/.rvm/gems/ree-1.8.7-2011.03/gems/capybara-webkit-0.5.0/./gem_make.out

Did the qt libraries install successfully?
https://github.com/thoughtbot/capybara-webkit/wiki/Installing-QT

No not the 2nd one, I'm on lucid so that package is not easily available :(
Sent via carrier pigeon
On Dec 2, 2011, at 12:19 PM, Gabe<EMAIL_ADDRESS>wrote:

Did the qt libraries install successfully?
https://github.com/thoughtbot/capybara-webkit/wiki/Installing-QT

Reply to this email directly or view it on GitHub:
https://github.com/thoughtbot/capybara-webkit/issues/223#issuecomment-2992938

The webkit-specific package was rolled into libqt4-dev. (I updated the wiki instructions, hopefully it's the same package for Ubuntu's more recent than Lucid)
I installed capybara-webkit v0.7.2 the other day on Lucid 64.  Maybe your issue is fixed by a newer version of the library?


Add a discord message action to announce when a new release has been cut.

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
From a quick search this exist: https://github.com/marketplace/actions/actions-for-discord.
Using something similar a message can be sent to the discord channel when a release has been cut.

Describe alternatives you've considered

Use the on: release.
Additional context

Link to discord

testing the webhook

Test

For now, we can just use the general discord webhook.


Implementing the varlink support

Implementing varlink support for basic libnmstate functions.
The test cases are passes if the varlink server is running separately. Test case fails when varlink server is called using fixtures.
Error I get when I initiate the varlink server.
"OSError: [Errno 98] Address already in use"

Hi! Please fix the LGTM warnings and sign your commit with git commit --amend -s. Thanks!

Hi! Please fix the LGTM warnings and sign your commit with git commit --amend -s. Thanks!

Sorry for that. Fixed it

Thanks, here are a few more observations. Please also address the LGTM warnings. Let me know if you have any questions.

There is issue with running the varlink server. I'm getting the error "OSError: [Errno 98] Address already in use". How should I implement?

Thanks, here are a few more observations. Please also address the LGTM warnings. Let me know if you have any questions.

There is issue with running the varlink server. I'm getting the error "OSError: [Errno 98] Address already in use". How should I implement?

Please take a look at these alerts:
https://lgtm.com/projects/g/nmstate/nmstate/rev/pr-e5cac243ff2fc0c2084901d5f364ce7db5e8cc93

There is issue with running the varlink server. I'm getting the error "OSError: [Errno 98] Ad
Please take a look at these alerts:
https://lgtm.com/projects/g/nmstate/nmstate/rev/pr-e5cac243ff2fc0c2084901d5f364ce7db5e8cc93
@tyll
I fixed the lgtm issues locally. Currently revising the other requested changes and the testing issue.

There is issue with running the varlink server. I'm getting the error "OSError: [Errno 98] Address already in use". How should I implement?

This is probably related to using a static path /tmp/nmstate.

@SudhanAruna what is the status, here?

@SudhanAruna what is the status, here?
@tyll
Currently working on the documentation and waiting for ffmancera feedback on the implementation to proceed. I made the changes requested by you. Can we use abstract namespaced socket instead temporary socket file?
And working the OSError also.

@SudhanAruna what is the status, here?
@tyll
Currently working on the documentation and waiting for ffmancera feedback on the implementation to proceed. I made the changes requested by you. Can we use abstract namespaced socket instead temporary socket file?
And working the OSError also.

The namespaced socket is a good idea. Well done!
I guess I was wrong regarding the code structure. IMHO it should somehow be like this:
After installation, there should be

/usr/bin/nmstate-varlink as a binary to invoke the varlink interface.
The library code for nmstate varlink support should probably be in libnmstate/varlink
the tests should be in the /tests directory, probably /tests/varlink

It seems the integration with the setup.py is one of the main problems currently so let's focus on it.

All the dependencies needed for nmstate-varlink must be specified in nmstate.spec as Recommends: ...

Another possibility is to move the varlink parts to a subpackage with proper dependencies instead of Recommends.

Under the %files section we need to install the nmstate-varlink binary as we are doing with nmstatectl. %{_bindir}/nmstate-varlink and I think %{python3_sitelib}/nmstate-varlink is also needed.

Does it need to be in a different package? Why not libnmstate/varlink?

We need to add the nmstate-varlink dependencies in requirements.txt

This will also add the dependencies to the RPM, actually.

We need to modify setup.py, we will need to add an entry point as a console_scripts.

+1

@tyll
As you requested using varlink resolver in the documentation PR. Installing libvarlink doesn't install varlink resolver. I referred to the  varlink documentations and other examples but I couldn't find any regarding resolver installation. Any suggestions?

It seems there is an issue on the integration test. Please see: https://travis-ci.com/github/nmstate/nmstate/jobs/349270917#L2805

@tyll
As you requested using varlink resolver in the documentation PR. Installing libvarlink doesn't install varlink resolver. I referred to the varlink documentations and other examples but I couldn't find any regarding resolver installation. Any suggestions?

I am looking into this.

It seems there is an issue on the integration test. Please see: https://travis-ci.com/github/nmstate/nmstate/jobs/349270917#L2805

It seems there is an issue on the integration test. Please see: https://travis-ci.com/github/nmstate/nmstate/jobs/349270917#L2805
@ffmancera
Tests are passing locally(except OSError exception test error). It's the varlink namespaced issue, as I mentioned before.

Dependency is failing, I am investigating why.

Let's request varlink-python to upgrade the Fedora package to newer version.

In order to solve the dependency error, we need to put varlink-nmstate into a subpackage in nmstate.spec, like we did with nmstate-plugin-ovsdb. In addition, I am creating a Copr repository for varlink, this way we are going to be able to install the latests varlink version using dnf. :-)
Please, let me know if you have any question. Thanks for all the work!

We are going to move the Copr repository under the nmstate organization in Copr. Thanks for all this work, it is awesome! :-)

@SudhanAruna Please, use the following Copr repository and ask for permission. Thanks!

@SudhanAruna Please, use the following Copr repository and ask for permission. Thanks!
Copr: https://copr.fedorainfracloud.org/coprs/nmstate/varlink-el8/

@ffmancera I made the requested changes and also removed the varlink from requirements.txt.

I would like to see all varlink method could return
log: string

For debug logs.
When the socket is tcp but service is started by root, it means any user know that address can make network changes without root privilege. Before we have good access control on this, you should limit the
varlink service to be run at hard coded socket address. We can release that restriction when user need
other socket path. The good socket path could be /run/nmstate/nmstate.so where RuntimeDirectory=nmstate can help on the creation and clean up.

What about using namespaced socket like @nmstate if should hard coded.

Please rebase, we have fixed an issue on pylint.

We have renamed the master branch to base. Please close this PR and create new one targeting the base branch.
Sorry for the troubles .


what is the average FVD?

In table 1 of your paper, what is the average FVD? Is it avg_fvd? or fvd_traj_mean?

https://github.com/voletiv/mcvd-pytorch/blob/451da2eb635bad50da6a7c03b443a34c6eb08b3a/runners/ncsn_runner.py#L2217-L2229C20
        def fvd_stuff(fake_embeddings, real_embeddings):
            avg_fvd = frechet_distance(fake_embeddings, real_embeddings)
            if preds_per_test > 1:
                fvds_list = []
                # Calc FVD for 5 random trajs (each), and average that FVD
                trajs = np.random.choice(np.arange(preds_per_test), (preds_per_test,), replace=False)
                for traj in trajs:
                    fvds_list.append(frechet_distance(fake_embeddings[traj::preds_per_test], real_embeddings))
                fvd_traj_mean, fvd_traj_std  = float(np.mean(fvds_list)), float(np.std(fvds_list))
                fvd_traj_conf95 = fvd_traj_mean - float(st.norm.interval(alpha=0.95, loc=fvd_traj_mean, scale=st.sem(fvds_list))[0])
            else:
                fvd_traj_mean, fvd_traj_std, fvd_traj_conf95 = -1, -1, -1
            return avg_fvd, fvd_traj_mean, fvd_traj_std, fvd_traj_conf95

For each 5 start frames, we generate 10 videos. We calculate the FVD for each of the 10 videos and take the average. We calculate the SSIM for all 10 videos and take the max value (i.e., the closest of the 10 videos to the real video).
There are 256 test videos, which we use their 5 start frames. We average max-SSIM and avg-FVD over the 256 test videos.

Should be fvd_traj_mean

Thanks

and the variable you asked should be "fvd_traj_mean" since its averaging twice.

Hello, are the other datasets also calculating the mean of FVD, the same as SMMNIST?


Reserialize some assets for 2.2 release

Overview
As part of https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4914, I'm aiming to keep serialization up to date each time we release.

/azp run


[1.18-rc2] Corpses not spawning, keeping inventory on death, errors in log

Hello! Not sure if you're holding off on updating this until full release of 1.18, but I've noted that on 1.18 rc1 and rc2 that corpses don't seem to spawn, I always keep inventory upon death, and I also get some error messages in the log. This is on a multiplayer server (locally hosted). Here is the main server log:
https://pastebin.com/WsnZM748
And here is my modlist:

Please feel free to let me know if you need any additional information, and thanks!

Please disregard - I didn't have CommonLib installed... XD


support problem+json

Support Content-Type "problem+json" in addition to "application/json"

Hi @wontheone1: sorry you didn't get a response on this until now. Would you be interested in working on this and submitting a PR?

For completeness: I think #45 is related.


More frames in stack trace?

Is it possible to show more than 2 lines of the stack trace? I'm using the PHPUnit adapter.

(Sorry if this has already been answered)

@jasonvarga Yes - use the option -v in your console.

🤦 Of course! Wonderful, thank you.


JATS4R: spec for  and

<contrib>
x, name

<name>
prefix, surname, given-names

Example:
<contrib contrib-type="author">
  <x specific-use="display">John Doe</x>
  <name>
    <surname>Doe</surname>
    <given-names>John</given-names>
  </name>
  <xref ref-type="aff" rid="aff1"/>
  <xref ref-type="aff" rid="aff2"/>
</contrib>

We've only considered authors so far, what else do we need?
How to model group authors?

Please help improve and finanlize this spec. It will be used for realizing the Texture user interface.

I think I am being stupid here, but why do we need the
xml
<x specific-use="display">John Doe</x>

? I don't like use of  tagging, and this information is in the surname/given name tags and it would be up to the renderer to display how it should?
Also, add

@Melissa37
I believe it is an specific use of Texture to display the authors name in the document while it is being edited by the user.
Thinking in the final XML results. It is not relevant for us to have this metadata represented in this way. For us the elements surname/given-name are enough. While exporting, downloading or reproducing the XML files from Texture, these display elements could be removed.
The x element is only available on JATS Archiving, our XML's and processes are all based on JATS Publishing, so this x element will not be compatible with our current processes. If they are available in the final XML, we will net to remove them before use the XML files.

@michael : we use also suffix: Sr, Jr, etc are suffixes. They are more usual than prefixes, which are such Doctor, Professor, President etc.

@fabiobatalha Thanks that makes sense. So, we would potentially use it to monitor who is making the changes to the document at a particular time, and could be for use in the database recording actions, and it's not used to record final publishable XML.
I am thinking a database recording actions on an article is not in the remit of this project, but the relaying of this will be important. It's akin to using the XML delivered to provide processing instructions?

We need to be somewhat flexible for cases where we don't have given-name and surname disambiguated.

@Melissa37 @fabiobatalha
Re: <x>
I suppose, we only thought this was necessary to allow a self-contained file, i.e. having source and generated output in one file. Not mixing output and source is absolutely what we prefer. That said, if there are no objections, we would remove that here. Instead we should think about shipping a default renderer with Texture for people who do not know how to deal with the structured content.

This would be preferable for us too!

Great!

@oliver---- For us it is ok also.

Same here


Inspector is not visible on builded app

Howdy! First of all thanks for setting this up. I hope to see this growing a lot!
I didn't see any templates for issues so here's my problem:
I've built the app for TestFlight and when I try to toggle the inspector it shows nothing, the modal seems to be trying to open but nothing shows and I need to quit and reopen the app. Is there any props that I need to pass to it?
Dev works fine though.

Hi! Thanks for using the library and for the feedback!
We don’t have issue templates yet, but regarding your problem: no additional props are needed for the inspector to work on TestFlight—it should behave the same as in development.
Could you provide more details or maybe a short video of the issue to help us understand better?


Move to top gap between content and icon

Describe the bug
There's quite some padding between the content and the move to top icon
To Reproduce
Steps to reproduce the behavior:

Go to any list view page with the move to top enabled
Scroll all the way down
There's a big gap between the content and the icon

Expected behavior
The icon should have sensible amount of padding from the content
Screenshots

Desktop (please complete the following information):

OS: Linux, KDE Neon
Browser Firefox
Version 112.0.2

Hugo & Blowfish versions
Hugo: v0.111.3+extended linux/amd64 BuildDate=unknown
Blowfish: v2.32.1

@rpstreef not able to reproduce, Blowfish page doesn't have that problem. Could you please re-check with latest version and update the details of the ticket so that it's easy to reproduce? Thanks

Please review this git repo:
https://github.com/rpstreef/hugo-blowfish-test
I've reproduced the problem

Will check. Since you have the code on your side, if possible, could you do me a quick test - try removing some of the footer menu items and see if that margin reduces itself? I think that could be the culprit


Docs viewer unhappy with Oauth2 Security scheme

When using the newly added security schemes, with the following yaml snippet.
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: /oauth/basic
          scopes:
            secure_ping:access: "Access SecurePing"
      x-tokenInfoFunc: token_info

I get these error messages from the /docs/ endpoint
/components/securitySchemes/oauth2 should have required property '$ref'.
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should have required property 'in'
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2 should have required property 'scheme'
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT be valid
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2 should have required property 'scheme'
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should have required property 'name'
/components/securitySchemes/oauth2 should have required property 'in'
/components/securitySchemes/oauth2 should match exactly one schema in oneOf
/components/securitySchemes/oauth2/flows/implicit/authorizationUrl should match format "uri"
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should have required property 'openIdConnectUrl'
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should NOT have additional properties
/components/securitySchemes/oauth2/type should be equal to one of the allowed values
/components/securitySchemes/oauth2 should match exactly one schema in oneOf
/components/securitySchemes/oauth2 should match exactly one schema in oneOf
/components/securitySchemes/oauth2 should match exactly one schema in oneOf

@alex-zywicki This looks like an unfortunately error handling on behalf of the @asyncapi/parser js library. The actual issue with the securityScheme snippet above is that the securitySchemes/oauth2/flows/implicit/authorizationUrl is not of a valid URI format. After correcting this, I was able to visualise the security schemes of the server (through asynction):

@alex-zywicki Have raised an issue in the parser-js repo of AsyncAPI. If you're happy with it, I'll close the current issue.

For posterity The issue

@dedoussis Can we leave this open until there is some sort of resolution on their end? If they do fix it Asynction would need to bump its version of the docs viewer right?

Yes. Good point. Will leave it open.


client perfermance

Operators often encounter issues with client rate limiting during runtime, but currently, the operator's startup parameters do not support the standard Kubernetes client rate limit configuration.
` {"level":"info","ts":"2024-08-08T05:46:51Z","msg":"Waited for 3.048082224s due to client-side throttling, not priority and fairness, request: GET:https://$ip443/apis/storage.alibabacloud.com/v1beta1"}
{"level":"info","ts":"2024-08-08T05:47:01Z","msg":"Waited for 12.848947521s due to client-side throttling, not priority and fairness, request: GET:https://:443$ip/apis/policy/v1"}
{"level":"info","ts":"2024-08-08T05:47:11Z","msg":"Waited for 3.848626518s due to client-side throttling, not priority and fairness, request: GET:https://:443$ip/apis/snapshot.storage.k8s.io/v1beta1"}
{"level":"info","ts":"2024-08-08T05:47:21Z","msg":"Waited for 13.69793034s due to client-side throttling, not priority and fairness, request: GET:https://:443$ip/apis/snapshot.storage.k8s.io/v1"}`

Hello, which operator version is it?
According to https://github.com/VictoriaMetrics/operator/pull/965 operator must use discovery API only for needed groups (prometheus montiroing).

hey @stevenhong127
--client.qps and --client.burst args were added in v0.47.0 release

Overall client performance should be improved since next release.
General changes:

enable cache for resource Get requests
make less Update calls.

You still may see such log message at operator start-up. It's expected behavior for clusters with large amount of CRD objects.

Feature added  at v0.48.3 release.


Safer assignment of date inputs in obs-form-images_controller

coverage: 94.534%. remained the same
when pulling fa74f8e04e62100567a3ef0fe77a328272264aaa on nimmo-autocomplete-genus-species
into 46ce776d2751040ab303775b34e846193f99f24c on main.


feat: pass base URL and subscription key as input parameter in instance creation (SDKCF-3937)

Description
Config parameters are now passed directly as init arguments instead of putting them in Info.plist.
In order to use the module, user must create an instance of RSignatureVerifier and call verify() instance method.
Links
SDKCF-3937
Checklist

[X] I have read the contributing guidelines.
[X] I wrote/updated tests for new/changed code
[X] I removed all sensitive data before every commit, including API endpoints and keys
[X] I ran fastlane ci without errors

The configure-secrets.sh script is not needed now. Should I remove it or disable it?

IMO okay to remove since it can be dug up in git history anyway

Codecov Report

Merging #9 (6fa935b) into main (b185012) will decrease coverage by 0.66%.
The diff coverage is 65.38%.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
- Coverage   82.43%   81.77%   -0.67%
==========================================
  Files          12       11       -1
  Lines         205      192      -13
==========================================
- Hits          169      157      -12
+ Misses         36       35       -1

Impacted Files
Coverage Δ

RSignatureVerifier/RSignatureVerifier.swift
0.00% <0.00%> (ø)

RSignatureVerifier/RealSignatureVerifier.swift
100.00% <ø> (ø)

RSignatureVerifier/Fetcher.swift
100.00% <100.00%> (+5.55%)
:arrow_up:

RSignatureVerifier/KeyStore.swift
83.33% <100.00%> (-0.60%)
:arrow_down:

RSignatureVerifier/URL+Identifier.swift
100.00% <100.00%> (ø)

RSignatureVerifier/URLRequest+Headers.swift
100.00% <100.00%> (ø)

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 b185012...6fa935b. Read the comment docs.


Fix saving and loading the freehand moust tool. Issue # 775 for v3

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
Updated freehand example
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR fixes the issue described here:
Freehand handles not closed after loading state data #775

Also, another issue has been fixed that is caused by mixing the freehand "handles" as an Array type and an Object type at the same time causing the serialization of the handles array to lose the object data fields "textBox", "start"... once serialized.
The "handles" has been changed to be an object which contains a separate field called "dataHandles" of type Array.
Finally, although the freehand now can be saved/loaded successfully, the save using JSON.serialize will fail if the sculpture tool is applied on the freehand because of circular object dependency. However, this is best handled as a separate issue.

What is the current behavior? (You can also link to an open issue here)
Saving/loading the freehand allow the last handle to be moved seperately from the start handle as described here #775

Also, once loaded, the text box doesn't show up and you can't draw any more freehand because of debugger errors.

What is the new behavior (if this is a feature change)?
Freehand can be saved/loaded successfully and text box rendered.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Other information:

@Zaid-Safadi, I see you have a mix of issues/pull-requests for versions 2 and 3 in progress. Sometime this week, can you let me know what you need from me to move these forward? Feel free to @mention me on Slack if it's easier.

Likewise, I'm happy with all the PR once my very minor comments are addressed :). Feel free to ping me again/message me on slack if you have any questions.

@dannyrb @JamesAPetts, thanks both for reviewing the changes. It was a busy week but I was planning to take care of these PRs this weekend :)
I merged the v2 PRs and resolved any comments for this v3. I'll keep the issues that are not resolved in v3 open such that we can also apply a similar fix.

Thanks for your hard work, @Zaid-Safadi!
Do you want me to cut path releases for v3 and v2?
For v2, publishing should be as simple as pulling that branch, bumping the version, and running npm install then npm publish
For v3, we've switched to semantic-release and versions are automatically updated and published when commits are formatted correctly. You can "fake" it this time by updating the docs, staging those changes, and running npm run commit. Follow the prompts that apply to the v3 change you made. PR that commit against master. On merge, a changelog and release will be cut.
If you would rather I cut the releases, I can on Monday.

Hey @dannyrb, I have one more commit that I'll be adding soon to v2 for the "completed" event before publishing a new version.
As for v3, I'll try to actually submit a PR for one of the issues fixed in v2 and trigger the release. If I didn't get to this today, please feel free to push it on Monday.

:tada: This PR is included in version 3.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Building

Hello, I have no idea if you still work on this but I'd greatly appreciate some help.
When I try to build the .exe it says it builds fine but there's no exe in the output folder, just a bunch of other files.

try using pyinstaller version 2.2 not version three that will work

try using pyinstaller version 2.2 not version three that will work


Add Support for Auth.js in SSX

Description
Migrating nextjs to authjs.  Introduces new package ssx-auth to replace ssx-react/next-auth
Diligence Checklist
(Please delete options that are not relevant)

[x] This change requires a documentation update
[x] I have performed a self-review of my code
[x] My changes generate no new warnings

Codecov Report
Base: 90.34% // Head: 90.34% // No change to project coverage :thumbsup:

Coverage data is based on head (1bb32a8) compared to base (297b42d).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   90.34%   90.34%
=======================================
  Files          25       25
  Lines        3314     3314
  Branches      267      267
=======================================
  Hits         2994     2994
  Misses        320      320

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Juliano1612:x: franklovefrankYou have signed the CLA already but the status is still pending? Let us recheck it.


Combining meta2json.py and rules.py into dromedary.py

Hi,
I've just combined these two scripts into a single one and before continuing and adding the generation of a opam switch I do have some questions regarding the use of these two scripts:

Is the generation of the intermediate JSON output/input necessary for you at Facebook or can I drop it?
The standard_library in the generated BUCK file: is this something that is needed by you and I should provide a command line switch for it, or can I always set it to ROOT/lib/ocaml
I'd like to a config file  which contains info about the Opam switch to create and packages to install in this switch as a first step, before using this newly generated switch as the current one. Is that ok for you? I'd make that part optional, only if such a config file is given as an argument to the script

See https://github.com/facebook/ocaml-scripts/pull/1

I'll have a look at the PR, thank you !
In the meantime:

no, the json is not necessary, but it made designing and testing the scripts more easy. Not having to process the Opam switch all the time was quite nice. Also, as you mention, it could be improved to allow "sharing" of config to make more reproducible targets
I'll leave @shayne-fletcher give more details, but it is something we'd like to keep as it is
As long as you document the feature, I'm ok ;)

Thanks, great, one command line switch less.
A question: what is this resources supposed to contain as last entry? ROOT/lib/ocaml does not work for me.
 command_alias(
     name = "ocamldebug-exe",
     exe = ":ocamldebug",
     resources = [
         ":ocamlrun",
         ":ocamldebug",
         "_opam/lib/ocaml",
     ],

This is the relevant source line: https://github.com/facebook/ocaml-scripts/blob/main/rules.py#L396
I get an error when trying to use that in the BUCK file, removing the entry solves this error:
error: Error coercing attribute `resources` of `root//third-party:ocamldebug-exe`
      --> third-party/BUCK:38:1
       |
    38 | / command_alias(
    39 | |     name = "ocamldebug-exe",
    40 | |     exe = ":ocamldebug",
    41 | |     resources = [
    42 | |         ":ocamlrun",
    43 | |         ":ocamldebug",
    44 | |         "_opam/lib/ocaml",
    45 | |     ],
    46 | |     visibility = [
    47 | |         "PUBLIC",
    48 | |     ],
    49 | | ) if not host_info().os.is_windows else None
       | |_^
       |

    Error coercing attribute `resources` of `root//third-party:ocamldebug-exe`

    Caused by:
        0: Error coercing attribute `resources` of type `attrs.list(attrs.source(), default=[])`
        1: Error coercing [":ocamlrun", ":ocamldebug", "_opam/lib/ocaml"]
        2: Error coercing "_opam/lib/ocaml"
        3: Couldn't coerce `_opam/lib/ocaml` as a source.
             Error when treated as a target: Invalid absolute target pattern `_opam/lib/ocaml` is not allowed: Expected a `:`, a trailing `/...` or the literal `...`.
             Error when treated as a path: Expected file, but got a directory for path `_opam/lib/ocaml` in package `root//third-party`.

Does removing the _ works ? looks like it should be a relative path too from the location of the BUCK file to ocaml lib directory

The path is ROOT/lib/ocaml and is correct, as I'm using a Opam sandbox in third-party directly without a symbolic link to opam, which also works after removing this line. But what I've just noticed, is that it works with a symlink, but not a directory.
So, if opam is a (sym-) link to ./_opam the BUCK config works. When I use the _opam directory directly, it does not.

That does not matter for dromedary.py, as it generates such a symlink to the Opam switch.

For future reference, see most of the discussion happening in #1
@Release-Candidate  thank you for your contribution !

You're welcome, glad I could help.
I've just started working on the config file to generate an Opam switch and install packages.


setup dependabot

This setup dependabot to help keeping github-actions and gomod dependencies up-to-date.
Creates a PR in case a new version is available.
Signed-off-by: Matthieu MOREL<EMAIL_ADDRESS>

This one I'm not sure about, it would need to be enabled on all the go-openapi repos too and the value of it is limited.
I say the value is limited, because in golang you're never pinning always just hinting at a given minimum version. So if a dependency is a problem people can simply go get it in their own repo to override ours. This really only provides value in major version upgrades or when there are breaking changes that need to be addressed.
At the same time it creates a hamster wheel because those PR's need to be reviewed and merged, in this case weekly. At the moment it's mostly @youyuanwu and me who are doing reviews and merges.

I can remove gomod part and just keep github-actions if you prefer ?
Or just close this PR if you don’t want it either ?


Implement FixedDegreePolynomial

This is an interface which ensures that the object's degree remains unchanged - if the degree changes, it instantiates a new Polynomial and does the same operation on the new Polynomial instead.

Hello @philippeitis! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file polynomial/core.py:

Line 573:80: E501 line too long (85 > 79 characters)
Line 604:5: E306 expected 1 blank line before a nested definition, found 0
Line 662:80: E501 line too long (84 > 79 characters)

In the file polynomial/trinomial.py:

Line 3:80: E501 line too long (81 > 79 characters)

In the file tests/test_polynomials_operations.py:

Line 851:80: E501 line too long (83 > 79 characters)


A first chance exception of type 'System.InvalidCastException' occurred in Microsoft.Win32.TaskScheduler.dll

I'm getting this exception with this code:
Imports Microsoft.Win32.TaskScheduler

Public Sub GetAllTasks()
        Using taskService As New TaskService
            For Each task As Task In taskService.AllTasks
                Using task
                    Debug.WriteLine(task.Definition.Settings.Priority)
                End Using
            Next
        End Using
    End Sub

I've tested and this occurs everytime i use the "Settings" namespace, even alone.
Although the property succeeds and no error is thrown back to my code (is handled by the dll) it would be nice for it to be fixed, if it's not intended.
Thanks for reading, searched for this library when P/ Invoke was burning my head.
Originally posted: 2014-10-17T11:32:43

So, just to be clear, you're seeing exceptions thrown in the debugger, but they aren't being thrown up into your code when you call the "Settings" property from the TaskDefinition class?
If that is correct, you are seeing the internals of the code trying to determine which version of the Task Scheduler library is available from the OS. There are currently four and each have more properties that they expose. Unfortunately, the only way to determine what is available is to call into the COM library via Interop and cast the object to the different COM interfaces and see which come back. On Windows 8 and Server 2012, you shouldn't see the exceptions as they support all the library versions.
Originally posted: 2014-10-17T16:37:44

You can look at the constructor for the TaskSettings class in my code to see exactly what's happening. Those exceptions will also only occur the first time you reference the Settings property for each task instance.
Originally posted: 2014-10-17T16:40:48

Yes, you are absolutely correct, thanks for this information, i tested now and it does exactly what you say, only "throws" on the first call for settings for each task.
I reported to be sure that this "error" wouldn't catch me up later in some release build, in that case, thanks again !
And good luck with further development.
Originally posted: 2014-10-17T17:37:09

Originally posted: 2014-10-18T09:10:46


Docs: Useful displayNames with HoC

This is the follow-up issue for https://github.com/rofrischmann/fela/issues/266

Where do you want to put that ?
In FAQ or in combineRules docs ?
it would be good in combineRules docs but the docs would apply to createComponent too.

Again, it has nothing to do with combineRules :P But we could have a side-link to that maybe. also the createComponent should reference somehow, but In general I thought about putting it here: http://fela.js.org/docs/advanced/DeveloperExperience.html or add it as a new Recipe here: http://fela.js.org/docs/Recipes.html

Actually we could remove the DX page completely and create 2 separate recipes. I guess recipes is a great section to put any useful patterns

Make recipes and remove Dx seems like a good idea :)

We might also want to point to: https://github.com/acdlite/recompose/blob/master/docs/API.md#setdisplayname since recompose is a very well known utility toolset :)


Implement validation of FHIR resources using the Inferno test

Currently, Inferno is used as the official validator wrapper, but it's broken right now because the configuration is not finished. We have decided to use the Inferno test for resource validation. This approach has many advantages:

Prefilled link to the terminology server.
Preselected and already downloaded Implementation Guide (IG) for the validator with a specific version.

@StephThaoOng Hello Steph
Now users can use the Inferno test as a validator feature. This test group is optional, so it doesn't influence the final result of all tests.
Users just need to paste the resource into the input and run the test. As a result, users will get a report in the messages tab. Additionally, I have added supporting information about the resource being validated, the IG version, and the profile used for the validation.
You can check the report.
https://inferno.hl7.org.au/au_core_v040_preview/lbhR4GJCQNm#au_core_v040_preview/report
Please try it out. The test group number is 1.23 Custom validation. Thanks!

paste the resource into the input and run the test. As a result, users will get a report in the messages tab. Additionally, I have added supporting information about the resource being validated, the IG version, and the profile used for the validation.
You can check the report.

@projkov Thanks Pavel!
I tried it and it works.
The modal field FHIR resource in JSON format (custom validation) to paste in the resource is small though. Can this be larger?
Also when the user tries to upload a resource in the JSON view, it inadvertently removes the other input parameters and results in an error as shown below.

The rendering of the resource in JSON format doesn't seem user friendly. Particularly when the instructions/information say "The intended use of this view is to provide a template for users to copy/paste in order to avoid filling out individual fields every time."
Happy to wait until we get more feedback after next week before we look to make any improvement, if necessary :)

@StephThaoOng Hello Steph
I made a small update: use text input, not a string. It makes it more readable.
Confirm that we don't need to do anything with this issue and that we are waiting for feedback after the test event.
If this is correct, then please close the issue. Thanks!


request for capability to read fits files

Hi,
SimpleITK has begun to be used for astronomical data for exploring the evolution of features. The most popular file format for astronomical data is fits. I'm wondering if anyone has started working on, or considered adding fits file format support to SimpleITK. That would be greatly appreciated.
Somewhat related, I can write to HDF5 files easily enough, but it's not clear to me what format SimpleITK expects in HDF5 files that it reads. In particular what group or dataset names does it look for. I couldn't find and documentation on this.
Regards,
Jon

Hello @jslavin,
Thanks for sharing your usage of SimpleITK. This is taking SimpleITK into uncharted territory. The toolkit's origins are in medical imaging and more recently forays into microscopy. Apparently we are now aiming for the stars.
Short question, long answer. I apologize in advance:
With respect to the fits file format, unfortunately we don't have plans for supporting it, at least not in the near future. Note that SimpleITK is based on ITK and both are C++ toolkits. We wrap the C++ implementation for usage in eight languages. For native SimpleITK support of a file format we need to implement it in C++ in ITK, making it more complicated than a non-SimpleITK implementation which directly uses one of the wrapped languages.
Having said that, solving your specific need may be easy if hdf5 is sufficient. I'll make the assumption that you are using SimpleITK in Python(the most popular language):

Write an image to hdf5 file:

import SimpleITK as sitk

img = sitk.Image([100]*3, sitk.sitkUInt16)
# Change default origin and spacing and add information into the metadata dictionary, just to make it interesting
img.SetOrigin([1000]*3)
img.SetSpacing([500]*3)
img.SetMetaData(key="Simple", value = "Astronomy")
sitk.WriteImage(img, 'demo.hdf')

View the hdf file content using hdfview (trust but verify, file format description is one thing, implementation another):

Add domain specific groups, attributes, and datasets associated with the image (don't modify the ITKImage group):

import h5py
import numpy as np

with h5py.File("demo.hdf", "a") as f:
    f.create_group("AdditionalAstronomyInfo")
    f["AdditionalAstronomyInfo"].attrs["Creator"] = np.frombuffer(
                b"SimpleITK", dtype="S1"
            )

Finally, an example of an IO implementation for a hdf5 based microscopy file format (Imaris) is available here, illustrates adding file format support in a specific wrapped language.

Thanks Ziv for your reply. I had a feeling that might be the case. Although
I have written code to read and write fits files (in Fortran!) it's not so
straightforward. I certainly don't have any ambition to do that in C++.
HDF5 will work for me. Thanks for explaining the structure of the HDF5
files that SimpleITK uses.
Regards,
Jon
On Wed, Aug 18, 2021 at 4:57 PM Ziv Yaniv @.***> wrote:

Hello @jslavin https://github.com/jslavin,
Thanks for sharing your usage of SimpleITK. This is taking SimpleITK into
uncharted territory. The toolkit's origins are in medical imaging and more
recently forays into microscopy. Apparently we are now aiming for the stars.
Short question, long answer. I apologize in advance:
With respect to the fits file format, unfortunately we don't have plans
for supporting it, at least not in the near future. Note that SimpleITK is
based on ITK and both are C++ toolkits. We wrap the C++ implementation for
usage in eight languages. For native SimpleITK support of a file format we
need to implement it in C++ in ITK, making it more complicated than a
non-SimpleITK implementation which directly uses one of the wrapped
languages.
Having said that, solving your specific need may be easy if hdf5 is
sufficient. I'll make the assumption that you are using SimpleITK in
Python(the most popular language):

Write an image to hdf5 file:

import SimpleITK as sitk
img = sitk.Image([100]*3, sitk.sitkUInt16)
Change default origin and spacing and add information into the metadata dictionary, just to make it interesting
img.SetOrigin([1000]*3)
img.SetSpacing([500]*3)
img.SetMetaData(key="Simple", value = "Astronomy")
sitk.WriteImage(img, 'demo.hdf')

View the hdf file content using hdfview
https://www.hdfgroup.org/downloads/hdfview/ (trust but verify, file
format description is one thing, implementation another):

[image: Screen Shot 2021-08-18 at 4 51 51 PM]
https://user-images.githubusercontent.com/338645/129970660-23ca7114-bb16-4a29-8a9c-ca54a07d5e9b.png

Add domain specific groups, attributes, and datasets associated
with the image (don't modify the ITKImage group):

import h5py
import numpy as np
with h5py.File("demo.hdf", "a") as f:
f.create_group("AdditionalAstronomyInfo")
f["AdditionalAstronomyInfo"].attrs["Creator"] = np.frombuffer(
b"SimpleITK", dtype="S1"
)
Finally, an example of an IO implementation for a hdf5 based microscopy
file format (Imaris) is available here
https://github.com/niaid/imaris_extensions/blob/main/sitk_ims_file_io.py,
illustrates adding file format support in a specific wrapped language.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SimpleITK/SimpleITK/issues/1444#issuecomment-901425468,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE5OY5LSV6HX6AJ2OSHJ23T5QNE3ANCNFSM5CMXFC2A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

FYI, I googled around and there a number of libraries out there for reading and writing FITS images.
https://fits.gsfc.nasa.gov/fits_libraries.html
If someone wanted to incorporate a C or C++ FITS library into ITK, we would certainly be happy to assist them.


Mobile display issues

@alexkonrad @itsjustdanger
I received a report of a "weird" mobile display on an iPhone 5 - the entry field didn't fit vertically and the submit button wasn't visible on landscape.  I'm not able to replicate this on my 6, but can you look into it?
What I am seeing on my 6, though, is that when an address does return results, you can't scroll through the interface to get down to voter resources or ballot information, and the only way to do that isn't intuitive (clicking the +/-) sign.  Try 146 Donelson Street, Providence, RI on mobile to see what I mean.  Even if you can figure out your way around the information, it isn't clear how you return to the site you were visiting.  This is the case on both VIP's website embed and on other embeds of the tool.
Thanks!

@itsjustdanger @alexkonrad @yulheecho Checking on this...
Thanks.

Hi @acohen84 - Sorry for the silence! We've been working on this and should have sent through confirmation of receipt. We're not seeing the issue on Dev but have some other work there that is not fully complete, so we're trying to isolate why there might be an issue on Staging and not Dev. @itsjustdanger will follow up soon with our findings and progress.

Thanks!

This is working now on the few iOS devices I've tested (5, 6). Please reopen if you see this issue on another one.

So much better!  I'm still not able to intuitively get back to the webpage I was on though.

@acohen84 When we originally designed this we discussed it and concluded using the browser's back button is the best way to get back to the webpage you were on. That should be working -- I agree it might not be the most intuitive solution.
Another option would be to include some kind of hovering exit button on mobile.

Meant to respond to this, but THANKS!  I don't think it's a big enough deal right now to add an exit button, but I've confirmed that the tool is displaying better on mobile now.


Peers cross talk possibility for attack vector

Recently peers jump from 50 to 118 for exact 3 minutes. ( speaking dry-run )

Start of event: 2021-03-28 07:03:00 UTC
End of event:  2021-03-28 07:06:00 UTC

This seen in a log:
"message":"dropping connection due to network name mismatch","our_id":"NodeId::Tls(8735..e0b2)","peer_id":"NodeId::Tls(bf5c..c2d2)","our_network":"\"casper-dryrun\"","their_network":"\"delta-11\""
We aware, some validators run dry-run release on the same IP which been used in Delta's and they are still listed as trusted IP in Delta-11 config.toml. Possible this nodes act as relay. We can remove them from trusted list, but this issue still introcude possibility of exploit.

They can't talk to each other. This sudden spike is a temporary reading about peers trying to connect but ultimately failing to, due to the network name mismatch.


Error referencing const within util

          Building this seems to end up creating an error

cannot call non-const fn `StrInner::<bytes::Bytes>::from_inner_unchecked` in constant functions
  --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/fred-9.0.1/src/utils.rs:70:12
   |
70 |   unsafe { Str::from_inner_unchecked(Bytes::from_static(s.as_bytes())) }

Originally posted by @deven96 in https://github.com/aembke/fred.rs/issues/224#issuecomment-2083968412

Updated in https://github.com/aembke/fred.rs/releases/tag/v9.0.3


android ionic push ----TIMEOUT

I build a new project(android) accorrding to http://docs.ionic.io/docs/push-full-setup.
but when i run android,an error occured:
**Ionic Push: (debug) unexpected error occured.
Ionic Push: TIMEOUT**

the detail in the console
**Ionic Push: Error: TIMEOUT
at fail (file:///android_asset/www/plugins/phonegap-plugin-push/www/push.js:57:49)
at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:295:52)
at processMessage (file:///android_asset/www/cordova.js:1081:17)
at processMessages (file:///android_asset/www/cordova.js:1104:9)
at pollOnce (file:///android_asset/www/cordova.js:973:9)
at pollOnceFromOnlineEvent (file:///android_asset/www/cordova.js:960:5)
i.value @ ionic.io.bundle.min.js:2
e @ ionic.io.bundle.min.js:3
PushNotification.emit @ push.js:217
fail @ push.js:58
cordova.callbackFromNative @ cordova.js:295
processMessage @ cordova.js:1081
processMessages @ cordova.js:1104
pollOnce @ cordova.js:973
pollOnceFromOnlineEvent @ cordova.js:960**

**nativeapiprovider.js**-------------the deepest place i can find.yeah,"TIMEOUT" error born in the call of get:function() in another place.

var nativeApi = this._cordovaNative || require('cordova/android/promptbasednativeapi');
var currentApi = nativeApi;

module.exports = {
    get: function() { return currentApi; },
    setPreferPrompt: function(value) {
        currentApi = value ? require('cordova/android/promptbasednativeapi') : nativeApi;
    },
    // Used only by tests.
    set: function(value) {
        currentApi = value;
    }
};

i suspect that it is caused by network
thanks in advance.
(this is my first time to use this github,so sorry that i can make my text nice-looking.... and my english is not
"nice-looking" too :P)

@yywai what version of Android are you testing this on?

@macdonst the targetSdkVersion="23" ,
in PROJECT_PATH\platforms\platform.json   ,it has "android": "5.2.1"
thanks for your help :D

@yywai what version of Android is the device that are you testing this on?

@macdonst API 19,  android 4.4 . should i use the device with android 6.0+?

Got JSON Exception TIMEOUT
If you run this plugin on older versions of Android and you get an error:
E/PushPlugin(20077): execute: Got JSON Exception TIMEOUT
It means you are running an older version of Google Play Services. You will need to open the Google Play Store app and update your version of Google Play Services.

OMG,i saw  this in the documention...how careless i am!!!!!!!!!
anyway,thank you !

@yywai did it get resolved for you?


Not clear to me how to use in jupyterhub

hello!
its easy to get going with ipycytoscape in jupyterlab, however i cannot get it to work in jupyterhub (where i am not admin).
for example as user vagrant on a server where jupyterhub is running lets start with just jupyterlab:
[vagrant@test ~]$ mkdir notebook
[vagrant@test notebook]$ python3 -m venv .
[vagrant@test notebook]$ bin/pip3 install jupyterlab ipycytoscape
[vagrant@test notebook]$ bin/jupyter-lab --ip=* --port 8888 --ServerApp.allow_remote_access=True

after this i can go to my jupyterlab website, and run one of the examples, and i see a nice graph. all looks good.
now i would like to switch to jupyterhub. so lets assume i have no admin privileges in jupyterhub (as a user shouldn't). but i can use my venv and turn it into a kernel quite easily:
[vagrant@test notebook]$ bin/python3 -m ipykernel install --user --name=ipycytoscape
Installed kernelspec notebook in /home/vagrant/.local/share/jupyter/kernels/ipycytoscape

after this i see my kernel ipycytoscape as an option in jupyterhub, and i can launch a notebook with it. however when i do the graph (the CytoscapeWidget) is not rendering instead i get:
CytoscapeWidget(cytoscape_layout={'name': 'cola'}, cytoscape_style=[{'selector': 'node', 'css': {'background-c…

how should i use ipycytoscape in jupyterhub?

You might need to reach out to the JupyterHub admin to install the extension. The reason is that JupyterLab extension needs to be installed in the "main" environment that runs JupyterLab in JupyterHub, and will not be picked up from additional environments/kernels. Even installing in the "main" environment will not work without restarting JupyterLab, which does not work, for example, for container-based spawning in JupyterHub (restarting server deletes any use-installed packages).
Hope that helps.

thank you that makes sense

Thanks for chiming in here @ktaletsk :)
I'm really not knowledgeable about JupHub.
Feel free to reopen the issue if it doesn't solve your issue @koertkuipers.


Add Virtual Environment Setup

Its a good practice to develop a Python project inside a basic virtual environment.
You can achieve this with modules like venv for example:
// Setup a local env folder called `venv`
$ python -m venv venv

// Activate env and
$ source venv/bin/activate

// setup env vars script
$ source ./setenv.sh

// then Install requirements
$ pip install -U pip wheel setuptools
$ pip install -r requirements/local.txt

Closing the issue as I noiticed that theres a mention to virtual environment in the README and also Anaconda and sandbox cases


Update ClientSdk to the latest Stable release

Summarize Functionality
.\tss.exe version returns <IP_ADDRESS> - the latest release is 1.5.5
see Secret Server Software Development Kit for DevOps
Is there a command that is similiar or close to what you are looking for?
No
Technical Details
No response

Unable to reproduce in v0.61.3
c:\...\Documents\PowerShell\Modules\Thycotic.SecretServer\0.61.3\bin\ClientSdk> .\tss.exe version
<IP_ADDRESS>

for me it looks like this:


dgoss - Collect the logs regardless of GOSS_FILE_STRATEGY

Checklist

[x] make test-all (UNIX) passes. CI will also test this
[ ] unit and/or integration tests are included (if applicable)
[ ] documentation is changed or added (if applicable)

Description of change
Previously the logs were only collected if the GOSS_FILE_STRATEGY was set to "mount", with this change they'll be collected also for "cp".

Looks great, thanks for the contribution!


Feature for auto-publishing web pages based on their start and end dates

Scenarios accounted for:

No Start and End date: User can change publication status in any combination.
Start date, but no End date: User can change publication status in any combination.
End date, but no Start date: System automatically unpublishes Web Page when End date is passed. If user manually publishes the page, the End Date blanks out.
Both Start and End date:

Publish: System automatically unpublishes Web Page when End date is passed. If user manually publishes the page, the End Date blanks out.
Unpublish: If user unpublishes the Web Page, End date changes to current datetime.

@Alchez Let's merge this into the core.

PR created to core at https://github.com/frappe/frappe/pull/5430.


Adding and removing images in grid dynamically

Can we add or remove images dynamically in the layout?
Or do we always need to have data for all images?
Thanks in Advance!

Unfortunately, this isn't possible cleanly. The goal of this library is to be able to provide a smooth scrolling experience, and the tactic is for the library to understand (load metadata for) the entire grid of images. If you have so many images that this isn't possible (more than 10k, for example), you would have to do some pretty major surgery.
The general approach I'd take:

create multiple instances of the library, one for each ~10k chunk of images.
listen to the scroll position of the first instance. When you get to ~90% of the way down the first instance, load metadata and initialize the second instance, and so on.


Blurry dialog text in IE11

Bug, feature request, or proposal:
Big
What is the expected behavior?
The text not to be blurry
What is the current behavior?
Text is blurry in IE11
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Run the following plunker in IE11 (modified dialog plunker):
https://plnkr.co/edit/OI6U7oefSYDja8NlgAau?p=preview
Here is a screenshot: http://imgur.com/a/3EAXz
What is the use-case or motivation for changing an existing behavior?
We have a decently large IE11 user base and this looks pretty bad
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4, Material 2.0.0-beta.6, IE11, Windows 10
Is there anything else we should know?
Probably related to: https://github.com/angular/material2/issues/1953

Probably caused by this: https://github.com/angular/material2/pull/3905

This should be fixed by https://github.com/angular/material2/commit/c8b1e200eea78fe28ce911bd58fd61a634829c52, which got merged yesterday. You can try installing the latest build from master:
npm install https://github.com/angular/material2-builds.git

Hmm, still blurry for me, I have 6aaddbf release:
├─┬<EMAIL_ADDRESS>(git+https://github.com/angular/material2-builds.git#8ac8d0a4fd41f8cca     7bbd350986eed9b12c96f99)

The fix got merged right after https://github.com/angular/material2/commit/6aaddbf526634f4fe84cc3938c096c60510a380a.

Cool, confirmed fixed after:
npm install https://github.com/angular/material2-builds.git#4ae2a62
which has https://github.com/angular/material2/commit/c8b1e200eea78fe28ce911bd58fd61a634829c52


Per-module event queue

This is part of a larger effort to rework the main loop (#1778)
The action handler in a module runs in the caller thread (the controller thread) and not in the module thread. This requires us to be very careful about concurrent access and synchronization. Some modules solve this by creating a new connection to their adapter whenever an action is called (i3, mpd). For most other modules it is not clear whether the action code is actually save, it just seems to work (in almost all cases the action code will be called while the module sleeps).
I think we should do three things:

Create an event queue inside each module. When the controller wants to deliver an action, it can put that action into the event queue and wake the module (if it is sleeping). After waking up the module works through all received actions (in the module thread). We can either use the lock-free queue we are already using in the controller or just have a lock on the queue.
Clearly define the interface of a module and which functions may be called from other threads and which must be called from the module thread.
Ensure that all modules adhere to that interface and don't cause concurrency issues.

The general idea is to put as much as possible into the module threads and let the controller communicate with the module through only a narrow interface. If possible, using only atomic primitive variables or small locks around certain variables (e.g. the module output).

I don't think doing this is actually possible.
The problem is waking up the module after something was placed in the queue. This is fairly easy if the module sleeps on the m_sleephandler condition variable. But for modules that idle in a different way (for example polling a socket), this is not possible. There we must wait for the module to finishing idling.
Because of that, having an event loop doesn't work for all modules.
To make reasoning about concurrency easier and to make modules less complex, we should strive to guarantee the following:

The module implementations should never have to acquire locks unless they do their own concurrency separate from the controller-module concurrency.
Some functions may have restrictions on what they can access inside the class

Ideally, the module implementation should not be aware of concurrency, mutual exclusion should be guaranteed by the base modules. However, this may not be that easy.
Using the same lock for update and input is required for proper synchronization. At the moment, get_output should also use the same lock because modules access local state there. #1752 may help here because it would allow us to do all of get_output the same way for all modules, so we can get granular with locks.
But either way, we don't want the controller to stall when update is waiting for data (for example from the network).
One way to do this is to split update into two functions:

A collector function where the module collects the raw data
The actual update function that uses that raw data to set the module state and configure the labels.

We don't need any synchronization between these two functions because they run sequentially in the module thread.
Whatever code is responsible for collecting the data should be able to run concurrently with the get_output and build function (i.e. use different locks).
The first approach that comes to mind would be to have each module define a data structure that can contain all raw data for that module. The type for this data structure could for example be passed as a template parameter to the superclass to make copying of that structure generic.
This leaves one single obstacle: The collector function may need to access local state that can also be accessed by action handlers.
For example, it needs to access the adaptor which the action handler also needs (e.g. pulseaudio module).
Here is where the notion that modules should not use locks starts to break down. I don't see a way to get around this without non-trivial reasoning about concurrency in the module implementations right now.
We could use this collector function only for modules where we know certain calls can take some time and then reason about concurrency on a case-by-case basis. This is less error prone but could allow for functions to slip through the cracks.

I don't think doing this is actually possible.
The problem is waking up the module after something was placed in the queue. This is fairly easy if the module sleeps on the m_sleephandler condition variable. But for modules that idle in a different way (for example polling a socket), this is not possible. There we must wait for the module to finishing idling.
Because of that, having an event loop doesn't work for all modules.
To make reasoning about concurrency easier and to make modules less complex, we should strive to guarantee the following:

The module implementations should never have to acquire locks unless they do their own concurrency separate from the controller-module concurrency.
Some functions may have restrictions on what they can access inside the class

Ideally, the module implementation should not be aware of concurrency, mutual exclusion should be guaranteed by the base modules. However, this may not be that easy.
Using the same lock for update and input is required for proper synchronization. At the moment, get_output should also use the same lock because modules access local state there. #1752 may help here because it would allow us to do all of get_output the same way for all modules, so we can get granular with locks.
But either way, we don't want the controller to stall when update is waiting for data (for example from the network).
One way to do this is to split update into two functions:

A collector function where the module collects the raw data
The actual update function that uses that raw data to set the module state and configure the labels.

We don't need any synchronization between these two functions because they run sequentially in the module thread.
Whatever code is responsible for collecting the data should be able to run concurrently with the get_output and build function (i.e. use different locks).
The first approach that comes to mind would be to have each module define a data structure that can contain all raw data for that module. The type for this data structure could for example be passed as a template parameter to the superclass to make copying of that structure generic.
This leaves one single obstacle: The collector function may need to access local state that can also be accessed by action handlers.
For example, it needs to access the adaptor which the action handler also needs (e.g. pulseaudio module).
Here is where the notion that modules should not use locks starts to break down. I don't see a way to get around this without non-trivial reasoning about concurrency in the module implementations right now.
We could use this collector function only for modules where we know certain calls can take some time and then reason about concurrency on a case-by-case basis. This is less error prone but could allow for functions to slip through the cracks.

Alright, I feel like I'm changing my mind about this every few months or so.
Since we now have a proper eventloop with libuv, we could try to integrate modules into that main eventloop without having to run a separate thread for them.
This can probably be stone module-by-module or at least all timer modules at once and then all event modules at once.
Even if we don't do that immediately, modules should at least do the following:

In the worker thread, it waits for some kind of update (timer, socket, etc.)
When such an update occurs, it collects the data and stores them in the instance and notifies the controller of the update
The controller calls contents() on the module
The module uses the data stored by the worker thread to determine its format and token values and replaces the tokens in the labels.

This way, the only state shared between the worker thread and the main thread is that data object which is much easier to protect.
This also makes it easier to extract the update and data querying logic into a separate class (for example as script_runner already does) and only run that class in a separate thread to make the separation of data between the threads more explicit.


Support MobileNetV2 and SqueezeNet from ONNX model zoo

Fix shape handing in Resize op with 0 in dimension
Fix some path handling

/test


[CYB-121] Jackson upgrade to 2.14.1

There are too many conflicts and issues that could cause defects.  We will postpone this fix.


Setup questions?

Hi @ioveracker, @accatyyc and other maintainers,
I have a few questions and thought I will form them into one Github issue:

With the latest Xcode Server 8, one creates "CI user" account in order to have separated environment. Am I suppose to install and run Buildasaur from the "CI user" account or from administrator account?

I managed to setup a bot for one of my project where I use cocoapods. I configured trigger like this:

In order to ensure my pods are fetched and .xcworkspace created. However, Builda fails because "xcodebuild: error 'pathToProject/My Project.xcworkspace" does not exist- assume that this happens because pod install (before trigger) was not executed.

Regarding the CI user it is probably a better idea not to run Buildasaur using that user. Keeping that account only for builds makes it easier to isolate issues and if necessary recreate the account without losing your Buildasaur setup.
Unless you have the .bash_profile for the CI user configured to include CocoaPods in its $PATH you are better off setting this explicitly at the top of your trigger script.
It can help to run ls -R or tree to figure out what the result of the clone was and then adjust your paths from there.

Regarding the CI user it is probably a better idea not to run Buildasaur using that user. Keeping that account only for builds makes it easier to isolate issues and if necessary recreate the account without losing your Buildasaur setup.

Good point and thanks for advise.
It also solved the Cocoapods issue. One more question @flufff42, why does Builda need Github access token when creating a new syncer? Shouldn't the SSH keys be enough?

Using an API token allows Buildasaur to update the pull request being integrated with the build status.


Add StrictBuilder

Codecov Report
Base: 91.39% // Head: 91.39% // No change to project coverage :thumbsup:

Coverage data is based on head (be8ba33) compared to base (4723412).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   91.39%   91.39%
=======================================
  Files           1        1
  Lines          93       93
=======================================
  Hits           85       85
  Misses          6        6
  Partials        2        2

Impacted Files
Coverage Δ

builq.go
91.39% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Normalization of labelled diagrams

This might give us another way to type check labelled diagrams for noninvertible generators.
The hope is that the labels "get along" with the degeneracy maps and so this works ok.
This could let us avoid orientation detection #243.

Is this done? Or did we just decide not to do it.

We decided not to do it. Both Nick and I believe there is probably a deep connection between collapse and normalisation, but there doesn't seem to be any immediate reason to implement labelled normalization.


Snapshot auto-deploy stop working

Auto deploying of snapshot artifacts started failing with Unauthorized error.
We probably should migrate deploying snapshot artifacts to bintray artifactory repo manager.

@felipecsl thx!!!


add doc for MultiplicativeDecay

PR types

New features
PR changes

Docs
Describe

Add doc for MultiplicativeDecay , refer to torch.optim.lr_scheduler.MultiplicativeLR

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


Reset a project to a specific iteration

Feature Request
An API call that resets the project data to a specific step in the systematic review.
A frontend option to use this.

As this is relatively straightforward, I propose developing it outside the main project, for example, with a community-maintained extension.
Feel free to reopen if you disagree.


[CodeCompletion] Stop using temporary Lexer in the second pass

Since we only call one parsing function (i.e. parseBraceItemList, parseDecl, or parseExprOrStmt), the parser stops at the end of the node anyways. It's not necessary to limit the Lexer to set an ArtificialEOF. As a ground work, modify the Parser to not parse the body if the completion happens in the signature
Don't restore the parser position after the second pass because it's just not necessary. The parser here lives only for the single second pass.
Use getResultInterfaceType() to get the result type in TypeCheckFunctionBodyUntilRequest. So we can type check the body without type checking the signature of the func decl. (This change is actually not needed but I think this is a improvement)

@swift-ci Please smoke test


The story book is broken

Seems like the storybook is broken
Steps to reproduce

enter https://researchgate.github.io/react-intersection-observer/?path=/story/*

Fixed, mind the browser cache.


Support Multiple Players

Currently, only supports a single player per keymap.
Should add support for a second gamepad

Maybe only on gamepad? Should make it so that passing in a number will get the second player on the gamepad


font-language-override

https://developer.mozilla.org/en/docs/Web/CSS/font-language-override

Available at https://caniuse.com/#feat=mdn-css_properties_font-language-override


Reorganize build/ and dist/

Fix #399

mmmmh I do not get this sass-lint error...

spawn ENOENT means it does not see sass-lint binary/executable

Debugging the build via SSH give some interesting results. I still get the same error, but when I rm -rf node_modules && npm install && npm run lint:sass, everything runs fine.

Looks like rebuilding without cache solve the issue, let's see how things go in the future.